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