@everymatrix/casino-lobby 1.77.12 → 1.77.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 (101) hide show
  1. package/components/{CasinoCalendar-zuTe3VuX.js → CasinoCalendar-2Cpj6Bg6.js} +2 -2
  2. package/components/{CasinoCalendar-DyBPfr8g.js → CasinoCalendar-CMIWRUUm.js} +2 -2
  3. package/components/{CasinoCalendar-BXkKXIW5.cjs → CasinoCalendar-DV_HGN_d.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-exLcPp9d.js → CasinoCalendarDailyDetails-B5krFnaT.js} +2 -2
  5. package/components/{CasinoCalendarDailyDetails-BSZTWjUP.js → CasinoCalendarDailyDetails-DA7MIM93.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-C-Z1rUGp.cjs → CasinoCalendarDailyDetails-XuqvF6i3.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DhxDC_cY.js → CasinoCalendarDailyItem-BAJJIvIo.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-DsszYt1n.js → CasinoCalendarDailyItem-DY2ge_ta.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-C2-bAoC9.cjs → CasinoCalendarDailyItem-Q79--gB8.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BBjSAeXS.cjs → CasinoCategoriesSlider-Bj5sxBdL.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-DbzHTxyP.js → CasinoCategoriesSlider-D8ihGze3.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-C_rVyJhr.js → CasinoCategoriesSlider-QFkK1VfK.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-07KHU5kx.js → CasinoCollectionsProviders-4Z4WIkbN.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-D3Zl7Nz0.cjs → CasinoCollectionsProviders-CyhsgC2q.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-995xsVnL.js → CasinoCollectionsProviders-KSxevvZ5.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DJZI2rYY.js → CasinoFavoritesSection-5t-YdXxm.js} +2 -2
  17. package/components/{CasinoFavoritesSection-DfLdFUrZ.js → CasinoFavoritesSection-BJE-MQG7.js} +2 -2
  18. package/components/{CasinoFavoritesSection-5bYhSr79.cjs → CasinoFavoritesSection-DjiIRQLn.cjs} +1 -1
  19. package/components/{CasinoFilter-D-MHArIw.cjs → CasinoFilter-BDFP3doT.cjs} +1 -1
  20. package/components/{CasinoFilter-BuGoytL_.js → CasinoFilter-DqvsdQLm.js} +1 -1
  21. package/components/{CasinoFilter-MHNyQSU3.js → CasinoFilter-nIExzBTm.js} +1 -1
  22. package/components/{CasinoGameThumbnail-cHRupZt_.cjs → CasinoGameThumbnail-CRu4wYn9.cjs} +1 -1
  23. package/components/{CasinoGameThumbnail-C_0Y1dkd.js → CasinoGameThumbnail-D0NeJLRZ.js} +2 -2
  24. package/components/{CasinoGameThumbnail-BSIYg04A.js → CasinoGameThumbnail-D913j_wH.js} +2 -2
  25. package/components/{CasinoGamesCategorySection-CESeqX_L.js → CasinoGamesCategorySection-5LFU5yuj.js} +5 -5
  26. package/components/{CasinoGamesCategorySection-CBkUE5uv.cjs → CasinoGamesCategorySection-CRaxNGy0.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-A08NUgCq.js → CasinoGamesCategorySection-CXzA9Pec.js} +5 -5
  28. package/components/{CasinoJackpotBanner-75MQ66qi.cjs → CasinoJackpotBanner-C2pEv1Zb.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-3DwTsCVK.js → CasinoJackpotBanner-EKq86n9z.js} +2 -2
  30. package/components/{CasinoJackpotBanner-CnlNGCDY.js → CasinoJackpotBanner-uWhhU8zz.js} +2 -2
  31. package/components/{CasinoLastPlayedSection-BZtGmUUA.cjs → CasinoLastPlayedSection-9KTmn4zi.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-D-8v-cne.js → CasinoLastPlayedSection-CNaFhDz8.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-DRoIS-0_.js → CasinoLastPlayedSection-O8WbOixZ.js} +2 -2
  34. package/components/{CasinoLobby-LgecSfVr.js → CasinoLobby-BFQ4We_Z.js} +3 -3
  35. package/components/{CasinoLobby-i-a4pZhC.js → CasinoLobby-BgA2Yfeh.js} +3 -3
  36. package/components/{CasinoLobby-HHgiyccN.cjs → CasinoLobby-BtMWFSuO.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-BwEKJcPf.js → CasinoMostPlayedSection-Akkt-8zb.js} +2 -2
  38. package/components/{CasinoMostPlayedSection-BBXzsvRl.cjs → CasinoMostPlayedSection-CCxUcNEd.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-CjYZTW4E.js → CasinoMostPlayedSection-DHre12XW.js} +2 -2
  40. package/components/{CasinoMyGames-xkjGsmOF.js → CasinoMyGames-6UepUaP6.js} +4 -4
  41. package/components/{CasinoMyGames-77EwW-yt.cjs → CasinoMyGames-C5pDZdI8.cjs} +1 -1
  42. package/components/{CasinoMyGames-DHuPaNG0.js → CasinoMyGames-CxerF-Yu.js} +4 -4
  43. package/components/{CasinoPage-DI-PASIJ.js → CasinoPage-Baakldpz.js} +11 -11
  44. package/components/{CasinoPage-4oV_jcI0.cjs → CasinoPage-Dcsv0xP0.cjs} +1 -1
  45. package/components/{CasinoPage-CB70PkG7.js → CasinoPage-DpOZxl2w.js} +11 -11
  46. package/components/{CasinoRandomGame-C9StTrk4.js → CasinoRandomGame-C0LeVa_K.js} +1 -1
  47. package/components/{CasinoRandomGame-CPpU-72j.cjs → CasinoRandomGame-CN0ZsyT7.cjs} +1 -1
  48. package/components/{CasinoRandomGame-BYvwFr_b.js → CasinoRandomGame-KqxBje-s.js} +1 -1
  49. package/components/{CasinoSearch-BfUtEpJL.js → CasinoSearch--k-N3P69.js} +2 -2
  50. package/components/{CasinoSearch-_jYPvRsN.cjs → CasinoSearch-CpZ8gqIq.cjs} +1 -1
  51. package/components/{CasinoSearch-igrUXd6J.js → CasinoSearch-D6g4OD8M.js} +2 -2
  52. package/components/{CasinoSlider-BXIE8lic.js → CasinoSlider-B8GaaNuP.js} +1 -1
  53. package/components/{CasinoSlider-B7h9pFKI.js → CasinoSlider-CBsaRkSG.js} +1 -1
  54. package/components/{CasinoSlider-CAMW98Br.cjs → CasinoSlider-DbyJ57E6.cjs} +1 -1
  55. package/components/{CasinoSort-zgez3kXp.cjs → CasinoSort-5CSg7HAS.cjs} +1 -1
  56. package/components/{CasinoSort-xXZ4iy3F.js → CasinoSort-DUnBFMEc.js} +1 -1
  57. package/components/{CasinoSort-BOxuTvzM.js → CasinoSort-DdVCJHJU.js} +1 -1
  58. package/components/{CasinoWinners-Dk_FM8M_.cjs → CasinoWinners-4uQChe2F.cjs} +1 -1
  59. package/components/{CasinoWinners-Cm0fFuOT.js → CasinoWinners-BO9ep3XD.js} +2 -2
  60. package/components/{CasinoWinners-Czcw38Ba.js → CasinoWinners-D9hsy2fX.js} +2 -2
  61. package/components/{GeneralAnimationLoading-BRm7wmIo.js → GeneralAnimationLoading-DKWSPDDc.js} +1 -1
  62. package/components/{GeneralAnimationLoading-KzmRRNdV.cjs → GeneralAnimationLoading-DpT91_iF.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-D3xBKGsh.js → GeneralAnimationLoading-yNj1-Ym_.js} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/casino-play-random-game-Cokl6Z0T.js +25 -0
  69. package/stencil/casino-play-random-game-YkE8NRAS.cjs +1 -0
  70. package/stencil/casino-play-random-game-aAxIDx1E.js +7 -0
  71. package/stencil/{casino-play-random-game_3-hXg44sIc.js → casino-play-random-game_2-C4OzRB6p.js} +62 -146
  72. package/stencil/{casino-play-random-game_3-DwEH0qQ6.cjs → casino-play-random-game_2-CW63Z1oW.cjs} +3 -3
  73. package/stencil/{casino-play-random-game_3-k-nIZgX3.js → casino-play-random-game_2-DQXJFV3B.js} +62 -146
  74. package/stencil/index-328e660d-B68qAbuh.js +576 -0
  75. package/stencil/index-328e660d-Bw8nOXsd.js +560 -0
  76. package/stencil/index-328e660d-r819jp36.cjs +1 -0
  77. package/stencil/{index-256b7d4e-DrOXnq3q.js → index-97d17652--F7PvMq9.js} +101 -102
  78. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  79. package/stencil/{index-256b7d4e-B27ydHcs.js → index-97d17652-CCFHkzJw.js} +104 -105
  80. package/stencil/ui-image-2_i-_1cj.js +25 -0
  81. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +39 -0
  82. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +39 -0
  83. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +1 -0
  84. package/stencil/ui-image-bN_3pDWc.js +7 -0
  85. package/stencil/ui-image-eY8BEG3a.cjs +1 -0
  86. package/stencil/{ui-image_2-hEBXfomA.js → ui-image_2-Bm97-wkj.js} +2 -2
  87. package/stencil/{ui-image_2-C-3C7pxb.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  88. package/stencil/{ui-image_2-D4c_LX5r.js → ui-image_2-qO3reSlr.js} +2 -2
  89. package/stencil/casino-play-random-game-Baz3hijs.cjs +0 -1
  90. package/stencil/casino-play-random-game-CBvP0KH-.js +0 -7
  91. package/stencil/casino-play-random-game-CFbeQuDp.js +0 -25
  92. package/stencil/index-256b7d4e-yFNBIexD.cjs +0 -1
  93. package/stencil/index-27b314b8-B8NkclUW.cjs +0 -1
  94. package/stencil/index-27b314b8-BP-avhfQ.js +0 -581
  95. package/stencil/index-27b314b8-yHH25nm_.js +0 -565
  96. package/stencil/ui-image-CApqhy9w.js +0 -25
  97. package/stencil/ui-image-CSw577-7.js +0 -7
  98. package/stencil/ui-image-DrI4EMDq.cjs +0 -1
  99. package/stencil/ui-image-ae115205-Bmmit6PH.js +0 -81
  100. package/stencil/ui-image-ae115205-C9w0DS-q.js +0 -81
  101. package/stencil/ui-image-ae115205-CcwMMc09.cjs +0 -1
@@ -1,581 +0,0 @@
1
- var P = (e, t, n) => new Promise((s, r) => {
2
- var i = (a) => {
3
- try {
4
- o(n.next(a));
5
- } catch ($) {
6
- r($);
7
- }
8
- }, l = (a) => {
9
- try {
10
- o(n.throw(a));
11
- } catch ($) {
12
- r($);
13
- }
14
- }, o = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
15
- o((n = n.apply(e, t)).next());
16
- });
17
- const ge = "casino-play-random-game", ye = (
18
- /* casino-play-random-game */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var me = Object.defineProperty, Se = (e, t) => {
22
- for (var n in t)
23
- me(e, n, { get: t[n], enumerable: !0 });
24
- }, R = /* @__PURE__ */ new WeakMap(), E = (e) => R.get(e), rt = (e, t) => R.set(t.$lazyInstance$ = e, t), Ee = (e, t) => {
25
- const n = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], R.set(e, n);
32
- }, G = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), ke = (e, t, n) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
- if (!r)
35
- return;
36
- const i = U.get(r);
37
- if (i)
38
- return i[s];
39
- {
40
- const l = (o) => (U.set(r, o), o[s]);
41
- switch (r) {
42
- case "casino-play-random-game_3":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./casino-play-random-game_3-k-nIZgX3.js"
46
- ).then(l, b);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${r}.entry.js`
55
- ).then((l) => (U.set(r, l), l[s]), b);
56
- }, L = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} }, h = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, we = (e) => Promise.resolve(e), xe = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), z = !1, X = [], te = [], Pe = (e, t) => (n) => {
71
- e.push(n), z || (z = !0, h.$flags$ & 4 ? D(H) : h.raf(H));
72
- }, Y = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (n) {
77
- b(n);
78
- }
79
- e.length = 0;
80
- }, H = () => {
81
- Y(X), Y(te), (z = X.length > 0) && h.raf(H);
82
- }, D = (e) => we().then(e), Te = /* @__PURE__ */ Pe(te), J = {}, _e = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
83
- function se(e) {
84
- var t, n, s;
85
- return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var Ae = {};
88
- Se(Ae, {
89
- err: () => ne,
90
- map: () => Le,
91
- ok: () => C,
92
- unwrap: () => Ie,
93
- unwrapErr: () => je
94
- });
95
- var C = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), ne = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function Le(e, t) {
105
- if (e.isOk) {
106
- const n = t(e.value);
107
- return n instanceof Promise ? n.then((s) => C(s)) : C(n);
108
- }
109
- if (e.isErr) {
110
- const n = e.value;
111
- return ne(n);
112
- }
113
- throw "should never get here";
114
- }
115
- var Ie = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, je = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, Oe = (e, t) => () => {
125
- }, Ue = (e, t, ...n) => {
126
- let s = null, r = null, i = !1, l = !1;
127
- const o = [], a = (c) => {
128
- for (let f = 0; f < c.length; f++)
129
- s = c[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !F(s)) && (s = String(s)), i && l ? o[o.length - 1].$text$ += s : o.push(i ? B(null, s) : s), l = i);
130
- };
131
- if (a(n), t) {
132
- t.key && (r = t.key);
133
- {
134
- const c = t.className || t.class;
135
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
136
- }
137
- }
138
- const $ = B(e, null);
139
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = r, $;
140
- }, B = (e, t) => {
141
- const n = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return n.$attrs$ = null, n.$key$ = null, n;
149
- }, ze = {}, He = (e) => e && e.$tag$ === ze, Ce = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Be = (e) => E(e).$hostElement$, lt = (e, t, n) => {
150
- const s = Be(e);
151
- return {
152
- emit: (r) => re(s, t, {
153
- bubbles: !0,
154
- composed: !0,
155
- cancelable: !0,
156
- detail: r
157
- })
158
- };
159
- }, re = (e, t, n) => {
160
- const s = h.ce(t, n);
161
- return e.dispatchEvent(s), s;
162
- }, K = /* @__PURE__ */ new WeakMap(), qe = (e, t, n) => {
163
- let s = L.get(e);
164
- xe && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, L.set(e, s);
165
- }, Re = (e, t, n) => {
166
- var s;
167
- const r = le(t), i = L.get(r);
168
- if (e = e.nodeType === 11 ? e : m, i)
169
- if (typeof i == "string") {
170
- e = e.head || e;
171
- let l = K.get(e), o;
172
- if (l || K.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
173
- {
174
- o = m.createElement("style"), o.innerHTML = i;
175
- const a = (s = h.$nonce$) != null ? s : se(m);
176
- a != null && o.setAttribute("nonce", a), e.insertBefore(o, e.querySelector("link"));
177
- }
178
- t.$flags$ & 4 && (o.innerHTML += ee), l && l.add(r);
179
- }
180
- } else
181
- e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
182
- return r;
183
- }, De = (e) => {
184
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = S("attachStyles", t.$tagName$), i = Re(
185
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
186
- t
187
- );
188
- s & 10 && (n["s-sc"] = i, n.classList.add(i + "-h")), r();
189
- }, le = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, s, r, i) => {
190
- if (n !== s) {
191
- let l = G(e, t), o = t.toLowerCase();
192
- if (t === "class") {
193
- const a = e.classList, $ = Z(n), c = Z(s);
194
- a.remove(...$.filter((f) => f && !c.includes(f))), a.add(...c.filter((f) => f && !$.includes(f)));
195
- } else if (t === "style") {
196
- for (const a in n)
197
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
198
- for (const a in s)
199
- (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
200
- } else if (t !== "key")
201
- if (t === "ref")
202
- s && s(e);
203
- else if (!l && t[0] === "o" && t[1] === "n") {
204
- if (t[2] === "-" ? t = t.slice(3) : G(j, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
205
- const a = t.endsWith(ae);
206
- t = t.replace(Me, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
207
- }
208
- } else {
209
- const a = F(s);
210
- if ((l || a && s !== null) && !r)
211
- try {
212
- if (e.tagName.includes("-"))
213
- e[t] = s;
214
- else {
215
- const $ = s == null ? "" : s;
216
- t === "list" ? l = !1 : (n == null || e[t] != $) && (e[t] = $);
217
- }
218
- } catch ($) {
219
- }
220
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
221
- }
222
- }
223
- }, Fe = /\s/, Z = (e) => e ? e.split(Fe) : [], ae = "Capture", Me = new RegExp(ae + "$"), ie = (e, t, n) => {
224
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || J, i = t.$attrs$ || J;
225
- for (const l of N(Object.keys(r)))
226
- l in i || Q(s, l, r[l], void 0, n, t.$flags$);
227
- for (const l of N(Object.keys(i)))
228
- Q(s, l, r[l], i[l], n, t.$flags$);
229
- };
230
- function N(e) {
231
- return e.includes("ref") ? (
232
- // we need to sort these to ensure that `'ref'` is the last attr
233
- [...e.filter((t) => t !== "ref"), "ref"]
234
- ) : (
235
- // no need to sort, return the original array
236
- e
237
- );
238
- }
239
- var _, M, oe = !1, I = (e, t, n, s) => {
240
- const r = t.$children$[n];
241
- let i = 0, l, o;
242
- if (r.$text$ !== null)
243
- l = r.$elm$ = m.createTextNode(r.$text$);
244
- else if (l = r.$elm$ = m.createElement(
245
- r.$tag$
246
- ), ie(null, r, oe), _e(_) && l["s-si"] !== _ && l.classList.add(l["s-si"] = _), r.$children$)
247
- for (i = 0; i < r.$children$.length; ++i)
248
- o = I(e, r, i), o && l.appendChild(o);
249
- return l["s-hn"] = M, l;
250
- }, $e = (e, t, n, s, r, i) => {
251
- let l = e, o;
252
- for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); r <= i; ++r)
253
- s[r] && (o = I(null, n, r), o && (s[r].$elm$ = o, A(l, o, t)));
254
- }, ce = (e, t, n) => {
255
- for (let s = t; s <= n; ++s) {
256
- const r = e[s];
257
- if (r) {
258
- const i = r.$elm$;
259
- fe(r), i && i.remove();
260
- }
261
- }
262
- }, We = (e, t, n, s, r = !1) => {
263
- let i = 0, l = 0, o = 0, a = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], v = s[d], p, y;
264
- for (; i <= $ && l <= d; )
265
- if (c == null)
266
- c = t[++i];
267
- else if (f == null)
268
- f = t[--$];
269
- else if (u == null)
270
- u = s[++l];
271
- else if (v == null)
272
- v = s[--d];
273
- else if (T(c, u, r))
274
- w(c, u, r), c = t[++i], u = s[++l];
275
- else if (T(f, v, r))
276
- w(f, v, r), f = t[--$], v = s[--d];
277
- else if (T(c, v, r))
278
- w(c, v, r), A(e, c.$elm$, f.$elm$.nextSibling), c = t[++i], v = s[--d];
279
- else if (T(f, u, r))
280
- w(f, u, r), A(e, f.$elm$, c.$elm$), f = t[--$], u = s[++l];
281
- else {
282
- for (o = -1, a = i; a <= $; ++a)
283
- if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
284
- o = a;
285
- break;
286
- }
287
- o >= 0 ? (y = t[o], y.$tag$ !== u.$tag$ ? p = I(t && t[l], n, o) : (w(y, u, r), t[o] = void 0, p = y.$elm$), u = s[++l]) : (p = I(t && t[l], n, l), u = s[++l]), p && A(c.$elm$.parentNode, p, c.$elm$);
288
- }
289
- i > $ ? $e(
290
- e,
291
- s[d + 1] == null ? null : s[d + 1].$elm$,
292
- n,
293
- s,
294
- l,
295
- d
296
- ) : l > d && ce(t, i, $);
297
- }, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, n = !1) => {
298
- const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
299
- l === null ? (ie(e, t, oe), r !== null && i !== null ? We(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, i, 0, i.length - 1)) : r !== null && ce(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
300
- }, fe = (e) => {
301
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
302
- }, A = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ge = (e, t, n = !1) => {
303
- const s = e.$hostElement$, r = e.$cmpMeta$, i = e.$vnode$ || B(null, null), l = He(t) ? t : Ue(null, null, t);
304
- if (M = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
305
- ([o, a]) => l.$attrs$[a] = s[o]
306
- )), n && l.$attrs$)
307
- for (const o of Object.keys(l.$attrs$))
308
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
309
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = i.$elm$ = s.shadowRoot || s, _ = s["s-sc"], r.$flags$ & 1, w(i, l, n);
310
- }, de = (e, t) => {
311
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
312
- }, W = (e, t) => {
313
- if (e.$flags$ |= 16, e.$flags$ & 4) {
314
- e.$flags$ |= 512;
315
- return;
316
- }
317
- return de(e, e.$ancestorComponent$), Te(() => Xe(e, t));
318
- }, Xe = (e, t) => {
319
- const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
320
- if (!r)
321
- throw new Error(
322
- `Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
323
- );
324
- let i;
325
- return t && (i = O(r, "componentWillLoad")), s(), Ye(i, () => Ke(e, r, t));
326
- }, Ye = (e, t) => Je(e) ? e.then(t).catch((n) => {
327
- console.error(n), t();
328
- }) : t(), Je = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = (e, t, n) => P(void 0, null, function* () {
329
- var s;
330
- const r = e.$hostElement$, i = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
331
- n && De(e);
332
- const o = S("render", e.$cmpMeta$.$tagName$);
333
- Qe(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), o(), i();
334
- {
335
- const a = (s = r["s-p"]) != null ? s : [], $ = () => Ze(e);
336
- a.length === 0 ? $() : (Promise.all(a).then($), e.$flags$ |= 4, a.length = 0);
337
- }
338
- }), Qe = (e, t, n, s) => {
339
- try {
340
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ge(e, t, s);
341
- } catch (r) {
342
- b(r, e.$hostElement$);
343
- }
344
- return null;
345
- }, Ze = (e) => {
346
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
347
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ve(n), O(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), i || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => W(e, !1)), e.$flags$ &= -517;
348
- }, ue = (e) => {
349
- ve(m.documentElement), D(() => re(j, "appload", { detail: { namespace: ge } }));
350
- }, O = (e, t, n) => {
351
- if (e && e[t])
352
- try {
353
- return e[t](n);
354
- } catch (s) {
355
- b(s);
356
- }
357
- }, ve = (e) => {
358
- var t;
359
- return e.classList.add((t = ye.hydratedSelectorName) != null ? t : "hydrated");
360
- }, Ne = (e, t) => E(e).$instanceValues$.get(t), Ve = (e, t, n, s) => {
361
- const r = E(e);
362
- if (!r)
363
- throw new Error(
364
- `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).`
365
- );
366
- const i = r.$hostElement$, l = r.$instanceValues$.get(t), o = r.$flags$, a = r.$lazyInstance$;
367
- n = Ce(n, s.$members$[t][0]);
368
- const $ = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !$;
369
- if ((!(o & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), a)) {
370
- if (s.$watchers$ && o & 128) {
371
- const f = s.$watchers$[t];
372
- f && f.map((d) => {
373
- try {
374
- a[d](n, l, t);
375
- } catch (u) {
376
- b(u, i);
377
- }
378
- });
379
- }
380
- (o & 18) === 2 && W(r, !1);
381
- }
382
- }, pe = (e, t, n) => {
383
- var s, r;
384
- const i = e.prototype;
385
- if (t.$members$ || t.$watchers$ || e.watchers) {
386
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
387
- const l = Object.entries((s = t.$members$) != null ? s : {});
388
- if (l.map(([o, [a]]) => {
389
- (a & 31 || n & 2 && a & 32) && Object.defineProperty(i, o, {
390
- get() {
391
- return Ne(this, o);
392
- },
393
- set($) {
394
- Ve(this, o, $, t);
395
- },
396
- configurable: !0,
397
- enumerable: !0
398
- });
399
- }), n & 1) {
400
- const o = /* @__PURE__ */ new Map();
401
- i.attributeChangedCallback = function(a, $, c) {
402
- h.jmp(() => {
403
- var f;
404
- const d = o.get(a);
405
- if (this.hasOwnProperty(d))
406
- c = this[d], delete this[d];
407
- else {
408
- if (i.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
409
- return;
410
- if (d == null) {
411
- const u = E(this), v = u == null ? void 0 : u.$flags$;
412
- if (v && !(v & 8) && v & 128 && c !== $) {
413
- const p = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[a];
414
- y == null || y.forEach((g) => {
415
- p[g] != null && p[g].call(p, c, $, a);
416
- });
417
- }
418
- return;
419
- }
420
- }
421
- this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
422
- });
423
- }, e.observedAttributes = Array.from(
424
- /* @__PURE__ */ new Set([
425
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
426
- ...l.filter(
427
- ([a, $]) => $[0] & 15
428
- /* HasAttribute */
429
- ).map(([a, $]) => {
430
- var c;
431
- const f = $[1] || a;
432
- return o.set(f, a), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([a, f])), f;
433
- })
434
- ])
435
- );
436
- }
437
- }
438
- return e;
439
- }, et = (e, t, n, s) => P(void 0, null, function* () {
440
- let r;
441
- if (!(t.$flags$ & 32)) {
442
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
443
- const a = ke(n);
444
- if (a && "then" in a) {
445
- const c = Oe();
446
- r = yield a, c();
447
- } else
448
- r = a;
449
- if (!r)
450
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
451
- r.isProxied || (n.$watchers$ = r.watchers, pe(
452
- r,
453
- n,
454
- 2
455
- /* proxyState */
456
- ), r.isProxied = !0);
457
- const $ = S("createInstance", n.$tagName$);
458
- t.$flags$ |= 8;
459
- try {
460
- new r(t);
461
- } catch (c) {
462
- b(c);
463
- }
464
- t.$flags$ &= -9, t.$flags$ |= 128, $(), q(t.$lazyInstance$);
465
- } else {
466
- r = e.constructor;
467
- const a = e.localName;
468
- customElements.whenDefined(a).then(
469
- () => t.$flags$ |= 128
470
- /* isWatchReady */
471
- );
472
- }
473
- if (r && r.style) {
474
- let a;
475
- typeof r.style == "string" && (a = r.style);
476
- const $ = le(n);
477
- if (!L.has($)) {
478
- const c = S("registerStyles", n.$tagName$);
479
- qe($, a, !!(n.$flags$ & 1)), c();
480
- }
481
- }
482
- }
483
- const i = t.$ancestorComponent$, l = () => W(t, !0);
484
- i && i["s-rc"] ? i["s-rc"].push(l) : l();
485
- }), q = (e) => {
486
- O(e, "connectedCallback");
487
- }, tt = (e) => {
488
- if (!(h.$flags$ & 1)) {
489
- const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
490
- if (t.$flags$ & 1)
491
- t != null && t.$lazyInstance$ ? q(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => q(t.$lazyInstance$));
492
- else {
493
- t.$flags$ |= 1;
494
- {
495
- let r = e;
496
- for (; r = r.parentNode || r.host; )
497
- if (r["s-p"]) {
498
- de(t, t.$ancestorComponent$ = r);
499
- break;
500
- }
501
- }
502
- n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
503
- if (i & 31 && e.hasOwnProperty(r)) {
504
- const l = e[r];
505
- delete e[r], e[r] = l;
506
- }
507
- }), et(e, t, n);
508
- }
509
- s();
510
- }
511
- }, V = (e) => {
512
- O(e, "disconnectedCallback");
513
- }, st = (e) => P(void 0, null, function* () {
514
- if (!(h.$flags$ & 1)) {
515
- const t = E(e);
516
- t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
517
- }
518
- }), at = (e, t = {}) => {
519
- var n;
520
- const s = S(), r = [], i = t.exclude || [], l = j.customElements, o = m.head, a = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
521
- let f, d = !0;
522
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
523
- let u = !1;
524
- if (e.map((v) => {
525
- v[1].map((p) => {
526
- var y;
527
- const g = {
528
- $flags$: p[0],
529
- $tagName$: p[1],
530
- $members$: p[2],
531
- $listeners$: p[3]
532
- };
533
- g.$flags$ & 4 && (u = !0), g.$members$ = p[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = p[4]) != null ? y : {};
534
- const x = g.$tagName$, he = class extends HTMLElement {
535
- // StencilLazyHost
536
- constructor(k) {
537
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Ee(k, g), g.$flags$ & 1) {
538
- if (!k.shadowRoot)
539
- k.attachShadow({ mode: "open" });
540
- else if (k.shadowRoot.mode !== "open")
541
- throw new Error(
542
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
543
- );
544
- }
545
- }
546
- connectedCallback() {
547
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : h.jmp(() => tt(this));
548
- }
549
- disconnectedCallback() {
550
- h.jmp(() => st(this));
551
- }
552
- componentOnReady() {
553
- return E(this).$onReadyPromise$;
554
- }
555
- };
556
- g.$lazyBundleId$ = v[0], !i.includes(x) && !l.get(x) && (r.push(x), l.define(
557
- x,
558
- pe(
559
- he,
560
- g,
561
- 1
562
- /* isElementConstructor */
563
- )
564
- ));
565
- });
566
- }), r.length > 0 && (u && ($.textContent += ee), $.textContent += r.sort() + be, $.innerHTML.length)) {
567
- $.setAttribute("data-styles", "");
568
- const v = (n = h.$nonce$) != null ? n : se(m);
569
- v != null && $.setAttribute("nonce", v), o.insertBefore($, a ? a.nextSibling : o.firstChild);
570
- }
571
- d = !1, c.length ? c.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
572
- };
573
- export {
574
- ze as H,
575
- at as b,
576
- lt as c,
577
- Be as g,
578
- Ue as h,
579
- we as p,
580
- rt as r
581
- };