@everymatrix/cashier-method-details 1.76.13 → 1.76.14

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.
Files changed (38) hide show
  1. package/components/{CashierError-BTJqKSJF.js → CashierError-BAXGD8it.js} +739 -707
  2. package/components/{CashierError-CbXT6_FP.js → CashierError-CDP4f6TJ.js} +757 -725
  3. package/components/CashierError-DbNNkyb6.cjs +21 -0
  4. package/components/{CashierMethodDetails-ofHTvxQi.js → CashierMethodDetails-B7uMChsb.js} +691 -740
  5. package/components/{CashierMethodDetails-D6oLstq2.js → CashierMethodDetails-D1eYRvUx.js} +938 -987
  6. package/components/{CashierMethodDetails-DYT5RMs3.cjs → CashierMethodDetails-q7Dwr4Au.cjs} +5 -18
  7. package/components/{CashierModal-BzJU1GrX.js → CashierModal-4XlAXMGl.js} +38 -38
  8. package/components/{CashierModal-CyXB5i2d.js → CashierModal-BO_gwocu.js} +38 -38
  9. package/components/{CashierModal-BsgPzXz6.cjs → CashierModal-C8yTp0o2.cjs} +1 -1
  10. package/components/{CashierNotifications-C-Mj2H9E.cjs → CashierNotifications-B061qdnF.cjs} +1 -1
  11. package/components/{CashierNotifications-CNHv00es.js → CashierNotifications-DKD8yMa6.js} +17 -17
  12. package/components/{CashierNotifications-DaWBholW.js → CashierNotifications-DgE45ecv.js} +19 -19
  13. package/components/{CashierReceiptPage-BqgNKrhH.js → CashierReceiptPage-Cw2X23wT.js} +97 -97
  14. package/components/{CashierReceiptPage-BWxS-GFk.cjs → CashierReceiptPage-D5nAg_bZ.cjs} +1 -1
  15. package/components/{CashierReceiptPage-uF2p9-w1.js → CashierReceiptPage-djvKMEwj.js} +100 -100
  16. package/components/{CashierSpinner-B08s-ur8.cjs → CashierSpinner-Bfsso_sk.cjs} +1 -1
  17. package/components/{CashierSpinner-CmmYtc3Y.js → CashierSpinner-D90fSegS.js} +18 -18
  18. package/components/{CashierSpinner-BEg8DQ-G.js → CashierSpinner-DzVPPrxp.js} +18 -18
  19. package/es2015/cashier-method-details.cjs +1 -1
  20. package/es2015/cashier-method-details.js +1 -1
  21. package/esnext/cashier-method-details.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  24. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  25. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  26. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  27. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  28. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  29. package/stencil/{ui-image-DmRWEjrp.js → ui-image-BhXCYysO.js} +1 -1
  30. package/stencil/{ui-image-C0Jfm_O4.js → ui-image-CVwHW7a_.js} +1 -1
  31. package/stencil/{ui-image-EfKW3THf.cjs → ui-image-DrDalrqH.cjs} +1 -1
  32. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  33. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  34. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  35. package/components/CashierError-Bt-_E2Pn.cjs +0 -8
  36. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  37. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  38. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
@@ -1,554 +0,0 @@
1
- var P = (e, t, n) => new Promise((s, r) => {
2
- var a = ($) => {
3
- try {
4
- i(n.next($));
5
- } catch (c) {
6
- r(c);
7
- }
8
- }, l = ($) => {
9
- try {
10
- i(n.throw($));
11
- } catch (c) {
12
- r(c);
13
- }
14
- }, i = ($) => $.done ? s($.value) : Promise.resolve($.value).then(a, l);
15
- i((n = n.apply(e, t)).next());
16
- });
17
- const ue = "ui-image", de = (
18
- /* ui-image */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var ve = Object.defineProperty, ge = (e, t) => {
22
- for (var n in t)
23
- ve(e, n, { get: t[n], enumerable: !0 });
24
- }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Ve = (e, t) => U.set(t.$lazyInstance$ = e, t), he = (e, t) => {
25
- const n = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], U.set(e, n);
32
- }, pe = (e, t) => t in e, E = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), me = (e, t, n) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
- if (!r)
35
- return;
36
- const a = j.get(r);
37
- if (a)
38
- return a[s];
39
- {
40
- const l = (i) => (j.set(r, i), i[s]);
41
- switch (r) {
42
- case "ui-image_2":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./ui-image_2-VgK3B8gQ.js"
46
- ).then(l, E);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${r}.entry.js`
55
- ).then((l) => (j.set(r, l), l[s]), E);
56
- }, _ = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", Q = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, h = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, Se = (e) => Promise.resolve(e), be = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), O = !1, F = [], X = [], Ee = (e, t) => (n) => {
71
- e.push(n), O || (O = !0, h.$flags$ & 4 ? q(I) : h.raf(I));
72
- }, M = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (n) {
77
- E(n);
78
- }
79
- e.length = 0;
80
- }, I = () => {
81
- M(F), M(X), (O = F.length > 0) && h.raf(I);
82
- }, q = (e) => Se().then(e), ke = /* @__PURE__ */ Ee(X), W = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
83
- function Z(e) {
84
- var t, n, s;
85
- return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var xe = {};
88
- ge(xe, {
89
- err: () => R,
90
- map: () => Pe,
91
- ok: () => H,
92
- unwrap: () => Ae,
93
- unwrapErr: () => Te
94
- });
95
- var H = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), R = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function Pe(e, t) {
105
- if (e.isOk) {
106
- const n = t(e.value);
107
- return n instanceof Promise ? n.then((s) => H(s)) : H(n);
108
- }
109
- if (e.isErr) {
110
- const n = e.value;
111
- return R(n);
112
- }
113
- throw "should never get here";
114
- }
115
- var Ae = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, Te = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, _e = (e, t) => () => {
125
- }, we = (e, t, ...n) => {
126
- let s = null, r = null, a = !1, l = !1;
127
- const i = [], $ = (o) => {
128
- for (let f = 0; f < o.length; f++)
129
- s = o[f], Array.isArray(s) ? $(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !C(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? z(null, s) : s), l = a);
130
- };
131
- if ($(n), t) {
132
- t.key && (r = t.key);
133
- {
134
- const o = t.className || t.class;
135
- o && (t.class = typeof o != "object" ? o : Object.keys(o).filter((f) => o[f]).join(" "));
136
- }
137
- }
138
- const c = z(e, null);
139
- return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
140
- }, z = (e, t) => {
141
- const n = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return n.$attrs$ = null, n.$key$ = null, n;
149
- }, Le = {}, je = (e) => e && e.$tag$ === Le, Oe = (e, t) => e != null && !C(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => b(e).$hostElement$, Ie = (e, t, n) => {
150
- const s = h.ce(t, n);
151
- return e.dispatchEvent(s), s;
152
- }, Y = /* @__PURE__ */ new WeakMap(), He = (e, t, n) => {
153
- let s = _.get(e);
154
- be && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
155
- }, ze = (e, t, n) => {
156
- var s;
157
- const r = V(t), a = _.get(r);
158
- if (e = e.nodeType === 11 ? e : y, a)
159
- if (typeof a == "string") {
160
- e = e.head || e;
161
- let l = Y.get(e), i;
162
- if (l || Y.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
163
- {
164
- i = y.createElement("style"), i.innerHTML = a;
165
- const $ = (s = h.$nonce$) != null ? s : Z(y);
166
- $ != null && i.setAttribute("nonce", $), e.insertBefore(i, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (i.innerHTML += Q), l && l.add(r);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
- return r;
173
- }, Ue = (e) => {
174
- const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
175
- ze(
176
- n.getRootNode(),
177
- t
178
- ), s();
179
- }, V = (e, t) => "sc-" + e.$tagName$, G = (e, t, n, s, r, a) => {
180
- if (n !== s) {
181
- let l = pe(e, t);
182
- if (t.toLowerCase(), t === "class") {
183
- const i = e.classList, $ = J(n), c = J(s);
184
- i.remove(...$.filter((o) => o && !c.includes(o))), i.add(...c.filter((o) => o && !$.includes(o)));
185
- } else if (t === "style") {
186
- for (const i in n)
187
- (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
188
- for (const i in s)
189
- (!n || s[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
190
- } else if (t !== "key")
191
- if (t === "ref")
192
- s && s(e);
193
- else {
194
- const i = C(s);
195
- if ((l || i && s !== null) && !r)
196
- try {
197
- if (e.tagName.includes("-"))
198
- e[t] = s;
199
- else {
200
- const $ = s == null ? "" : s;
201
- t === "list" ? l = !1 : (n == null || e[t] != $) && (e[t] = $);
202
- }
203
- } catch ($) {
204
- }
205
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
206
- }
207
- }
208
- }, Be = /\s/, J = (e) => e ? e.split(Be) : [], ee = (e, t, n) => {
209
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || W, a = t.$attrs$ || W;
210
- for (const l of K(Object.keys(r)))
211
- l in a || G(s, l, r[l], void 0, n, t.$flags$);
212
- for (const l of K(Object.keys(a)))
213
- G(s, l, r[l], a[l], n, t.$flags$);
214
- };
215
- function K(e) {
216
- return e.includes("ref") ? (
217
- // we need to sort these to ensure that `'ref'` is the last attr
218
- [...e.filter((t) => t !== "ref"), "ref"]
219
- ) : (
220
- // no need to sort, return the original array
221
- e
222
- );
223
- }
224
- var te, se = !1, w = (e, t, n, s) => {
225
- const r = t.$children$[n];
226
- let a = 0, l, i;
227
- if (r.$text$ !== null)
228
- l = r.$elm$ = y.createTextNode(r.$text$);
229
- else if (l = r.$elm$ = y.createElement(
230
- r.$tag$
231
- ), ee(null, r, se), r.$children$)
232
- for (a = 0; a < r.$children$.length; ++a)
233
- i = w(e, r, a), i && l.appendChild(i);
234
- return l["s-hn"] = te, l;
235
- }, ne = (e, t, n, s, r, a) => {
236
- let l = e, i;
237
- for (; r <= a; ++r)
238
- s[r] && (i = w(null, n, r), i && (s[r].$elm$ = i, T(l, i, t)));
239
- }, re = (e, t, n) => {
240
- for (let s = t; s <= n; ++s) {
241
- const r = e[s];
242
- if (r) {
243
- const a = r.$elm$;
244
- le(r), a && a.remove();
245
- }
246
- }
247
- }, qe = (e, t, n, s, r = !1) => {
248
- let a = 0, l = 0, i = 0, $ = 0, c = t.length - 1, o = t[0], f = t[c], u = s.length - 1, d = s[0], v = s[u], g, p;
249
- for (; a <= c && l <= u; )
250
- if (o == null)
251
- o = t[++a];
252
- else if (f == null)
253
- f = t[--c];
254
- else if (d == null)
255
- d = s[++l];
256
- else if (v == null)
257
- v = s[--u];
258
- else if (A(o, d, r))
259
- k(o, d, r), o = t[++a], d = s[++l];
260
- else if (A(f, v, r))
261
- k(f, v, r), f = t[--c], v = s[--u];
262
- else if (A(o, v, r))
263
- k(o, v, r), T(e, o.$elm$, f.$elm$.nextSibling), o = t[++a], v = s[--u];
264
- else if (A(f, d, r))
265
- k(f, d, r), T(e, f.$elm$, o.$elm$), f = t[--c], d = s[++l];
266
- else {
267
- for (i = -1, $ = a; $ <= c; ++$)
268
- if (t[$] && t[$].$key$ !== null && t[$].$key$ === d.$key$) {
269
- i = $;
270
- break;
271
- }
272
- i >= 0 ? (p = t[i], p.$tag$ !== d.$tag$ ? g = w(t && t[l], n, i) : (k(p, d, r), t[i] = void 0, g = p.$elm$), d = s[++l]) : (g = w(t && t[l], n, l), d = s[++l]), g && T(o.$elm$.parentNode, g, o.$elm$);
273
- }
274
- a > c ? ne(
275
- e,
276
- s[u + 1] == null ? null : s[u + 1].$elm$,
277
- n,
278
- s,
279
- l,
280
- u
281
- ) : l > u && re(t, a, c);
282
- }, A = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
283
- const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
284
- l === null ? (ee(e, t, se), r !== null && a !== null ? qe(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
285
- }, le = (e) => {
286
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
287
- }, T = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ce = (e, t, n = !1) => {
288
- const s = e.$hostElement$, r = e.$vnode$ || z(null, null), a = je(t) ? t : we(null, null, t);
289
- if (te = s.tagName, n && a.$attrs$)
290
- for (const l of Object.keys(a.$attrs$))
291
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
292
- a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, k(r, a, n);
293
- }, ae = (e, t) => {
294
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
295
- }, D = (e, t) => {
296
- if (e.$flags$ |= 16, e.$flags$ & 4) {
297
- e.$flags$ |= 512;
298
- return;
299
- }
300
- return ae(e, e.$ancestorComponent$), ke(() => De(e, t));
301
- }, De = (e, t) => {
302
- const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
303
- if (!r)
304
- throw new Error(
305
- `Can't render component <${n.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`
306
- );
307
- let a;
308
- return s(), Fe(a, () => We(e, r, t));
309
- }, Fe = (e, t) => Me(e) ? e.then(t).catch((n) => {
310
- console.error(n), t();
311
- }) : t(), Me = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = (e, t, n) => P(void 0, null, function* () {
312
- var s;
313
- const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
314
- n && Ue(e);
315
- const i = S("render", e.$cmpMeta$.$tagName$);
316
- Ye(e, t, r, n), l && (l.map(($) => $()), r["s-rc"] = void 0), i(), a();
317
- {
318
- const $ = (s = r["s-p"]) != null ? s : [], c = () => Ge(e);
319
- $.length === 0 ? c() : (Promise.all($).then(c), e.$flags$ |= 4, $.length = 0);
320
- }
321
- }), Ye = (e, t, n, s) => {
322
- try {
323
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, s);
324
- } catch (r) {
325
- E(r, e.$hostElement$);
326
- }
327
- return null;
328
- }, Ge = (e) => {
329
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
330
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(n), $e(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => D(e, !1)), e.$flags$ &= -517;
331
- }, ie = (e) => {
332
- oe(y.documentElement), q(() => Ie(B, "appload", { detail: { namespace: ue } }));
333
- }, $e = (e, t, n) => {
334
- if (e && e[t])
335
- try {
336
- return e[t](n);
337
- } catch (s) {
338
- E(s);
339
- }
340
- }, oe = (e) => {
341
- var t;
342
- return e.classList.add((t = de.hydratedSelectorName) != null ? t : "hydrated");
343
- }, Je = (e, t) => b(e).$instanceValues$.get(t), Ke = (e, t, n, s) => {
344
- const r = b(e);
345
- if (!r)
346
- throw new Error(
347
- `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).`
348
- );
349
- const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, $ = r.$lazyInstance$;
350
- n = Oe(n, s.$members$[t][0]);
351
- const c = Number.isNaN(l) && Number.isNaN(n), o = n !== l && !c;
352
- if ((!(i & 8) || l === void 0) && o && (r.$instanceValues$.set(t, n), $)) {
353
- if (s.$watchers$ && i & 128) {
354
- const f = s.$watchers$[t];
355
- f && f.map((u) => {
356
- try {
357
- $[u](n, l, t);
358
- } catch (d) {
359
- E(d, a);
360
- }
361
- });
362
- }
363
- (i & 18) === 2 && D(r, !1);
364
- }
365
- }, ce = (e, t, n) => {
366
- var s, r;
367
- const a = e.prototype;
368
- if (t.$members$ || t.$watchers$ || e.watchers) {
369
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
370
- const l = Object.entries((s = t.$members$) != null ? s : {});
371
- if (l.map(([i, [$]]) => {
372
- ($ & 31 || n & 2 && $ & 32) && Object.defineProperty(a, i, {
373
- get() {
374
- return Je(this, i);
375
- },
376
- set(c) {
377
- Ke(this, i, c, t);
378
- },
379
- configurable: !0,
380
- enumerable: !0
381
- });
382
- }), n & 1) {
383
- const i = /* @__PURE__ */ new Map();
384
- a.attributeChangedCallback = function($, c, o) {
385
- h.jmp(() => {
386
- var f;
387
- const u = i.get($);
388
- if (this.hasOwnProperty(u))
389
- o = this[u], delete this[u];
390
- else {
391
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == o)
392
- return;
393
- if (u == null) {
394
- const d = b(this), v = d == null ? void 0 : d.$flags$;
395
- if (v && !(v & 8) && v & 128 && o !== c) {
396
- const g = d.$lazyInstance$, p = (f = t.$watchers$) == null ? void 0 : f[$];
397
- p == null || p.forEach((m) => {
398
- g[m] != null && g[m].call(g, o, c, $);
399
- });
400
- }
401
- return;
402
- }
403
- }
404
- this[u] = o === null && typeof this[u] == "boolean" ? !1 : o;
405
- });
406
- }, e.observedAttributes = Array.from(
407
- /* @__PURE__ */ new Set([
408
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
409
- ...l.filter(
410
- ([$, c]) => c[0] & 15
411
- /* HasAttribute */
412
- ).map(([$, c]) => {
413
- const o = c[1] || $;
414
- return i.set(o, $), o;
415
- })
416
- ])
417
- );
418
- }
419
- }
420
- return e;
421
- }, Ne = (e, t, n, s) => P(void 0, null, function* () {
422
- let r;
423
- if (!(t.$flags$ & 32)) {
424
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
425
- const $ = me(n);
426
- if ($ && "then" in $) {
427
- const o = _e();
428
- r = yield $, o();
429
- } else
430
- r = $;
431
- if (!r)
432
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
433
- r.isProxied || (n.$watchers$ = r.watchers, ce(
434
- r,
435
- n,
436
- 2
437
- /* proxyState */
438
- ), r.isProxied = !0);
439
- const c = S("createInstance", n.$tagName$);
440
- t.$flags$ |= 8;
441
- try {
442
- new r(t);
443
- } catch (o) {
444
- E(o);
445
- }
446
- t.$flags$ &= -9, t.$flags$ |= 128, c();
447
- } else {
448
- r = e.constructor;
449
- const $ = e.localName;
450
- customElements.whenDefined($).then(
451
- () => t.$flags$ |= 128
452
- /* isWatchReady */
453
- );
454
- }
455
- if (r && r.style) {
456
- let $;
457
- typeof r.style == "string" && ($ = r.style);
458
- const c = V(n);
459
- if (!_.has(c)) {
460
- const o = S("registerStyles", n.$tagName$);
461
- He(c, $, !!(n.$flags$ & 1)), o();
462
- }
463
- }
464
- }
465
- const a = t.$ancestorComponent$, l = () => D(t, !0);
466
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
467
- }), Qe = (e) => {
468
- }, Xe = (e) => {
469
- if (!(h.$flags$ & 1)) {
470
- const t = b(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
471
- if (t.$flags$ & 1)
472
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
473
- else {
474
- t.$flags$ |= 1;
475
- {
476
- let r = e;
477
- for (; r = r.parentNode || r.host; )
478
- if (r["s-p"]) {
479
- ae(t, t.$ancestorComponent$ = r);
480
- break;
481
- }
482
- }
483
- n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
484
- if (a & 31 && e.hasOwnProperty(r)) {
485
- const l = e[r];
486
- delete e[r], e[r] = l;
487
- }
488
- }), Ne(e, t, n);
489
- }
490
- s();
491
- }
492
- }, N = (e) => {
493
- $e(e, "disconnectedCallback");
494
- }, Ze = (e) => P(void 0, null, function* () {
495
- if (!(h.$flags$ & 1)) {
496
- const t = b(e);
497
- t != null && t.$lazyInstance$ ? N(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
498
- }
499
- }), tt = (e, t = {}) => {
500
- var n;
501
- const s = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, $ = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), o = [];
502
- let f, u = !0;
503
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
504
- let d = !1;
505
- if (e.map((v) => {
506
- v[1].map((g) => {
507
- var p;
508
- const m = {
509
- $flags$: g[0],
510
- $tagName$: g[1],
511
- $members$: g[2],
512
- $listeners$: g[3]
513
- };
514
- m.$flags$ & 4 && (d = !0), m.$members$ = g[2], m.$watchers$ = (p = g[4]) != null ? p : {};
515
- const x = m.$tagName$, fe = class extends HTMLElement {
516
- // StencilLazyHost
517
- constructor(L) {
518
- super(L), this.hasRegisteredEventListeners = !1, L = this, he(L, m);
519
- }
520
- connectedCallback() {
521
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? o.push(this) : h.jmp(() => Xe(this));
522
- }
523
- disconnectedCallback() {
524
- h.jmp(() => Ze(this));
525
- }
526
- componentOnReady() {
527
- return b(this).$onReadyPromise$;
528
- }
529
- };
530
- m.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
531
- x,
532
- ce(
533
- fe,
534
- m,
535
- 1
536
- /* isElementConstructor */
537
- )
538
- ));
539
- });
540
- }), r.length > 0 && (d && (c.textContent += Q), c.textContent += r.sort() + ye, c.innerHTML.length)) {
541
- c.setAttribute("data-styles", "");
542
- const v = (n = h.$nonce$) != null ? n : Z(y);
543
- v != null && c.setAttribute("nonce", v), i.insertBefore(c, $ ? $.nextSibling : i.firstChild);
544
- }
545
- u = !1, o.length ? o.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(ie, 30)), s();
546
- };
547
- export {
548
- Le as H,
549
- tt as b,
550
- et as g,
551
- we as h,
552
- Se as p,
553
- Ve as r
554
- };