@everymatrix/cashier-method-details 1.62.0 → 1.62.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/{CashierConfirmModal-BzyMG3UR.js → CashierConfirmModal-3pkCHAVZ.js} +33 -33
- package/components/{CashierConfirmModal-_hdnB5XT.js → CashierConfirmModal-CNzEOcOZ.js} +33 -33
- package/components/{CashierError-B6McF-k3.js → CashierError-54HEmuGo.js} +664 -660
- package/components/{CashierError-B5moVKPa.js → CashierError-BdesR9Lk.js} +663 -659
- package/components/{CashierError-CpurblKL.cjs → CashierError-DzZN_dUA.cjs} +3 -16
- package/components/{CashierHeader--Nl05VG1.js → CashierHeader-BI0hpgde.js} +38 -38
- package/components/{CashierHeader-Cl8p01HE.cjs → CashierHeader-CMk46giO.cjs} +1 -1
- package/components/{CashierHeader-DfkOztXW.js → CashierHeader-DJ5Q1vFZ.js} +38 -38
- package/components/{CashierIframeRedirect-CG-TISLS.js → CashierIframeRedirect-B_p94vZr.js} +30 -30
- package/components/{CashierIframeRedirect-DeYUvDgV.cjs → CashierIframeRedirect-Csn8eKuO.cjs} +1 -1
- package/components/{CashierIframeRedirect-Bcj_O92b.js → CashierIframeRedirect-posRqua2.js} +32 -32
- package/components/{CashierMethodDetails-liiK2Dkd.cjs → CashierMethodDetails-BWsvMub7.cjs} +1 -1
- package/components/{CashierMethodDetails-DfYB6twn.js → CashierMethodDetails-D09YxmfK.js} +55 -55
- package/components/{CashierMethodDetails-dtFzfq5E.js → CashierMethodDetails-D7zplW4u.js} +55 -55
- package/components/{CashierModal-cAadEtV9.js → CashierModal-Dv-7ZIuz.js} +34 -34
- package/components/{CashierModal-B2DUTbzl.js → CashierModal-PGQGrAgY.js} +34 -34
- package/components/{CashierNotifications-BqrU3g7B.js → CashierNotifications-BMYdcdkg.js} +19 -19
- package/components/{CashierNotifications-sCssNp8Z.js → CashierNotifications-Dy0g_QWG.js} +19 -19
- package/components/{CashierReceiptPage-mGY6IAnl.cjs → CashierReceiptPage-CZRoK15t.cjs} +1 -1
- package/components/{CashierReceiptPage-CMCjTz1a.js → CashierReceiptPage-Dj3up9w-.js} +28 -28
- package/components/{CashierReceiptPage-CVy0Rii8.js → CashierReceiptPage-hMKm4Odg.js} +28 -28
- package/components/{CashierSpinner-BMBhQseZ.js → CashierSpinner-D30EfqMz.js} +27 -27
- package/components/{CashierSpinner-D3kcfOR-.js → CashierSpinner-Dq2vgm_x.js} +27 -27
- package/es2015/cashier-method-details.cjs +1 -1
- package/es2015/cashier-method-details.js +1 -1
- package/esnext/cashier-method-details.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B8yQdy7J.js +542 -0
- package/stencil/index-97d17652-C616IYj2.js +558 -0
- package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
- package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
- package/stencil/ui-image-Bz0nQwNJ.cjs +1 -0
- package/stencil/ui-image-DX8NqsyA.js +25 -0
- package/stencil/ui-image-o9dMcntc.js +7 -0
- package/stencil/ui-image_2-BXgptLvl.js +154 -0
- package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
- package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
- package/stencil/index-b7bbd57e-6KaMTlNN.js +0 -534
- package/stencil/index-b7bbd57e-BSagye0B.js +0 -550
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CumwWbNu.js +0 -39
- package/stencil/ui-image-38c3c15f-Dxl-aZb-.js +0 -39
- package/stencil/ui-image-38c3c15f-y5t5ZLG0.cjs +0 -1
- package/stencil/ui-image-BQa5UbqU.js +0 -11
- package/stencil/ui-image-Bi4jDe3D.js +0 -29
- package/stencil/ui-image-z441BZiX.cjs +0 -1
@@ -1,534 +0,0 @@
|
|
1
|
-
const fe = "ui-image", U = (
|
2
|
-
/* ui-image */
|
3
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, 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: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !1, vdomXlink: !1, watchCallback: !0 }
|
4
|
-
);
|
5
|
-
var de = Object.defineProperty, ue = (e, t) => {
|
6
|
-
for (var r in t)
|
7
|
-
de(e, r, { get: t[r], enumerable: !0 });
|
8
|
-
}, I = /* @__PURE__ */ new WeakMap(), b = (e) => I.get(e), Ve = (e, t) => I.set(t.$lazyInstance$ = e, t), pe = (e, t) => {
|
9
|
-
const r = {
|
10
|
-
$flags$: 0,
|
11
|
-
$hostElement$: e,
|
12
|
-
$cmpMeta$: t,
|
13
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
14
|
-
};
|
15
|
-
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], I.set(e, r);
|
16
|
-
}, ve = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), me = (e, t, r) => {
|
17
|
-
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
18
|
-
if (!n)
|
19
|
-
return;
|
20
|
-
const l = O.get(n);
|
21
|
-
if (l)
|
22
|
-
return l[s];
|
23
|
-
{
|
24
|
-
const a = (i) => (O.set(n, i), i[s]);
|
25
|
-
switch (n) {
|
26
|
-
case "ui-image":
|
27
|
-
return import(
|
28
|
-
/* webpackMode: "lazy" */
|
29
|
-
"./ui-image-BQa5UbqU.js"
|
30
|
-
).then(a, k);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
return import(
|
34
|
-
/* @vite-ignore */
|
35
|
-
/* webpackInclude: /\.entry\.js$/ */
|
36
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
37
|
-
/* webpackMode: "lazy" */
|
38
|
-
`./${n}.entry.js`
|
39
|
-
).then((a) => (O.set(n, a), a[s]), k);
|
40
|
-
}, P = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, m = {
|
41
|
-
$flags$: 0,
|
42
|
-
$resourcesUrl$: "",
|
43
|
-
jmp: (e) => e(),
|
44
|
-
raf: (e) => requestAnimationFrame(e),
|
45
|
-
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
46
|
-
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
47
|
-
ce: (e, t) => new CustomEvent(e, t)
|
48
|
-
}, ge = U.shadowDom, ye = (e) => Promise.resolve(e), Se = /* @__PURE__ */ (() => {
|
49
|
-
try {
|
50
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
51
|
-
} catch {
|
52
|
-
}
|
53
|
-
return !1;
|
54
|
-
})(), _ = !1, q = [], K = [], be = (e, t) => (r) => {
|
55
|
-
e.push(r), _ || (_ = !0, m.$flags$ & 4 ? z(j) : m.raf(j));
|
56
|
-
}, N = (e) => {
|
57
|
-
for (let t = 0; t < e.length; t++)
|
58
|
-
try {
|
59
|
-
e[t](performance.now());
|
60
|
-
} catch (r) {
|
61
|
-
k(r);
|
62
|
-
}
|
63
|
-
e.length = 0;
|
64
|
-
}, j = () => {
|
65
|
-
N(q), N(K), (_ = q.length > 0) && m.raf(j);
|
66
|
-
}, z = (e) => ye().then(e), ke = /* @__PURE__ */ be(K), W = {}, H = (e) => (e = typeof e, e === "object" || e === "function");
|
67
|
-
function R(e) {
|
68
|
-
var t, r, s;
|
69
|
-
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
70
|
-
}
|
71
|
-
var Ee = {};
|
72
|
-
ue(Ee, {
|
73
|
-
err: () => X,
|
74
|
-
map: () => Te,
|
75
|
-
ok: () => C,
|
76
|
-
unwrap: () => xe,
|
77
|
-
unwrapErr: () => Le
|
78
|
-
});
|
79
|
-
var C = (e) => ({
|
80
|
-
isOk: !0,
|
81
|
-
isErr: !1,
|
82
|
-
value: e
|
83
|
-
}), X = (e) => ({
|
84
|
-
isOk: !1,
|
85
|
-
isErr: !0,
|
86
|
-
value: e
|
87
|
-
});
|
88
|
-
function Te(e, t) {
|
89
|
-
if (e.isOk) {
|
90
|
-
const r = t(e.value);
|
91
|
-
return r instanceof Promise ? r.then((s) => C(s)) : C(r);
|
92
|
-
}
|
93
|
-
if (e.isErr) {
|
94
|
-
const r = e.value;
|
95
|
-
return X(r);
|
96
|
-
}
|
97
|
-
throw "should never get here";
|
98
|
-
}
|
99
|
-
var xe = (e) => {
|
100
|
-
if (e.isOk)
|
101
|
-
return e.value;
|
102
|
-
throw e.value;
|
103
|
-
}, Le = (e) => {
|
104
|
-
if (e.isErr)
|
105
|
-
return e.value;
|
106
|
-
throw e.value;
|
107
|
-
}, S = (e, t = "") => () => {
|
108
|
-
}, Pe = (e, t) => () => {
|
109
|
-
}, we = (e, t, ...r) => {
|
110
|
-
let s = null, n = null, l = !1, a = !1;
|
111
|
-
const i = [], o = (c) => {
|
112
|
-
for (let f = 0; f < c.length; f++)
|
113
|
-
s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !H(s)) && (s = String(s)), l && a ? i[i.length - 1].$text$ += s : i.push(l ? D(null, s) : s), a = l);
|
114
|
-
};
|
115
|
-
if (o(r), t) {
|
116
|
-
t.key && (n = t.key);
|
117
|
-
{
|
118
|
-
const c = t.className || t.class;
|
119
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
120
|
-
}
|
121
|
-
}
|
122
|
-
const $ = D(e, null);
|
123
|
-
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
|
124
|
-
}, D = (e, t) => {
|
125
|
-
const r = {
|
126
|
-
$flags$: 0,
|
127
|
-
$tag$: e,
|
128
|
-
$text$: t,
|
129
|
-
$elm$: null,
|
130
|
-
$children$: null
|
131
|
-
};
|
132
|
-
return r.$attrs$ = null, r.$key$ = null, r;
|
133
|
-
}, Ae = {}, Oe = (e) => e && e.$tag$ === Ae, _e = (e, t) => e != null && !H(e) && t & 1 ? String(e) : e, et = (e) => b(e).$hostElement$, je = (e, t, r) => {
|
134
|
-
const s = m.ce(t, r);
|
135
|
-
return e.dispatchEvent(s), s;
|
136
|
-
}, M = /* @__PURE__ */ new WeakMap(), Ce = (e, t, r) => {
|
137
|
-
let s = P.get(e);
|
138
|
-
Se && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, P.set(e, s);
|
139
|
-
}, De = (e, t, r) => {
|
140
|
-
var s;
|
141
|
-
const n = Z(t), l = P.get(n);
|
142
|
-
if (e = e.nodeType === 11 ? e : y, l)
|
143
|
-
if (typeof l == "string") {
|
144
|
-
e = e.head || e;
|
145
|
-
let a = M.get(e), i;
|
146
|
-
if (a || M.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
|
147
|
-
{
|
148
|
-
i = y.createElement("style"), i.innerHTML = l;
|
149
|
-
const o = (s = m.$nonce$) != null ? s : R(y);
|
150
|
-
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
151
|
-
}
|
152
|
-
t.$flags$ & 4 && (i.innerHTML += J), a && a.add(n);
|
153
|
-
}
|
154
|
-
} else
|
155
|
-
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
156
|
-
return n;
|
157
|
-
}, Ue = (e) => {
|
158
|
-
const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
159
|
-
De(
|
160
|
-
r.getRootNode(),
|
161
|
-
t
|
162
|
-
), s();
|
163
|
-
}, Z = (e, t) => "sc-" + e.$tagName$, Q = (e, t, r, s, n, l) => {
|
164
|
-
if (r !== s) {
|
165
|
-
let a = ve(e, t);
|
166
|
-
if (t.toLowerCase(), t === "class") {
|
167
|
-
const i = e.classList, o = Y(r), $ = Y(s);
|
168
|
-
i.remove(...o.filter((c) => c && !$.includes(c))), i.add(...$.filter((c) => c && !o.includes(c)));
|
169
|
-
} else if (t === "style") {
|
170
|
-
for (const i in r)
|
171
|
-
(!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
|
172
|
-
for (const i in s)
|
173
|
-
(!r || s[i] !== r[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
|
174
|
-
} else if (t !== "key")
|
175
|
-
if (t === "ref")
|
176
|
-
s && s(e);
|
177
|
-
else {
|
178
|
-
const i = H(s);
|
179
|
-
if ((a || i && s !== null) && !n)
|
180
|
-
try {
|
181
|
-
if (e.tagName.includes("-"))
|
182
|
-
e[t] = s;
|
183
|
-
else {
|
184
|
-
const o = s ?? "";
|
185
|
-
t === "list" ? a = !1 : (r == null || e[t] != o) && (e[t] = o);
|
186
|
-
}
|
187
|
-
} catch {
|
188
|
-
}
|
189
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || l & 4 || n) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}, Ie = /\s/, Y = (e) => e ? e.split(Ie) : [], V = (e, t, r) => {
|
193
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || W, l = t.$attrs$ || W;
|
194
|
-
for (const a of G(Object.keys(n)))
|
195
|
-
a in l || Q(s, a, n[a], void 0, r, t.$flags$);
|
196
|
-
for (const a of G(Object.keys(l)))
|
197
|
-
Q(s, a, n[a], l[a], r, t.$flags$);
|
198
|
-
};
|
199
|
-
function G(e) {
|
200
|
-
return e.includes("ref") ? (
|
201
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
202
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
203
|
-
) : (
|
204
|
-
// no need to sort, return the original array
|
205
|
-
e
|
206
|
-
);
|
207
|
-
}
|
208
|
-
var ee, te = !1, se = !1, w = (e, t, r, s) => {
|
209
|
-
const n = t.$children$[r];
|
210
|
-
let l = 0, a, i;
|
211
|
-
if (a = n.$elm$ = y.createElement(
|
212
|
-
!te && U.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
|
213
|
-
), V(null, n, se), n.$children$)
|
214
|
-
for (l = 0; l < n.$children$.length; ++l)
|
215
|
-
i = w(e, n, l), i && a.appendChild(i);
|
216
|
-
return a["s-hn"] = ee, a;
|
217
|
-
}, re = (e, t, r, s, n, l) => {
|
218
|
-
let a = e, i;
|
219
|
-
for (; n <= l; ++n)
|
220
|
-
s[n] && (i = w(null, r, n), i && (s[n].$elm$ = i, L(a, i, t)));
|
221
|
-
}, ne = (e, t, r) => {
|
222
|
-
for (let s = t; s <= r; ++s) {
|
223
|
-
const n = e[s];
|
224
|
-
if (n) {
|
225
|
-
const l = n.$elm$;
|
226
|
-
le(n), l && l.remove();
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}, Be = (e, t, r, s, n = !1) => {
|
230
|
-
let l = 0, a = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], p = s[d], v, h;
|
231
|
-
for (; l <= $ && a <= d; )
|
232
|
-
if (c == null)
|
233
|
-
c = t[++l];
|
234
|
-
else if (f == null)
|
235
|
-
f = t[--$];
|
236
|
-
else if (u == null)
|
237
|
-
u = s[++a];
|
238
|
-
else if (p == null)
|
239
|
-
p = s[--d];
|
240
|
-
else if (x(c, u, n))
|
241
|
-
E(c, u, n), c = t[++l], u = s[++a];
|
242
|
-
else if (x(f, p, n))
|
243
|
-
E(f, p, n), f = t[--$], p = s[--d];
|
244
|
-
else if (x(c, p, n))
|
245
|
-
E(c, p, n), L(e, c.$elm$, f.$elm$.nextSibling), c = t[++l], p = s[--d];
|
246
|
-
else if (x(f, u, n))
|
247
|
-
E(f, u, n), L(e, f.$elm$, c.$elm$), f = t[--$], u = s[++a];
|
248
|
-
else {
|
249
|
-
for (i = -1, o = l; o <= $; ++o)
|
250
|
-
if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
|
251
|
-
i = o;
|
252
|
-
break;
|
253
|
-
}
|
254
|
-
i >= 0 ? (h = t[i], h.$tag$ !== u.$tag$ ? v = w(t && t[a], r, i) : (E(h, u, n), t[i] = void 0, v = h.$elm$), u = s[++a]) : (v = w(t && t[a], r, a), u = s[++a]), v && L(c.$elm$.parentNode, v, c.$elm$);
|
255
|
-
}
|
256
|
-
l > $ ? re(
|
257
|
-
e,
|
258
|
-
s[d + 1] == null ? null : s[d + 1].$elm$,
|
259
|
-
r,
|
260
|
-
s,
|
261
|
-
a,
|
262
|
-
d
|
263
|
-
) : a > d && ne(t, l, $);
|
264
|
-
}, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, r = !1) => {
|
265
|
-
const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$;
|
266
|
-
V(e, t, se), n !== null && l !== null ? Be(s, n, t, l, r) : l !== null ? re(s, null, t, l, 0, l.length - 1) : n !== null && ne(n, 0, n.length - 1);
|
267
|
-
}, le = (e) => {
|
268
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
|
269
|
-
}, L = (e, t, r) => e?.insertBefore(t, r), ze = (e, t, r = !1) => {
|
270
|
-
const s = e.$hostElement$, n = e.$vnode$ || D(null, null), l = Oe(t) ? t : we(null, null, t);
|
271
|
-
if (ee = s.tagName, r && l.$attrs$)
|
272
|
-
for (const a of Object.keys(l.$attrs$))
|
273
|
-
s.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (l.$attrs$[a] = s[a]);
|
274
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = n.$elm$ = s, te = ge, E(n, l, r);
|
275
|
-
}, ae = (e, t) => {
|
276
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
277
|
-
}, F = (e, t) => {
|
278
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
279
|
-
e.$flags$ |= 512;
|
280
|
-
return;
|
281
|
-
}
|
282
|
-
return ae(e, e.$ancestorComponent$), ke(() => He(e, t));
|
283
|
-
}, He = (e, t) => {
|
284
|
-
const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
285
|
-
if (!n)
|
286
|
-
throw new Error(
|
287
|
-
`Can't render component <${r.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`
|
288
|
-
);
|
289
|
-
let l;
|
290
|
-
return s(), Fe(l, () => Ne(e, n, t));
|
291
|
-
}, Fe = (e, t) => qe(e) ? e.then(t).catch((r) => {
|
292
|
-
console.error(r), t();
|
293
|
-
}) : t(), qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ne = async (e, t, r) => {
|
294
|
-
var s;
|
295
|
-
const n = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
|
296
|
-
r && Ue(e);
|
297
|
-
const i = S("render", e.$cmpMeta$.$tagName$);
|
298
|
-
We(e, t, n, r), a && (a.map((o) => o()), n["s-rc"] = void 0), i(), l();
|
299
|
-
{
|
300
|
-
const o = (s = n["s-p"]) != null ? s : [], $ = () => Me(e);
|
301
|
-
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
302
|
-
}
|
303
|
-
}, We = (e, t, r, s) => {
|
304
|
-
try {
|
305
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ze(e, t, s);
|
306
|
-
} catch (n) {
|
307
|
-
k(n, e.$hostElement$);
|
308
|
-
}
|
309
|
-
return null;
|
310
|
-
}, Me = (e) => {
|
311
|
-
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
312
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(r), Qe(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), l || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => F(e, !1)), e.$flags$ &= -517;
|
313
|
-
}, ie = (e) => {
|
314
|
-
oe(y.documentElement), z(() => je(B, "appload", { detail: { namespace: fe } }));
|
315
|
-
}, Qe = (e, t, r) => {
|
316
|
-
if (e && e[t])
|
317
|
-
try {
|
318
|
-
return e[t](r);
|
319
|
-
} catch (s) {
|
320
|
-
k(s);
|
321
|
-
}
|
322
|
-
}, oe = (e) => {
|
323
|
-
var t;
|
324
|
-
return e.classList.add((t = U.hydratedSelectorName) != null ? t : "hydrated");
|
325
|
-
}, Ye = (e, t) => b(e).$instanceValues$.get(t), Ge = (e, t, r, s) => {
|
326
|
-
const n = b(e);
|
327
|
-
if (!n)
|
328
|
-
throw new Error(
|
329
|
-
`Couldn't find host element for "${s.$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).`
|
330
|
-
);
|
331
|
-
const l = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
|
332
|
-
r = _e(r, s.$members$[t][0]);
|
333
|
-
const $ = Number.isNaN(a) && Number.isNaN(r), c = r !== a && !$;
|
334
|
-
if ((!(i & 8) || a === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
335
|
-
if (s.$watchers$ && i & 128) {
|
336
|
-
const f = s.$watchers$[t];
|
337
|
-
f && f.map((d) => {
|
338
|
-
try {
|
339
|
-
o[d](r, a, t);
|
340
|
-
} catch (u) {
|
341
|
-
k(u, l);
|
342
|
-
}
|
343
|
-
});
|
344
|
-
}
|
345
|
-
(i & 18) === 2 && F(n, !1);
|
346
|
-
}
|
347
|
-
}, ce = (e, t, r) => {
|
348
|
-
var s, n;
|
349
|
-
const l = e.prototype;
|
350
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
351
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
352
|
-
const a = Object.entries((s = t.$members$) != null ? s : {});
|
353
|
-
if (a.map(([i, [o]]) => {
|
354
|
-
(o & 31 || r & 2 && o & 32) && Object.defineProperty(l, i, {
|
355
|
-
get() {
|
356
|
-
return Ye(this, i);
|
357
|
-
},
|
358
|
-
set($) {
|
359
|
-
Ge(this, i, $, t);
|
360
|
-
},
|
361
|
-
configurable: !0,
|
362
|
-
enumerable: !0
|
363
|
-
});
|
364
|
-
}), r & 1) {
|
365
|
-
const i = /* @__PURE__ */ new Map();
|
366
|
-
l.attributeChangedCallback = function(o, $, c) {
|
367
|
-
m.jmp(() => {
|
368
|
-
var f;
|
369
|
-
const d = i.get(o);
|
370
|
-
if (this.hasOwnProperty(d))
|
371
|
-
c = this[d], delete this[d];
|
372
|
-
else {
|
373
|
-
if (l.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
374
|
-
return;
|
375
|
-
if (d == null) {
|
376
|
-
const u = b(this), p = u?.$flags$;
|
377
|
-
if (p && !(p & 8) && p & 128 && c !== $) {
|
378
|
-
const v = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
379
|
-
h?.forEach((g) => {
|
380
|
-
v[g] != null && v[g].call(v, c, $, o);
|
381
|
-
});
|
382
|
-
}
|
383
|
-
return;
|
384
|
-
}
|
385
|
-
}
|
386
|
-
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
387
|
-
});
|
388
|
-
}, e.observedAttributes = Array.from(
|
389
|
-
/* @__PURE__ */ new Set([
|
390
|
-
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
391
|
-
...a.filter(
|
392
|
-
([o, $]) => $[0] & 15
|
393
|
-
/* HasAttribute */
|
394
|
-
).map(([o, $]) => {
|
395
|
-
const c = $[1] || o;
|
396
|
-
return i.set(c, o), c;
|
397
|
-
})
|
398
|
-
])
|
399
|
-
);
|
400
|
-
}
|
401
|
-
}
|
402
|
-
return e;
|
403
|
-
}, Je = async (e, t, r, s) => {
|
404
|
-
let n;
|
405
|
-
if (!(t.$flags$ & 32)) {
|
406
|
-
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
407
|
-
const o = me(r);
|
408
|
-
if (o && "then" in o) {
|
409
|
-
const c = Pe();
|
410
|
-
n = await o, c();
|
411
|
-
} else
|
412
|
-
n = o;
|
413
|
-
if (!n)
|
414
|
-
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
415
|
-
n.isProxied || (r.$watchers$ = n.watchers, ce(
|
416
|
-
n,
|
417
|
-
r,
|
418
|
-
2
|
419
|
-
/* proxyState */
|
420
|
-
), n.isProxied = !0);
|
421
|
-
const $ = S("createInstance", r.$tagName$);
|
422
|
-
t.$flags$ |= 8;
|
423
|
-
try {
|
424
|
-
new n(t);
|
425
|
-
} catch (c) {
|
426
|
-
k(c);
|
427
|
-
}
|
428
|
-
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
429
|
-
} else {
|
430
|
-
n = e.constructor;
|
431
|
-
const o = e.localName;
|
432
|
-
customElements.whenDefined(o).then(
|
433
|
-
() => t.$flags$ |= 128
|
434
|
-
/* isWatchReady */
|
435
|
-
);
|
436
|
-
}
|
437
|
-
if (n && n.style) {
|
438
|
-
let o;
|
439
|
-
typeof n.style == "string" && (o = n.style);
|
440
|
-
const $ = Z(r);
|
441
|
-
if (!P.has($)) {
|
442
|
-
const c = S("registerStyles", r.$tagName$);
|
443
|
-
Ce($, o, !!(r.$flags$ & 1)), c();
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|
447
|
-
const l = t.$ancestorComponent$, a = () => F(t, !0);
|
448
|
-
l && l["s-rc"] ? l["s-rc"].push(a) : a();
|
449
|
-
}, Ke = (e) => {
|
450
|
-
}, Re = (e) => {
|
451
|
-
if (!(m.$flags$ & 1)) {
|
452
|
-
const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
453
|
-
if (t.$flags$ & 1)
|
454
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
|
455
|
-
else {
|
456
|
-
t.$flags$ |= 1;
|
457
|
-
{
|
458
|
-
let n = e;
|
459
|
-
for (; n = n.parentNode || n.host; )
|
460
|
-
if (n["s-p"]) {
|
461
|
-
ae(t, t.$ancestorComponent$ = n);
|
462
|
-
break;
|
463
|
-
}
|
464
|
-
}
|
465
|
-
r.$members$ && Object.entries(r.$members$).map(([n, [l]]) => {
|
466
|
-
if (l & 31 && e.hasOwnProperty(n)) {
|
467
|
-
const a = e[n];
|
468
|
-
delete e[n], e[n] = a;
|
469
|
-
}
|
470
|
-
}), Je(e, t, r);
|
471
|
-
}
|
472
|
-
s();
|
473
|
-
}
|
474
|
-
}, Xe = (e) => {
|
475
|
-
}, Ze = async (e) => {
|
476
|
-
if (!(m.$flags$ & 1)) {
|
477
|
-
const t = b(e);
|
478
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Xe());
|
479
|
-
}
|
480
|
-
}, tt = (e, t = {}) => {
|
481
|
-
var r;
|
482
|
-
const s = S(), n = [], l = t.exclude || [], a = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
483
|
-
let f, d = !0;
|
484
|
-
Object.assign(m, t), m.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
485
|
-
let u = !1;
|
486
|
-
if (e.map((p) => {
|
487
|
-
p[1].map((v) => {
|
488
|
-
var h;
|
489
|
-
const g = {
|
490
|
-
$flags$: v[0],
|
491
|
-
$tagName$: v[1],
|
492
|
-
$members$: v[2],
|
493
|
-
$listeners$: v[3]
|
494
|
-
};
|
495
|
-
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
496
|
-
const T = g.$tagName$, $e = class extends HTMLElement {
|
497
|
-
// StencilLazyHost
|
498
|
-
constructor(A) {
|
499
|
-
super(A), this.hasRegisteredEventListeners = !1, A = this, pe(A, g);
|
500
|
-
}
|
501
|
-
connectedCallback() {
|
502
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : m.jmp(() => Re(this));
|
503
|
-
}
|
504
|
-
disconnectedCallback() {
|
505
|
-
m.jmp(() => Ze(this));
|
506
|
-
}
|
507
|
-
componentOnReady() {
|
508
|
-
return b(this).$onReadyPromise$;
|
509
|
-
}
|
510
|
-
};
|
511
|
-
g.$lazyBundleId$ = p[0], !l.includes(T) && !a.get(T) && (n.push(T), a.define(
|
512
|
-
T,
|
513
|
-
ce(
|
514
|
-
$e,
|
515
|
-
g,
|
516
|
-
1
|
517
|
-
/* isElementConstructor */
|
518
|
-
)
|
519
|
-
));
|
520
|
-
});
|
521
|
-
}), n.length > 0 && (u && ($.textContent += J), $.textContent += n.sort() + he, $.innerHTML.length)) {
|
522
|
-
$.setAttribute("data-styles", "");
|
523
|
-
const p = (r = m.$nonce$) != null ? r : R(y);
|
524
|
-
p != null && $.setAttribute("nonce", p), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
525
|
-
}
|
526
|
-
d = !1, c.length ? c.map((p) => p.connectedCallback()) : m.jmp(() => f = setTimeout(ie, 30)), s();
|
527
|
-
};
|
528
|
-
export {
|
529
|
-
tt as b,
|
530
|
-
et as g,
|
531
|
-
we as h,
|
532
|
-
ye as p,
|
533
|
-
Ve as r
|
534
|
-
};
|