@everymatrix/cashier-method-details 1.76.12 → 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
@@ -0,0 +1,538 @@
1
+ const de = "ui-image", D = (
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: !0, 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: !0, propMutable: !1, propNumber: !0, 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: !0, vdomXlink: !1, watchCallback: !0 }
4
+ );
5
+ var ve = Object.defineProperty, pe = (e, t) => {
6
+ for (var r in t)
7
+ ve(e, r, { get: t[r], enumerable: !0 });
8
+ }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Ve = (e, t) => U.set(t.$lazyInstance$ = e, t), me = (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"] = [], U.set(e, r);
16
+ }, he = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), ge = (e, t, r) => {
17
+ const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
+ if (!n)
19
+ return;
20
+ const a = O.get(n);
21
+ if (a)
22
+ return a[s];
23
+ {
24
+ const l = (i) => (O.set(n, i), i[s]);
25
+ switch (n) {
26
+ case "ui-image_2":
27
+ return import(
28
+ /* webpackMode: "lazy" */
29
+ "./ui-image_2-ID_1Oi3k.js"
30
+ ).then(l, 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((l) => (O.set(n, l), l[s]), k);
40
+ }, P = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window < "u" ? window : {}, y = z.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
+ }, Se = D.shadowDom, be = (e) => Promise.resolve(e), ke = /* @__PURE__ */ (() => {
49
+ try {
50
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
+ } catch {
52
+ }
53
+ return !1;
54
+ })(), _ = !1, q = [], R = [], Ee = (e, t) => (r) => {
55
+ e.push(r), _ || (_ = !0, m.$flags$ & 4 ? B(j) : m.raf(j));
56
+ }, W = (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
+ W(q), W(R), (_ = q.length > 0) && m.raf(j);
66
+ }, B = (e) => be().then(e), xe = /* @__PURE__ */ Ee(R), M = {}, H = (e) => (e = typeof e, e === "object" || e === "function");
67
+ function X(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 Te = {};
72
+ pe(Te, {
73
+ err: () => Z,
74
+ map: () => Le,
75
+ ok: () => C,
76
+ unwrap: () => Pe,
77
+ unwrapErr: () => we
78
+ });
79
+ var C = (e) => ({
80
+ isOk: !0,
81
+ isErr: !1,
82
+ value: e
83
+ }), Z = (e) => ({
84
+ isOk: !1,
85
+ isErr: !0,
86
+ value: e
87
+ });
88
+ function Le(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 Z(r);
96
+ }
97
+ throw "should never get here";
98
+ }
99
+ var Pe = (e) => {
100
+ if (e.isOk)
101
+ return e.value;
102
+ throw e.value;
103
+ }, we = (e) => {
104
+ if (e.isErr)
105
+ return e.value;
106
+ throw e.value;
107
+ }, S = (e, t = "") => () => {
108
+ }, Ae = (e, t) => () => {
109
+ }, Oe = (e, t, ...r) => {
110
+ let s = null, n = null, a = !1, l = !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" && ((a = typeof e != "function" && !H(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? I(null, s) : s), l = a);
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 $ = I(e, null);
123
+ return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
124
+ }, I = (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
+ }, _e = {}, je = (e) => e && e.$tag$ === _e, Ce = (e, t) => e != null && !H(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, r) => {
134
+ const s = m.ce(t, r);
135
+ return e.dispatchEvent(s), s;
136
+ }, N = /* @__PURE__ */ new WeakMap(), De = (e, t, r) => {
137
+ let s = P.get(e);
138
+ ke && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, P.set(e, s);
139
+ }, Ue = (e, t, r) => {
140
+ var s;
141
+ const n = V(t), a = P.get(n);
142
+ if (e = e.nodeType === 11 ? e : y, a)
143
+ if (typeof a == "string") {
144
+ e = e.head || e;
145
+ let l = N.get(e), i;
146
+ if (l || N.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
+ {
148
+ i = y.createElement("style"), i.innerHTML = a;
149
+ const o = (s = m.$nonce$) != null ? s : X(y);
150
+ o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
151
+ }
152
+ t.$flags$ & 4 && (i.innerHTML += K), l && l.add(n);
153
+ }
154
+ } else
155
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
+ return n;
157
+ }, ze = (e) => {
158
+ const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
159
+ Ue(
160
+ r.getRootNode(),
161
+ t
162
+ ), s();
163
+ }, V = (e, t) => "sc-" + e.$tagName$, Q = (e, t, r, s, n, a) => {
164
+ if (r !== s) {
165
+ let l = he(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 ((l || i && s !== null) && !n)
180
+ try {
181
+ if (e.tagName.includes("-"))
182
+ e[t] = s;
183
+ else {
184
+ const o = s ?? "";
185
+ t === "list" ? l = !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) : (!l || a & 4 || n) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
190
+ }
191
+ }
192
+ }, Be = /\s/, Y = (e) => e ? e.split(Be) : [], ee = (e, t, r) => {
193
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || M, a = t.$attrs$ || M;
194
+ for (const l of G(Object.keys(n)))
195
+ l in a || Q(s, l, n[l], void 0, r, t.$flags$);
196
+ for (const l of G(Object.keys(a)))
197
+ Q(s, l, n[l], a[l], 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 te, se = !1, ne = !1, w = (e, t, r, s) => {
209
+ const n = t.$children$[r];
210
+ let a = 0, l, i;
211
+ if (n.$text$ !== null)
212
+ l = n.$elm$ = y.createTextNode(n.$text$);
213
+ else if (l = n.$elm$ = y.createElement(
214
+ !se && D.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
215
+ ), ee(null, n, ne), n.$children$)
216
+ for (a = 0; a < n.$children$.length; ++a)
217
+ i = w(e, n, a), i && l.appendChild(i);
218
+ return l["s-hn"] = te, l;
219
+ }, re = (e, t, r, s, n, a) => {
220
+ let l = e, i;
221
+ for (; n <= a; ++n)
222
+ s[n] && (i = w(null, r, n), i && (s[n].$elm$ = i, L(l, i, t)));
223
+ }, le = (e, t, r) => {
224
+ for (let s = t; s <= r; ++s) {
225
+ const n = e[s];
226
+ if (n) {
227
+ const a = n.$elm$;
228
+ ae(n), a && a.remove();
229
+ }
230
+ }
231
+ }, He = (e, t, r, s, n = !1) => {
232
+ let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], p, h;
233
+ for (; a <= $ && l <= u; )
234
+ if (c == null)
235
+ c = t[++a];
236
+ else if (f == null)
237
+ f = t[--$];
238
+ else if (d == null)
239
+ d = s[++l];
240
+ else if (v == null)
241
+ v = s[--u];
242
+ else if (T(c, d, n))
243
+ E(c, d, n), c = t[++a], d = s[++l];
244
+ else if (T(f, v, n))
245
+ E(f, v, n), f = t[--$], v = s[--u];
246
+ else if (T(c, v, n))
247
+ E(c, v, n), L(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
248
+ else if (T(f, d, n))
249
+ E(f, d, n), L(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
250
+ else {
251
+ for (i = -1, o = a; o <= $; ++o)
252
+ if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
253
+ i = o;
254
+ break;
255
+ }
256
+ i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? p = w(t && t[l], r, i) : (E(h, d, n), t[i] = void 0, p = h.$elm$), d = s[++l]) : (p = w(t && t[l], r, l), d = s[++l]), p && L(c.$elm$.parentNode, p, c.$elm$);
257
+ }
258
+ a > $ ? re(
259
+ e,
260
+ s[u + 1] == null ? null : s[u + 1].$elm$,
261
+ r,
262
+ s,
263
+ l,
264
+ u
265
+ ) : l > u && le(t, a, $);
266
+ }, T = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, r = !1) => {
267
+ const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
268
+ l === null ? (ee(e, t, ne), n !== null && a !== null ? He(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), re(s, null, t, a, 0, a.length - 1)) : n !== null && le(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
269
+ }, ae = (e) => {
270
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
271
+ }, L = (e, t, r) => e?.insertBefore(t, r), Fe = (e, t, r = !1) => {
272
+ const s = e.$hostElement$, n = e.$vnode$ || I(null, null), a = je(t) ? t : Oe(null, null, t);
273
+ if (te = s.tagName, r && a.$attrs$)
274
+ for (const l of Object.keys(a.$attrs$))
275
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
276
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = n.$elm$ = s, se = Se, E(n, a, r);
277
+ }, ie = (e, t) => {
278
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
279
+ }, F = (e, t) => {
280
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
281
+ e.$flags$ |= 512;
282
+ return;
283
+ }
284
+ return ie(e, e.$ancestorComponent$), xe(() => qe(e, t));
285
+ }, qe = (e, t) => {
286
+ const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
287
+ if (!n)
288
+ throw new Error(
289
+ `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`
290
+ );
291
+ let a;
292
+ return s(), We(a, () => Ne(e, n, t));
293
+ }, We = (e, t) => Me(e) ? e.then(t).catch((r) => {
294
+ console.error(r), t();
295
+ }) : t(), Me = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ne = async (e, t, r) => {
296
+ var s;
297
+ const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
298
+ r && ze(e);
299
+ const i = S("render", e.$cmpMeta$.$tagName$);
300
+ Qe(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
301
+ {
302
+ const o = (s = n["s-p"]) != null ? s : [], $ = () => Ye(e);
303
+ o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
304
+ }
305
+ }, Qe = (e, t, r, s) => {
306
+ try {
307
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
308
+ } catch (n) {
309
+ k(n, e.$hostElement$);
310
+ }
311
+ return null;
312
+ }, Ye = (e) => {
313
+ const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
314
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, $e(r), ce(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && B(() => F(e, !1)), e.$flags$ &= -517;
315
+ }, oe = (e) => {
316
+ $e(y.documentElement), B(() => Ie(z, "appload", { detail: { namespace: de } }));
317
+ }, ce = (e, t, r) => {
318
+ if (e && e[t])
319
+ try {
320
+ return e[t](r);
321
+ } catch (s) {
322
+ k(s);
323
+ }
324
+ }, $e = (e) => {
325
+ var t;
326
+ return e.classList.add((t = D.hydratedSelectorName) != null ? t : "hydrated");
327
+ }, Ge = (e, t) => b(e).$instanceValues$.get(t), Je = (e, t, r, s) => {
328
+ const n = b(e);
329
+ if (!n)
330
+ throw new Error(
331
+ `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).`
332
+ );
333
+ const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
334
+ r = Ce(r, s.$members$[t][0]);
335
+ const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
336
+ if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
337
+ if (s.$watchers$ && i & 128) {
338
+ const f = s.$watchers$[t];
339
+ f && f.map((u) => {
340
+ try {
341
+ o[u](r, l, t);
342
+ } catch (d) {
343
+ k(d, a);
344
+ }
345
+ });
346
+ }
347
+ (i & 18) === 2 && F(n, !1);
348
+ }
349
+ }, fe = (e, t, r) => {
350
+ var s, n;
351
+ const a = e.prototype;
352
+ if (t.$members$ || t.$watchers$ || e.watchers) {
353
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
354
+ const l = Object.entries((s = t.$members$) != null ? s : {});
355
+ if (l.map(([i, [o]]) => {
356
+ (o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
357
+ get() {
358
+ return Ge(this, i);
359
+ },
360
+ set($) {
361
+ Je(this, i, $, t);
362
+ },
363
+ configurable: !0,
364
+ enumerable: !0
365
+ });
366
+ }), r & 1) {
367
+ const i = /* @__PURE__ */ new Map();
368
+ a.attributeChangedCallback = function(o, $, c) {
369
+ m.jmp(() => {
370
+ var f;
371
+ const u = i.get(o);
372
+ if (this.hasOwnProperty(u))
373
+ c = this[u], delete this[u];
374
+ else {
375
+ if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
376
+ return;
377
+ if (u == null) {
378
+ const d = b(this), v = d?.$flags$;
379
+ if (v && !(v & 8) && v & 128 && c !== $) {
380
+ const p = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
381
+ h?.forEach((g) => {
382
+ p[g] != null && p[g].call(p, c, $, o);
383
+ });
384
+ }
385
+ return;
386
+ }
387
+ }
388
+ this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
389
+ });
390
+ }, e.observedAttributes = Array.from(
391
+ /* @__PURE__ */ new Set([
392
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
393
+ ...l.filter(
394
+ ([o, $]) => $[0] & 15
395
+ /* HasAttribute */
396
+ ).map(([o, $]) => {
397
+ const c = $[1] || o;
398
+ return i.set(c, o), c;
399
+ })
400
+ ])
401
+ );
402
+ }
403
+ }
404
+ return e;
405
+ }, Ke = async (e, t, r, s) => {
406
+ let n;
407
+ if (!(t.$flags$ & 32)) {
408
+ if (t.$flags$ |= 32, r.$lazyBundleId$) {
409
+ const o = ge(r);
410
+ if (o && "then" in o) {
411
+ const c = Ae();
412
+ n = await o, c();
413
+ } else
414
+ n = o;
415
+ if (!n)
416
+ throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
417
+ n.isProxied || (r.$watchers$ = n.watchers, fe(
418
+ n,
419
+ r,
420
+ 2
421
+ /* proxyState */
422
+ ), n.isProxied = !0);
423
+ const $ = S("createInstance", r.$tagName$);
424
+ t.$flags$ |= 8;
425
+ try {
426
+ new n(t);
427
+ } catch (c) {
428
+ k(c);
429
+ }
430
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
431
+ } else {
432
+ n = e.constructor;
433
+ const o = e.localName;
434
+ customElements.whenDefined(o).then(
435
+ () => t.$flags$ |= 128
436
+ /* isWatchReady */
437
+ );
438
+ }
439
+ if (n && n.style) {
440
+ let o;
441
+ typeof n.style == "string" && (o = n.style);
442
+ const $ = V(r);
443
+ if (!P.has($)) {
444
+ const c = S("registerStyles", r.$tagName$);
445
+ De($, o, !!(r.$flags$ & 1)), c();
446
+ }
447
+ }
448
+ }
449
+ const a = t.$ancestorComponent$, l = () => F(t, !0);
450
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
451
+ }, Re = (e) => {
452
+ }, Xe = (e) => {
453
+ if (!(m.$flags$ & 1)) {
454
+ const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
455
+ if (t.$flags$ & 1)
456
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
457
+ else {
458
+ t.$flags$ |= 1;
459
+ {
460
+ let n = e;
461
+ for (; n = n.parentNode || n.host; )
462
+ if (n["s-p"]) {
463
+ ie(t, t.$ancestorComponent$ = n);
464
+ break;
465
+ }
466
+ }
467
+ r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
468
+ if (a & 31 && e.hasOwnProperty(n)) {
469
+ const l = e[n];
470
+ delete e[n], e[n] = l;
471
+ }
472
+ }), Ke(e, t, r);
473
+ }
474
+ s();
475
+ }
476
+ }, J = (e) => {
477
+ ce(e, "disconnectedCallback");
478
+ }, Ze = async (e) => {
479
+ if (!(m.$flags$ & 1)) {
480
+ const t = b(e);
481
+ t?.$lazyInstance$ ? J(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => J(t.$lazyInstance$));
482
+ }
483
+ }, tt = (e, t = {}) => {
484
+ var r;
485
+ const s = S(), n = [], a = t.exclude || [], l = z.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
486
+ let f, u = !0;
487
+ Object.assign(m, t), m.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
488
+ let d = !1;
489
+ if (e.map((v) => {
490
+ v[1].map((p) => {
491
+ var h;
492
+ const g = {
493
+ $flags$: p[0],
494
+ $tagName$: p[1],
495
+ $members$: p[2],
496
+ $listeners$: p[3]
497
+ };
498
+ g.$flags$ & 4 && (d = !0), g.$members$ = p[2], g.$watchers$ = (h = p[4]) != null ? h : {};
499
+ const x = g.$tagName$, ue = class extends HTMLElement {
500
+ // StencilLazyHost
501
+ constructor(A) {
502
+ super(A), this.hasRegisteredEventListeners = !1, A = this, me(A, g);
503
+ }
504
+ connectedCallback() {
505
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : m.jmp(() => Xe(this));
506
+ }
507
+ disconnectedCallback() {
508
+ m.jmp(() => Ze(this));
509
+ }
510
+ componentOnReady() {
511
+ return b(this).$onReadyPromise$;
512
+ }
513
+ };
514
+ g.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
515
+ x,
516
+ fe(
517
+ ue,
518
+ g,
519
+ 1
520
+ /* isElementConstructor */
521
+ )
522
+ ));
523
+ });
524
+ }), n.length > 0 && (d && ($.textContent += K), $.textContent += n.sort() + ye, $.innerHTML.length)) {
525
+ $.setAttribute("data-styles", "");
526
+ const v = (r = m.$nonce$) != null ? r : X(y);
527
+ v != null && $.setAttribute("nonce", v), i.insertBefore($, o ? o.nextSibling : i.firstChild);
528
+ }
529
+ u = !1, c.length ? c.map((v) => v.connectedCallback()) : m.jmp(() => f = setTimeout(oe, 30)), s();
530
+ };
531
+ export {
532
+ _e as H,
533
+ tt as b,
534
+ et as g,
535
+ Oe as h,
536
+ be as p,
537
+ Ve as r
538
+ };