@everymatrix/casino-header-controller-nd 1.50.1 → 1.52.0
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-hHBgAJIy.cjs → CasinoHamburgerMenuNd-BZ67WYAG.cjs} +1 -1
- package/components/{CasinoHamburgerMenuNd-DXHMzvrj.js → CasinoHamburgerMenuNd-zaMLQqFG.js} +4 -1
- package/components/{CasinoHeaderControllerNd-ONyb70X5.js → CasinoHeaderControllerNd-1rDV2VOr.js} +49 -43
- package/components/CasinoHeaderControllerNd-CPfJUdB_.cjs +1 -0
- package/components/{PlayerAccountBalanceModalNd-D8pssL4n.js → PlayerAccountBalanceModalNd-BhOHwnw5.js} +81 -70
- package/components/PlayerAccountBalanceModalNd-DtlIScQl.cjs +13 -0
- package/components/{PlayerDeposit-HWZAJAWI.cjs → PlayerDeposit-CB-HaILi.cjs} +1 -1
- package/components/{PlayerDeposit-Buvi-7s6.js → PlayerDeposit-wVbCjsPY.js} +32 -32
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/package.json +3 -2
- package/stencil/{gamification-dropdown-498ae904-DpZf5Exb.cjs → gamification-dropdown-456bb56a-BNBBLNsh.cjs} +1 -1
- package/stencil/{gamification-dropdown-498ae904-Dvuugqyp.js → gamification-dropdown-456bb56a-BdUyUmVP.js} +1 -1
- package/stencil/{gamification-dropdown-B-tH3KS1.cjs → gamification-dropdown-DiubO5ew.cjs} +1 -1
- package/stencil/{gamification-dropdown-Dx5S6y_S.js → gamification-dropdown-Dz6DNlrv.js} +1 -1
- package/stencil/{gamification-dropdown_4-CtZI21hk.cjs → gamification-dropdown_4-BEPN8PGr.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-De9Z-Zt_.js → gamification-dropdown_4-BkIgVyzQ.js} +4 -4
- package/stencil/{index-0ad2daf0-BKeWSFX3.js → index-171550cf-BERgCb0j.js} +199 -191
- package/stencil/index-171550cf-Dl1Iozjj.cjs +1 -0
- package/stencil/{player-elevate-card-BQnhai7H.cjs → player-elevate-card-B9D3G-JZ.cjs} +1 -1
- package/stencil/{player-elevate-card-DgFw98B3.js → player-elevate-card-ClnI63vD.js} +2 -2
- package/stencil/{player-elevate-card-items-7f8f7bd8-DYuv0i85.cjs → player-elevate-card-items-2078bd83-BXFKNOJZ.cjs} +1 -1
- package/stencil/{player-elevate-card-items-7f8f7bd8-BNjjXUCI.js → player-elevate-card-items-2078bd83-Bbsxz5tr.js} +1 -1
- package/stencil/{player-elevate-pointcard-DidFBWJW.cjs → player-elevate-pointcard-CBAMD0_H.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-DlzEmeiG.js → player-elevate-pointcard-EE4MG3CK.js} +2 -2
- package/components/CasinoHeaderControllerNd-Q4h3hRty.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-Bz1io_Hk.cjs +0 -13
- package/stencil/index-0ad2daf0-BHol-vm2.cjs +0 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ue = Object.defineProperty;
|
|
2
2
|
var V = Object.getOwnPropertySymbols;
|
|
3
|
-
var Ce = Object.prototype.hasOwnProperty,
|
|
4
|
-
var ee = (e, t, s) => t in e ?
|
|
3
|
+
var Ce = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var ee = (e, t, s) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, te = (e, t) => {
|
|
5
5
|
for (var s in t || (t = {}))
|
|
6
6
|
Ce.call(t, s) && ee(e, s, t[s]);
|
|
7
7
|
if (V)
|
|
8
8
|
for (var s of V(t))
|
|
9
|
-
|
|
9
|
+
Fe.call(t, s) && ee(e, s, t[s]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var U = (e, t, s) => new Promise((r, n) => {
|
|
13
13
|
var l = (a) => {
|
|
14
14
|
try {
|
|
15
15
|
i(s.next(a));
|
|
16
|
-
} catch (
|
|
17
|
-
n(
|
|
16
|
+
} catch ($) {
|
|
17
|
+
n($);
|
|
18
18
|
}
|
|
19
19
|
}, o = (a) => {
|
|
20
20
|
try {
|
|
21
21
|
i(s.throw(a));
|
|
22
|
-
} catch (
|
|
23
|
-
n(
|
|
22
|
+
} catch ($) {
|
|
23
|
+
n($);
|
|
24
24
|
}
|
|
25
25
|
}, i = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(l, o);
|
|
26
26
|
i((s = s.apply(e, t)).next());
|
|
27
27
|
});
|
|
28
|
-
const
|
|
28
|
+
const He = "gamification-dropdown", A = (
|
|
29
29
|
/* gamification-dropdown */
|
|
30
30
|
{ 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, 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 }
|
|
31
31
|
);
|
|
32
|
-
var
|
|
32
|
+
var Ne = Object.defineProperty, De = (e, t) => {
|
|
33
33
|
for (var s in t)
|
|
34
|
-
|
|
35
|
-
}, X = /* @__PURE__ */ new WeakMap(),
|
|
34
|
+
Ne(e, s, { get: t[s], enumerable: !0 });
|
|
35
|
+
}, X = /* @__PURE__ */ new WeakMap(), E = (e) => X.get(e), Ot = (e, t) => X.set(t.$lazyInstance$ = e, t), Ie = (e, t) => {
|
|
36
36
|
const s = {
|
|
37
37
|
$flags$: 0,
|
|
38
38
|
$hostElement$: e,
|
|
@@ -40,30 +40,30 @@ var Fe = Object.defineProperty, De = (e, t) => {
|
|
|
40
40
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
41
41
|
};
|
|
42
42
|
return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], X.set(e, s);
|
|
43
|
-
}, se = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t),
|
|
43
|
+
}, se = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), q = /* @__PURE__ */ new Map(), qe = (e, t, s) => {
|
|
44
44
|
const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
|
45
45
|
if (!n)
|
|
46
46
|
return;
|
|
47
|
-
const l =
|
|
47
|
+
const l = q.get(n);
|
|
48
48
|
if (l)
|
|
49
49
|
return l[r];
|
|
50
50
|
{
|
|
51
|
-
const o = (i) => (
|
|
51
|
+
const o = (i) => (q.set(n, i), i[r]);
|
|
52
52
|
switch (n) {
|
|
53
53
|
case "gamification-dropdown_4":
|
|
54
54
|
return import(
|
|
55
55
|
/* webpackMode: "lazy" */
|
|
56
|
-
"./gamification-dropdown_4-
|
|
56
|
+
"./gamification-dropdown_4-BkIgVyzQ.js"
|
|
57
57
|
).then(o, b);
|
|
58
58
|
case "player-elevate-card":
|
|
59
59
|
return import(
|
|
60
60
|
/* webpackMode: "lazy" */
|
|
61
|
-
"./player-elevate-card-
|
|
61
|
+
"./player-elevate-card-ClnI63vD.js"
|
|
62
62
|
).then(o, b);
|
|
63
63
|
case "player-elevate-pointcard":
|
|
64
64
|
return import(
|
|
65
65
|
/* webpackMode: "lazy" */
|
|
66
|
-
"./player-elevate-pointcard-
|
|
66
|
+
"./player-elevate-pointcard-EE4MG3CK.js"
|
|
67
67
|
).then(o, b);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -73,8 +73,8 @@ var Fe = Object.defineProperty, De = (e, t) => {
|
|
|
73
73
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
74
74
|
/* webpackMode: "lazy" */
|
|
75
75
|
`./${n}.entry.js`
|
|
76
|
-
).then((o) => (
|
|
77
|
-
},
|
|
76
|
+
).then((o) => (q.set(n, o), o[r]), b);
|
|
77
|
+
}, F = /* @__PURE__ */ new Map(), Be = "{visibility:hidden}.hydrated{visibility:inherit}", de = "slot-fb{display:contents}slot-fb[hidden]{display:none}", P = typeof window != "undefined" ? window : {}, m = P.document || { head: {} }, g = {
|
|
78
78
|
$flags$: 0,
|
|
79
79
|
$resourcesUrl$: "",
|
|
80
80
|
jmp: (e) => e(),
|
|
@@ -82,7 +82,7 @@ var Fe = Object.defineProperty, De = (e, t) => {
|
|
|
82
82
|
ael: (e, t, s, r) => e.addEventListener(t, s, r),
|
|
83
83
|
rel: (e, t, s, r) => e.removeEventListener(t, s, r),
|
|
84
84
|
ce: (e, t) => new CustomEvent(e, t)
|
|
85
|
-
},
|
|
85
|
+
}, ze = /* @__PURE__ */ (() => {
|
|
86
86
|
let e = !1;
|
|
87
87
|
try {
|
|
88
88
|
m.addEventListener(
|
|
@@ -97,14 +97,14 @@ var Fe = Object.defineProperty, De = (e, t) => {
|
|
|
97
97
|
} catch (t) {
|
|
98
98
|
}
|
|
99
99
|
return e;
|
|
100
|
-
})(),
|
|
100
|
+
})(), We = (e) => Promise.resolve(e), ue = /* @__PURE__ */ (() => {
|
|
101
101
|
try {
|
|
102
102
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
103
103
|
} catch (e) {
|
|
104
104
|
}
|
|
105
105
|
return !1;
|
|
106
|
-
})(),
|
|
107
|
-
e.push(s),
|
|
106
|
+
})(), B = !1, re = [], pe = [], Me = (e, t) => (s) => {
|
|
107
|
+
e.push(s), B || (B = !0, g.$flags$ & 4 ? Q(z) : g.raf(z));
|
|
108
108
|
}, ne = (e) => {
|
|
109
109
|
for (let t = 0; t < e.length; t++)
|
|
110
110
|
try {
|
|
@@ -114,18 +114,18 @@ var Fe = Object.defineProperty, De = (e, t) => {
|
|
|
114
114
|
}
|
|
115
115
|
e.length = 0;
|
|
116
116
|
}, z = () => {
|
|
117
|
-
ne(re), ne(
|
|
118
|
-
}, Q = (e) =>
|
|
117
|
+
ne(re), ne(pe), (B = re.length > 0) && g.raf(z);
|
|
118
|
+
}, Q = (e) => We().then(e), Ge = /* @__PURE__ */ Me(pe), jt = (e) => {
|
|
119
119
|
const t = new URL(e, g.$resourcesUrl$);
|
|
120
120
|
return t.origin !== P.location.origin ? t.href : t.pathname;
|
|
121
121
|
}, le = {}, Xe = "http://www.w3.org/2000/svg", Qe = "http://www.w3.org/1999/xhtml", Ye = (e) => e != null, Y = (e) => (e = typeof e, e === "object" || e === "function");
|
|
122
|
-
function
|
|
122
|
+
function ve(e) {
|
|
123
123
|
var t, s, r;
|
|
124
124
|
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;
|
|
125
125
|
}
|
|
126
126
|
var Je = {};
|
|
127
127
|
De(Je, {
|
|
128
|
-
err: () =>
|
|
128
|
+
err: () => he,
|
|
129
129
|
map: () => Ke,
|
|
130
130
|
ok: () => W,
|
|
131
131
|
unwrap: () => Ze,
|
|
@@ -135,7 +135,7 @@ var W = (e) => ({
|
|
|
135
135
|
isOk: !0,
|
|
136
136
|
isErr: !1,
|
|
137
137
|
value: e
|
|
138
|
-
}),
|
|
138
|
+
}), he = (e) => ({
|
|
139
139
|
isOk: !1,
|
|
140
140
|
isErr: !0,
|
|
141
141
|
value: e
|
|
@@ -147,7 +147,7 @@ function Ke(e, t) {
|
|
|
147
147
|
}
|
|
148
148
|
if (e.isErr) {
|
|
149
149
|
const s = e.value;
|
|
150
|
-
return
|
|
150
|
+
return he(s);
|
|
151
151
|
}
|
|
152
152
|
throw "should never get here";
|
|
153
153
|
}
|
|
@@ -161,13 +161,13 @@ var Ze = (e) => {
|
|
|
161
161
|
throw e.value;
|
|
162
162
|
}, x = (e, t = "") => () => {
|
|
163
163
|
}, et = (e, t) => () => {
|
|
164
|
-
},
|
|
164
|
+
}, ge = (e, t, ...s) => {
|
|
165
165
|
let r = null, n = null, l = null, o = !1, i = !1;
|
|
166
|
-
const a = [],
|
|
166
|
+
const a = [], $ = (d) => {
|
|
167
167
|
for (let f = 0; f < d.length; f++)
|
|
168
|
-
r = d[f], Array.isArray(r) ?
|
|
168
|
+
r = d[f], Array.isArray(r) ? $(r) : r != null && typeof r != "boolean" && ((o = typeof e != "function" && !Y(r)) && (r = String(r)), o && i ? a[a.length - 1].$text$ += r : a.push(o ? H(null, r) : r), i = o);
|
|
169
169
|
};
|
|
170
|
-
if (
|
|
170
|
+
if ($(s), t) {
|
|
171
171
|
t.key && (n = t.key), t.name && (l = t.name);
|
|
172
172
|
{
|
|
173
173
|
const d = t.className || t.class;
|
|
@@ -180,9 +180,9 @@ var Ze = (e) => {
|
|
|
180
180
|
a,
|
|
181
181
|
rt
|
|
182
182
|
);
|
|
183
|
-
const
|
|
184
|
-
return
|
|
185
|
-
},
|
|
183
|
+
const c = H(e, null);
|
|
184
|
+
return c.$attrs$ = t, a.length > 0 && (c.$children$ = a), c.$key$ = n, c.$name$ = l, c;
|
|
185
|
+
}, H = (e, t) => {
|
|
186
186
|
const s = {
|
|
187
187
|
$flags$: 0,
|
|
188
188
|
$tag$: e,
|
|
@@ -204,29 +204,29 @@ var Ze = (e) => {
|
|
|
204
204
|
}), nt = (e) => {
|
|
205
205
|
if (typeof e.vtag == "function") {
|
|
206
206
|
const s = te({}, e.vattrs);
|
|
207
|
-
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname),
|
|
207
|
+
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ge(e.vtag, s, ...e.vchildren || []);
|
|
208
208
|
}
|
|
209
|
-
const t =
|
|
209
|
+
const t = H(e.vtag, e.vtext);
|
|
210
210
|
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
211
|
-
}, lt = (e, t) => e != null && !Y(e) && t & 1 ? String(e) : e, at = (e) =>
|
|
211
|
+
}, lt = (e, t) => e != null && !Y(e) && t & 1 ? String(e) : e, at = (e) => E(e).$hostElement$, Ut = (e, t, s) => {
|
|
212
212
|
const r = at(e);
|
|
213
213
|
return {
|
|
214
|
-
emit: (n) =>
|
|
214
|
+
emit: (n) => ye(r, t, {
|
|
215
215
|
bubbles: !!(s & 4),
|
|
216
216
|
composed: !!(s & 2),
|
|
217
217
|
cancelable: !!(s & 1),
|
|
218
218
|
detail: n
|
|
219
219
|
})
|
|
220
220
|
};
|
|
221
|
-
},
|
|
221
|
+
}, ye = (e, t, s) => {
|
|
222
222
|
const r = g.ce(t, s);
|
|
223
223
|
return e.dispatchEvent(r), r;
|
|
224
224
|
}, oe = /* @__PURE__ */ new WeakMap(), ot = (e, t, s) => {
|
|
225
|
-
let r =
|
|
226
|
-
|
|
225
|
+
let r = F.get(e);
|
|
226
|
+
ue && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, F.set(e, r);
|
|
227
227
|
}, it = (e, t, s) => {
|
|
228
228
|
var r;
|
|
229
|
-
const n =
|
|
229
|
+
const n = me(t), l = F.get(n);
|
|
230
230
|
if (e = e.nodeType === 11 ? e : m, l)
|
|
231
231
|
if (typeof l == "string") {
|
|
232
232
|
e = e.head || e;
|
|
@@ -234,14 +234,22 @@ var Ze = (e) => {
|
|
|
234
234
|
if (o || oe.set(e, o = /* @__PURE__ */ new Set()), !o.has(n)) {
|
|
235
235
|
{
|
|
236
236
|
i = m.createElement("style"), i.innerHTML = l;
|
|
237
|
-
const a = (r = g.$nonce$) != null ? r :
|
|
238
|
-
a != null && i.setAttribute("nonce", a),
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
237
|
+
const a = (r = g.$nonce$) != null ? r : ve(m);
|
|
238
|
+
if (a != null && i.setAttribute("nonce", a), !(t.$flags$ & 1))
|
|
239
|
+
if (e.nodeName === "HEAD") {
|
|
240
|
+
const $ = e.querySelectorAll("link[rel=preconnect]"), c = $.length > 0 ? $[$.length - 1].nextSibling : e.querySelector("style");
|
|
241
|
+
e.insertBefore(i, c);
|
|
242
|
+
} else if ("host" in e)
|
|
243
|
+
if (ue) {
|
|
244
|
+
const $ = new CSSStyleSheet();
|
|
245
|
+
$.replaceSync(l), e.adoptedStyleSheets = [$, ...e.adoptedStyleSheets];
|
|
246
|
+
} else {
|
|
247
|
+
const $ = e.querySelector("style");
|
|
248
|
+
$ ? $.innerHTML = l + $.innerHTML : e.prepend(i);
|
|
249
|
+
}
|
|
250
|
+
else
|
|
251
|
+
e.append(i);
|
|
252
|
+
t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(i, null);
|
|
245
253
|
}
|
|
246
254
|
t.$flags$ & 4 && (i.innerHTML += de), o && o.add(n);
|
|
247
255
|
}
|
|
@@ -253,12 +261,12 @@ var Ze = (e) => {
|
|
|
253
261
|
t
|
|
254
262
|
);
|
|
255
263
|
r & 10 && r & 2 && (s["s-sc"] = l, s.classList.add(l + "-h")), n();
|
|
256
|
-
},
|
|
264
|
+
}, me = (e, t) => "sc-" + e.$tagName$, ie = (e, t, s, r, n, l) => {
|
|
257
265
|
if (s !== r) {
|
|
258
266
|
let o = se(e, t), i = t.toLowerCase();
|
|
259
267
|
if (t === "class") {
|
|
260
|
-
const a = e.classList,
|
|
261
|
-
a.remove(
|
|
268
|
+
const a = e.classList, $ = $e(s), c = $e(r);
|
|
269
|
+
a.remove(...$.filter((d) => d && !c.includes(d))), a.add(...c.filter((d) => d && !$.includes(d)));
|
|
262
270
|
} else if (t === "style") {
|
|
263
271
|
for (const a in s)
|
|
264
272
|
(!r || r[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
|
@@ -268,7 +276,7 @@ var Ze = (e) => {
|
|
|
268
276
|
r && r(e);
|
|
269
277
|
else if (!o && t[0] === "o" && t[1] === "n") {
|
|
270
278
|
if (t[2] === "-" ? t = t.slice(3) : se(P, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
|
|
271
|
-
const a = t.endsWith(
|
|
279
|
+
const a = t.endsWith(Se);
|
|
272
280
|
t = t.replace(ft, ""), s && g.rel(e, t, s, a), r && g.ael(e, t, r, a);
|
|
273
281
|
}
|
|
274
282
|
} else {
|
|
@@ -278,15 +286,15 @@ var Ze = (e) => {
|
|
|
278
286
|
if (e.tagName.includes("-"))
|
|
279
287
|
e[t] = r;
|
|
280
288
|
else {
|
|
281
|
-
const
|
|
282
|
-
t === "list" ? o = !1 : (s == null || e[t] !=
|
|
289
|
+
const $ = r == null ? "" : r;
|
|
290
|
+
t === "list" ? o = !1 : (s == null || e[t] != $) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = $ : e.setAttribute(t, $));
|
|
283
291
|
}
|
|
284
|
-
} catch (
|
|
292
|
+
} catch ($) {
|
|
285
293
|
}
|
|
286
294
|
r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!o || l & 4 || n) && !a && (r = r === !0 ? "" : r, e.setAttribute(t, r));
|
|
287
295
|
}
|
|
288
296
|
}
|
|
289
|
-
}, ct = /\s/, $e = (e) => e ? e.split(ct) : [],
|
|
297
|
+
}, ct = /\s/, $e = (e) => e ? e.split(ct) : [], Se = "Capture", ft = new RegExp(Se + "$"), be = (e, t, s) => {
|
|
290
298
|
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || le, l = t.$attrs$ || le;
|
|
291
299
|
for (const o of ce(Object.keys(n)))
|
|
292
300
|
o in l || ie(r, o, n[o], void 0, s, t.$flags$);
|
|
@@ -302,11 +310,11 @@ function ce(e) {
|
|
|
302
310
|
e
|
|
303
311
|
);
|
|
304
312
|
}
|
|
305
|
-
var w, M, R,
|
|
313
|
+
var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
306
314
|
var n;
|
|
307
315
|
const l = t.$children$[s];
|
|
308
|
-
let o = 0, i, a,
|
|
309
|
-
if (
|
|
316
|
+
let o = 0, i, a, $;
|
|
317
|
+
if (N || (J = !0, l.$tag$ === "slot" && (w && r.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
|
|
310
318
|
// slot element has fallback content
|
|
311
319
|
// still create an element that "mocks" the slot element
|
|
312
320
|
2
|
|
@@ -322,87 +330,87 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
322
330
|
else {
|
|
323
331
|
if (S || (S = l.$tag$ === "svg"), i = l.$elm$ = m.createElementNS(
|
|
324
332
|
S ? Xe : Qe,
|
|
325
|
-
!
|
|
326
|
-
), S && l.$tag$ === "foreignObject" && (S = !1),
|
|
333
|
+
!N && A.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
|
|
334
|
+
), S && l.$tag$ === "foreignObject" && (S = !1), be(null, l, S), !!i.getRootNode().querySelector("body") && A.scoped && Ye(w) && i["s-si"] !== w && i.classList.add(i["s-si"] = w), l.$children$)
|
|
327
335
|
for (o = 0; o < l.$children$.length; ++o)
|
|
328
336
|
a = I(e, l, o, i), a && i.appendChild(a);
|
|
329
337
|
l.$tag$ === "svg" ? S = !1 : i.tagName === "foreignObject" && (S = !0);
|
|
330
338
|
}
|
|
331
|
-
return i["s-hn"] = R, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = M, i["s-sn"] = l.$name$ || "", i["s-rf"] = (n = l.$attrs$) == null ? void 0 : n.ref,
|
|
339
|
+
return i["s-hn"] = R, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = M, i["s-sn"] = l.$name$ || "", i["s-rf"] = (n = l.$attrs$) == null ? void 0 : n.ref, $ = e && e.$children$ && e.$children$[s], $ && $.$tag$ === l.$tag$ && e.$elm$ && O(e.$elm$, !1)), i;
|
|
332
340
|
}, O = (e, t) => {
|
|
333
341
|
g.$flags$ |= 1;
|
|
334
342
|
const s = Array.from(e.childNodes);
|
|
335
|
-
if (e["s-sr"] &&
|
|
343
|
+
if (e["s-sr"] && A.experimentalSlotFixes) {
|
|
336
344
|
let r = e;
|
|
337
345
|
for (; r = r.nextSibling; )
|
|
338
346
|
r && r["s-sn"] === e["s-sn"] && r["s-sh"] === R && s.push(r);
|
|
339
347
|
}
|
|
340
348
|
for (let r = s.length - 1; r >= 0; r--) {
|
|
341
349
|
const n = s[r];
|
|
342
|
-
n["s-hn"] !== R && n["s-ol"] && (
|
|
350
|
+
n["s-hn"] !== R && n["s-ol"] && (L(xe(n), n, K(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, J = !0), t && O(n, t);
|
|
343
351
|
}
|
|
344
352
|
g.$flags$ &= -2;
|
|
345
|
-
},
|
|
353
|
+
}, ke = (e, t, s, r, n, l) => {
|
|
346
354
|
let o = e["s-cr"] && e["s-cr"].parentNode || e, i;
|
|
347
355
|
for (o.shadowRoot && o.tagName === R && (o = o.shadowRoot); n <= l; ++n)
|
|
348
|
-
r[n] && (i = I(null, s, n, e), i && (r[n].$elm$ = i,
|
|
349
|
-
},
|
|
356
|
+
r[n] && (i = I(null, s, n, e), i && (r[n].$elm$ = i, L(o, i, K(t))));
|
|
357
|
+
}, Te = (e, t, s) => {
|
|
350
358
|
for (let r = t; r <= s; ++r) {
|
|
351
359
|
const n = e[r];
|
|
352
360
|
if (n) {
|
|
353
361
|
const l = n.$elm$;
|
|
354
|
-
|
|
362
|
+
we(n), l && (D = !0, l["s-ol"] ? l["s-ol"].remove() : O(l, !0), l.remove());
|
|
355
363
|
}
|
|
356
364
|
}
|
|
357
365
|
}, dt = (e, t, s, r, n = !1) => {
|
|
358
|
-
let l = 0, o = 0, i = 0, a = 0,
|
|
359
|
-
for (; l <=
|
|
360
|
-
if (
|
|
361
|
-
|
|
366
|
+
let l = 0, o = 0, i = 0, a = 0, $ = t.length - 1, c = t[0], d = t[$], f = r.length - 1, u = r[0], v = r[f], h, y;
|
|
367
|
+
for (; l <= $ && o <= f; )
|
|
368
|
+
if (c == null)
|
|
369
|
+
c = t[++l];
|
|
362
370
|
else if (d == null)
|
|
363
|
-
d = t[
|
|
371
|
+
d = t[--$];
|
|
364
372
|
else if (u == null)
|
|
365
373
|
u = r[++o];
|
|
366
374
|
else if (v == null)
|
|
367
375
|
v = r[--f];
|
|
368
|
-
else if (
|
|
369
|
-
|
|
370
|
-
else if (
|
|
371
|
-
|
|
372
|
-
else if (
|
|
373
|
-
(
|
|
374
|
-
else if (
|
|
375
|
-
(
|
|
376
|
+
else if (C(c, u, n))
|
|
377
|
+
_(c, u, n), c = t[++l], u = r[++o];
|
|
378
|
+
else if (C(d, v, n))
|
|
379
|
+
_(d, v, n), d = t[--$], v = r[--f];
|
|
380
|
+
else if (C(c, v, n))
|
|
381
|
+
(c.$tag$ === "slot" || v.$tag$ === "slot") && O(c.$elm$.parentNode, !1), _(c, v, n), L(e, c.$elm$, d.$elm$.nextSibling), c = t[++l], v = r[--f];
|
|
382
|
+
else if (C(d, u, n))
|
|
383
|
+
(c.$tag$ === "slot" || v.$tag$ === "slot") && O(d.$elm$.parentNode, !1), _(d, u, n), L(e, d.$elm$, c.$elm$), d = t[--$], u = r[++o];
|
|
376
384
|
else {
|
|
377
|
-
for (i = -1, a = l; a <=
|
|
385
|
+
for (i = -1, a = l; a <= $; ++a)
|
|
378
386
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
|
379
387
|
i = a;
|
|
380
388
|
break;
|
|
381
389
|
}
|
|
382
|
-
i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = I(t && t[o], s, i, e) : (
|
|
390
|
+
i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = I(t && t[o], s, i, e) : (_(y, u, n), t[i] = void 0, h = y.$elm$), u = r[++o]) : (h = I(t && t[o], s, o, e), u = r[++o]), h && L(xe(c.$elm$), h, K(c.$elm$));
|
|
383
391
|
}
|
|
384
|
-
l >
|
|
392
|
+
l > $ ? ke(
|
|
385
393
|
e,
|
|
386
394
|
r[f + 1] == null ? null : r[f + 1].$elm$,
|
|
387
395
|
s,
|
|
388
396
|
r,
|
|
389
397
|
o,
|
|
390
398
|
f
|
|
391
|
-
) : o > f &&
|
|
392
|
-
},
|
|
399
|
+
) : o > f && Te(t, l, $);
|
|
400
|
+
}, C = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? (
|
|
393
401
|
// The component gets hydrated and no VDOM has been initialized.
|
|
394
402
|
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
395
403
|
"$nodeId$" in e && s && // `leftNode` is not from type HTMLComment which would cause many
|
|
396
404
|
// hydration comments to be removed
|
|
397
405
|
e.$elm$.nodeType !== 8 ? !1 : e.$name$ === t.$name$
|
|
398
|
-
) : s ? !0 : e.$key$ === t.$key$ : !1, K = (e) => e && e["s-ol"] || e,
|
|
406
|
+
) : s ? !0 : e.$key$ === t.$key$ : !1, K = (e) => e && e["s-ol"] || e, xe = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, s = !1) => {
|
|
399
407
|
const r = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, o = t.$tag$, i = t.$text$;
|
|
400
408
|
let a;
|
|
401
|
-
i === null ? (S = o === "svg" ? !0 : o === "foreignObject" ? !1 : S, o === "slot" && !
|
|
409
|
+
i === null ? (S = o === "svg" ? !0 : o === "foreignObject" ? !1 : S, o === "slot" && !N || be(e, t, S), n !== null && l !== null ? dt(r, n, t, l, s) : l !== null ? (e.$text$ !== null && (r.textContent = ""), ke(r, null, t, l, 0, l.length - 1)) : (
|
|
402
410
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
403
|
-
!s &&
|
|
411
|
+
!s && A.updatable && n !== null && Te(n, 0, n.length - 1)
|
|
404
412
|
), S && o === "svg" && (S = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = i : e.$text$ !== i && (r.data = i);
|
|
405
|
-
},
|
|
413
|
+
}, Le = (e) => {
|
|
406
414
|
const t = e.childNodes;
|
|
407
415
|
for (const s of t)
|
|
408
416
|
if (s.nodeType === 1) {
|
|
@@ -422,7 +430,7 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
422
430
|
}
|
|
423
431
|
}
|
|
424
432
|
}
|
|
425
|
-
|
|
433
|
+
Le(s);
|
|
426
434
|
}
|
|
427
435
|
}, T = [], Ee = (e) => {
|
|
428
436
|
let t, s, r;
|
|
@@ -431,10 +439,10 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
431
439
|
s = t.parentNode.childNodes;
|
|
432
440
|
const l = n["s-sn"];
|
|
433
441
|
for (r = s.length - 1; r >= 0; r--)
|
|
434
|
-
if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !
|
|
442
|
+
if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !A.experimentalSlotFixes)
|
|
435
443
|
if (fe(t, l)) {
|
|
436
444
|
let o = T.find((i) => i.$nodeToRelocate$ === t);
|
|
437
|
-
|
|
445
|
+
D = !0, t["s-sn"] = t["s-sn"] || l, o ? (o.$nodeToRelocate$["s-sh"] = n["s-hn"], o.$slotRefNode$ = n) : (t["s-sh"] = n["s-hn"], T.push({
|
|
438
446
|
$slotRefNode$: n,
|
|
439
447
|
$nodeToRelocate$: t
|
|
440
448
|
})), t["s-sr"] && T.map((i) => {
|
|
@@ -446,25 +454,25 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
446
454
|
}
|
|
447
455
|
n.nodeType === 1 && Ee(n);
|
|
448
456
|
}
|
|
449
|
-
}, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "",
|
|
450
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(
|
|
451
|
-
},
|
|
457
|
+
}, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", we = (e) => {
|
|
458
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(we);
|
|
459
|
+
}, L = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), ut = (e, t, s = !1) => {
|
|
452
460
|
var r, n, l, o;
|
|
453
|
-
const i = e.$hostElement$, a = e.$cmpMeta$,
|
|
454
|
-
if (R = i.tagName, a.$attrsToReflect$ && (
|
|
455
|
-
([d, f]) =>
|
|
456
|
-
)), s &&
|
|
457
|
-
for (const d of Object.keys(
|
|
458
|
-
i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (
|
|
459
|
-
|
|
461
|
+
const i = e.$hostElement$, a = e.$cmpMeta$, $ = e.$vnode$ || H(null, null), c = st(t) ? t : ge(null, null, t);
|
|
462
|
+
if (R = i.tagName, a.$attrsToReflect$ && (c.$attrs$ = c.$attrs$ || {}, a.$attrsToReflect$.map(
|
|
463
|
+
([d, f]) => c.$attrs$[f] = i[d]
|
|
464
|
+
)), s && c.$attrs$)
|
|
465
|
+
for (const d of Object.keys(c.$attrs$))
|
|
466
|
+
i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (c.$attrs$[d] = i[d]);
|
|
467
|
+
c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = $.$elm$ = i.shadowRoot || i, w = i["s-sc"], N = (a.$flags$ & 1) !== 0, M = i["s-cr"], D = !1, _($, c, s);
|
|
460
468
|
{
|
|
461
469
|
if (g.$flags$ |= 1, J) {
|
|
462
|
-
Ee(
|
|
470
|
+
Ee(c.$elm$);
|
|
463
471
|
for (const d of T) {
|
|
464
472
|
const f = d.$nodeToRelocate$;
|
|
465
473
|
if (!f["s-ol"]) {
|
|
466
474
|
const u = m.createTextNode("");
|
|
467
|
-
u["s-nr"] = f,
|
|
475
|
+
u["s-nr"] = f, L(f.parentNode, f["s-ol"] = u, f);
|
|
468
476
|
}
|
|
469
477
|
}
|
|
470
478
|
for (const d of T) {
|
|
@@ -487,22 +495,22 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
487
495
|
y = y.previousSibling;
|
|
488
496
|
}
|
|
489
497
|
}
|
|
490
|
-
(!h && v !== f.parentNode || f.nextSibling !== h) && f !== h && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName),
|
|
498
|
+
(!h && v !== f.parentNode || f.nextSibling !== h) && f !== h && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName), L(v, f, h), f.nodeType === 1 && (f.hidden = (l = f["s-ih"]) != null ? l : !1)), f && typeof u["s-rf"] == "function" && u["s-rf"](f);
|
|
491
499
|
} else
|
|
492
500
|
f.nodeType === 1 && (s && (f["s-ih"] = (o = f.hidden) != null ? o : !1), f.hidden = !0);
|
|
493
501
|
}
|
|
494
502
|
}
|
|
495
|
-
|
|
503
|
+
D && Le(c.$elm$), g.$flags$ &= -2, T.length = 0;
|
|
496
504
|
}
|
|
497
505
|
M = void 0;
|
|
498
|
-
},
|
|
506
|
+
}, _e = (e, t) => {
|
|
499
507
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
500
508
|
}, Z = (e, t) => {
|
|
501
509
|
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
502
510
|
e.$flags$ |= 512;
|
|
503
511
|
return;
|
|
504
512
|
}
|
|
505
|
-
return
|
|
513
|
+
return _e(e, e.$ancestorComponent$), Ge(() => pt(e, t));
|
|
506
514
|
}, pt = (e, t) => {
|
|
507
515
|
const s = e.$hostElement$, r = x("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
|
508
516
|
if (!n)
|
|
@@ -513,15 +521,15 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
513
521
|
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([o, i]) => G(n, o, i)), e.$queuedListeners$ = void 0), l = G(n, "componentWillLoad")), r(), vt(l, () => gt(e, n, t));
|
|
514
522
|
}, vt = (e, t) => ht(e) ? e.then(t).catch((s) => {
|
|
515
523
|
console.error(s), t();
|
|
516
|
-
}) : t(), ht = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", gt = (e, t, s) =>
|
|
524
|
+
}) : t(), ht = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", gt = (e, t, s) => U(void 0, null, function* () {
|
|
517
525
|
var r;
|
|
518
526
|
const n = e.$hostElement$, l = x("update", e.$cmpMeta$.$tagName$), o = n["s-rc"];
|
|
519
527
|
s && $t(e);
|
|
520
528
|
const i = x("render", e.$cmpMeta$.$tagName$);
|
|
521
529
|
yt(e, t, n, s), o && (o.map((a) => a()), n["s-rc"] = void 0), i(), l();
|
|
522
530
|
{
|
|
523
|
-
const a = (r = n["s-p"]) != null ? r : [],
|
|
524
|
-
a.length === 0 ?
|
|
531
|
+
const a = (r = n["s-p"]) != null ? r : [], $ = () => mt(e);
|
|
532
|
+
a.length === 0 ? $() : (Promise.all(a).then($), e.$flags$ |= 4, a.length = 0);
|
|
525
533
|
}
|
|
526
534
|
}), yt = (e, t, s, r) => {
|
|
527
535
|
try {
|
|
@@ -532,9 +540,9 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
532
540
|
return null;
|
|
533
541
|
}, mt = (e) => {
|
|
534
542
|
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = x("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
|
535
|
-
G(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64,
|
|
543
|
+
G(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, Pe(s), r(), e.$onReadyResolve$(s), l || Ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Q(() => Z(e, !1)), e.$flags$ &= -517;
|
|
536
544
|
}, Ae = (e) => {
|
|
537
|
-
|
|
545
|
+
Pe(m.documentElement), Q(() => ye(P, "appload", { detail: { namespace: He } }));
|
|
538
546
|
}, G = (e, t, s) => {
|
|
539
547
|
if (e && e[t])
|
|
540
548
|
try {
|
|
@@ -542,19 +550,19 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
542
550
|
} catch (r) {
|
|
543
551
|
b(r);
|
|
544
552
|
}
|
|
545
|
-
},
|
|
553
|
+
}, Pe = (e) => {
|
|
546
554
|
var t;
|
|
547
|
-
return e.classList.add((t =
|
|
548
|
-
}, St = (e, t) =>
|
|
549
|
-
const n =
|
|
555
|
+
return e.classList.add((t = A.hydratedSelectorName) != null ? t : "hydrated");
|
|
556
|
+
}, St = (e, t) => E(e).$instanceValues$.get(t), bt = (e, t, s, r) => {
|
|
557
|
+
const n = E(e);
|
|
550
558
|
if (!n)
|
|
551
559
|
throw new Error(
|
|
552
560
|
`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).`
|
|
553
561
|
);
|
|
554
562
|
const l = n.$hostElement$, o = n.$instanceValues$.get(t), i = n.$flags$, a = n.$lazyInstance$;
|
|
555
563
|
s = lt(s, r.$members$[t][0]);
|
|
556
|
-
const
|
|
557
|
-
if ((!(i & 8) || o === void 0) &&
|
|
564
|
+
const $ = Number.isNaN(o) && Number.isNaN(s), c = s !== o && !$;
|
|
565
|
+
if ((!(i & 8) || o === void 0) && c && (n.$instanceValues$.set(t, s), a)) {
|
|
558
566
|
if (r.$watchers$ && i & 128) {
|
|
559
567
|
const d = r.$watchers$[t];
|
|
560
568
|
d && d.map((f) => {
|
|
@@ -567,7 +575,7 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
567
575
|
}
|
|
568
576
|
(i & 18) === 2 && Z(n, !1);
|
|
569
577
|
}
|
|
570
|
-
},
|
|
578
|
+
}, Re = (e, t, s) => {
|
|
571
579
|
var r, n;
|
|
572
580
|
const l = e.prototype;
|
|
573
581
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
@@ -578,79 +586,79 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
578
586
|
get() {
|
|
579
587
|
return St(this, i);
|
|
580
588
|
},
|
|
581
|
-
set(
|
|
582
|
-
bt(this, i,
|
|
589
|
+
set($) {
|
|
590
|
+
bt(this, i, $, t);
|
|
583
591
|
},
|
|
584
592
|
configurable: !0,
|
|
585
593
|
enumerable: !0
|
|
586
594
|
});
|
|
587
595
|
}), s & 1) {
|
|
588
596
|
const i = /* @__PURE__ */ new Map();
|
|
589
|
-
l.attributeChangedCallback = function(a, c
|
|
597
|
+
l.attributeChangedCallback = function(a, $, c) {
|
|
590
598
|
g.jmp(() => {
|
|
591
599
|
var d;
|
|
592
600
|
const f = i.get(a);
|
|
593
601
|
if (this.hasOwnProperty(f))
|
|
594
|
-
|
|
602
|
+
c = this[f], delete this[f];
|
|
595
603
|
else {
|
|
596
604
|
if (l.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
|
|
597
|
-
this[f] ==
|
|
605
|
+
this[f] == c)
|
|
598
606
|
return;
|
|
599
607
|
if (f == null) {
|
|
600
|
-
const u =
|
|
601
|
-
if (v && !(v & 8) && v & 128 &&
|
|
608
|
+
const u = E(this), v = u == null ? void 0 : u.$flags$;
|
|
609
|
+
if (v && !(v & 8) && v & 128 && c !== $) {
|
|
602
610
|
const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[a];
|
|
603
611
|
y == null || y.forEach((p) => {
|
|
604
|
-
h[p] != null && h[p].call(h,
|
|
612
|
+
h[p] != null && h[p].call(h, c, $, a);
|
|
605
613
|
});
|
|
606
614
|
}
|
|
607
615
|
return;
|
|
608
616
|
}
|
|
609
617
|
}
|
|
610
|
-
this[f] =
|
|
618
|
+
this[f] = c === null && typeof this[f] == "boolean" ? !1 : c;
|
|
611
619
|
});
|
|
612
620
|
}, e.observedAttributes = Array.from(
|
|
613
621
|
/* @__PURE__ */ new Set([
|
|
614
622
|
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
615
623
|
...o.filter(
|
|
616
|
-
([a,
|
|
624
|
+
([a, $]) => $[0] & 15
|
|
617
625
|
/* HasAttribute */
|
|
618
|
-
).map(([a,
|
|
619
|
-
var
|
|
620
|
-
const d =
|
|
621
|
-
return i.set(d, a),
|
|
626
|
+
).map(([a, $]) => {
|
|
627
|
+
var c;
|
|
628
|
+
const d = $[1] || a;
|
|
629
|
+
return i.set(d, a), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([a, d])), d;
|
|
622
630
|
})
|
|
623
631
|
])
|
|
624
632
|
);
|
|
625
633
|
}
|
|
626
634
|
}
|
|
627
635
|
return e;
|
|
628
|
-
}, kt = (e, t, s, r) =>
|
|
636
|
+
}, kt = (e, t, s, r) => U(void 0, null, function* () {
|
|
629
637
|
let n;
|
|
630
638
|
if (!(t.$flags$ & 32)) {
|
|
631
639
|
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
632
|
-
const a =
|
|
640
|
+
const a = qe(s);
|
|
633
641
|
if (a && "then" in a) {
|
|
634
|
-
const
|
|
635
|
-
n = yield a,
|
|
642
|
+
const c = et();
|
|
643
|
+
n = yield a, c();
|
|
636
644
|
} else
|
|
637
645
|
n = a;
|
|
638
646
|
if (!n)
|
|
639
647
|
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
640
|
-
n.isProxied || (s.$watchers$ = n.watchers,
|
|
648
|
+
n.isProxied || (s.$watchers$ = n.watchers, Re(
|
|
641
649
|
n,
|
|
642
650
|
s,
|
|
643
651
|
2
|
|
644
652
|
/* proxyState */
|
|
645
653
|
), n.isProxied = !0);
|
|
646
|
-
const
|
|
654
|
+
const $ = x("createInstance", s.$tagName$);
|
|
647
655
|
t.$flags$ |= 8;
|
|
648
656
|
try {
|
|
649
657
|
new n(t);
|
|
650
|
-
} catch (
|
|
651
|
-
b(
|
|
658
|
+
} catch (c) {
|
|
659
|
+
b(c);
|
|
652
660
|
}
|
|
653
|
-
t.$flags$ &= -9, t.$flags$ |= 128,
|
|
661
|
+
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
|
654
662
|
} else {
|
|
655
663
|
n = e.constructor;
|
|
656
664
|
const a = e.localName;
|
|
@@ -662,10 +670,10 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
662
670
|
if (n && n.style) {
|
|
663
671
|
let a;
|
|
664
672
|
typeof n.style == "string" && (a = n.style);
|
|
665
|
-
const
|
|
666
|
-
if (!
|
|
667
|
-
const
|
|
668
|
-
ot(
|
|
673
|
+
const $ = me(s);
|
|
674
|
+
if (!F.has($)) {
|
|
675
|
+
const c = x("registerStyles", s.$tagName$);
|
|
676
|
+
ot($, a, !!(s.$flags$ & 1)), c();
|
|
669
677
|
}
|
|
670
678
|
}
|
|
671
679
|
}
|
|
@@ -674,17 +682,17 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
674
682
|
}), Tt = (e) => {
|
|
675
683
|
}, xt = (e) => {
|
|
676
684
|
if (!(g.$flags$ & 1)) {
|
|
677
|
-
const t =
|
|
685
|
+
const t = E(e), s = t.$cmpMeta$, r = x("connectedCallback", s.$tagName$);
|
|
678
686
|
if (t.$flags$ & 1)
|
|
679
|
-
|
|
687
|
+
Oe(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Tt());
|
|
680
688
|
else {
|
|
681
689
|
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
682
|
-
s.$flags$ & 12 &&
|
|
690
|
+
s.$flags$ & 12 && Lt(e);
|
|
683
691
|
{
|
|
684
692
|
let n = e;
|
|
685
693
|
for (; n = n.parentNode || n.host; )
|
|
686
694
|
if (n["s-p"]) {
|
|
687
|
-
|
|
695
|
+
_e(t, t.$ancestorComponent$ = n);
|
|
688
696
|
break;
|
|
689
697
|
}
|
|
690
698
|
}
|
|
@@ -697,20 +705,20 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
697
705
|
}
|
|
698
706
|
r();
|
|
699
707
|
}
|
|
700
|
-
},
|
|
708
|
+
}, Lt = (e) => {
|
|
701
709
|
const t = e["s-cr"] = m.createComment(
|
|
702
710
|
""
|
|
703
711
|
);
|
|
704
|
-
t["s-cn"] = !0,
|
|
705
|
-
},
|
|
706
|
-
}, wt = (e) =>
|
|
712
|
+
t["s-cn"] = !0, L(e, t, e.firstChild);
|
|
713
|
+
}, Et = (e) => {
|
|
714
|
+
}, wt = (e) => U(void 0, null, function* () {
|
|
707
715
|
if (!(g.$flags$ & 1)) {
|
|
708
|
-
const t =
|
|
709
|
-
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() =>
|
|
716
|
+
const t = E(e);
|
|
717
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Et());
|
|
710
718
|
}
|
|
711
|
-
}),
|
|
719
|
+
}), Ct = (e, t = {}) => {
|
|
712
720
|
var s;
|
|
713
|
-
const r = x(), n = [], l = t.exclude || [], o = P.customElements, i = m.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"),
|
|
721
|
+
const r = x(), n = [], l = t.exclude || [], o = P.customElements, i = m.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
|
|
714
722
|
let d, f = !0;
|
|
715
723
|
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
716
724
|
let u = !1;
|
|
@@ -724,10 +732,10 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
724
732
|
$listeners$: h[3]
|
|
725
733
|
};
|
|
726
734
|
p.$flags$ & 4 && (u = !0), p.$members$ = h[2], p.$listeners$ = h[3], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
|
|
727
|
-
const
|
|
735
|
+
const j = p.$tagName$, je = class extends HTMLElement {
|
|
728
736
|
// StencilLazyHost
|
|
729
737
|
constructor(k) {
|
|
730
|
-
if (super(k), this.hasRegisteredEventListeners = !1, k = this,
|
|
738
|
+
if (super(k), this.hasRegisteredEventListeners = !1, k = this, Ie(k, p), p.$flags$ & 1) {
|
|
731
739
|
if (!k.shadowRoot)
|
|
732
740
|
k.attachShadow({ mode: "open" });
|
|
733
741
|
else if (k.shadowRoot.mode !== "open")
|
|
@@ -737,55 +745,55 @@ var w, M, R, D = !1, H = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
737
745
|
}
|
|
738
746
|
}
|
|
739
747
|
connectedCallback() {
|
|
740
|
-
const k =
|
|
741
|
-
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0,
|
|
748
|
+
const k = E(this);
|
|
749
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Oe(this, k, p.$listeners$)), d && (clearTimeout(d), d = null), f ? c.push(this) : g.jmp(() => xt(this));
|
|
742
750
|
}
|
|
743
751
|
disconnectedCallback() {
|
|
744
752
|
g.jmp(() => wt(this));
|
|
745
753
|
}
|
|
746
754
|
componentOnReady() {
|
|
747
|
-
return
|
|
755
|
+
return E(this).$onReadyPromise$;
|
|
748
756
|
}
|
|
749
757
|
};
|
|
750
|
-
p.$lazyBundleId$ = v[0], !l.includes(
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
758
|
+
p.$lazyBundleId$ = v[0], !l.includes(j) && !o.get(j) && (n.push(j), o.define(
|
|
759
|
+
j,
|
|
760
|
+
Re(
|
|
761
|
+
je,
|
|
754
762
|
p,
|
|
755
763
|
1
|
|
756
764
|
/* isElementConstructor */
|
|
757
765
|
)
|
|
758
766
|
));
|
|
759
767
|
});
|
|
760
|
-
}), n.length > 0 && (u && (
|
|
761
|
-
|
|
762
|
-
const v = (s = g.$nonce$) != null ? s :
|
|
763
|
-
v != null &&
|
|
768
|
+
}), n.length > 0 && (u && ($.textContent += de), $.textContent += n.sort() + Be, $.innerHTML.length)) {
|
|
769
|
+
$.setAttribute("data-styles", "");
|
|
770
|
+
const v = (s = g.$nonce$) != null ? s : ve(m);
|
|
771
|
+
v != null && $.setAttribute("nonce", v), i.insertBefore($, a ? a.nextSibling : i.firstChild);
|
|
764
772
|
}
|
|
765
|
-
f = !1,
|
|
766
|
-
},
|
|
773
|
+
f = !1, c.length ? c.map((v) => v.connectedCallback()) : g.jmp(() => d = setTimeout(Ae, 30)), r();
|
|
774
|
+
}, Ft = (e, t) => t, Oe = (e, t, s, r) => {
|
|
767
775
|
s && s.map(([n, l, o]) => {
|
|
768
|
-
const i =
|
|
769
|
-
g.ael(i, l, a,
|
|
776
|
+
const i = At(e, n), a = _t(t, o), $ = Pt(n);
|
|
777
|
+
g.ael(i, l, a, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(i, l, a, $));
|
|
770
778
|
});
|
|
771
|
-
},
|
|
779
|
+
}, _t = (e, t) => (s) => {
|
|
772
780
|
var r;
|
|
773
781
|
try {
|
|
774
782
|
e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
|
|
775
783
|
} catch (n) {
|
|
776
784
|
b(n);
|
|
777
785
|
}
|
|
778
|
-
},
|
|
786
|
+
}, At = (e, t) => t & 8 ? P : e, Pt = (e) => ze ? {
|
|
779
787
|
passive: (e & 1) !== 0,
|
|
780
788
|
capture: (e & 2) !== 0
|
|
781
789
|
} : (e & 2) !== 0;
|
|
782
790
|
export {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
791
|
+
Ft as F,
|
|
792
|
+
jt as a,
|
|
793
|
+
Ct as b,
|
|
794
|
+
Ut as c,
|
|
787
795
|
at as g,
|
|
788
|
-
|
|
789
|
-
|
|
796
|
+
ge as h,
|
|
797
|
+
We as p,
|
|
790
798
|
Ot as r
|
|
791
799
|
};
|