@everymatrix/casino-lobby 1.54.11 → 1.55.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 (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
  24. package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
  25. package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
  89. package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-7rPVpOym.cjs +0 -1
  94. package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -0,0 +1,563 @@
1
+ const ge = "casino-play-random-game", P = (
2
+ /* casino-play-random-game */
3
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
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
+ }, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), st = (e, t) => B.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"] = [], B.set(e, r);
16
+ }, X = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), U = /* @__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 = U.get(n);
21
+ if (a)
22
+ return a[s];
23
+ {
24
+ const l = (o) => (U.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-Cphp76Jq.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
+ `./${n}.entry.js`
39
+ ).then((l) => (U.set(n, l), l[s]), k);
40
+ }, _ = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, m = j.document || { head: {} }, v = {
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
+ }, ke = (e) => Promise.resolve(e), ee = /* @__PURE__ */ (() => {
49
+ try {
50
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
+ } catch {
52
+ }
53
+ return !1;
54
+ })(), I = !1, G = [], te = [], we = (e, t) => (r) => {
55
+ e.push(r), I || (I = !0, v.$flags$ & 4 ? C(D) : v.raf(D));
56
+ }, Q = (e) => {
57
+ for (let t = 0; t < e.length; t++)
58
+ try {
59
+ e[t](performance.now());
60
+ } catch (r) {
61
+ k(r);
62
+ }
63
+ e.length = 0;
64
+ }, D = () => {
65
+ Q(G), Q(te), (I = G.length > 0) && v.raf(D);
66
+ }, C = (e) => ke().then(e), Te = /* @__PURE__ */ we(te), Y = {}, xe = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
67
+ function se(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 Le = {};
72
+ me(Le, {
73
+ err: () => ne,
74
+ map: () => Ae,
75
+ ok: () => H,
76
+ unwrap: () => Pe,
77
+ unwrapErr: () => _e
78
+ });
79
+ var H = (e) => ({
80
+ isOk: !0,
81
+ isErr: !1,
82
+ value: e
83
+ }), ne = (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) => H(s)) : H(r);
92
+ }
93
+ if (e.isErr) {
94
+ const r = e.value;
95
+ return ne(r);
96
+ }
97
+ throw "should never get here";
98
+ }
99
+ var Pe = (e) => {
100
+ if (e.isOk)
101
+ return e.value;
102
+ throw e.value;
103
+ }, _e = (e) => {
104
+ if (e.isErr)
105
+ return e.value;
106
+ throw e.value;
107
+ }, S = (e, t = "") => () => {
108
+ }, Oe = (e, t) => () => {
109
+ }, je = (e, t, ...r) => {
110
+ let s = null, n = null, a = !1, l = !1;
111
+ const o = [], c = ($) => {
112
+ for (let f = 0; f < $.length; f++)
113
+ s = $[f], Array.isArray(s) ? c(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 ? R(null, s) : s), l = a);
114
+ };
115
+ if (c(r), t) {
116
+ t.key && (n = t.key);
117
+ {
118
+ const $ = t.className || t.class;
119
+ $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
120
+ }
121
+ }
122
+ const i = R(e, null);
123
+ return i.$attrs$ = t, o.length > 0 && (i.$children$ = o), i.$key$ = n, i;
124
+ }, R = (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 = {}, Ie = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !F(e) && t & 1 ? String(e) : e, nt = (e) => E(e).$hostElement$, He = (e, t, r) => {
134
+ const s = v.ce(t, r);
135
+ return e.dispatchEvent(s), s;
136
+ }, J = /* @__PURE__ */ new WeakMap(), Re = (e, t, r) => {
137
+ let s = _.get(e);
138
+ ee && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
139
+ }, ze = (e, t, r) => {
140
+ var s;
141
+ const n = re(t), a = _.get(n);
142
+ if (e = e.nodeType === 11 ? e : m, a)
143
+ if (typeof a == "string") {
144
+ e = e.head || e;
145
+ let l = J.get(e), o;
146
+ if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
+ {
148
+ o = m.createElement("style"), o.innerHTML = a;
149
+ const c = (s = v.$nonce$) != null ? s : se(m);
150
+ if (c != null && o.setAttribute("nonce", c), !(t.$flags$ & 1))
151
+ if (e.nodeName === "HEAD") {
152
+ const i = e.querySelectorAll("link[rel=preconnect]"), $ = i.length > 0 ? i[i.length - 1].nextSibling : e.querySelector("style");
153
+ e.insertBefore(o, $);
154
+ } else if ("host" in e)
155
+ if (ee) {
156
+ const i = new CSSStyleSheet();
157
+ i.replaceSync(a), e.adoptedStyleSheets = [i, ...e.adoptedStyleSheets];
158
+ } else {
159
+ const i = e.querySelector("style");
160
+ i ? i.innerHTML = a + i.innerHTML : e.prepend(o);
161
+ }
162
+ else
163
+ e.append(o);
164
+ t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(o, null);
165
+ }
166
+ t.$flags$ & 4 && (o.innerHTML += V), l && l.add(n);
167
+ }
168
+ } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
169
+ return n;
170
+ }, Be = (e) => {
171
+ const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = ze(
172
+ r.shadowRoot ? r.shadowRoot : r.getRootNode(),
173
+ t
174
+ );
175
+ s & 10 && s & 2 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
176
+ }, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
177
+ if (r !== s) {
178
+ let l = X(e, t), o = t.toLowerCase();
179
+ if (t === "class") {
180
+ const c = e.classList, i = Z(r), $ = Z(s);
181
+ c.remove(...i.filter((f) => f && !$.includes(f))), c.add(...$.filter((f) => f && !i.includes(f)));
182
+ } else if (t !== "key") if (t === "ref")
183
+ s && s(e);
184
+ else if (!l && t[0] === "o" && t[1] === "n") {
185
+ if (t[2] === "-" ? t = t.slice(3) : X(j, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
186
+ const c = t.endsWith(le);
187
+ t = t.replace(Fe, ""), r && v.rel(e, t, r, c), s && v.ael(e, t, s, c);
188
+ }
189
+ } else {
190
+ const c = F(s);
191
+ if ((l || c && s !== null) && !n)
192
+ try {
193
+ if (e.tagName.includes("-"))
194
+ e[t] = s;
195
+ else {
196
+ const i = s ?? "";
197
+ t === "list" ? l = !1 : (r == null || e[t] != i) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = i : e.setAttribute(t, i));
198
+ }
199
+ } catch {
200
+ }
201
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !c && (s = s === !0 ? "" : s, e.setAttribute(t, s));
202
+ }
203
+ }
204
+ }, Ce = /\s/, Z = (e) => e ? e.split(Ce) : [], le = "Capture", Fe = new RegExp(le + "$"), ae = (e, t, r) => {
205
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
206
+ for (const l of N(Object.keys(n)))
207
+ l in a || K(s, l, n[l], void 0, r, t.$flags$);
208
+ for (const l of N(Object.keys(a)))
209
+ K(s, l, n[l], a[l], r, t.$flags$);
210
+ };
211
+ function N(e) {
212
+ return e.includes("ref") ? (
213
+ // we need to sort these to ensure that `'ref'` is the last attr
214
+ [...e.filter((t) => t !== "ref"), "ref"]
215
+ ) : (
216
+ // no need to sort, return the original array
217
+ e
218
+ );
219
+ }
220
+ var L, q, oe = !1, ie = !1, O = (e, t, r, s) => {
221
+ const n = t.$children$[r];
222
+ let a = 0, l, o;
223
+ if (n.$text$ !== null)
224
+ l = n.$elm$ = m.createTextNode(n.$text$);
225
+ else if (l = n.$elm$ = m.createElement(
226
+ !oe && P.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
227
+ ), ae(null, n, ie), !!l.getRootNode().querySelector("body") && P.scoped && xe(L) && l["s-si"] !== L && l.classList.add(l["s-si"] = L), n.$children$)
228
+ for (a = 0; a < n.$children$.length; ++a)
229
+ o = O(e, n, a), o && l.appendChild(o);
230
+ return l["s-hn"] = q, l;
231
+ }, ce = (e, t, r, s, n, a) => {
232
+ let l = e, o;
233
+ for (l.shadowRoot && l.tagName === q && (l = l.shadowRoot); n <= a; ++n)
234
+ s[n] && (o = O(null, r, n), o && (s[n].$elm$ = o, A(l, o, t)));
235
+ }, $e = (e, t, r) => {
236
+ for (let s = t; s <= r; ++s) {
237
+ const n = e[s];
238
+ if (n) {
239
+ const a = n.$elm$;
240
+ fe(n), a && a.remove();
241
+ }
242
+ }
243
+ }, qe = (e, t, r, s, n = !1) => {
244
+ let a = 0, l = 0, o = 0, c = 0, i = t.length - 1, $ = t[0], f = t[i], d = s.length - 1, u = s[0], p = s[d], h, y;
245
+ for (; a <= i && l <= d; )
246
+ if ($ == null)
247
+ $ = t[++a];
248
+ else if (f == null)
249
+ f = t[--i];
250
+ else if (u == null)
251
+ u = s[++l];
252
+ else if (p == null)
253
+ p = s[--d];
254
+ else if (x($, u, n))
255
+ w($, u, n), $ = t[++a], u = s[++l];
256
+ else if (x(f, p, n))
257
+ w(f, p, n), f = t[--i], p = s[--d];
258
+ else if (x($, p, n))
259
+ w($, p, n), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], p = s[--d];
260
+ else if (x(f, u, n))
261
+ w(f, u, n), A(e, f.$elm$, $.$elm$), f = t[--i], u = s[++l];
262
+ else {
263
+ for (o = -1, c = a; c <= i; ++c)
264
+ if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {
265
+ o = c;
266
+ break;
267
+ }
268
+ o >= 0 ? (y = t[o], y.$tag$ !== u.$tag$ ? h = O(t && t[l], r, o) : (w(y, u, n), t[o] = void 0, h = y.$elm$), u = s[++l]) : (h = O(t && t[l], r, l), u = s[++l]), h && A($.$elm$.parentNode, h, $.$elm$);
269
+ }
270
+ a > i ? ce(
271
+ e,
272
+ s[d + 1] == null ? null : s[d + 1].$elm$,
273
+ r,
274
+ s,
275
+ l,
276
+ d
277
+ ) : l > d && $e(t, a, i);
278
+ }, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
279
+ const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
280
+ l === null ? (ae(e, t, ie), n !== null && a !== null ? qe(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, a, 0, a.length - 1)) : (
281
+ // don't do this on initial render as it can cause non-hydrated content to be removed
282
+ !r && P.updatable && n !== null && $e(n, 0, n.length - 1)
283
+ )) : e.$text$ !== l && (s.data = l);
284
+ }, fe = (e) => {
285
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
286
+ }, A = (e, t, r) => e?.insertBefore(t, r), We = (e, t, r = !1) => {
287
+ const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || R(null, null), l = Ie(t) ? t : je(null, null, t);
288
+ if (q = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
289
+ ([o, c]) => l.$attrs$[c] = s[o]
290
+ )), r && l.$attrs$)
291
+ for (const o of Object.keys(l.$attrs$))
292
+ s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
293
+ l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, L = s["s-sc"], oe = (n.$flags$ & 1) !== 0, w(a, l, r);
294
+ }, de = (e, t) => {
295
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
296
+ }, W = (e, t) => {
297
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
298
+ e.$flags$ |= 512;
299
+ return;
300
+ }
301
+ return de(e, e.$ancestorComponent$), Te(() => Me(e, t));
302
+ }, Me = (e, t) => {
303
+ const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
304
+ if (!n)
305
+ throw new Error(
306
+ `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`
307
+ );
308
+ let a;
309
+ return t && (a = M(n, "componentWillLoad")), s(), Xe(a, () => Qe(e, n, t));
310
+ }, Xe = (e, t) => Ge(e) ? e.then(t).catch((r) => {
311
+ console.error(r), t();
312
+ }) : t(), Ge = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Qe = async (e, t, r) => {
313
+ var s;
314
+ const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
315
+ r && Be(e);
316
+ const o = S("render", e.$cmpMeta$.$tagName$);
317
+ Ye(e, t, n, r), l && (l.map((c) => c()), n["s-rc"] = void 0), o(), a();
318
+ {
319
+ const c = (s = n["s-p"]) != null ? s : [], i = () => Je(e);
320
+ c.length === 0 ? i() : (Promise.all(c).then(i), e.$flags$ |= 4, c.length = 0);
321
+ }
322
+ }, Ye = (e, t, r, s) => {
323
+ try {
324
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
325
+ } catch (n) {
326
+ k(n, e.$hostElement$);
327
+ }
328
+ return null;
329
+ }, Je = (e) => {
330
+ const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
331
+ e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(r), M(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && C(() => W(e, !1)), e.$flags$ &= -517;
332
+ }, ue = (e) => {
333
+ pe(m.documentElement), C(() => He(j, "appload", { detail: { namespace: ge } }));
334
+ }, M = (e, t, r) => {
335
+ if (e && e[t])
336
+ try {
337
+ return e[t](r);
338
+ } catch (s) {
339
+ k(s);
340
+ }
341
+ }, pe = (e) => {
342
+ var t;
343
+ return e.classList.add((t = P.hydratedSelectorName) != null ? t : "hydrated");
344
+ }, Ke = (e, t) => E(e).$instanceValues$.get(t), Ze = (e, t, r, s) => {
345
+ const n = E(e);
346
+ if (!n)
347
+ throw new Error(
348
+ `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).`
349
+ );
350
+ const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, c = n.$lazyInstance$;
351
+ r = De(r, s.$members$[t][0]);
352
+ const i = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !i;
353
+ if ((!(o & 8) || l === void 0) && $ && (n.$instanceValues$.set(t, r), c)) {
354
+ if (s.$watchers$ && o & 128) {
355
+ const f = s.$watchers$[t];
356
+ f && f.map((d) => {
357
+ try {
358
+ c[d](r, l, t);
359
+ } catch (u) {
360
+ k(u, a);
361
+ }
362
+ });
363
+ }
364
+ (o & 18) === 2 && W(n, !1);
365
+ }
366
+ }, he = (e, t, r) => {
367
+ var s, n;
368
+ const a = e.prototype;
369
+ if (t.$members$ || t.$watchers$ || e.watchers) {
370
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
371
+ const l = Object.entries((s = t.$members$) != null ? s : {});
372
+ if (l.map(([o, [c]]) => {
373
+ (c & 31 || r & 2 && c & 32) && Object.defineProperty(a, o, {
374
+ get() {
375
+ return Ke(this, o);
376
+ },
377
+ set(i) {
378
+ Ze(this, o, i, t);
379
+ },
380
+ configurable: !0,
381
+ enumerable: !0
382
+ });
383
+ }), r & 1) {
384
+ const o = /* @__PURE__ */ new Map();
385
+ a.attributeChangedCallback = function(c, i, $) {
386
+ v.jmp(() => {
387
+ var f;
388
+ const d = o.get(c);
389
+ if (this.hasOwnProperty(d))
390
+ $ = this[d], delete this[d];
391
+ else {
392
+ if (a.hasOwnProperty(d) && typeof this[d] == "number" && // cast type to number to avoid TS compiler issues
393
+ this[d] == $)
394
+ return;
395
+ if (d == null) {
396
+ const u = E(this), p = u?.$flags$;
397
+ if (p && !(p & 8) && p & 128 && $ !== i) {
398
+ const h = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[c];
399
+ y?.forEach((g) => {
400
+ h[g] != null && h[g].call(h, $, i, c);
401
+ });
402
+ }
403
+ return;
404
+ }
405
+ }
406
+ this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
407
+ });
408
+ }, e.observedAttributes = Array.from(
409
+ /* @__PURE__ */ new Set([
410
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
411
+ ...l.filter(
412
+ ([c, i]) => i[0] & 15
413
+ /* HasAttribute */
414
+ ).map(([c, i]) => {
415
+ var $;
416
+ const f = i[1] || c;
417
+ return o.set(f, c), i[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([c, f])), f;
418
+ })
419
+ ])
420
+ );
421
+ }
422
+ }
423
+ return e;
424
+ }, Ne = async (e, t, r, s) => {
425
+ let n;
426
+ if (!(t.$flags$ & 32)) {
427
+ if (t.$flags$ |= 32, r.$lazyBundleId$) {
428
+ const c = Ee(r);
429
+ if (c && "then" in c) {
430
+ const $ = Oe();
431
+ n = await c, $();
432
+ } else
433
+ n = c;
434
+ if (!n)
435
+ throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
436
+ n.isProxied || (r.$watchers$ = n.watchers, he(
437
+ n,
438
+ r,
439
+ 2
440
+ /* proxyState */
441
+ ), n.isProxied = !0);
442
+ const i = S("createInstance", r.$tagName$);
443
+ t.$flags$ |= 8;
444
+ try {
445
+ new n(t);
446
+ } catch ($) {
447
+ k($);
448
+ }
449
+ t.$flags$ &= -9, t.$flags$ |= 128, i(), z(t.$lazyInstance$);
450
+ } else {
451
+ n = e.constructor;
452
+ const c = e.localName;
453
+ customElements.whenDefined(c).then(
454
+ () => t.$flags$ |= 128
455
+ /* isWatchReady */
456
+ );
457
+ }
458
+ if (n && n.style) {
459
+ let c;
460
+ typeof n.style == "string" && (c = n.style);
461
+ const i = re(r);
462
+ if (!_.has(i)) {
463
+ const $ = S("registerStyles", r.$tagName$);
464
+ Re(i, c, !!(r.$flags$ & 1)), $();
465
+ }
466
+ }
467
+ }
468
+ const a = t.$ancestorComponent$, l = () => W(t, !0);
469
+ a && a["s-rc"] ? a["s-rc"].push(l) : l();
470
+ }, z = (e) => {
471
+ M(e, "connectedCallback");
472
+ }, Ve = (e) => {
473
+ if (!(v.$flags$ & 1)) {
474
+ const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
475
+ if (t.$flags$ & 1)
476
+ t?.$lazyInstance$ ? z(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => z(t.$lazyInstance$));
477
+ else {
478
+ t.$flags$ |= 1;
479
+ {
480
+ let n = e;
481
+ for (; n = n.parentNode || n.host; )
482
+ if (n["s-p"]) {
483
+ de(t, t.$ancestorComponent$ = n);
484
+ break;
485
+ }
486
+ }
487
+ r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
488
+ if (a & 31 && e.hasOwnProperty(n)) {
489
+ const l = e[n];
490
+ delete e[n], e[n] = l;
491
+ }
492
+ }), Ne(e, t, r);
493
+ }
494
+ s();
495
+ }
496
+ }, et = (e) => {
497
+ }, tt = async (e) => {
498
+ if (!(v.$flags$ & 1)) {
499
+ const t = E(e);
500
+ t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => et());
501
+ }
502
+ }, rt = (e, t = {}) => {
503
+ var r;
504
+ const s = S(), n = [], a = t.exclude || [], l = j.customElements, o = m.head, c = /* @__PURE__ */ o.querySelector("meta[charset]"), i = /* @__PURE__ */ m.createElement("style"), $ = [];
505
+ let f, d = !0;
506
+ Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
507
+ let u = !1;
508
+ if (e.map((p) => {
509
+ p[1].map((h) => {
510
+ var y;
511
+ const g = {
512
+ $flags$: h[0],
513
+ $tagName$: h[1],
514
+ $members$: h[2],
515
+ $listeners$: h[3]
516
+ };
517
+ g.$flags$ & 4 && (u = !0), g.$members$ = h[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = h[4]) != null ? y : {};
518
+ const T = g.$tagName$, ve = class extends HTMLElement {
519
+ // StencilLazyHost
520
+ constructor(b) {
521
+ if (super(b), this.hasRegisteredEventListeners = !1, b = this, Se(b, g), g.$flags$ & 1) {
522
+ if (!b.shadowRoot)
523
+ b.attachShadow({ mode: "open" });
524
+ else if (b.shadowRoot.mode !== "open")
525
+ throw new Error(
526
+ `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
527
+ );
528
+ }
529
+ }
530
+ connectedCallback() {
531
+ E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : v.jmp(() => Ve(this));
532
+ }
533
+ disconnectedCallback() {
534
+ v.jmp(() => tt(this));
535
+ }
536
+ componentOnReady() {
537
+ return E(this).$onReadyPromise$;
538
+ }
539
+ };
540
+ g.$lazyBundleId$ = p[0], !a.includes(T) && !l.get(T) && (n.push(T), l.define(
541
+ T,
542
+ he(
543
+ ve,
544
+ g,
545
+ 1
546
+ /* isElementConstructor */
547
+ )
548
+ ));
549
+ });
550
+ }), n.length > 0 && (u && (i.textContent += V), i.textContent += n.sort() + be, i.innerHTML.length)) {
551
+ i.setAttribute("data-styles", "");
552
+ const p = (r = v.$nonce$) != null ? r : se(m);
553
+ p != null && i.setAttribute("nonce", p), o.insertBefore(i, c ? c.nextSibling : o.firstChild);
554
+ }
555
+ d = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => f = setTimeout(ue, 30)), s();
556
+ };
557
+ export {
558
+ rt as b,
559
+ nt as g,
560
+ je as h,
561
+ ke as p,
562
+ st as r
563
+ };