@ganpatiinfo/gids-core-web 8.2.0 → 10.0.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 (231) hide show
  1. package/dist/css/index.css +1919 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/custom-elements.json +332 -0
  4. package/dist/gids-activity-gauge.d.ts +11 -0
  5. package/dist/gids-activity-gauge.js +1 -0
  6. package/dist/gids-bar-chart.d.ts +11 -0
  7. package/dist/gids-bar-chart.js +1 -0
  8. package/dist/gids-calendar-header-panel.d.ts +11 -0
  9. package/dist/gids-calendar-header-panel.js +1 -0
  10. package/dist/gids-calendar-month-list.d.ts +11 -0
  11. package/dist/gids-calendar-month-list.js +1 -0
  12. package/dist/gids-calendar-year-list.d.ts +11 -0
  13. package/dist/gids-calendar-year-list.js +1 -0
  14. package/dist/gids-calendar.d.ts +11 -0
  15. package/dist/gids-calendar.js +1 -0
  16. package/dist/gids-chart-legend-item.d.ts +11 -0
  17. package/dist/gids-chart-legend-item.js +1 -0
  18. package/dist/gids-chart-legend.d.ts +11 -0
  19. package/dist/gids-chart-legend.js +1 -0
  20. package/dist/gids-chart.d.ts +11 -0
  21. package/dist/gids-chart.js +1 -0
  22. package/dist/gids-chevron-button.d.ts +11 -0
  23. package/dist/gids-chevron-button.js +1 -0
  24. package/dist/gids-dot.d.ts +11 -0
  25. package/dist/gids-dot.js +1 -0
  26. package/dist/gids-dropdown-field.d.ts +11 -0
  27. package/dist/gids-dropdown-field.js +1 -0
  28. package/dist/gids-dropdown-picker.d.ts +11 -0
  29. package/dist/gids-dropdown-picker.js +1 -0
  30. package/dist/gids-dropdown.d.ts +11 -0
  31. package/dist/gids-dropdown.js +1 -0
  32. package/dist/gids-field.d.ts +1 -1
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-icon.d.ts +1 -1
  35. package/dist/gids-icon.js +1 -1
  36. package/dist/gids-input.d.ts +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.d.ts +1 -1
  43. package/dist/gids-notification.js +1 -1
  44. package/dist/gids-overflow-container.d.ts +1 -1
  45. package/dist/gids-overflow-container.js +1 -1
  46. package/dist/gids-overlay-provider.d.ts +1 -1
  47. package/dist/gids-overlay-provider.js +1 -1
  48. package/dist/gids-password-field.d.ts +1 -1
  49. package/dist/gids-password-field.js +1 -1
  50. package/dist/gids-pie-chart.d.ts +11 -0
  51. package/dist/gids-pie-chart.js +1 -0
  52. package/dist/gids-popover.d.ts +11 -0
  53. package/dist/gids-popover.js +1 -0
  54. package/dist/gids-progress-circle.d.ts +11 -0
  55. package/dist/gids-progress-circle.js +1 -0
  56. package/dist/gids-scrim.d.ts +1 -1
  57. package/dist/gids-scrim.js +1 -1
  58. package/dist/gids-snackbar.d.ts +1 -1
  59. package/dist/gids-snackbar.js +1 -1
  60. package/dist/gids-text-field.d.ts +1 -1
  61. package/dist/gids-text-field.js +1 -1
  62. package/dist/gids-toggle-button.d.ts +1 -1
  63. package/dist/gids-toggle-button.js +1 -1
  64. package/dist/gids-tooltip.d.ts +11 -0
  65. package/dist/gids-tooltip.js +1 -0
  66. package/dist/index.js +1 -1
  67. package/dist/p-9_mrQ7ac.js +1 -0
  68. package/dist/p-B81J5HCC.js +1 -0
  69. package/dist/p-B8kX8Vqv.js +1 -0
  70. package/dist/p-BFHWXEeg.js +1 -0
  71. package/dist/p-B_HaXpJZ.js +1 -0
  72. package/dist/p-BaO-kEWS.js +1 -0
  73. package/dist/p-BiPAgxAQ.js +1 -0
  74. package/dist/p-Bmb-HiXg.js +1 -0
  75. package/dist/{p-veoOgDXg.js → p-BnL97lOW.js} +1 -1
  76. package/dist/{p-DjvDBWCb.js → p-BvYnawkJ.js} +1 -1
  77. package/dist/p-CIP0xyhD.js +1 -0
  78. package/dist/p-CJzporPT.js +1 -0
  79. package/dist/p-CPSHPtGE.js +1 -0
  80. package/dist/p-CRngHsR7.js +1 -0
  81. package/dist/p-Ct3Ixgvf.js +1 -0
  82. package/dist/p-D93TNeOt.js +1 -0
  83. package/dist/p-DKsrt7dx.js +1 -0
  84. package/dist/p-DZWWuJac.js +1 -0
  85. package/dist/p-D_wcwB7E.js +1 -0
  86. package/dist/p-Dehss-X0.js +1 -0
  87. package/dist/{p-Bg3lw2Ae.js → p-DfFqFdmS.js} +1 -1
  88. package/dist/p-KxRqlvSh.js +1 -0
  89. package/dist/p-MgTlrSP_.js +1 -0
  90. package/dist/p-a3JfEYJp.js +1 -0
  91. package/dist/p-h6alWGT8.js +1 -0
  92. package/dist/p-quZYWCxU.js +1 -0
  93. package/dist/p-tyIgTtUC.js +1 -0
  94. package/dist/p-uqSjmNkw.js +1 -0
  95. package/dist/types/components/html/GidsButton/GidsButton.d.ts +1 -1
  96. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  97. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  98. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +9 -0
  99. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +6 -0
  100. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +5 -0
  101. package/dist/types/components/html/GidsEditButton/GidsEditButton.d.ts +7 -0
  102. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +11 -0
  103. package/dist/types/components/html/GidsMenu/GidsMenu.d.ts +6 -0
  104. package/dist/types/components/html/GidsMenuGroup/GidsMenuGroup.d.ts +5 -0
  105. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  106. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +57 -0
  107. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +4 -0
  108. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  109. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  110. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  111. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  112. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  113. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  114. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  115. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  116. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  117. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  118. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  119. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  120. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  121. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  122. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  123. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  124. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  125. package/dist/types/components/webComponents/GidsPopover/GidsPopover.d.ts +24 -0
  126. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  127. package/dist/types/components/webComponents/GidsTooltip/GidsTooltip.d.ts +23 -0
  128. package/dist/types/components.d.ts +1420 -64
  129. package/dist/types/index.d.ts +2 -0
  130. package/dist/types/utils/childrenValidityUtils.d.ts +8 -0
  131. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  132. package/dist-bundled/es/gids-bar-chart.js +6 -0
  133. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  134. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  135. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  136. package/dist-bundled/es/gids-calendar.js +153 -0
  137. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  138. package/dist-bundled/es/gids-chart-legend.js +6 -0
  139. package/dist-bundled/es/gids-chart.js +108 -0
  140. package/dist-bundled/es/gids-chevron-button.js +56 -0
  141. package/dist-bundled/es/gids-dot.js +6 -0
  142. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  143. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  144. package/dist-bundled/es/gids-dropdown.js +6 -0
  145. package/dist-bundled/es/gids-field.js +1 -1
  146. package/dist-bundled/es/gids-icon.js +4 -30
  147. package/dist-bundled/es/gids-input.js +4 -4
  148. package/dist-bundled/es/gids-level-gauge.js +6 -0
  149. package/dist-bundled/es/gids-line-chart.js +6 -0
  150. package/dist-bundled/es/gids-notification.js +1 -1
  151. package/dist-bundled/es/gids-overflow-container.js +9 -9
  152. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  153. package/dist-bundled/es/gids-password-field.js +21 -20
  154. package/dist-bundled/es/gids-pie-chart.js +6 -0
  155. package/dist-bundled/es/gids-popover.js +110 -0
  156. package/dist-bundled/es/gids-progress-circle.js +6 -0
  157. package/dist-bundled/es/gids-scrim.js +7 -7
  158. package/dist-bundled/es/gids-snackbar.js +1 -1
  159. package/dist-bundled/es/gids-text-field.js +14 -13
  160. package/dist-bundled/es/gids-toggle-button.js +8 -8
  161. package/dist-bundled/es/gids-tooltip.js +66 -0
  162. package/dist-bundled/es/index.js +33 -19
  163. package/dist-bundled/es/p-9_mrQ7ac-If6e6cvJ.js +71 -0
  164. package/dist-bundled/es/p-B81J5HCC-Bkt2yXKi.js +47 -0
  165. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +7 -0
  166. package/dist-bundled/es/p-BFHWXEeg-ByjSjz8i.js +133 -0
  167. package/dist-bundled/es/p-B_HaXpJZ-a2SDgQ0E.js +37 -0
  168. package/dist-bundled/es/p-BaO-kEWS-ZITkeP-j.js +241 -0
  169. package/dist-bundled/es/p-BiPAgxAQ-BtMBQpJY.js +31 -0
  170. package/dist-bundled/es/p-Bmb-HiXg-MyHWdhpw.js +80 -0
  171. package/dist-bundled/es/{p-veoOgDXg-DElc87c0.js → p-BnL97lOW-BO0p4EdC.js} +20 -13
  172. package/dist-bundled/es/{p-DjvDBWCb-C9js0PPL.js → p-BvYnawkJ-DohV9UNG.js} +10 -10
  173. package/dist-bundled/es/p-CIP0xyhD-D6y5soLj.js +180 -0
  174. package/dist-bundled/es/p-CJzporPT-I_OdjJsQ.js +92 -0
  175. package/dist-bundled/es/p-CPSHPtGE-C7baJgXR.js +115 -0
  176. package/dist-bundled/es/p-CRngHsR7-DL9wz3Z3.js +25 -0
  177. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +646 -0
  178. package/dist-bundled/es/p-D93TNeOt-Vvshbux8.js +88 -0
  179. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-DKsrt7dx-ImYLc4xz.js} +1 -1
  180. package/dist-bundled/es/p-DZWWuJac-DNQvnHAr.js +15 -0
  181. package/dist-bundled/es/p-D_wcwB7E-d3jYxfod.js +20 -0
  182. package/dist-bundled/es/p-Dehss-X0-Di5vMgvd.js +29 -0
  183. package/dist-bundled/es/{p-Bg3lw2Ae-CkC8nUqv.js → p-DfFqFdmS-DjI2pk-0.js} +6 -6
  184. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +25 -0
  185. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +70 -0
  186. package/dist-bundled/es/p-a3JfEYJp-DyhDK6VZ.js +1128 -0
  187. package/dist-bundled/es/p-h6alWGT8-CSY2g3c8.js +67 -0
  188. package/dist-bundled/es/p-quZYWCxU-CPyWW0nv.js +56 -0
  189. package/dist-bundled/es/p-tyIgTtUC-C8jR4A5G.js +71 -0
  190. package/dist-bundled/es/p-uqSjmNkw-Cz2T86sC.js +55 -0
  191. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  192. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  193. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  194. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  195. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  196. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  197. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  198. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  199. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  200. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  201. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  202. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  203. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  204. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  205. package/dist-bundled/umd/gids-field.umd.js +2 -2
  206. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  207. package/dist-bundled/umd/gids-input.umd.js +2 -2
  208. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  209. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  210. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  211. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  212. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  213. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  214. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  215. package/dist-bundled/umd/gids-popover.umd.js +5 -0
  216. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  217. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  218. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  219. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  220. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  221. package/dist-bundled/umd/gids-tooltip.umd.js +5 -0
  222. package/dist-bundled/umd/index.umd.js +2 -2
  223. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  224. package/package.json +422 -262
  225. package/dist/p-CWdkmFbc.js +0 -1
  226. package/dist/p-DijVkS9b.js +0 -1
  227. package/dist/p-DybsMR13.js +0 -1
  228. package/dist/p-ibikYq-w.js +0 -1
  229. package/dist-bundled/es/p-CWdkmFbc-D89ZE8Mi.js +0 -24
  230. package/dist-bundled/es/p-DijVkS9b-CtFkEtlE.js +0 -35
  231. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -1,635 +0,0 @@
1
- function we(e, t, s) {
2
- const o = typeof HTMLElement < "u" ? HTMLElement.prototype : null;
3
- for (; e && e !== o; ) {
4
- const n = Object.getOwnPropertyDescriptor(e, t);
5
- if (n && (!s || n.get)) return n;
6
- e = Object.getPrototypeOf(e);
7
- }
8
- }
9
- var H, He = (e, t) => {
10
- var s;
11
- Object.entries((s = t.o.t) != null ? s : {}).map((([o, [n]]) => {
12
- if (31 & n || 32 & n) {
13
- const r = e[o], i = we(Object.getPrototypeOf(e), o, !0) || Object.getOwnPropertyDescriptor(e, o);
14
- i && Object.defineProperty(e, o, { get() {
15
- return i.get.call(this);
16
- }, set(c) {
17
- i.set.call(this, c);
18
- }, configurable: !0, enumerable: !0 }), t.l.has(o) ? e[o] = t.l.get(o) : r !== void 0 && (e[o] = r);
19
- }
20
- }));
21
- }, R = (e) => {
22
- if (e.__stencil__getHostRef) return e.__stencil__getHostRef();
23
- }, ae = (e, t) => t in e, P = (e, t) => (0, console.error)(e, t), B = /* @__PURE__ */ new Map(), ce = "http://www.w3.org/1999/xlink", N = typeof window < "u" ? window : {}, tt = N.HTMLElement || class {
24
- }, O = { i: 0, u: "", jmp: (e) => e(), raf: (e) => requestAnimationFrame(e), ael: (e, t, s, o) => e.addEventListener(t, s, o), rel: (e, t, s, o) => e.removeEventListener(t, s, o), ce: (e, t) => new CustomEvent(e, t) }, se = (() => {
25
- try {
26
- return !!N.document.adoptedStyleSheets && (new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function");
27
- } catch {
28
- }
29
- return !1;
30
- })(), G = !!se && !!N.document && Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets, "length").writable, J = !1, ue = [], Oe = [], Me = (e, t) => (s) => {
31
- e.push(s), J || (J = !0, 4 & O.i ? ne(K) : O.raf(K));
32
- }, de = (e) => {
33
- for (let t = 0; t < e.length; t++) try {
34
- e[t](performance.now());
35
- } catch (s) {
36
- P(s);
37
- }
38
- e.length = 0;
39
- }, K = () => {
40
- de(ue), de(Oe), (J = ue.length > 0) && O.raf(K);
41
- }, ne = (e) => Promise.resolve(void 0).then(e), De = Me(Oe), ot = (e) => {
42
- const t = new URL(e, O.u);
43
- return t.origin !== N.location.origin ? t.href : t.pathname;
44
- }, st = (e) => O.u = e;
45
- function Fe() {
46
- const e = this.attachShadow({ mode: "open" });
47
- H === void 0 && (H = null), H && (G ? e.adoptedStyleSheets.push(H) : e.adoptedStyleSheets = [...e.adoptedStyleSheets, H]);
48
- }
49
- var _e = (e) => {
50
- const t = Q(e, "childNodes");
51
- e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && le(t, e.tagName).forEach(((o) => {
52
- o.nodeType === 1 && o.tagName === "SLOT-FB" && (o.hidden = !!We(o, W(o), !1).length);
53
- }));
54
- let s = 0;
55
- for (s = 0; s < t.length; s++) {
56
- const o = t[s];
57
- o.nodeType === 1 && Q(o, "childNodes").length && _e(o);
58
- }
59
- };
60
- function le(e, t, s) {
61
- let o, n = 0, r = [];
62
- for (; n < e.length; n++) {
63
- if (o = e[n], o["s-sr"] && (!t || o["s-hn"] === t) && (s === void 0 || W(o) === s) && (r.push(o), s !== void 0)) return r;
64
- r = [...r, ...le(o.childNodes, t, s)];
65
- }
66
- return r;
67
- }
68
- var We = (e, t, s = !0) => {
69
- const o = [];
70
- (s && e["s-sr"] || !e["s-sr"]) && o.push(e);
71
- let n = e;
72
- for (; n = n.nextSibling; ) W(n) !== t || !s && n["s-sr"] || o.push(n);
73
- return o;
74
- }, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t || t === "", W = (e) => typeof e["s-sn"] == "string" ? e["s-sn"] : e.nodeType === 1 && e.getAttribute("slot") || void 0;
75
- function Q(e, t) {
76
- if ("__" + t in e) {
77
- const s = e["__" + t];
78
- return typeof s != "function" ? s : s.bind(e);
79
- }
80
- return typeof e[t] != "function" ? e[t] : e[t].bind(e);
81
- }
82
- var X, T, x = /* @__PURE__ */ new WeakMap(), je = (e) => "sc-" + e.p, re = (e) => (e = typeof e) == "object" || e === "function", ke = (e, t, ...s) => {
83
- let o = null, n = null, r = null, i = !1, c = !1;
84
- const l = [], u = (a) => {
85
- for (let h = 0; h < a.length; h++) o = a[h], Array.isArray(o) ? u(o) : o != null && typeof o != "boolean" && ((i = typeof e != "function" && !re(o)) && (o = String(o)), i && c ? l[l.length - 1].h += o : l.push(i ? U(null, o) : o), c = i);
86
- };
87
- if (u(s), t) {
88
- t.key && (n = t.key), t.name && (r = t.name);
89
- {
90
- const a = t.className || t.class;
91
- a && (t.class = typeof a != "object" ? a : Object.keys(a).filter(((h) => a[h])).join(" "));
92
- }
93
- }
94
- if (typeof e == "function") return e(t === null ? {} : t, l, Be);
95
- const f = U(e, null);
96
- return f.v = t, l.length > 0 && (f.m = l), f.$ = n, f.j = r, f;
97
- }, U = (e, t) => ({ i: 0, O: e, h: t ?? null, S: null, m: null, v: null, $: null, j: null }), Ve = {}, Be = { forEach: (e, t) => e.map(he).forEach(t), map: (e, t) => e.map(he).map(t).map(Ue) }, he = (e) => ({ vattrs: e.v, vchildren: e.m, vkey: e.$, vname: e.j, vtag: e.O, vtext: e.h }), Ue = (e) => {
98
- if (typeof e.vtag == "function") {
99
- const s = { ...e.vattrs };
100
- return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ke(e.vtag, s, ...e.vchildren || []);
101
- }
102
- const t = U(e.vtag, e.vtext);
103
- return t.v = e.vattrs, t.m = e.vchildren, t.$ = e.vkey, t.j = e.vname, t;
104
- }, Ee = (e) => {
105
- if (!e) return;
106
- const t = Object.keys(e);
107
- if (t.length === 0) return;
108
- let s = !1;
109
- for (const n of t) {
110
- if (s) break;
111
- for (const r of e[n]) if (typeof r == "string") {
112
- s = !0;
113
- break;
114
- }
115
- }
116
- if (!s) return e;
117
- const o = {};
118
- for (const n of t) o[n] = e[n].map(((r) => typeof r == "string" ? { [r]: 0 } : r));
119
- return o;
120
- }, $e = (e, t) => e == null || re(e) ? e : 4 & t ? e !== "false" && (e === "" || !!e) : 2 & t ? typeof e == "string" ? parseFloat(e) : typeof e == "number" ? e : NaN : 1 & t ? String(e) : e, nt = (e, t) => {
121
- const s = e;
122
- return { emit: (o) => Ce(s, t, { bubbles: !0, composed: !0, cancelable: !0, detail: o }) };
123
- }, Ce = (e, t, s) => {
124
- const o = O.ce(t, s);
125
- return e.dispatchEvent(o), o;
126
- }, pe = (e, t, s, o, n, r) => {
127
- if (s === o) return;
128
- let i = ae(e, t), c = t.toLowerCase();
129
- if (t === "class") {
130
- const l = e.classList, u = me(s);
131
- let f = me(o);
132
- l.remove(...u.filter(((a) => a && !f.includes(a)))), l.add(...f.filter(((a) => a && !u.includes(a))));
133
- } else if (t === "style") {
134
- for (const l in s) o && o[l] != null || (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
135
- for (const l in o) s && o[l] === s[l] || (l.includes("-") ? e.style.setProperty(l, o[l]) : e.style[l] = o[l]);
136
- } else if (t !== "key") {
137
- if (t === "ref") o && Ye(o, e);
138
- else if (e.__lookupSetter__(t) || t[0] !== "o" || t[1] !== "n") {
139
- if (t[0] === "a" && t.startsWith("attr:")) {
140
- const l = t.slice(5);
141
- let u;
142
- {
143
- const f = R(e);
144
- if (f && f.o && f.o.t) {
145
- const a = f.o.t[l];
146
- a && a[1] && (u = a[1]);
147
- }
148
- }
149
- return u || (u = l.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()), void (o == null || o === !1 ? o === !1 && e.getAttribute(u) !== "" || e.removeAttribute(u) : e.setAttribute(u, o === !0 ? "" : o));
150
- }
151
- if (t[0] === "p" && t.startsWith("prop:")) {
152
- const l = t.slice(5);
153
- try {
154
- e[l] = o;
155
- } catch {
156
- }
157
- return;
158
- }
159
- {
160
- const l = re(o);
161
- if ((i || l && o !== null) && !n) try {
162
- if (e.tagName.includes("-")) e[t] !== o && (e[t] = o);
163
- else {
164
- const f = o ?? "";
165
- t === "list" ? i = !1 : s != null && e[t] === f || (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
166
- }
167
- } catch {
168
- }
169
- let u = !1;
170
- c !== (c = c.replace(/^xlink\:?/, "")) && (t = c, u = !0), o == null || o === !1 ? o === !1 && e.getAttribute(t) !== "" || (u ? e.removeAttributeNS(ce, t) : e.removeAttribute(t)) : (!i || 4 & r || n) && !l && e.nodeType === 1 && (o = o === !0 ? "" : o, u ? e.setAttributeNS(ce, t, o) : e.setAttribute(t, o));
171
- }
172
- } else if (t = t[2] === "-" ? t.slice(3) : ae(N, c) ? c.slice(2) : c[2] + t.slice(3), s || o) {
173
- const l = t.endsWith(Ae);
174
- t = t.replace(ze, ""), s && O.rel(e, t, s, l), o && O.ael(e, t, o, l);
175
- }
176
- }
177
- }, qe = /\s/, me = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), e && typeof e == "string" ? e.split(qe) : []), Ae = "Capture", ze = new RegExp(Ae + "$"), ee = (e, t, s) => {
178
- const o = t.S.nodeType === 11 && t.S.host ? t.S.host : t.S, n = e && e.v || {}, r = t.v || {};
179
- for (const i of ye(Object.keys(n))) i in r || pe(o, i, n[i], void 0, s, t.i);
180
- for (const i of ye(Object.keys(r))) pe(o, i, n[i], r[i], s, t.i);
181
- };
182
- function ye(e) {
183
- return e.includes("ref") ? [...e.filter(((t) => t !== "ref")), "ref"] : e;
184
- }
185
- var D = !1, q = !1, I = !1, j = !1, te = [], oe = [], z = (e, t, s) => {
186
- var o;
187
- const n = t.m[s];
188
- let r, i, c, l = 0;
189
- if (D || (I = !0, n.O === "slot" && (n.i |= n.m ? 2 : 1)), n.h != null) r = n.S = N.document.createTextNode(n.h);
190
- else if (1 & n.i) r = n.S = N.document.createTextNode(""), ee(null, n, j);
191
- else {
192
- if (j || (j = n.O === "svg"), !N.document) throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
193
- if (r = n.S = N.document.createElementNS(j ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", !D && 2 & n.i ? "slot-fb" : n.O), j && n.O === "foreignObject" && (j = !1), ee(null, n, j), n.m) {
194
- const u = n.O === "template" ? r.content : r;
195
- for (l = 0; l < n.m.length; ++l) i = z(e, n, l), i && u.appendChild(i);
196
- }
197
- n.O === "svg" ? j = !1 : r.tagName === "foreignObject" && (j = !0);
198
- }
199
- return r["s-hn"] = T, 3 & n.i && (r["s-sr"] = !0, r["s-cr"] = X, r["s-sn"] = n.j || "", r["s-rf"] = (o = n.v) == null ? void 0 : o.ref, (function(u) {
200
- if (u.assignedElements || u.assignedNodes || !u["s-sr"]) return;
201
- const f = (a) => (function(h) {
202
- const y = [], d = this["s-sn"];
203
- h?.flatten && console.error(`
204
- Flattening is not supported for Stencil non-shadow slots.
205
- You can use \`.childNodes\` to nested slot fallback content.
206
- If you have a particular use case, please open an issue on the Stencil repo.
207
- `);
208
- const b = this["s-cr"].parentElement;
209
- return (b.__childNodes ? b.childNodes : ((S) => {
210
- const g = [];
211
- for (let m = 0; m < S.length; m++) {
212
- const p = S[m]["s-nr"] || void 0;
213
- p && p.isConnected && g.push(p);
214
- }
215
- return g;
216
- })(b.childNodes)).forEach(((S) => {
217
- d === W(S) && y.push(S);
218
- })), a ? y.filter(((S) => S.nodeType === 1)) : y;
219
- }).bind(u);
220
- u.assignedElements = f(!0), u.assignedNodes = f(!1);
221
- })(r), c = e && e.m && e.m[s], c && c.O === n.O && e.S && Re(e.S)), r;
222
- }, Re = (e) => {
223
- O.i |= 1;
224
- const t = e.closest(T.toLowerCase());
225
- if (t != null) {
226
- const s = Array.from(t.__childNodes || t.childNodes).find(((n) => n["s-cr"])), o = Array.from(e.__childNodes || e.childNodes);
227
- for (const n of s ? o.reverse() : o) n["s-sh"] != null && ($(t, n, s ?? null), n["s-sh"] = void 0, I = !0);
228
- }
229
- O.i &= -2;
230
- }, Y = (e, t) => {
231
- O.i |= 1;
232
- const s = Array.from(e.__childNodes || e.childNodes);
233
- if (e["s-sr"]) {
234
- let o = e;
235
- for (; o = o.nextSibling; ) o && o["s-sn"] === e["s-sn"] && o["s-sh"] === T && s.push(o);
236
- }
237
- for (let o = s.length - 1; o >= 0; o--) {
238
- const n = s[o];
239
- n["s-hn"] !== T && n["s-ol"] && ($(F(n).parentNode, n, F(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, I = !0), t && Y(n, t);
240
- }
241
- O.i &= -2;
242
- }, ge = (e, t, s, o, n, r) => {
243
- let i, c = e["s-cr"] && e["s-cr"].parentNode || e;
244
- for (c.shadowRoot && c.tagName === T && (c = c.shadowRoot), s.O === "template" && (c = c.content); n <= r; ++n) o[n] && (i = z(null, s, n), i && (o[n].S = i, $(c, i, F(t))));
245
- }, ve = (e, t, s) => {
246
- for (let o = t; o <= s; ++o) {
247
- const n = e[o];
248
- if (n) {
249
- const r = n.S;
250
- Te(n), r && (q = !0, r["s-ol"] ? r["s-ol"].remove() : Y(r, !0), r.remove());
251
- }
252
- }
253
- }, V = (e, t, s = !1) => e.O === t.O && (e.O === "slot" ? e.j === t.j : s ? (s && !e.$ && t.$ && (e.$ = t.$), !0) : e.$ === t.$), F = (e) => e && e["s-ol"] || e, L = (e, t, s = !1) => {
254
- const o = t.S = e.S, n = e.m, r = t.m, i = t.O, c = t.h;
255
- let l;
256
- c == null ? (j = i === "svg" || i !== "foreignObject" && j, i !== "slot" || D || e.j !== t.j && (t.S["s-sn"] = t.j || "", Re(t.S.parentElement)), ee(e, t, j), n !== null && r !== null ? ((u, f, a, h, y = !1) => {
257
- let d, b, S = 0, g = 0, m = 0, p = 0, _ = f.length - 1, v = f[0], w = f[_], E = h.length - 1, k = h[0], C = h[E];
258
- const ie = a.O === "template" ? u.content : u;
259
- for (; S <= _ && g <= E; ) if (v == null) v = f[++S];
260
- else if (w == null) w = f[--_];
261
- else if (k == null) k = h[++g];
262
- else if (C == null) C = h[--E];
263
- else if (V(v, k, y)) L(v, k, y), v = f[++S], k = h[++g];
264
- else if (V(w, C, y)) L(w, C, y), w = f[--_], C = h[--E];
265
- else if (V(v, C, y)) v.O !== "slot" && C.O !== "slot" || Y(v.S.parentNode, !1), L(v, C, y), $(ie, v.S, w.S.nextSibling), v = f[++S], C = h[--E];
266
- else if (V(w, k, y)) v.O !== "slot" && C.O !== "slot" || Y(w.S.parentNode, !1), L(w, k, y), $(ie, w.S, v.S), w = f[--_], k = h[++g];
267
- else {
268
- for (m = -1, p = S; p <= _; ++p) if (f[p] && f[p].$ !== null && f[p].$ === k.$) {
269
- m = p;
270
- break;
271
- }
272
- m >= 0 ? (b = f[m], b.O !== k.O ? d = z(f && f[g], a, m) : (L(b, k, y), f[m] = void 0, d = b.S), k = h[++g]) : (d = z(f && f[g], a, g), k = h[++g]), d && $(F(v.S).parentNode, d, F(v.S));
273
- }
274
- S > _ ? ge(u, h[E + 1] == null ? null : h[E + 1].S, a, h, g, E) : g > E && ve(f, S, _);
275
- })(o, n, t, r, s) : r !== null ? (e.h !== null && (o.textContent = ""), ge(o, null, t, r, 0, r.length - 1)) : !s && n !== null && ve(n, 0, n.length - 1), j && i === "svg" && (j = !1)) : (l = o["s-cr"]) ? l.parentNode.textContent = c : e.h !== c && (o.data = c);
276
- }, A = [], xe = (e) => {
277
- let t, s, o;
278
- const n = e.__childNodes || e.childNodes;
279
- for (const r of n) {
280
- if (r["s-sr"] && (t = r["s-cr"]) && t.parentNode) {
281
- s = t.parentNode.__childNodes || t.parentNode.childNodes;
282
- const i = r["s-sn"];
283
- for (o = s.length - 1; o >= 0; o--) if (t = s[o], !(t["s-cn"] || t["s-nr"] || t["s-hn"] === r["s-hn"] || t["s-sh"] && t["s-sh"] === r["s-hn"])) if (fe(t, i)) {
284
- let c = A.find(((l) => l.k === t));
285
- q = !0, t["s-sn"] = t["s-sn"] || i, c ? (c.k["s-sh"] = r["s-hn"], c.N = r) : (t["s-sh"] = r["s-hn"], A.push({ N: r, k: t })), t["s-sr"] && A.map(((l) => {
286
- fe(l.k, t["s-sn"]) && (c = A.find(((u) => u.k === t)), c && !l.N && (l.N = c.N));
287
- }));
288
- } else A.some(((c) => c.k === t)) || A.push({ k: t });
289
- }
290
- r.nodeType === 1 && xe(r);
291
- }
292
- }, Te = (e) => {
293
- e.v && e.v.ref && te.push((() => e.v.ref(null))), e.m && e.m.map(Te);
294
- }, Ye = (e, t) => {
295
- oe.push((() => e(t)));
296
- }, $ = (e, t, s, o) => {
297
- if (typeof t["s-sn"] == "string") {
298
- e.insertBefore(t, s);
299
- const { slotNode: n } = (function(r, i) {
300
- var c;
301
- if (!(i = i || ((c = r["s-ol"]) == null ? void 0 : c.parentElement))) return { slotNode: null, slotName: "" };
302
- const l = r["s-sn"] = W(r) || "";
303
- return { slotNode: le(Q(i, "childNodes"), i.tagName, l)[0], slotName: l };
304
- })(t);
305
- return n && !o && n.dispatchEvent(new CustomEvent("slotchange", { bubbles: !1, cancelable: !1, composed: !1 })), t;
306
- }
307
- return e.__insertBefore ? e.__insertBefore(t, s) : e?.insertBefore(t, s);
308
- }, Le = (e, t, s = !1) => {
309
- var o, n, r, i, c;
310
- const l = e.$hostElement$, u = e.o, f = e.M || U(null, null);
311
- var a;
312
- const h = (a = t) && a.O === Ve ? t : ke(null, null, t);
313
- if (T = l.tagName, u._ && (h.v = h.v || {}, u._.forEach((([y, d]) => {
314
- h.v[d] = l[y];
315
- }))), s && h.v) for (const y of Object.keys(h.v)) l.hasAttribute(y) && !["key", "ref", "style", "class"].includes(y) && (h.v[y] = l[y]);
316
- if (h.O = null, h.i |= 4, e.M = h, h.S = f.S = l.shadowRoot || l, D = !(!(1 & u.i) || 128 & u.i), X = l["s-cr"], q = !1, L(f, h, s), O.i |= 1, I) {
317
- xe(h.S);
318
- for (const y of A) {
319
- const d = y.k;
320
- if (!d["s-ol"] && N.document) {
321
- const b = N.document.createTextNode("");
322
- b["s-nr"] = d, $(d.parentNode, d["s-ol"] = b, d, s);
323
- }
324
- }
325
- for (const y of A) {
326
- const d = y.k, b = y.N;
327
- if (d.nodeType === 1 && s && (d["s-ih"] = (o = d.hidden) != null && o), b) {
328
- const S = b.parentNode;
329
- let g = b.nextSibling;
330
- if (g && g.nodeType === 1) {
331
- let m = (n = d["s-ol"]) == null ? void 0 : n.previousSibling;
332
- for (; m; ) {
333
- let p = (r = m["s-nr"]) != null ? r : null;
334
- if (p && p["s-sn"] === d["s-sn"] && S === (p.__parentNode || p.parentNode)) {
335
- for (p = p.nextSibling; p === d || p?.["s-sr"]; ) p = p?.nextSibling;
336
- if (!p || !p["s-nr"]) {
337
- g = p;
338
- break;
339
- }
340
- }
341
- m = m.previousSibling;
342
- }
343
- }
344
- if ((!g && S !== (d.__parentNode || d.parentNode) || (d.__nextSibling || d.nextSibling) !== g) && d !== g) {
345
- if ($(S, d, g, s), d.nodeType === 8 && d.nodeValue.startsWith("s-nt-")) {
346
- const m = N.document.createTextNode(d.nodeValue.replace(/^s-nt-/, ""));
347
- m["s-hn"] = d["s-hn"], m["s-sn"] = d["s-sn"], m["s-sh"] = d["s-sh"], m["s-sr"] = d["s-sr"], m["s-ol"] = d["s-ol"], m["s-ol"]["s-nr"] = m, $(d.parentNode, m, d, s), d.parentNode.removeChild(d);
348
- }
349
- d.nodeType === 1 && d.tagName !== "SLOT-FB" && (d.hidden = (i = d["s-ih"]) != null && i);
350
- }
351
- d && typeof b["s-rf"] == "function" && b["s-rf"](b);
352
- } else d.nodeType === 1 && (d.hidden = !0);
353
- }
354
- }
355
- if (q && _e(h.S), O.i &= -2, A.length = 0, !D && !(1 & u.i) && l["s-cr"]) {
356
- const y = h.S.__childNodes || h.S.childNodes;
357
- for (const d of y) if (d["s-hn"] !== T && !d["s-sh"]) {
358
- if (s && d["s-ih"] == null && (d["s-ih"] = (c = d.hidden) != null && c), d.nodeType === 1) d.hidden = !0;
359
- else if (d.nodeType === 3 && d.nodeValue.trim()) {
360
- const b = N.document.createComment("s-nt-" + d.nodeValue);
361
- b["s-sn"] = d["s-sn"], $(d.parentNode, b, d, s), d.parentNode.removeChild(d);
362
- }
363
- }
364
- }
365
- X = void 0, te.forEach(((y) => y())), te.length = 0, oe.forEach(((y) => y())), oe.length = 0;
366
- }, Pe = (e, t) => {
367
- if (t && !e.A && t["s-p"]) {
368
- const s = t["s-p"].push(new Promise(((o) => e.A = () => {
369
- t["s-p"].splice(s - 1, 1), o();
370
- })));
371
- }
372
- }, Z = (e, t) => {
373
- if (e.i |= 16, 4 & e.i) return void (e.i |= 512);
374
- Pe(e, e.C);
375
- const s = () => Ie(e, t);
376
- if (!t) return De(s);
377
- queueMicrotask((() => {
378
- s();
379
- }));
380
- }, Ie = (e, t) => {
381
- const s = e.$hostElement$, o = s;
382
- if (!o) throw new Error(`Can't render component <${s.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`);
383
- let n;
384
- return n = M(o, t ? "componentWillLoad" : "componentWillUpdate", void 0, s), n = Se(n, (() => M(o, "componentWillRender", void 0, s))), Se(n, (() => Ge(e, o, t)));
385
- }, Se = (e, t) => Ze(e) ? e.then(t).catch(((s) => {
386
- console.error(s), t();
387
- })) : t(), Ze = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ge = async (e, t, s) => {
388
- var o;
389
- const n = e.$hostElement$, r = n["s-rc"];
390
- s && ((i) => {
391
- const c = i.o, l = i.$hostElement$, u = c.i, f = ((a, h) => {
392
- var y, d, b;
393
- const S = je(h), g = B.get(S);
394
- if (!N.document) return S;
395
- if (a = a.nodeType === 11 ? a : N.document, g) if (typeof g == "string") {
396
- let m, p = x.get(a = a.head || a);
397
- if (p || x.set(a, p = /* @__PURE__ */ new Set()), !p.has(S)) {
398
- m = N.document.createElement("style"), m.textContent = g;
399
- const _ = (y = O.L) != null ? y : (function() {
400
- var v, w, E;
401
- return (E = (w = (v = N.document.head) == null ? void 0 : v.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : w.getAttribute("content")) != null ? E : void 0;
402
- })();
403
- if (_ != null && m.setAttribute("nonce", _), !(1 & h.i)) if (a.nodeName === "HEAD") {
404
- const v = a.querySelectorAll("link[rel=preconnect]"), w = v.length > 0 ? v[v.length - 1].nextSibling : a.querySelector("style");
405
- a.insertBefore(m, w?.parentNode === a ? w : null);
406
- } else if ("host" in a) if (se) {
407
- const v = new ((d = a.defaultView) != null ? d : a.ownerDocument.defaultView).CSSStyleSheet();
408
- v.replaceSync(g), G ? a.adoptedStyleSheets.unshift(v) : a.adoptedStyleSheets = [v, ...a.adoptedStyleSheets];
409
- } else {
410
- const v = a.querySelector("style");
411
- v ? v.textContent = g + v.textContent : a.prepend(m);
412
- }
413
- else a.append(m);
414
- 1 & h.i && a.insertBefore(m, null), 4 & h.i && (m.textContent += "slot-fb{display:contents}slot-fb[hidden]{display:none}"), p && p.add(S);
415
- }
416
- } else {
417
- let m = x.get(a);
418
- if (m || x.set(a, m = /* @__PURE__ */ new Set()), !m.has(S)) {
419
- const p = (b = a.defaultView) != null ? b : a.ownerDocument.defaultView;
420
- let _;
421
- if (g.constructor === p.CSSStyleSheet) _ = g;
422
- else {
423
- _ = new p.CSSStyleSheet();
424
- for (let v = 0; v < g.cssRules.length; v++) _.insertRule(g.cssRules[v].cssText, v);
425
- }
426
- G ? a.adoptedStyleSheets.push(_) : a.adoptedStyleSheets = [...a.adoptedStyleSheets, _], m.add(S);
427
- }
428
- }
429
- return S;
430
- })(l.shadowRoot ? l.shadowRoot : l.getRootNode(), c);
431
- 10 & u && (l["s-sc"] = f, l.classList.add(f + "-h"));
432
- })(e), Je(e, t, n, s), r && (r.map(((i) => i())), n["s-rc"] = void 0);
433
- {
434
- const i = (o = n["s-p"]) != null ? o : [], c = () => Ke(e);
435
- i.length === 0 ? c() : (Promise.all(i).then(c).catch(c), e.i |= 4, i.length = 0);
436
- }
437
- }, Je = (e, t, s, o) => {
438
- try {
439
- t = t.render(), e.i &= -17, e.i |= 2, Le(e, t, o);
440
- } catch (n) {
441
- P(n, e.$hostElement$);
442
- }
443
- return null;
444
- }, Ke = (e) => {
445
- const t = e.$hostElement$, s = t, o = e.C;
446
- M(s, "componentDidRender", void 0, t), 64 & e.i ? M(s, "componentDidUpdate", void 0, t) : (e.i |= 64, Xe(t), M(s, "componentDidLoad", void 0, t), e.F(t), o || Qe()), e.A && (e.A(), e.A = void 0), 512 & e.i && ne((() => Z(e, !1))), e.i &= -517;
447
- }, lt = (e) => {
448
- var t;
449
- {
450
- const s = R(e), o = (t = s?.$hostElement$) == null ? void 0 : t.isConnected;
451
- return o && (18 & s.i) == 2 && Z(s, !1), o;
452
- }
453
- }, Qe = () => {
454
- ne((() => Ce(N, "appload", { detail: { namespace: "gids-core-web" } })));
455
- }, M = (e, t, s, o) => {
456
- if (e && e[t]) try {
457
- return e[t](s);
458
- } catch (n) {
459
- P(n, o);
460
- }
461
- }, Xe = (e) => e.classList.add("hydrated"), be = (e, t, s, o) => {
462
- const n = R(e);
463
- if (!n) return;
464
- const r = e, i = n.l.get(t), c = n.i, l = r;
465
- s = $e(s, o.t[t][0]);
466
- const u = Number.isNaN(i) && Number.isNaN(s);
467
- if (s !== i && !u) {
468
- if (n.l.set(t, s), o.R) {
469
- const f = o.R[t];
470
- f && f.map(((a) => {
471
- try {
472
- const [[h, y]] = Object.entries(a);
473
- (128 & c || 1 & y) && (l ? l[h](s, i, t) : n.T.push((() => {
474
- n.D[h](s, i, t);
475
- })));
476
- } catch (h) {
477
- P(h, r);
478
- }
479
- }));
480
- }
481
- if (2 & c) {
482
- if (l.componentShouldUpdate && l.componentShouldUpdate(s, i, t) === !1 && !(16 & c)) return;
483
- 16 & c || Z(n, !1);
484
- }
485
- }
486
- }, et = (e, t) => {
487
- var s, o;
488
- const n = e.prototype;
489
- {
490
- e.watchers && !t.R && (t.R = Ee(e.watchers)), e.deserializers && !t.H && (t.H = e.deserializers), e.serializers && !t.P && (t.P = e.serializers);
491
- const r = Object.entries((s = t.t) != null ? s : {});
492
- r.map((([i, [c]]) => {
493
- if (31 & c || 32 & c) {
494
- const { get: l, set: u } = we(n, i) || {};
495
- l && (t.t[i][0] |= 2048), u && (t.t[i][0] |= 4096), Object.defineProperty(n, i, { get() {
496
- return l ? l.apply(this) : (f = i, R(this).l.get(f));
497
- var f;
498
- }, configurable: !0, enumerable: !0 }), Object.defineProperty(n, i, { set(f) {
499
- const a = R(this);
500
- if (a) {
501
- if (u) return (32 & c ? this[i] : a.$hostElement$[i]) === void 0 && a.l.get(i) && (f = a.l.get(i)), u.apply(this, [$e(f, c)]), void be(this, i, f = 32 & c ? this[i] : a.$hostElement$[i], t);
502
- be(this, i, f, t);
503
- }
504
- } });
505
- }
506
- }));
507
- {
508
- const i = /* @__PURE__ */ new Map();
509
- n.attributeChangedCallback = function(c, l, u) {
510
- O.jmp((() => {
511
- var f;
512
- const a = i.get(c), h = R(this);
513
- if (this.hasOwnProperty(a), n.hasOwnProperty(a) && typeof this[a] == "number" && this[a] == u) return;
514
- if (a == null) {
515
- const g = h?.i;
516
- if (h && g && !(8 & g) && u !== l) {
517
- const m = this, p = (f = t.R) == null ? void 0 : f[c];
518
- p?.forEach(((_) => {
519
- const [[v, w]] = Object.entries(_);
520
- m[v] != null && (128 & g || 1 & w) && m[v].call(m, u, l, c);
521
- }));
522
- }
523
- return;
524
- }
525
- const y = r.find((([g]) => g === a)), d = y && 4 & y[1][0], b = d && u === null && this[a] === void 0;
526
- d && (u = u !== null && u !== "false");
527
- const S = Object.getOwnPropertyDescriptor(n, a);
528
- b || u == this[a] || S.get && !S.set || (this[a] = u);
529
- }));
530
- }, e.observedAttributes = Array.from(/* @__PURE__ */ new Set([...Object.keys((o = t.R) != null ? o : {}), ...r.filter((([c, l]) => 31 & l[0])).map((([c, l]) => {
531
- var u;
532
- const f = l[1] || c;
533
- return i.set(f, c), 512 & l[0] && ((u = t._) == null || u.push([c, f])), f;
534
- }))]));
535
- }
536
- }
537
- return e;
538
- }, rt = (e, t) => {
539
- const s = { i: t[0], p: t[1] };
540
- try {
541
- s.t = t[2], s.R = Ee(e.R), s.H = e.H, s.P = e.P, s._ = [];
542
- const o = e.prototype.connectedCallback, n = e.prototype.disconnectedCallback;
543
- return Object.assign(e.prototype, { __hasHostListenerAttached: !1, __registerHost() {
544
- ((r, i) => {
545
- const c = { i: 0, $hostElement$: r, o: i, l: /* @__PURE__ */ new Map(), U: /* @__PURE__ */ new Map() };
546
- c.W = new Promise(((u) => c.F = u)), r["s-p"] = [], r["s-rc"] = [];
547
- const l = c;
548
- r.__stencil__getHostRef = () => l, 512 & i.i && He(r, c);
549
- })(this, s);
550
- }, connectedCallback() {
551
- if (!this.__hasHostListenerAttached) {
552
- if (!R(this)) return;
553
- this.__hasHostListenerAttached = !0;
554
- }
555
- ((r) => {
556
- if (!(1 & O.i)) {
557
- const i = R(r);
558
- if (!i) return;
559
- const c = i.o;
560
- if (1 & i.i) i?.D || i?.W && i.W.then((() => {
561
- }));
562
- else {
563
- i.i |= 1, 12 & c.i && ((l) => {
564
- if (!N.document) return;
565
- const u = l["s-cr"] = N.document.createComment("");
566
- u["s-cn"] = !0, $(l, u, l.firstChild);
567
- })(r);
568
- {
569
- let l = r;
570
- for (; l = l.parentNode || l.host; ) if (l["s-p"]) {
571
- Pe(i, i.C = l);
572
- break;
573
- }
574
- }
575
- c.t && Object.entries(c.t).map((([l, [u]]) => {
576
- if (31 & u && Object.prototype.hasOwnProperty.call(r, l)) {
577
- const f = r[l];
578
- delete r[l], r[l] = f;
579
- }
580
- })), (async (l, u, f) => {
581
- let a;
582
- try {
583
- if (!(32 & u.i) && (u.i |= 32, a = l.constructor, customElements.whenDefined(l.localName).then((() => u.i |= 128)), a && a.style)) {
584
- let d;
585
- typeof a.style == "string" && (d = a.style);
586
- const b = je(f);
587
- B.has(b) || ((S, g, m) => {
588
- let p = B.get(S);
589
- se && m ? (p = p || new CSSStyleSheet(), typeof p == "string" ? p = g : p.replaceSync(g)) : p = g, B.set(S, p);
590
- })(b, d, !!(1 & f.i));
591
- }
592
- const h = u.C, y = () => Z(u, !0);
593
- h && h["s-rc"] ? h["s-rc"].push(y) : y();
594
- } catch (h) {
595
- P(h, l), u.A && (u.A(), u.A = void 0), u.F && u.F(l);
596
- }
597
- })(r, i, c);
598
- }
599
- }
600
- })(this), o && o.call(this);
601
- }, disconnectedCallback() {
602
- (async (r) => {
603
- 1 & O.i || R(r), x.has(r) && x.delete(r), r.shadowRoot && x.has(r.shadowRoot) && x.delete(r.shadowRoot);
604
- })(this), n && n.call(this);
605
- }, __attachShadow() {
606
- if (this.shadowRoot) {
607
- if (this.shadowRoot.mode !== "open") throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
608
- } else Fe.call(this, s);
609
- } }), Object.defineProperty(e, "is", { value: s.p, configurable: !0 }), et(e, s);
610
- } catch (o) {
611
- return P(o), e;
612
- }
613
- }, it = (e, t) => t, at = (e) => O.L = e, ct = (e) => Object.assign(O, e), Ne = /* @__PURE__ */ new WeakMap();
614
- function ut(e, t) {
615
- let s = Ne.get(t);
616
- s || (s = { i: 0, o: { i: 0, p: t.tagName }, $hostElement$: t }, Ne.set(t, s)), Le(s, e);
617
- }
618
- function dt(e) {
619
- return e;
620
- }
621
- export {
622
- rt as C,
623
- Ve as D,
624
- at as F,
625
- dt as H,
626
- it as L,
627
- lt as N,
628
- ke as R,
629
- nt as V,
630
- ut as a,
631
- ct as b,
632
- tt as f,
633
- st as j,
634
- ot as w
635
- };