@everymatrix/casino-header-controller 1.65.0 → 1.65.2

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 (66) hide show
  1. package/components/{CasinoHamburgerMenu-B1dY3jHB.js → CasinoHamburgerMenu-BMkeLxFw.js} +907 -886
  2. package/components/{CasinoHamburgerMenu-pBvrxlJy.js → CasinoHamburgerMenu-CTVc2-UF.js} +851 -830
  3. package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
  4. package/components/{CasinoHeaderController-B0cFJgaJ.cjs → CasinoHeaderController-B0lLuqqY.cjs} +1 -1
  5. package/components/{CasinoHeaderController-DOdeXoey.js → CasinoHeaderController-CGZStHGm.js} +88 -88
  6. package/components/{CasinoHeaderController-Bn2AwIyI.js → CasinoHeaderController-Cspimubt.js} +90 -90
  7. package/components/{CasinoSlider-CKGPxibK.js → CasinoSlider-CTcAOyCp.js} +57 -57
  8. package/components/{CasinoSlider-BEx_hpVM.js → CasinoSlider-Deb0x84t.js} +88 -88
  9. package/components/{CasinoSlider-CL_Uac-c.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
  10. package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +13 -0
  11. package/components/PlayerAccountBalanceModal-CNXuqjqU.js +1539 -0
  12. package/components/PlayerAccountBalanceModal-DbULiu-f.js +1510 -0
  13. package/components/PlayerDeposit-BXwT7NVp.cjs +1 -0
  14. package/components/{PlayerDeposit-Byf7G3yu.js → PlayerDeposit-BZuTQSyp.js} +72 -72
  15. package/components/{PlayerDeposit-C-Fbg92q.js → PlayerDeposit-eY_YGhMJ.js} +72 -72
  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-8eb8a896-CxTBD8Oq.js → gamification-dropdown-8eb8a896-Bcdjx9jM.js} +1 -1
  21. package/stencil/{gamification-dropdown-8eb8a896-BXV0d81L.cjs → gamification-dropdown-8eb8a896-CJqychmF.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-8eb8a896-DsjvIRRh.js → gamification-dropdown-8eb8a896-zfRPKKB2.js} +1 -1
  23. package/stencil/{gamification-dropdown-DG0vAJtO.js → gamification-dropdown-Dv6JCzCW.js} +1 -1
  24. package/stencil/{gamification-dropdown-DUk8bbFT.cjs → gamification-dropdown-DztjiKq7.cjs} +1 -1
  25. package/stencil/{gamification-dropdown-C_xYxEL8.js → gamification-dropdown-TiS6_s4J.js} +1 -1
  26. package/stencil/{gamification-dropdown_4-zImC9hF9.js → gamification-dropdown_4-BUCLkjbf.js} +58 -55
  27. package/stencil/{gamification-dropdown_4-Be_N4EeF.js → gamification-dropdown_4-SROB8ZNq.js} +60 -57
  28. package/stencil/gamification-dropdown_4-_zijAT3T.cjs +192 -0
  29. package/stencil/index-1ef3a64c-AMSfdX4B.js +556 -0
  30. package/stencil/index-1ef3a64c-BlUWL6ud.cjs +1 -0
  31. package/stencil/index-1ef3a64c-CTdxbgr0.js +572 -0
  32. package/stencil/index-71b1bdfa-CSjh2jcj.cjs +1 -0
  33. package/stencil/{index-71b1bdfa-Dm7yvsrK.js → index-71b1bdfa-DL3YG9Ud.js} +264 -268
  34. package/stencil/index-71b1bdfa-DdHPuS3A.js +753 -0
  35. package/stencil/locale-B_6Rn5-v.cjs +1 -0
  36. package/stencil/{locale-DuSXBQwH.js → locale-TxlOHoKi.js} +11 -5
  37. package/stencil/{player-elevate-card-DL6XwNnq.js → player-elevate-card-CRl63tuY.js} +3 -3
  38. package/stencil/{player-elevate-card-Cmxvkrge.js → player-elevate-card-DX8jjll6.js} +3 -3
  39. package/stencil/{player-elevate-card-C6V7VROS.cjs → player-elevate-card-DtTKg95m.cjs} +1 -1
  40. package/stencil/player-elevate-card-items-5071deed-A_RG9TpE.cjs +102 -0
  41. package/stencil/player-elevate-card-items-5071deed-Ce0Sstbi.js +1391 -0
  42. package/stencil/player-elevate-card-items-5071deed-DG6rUxm1.js +1391 -0
  43. package/stencil/{player-elevate-pointcard-dDiPwAiV.js → player-elevate-pointcard-Bcq1MXZc.js} +3 -3
  44. package/stencil/{player-elevate-pointcard-CbCIvh8I.cjs → player-elevate-pointcard-CEXHhV9c.cjs} +1 -1
  45. package/stencil/{player-elevate-pointcard-DYOUbwi3.js → player-elevate-pointcard-hzoziusU.js} +3 -3
  46. package/stencil/{player-rakeback-card-BMHeEc3P.cjs → player-rakeback-card-BwjstuRr.cjs} +1 -1
  47. package/stencil/{player-rakeback-card-CxD8OOP-.js → player-rakeback-card-DYjFUdkd.js} +2 -2
  48. package/stencil/{player-rakeback-card-CixEJCwY.js → player-rakeback-card-Dtat6ZLL.js} +2 -2
  49. package/stencil/{user-deposit-withdrawal-Ck524nr-.cjs → user-deposit-withdrawal-BRpNiBnR.cjs} +1 -1
  50. package/stencil/{user-deposit-withdrawal-CXMt1MVo.js → user-deposit-withdrawal-Dy3WkB23.js} +1 -1
  51. package/stencil/{user-deposit-withdrawal-DU6VQt9M.js → user-deposit-withdrawal-c_bH3eje.js} +1 -1
  52. package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +0 -21
  53. package/components/PlayerAccountBalanceModal-BKMugmnm.js +0 -1539
  54. package/components/PlayerAccountBalanceModal-CK68FRSV.js +0 -1510
  55. package/components/PlayerAccountBalanceModal-iP2HDeoz.cjs +0 -13
  56. package/components/PlayerDeposit-BsUiL_LS.cjs +0 -1
  57. package/stencil/gamification-dropdown_4-DuMaGjcI.cjs +0 -192
  58. package/stencil/index-1ef3a64c-C31PLQx3.js +0 -572
  59. package/stencil/index-1ef3a64c-CkoGfMtU.cjs +0 -1
  60. package/stencil/index-1ef3a64c-WzZ9mlMM.js +0 -556
  61. package/stencil/index-71b1bdfa-DzyepuUf.js +0 -757
  62. package/stencil/index-71b1bdfa-urw3SgKF.cjs +0 -1
  63. package/stencil/locale-DHn5ZpQu.cjs +0 -1
  64. package/stencil/player-elevate-card-items-66be34fb-BUkxBwF8.js +0 -1292
  65. package/stencil/player-elevate-card-items-66be34fb-BjQeJ-p9.js +0 -1292
  66. package/stencil/player-elevate-card-items-66be34fb-DeUY02M2.cjs +0 -1
@@ -1,757 +0,0 @@
1
- const Pe = "gamification-dropdown", H = (
2
- /* gamification-dropdown */
3
- { allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, 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: !0, 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 Oe = Object.defineProperty, Re = (e, t) => {
6
- for (var r in t)
7
- Oe(e, r, { get: t[r], enumerable: !0 });
8
- }, G = /* @__PURE__ */ new WeakMap(), E = (e) => G.get(e), xt = (e, t) => G.set(t.$lazyInstance$ = e, t), Ce = (e, t) => {
9
- const r = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], G.set(e, r);
16
- }, Z = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), z = /* @__PURE__ */ new Map(), Ne = (e, t, r) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
- if (!n)
19
- return;
20
- const l = z.get(n);
21
- if (l)
22
- return l[s];
23
- {
24
- const a = (i) => (z.set(n, i), i[s]);
25
- switch (n) {
26
- case "gamification-dropdown_4":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./gamification-dropdown_4-Be_N4EeF.js"
30
- ).then(a, b);
31
- case "player-elevate-card":
32
- return import(
33
- /* webpackMode: "lazy" */
34
- "./player-elevate-card-Cmxvkrge.js"
35
- ).then(a, b);
36
- case "player-elevate-pointcard":
37
- return import(
38
- /* webpackMode: "lazy" */
39
- "./player-elevate-pointcard-dDiPwAiV.js"
40
- ).then(a, b);
41
- case "player-rakeback-card":
42
- return import(
43
- /* webpackMode: "lazy" */
44
- "./player-rakeback-card-CxD8OOP-.js"
45
- ).then(a, b);
46
- }
47
- }
48
- return import(
49
- /* @vite-ignore */
50
- /* webpackInclude: /\.entry\.js$/ */
51
- /* webpackExclude: /\.system\.entry\.js$/ */
52
- /* webpackMode: "lazy" */
53
- `./${n}.entry.js`
54
- ).then((a) => (z.set(n, a), a[s]), b);
55
- }, j = /* @__PURE__ */ new Map(), je = "{visibility:hidden}.hydrated{visibility:inherit}", $e = "slot-fb{display:contents}slot-fb[hidden]{display:none}", A = typeof window < "u" ? window : {}, m = A.document || { head: {} }, g = {
56
- $flags$: 0,
57
- $resourcesUrl$: "",
58
- jmp: (e) => e(),
59
- raf: (e) => requestAnimationFrame(e),
60
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
61
- rel: (e, t, r, s) => e.removeEventListener(t, r, s),
62
- ce: (e, t) => new CustomEvent(e, t)
63
- }, Ue = /* @__PURE__ */ (() => {
64
- let e = !1;
65
- try {
66
- m.addEventListener(
67
- "e",
68
- null,
69
- Object.defineProperty({}, "passive", {
70
- get() {
71
- e = !0;
72
- }
73
- })
74
- );
75
- } catch {
76
- }
77
- return e;
78
- })(), Fe = (e) => Promise.resolve(e), Ie = /* @__PURE__ */ (() => {
79
- try {
80
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
81
- } catch {
82
- }
83
- return !1;
84
- })(), B = !1, V = [], ce = [], De = (e, t) => (r) => {
85
- e.push(r), B || (B = !0, g.$flags$ & 4 ? X(q) : g.raf(q));
86
- }, ee = (e) => {
87
- for (let t = 0; t < e.length; t++)
88
- try {
89
- e[t](performance.now());
90
- } catch (r) {
91
- b(r);
92
- }
93
- e.length = 0;
94
- }, q = () => {
95
- ee(V), ee(ce), (B = V.length > 0) && g.raf(q);
96
- }, X = (e) => Fe().then(e), He = /* @__PURE__ */ De(ce), Lt = (e) => {
97
- const t = new URL(e, g.$resourcesUrl$);
98
- return t.origin !== A.location.origin ? t.href : t.pathname;
99
- }, te = {}, ze = "http://www.w3.org/2000/svg", Be = "http://www.w3.org/1999/xhtml", qe = (e) => e != null, Q = (e) => (e = typeof e, e === "object" || e === "function");
100
- function fe(e) {
101
- var t, r, s;
102
- return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
103
- }
104
- var We = {};
105
- Re(We, {
106
- err: () => de,
107
- map: () => Me,
108
- ok: () => W,
109
- unwrap: () => Ge,
110
- unwrapErr: () => Xe
111
- });
112
- var W = (e) => ({
113
- isOk: !0,
114
- isErr: !1,
115
- value: e
116
- }), de = (e) => ({
117
- isOk: !1,
118
- isErr: !0,
119
- value: e
120
- });
121
- function Me(e, t) {
122
- if (e.isOk) {
123
- const r = t(e.value);
124
- return r instanceof Promise ? r.then((s) => W(s)) : W(r);
125
- }
126
- if (e.isErr) {
127
- const r = e.value;
128
- return de(r);
129
- }
130
- throw "should never get here";
131
- }
132
- var Ge = (e) => {
133
- if (e.isOk)
134
- return e.value;
135
- throw e.value;
136
- }, Xe = (e) => {
137
- if (e.isErr)
138
- return e.value;
139
- throw e.value;
140
- }, x = (e, t = "") => () => {
141
- }, Qe = (e, t) => () => {
142
- }, ue = (e, t, ...r) => {
143
- let s = null, n = null, l = null, a = !1, i = !1;
144
- const o = [], f = (d) => {
145
- for (let c = 0; c < d.length; c++)
146
- s = d[c], Array.isArray(s) ? f(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !Q(s)) && (s = String(s)), a && i ? o[o.length - 1].$text$ += s : o.push(a ? U(null, s) : s), i = a);
147
- };
148
- if (f(r), t) {
149
- t.key && (n = t.key), t.name && (l = t.name);
150
- {
151
- const d = t.className || t.class;
152
- d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((c) => d[c]).join(" "));
153
- }
154
- }
155
- if (typeof e == "function")
156
- return e(
157
- t === null ? {} : t,
158
- o,
159
- Ke
160
- );
161
- const $ = U(e, null);
162
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $.$name$ = l, $;
163
- }, U = (e, t) => {
164
- const r = {
165
- $flags$: 0,
166
- $tag$: e,
167
- $text$: t,
168
- $elm$: null,
169
- $children$: null
170
- };
171
- return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
172
- }, Ye = {}, Je = (e) => e && e.$tag$ === Ye, Ke = {
173
- forEach: (e, t) => e.map(se).forEach(t),
174
- map: (e, t) => e.map(se).map(t).map(Ze)
175
- }, se = (e) => ({
176
- vattrs: e.$attrs$,
177
- vchildren: e.$children$,
178
- vkey: e.$key$,
179
- vname: e.$name$,
180
- vtag: e.$tag$,
181
- vtext: e.$text$
182
- }), Ze = (e) => {
183
- if (typeof e.vtag == "function") {
184
- const r = { ...e.vattrs };
185
- return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), ue(e.vtag, r, ...e.vchildren || []);
186
- }
187
- const t = U(e.vtag, e.vtext);
188
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
189
- }, Ve = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, et = (e) => E(e).$hostElement$, Et = (e, t, r) => {
190
- const s = et(e);
191
- return {
192
- emit: (n) => ve(s, t, {
193
- bubbles: !!(r & 4),
194
- composed: !!(r & 2),
195
- cancelable: !!(r & 1),
196
- detail: n
197
- })
198
- };
199
- }, ve = (e, t, r) => {
200
- const s = g.ce(t, r);
201
- return e.dispatchEvent(s), s;
202
- }, re = /* @__PURE__ */ new WeakMap(), tt = (e, t, r) => {
203
- let s = j.get(e);
204
- Ie && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
205
- }, st = (e, t, r) => {
206
- var s;
207
- const n = pe(t), l = j.get(n);
208
- if (e = e.nodeType === 11 ? e : m, l)
209
- if (typeof l == "string") {
210
- e = e.head || e;
211
- let a = re.get(e), i;
212
- if (a || re.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
213
- {
214
- i = m.createElement("style"), i.innerHTML = l;
215
- const o = (s = g.$nonce$) != null ? s : fe(m);
216
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
217
- }
218
- t.$flags$ & 4 && (i.innerHTML += $e), a && a.add(n);
219
- }
220
- } else
221
- e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
222
- return n;
223
- }, rt = (e) => {
224
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = x("attachStyles", t.$tagName$), l = st(
225
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
226
- t
227
- );
228
- s & 10 && (r["s-sc"] = l, r.classList.add(l + "-h")), n();
229
- }, pe = (e, t) => "sc-" + e.$tagName$, ne = (e, t, r, s, n, l) => {
230
- if (r !== s) {
231
- let a = Z(e, t), i = t.toLowerCase();
232
- if (t === "class") {
233
- const o = e.classList, f = le(r), $ = le(s);
234
- o.remove(...f.filter((d) => d && !$.includes(d))), o.add(...$.filter((d) => d && !f.includes(d)));
235
- } else if (t === "style") {
236
- for (const o in r)
237
- (!s || s[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
238
- for (const o in s)
239
- (!r || s[o] !== r[o]) && (o.includes("-") ? e.style.setProperty(o, s[o]) : e.style[o] = s[o]);
240
- } else if (t !== "key")
241
- if (t === "ref")
242
- s && s(e);
243
- else if (!a && t[0] === "o" && t[1] === "n") {
244
- if (t[2] === "-" ? t = t.slice(3) : Z(A, i) ? t = i.slice(2) : t = i[2] + t.slice(3), r || s) {
245
- const o = t.endsWith(he);
246
- t = t.replace(lt, ""), r && g.rel(e, t, r, o), s && g.ael(e, t, s, o);
247
- }
248
- } else {
249
- const o = Q(s);
250
- if ((a || o && s !== null) && !n)
251
- try {
252
- if (e.tagName.includes("-"))
253
- e[t] = s;
254
- else {
255
- const f = s ?? "";
256
- t === "list" ? a = !1 : (r == null || e[t] != f) && (e[t] = f);
257
- }
258
- } catch {
259
- }
260
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || l & 4 || n) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
261
- }
262
- }
263
- }, nt = /\s/, le = (e) => e ? e.split(nt) : [], he = "Capture", lt = new RegExp(he + "$"), ge = (e, t, r) => {
264
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || te, l = t.$attrs$ || te;
265
- for (const a of ae(Object.keys(n)))
266
- a in l || ne(s, a, n[a], void 0, r, t.$flags$);
267
- for (const a of ae(Object.keys(l)))
268
- ne(s, a, n[a], l[a], r, t.$flags$);
269
- };
270
- function ae(e) {
271
- return e.includes("ref") ? (
272
- // we need to sort these to ensure that `'ref'` is the last attr
273
- [...e.filter((t) => t !== "ref"), "ref"]
274
- ) : (
275
- // no need to sort, return the original array
276
- e
277
- );
278
- }
279
- var w, M, P, F = !1, I = !1, Y = !1, S = !1, D = (e, t, r, s) => {
280
- var n;
281
- const l = t.$children$[r];
282
- let a = 0, i, o, f;
283
- if (F || (Y = !0, l.$tag$ === "slot" && (w && s.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
284
- // slot element has fallback content
285
- // still create an element that "mocks" the slot element
286
- 2
287
- ) : (
288
- // slot element does not have fallback content
289
- // create an html comment we'll use to always reference
290
- // where actual slot content should sit next to
291
- 1
292
- ))), l.$text$ !== null)
293
- i = l.$elm$ = m.createTextNode(l.$text$);
294
- else if (l.$flags$ & 1)
295
- i = l.$elm$ = m.createTextNode("");
296
- else {
297
- if (S || (S = l.$tag$ === "svg"), i = l.$elm$ = m.createElementNS(
298
- S ? ze : Be,
299
- !F && H.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
300
- ), S && l.$tag$ === "foreignObject" && (S = !1), ge(null, l, S), qe(w) && i["s-si"] !== w && i.classList.add(i["s-si"] = w), l.$children$)
301
- for (a = 0; a < l.$children$.length; ++a)
302
- o = D(e, l, a, i), o && i.appendChild(o);
303
- l.$tag$ === "svg" ? S = !1 : i.tagName === "foreignObject" && (S = !0);
304
- }
305
- return i["s-hn"] = P, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = M, i["s-sn"] = l.$name$ || "", i["s-rf"] = (n = l.$attrs$) == null ? void 0 : n.ref, f = e && e.$children$ && e.$children$[r], f && f.$tag$ === l.$tag$ && e.$elm$ && O(e.$elm$, !1)), i;
306
- }, O = (e, t) => {
307
- g.$flags$ |= 1;
308
- const r = Array.from(e.childNodes);
309
- if (e["s-sr"] && H.experimentalSlotFixes) {
310
- let s = e;
311
- for (; s = s.nextSibling; )
312
- s && s["s-sn"] === e["s-sn"] && s["s-sh"] === P && r.push(s);
313
- }
314
- for (let s = r.length - 1; s >= 0; s--) {
315
- const n = r[s];
316
- n["s-hn"] !== P && 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);
317
- }
318
- g.$flags$ &= -2;
319
- }, ye = (e, t, r, s, n, l) => {
320
- let a = e["s-cr"] && e["s-cr"].parentNode || e, i;
321
- for (a.shadowRoot && a.tagName === P && (a = a.shadowRoot); n <= l; ++n)
322
- s[n] && (i = D(null, r, n, e), i && (s[n].$elm$ = i, L(a, i, J(t))));
323
- }, me = (e, t, r) => {
324
- for (let s = t; s <= r; ++s) {
325
- const n = e[s];
326
- if (n) {
327
- const l = n.$elm$;
328
- Te(n), l && (I = !0, l["s-ol"] ? l["s-ol"].remove() : O(l, !0), l.remove());
329
- }
330
- }
331
- }, at = (e, t, r, s, n = !1) => {
332
- let l = 0, a = 0, i = 0, o = 0, f = t.length - 1, $ = t[0], d = t[f], c = s.length - 1, u = s[0], p = s[c], h, y;
333
- for (; l <= f && a <= c; )
334
- if ($ == null)
335
- $ = t[++l];
336
- else if (d == null)
337
- d = t[--f];
338
- else if (u == null)
339
- u = s[++a];
340
- else if (p == null)
341
- p = s[--c];
342
- else if (N($, u, n))
343
- _($, u, n), $ = t[++l], u = s[++a];
344
- else if (N(d, p, n))
345
- _(d, p, n), d = t[--f], p = s[--c];
346
- else if (N($, p, n))
347
- ($.$tag$ === "slot" || p.$tag$ === "slot") && O($.$elm$.parentNode, !1), _($, p, n), L(e, $.$elm$, d.$elm$.nextSibling), $ = t[++l], p = s[--c];
348
- else if (N(d, u, n))
349
- ($.$tag$ === "slot" || p.$tag$ === "slot") && O(d.$elm$.parentNode, !1), _(d, u, n), L(e, d.$elm$, $.$elm$), d = t[--f], u = s[++a];
350
- else {
351
- for (i = -1, o = l; o <= f; ++o)
352
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
353
- i = o;
354
- break;
355
- }
356
- i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = D(t && t[a], r, i, e) : (_(y, u, n), t[i] = void 0, h = y.$elm$), u = s[++a]) : (h = D(t && t[a], r, a, e), u = s[++a]), h && L(Se($.$elm$), h, J($.$elm$));
357
- }
358
- l > f ? ye(
359
- e,
360
- s[c + 1] == null ? null : s[c + 1].$elm$,
361
- r,
362
- s,
363
- a,
364
- c
365
- ) : a > c && me(t, l, f);
366
- }, N = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? !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, r = !1) => {
367
- const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, a = t.$tag$, i = t.$text$;
368
- let o;
369
- i === null ? (S = a === "svg" ? !0 : a === "foreignObject" ? !1 : S, a === "slot" && !F || ge(e, t, S), n !== null && l !== null ? at(s, n, t, l, r) : l !== null ? (e.$text$ !== null && (s.textContent = ""), ye(s, null, t, l, 0, l.length - 1)) : n !== null && me(n, 0, n.length - 1), S && a === "svg" && (S = !1)) : (o = s["s-cr"]) ? o.parentNode.textContent = i : e.$text$ !== i && (s.data = i);
370
- }, be = (e) => {
371
- const t = e.childNodes;
372
- for (const r of t)
373
- if (r.nodeType === 1) {
374
- if (r["s-sr"]) {
375
- const s = r["s-sn"];
376
- r.hidden = !1;
377
- for (const n of t)
378
- if (n !== r) {
379
- if (n["s-hn"] !== r["s-hn"] || s !== "") {
380
- if (n.nodeType === 1 && (s === n.getAttribute("slot") || s === n["s-sn"]) || n.nodeType === 3 && s === n["s-sn"]) {
381
- r.hidden = !0;
382
- break;
383
- }
384
- } else if (n.nodeType === 1 || n.nodeType === 3 && n.textContent.trim() !== "") {
385
- r.hidden = !0;
386
- break;
387
- }
388
- }
389
- }
390
- be(r);
391
- }
392
- }, T = [], ke = (e) => {
393
- let t, r, s;
394
- for (const n of e.childNodes) {
395
- if (n["s-sr"] && (t = n["s-cr"]) && t.parentNode) {
396
- r = t.parentNode.childNodes;
397
- const l = n["s-sn"];
398
- for (s = r.length - 1; s >= 0; s--)
399
- if (t = r[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !H.experimentalSlotFixes)
400
- if (oe(t, l)) {
401
- let a = T.find((i) => i.$nodeToRelocate$ === t);
402
- I = !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({
403
- $slotRefNode$: n,
404
- $nodeToRelocate$: t
405
- })), t["s-sr"] && T.map((i) => {
406
- oe(i.$nodeToRelocate$, t["s-sn"]) && (a = T.find((o) => o.$nodeToRelocate$ === t), a && !i.$slotRefNode$ && (i.$slotRefNode$ = a.$slotRefNode$));
407
- });
408
- } else
409
- T.some((a) => a.$nodeToRelocate$ === t) || T.push({
410
- $nodeToRelocate$: t
411
- });
412
- }
413
- n.nodeType === 1 && ke(n);
414
- }
415
- }, oe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Te = (e) => {
416
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Te);
417
- }, L = (e, t, r) => e?.insertBefore(t, r), ot = (e, t, r = !1) => {
418
- var s, n, l, a;
419
- const i = e.$hostElement$, o = e.$cmpMeta$, f = e.$vnode$ || U(null, null), $ = Je(t) ? t : ue(null, null, t);
420
- if (P = i.tagName, o.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, o.$attrsToReflect$.map(
421
- ([d, c]) => $.$attrs$[c] = i[d]
422
- )), r && $.$attrs$)
423
- for (const d of Object.keys($.$attrs$))
424
- i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && ($.$attrs$[d] = i[d]);
425
- $.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = f.$elm$ = i.shadowRoot || i, w = i["s-sc"], F = (o.$flags$ & 1) !== 0, M = i["s-cr"], I = !1, _(f, $, r);
426
- {
427
- if (g.$flags$ |= 1, Y) {
428
- ke($.$elm$);
429
- for (const d of T) {
430
- const c = d.$nodeToRelocate$;
431
- if (!c["s-ol"]) {
432
- const u = m.createTextNode("");
433
- u["s-nr"] = c, L(c.parentNode, c["s-ol"] = u, c);
434
- }
435
- }
436
- for (const d of T) {
437
- const c = d.$nodeToRelocate$, u = d.$slotRefNode$;
438
- if (u) {
439
- const p = u.parentNode;
440
- let h = u.nextSibling;
441
- {
442
- let y = (s = c["s-ol"]) == null ? void 0 : s.previousSibling;
443
- for (; y; ) {
444
- let v = (n = y["s-nr"]) != null ? n : null;
445
- if (v && v["s-sn"] === c["s-sn"] && p === v.parentNode) {
446
- for (v = v.nextSibling; v === c || v?.["s-sr"]; )
447
- v = v?.nextSibling;
448
- if (!v || !v["s-nr"]) {
449
- h = v;
450
- break;
451
- }
452
- }
453
- y = y.previousSibling;
454
- }
455
- }
456
- (!h && p !== c.parentNode || c.nextSibling !== h) && c !== h && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), L(p, c, h), c.nodeType === 1 && (c.hidden = (l = c["s-ih"]) != null ? l : !1)), c && typeof u["s-rf"] == "function" && u["s-rf"](c);
457
- } else
458
- c.nodeType === 1 && (r && (c["s-ih"] = (a = c.hidden) != null ? a : !1), c.hidden = !0);
459
- }
460
- }
461
- I && be($.$elm$), g.$flags$ &= -2, T.length = 0;
462
- }
463
- M = void 0;
464
- }, xe = (e, t) => {
465
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
466
- }, K = (e, t) => {
467
- if (e.$flags$ |= 16, e.$flags$ & 4) {
468
- e.$flags$ |= 512;
469
- return;
470
- }
471
- return xe(e, e.$ancestorComponent$), He(() => it(e, t));
472
- }, it = (e, t) => {
473
- const r = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
474
- if (!n)
475
- throw new Error(
476
- `Can't render component <${r.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`
477
- );
478
- let l;
479
- return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, i]) => R(n, a, i)), e.$queuedListeners$ = void 0), l = R(n, "componentWillLoad")), s(), $t(l, () => ft(e, n, t));
480
- }, $t = (e, t) => ct(e) ? e.then(t).catch((r) => {
481
- console.error(r), t();
482
- }) : t(), ct = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ft = async (e, t, r) => {
483
- var s;
484
- const n = e.$hostElement$, l = x("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
485
- r && rt(e);
486
- const i = x("render", e.$cmpMeta$.$tagName$);
487
- dt(e, t, n, r), a && (a.map((o) => o()), n["s-rc"] = void 0), i(), l();
488
- {
489
- const o = (s = n["s-p"]) != null ? s : [], f = () => ut(e);
490
- o.length === 0 ? f() : (Promise.all(o).then(f), e.$flags$ |= 4, o.length = 0);
491
- }
492
- }, dt = (e, t, r, s) => {
493
- try {
494
- t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ot(e, t, s);
495
- } catch (n) {
496
- b(n, e.$hostElement$);
497
- }
498
- return null;
499
- }, ut = (e) => {
500
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = x("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
501
- R(n, "componentDidRender"), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, Ee(r), R(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), l || Le()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => K(e, !1)), e.$flags$ &= -517;
502
- }, Le = (e) => {
503
- Ee(m.documentElement), X(() => ve(A, "appload", { detail: { namespace: Pe } }));
504
- }, R = (e, t, r) => {
505
- if (e && e[t])
506
- try {
507
- return e[t](r);
508
- } catch (s) {
509
- b(s);
510
- }
511
- }, Ee = (e) => {
512
- var t;
513
- return e.classList.add((t = H.hydratedSelectorName) != null ? t : "hydrated");
514
- }, vt = (e, t) => E(e).$instanceValues$.get(t), pt = (e, t, r, s) => {
515
- const n = E(e);
516
- if (!n)
517
- throw new Error(
518
- `Couldn't find host element for "${s.$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).`
519
- );
520
- const l = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
521
- r = Ve(r, s.$members$[t][0]);
522
- const f = Number.isNaN(a) && Number.isNaN(r), $ = r !== a && !f;
523
- if ((!(i & 8) || a === void 0) && $ && (n.$instanceValues$.set(t, r), o)) {
524
- if (s.$watchers$ && i & 128) {
525
- const d = s.$watchers$[t];
526
- d && d.map((c) => {
527
- try {
528
- o[c](r, a, t);
529
- } catch (u) {
530
- b(u, l);
531
- }
532
- });
533
- }
534
- (i & 18) === 2 && K(n, !1);
535
- }
536
- }, we = (e, t, r) => {
537
- var s, n;
538
- const l = e.prototype;
539
- if (t.$members$ || t.$watchers$ || e.watchers) {
540
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
541
- const a = Object.entries((s = t.$members$) != null ? s : {});
542
- if (a.map(([i, [o]]) => {
543
- (o & 31 || r & 2 && o & 32) && Object.defineProperty(l, i, {
544
- get() {
545
- return vt(this, i);
546
- },
547
- set(f) {
548
- pt(this, i, f, t);
549
- },
550
- configurable: !0,
551
- enumerable: !0
552
- });
553
- }), r & 1) {
554
- const i = /* @__PURE__ */ new Map();
555
- l.attributeChangedCallback = function(o, f, $) {
556
- g.jmp(() => {
557
- var d;
558
- const c = i.get(o);
559
- if (this.hasOwnProperty(c))
560
- $ = this[c], delete this[c];
561
- else {
562
- if (l.hasOwnProperty(c) && typeof this[c] == "number" && this[c] == $)
563
- return;
564
- if (c == null) {
565
- const u = E(this), p = u?.$flags$;
566
- if (p && !(p & 8) && p & 128 && $ !== f) {
567
- const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[o];
568
- y?.forEach((v) => {
569
- h[v] != null && h[v].call(h, $, f, o);
570
- });
571
- }
572
- return;
573
- }
574
- }
575
- this[c] = $ === null && typeof this[c] == "boolean" ? !1 : $;
576
- });
577
- }, e.observedAttributes = Array.from(
578
- /* @__PURE__ */ new Set([
579
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
580
- ...a.filter(
581
- ([o, f]) => f[0] & 15
582
- /* HasAttribute */
583
- ).map(([o, f]) => {
584
- var $;
585
- const d = f[1] || o;
586
- return i.set(d, o), f[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([o, d])), d;
587
- })
588
- ])
589
- );
590
- }
591
- }
592
- return e;
593
- }, ht = async (e, t, r, s) => {
594
- let n;
595
- if (!(t.$flags$ & 32)) {
596
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
597
- const o = Ne(r);
598
- if (o && "then" in o) {
599
- const $ = Qe();
600
- n = await o, $();
601
- } else
602
- n = o;
603
- if (!n)
604
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
605
- n.isProxied || (r.$watchers$ = n.watchers, we(
606
- n,
607
- r,
608
- 2
609
- /* proxyState */
610
- ), n.isProxied = !0);
611
- const f = x("createInstance", r.$tagName$);
612
- t.$flags$ |= 8;
613
- try {
614
- new n(t);
615
- } catch ($) {
616
- b($);
617
- }
618
- t.$flags$ &= -9, t.$flags$ |= 128, f();
619
- } else {
620
- n = e.constructor;
621
- const o = e.localName;
622
- customElements.whenDefined(o).then(
623
- () => t.$flags$ |= 128
624
- /* isWatchReady */
625
- );
626
- }
627
- if (n && n.style) {
628
- let o;
629
- typeof n.style == "string" && (o = n.style);
630
- const f = pe(r);
631
- if (!j.has(f)) {
632
- const $ = x("registerStyles", r.$tagName$);
633
- tt(f, o, !!(r.$flags$ & 1)), $();
634
- }
635
- }
636
- }
637
- const l = t.$ancestorComponent$, a = () => K(t, !0);
638
- l && l["s-rc"] ? l["s-rc"].push(a) : a();
639
- }, gt = (e) => {
640
- }, yt = (e) => {
641
- if (!(g.$flags$ & 1)) {
642
- const t = E(e), r = t.$cmpMeta$, s = x("connectedCallback", r.$tagName$);
643
- if (t.$flags$ & 1)
644
- _e(e, t, r.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => gt());
645
- else {
646
- t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
647
- r.$flags$ & 12 && mt(e);
648
- {
649
- let n = e;
650
- for (; n = n.parentNode || n.host; )
651
- if (n["s-p"]) {
652
- xe(t, t.$ancestorComponent$ = n);
653
- break;
654
- }
655
- }
656
- r.$members$ && Object.entries(r.$members$).map(([n, [l]]) => {
657
- if (l & 31 && e.hasOwnProperty(n)) {
658
- const a = e[n];
659
- delete e[n], e[n] = a;
660
- }
661
- }), ht(e, t, r);
662
- }
663
- s();
664
- }
665
- }, mt = (e) => {
666
- const t = e["s-cr"] = m.createComment(
667
- ""
668
- );
669
- t["s-cn"] = !0, L(e, t, e.firstChild);
670
- }, ie = (e) => {
671
- R(e, "disconnectedCallback");
672
- }, St = async (e) => {
673
- if (!(g.$flags$ & 1)) {
674
- const t = E(e);
675
- t.$rmListeners$ && (t.$rmListeners$.map((r) => r()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? ie(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ie(t.$lazyInstance$));
676
- }
677
- }, wt = (e, t = {}) => {
678
- var r;
679
- const s = x(), n = [], l = t.exclude || [], a = A.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), f = /* @__PURE__ */ m.createElement("style"), $ = [];
680
- let d, c = !0;
681
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
682
- let u = !1;
683
- if (e.map((p) => {
684
- p[1].map((h) => {
685
- var y;
686
- const v = {
687
- $flags$: h[0],
688
- $tagName$: h[1],
689
- $members$: h[2],
690
- $listeners$: h[3]
691
- };
692
- v.$flags$ & 4 && (u = !0), v.$members$ = h[2], v.$listeners$ = h[3], v.$attrsToReflect$ = [], v.$watchers$ = (y = h[4]) != null ? y : {};
693
- const C = v.$tagName$, Ae = class extends HTMLElement {
694
- // StencilLazyHost
695
- constructor(k) {
696
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Ce(k, v), v.$flags$ & 1) {
697
- if (!k.shadowRoot)
698
- k.attachShadow({ mode: "open" });
699
- else if (k.shadowRoot.mode !== "open")
700
- throw new Error(
701
- `Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
702
- );
703
- }
704
- }
705
- connectedCallback() {
706
- const k = E(this);
707
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, _e(this, k, v.$listeners$)), d && (clearTimeout(d), d = null), c ? $.push(this) : g.jmp(() => yt(this));
708
- }
709
- disconnectedCallback() {
710
- g.jmp(() => St(this));
711
- }
712
- componentOnReady() {
713
- return E(this).$onReadyPromise$;
714
- }
715
- };
716
- v.$lazyBundleId$ = p[0], !l.includes(C) && !a.get(C) && (n.push(C), a.define(
717
- C,
718
- we(
719
- Ae,
720
- v,
721
- 1
722
- /* isElementConstructor */
723
- )
724
- ));
725
- });
726
- }), n.length > 0 && (u && (f.textContent += $e), f.textContent += n.sort() + je, f.innerHTML.length)) {
727
- f.setAttribute("data-styles", "");
728
- const p = (r = g.$nonce$) != null ? r : fe(m);
729
- p != null && f.setAttribute("nonce", p), i.insertBefore(f, o ? o.nextSibling : i.firstChild);
730
- }
731
- c = !1, $.length ? $.map((p) => p.connectedCallback()) : g.jmp(() => d = setTimeout(Le, 30)), s();
732
- }, _t = (e, t) => t, _e = (e, t, r, s) => {
733
- r && r.map(([n, l, a]) => {
734
- const i = kt(e, n), o = bt(t, a), f = Tt(n);
735
- g.ael(i, l, o, f), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(i, l, o, f));
736
- });
737
- }, bt = (e, t) => (r) => {
738
- var s;
739
- try {
740
- e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](r) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, r]);
741
- } catch (n) {
742
- b(n);
743
- }
744
- }, kt = (e, t) => t & 8 ? A : e, Tt = (e) => Ue ? {
745
- passive: (e & 1) !== 0,
746
- capture: (e & 2) !== 0
747
- } : (e & 2) !== 0;
748
- export {
749
- _t as F,
750
- Lt as a,
751
- wt as b,
752
- Et as c,
753
- et as g,
754
- ue as h,
755
- Fe as p,
756
- xt as r
757
- };