@everymatrix/casino-header-controller 1.54.8 → 1.54.10

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 (24) hide show
  1. package/components/{CasinoHamburgerMenu-6NiYpRXZ.js → CasinoHamburgerMenu-DrXD2QZ-.js} +88 -88
  2. package/components/{CasinoHamburgerMenu-DQ5J6iG9.js → CasinoHamburgerMenu-Dv3mR4gk.js} +89 -89
  3. package/components/{CasinoHeaderController-Cl7ARyub.js → CasinoHeaderController-Byn6scnE.js} +6 -6
  4. package/components/{CasinoHeaderController-uvHQamuW.cjs → CasinoHeaderController-D7CpWOW7.cjs} +5 -5
  5. package/components/{CasinoHeaderController-Cq5TSS7Q.js → CasinoHeaderController-DCYuF1bQ.js} +6 -6
  6. package/components/{CasinoSlider-XUz3C3S-.js → CasinoSlider-5-1p-Xbc.js} +1 -1
  7. package/components/{CasinoSlider-6zcEnsqz.js → CasinoSlider-Dm6jniCL.js} +1 -1
  8. package/components/{PlayerAccountBalanceModal-CTz9mHwh.js → PlayerAccountBalanceModal-B1_uQAVA.js} +1 -1
  9. package/components/{PlayerAccountBalanceModal-zbnH49Uz.js → PlayerAccountBalanceModal-Cs1yCHOI.js} +1 -1
  10. package/components/{PlayerDeposit-BnC5lDMw.js → PlayerDeposit-B89_Vs9V.js} +1 -1
  11. package/components/{PlayerDeposit-_PiynGo4.js → PlayerDeposit-CNy9cvEy.js} +1 -1
  12. package/es2015/casino-header-controller.cjs +1 -1
  13. package/es2015/casino-header-controller.js +1 -1
  14. package/esnext/casino-header-controller.js +1 -1
  15. package/package.json +2 -2
  16. package/stencil/index-581287aa-BlacPmvJ.cjs +1 -0
  17. package/stencil/index-581287aa-CB9EU-jr.js +638 -0
  18. package/stencil/index-581287aa-whOrxOjc.js +654 -0
  19. package/stencil/{user-deposit-withdrawal-CGu0x9I4.js → user-deposit-withdrawal-BnZUfmXW.js} +100 -100
  20. package/stencil/{user-deposit-withdrawal-Cpj0khDg.cjs → user-deposit-withdrawal-CC9lSqrS.cjs} +2 -2
  21. package/stencil/{user-deposit-withdrawal-6kIYIsxW.js → user-deposit-withdrawal-CyhPaTts.js} +105 -105
  22. package/stencil/index-581287aa-BOZ4jFhd.js +0 -638
  23. package/stencil/index-581287aa-BmnjFzrP.js +0 -654
  24. package/stencil/index-581287aa-o2un8phH.cjs +0 -1
@@ -1,638 +0,0 @@
1
- const ve = "user-deposit-withdrawal", C = (
2
- /* user-deposit-withdrawal */
3
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
4
- );
5
- var Se = Object.defineProperty, Ee = (e, t) => {
6
- for (var s in t)
7
- Se(e, s, { get: t[s], enumerable: !0 });
8
- }, ke = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml", Y = /* @__PURE__ */ new WeakMap(), k = (e) => Y.get(e), rt = (e, t) => {
9
- Y.set(t.$lazyInstance$ = e, t);
10
- }, xe = (e, t) => {
11
- const s = {
12
- $flags$: 0,
13
- $hostElement$: e,
14
- $cmpMeta$: t,
15
- $instanceValues$: /* @__PURE__ */ new Map()
16
- };
17
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], Y.set(e, s);
18
- }, Z = (e, t) => t in e, P = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), Te = (e, t, s) => {
19
- const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
- if (!r)
21
- return;
22
- const i = U.get(r);
23
- if (i)
24
- return i[n];
25
- {
26
- const $ = (l) => (U.set(r, l), l[n]);
27
- switch (r) {
28
- case "user-deposit-withdrawal":
29
- return import(
30
- /* webpackMode: "lazy" */
31
- "./user-deposit-withdrawal-CGu0x9I4.js"
32
- ).then($, P);
33
- }
34
- }
35
- return import(
36
- /* @vite-ignore */
37
- /* webpackInclude: /\.entry\.js$/ */
38
- /* webpackExclude: /\.system\.entry\.js$/ */
39
- /* webpackMode: "lazy" */
40
- `./${r}.entry.js`
41
- ).then(
42
- ($) => (U.set(r, $), $[n]),
43
- ($) => {
44
- P($, t.$hostElement$);
45
- }
46
- );
47
- }, O = /* @__PURE__ */ new Map(), Pe = "sty-id", _e = "{visibility:hidden}.hydrated{visibility:inherit}", ne = "slot-fb{display:contents}slot-fb[hidden]{display:none}", H = typeof window < "u" ? window : {}, w = H.document || { head: {} }, p = {
48
- $flags$: 0,
49
- $resourcesUrl$: "",
50
- jmp: (e) => e(),
51
- raf: (e) => requestAnimationFrame(e),
52
- ael: (e, t, s, n) => e.addEventListener(t, s, n),
53
- rel: (e, t, s, n) => e.removeEventListener(t, s, n),
54
- ce: (e, t) => new CustomEvent(e, t)
55
- }, Ae = (e) => Promise.resolve(e), se = /* @__PURE__ */ (() => {
56
- try {
57
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
- } catch {
59
- }
60
- return !1;
61
- })(), R = !1, M = [], re = [], Le = (e, t) => (s) => {
62
- e.push(s), R || (R = !0, p.$flags$ & 4 ? X(q) : p.raf(q));
63
- }, m = (e) => {
64
- for (let t = 0; t < e.length; t++)
65
- try {
66
- e[t](performance.now());
67
- } catch (s) {
68
- P(s);
69
- }
70
- e.length = 0;
71
- }, q = () => {
72
- m(M), m(re), (R = M.length > 0) && p.raf(q);
73
- }, X = (e) => Ae().then(e), je = /* @__PURE__ */ Le(re), F = (e) => (e = typeof e, e === "object" || e === "function");
74
- function le(e) {
75
- var t, s, n;
76
- return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
77
- }
78
- var Ie = {};
79
- Ee(Ie, {
80
- err: () => ie,
81
- map: () => Oe,
82
- ok: () => B,
83
- unwrap: () => be,
84
- unwrapErr: () => ze
85
- });
86
- var B = (e) => ({
87
- isOk: !0,
88
- isErr: !1,
89
- value: e
90
- }), ie = (e) => ({
91
- isOk: !1,
92
- isErr: !0,
93
- value: e
94
- });
95
- function Oe(e, t) {
96
- if (e.isOk) {
97
- const s = t(e.value);
98
- return s instanceof Promise ? s.then((n) => B(n)) : B(s);
99
- }
100
- if (e.isErr) {
101
- const s = e.value;
102
- return ie(s);
103
- }
104
- throw "should never get here";
105
- }
106
- var be = (e) => {
107
- if (e.isOk)
108
- return e.value;
109
- throw e.value;
110
- }, ze = (e) => {
111
- if (e.isErr)
112
- return e.value;
113
- throw e.value;
114
- }, x = (e, t = "") => () => {
115
- }, He = (e, t) => () => {
116
- }, Ue = (e, t, ...s) => {
117
- let n = null, r = null, i = !1, $ = !1;
118
- const l = [], c = (o) => {
119
- for (let d = 0; d < o.length; d++)
120
- n = o[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((i = typeof e != "function" && !F(n)) && (n = String(n)), i && $ ? l[l.length - 1].$text$ += n : l.push(i ? W(null, n) : n), $ = i);
121
- };
122
- if (c(s), t) {
123
- t.key && (r = t.key);
124
- {
125
- const o = t.className || t.class;
126
- o && (t.class = typeof o != "object" ? o : Object.keys(o).filter((d) => o[d]).join(" "));
127
- }
128
- }
129
- const a = W(e, null);
130
- return a.$attrs$ = t, l.length > 0 && (a.$children$ = l), a.$key$ = r, a;
131
- }, W = (e, t) => {
132
- const s = {
133
- $flags$: 0,
134
- $tag$: e,
135
- $text$: t,
136
- $elm$: null,
137
- $children$: null
138
- };
139
- return s.$attrs$ = null, s.$key$ = null, s;
140
- }, De = {}, Re = (e) => e && e.$tag$ === De, G = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, qe = (e, t, s) => {
141
- const n = p.ce(t, s);
142
- return e.dispatchEvent(n), n;
143
- }, A = /* @__PURE__ */ new WeakMap(), Be = (e, t, s) => {
144
- let n = O.get(e);
145
- se && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, O.set(e, n);
146
- }, We = (e, t, s) => {
147
- var n;
148
- const r = $e(t), i = O.get(r);
149
- if (e = e.nodeType === 11 ? e : w, i)
150
- if (typeof i == "string") {
151
- e = e.head || e;
152
- let $ = A.get(e), l;
153
- if ($ || A.set(e, $ = /* @__PURE__ */ new Set()), !$.has(r)) {
154
- {
155
- l = document.querySelector(`[${Pe}="${r}"]`) || w.createElement("style"), l.innerHTML = i;
156
- const c = (n = p.$nonce$) != null ? n : le(w);
157
- if (c != null && l.setAttribute("nonce", c), !(t.$flags$ & 1))
158
- if (e.nodeName === "HEAD") {
159
- const a = e.querySelectorAll("link[rel=preconnect]"), o = a.length > 0 ? a[a.length - 1].nextSibling : e.querySelector("style");
160
- e.insertBefore(
161
- l,
162
- o?.parentNode === e ? o : null
163
- );
164
- } else if ("host" in e)
165
- if (se) {
166
- const a = new CSSStyleSheet();
167
- a.replaceSync(i), e.adoptedStyleSheets = [a, ...e.adoptedStyleSheets];
168
- } else {
169
- const a = e.querySelector("style");
170
- a ? a.innerHTML = i + a.innerHTML : e.prepend(l);
171
- }
172
- else
173
- e.append(l);
174
- t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
175
- }
176
- t.$flags$ & 4 && (l.innerHTML += ne), $ && $.add(r);
177
- }
178
- } else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
179
- return r;
180
- }, Ge = (e) => {
181
- const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = x("attachStyles", t.$tagName$), i = We(
182
- s.shadowRoot ? s.shadowRoot : s.getRootNode(),
183
- t
184
- );
185
- n & 10 && n & 2 && (s["s-sc"] = i, s.classList.add(i + "-h")), r();
186
- }, $e = (e, t) => "sc-" + e.$tagName$, V = (e, t, s, n, r, i, $) => {
187
- if (s !== n) {
188
- let l = Z(e, t), c = t.toLowerCase();
189
- if (t === "class") {
190
- const a = e.classList, o = N(s);
191
- let d = N(n);
192
- a.remove(...o.filter((f) => f && !d.includes(f))), a.add(...d.filter((f) => f && !o.includes(f)));
193
- } else if (t === "style") {
194
- for (const a in s)
195
- (!n || n[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
196
- for (const a in n)
197
- (!s || n[a] !== s[a]) && (a.includes("-") ? e.style.setProperty(a, n[a]) : e.style[a] = n[a]);
198
- } else if (t !== "key") if (t === "ref")
199
- n && n(e);
200
- else if (!l && t[0] === "o" && t[1] === "n") {
201
- if (t[2] === "-" ? t = t.slice(3) : Z(H, c) ? t = c.slice(2) : t = c[2] + t.slice(3), s || n) {
202
- const a = t.endsWith(ae);
203
- t = t.replace(Ye, ""), s && p.rel(e, t, s, a), n && p.ael(e, t, n, a);
204
- }
205
- } else {
206
- const a = F(n);
207
- if ((l || a && n !== null) && !r)
208
- try {
209
- if (e.tagName.includes("-"))
210
- e[t] !== n && (e[t] = n);
211
- else {
212
- const o = n ?? "";
213
- t === "list" ? l = !1 : (s == null || e[t] != o) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = o : e.setAttribute(t, o));
214
- }
215
- } catch {
216
- }
217
- n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (n = n === !0 ? "" : n, e.setAttribute(t, n));
218
- }
219
- }
220
- }, Ce = /\s/, N = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ce)), ae = "Capture", Ye = new RegExp(ae + "$"), oe = (e, t, s, n) => {
221
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, $ = t.$attrs$ || {};
222
- for (const l of ee(Object.keys(i)))
223
- l in $ || V(
224
- r,
225
- l,
226
- i[l],
227
- void 0,
228
- s,
229
- t.$flags$
230
- );
231
- for (const l of ee(Object.keys($)))
232
- V(
233
- r,
234
- l,
235
- i[l],
236
- $[l],
237
- s,
238
- t.$flags$
239
- );
240
- };
241
- function ee(e) {
242
- return e.includes("ref") ? (
243
- // we need to sort these to ensure that `'ref'` is the last attr
244
- [...e.filter((t) => t !== "ref"), "ref"]
245
- ) : (
246
- // no need to sort, return the original array
247
- e
248
- );
249
- }
250
- var J, v = !1, b = (e, t, s) => {
251
- const n = t.$children$[s];
252
- let r = 0, i, $;
253
- if (n.$text$ !== null)
254
- i = n.$elm$ = w.createTextNode(n.$text$);
255
- else {
256
- if (v || (v = n.$tag$ === "svg"), i = n.$elm$ = w.createElementNS(
257
- v ? ke : we,
258
- n.$tag$
259
- ), v && n.$tag$ === "foreignObject" && (v = !1), oe(null, n, v), n.$children$)
260
- for (r = 0; r < n.$children$.length; ++r)
261
- $ = b(e, n, r), $ && i.appendChild($);
262
- n.$tag$ === "svg" ? v = !1 : i.tagName === "foreignObject" && (v = !0);
263
- }
264
- return i["s-hn"] = J, i;
265
- }, ce = (e, t, s, n, r, i) => {
266
- let $ = e, l;
267
- for ($.shadowRoot && $.tagName === J && ($ = $.shadowRoot); r <= i; ++r)
268
- n[r] && (l = b(null, s, r), l && (n[r].$elm$ = l, I($, l, t)));
269
- }, fe = (e, t, s) => {
270
- for (let n = t; n <= s; ++n) {
271
- const r = e[n];
272
- if (r) {
273
- const i = r.$elm$;
274
- de(r), i && i.remove();
275
- }
276
- }
277
- }, Xe = (e, t, s, n, r = !1) => {
278
- let i = 0, $ = 0, l = 0, c = 0, a = t.length - 1, o = t[0], d = t[a], f = n.length - 1, u = n[0], h = n[f], g, S;
279
- for (; i <= a && $ <= f; )
280
- if (o == null)
281
- o = t[++i];
282
- else if (d == null)
283
- d = t[--a];
284
- else if (u == null)
285
- u = n[++$];
286
- else if (h == null)
287
- h = n[--f];
288
- else if (j(o, u, r))
289
- _(o, u, r), o = t[++i], u = n[++$];
290
- else if (j(d, h, r))
291
- _(d, h, r), d = t[--a], h = n[--f];
292
- else if (j(o, h, r))
293
- _(o, h, r), I(e, o.$elm$, d.$elm$.nextSibling), o = t[++i], h = n[--f];
294
- else if (j(d, u, r))
295
- _(d, u, r), I(e, d.$elm$, o.$elm$), d = t[--a], u = n[++$];
296
- else {
297
- for (l = -1, c = i; c <= a; ++c)
298
- if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {
299
- l = c;
300
- break;
301
- }
302
- l >= 0 ? (S = t[l], S.$tag$ !== u.$tag$ ? g = b(t && t[$], s, l) : (_(S, u, r), t[l] = void 0, g = S.$elm$), u = n[++$]) : (g = b(t && t[$], s, $), u = n[++$]), g && I(o.$elm$.parentNode, g, o.$elm$);
303
- }
304
- i > a ? ce(
305
- e,
306
- n[f + 1] == null ? null : n[f + 1].$elm$,
307
- s,
308
- n,
309
- $,
310
- f
311
- ) : $ > f && fe(t, i, a);
312
- }, j = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, _ = (e, t, s = !1) => {
313
- const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, $ = t.$tag$, l = t.$text$;
314
- l === null ? (v = $ === "svg" ? !0 : $ === "foreignObject" ? !1 : v, oe(e, t, v), r !== null && i !== null ? Xe(n, r, t, i, s) : i !== null ? (e.$text$ !== null && (n.textContent = ""), ce(n, null, t, i, 0, i.length - 1)) : (
315
- // don't do this on initial render as it can cause non-hydrated content to be removed
316
- !s && C.updatable && r !== null && fe(r, 0, r.length - 1)
317
- ), v && $ === "svg" && (v = !1)) : e.$text$ !== l && (n.data = l);
318
- }, de = (e) => {
319
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
320
- }, I = (e, t, s) => e?.insertBefore(t, s), Fe = (e, t, s = !1) => {
321
- const n = e.$hostElement$, r = e.$cmpMeta$, i = e.$vnode$ || W(null, null), $ = Re(t) ? t : Ue(null, null, t);
322
- if (J = n.tagName, r.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, r.$attrsToReflect$.map(
323
- ([l, c]) => $.$attrs$[c] = n[l]
324
- )), s && $.$attrs$)
325
- for (const l of Object.keys($.$attrs$))
326
- n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && ($.$attrs$[l] = n[l]);
327
- $.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = i.$elm$ = n.shadowRoot || n, r.$flags$ & 1, _(i, $, s);
328
- }, ue = (e, t) => {
329
- if (t && !e.$onRenderResolve$ && t["s-p"]) {
330
- const s = t["s-p"].push(
331
- new Promise(
332
- (n) => e.$onRenderResolve$ = () => {
333
- t["s-p"].splice(s - 1, 1), n();
334
- }
335
- )
336
- );
337
- }
338
- }, K = (e, t) => {
339
- if (e.$flags$ |= 16, e.$flags$ & 4) {
340
- e.$flags$ |= 512;
341
- return;
342
- }
343
- return ue(e, e.$ancestorComponent$), je(() => Je(e, t));
344
- }, Je = (e, t) => {
345
- const s = e.$hostElement$, n = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
346
- if (!r)
347
- throw new Error(
348
- `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`
349
- );
350
- let i;
351
- return t && (i = z(r, "componentWillLoad", void 0, s)), n(), Ke(i, () => Ze(e, r, t));
352
- }, Ke = (e, t) => Qe(e) ? e.then(t).catch((s) => {
353
- console.error(s), t();
354
- }) : t(), Qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ze = async (e, t, s) => {
355
- var n;
356
- const r = e.$hostElement$, i = x("update", e.$cmpMeta$.$tagName$), $ = r["s-rc"];
357
- s && Ge(e);
358
- const l = x("render", e.$cmpMeta$.$tagName$);
359
- Me(e, t, r, s), $ && ($.map((c) => c()), r["s-rc"] = void 0), l(), i();
360
- {
361
- const c = (n = r["s-p"]) != null ? n : [], a = () => me(e);
362
- c.length === 0 ? a() : (Promise.all(c).then(a), e.$flags$ |= 4, c.length = 0);
363
- }
364
- }, Me = (e, t, s, n) => {
365
- try {
366
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, n);
367
- } catch (r) {
368
- P(r, e.$hostElement$);
369
- }
370
- return null;
371
- }, me = (e) => {
372
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = x("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
373
- z(r, "componentDidRender", void 0, s), e.$flags$ & 64 ? n() : (e.$flags$ |= 64, Ve(s), z(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), i || he()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => K(e, !1)), e.$flags$ &= -517;
374
- }, he = (e) => {
375
- X(() => qe(H, "appload", { detail: { namespace: ve } }));
376
- }, z = (e, t, s, n) => {
377
- if (e && e[t])
378
- try {
379
- return e[t](s);
380
- } catch (r) {
381
- P(r, n);
382
- }
383
- }, Ve = (e) => {
384
- var t;
385
- return e.classList.add((t = C.hydratedSelectorName) != null ? t : "hydrated");
386
- }, Ne = (e, t) => k(e).$instanceValues$.get(t), D = (e, t, s, n) => {
387
- const r = k(e);
388
- if (!r)
389
- throw new Error(
390
- `Couldn't find host element for "${n.$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).`
391
- );
392
- const i = r.$hostElement$, $ = r.$instanceValues$.get(t), l = r.$flags$, c = r.$lazyInstance$;
393
- s = G(s, n.$members$[t][0]);
394
- const a = Number.isNaN($) && Number.isNaN(s), o = s !== $ && !a;
395
- if ((!(l & 8) || $ === void 0) && o && (r.$instanceValues$.set(t, s), c)) {
396
- if (n.$watchers$ && l & 128) {
397
- const d = n.$watchers$[t];
398
- d && d.map((f) => {
399
- try {
400
- c[f](s, $, t);
401
- } catch (u) {
402
- P(u, i);
403
- }
404
- });
405
- }
406
- (l & 18) === 2 && K(r, !1);
407
- }
408
- }, pe = (e, t, s) => {
409
- var n, r;
410
- const i = e.prototype;
411
- if (t.$members$ || t.$watchers$ || e.watchers) {
412
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
413
- const $ = Object.entries((n = t.$members$) != null ? n : {});
414
- if ($.map(([l, [c]]) => {
415
- if (c & 31 || s & 2 && c & 32) {
416
- const { get: a, set: o } = Object.getOwnPropertyDescriptor(i, l) || {};
417
- a && (t.$members$[l][0] |= 2048), o && (t.$members$[l][0] |= 4096), (s & 1 || !a) && Object.defineProperty(i, l, {
418
- get() {
419
- {
420
- if (!(t.$members$[l][0] & 2048))
421
- return Ne(this, l);
422
- const d = k(this), f = d ? d.$lazyInstance$ : i;
423
- return f ? f[l] : void 0;
424
- }
425
- },
426
- configurable: !0,
427
- enumerable: !0
428
- }), Object.defineProperty(i, l, {
429
- set(d) {
430
- const f = k(this);
431
- if (o) {
432
- const u = c & 32 ? this[l] : f.$hostElement$[l];
433
- typeof u > "u" && f.$instanceValues$.get(l) ? d = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && u && f.$instanceValues$.set(l, u), o.apply(this, [G(d, c)]), d = c & 32 ? this[l] : f.$hostElement$[l], D(this, l, d, t);
434
- return;
435
- }
436
- {
437
- if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
438
- D(this, l, d, t), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
439
- t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = d);
440
- });
441
- return;
442
- }
443
- const u = () => {
444
- const h = f.$lazyInstance$[l];
445
- !f.$instanceValues$.get(l) && h && f.$instanceValues$.set(l, h), f.$lazyInstance$[l] = G(d, c), D(this, l, f.$lazyInstance$[l], t);
446
- };
447
- f.$lazyInstance$ ? u() : f.$onReadyPromise$.then(() => u());
448
- }
449
- }
450
- });
451
- }
452
- }), s & 1) {
453
- const l = /* @__PURE__ */ new Map();
454
- i.attributeChangedCallback = function(c, a, o) {
455
- p.jmp(() => {
456
- var d;
457
- const f = l.get(c);
458
- if (this.hasOwnProperty(f) && C.lazyLoad)
459
- o = this[f], delete this[f];
460
- else {
461
- if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
462
- this[f] == o)
463
- return;
464
- if (f == null) {
465
- const h = k(this), g = h?.$flags$;
466
- if (g && !(g & 8) && g & 128 && o !== a) {
467
- const S = h.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[c];
468
- y?.forEach((T) => {
469
- S[T] != null && S[T].call(S, o, a, c);
470
- });
471
- }
472
- return;
473
- }
474
- }
475
- const u = Object.getOwnPropertyDescriptor(i, f);
476
- o = o === null && typeof this[f] == "boolean" ? !1 : o, o !== this[f] && (!u.get || u.set) && (this[f] = o);
477
- });
478
- }, e.observedAttributes = Array.from(
479
- /* @__PURE__ */ new Set([
480
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
481
- ...$.filter(
482
- ([c, a]) => a[0] & 15
483
- /* HasAttribute */
484
- ).map(([c, a]) => {
485
- var o;
486
- const d = a[1] || c;
487
- return l.set(d, c), a[0] & 512 && ((o = t.$attrsToReflect$) == null || o.push([c, d])), d;
488
- })
489
- ])
490
- );
491
- }
492
- }
493
- return e;
494
- }, et = async (e, t, s, n) => {
495
- let r;
496
- if (!(t.$flags$ & 32)) {
497
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
498
- const c = Te(s, t);
499
- if (c && "then" in c) {
500
- const o = He();
501
- r = await c, o();
502
- } else
503
- r = c;
504
- if (!r)
505
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
506
- r.isProxied || (s.$watchers$ = r.watchers, pe(
507
- r,
508
- s,
509
- 2
510
- /* proxyState */
511
- ), r.isProxied = !0);
512
- const a = x("createInstance", s.$tagName$);
513
- t.$flags$ |= 8;
514
- try {
515
- new r(t);
516
- } catch (o) {
517
- P(o, e);
518
- }
519
- t.$flags$ &= -9, t.$flags$ |= 128, a();
520
- } else {
521
- r = e.constructor;
522
- const c = e.localName;
523
- customElements.whenDefined(c).then(
524
- () => t.$flags$ |= 128
525
- /* isWatchReady */
526
- );
527
- }
528
- if (r && r.style) {
529
- let c;
530
- typeof r.style == "string" && (c = r.style);
531
- const a = $e(s);
532
- if (!O.has(a)) {
533
- const o = x("registerStyles", s.$tagName$);
534
- Be(a, c, !!(s.$flags$ & 1)), o();
535
- }
536
- }
537
- }
538
- const i = t.$ancestorComponent$, $ = () => K(t, !0);
539
- i && i["s-rc"] ? i["s-rc"].push($) : $();
540
- }, tt = (e, t) => {
541
- }, nt = (e) => {
542
- if (!(p.$flags$ & 1)) {
543
- const t = k(e), s = t.$cmpMeta$, n = x("connectedCallback", s.$tagName$);
544
- if (t.$flags$ & 1)
545
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => tt());
546
- else {
547
- t.$flags$ |= 1;
548
- {
549
- let r = e;
550
- for (; r = r.parentNode || r.host; )
551
- if (r["s-p"]) {
552
- ue(t, t.$ancestorComponent$ = r);
553
- break;
554
- }
555
- }
556
- s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
557
- if (i & 31 && e.hasOwnProperty(r)) {
558
- const $ = e[r];
559
- delete e[r], e[r] = $;
560
- }
561
- }), et(e, t, s);
562
- }
563
- n();
564
- }
565
- }, te = (e, t) => {
566
- z(e, "disconnectedCallback", void 0, t || e);
567
- }, st = async (e) => {
568
- if (!(p.$flags$ & 1)) {
569
- const t = k(e);
570
- t?.$lazyInstance$ ? te(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => te(t.$lazyInstance$, e));
571
- }
572
- A.has(e) && A.delete(e), e.shadowRoot && A.has(e.shadowRoot) && A.delete(e.shadowRoot);
573
- }, lt = (e, t = {}) => {
574
- var s;
575
- const n = x(), r = [], i = t.exclude || [], $ = H.customElements, l = w.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), a = /* @__PURE__ */ w.createElement("style"), o = [];
576
- let d, f = !0;
577
- Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", w.baseURI).href;
578
- let u = !1;
579
- if (e.map((h) => {
580
- h[1].map((g) => {
581
- var S;
582
- const y = {
583
- $flags$: g[0],
584
- $tagName$: g[1],
585
- $members$: g[2],
586
- $listeners$: g[3]
587
- };
588
- y.$flags$ & 4 && (u = !0), y.$members$ = g[2], y.$attrsToReflect$ = [], y.$watchers$ = (S = g[4]) != null ? S : {};
589
- const T = y.$tagName$, ge = class extends HTMLElement {
590
- // StencilLazyHost
591
- constructor(E) {
592
- if (super(E), this.hasRegisteredEventListeners = !1, E = this, xe(E, y), y.$flags$ & 1) {
593
- if (!E.shadowRoot)
594
- E.attachShadow({ mode: "open" });
595
- else if (E.shadowRoot.mode !== "open")
596
- throw new Error(
597
- `Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
598
- );
599
- }
600
- }
601
- connectedCallback() {
602
- k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? o.push(this) : p.jmp(() => nt(this));
603
- }
604
- disconnectedCallback() {
605
- p.jmp(() => st(this)), p.raf(() => {
606
- var E;
607
- const L = k(this), Q = o.findIndex((ye) => ye === this);
608
- Q > -1 && o.splice(Q, 1), ((E = L?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !L.$vnode$.$elm$.isConnected && delete L.$vnode$.$elm$;
609
- });
610
- }
611
- componentOnReady() {
612
- return k(this).$onReadyPromise$;
613
- }
614
- };
615
- y.$lazyBundleId$ = h[0], !i.includes(T) && !$.get(T) && (r.push(T), $.define(
616
- T,
617
- pe(
618
- ge,
619
- y,
620
- 1
621
- /* isElementConstructor */
622
- )
623
- ));
624
- });
625
- }), r.length > 0 && (u && (a.textContent += ne), a.textContent += r.sort() + _e, a.innerHTML.length)) {
626
- a.setAttribute("data-styles", "");
627
- const h = (s = p.$nonce$) != null ? s : le(w);
628
- h != null && a.setAttribute("nonce", h), l.insertBefore(a, c ? c.nextSibling : l.firstChild);
629
- }
630
- f = !1, o.length ? o.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(he, 30)), n();
631
- };
632
- export {
633
- De as H,
634
- lt as b,
635
- Ue as h,
636
- Ae as p,
637
- rt as r
638
- };