@deijose/nix-ionic 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +135 -28
  2. package/dist/favicon.ico +0 -0
  3. package/dist/index.cjs +2612 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.js +2602 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/lib/index.d.ts +2 -3
  8. package/dist/nix-js-logo.png +0 -0
  9. package/dist/p-9VcRUwdB-BZDASSRz.js +323 -0
  10. package/dist/p-9VcRUwdB-BZDASSRz.js.map +1 -0
  11. package/dist/p-9VcRUwdB-Bw8gCHlL.cjs +340 -0
  12. package/dist/p-9VcRUwdB-Bw8gCHlL.cjs.map +1 -0
  13. package/dist/p-BJoMtgfR-DP5flT_f.js +1206 -0
  14. package/dist/p-BJoMtgfR-DP5flT_f.js.map +1 -0
  15. package/dist/p-BJoMtgfR-DyzhC2Uw.cjs +1319 -0
  16. package/dist/p-BJoMtgfR-DyzhC2Uw.cjs.map +1 -0
  17. package/dist/p-BgwEQWW6-BM87vVU5.cjs +72 -0
  18. package/dist/p-BgwEQWW6-BM87vVU5.cjs.map +1 -0
  19. package/dist/p-BgwEQWW6-DIo2-ASC.js +72 -0
  20. package/dist/p-BgwEQWW6-DIo2-ASC.js.map +1 -0
  21. package/dist/p-BmVRXR1y-BsLZqRc0.cjs +41 -0
  22. package/dist/p-BmVRXR1y-BsLZqRc0.cjs.map +1 -0
  23. package/dist/p-BmVRXR1y-t-R4bYc1.js +41 -0
  24. package/dist/p-BmVRXR1y-t-R4bYc1.js.map +1 -0
  25. package/dist/p-C59ryAuS-CFciP5mq.cjs +42 -0
  26. package/dist/p-C59ryAuS-CFciP5mq.cjs.map +1 -0
  27. package/dist/p-C59ryAuS-DazlzUfi.js +19 -0
  28. package/dist/p-C59ryAuS-DazlzUfi.js.map +1 -0
  29. package/dist/p-CBzELu-H-DlS7IGlS.cjs +292 -0
  30. package/dist/p-CBzELu-H-DlS7IGlS.cjs.map +1 -0
  31. package/dist/p-CBzELu-H-bk38lWXh.js +287 -0
  32. package/dist/p-CBzELu-H-bk38lWXh.js.map +1 -0
  33. package/dist/p-CU1SSH8_-1VQUU8Zi.js +27 -0
  34. package/dist/p-CU1SSH8_-1VQUU8Zi.js.map +1 -0
  35. package/dist/p-CU1SSH8_-D56vgRhd.cjs +32 -0
  36. package/dist/p-CU1SSH8_-D56vgRhd.cjs.map +1 -0
  37. package/dist/p-Cl0B-RWe-CaQPWG_o.js +258 -0
  38. package/dist/p-Cl0B-RWe-CaQPWG_o.js.map +1 -0
  39. package/dist/p-Cl0B-RWe-CsujC7rr.cjs +269 -0
  40. package/dist/p-Cl0B-RWe-CsujC7rr.cjs.map +1 -0
  41. package/dist/p-CneGxKsZ-C5qTtPZx.cjs +26 -0
  42. package/dist/p-CneGxKsZ-C5qTtPZx.cjs.map +1 -0
  43. package/dist/p-CneGxKsZ-DghQx9uV.js +26 -0
  44. package/dist/p-CneGxKsZ-DghQx9uV.js.map +1 -0
  45. package/dist/p-Cwv-vmkN-CEJtqyzO.js +141 -0
  46. package/dist/p-Cwv-vmkN-CEJtqyzO.js.map +1 -0
  47. package/dist/p-Cwv-vmkN-_Ll5IGJb.cjs +141 -0
  48. package/dist/p-Cwv-vmkN-_Ll5IGJb.cjs.map +1 -0
  49. package/dist/p-Cz5nLPGT-CCHjKH-2.cjs +45 -0
  50. package/dist/p-Cz5nLPGT-CCHjKH-2.cjs.map +1 -0
  51. package/dist/p-Cz5nLPGT-mbB7NqG3.js +45 -0
  52. package/dist/p-Cz5nLPGT-mbB7NqG3.js.map +1 -0
  53. package/dist/p-D13Eaw-8-CkhHu_JZ.js +35 -0
  54. package/dist/p-D13Eaw-8-CkhHu_JZ.js.map +1 -0
  55. package/dist/p-D13Eaw-8-DwZ_qr-I.cjs +46 -0
  56. package/dist/p-D13Eaw-8-DwZ_qr-I.cjs.map +1 -0
  57. package/dist/p-D6Ynv7Xh-CQpbvraJ.cjs +41 -0
  58. package/dist/p-D6Ynv7Xh-CQpbvraJ.cjs.map +1 -0
  59. package/dist/p-D6Ynv7Xh-bzjdXLwD.js +41 -0
  60. package/dist/p-D6Ynv7Xh-bzjdXLwD.js.map +1 -0
  61. package/dist/p-DgbT0exM-BY3-DNWX.cjs +178 -0
  62. package/dist/p-DgbT0exM-BY3-DNWX.cjs.map +1 -0
  63. package/dist/p-DgbT0exM-Bjp0vDlM.js +107 -0
  64. package/dist/p-DgbT0exM-Bjp0vDlM.js.map +1 -0
  65. package/dist/p-ZjP4CjeZ-BpWsQNNL.cjs +20 -0
  66. package/dist/p-ZjP4CjeZ-BpWsQNNL.cjs.map +1 -0
  67. package/dist/p-ZjP4CjeZ-iNpKbiw2.js +9 -0
  68. package/dist/p-ZjP4CjeZ-iNpKbiw2.js.map +1 -0
  69. package/dist/p-vEbVo2hO-Bo4CY69w.cjs +80 -0
  70. package/dist/p-vEbVo2hO-Bo4CY69w.cjs.map +1 -0
  71. package/dist/p-vEbVo2hO-CpCOqZ3z.js +69 -0
  72. package/dist/p-vEbVo2hO-CpCOqZ3z.js.map +1 -0
  73. package/dist/rolldown-runtime-CYJQ3TkU.cjs +18 -0
  74. package/dist/rolldown-runtime-CiIaOW0V.js +13 -0
  75. package/package.json +94 -2
  76. package/dist/lib/IonRouterOutlet.d.ts +0 -23
  77. package/dist/lib/lifecycle.d.ts +0 -36
  78. package/dist/lib/nix-ionic.cjs +0 -1
  79. package/dist/lib/nix-ionic.cjs.map +0 -1
  80. package/dist/lib/nix-ionic.js +0 -1
  81. package/dist/lib/nix-ionic.js.map +0 -1
  82. package/dist/lib/setup.d.ts +0 -5
@@ -0,0 +1,1206 @@
1
+ //#region node_modules/@ionic/core/components/p-BJoMtgfR.js
2
+ /*!
3
+ * (C) Ionic http://ionicframework.com - MIT License
4
+ */
5
+ var t = class {
6
+ constructor() {
7
+ this.m = /* @__PURE__ */ new Map();
8
+ }
9
+ reset(t) {
10
+ this.m = new Map(Object.entries(t));
11
+ }
12
+ get(t, n) {
13
+ const e = this.m.get(t);
14
+ return void 0 !== e ? e : n;
15
+ }
16
+ getBoolean(t, n = !1) {
17
+ const e = this.m.get(t);
18
+ return void 0 === e ? n : "string" == typeof e ? "true" === e : !!e;
19
+ }
20
+ getNumber(t, n) {
21
+ const e = parseFloat(this.m.get(t));
22
+ return isNaN(e) ? void 0 !== n ? n : NaN : e;
23
+ }
24
+ set(t, n) {
25
+ this.m.set(t, n);
26
+ }
27
+ };
28
+ var n = new t(), e = (t) => {
29
+ try {
30
+ const n = t.sessionStorage.getItem(r);
31
+ return null !== n ? JSON.parse(n) : {};
32
+ } catch (t) {
33
+ return {};
34
+ }
35
+ }, o = (t, n) => {
36
+ try {
37
+ t.sessionStorage.setItem(r, JSON.stringify(n));
38
+ } catch (t) {
39
+ return;
40
+ }
41
+ }, s = (t) => {
42
+ const n = {};
43
+ return t.location.search.slice(1).split("&").map(((t) => t.split("="))).map((([t, n]) => {
44
+ try {
45
+ return [decodeURIComponent(t), decodeURIComponent(n)];
46
+ } catch (t) {
47
+ return ["", ""];
48
+ }
49
+ })).filter((([t]) => l(t, i))).map((([t, n]) => [t.slice(i.length), n])).forEach((([t, e]) => {
50
+ n[t] = e;
51
+ })), n;
52
+ }, l = (t, n) => t.substr(0, n.length) === n, i = "ionic:", r = "ionic-persist-config";
53
+ var c;
54
+ (function(t) {
55
+ t.OFF = "OFF", t.ERROR = "ERROR", t.WARN = "WARN";
56
+ })(c || (c = {}));
57
+ var u = (t, ...e) => {
58
+ const o = n.get("logLevel", c.WARN);
59
+ if ([c.WARN].includes(o)) return console.warn(`[Ionic Warning]: ${t}`, ...e);
60
+ }, f = (t, ...e) => {
61
+ const o = n.get("logLevel", c.ERROR);
62
+ if ([c.ERROR, c.WARN].includes(o)) return console.error(`[Ionic Error]: ${t}`, ...e);
63
+ }, a = (t, ...n) => console.error(`<${t.tagName.toLowerCase()}> must be used inside ${n.join(" or ")}.`), d, h = { isBrowser: !0 }, v = ((t) => (t.Undefined = "undefined", t.Null = "null", t.String = "string", t.Number = "number", t.SpecialNumber = "number", t.Boolean = "boolean", t.BigInt = "bigint", t))(v || {}), p = ((t) => (t.Array = "array", t.Date = "date", t.Map = "map", t.Object = "object", t.RegularExpression = "regexp", t.Set = "set", t.Channel = "channel", t.Symbol = "symbol", t))(p || {}), $ = "type", b = "value", g = "serialized:", m = (t, n) => {
64
+ var e;
65
+ Object.entries(null != (e = n.o.t) ? e : {}).map((([e, [o]]) => {
66
+ if (31 & o || 32 & o) {
67
+ const o = t[e], s = function(t, n) {
68
+ for (; t;) {
69
+ const e = Object.getOwnPropertyDescriptor(t, n);
70
+ if (null == e ? void 0 : e.get) return e;
71
+ t = Object.getPrototypeOf(t);
72
+ }
73
+ }(Object.getPrototypeOf(t), e) || Object.getOwnPropertyDescriptor(t, e);
74
+ s && Object.defineProperty(t, e, {
75
+ get() {
76
+ return s.get.call(this);
77
+ },
78
+ set(t) {
79
+ s.set.call(this, t);
80
+ },
81
+ configurable: !0,
82
+ enumerable: !0
83
+ }), t[e] = n.l.has(e) ? n.l.get(e) : o;
84
+ }
85
+ }));
86
+ }, y = (t) => {
87
+ if (t.__stencil__getHostRef) return t.__stencil__getHostRef();
88
+ }, w = (t, n) => n in t, j = (t, n) => (0, console.error)(t, n), O = /* @__PURE__ */ new Map(), N = [], S = "s-id", x = "sty-id", E = "c-id", C = "http://www.w3.org/1999/xlink", k = "undefined" != typeof window ? window : {}, I = k.HTMLElement || class {}, M = {
89
+ i: 0,
90
+ u: "",
91
+ jmp: (t) => t(),
92
+ raf: (t) => requestAnimationFrame(t),
93
+ ael: (t, n, e, o) => t.addEventListener(n, e, o),
94
+ rel: (t, n, e, o) => t.removeEventListener(n, e, o),
95
+ ce: (t, n) => new CustomEvent(t, n)
96
+ }, R = (() => {
97
+ var t;
98
+ let n = !1;
99
+ try {
100
+ null == (t = k.document) || t.addEventListener("e", null, Object.defineProperty({}, "passive", { get() {
101
+ n = !0;
102
+ } }));
103
+ } catch (t) {}
104
+ return n;
105
+ })(), A = (() => {
106
+ try {
107
+ return !!k.document.adoptedStyleSheets && (new CSSStyleSheet(), "function" == typeof new CSSStyleSheet().replaceSync);
108
+ } catch (t) {}
109
+ return !1;
110
+ })(), L = !!A && !!k.document && Object.getOwnPropertyDescriptor(k.document.adoptedStyleSheets, "length").writable, _ = !1, B = [], F = [], T = (t, n) => (e) => {
111
+ t.push(e), _ || (_ = !0, n && 4 & M.i ? V(D) : M.raf(D));
112
+ }, U = (t) => {
113
+ for (let n = 0; n < t.length; n++) try {
114
+ t[n](performance.now());
115
+ } catch (t) {
116
+ j(t);
117
+ }
118
+ t.length = 0;
119
+ }, D = () => {
120
+ U(B), U(F), (_ = B.length > 0) && M.raf(D);
121
+ }, V = (t) => Promise.resolve(void 0).then(t), W = T(B, !1), P = T(F, !0), q = (t) => {
122
+ const n = new URL(t, M.u);
123
+ return n.origin !== k.location.origin ? n.href : n.pathname;
124
+ };
125
+ function H(t) {
126
+ const n = { mode: "open" };
127
+ n.delegatesFocus = !!(16 & t.i);
128
+ const e = this.attachShadow(n);
129
+ void 0 === d && (d = null), d && (L ? e.adoptedStyleSheets.push(d) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, d]);
130
+ }
131
+ var J = (t) => {
132
+ const n = jt(t, "childNodes");
133
+ t.tagName && t.tagName.includes("-") && t["s-cr"] && "SLOT-FB" !== t.tagName && Z(n, t.tagName).forEach(((t) => {
134
+ 1 === t.nodeType && "SLOT-FB" === t.tagName && (t.hidden = !!G(t, X(t), !1).length);
135
+ }));
136
+ let e = 0;
137
+ for (e = 0; e < n.length; e++) {
138
+ const t = n[e];
139
+ 1 === t.nodeType && jt(t, "childNodes").length && J(t);
140
+ }
141
+ }, Y = (t) => {
142
+ const n = [];
143
+ for (let e = 0; e < t.length; e++) {
144
+ const o = t[e]["s-nr"] || void 0;
145
+ o && o.isConnected && n.push(o);
146
+ }
147
+ return n;
148
+ };
149
+ function Z(t, n, e) {
150
+ let o, s = 0, l = [];
151
+ for (; s < t.length; s++) {
152
+ if (o = t[s], o["s-sr"] && (!n || o["s-hn"] === n) && (void 0 === e || X(o) === e) && (l.push(o), void 0 !== e)) return l;
153
+ l = [...l, ...Z(o.childNodes, n, e)];
154
+ }
155
+ return l;
156
+ }
157
+ var G = (t, n, e = !0) => {
158
+ const o = [];
159
+ (e && t["s-sr"] || !t["s-sr"]) && o.push(t);
160
+ let s = t;
161
+ for (; s = s.nextSibling;) X(s) !== n || !e && s["s-sr"] || o.push(s);
162
+ return o;
163
+ }, K = (t, n) => 1 === t.nodeType ? null === t.getAttribute("slot") && "" === n || t.getAttribute("slot") === n : t["s-sn"] === n || "" === n, Q = (t, n, e, o) => {
164
+ if (t["s-ol"] && t["s-ol"].isConnected) return;
165
+ const s = document.createTextNode("");
166
+ if (s["s-nr"] = t, !n["s-cr"] || !n["s-cr"].parentNode) return;
167
+ const l = n["s-cr"].parentNode, i = jt(l, e ? "prepend" : "appendChild");
168
+ if (void 0 !== o) {
169
+ s["s-oo"] = o;
170
+ const t = jt(l, "childNodes"), n = [s];
171
+ t.forEach(((t) => {
172
+ t["s-nr"] && n.push(t);
173
+ })), n.sort(((t, n) => !t["s-oo"] || t["s-oo"] < (n["s-oo"] || 0) ? -1 : !n["s-oo"] || n["s-oo"] < t["s-oo"] ? 1 : 0)), n.forEach(((t) => i.call(l, t)));
174
+ } else i.call(l, s);
175
+ t["s-ol"] = s, t["s-sh"] = n["s-hn"];
176
+ }, X = (t) => "string" == typeof t["s-sn"] ? t["s-sn"] : 1 === t.nodeType && t.getAttribute("slot") || void 0;
177
+ function tt(t) {
178
+ if (t.assignedElements || t.assignedNodes || !t["s-sr"]) return;
179
+ const n = (n) => function(t) {
180
+ const e = [], o = this["s-sn"];
181
+ null != t && t.flatten && console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");
182
+ const s = this["s-cr"].parentElement;
183
+ return (s.__childNodes ? s.childNodes : Y(s.childNodes)).forEach(((t) => {
184
+ o === X(t) && e.push(t);
185
+ })), n ? e.filter(((t) => 1 === t.nodeType)) : e;
186
+ }.bind(t);
187
+ t.assignedElements = n(!0), t.assignedNodes = n(!1);
188
+ }
189
+ function nt(t) {
190
+ t.dispatchEvent(new CustomEvent("slotchange", {
191
+ bubbles: !1,
192
+ cancelable: !1,
193
+ composed: !1
194
+ }));
195
+ }
196
+ function et(t, n) {
197
+ var e;
198
+ if (!(n = n || (null == (e = t["s-ol"]) ? void 0 : e.parentElement))) return {
199
+ slotNode: null,
200
+ slotName: ""
201
+ };
202
+ const o = t["s-sn"] = X(t) || "";
203
+ return {
204
+ slotNode: Z(jt(n, "childNodes"), n.tagName, o)[0],
205
+ slotName: o
206
+ };
207
+ }
208
+ var ot = (t) => {
209
+ if (t.__cloneNode) return;
210
+ const n = t.__cloneNode = t.cloneNode;
211
+ t.cloneNode = function(t) {
212
+ const e = this.shadowRoot && true, o = n.call(this, !!e && t);
213
+ if (!e && t) {
214
+ let t, n, e = 0;
215
+ const s = [
216
+ "s-id",
217
+ "s-cr",
218
+ "s-lr",
219
+ "s-rc",
220
+ "s-sc",
221
+ "s-p",
222
+ "s-cn",
223
+ "s-sr",
224
+ "s-sn",
225
+ "s-hn",
226
+ "s-ol",
227
+ "s-nr",
228
+ "s-si",
229
+ "s-rf",
230
+ "s-scs"
231
+ ], l = this.__childNodes || this.childNodes;
232
+ for (; e < l.length; e++) t = l[e]["s-nr"], n = s.every(((t) => !l[e][t])), t && (o.__appendChild ? o.__appendChild(t.cloneNode(!0)) : o.appendChild(t.cloneNode(!0))), n && o.appendChild(l[e].cloneNode(!0));
233
+ }
234
+ return o;
235
+ };
236
+ }, st = (t) => {
237
+ t.__appendChild || (t.__appendChild = t.appendChild, t.appendChild = function(t) {
238
+ const { slotName: n, slotNode: e } = et(t, this);
239
+ if (e) {
240
+ Q(t, e);
241
+ const o = G(e, n), s = o[o.length - 1], i = jt(jt(s, "parentNode"), "insertBefore")(t, s.nextSibling);
242
+ return nt(e), J(this), i;
243
+ }
244
+ return this.__appendChild(t);
245
+ });
246
+ }, lt = (t) => {
247
+ t.__removeChild || (t.__removeChild = t.removeChild, t.removeChild = function(t) {
248
+ return t && void 0 !== t["s-sn"] && Z(this.__childNodes || this.childNodes, this.tagName, t["s-sn"]) && t.isConnected ? (t.remove(), void J(this)) : this.__removeChild(t);
249
+ });
250
+ }, it = (t) => {
251
+ t.__prepend || (t.__prepend = t.prepend, t.prepend = function(...n) {
252
+ n.forEach(((n) => {
253
+ "string" == typeof n && (n = this.ownerDocument.createTextNode(n));
254
+ const e = (n["s-sn"] = X(n)) || "", o = Z(jt(this, "childNodes"), this.tagName, e)[0];
255
+ if (o) {
256
+ Q(n, o, !0);
257
+ const t = G(o, e)[0], l = jt(jt(t, "parentNode"), "insertBefore")(n, jt(t, "nextSibling"));
258
+ return nt(o), l;
259
+ }
260
+ return 1 === n.nodeType && n.getAttribute("slot") && (n.hidden = !0), t.__prepend(n);
261
+ }));
262
+ });
263
+ }, rt = (t) => {
264
+ t.__append || (t.__append = t.append, t.append = function(...t) {
265
+ t.forEach(((t) => {
266
+ "string" == typeof t && (t = this.ownerDocument.createTextNode(t)), this.appendChild(t);
267
+ }));
268
+ });
269
+ }, ct = (t) => {
270
+ if (t.__insertAdjacentHTML) return;
271
+ const n = t.insertAdjacentHTML;
272
+ t.insertAdjacentHTML = function(t, e) {
273
+ if ("afterbegin" !== t && "beforeend" !== t) return n.call(this, t, e);
274
+ const o = this.ownerDocument.createElement("_");
275
+ let s;
276
+ if (o.innerHTML = e, "afterbegin" === t) for (; s = o.firstChild;) this.prepend(s);
277
+ else if ("beforeend" === t) for (; s = o.firstChild;) this.append(s);
278
+ };
279
+ }, ut = (t) => {
280
+ t.insertAdjacentText = function(t, n) {
281
+ this.insertAdjacentHTML(t, n);
282
+ };
283
+ }, ft = (t) => {
284
+ t.__insertBefore || t.__insertBefore || (t.__insertBefore = t.insertBefore, t.insertBefore = function(t, n) {
285
+ const { slotName: e, slotNode: o } = et(t, this), s = this.__childNodes ? this.childNodes : Y(this.childNodes);
286
+ if (o) {
287
+ let l = !1;
288
+ if (s.forEach(((s) => {
289
+ if (s !== n && null !== n);
290
+ else {
291
+ if (l = !0, null === n || e !== n["s-sn"]) return void this.appendChild(t);
292
+ if (e === n["s-sn"]) {
293
+ Q(t, o);
294
+ jt(jt(n, "parentNode"), "insertBefore")(t, n), nt(o);
295
+ }
296
+ }
297
+ })), l) return t;
298
+ }
299
+ const l = null == n ? void 0 : n.__parentNode;
300
+ return l && !this.isSameNode(l) ? this.appendChild(t) : this.__insertBefore(t, n);
301
+ });
302
+ }, at = (t) => {
303
+ if (t.__insertAdjacentElement) return;
304
+ const n = t.insertAdjacentElement;
305
+ t.insertAdjacentElement = function(t, e) {
306
+ return "afterbegin" !== t && "beforeend" !== t ? n.call(this, t, e) : "afterbegin" === t ? (this.prepend(e), e) : "beforeend" === t ? (this.append(e), e) : e;
307
+ };
308
+ }, dt = (t) => {
309
+ wt("textContent", t), Object.defineProperty(t, "textContent", {
310
+ get: function() {
311
+ let t = "";
312
+ return (this.__childNodes ? this.childNodes : Y(this.childNodes)).forEach(((n) => t += n.textContent || "")), t;
313
+ },
314
+ set: function(t) {
315
+ (this.__childNodes ? this.childNodes : Y(this.childNodes)).forEach(((t) => {
316
+ t["s-ol"] && t["s-ol"].remove(), t.remove();
317
+ })), this.insertAdjacentHTML("beforeend", t);
318
+ }
319
+ });
320
+ }, ht = (t) => {
321
+ class n extends Array {
322
+ item(t) {
323
+ return this[t];
324
+ }
325
+ }
326
+ wt("children", t), Object.defineProperty(t, "children", { get() {
327
+ return this.childNodes.filter(((t) => 1 === t.nodeType));
328
+ } }), Object.defineProperty(t, "childElementCount", { get() {
329
+ return this.children.length;
330
+ } }), wt("firstChild", t), Object.defineProperty(t, "firstChild", { get() {
331
+ return this.childNodes[0];
332
+ } }), wt("lastChild", t), Object.defineProperty(t, "lastChild", { get() {
333
+ return this.childNodes[this.childNodes.length - 1];
334
+ } }), wt("childNodes", t), Object.defineProperty(t, "childNodes", { get() {
335
+ const t = new n();
336
+ return t.push(...Y(this.__childNodes)), t;
337
+ } });
338
+ }, vt = (t) => {
339
+ t && !t.__nextSibling && (wt("nextSibling", t), Object.defineProperty(t, "nextSibling", { get: function() {
340
+ var t;
341
+ const n = null == (t = this["s-ol"]) ? void 0 : t.parentNode.childNodes, e = null == n ? void 0 : n.indexOf(this);
342
+ return n && e > -1 ? n[e + 1] : this.__nextSibling;
343
+ } }));
344
+ }, pt = (t) => {
345
+ t && !t.__nextElementSibling && (wt("nextElementSibling", t), Object.defineProperty(t, "nextElementSibling", { get: function() {
346
+ var t;
347
+ const n = null == (t = this["s-ol"]) ? void 0 : t.parentNode.children, e = null == n ? void 0 : n.indexOf(this);
348
+ return n && e > -1 ? n[e + 1] : this.__nextElementSibling;
349
+ } }));
350
+ }, $t = (t) => {
351
+ t && !t.__previousSibling && (wt("previousSibling", t), Object.defineProperty(t, "previousSibling", { get: function() {
352
+ var t;
353
+ const n = null == (t = this["s-ol"]) ? void 0 : t.parentNode.childNodes, e = null == n ? void 0 : n.indexOf(this);
354
+ return n && e > -1 ? n[e - 1] : this.__previousSibling;
355
+ } }));
356
+ }, bt = (t) => {
357
+ t && !t.__previousElementSibling && (wt("previousElementSibling", t), Object.defineProperty(t, "previousElementSibling", { get: function() {
358
+ var t;
359
+ const n = null == (t = this["s-ol"]) ? void 0 : t.parentNode.children, e = null == n ? void 0 : n.indexOf(this);
360
+ return n && e > -1 ? n[e - 1] : this.__previousElementSibling;
361
+ } }));
362
+ }, gt = (t) => {
363
+ t && !t.__parentNode && (wt("parentNode", t), Object.defineProperty(t, "parentNode", {
364
+ get: function() {
365
+ var t;
366
+ return (null == (t = this["s-ol"]) ? void 0 : t.parentNode) || this.__parentNode;
367
+ },
368
+ set: function(t) {
369
+ this.__parentNode = t;
370
+ }
371
+ }));
372
+ }, mt = [
373
+ "children",
374
+ "nextElementSibling",
375
+ "previousElementSibling"
376
+ ], yt = [
377
+ "childNodes",
378
+ "firstChild",
379
+ "lastChild",
380
+ "nextSibling",
381
+ "previousSibling",
382
+ "textContent",
383
+ "parentNode"
384
+ ];
385
+ function wt(t, n) {
386
+ if (!globalThis.Node || !globalThis.Element) return;
387
+ let e;
388
+ mt.includes(t) ? e = Object.getOwnPropertyDescriptor(Element.prototype, t) : yt.includes(t) && (e = Object.getOwnPropertyDescriptor(Node.prototype, t)), e || (e = Object.getOwnPropertyDescriptor(n, t)), e && Object.defineProperty(n, "__" + t, e);
389
+ }
390
+ function jt(t, n) {
391
+ if ("__" + n in t) {
392
+ const e = t["__" + n];
393
+ return "function" != typeof e ? e : e.bind(t);
394
+ }
395
+ return "function" != typeof t[n] ? t[n] : t[n].bind(t);
396
+ }
397
+ var Ot = /* @__PURE__ */ new WeakMap(), Nt = (t, n, e) => {
398
+ let o = O.get(t);
399
+ A && e ? (o = o || new CSSStyleSheet(), "string" == typeof o ? o = n : o.replaceSync(n)) : o = n, O.set(t, o);
400
+ }, St = (t, n, e) => {
401
+ var o, s, l;
402
+ const i = xt(n, e), r = O.get(i);
403
+ if (!k.document) return i;
404
+ if (t = 11 === t.nodeType ? t : k.document, r) if ("string" == typeof r) {
405
+ let e, l = Ot.get(t = t.head || t);
406
+ l || Ot.set(t, l = /* @__PURE__ */ new Set());
407
+ const c = t.querySelector(`[${x}="${i}"]`);
408
+ if (c) c.textContent = r;
409
+ else if (!l.has(i)) {
410
+ e = k.document.createElement("style"), e.textContent = r;
411
+ const c = null != (o = M.h) ? o : function() {
412
+ var t, n, e;
413
+ return null != (e = null == (n = null == (t = k.document.head) ? void 0 : t.querySelector("meta[name=\"csp-nonce\"]")) ? void 0 : n.getAttribute("content")) ? e : void 0;
414
+ }();
415
+ if (null != c && e.setAttribute("nonce", c), !(1 & n.i)) if ("HEAD" === t.nodeName) {
416
+ const n = t.querySelectorAll("link[rel=preconnect]"), o = n.length > 0 ? n[n.length - 1].nextSibling : t.querySelector("style");
417
+ t.insertBefore(e, (null == o ? void 0 : o.parentNode) === t ? o : null);
418
+ } else if ("host" in t) if (A) {
419
+ const n = new (null != (s = t.defaultView) ? s : t.ownerDocument.defaultView).CSSStyleSheet();
420
+ n.replaceSync(r), L ? t.adoptedStyleSheets.unshift(n) : t.adoptedStyleSheets = [n, ...t.adoptedStyleSheets];
421
+ } else {
422
+ const n = t.querySelector("style");
423
+ n ? n.textContent = r + n.textContent : t.prepend(e);
424
+ }
425
+ else t.append(e);
426
+ 1 & n.i && t.insertBefore(e, null), 4 & n.i && (e.textContent += "slot-fb{display:contents}slot-fb[hidden]{display:none}"), l && l.add(i);
427
+ }
428
+ } else {
429
+ let n = Ot.get(t);
430
+ if (n || Ot.set(t, n = /* @__PURE__ */ new Set()), !n.has(i)) {
431
+ const e = null != (l = t.defaultView) ? l : t.ownerDocument.defaultView;
432
+ let o;
433
+ if (r.constructor === e.CSSStyleSheet) o = r;
434
+ else {
435
+ o = new e.CSSStyleSheet();
436
+ for (let t = 0; t < r.cssRules.length; t++) o.insertRule(r.cssRules[t].cssText, t);
437
+ }
438
+ if (L ? t.adoptedStyleSheets.push(o) : t.adoptedStyleSheets = [...t.adoptedStyleSheets, o], n.add(i), "host" in t) {
439
+ const n = t.querySelector(`[${x}="${i}"]`);
440
+ n && P((() => n.remove()));
441
+ }
442
+ }
443
+ }
444
+ return i;
445
+ }, xt = (t, n) => "sc-" + (n && 32 & t.i ? t.v + "-" + n : t.v), Et = (t) => "object" == (t = typeof t) || "function" === t, Ct = (t, n, ...e) => {
446
+ let o = null, s = null, l = null, i = !1, r = !1;
447
+ const c = [], u = (n) => {
448
+ for (let e = 0; e < n.length; e++) o = n[e], Array.isArray(o) ? u(o) : null != o && "boolean" != typeof o && ((i = "function" != typeof t && !Et(o)) && (o = String(o)), i && r ? c[c.length - 1].p += o : c.push(i ? kt(null, o) : o), r = i);
449
+ };
450
+ if (u(e), n) {
451
+ n.key && (s = n.key), n.name && (l = n.name);
452
+ {
453
+ const t = n.className || n.class;
454
+ t && (n.class = "object" != typeof t ? t : Object.keys(t).filter(((n) => t[n])).join(" "));
455
+ }
456
+ }
457
+ if ("function" == typeof t) return t(null === n ? {} : n, c, Mt);
458
+ const f = kt(t, null);
459
+ return f.$ = n, c.length > 0 && (f.j = c), f.O = s, f.N = l, f;
460
+ }, kt = (t, n) => ({
461
+ i: 0,
462
+ S: t,
463
+ p: null != n ? n : null,
464
+ C: null,
465
+ j: null,
466
+ $: null,
467
+ O: null,
468
+ N: null
469
+ }), It = {}, Mt = {
470
+ forEach: (t, n) => t.map(Rt).forEach(n),
471
+ map: (t, n) => t.map(Rt).map(n).map(At)
472
+ }, Rt = (t) => ({
473
+ vattrs: t.$,
474
+ vchildren: t.j,
475
+ vkey: t.O,
476
+ vname: t.N,
477
+ vtag: t.S,
478
+ vtext: t.p
479
+ }), At = (t) => {
480
+ if ("function" == typeof t.vtag) {
481
+ const n = { ...t.vattrs };
482
+ return t.vkey && (n.key = t.vkey), t.vname && (n.name = t.vname), Ct(t.vtag, n, ...t.vchildren || []);
483
+ }
484
+ const n = kt(t.vtag, t.vtext);
485
+ return n.$ = t.vattrs, n.j = t.vchildren, n.O = t.vkey, n.N = t.vname, n;
486
+ }, Lt = (t, n, e, o, s, l, i, r = []) => {
487
+ let c, u, f, a;
488
+ const d = s["s-sc"];
489
+ if (1 === l.nodeType) {
490
+ if (c = l.getAttribute(E), c && (u = c.split("."), u[0] === i || "0" === u[0])) {
491
+ f = Bt({
492
+ i: 0,
493
+ k: u[0],
494
+ I: u[1],
495
+ M: u[2],
496
+ R: u[3],
497
+ S: l.tagName.toLowerCase(),
498
+ C: l,
499
+ $: { class: l.className || "" }
500
+ }), n.push(f), l.removeAttribute(E), t.j || (t.j = []), d && u[0] === i && (l["s-si"] = d, f.$.class += " " + d);
501
+ const s = f.C.getAttribute("s-sn");
502
+ "string" == typeof s && ("slot-fb" === f.S && (Ft(s, u[2], f, l, t, n, e, o, r), d && l.classList.add(d)), f.C["s-sn"] = s, f.C.removeAttribute("s-sn")), void 0 !== f.R && (t.j[f.R] = f), t = f, o && "0" === f.M && (o[f.R] = f.C);
503
+ }
504
+ if (l.shadowRoot) for (a = l.shadowRoot.childNodes.length - 1; a >= 0; a--) Lt(t, n, e, o, s, l.shadowRoot.childNodes[a], i, r);
505
+ const h = l.__childNodes || l.childNodes;
506
+ for (a = h.length - 1; a >= 0; a--) Lt(t, n, e, o, s, h[a], i, r);
507
+ } else if (8 === l.nodeType) u = l.nodeValue.split("."), (u[1] === i || "0" === u[1]) && (c = u[0], f = Bt({
508
+ k: u[1],
509
+ I: u[2],
510
+ M: u[3],
511
+ R: u[4] || "0",
512
+ C: l,
513
+ $: null,
514
+ j: null,
515
+ O: null,
516
+ N: null,
517
+ S: null,
518
+ p: null
519
+ }), "t" === c ? (f.C = Wt(l, 3), f.C && 3 === f.C.nodeType && (f.p = f.C.textContent, n.push(f), l.remove(), i === f.k && (t.j || (t.j = []), t.j[f.R] = f), o && "0" === f.M && (o[f.R] = f.C))) : "c" === c ? (f.C = Wt(l, 8), f.C && 8 === f.C.nodeType && (n.push(f), l.remove())) : f.k === i && ("s" === c ? Ft(l["s-sn"] = u[5] || "", u[2], f, l, t, n, e, o, r) : "r" === c && (o ? l.remove() : (s["s-cr"] = l, l["s-cn"] = !0))));
520
+ else if (t && "style" === t.S) {
521
+ const n = kt(null, l.textContent);
522
+ n.C = l, n.R = "0", t.j = [n];
523
+ }
524
+ return t;
525
+ }, _t = (t, n) => {
526
+ if (1 === t.nodeType) {
527
+ const e = t[S] || t.getAttribute(S);
528
+ e && n.set(e, t);
529
+ let o = 0;
530
+ if (t.shadowRoot) for (; o < t.shadowRoot.childNodes.length; o++) _t(t.shadowRoot.childNodes[o], n);
531
+ const s = t.__childNodes || t.childNodes;
532
+ for (o = 0; o < s.length; o++) _t(s[o], n);
533
+ } else if (8 === t.nodeType) {
534
+ const e = t.nodeValue.split(".");
535
+ "o" === e[0] && (n.set(e[1] + "." + e[2], t), t.nodeValue = "", t["s-en"] = e[3]);
536
+ }
537
+ }, Bt = (t) => ({
538
+ i: 0,
539
+ k: null,
540
+ I: null,
541
+ M: null,
542
+ R: "0",
543
+ C: null,
544
+ $: null,
545
+ j: null,
546
+ O: null,
547
+ N: null,
548
+ S: null,
549
+ p: null,
550
+ ...t
551
+ });
552
+ function Ft(t, n, e, o, s, l, i, r, c) {
553
+ o["s-sr"] = !0, e.N = t || null, e.S = "slot";
554
+ const u = (null == s ? void 0 : s.C) ? s.C["s-id"] || s.C.getAttribute("s-id") : "";
555
+ if (r && k.document) {
556
+ const l = e.C = k.document.createElement(e.S);
557
+ e.N && e.C.setAttribute("name", t), s.C.shadowRoot && u && u !== e.k ? jt(s.C, "insertBefore")(l, jt(s.C, "children")[0]) : jt(jt(o, "parentNode"), "insertBefore")(l, o), Vt(c, n, t, o, e.k), o.remove(), "0" === e.M && (r[e.R] = e.C);
558
+ } else {
559
+ const l = e.C, i = u && u !== e.k && s.C.shadowRoot;
560
+ Vt(c, n, t, o, i ? u : e.k), tt(o), i && s.C.insertBefore(l, s.C.children[0]);
561
+ }
562
+ l.push(e), i.push(e), s.j || (s.j = []), s.j[e.R] = e;
563
+ }
564
+ var Tt, Ut, Dt, Vt = (t, n, e, o, s) => {
565
+ var l, i;
566
+ let r = o.nextSibling;
567
+ if (t[n] = t[n] || [], r && !(null == (l = r.nodeValue) ? void 0 : l.startsWith("s."))) do
568
+ !r || (r.getAttribute && r.getAttribute("slot") || r["s-sn"]) !== e && ("" !== e || r["s-sn"] || r.getAttribute && r.getAttribute("slot") || 8 !== r.nodeType && 3 !== r.nodeType) || (r["s-sn"] = e, t[n].push({
569
+ slot: o,
570
+ node: r,
571
+ hostId: s
572
+ })), r = null == r ? void 0 : r.nextSibling;
573
+ while (r && !(null == (i = r.nodeValue) ? void 0 : i.startsWith("s.")));
574
+ }, Wt = (t, n) => {
575
+ let e = t;
576
+ do
577
+ e = e.nextSibling;
578
+ while (e && (e.nodeType !== n || !e.nodeValue));
579
+ return e;
580
+ }, Pt = (t) => N.push(t), qt = (t) => {
581
+ var n;
582
+ return null == (n = y(t)) ? void 0 : n.A;
583
+ }, zt = class t {
584
+ static fromLocalValue(n) {
585
+ const e = n[$], o = b in n ? n[b] : void 0;
586
+ switch (e) {
587
+ case "string":
588
+ case "boolean": return o;
589
+ case "bigint": return BigInt(o);
590
+ case "undefined": return;
591
+ case "null": return null;
592
+ case "number": return "NaN" === o ? NaN : "-0" === o ? -0 : "Infinity" === o ? Infinity : "-Infinity" === o ? -Infinity : o;
593
+ case "array": return o.map(((n) => t.fromLocalValue(n)));
594
+ case "date": return new Date(o);
595
+ case "map":
596
+ const n = /* @__PURE__ */ new Map();
597
+ for (const [e, s] of o) {
598
+ const o = "object" == typeof e && null !== e ? t.fromLocalValue(e) : e, l = t.fromLocalValue(s);
599
+ n.set(o, l);
600
+ }
601
+ return n;
602
+ case "object":
603
+ const s = {};
604
+ for (const [n, e] of o) s[n] = t.fromLocalValue(e);
605
+ return s;
606
+ case "regexp":
607
+ const { pattern: l, flags: i } = o;
608
+ return new RegExp(l, i);
609
+ case "set":
610
+ const r = /* @__PURE__ */ new Set();
611
+ for (const n of o) r.add(t.fromLocalValue(n));
612
+ return r;
613
+ case "symbol": return Symbol(o);
614
+ default: throw new Error(`Unsupported type: ${e}`);
615
+ }
616
+ }
617
+ static fromLocalValueArray(n) {
618
+ return n.map(((n) => t.fromLocalValue(n)));
619
+ }
620
+ static isLocalValueObject(t) {
621
+ if ("object" != typeof t || null === t) return !1;
622
+ if (!t.hasOwnProperty($)) return !1;
623
+ const n = t[$];
624
+ return !!Object.values({
625
+ ...v,
626
+ ...p
627
+ }).includes(n) && ("null" === n || "undefined" === n || t.hasOwnProperty(b));
628
+ }
629
+ }, Ht = (t, n) => {
630
+ return "string" == typeof t && t.startsWith(g) ? t = "string" == typeof (e = t) && e.startsWith(g) ? zt.fromLocalValue(JSON.parse(atob(e.slice(11)))) : e : null == t || Et(t) ? t : 4 & n ? "false" !== t && ("" === t || !!t) : 2 & n ? "string" == typeof t ? parseFloat(t) : "number" == typeof t ? t : NaN : 1 & n ? String(t) : t;
631
+ var e;
632
+ }, Jt = (t, n, e) => {
633
+ const o = t;
634
+ return { emit: (t) => Yt(o, n, {
635
+ bubbles: !!(4 & e),
636
+ composed: !!(2 & e),
637
+ cancelable: !!(1 & e),
638
+ detail: t
639
+ }) };
640
+ }, Yt = (t, n, e) => {
641
+ const o = M.ce(n, e);
642
+ return t.dispatchEvent(o), o;
643
+ }, Zt = (t, n, e, o, s, l, i) => {
644
+ if (e === o) return;
645
+ let r = w(t, n), c = n.toLowerCase();
646
+ if ("class" === n) {
647
+ const n = t.classList, s = Kt(e);
648
+ let l = Kt(o);
649
+ if ((t["s-si"] || t["s-sc"]) && i) {
650
+ const e = t["s-sc"] || t["s-si"];
651
+ l.push(e), s.forEach(((t) => {
652
+ t.startsWith(e) && l.push(t);
653
+ })), l = [...new Set(l)].filter(((t) => t)), n.add(...l);
654
+ } else n.remove(...s.filter(((t) => t && !l.includes(t)))), n.add(...l.filter(((t) => t && !s.includes(t))));
655
+ } else if ("style" === n) {
656
+ for (const n in e) o && null != o[n] || (n.includes("-") ? t.style.removeProperty(n) : t.style[n] = "");
657
+ for (const n in o) e && o[n] === e[n] || (n.includes("-") ? t.style.setProperty(n, o[n]) : t.style[n] = o[n]);
658
+ } else if ("key" === n);
659
+ else if ("ref" === n) o && yn(o, t);
660
+ else if (t.__lookupSetter__(n) || "o" !== n[0] || "n" !== n[1]) {
661
+ if ("a" === n[0] && n.startsWith("attr:")) {
662
+ const e = n.slice(5);
663
+ let s;
664
+ {
665
+ const n = y(t);
666
+ if (n && n.o && n.o.t) {
667
+ const t = n.o.t[e];
668
+ t && t[1] && (s = t[1]);
669
+ }
670
+ }
671
+ s || (s = e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()), null == o || !1 === o ? !1 === o && "" !== t.getAttribute(s) || t.removeAttribute(s) : t.setAttribute(s, !0 === o ? "" : o);
672
+ return;
673
+ }
674
+ if ("p" === n[0] && n.startsWith("prop:")) {
675
+ const e = n.slice(5);
676
+ try {
677
+ t[e] = o;
678
+ } catch (t) {}
679
+ return;
680
+ }
681
+ {
682
+ const i = Et(o);
683
+ if ((r || i && null !== o) && !s) try {
684
+ if (t.tagName.includes("-")) t[n] !== o && (t[n] = o);
685
+ else {
686
+ const s = null == o ? "" : o;
687
+ "list" === n ? r = !1 : null != e && t[n] === s || ("function" == typeof t.__lookupSetter__(n) ? t[n] = s : t.setAttribute(n, s));
688
+ }
689
+ } catch (t) {}
690
+ let u = !1;
691
+ c !== (c = c.replace(/^xlink\:?/, "")) && (n = c, u = !0), null == o || !1 === o ? !1 === o && "" !== t.getAttribute(n) || (u ? t.removeAttributeNS(C, n) : t.removeAttribute(n)) : (!r || 4 & l || s) && !i && 1 === t.nodeType && (o = !0 === o ? "" : o, u ? t.setAttributeNS(C, n, o) : t.setAttribute(n, o));
692
+ }
693
+ } else if (n = "-" === n[2] ? n.slice(3) : w(k, c) ? c.slice(2) : c[2] + n.slice(3), e || o) {
694
+ const s = n.endsWith(Qt);
695
+ n = n.replace(Xt, ""), e && M.rel(t, n, e, s), o && M.ael(t, n, o, s);
696
+ }
697
+ }, Gt = /\s/, Kt = (t) => ("object" == typeof t && t && "baseVal" in t && (t = t.baseVal), t && "string" == typeof t ? t.split(Gt) : []), Qt = "Capture", Xt = new RegExp(Qt + "$"), tn = (t, n, e, o) => {
698
+ const s = 11 === n.C.nodeType && n.C.host ? n.C.host : n.C, l = t && t.$ || {}, i = n.$ || {};
699
+ for (const t of nn(Object.keys(l))) t in i || Zt(s, t, l[t], void 0, e, n.i, o);
700
+ for (const t of nn(Object.keys(i))) Zt(s, t, l[t], i[t], e, n.i, o);
701
+ };
702
+ function nn(t) {
703
+ return t.includes("ref") ? [...t.filter(((t) => "ref" !== t)), "ref"] : t;
704
+ }
705
+ var en = !1, on = !1, sn = !1, ln = !1, rn = [], cn = [], un = (t, n, e) => {
706
+ var o;
707
+ const s = n.j[e];
708
+ let l, i, r, c = 0;
709
+ if (en || (sn = !0, "slot" === s.S && (s.i |= s.j ? 2 : 1)), null != s.p) l = s.C = k.document.createTextNode(s.p);
710
+ else if (1 & s.i) l = s.C = k.document.createTextNode(""), tn(null, s, ln);
711
+ else {
712
+ if (ln || (ln = "svg" === s.S), !k.document) throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
713
+ if (l = s.C = k.document.createElementNS(ln ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", !en && 2 & s.i ? "slot-fb" : s.S), ln && "foreignObject" === s.S && (ln = !1), tn(null, s, ln), null != (u = Tt) && void 0 !== u && l["s-si"] !== Tt && l.classList.add(l["s-si"] = Tt), s.j) {
714
+ const n = "template" === s.S ? l.content : l;
715
+ for (c = 0; c < s.j.length; ++c) i = un(t, s, c), i && n.appendChild(i);
716
+ }
717
+ "svg" === s.S ? ln = !1 : "foreignObject" === l.tagName && (ln = !0);
718
+ }
719
+ var u;
720
+ return l["s-hn"] = Dt, 3 & s.i && (l["s-sr"] = !0, l["s-cr"] = Ut, l["s-sn"] = s.N || "", l["s-rf"] = null == (o = s.$) ? void 0 : o.ref, tt(l), r = t && t.j && t.j[e], r && r.S === s.S && t.C && fn(t.C), jn(Ut, l, n.C, null == t ? void 0 : t.C)), l;
721
+ }, fn = (t) => {
722
+ M.i |= 1;
723
+ const n = t.closest(Dt.toLowerCase());
724
+ if (null != n) {
725
+ const e = Array.from(n.__childNodes || n.childNodes).find(((t) => t["s-cr"])), o = Array.from(t.__childNodes || t.childNodes);
726
+ for (const t of e ? o.reverse() : o) null != t["s-sh"] && (wn(n, t, null != e ? e : null), t["s-sh"] = void 0, sn = !0);
727
+ }
728
+ M.i &= -2;
729
+ }, an = (t, n) => {
730
+ M.i |= 1;
731
+ const e = Array.from(t.__childNodes || t.childNodes);
732
+ if (t["s-sr"]) {
733
+ let n = t;
734
+ for (; n = n.nextSibling;) n && n["s-sn"] === t["s-sn"] && n["s-sh"] === Dt && e.push(n);
735
+ }
736
+ for (let t = e.length - 1; t >= 0; t--) {
737
+ const o = e[t];
738
+ o["s-hn"] !== Dt && o["s-ol"] && (wn(pn(o).parentNode, o, pn(o)), o["s-ol"].remove(), o["s-ol"] = void 0, o["s-sh"] = void 0, sn = !0), n && an(o, n);
739
+ }
740
+ M.i &= -2;
741
+ }, dn = (t, n, e, o, s, l) => {
742
+ let i, r = t["s-cr"] && t["s-cr"].parentNode || t;
743
+ for (r.shadowRoot && r.tagName === Dt && (r = r.shadowRoot), "template" === e.S && (r = r.content); s <= l; ++s) o[s] && (i = un(null, e, s), i && (o[s].C = i, wn(r, i, pn(n))));
744
+ }, hn = (t, n, e) => {
745
+ for (let o = n; o <= e; ++o) {
746
+ const n = t[o];
747
+ if (n) {
748
+ const t = n.C;
749
+ mn(n), t && (on = !0, t["s-ol"] ? t["s-ol"].remove() : an(t, !0), t.remove());
750
+ }
751
+ }
752
+ }, vn = (t, n, e = !1) => t.S === n.S && ("slot" === t.S ? t.N === n.N : e ? (e && !t.O && n.O && (t.O = n.O), !0) : t.O === n.O), pn = (t) => t && t["s-ol"] || t, $n = (t, n, e = !1) => {
753
+ const o = n.C = t.C, s = t.j, l = n.j, i = n.S, r = n.p;
754
+ let c;
755
+ null == r ? (ln = "svg" === i || "foreignObject" !== i && ln, "slot" !== i || en || t.N !== n.N && (n.C["s-sn"] = n.N || "", fn(n.C.parentElement)), tn(t, n, ln, e), null !== s && null !== l ? ((t, n, e, o, s = !1) => {
756
+ let l, i, r = 0, c = 0, u = 0, f = 0, a = n.length - 1, d = n[0], h = n[a], v = o.length - 1, p = o[0], $ = o[v];
757
+ const b = "template" === e.S ? t.content : t;
758
+ for (; r <= a && c <= v;) if (null == d) d = n[++r];
759
+ else if (null == h) h = n[--a];
760
+ else if (null == p) p = o[++c];
761
+ else if (null == $) $ = o[--v];
762
+ else if (vn(d, p, s)) $n(d, p, s), d = n[++r], p = o[++c];
763
+ else if (vn(h, $, s)) $n(h, $, s), h = n[--a], $ = o[--v];
764
+ else if (vn(d, $, s)) "slot" !== d.S && "slot" !== $.S || an(d.C.parentNode, !1), $n(d, $, s), wn(b, d.C, h.C.nextSibling), d = n[++r], $ = o[--v];
765
+ else if (vn(h, p, s)) "slot" !== d.S && "slot" !== $.S || an(h.C.parentNode, !1), $n(h, p, s), wn(b, h.C, d.C), h = n[--a], p = o[++c];
766
+ else {
767
+ for (u = -1, f = r; f <= a; ++f) if (n[f] && null !== n[f].O && n[f].O === p.O) {
768
+ u = f;
769
+ break;
770
+ }
771
+ u >= 0 ? (i = n[u], i.S !== p.S ? l = un(n && n[c], e, u) : ($n(i, p, s), n[u] = void 0, l = i.C), p = o[++c]) : (l = un(n && n[c], e, c), p = o[++c]), l && wn(pn(d.C).parentNode, l, pn(d.C));
772
+ }
773
+ r > a ? dn(t, null == o[v + 1] ? null : o[v + 1].C, e, o, c, v) : c > v && hn(n, r, a);
774
+ })(o, s, n, l, e) : null !== l ? (null !== t.p && (o.textContent = ""), dn(o, null, n, l, 0, l.length - 1)) : e || null === s ? e && null !== s && null === l && (n.j = s) : hn(s, 0, s.length - 1), ln && "svg" === i && (ln = !1)) : (c = o["s-cr"]) ? c.parentNode.textContent = r : t.p !== r && (o.data = r);
775
+ }, bn = [], gn = (t) => {
776
+ let n, e, o;
777
+ const s = t.__childNodes || t.childNodes;
778
+ for (const t of s) {
779
+ if (t["s-sr"] && (n = t["s-cr"]) && n.parentNode) {
780
+ e = n.parentNode.__childNodes || n.parentNode.childNodes;
781
+ const s = t["s-sn"];
782
+ for (o = e.length - 1; o >= 0; o--) if (n = e[o], !(n["s-cn"] || n["s-nr"] || n["s-hn"] === t["s-hn"] || n["s-sh"] && n["s-sh"] === t["s-hn"])) if (K(n, s)) {
783
+ let e = bn.find(((t) => t.L === n));
784
+ on = !0, n["s-sn"] = n["s-sn"] || s, e ? (e.L["s-sh"] = t["s-hn"], e._ = t) : (n["s-sh"] = t["s-hn"], bn.push({
785
+ _: t,
786
+ L: n
787
+ })), n["s-sr"] && bn.map(((t) => {
788
+ K(t.L, n["s-sn"]) && (e = bn.find(((t) => t.L === n)), e && !t._ && (t._ = e._));
789
+ }));
790
+ } else bn.some(((t) => t.L === n)) || bn.push({ L: n });
791
+ }
792
+ 1 === t.nodeType && gn(t);
793
+ }
794
+ }, mn = (t) => {
795
+ t.$ && t.$.ref && rn.push((() => t.$.ref(null))), t.j && t.j.map(mn);
796
+ }, yn = (t, n) => {
797
+ cn.push((() => t(n)));
798
+ }, wn = (t, n, e, o) => {
799
+ if ("string" == typeof n["s-sn"] && n["s-sr"] && n["s-cr"]) jn(n["s-cr"], n, t, n.parentElement);
800
+ else if ("string" == typeof n["s-sn"]) {
801
+ 11 !== t.getRootNode().nodeType && gt(n), t.insertBefore(n, e);
802
+ const { slotNode: s } = et(n);
803
+ return s && !o && nt(s), n;
804
+ }
805
+ return t.__insertBefore ? t.__insertBefore(n, e) : null == t ? void 0 : t.insertBefore(n, e);
806
+ };
807
+ function jn(t, n, e, o) {
808
+ var s, l;
809
+ let i;
810
+ if (t && "string" == typeof n["s-sn"] && n["s-sr"] && t.parentNode && t.parentNode["s-sc"] && (i = n["s-si"] || t.parentNode["s-sc"])) {
811
+ const t = n["s-sn"], r = n["s-hn"];
812
+ if (null == (s = e.classList) || s.add(i + "-s"), o && (null == (l = o.classList) ? void 0 : l.contains(i + "-s"))) {
813
+ let n = (o.__childNodes || o.childNodes)[0], e = !1;
814
+ for (; n;) {
815
+ if (n["s-sn"] !== t && n["s-hn"] === r && n["s-sr"]) {
816
+ e = !0;
817
+ break;
818
+ }
819
+ n = n.nextSibling;
820
+ }
821
+ e || o.classList.remove(i + "-s");
822
+ }
823
+ }
824
+ }
825
+ var On = (t, n, e = !1) => {
826
+ var o, s, l, i, r;
827
+ const c = t.$hostElement$, u = t.o, f = t.B || kt(null, null);
828
+ var a;
829
+ const d = (a = n) && a.S === It ? n : Ct(null, null, n);
830
+ if (Dt = c.tagName, u.F && (d.$ = d.$ || {}, u.F.forEach((([t, n]) => {
831
+ d.$[n] = c[t];
832
+ }))), e && d.$) for (const t of Object.keys(d.$)) c.hasAttribute(t) && ![
833
+ "key",
834
+ "ref",
835
+ "style",
836
+ "class"
837
+ ].includes(t) && (d.$[t] = c[t]);
838
+ if (d.S = null, d.i |= 4, t.B = d, d.C = f.C = c.shadowRoot || c, Tt = c["s-sc"], en = !(!(1 & u.i) || 128 & u.i), Ut = c["s-cr"], on = !1, $n(f, d, e), M.i |= 1, sn) {
839
+ gn(d.C);
840
+ for (const t of bn) {
841
+ const n = t.L;
842
+ if (!n["s-ol"] && k.document) {
843
+ const t = k.document.createTextNode("");
844
+ t["s-nr"] = n, wn(n.parentNode, n["s-ol"] = t, n, e);
845
+ }
846
+ }
847
+ for (const t of bn) {
848
+ const n = t.L, r = t._;
849
+ if (1 === n.nodeType && e && (n["s-ih"] = null != (o = n.hidden) && o), r) {
850
+ const t = r.parentNode;
851
+ let o = r.nextSibling;
852
+ if (o && 1 === o.nodeType) {
853
+ let e = null == (s = n["s-ol"]) ? void 0 : s.previousSibling;
854
+ for (; e;) {
855
+ let s = null != (l = e["s-nr"]) ? l : null;
856
+ if (s && s["s-sn"] === n["s-sn"] && t === (s.__parentNode || s.parentNode)) {
857
+ for (s = s.nextSibling; s === n || (null == s ? void 0 : s["s-sr"]);) s = null == s ? void 0 : s.nextSibling;
858
+ if (!s || !s["s-nr"]) {
859
+ o = s;
860
+ break;
861
+ }
862
+ }
863
+ e = e.previousSibling;
864
+ }
865
+ }
866
+ if ((!o && t !== (n.__parentNode || n.parentNode) || (n.__nextSibling || n.nextSibling) !== o) && n !== o) {
867
+ if (wn(t, n, o, e), 8 === n.nodeType && n.nodeValue.startsWith("s-nt-")) {
868
+ const t = k.document.createTextNode(n.nodeValue.replace(/^s-nt-/, ""));
869
+ t["s-hn"] = n["s-hn"], t["s-sn"] = n["s-sn"], t["s-sh"] = n["s-sh"], t["s-sr"] = n["s-sr"], t["s-ol"] = n["s-ol"], t["s-ol"]["s-nr"] = t, wn(n.parentNode, t, n, e), n.parentNode.removeChild(n);
870
+ }
871
+ 1 === n.nodeType && "SLOT-FB" !== n.tagName && (n.hidden = null != (i = n["s-ih"]) && i);
872
+ }
873
+ n && "function" == typeof r["s-rf"] && r["s-rf"](r);
874
+ } else 1 === n.nodeType && (n.hidden = !0);
875
+ }
876
+ }
877
+ if (on && J(d.C), M.i &= -2, bn.length = 0, !en && !(1 & u.i) && c["s-cr"]) {
878
+ const t = d.C.__childNodes || d.C.childNodes;
879
+ for (const n of t) if (n["s-hn"] !== Dt && !n["s-sh"]) {
880
+ if (e && null == n["s-ih"] && (n["s-ih"] = null != (r = n.hidden) && r), 1 === n.nodeType) n.hidden = !0;
881
+ else if (3 === n.nodeType && n.nodeValue.trim()) {
882
+ const t = k.document.createComment("s-nt-" + n.nodeValue);
883
+ t["s-sn"] = n["s-sn"], wn(n.parentNode, t, n, e), n.parentNode.removeChild(n);
884
+ }
885
+ }
886
+ }
887
+ Ut = void 0, rn.forEach(((t) => t())), rn.length = 0, cn.forEach(((t) => t())), cn.length = 0;
888
+ }, Nn = (t, n) => {
889
+ if (n && !t.T && n["s-p"]) {
890
+ const e = n["s-p"].push(new Promise(((o) => t.T = () => {
891
+ n["s-p"].splice(e - 1, 1), o();
892
+ })));
893
+ }
894
+ }, Sn = (t, n) => {
895
+ if (t.i |= 16, 4 & t.i) return void (t.i |= 512);
896
+ Nn(t, t.U);
897
+ const e = () => xn(t, n);
898
+ if (!n) return P(e);
899
+ queueMicrotask((() => {
900
+ e();
901
+ }));
902
+ }, xn = (t, n) => {
903
+ const e = t.$hostElement$, o = e;
904
+ if (!o) throw new Error(`Can't render component <${e.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`);
905
+ let s;
906
+ return s = Ln(o, n ? "componentWillLoad" : "componentWillUpdate", void 0, e), s = En(s, (() => Ln(o, "componentWillRender", void 0, e))), En(s, (() => kn(t, o, n)));
907
+ }, En = (t, n) => Cn(t) ? t.then(n).catch(((t) => {
908
+ console.error(t), n();
909
+ })) : n(), Cn = (t) => t instanceof Promise || t && t.then && "function" == typeof t.then, kn = async (t, n, e) => {
910
+ var o;
911
+ const s = t.$hostElement$, l = s["s-rc"];
912
+ e && ((t) => {
913
+ const n = t.o, e = t.$hostElement$, o = n.i, s = St(e.shadowRoot ? e.shadowRoot : e.getRootNode(), n, t.A);
914
+ 10 & o && (e["s-sc"] = s, e.classList.add(s + "-h"));
915
+ })(t);
916
+ In(t, n, s, e), l && (l.map(((t) => t())), s["s-rc"] = void 0);
917
+ {
918
+ const n = null != (o = s["s-p"]) ? o : [], e = () => Mn(t);
919
+ 0 === n.length ? e() : (Promise.all(n).then(e).catch(e), t.i |= 4, n.length = 0);
920
+ }
921
+ }, In = (t, n, e, o) => {
922
+ try {
923
+ n = n.render && n.render(), t.i &= -17, t.i |= 2, On(t, n, o);
924
+ } catch (n) {
925
+ j(n, t.$hostElement$);
926
+ }
927
+ return null;
928
+ }, Mn = (t) => {
929
+ const n = t.$hostElement$, e = n, o = t.U;
930
+ Ln(e, "componentDidRender", void 0, n), 64 & t.i ? Ln(e, "componentDidUpdate", void 0, n) : (t.i |= 64, _n(n), Ln(e, "componentDidLoad", void 0, n), t.D(n), o || An()), t.T && (t.T(), t.T = void 0), 512 & t.i && V((() => Sn(t, !1))), t.i &= -517;
931
+ }, An = () => {
932
+ var t;
933
+ V((() => Yt(k, "appload", { detail: { namespace: "ionic" } }))), null != (t = M.V) && t.size && M.V.clear();
934
+ }, Ln = (t, n, e, o) => {
935
+ if (t && t[n]) try {
936
+ return t[n](e);
937
+ } catch (t) {
938
+ j(t, o);
939
+ }
940
+ }, _n = (t) => t.classList.add("hydrated"), Bn = (t, n, e, o) => {
941
+ const s = y(t);
942
+ if (!s) return;
943
+ const l = t, i = s.l.get(n), r = s.i, c = l;
944
+ e = Ht(e, o.t[n][0]);
945
+ if (e !== i && !(Number.isNaN(i) && Number.isNaN(e))) {
946
+ if (s.l.set(n, e), o.W) {
947
+ const t = o.W[n];
948
+ t && t.map(((t) => {
949
+ try {
950
+ const [[o, l]] = Object.entries(t);
951
+ (128 & r || 1 & l) && (c ? c[o](e, i, n) : s.P.push((() => {
952
+ s.q[o](e, i, n);
953
+ })));
954
+ } catch (t) {
955
+ j(t, l);
956
+ }
957
+ }));
958
+ }
959
+ if (2 & r) {
960
+ if (c.componentShouldUpdate && !1 === c.componentShouldUpdate(e, i, n) && !(16 & r)) return;
961
+ 16 & r || Sn(s, !1);
962
+ }
963
+ }
964
+ }, Fn = (t, n) => {
965
+ var e, o;
966
+ const s = t.prototype;
967
+ {
968
+ t.watchers && !n.W && (n.W = t.watchers), t.deserializers && !n.H && (n.H = t.deserializers), t.serializers && !n.J && (n.J = t.serializers);
969
+ const l = Object.entries(null != (e = n.t) ? e : {});
970
+ l.map((([t, [e]]) => {
971
+ if (31 & e || 32 & e) {
972
+ const { get: o, set: l } = Object.getOwnPropertyDescriptor(s, t) || {};
973
+ o && (n.t[t][0] |= 2048), l && (n.t[t][0] |= 4096), Object.defineProperty(s, t, {
974
+ get() {
975
+ return o ? o.apply(this) : (n = t, y(this).l.get(n));
976
+ var n;
977
+ },
978
+ configurable: !0,
979
+ enumerable: !0
980
+ }), Object.defineProperty(s, t, { set(o) {
981
+ const s = y(this);
982
+ if (s) {
983
+ if (l) return void 0 === (32 & e ? this[t] : s.$hostElement$[t]) && s.l.get(t) && (o = s.l.get(t)), l.apply(this, [Ht(o, e)]), void Bn(this, t, o = 32 & e ? this[t] : s.$hostElement$[t], n);
984
+ Bn(this, t, o, n);
985
+ }
986
+ } });
987
+ }
988
+ }));
989
+ {
990
+ const e = /* @__PURE__ */ new Map();
991
+ s.attributeChangedCallback = function(t, o, i) {
992
+ M.jmp((() => {
993
+ var r;
994
+ const c = e.get(t), u = y(this);
995
+ if (this.hasOwnProperty(c), s.hasOwnProperty(c) && "number" == typeof this[c] && this[c] == i) return;
996
+ if (null == c) {
997
+ const e = null == u ? void 0 : u.i;
998
+ if (u && e && !(8 & e) && i !== o) {
999
+ const s = this;
1000
+ (null == (r = n.W) ? void 0 : r[t])?.forEach(((n) => {
1001
+ const [[l, r]] = Object.entries(n);
1002
+ null != s[l] && (128 & e || 1 & r) && s[l].call(s, i, o, t);
1003
+ }));
1004
+ }
1005
+ return;
1006
+ }
1007
+ const f = l.find((([t]) => t === c));
1008
+ f && 4 & f[1][0] && (i = null !== i && "false" !== i);
1009
+ const a = Object.getOwnPropertyDescriptor(s, c);
1010
+ i == this[c] || a.get && !a.set || (this[c] = i);
1011
+ }));
1012
+ }, t.observedAttributes = Array.from(new Set([...Object.keys(null != (o = n.W) ? o : {}), ...l.filter((([t, n]) => 31 & n[0])).map((([t, o]) => {
1013
+ var s;
1014
+ const l = o[1] || t;
1015
+ return e.set(l, t), 512 & o[0] && (null == (s = n.F) || s.push([t, l])), l;
1016
+ }))]));
1017
+ }
1018
+ }
1019
+ return t;
1020
+ }, Tn = (t) => {
1021
+ if (!(1 & M.i)) {
1022
+ const n = y(t);
1023
+ if (!n) return;
1024
+ const e = n.o, o = () => {};
1025
+ if (1 & n.i) Wn(t, n, e.Y), null != n && n.q || null != n && n.Z && n.Z.then((() => {}));
1026
+ else {
1027
+ let o;
1028
+ if (n.i |= 1, o = t.getAttribute(S), o) {
1029
+ if (1 & e.i) {
1030
+ const n = St(t.shadowRoot, e, t.getAttribute("s-mode"));
1031
+ t.classList.remove(n + "-h", n + "-s");
1032
+ } else if (2 & e.i) t["s-sc"] = xt(e, t.getAttribute("s-mode"));
1033
+ ((t, n, e, o) => {
1034
+ var s, l, i, r;
1035
+ const c = t.shadowRoot, u = [], f = [], a = [], d = c ? [] : null, h = kt(n, null);
1036
+ let v;
1037
+ h.C = t;
1038
+ {
1039
+ const n = o.o;
1040
+ n && 10 & n.i && t["s-sc"] ? (v = t["s-sc"], t.classList.add(v + "-h")) : t["s-sc"] && delete t["s-sc"];
1041
+ }
1042
+ !k.document || M.V && M.V.size || _t(k.document.body, M.V = /* @__PURE__ */ new Map()), t[S] = e, t.removeAttribute(S), o.B = Lt(h, u, f, d, t, t, e, a);
1043
+ let p = 0;
1044
+ const $ = u.length;
1045
+ let b;
1046
+ for (; p < $; p++) {
1047
+ b = u[p];
1048
+ const e = b.k + "." + b.I, o = M.V.get(e), l = b.C;
1049
+ if (c) {
1050
+ if ((null == (s = b.S) ? void 0 : s.toString().includes("-")) && "slot-fb" !== b.S && !b.C.shadowRoot) {
1051
+ const t = y(b.C);
1052
+ if (t) {
1053
+ const n = xt(t.o, b.C.getAttribute("s-mode")), e = k.document.querySelector(`style[sty-id="${n}"]`);
1054
+ e && d.unshift(e.cloneNode(!0));
1055
+ }
1056
+ }
1057
+ } else l["s-hn"] = n.toUpperCase(), "slot" === b.S && (l["s-cr"] = t["s-cr"]);
1058
+ "slot" === b.S && (b.N = b.C["s-sn"] || b.C.name || null, b.j ? (b.i |= 2, b.C.childNodes.length || b.j.forEach(((t) => {
1059
+ b.C.appendChild(t.C);
1060
+ }))) : b.i |= 1), o && o.isConnected && (o.parentElement.shadowRoot && "" === o["s-en"] && o.parentNode.insertBefore(l, o.nextSibling), o.parentNode.removeChild(o), c || (l["s-oo"] = parseInt(b.I))), o && !o["s-id"] && M.V.delete(e);
1061
+ }
1062
+ const g = [], m = a.length;
1063
+ let w, j, O, N, x = 0, E = 0;
1064
+ for (; x < m; x++) if (w = a[x], w && w.length) for (O = w.length, j = 0; j < O; j++) {
1065
+ if (N = w[j], g[N.hostId] || (g[N.hostId] = M.V.get(N.hostId)), !g[N.hostId]) continue;
1066
+ const t = g[N.hostId];
1067
+ t.shadowRoot && N.node.parentElement !== t && t.insertBefore(N.node, null == (i = null == (l = w[j - 1]) ? void 0 : l.node) ? void 0 : i.nextSibling), t.shadowRoot && c || (N.slot["s-cr"] || (N.slot["s-cr"] = t["s-cr"], N.slot["s-cr"] = !N.slot["s-cr"] && t.shadowRoot ? t : (t.__childNodes || t.childNodes)[0]), Q(N.node, N.slot, !1, N.node["s-oo"] || E), null != (r = N.node.parentElement) && r.shadowRoot && N.node.getAttribute && N.node.getAttribute("slot") && N.node.removeAttribute("slot"), (C = N.node) && void 0 === C.__nextSibling && globalThis.Node && (vt(C), $t(C), gt(C), C.nodeType === Node.ELEMENT_NODE && (pt(C), bt(C)))), E = (N.node["s-oo"] || E) + 1;
1068
+ }
1069
+ var C;
1070
+ if (v && f.length && f.forEach(((t) => {
1071
+ t.C.parentElement.classList.add(v + "-s");
1072
+ })), c && !c.childNodes.length) {
1073
+ let n = 0;
1074
+ const e = d.length;
1075
+ if (e) {
1076
+ for (; n < e; n++) {
1077
+ const t = d[n];
1078
+ t && c.appendChild(t);
1079
+ }
1080
+ Array.from(t.childNodes).forEach(((t) => {
1081
+ "string" != typeof t["s-en"] && "string" != typeof t["s-sn"] && (1 === t.nodeType && t.slot && t.hidden ? t.removeAttribute("hidden") : 8 !== t.nodeType || t.nodeValue || t.parentNode.removeChild(t));
1082
+ }));
1083
+ }
1084
+ }
1085
+ o.$hostElement$ = t;
1086
+ })(t, e.v, o, n);
1087
+ }
1088
+ o || 12 & e.i && Un(t);
1089
+ {
1090
+ let e = t;
1091
+ for (; e = e.parentNode || e.host;) if (1 === e.nodeType && e.hasAttribute("s-id") && e["s-p"] || e["s-p"]) {
1092
+ Nn(n, n.U = e);
1093
+ break;
1094
+ }
1095
+ }
1096
+ e.t && Object.entries(e.t).map((([n, [e]]) => {
1097
+ if (31 & e && n in t && t[n] !== Object.prototype[n]) {
1098
+ const e = t[n];
1099
+ delete t[n], t[n] = e;
1100
+ }
1101
+ })), (async (t, n, e) => {
1102
+ let o;
1103
+ try {
1104
+ if (!(32 & n.i) && (n.i |= 32, o = t.constructor, customElements.whenDefined(t.localName).then((() => n.i |= 128)), o && o.style)) {
1105
+ let s;
1106
+ "string" == typeof o.style ? s = o.style : "string" != typeof o.style && (n.A = ((t) => N.map(((n) => n(t))).find(((t) => !!t)))(t), n.A && (s = o.style[n.A]));
1107
+ const l = xt(e, n.A);
1108
+ if (!O.has(l)) {
1109
+ const t = () => {};
1110
+ Nt(l, s, !!(1 & e.i)), t();
1111
+ }
1112
+ }
1113
+ const s = n.U, l = () => Sn(n, !0);
1114
+ s && s["s-rc"] ? s["s-rc"].push(l) : l();
1115
+ } catch (e) {
1116
+ j(e, t), n.T && (n.T(), n.T = void 0), n.D && n.D(t);
1117
+ }
1118
+ })(t, n, e);
1119
+ }
1120
+ o();
1121
+ }
1122
+ }, Un = (t) => {
1123
+ if (!k.document) return;
1124
+ const n = t["s-cr"] = k.document.createComment("");
1125
+ n["s-cn"] = !0, wn(t, n, t.firstChild);
1126
+ }, Dn = (t, n) => {
1127
+ const e = {
1128
+ i: n[0],
1129
+ v: n[1]
1130
+ };
1131
+ try {
1132
+ e.t = n[2], e.Y = n[3], e.W = t.W, e.H = t.H, e.J = t.J, e.F = [], !(1 & e.i) && 256 & e.i ? (ot(o = t.prototype), st(o), rt(o), it(o), at(o), ct(o), ut(o), ft(o), dt(o), ht(o), lt(o)) : ot(t.prototype), (() => {
1133
+ if (!k.document) return;
1134
+ const t = k.document.querySelectorAll(`[${x}]`);
1135
+ let n = 0;
1136
+ for (; n < t.length; n++) Nt(t[n].getAttribute(x), t[n].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{"), !0);
1137
+ })();
1138
+ const s = t.prototype.connectedCallback, l = t.prototype.disconnectedCallback;
1139
+ return Object.assign(t.prototype, {
1140
+ __hasHostListenerAttached: !1,
1141
+ __registerHost() {
1142
+ ((t, n) => {
1143
+ const e = {
1144
+ i: 0,
1145
+ $hostElement$: t,
1146
+ o: n,
1147
+ l: /* @__PURE__ */ new Map(),
1148
+ G: /* @__PURE__ */ new Map()
1149
+ };
1150
+ e.Z = new Promise(((t) => e.D = t)), t["s-p"] = [], t["s-rc"] = [];
1151
+ const o = e;
1152
+ t.__stencil__getHostRef = () => o, 512 & n.i && m(t, e);
1153
+ })(this, e);
1154
+ },
1155
+ connectedCallback() {
1156
+ if (!this.__hasHostListenerAttached) {
1157
+ const t = y(this);
1158
+ if (!t) return;
1159
+ Wn(this, t, e.Y), this.__hasHostListenerAttached = !0;
1160
+ }
1161
+ Tn(this), s && s.call(this);
1162
+ },
1163
+ disconnectedCallback() {
1164
+ (async (t) => {
1165
+ if (!(1 & M.i)) {
1166
+ const n = y(t);
1167
+ null != n && n.K && (n.K.map(((t) => t())), n.K = void 0);
1168
+ }
1169
+ Ot.has(t) && Ot.delete(t), t.shadowRoot && Ot.has(t.shadowRoot) && Ot.delete(t.shadowRoot);
1170
+ })(this), l && l.call(this);
1171
+ },
1172
+ __attachShadow() {
1173
+ if (this.shadowRoot) {
1174
+ if ("open" !== this.shadowRoot.mode) throw new Error(`Unable to re-use existing shadow root for ${e.v}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
1175
+ } else H.call(this, e);
1176
+ }
1177
+ }), Object.defineProperty(t, "is", {
1178
+ value: e.v,
1179
+ configurable: !0
1180
+ }), Fn(t, e);
1181
+ } catch (n) {
1182
+ return j(n), t;
1183
+ }
1184
+ var o;
1185
+ }, Wn = (t, n, e) => {
1186
+ e && k.document && e.map((([e, o, s]) => {
1187
+ const l = qn(k.document, t, e), i = Pn(n, s), r = zn(e);
1188
+ M.ael(l, o, i, r), (n.K = n.K || []).push((() => M.rel(l, o, i, r)));
1189
+ }));
1190
+ }, Pn = (t, n) => (e) => {
1191
+ try {
1192
+ t.$hostElement$[n](e);
1193
+ } catch (n) {
1194
+ j(n, t.$hostElement$);
1195
+ }
1196
+ }, qn = (t, n, e) => 4 & e ? t : 8 & e ? k : 16 & e ? t.body : n, zn = (t) => R ? {
1197
+ passive: !!(1 & t),
1198
+ capture: !!(2 & t)
1199
+ } : !!(2 & t);
1200
+ function Zn(t) {
1201
+ return t;
1202
+ }
1203
+ //#endregion
1204
+ export { qt as _, Jt as a, W as c, e as d, f, q as g, o as h, It as i, Zn as l, n as m, Dn as n, P as o, h as p, I as r, Pt as s, Ct as t, a as u, s as v, u as y };
1205
+
1206
+ //# sourceMappingURL=p-BJoMtgfR-DP5flT_f.js.map