@everymatrix/casino-most-played-section 1.58.1 → 1.59.1

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 (31) hide show
  1. package/components/{CasinoFilter-CBoZ_RpC.js → CasinoFilter-B89QTVUk.js} +152 -148
  2. package/components/{CasinoFilter-D9VOcS4e.js → CasinoFilter-BuJFRvPM.js} +156 -152
  3. package/components/{CasinoFilter-CP2SsYcD.cjs → CasinoFilter-OPj81-Zy.cjs} +4 -4
  4. package/components/CasinoGameThumbnail-BadbB37q.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-Cwm-Tv9Z.js → CasinoGameThumbnail-D7d2CH9f.js} +1449 -1433
  6. package/components/{CasinoGameThumbnail-8SSlDp2s.js → CasinoGameThumbnail-De-MNb5C.js} +1516 -1500
  7. package/components/{CasinoGamesCategorySection-Dd6Sbxl3.js → CasinoGamesCategorySection-BZda8xTc.js} +402 -397
  8. package/components/{CasinoGamesCategorySection-CIDyNXT6.js → CasinoGamesCategorySection-BpG8cEx6.js} +296 -291
  9. package/components/{CasinoGamesCategorySection-BYQrH9_B.cjs → CasinoGamesCategorySection-itQeJrW_.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-Bdpwrllj.js → CasinoMostPlayedSection-BE1AytOD.js} +60 -60
  11. package/components/{CasinoMostPlayedSection-C2atcWQN.cjs → CasinoMostPlayedSection-CmAWXh3D.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSection-ZCvcv5TT.js → CasinoMostPlayedSection-awe5OQbs.js} +70 -70
  13. package/components/{CasinoSort-BUVnl6Xi.js → CasinoSort-BeHiiUhs.js} +19 -19
  14. package/components/{CasinoSort-Td9dTUIe.cjs → CasinoSort-CrDBxoGC.cjs} +1 -1
  15. package/components/{CasinoSort-fSuvj-fz.js → CasinoSort-CrQRKk5p.js} +19 -19
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
  23. package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
  24. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
  25. package/stencil/ui-skeleton-DFpfaKvi.js +11 -0
  26. package/stencil/ui-skeleton-IHMCRYEX.cjs +1 -0
  27. package/stencil/ui-skeleton-UUT_AJxa.js +29 -0
  28. package/stencil/ui-skeleton-a642cced-5nW6b8_l.cjs +1 -0
  29. package/stencil/ui-skeleton-a642cced-BNXFvvk_.js +122 -0
  30. package/stencil/ui-skeleton-a642cced-DdY2eEM0.js +122 -0
  31. package/components/CasinoGameThumbnail-CHQxvhi_.cjs +0 -47
@@ -1,4 +1,4 @@
1
- import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, h as R, k as h, o as lt, p as it, w as ct, x as G, y as dt, g as K, e as r, j as l, q as tt, A as N, l as Z, m as Q, B as pt, C as gt, D as ut, E as ht, F as mt } from "./CasinoFilter-CBoZ_RpC.js";
1
+ import { $ as q, M as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, h as R, l as h, p as lt, q as it, y as ct, z as G, A as dt, g as K, e as r, j as l, u as tt, C as N, m as Z, o as Q, D as pt, E as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-B89QTVUk.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -150,24 +150,24 @@ function wt(t) {
150
150
  /*vendorSortingBy*/
151
151
  (t[3] || /*$_*/
152
152
  t[4]("all")) + ""
153
- ), B, L, z, A, F, H, n, w, v, T, j, E, V, M = G(Object.values(
153
+ ), M, L, z, A, F, B, n, w, v, T, j, E, V, H = G(Object.values(
154
154
  /*vendorMap*/
155
155
  t[5]
156
156
  )), b = [];
157
- for (let c = 0; c < M.length; c += 1)
158
- b[c] = $(Y(t, M, c));
157
+ for (let c = 0; c < H.length; c += 1)
158
+ b[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"), B = Q(O), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
161
+ e = h("div"), o = h("div"), a = h("div"), s = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = Q(_), S = Z(), I = h("div"), C = h("span"), M = Q(O), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
162
162
  for (let c = 0; c < b.length; c += 1)
163
163
  b[c].c();
164
- r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", H = "TriangleInactive " + /*isSorterActive*/
164
+ r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(m, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", B = "TriangleInactive " + /*isSorterActive*/
165
165
  (t[1] ? "TriangleActive" : "")), r(o, "class", n = "SorterSelector " + /*isSorterActive*/
166
166
  (t[1] ? "SorterSelectorOpen" : "")), r(T, "class", "SorterDropdown"), r(v, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
169
  m(c, k) {
170
- R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, m), l(i, g), l(a, x), l(a, p), l(p, f), l(f, y), l(p, S), l(p, I), l(I, C), l(C, B), l(o, L), l(o, z), l(z, A), l(A, F), l(e, w), l(e, v), l(v, T);
170
+ R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, m), l(i, g), l(a, x), l(a, p), l(p, f), l(f, y), l(p, S), l(p, I), l(I, C), l(C, M), l(o, L), l(o, z), l(z, A), l(A, F), l(e, w), l(e, v), l(v, T);
171
171
  for (let u = 0; u < b.length; u += 1)
172
172
  b[u] && b[u].m(T, null);
173
173
  E || (V = tt(
@@ -183,24 +183,24 @@ function wt(t) {
183
183
  c[4]("sortby") + "") && K(y, _), k & /*vendorSortingBy, $_*/
184
184
  24 && O !== (O = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && K(B, O), k & /*isSorterActive*/
187
- 2 && H !== (H = "TriangleInactive " + /*isSorterActive*/
188
- (c[1] ? "TriangleActive" : "")) && r(z, "class", H), k & /*isSorterActive*/
186
+ c[4]("all")) + "") && K(M, O), k & /*isSorterActive*/
187
+ 2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
188
+ (c[1] ? "TriangleActive" : "")) && r(z, "class", B), k & /*isSorterActive*/
189
189
  2 && n !== (n = "SorterSelector " + /*isSorterActive*/
190
190
  (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", n), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
191
191
  120) {
192
- M = G(Object.values(
192
+ H = G(Object.values(
193
193
  /*vendorMap*/
194
194
  c[5]
195
195
  ));
196
196
  let u;
197
- for (u = 0; u < M.length; u += 1) {
198
- const J = Y(c, M, u);
197
+ for (u = 0; u < H.length; u += 1) {
198
+ const J = Y(c, H, u);
199
199
  b[u] ? b[u].p(J, k) : (b[u] = $(J), b[u].c(), b[u].m(T, null));
200
200
  }
201
201
  for (; u < b.length; u += 1)
202
202
  b[u].d(1);
203
- b.length = M.length;
203
+ b.length = H.length;
204
204
  }
205
205
  k & /*isSorterActive*/
206
206
  2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
@@ -306,7 +306,7 @@ function St(t, e, o) {
306
306
  o(3, S = "All"), o(2, _ = !1), o(1, f = !1);
307
307
  let n = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[g];
308
308
  n ? o(3, S = n) : o(3, S = "All"), o(3, S = C[n]);
309
- }, B = (n) => {
309
+ }, M = (n) => {
310
310
  o(3, S = n);
311
311
  let w = localStorage.getItem("vendorSortingBy");
312
312
  y = n;
@@ -331,8 +331,8 @@ function St(t, e, o) {
331
331
  it(() => (window.addEventListener("message", z, !1), () => {
332
332
  window.removeEventListener("message", z);
333
333
  }));
334
- const A = () => L(), F = (n) => B(n);
335
- function H(n) {
334
+ const A = () => L(), F = (n) => M(n);
335
+ function B(n) {
336
336
  ct[n ? "unshift" : "push"](() => {
337
337
  p = n, o(0, p);
338
338
  });
@@ -353,7 +353,7 @@ function St(t, e, o) {
353
353
  S,
354
354
  a,
355
355
  C,
356
- B,
356
+ M,
357
357
  L,
358
358
  s,
359
359
  i,
@@ -363,7 +363,7 @@ function St(t, e, o) {
363
363
  x,
364
364
  A,
365
365
  F,
366
- H
366
+ B
367
367
  ];
368
368
  }
369
369
  class vt extends ot {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-C2atcWQN.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-CmAWXh3D.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-ZCvcv5TT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-awe5OQbs.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoMostPlayedSection-Bdpwrllj.js";
1
+ import { C as n } from "../components/CasinoMostPlayedSection-BE1AytOD.js";
2
2
  function o(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-most-played-section",
3
- "version": "1.58.1",
3
+ "version": "1.59.1",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-most-played-section.js",
6
6
  "module": "esnext/casino-most-played-section.js",
@@ -0,0 +1,5 @@
1
+ const o = () => {
2
+ };
3
+ export {
4
+ o as g
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";const s=()=>{};exports.globalScripts=s;
@@ -0,0 +1,516 @@
1
+ const oe = "ui-skeleton", $e = (
2
+ /* ui-skeleton */
3
+ { hydratedSelectorName: "hydrated" }
4
+ );
5
+ var ce = Object.defineProperty, fe = (e, t) => {
6
+ for (var s in t)
7
+ ce(e, s, { get: t[s], enumerable: !0 });
8
+ }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), ue = (e, t) => {
9
+ const s = {
10
+ $flags$: 0,
11
+ $hostElement$: e,
12
+ $cmpMeta$: t,
13
+ $instanceValues$: /* @__PURE__ */ new Map()
14
+ };
15
+ return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], U.set(e, s);
16
+ }, k = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), de = (e, t, s) => {
17
+ const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
+ if (!r)
19
+ return;
20
+ const a = j.get(r);
21
+ if (a)
22
+ return a[n];
23
+ {
24
+ const l = (i) => (j.set(r, i), i[n]);
25
+ switch (r) {
26
+ case "ui-skeleton":
27
+ return import(
28
+ /* webpackMode: "lazy" */
29
+ "./ui-skeleton-DFpfaKvi.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
+ `./${r}.entry.js`
39
+ ).then((l) => (j.set(r, l), l[n]), k);
40
+ }, L = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, g = {
41
+ $flags$: 0,
42
+ $resourcesUrl$: "",
43
+ jmp: (e) => e(),
44
+ raf: (e) => requestAnimationFrame(e),
45
+ ael: (e, t, s, n) => e.addEventListener(t, s, n),
46
+ rel: (e, t, s, n) => e.removeEventListener(t, s, n),
47
+ ce: (e, t) => new CustomEvent(e, t)
48
+ }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
49
+ try {
50
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
+ } catch {
52
+ }
53
+ return !1;
54
+ })(), O = !1, N = [], J = [], he = (e, t) => (s) => {
55
+ e.push(s), O || (O = !0, g.$flags$ & 4 ? z(A) : g.raf(A));
56
+ }, C = (e) => {
57
+ for (let t = 0; t < e.length; t++)
58
+ try {
59
+ e[t](performance.now());
60
+ } catch (s) {
61
+ k(s);
62
+ }
63
+ e.length = 0;
64
+ }, A = () => {
65
+ C(N), C(J), (O = N.length > 0) && g.raf(A);
66
+ }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(J), D = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
67
+ function Q(e) {
68
+ var t, s, n;
69
+ return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
70
+ }
71
+ var ye = {};
72
+ fe(ye, {
73
+ err: () => X,
74
+ map: () => Se,
75
+ ok: () => I,
76
+ unwrap: () => be,
77
+ unwrapErr: () => ke
78
+ });
79
+ var I = (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 Se(e, t) {
89
+ if (e.isOk) {
90
+ const s = t(e.value);
91
+ return s instanceof Promise ? s.then((n) => I(n)) : I(s);
92
+ }
93
+ if (e.isErr) {
94
+ const s = e.value;
95
+ return X(s);
96
+ }
97
+ throw "should never get here";
98
+ }
99
+ var be = (e) => {
100
+ if (e.isOk)
101
+ return e.value;
102
+ throw e.value;
103
+ }, ke = (e) => {
104
+ if (e.isErr)
105
+ return e.value;
106
+ throw e.value;
107
+ }, S = (e, t = "") => () => {
108
+ }, Ee = (e, t) => () => {
109
+ }, we = (e, t, ...s) => {
110
+ let n = null, r = null, a = !1, l = !1;
111
+ const i = [], o = (c) => {
112
+ for (let f = 0; f < c.length; f++)
113
+ n = c[f], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !K(n)) && (n = String(n)), a && l ? i[i.length - 1].$text$ += n : i.push(a ? H(null, n) : n), l = a);
114
+ };
115
+ if (o(s), t) {
116
+ t.key && (r = 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 $ = H(e, null);
123
+ return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = r, $;
124
+ }, H = (e, t) => {
125
+ const s = {
126
+ $flags$: 0,
127
+ $tag$: e,
128
+ $text$: t,
129
+ $elm$: null,
130
+ $children$: null
131
+ };
132
+ return s.$attrs$ = null, s.$key$ = null, s;
133
+ }, Pe = {}, xe = (e) => e && e.$tag$ === Pe, Le = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Te = (e, t, s) => {
134
+ const n = g.ce(t, s);
135
+ return e.dispatchEvent(n), n;
136
+ }, F = /* @__PURE__ */ new WeakMap(), _e = (e, t, s) => {
137
+ let n = L.get(e);
138
+ ge && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, L.set(e, n);
139
+ }, je = (e, t, s) => {
140
+ var n;
141
+ const r = Z(t), a = L.get(r);
142
+ if (e = e.nodeType === 11 ? e : y, a)
143
+ if (typeof a == "string") {
144
+ e = e.head || e;
145
+ let l = F.get(e), i;
146
+ if (l || F.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
147
+ {
148
+ i = y.createElement("style"), i.innerHTML = a;
149
+ const o = (n = g.$nonce$) != null ? n : Q(y);
150
+ o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
151
+ }
152
+ t.$flags$ & 4 && (i.innerHTML += G), l && l.add(r);
153
+ }
154
+ } else
155
+ e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
+ return r;
157
+ }, Oe = (e) => {
158
+ const t = e.$cmpMeta$, s = e.$hostElement$, n = S("attachStyles", t.$tagName$);
159
+ je(
160
+ s.getRootNode(),
161
+ t
162
+ ), n();
163
+ }, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, s, n, r, a) => {
164
+ if (s !== n)
165
+ if (t.toLowerCase(), t === "class") {
166
+ const l = e.classList, i = W(s), o = W(n);
167
+ l.remove(...i.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !i.includes($)));
168
+ } else if (t === "style") {
169
+ for (const l in s)
170
+ (!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
171
+ for (const l in n)
172
+ (!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
173
+ } else
174
+ t === "key" || t === "ref" && n && n(e);
175
+ }, Ae = /\s/, W = (e) => e ? e.split(Ae) : [], R = (e, t, s) => {
176
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || D, a = t.$attrs$ || D;
177
+ for (const l of Y(Object.keys(r)))
178
+ l in a || M(n, l, r[l], void 0);
179
+ for (const l of Y(Object.keys(a)))
180
+ M(n, l, r[l], a[l]);
181
+ };
182
+ function Y(e) {
183
+ return e.includes("ref") ? (
184
+ // we need to sort these to ensure that `'ref'` is the last attr
185
+ [...e.filter((t) => t !== "ref"), "ref"]
186
+ ) : (
187
+ // no need to sort, return the original array
188
+ e
189
+ );
190
+ }
191
+ var V, T = (e, t, s, n) => {
192
+ const r = t.$children$[s];
193
+ let a = 0, l, i;
194
+ if (l = r.$elm$ = y.createElement(
195
+ r.$tag$
196
+ ), R(null, r), r.$children$)
197
+ for (a = 0; a < r.$children$.length; ++a)
198
+ i = T(e, r, a), i && l.appendChild(i);
199
+ return l["s-hn"] = V, l;
200
+ }, ee = (e, t, s, n, r, a) => {
201
+ let l = e, i;
202
+ for (; r <= a; ++r)
203
+ n[r] && (i = T(null, s, r), i && (n[r].$elm$ = i, x(l, i, t)));
204
+ }, te = (e, t, s) => {
205
+ for (let n = t; n <= s; ++n) {
206
+ const r = e[n];
207
+ if (r) {
208
+ const a = r.$elm$;
209
+ ne(r), a && a.remove();
210
+ }
211
+ }
212
+ }, Ie = (e, t, s, n, r = !1) => {
213
+ let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = n.length - 1, d = n[0], m = n[u], v, h;
214
+ for (; a <= $ && l <= u; )
215
+ if (c == null)
216
+ c = t[++a];
217
+ else if (f == null)
218
+ f = t[--$];
219
+ else if (d == null)
220
+ d = n[++l];
221
+ else if (m == null)
222
+ m = n[--u];
223
+ else if (P(c, d, r))
224
+ E(c, d, r), c = t[++a], d = n[++l];
225
+ else if (P(f, m, r))
226
+ E(f, m, r), f = t[--$], m = n[--u];
227
+ else if (P(c, m, r))
228
+ E(c, m, r), x(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], m = n[--u];
229
+ else if (P(f, d, r))
230
+ E(f, d, r), x(e, f.$elm$, c.$elm$), f = t[--$], d = n[++l];
231
+ else {
232
+ for (i = -1, o = a; o <= $; ++o)
233
+ if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
234
+ i = o;
235
+ break;
236
+ }
237
+ i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = T(t && t[l], s, i) : (E(h, d, r), t[i] = void 0, v = h.$elm$), d = n[++l]) : (v = T(t && t[l], s, l), d = n[++l]), v && x(c.$elm$.parentNode, v, c.$elm$);
238
+ }
239
+ a > $ ? ee(
240
+ e,
241
+ n[u + 1] == null ? null : n[u + 1].$elm$,
242
+ s,
243
+ n,
244
+ l,
245
+ u
246
+ ) : l > u && te(t, a, $);
247
+ }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, s = !1) => {
248
+ const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$;
249
+ R(e, t), r !== null && a !== null ? Ie(n, r, t, a, s) : a !== null ? ee(n, null, t, a, 0, a.length - 1) : r !== null && te(r, 0, r.length - 1);
250
+ }, ne = (e) => {
251
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ne);
252
+ }, x = (e, t, s) => e?.insertBefore(t, s), He = (e, t, s = !1) => {
253
+ const n = e.$hostElement$, r = e.$vnode$ || H(null, null), a = xe(t) ? t : we(null, null, t);
254
+ if (V = n.tagName, s && a.$attrs$)
255
+ for (const l of Object.keys(a.$attrs$))
256
+ n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
257
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = n, E(r, a, s);
258
+ }, se = (e, t) => {
259
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
260
+ }, q = (e, t) => {
261
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
262
+ e.$flags$ |= 512;
263
+ return;
264
+ }
265
+ return se(e, e.$ancestorComponent$), pe(() => Ue(e, t));
266
+ }, Ue = (e, t) => {
267
+ const s = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
268
+ if (!r)
269
+ throw new Error(
270
+ `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`
271
+ );
272
+ let a;
273
+ return n(), Be(a, () => qe(e, r, t));
274
+ }, Be = (e, t) => ze(e) ? e.then(t).catch((s) => {
275
+ console.error(s), t();
276
+ }) : t(), ze = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", qe = async (e, t, s) => {
277
+ var n;
278
+ const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
279
+ s && Oe(e);
280
+ const i = S("render", e.$cmpMeta$.$tagName$);
281
+ Ne(e, t, r, s), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), a();
282
+ {
283
+ const o = (n = r["s-p"]) != null ? n : [], $ = () => Ce(e);
284
+ o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
285
+ }
286
+ }, Ne = (e, t, s, n) => {
287
+ try {
288
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, n);
289
+ } catch (r) {
290
+ k(r, e.$hostElement$);
291
+ }
292
+ return null;
293
+ }, Ce = (e) => {
294
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
295
+ e.$flags$ & 64 ? n() : (e.$flags$ |= 64, le(s), De(r, "componentDidLoad"), n(), e.$onReadyResolve$(s), a || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
296
+ }, re = (e) => {
297
+ le(y.documentElement), z(() => Te(B, "appload", { detail: { namespace: oe } }));
298
+ }, De = (e, t, s) => {
299
+ if (e && e[t])
300
+ try {
301
+ return e[t](s);
302
+ } catch (n) {
303
+ k(n);
304
+ }
305
+ }, le = (e) => {
306
+ var t;
307
+ return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
308
+ }, Fe = (e, t) => b(e).$instanceValues$.get(t), Me = (e, t, s, n) => {
309
+ const r = b(e);
310
+ if (!r)
311
+ throw new Error(
312
+ `Couldn't find host element for "${n.$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).`
313
+ );
314
+ const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
315
+ s = Le(s, n.$members$[t][0]);
316
+ const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
317
+ if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, s), o)) {
318
+ if (n.$watchers$ && i & 128) {
319
+ const f = n.$watchers$[t];
320
+ f && f.map((u) => {
321
+ try {
322
+ o[u](s, l, t);
323
+ } catch (d) {
324
+ k(d, a);
325
+ }
326
+ });
327
+ }
328
+ (i & 18) === 2 && q(r, !1);
329
+ }
330
+ }, ae = (e, t, s) => {
331
+ var n, r;
332
+ const a = e.prototype;
333
+ if (t.$members$ || t.$watchers$ || e.watchers) {
334
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
335
+ const l = Object.entries((n = t.$members$) != null ? n : {});
336
+ if (l.map(([i, [o]]) => {
337
+ (o & 31 || s & 2 && o & 32) && Object.defineProperty(a, i, {
338
+ get() {
339
+ return Fe(this, i);
340
+ },
341
+ set($) {
342
+ Me(this, i, $, t);
343
+ },
344
+ configurable: !0,
345
+ enumerable: !0
346
+ });
347
+ }), s & 1) {
348
+ const i = /* @__PURE__ */ new Map();
349
+ a.attributeChangedCallback = function(o, $, c) {
350
+ g.jmp(() => {
351
+ var f;
352
+ const u = i.get(o);
353
+ if (this.hasOwnProperty(u))
354
+ c = this[u], delete this[u];
355
+ else {
356
+ if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
357
+ return;
358
+ if (u == null) {
359
+ const d = b(this), m = d?.$flags$;
360
+ if (m && !(m & 8) && m & 128 && c !== $) {
361
+ const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
362
+ h?.forEach((p) => {
363
+ v[p] != null && v[p].call(v, c, $, o);
364
+ });
365
+ }
366
+ return;
367
+ }
368
+ }
369
+ this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
370
+ });
371
+ }, e.observedAttributes = Array.from(
372
+ /* @__PURE__ */ new Set([
373
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
374
+ ...l.filter(
375
+ ([o, $]) => $[0] & 15
376
+ /* HasAttribute */
377
+ ).map(([o, $]) => {
378
+ const c = $[1] || o;
379
+ return i.set(c, o), c;
380
+ })
381
+ ])
382
+ );
383
+ }
384
+ }
385
+ return e;
386
+ }, We = async (e, t, s, n) => {
387
+ let r;
388
+ if (!(t.$flags$ & 32)) {
389
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
390
+ const o = de(s);
391
+ if (o && "then" in o) {
392
+ const c = Ee();
393
+ r = await o, c();
394
+ } else
395
+ r = o;
396
+ if (!r)
397
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
398
+ r.isProxied || (s.$watchers$ = r.watchers, ae(
399
+ r,
400
+ s,
401
+ 2
402
+ /* proxyState */
403
+ ), r.isProxied = !0);
404
+ const $ = S("createInstance", s.$tagName$);
405
+ t.$flags$ |= 8;
406
+ try {
407
+ new r(t);
408
+ } catch (c) {
409
+ k(c);
410
+ }
411
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
412
+ } else {
413
+ r = e.constructor;
414
+ const o = e.localName;
415
+ customElements.whenDefined(o).then(
416
+ () => t.$flags$ |= 128
417
+ /* isWatchReady */
418
+ );
419
+ }
420
+ if (r && r.style) {
421
+ let o;
422
+ typeof r.style == "string" && (o = r.style);
423
+ const $ = Z(s);
424
+ if (!L.has($)) {
425
+ const c = S("registerStyles", s.$tagName$);
426
+ _e($, o, !!(s.$flags$ & 1)), c();
427
+ }
428
+ }
429
+ }
430
+ const a = t.$ancestorComponent$, l = () => q(t, !0);
431
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
432
+ }, Ye = (e) => {
433
+ }, Ge = (e) => {
434
+ if (!(g.$flags$ & 1)) {
435
+ const t = b(e), s = t.$cmpMeta$, n = S("connectedCallback", s.$tagName$);
436
+ if (t.$flags$ & 1)
437
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
438
+ else {
439
+ t.$flags$ |= 1;
440
+ {
441
+ let r = e;
442
+ for (; r = r.parentNode || r.host; )
443
+ if (r["s-p"]) {
444
+ se(t, t.$ancestorComponent$ = r);
445
+ break;
446
+ }
447
+ }
448
+ s.$members$ && Object.entries(s.$members$).map(([r, [a]]) => {
449
+ if (a & 31 && e.hasOwnProperty(r)) {
450
+ const l = e[r];
451
+ delete e[r], e[r] = l;
452
+ }
453
+ }), We(e, t, s);
454
+ }
455
+ n();
456
+ }
457
+ }, Je = (e) => {
458
+ }, Ke = async (e) => {
459
+ if (!(g.$flags$ & 1)) {
460
+ const t = b(e);
461
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
462
+ }
463
+ }, Xe = (e, t = {}) => {
464
+ var s;
465
+ const n = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
466
+ let f, u = !0;
467
+ Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
468
+ let d = !1;
469
+ if (e.map((m) => {
470
+ m[1].map((v) => {
471
+ var h;
472
+ const p = {
473
+ $flags$: v[0],
474
+ $tagName$: v[1],
475
+ $members$: v[2],
476
+ $listeners$: v[3]
477
+ };
478
+ p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
479
+ const w = p.$tagName$, ie = class extends HTMLElement {
480
+ // StencilLazyHost
481
+ constructor(_) {
482
+ super(_), this.hasRegisteredEventListeners = !1, _ = this, ue(_, p);
483
+ }
484
+ connectedCallback() {
485
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => Ge(this));
486
+ }
487
+ disconnectedCallback() {
488
+ g.jmp(() => Ke(this));
489
+ }
490
+ componentOnReady() {
491
+ return b(this).$onReadyPromise$;
492
+ }
493
+ };
494
+ p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (r.push(w), l.define(
495
+ w,
496
+ ae(
497
+ ie,
498
+ p,
499
+ 1
500
+ /* isElementConstructor */
501
+ )
502
+ ));
503
+ });
504
+ }), r.length > 0 && (d && ($.textContent += G), $.textContent += r.sort() + me, $.innerHTML.length)) {
505
+ $.setAttribute("data-styles", "");
506
+ const m = (s = g.$nonce$) != null ? s : Q(y);
507
+ m != null && $.setAttribute("nonce", m), i.insertBefore($, o ? o.nextSibling : i.firstChild);
508
+ }
509
+ u = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => f = setTimeout(re, 30)), n();
510
+ };
511
+ export {
512
+ Xe as b,
513
+ we as h,
514
+ ve as p,
515
+ Qe as r
516
+ };