@everymatrix/casino-header-controller-nd 1.53.0 → 1.53.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.
- package/components/CasinoHamburgerMenuNd-CkPg6ouB.js +5433 -0
- package/components/{CasinoHeaderControllerNd-CM4sRjP4.js → CasinoHeaderControllerNd-BX0AvD48.js} +265 -284
- package/components/{PlayerAccountBalanceModalNd-BJJzPbdP.js → PlayerAccountBalanceModalNd-K5u0ko-m.js} +487 -516
- package/components/{PlayerDeposit-DmuiIxNc.js → PlayerDeposit-DsOspOgB.js} +1 -1
- package/esnext/casino-header-controller-nd.js +14 -0
- package/package.json +8 -12
- package/stencil/gamification-dropdown-Rl66gqyp.js +7 -0
- package/stencil/{gamification-dropdown-456bb56a-CldmfDdk.js → gamification-dropdown-ae7b7c69-C61VnAKy.js} +43 -61
- package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-AbKMnPZ5.js} +73 -91
- package/stencil/index-ea7720e4-FqoOOnHW.js +826 -0
- package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-B4AMnqub.js} +4 -4
- package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-9d490a3b-BxciIvXh.js} +298 -298
- package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-BeXukLE-.js} +7 -7
- package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
- package/components/CasinoHeaderControllerNd-DYQgMzRW.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
- package/components/PlayerDeposit-Dr1YJfUW.cjs +0 -1
- package/es2015/casino-header-controller-nd.cjs +0 -1
- package/es2015/casino-header-controller-nd.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
- package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
- package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
- package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
- package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
- package/stencil/index-171550cf-CVTOm2AV.js +0 -799
- package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
- package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
- package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
|
@@ -0,0 +1,826 @@
|
|
|
1
|
+
const Oe = "gamification-dropdown", U = (
|
|
2
|
+
/* gamification-dropdown */
|
|
3
|
+
{ allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
4
|
+
);
|
|
5
|
+
var Re = Object.defineProperty, je = (e, t) => {
|
|
6
|
+
for (var s in t)
|
|
7
|
+
Re(e, s, { get: t[s], enumerable: !0 });
|
|
8
|
+
}, Ue = "http://www.w3.org/2000/svg", De = "http://www.w3.org/1999/xhtml", N = /* @__PURE__ */ new WeakMap(), L = (e) => N.get(e), Lt = (e, t) => {
|
|
9
|
+
N.set(t.$lazyInstance$ = e, t);
|
|
10
|
+
}, He = (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"] = [], N.set(e, s);
|
|
18
|
+
}, se = (e, t) => t in e, x = (e, t) => (0, console.error)(e, t), W = /* @__PURE__ */ new Map(), Ie = (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 o = (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-AbKMnPZ5.js"
|
|
32
|
+
).then(o, x);
|
|
33
|
+
case "player-elevate-card":
|
|
34
|
+
return import(
|
|
35
|
+
/* webpackMode: "lazy" */
|
|
36
|
+
"./player-elevate-card-B4AMnqub.js"
|
|
37
|
+
).then(o, x);
|
|
38
|
+
case "player-elevate-pointcard":
|
|
39
|
+
return import(
|
|
40
|
+
/* webpackMode: "lazy" */
|
|
41
|
+
"./player-elevate-pointcard-BeXukLE-.js"
|
|
42
|
+
).then(o, x);
|
|
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
|
+
(o) => (W.set(r, o), o[n]),
|
|
53
|
+
(o) => {
|
|
54
|
+
x(o, t.$hostElement$);
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}, I = /* @__PURE__ */ new Map(), ze = "sty-id", Ce = "{visibility:hidden}.hydrated{visibility:inherit}", ce = "slot-fb{display:contents}slot-fb[hidden]{display:none}", O = typeof window < "u" ? window : {}, S = O.document || { head: {} }, h = {
|
|
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
|
+
S.addEventListener(
|
|
69
|
+
"e",
|
|
70
|
+
null,
|
|
71
|
+
Object.defineProperty({}, "passive", {
|
|
72
|
+
get() {
|
|
73
|
+
e = !0;
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
);
|
|
77
|
+
} catch {
|
|
78
|
+
}
|
|
79
|
+
return e;
|
|
80
|
+
})(), Be = (e) => Promise.resolve(e), fe = /* @__PURE__ */ (() => {
|
|
81
|
+
try {
|
|
82
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
83
|
+
} catch {
|
|
84
|
+
}
|
|
85
|
+
return !1;
|
|
86
|
+
})(), X = !1, ne = [], de = [], qe = (e, t) => (s) => {
|
|
87
|
+
e.push(s), X || (X = !0, h.$flags$ & 4 ? Z(Y) : h.raf(Y));
|
|
88
|
+
}, re = (e) => {
|
|
89
|
+
for (let t = 0; t < e.length; t++)
|
|
90
|
+
try {
|
|
91
|
+
e[t](performance.now());
|
|
92
|
+
} catch (s) {
|
|
93
|
+
x(s);
|
|
94
|
+
}
|
|
95
|
+
e.length = 0;
|
|
96
|
+
}, Y = () => {
|
|
97
|
+
re(ne), re(de), (X = ne.length > 0) && h.raf(Y);
|
|
98
|
+
}, Z = (e) => Be().then(e), We = /* @__PURE__ */ qe(de), xt = (e) => {
|
|
99
|
+
const t = new URL(e, h.$resourcesUrl$);
|
|
100
|
+
return t.origin !== O.location.origin ? t.href : t.pathname;
|
|
101
|
+
}, V = (e) => (e = typeof e, e === "object" || e === "function");
|
|
102
|
+
function ue(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 Ge = {};
|
|
107
|
+
je(Ge, {
|
|
108
|
+
err: () => pe,
|
|
109
|
+
map: () => Xe,
|
|
110
|
+
ok: () => Q,
|
|
111
|
+
unwrap: () => Ye,
|
|
112
|
+
unwrapErr: () => Qe
|
|
113
|
+
});
|
|
114
|
+
var Q = (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) => Q(n)) : Q(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 Ye = (e) => {
|
|
135
|
+
if (e.isOk)
|
|
136
|
+
return e.value;
|
|
137
|
+
throw e.value;
|
|
138
|
+
}, Qe = (e) => {
|
|
139
|
+
if (e.isErr)
|
|
140
|
+
return e.value;
|
|
141
|
+
throw e.value;
|
|
142
|
+
}, he = (e) => {
|
|
143
|
+
const t = e.__childNodes || e.childNodes;
|
|
144
|
+
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && ge(t, e.tagName).forEach((s) => {
|
|
145
|
+
var n;
|
|
146
|
+
s.nodeType === 1 && s.tagName === "SLOT-FB" && ((n = Ke(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 && he(s);
|
|
150
|
+
};
|
|
151
|
+
function ge(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, ...ge(i.childNodes, t, s)];
|
|
155
|
+
return r;
|
|
156
|
+
}
|
|
157
|
+
var Ke = (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
|
+
}, le = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", b = (e, t = "") => () => {
|
|
163
|
+
}, Me = (e, t) => () => {
|
|
164
|
+
}, ve = (e, t, ...s) => {
|
|
165
|
+
let n = null, r = null, i = null, o = !1, l = !1;
|
|
166
|
+
const c = [], $ = (d) => {
|
|
167
|
+
for (let a = 0; a < d.length; a++)
|
|
168
|
+
n = d[a], Array.isArray(n) ? $(n) : n != null && typeof n != "boolean" && ((o = typeof e != "function" && !V(n)) && (n = String(n)), o && l ? c[c.length - 1].$text$ += n : c.push(o ? z(null, n) : n), l = o);
|
|
169
|
+
};
|
|
170
|
+
if ($(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
|
+
Ze
|
|
182
|
+
);
|
|
183
|
+
const f = z(e, null);
|
|
184
|
+
return f.$attrs$ = t, c.length > 0 && (f.$children$ = c), f.$key$ = r, f.$name$ = i, f;
|
|
185
|
+
}, z = (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
|
+
}, Je = {}, Ne = (e) => e && e.$tag$ === Je, Ze = {
|
|
195
|
+
forEach: (e, t) => e.map(ie).forEach(t),
|
|
196
|
+
map: (e, t) => e.map(ie).map(t).map(Ve)
|
|
197
|
+
}, ie = (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
|
+
}), Ve = (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), ve(e.vtag, s, ...e.vchildren || []);
|
|
208
|
+
}
|
|
209
|
+
const t = z(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, et = (e) => L(e).$hostElement$, _t = (e, t, s) => {
|
|
212
|
+
const n = et(e);
|
|
213
|
+
return {
|
|
214
|
+
emit: (r) => ye(n, t, {
|
|
215
|
+
bubbles: !0,
|
|
216
|
+
composed: !0,
|
|
217
|
+
cancelable: !0,
|
|
218
|
+
detail: r
|
|
219
|
+
})
|
|
220
|
+
};
|
|
221
|
+
}, ye = (e, t, s) => {
|
|
222
|
+
const n = h.ce(t, s);
|
|
223
|
+
return e.dispatchEvent(n), n;
|
|
224
|
+
}, P = /* @__PURE__ */ new WeakMap(), tt = (e, t, s) => {
|
|
225
|
+
let n = I.get(e);
|
|
226
|
+
fe && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, I.set(e, n);
|
|
227
|
+
}, st = (e, t, s) => {
|
|
228
|
+
var n;
|
|
229
|
+
const r = Se(t), i = I.get(r);
|
|
230
|
+
if (e = e.nodeType === 11 ? e : S, i)
|
|
231
|
+
if (typeof i == "string") {
|
|
232
|
+
e = e.head || e;
|
|
233
|
+
let o = P.get(e), l;
|
|
234
|
+
if (o || P.set(e, o = /* @__PURE__ */ new Set()), !o.has(r)) {
|
|
235
|
+
{
|
|
236
|
+
l = document.querySelector(`[${ze}="${r}"]`) || S.createElement("style"), l.innerHTML = i;
|
|
237
|
+
const c = (n = h.$nonce$) != null ? n : ue(S);
|
|
238
|
+
if (c != null && l.setAttribute("nonce", c), !(t.$flags$ & 1))
|
|
239
|
+
if (e.nodeName === "HEAD") {
|
|
240
|
+
const $ = e.querySelectorAll("link[rel=preconnect]"), f = $.length > 0 ? $[$.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 (fe) {
|
|
247
|
+
const $ = new CSSStyleSheet();
|
|
248
|
+
$.replaceSync(i), e.adoptedStyleSheets = [$, ...e.adoptedStyleSheets];
|
|
249
|
+
} else {
|
|
250
|
+
const $ = e.querySelector("style");
|
|
251
|
+
$ ? $.innerHTML = i + $.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 += ce), o && o.add(r);
|
|
258
|
+
}
|
|
259
|
+
} else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
260
|
+
return r;
|
|
261
|
+
}, nt = (e) => {
|
|
262
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = b("attachStyles", t.$tagName$), i = st(
|
|
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
|
+
}, Se = (e, t) => "sc-" + e.$tagName$, ae = (e, t, s, n, r, i, o) => {
|
|
268
|
+
if (s !== n) {
|
|
269
|
+
let l = se(e, t), c = t.toLowerCase();
|
|
270
|
+
if (t === "class") {
|
|
271
|
+
const $ = e.classList, f = oe(s);
|
|
272
|
+
let d = oe(n);
|
|
273
|
+
$.remove(...f.filter((a) => a && !d.includes(a))), $.add(...d.filter((a) => a && !f.includes(a)));
|
|
274
|
+
} else if (t === "style") {
|
|
275
|
+
for (const $ in s)
|
|
276
|
+
(!n || n[$] == null) && ($.includes("-") ? e.style.removeProperty($) : e.style[$] = "");
|
|
277
|
+
for (const $ in n)
|
|
278
|
+
(!s || n[$] !== s[$]) && ($.includes("-") ? e.style.setProperty($, n[$]) : e.style[$] = n[$]);
|
|
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) : se(O, c) ? t = c.slice(2) : t = c[2] + t.slice(3), s || n) {
|
|
283
|
+
const $ = t.endsWith(ke);
|
|
284
|
+
t = t.replace(lt, ""), s && h.rel(e, t, s, $), n && h.ael(e, t, n, $);
|
|
285
|
+
}
|
|
286
|
+
} else {
|
|
287
|
+
const $ = V(n);
|
|
288
|
+
if ((l || $ && 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) && !$ && (n = n === !0 ? "" : n, e.setAttribute(t, n));
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}, rt = /\s/, oe = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(rt)), ke = "Capture", lt = new RegExp(ke + "$"), Te = (e, t, s, n) => {
|
|
302
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, o = t.$attrs$ || {};
|
|
303
|
+
for (const l of $e(Object.keys(i)))
|
|
304
|
+
l in o || ae(
|
|
305
|
+
r,
|
|
306
|
+
l,
|
|
307
|
+
i[l],
|
|
308
|
+
void 0,
|
|
309
|
+
s,
|
|
310
|
+
t.$flags$
|
|
311
|
+
);
|
|
312
|
+
for (const l of $e(Object.keys(o)))
|
|
313
|
+
ae(
|
|
314
|
+
r,
|
|
315
|
+
l,
|
|
316
|
+
i[l],
|
|
317
|
+
o[l],
|
|
318
|
+
s,
|
|
319
|
+
t.$flags$
|
|
320
|
+
);
|
|
321
|
+
};
|
|
322
|
+
function $e(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 M, q, C = !1, F = !1, ee = !1, T = !1, B = (e, t, s) => {
|
|
332
|
+
var n;
|
|
333
|
+
const r = t.$children$[s];
|
|
334
|
+
let i = 0, o, l, c;
|
|
335
|
+
if (C || (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
|
+
o = r.$elm$ = S.createTextNode(r.$text$);
|
|
346
|
+
else if (r.$flags$ & 1)
|
|
347
|
+
o = r.$elm$ = S.createTextNode("");
|
|
348
|
+
else {
|
|
349
|
+
if (T || (T = r.$tag$ === "svg"), o = r.$elm$ = S.createElementNS(
|
|
350
|
+
T ? Ue : De,
|
|
351
|
+
!C && U.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
|
352
|
+
), T && r.$tag$ === "foreignObject" && (T = !1), Te(null, r, T), r.$children$)
|
|
353
|
+
for (i = 0; i < r.$children$.length; ++i)
|
|
354
|
+
l = B(e, r, i), l && o.appendChild(l);
|
|
355
|
+
r.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
|
|
356
|
+
}
|
|
357
|
+
return o["s-hn"] = q, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = M, o["s-sn"] = r.$name$ || "", o["s-rf"] = (n = r.$attrs$) == null ? void 0 : n.ref, c = e && e.$children$ && e.$children$[s], c && c.$tag$ === r.$tag$ && e.$elm$ && R(e.$elm$, !1)), o;
|
|
358
|
+
}, R = (e, t) => {
|
|
359
|
+
h.$flags$ |= 1;
|
|
360
|
+
const s = Array.from(e.__childNodes || e.childNodes);
|
|
361
|
+
e["s-sr"] && U.experimentalSlotFixes;
|
|
362
|
+
for (let n = s.length - 1; n >= 0; n--) {
|
|
363
|
+
const r = s[n];
|
|
364
|
+
r["s-hn"] !== q && r["s-ol"] && (w(j(r).parentNode, r, j(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, ee = !0), t && R(r, t);
|
|
365
|
+
}
|
|
366
|
+
h.$flags$ &= -2;
|
|
367
|
+
}, Ee = (e, t, s, n, r, i) => {
|
|
368
|
+
let o = e["s-cr"] && e["s-cr"].parentNode || e, l;
|
|
369
|
+
for (o.shadowRoot && o.tagName === q && (o = o.shadowRoot); r <= i; ++r)
|
|
370
|
+
n[r] && (l = B(null, s, r), l && (n[r].$elm$ = l, w(o, l, j(t))));
|
|
371
|
+
}, me = (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
|
+
xe(r), i && (F = !0, i["s-ol"] ? i["s-ol"].remove() : R(i, !0), i.remove());
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}, it = (e, t, s, n, r = !1) => {
|
|
380
|
+
let i = 0, o = 0, l = 0, c = 0, $ = t.length - 1, f = t[0], d = t[$], a = n.length - 1, u = n[0], p = n[a], g, k;
|
|
381
|
+
for (; i <= $ && o <= a; )
|
|
382
|
+
if (f == null)
|
|
383
|
+
f = t[++i];
|
|
384
|
+
else if (d == null)
|
|
385
|
+
d = t[--$];
|
|
386
|
+
else if (u == null)
|
|
387
|
+
u = n[++o];
|
|
388
|
+
else if (p == null)
|
|
389
|
+
p = n[--a];
|
|
390
|
+
else if (H(f, u, r))
|
|
391
|
+
A(f, u, r), f = t[++i], u = n[++o];
|
|
392
|
+
else if (H(d, p, r))
|
|
393
|
+
A(d, p, r), d = t[--$], p = n[--a];
|
|
394
|
+
else if (H(f, p, r))
|
|
395
|
+
(f.$tag$ === "slot" || p.$tag$ === "slot") && R(f.$elm$.parentNode, !1), A(f, p, r), w(e, f.$elm$, d.$elm$.nextSibling), f = t[++i], p = n[--a];
|
|
396
|
+
else if (H(d, u, r))
|
|
397
|
+
(f.$tag$ === "slot" || p.$tag$ === "slot") && R(d.$elm$.parentNode, !1), A(d, u, r), w(e, d.$elm$, f.$elm$), d = t[--$], u = n[++o];
|
|
398
|
+
else {
|
|
399
|
+
for (l = -1, c = i; c <= $; ++c)
|
|
400
|
+
if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {
|
|
401
|
+
l = c;
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
l >= 0 ? (k = t[l], k.$tag$ !== u.$tag$ ? g = B(t && t[o], s, l) : (A(k, u, r), t[l] = void 0, g = k.$elm$), u = n[++o]) : (g = B(t && t[o], s, o), u = n[++o]), g && w(
|
|
405
|
+
j(f.$elm$).parentNode,
|
|
406
|
+
g,
|
|
407
|
+
j(f.$elm$)
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
i > $ ? Ee(
|
|
411
|
+
e,
|
|
412
|
+
n[a + 1] == null ? null : n[a + 1].$elm$,
|
|
413
|
+
s,
|
|
414
|
+
n,
|
|
415
|
+
o,
|
|
416
|
+
a
|
|
417
|
+
) : o > a && me(t, i, $);
|
|
418
|
+
}, H = (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, j = (e) => e && e["s-ol"] || e, A = (e, t, s = !1) => {
|
|
419
|
+
const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, o = t.$tag$, l = t.$text$;
|
|
420
|
+
let c;
|
|
421
|
+
l === null ? (T = o === "svg" ? !0 : o === "foreignObject" ? !1 : T, o === "slot" && !C || Te(e, t, T), r !== null && i !== null ? it(n, r, t, i, s) : i !== null ? (e.$text$ !== null && (n.textContent = ""), Ee(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 && U.updatable && r !== null && me(r, 0, r.length - 1)
|
|
424
|
+
), T && o === "svg" && (T = !1)) : (c = n["s-cr"]) ? c.parentNode.textContent = l : e.$text$ !== l && (n.data = l);
|
|
425
|
+
}, _ = [], 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 o = 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 (le(t, o)) {
|
|
435
|
+
let l = _.find((c) => c.$nodeToRelocate$ === t);
|
|
436
|
+
F = !0, t["s-sn"] = t["s-sn"] || o, l ? (l.$nodeToRelocate$["s-sh"] = i["s-hn"], l.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], _.push({
|
|
437
|
+
$slotRefNode$: i,
|
|
438
|
+
$nodeToRelocate$: t
|
|
439
|
+
})), t["s-sr"] && _.map((c) => {
|
|
440
|
+
le(c.$nodeToRelocate$, t["s-sn"]) && (l = _.find(($) => $.$nodeToRelocate$ === t), l && !c.$slotRefNode$ && (c.$slotRefNode$ = l.$slotRefNode$));
|
|
441
|
+
});
|
|
442
|
+
} else _.some((l) => l.$nodeToRelocate$ === t) || _.push({
|
|
443
|
+
$nodeToRelocate$: t
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
i.nodeType === 1 && Le(i);
|
|
447
|
+
}
|
|
448
|
+
}, xe = (e) => {
|
|
449
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(xe);
|
|
450
|
+
}, w = (e, t, s) => e?.insertBefore(t, s), at = (e, t, s = !1) => {
|
|
451
|
+
var n, r, i, o;
|
|
452
|
+
const l = e.$hostElement$, c = e.$cmpMeta$, $ = e.$vnode$ || z(null, null), f = Ne(t) ? t : ve(null, null, t);
|
|
453
|
+
if (q = 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$ = $.$elm$ = l.shadowRoot || l, C = (c.$flags$ & 1) !== 0, M = l["s-cr"], F = !1, A($, f, s);
|
|
459
|
+
{
|
|
460
|
+
if (h.$flags$ |= 1, ee) {
|
|
461
|
+
Le(f.$elm$);
|
|
462
|
+
for (const d of _) {
|
|
463
|
+
const a = d.$nodeToRelocate$;
|
|
464
|
+
if (!a["s-ol"]) {
|
|
465
|
+
const u = S.createTextNode("");
|
|
466
|
+
u["s-nr"] = a, w(a.parentNode, a["s-ol"] = u, a);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
for (const d of _) {
|
|
470
|
+
const a = d.$nodeToRelocate$, u = d.$slotRefNode$;
|
|
471
|
+
if (u) {
|
|
472
|
+
const p = u.parentNode;
|
|
473
|
+
let g = u.nextSibling;
|
|
474
|
+
{
|
|
475
|
+
let E = (n = a["s-ol"]) == null ? void 0 : n.previousSibling;
|
|
476
|
+
for (; E; ) {
|
|
477
|
+
let y = (r = E["s-nr"]) != null ? r : null;
|
|
478
|
+
if (y && y["s-sn"] === a["s-sn"] && p === (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
|
+
E = E.previousSibling;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
const k = a.__parentNode || a.parentNode, v = a.__nextSibling || a.nextSibling;
|
|
490
|
+
(!g && p !== k || v !== g) && a !== g && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), w(p, 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"] = (o = a.hidden) != null ? o : !1), a.hidden = !0);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
F && he(f.$elm$), h.$flags$ &= -2, _.length = 0;
|
|
496
|
+
}
|
|
497
|
+
M = void 0;
|
|
498
|
+
}, _e = (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 _e(e, e.$ancestorComponent$), We(() => ot(e, t));
|
|
514
|
+
}, ot = (e, t) => {
|
|
515
|
+
const s = e.$hostElement$, n = b("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(([o, l]) => J(r, o, l, s)), e.$queuedListeners$ = void 0), i = J(r, "componentWillLoad", void 0, s)), n(), $t(i, () => ft(e, r, t));
|
|
522
|
+
}, $t = (e, t) => ct(e) ? e.then(t).catch((s) => {
|
|
523
|
+
console.error(s), t();
|
|
524
|
+
}) : t(), ct = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ft = async (e, t, s) => {
|
|
525
|
+
var n;
|
|
526
|
+
const r = e.$hostElement$, i = b("update", e.$cmpMeta$.$tagName$), o = r["s-rc"];
|
|
527
|
+
s && nt(e);
|
|
528
|
+
const l = b("render", e.$cmpMeta$.$tagName$);
|
|
529
|
+
dt(e, t, r, s), o && (o.map((c) => c()), r["s-rc"] = void 0), l(), i();
|
|
530
|
+
{
|
|
531
|
+
const c = (n = r["s-p"]) != null ? n : [], $ = () => ut(e);
|
|
532
|
+
c.length === 0 ? $() : (Promise.all(c).then($), e.$flags$ |= 4, c.length = 0);
|
|
533
|
+
}
|
|
534
|
+
}, dt = (e, t, s, n) => {
|
|
535
|
+
try {
|
|
536
|
+
t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, at(e, t, n);
|
|
537
|
+
} catch (r) {
|
|
538
|
+
x(r, e.$hostElement$);
|
|
539
|
+
}
|
|
540
|
+
return null;
|
|
541
|
+
}, ut = (e) => {
|
|
542
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = b("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
|
543
|
+
J(r, "componentDidRender", void 0, s), e.$flags$ & 64 ? n() : (e.$flags$ |= 64, we(s), n(), e.$onReadyResolve$(s), i || be()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Z(() => te(e, !1)), e.$flags$ &= -517;
|
|
544
|
+
}, be = (e) => {
|
|
545
|
+
we(S.documentElement), Z(() => ye(O, "appload", { detail: { namespace: Oe } }));
|
|
546
|
+
}, J = (e, t, s, n) => {
|
|
547
|
+
if (e && e[t])
|
|
548
|
+
try {
|
|
549
|
+
return e[t](s);
|
|
550
|
+
} catch (r) {
|
|
551
|
+
x(r, n);
|
|
552
|
+
}
|
|
553
|
+
}, we = (e) => {
|
|
554
|
+
var t;
|
|
555
|
+
return e.classList.add((t = U.hydratedSelectorName) != null ? t : "hydrated");
|
|
556
|
+
}, pt = (e, t) => L(e).$instanceValues$.get(t), G = (e, t, s, n) => {
|
|
557
|
+
const r = L(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$, o = r.$instanceValues$.get(t), l = r.$flags$, c = r.$lazyInstance$;
|
|
563
|
+
s = K(s, n.$members$[t][0]);
|
|
564
|
+
const $ = Number.isNaN(o) && Number.isNaN(s), f = s !== o && !$;
|
|
565
|
+
if ((!(l & 8) || o === 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, o, t);
|
|
571
|
+
} catch (u) {
|
|
572
|
+
x(u, i);
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
(l & 18) === 2 && te(r, !1);
|
|
577
|
+
}
|
|
578
|
+
}, Ae = (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 o = Object.entries((n = t.$members$) != null ? n : {});
|
|
584
|
+
if (o.map(([l, [c]]) => {
|
|
585
|
+
if (c & 31 || s & 2 && c & 32) {
|
|
586
|
+
const { get: $, set: f } = Object.getOwnPropertyDescriptor(i, l) || {};
|
|
587
|
+
$ && (t.$members$[l][0] |= 2048), f && (t.$members$[l][0] |= 4096), (s & 1 || !$) && Object.defineProperty(i, l, {
|
|
588
|
+
get() {
|
|
589
|
+
{
|
|
590
|
+
if (!(t.$members$[l][0] & 2048))
|
|
591
|
+
return pt(this, l);
|
|
592
|
+
const d = L(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 = L(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 p = a.$lazyInstance$[l];
|
|
615
|
+
!a.$instanceValues$.get(l) && p && a.$instanceValues$.set(l, p), 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, $, f) {
|
|
625
|
+
h.jmp(() => {
|
|
626
|
+
var d;
|
|
627
|
+
const a = l.get(c);
|
|
628
|
+
if (this.hasOwnProperty(a) && U.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 p = L(this), g = p?.$flags$;
|
|
636
|
+
if (g && !(g & 8) && g & 128 && f !== $) {
|
|
637
|
+
const k = p.$lazyInstance$, v = (d = t.$watchers$) == null ? void 0 : d[c];
|
|
638
|
+
v?.forEach((E) => {
|
|
639
|
+
k[E] != null && k[E].call(k, f, $, 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
|
+
...o.filter(
|
|
652
|
+
([c, $]) => $[0] & 15
|
|
653
|
+
/* HasAttribute */
|
|
654
|
+
).map(([c, $]) => {
|
|
655
|
+
var f;
|
|
656
|
+
const d = $[1] || c;
|
|
657
|
+
return l.set(d, c), $[0] & 512 && ((f = t.$attrsToReflect$) == null || f.push([c, d])), d;
|
|
658
|
+
})
|
|
659
|
+
])
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
return e;
|
|
664
|
+
}, ht = async (e, t, s, n) => {
|
|
665
|
+
let r;
|
|
666
|
+
if (!(t.$flags$ & 32)) {
|
|
667
|
+
t.$flags$ |= 32;
|
|
668
|
+
{
|
|
669
|
+
const l = Ie(s, t);
|
|
670
|
+
if (l && "then" in l) {
|
|
671
|
+
const $ = Me();
|
|
672
|
+
r = await l, $();
|
|
673
|
+
} else
|
|
674
|
+
r = l;
|
|
675
|
+
if (!r)
|
|
676
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
677
|
+
r.isProxied || (s.$watchers$ = r.watchers, Ae(
|
|
678
|
+
r,
|
|
679
|
+
s,
|
|
680
|
+
2
|
|
681
|
+
/* proxyState */
|
|
682
|
+
), r.isProxied = !0);
|
|
683
|
+
const c = b("createInstance", s.$tagName$);
|
|
684
|
+
t.$flags$ |= 8;
|
|
685
|
+
try {
|
|
686
|
+
new r(t);
|
|
687
|
+
} catch ($) {
|
|
688
|
+
x($, e);
|
|
689
|
+
}
|
|
690
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
691
|
+
}
|
|
692
|
+
if (r && r.style) {
|
|
693
|
+
let l;
|
|
694
|
+
typeof r.style == "string" && (l = r.style);
|
|
695
|
+
const c = Se(s);
|
|
696
|
+
if (!I.has(c)) {
|
|
697
|
+
const $ = b("registerStyles", s.$tagName$);
|
|
698
|
+
tt(c, l, !!(s.$flags$ & 1)), $();
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
const i = t.$ancestorComponent$, o = () => te(t, !0);
|
|
703
|
+
i && i["s-rc"] ? i["s-rc"].push(o) : o();
|
|
704
|
+
}, gt = (e, t) => {
|
|
705
|
+
}, vt = (e) => {
|
|
706
|
+
if (!(h.$flags$ & 1)) {
|
|
707
|
+
const t = L(e), s = t.$cmpMeta$, n = b("connectedCallback", s.$tagName$);
|
|
708
|
+
if (t.$flags$ & 1)
|
|
709
|
+
Pe(e, t, s.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => gt());
|
|
710
|
+
else {
|
|
711
|
+
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
712
|
+
s.$flags$ & 12 && yt(e);
|
|
713
|
+
{
|
|
714
|
+
let r = e;
|
|
715
|
+
for (; r = r.parentNode || r.host; )
|
|
716
|
+
if (r["s-p"]) {
|
|
717
|
+
_e(t, t.$ancestorComponent$ = r);
|
|
718
|
+
break;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
|
|
722
|
+
if (i & 31 && e.hasOwnProperty(r)) {
|
|
723
|
+
const o = e[r];
|
|
724
|
+
delete e[r], e[r] = o;
|
|
725
|
+
}
|
|
726
|
+
}), ht(e, t, s);
|
|
727
|
+
}
|
|
728
|
+
n();
|
|
729
|
+
}
|
|
730
|
+
}, yt = (e) => {
|
|
731
|
+
const t = e["s-cr"] = S.createComment(
|
|
732
|
+
""
|
|
733
|
+
);
|
|
734
|
+
t["s-cn"] = !0, w(e, t, e.firstChild);
|
|
735
|
+
}, St = (e, t) => {
|
|
736
|
+
}, kt = async (e) => {
|
|
737
|
+
if (!(h.$flags$ & 1)) {
|
|
738
|
+
const t = L(e);
|
|
739
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => St());
|
|
740
|
+
}
|
|
741
|
+
P.has(e) && P.delete(e), e.shadowRoot && P.has(e.shadowRoot) && P.delete(e.shadowRoot);
|
|
742
|
+
}, bt = (e, t = {}) => {
|
|
743
|
+
var s;
|
|
744
|
+
const n = b(), r = [], i = t.exclude || [], o = O.customElements, l = S.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), $ = /* @__PURE__ */ S.createElement("style"), f = [];
|
|
745
|
+
let d, a = !0;
|
|
746
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
|
|
747
|
+
let u = !1;
|
|
748
|
+
if (e.map((p) => {
|
|
749
|
+
p[1].map((g) => {
|
|
750
|
+
var k;
|
|
751
|
+
const v = {
|
|
752
|
+
$flags$: g[0],
|
|
753
|
+
$tagName$: g[1],
|
|
754
|
+
$members$: g[2],
|
|
755
|
+
$listeners$: g[3]
|
|
756
|
+
};
|
|
757
|
+
v.$flags$ & 4 && (u = !0), v.$members$ = g[2], v.$listeners$ = g[3], v.$attrsToReflect$ = [], v.$watchers$ = (k = g[4]) != null ? k : {};
|
|
758
|
+
const E = v.$tagName$, y = class extends HTMLElement {
|
|
759
|
+
// StencilLazyHost
|
|
760
|
+
constructor(m) {
|
|
761
|
+
if (super(m), this.hasRegisteredEventListeners = !1, m = this, He(m, v), v.$flags$ & 1) {
|
|
762
|
+
if (!m.shadowRoot)
|
|
763
|
+
m.attachShadow({ mode: "open" });
|
|
764
|
+
else if (m.shadowRoot.mode !== "open")
|
|
765
|
+
throw new Error(
|
|
766
|
+
`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${m.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
767
|
+
);
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
connectedCallback() {
|
|
771
|
+
const m = L(this);
|
|
772
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Pe(this, m, v.$listeners$)), d && (clearTimeout(d), d = null), a ? f.push(this) : h.jmp(() => vt(this));
|
|
773
|
+
}
|
|
774
|
+
disconnectedCallback() {
|
|
775
|
+
h.jmp(() => kt(this)), h.raf(() => {
|
|
776
|
+
var m;
|
|
777
|
+
const D = L(this);
|
|
778
|
+
((m = D?.$vnode$) == null ? void 0 : m.$elm$) instanceof Node && !D.$vnode$.$elm$.isConnected && delete D.$vnode$.$elm$;
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
componentOnReady() {
|
|
782
|
+
return L(this).$onReadyPromise$;
|
|
783
|
+
}
|
|
784
|
+
};
|
|
785
|
+
v.$lazyBundleId$ = p[0], !i.includes(E) && !o.get(E) && (r.push(E), o.define(
|
|
786
|
+
E,
|
|
787
|
+
Ae(
|
|
788
|
+
y,
|
|
789
|
+
v,
|
|
790
|
+
1
|
|
791
|
+
/* isElementConstructor */
|
|
792
|
+
)
|
|
793
|
+
));
|
|
794
|
+
});
|
|
795
|
+
}), r.length > 0 && (u && ($.textContent += ce), $.textContent += r.sort() + Ce, $.innerHTML.length)) {
|
|
796
|
+
$.setAttribute("data-styles", "");
|
|
797
|
+
const p = (s = h.$nonce$) != null ? s : ue(S);
|
|
798
|
+
p != null && $.setAttribute("nonce", p), l.insertBefore($, c ? c.nextSibling : l.firstChild);
|
|
799
|
+
}
|
|
800
|
+
a = !1, f.length ? f.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(be, 30)), n();
|
|
801
|
+
}, wt = (e, t) => t, Pe = (e, t, s, n) => {
|
|
802
|
+
s && s.map(([r, i, o]) => {
|
|
803
|
+
const l = Et(e, r), c = Tt(t, o), $ = mt(r);
|
|
804
|
+
h.ael(l, i, c, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(l, i, c, $));
|
|
805
|
+
});
|
|
806
|
+
}, Tt = (e, t) => (s) => {
|
|
807
|
+
var n;
|
|
808
|
+
try {
|
|
809
|
+
e.$flags$ & 256 ? (n = e.$lazyInstance$) == null || n[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
|
|
810
|
+
} catch (r) {
|
|
811
|
+
x(r, e.$hostElement$);
|
|
812
|
+
}
|
|
813
|
+
}, Et = (e, t) => t & 8 ? O : e, mt = (e) => Fe ? {
|
|
814
|
+
passive: (e & 1) !== 0,
|
|
815
|
+
capture: (e & 2) !== 0
|
|
816
|
+
} : (e & 2) !== 0;
|
|
817
|
+
export {
|
|
818
|
+
wt as F,
|
|
819
|
+
xt as a,
|
|
820
|
+
bt as b,
|
|
821
|
+
_t as c,
|
|
822
|
+
et as g,
|
|
823
|
+
ve as h,
|
|
824
|
+
Be as p,
|
|
825
|
+
Lt as r
|
|
826
|
+
};
|