@everymatrix/casino-header-controller-nd 1.55.0 → 1.56.2
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-8seLiXmp.cjs +18 -0
- package/components/CasinoHamburgerMenuNd-BvmRFsu7.js +5542 -0
- package/components/CasinoHamburgerMenuNd-DGN7EsHe.js +5504 -0
- package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-BFwMTQlj.js} +440 -388
- package/components/CasinoHeaderControllerNd-DxziYBrY.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-R-kFatWM.js} +467 -415
- package/components/PlayerAccountBalanceModalNd-Ci4zwRQC.cjs +13 -0
- package/components/PlayerAccountBalanceModalNd-G0n55uX9.js +1556 -0
- package/components/PlayerAccountBalanceModalNd-fSik9FVK.js +1585 -0
- package/components/PlayerDeposit-CDEpMktB.cjs +1 -0
- package/components/{PlayerDeposit-B0r58Ypp.js → PlayerDeposit-CpAynRtY.js} +132 -155
- package/components/{PlayerDeposit-BkVMpjA9.js → PlayerDeposit-u2QzJGcf.js} +132 -155
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/gamification-dropdown-9a68cf16-7PS2vA4O.cjs +1 -0
- package/stencil/gamification-dropdown-9a68cf16-Bd8AEA_I.js +126 -0
- package/stencil/gamification-dropdown-9a68cf16-CDMvtG1f.js +144 -0
- package/stencil/gamification-dropdown-CojpbTti.js +7 -0
- package/stencil/gamification-dropdown-NgRvuRBE.cjs +1 -0
- package/stencil/gamification-dropdown-i5eJXGuY.js +25 -0
- package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-BRago1OR.js} +5 -5
- package/stencil/{gamification-dropdown_4-DNV5b4s7.cjs → gamification-dropdown_4-CiaqcflT.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-DqaEtPzl.js} +5 -5
- package/stencil/{index-171550cf-CVTOm2AV.js → index-da41a34a-0vLzR_8F.js} +223 -243
- package/stencil/index-da41a34a-BnGk2l-N.cjs +1 -0
- package/stencil/index-da41a34a-C4WSJVDb.js +752 -0
- package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-B7TL-o1l.js} +2 -2
- package/stencil/{player-elevate-card-CW-95gEJ.cjs → player-elevate-card-Bm091yVi.cjs} +1 -1
- package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-DmRrh482.js} +2 -2
- package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-6cc8ac45-BfmKEcUt.js} +5 -3
- package/stencil/{player-elevate-card-items-2078bd83-DSxFMBLz.cjs → player-elevate-card-items-6cc8ac45-GxnGOUPb.cjs} +1 -1
- package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-6cc8ac45-mLBMGL3X.js} +5 -3
- package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-CAfNwafS.js} +2 -2
- package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-DBDs-BP8.js} +2 -2
- package/stencil/{player-elevate-pointcard-DVgy3cq3.cjs → player-elevate-pointcard-DMCyU0XL.cjs} +1 -1
- package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
- package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
- package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
- package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
- package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
- package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
- package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
- package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
- package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
- package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
- package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
- package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
- package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ne = Object.defineProperty;
|
|
2
2
|
var V = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var ee = (e, t, s) => t in e ?
|
|
3
|
+
var je = Object.prototype.hasOwnProperty, Ue = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var ee = (e, t, s) => t in e ? Ne(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
|
+
je.call(t, s) && ee(e, s, t[s]);
|
|
7
7
|
if (V)
|
|
8
8
|
for (var s of V(t))
|
|
9
|
-
|
|
9
|
+
Ue.call(t, s) && ee(e, s, t[s]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var N = (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 (c) {
|
|
17
|
+
n(c);
|
|
18
18
|
}
|
|
19
19
|
}, o = (a) => {
|
|
20
20
|
try {
|
|
21
21
|
i(s.throw(a));
|
|
22
|
-
} catch (
|
|
23
|
-
n(
|
|
22
|
+
} catch (c) {
|
|
23
|
+
n(c);
|
|
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 Fe = "gamification-dropdown", z = (
|
|
29
29
|
/* gamification-dropdown */
|
|
30
|
-
{ allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !
|
|
30
|
+
{ allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, 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 Ie = Object.defineProperty, De = (e, t) => {
|
|
33
33
|
for (var s in t)
|
|
34
|
-
|
|
35
|
-
}, X = /* @__PURE__ */ new WeakMap(), E = (e) => X.get(e),
|
|
34
|
+
Ie(e, s, { get: t[s], enumerable: !0 });
|
|
35
|
+
}, X = /* @__PURE__ */ new WeakMap(), E = (e) => X.get(e), Rt = (e, t) => X.set(t.$lazyInstance$ = e, t), He = (e, t) => {
|
|
36
36
|
const s = {
|
|
37
37
|
$flags$: 0,
|
|
38
38
|
$hostElement$: e,
|
|
@@ -40,30 +40,30 @@ var Ne = 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), B = /* @__PURE__ */ new Map(), ze = (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 = B.get(n);
|
|
48
48
|
if (l)
|
|
49
49
|
return l[r];
|
|
50
50
|
{
|
|
51
|
-
const o = (i) => (
|
|
51
|
+
const o = (i) => (B.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-DqaEtPzl.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-DmRrh482.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-DBDs-BP8.js"
|
|
67
67
|
).then(o, b);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -73,8 +73,8 @@ var Ne = 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) => (B.set(n, o), o[r]), b);
|
|
77
|
+
}, U = /* @__PURE__ */ new Map(), Be = "{visibility:hidden}.hydrated{visibility:inherit}", ue = "slot-fb{display:contents}slot-fb[hidden]{display:none}", A = typeof window != "undefined" ? window : {}, m = A.document || { head: {} }, g = {
|
|
78
78
|
$flags$: 0,
|
|
79
79
|
$resourcesUrl$: "",
|
|
80
80
|
jmp: (e) => e(),
|
|
@@ -82,7 +82,7 @@ var Ne = 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
|
+
}, qe = /* @__PURE__ */ (() => {
|
|
86
86
|
let e = !1;
|
|
87
87
|
try {
|
|
88
88
|
m.addEventListener(
|
|
@@ -97,14 +97,14 @@ var Ne = Object.defineProperty, De = (e, t) => {
|
|
|
97
97
|
} catch (t) {
|
|
98
98
|
}
|
|
99
99
|
return e;
|
|
100
|
-
})(), We = (e) => Promise.resolve(e),
|
|
100
|
+
})(), We = (e) => Promise.resolve(e), Me = /* @__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
|
+
})(), q = !1, re = [], pe = [], Ge = (e, t) => (s) => {
|
|
107
|
+
e.push(s), q || (q = !0, g.$flags$ & 4 ? Q(W) : g.raf(W));
|
|
108
108
|
}, ne = (e) => {
|
|
109
109
|
for (let t = 0; t < e.length; t++)
|
|
110
110
|
try {
|
|
@@ -113,25 +113,25 @@ var Ne = Object.defineProperty, De = (e, t) => {
|
|
|
113
113
|
b(s);
|
|
114
114
|
}
|
|
115
115
|
e.length = 0;
|
|
116
|
-
},
|
|
117
|
-
ne(re), ne(pe), (
|
|
118
|
-
}, Q = (e) => We().then(e),
|
|
116
|
+
}, W = () => {
|
|
117
|
+
ne(re), ne(pe), (q = re.length > 0) && g.raf(W);
|
|
118
|
+
}, Q = (e) => We().then(e), Xe = /* @__PURE__ */ Ge(pe), Ct = (e) => {
|
|
119
119
|
const t = new URL(e, g.$resourcesUrl$);
|
|
120
|
-
return t.origin !==
|
|
121
|
-
}, le = {},
|
|
120
|
+
return t.origin !== A.location.origin ? t.href : t.pathname;
|
|
121
|
+
}, le = {}, Qe = "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");
|
|
122
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
|
-
var
|
|
127
|
-
De(
|
|
126
|
+
var Ke = {};
|
|
127
|
+
De(Ke, {
|
|
128
128
|
err: () => he,
|
|
129
|
-
map: () =>
|
|
130
|
-
ok: () =>
|
|
131
|
-
unwrap: () =>
|
|
132
|
-
unwrapErr: () =>
|
|
129
|
+
map: () => Ze,
|
|
130
|
+
ok: () => M,
|
|
131
|
+
unwrap: () => Ve,
|
|
132
|
+
unwrapErr: () => et
|
|
133
133
|
});
|
|
134
|
-
var
|
|
134
|
+
var M = (e) => ({
|
|
135
135
|
isOk: !0,
|
|
136
136
|
isErr: !1,
|
|
137
137
|
value: e
|
|
@@ -140,10 +140,10 @@ var W = (e) => ({
|
|
|
140
140
|
isErr: !0,
|
|
141
141
|
value: e
|
|
142
142
|
});
|
|
143
|
-
function
|
|
143
|
+
function Ze(e, t) {
|
|
144
144
|
if (e.isOk) {
|
|
145
145
|
const s = t(e.value);
|
|
146
|
-
return s instanceof Promise ? s.then((r) =>
|
|
146
|
+
return s instanceof Promise ? s.then((r) => M(r)) : M(s);
|
|
147
147
|
}
|
|
148
148
|
if (e.isErr) {
|
|
149
149
|
const s = e.value;
|
|
@@ -151,23 +151,23 @@ function Ke(e, t) {
|
|
|
151
151
|
}
|
|
152
152
|
throw "should never get here";
|
|
153
153
|
}
|
|
154
|
-
var
|
|
154
|
+
var Ve = (e) => {
|
|
155
155
|
if (e.isOk)
|
|
156
156
|
return e.value;
|
|
157
157
|
throw e.value;
|
|
158
|
-
},
|
|
158
|
+
}, et = (e) => {
|
|
159
159
|
if (e.isErr)
|
|
160
160
|
return e.value;
|
|
161
161
|
throw e.value;
|
|
162
162
|
}, x = (e, t = "") => () => {
|
|
163
|
-
},
|
|
163
|
+
}, tt = (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 = [], c = (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) ? c(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 ? F(null, r) : r), i = o);
|
|
169
169
|
};
|
|
170
|
-
if (
|
|
170
|
+
if (c(s), t) {
|
|
171
171
|
t.key && (n = t.key), t.name && (l = t.name);
|
|
172
172
|
{
|
|
173
173
|
const d = t.className || t.class;
|
|
@@ -178,11 +178,11 @@ var Ze = (e) => {
|
|
|
178
178
|
return e(
|
|
179
179
|
t === null ? {} : t,
|
|
180
180
|
a,
|
|
181
|
-
|
|
181
|
+
nt
|
|
182
182
|
);
|
|
183
|
-
const
|
|
184
|
-
return
|
|
185
|
-
},
|
|
183
|
+
const $ = F(e, null);
|
|
184
|
+
return $.$attrs$ = t, a.length > 0 && ($.$children$ = a), $.$key$ = n, $.$name$ = l, $;
|
|
185
|
+
}, F = (e, t) => {
|
|
186
186
|
const s = {
|
|
187
187
|
$flags$: 0,
|
|
188
188
|
$tag$: e,
|
|
@@ -191,9 +191,9 @@ var Ze = (e) => {
|
|
|
191
191
|
$children$: null
|
|
192
192
|
};
|
|
193
193
|
return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
|
|
194
|
-
},
|
|
194
|
+
}, st = {}, rt = (e) => e && e.$tag$ === st, nt = {
|
|
195
195
|
forEach: (e, t) => e.map(ae).forEach(t),
|
|
196
|
-
map: (e, t) => e.map(ae).map(t).map(
|
|
196
|
+
map: (e, t) => e.map(ae).map(t).map(lt)
|
|
197
197
|
}, ae = (e) => ({
|
|
198
198
|
vattrs: e.$attrs$,
|
|
199
199
|
vchildren: e.$children$,
|
|
@@ -201,15 +201,15 @@ var Ze = (e) => {
|
|
|
201
201
|
vname: e.$name$,
|
|
202
202
|
vtag: e.$tag$,
|
|
203
203
|
vtext: e.$text$
|
|
204
|
-
}),
|
|
204
|
+
}), lt = (e) => {
|
|
205
205
|
if (typeof e.vtag == "function") {
|
|
206
206
|
const s = te({}, e.vattrs);
|
|
207
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 = F(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
|
-
},
|
|
212
|
-
const r =
|
|
211
|
+
}, at = (e, t) => e != null && !Y(e) && t & 1 ? String(e) : e, ot = (e) => E(e).$hostElement$, Nt = (e, t, s) => {
|
|
212
|
+
const r = ot(e);
|
|
213
213
|
return {
|
|
214
214
|
emit: (n) => ye(r, t, {
|
|
215
215
|
bubbles: !!(s & 4),
|
|
@@ -221,12 +221,12 @@ var Ze = (e) => {
|
|
|
221
221
|
}, ye = (e, t, s) => {
|
|
222
222
|
const r = g.ce(t, s);
|
|
223
223
|
return e.dispatchEvent(r), r;
|
|
224
|
-
}, oe = /* @__PURE__ */ new WeakMap(),
|
|
225
|
-
let r =
|
|
226
|
-
|
|
227
|
-
},
|
|
224
|
+
}, oe = /* @__PURE__ */ new WeakMap(), it = (e, t, s) => {
|
|
225
|
+
let r = U.get(e);
|
|
226
|
+
Me && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, U.set(e, r);
|
|
227
|
+
}, $t = (e, t, s) => {
|
|
228
228
|
var r;
|
|
229
|
-
const n = me(t), l =
|
|
229
|
+
const n = me(t), l = U.get(n);
|
|
230
230
|
if (e = e.nodeType === 11 ? e : m, l)
|
|
231
231
|
if (typeof l == "string") {
|
|
232
232
|
e = e.head || e;
|
|
@@ -235,66 +235,54 @@ var Ze = (e) => {
|
|
|
235
235
|
{
|
|
236
236
|
i = m.createElement("style"), i.innerHTML = l;
|
|
237
237
|
const a = (r = g.$nonce$) != null ? r : ve(m);
|
|
238
|
-
|
|
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);
|
|
238
|
+
a != null && i.setAttribute("nonce", a), e.insertBefore(i, e.querySelector("link"));
|
|
253
239
|
}
|
|
254
|
-
t.$flags$ & 4 && (i.innerHTML +=
|
|
240
|
+
t.$flags$ & 4 && (i.innerHTML += ue), o && o.add(n);
|
|
255
241
|
}
|
|
256
|
-
} else
|
|
242
|
+
} else
|
|
243
|
+
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
|
257
244
|
return n;
|
|
258
|
-
},
|
|
259
|
-
const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = x("attachStyles", t.$tagName$), l =
|
|
245
|
+
}, ct = (e) => {
|
|
246
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = x("attachStyles", t.$tagName$), l = $t(
|
|
260
247
|
s.shadowRoot ? s.shadowRoot : s.getRootNode(),
|
|
261
248
|
t
|
|
262
249
|
);
|
|
263
|
-
r & 10 &&
|
|
250
|
+
r & 10 && (s["s-sc"] = l, s.classList.add(l + "-h")), n();
|
|
264
251
|
}, me = (e, t) => "sc-" + e.$tagName$, ie = (e, t, s, r, n, l) => {
|
|
265
252
|
if (s !== r) {
|
|
266
253
|
let o = se(e, t), i = t.toLowerCase();
|
|
267
254
|
if (t === "class") {
|
|
268
|
-
const a = e.classList,
|
|
269
|
-
a.remove(
|
|
255
|
+
const a = e.classList, c = $e(s), $ = $e(r);
|
|
256
|
+
a.remove(...c.filter((d) => d && !$.includes(d))), a.add(...$.filter((d) => d && !c.includes(d)));
|
|
270
257
|
} else if (t === "style") {
|
|
271
258
|
for (const a in s)
|
|
272
259
|
(!r || r[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
|
273
260
|
for (const a in r)
|
|
274
261
|
(!s || r[a] !== s[a]) && (a.includes("-") ? e.style.setProperty(a, r[a]) : e.style[a] = r[a]);
|
|
275
|
-
} else if (t !== "key")
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
if (t[
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
} else {
|
|
283
|
-
const a = Y(r);
|
|
284
|
-
if ((o || a && r !== null) && !n)
|
|
285
|
-
try {
|
|
286
|
-
if (e.tagName.includes("-"))
|
|
287
|
-
e[t] = r;
|
|
288
|
-
else {
|
|
289
|
-
const $ = r == null ? "" : r;
|
|
290
|
-
t === "list" ? o = !1 : (s == null || e[t] != $) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = $ : e.setAttribute(t, $));
|
|
291
|
-
}
|
|
292
|
-
} catch ($) {
|
|
262
|
+
} else if (t !== "key")
|
|
263
|
+
if (t === "ref")
|
|
264
|
+
r && r(e);
|
|
265
|
+
else if (!o && t[0] === "o" && t[1] === "n") {
|
|
266
|
+
if (t[2] === "-" ? t = t.slice(3) : se(A, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
|
|
267
|
+
const a = t.endsWith(Se);
|
|
268
|
+
t = t.replace(dt, ""), s && g.rel(e, t, s, a), r && g.ael(e, t, r, a);
|
|
293
269
|
}
|
|
294
|
-
|
|
295
|
-
|
|
270
|
+
} else {
|
|
271
|
+
const a = Y(r);
|
|
272
|
+
if ((o || a && r !== null) && !n)
|
|
273
|
+
try {
|
|
274
|
+
if (e.tagName.includes("-"))
|
|
275
|
+
e[t] = r;
|
|
276
|
+
else {
|
|
277
|
+
const c = r == null ? "" : r;
|
|
278
|
+
t === "list" ? o = !1 : (s == null || e[t] != c) && (e[t] = c);
|
|
279
|
+
}
|
|
280
|
+
} catch (c) {
|
|
281
|
+
}
|
|
282
|
+
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));
|
|
283
|
+
}
|
|
296
284
|
}
|
|
297
|
-
},
|
|
285
|
+
}, ft = /\s/, $e = (e) => e ? e.split(ft) : [], Se = "Capture", dt = new RegExp(Se + "$"), be = (e, t, s) => {
|
|
298
286
|
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || le, l = t.$attrs$ || le;
|
|
299
287
|
for (const o of ce(Object.keys(n)))
|
|
300
288
|
o in l || ie(r, o, n[o], void 0, s, t.$flags$);
|
|
@@ -310,11 +298,11 @@ function ce(e) {
|
|
|
310
298
|
e
|
|
311
299
|
);
|
|
312
300
|
}
|
|
313
|
-
var w,
|
|
301
|
+
var w, G, P, I = !1, D = !1, J = !1, S = !1, H = (e, t, s, r) => {
|
|
314
302
|
var n;
|
|
315
303
|
const l = t.$children$[s];
|
|
316
|
-
let o = 0, i, a,
|
|
317
|
-
if (
|
|
304
|
+
let o = 0, i, a, c;
|
|
305
|
+
if (I || (J = !0, l.$tag$ === "slot" && (w && r.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
|
|
318
306
|
// slot element has fallback content
|
|
319
307
|
// still create an element that "mocks" the slot element
|
|
320
308
|
2
|
|
@@ -329,31 +317,31 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
329
317
|
i = l.$elm$ = m.createTextNode("");
|
|
330
318
|
else {
|
|
331
319
|
if (S || (S = l.$tag$ === "svg"), i = l.$elm$ = m.createElementNS(
|
|
332
|
-
S ?
|
|
333
|
-
!
|
|
334
|
-
), S && l.$tag$ === "foreignObject" && (S = !1), be(null, l, S),
|
|
320
|
+
S ? Qe : Ye,
|
|
321
|
+
!I && z.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
|
|
322
|
+
), S && l.$tag$ === "foreignObject" && (S = !1), be(null, l, S), Je(w) && i["s-si"] !== w && i.classList.add(i["s-si"] = w), l.$children$)
|
|
335
323
|
for (o = 0; o < l.$children$.length; ++o)
|
|
336
|
-
a =
|
|
324
|
+
a = H(e, l, o, i), a && i.appendChild(a);
|
|
337
325
|
l.$tag$ === "svg" ? S = !1 : i.tagName === "foreignObject" && (S = !0);
|
|
338
326
|
}
|
|
339
|
-
return i["s-hn"] =
|
|
327
|
+
return i["s-hn"] = P, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = G, i["s-sn"] = l.$name$ || "", i["s-rf"] = (n = l.$attrs$) == null ? void 0 : n.ref, c = e && e.$children$ && e.$children$[s], c && c.$tag$ === l.$tag$ && e.$elm$ && O(e.$elm$, !1)), i;
|
|
340
328
|
}, O = (e, t) => {
|
|
341
329
|
g.$flags$ |= 1;
|
|
342
330
|
const s = Array.from(e.childNodes);
|
|
343
|
-
if (e["s-sr"] &&
|
|
331
|
+
if (e["s-sr"] && z.experimentalSlotFixes) {
|
|
344
332
|
let r = e;
|
|
345
333
|
for (; r = r.nextSibling; )
|
|
346
|
-
r && r["s-sn"] === e["s-sn"] && r["s-sh"] ===
|
|
334
|
+
r && r["s-sn"] === e["s-sn"] && r["s-sh"] === P && s.push(r);
|
|
347
335
|
}
|
|
348
336
|
for (let r = s.length - 1; r >= 0; r--) {
|
|
349
337
|
const n = s[r];
|
|
350
|
-
n["s-hn"] !==
|
|
338
|
+
n["s-hn"] !== P && 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);
|
|
351
339
|
}
|
|
352
340
|
g.$flags$ &= -2;
|
|
353
341
|
}, ke = (e, t, s, r, n, l) => {
|
|
354
342
|
let o = e["s-cr"] && e["s-cr"].parentNode || e, i;
|
|
355
|
-
for (o.shadowRoot && o.tagName ===
|
|
356
|
-
r[n] && (i =
|
|
343
|
+
for (o.shadowRoot && o.tagName === P && (o = o.shadowRoot); n <= l; ++n)
|
|
344
|
+
r[n] && (i = H(null, s, n, e), i && (r[n].$elm$ = i, L(o, i, K(t))));
|
|
357
345
|
}, Te = (e, t, s) => {
|
|
358
346
|
for (let r = t; r <= s; ++r) {
|
|
359
347
|
const n = e[r];
|
|
@@ -362,54 +350,45 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
362
350
|
we(n), l && (D = !0, l["s-ol"] ? l["s-ol"].remove() : O(l, !0), l.remove());
|
|
363
351
|
}
|
|
364
352
|
}
|
|
365
|
-
},
|
|
366
|
-
let l = 0, o = 0, i = 0, a = 0,
|
|
367
|
-
for (; l <=
|
|
368
|
-
if (
|
|
369
|
-
|
|
353
|
+
}, ut = (e, t, s, r, n = !1) => {
|
|
354
|
+
let l = 0, o = 0, i = 0, a = 0, c = t.length - 1, $ = t[0], d = t[c], f = r.length - 1, u = r[0], v = r[f], h, y;
|
|
355
|
+
for (; l <= c && o <= f; )
|
|
356
|
+
if ($ == null)
|
|
357
|
+
$ = t[++l];
|
|
370
358
|
else if (d == null)
|
|
371
|
-
d = t[
|
|
359
|
+
d = t[--c];
|
|
372
360
|
else if (u == null)
|
|
373
361
|
u = r[++o];
|
|
374
362
|
else if (v == null)
|
|
375
363
|
v = r[--f];
|
|
376
|
-
else if (
|
|
377
|
-
_(
|
|
378
|
-
else if (
|
|
379
|
-
_(d, v, n), d = t[
|
|
380
|
-
else if (
|
|
381
|
-
(
|
|
382
|
-
else if (
|
|
383
|
-
(
|
|
364
|
+
else if (j($, u, n))
|
|
365
|
+
_($, u, n), $ = t[++l], u = r[++o];
|
|
366
|
+
else if (j(d, v, n))
|
|
367
|
+
_(d, v, n), d = t[--c], v = r[--f];
|
|
368
|
+
else if (j($, v, n))
|
|
369
|
+
($.$tag$ === "slot" || v.$tag$ === "slot") && O($.$elm$.parentNode, !1), _($, v, n), L(e, $.$elm$, d.$elm$.nextSibling), $ = t[++l], v = r[--f];
|
|
370
|
+
else if (j(d, u, n))
|
|
371
|
+
($.$tag$ === "slot" || v.$tag$ === "slot") && O(d.$elm$.parentNode, !1), _(d, u, n), L(e, d.$elm$, $.$elm$), d = t[--c], u = r[++o];
|
|
384
372
|
else {
|
|
385
|
-
for (i = -1, a = l; a <=
|
|
373
|
+
for (i = -1, a = l; a <= c; ++a)
|
|
386
374
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
|
387
375
|
i = a;
|
|
388
376
|
break;
|
|
389
377
|
}
|
|
390
|
-
i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h =
|
|
378
|
+
i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = H(t && t[o], s, i, e) : (_(y, u, n), t[i] = void 0, h = y.$elm$), u = r[++o]) : (h = H(t && t[o], s, o, e), u = r[++o]), h && L(xe($.$elm$), h, K($.$elm$));
|
|
391
379
|
}
|
|
392
|
-
l >
|
|
380
|
+
l > c ? ke(
|
|
393
381
|
e,
|
|
394
382
|
r[f + 1] == null ? null : r[f + 1].$elm$,
|
|
395
383
|
s,
|
|
396
384
|
r,
|
|
397
385
|
o,
|
|
398
386
|
f
|
|
399
|
-
) : o > f && Te(t, l,
|
|
400
|
-
},
|
|
401
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
402
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
403
|
-
"$nodeId$" in e && s && // `leftNode` is not from type HTMLComment which would cause many
|
|
404
|
-
// hydration comments to be removed
|
|
405
|
-
e.$elm$.nodeType !== 8 ? !1 : e.$name$ === t.$name$
|
|
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) => {
|
|
387
|
+
) : o > f && Te(t, l, c);
|
|
388
|
+
}, j = (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, xe = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, s = !1) => {
|
|
407
389
|
const r = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, o = t.$tag$, i = t.$text$;
|
|
408
390
|
let a;
|
|
409
|
-
i === null ? (S = o === "svg" ? !0 : o === "foreignObject" ? !1 : S, o === "slot" && !
|
|
410
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
411
|
-
!s && A.updatable && n !== null && Te(n, 0, n.length - 1)
|
|
412
|
-
), S && o === "svg" && (S = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = i : e.$text$ !== i && (r.data = i);
|
|
391
|
+
i === null ? (S = o === "svg" ? !0 : o === "foreignObject" ? !1 : S, o === "slot" && !I || be(e, t, S), n !== null && l !== null ? ut(r, n, t, l, s) : l !== null ? (e.$text$ !== null && (r.textContent = ""), ke(r, null, t, l, 0, l.length - 1)) : n !== null && Te(n, 0, n.length - 1), S && o === "svg" && (S = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = i : e.$text$ !== i && (r.data = i);
|
|
413
392
|
}, Le = (e) => {
|
|
414
393
|
const t = e.childNodes;
|
|
415
394
|
for (const s of t)
|
|
@@ -439,7 +418,7 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
439
418
|
s = t.parentNode.childNodes;
|
|
440
419
|
const l = n["s-sn"];
|
|
441
420
|
for (r = s.length - 1; r >= 0; r--)
|
|
442
|
-
if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !
|
|
421
|
+
if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !z.experimentalSlotFixes)
|
|
443
422
|
if (fe(t, l)) {
|
|
444
423
|
let o = T.find((i) => i.$nodeToRelocate$ === t);
|
|
445
424
|
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({
|
|
@@ -448,26 +427,27 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
448
427
|
})), t["s-sr"] && T.map((i) => {
|
|
449
428
|
fe(i.$nodeToRelocate$, t["s-sn"]) && (o = T.find((a) => a.$nodeToRelocate$ === t), o && !i.$slotRefNode$ && (i.$slotRefNode$ = o.$slotRefNode$));
|
|
450
429
|
});
|
|
451
|
-
} else
|
|
452
|
-
$
|
|
453
|
-
|
|
430
|
+
} else
|
|
431
|
+
T.some((o) => o.$nodeToRelocate$ === t) || T.push({
|
|
432
|
+
$nodeToRelocate$: t
|
|
433
|
+
});
|
|
454
434
|
}
|
|
455
435
|
n.nodeType === 1 && Ee(n);
|
|
456
436
|
}
|
|
457
437
|
}, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", we = (e) => {
|
|
458
438
|
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),
|
|
439
|
+
}, L = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), pt = (e, t, s = !1) => {
|
|
460
440
|
var r, n, l, o;
|
|
461
|
-
const i = e.$hostElement$, a = e.$cmpMeta$,
|
|
462
|
-
if (
|
|
463
|
-
([d, f]) =>
|
|
464
|
-
)), s &&
|
|
465
|
-
for (const d of Object.keys(
|
|
466
|
-
i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (
|
|
467
|
-
|
|
441
|
+
const i = e.$hostElement$, a = e.$cmpMeta$, c = e.$vnode$ || F(null, null), $ = rt(t) ? t : ge(null, null, t);
|
|
442
|
+
if (P = i.tagName, a.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, a.$attrsToReflect$.map(
|
|
443
|
+
([d, f]) => $.$attrs$[f] = i[d]
|
|
444
|
+
)), s && $.$attrs$)
|
|
445
|
+
for (const d of Object.keys($.$attrs$))
|
|
446
|
+
i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && ($.$attrs$[d] = i[d]);
|
|
447
|
+
$.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i, w = i["s-sc"], I = (a.$flags$ & 1) !== 0, G = i["s-cr"], D = !1, _(c, $, s);
|
|
468
448
|
{
|
|
469
449
|
if (g.$flags$ |= 1, J) {
|
|
470
|
-
Ee(
|
|
450
|
+
Ee($.$elm$);
|
|
471
451
|
for (const d of T) {
|
|
472
452
|
const f = d.$nodeToRelocate$;
|
|
473
453
|
if (!f["s-ol"]) {
|
|
@@ -500,9 +480,9 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
500
480
|
f.nodeType === 1 && (s && (f["s-ih"] = (o = f.hidden) != null ? o : !1), f.hidden = !0);
|
|
501
481
|
}
|
|
502
482
|
}
|
|
503
|
-
D && Le(
|
|
483
|
+
D && Le($.$elm$), g.$flags$ &= -2, T.length = 0;
|
|
504
484
|
}
|
|
505
|
-
|
|
485
|
+
G = void 0;
|
|
506
486
|
}, _e = (e, t) => {
|
|
507
487
|
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
|
508
488
|
}, Z = (e, t) => {
|
|
@@ -510,40 +490,40 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
510
490
|
e.$flags$ |= 512;
|
|
511
491
|
return;
|
|
512
492
|
}
|
|
513
|
-
return _e(e, e.$ancestorComponent$),
|
|
514
|
-
},
|
|
493
|
+
return _e(e, e.$ancestorComponent$), Xe(() => vt(e, t));
|
|
494
|
+
}, vt = (e, t) => {
|
|
515
495
|
const s = e.$hostElement$, r = x("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
|
516
496
|
if (!n)
|
|
517
497
|
throw new Error(
|
|
518
498
|
`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
499
|
);
|
|
520
500
|
let l;
|
|
521
|
-
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([o, i]) =>
|
|
522
|
-
},
|
|
501
|
+
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([o, i]) => R(n, o, i)), e.$queuedListeners$ = void 0), l = R(n, "componentWillLoad")), r(), ht(l, () => yt(e, n, t));
|
|
502
|
+
}, ht = (e, t) => gt(e) ? e.then(t).catch((s) => {
|
|
523
503
|
console.error(s), t();
|
|
524
|
-
}) : t(),
|
|
504
|
+
}) : t(), gt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", yt = (e, t, s) => N(void 0, null, function* () {
|
|
525
505
|
var r;
|
|
526
506
|
const n = e.$hostElement$, l = x("update", e.$cmpMeta$.$tagName$), o = n["s-rc"];
|
|
527
|
-
s &&
|
|
507
|
+
s && ct(e);
|
|
528
508
|
const i = x("render", e.$cmpMeta$.$tagName$);
|
|
529
|
-
|
|
509
|
+
mt(e, t, n, s), o && (o.map((a) => a()), n["s-rc"] = void 0), i(), l();
|
|
530
510
|
{
|
|
531
|
-
const a = (r = n["s-p"]) != null ? r : [],
|
|
532
|
-
a.length === 0 ?
|
|
511
|
+
const a = (r = n["s-p"]) != null ? r : [], c = () => St(e);
|
|
512
|
+
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
|
533
513
|
}
|
|
534
|
-
}),
|
|
514
|
+
}), mt = (e, t, s, r) => {
|
|
535
515
|
try {
|
|
536
|
-
t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2,
|
|
516
|
+
t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, pt(e, t, r);
|
|
537
517
|
} catch (n) {
|
|
538
518
|
b(n, e.$hostElement$);
|
|
539
519
|
}
|
|
540
520
|
return null;
|
|
541
|
-
},
|
|
521
|
+
}, St = (e) => {
|
|
542
522
|
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = x("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
|
543
|
-
|
|
523
|
+
R(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, Pe(s), R(n, "componentDidLoad"), r(), e.$onReadyResolve$(s), l || Ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Q(() => Z(e, !1)), e.$flags$ &= -517;
|
|
544
524
|
}, Ae = (e) => {
|
|
545
|
-
Pe(m.documentElement), Q(() => ye(
|
|
546
|
-
},
|
|
525
|
+
Pe(m.documentElement), Q(() => ye(A, "appload", { detail: { namespace: Fe } }));
|
|
526
|
+
}, R = (e, t, s) => {
|
|
547
527
|
if (e && e[t])
|
|
548
528
|
try {
|
|
549
529
|
return e[t](s);
|
|
@@ -552,17 +532,17 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
552
532
|
}
|
|
553
533
|
}, Pe = (e) => {
|
|
554
534
|
var t;
|
|
555
|
-
return e.classList.add((t =
|
|
556
|
-
},
|
|
535
|
+
return e.classList.add((t = z.hydratedSelectorName) != null ? t : "hydrated");
|
|
536
|
+
}, bt = (e, t) => E(e).$instanceValues$.get(t), kt = (e, t, s, r) => {
|
|
557
537
|
const n = E(e);
|
|
558
538
|
if (!n)
|
|
559
539
|
throw new Error(
|
|
560
540
|
`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).`
|
|
561
541
|
);
|
|
562
542
|
const l = n.$hostElement$, o = n.$instanceValues$.get(t), i = n.$flags$, a = n.$lazyInstance$;
|
|
563
|
-
s =
|
|
564
|
-
const
|
|
565
|
-
if ((!(i & 8) || o === void 0) &&
|
|
543
|
+
s = at(s, r.$members$[t][0]);
|
|
544
|
+
const c = Number.isNaN(o) && Number.isNaN(s), $ = s !== o && !c;
|
|
545
|
+
if ((!(i & 8) || o === void 0) && $ && (n.$instanceValues$.set(t, s), a)) {
|
|
566
546
|
if (r.$watchers$ && i & 128) {
|
|
567
547
|
const d = r.$watchers$[t];
|
|
568
548
|
d && d.map((f) => {
|
|
@@ -575,7 +555,7 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
575
555
|
}
|
|
576
556
|
(i & 18) === 2 && Z(n, !1);
|
|
577
557
|
}
|
|
578
|
-
},
|
|
558
|
+
}, Oe = (e, t, s) => {
|
|
579
559
|
var r, n;
|
|
580
560
|
const l = e.prototype;
|
|
581
561
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
@@ -584,81 +564,80 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
584
564
|
if (o.map(([i, [a]]) => {
|
|
585
565
|
(a & 31 || s & 2 && a & 32) && Object.defineProperty(l, i, {
|
|
586
566
|
get() {
|
|
587
|
-
return
|
|
567
|
+
return bt(this, i);
|
|
588
568
|
},
|
|
589
|
-
set(
|
|
590
|
-
|
|
569
|
+
set(c) {
|
|
570
|
+
kt(this, i, c, t);
|
|
591
571
|
},
|
|
592
572
|
configurable: !0,
|
|
593
573
|
enumerable: !0
|
|
594
574
|
});
|
|
595
575
|
}), s & 1) {
|
|
596
576
|
const i = /* @__PURE__ */ new Map();
|
|
597
|
-
l.attributeChangedCallback = function(a,
|
|
577
|
+
l.attributeChangedCallback = function(a, c, $) {
|
|
598
578
|
g.jmp(() => {
|
|
599
579
|
var d;
|
|
600
580
|
const f = i.get(a);
|
|
601
581
|
if (this.hasOwnProperty(f))
|
|
602
|
-
|
|
582
|
+
$ = this[f], delete this[f];
|
|
603
583
|
else {
|
|
604
|
-
if (l.hasOwnProperty(f) && typeof this[f] == "number" &&
|
|
605
|
-
this[f] == c)
|
|
584
|
+
if (l.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == $)
|
|
606
585
|
return;
|
|
607
586
|
if (f == null) {
|
|
608
587
|
const u = E(this), v = u == null ? void 0 : u.$flags$;
|
|
609
|
-
if (v && !(v & 8) && v & 128 &&
|
|
588
|
+
if (v && !(v & 8) && v & 128 && $ !== c) {
|
|
610
589
|
const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[a];
|
|
611
590
|
y == null || y.forEach((p) => {
|
|
612
|
-
h[p] != null && h[p].call(h, c,
|
|
591
|
+
h[p] != null && h[p].call(h, $, c, a);
|
|
613
592
|
});
|
|
614
593
|
}
|
|
615
594
|
return;
|
|
616
595
|
}
|
|
617
596
|
}
|
|
618
|
-
this[f] =
|
|
597
|
+
this[f] = $ === null && typeof this[f] == "boolean" ? !1 : $;
|
|
619
598
|
});
|
|
620
599
|
}, e.observedAttributes = Array.from(
|
|
621
600
|
/* @__PURE__ */ new Set([
|
|
622
601
|
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
|
623
602
|
...o.filter(
|
|
624
|
-
([a,
|
|
603
|
+
([a, c]) => c[0] & 15
|
|
625
604
|
/* HasAttribute */
|
|
626
|
-
).map(([a,
|
|
627
|
-
var
|
|
628
|
-
const d =
|
|
629
|
-
return i.set(d, a),
|
|
605
|
+
).map(([a, c]) => {
|
|
606
|
+
var $;
|
|
607
|
+
const d = c[1] || a;
|
|
608
|
+
return i.set(d, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, d])), d;
|
|
630
609
|
})
|
|
631
610
|
])
|
|
632
611
|
);
|
|
633
612
|
}
|
|
634
613
|
}
|
|
635
614
|
return e;
|
|
636
|
-
},
|
|
615
|
+
}, Tt = (e, t, s, r) => N(void 0, null, function* () {
|
|
637
616
|
let n;
|
|
638
617
|
if (!(t.$flags$ & 32)) {
|
|
639
618
|
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
640
|
-
const a =
|
|
619
|
+
const a = ze(s);
|
|
641
620
|
if (a && "then" in a) {
|
|
642
|
-
const
|
|
643
|
-
n = yield a,
|
|
621
|
+
const $ = tt();
|
|
622
|
+
n = yield a, $();
|
|
644
623
|
} else
|
|
645
624
|
n = a;
|
|
646
625
|
if (!n)
|
|
647
626
|
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
648
|
-
n.isProxied || (s.$watchers$ = n.watchers,
|
|
627
|
+
n.isProxied || (s.$watchers$ = n.watchers, Oe(
|
|
649
628
|
n,
|
|
650
629
|
s,
|
|
651
630
|
2
|
|
652
631
|
/* proxyState */
|
|
653
632
|
), n.isProxied = !0);
|
|
654
|
-
const
|
|
633
|
+
const c = x("createInstance", s.$tagName$);
|
|
655
634
|
t.$flags$ |= 8;
|
|
656
635
|
try {
|
|
657
636
|
new n(t);
|
|
658
|
-
} catch (
|
|
659
|
-
b(
|
|
637
|
+
} catch ($) {
|
|
638
|
+
b($);
|
|
660
639
|
}
|
|
661
|
-
t.$flags$ &= -9, t.$flags$ |= 128,
|
|
640
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
662
641
|
} else {
|
|
663
642
|
n = e.constructor;
|
|
664
643
|
const a = e.localName;
|
|
@@ -670,24 +649,24 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
670
649
|
if (n && n.style) {
|
|
671
650
|
let a;
|
|
672
651
|
typeof n.style == "string" && (a = n.style);
|
|
673
|
-
const
|
|
674
|
-
if (!
|
|
675
|
-
const
|
|
676
|
-
|
|
652
|
+
const c = me(s);
|
|
653
|
+
if (!U.has(c)) {
|
|
654
|
+
const $ = x("registerStyles", s.$tagName$);
|
|
655
|
+
it(c, a, !!(s.$flags$ & 1)), $();
|
|
677
656
|
}
|
|
678
657
|
}
|
|
679
658
|
}
|
|
680
659
|
const l = t.$ancestorComponent$, o = () => Z(t, !0);
|
|
681
660
|
l && l["s-rc"] ? l["s-rc"].push(o) : o();
|
|
682
|
-
}),
|
|
683
|
-
},
|
|
661
|
+
}), xt = (e) => {
|
|
662
|
+
}, Lt = (e) => {
|
|
684
663
|
if (!(g.$flags$ & 1)) {
|
|
685
664
|
const t = E(e), s = t.$cmpMeta$, r = x("connectedCallback", s.$tagName$);
|
|
686
665
|
if (t.$flags$ & 1)
|
|
687
|
-
|
|
666
|
+
Re(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => xt());
|
|
688
667
|
else {
|
|
689
668
|
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
690
|
-
s.$flags$ & 12 &&
|
|
669
|
+
s.$flags$ & 12 && Et(e);
|
|
691
670
|
{
|
|
692
671
|
let n = e;
|
|
693
672
|
for (; n = n.parentNode || n.host; )
|
|
@@ -701,24 +680,25 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
701
680
|
const o = e[n];
|
|
702
681
|
delete e[n], e[n] = o;
|
|
703
682
|
}
|
|
704
|
-
}),
|
|
683
|
+
}), Tt(e, t, s);
|
|
705
684
|
}
|
|
706
685
|
r();
|
|
707
686
|
}
|
|
708
|
-
},
|
|
687
|
+
}, Et = (e) => {
|
|
709
688
|
const t = e["s-cr"] = m.createComment(
|
|
710
689
|
""
|
|
711
690
|
);
|
|
712
691
|
t["s-cn"] = !0, L(e, t, e.firstChild);
|
|
713
|
-
},
|
|
714
|
-
|
|
692
|
+
}, de = (e) => {
|
|
693
|
+
R(e, "disconnectedCallback");
|
|
694
|
+
}, wt = (e) => N(void 0, null, function* () {
|
|
715
695
|
if (!(g.$flags$ & 1)) {
|
|
716
696
|
const t = E(e);
|
|
717
|
-
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$
|
|
697
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? de(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => de(t.$lazyInstance$));
|
|
718
698
|
}
|
|
719
|
-
}),
|
|
699
|
+
}), jt = (e, t = {}) => {
|
|
720
700
|
var s;
|
|
721
|
-
const r = x(), n = [], l = t.exclude || [], o =
|
|
701
|
+
const r = x(), n = [], l = t.exclude || [], o = A.customElements, i = m.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
|
|
722
702
|
let d, f = !0;
|
|
723
703
|
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
|
724
704
|
let u = !1;
|
|
@@ -732,10 +712,10 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
732
712
|
$listeners$: h[3]
|
|
733
713
|
};
|
|
734
714
|
p.$flags$ & 4 && (u = !0), p.$members$ = h[2], p.$listeners$ = h[3], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
|
|
735
|
-
const
|
|
715
|
+
const C = p.$tagName$, Ce = class extends HTMLElement {
|
|
736
716
|
// StencilLazyHost
|
|
737
717
|
constructor(k) {
|
|
738
|
-
if (super(k), this.hasRegisteredEventListeners = !1, k = this,
|
|
718
|
+
if (super(k), this.hasRegisteredEventListeners = !1, k = this, He(k, p), p.$flags$ & 1) {
|
|
739
719
|
if (!k.shadowRoot)
|
|
740
720
|
k.attachShadow({ mode: "open" });
|
|
741
721
|
else if (k.shadowRoot.mode !== "open")
|
|
@@ -746,7 +726,7 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
746
726
|
}
|
|
747
727
|
connectedCallback() {
|
|
748
728
|
const k = E(this);
|
|
749
|
-
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0,
|
|
729
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Re(this, k, p.$listeners$)), d && (clearTimeout(d), d = null), f ? $.push(this) : g.jmp(() => Lt(this));
|
|
750
730
|
}
|
|
751
731
|
disconnectedCallback() {
|
|
752
732
|
g.jmp(() => wt(this));
|
|
@@ -755,26 +735,26 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
755
735
|
return E(this).$onReadyPromise$;
|
|
756
736
|
}
|
|
757
737
|
};
|
|
758
|
-
p.$lazyBundleId$ = v[0], !l.includes(
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
738
|
+
p.$lazyBundleId$ = v[0], !l.includes(C) && !o.get(C) && (n.push(C), o.define(
|
|
739
|
+
C,
|
|
740
|
+
Oe(
|
|
741
|
+
Ce,
|
|
762
742
|
p,
|
|
763
743
|
1
|
|
764
744
|
/* isElementConstructor */
|
|
765
745
|
)
|
|
766
746
|
));
|
|
767
747
|
});
|
|
768
|
-
}), n.length > 0 && (u && (
|
|
769
|
-
|
|
748
|
+
}), n.length > 0 && (u && (c.textContent += ue), c.textContent += n.sort() + Be, c.innerHTML.length)) {
|
|
749
|
+
c.setAttribute("data-styles", "");
|
|
770
750
|
const v = (s = g.$nonce$) != null ? s : ve(m);
|
|
771
|
-
v != null &&
|
|
751
|
+
v != null && c.setAttribute("nonce", v), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
|
|
772
752
|
}
|
|
773
|
-
f = !1,
|
|
774
|
-
},
|
|
753
|
+
f = !1, $.length ? $.map((v) => v.connectedCallback()) : g.jmp(() => d = setTimeout(Ae, 30)), r();
|
|
754
|
+
}, Ut = (e, t) => t, Re = (e, t, s, r) => {
|
|
775
755
|
s && s.map(([n, l, o]) => {
|
|
776
|
-
const i = At(e, n), a = _t(t, o),
|
|
777
|
-
g.ael(i, l, a,
|
|
756
|
+
const i = At(e, n), a = _t(t, o), c = Pt(n);
|
|
757
|
+
g.ael(i, l, a, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(i, l, a, c));
|
|
778
758
|
});
|
|
779
759
|
}, _t = (e, t) => (s) => {
|
|
780
760
|
var r;
|
|
@@ -783,17 +763,17 @@ var w, M, R, N = !1, D = !1, J = !1, S = !1, I = (e, t, s, r) => {
|
|
|
783
763
|
} catch (n) {
|
|
784
764
|
b(n);
|
|
785
765
|
}
|
|
786
|
-
}, At = (e, t) => t & 8 ?
|
|
766
|
+
}, At = (e, t) => t & 8 ? A : e, Pt = (e) => qe ? {
|
|
787
767
|
passive: (e & 1) !== 0,
|
|
788
768
|
capture: (e & 2) !== 0
|
|
789
769
|
} : (e & 2) !== 0;
|
|
790
770
|
export {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
771
|
+
Ut as F,
|
|
772
|
+
Ct as a,
|
|
773
|
+
jt as b,
|
|
774
|
+
Nt as c,
|
|
775
|
+
ot as g,
|
|
796
776
|
ge as h,
|
|
797
777
|
We as p,
|
|
798
|
-
|
|
778
|
+
Rt as r
|
|
799
779
|
};
|