@everymatrix/casino-page 1.64.8 → 1.65.0

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 (97) hide show
  1. package/components/{CasinoCalendar-Vkb-R-ZX.js → CasinoCalendar-CcOHZE-j.js} +992 -1013
  2. package/components/{CasinoCalendar-CL5PkzEO.js → CasinoCalendar-Dczb8mQC.js} +835 -856
  3. package/components/CasinoCalendar-w4qeWjFd.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-Bc0r0Ym3.cjs → CasinoCalendarDailyDetails-BiJ4D-CT.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-Cf_NBcOX.js → CasinoCalendarDailyDetails-LLLXdKmx.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-nHgnBEAa.js → CasinoCalendarDailyDetails-vYp6eZpm.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-CQSuNZtl.js → CasinoCalendarDailyItem-B1BdPzMs.js} +36 -36
  8. package/components/{CasinoCalendarDailyItem-CUbfxemR.js → CasinoCalendarDailyItem-BtDpzRql.js} +36 -36
  9. package/components/{CasinoCalendarDailyItem-DcM708OO.cjs → CasinoCalendarDailyItem-DqY57MB3.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-pEu__c8l.js → CasinoCollectionsProviders-CD4HGozx.js} +45 -45
  11. package/components/{CasinoCollectionsProviders-C2HckLP0.js → CasinoCollectionsProviders-CcLhfsBA.js} +67 -67
  12. package/components/{CasinoCollectionsProviders-58EKJRFt.cjs → CasinoCollectionsProviders-EPGsdmDV.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-CcsvkrzG.js → CasinoFavoritesSection-B0AebYLJ.js} +18 -18
  14. package/components/{CasinoFavoritesSection-W3TMRpsu.cjs → CasinoFavoritesSection-CSPxG2oc.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-Bxc02QvN.js → CasinoFavoritesSection-mN7khGP5.js} +18 -18
  16. package/components/{CasinoFilter-DcGO-ipH.js → CasinoFilter-B7gl4Edz.js} +228 -229
  17. package/components/CasinoFilter-Bc1AKXad.cjs +1 -0
  18. package/components/{CasinoFilter-DdOgJOoJ.js → CasinoFilter-CCcGXUTM.js} +245 -244
  19. package/components/CasinoGameThumbnail-BPXPWNGv.cjs +47 -0
  20. package/components/{CasinoGameThumbnail-DXQLodRv.js → CasinoGameThumbnail-CHede4aL.js} +762 -778
  21. package/components/{CasinoGameThumbnail-CBE1pMbX.js → CasinoGameThumbnail-Dwd33EF0.js} +1269 -1253
  22. package/components/{CasinoGamesCategorySection-DqEYl0Es.js → CasinoGamesCategorySection-BwmqODc-.js} +246 -246
  23. package/components/{CasinoGamesCategorySection-D-NYfWaO.cjs → CasinoGamesCategorySection-DW1K_6jM.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySection-C71lsvsg.js → CasinoGamesCategorySection-w5d_m8fd.js} +250 -250
  25. package/components/{CasinoJackpotBanner-emlytO5A.js → CasinoJackpotBanner-ChKxca-1.js} +121 -121
  26. package/components/{CasinoJackpotBanner-BuVB-M1i.cjs → CasinoJackpotBanner-kQbS7eq1.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner-V6O3AoyH.js → CasinoJackpotBanner-y5JeKtYU.js} +114 -114
  28. package/components/{CasinoLastPlayedSection-BeOw-UDm.js → CasinoLastPlayedSection-CCQy8hwM.js} +45 -45
  29. package/components/{CasinoLastPlayedSection-ESrwXqVH.cjs → CasinoLastPlayedSection-ClFHGeMO.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-HNf5v3xk.js → CasinoLastPlayedSection-cQ2LJnlW.js} +45 -45
  31. package/components/{CasinoMostPlayedSection-DnCmD7jr.cjs → CasinoMostPlayedSection-C87YEW0b.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSection-Cv7_gNa_.js → CasinoMostPlayedSection-Dy4oNhLE.js} +46 -46
  33. package/components/{CasinoMostPlayedSection-ZxeqcEG3.js → CasinoMostPlayedSection-rZObWCTK.js} +46 -46
  34. package/components/{CasinoMyGames-B3n4oh-A.js → CasinoMyGames-BL3go5JB.js} +42 -42
  35. package/components/{CasinoMyGames-Ds1zAHP9.cjs → CasinoMyGames-C4Gw0VcD.cjs} +1 -1
  36. package/components/{CasinoMyGames-q-Hw-yUp.js → CasinoMyGames-DQIeUlQG.js} +41 -41
  37. package/components/{CasinoPage-Cb9IWIAt.cjs → CasinoPage-C0Mwc3ry.cjs} +1 -1
  38. package/components/{CasinoPage-aiERH-v5.js → CasinoPage-C1F6j5g8.js} +80 -80
  39. package/components/{CasinoPage-CoS68iHm.js → CasinoPage-CudP_D10.js} +78 -78
  40. package/components/{CasinoRandomGame-SWOJ-rEc.js → CasinoRandomGame-CD4fZ2Eg.js} +59 -59
  41. package/components/{CasinoRandomGame-z09wbNE_.js → CasinoRandomGame-CTY3ZI6p.js} +58 -58
  42. package/components/{CasinoRandomGame-Bu3vRXKq.cjs → CasinoRandomGame-G98k2hmn.cjs} +1 -1
  43. package/components/{CasinoSearch-CBVEB2Fu.js → CasinoSearch-C1zXIcW9.js} +112 -112
  44. package/components/{CasinoSearch-CPSvAdm9.cjs → CasinoSearch-CgBN5Q3b.cjs} +1 -1
  45. package/components/{CasinoSearch-JYJ0TOYC.js → CasinoSearch-DeSsBwHh.js} +109 -109
  46. package/components/{CasinoSort-DKVyUE8P.cjs → CasinoSort-BS3c32j2.cjs} +1 -1
  47. package/components/{CasinoSort-DfH2maWJ.js → CasinoSort-BbHFVbYp.js} +102 -103
  48. package/components/{CasinoSort-yjF37qpC.js → CasinoSort-Cmxruqiy.js} +112 -111
  49. package/components/{CasinoWinners-C9tJh4_L.cjs → CasinoWinners-B-JWDgIp.cjs} +1 -1
  50. package/components/{CasinoWinners-DB-fwvGm.js → CasinoWinners-BQ606d3J.js} +150 -150
  51. package/components/{CasinoWinners-BOXhaOL0.js → CasinoWinners-gpNnGc6K.js} +144 -144
  52. package/components/{GeneralAnimationLoading-B2emFg0o.js → GeneralAnimationLoading-BhGccNKr.js} +16 -16
  53. package/components/{GeneralAnimationLoading-KrmvxEvx.js → GeneralAnimationLoading-CYLFcQiI.js} +16 -16
  54. package/components/{GeneralAnimationLoading-Gvq6az05.cjs → GeneralAnimationLoading-DkopWEE0.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-Dkk0BTsb.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
  60. package/stencil/{casino-play-random-game-C0BJMsSD.js → casino-play-random-game-qroM0e64.js} +2 -2
  61. package/stencil/{casino-play-random-game-BLl4u8GF.js → casino-play-random-game-uBjWXXLi.js} +2 -2
  62. package/stencil/index-97d17652-BzQXAkmg.js +558 -0
  63. package/stencil/index-97d17652-DYGS0vqJ.cjs +1 -0
  64. package/stencil/index-97d17652-mbOyENH9.js +542 -0
  65. package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
  66. package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
  67. package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
  68. package/stencil/index-b2193545-1xr0QZqh.js +519 -0
  69. package/stencil/index-b2193545-CBbhLYGf.js +503 -0
  70. package/stencil/index-b2193545-Cb0KmSjH.cjs +1 -0
  71. package/stencil/{ui-image-YGEFo8L0.js → ui-image-3GJmZGc5.js} +1 -1
  72. package/stencil/{ui-image-w38Eao2h.js → ui-image-DWftG2wP.js} +1 -1
  73. package/stencil/{ui-image-DLXwOzO2.cjs → ui-image-DYk0yoSW.cjs} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-7wF4sIlr.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-DQE3WxuL.cjs} +1 -1
  76. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-kIlLPkYB.js} +1 -1
  77. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CJHJWEhi.cjs} +1 -1
  78. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Db7N7hzA.js} +2 -2
  79. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-oohpKuRS.js} +2 -2
  80. package/stencil/{ui-skeleton-1cb75d00-D5AevndQ.js → ui-skeleton-1cb75d00-CLDhpYil.js} +1 -1
  81. package/stencil/{ui-skeleton-1cb75d00-C9ZtbYpX.cjs → ui-skeleton-1cb75d00-CxoWdhdz.cjs} +1 -1
  82. package/stencil/{ui-skeleton-1cb75d00-BWUmrSx4.js → ui-skeleton-1cb75d00-DdX5kLxg.js} +1 -1
  83. package/stencil/{ui-skeleton-CUmVjhrn.cjs → ui-skeleton-3ETvO3HA.cjs} +1 -1
  84. package/stencil/{ui-skeleton-D5ACyLBl.js → ui-skeleton-BaRKsizw.js} +2 -2
  85. package/stencil/{ui-skeleton-CDhNSEbX.js → ui-skeleton-Dcy_5g4O.js} +2 -2
  86. package/components/CasinoCalendar-B7HDzCMK.cjs +0 -19
  87. package/components/CasinoFilter-Bmbi-NIl.cjs +0 -1
  88. package/components/CasinoGameThumbnail-COIE0fub.cjs +0 -47
  89. package/stencil/index-97d17652-BEnqZAxL.js +0 -558
  90. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
  91. package/stencil/index-97d17652-WK_DbPS4.js +0 -542
  92. package/stencil/index-ab3202d6-CZKlrnZf.js +0 -559
  93. package/stencil/index-ab3202d6-ClDKsCJv.js +0 -575
  94. package/stencil/index-ab3202d6-DFbwTHas.cjs +0 -1
  95. package/stencil/index-b2193545-60VR4wV3.js +0 -519
  96. package/stencil/index-b2193545-LYFajSbf.js +0 -503
  97. package/stencil/index-b2193545-nJb2J-aJ.cjs +0 -1
@@ -1,559 +0,0 @@
1
- const he = "casino-play-random-game", ge = (
2
- /* casino-play-random-game */
3
- { hydratedSelectorName: "hydrated" }
4
- );
5
- var ye = Object.defineProperty, me = (e, t) => {
6
- for (var r in t)
7
- ye(e, r, { get: t[r], enumerable: !0 });
8
- }, q = /* @__PURE__ */ new WeakMap(), E = (e) => q.get(e), st = (e, t) => q.set(t.$lazyInstance$ = e, t), Se = (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"] = [], q.set(e, r);
16
- }, F = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), Ee = (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 = (o) => (O.set(n, o), o[s]);
25
- switch (n) {
26
- case "casino-play-random-game":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./casino-play-random-game-BLl4u8GF.js"
30
- ).then(l, b);
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]), b);
40
- }, A = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", I = typeof window < "u" ? window : {}, m = I.document || { head: {} }, h = {
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
- }, be = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), U = !1, G = [], ee = [], xe = (e, t) => (r) => {
55
- e.push(r), U || (U = !0, h.$flags$ & 4 ? R(z) : h.raf(z));
56
- }, X = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (r) {
61
- b(r);
62
- }
63
- e.length = 0;
64
- }, z = () => {
65
- X(G), X(ee), (U = G.length > 0) && h.raf(z);
66
- }, R = (e) => be().then(e), Te = /* @__PURE__ */ xe(ee), Y = {}, Pe = (e) => e != null, D = (e) => (e = typeof e, e === "object" || e === "function");
67
- function te(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 _e = {};
72
- me(_e, {
73
- err: () => se,
74
- map: () => Ae,
75
- ok: () => C,
76
- unwrap: () => Le,
77
- unwrapErr: () => Ie
78
- });
79
- var C = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), se = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function Ae(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 se(r);
96
- }
97
- throw "should never get here";
98
- }
99
- var Le = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, Ie = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, je = (e, t) => () => {
109
- }, Oe = (e, t, ...r) => {
110
- let s = null, n = null, a = !1, l = !1;
111
- const o = [], i = (c) => {
112
- for (let f = 0; f < c.length; f++)
113
- s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !D(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? H(null, s) : s), l = a);
114
- };
115
- if (i(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 $ = H(e, null);
123
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
124
- }, H = (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
- }, Ue = {}, ze = (e) => e && e.$tag$ === Ue, Ce = (e, t) => e != null && !D(e) && t & 1 ? String(e) : e, He = (e) => E(e).$hostElement$, nt = (e, t, r) => {
134
- const s = He(e);
135
- return {
136
- emit: (n) => ne(s, t, {
137
- bubbles: !0,
138
- composed: !0,
139
- cancelable: !0,
140
- detail: n
141
- })
142
- };
143
- }, ne = (e, t, r) => {
144
- const s = h.ce(t, r);
145
- return e.dispatchEvent(s), s;
146
- }, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, r) => {
147
- let s = A.get(e);
148
- we && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
149
- }, qe = (e, t, r) => {
150
- var s;
151
- const n = re(t), a = A.get(n);
152
- if (e = e.nodeType === 11 ? e : m, a)
153
- if (typeof a == "string") {
154
- e = e.head || e;
155
- let l = J.get(e), o;
156
- if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
157
- {
158
- o = m.createElement("style"), o.innerHTML = a;
159
- const i = (s = h.$nonce$) != null ? s : te(m);
160
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
161
- }
162
- t.$flags$ & 4 && (o.innerHTML += V), l && l.add(n);
163
- }
164
- } else
165
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
166
- return n;
167
- }, Re = (e) => {
168
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = qe(
169
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
170
- t
171
- );
172
- s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
173
- }, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
174
- if (r !== s) {
175
- let l = F(e, t), o = t.toLowerCase();
176
- if (t === "class") {
177
- const i = e.classList, $ = Q(r), c = Q(s);
178
- i.remove(...$.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !$.includes(f)));
179
- } else if (t !== "key")
180
- if (t === "ref")
181
- s && s(e);
182
- else if (!l && t[0] === "o" && t[1] === "n") {
183
- if (t[2] === "-" ? t = t.slice(3) : F(I, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
184
- const i = t.endsWith(le);
185
- t = t.replace(Me, ""), r && h.rel(e, t, r, i), s && h.ael(e, t, s, i);
186
- }
187
- } else {
188
- const i = D(s);
189
- if (l || i && s !== null)
190
- try {
191
- if (e.tagName.includes("-"))
192
- e[t] = s;
193
- else {
194
- const $ = s ?? "";
195
- t === "list" ? l = !1 : (r == null || e[t] != $) && (e[t] = $);
196
- }
197
- } catch {
198
- }
199
- 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));
200
- }
201
- }
202
- }, De = /\s/, Q = (e) => e ? e.split(De) : [], le = "Capture", Me = new RegExp(le + "$"), ae = (e, t, r) => {
203
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
204
- for (const l of Z(Object.keys(n)))
205
- l in a || K(s, l, n[l], void 0, r, t.$flags$);
206
- for (const l of Z(Object.keys(a)))
207
- K(s, l, n[l], a[l], r, t.$flags$);
208
- };
209
- function Z(e) {
210
- return e.includes("ref") ? (
211
- // we need to sort these to ensure that `'ref'` is the last attr
212
- [...e.filter((t) => t !== "ref"), "ref"]
213
- ) : (
214
- // no need to sort, return the original array
215
- e
216
- );
217
- }
218
- var P, M, oe = !1, L = (e, t, r, s) => {
219
- const n = t.$children$[r];
220
- let a = 0, l, o;
221
- if (n.$text$ !== null)
222
- l = n.$elm$ = m.createTextNode(n.$text$);
223
- else if (l = n.$elm$ = m.createElement(
224
- n.$tag$
225
- ), ae(null, n, oe), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), n.$children$)
226
- for (a = 0; a < n.$children$.length; ++a)
227
- o = L(e, n, a), o && l.appendChild(o);
228
- return l["s-hn"] = M, l;
229
- }, ie = (e, t, r, s, n, a) => {
230
- let l = e, o;
231
- for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); n <= a; ++n)
232
- s[n] && (o = L(null, r, n), o && (s[n].$elm$ = o, _(l, o, t)));
233
- }, $e = (e, t, r) => {
234
- for (let s = t; s <= r; ++s) {
235
- const n = e[s];
236
- if (n) {
237
- const a = n.$elm$;
238
- ce(n), a && a.remove();
239
- }
240
- }
241
- }, We = (e, t, r, s, n = !1) => {
242
- let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], p, y;
243
- for (; a <= $ && l <= u; )
244
- if (c == null)
245
- c = t[++a];
246
- else if (f == null)
247
- f = t[--$];
248
- else if (d == null)
249
- d = s[++l];
250
- else if (v == null)
251
- v = s[--u];
252
- else if (T(c, d, n))
253
- w(c, d, n), c = t[++a], d = s[++l];
254
- else if (T(f, v, n))
255
- w(f, v, n), f = t[--$], v = s[--u];
256
- else if (T(c, v, n))
257
- w(c, v, n), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
258
- else if (T(f, d, n))
259
- w(f, d, n), _(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
260
- else {
261
- for (o = -1, i = a; i <= $; ++i)
262
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
263
- o = i;
264
- break;
265
- }
266
- o >= 0 ? (y = t[o], y.$tag$ !== d.$tag$ ? p = L(t && t[l], r, o) : (w(y, d, n), t[o] = void 0, p = y.$elm$), d = s[++l]) : (p = L(t && t[l], r, l), d = s[++l]), p && _(c.$elm$.parentNode, p, c.$elm$);
267
- }
268
- a > $ ? ie(
269
- e,
270
- s[u + 1] == null ? null : s[u + 1].$elm$,
271
- r,
272
- s,
273
- l,
274
- u
275
- ) : l > u && $e(t, a, $);
276
- }, T = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
277
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
278
- l === null ? (ae(e, t, oe), n !== null && a !== null ? We(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ie(s, null, t, a, 0, a.length - 1)) : n !== null && $e(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
279
- }, ce = (e) => {
280
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ce);
281
- }, _ = (e, t, r) => e?.insertBefore(t, r), Fe = (e, t, r = !1) => {
282
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || H(null, null), l = ze(t) ? t : Oe(null, null, t);
283
- if (M = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
284
- ([o, i]) => l.$attrs$[i] = s[o]
285
- )), r && l.$attrs$)
286
- for (const o of Object.keys(l.$attrs$))
287
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
288
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, P = s["s-sc"], n.$flags$ & 1, w(a, l, r);
289
- }, fe = (e, t) => {
290
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
291
- }, W = (e, t) => {
292
- if (e.$flags$ |= 16, e.$flags$ & 4) {
293
- e.$flags$ |= 512;
294
- return;
295
- }
296
- return fe(e, e.$ancestorComponent$), Te(() => Ge(e, t));
297
- }, Ge = (e, t) => {
298
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
299
- if (!n)
300
- throw new Error(
301
- `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`
302
- );
303
- let a;
304
- return t && (a = j(n, "componentWillLoad")), s(), Xe(a, () => Je(e, n, t));
305
- }, Xe = (e, t) => Ye(e) ? e.then(t).catch((r) => {
306
- console.error(r), t();
307
- }) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, r) => {
308
- var s;
309
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
310
- r && Re(e);
311
- const o = S("render", e.$cmpMeta$.$tagName$);
312
- Ke(e, t, n, r), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
313
- {
314
- const i = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
315
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
316
- }
317
- }, Ke = (e, t, r, s) => {
318
- try {
319
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
320
- } catch (n) {
321
- b(n, e.$hostElement$);
322
- }
323
- return null;
324
- }, Qe = (e) => {
325
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
326
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, de(r), j(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && R(() => W(e, !1)), e.$flags$ &= -517;
327
- }, ue = (e) => {
328
- de(m.documentElement), R(() => ne(I, "appload", { detail: { namespace: he } }));
329
- }, j = (e, t, r) => {
330
- if (e && e[t])
331
- try {
332
- return e[t](r);
333
- } catch (s) {
334
- b(s);
335
- }
336
- }, de = (e) => {
337
- var t;
338
- return e.classList.add((t = ge.hydratedSelectorName) != null ? t : "hydrated");
339
- }, Ze = (e, t) => E(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
340
- const n = E(e);
341
- if (!n)
342
- throw new Error(
343
- `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).`
344
- );
345
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
346
- r = Ce(r, s.$members$[t][0]);
347
- const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
348
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), i)) {
349
- if (s.$watchers$ && o & 128) {
350
- const f = s.$watchers$[t];
351
- f && f.map((u) => {
352
- try {
353
- i[u](r, l, t);
354
- } catch (d) {
355
- b(d, a);
356
- }
357
- });
358
- }
359
- (o & 18) === 2 && W(n, !1);
360
- }
361
- }, ve = (e, t, r) => {
362
- var s, n;
363
- const a = e.prototype;
364
- if (t.$members$ || t.$watchers$ || e.watchers) {
365
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
366
- const l = Object.entries((s = t.$members$) != null ? s : {});
367
- if (l.map(([o, [i]]) => {
368
- (i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
369
- get() {
370
- return Ze(this, o);
371
- },
372
- set($) {
373
- Ne(this, o, $, t);
374
- },
375
- configurable: !0,
376
- enumerable: !0
377
- });
378
- }), r & 1) {
379
- const o = /* @__PURE__ */ new Map();
380
- a.attributeChangedCallback = function(i, $, c) {
381
- h.jmp(() => {
382
- var f;
383
- const u = o.get(i);
384
- if (this.hasOwnProperty(u))
385
- c = this[u], delete this[u];
386
- else {
387
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
388
- return;
389
- if (u == null) {
390
- const d = E(this), v = d?.$flags$;
391
- if (v && !(v & 8) && v & 128 && c !== $) {
392
- const p = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[i];
393
- y?.forEach((g) => {
394
- p[g] != null && p[g].call(p, c, $, i);
395
- });
396
- }
397
- return;
398
- }
399
- }
400
- this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
401
- });
402
- }, e.observedAttributes = Array.from(
403
- /* @__PURE__ */ new Set([
404
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
405
- ...l.filter(
406
- ([i, $]) => $[0] & 15
407
- /* HasAttribute */
408
- ).map(([i, $]) => {
409
- var c;
410
- const f = $[1] || i;
411
- return o.set(f, i), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, f])), f;
412
- })
413
- ])
414
- );
415
- }
416
- }
417
- return e;
418
- }, Ve = async (e, t, r, s) => {
419
- let n;
420
- if (!(t.$flags$ & 32)) {
421
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
422
- const i = Ee(r);
423
- if (i && "then" in i) {
424
- const c = je();
425
- n = await i, c();
426
- } else
427
- n = i;
428
- if (!n)
429
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
430
- n.isProxied || (r.$watchers$ = n.watchers, ve(
431
- n,
432
- r,
433
- 2
434
- /* proxyState */
435
- ), n.isProxied = !0);
436
- const $ = S("createInstance", r.$tagName$);
437
- t.$flags$ |= 8;
438
- try {
439
- new n(t);
440
- } catch (c) {
441
- b(c);
442
- }
443
- t.$flags$ &= -9, t.$flags$ |= 128, $(), B(t.$lazyInstance$);
444
- } else {
445
- n = e.constructor;
446
- const i = e.localName;
447
- customElements.whenDefined(i).then(
448
- () => t.$flags$ |= 128
449
- /* isWatchReady */
450
- );
451
- }
452
- if (n && n.style) {
453
- let i;
454
- typeof n.style == "string" && (i = n.style);
455
- const $ = re(r);
456
- if (!A.has($)) {
457
- const c = S("registerStyles", r.$tagName$);
458
- Be($, i, !!(r.$flags$ & 1)), c();
459
- }
460
- }
461
- }
462
- const a = t.$ancestorComponent$, l = () => W(t, !0);
463
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
464
- }, B = (e) => {
465
- j(e, "connectedCallback");
466
- }, et = (e) => {
467
- if (!(h.$flags$ & 1)) {
468
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
469
- if (t.$flags$ & 1)
470
- t?.$lazyInstance$ ? B(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
471
- else {
472
- t.$flags$ |= 1;
473
- {
474
- let n = e;
475
- for (; n = n.parentNode || n.host; )
476
- if (n["s-p"]) {
477
- fe(t, t.$ancestorComponent$ = n);
478
- break;
479
- }
480
- }
481
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
482
- if (a & 31 && e.hasOwnProperty(n)) {
483
- const l = e[n];
484
- delete e[n], e[n] = l;
485
- }
486
- }), Ve(e, t, r);
487
- }
488
- s();
489
- }
490
- }, N = (e) => {
491
- j(e, "disconnectedCallback");
492
- }, tt = async (e) => {
493
- if (!(h.$flags$ & 1)) {
494
- const t = E(e);
495
- t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
496
- }
497
- }, rt = (e, t = {}) => {
498
- var r;
499
- const s = S(), n = [], a = t.exclude || [], l = I.customElements, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
500
- let f, u = !0;
501
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
502
- let d = !1;
503
- if (e.map((v) => {
504
- v[1].map((p) => {
505
- var y;
506
- const g = {
507
- $flags$: p[0],
508
- $tagName$: p[1],
509
- $members$: p[2],
510
- $listeners$: p[3]
511
- };
512
- g.$flags$ & 4 && (d = !0), g.$members$ = p[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = p[4]) != null ? y : {};
513
- const x = g.$tagName$, pe = class extends HTMLElement {
514
- // StencilLazyHost
515
- constructor(k) {
516
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Se(k, g), g.$flags$ & 1) {
517
- if (!k.shadowRoot)
518
- k.attachShadow({ mode: "open" });
519
- else if (k.shadowRoot.mode !== "open")
520
- throw new Error(
521
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
522
- );
523
- }
524
- }
525
- connectedCallback() {
526
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : h.jmp(() => et(this));
527
- }
528
- disconnectedCallback() {
529
- h.jmp(() => tt(this));
530
- }
531
- componentOnReady() {
532
- return E(this).$onReadyPromise$;
533
- }
534
- };
535
- g.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
536
- x,
537
- ve(
538
- pe,
539
- g,
540
- 1
541
- /* isElementConstructor */
542
- )
543
- ));
544
- });
545
- }), n.length > 0 && (d && ($.textContent += V), $.textContent += n.sort() + ke, $.innerHTML.length)) {
546
- $.setAttribute("data-styles", "");
547
- const v = (r = h.$nonce$) != null ? r : te(m);
548
- v != null && $.setAttribute("nonce", v), o.insertBefore($, i ? i.nextSibling : o.firstChild);
549
- }
550
- u = !1, c.length ? c.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
551
- };
552
- export {
553
- rt as b,
554
- nt as c,
555
- He as g,
556
- Oe as h,
557
- be as p,
558
- st as r
559
- };