@everymatrix/casino-header-controller-nd 1.55.0 → 1.56.0

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 (60) hide show
  1. package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
  2. package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
  3. package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
  4. package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
  6. package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
  7. package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
  8. package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
  9. package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
  10. package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
  11. package/components/PlayerDeposit-Dn8OMUks.js +391 -0
  12. package/components/PlayerDeposit-Owd9kBaC.js +391 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
  18. package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
  19. package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
  20. package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
  21. package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
  22. package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
  23. package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
  24. package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
  25. package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
  26. package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
  27. package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
  28. package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
  29. package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
  30. package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
  31. package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
  32. package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
  33. package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
  34. package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
  35. package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
  36. package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
  37. package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
  38. package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
  39. package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
  40. package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
  41. package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
  42. package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
  43. package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
  44. package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
  45. package/components/PlayerDeposit-B0r58Ypp.js +0 -414
  46. package/components/PlayerDeposit-BkVMpjA9.js +0 -414
  47. package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
  48. package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
  49. package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
  50. package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
  51. package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
  52. package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
  53. package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
  54. package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
  55. package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
  56. package/stencil/index-171550cf-CVTOm2AV.js +0 -799
  57. package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
  58. package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
  59. package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
  60. package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
@@ -1,772 +0,0 @@
1
- const Pe = "gamification-dropdown", A = (
2
- /* gamification-dropdown */
3
- { allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
- );
5
- var Re = Object.defineProperty, Oe = (e, t) => {
6
- for (var s in t)
7
- Re(e, s, { get: t[s], enumerable: !0 });
8
- }, G = /* @__PURE__ */ new WeakMap(), E = (e) => G.get(e), xt = (e, t) => G.set(t.$lazyInstance$ = e, t), je = (e, t) => {
9
- const s = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], G.set(e, s);
16
- }, Z = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), I = /* @__PURE__ */ new Map(), Ue = (e, t, s) => {
17
- const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
- if (!n)
19
- return;
20
- const l = I.get(n);
21
- if (l)
22
- return l[r];
23
- {
24
- const a = (o) => (I.set(n, o), o[r]);
25
- switch (n) {
26
- case "gamification-dropdown_4":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./gamification-dropdown_4-Cg4EiNTS.js"
30
- ).then(a, b);
31
- case "player-elevate-card":
32
- return import(
33
- /* webpackMode: "lazy" */
34
- "./player-elevate-card-Bo3fCMU8.js"
35
- ).then(a, b);
36
- case "player-elevate-pointcard":
37
- return import(
38
- /* webpackMode: "lazy" */
39
- "./player-elevate-pointcard-jLOeOCx0.js"
40
- ).then(a, b);
41
- }
42
- }
43
- return import(
44
- /* @vite-ignore */
45
- /* webpackInclude: /\.entry\.js$/ */
46
- /* webpackExclude: /\.system\.entry\.js$/ */
47
- /* webpackMode: "lazy" */
48
- `./${n}.entry.js`
49
- ).then((a) => (I.set(n, a), a[r]), b);
50
- }, C = /* @__PURE__ */ new Map(), Ce = "{visibility:hidden}.hydrated{visibility:inherit}", ie = "slot-fb{display:contents}slot-fb[hidden]{display:none}", P = typeof window < "u" ? window : {}, m = P.document || { head: {} }, g = {
51
- $flags$: 0,
52
- $resourcesUrl$: "",
53
- jmp: (e) => e(),
54
- raf: (e) => requestAnimationFrame(e),
55
- ael: (e, t, s, r) => e.addEventListener(t, s, r),
56
- rel: (e, t, s, r) => e.removeEventListener(t, s, r),
57
- ce: (e, t) => new CustomEvent(e, t)
58
- }, Fe = /* @__PURE__ */ (() => {
59
- let e = !1;
60
- try {
61
- m.addEventListener(
62
- "e",
63
- null,
64
- Object.defineProperty({}, "passive", {
65
- get() {
66
- e = !0;
67
- }
68
- })
69
- );
70
- } catch {
71
- }
72
- return e;
73
- })(), He = (e) => Promise.resolve(e), $e = /* @__PURE__ */ (() => {
74
- try {
75
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
76
- } catch {
77
- }
78
- return !1;
79
- })(), q = !1, V = [], ce = [], Ne = (e, t) => (s) => {
80
- e.push(s), q || (q = !0, g.$flags$ & 4 ? X(B) : g.raf(B));
81
- }, ee = (e) => {
82
- for (let t = 0; t < e.length; t++)
83
- try {
84
- e[t](performance.now());
85
- } catch (s) {
86
- b(s);
87
- }
88
- e.length = 0;
89
- }, B = () => {
90
- ee(V), ee(ce), (q = V.length > 0) && g.raf(B);
91
- }, X = (e) => He().then(e), De = /* @__PURE__ */ Ne(ce), Lt = (e) => {
92
- const t = new URL(e, g.$resourcesUrl$);
93
- return t.origin !== P.location.origin ? t.href : t.pathname;
94
- }, te = {}, Ie = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml", Be = (e) => e != null, Q = (e) => (e = typeof e, e === "object" || e === "function");
95
- function fe(e) {
96
- var t, s, r;
97
- 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;
98
- }
99
- var ze = {};
100
- Oe(ze, {
101
- err: () => de,
102
- map: () => We,
103
- ok: () => z,
104
- unwrap: () => Me,
105
- unwrapErr: () => Ge
106
- });
107
- var z = (e) => ({
108
- isOk: !0,
109
- isErr: !1,
110
- value: e
111
- }), de = (e) => ({
112
- isOk: !1,
113
- isErr: !0,
114
- value: e
115
- });
116
- function We(e, t) {
117
- if (e.isOk) {
118
- const s = t(e.value);
119
- return s instanceof Promise ? s.then((r) => z(r)) : z(s);
120
- }
121
- if (e.isErr) {
122
- const s = e.value;
123
- return de(s);
124
- }
125
- throw "should never get here";
126
- }
127
- var Me = (e) => {
128
- if (e.isOk)
129
- return e.value;
130
- throw e.value;
131
- }, Ge = (e) => {
132
- if (e.isErr)
133
- return e.value;
134
- throw e.value;
135
- }, x = (e, t = "") => () => {
136
- }, Xe = (e, t) => () => {
137
- }, ue = (e, t, ...s) => {
138
- let r = null, n = null, l = null, a = !1, o = !1;
139
- const i = [], $ = (d) => {
140
- for (let f = 0; f < d.length; f++)
141
- r = d[f], Array.isArray(r) ? $(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !Q(r)) && (r = String(r)), a && o ? i[i.length - 1].$text$ += r : i.push(a ? F(null, r) : r), o = a);
142
- };
143
- if ($(s), t) {
144
- t.key && (n = t.key), t.name && (l = t.name);
145
- {
146
- const d = t.className || t.class;
147
- d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((f) => d[f]).join(" "));
148
- }
149
- }
150
- if (typeof e == "function")
151
- return e(
152
- t === null ? {} : t,
153
- i,
154
- Je
155
- );
156
- const c = F(e, null);
157
- return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = n, c.$name$ = l, c;
158
- }, F = (e, t) => {
159
- const s = {
160
- $flags$: 0,
161
- $tag$: e,
162
- $text$: t,
163
- $elm$: null,
164
- $children$: null
165
- };
166
- return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
167
- }, Qe = {}, Ye = (e) => e && e.$tag$ === Qe, Je = {
168
- forEach: (e, t) => e.map(se).forEach(t),
169
- map: (e, t) => e.map(se).map(t).map(Ke)
170
- }, se = (e) => ({
171
- vattrs: e.$attrs$,
172
- vchildren: e.$children$,
173
- vkey: e.$key$,
174
- vname: e.$name$,
175
- vtag: e.$tag$,
176
- vtext: e.$text$
177
- }), Ke = (e) => {
178
- if (typeof e.vtag == "function") {
179
- const s = { ...e.vattrs };
180
- return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ue(e.vtag, s, ...e.vchildren || []);
181
- }
182
- const t = F(e.vtag, e.vtext);
183
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
184
- }, Ze = (e, t) => e != null && !Q(e) && t & 1 ? String(e) : e, Ve = (e) => E(e).$hostElement$, Et = (e, t, s) => {
185
- const r = Ve(e);
186
- return {
187
- emit: (n) => pe(r, t, {
188
- bubbles: !!(s & 4),
189
- composed: !!(s & 2),
190
- cancelable: !!(s & 1),
191
- detail: n
192
- })
193
- };
194
- }, pe = (e, t, s) => {
195
- const r = g.ce(t, s);
196
- return e.dispatchEvent(r), r;
197
- }, re = /* @__PURE__ */ new WeakMap(), et = (e, t, s) => {
198
- let r = C.get(e);
199
- $e && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, C.set(e, r);
200
- }, tt = (e, t, s) => {
201
- var r;
202
- const n = ve(t), l = C.get(n);
203
- if (e = e.nodeType === 11 ? e : m, l)
204
- if (typeof l == "string") {
205
- e = e.head || e;
206
- let a = re.get(e), o;
207
- if (a || re.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
208
- {
209
- o = m.createElement("style"), o.innerHTML = l;
210
- const i = (r = g.$nonce$) != null ? r : fe(m);
211
- if (i != null && o.setAttribute("nonce", i), !(t.$flags$ & 1))
212
- if (e.nodeName === "HEAD") {
213
- const $ = e.querySelectorAll("link[rel=preconnect]"), c = $.length > 0 ? $[$.length - 1].nextSibling : e.querySelector("style");
214
- e.insertBefore(o, c);
215
- } else if ("host" in e)
216
- if ($e) {
217
- const $ = new CSSStyleSheet();
218
- $.replaceSync(l), e.adoptedStyleSheets = [$, ...e.adoptedStyleSheets];
219
- } else {
220
- const $ = e.querySelector("style");
221
- $ ? $.innerHTML = l + $.innerHTML : e.prepend(o);
222
- }
223
- else
224
- e.append(o);
225
- t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(o, null);
226
- }
227
- t.$flags$ & 4 && (o.innerHTML += ie), a && a.add(n);
228
- }
229
- } else e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
230
- return n;
231
- }, st = (e) => {
232
- const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = x("attachStyles", t.$tagName$), l = tt(
233
- s.shadowRoot ? s.shadowRoot : s.getRootNode(),
234
- t
235
- );
236
- r & 10 && r & 2 && (s["s-sc"] = l, s.classList.add(l + "-h")), n();
237
- }, ve = (e, t) => "sc-" + e.$tagName$, ne = (e, t, s, r, n, l) => {
238
- if (s !== r) {
239
- let a = Z(e, t), o = t.toLowerCase();
240
- if (t === "class") {
241
- const i = e.classList, $ = le(s), c = le(r);
242
- i.remove(...$.filter((d) => d && !c.includes(d))), i.add(...c.filter((d) => d && !$.includes(d)));
243
- } else if (t === "style") {
244
- for (const i in s)
245
- (!r || r[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
246
- for (const i in r)
247
- (!s || r[i] !== s[i]) && (i.includes("-") ? e.style.setProperty(i, r[i]) : e.style[i] = r[i]);
248
- } else if (t !== "key") if (t === "ref")
249
- r && r(e);
250
- else if (!a && t[0] === "o" && t[1] === "n") {
251
- if (t[2] === "-" ? t = t.slice(3) : Z(P, o) ? t = o.slice(2) : t = o[2] + t.slice(3), s || r) {
252
- const i = t.endsWith(he);
253
- t = t.replace(nt, ""), s && g.rel(e, t, s, i), r && g.ael(e, t, r, i);
254
- }
255
- } else {
256
- const i = Q(r);
257
- if ((a || i && r !== null) && !n)
258
- try {
259
- if (e.tagName.includes("-"))
260
- e[t] = r;
261
- else {
262
- const $ = r ?? "";
263
- t === "list" ? a = !1 : (s == null || e[t] != $) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = $ : e.setAttribute(t, $));
264
- }
265
- } catch {
266
- }
267
- 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));
268
- }
269
- }
270
- }, rt = /\s/, le = (e) => e ? e.split(rt) : [], he = "Capture", nt = new RegExp(he + "$"), ge = (e, t, s) => {
271
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || te, l = t.$attrs$ || te;
272
- for (const a of ae(Object.keys(n)))
273
- a in l || ne(r, a, n[a], void 0, s, t.$flags$);
274
- for (const a of ae(Object.keys(l)))
275
- ne(r, a, n[a], l[a], s, t.$flags$);
276
- };
277
- function ae(e) {
278
- return e.includes("ref") ? (
279
- // we need to sort these to ensure that `'ref'` is the last attr
280
- [...e.filter((t) => t !== "ref"), "ref"]
281
- ) : (
282
- // no need to sort, return the original array
283
- e
284
- );
285
- }
286
- var w, W, R, H = !1, N = !1, Y = !1, S = !1, D = (e, t, s, r) => {
287
- var n;
288
- const l = t.$children$[s];
289
- let a = 0, o, i, $;
290
- if (H || (Y = !0, l.$tag$ === "slot" && (w && r.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
291
- // slot element has fallback content
292
- // still create an element that "mocks" the slot element
293
- 2
294
- ) : (
295
- // slot element does not have fallback content
296
- // create an html comment we'll use to always reference
297
- // where actual slot content should sit next to
298
- 1
299
- ))), l.$text$ !== null)
300
- o = l.$elm$ = m.createTextNode(l.$text$);
301
- else if (l.$flags$ & 1)
302
- o = l.$elm$ = m.createTextNode("");
303
- else {
304
- if (S || (S = l.$tag$ === "svg"), o = l.$elm$ = m.createElementNS(
305
- S ? Ie : qe,
306
- !H && A.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
307
- ), S && l.$tag$ === "foreignObject" && (S = !1), ge(null, l, S), !!o.getRootNode().querySelector("body") && A.scoped && Be(w) && o["s-si"] !== w && o.classList.add(o["s-si"] = w), l.$children$)
308
- for (a = 0; a < l.$children$.length; ++a)
309
- i = D(e, l, a, o), i && o.appendChild(i);
310
- l.$tag$ === "svg" ? S = !1 : o.tagName === "foreignObject" && (S = !0);
311
- }
312
- return o["s-hn"] = R, 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, $ = e && e.$children$ && e.$children$[s], $ && $.$tag$ === l.$tag$ && e.$elm$ && O(e.$elm$, !1)), o;
313
- }, O = (e, t) => {
314
- g.$flags$ |= 1;
315
- const s = Array.from(e.childNodes);
316
- if (e["s-sr"] && A.experimentalSlotFixes) {
317
- let r = e;
318
- for (; r = r.nextSibling; )
319
- r && r["s-sn"] === e["s-sn"] && r["s-sh"] === R && s.push(r);
320
- }
321
- for (let r = s.length - 1; r >= 0; r--) {
322
- const n = s[r];
323
- n["s-hn"] !== R && n["s-ol"] && (L(Se(n), n, J(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, Y = !0), t && O(n, t);
324
- }
325
- g.$flags$ &= -2;
326
- }, ye = (e, t, s, r, n, l) => {
327
- let a = e["s-cr"] && e["s-cr"].parentNode || e, o;
328
- for (a.shadowRoot && a.tagName === R && (a = a.shadowRoot); n <= l; ++n)
329
- r[n] && (o = D(null, s, n, e), o && (r[n].$elm$ = o, L(a, o, J(t))));
330
- }, me = (e, t, s) => {
331
- for (let r = t; r <= s; ++r) {
332
- const n = e[r];
333
- if (n) {
334
- const l = n.$elm$;
335
- Te(n), l && (N = !0, l["s-ol"] ? l["s-ol"].remove() : O(l, !0), l.remove());
336
- }
337
- }
338
- }, lt = (e, t, s, r, n = !1) => {
339
- let l = 0, a = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], d = t[$], f = r.length - 1, u = r[0], v = r[f], h, y;
340
- for (; l <= $ && a <= f; )
341
- if (c == null)
342
- c = t[++l];
343
- else if (d == null)
344
- d = t[--$];
345
- else if (u == null)
346
- u = r[++a];
347
- else if (v == null)
348
- v = r[--f];
349
- else if (U(c, u, n))
350
- _(c, u, n), c = t[++l], u = r[++a];
351
- else if (U(d, v, n))
352
- _(d, v, n), d = t[--$], v = r[--f];
353
- else if (U(c, v, n))
354
- (c.$tag$ === "slot" || v.$tag$ === "slot") && O(c.$elm$.parentNode, !1), _(c, v, n), L(e, c.$elm$, d.$elm$.nextSibling), c = t[++l], v = r[--f];
355
- else if (U(d, u, n))
356
- (c.$tag$ === "slot" || v.$tag$ === "slot") && O(d.$elm$.parentNode, !1), _(d, u, n), L(e, d.$elm$, c.$elm$), d = t[--$], u = r[++a];
357
- else {
358
- for (o = -1, i = l; i <= $; ++i)
359
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === u.$key$) {
360
- o = i;
361
- break;
362
- }
363
- o >= 0 ? (y = t[o], y.$tag$ !== u.$tag$ ? h = D(t && t[a], s, o, e) : (_(y, u, n), t[o] = void 0, h = y.$elm$), u = r[++a]) : (h = D(t && t[a], s, a, e), u = r[++a]), h && L(Se(c.$elm$), h, J(c.$elm$));
364
- }
365
- l > $ ? ye(
366
- e,
367
- r[f + 1] == null ? null : r[f + 1].$elm$,
368
- s,
369
- r,
370
- a,
371
- f
372
- ) : a > f && me(t, l, $);
373
- }, U = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? (
374
- // The component gets hydrated and no VDOM has been initialized.
375
- // Here the comparison can't happen as $name$ property is not set for `leftNode`.
376
- "$nodeId$" in e && s && // `leftNode` is not from type HTMLComment which would cause many
377
- // hydration comments to be removed
378
- e.$elm$.nodeType !== 8 ? !1 : e.$name$ === t.$name$
379
- ) : s ? !0 : e.$key$ === t.$key$ : !1, J = (e) => e && e["s-ol"] || e, Se = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, s = !1) => {
380
- const r = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, a = t.$tag$, o = t.$text$;
381
- let i;
382
- o === null ? (S = a === "svg" ? !0 : a === "foreignObject" ? !1 : S, a === "slot" && !H || ge(e, t, S), n !== null && l !== null ? lt(r, n, t, l, s) : l !== null ? (e.$text$ !== null && (r.textContent = ""), ye(r, null, t, l, 0, l.length - 1)) : (
383
- // don't do this on initial render as it can cause non-hydrated content to be removed
384
- !s && A.updatable && n !== null && me(n, 0, n.length - 1)
385
- ), S && a === "svg" && (S = !1)) : (i = r["s-cr"]) ? i.parentNode.textContent = o : e.$text$ !== o && (r.data = o);
386
- }, be = (e) => {
387
- const t = e.childNodes;
388
- for (const s of t)
389
- if (s.nodeType === 1) {
390
- if (s["s-sr"]) {
391
- const r = s["s-sn"];
392
- s.hidden = !1;
393
- for (const n of t)
394
- if (n !== s) {
395
- if (n["s-hn"] !== s["s-hn"] || r !== "") {
396
- if (n.nodeType === 1 && (r === n.getAttribute("slot") || r === n["s-sn"]) || n.nodeType === 3 && r === n["s-sn"]) {
397
- s.hidden = !0;
398
- break;
399
- }
400
- } else if (n.nodeType === 1 || n.nodeType === 3 && n.textContent.trim() !== "") {
401
- s.hidden = !0;
402
- break;
403
- }
404
- }
405
- }
406
- be(s);
407
- }
408
- }, T = [], ke = (e) => {
409
- let t, s, r;
410
- for (const n of e.childNodes) {
411
- if (n["s-sr"] && (t = n["s-cr"]) && t.parentNode) {
412
- s = t.parentNode.childNodes;
413
- const l = n["s-sn"];
414
- for (r = s.length - 1; r >= 0; r--)
415
- if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !A.experimentalSlotFixes)
416
- if (oe(t, l)) {
417
- let a = T.find((o) => o.$nodeToRelocate$ === t);
418
- N = !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"], T.push({
419
- $slotRefNode$: n,
420
- $nodeToRelocate$: t
421
- })), t["s-sr"] && T.map((o) => {
422
- oe(o.$nodeToRelocate$, t["s-sn"]) && (a = T.find((i) => i.$nodeToRelocate$ === t), a && !o.$slotRefNode$ && (o.$slotRefNode$ = a.$slotRefNode$));
423
- });
424
- } else T.some((a) => a.$nodeToRelocate$ === t) || T.push({
425
- $nodeToRelocate$: t
426
- });
427
- }
428
- n.nodeType === 1 && ke(n);
429
- }
430
- }, oe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Te = (e) => {
431
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Te);
432
- }, L = (e, t, s) => e?.insertBefore(t, s), at = (e, t, s = !1) => {
433
- var r, n, l, a;
434
- const o = e.$hostElement$, i = e.$cmpMeta$, $ = e.$vnode$ || F(null, null), c = Ye(t) ? t : ue(null, null, t);
435
- if (R = o.tagName, i.$attrsToReflect$ && (c.$attrs$ = c.$attrs$ || {}, i.$attrsToReflect$.map(
436
- ([d, f]) => c.$attrs$[f] = o[d]
437
- )), s && c.$attrs$)
438
- for (const d of Object.keys(c.$attrs$))
439
- o.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (c.$attrs$[d] = o[d]);
440
- c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = $.$elm$ = o.shadowRoot || o, w = o["s-sc"], H = (i.$flags$ & 1) !== 0, W = o["s-cr"], N = !1, _($, c, s);
441
- {
442
- if (g.$flags$ |= 1, Y) {
443
- ke(c.$elm$);
444
- for (const d of T) {
445
- const f = d.$nodeToRelocate$;
446
- if (!f["s-ol"]) {
447
- const u = m.createTextNode("");
448
- u["s-nr"] = f, L(f.parentNode, f["s-ol"] = u, f);
449
- }
450
- }
451
- for (const d of T) {
452
- const f = d.$nodeToRelocate$, u = d.$slotRefNode$;
453
- if (u) {
454
- const v = u.parentNode;
455
- let h = u.nextSibling;
456
- {
457
- let y = (r = f["s-ol"]) == null ? void 0 : r.previousSibling;
458
- for (; y; ) {
459
- let p = (n = y["s-nr"]) != null ? n : null;
460
- if (p && p["s-sn"] === f["s-sn"] && v === p.parentNode) {
461
- for (p = p.nextSibling; p === f || p?.["s-sr"]; )
462
- p = p?.nextSibling;
463
- if (!p || !p["s-nr"]) {
464
- h = p;
465
- break;
466
- }
467
- }
468
- y = y.previousSibling;
469
- }
470
- }
471
- (!h && v !== f.parentNode || f.nextSibling !== h) && f !== h && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName), L(v, f, h), f.nodeType === 1 && (f.hidden = (l = f["s-ih"]) != null ? l : !1)), f && typeof u["s-rf"] == "function" && u["s-rf"](f);
472
- } else
473
- f.nodeType === 1 && (s && (f["s-ih"] = (a = f.hidden) != null ? a : !1), f.hidden = !0);
474
- }
475
- }
476
- N && be(c.$elm$), g.$flags$ &= -2, T.length = 0;
477
- }
478
- W = void 0;
479
- }, xe = (e, t) => {
480
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
481
- }, K = (e, t) => {
482
- if (e.$flags$ |= 16, e.$flags$ & 4) {
483
- e.$flags$ |= 512;
484
- return;
485
- }
486
- return xe(e, e.$ancestorComponent$), De(() => ot(e, t));
487
- }, ot = (e, t) => {
488
- const s = e.$hostElement$, r = x("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
489
- if (!n)
490
- throw new Error(
491
- `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`
492
- );
493
- let l;
494
- return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, o]) => M(n, a, o)), e.$queuedListeners$ = void 0), l = M(n, "componentWillLoad")), r(), it(l, () => ct(e, n, t));
495
- }, it = (e, t) => $t(e) ? e.then(t).catch((s) => {
496
- console.error(s), t();
497
- }) : t(), $t = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ct = async (e, t, s) => {
498
- var r;
499
- const n = e.$hostElement$, l = x("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
500
- s && st(e);
501
- const o = x("render", e.$cmpMeta$.$tagName$);
502
- ft(e, t, n, s), a && (a.map((i) => i()), n["s-rc"] = void 0), o(), l();
503
- {
504
- const i = (r = n["s-p"]) != null ? r : [], $ = () => dt(e);
505
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
506
- }
507
- }, ft = (e, t, s, r) => {
508
- try {
509
- t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, at(e, t, r);
510
- } catch (n) {
511
- b(n, e.$hostElement$);
512
- }
513
- return null;
514
- }, dt = (e) => {
515
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = x("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
516
- M(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, Ee(s), r(), e.$onReadyResolve$(s), l || Le()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => K(e, !1)), e.$flags$ &= -517;
517
- }, Le = (e) => {
518
- Ee(m.documentElement), X(() => pe(P, "appload", { detail: { namespace: Pe } }));
519
- }, M = (e, t, s) => {
520
- if (e && e[t])
521
- try {
522
- return e[t](s);
523
- } catch (r) {
524
- b(r);
525
- }
526
- }, Ee = (e) => {
527
- var t;
528
- return e.classList.add((t = A.hydratedSelectorName) != null ? t : "hydrated");
529
- }, ut = (e, t) => E(e).$instanceValues$.get(t), pt = (e, t, s, r) => {
530
- const n = E(e);
531
- if (!n)
532
- throw new Error(
533
- `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).`
534
- );
535
- const l = n.$hostElement$, a = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
536
- s = Ze(s, r.$members$[t][0]);
537
- const $ = Number.isNaN(a) && Number.isNaN(s), c = s !== a && !$;
538
- if ((!(o & 8) || a === void 0) && c && (n.$instanceValues$.set(t, s), i)) {
539
- if (r.$watchers$ && o & 128) {
540
- const d = r.$watchers$[t];
541
- d && d.map((f) => {
542
- try {
543
- i[f](s, a, t);
544
- } catch (u) {
545
- b(u, l);
546
- }
547
- });
548
- }
549
- (o & 18) === 2 && K(n, !1);
550
- }
551
- }, we = (e, t, s) => {
552
- var r, n;
553
- const l = e.prototype;
554
- if (t.$members$ || t.$watchers$ || e.watchers) {
555
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
556
- const a = Object.entries((r = t.$members$) != null ? r : {});
557
- if (a.map(([o, [i]]) => {
558
- (i & 31 || s & 2 && i & 32) && Object.defineProperty(l, o, {
559
- get() {
560
- return ut(this, o);
561
- },
562
- set($) {
563
- pt(this, o, $, t);
564
- },
565
- configurable: !0,
566
- enumerable: !0
567
- });
568
- }), s & 1) {
569
- const o = /* @__PURE__ */ new Map();
570
- l.attributeChangedCallback = function(i, $, c) {
571
- g.jmp(() => {
572
- var d;
573
- const f = o.get(i);
574
- if (this.hasOwnProperty(f))
575
- c = this[f], delete this[f];
576
- else {
577
- if (l.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
578
- this[f] == c)
579
- return;
580
- if (f == null) {
581
- const u = E(this), v = u?.$flags$;
582
- if (v && !(v & 8) && v & 128 && c !== $) {
583
- const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[i];
584
- y?.forEach((p) => {
585
- h[p] != null && h[p].call(h, c, $, i);
586
- });
587
- }
588
- return;
589
- }
590
- }
591
- this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
592
- });
593
- }, e.observedAttributes = Array.from(
594
- /* @__PURE__ */ new Set([
595
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
596
- ...a.filter(
597
- ([i, $]) => $[0] & 15
598
- /* HasAttribute */
599
- ).map(([i, $]) => {
600
- var c;
601
- const d = $[1] || i;
602
- return o.set(d, i), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, d])), d;
603
- })
604
- ])
605
- );
606
- }
607
- }
608
- return e;
609
- }, vt = async (e, t, s, r) => {
610
- let n;
611
- if (!(t.$flags$ & 32)) {
612
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
613
- const i = Ue(s);
614
- if (i && "then" in i) {
615
- const c = Xe();
616
- n = await i, c();
617
- } else
618
- n = i;
619
- if (!n)
620
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
621
- n.isProxied || (s.$watchers$ = n.watchers, we(
622
- n,
623
- s,
624
- 2
625
- /* proxyState */
626
- ), n.isProxied = !0);
627
- const $ = x("createInstance", s.$tagName$);
628
- t.$flags$ |= 8;
629
- try {
630
- new n(t);
631
- } catch (c) {
632
- b(c);
633
- }
634
- t.$flags$ &= -9, t.$flags$ |= 128, $();
635
- } else {
636
- n = e.constructor;
637
- const i = e.localName;
638
- customElements.whenDefined(i).then(
639
- () => t.$flags$ |= 128
640
- /* isWatchReady */
641
- );
642
- }
643
- if (n && n.style) {
644
- let i;
645
- typeof n.style == "string" && (i = n.style);
646
- const $ = ve(s);
647
- if (!C.has($)) {
648
- const c = x("registerStyles", s.$tagName$);
649
- et($, i, !!(s.$flags$ & 1)), c();
650
- }
651
- }
652
- }
653
- const l = t.$ancestorComponent$, a = () => K(t, !0);
654
- l && l["s-rc"] ? l["s-rc"].push(a) : a();
655
- }, ht = (e) => {
656
- }, gt = (e) => {
657
- if (!(g.$flags$ & 1)) {
658
- const t = E(e), s = t.$cmpMeta$, r = x("connectedCallback", s.$tagName$);
659
- if (t.$flags$ & 1)
660
- _e(e, t, s.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ht());
661
- else {
662
- t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
663
- s.$flags$ & 12 && yt(e);
664
- {
665
- let n = e;
666
- for (; n = n.parentNode || n.host; )
667
- if (n["s-p"]) {
668
- xe(t, t.$ancestorComponent$ = n);
669
- break;
670
- }
671
- }
672
- s.$members$ && Object.entries(s.$members$).map(([n, [l]]) => {
673
- if (l & 31 && e.hasOwnProperty(n)) {
674
- const a = e[n];
675
- delete e[n], e[n] = a;
676
- }
677
- }), vt(e, t, s);
678
- }
679
- r();
680
- }
681
- }, yt = (e) => {
682
- const t = e["s-cr"] = m.createComment(
683
- ""
684
- );
685
- t["s-cn"] = !0, L(e, t, e.firstChild);
686
- }, mt = (e) => {
687
- }, St = async (e) => {
688
- if (!(g.$flags$ & 1)) {
689
- const t = E(e);
690
- t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => mt());
691
- }
692
- }, wt = (e, t = {}) => {
693
- var s;
694
- const r = x(), n = [], l = t.exclude || [], a = P.customElements, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
695
- let d, f = !0;
696
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
697
- let u = !1;
698
- if (e.map((v) => {
699
- v[1].map((h) => {
700
- var y;
701
- const p = {
702
- $flags$: h[0],
703
- $tagName$: h[1],
704
- $members$: h[2],
705
- $listeners$: h[3]
706
- };
707
- p.$flags$ & 4 && (u = !0), p.$members$ = h[2], p.$listeners$ = h[3], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
708
- const j = p.$tagName$, Ae = class extends HTMLElement {
709
- // StencilLazyHost
710
- constructor(k) {
711
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, je(k, p), p.$flags$ & 1) {
712
- if (!k.shadowRoot)
713
- k.attachShadow({ mode: "open" });
714
- else if (k.shadowRoot.mode !== "open")
715
- throw new Error(
716
- `Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
717
- );
718
- }
719
- }
720
- connectedCallback() {
721
- const k = E(this);
722
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, _e(this, k, p.$listeners$)), d && (clearTimeout(d), d = null), f ? c.push(this) : g.jmp(() => gt(this));
723
- }
724
- disconnectedCallback() {
725
- g.jmp(() => St(this));
726
- }
727
- componentOnReady() {
728
- return E(this).$onReadyPromise$;
729
- }
730
- };
731
- p.$lazyBundleId$ = v[0], !l.includes(j) && !a.get(j) && (n.push(j), a.define(
732
- j,
733
- we(
734
- Ae,
735
- p,
736
- 1
737
- /* isElementConstructor */
738
- )
739
- ));
740
- });
741
- }), n.length > 0 && (u && ($.textContent += ie), $.textContent += n.sort() + Ce, $.innerHTML.length)) {
742
- $.setAttribute("data-styles", "");
743
- const v = (s = g.$nonce$) != null ? s : fe(m);
744
- v != null && $.setAttribute("nonce", v), o.insertBefore($, i ? i.nextSibling : o.firstChild);
745
- }
746
- f = !1, c.length ? c.map((v) => v.connectedCallback()) : g.jmp(() => d = setTimeout(Le, 30)), r();
747
- }, _t = (e, t) => t, _e = (e, t, s, r) => {
748
- s && s.map(([n, l, a]) => {
749
- const o = kt(e, n), i = bt(t, a), $ = Tt(n);
750
- g.ael(o, l, i, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(o, l, i, $));
751
- });
752
- }, bt = (e, t) => (s) => {
753
- var r;
754
- try {
755
- e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
756
- } catch (n) {
757
- b(n);
758
- }
759
- }, kt = (e, t) => t & 8 ? P : e, Tt = (e) => Fe ? {
760
- passive: (e & 1) !== 0,
761
- capture: (e & 2) !== 0
762
- } : (e & 2) !== 0;
763
- export {
764
- _t as F,
765
- Lt as a,
766
- wt as b,
767
- Et as c,
768
- Ve as g,
769
- ue as h,
770
- He as p,
771
- xt as r
772
- };