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