@everymatrix/casino-lobby 1.86.2 → 1.86.4

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 (110) hide show
  1. package/components/CasinoCalendar-Bh1m4DYa.cjs +19 -0
  2. package/components/{CasinoCalendar-DeuDpvc7.js → CasinoCalendar-CTTcluAF.js} +1012 -1033
  3. package/components/{CasinoCalendar-qxlVRlx3.js → CasinoCalendar-g3C0yL-l.js} +828 -849
  4. package/components/{CasinoCalendarDailyDetails-DgSA6Oos.js → CasinoCalendarDailyDetails-BReSw0PH.js} +38 -38
  5. package/components/{CasinoCalendarDailyDetails-oDArpqk3.js → CasinoCalendarDailyDetails-C6NZu63m.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-0DzEjr4I.cjs → CasinoCalendarDailyDetails-MbSzyBl-.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-D1UMrOrr.js → CasinoCalendarDailyItem-DW4bwJrg.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem--x4C1v1R.js → CasinoCalendarDailyItem-D_-hgIOG.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BT_oTw81.cjs → CasinoCalendarDailyItem-vF8QUewM.cjs} +1 -1
  10. package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DnJiwJ-i.js → CasinoCategoriesSlider-DLioXO8u.js} +73 -73
  12. package/components/{CasinoCategoriesSlider-BmkD2GJJ.js → CasinoCategoriesSlider-uIpxZEDW.js} +70 -70
  13. package/components/{CasinoCollectionsProviders-DS-cICru.js → CasinoCollectionsProviders-BDJPyhyP.js} +64 -64
  14. package/components/{CasinoCollectionsProviders-KucGv4ev.cjs → CasinoCollectionsProviders-C66FXn8E.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-SF9NUz_s.js → CasinoCollectionsProviders-l8Bj7gLF.js} +77 -77
  16. package/components/{CasinoFavoritesSection-DBOa4rLG.js → CasinoFavoritesSection-1xjeruY9.js} +19 -19
  17. package/components/{CasinoFavoritesSection-Q91WkZtR.js → CasinoFavoritesSection-JbXta4ej.js} +19 -19
  18. package/components/{CasinoFavoritesSection-ioWl2WWa.cjs → CasinoFavoritesSection-flqQ1Txz.cjs} +1 -1
  19. package/components/{CasinoFilter-WlNu83Yo.js → CasinoFilter-AWMGrvg7.js} +222 -223
  20. package/components/CasinoFilter-CrCTTPvH.cjs +1 -0
  21. package/components/{CasinoFilter-Iy2ZAp7X.js → CasinoFilter-DK1IJtKj.js} +245 -244
  22. package/components/{CasinoGameThumbnail-yvrHp66V.js → CasinoGameThumbnail-AMyBxNdq.js} +762 -778
  23. package/components/{CasinoGameThumbnail-Ddpsxirj.js → CasinoGameThumbnail-DgEB-dkM.js} +1268 -1252
  24. package/components/CasinoGameThumbnail-Dymq8wWq.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-COcAuqTG.js → CasinoGamesCategorySection-UbxtEgDx.js} +301 -301
  26. package/components/{CasinoGamesCategorySection-DUgz8uau.cjs → CasinoGamesCategorySection-ZiaOwaIX.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-DDqd3M8L.js → CasinoGamesCategorySection-blhrWiJn.js} +302 -302
  28. package/components/{CasinoJackpotBanner-DEsoDJ4R.cjs → CasinoJackpotBanner-15vjCxeq.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-ovGVK744.js → CasinoJackpotBanner-OEQ6kTNX.js} +84 -84
  30. package/components/{CasinoJackpotBanner-CuHjieHv.js → CasinoJackpotBanner-sKWQEAXI.js} +89 -89
  31. package/components/{CasinoLastPlayedSection-C8WSFXnj.js → CasinoLastPlayedSection-DlDq9l_7.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-cSkPcLtL.js → CasinoLastPlayedSection-Dv7S9x-o.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-BHV-LRk1.cjs → CasinoLastPlayedSection-kM9yLvhD.cjs} +1 -1
  34. package/components/{CasinoLobby-Bkj4ZQu6.js → CasinoLobby-BknjaOeS.js} +59 -59
  35. package/components/{CasinoLobby-Bc2QHTe4.js → CasinoLobby-Dho7eG4P.js} +59 -59
  36. package/components/{CasinoLobby-Cs6HmQRu.cjs → CasinoLobby-odJbcWRR.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-DsX-pIXm.cjs → CasinoMostPlayedSection-BJpdcEGe.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-CQdqKCZj.js → CasinoMostPlayedSection-CGxtqevB.js} +45 -45
  39. package/components/{CasinoMostPlayedSection-smiwW5Ol.js → CasinoMostPlayedSection-PvqfZR6v.js} +45 -45
  40. package/components/{CasinoMyGames-CJ7rioBh.cjs → CasinoMyGames-Baaz8xfL.cjs} +1 -1
  41. package/components/{CasinoMyGames-CYZ5nWjJ.js → CasinoMyGames-C22R6240.js} +29 -29
  42. package/components/{CasinoMyGames-CnnjGYeT.js → CasinoMyGames-Cr-QJTaa.js} +29 -29
  43. package/components/{CasinoPage-Dg5sPuQa.js → CasinoPage-BGrASQhH.js} +109 -109
  44. package/components/{CasinoPage-BzASY7Hg.cjs → CasinoPage-BZnxTJSo.cjs} +1 -1
  45. package/components/{CasinoPage-CUUEVdPt.js → CasinoPage-DcXwVMup.js} +123 -123
  46. package/components/{CasinoRandomGame-Dh5EVxCR.js → CasinoRandomGame-CLsTaSPD.js} +53 -53
  47. package/components/{CasinoRandomGame-DRJXaM_Z.cjs → CasinoRandomGame-Cz5w1Xkm.cjs} +1 -1
  48. package/components/{CasinoRandomGame-DBzLZj0J.js → CasinoRandomGame-DoBaxDNA.js} +52 -52
  49. package/components/{CasinoSearch--8BCnmOG.js → CasinoSearch-D4nuoT1C.js} +85 -85
  50. package/components/{CasinoSearch-r9ofFlZt.cjs → CasinoSearch-DHRGmpEd.cjs} +1 -1
  51. package/components/{CasinoSearch-BxyP0Ga2.js → CasinoSearch-M-zypI5B.js} +82 -82
  52. package/components/{CasinoSlider-C0mxz0hk.cjs → CasinoSlider-B_WI_7Qb.cjs} +1 -1
  53. package/components/{CasinoSlider-BihCQ92y.js → CasinoSlider-DvI5SCyj.js} +86 -86
  54. package/components/{CasinoSlider-DpYeYJhK.js → CasinoSlider-OSPrTvMo.js} +87 -87
  55. package/components/{CasinoSort-CbOOYzWs.js → CasinoSort-COpZLKBV.js} +102 -103
  56. package/components/{CasinoSort-BOsO5Bfe.js → CasinoSort-DEbYB6BH.js} +112 -111
  57. package/components/{CasinoSort-L9UM4M85.cjs → CasinoSort-KSHMLnqL.cjs} +1 -1
  58. package/components/{CasinoWinners-DAW-pGRt.js → CasinoWinners-6u19h4xG.js} +151 -151
  59. package/components/{CasinoWinners-CDQfWIM6.js → CasinoWinners-CtR1v_xw.js} +148 -148
  60. package/components/{CasinoWinners-CxuidCR1.cjs → CasinoWinners-DlPnBzX-.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-CPc2UOwA.js → GeneralAnimationLoading-CEqG5qMY.js} +14 -14
  62. package/components/{GeneralAnimationLoading-CFokXkWs.cjs → GeneralAnimationLoading-oehLt3ob.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-D0quTPWA.js → GeneralAnimationLoading-rntZi33z.js} +14 -14
  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-rBIQ75Yb.cjs → casino-play-random-game-111R1Frl.cjs} +1 -1
  69. package/stencil/{casino-play-random-game-bUDjgSKo.js → casino-play-random-game-D9PFB7B2.js} +1 -1
  70. package/stencil/{casino-play-random-game-DmsXPThq.js → casino-play-random-game-Dge6-qaF.js} +1 -1
  71. package/stencil/{casino-play-random-game_2-Bf4CHBc9.js → casino-play-random-game_2-CunwpDd1.js} +2 -2
  72. package/stencil/{casino-play-random-game_2-C30-vRGp.js → casino-play-random-game_2-auPXMZnz.js} +2 -2
  73. package/stencil/{casino-play-random-game_2-CCCLDakd.cjs → casino-play-random-game_2-cZvlv_fo.cjs} +2 -2
  74. package/stencil/index-328e660d-A_dWaOAX.cjs +1 -0
  75. package/stencil/index-328e660d-BiHqu78m.js +576 -0
  76. package/stencil/index-328e660d-DJbpQFmN.js +560 -0
  77. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  78. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  79. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  80. package/stencil/index-b2193545-BkP0Nc2C.cjs +1 -0
  81. package/stencil/index-b2193545-CejVSlwL.js +519 -0
  82. package/stencil/index-b2193545-DL1I-QYR.js +503 -0
  83. package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-C1Fl5HOc.cjs} +1 -1
  84. package/stencil/{ui-image-DDulMZDF.js → ui-image-DnOuibDF.js} +1 -1
  85. package/stencil/{ui-image-DwWgscwP.js → ui-image-_mAQXh8W.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  88. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  89. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  90. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  91. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  92. package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-CWdppDyF.cjs} +1 -1
  93. package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-QCtPK7l5.js} +2 -2
  94. package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-TkMXeWrD.js} +2 -2
  95. package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-BT7QFq3s.cjs} +1 -1
  96. package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CiWqRE71.js} +1 -1
  97. package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-pTYMIneT.js} +1 -1
  98. package/components/CasinoCalendar-CDybCkBw.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +0 -1
  100. package/components/CasinoFilter-S-pUTxvR.cjs +0 -1
  101. package/components/CasinoGameThumbnail-B386-P3k.cjs +0 -47
  102. package/stencil/index-328e660d-B6ge05AJ.js +0 -560
  103. package/stencil/index-328e660d-C6OCQOhB.cjs +0 -1
  104. package/stencil/index-328e660d-Duk3nD23.js +0 -576
  105. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  106. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  107. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  108. package/stencil/index-b2193545-BZAG_Jnw.js +0 -503
  109. package/stencil/index-b2193545-DG7pnr-7.js +0 -519
  110. package/stencil/index-b2193545-DuCTLpV-.cjs +0 -1
@@ -1,576 +0,0 @@
1
- var T = (e, t, r) => new Promise((s, n) => {
2
- var a = (i) => {
3
- try {
4
- o(r.next(i));
5
- } catch ($) {
6
- n($);
7
- }
8
- }, l = (i) => {
9
- try {
10
- o(r.throw(i));
11
- } catch ($) {
12
- n($);
13
- }
14
- }, o = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(a, l);
15
- o((r = r.apply(e, t)).next());
16
- });
17
- const pe = "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 r in t)
23
- me(e, r, { get: t[r], 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 r = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], R.set(e, r);
32
- }, G = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), ke = (e, t, r) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
- if (!n)
35
- return;
36
- const a = U.get(n);
37
- if (a)
38
- return a[s];
39
- {
40
- const l = (o) => (U.set(n, o), o[s]);
41
- switch (n) {
42
- case "casino-play-random-game_2":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./casino-play-random-game_2-C30-vRGp.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
- `./${n}.entry.js`
55
- ).then((l) => (U.set(n, 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: {} }, g = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
62
- rel: (e, t, r, s) => e.removeEventListener(t, r, 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 = [], Te = (e, t) => (r) => {
71
- e.push(r), z || (z = !0, g.$flags$ & 4 ? D(H) : g.raf(H));
72
- }, Y = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (r) {
77
- b(r);
78
- }
79
- e.length = 0;
80
- }, H = () => {
81
- Y(X), Y(te), (z = X.length > 0) && g.raf(H);
82
- }, D = (e) => we().then(e), Pe = /* @__PURE__ */ Te(te), J = {}, _e = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
83
- function se(e) {
84
- var t, r, s;
85
- 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;
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 r = t(e.value);
107
- return r instanceof Promise ? r.then((s) => C(s)) : C(r);
108
- }
109
- if (e.isErr) {
110
- const r = e.value;
111
- return ne(r);
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, ...r) => {
126
- let s = null, n = null, a = !1, l = !1;
127
- const o = [], i = (c) => {
128
- for (let f = 0; f < c.length; f++)
129
- s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !F(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? B(null, s) : s), l = a);
130
- };
131
- if (i(r), t) {
132
- t.key && (n = 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$ = n, $;
140
- }, B = (e, t) => {
141
- const r = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return r.$attrs$ = null, r.$key$ = null, r;
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, r) => {
150
- const s = Be(e);
151
- return {
152
- emit: (n) => re(s, t, {
153
- bubbles: !0,
154
- composed: !0,
155
- cancelable: !0,
156
- detail: n
157
- })
158
- };
159
- }, re = (e, t, r) => {
160
- const s = g.ce(t, r);
161
- return e.dispatchEvent(s), s;
162
- }, K = /* @__PURE__ */ new WeakMap(), qe = (e, t, r) => {
163
- let s = L.get(e);
164
- xe && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, L.set(e, s);
165
- }, Re = (e, t, r) => {
166
- var s;
167
- const n = le(t), a = L.get(n);
168
- if (e = e.nodeType === 11 ? e : m, a)
169
- if (typeof a == "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(n)) {
173
- {
174
- o = m.createElement("style"), o.innerHTML = a;
175
- const i = (s = g.$nonce$) != null ? s : se(m);
176
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
177
- }
178
- t.$flags$ & 4 && (o.innerHTML += ee), l && l.add(n);
179
- }
180
- } else
181
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
182
- return n;
183
- }, De = (e) => {
184
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = Re(
185
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
186
- t
187
- );
188
- s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
189
- }, le = (e, t) => "sc-" + e.$tagName$, Q = (e, t, r, s, n, a) => {
190
- if (r !== s) {
191
- let l = G(e, t), o = t.toLowerCase();
192
- if (t === "class") {
193
- const i = e.classList, $ = Z(r), c = Z(s);
194
- i.remove(...$.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !$.includes(f)));
195
- } else if (t !== "key")
196
- if (t === "ref")
197
- s && s(e);
198
- else if (!l && t[0] === "o" && t[1] === "n") {
199
- if (t[2] === "-" ? t = t.slice(3) : G(j, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
200
- const i = t.endsWith(ae);
201
- t = t.replace(Me, ""), r && g.rel(e, t, r, i), s && g.ael(e, t, s, i);
202
- }
203
- } else {
204
- const i = F(s);
205
- if ((l || i && s !== null) && !n)
206
- try {
207
- if (e.tagName.includes("-"))
208
- e[t] = s;
209
- else {
210
- const $ = s == null ? "" : s;
211
- t === "list" ? l = !1 : (r == null || e[t] != $) && (e[t] = $);
212
- }
213
- } catch ($) {
214
- }
215
- 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));
216
- }
217
- }
218
- }, Fe = /\s/, Z = (e) => e ? e.split(Fe) : [], ae = "Capture", Me = new RegExp(ae + "$"), ie = (e, t, r) => {
219
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || J, a = t.$attrs$ || J;
220
- for (const l of N(Object.keys(n)))
221
- l in a || Q(s, l, n[l], void 0, r, t.$flags$);
222
- for (const l of N(Object.keys(a)))
223
- Q(s, l, n[l], a[l], r, t.$flags$);
224
- };
225
- function N(e) {
226
- return e.includes("ref") ? (
227
- // we need to sort these to ensure that `'ref'` is the last attr
228
- [...e.filter((t) => t !== "ref"), "ref"]
229
- ) : (
230
- // no need to sort, return the original array
231
- e
232
- );
233
- }
234
- var _, M, oe = !1, I = (e, t, r, s) => {
235
- const n = t.$children$[r];
236
- let a = 0, l, o;
237
- if (n.$text$ !== null)
238
- l = n.$elm$ = m.createTextNode(n.$text$);
239
- else if (l = n.$elm$ = m.createElement(
240
- n.$tag$
241
- ), ie(null, n, oe), _e(_) && l["s-si"] !== _ && l.classList.add(l["s-si"] = _), n.$children$)
242
- for (a = 0; a < n.$children$.length; ++a)
243
- o = I(e, n, a), o && l.appendChild(o);
244
- return l["s-hn"] = M, l;
245
- }, $e = (e, t, r, s, n, a) => {
246
- let l = e, o;
247
- for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); n <= a; ++n)
248
- s[n] && (o = I(null, r, n), o && (s[n].$elm$ = o, A(l, o, t)));
249
- }, ce = (e, t, r) => {
250
- for (let s = t; s <= r; ++s) {
251
- const n = e[s];
252
- if (n) {
253
- const a = n.$elm$;
254
- fe(n), a && a.remove();
255
- }
256
- }
257
- }, We = (e, t, r, s, n = !1) => {
258
- 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], h, y;
259
- for (; a <= $ && l <= u; )
260
- if (c == null)
261
- c = t[++a];
262
- else if (f == null)
263
- f = t[--$];
264
- else if (d == null)
265
- d = s[++l];
266
- else if (v == null)
267
- v = s[--u];
268
- else if (P(c, d, n))
269
- w(c, d, n), c = t[++a], d = s[++l];
270
- else if (P(f, v, n))
271
- w(f, v, n), f = t[--$], v = s[--u];
272
- else if (P(c, v, n))
273
- w(c, v, n), A(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
274
- else if (P(f, d, n))
275
- w(f, d, n), A(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
276
- else {
277
- for (o = -1, i = a; i <= $; ++i)
278
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
279
- o = i;
280
- break;
281
- }
282
- o >= 0 ? (y = t[o], y.$tag$ !== d.$tag$ ? h = I(t && t[l], r, o) : (w(y, d, n), t[o] = void 0, h = y.$elm$), d = s[++l]) : (h = I(t && t[l], r, l), d = s[++l]), h && A(c.$elm$.parentNode, h, c.$elm$);
283
- }
284
- a > $ ? $e(
285
- e,
286
- s[u + 1] == null ? null : s[u + 1].$elm$,
287
- r,
288
- s,
289
- l,
290
- u
291
- ) : l > u && ce(t, a, $);
292
- }, P = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
293
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
294
- l === null ? (ie(e, t, oe), n !== null && a !== null ? We(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : n !== null && ce(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
295
- }, fe = (e) => {
296
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
297
- }, A = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Ge = (e, t, r = !1) => {
298
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || B(null, null), l = He(t) ? t : Ue(null, null, t);
299
- if (M = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
300
- ([o, i]) => l.$attrs$[i] = s[o]
301
- )), r && l.$attrs$)
302
- for (const o of Object.keys(l.$attrs$))
303
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
304
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, _ = s["s-sc"], n.$flags$ & 1, w(a, l, r);
305
- }, ue = (e, t) => {
306
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
307
- }, W = (e, t) => {
308
- if (e.$flags$ |= 16, e.$flags$ & 4) {
309
- e.$flags$ |= 512;
310
- return;
311
- }
312
- return ue(e, e.$ancestorComponent$), Pe(() => Xe(e, t));
313
- }, Xe = (e, t) => {
314
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
315
- if (!n)
316
- throw new Error(
317
- `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`
318
- );
319
- let a;
320
- return t && (a = O(n, "componentWillLoad")), s(), Ye(a, () => Ke(e, n, t));
321
- }, Ye = (e, t) => Je(e) ? e.then(t).catch((r) => {
322
- console.error(r), t();
323
- }) : t(), Je = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ke = (e, t, r) => T(void 0, null, function* () {
324
- var s;
325
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
326
- r && De(e);
327
- const o = S("render", e.$cmpMeta$.$tagName$);
328
- Qe(e, t, n, r), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
329
- {
330
- const i = (s = n["s-p"]) != null ? s : [], $ = () => Ze(e);
331
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
332
- }
333
- }), Qe = (e, t, r, s) => {
334
- try {
335
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ge(e, t, s);
336
- } catch (n) {
337
- b(n, e.$hostElement$);
338
- }
339
- return null;
340
- }, Ze = (e) => {
341
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
342
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ve(r), O(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || de()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => W(e, !1)), e.$flags$ &= -517;
343
- }, de = (e) => {
344
- ve(m.documentElement), D(() => re(j, "appload", { detail: { namespace: pe } }));
345
- }, O = (e, t, r) => {
346
- if (e && e[t])
347
- try {
348
- return e[t](r);
349
- } catch (s) {
350
- b(s);
351
- }
352
- }, ve = (e) => {
353
- var t;
354
- return e.classList.add((t = ye.hydratedSelectorName) != null ? t : "hydrated");
355
- }, Ne = (e, t) => E(e).$instanceValues$.get(t), Ve = (e, t, r, s) => {
356
- const n = E(e);
357
- if (!n)
358
- throw new Error(
359
- `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).`
360
- );
361
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
362
- r = Ce(r, s.$members$[t][0]);
363
- const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
364
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), i)) {
365
- if (s.$watchers$ && o & 128) {
366
- const f = s.$watchers$[t];
367
- f && f.map((u) => {
368
- try {
369
- i[u](r, l, t);
370
- } catch (d) {
371
- b(d, a);
372
- }
373
- });
374
- }
375
- (o & 18) === 2 && W(n, !1);
376
- }
377
- }, he = (e, t, r) => {
378
- var s, n;
379
- const a = e.prototype;
380
- if (t.$members$ || t.$watchers$ || e.watchers) {
381
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
382
- const l = Object.entries((s = t.$members$) != null ? s : {});
383
- if (l.map(([o, [i]]) => {
384
- (i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
385
- get() {
386
- return Ne(this, o);
387
- },
388
- set($) {
389
- Ve(this, o, $, t);
390
- },
391
- configurable: !0,
392
- enumerable: !0
393
- });
394
- }), r & 1) {
395
- const o = /* @__PURE__ */ new Map();
396
- a.attributeChangedCallback = function(i, $, c) {
397
- g.jmp(() => {
398
- var f;
399
- const u = o.get(i);
400
- if (this.hasOwnProperty(u))
401
- c = this[u], delete this[u];
402
- else {
403
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
404
- return;
405
- if (u == null) {
406
- const d = E(this), v = d == null ? void 0 : d.$flags$;
407
- if (v && !(v & 8) && v & 128 && c !== $) {
408
- const h = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[i];
409
- y == null || y.forEach((p) => {
410
- h[p] != null && h[p].call(h, c, $, i);
411
- });
412
- }
413
- return;
414
- }
415
- }
416
- this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
417
- });
418
- }, e.observedAttributes = Array.from(
419
- /* @__PURE__ */ new Set([
420
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
421
- ...l.filter(
422
- ([i, $]) => $[0] & 15
423
- /* HasAttribute */
424
- ).map(([i, $]) => {
425
- var c;
426
- const f = $[1] || i;
427
- return o.set(f, i), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, f])), f;
428
- })
429
- ])
430
- );
431
- }
432
- }
433
- return e;
434
- }, et = (e, t, r, s) => T(void 0, null, function* () {
435
- let n;
436
- if (!(t.$flags$ & 32)) {
437
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
438
- const i = ke(r);
439
- if (i && "then" in i) {
440
- const c = Oe();
441
- n = yield i, c();
442
- } else
443
- n = i;
444
- if (!n)
445
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
446
- n.isProxied || (r.$watchers$ = n.watchers, he(
447
- n,
448
- r,
449
- 2
450
- /* proxyState */
451
- ), n.isProxied = !0);
452
- const $ = S("createInstance", r.$tagName$);
453
- t.$flags$ |= 8;
454
- try {
455
- new n(t);
456
- } catch (c) {
457
- b(c);
458
- }
459
- t.$flags$ &= -9, t.$flags$ |= 128, $(), q(t.$lazyInstance$);
460
- } else {
461
- n = e.constructor;
462
- const i = e.localName;
463
- customElements.whenDefined(i).then(
464
- () => t.$flags$ |= 128
465
- /* isWatchReady */
466
- );
467
- }
468
- if (n && n.style) {
469
- let i;
470
- typeof n.style == "string" && (i = n.style);
471
- const $ = le(r);
472
- if (!L.has($)) {
473
- const c = S("registerStyles", r.$tagName$);
474
- qe($, i, !!(r.$flags$ & 1)), c();
475
- }
476
- }
477
- }
478
- const a = t.$ancestorComponent$, l = () => W(t, !0);
479
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
480
- }), q = (e) => {
481
- O(e, "connectedCallback");
482
- }, tt = (e) => {
483
- if (!(g.$flags$ & 1)) {
484
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
485
- if (t.$flags$ & 1)
486
- t != null && t.$lazyInstance$ ? q(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => q(t.$lazyInstance$));
487
- else {
488
- t.$flags$ |= 1;
489
- {
490
- let n = e;
491
- for (; n = n.parentNode || n.host; )
492
- if (n["s-p"]) {
493
- ue(t, t.$ancestorComponent$ = n);
494
- break;
495
- }
496
- }
497
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
498
- if (a & 31 && e.hasOwnProperty(n)) {
499
- const l = e[n];
500
- delete e[n], e[n] = l;
501
- }
502
- }), et(e, t, r);
503
- }
504
- s();
505
- }
506
- }, V = (e) => {
507
- O(e, "disconnectedCallback");
508
- }, st = (e) => T(void 0, null, function* () {
509
- if (!(g.$flags$ & 1)) {
510
- const t = E(e);
511
- t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
512
- }
513
- }), at = (e, t = {}) => {
514
- var r;
515
- const s = S(), n = [], a = t.exclude || [], l = j.customElements, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
516
- let f, u = !0;
517
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
518
- let d = !1;
519
- if (e.map((v) => {
520
- v[1].map((h) => {
521
- var y;
522
- const p = {
523
- $flags$: h[0],
524
- $tagName$: h[1],
525
- $members$: h[2],
526
- $listeners$: h[3]
527
- };
528
- p.$flags$ & 4 && (d = !0), p.$members$ = h[2], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
529
- const x = p.$tagName$, ge = class extends HTMLElement {
530
- // StencilLazyHost
531
- constructor(k) {
532
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Ee(k, p), p.$flags$ & 1) {
533
- if (!k.shadowRoot)
534
- k.attachShadow({ mode: "open" });
535
- else if (k.shadowRoot.mode !== "open")
536
- throw new Error(
537
- `Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
538
- );
539
- }
540
- }
541
- connectedCallback() {
542
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => tt(this));
543
- }
544
- disconnectedCallback() {
545
- g.jmp(() => st(this));
546
- }
547
- componentOnReady() {
548
- return E(this).$onReadyPromise$;
549
- }
550
- };
551
- p.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
552
- x,
553
- he(
554
- ge,
555
- p,
556
- 1
557
- /* isElementConstructor */
558
- )
559
- ));
560
- });
561
- }), n.length > 0 && (d && ($.textContent += ee), $.textContent += n.sort() + be, $.innerHTML.length)) {
562
- $.setAttribute("data-styles", "");
563
- const v = (r = g.$nonce$) != null ? r : se(m);
564
- v != null && $.setAttribute("nonce", v), o.insertBefore($, i ? i.nextSibling : o.firstChild);
565
- }
566
- u = !1, c.length ? c.map((v) => v.connectedCallback()) : g.jmp(() => f = setTimeout(de, 30)), s();
567
- };
568
- export {
569
- ze as H,
570
- at as b,
571
- lt as c,
572
- Be as g,
573
- Ue as h,
574
- we as p,
575
- rt as r
576
- };