var be = Object.defineProperty;
var X = Object.getOwnPropertySymbols;
var Le = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
var Y = (e, t, s) => t in e ? be(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, J = (e, t) => {
  for (var s in t || (t = {}))
    Le.call(t, s) && Y(e, s, t[s]);
  if (X)
    for (var s of X(t))
      we.call(t, s) && Y(e, s, t[s]);
  return e;
};
var _ = (e, t, s) => new Promise((r, n) => {
  var $ = (l) => {
    try {
      i(s.next(l));
    } catch (o) {
      n(o);
    }
  }, a = (l) => {
    try {
      i(s.throw(l));
    } catch (o) {
      n(o);
    }
  }, i = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then($, a);
  i((s = s.apply(e, t)).next());
});
const xe = "user-transaction-history", Pe = (
  /* user-transaction-history */
  { hydratedSelectorName: "hydrated" }
);
var Te = Object.defineProperty, _e = (e, t) => {
  for (var s in t)
    Te(e, s, { get: t[s], enumerable: !0 });
}, D = /* @__PURE__ */ new WeakMap(), b = (e) => D.get(e), Et = (e, t) => D.set(t.$lazyInstance$ = e, t), Ae = (e, t) => {
  const s = {
    $flags$: 0,
    $hostElement$: e,
    $cmpMeta$: t,
    $instanceValues$: /* @__PURE__ */ new Map()
  };
  return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], D.set(e, s);
}, K = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), q = /* @__PURE__ */ new Map(), Oe = (e, t, s) => {
  const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
  if (!n)
    return;
  const $ = q.get(n);
  if ($)
    return $[r];
  {
    const a = (i) => (q.set(n, i), i[r]);
    switch (n) {
      case "user-transaction-history_2":
        return import(
          /* webpackMode: "lazy" */
          "../stencil/user-transaction-history_2-DwebPYnL.js"
        ).then(a, L);
    }
  }
  return import(
    /* @vite-ignore */
    /* webpackInclude: /\.entry\.js$/ */
    /* webpackExclude: /\.system\.entry\.js$/ */
    /* webpackMode: "lazy" */
    `./${n}.entry.js`
  ).then((a) => (q.set(n, a), a[r]), L);
}, I = /* @__PURE__ */ new Map(), je = "{visibility:hidden}.hydrated{visibility:inherit}", ae = "slot-fb{display:contents}slot-fb[hidden]{display:none}", R = "http://www.w3.org/1999/xlink", x = typeof window != "undefined" ? window : {}, m = x.document || { head: {} }, p = {
  $flags$: 0,
  $resourcesUrl$: "",
  jmp: (e) => e(),
  raf: (e) => requestAnimationFrame(e),
  ael: (e, t, s, r) => e.addEventListener(t, s, r),
  rel: (e, t, s, r) => e.removeEventListener(t, s, r),
  ce: (e, t) => new CustomEvent(e, t)
}, Ie = /* @__PURE__ */ (() => {
  let e = !1;
  try {
    m.addEventListener(
      "e",
      null,
      Object.defineProperty({}, "passive", {
        get() {
          e = !0;
        }
      })
    );
  } catch (t) {
  }
  return e;
})(), Ue = (e) => Promise.resolve(e), He = /* @__PURE__ */ (() => {
  try {
    return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
  } catch (e) {
  }
  return !1;
})(), z = !1, Q = [], le = [], qe = (e, t) => (s) => {
  e.push(s), z || (z = !0, p.$flags$ & 4 ? F(B) : p.raf(B));
}, Z = (e) => {
  for (let t = 0; t < e.length; t++)
    try {
      e[t](performance.now());
    } catch (s) {
      L(s);
    }
  e.length = 0;
}, B = () => {
  Z(Q), Z(le), (z = Q.length > 0) && p.raf(B);
}, F = (e) => Ue().then(e), ze = /* @__PURE__ */ qe(le), kt = (e) => {
  const t = new URL(e, p.$resourcesUrl$);
  return t.origin !== x.location.origin ? t.href : t.pathname;
}, N = {}, Be = "http://www.w3.org/2000/svg", Ce = "http://www.w3.org/1999/xhtml", De = (e) => e != null, M = (e) => (e = typeof e, e === "object" || e === "function");
function ie(e) {
  var t, s, r;
  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;
}
var Fe = {};
_e(Fe, {
  err: () => $e,
  map: () => Me,
  ok: () => C,
  unwrap: () => We,
  unwrapErr: () => Ge
});
var C = (e) => ({
  isOk: !0,
  isErr: !1,
  value: e
}), $e = (e) => ({
  isOk: !1,
  isErr: !0,
  value: e
});
function Me(e, t) {
  if (e.isOk) {
    const s = t(e.value);
    return s instanceof Promise ? s.then((r) => C(r)) : C(s);
  }
  if (e.isErr) {
    const s = e.value;
    return $e(s);
  }
  throw "should never get here";
}
var We = (e) => {
  if (e.isOk)
    return e.value;
  throw e.value;
}, Ge = (e) => {
  if (e.isErr)
    return e.value;
  throw e.value;
}, k = (e, t = "") => () => {
}, Xe = (e, t) => () => {
}, oe = (e, t, ...s) => {
  let r = null, n = null, $ = !1, a = !1;
  const i = [], l = (c) => {
    for (let f = 0; f < c.length; f++)
      r = c[f], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && (($ = typeof e != "function" && !M(r)) && (r = String(r)), $ && a ? i[i.length - 1].$text$ += r : i.push($ ? U(null, r) : r), a = $);
  };
  if (l(s), t) {
    t.key && (n = t.key);
    {
      const c = t.className || t.class;
      c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
    }
  }
  if (typeof e == "function")
    return e(
      t === null ? {} : t,
      i,
      Ke
    );
  const o = U(e, null);
  return o.$attrs$ = t, i.length > 0 && (o.$children$ = i), o.$key$ = n, o;
}, U = (e, t) => {
  const s = {
    $flags$: 0,
    $tag$: e,
    $text$: t,
    $elm$: null,
    $children$: null
  };
  return s.$attrs$ = null, s.$key$ = null, s;
}, Ye = {}, Je = (e) => e && e.$tag$ === Ye, Ke = {
  forEach: (e, t) => e.map(V).forEach(t),
  map: (e, t) => e.map(V).map(t).map(Re)
}, V = (e) => ({
  vattrs: e.$attrs$,
  vchildren: e.$children$,
  vkey: e.$key$,
  vname: e.$name$,
  vtag: e.$tag$,
  vtext: e.$text$
}), Re = (e) => {
  if (typeof e.vtag == "function") {
    const s = J({}, e.vattrs);
    return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), oe(e.vtag, s, ...e.vchildren || []);
  }
  const t = U(e.vtag, e.vtext);
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
}, Qe = (e, t) => e != null && !M(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Ze = (e) => b(e).$hostElement$, bt = (e, t, s) => {
  const r = Ze(e);
  return {
    emit: (n) => ce(r, t, {
      bubbles: !0,
      composed: !0,
      cancelable: !0,
      detail: n
    })
  };
}, ce = (e, t, s) => {
  const r = p.ce(t, s);
  return e.dispatchEvent(r), r;
}, ee = /* @__PURE__ */ new WeakMap(), Ne = (e, t, s) => {
  let r = I.get(e);
  He && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, I.set(e, r);
}, Ve = (e, t, s) => {
  var r;
  const n = fe(t), $ = I.get(n);
  if (e = e.nodeType === 11 ? e : m, $)
    if (typeof $ == "string") {
      e = e.head || e;
      let a = ee.get(e), i;
      if (a || ee.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
        {
          i = m.createElement("style"), i.innerHTML = $;
          const l = (r = p.$nonce$) != null ? r : ie(m);
          l != null && i.setAttribute("nonce", l), e.insertBefore(i, e.querySelector("link"));
        }
        t.$flags$ & 4 && (i.innerHTML += ae), a && a.add(n);
      }
    } else
      e.adoptedStyleSheets.includes($) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, $]);
  return n;
}, et = (e) => {
  const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = k("attachStyles", t.$tagName$), $ = Ve(
    s.shadowRoot ? s.shadowRoot : s.getRootNode(),
    t
  );
  r & 10 && (s["s-sc"] = $, s.classList.add($ + "-h")), n();
}, fe = (e, t) => "sc-" + e.$tagName$, te = (e, t, s, r, n, $) => {
  if (s !== r) {
    let a = K(e, t), i = t.toLowerCase();
    if (t === "class") {
      const l = e.classList, o = se(s), c = se(r);
      l.remove(...o.filter((f) => f && !c.includes(f))), l.add(...c.filter((f) => f && !o.includes(f)));
    } else if (t === "style") {
      for (const l in s)
        (!r || r[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
      for (const l in r)
        (!s || r[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, r[l]) : e.style[l] = r[l]);
    } else if (t !== "key")
      if (t === "ref")
        r && r(e);
      else if (!a && t[0] === "o" && t[1] === "n") {
        if (t[2] === "-" ? t = t.slice(3) : K(x, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
          const l = t.endsWith(ue);
          t = t.replace(st, ""), s && p.rel(e, t, s, l), r && p.ael(e, t, r, l);
        }
      } else {
        const l = M(r);
        if ((a || l && r !== null) && !n)
          try {
            if (e.tagName.includes("-"))
              e[t] = r;
            else {
              const c = r == null ? "" : r;
              t === "list" ? a = !1 : (s == null || e[t] != c) && (e[t] = c);
            }
          } catch (c) {
          }
        let o = !1;
        i !== (i = i.replace(/^xlink\:?/, "")) && (t = i, o = !0), r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && (o ? e.removeAttributeNS(R, t) : e.removeAttribute(t)) : (!a || $ & 4 || n) && !l && (r = r === !0 ? "" : r, o ? e.setAttributeNS(R, t, r) : e.setAttribute(t, r));
      }
  }
}, tt = /\s/, se = (e) => e ? e.split(tt) : [], ue = "Capture", st = new RegExp(ue + "$"), de = (e, t, s) => {
  const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || N, $ = t.$attrs$ || N;
  for (const a of re(Object.keys(n)))
    a in $ || te(r, a, n[a], void 0, s, t.$flags$);
  for (const a of re(Object.keys($)))
    te(r, a, n[a], $[a], s, t.$flags$);
};
function re(e) {
  return e.includes("ref") ? (
    // we need to sort these to ensure that `'ref'` is the last attr
    [...e.filter((t) => t !== "ref"), "ref"]
  ) : (
    // no need to sort, return the original array
    e
  );
}
var O, W, y = !1, H = (e, t, s, r) => {
  const n = t.$children$[s];
  let $ = 0, a, i;
  if (n.$text$ !== null)
    a = n.$elm$ = m.createTextNode(n.$text$);
  else {
    if (y || (y = n.$tag$ === "svg"), a = n.$elm$ = m.createElementNS(
      y ? Be : Ce,
      n.$tag$
    ), y && n.$tag$ === "foreignObject" && (y = !1), de(null, n, y), De(O) && a["s-si"] !== O && a.classList.add(a["s-si"] = O), n.$children$)
      for ($ = 0; $ < n.$children$.length; ++$)
        i = H(e, n, $), i && a.appendChild(i);
    n.$tag$ === "svg" ? y = !1 : a.tagName === "foreignObject" && (y = !0);
  }
  return a["s-hn"] = W, a;
}, ve = (e, t, s, r, n, $) => {
  let a = e, i;
  for (a.shadowRoot && a.tagName === W && (a = a.shadowRoot); n <= $; ++n)
    r[n] && (i = H(null, s, n), i && (r[n].$elm$ = i, j(a, i, t)));
}, pe = (e, t, s) => {
  for (let r = t; r <= s; ++r) {
    const n = e[r];
    if (n) {
      const $ = n.$elm$;
      ge(n), $ && $.remove();
    }
  }
}, rt = (e, t, s, r, n = !1) => {
  let $ = 0, a = 0, i = 0, l = 0, o = t.length - 1, c = t[0], f = t[o], u = r.length - 1, d = r[0], v = r[u], g, S;
  for (; $ <= o && a <= u; )
    if (c == null)
      c = t[++$];
    else if (f == null)
      f = t[--o];
    else if (d == null)
      d = r[++a];
    else if (v == null)
      v = r[--u];
    else if (A(c, d, n))
      w(c, d, n), c = t[++$], d = r[++a];
    else if (A(f, v, n))
      w(f, v, n), f = t[--o], v = r[--u];
    else if (A(c, v, n))
      w(c, v, n), j(e, c.$elm$, f.$elm$.nextSibling), c = t[++$], v = r[--u];
    else if (A(f, d, n))
      w(f, d, n), j(e, f.$elm$, c.$elm$), f = t[--o], d = r[++a];
    else {
      for (i = -1, l = $; l <= o; ++l)
        if (t[l] && t[l].$key$ !== null && t[l].$key$ === d.$key$) {
          i = l;
          break;
        }
      i >= 0 ? (S = t[i], S.$tag$ !== d.$tag$ ? g = H(t && t[a], s, i) : (w(S, d, n), t[i] = void 0, g = S.$elm$), d = r[++a]) : (g = H(t && t[a], s, a), d = r[++a]), g && j(c.$elm$.parentNode, g, c.$elm$);
    }
  $ > o ? ve(
    e,
    r[u + 1] == null ? null : r[u + 1].$elm$,
    s,
    r,
    a,
    u
  ) : a > u && pe(t, $, o);
}, A = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, s = !1) => {
  const r = t.$elm$ = e.$elm$, n = e.$children$, $ = t.$children$, a = t.$tag$, i = t.$text$;
  i === null ? (y = a === "svg" ? !0 : a === "foreignObject" ? !1 : y, de(e, t, y), n !== null && $ !== null ? rt(r, n, t, $, s) : $ !== null ? (e.$text$ !== null && (r.textContent = ""), ve(r, null, t, $, 0, $.length - 1)) : n !== null && pe(n, 0, n.length - 1), y && a === "svg" && (y = !1)) : e.$text$ !== i && (r.data = i);
}, ge = (e) => {
  e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ge);
}, j = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), nt = (e, t, s = !1) => {
  const r = e.$hostElement$, n = e.$cmpMeta$, $ = e.$vnode$ || U(null, null), a = Je(t) ? t : oe(null, null, t);
  if (W = r.tagName, n.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, n.$attrsToReflect$.map(
    ([i, l]) => a.$attrs$[l] = r[i]
  )), s && a.$attrs$)
    for (const i of Object.keys(a.$attrs$))
      r.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (a.$attrs$[i] = r[i]);
  a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = $.$elm$ = r.shadowRoot || r, O = r["s-sc"], n.$flags$ & 1, w($, a, s);
}, he = (e, t) => {
  t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
}, G = (e, t) => {
  if (e.$flags$ |= 16, e.$flags$ & 4) {
    e.$flags$ |= 512;
    return;
  }
  return he(e, e.$ancestorComponent$), ze(() => at(e, t));
}, at = (e, t) => {
  const s = e.$hostElement$, r = k("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
  if (!n)
    throw new Error(
      `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`
    );
  let $;
  return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, i]) => P(n, a, i)), e.$queuedListeners$ = void 0), $ = P(n, "componentWillLoad")), r(), lt($, () => $t(e, n, t));
}, lt = (e, t) => it(e) ? e.then(t).catch((s) => {
  console.error(s), t();
}) : t(), it = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", $t = (e, t, s) => _(void 0, null, function* () {
  var r;
  const n = e.$hostElement$, $ = k("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
  s && et(e);
  const i = k("render", e.$cmpMeta$.$tagName$);
  ot(e, t, n, s), a && (a.map((l) => l()), n["s-rc"] = void 0), i(), $();
  {
    const l = (r = n["s-p"]) != null ? r : [], o = () => ct(e);
    l.length === 0 ? o() : (Promise.all(l).then(o), e.$flags$ |= 4, l.length = 0);
  }
}), ot = (e, t, s, r) => {
  try {
    t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, nt(e, t, r);
  } catch (n) {
    L(n, e.$hostElement$);
  }
  return null;
}, ct = (e) => {
  const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = k("postUpdate", t), n = e.$lazyInstance$, $ = e.$ancestorComponent$;
  P(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, me(s), P(n, "componentDidLoad"), r(), e.$onReadyResolve$(s), $ || ye()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && F(() => G(e, !1)), e.$flags$ &= -517;
}, ye = (e) => {
  me(m.documentElement), F(() => ce(x, "appload", { detail: { namespace: xe } }));
}, P = (e, t, s) => {
  if (e && e[t])
    try {
      return e[t](s);
    } catch (r) {
      L(r);
    }
}, me = (e) => {
  var t;
  return e.classList.add((t = Pe.hydratedSelectorName) != null ? t : "hydrated");
}, ft = (e, t) => b(e).$instanceValues$.get(t), ut = (e, t, s, r) => {
  const n = b(e);
  if (!n)
    throw new Error(
      `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).`
    );
  const $ = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, l = n.$lazyInstance$;
  s = Qe(s, r.$members$[t][0]);
  const o = Number.isNaN(a) && Number.isNaN(s), c = s !== a && !o;
  if ((!(i & 8) || a === void 0) && c && (n.$instanceValues$.set(t, s), l)) {
    if (r.$watchers$ && i & 128) {
      const f = r.$watchers$[t];
      f && f.map((u) => {
        try {
          l[u](s, a, t);
        } catch (d) {
          L(d, $);
        }
      });
    }
    (i & 18) === 2 && G(n, !1);
  }
}, Se = (e, t, s) => {
  var r, n;
  const $ = e.prototype;
  if (t.$members$ || t.$watchers$ || e.watchers) {
    e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
    const a = Object.entries((r = t.$members$) != null ? r : {});
    if (a.map(([i, [l]]) => {
      (l & 31 || s & 2 && l & 32) && Object.defineProperty($, i, {
        get() {
          return ft(this, i);
        },
        set(o) {
          ut(this, i, o, t);
        },
        configurable: !0,
        enumerable: !0
      });
    }), s & 1) {
      const i = /* @__PURE__ */ new Map();
      $.attributeChangedCallback = function(l, o, c) {
        p.jmp(() => {
          var f;
          const u = i.get(l);
          if (this.hasOwnProperty(u))
            c = this[u], delete this[u];
          else {
            if ($.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
              return;
            if (u == null) {
              const d = b(this), v = d == null ? void 0 : d.$flags$;
              if (v && !(v & 8) && v & 128 && c !== o) {
                const g = d.$lazyInstance$, S = (f = t.$watchers$) == null ? void 0 : f[l];
                S == null || S.forEach((h) => {
                  g[h] != null && g[h].call(g, c, o, l);
                });
              }
              return;
            }
          }
          this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
        });
      }, e.observedAttributes = Array.from(
        /* @__PURE__ */ new Set([
          ...Object.keys((n = t.$watchers$) != null ? n : {}),
          ...a.filter(
            ([l, o]) => o[0] & 15
            /* HasAttribute */
          ).map(([l, o]) => {
            var c;
            const f = o[1] || l;
            return i.set(f, l), o[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([l, f])), f;
          })
        ])
      );
    }
  }
  return e;
}, dt = (e, t, s, r) => _(void 0, null, function* () {
  let n;
  if (!(t.$flags$ & 32)) {
    if (t.$flags$ |= 32, s.$lazyBundleId$) {
      const l = Oe(s);
      if (l && "then" in l) {
        const c = Xe();
        n = yield l, c();
      } else
        n = l;
      if (!n)
        throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
      n.isProxied || (s.$watchers$ = n.watchers, Se(
        n,
        s,
        2
        /* proxyState */
      ), n.isProxied = !0);
      const o = k("createInstance", s.$tagName$);
      t.$flags$ |= 8;
      try {
        new n(t);
      } catch (c) {
        L(c);
      }
      t.$flags$ &= -9, t.$flags$ |= 128, o();
    } else {
      n = e.constructor;
      const l = e.localName;
      customElements.whenDefined(l).then(
        () => t.$flags$ |= 128
        /* isWatchReady */
      );
    }
    if (n && n.style) {
      let l;
      typeof n.style == "string" && (l = n.style);
      const o = fe(s);
      if (!I.has(o)) {
        const c = k("registerStyles", s.$tagName$);
        Ne(o, l, !!(s.$flags$ & 1)), c();
      }
    }
  }
  const $ = t.$ancestorComponent$, a = () => G(t, !0);
  $ && $["s-rc"] ? $["s-rc"].push(a) : a();
}), vt = (e) => {
}, pt = (e) => {
  if (!(p.$flags$ & 1)) {
    const t = b(e), s = t.$cmpMeta$, r = k("connectedCallback", s.$tagName$);
    if (t.$flags$ & 1)
      Ee(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => vt());
    else {
      t.$flags$ |= 1;
      {
        let n = e;
        for (; n = n.parentNode || n.host; )
          if (n["s-p"]) {
            he(t, t.$ancestorComponent$ = n);
            break;
          }
      }
      s.$members$ && Object.entries(s.$members$).map(([n, [$]]) => {
        if ($ & 31 && e.hasOwnProperty(n)) {
          const a = e[n];
          delete e[n], e[n] = a;
        }
      }), dt(e, t, s);
    }
    r();
  }
}, ne = (e) => {
  P(e, "disconnectedCallback");
}, gt = (e) => _(void 0, null, function* () {
  if (!(p.$flags$ & 1)) {
    const t = b(e);
    t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? ne(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ne(t.$lazyInstance$));
  }
}), Lt = (e, t = {}) => {
  var s;
  const r = k(), n = [], $ = t.exclude || [], a = x.customElements, i = m.head, l = /* @__PURE__ */ i.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
  let f, u = !0;
  Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
  let d = !1;
  if (e.map((v) => {
    v[1].map((g) => {
      var S;
      const h = {
        $flags$: g[0],
        $tagName$: g[1],
        $members$: g[2],
        $listeners$: g[3]
      };
      h.$flags$ & 4 && (d = !0), h.$members$ = g[2], h.$listeners$ = g[3], h.$attrsToReflect$ = [], h.$watchers$ = (S = g[4]) != null ? S : {};
      const T = h.$tagName$, ke = class extends HTMLElement {
        // StencilLazyHost
        constructor(E) {
          if (super(E), this.hasRegisteredEventListeners = !1, E = this, Ae(E, h), h.$flags$ & 1) {
            if (!E.shadowRoot)
              E.attachShadow({ mode: "open" });
            else if (E.shadowRoot.mode !== "open")
              throw new Error(
                `Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
              );
          }
        }
        connectedCallback() {
          const E = b(this);
          this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Ee(this, E, h.$listeners$)), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => pt(this));
        }
        disconnectedCallback() {
          p.jmp(() => gt(this));
        }
        componentOnReady() {
          return b(this).$onReadyPromise$;
        }
      };
      h.$lazyBundleId$ = v[0], !$.includes(T) && !a.get(T) && (n.push(T), a.define(
        T,
        Se(
          ke,
          h,
          1
          /* isElementConstructor */
        )
      ));
    });
  }), n.length > 0 && (d && (o.textContent += ae), o.textContent += n.sort() + je, o.innerHTML.length)) {
    o.setAttribute("data-styles", "");
    const v = (s = p.$nonce$) != null ? s : ie(m);
    v != null && o.setAttribute("nonce", v), i.insertBefore(o, l ? l.nextSibling : i.firstChild);
  }
  u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ye, 30)), r();
}, Ee = (e, t, s, r) => {
  s && s.map(([n, $, a]) => {
    const i = yt(e, n), l = ht(t, a), o = mt(n);
    p.ael(i, $, l, o), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel(i, $, l, o));
  });
}, ht = (e, t) => (s) => {
  var r;
  try {
    e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
  } catch (n) {
    L(n);
  }
}, yt = (e, t) => t & 8 ? x : e, mt = (e) => Ie ? {
  passive: (e & 1) !== 0,
  capture: (e & 2) !== 0
} : (e & 2) !== 0, wt = (e) => p.$nonce$ = e;
export {
  Ye as H,
  Ze as a,
  Lt as b,
  bt as c,
  kt as g,
  oe as h,
  Ue as p,
  Et as r,
  wt as s
};
