@ganpatiinfo/gids-core-web 21.0.0 → 23.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 (274) hide show
  1. package/dist/css/index.css +83 -34
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.js +1 -1
  4. package/dist/gids-activity-gauge.js +1 -1
  5. package/dist/gids-advanced-tooltip.js +1 -1
  6. package/dist/gids-bar-chart.js +1 -1
  7. package/dist/gids-bento-card.js +1 -1
  8. package/dist/gids-calendar-header-panel.js +1 -1
  9. package/dist/gids-calendar-month-list.js +1 -1
  10. package/dist/gids-calendar-picker.d.ts +11 -0
  11. package/dist/gids-calendar-picker.js +1 -0
  12. package/dist/gids-calendar-year-list.js +1 -1
  13. package/dist/gids-calendar.js +1 -1
  14. package/dist/gids-chart-legend-item.js +1 -1
  15. package/dist/gids-chart-legend.js +1 -1
  16. package/dist/gids-chart.js +1 -1
  17. package/dist/gids-chevron-button.js +1 -1
  18. package/dist/gids-date-picker-field.d.ts +11 -0
  19. package/dist/gids-date-picker-field.js +1 -0
  20. package/dist/gids-date-picker.d.ts +11 -0
  21. package/dist/gids-date-picker.js +1 -0
  22. package/dist/gids-day-dropdown-picker.d.ts +11 -0
  23. package/dist/gids-day-dropdown-picker.js +1 -0
  24. package/dist/gids-dot.js +1 -1
  25. package/dist/gids-dropdown-field.js +1 -1
  26. package/dist/gids-dropdown-picker.js +1 -1
  27. package/dist/gids-dropdown.js +1 -1
  28. package/dist/gids-expansion-body-list-item.js +1 -1
  29. package/dist/gids-expansion-body-list.js +1 -1
  30. package/dist/gids-expansion-group.js +1 -1
  31. package/dist/gids-expansion.js +1 -1
  32. package/dist/gids-field.js +1 -1
  33. package/dist/gids-filter.js +1 -1
  34. package/dist/gids-flyout-panel.js +1 -1
  35. package/dist/gids-form.js +1 -1
  36. package/dist/gids-header-navigation-item.js +1 -1
  37. package/dist/gids-header-navigation.js +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.js +1 -1
  40. package/dist/gids-line-chart.js +1 -1
  41. package/dist/gids-md-table.js +1 -1
  42. package/dist/gids-month-dropdown-picker.d.ts +11 -0
  43. package/dist/gids-month-dropdown-picker.js +1 -0
  44. package/dist/gids-overflow-container.js +1 -1
  45. package/dist/gids-overlay-provider.js +1 -1
  46. package/dist/gids-password-field.js +1 -1
  47. package/dist/gids-pie-chart.js +1 -1
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-profile-menu-header.js +1 -1
  50. package/dist/gids-profile-menu.js +1 -1
  51. package/dist/gids-profile.js +1 -1
  52. package/dist/gids-scrim.js +1 -1
  53. package/dist/gids-sidebar-item.js +1 -1
  54. package/dist/gids-sidebar-menu.js +1 -1
  55. package/dist/gids-sidebar.js +1 -1
  56. package/dist/gids-skeleton.js +1 -1
  57. package/dist/gids-tab-item.js +1 -1
  58. package/dist/gids-tab.js +1 -1
  59. package/dist/gids-text-field.js +1 -1
  60. package/dist/gids-toggle-button.js +1 -1
  61. package/dist/gids-tooltip.js +1 -1
  62. package/dist/gids-transfer-list.js +1 -1
  63. package/dist/gids-year-dropdown-picker.d.ts +11 -0
  64. package/dist/gids-year-dropdown-picker.js +1 -0
  65. package/dist/p-62akP0Ad.js +1 -0
  66. package/dist/{p-B_FEFM5I.js → p-B18yNcA0.js} +1 -1
  67. package/dist/p-B2YjHZsu.js +1 -0
  68. package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
  69. package/dist/{p-Ds5IzXj3.js → p-B4d07GWP.js} +1 -1
  70. package/dist/p-BBlUduEr.js +1 -0
  71. package/dist/{p-BAqWcL0K.js → p-BNW2xgxF.js} +1 -1
  72. package/dist/p-BcXumkjZ.js +1 -0
  73. package/dist/{p-DKSnGphd.js → p-C88Z_F_m.js} +1 -1
  74. package/dist/{p-bfWlRsx_.js → p-CKj2Ru6e.js} +1 -1
  75. package/dist/{p-B_St7yaX.js → p-COsSHfdc.js} +1 -1
  76. package/dist/{p-DrxfD2yZ.js → p-CSXuAs_X.js} +1 -1
  77. package/dist/{p-DzOOjiNH.js → p-CZgH5rZs.js} +1 -1
  78. package/dist/{p-BIxBMTG9.js → p-CueywyHC.js} +1 -1
  79. package/dist/p-CxfmNDsm.js +1 -0
  80. package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
  81. package/dist/{p-DMxvWIj1.js → p-DKe6orSY.js} +1 -1
  82. package/dist/{p-D0RJMGGj.js → p-DLX-l0-L.js} +1 -1
  83. package/dist/p-DOiDD7cS.js +1 -0
  84. package/dist/{p-B2flLE0s.js → p-DXlBK8TS.js} +1 -1
  85. package/dist/{p-E13ycS5K.js → p-DYKcsBzA.js} +1 -1
  86. package/dist/{p--kh67-_Z.js → p-D_mszaeq.js} +1 -1
  87. package/dist/p-DdJKIFk0.js +1 -0
  88. package/dist/p-DiX4HaE6.js +1 -0
  89. package/dist/{p-DQQhGF5N.js → p-DjnREsH0.js} +1 -1
  90. package/dist/{p-CIjK3iHM.js → p-FSv82P6v.js} +1 -1
  91. package/dist/p-MaJDBE6u.js +1 -0
  92. package/dist/p-XVlT5H5q.js +1 -0
  93. package/dist/p-fE-MdTCH.js +1 -0
  94. package/dist/{p-mv_7K1EM.js → p-gK9DvcL8.js} +1 -1
  95. package/dist/{p-_W77iniK.js → p-iEUyQs9t.js} +1 -1
  96. package/dist/{p-BCbovLBE.js → p-jtpLLxuw.js} +1 -1
  97. package/dist/p-lvArnlBV.js +1 -0
  98. package/dist/{p-TfH966_e.js → p-vz4tzbld.js} +1 -1
  99. package/dist/{p-DnRuhvRw.js → p-x1tVOUSt.js} +1 -1
  100. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +4 -2
  101. package/dist/types/components/webComponents/GidsCalendarPicker/GidsCalendarPicker.d.ts +55 -0
  102. package/dist/types/components/webComponents/GidsDatePicker/GidsDatePicker.d.ts +74 -0
  103. package/dist/types/components/webComponents/GidsDatePickerField/GidsDatePickerField.d.ts +75 -0
  104. package/dist/types/components/webComponents/GidsDayDropdownPicker/GidsDayDropdownPicker.d.ts +40 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +10 -8
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +5 -1
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +1 -0
  108. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +7 -2
  109. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +8 -0
  110. package/dist/types/components/webComponents/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
  111. package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
  112. package/dist/types/components.d.ts +877 -70
  113. package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
  114. package/dist-bundled/es/gids-action-bar.js +29 -29
  115. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  116. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  117. package/dist-bundled/es/gids-bar-chart.js +1 -1
  118. package/dist-bundled/es/gids-bento-card.js +1 -1
  119. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  120. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  121. package/dist-bundled/es/gids-calendar-picker.js +6 -0
  122. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  123. package/dist-bundled/es/gids-calendar.js +4 -151
  124. package/dist-bundled/es/gids-carousel.js +1 -1
  125. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  126. package/dist-bundled/es/gids-chart-legend.js +4 -4
  127. package/dist-bundled/es/gids-chart.js +7 -7
  128. package/dist-bundled/es/gids-chevron-button.js +8 -8
  129. package/dist-bundled/es/gids-date-picker-field.js +181 -0
  130. package/dist-bundled/es/gids-date-picker.js +6 -0
  131. package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
  132. package/dist-bundled/es/gids-dot.js +1 -1
  133. package/dist-bundled/es/gids-dropdown-field.js +28 -18
  134. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  135. package/dist-bundled/es/gids-dropdown.js +4 -4
  136. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  137. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  138. package/dist-bundled/es/gids-expansion-group.js +5 -5
  139. package/dist-bundled/es/gids-expansion.js +9 -9
  140. package/dist-bundled/es/gids-field.js +4 -4
  141. package/dist-bundled/es/gids-filter.js +1 -1
  142. package/dist-bundled/es/gids-flyout-panel.js +3 -3
  143. package/dist-bundled/es/gids-form.js +65 -49
  144. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  145. package/dist-bundled/es/gids-header-navigation.js +48 -61
  146. package/dist-bundled/es/gids-icon.js +3 -3
  147. package/dist-bundled/es/gids-input.js +1 -1
  148. package/dist-bundled/es/gids-line-chart.js +3 -3
  149. package/dist-bundled/es/gids-md-table.js +2 -2
  150. package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
  151. package/dist-bundled/es/gids-overflow-container.js +9 -9
  152. package/dist-bundled/es/gids-overlay-provider.js +3 -3
  153. package/dist-bundled/es/gids-password-field.js +21 -21
  154. package/dist-bundled/es/gids-pie-chart.js +1 -1
  155. package/dist-bundled/es/gids-popover.js +1 -1
  156. package/dist-bundled/es/gids-profile-menu-header.js +4 -4
  157. package/dist-bundled/es/gids-profile-menu.js +4 -4
  158. package/dist-bundled/es/gids-profile.js +11 -11
  159. package/dist-bundled/es/gids-scrim.js +3 -3
  160. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  161. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  162. package/dist-bundled/es/gids-sidebar.js +13 -13
  163. package/dist-bundled/es/gids-skeleton.js +8 -8
  164. package/dist-bundled/es/gids-tab-item.js +6 -6
  165. package/dist-bundled/es/gids-tab.js +7 -7
  166. package/dist-bundled/es/gids-text-field.js +11 -11
  167. package/dist-bundled/es/gids-toggle-button.js +1 -1
  168. package/dist-bundled/es/gids-tooltip.js +4 -4
  169. package/dist-bundled/es/gids-transfer-list.js +10 -10
  170. package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
  171. package/dist-bundled/es/p-62akP0Ad-D4pJ0a_I.js +86 -0
  172. package/dist-bundled/es/{p-B_FEFM5I-WvEFe7I_.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
  173. package/dist-bundled/es/{p-kWyyLyT3-DhHcKhR9.js → p-B2YjHZsu-DxdrSYcE.js} +30 -30
  174. package/dist-bundled/es/{p-DLRj-mUX-B_ACFGx6.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
  175. package/dist-bundled/es/{p-Ds5IzXj3-BC_F0-JJ.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
  176. package/dist-bundled/es/{p-CAjDiWIc-BieYBjHk.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
  177. package/dist-bundled/es/{p-BAqWcL0K-DRjKDzoa.js → p-BNW2xgxF-DWKLliyn.js} +6 -6
  178. package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
  179. package/dist-bundled/es/{p-DKSnGphd-EpxzqjUA.js → p-C88Z_F_m-wMA27lx_.js} +4 -4
  180. package/dist-bundled/es/{p-bfWlRsx_-B9hzkHIt.js → p-CKj2Ru6e-B-Nk5B_P.js} +4 -4
  181. package/dist-bundled/es/{p-B_St7yaX-Dq9UwiaA.js → p-COsSHfdc-DfDYoLSS.js} +4 -4
  182. package/dist-bundled/es/{p-DrxfD2yZ-Juydw__6.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
  183. package/dist-bundled/es/{p-DzOOjiNH-Wm7KbI3O.js → p-CZgH5rZs-Clk0qfHN.js} +4 -4
  184. package/dist-bundled/es/{p-BIxBMTG9-Bs6G0Wvv.js → p-CueywyHC-CsEetdha.js} +3 -3
  185. package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CxfmNDsm-JHseL2it.js} +30 -18
  186. package/dist-bundled/es/{p-CV1-78HB-DGkn3SPO.js → p-D2VR17v2-C0k_l_CT.js} +1 -1
  187. package/dist-bundled/es/{p-DMxvWIj1-DPw-ITMY.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
  188. package/dist-bundled/es/{p-D0RJMGGj-DSjGfUhB.js → p-DLX-l0-L-gumz4bOG.js} +2 -2
  189. package/dist-bundled/es/{p-BQT5yy5L-DhdgFXTM.js → p-DOiDD7cS-j1RR9K9r.js} +9 -5
  190. package/dist-bundled/es/{p-B2flLE0s-UXdlvRVr.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
  191. package/dist-bundled/es/{p-E13ycS5K-D-yK6pqz.js → p-DYKcsBzA-BcupA9sw.js} +7 -7
  192. package/dist-bundled/es/{p-DZ1ZcTMe-tnPOECry.js → p-DZ1ZcTMe-W8kofPko.js} +1 -1
  193. package/dist-bundled/es/{p--kh67-_Z-BBhYy4ZX.js → p-D_mszaeq-ndcXN34-.js} +4 -4
  194. package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-DdJKIFk0-Co3FvR3K.js} +2 -2
  195. package/dist-bundled/es/p-DiX4HaE6-C35K492C.js +86 -0
  196. package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-DjnREsH0-Cm8vBvIX.js} +7 -7
  197. package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-FSv82P6v-C6jFH7Zo.js} +1 -1
  198. package/dist-bundled/es/p-MaJDBE6u-DjtEX6-I.js +157 -0
  199. package/dist-bundled/es/p-XVlT5H5q-CFIMyrM3.js +148 -0
  200. package/dist-bundled/es/p-fE-MdTCH-CDvG1Xn1.js +122 -0
  201. package/dist-bundled/es/{p-mv_7K1EM-lPgJqpPI.js → p-gK9DvcL8-Chw-ya2Q.js} +2 -2
  202. package/dist-bundled/es/{p-_W77iniK-DZ9pVDuI.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
  203. package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
  204. package/dist-bundled/es/{p-BCbovLBE-DfkhIEts.js → p-jtpLLxuw-BlEPhjmU.js} +2 -2
  205. package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
  206. package/dist-bundled/es/{p-TfH966_e-tyxLyzL3.js → p-vz4tzbld-BYJRjHJw.js} +6 -6
  207. package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
  208. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  209. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  210. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  211. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  212. package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
  213. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  214. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  215. package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
  216. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  217. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  218. package/dist-bundled/umd/gids-carousel.umd.js +2 -2
  219. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  220. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  221. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  222. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  223. package/dist-bundled/umd/gids-date-picker-field.umd.js +5 -0
  224. package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
  225. package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
  226. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  227. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  228. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  229. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  230. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  231. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  232. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  233. package/dist-bundled/umd/gids-expansion.umd.js +2 -2
  234. package/dist-bundled/umd/gids-field.umd.js +2 -2
  235. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  236. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  237. package/dist-bundled/umd/gids-form.umd.js +2 -2
  238. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  239. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  240. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  241. package/dist-bundled/umd/gids-input.umd.js +2 -2
  242. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  243. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  244. package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +5 -0
  245. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  246. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  247. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  248. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  249. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  250. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  251. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  252. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  253. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  254. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  255. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  256. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  257. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  258. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  259. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  260. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  261. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  262. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  263. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  264. package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
  265. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  266. package/package.json +55 -7
  267. package/dist/p-BQT5yy5L.js +0 -1
  268. package/dist/p-CAjDiWIc.js +0 -1
  269. package/dist/p-Do_VlNHg.js +0 -1
  270. package/dist/p-DpvdbdZ-.js +0 -1
  271. package/dist/p-kWyyLyT3.js +0 -1
  272. package/dist/p-tEbUT3n3.js +0 -1
  273. package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
  274. package/dist-bundled/es/p-tEbUT3n3-CWq8ErgN.js +0 -244
@@ -1,5 +1,5 @@
1
- (function($,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):($=typeof globalThis<"u"?globalThis:$||self,V($.gidsCoreWebGidsDropdown={}))})(this,(function($){"use strict";function V(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var M,lt=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[i]])=>{if(31&i||32&i){const o=e[s],r=V(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);r&&Object.defineProperty(e,s,{get(){return r.get.call(this)},set(a){r.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Se=(e,t)=>t in e,T=(e,t)=>(0,console.error)(e,t),q=new Map,we="http://www.w3.org/1999/xlink",rt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],E=typeof window<"u"?window:{},Ee=E.HTMLElement||class{},I={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},at=(()=>{var e;let t=!1;try{(e=E.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!E.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!E.document&&Object.getOwnPropertyDescriptor(E.document.adoptedStyleSheets,"length").writable,se=!1,xe=[],Ce=[],dt=(e,t)=>n=>{e.push(n),se||(se=!0,4&I.i?ie(ne):I.raf(ne))},Ie=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){T(n)}e.length=0},ne=()=>{Ie(xe),Ie(Ce),(se=xe.length>0)&&I.raf(ne)},ie=e=>Promise.resolve(void 0).then(e),ct=dt(Ce);function ht(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(te?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var ke=e=>{const t=le(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ut(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&ke(s)}};function oe(e,t,n){let s,i=0,o=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(o.push(s),n!==void 0))return o;o=[...o,...oe(s.childNodes,t,n)]}return o}var ut=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)B(i)!==t||!n&&i["s-sr"]||s.push(i);return s},_e=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,F,D=new WeakMap,Ae=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",w=(e,t,...n)=>{let s=null,i=null,o=null,r=!1,a=!1;const l=[],c=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?c(s):s!=null&&typeof s!="boolean"&&((r=typeof e!="function"&&!ae(s))&&(s=String(s)),r&&a?l[l.length-1].h+=s:l.push(r?W(null,s):s),a=r)};if(c(n),t){t.key&&(i=t.key),t.name&&(o=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,pt);const h=W(e,null);return h.v=t,l.length>0&&(h.m=l),h.$=i,h.j=o,h},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ft={},pt={forEach:(e,t)=>e.map(Ne).forEach(t),map:(e,t)=>e.map(Ne).map(t).map(mt)},Ne=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),mt=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),w(e.vtag,n,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const i of t){if(n)break;for(const o of e[i])if(typeof o=="string"){n=!0;break}}if(!n)return e;const s={};for(const i of t)s[i]=e[i].map((o=>typeof o=="string"?{[o]:0}:o));return s},Oe=(e,t,n)=>e==null||ae(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,gt=(e,t,n)=>{const s=I.ce(t,n);return e.dispatchEvent(s),s},Pe=(e,t,n,s,i,o)=>{if(n===s)return;let r=Se(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=De(n);let h=De(s);l.remove(...c.filter((d=>d&&!h.includes(d)))),l.add(...h.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const l in n)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)n&&s[l]===n[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&bt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let c;{const h=O(e);if(h&&h.o&&h.o.t){const d=h.o.t[l];d&&d[1]&&(c=d[1])}}return c||(c=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=ae(s);if((r||l&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const h=s??"";t==="list"?r=!1:n!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(we,t):e.removeAttribute(t)):(!r||4&o||i)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(we,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):Se(E,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith($e);t=t.replace(yt,""),n&&I.rel(e,t,n,l),s&&I.ael(e,t,s,l)}}},vt=/\s/,De=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(vt):[]),$e="Capture",yt=new RegExp($e+"$"),de=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},o=t.v||{};for(const r of Te(Object.keys(i)))r in o||Pe(s,r,i[r],void 0,n,t.i);for(const r of Te(Object.keys(o)))Pe(s,r,i[r],o[r],n,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var R=!1,K=!1,U=!1,k=!1,ce=[],he=[],z=(e,t,n)=>{var s;const i=t.m[n];let o,r,a,l=0;if(R||(U=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=E.document.createTextNode(i.h);else if(1&i.i)o=i.S=E.document.createTextNode(""),de(null,i,k);else{if(k||(k=i.O==="svg"),!E.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.S=E.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!R&&2&i.i?"slot-fb":i.O),k&&i.O==="foreignObject"&&(k=!1),de(null,i,k),i.m){const c=i.O==="template"?o.content:o;for(l=0;l<i.m.length;++l)r=z(e,i,l),r&&c.appendChild(r)}i.O==="svg"?k=!1:o.tagName==="foreignObject"&&(k=!0)}return o["s-hn"]=F,3&i.i&&(o["s-sr"]=!0,o["s-cr"]=re,o["s-sn"]=i.j||"",o["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const h=d=>(function(u){const p=[],f=this["s-sn"];u?.flatten&&console.error(`
1
+ (function(te,ae){typeof exports=="object"&&typeof module<"u"?ae(exports):typeof define=="function"&&define.amd?define(["exports"],ae):(te=typeof globalThis<"u"?globalThis:te||self,ae(te.gidsCoreWebGidsDropdown={}))})(this,(function(te){"use strict";var G;function ae(e,t,n){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var me,Fn=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([i,[o]])=>{if(31&o||32&o){const s=e[i],r=ae(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);r&&Object.defineProperty(e,i,{get(){return r.get.call(this)},set(l){r.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):s!==void 0&&(e[i]=s)}}))},W=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},kt=(e,t)=>t in e,ne=(e,t)=>(0,console.error)(e,t),Ee=new Map,Et="http://www.w3.org/1999/xlink",Nn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],C=typeof window<"u"?window:{},Se=C.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},Ln=(()=>{var e;let t=!1;try{(e=C.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),We=(()=>{try{return!!C.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ze=!!We&&!!C.document&&Object.getOwnPropertyDescriptor(C.document.adoptedStyleSheets,"length").writable,Be=!1,St=[],Ct=[],_n=(e,t)=>n=>{e.push(n),Be||(Be=!0,4&O.i?Ge(He):O.raf(He))},At=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){ne(n)}e.length=0},He=()=>{At(St),At(Ct),(Be=St.length>0)&&O.raf(He)},Ge=e=>Promise.resolve(void 0).then(e),In=_n(Ct);function Tn(){const e=this.attachShadow({mode:"open"});me===void 0&&(me=null),me&&(ze?e.adoptedStyleSheets.push(me):e.adoptedStyleSheets=[...e.adoptedStyleSheets,me])}var Pt=e=>{const t=Ke(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ue(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!Dn(i,ge(i),!1).length)}));let n=0;for(n=0;n<t.length;n++){const i=t[n];i.nodeType===1&&Ke(i,"childNodes").length&&Pt(i)}};function Ue(e,t,n){let i,o=0,s=[];for(;o<e.length;o++){if(i=e[o],i["s-sr"]&&(!t||i["s-hn"]===t)&&(n===void 0||ge(i)===n)&&(s.push(i),n!==void 0))return s;s=[...s,...Ue(i.childNodes,t,n)]}return s}var Dn=(e,t,n=!0)=>{const i=[];(n&&e["s-sr"]||!e["s-sr"])&&i.push(e);let o=e;for(;o=o.nextSibling;)ge(o)!==t||!n&&o["s-sr"]||i.push(o);return i},Ot=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",ge=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ke(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var Ye,ie,K=new WeakMap,Ft=e=>"sc-"+e.p,Xe=e=>(e=typeof e)=="object"||e==="function",E=(e,t,...n)=>{let i=null,o=null,s=null,r=!1,l=!1;const a=[],d=c=>{for(let h=0;h<c.length;h++)i=c[h],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((r=typeof e!="function"&&!Xe(i))&&(i=String(i)),r&&l?a[a.length-1].h+=i:a.push(r?Ce(null,i):i),l=r)};if(d(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((h=>c[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,$n);const u=Ce(e,null);return u.v=t,a.length>0&&(u.m=a),u.$=o,u.j=s,u},Ce=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Rn={},$n={forEach:(e,t)=>e.map(Nt).forEach(t),map:(e,t)=>e.map(Nt).map(t).map(Mn)},Nt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Mn=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),E(e.vtag,n,...e.vchildren||[])}const t=Ce(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Lt=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const o of t){if(n)break;for(const s of e[o])if(typeof s=="string"){n=!0;break}}if(!n)return e;const i={};for(const o of t)i[o]=e[o].map((s=>typeof s=="string"?{[s]:0}:s));return i},_t=(e,t,n)=>e==null||Xe(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Vn=(e,t,n)=>{const i=O.ce(t,n);return e.dispatchEvent(i),i},It=(e,t,n,i,o,s)=>{if(n===i)return;let r=kt(e,t),l=t.toLowerCase();if(t==="class"){const a=e.classList,d=Tt(n);let u=Tt(i);a.remove(...d.filter((c=>c&&!u.includes(c)))),a.add(...u.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const a in n)i&&i[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in i)n&&i[a]===n[a]||(a.includes("-")?e.style.setProperty(a,i[a]):e.style[a]=i[a])}else if(t!=="key"){if(t==="ref")i&&Wn(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let d;{const u=W(e);if(u&&u.o&&u.o.t){const c=u.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=i}catch{}return}{const a=Xe(i);if((r||a&&i!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const u=i??"";t==="list"?r=!1:n!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(Et,t):e.removeAttribute(t)):(!r||4&s||o)&&!a&&e.nodeType===1&&(i=i===!0?"":i,d?e.setAttributeNS(Et,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):kt(C,l)?l.slice(2):l[2]+t.slice(3),n||i){const a=t.endsWith(Dt);t=t.replace(jn,""),n&&O.rel(e,t,n,a),i&&O.ael(e,t,i,a)}}},qn=/\s/,Tt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(qn):[]),Dt="Capture",jn=new RegExp(Dt+"$"),Ze=(e,t,n)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},s=t.v||{};for(const r of Rt(Object.keys(o)))r in s||It(i,r,o[r],void 0,n,t.i);for(const r of Rt(Object.keys(s)))It(i,r,o[r],s[r],n,t.i)};function Rt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var be=!1,Ae=!1,Pe=!1,L=!1,Je=[],Qe=[],Oe=(e,t,n)=>{var i;const o=t.m[n];let s,r,l,a=0;if(be||(Pe=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)s=o.S=C.document.createTextNode(o.h);else if(1&o.i)s=o.S=C.document.createTextNode(""),Ze(null,o,L);else{if(L||(L=o.O==="svg"),!C.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=o.S=C.document.createElementNS(L?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!be&&2&o.i?"slot-fb":o.O),L&&o.O==="foreignObject"&&(L=!1),Ze(null,o,L),o.m){const d=o.O==="template"?s.content:s;for(a=0;a<o.m.length;++a)r=Oe(e,o,a),r&&d.appendChild(r)}o.O==="svg"?L=!1:s.tagName==="foreignObject"&&(L=!0)}return s["s-hn"]=ie,3&o.i&&(s["s-sr"]=!0,s["s-cr"]=Ye,s["s-sn"]=o.j||"",s["s-rf"]=(i=o.v)==null?void 0:i.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(h){const p=[],f=this["s-sn"];h?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{f===B(b)&&p.push(b)})),d?p.filter((b=>b.nodeType===1)):p}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(o),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Fe(e.S)),o},Fe=e=>{I.i|=1;const t=e.closest(F.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of n?s.reverse():s)i["s-sh"]!=null&&(N(t,i,n??null),i["s-sh"]=void 0,U=!0)}I.i&=-2},Y=(e,t)=>{I.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===F&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==F&&i["s-ol"]&&(N(G(i).parentNode,i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Y(i,t)}I.i&=-2},Ve=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=z(null,n,i),r&&(s[i].S=r,N(a,r,G(t))))},je=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Be(i),o&&(K=!0,o["s-ol"]?o["s-ol"].remove():Y(o,!0),o.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,j=(e,t,n=!1)=>{const s=t.S=e.S,i=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||R||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Fe(t.S.parentElement)),de(e,t,k),i!==null&&o!==null?((c,h,d,u,p=!1)=>{let f,S,b=0,v=0,g=0,m=0,C=h.length-1,y=h[0],x=h[C],_=u.length-1,A=u[0],L=u[_];const ot=d.O==="template"?c.content:c;for(;b<=C&&v<=_;)if(y==null)y=h[++b];else if(x==null)x=h[--C];else if(A==null)A=u[++v];else if(L==null)L=u[--_];else if(J(y,A,p))j(y,A,p),y=h[++b],A=u[++v];else if(J(x,L,p))j(x,L,p),x=h[--C],L=u[--_];else if(J(y,L,p))y.O!=="slot"&&L.O!=="slot"||Y(y.S.parentNode,!1),j(y,L,p),N(ot,y.S,x.S.nextSibling),y=h[++b],L=u[--_];else if(J(x,A,p))y.O!=="slot"&&L.O!=="slot"||Y(x.S.parentNode,!1),j(x,A,p),N(ot,x.S,y.S),x=h[--C],A=u[++v];else{for(g=-1,m=b;m<=C;++m)if(h[m]&&h[m].$!==null&&h[m].$===A.$){g=m;break}g>=0?(S=h[g],S.O!==A.O?f=z(h&&h[v],d,g):(j(S,A,p),h[g]=void 0,f=S.S),A=u[++v]):(f=z(h&&h[v],d,v),A=u[++v]),f&&N(G(y.S).parentNode,f,G(y.S))}b>C?Ve(c,u[_+1]==null?null:u[_+1].S,d,u,v,_):v>_&&je(h,b,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Ve(s,null,t,o,0,o.length-1)):!n&&i!==null&&je(i,0,i.length-1),k&&r==="svg"&&(k=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},P=[],Me=e=>{let t,n,s;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(_e(t,r)){let a=P.find((l=>l.k===t));K=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((l=>{_e(l.k,t["s-sn"])&&(a=P.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else P.some((a=>a.k===t))||P.push({k:t})}o.nodeType===1&&Me(o)}},Be=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Be)},bt=(e,t)=>{he.push((()=>e(t)))},N=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=B(o)||"";return{slotNode:oe(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},St=(e,t,n=!1)=>{var s,i,o,r,a;const l=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const u=(d=t)&&d.O===ft?t:w(null,null,t);if(F=l.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([p,f])=>{u.v[f]=l[p]}))),n&&u.v)for(const p of Object.keys(u.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=l[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,R=!(!(1&c.i)||128&c.i),re=l["s-cr"],K=!1,j(h,u,n),I.i|=1,U){Me(u.S);for(const p of P){const f=p.k;if(!f["s-ol"]&&E.document){const S=E.document.createTextNode("");S["s-nr"]=f,N(f.parentNode,f["s-ol"]=S,f,n)}}for(const p of P){const f=p.k,S=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(i=f["s-ol"])==null?void 0:i.previousSibling;for(;g;){let m=(o=g["s-nr"])!=null?o:null;if(m&&m["s-sn"]===f["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===f||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==v)&&f!==v){if(N(b,f,v,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=E.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,N(f.parentNode,g,f,n),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else f.nodeType===1&&(f.hidden=!0)}}if(K&&ke(u.S),I.i&=-2,P.length=0,!R&&!(1&c.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==F&&!f["s-sh"]){if(n&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const S=E.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],N(f.parentNode,S,f,n),f.parentNode.removeChild(f)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,he.forEach((p=>p())),he.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>wt(e,t);if(!t)return ct(n);queueMicrotask((()=>{n()}))},wt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Ge(i,(()=>H(s,"componentWillRender",void 0,n))),Ge(i,(()=>xt(e,s,t)))},Ge=(e,t)=>Et(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Et=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xt=async(e,t,n)=>{var s;const i=e.$hostElement$,o=i["s-rc"];n&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,h=((d,u)=>{var p,f,S;const b=Ae(u),v=q.get(b);if(!E.document)return b;if(d=d.nodeType===11?d:E.document,v)if(typeof v=="string"){let g,m=D.get(d=d.head||d);if(m||D.set(d,m=new Set),!m.has(b)){g=E.document.createElement("style"),g.textContent=v;const C=(p=I._)!=null?p:(function(){var y,x,_;return(_=(x=(y=E.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?_:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&u.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,x?.parentNode===d?x:null)}else if("host"in d)if(ee){const y=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),te?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(g)}else d.append(g);1&u.i&&d.insertBefore(g,null),4&u.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(b)}}else{let g=D.get(d);if(g||D.set(d,g=new Set),!g.has(b)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(v.constructor===m.CSSStyleSheet)C=v;else{C=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)C.insertRule(v.cssRules[y].cssText,y)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),Ct(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>It(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Ct=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,St(e,t,s)}catch(i){T(i,e.$hostElement$)}return null},It=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,_t(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||kt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>ue(e,!1))),e.i&=-517},kt=()=>{ie((()=>gt(E,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){T(i,s)}},_t=e=>e.classList.add("hydrated"),He=(e,t,n,s)=>{const i=O(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Oe(n,s.t[t][0],!!(64&s.i));const c=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!c){if(i.l.set(t,n),s.F){const h=s.F[t];h&&h.map((d=>{try{const[[u,p]]=Object.entries(d);(128&a||1&p)&&(l?l[u](n,r,t):i.T.push((()=>{i.D[u](n,r,t)})))}catch(u){T(u,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||ue(i,!1)}}},At=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&rt.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const h=O(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=h?.H)==null||c.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:h}=V(o,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return c?c.apply(this):(d=a,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(d=u.l.get(a)),h.apply(this,[Oe(d,l,!!(64&t.i))]),void He(this,a,d=32&l?this[a]:u.$hostElement$[a],t);He(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,h){I.jmp((()=>{var d;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const g=p?.i;if(p&&g&&!(8&g)&&h!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((y=>{const[[x,_]]=Object.entries(y);m[x]!=null&&(128&g||1&_)&&m[x].call(m,h,c,l)}))}return}const f=r.find((([g])=>g===u)),S=f&&4&f[1][0],b=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(o,u);b||h==this[u]||v.get&&!v.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,c])=>31&c[0])).map((([l,c])=>{var h;const d=c[1]||l;return a.set(d,l),512&c[0]&&((h=t.C)==null||h.push([l,d])),d}))]))}}return e},qe=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Le(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&lt(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;We(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&I.i)){const r=O(o);if(!r)return;const a=r.o;if(1&r.i)We(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!E.document)return;const c=l["s-cr"]=E.document.createComment("");c["s-cn"]=!0,N(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Re(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(o,l)){const h=o[l];delete o[l],o[l]=h}})),(async(l,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>c.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const S=Ae(h);q.has(S)||((b,v,g)=>{let m=q.get(b);ee&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,q.set(b,m)})(S,f,!!(1&h.i))}const u=c.R,p=()=>ue(c,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){T(u,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(o,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&I.i)){const r=O(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}D.has(o)&&D.delete(o),o.shadowRoot&&D.has(o.shadowRoot)&&D.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ht.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),At(e,n,3)}catch(s){return T(s),e}},Nt=(e,t)=>t,We=(e,t,n)=>{n&&E.document&&n.map((([s,i,o])=>{const r=Ot(E.document,e,s),a=Lt(t,o),l=Pt(s);I.ael(r,i,a,l),(t.V=t.V||[]).push((()=>I.rel(r,i,a,l)))}))},Lt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){T(s,e.$hostElement$)}},Ot=(e,t,n)=>8&n?E:t,Pt=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function os(e){return e}function Ke(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ke(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function X(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ke(e))&&(s&&(s+=" "),s+=t);return s}const Z=64,Ue=10,ze=Z/2-Ue/2,Dt=Z/2,fe=2*Math.PI*ze,$t=`0 0 ${Z} ${Z}`,Tt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(n,e))/n*100,o=(fe*i/100).toFixed(2),r=(fe-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Dt,circumference:fe,radius:ze,thickness:Ue,viewBox:$t},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>X("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>X("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>X("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>X("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ye=Symbol("pathSet"),me="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(me))};haveAssetPathsBeenSet(){return this.#s(Ye)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(pe,n)}this.#e(Ye,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(pe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(me,t,{once:!0}),()=>{this.removeEventListener(me,t)}}}const ge=Symbol.for("GIDS"),Bt=()=>(globalThis[ge]===void 0&&(globalThis[ge]={assetPaths:{}}),globalThis[ge]),Rt=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ve(){return Rt("@ganpatiinfo/gids-web-shared")}function Gt(){return ve().haveAssetPathsBeenSet()}function Je(e){return ve().getAssetFilePath(e)}function Ht(e){return ve().onAssetPathsSet(e)}let qt=0;const Wt=(e,t="gids")=>e||`${t}-${qt++}`,Kt=e=>e.type==="hidden",Ut=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Kt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Xe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ze=new Map;for(const e in Xe)for(const t of Xe[e])Ze.set(t,e);function zt(e){return Ze.get(e)}function Qe(e,t="regular",n){const s=zt(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Yt}=Vt,ye=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=Wt(o);let c=r;return c===void 0&&Gt()&&(c=Qe(e,n,Je)),w("svg",{ref:h=>{c===void 0&&Ht((()=>{(function(d,u,p){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Qe(u,p,Je)),d.appendChild(f)})(h,e,n)}))},width:"16",height:"16",class:Yt({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&w("title",{id:l},s||e),c!==void 0?w("use",{href:c}):null)},{getGidsSpinnerControlClassNames:Jt}=jt,{calculateStrokeDasharray:Xt,thickness:et,radius:tt,centerPosition:Q,viewBox:Zt}=Tt,Qt=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:Xt(n,s||0),strokeDashoffset:"0"}),w("svg",{class:Jt({size:e,indeterminate:t,value:n}),viewBox:Zt,...i},w("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:tt,"stroke-width":et}),w("circle",{style:o,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:tt,"stroke-width":et}))},es=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ut(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return w(Nt,{key:"2c544e40744c4f3f264117a0f863bf594b520ea0"},w("slot",{key:"a0f0ee09eefbb1a10f5b07dd96a2edb2278fe661",name:"leadingIcon"}),this.leadingLabel&&w("span",{key:"d7f1c22c9b7dca4ddb16b54e1f6d8df54c9cea41",class:"gids-input__label"},this.leadingLabel),w("slot",{key:"55edf5a87aa0ec574f2324dfa5f46fcc2a7d6bf6",name:"leadingAccessory"}),w("input",{key:"b7aed46c782dcd4da796dca7e43bf6974bb5ba53",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),w("slot",{key:"f2b11319075c8efdee53f410c9be6a366eb96a53",name:"trailingAccessory"}),this.trailingLabel&&w("span",{key:"be6891ba9714f58c5245cdaaac2b80d5362f96c6",class:"gids-input__label"},this.trailingLabel),w("slot",{key:"a277264aff77c51c41d43d4b6eab2cf2072979c4",name:"trailingIcon"}),this.status==="incomplete"&&w(ye,{key:"e108c8b0ecbe509e1aee59172b46c5eb258d4eb6",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&w(ye,{key:"3a9b1fc10f99588a23a13a2abf6648bfcba02eff",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&w(Qt,{key:"372490f8eb6f0902c4fd729dc3829edda9270514",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function st(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,es))}))}st();const{getGidsDropdownClassNames:ts,getGidsChevronButtonControlClassNames:ss}=Ft,be="gids-dropdown-item--active",nt=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:s,disabled:i,id:o,isPlaceholderItem:r}=t.detail;i||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:s,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const s=n.closest(".gids-dropdown-item");if(!s||!this.hostElement.contains(s)||s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true")return;const i=s instanceof HTMLButtonElement?s.value:s.getAttribute("value")||"";if(typeof i!="string"||i.length===0)return;const o=s instanceof HTMLButtonElement?s.id:s.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const r=s.getAttribute("is-placeholder-item")??"";let a=s.textContent?.trim()??"";a.endsWith("checkmark")&&(a=a.slice(0,-9).trim()),this.applySelection({id:o,value:i,title:a.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,s=n==="ArrowDown";if((s||n==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(s?1:-1);if(n==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(n==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(n==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const n=t.key;if(n==="Escape"||n==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);n==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(be))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((i=>i.classList.remove(be))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),s=t[n];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,s.classList.add(be),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase(),s=e.length===0||n.includes(e);t.style.display=s?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const n=!!e;n&&!this.isInteractive()||this.expanded!==n&&(this.expanded=n,n||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:n,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=i=>{t?.(i),this.handleFilterInput(i)};const n=e.onBlur;e.onBlur=i=>{n?.(i),this.scheduleControlRevalidation()};const s=e.onKeyDown;return e.onKeyDown=i=>{s?.(i),i.defaultPrevented||this.handleInputKeyDown(i)},e}render(){const e=this.expanded&&this.isInteractive(),t=ts({expanded:e}),n=this.getEnhancedInputProps(),s=typeof n.id=="string"?n.id:void 0,i=s?`${s}__menu`:void 0;n.role="combobox",n["aria-expanded"]=e?"true":"false",n["aria-haspopup"]="listbox",n["aria-autocomplete"]="list",i&&(n["aria-controls"]=i);const o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",r=e?"true":"false",a=w("button",{key:"ef56b4d650c7ede283ac956e1bb3fdb99f0464b9",class:ss({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},w("span",{key:"3707be6a0a5b247f6c624486c3ff5f69add5991c",class:"gids-button__content"},w(ye,{key:"b36624f20725a6093fbe786dd34ae70131035b1d",name:"chevron-vertical",alt:""})));return w("div",{key:"07368ce8b66a08e4f874e9335a774a305d07b709",class:t},w("gids-input",{key:"13f996dabaf673f24ccb3752f5239a6461d8612e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:n,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&w("slot",{key:"7ec0577f5a08094ca8caf73882dd5fee142f8229",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&w("slot",{key:"41a33c1e726a203c096de11b82ce4bd7e39b4641",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),a),w("div",{key:"c59f22dec8e5ca68bfa4bee0ba5ffc7150602468",class:"gids-dropdown__menu",id:i,role:"listbox",onClick:this.handleMenuClick},w("slot",{key:"93bb68248f925d570f01533382d71044079ee786"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function it(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,nt);break;case"gids-input":customElements.get(e)||st()}}))}it();const ns=nt,is=it;$.GidsDropdown=ns,$.defineCustomElement=is,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(w=>{const m=[];for(let g=0;g<w.length;g++){const b=w[g]["s-nr"]||void 0;b&&b.isConnected&&m.push(b)}return m})(y.childNodes)).forEach((w=>{f===ge(w)&&p.push(w)})),c?p.filter((w=>w.nodeType===1)):p}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(s),l=e&&e.m&&e.m[n],l&&l.O===o.O&&e.S&&$t(e.S)),s},$t=e=>{O.i|=1;const t=e.closest(ie.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const o of n?i.reverse():i)o["s-sh"]!=null&&(T(t,o,n??null),o["s-sh"]=void 0,Pe=!0)}O.i&=-2},Fe=(e,t)=>{O.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===ie&&n.push(i)}for(let i=n.length-1;i>=0;i--){const o=n[i];o["s-hn"]!==ie&&o["s-ol"]&&(T(ye(o).parentNode,o,ye(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Pe=!0),t&&Fe(o,t)}O.i&=-2},Mt=(e,t,n,i,o,s)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===ie&&(l=l.shadowRoot),n.O==="template"&&(l=l.content);o<=s;++o)i[o]&&(r=Oe(null,n,o),r&&(i[o].S=r,T(l,r,ye(t))))},Vt=(e,t,n)=>{for(let i=t;i<=n;++i){const o=e[i];if(o){const s=o.S;jt(o),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Fe(s,!0),s.remove())}}},Ne=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),ye=e=>e&&e["s-ol"]||e,ce=(e,t,n=!1)=>{const i=t.S=e.S,o=e.m,s=t.m,r=t.O,l=t.h;let a;l==null?(L=r==="svg"||r!=="foreignObject"&&L,r!=="slot"||be||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$t(t.S.parentElement)),Ze(e,t,L),o!==null&&s!==null?((d,u,c,h,p=!1)=>{let f,y,w=0,m=0,g=0,b=0,x=u.length-1,v=u[0],k=u[x],S=h.length-1,A=h[0],P=h[S];const F=c.O==="template"?d.content:d;for(;w<=x&&m<=S;)if(v==null)v=u[++w];else if(k==null)k=u[--x];else if(A==null)A=h[++m];else if(P==null)P=h[--S];else if(Ne(v,A,p))ce(v,A,p),v=u[++w],A=h[++m];else if(Ne(k,P,p))ce(k,P,p),k=u[--x],P=h[--S];else if(Ne(v,P,p))v.O!=="slot"&&P.O!=="slot"||Fe(v.S.parentNode,!1),ce(v,P,p),T(F,v.S,k.S.nextSibling),v=u[++w],P=h[--S];else if(Ne(k,A,p))v.O!=="slot"&&P.O!=="slot"||Fe(k.S.parentNode,!1),ce(k,A,p),T(F,k.S,v.S),k=u[--x],A=h[++m];else{for(g=-1,b=w;b<=x;++b)if(u[b]&&u[b].$!==null&&u[b].$===A.$){g=b;break}g>=0?(y=u[g],y.O!==A.O?f=Oe(u&&u[m],c,g):(ce(y,A,p),u[g]=void 0,f=y.S),A=h[++m]):(f=Oe(u&&u[m],c,m),A=h[++m]),f&&T(ye(v.S).parentNode,f,ye(v.S))}w>x?Mt(d,h[S+1]==null?null:h[S+1].S,c,h,m,S):m>S&&Vt(u,w,x)})(i,o,t,s,n):s!==null?(e.h!==null&&(i.textContent=""),Mt(i,null,t,s,0,s.length-1)):!n&&o!==null&&Vt(o,0,o.length-1),L&&r==="svg"&&(L=!1)):(a=i["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(i.data=l)},z=[],qt=e=>{let t,n,i;const o=e.__childNodes||e.childNodes;for(const s of o){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=s["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(Ot(t,r)){let l=z.find((a=>a.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=s["s-hn"],l.N=s):(t["s-sh"]=s["s-hn"],z.push({N:s,k:t})),t["s-sr"]&&z.map((a=>{Ot(a.k,t["s-sn"])&&(l=z.find((d=>d.k===t)),l&&!a.N&&(a.N=l.N))}))}else z.some((l=>l.k===t))||z.push({k:t})}s.nodeType===1&&qt(s)}},jt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(jt)},Wn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,n,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(s,r){var l;if(!(r=r||((l=s["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=ge(s)||"";return{slotNode:Ue(Ke(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return o&&!i&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},zn=(e,t,n=!1)=>{var i,o,s,r,l;const a=e.$hostElement$,d=e.o,u=e.M||Ce(null,null);var c;const h=(c=t)&&c.O===Rn?t:E(null,null,t);if(ie=a.tagName,d.C&&(h.v=h.v||{},d.C.forEach((([p,f])=>{h.v[f]=a[p]}))),n&&h.v)for(const p of Object.keys(h.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(h.v[p]=a[p]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=a.shadowRoot||a,be=!(!(1&d.i)||128&d.i),Ye=a["s-cr"],Ae=!1,ce(u,h,n),O.i|=1,Pe){qt(h.S);for(const p of z){const f=p.k;if(!f["s-ol"]&&C.document){const y=C.document.createTextNode("");y["s-nr"]=f,T(f.parentNode,f["s-ol"]=y,f,n)}}for(const p of z){const f=p.k,y=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(i=f.hidden)!=null&&i),y){const w=y.parentNode;let m=y.nextSibling;if(m&&m.nodeType===1){let g=(o=f["s-ol"])==null?void 0:o.previousSibling;for(;g;){let b=(s=g["s-nr"])!=null?s:null;if(b&&b["s-sn"]===f["s-sn"]&&w===(b.__parentNode||b.parentNode)){for(b=b.nextSibling;b===f||b?.["s-sr"];)b=b?.nextSibling;if(!b||!b["s-nr"]){m=b;break}}g=g.previousSibling}}if((!m&&w!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(w,f,m,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=C.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,T(f.parentNode,g,f,n),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof y["s-rf"]=="function"&&y["s-rf"](y)}else f.nodeType===1&&(f.hidden=!0)}}if(Ae&&Pt(h.S),O.i&=-2,z.length=0,!be&&!(1&d.i)&&a["s-cr"]){const p=h.S.__childNodes||h.S.childNodes;for(const f of p)if(f["s-hn"]!==ie&&!f["s-sh"]){if(n&&f["s-ih"]==null&&(f["s-ih"]=(l=f.hidden)!=null&&l),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const y=C.document.createComment("s-nt-"+f.nodeValue);y["s-sn"]=f["s-sn"],T(f.parentNode,y,f,n),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((p=>p())),Je.length=0,Qe.forEach((p=>p())),Qe.length=0},Wt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(n-1,1),i()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const n=()=>Bn(e,t);if(!t)return In(n);queueMicrotask((()=>{n()}))},Bn=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=we(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=zt(o,(()=>we(i,"componentWillRender",void 0,n))),zt(o,(()=>Gn(e,i,t)))},zt=(e,t)=>Hn(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Hn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Gn=async(e,t,n)=>{var i;const o=e.$hostElement$,s=o["s-rc"];n&&(r=>{const l=r.o,a=r.$hostElement$,d=l.i,u=((c,h)=>{var p,f,y;const w=Ft(h),m=Ee.get(w);if(!C.document)return w;if(c=c.nodeType===11?c:C.document,m)if(typeof m=="string"){let g,b=K.get(c=c.head||c);if(b||K.set(c,b=new Set),!b.has(w)){g=C.document.createElement("style"),g.textContent=m;const x=(p=O._)!=null?p:(function(){var v,k,S;return(S=(k=(v=C.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?S:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&h.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),k=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,k?.parentNode===c?k:null)}else if("host"in c)if(We){const v=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),ze?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=m+v.textContent:c.prepend(g)}else c.append(g);1&h.i&&c.insertBefore(g,null),4&h.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),b&&b.add(w)}}else{let g=K.get(c);if(g||K.set(c,g=new Set),!g.has(w)){const b=(y=c.defaultView)!=null?y:c.ownerDocument.defaultView;let x;if(m.constructor===b.CSSStyleSheet)x=m;else{x=new b.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)x.insertRule(m.cssRules[v].cssText,v)}ze?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(w)}}return w})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&d&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),Un(e,t,o,n),s&&(s.map((r=>r())),o["s-rc"]=void 0);{const r=(i=o["s-p"])!=null?i:[],l=()=>Kn(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},Un=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,zn(e,t,i)}catch(o){ne(o,e.$hostElement$)}return null},Kn=e=>{const t=e.$hostElement$,n=t,i=e.R;we(n,"componentDidRender",void 0,t),64&e.i?we(n,"componentDidUpdate",void 0,t):(e.i|=64,Xn(t),we(n,"componentDidLoad",void 0,t),e.L(t),i||Yn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ge((()=>et(e,!1))),e.i&=-517},Yn=()=>{Ge((()=>Vn(C,"appload",{detail:{namespace:"gids-core-web"}})))},we=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(o){ne(o,i)}},Xn=e=>e.classList.add("hydrated"),Bt=(e,t,n,i)=>{const o=W(e);if(!o)return;const s=e,r=o.l.get(t),l=o.i,a=s;n=_t(n,i.t[t][0],!!(64&i.i));const d=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!d){if(o.l.set(t,n),i.F){const u=i.F[t];u&&u.map((c=>{try{const[[h,p]]=Object.entries(c);(128&l||1&p)&&(a?a[h](n,r,t):o.T.push((()=>{o.D[h](n,r,t)})))}catch(h){ne(h,s)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,r,t)===!1&&!(16&l))return;16&l||et(o,!1)}}},Zn=(e,t,n)=>{var i,o;const s=e.prototype;64&t.i&&1&n&&Nn.forEach((r=>{const l=s[r];Object.defineProperty(s,r,{value(...a){var d;const u=W(this),c=this;c?typeof l=="function"&&l.call(c,...a):(d=u?.H)==null||d.then((h=>{const p=h[r];typeof p=="function"&&p.call(h,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Lt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((i=t.t)!=null?i:{});r.map((([l,[a]])=>{if(31&a||32&a){const{get:d,set:u}=ae(s,l)||{};d&&(t.t[l][0]|=2048),u&&(t.t[l][0]|=4096),Object.defineProperty(s,l,{get(){return d?d.apply(this):(c=l,W(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,l,{set(c){const h=W(this);if(h){if(u)return(32&a?this[l]:h.$hostElement$[l])===void 0&&h.l.get(l)&&(c=h.l.get(l)),u.apply(this,[_t(c,a,!!(64&t.i))]),void Bt(this,l,c=32&a?this[l]:h.$hostElement$[l],t);Bt(this,l,c,t)}}})}}));{const l=new Map;s.attributeChangedCallback=function(a,d,u){O.jmp((()=>{var c;const h=l.get(a),p=W(this);if(this.hasOwnProperty(h),s.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==d){const b=this,x=(c=t.F)==null?void 0:c[a];x?.forEach((v=>{const[[k,S]]=Object.entries(v);b[k]!=null&&(128&g||1&S)&&b[k].call(b,u,d,a)}))}return}const f=r.find((([g])=>g===h)),y=f&&4&f[1][0],w=y&&u===null&&this[h]===void 0;y&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(s,h);w||u==this[h]||m.get&&!m.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([a,d])=>31&d[0])).map((([a,d])=>{var u;const c=d[1]||a;return l.set(c,a),512&d[0]&&((u=t.C)==null||u.push([a,c])),c}))]))}}return e},tt=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Lt(e.F),n.P=e.P,n.U=e.U,n.C=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,r)=>{const l={i:0,$hostElement$:s,o:r,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),s["s-p"]=[],s["s-rc"]=[];const a=l;s.__stencil__getHostRef=()=>a,512&r.i&&Fn(s,l)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=W(this);if(!s)return;Gt(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&O.i)){const r=W(s);if(!r)return;const l=r.o;if(1&r.i)Gt(s,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!C.document)return;const d=a["s-cr"]=C.document.createComment("");d["s-cn"]=!0,T(a,d,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){Wt(r,r.R=a);break}}l.t&&Object.entries(l.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(s,a)){const u=s[a];delete s[a],s[a]=u}})),(async(a,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>d.i|=128)),c&&c.style)){let f;typeof c.style=="string"&&(f=c.style);const y=Ft(u);Ee.has(y)||((w,m,g)=>{let b=Ee.get(w);We&&g?(b=b||new CSSStyleSheet,typeof b=="string"?b=m:b.replaceSync(m)):b=m,Ee.set(w,b)})(y,f,!!(1&u.i))}const h=d.R,p=()=>et(d,!0);h&&h["s-rc"]?h["s-rc"].push(p):p()}catch(h){ne(h,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(s,r,l)}}})(this),i&&i.call(this)},disconnectedCallback(){(async s=>{if(!(1&O.i)){const r=W(s);r?.V&&(r.V.map((l=>l())),r.V=void 0)}K.has(s)&&K.delete(s),s.shadowRoot&&K.has(s.shadowRoot)&&K.delete(s.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Tn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Zn(e,n,3)}catch(i){return ne(i),e}},Ht=(e,t)=>t,Gt=(e,t,n)=>{n&&C.document&&n.map((([i,o,s])=>{const r=Qn(C.document,e,i),l=Jn(t,s),a=ei(i);O.ael(r,o,l,a),(t.V=t.V||[]).push((()=>O.rel(r,o,l,a)))}))},Jn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){ne(i,e.$hostElement$)}},Qn=(e,t,n)=>8&n?C:t,ei=e=>Ln?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Eo(e){return e}function Ut(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ut(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Le(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ut(e))&&(i&&(i+=" "),i+=t);return i}const _e=64,Kt=10,Yt=_e/2-Kt/2,ti=_e/2,nt=2*Math.PI*Yt,ni=`0 0 ${_e} ${_e}`,ii=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,s=(nt*o/100).toFixed(2),r=(nt-parseFloat(s)).toFixed(2);return`${s} ${r}`},centerPosition:ti,circumference:nt,radius:Yt,thickness:Kt,viewBox:ni},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>Le("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:e=>Le("gids-dropdown",e)},Symbol.toStringTag,{value:"Module"})),si=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Le("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},i)=>Le("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,i)},Symbol.toStringTag,{value:"Module"})),it=Symbol("defaultPath"),Xt=Symbol("pathSet"),ot="gids-asset-paths-set";class li extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#n(t){return this.#t.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ot))};haveAssetPathsBeenSet(){return this.#n(Xt)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(it,t);else{for(const i in t)this.#e(i,t[i]);n&&this.#e(it,n)}this.#e(Xt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const n=this.#n(t);if(n===null){const i=this.#n(it);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ot,t,{once:!0}),()=>{this.removeEventListener(ot,t)}}}const st=Symbol.for("GIDS"),ai=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ci=e=>{const t=ai().assetPaths;return t[e]===void 0&&(t[e]=new li),t[e]};function rt(){return ci("@ganpatiinfo/gids-web-shared")}function di(){return rt().haveAssetPathsBeenSet()}function Zt(e){return rt().getAssetFilePath(e)}function ui(e){return rt().onAssetPathsSet(e)}let hi=0;const fi=(e,t="gids")=>e||`${t}-${hi++}`,pi=e=>e.type==="hidden",mi=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!pi(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Jt={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind","acorn","address-book","address-book-tabs","air-traffic-control","airplane","airplane-in-flight","airplane-landing","airplane-takeoff","airplane-taxiing","airplane-tilt","airplay","alarm","alien","align-bottom","align-bottom-simple","align-center-horizontal","align-center-horizontal-simple","align-center-vertical","align-center-vertical-simple","align-left","align-left-simple","align-right","align-right-simple","align-top","align-top-simple","amazon-logo","ambulance","anchor","anchor-simple","android-logo","angle","angular-logo","aperture","app-store-logo","app-window","apple-logo","apple-podcasts-logo","approximate-equals","armchair","arrow-arc-left","arrow-arc-right","arrow-bend-double-up-left","arrow-bend-double-up-right","arrow-bend-down-left","arrow-bend-down-right","arrow-bend-left-down","arrow-bend-left-up","arrow-bend-right-down","arrow-bend-right-up","arrow-bend-up-left","arrow-bend-up-right","arrow-circle-down","arrow-circle-down-left","arrow-circle-down-right","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-up-left","arrow-circle-up-right","arrow-clockwise","arrow-counter-clockwise","arrow-down-left","arrow-down-right","arrow-elbow-down-left","arrow-elbow-down-right","arrow-elbow-left","arrow-elbow-left-down","arrow-elbow-left-up","arrow-elbow-right","arrow-elbow-right-down","arrow-elbow-right-up","arrow-elbow-up-left","arrow-elbow-up-right","arrow-fat-down","arrow-fat-left","arrow-fat-line-down","arrow-fat-line-left","arrow-fat-line-right","arrow-fat-line-up","arrow-fat-lines-down","arrow-fat-lines-left","arrow-fat-lines-right","arrow-fat-lines-up","arrow-fat-right","arrow-fat-up","arrow-line-down","arrow-line-down-left","arrow-line-down-right","arrow-line-left","arrow-line-right","arrow-line-up","arrow-line-up-left","arrow-line-up-right","arrow-square-down","arrow-square-down-left","arrow-square-down-right","arrow-square-in","arrow-square-left","arrow-square-out","arrow-square-right","arrow-square-up","arrow-square-up-left","arrow-square-up-right","arrow-u-down-left","arrow-u-down-right","arrow-u-left-down","arrow-u-left-up","arrow-u-right-down","arrow-u-right-up","arrow-u-up-left","arrow-u-up-right","arrow-up-left","arrow-up-right","arrows-clockwise","arrows-counter-clockwise","arrows-down-up","arrows-horizontal","arrows-in","arrows-in-cardinal","arrows-in-line-horizontal","arrows-in-line-vertical","arrows-in-simple","arrows-left-right","arrows-merge","arrows-out","arrows-out-cardinal","arrows-out-line-horizontal","arrows-out-line-vertical","arrows-out-simple","arrows-split","arrows-vertical","article","article-medium","article-ny-times","asclepius","asterisk","asterisk-simple","at","atom","avocado","axe","baby","baby-carriage","backpack","backspace","bag","bag-simple","balloon","bandaids","bank","barbell","barcode","barn","barricade","baseball","baseball-cap","baseball-helmet","basket","basketball","bathtub","battery-charging","battery-charging-vertical","battery-empty","battery-full","battery-high","battery-low","battery-medium","battery-plus","battery-plus-vertical","battery-vertical-empty","battery-vertical-full","battery-vertical-high","battery-vertical-low","battery-vertical-medium","battery-warning","battery-warning-vertical","beach-ball","beanie","bed","beer-bottle","beer-stein","behance-logo","bell","bell-ringing","bell-simple","bell-simple-ringing","bell-simple-slash","bell-simple-z","bell-slash","bell-z","belt","bezier-curve","bicycle","binary","binoculars","biohazard","bird","blueprint","bluetooth-connected","bluetooth-slash","bluetooth-x","boat","bomb","bone","book","book-bookmark","book-open","book-open-text","book-open-user","bookmark-simple","bookmarks","bookmarks-simple","books","boot","boules","bounding-box","bowl-food","bowl-steam","bowling-ball","box-arrow-down","box-arrow-up","boxing-glove","brackets-angle","brackets-curly","brackets-round","brackets-square","brain","brandy","bread","bridge","briefcase","briefcase-metal","broadcast","broom","browser","browsers","bug","bug-beetle","bug-droid","building","building-apartment","building-office","buildings","bulldozer","bus","butterfly","cable-car","cactus","cake","calculator","calendar-blank","calendar-check","calendar-dot","calendar-dots","calendar-heart","calendar-minus","calendar-plus","calendar-slash","calendar-star","calendar-x","call-bell","camera-plus","camera-rotate","camera-slash","campfire","car","car-battery","car-profile","car-simple","cardholder","cards","cards-three","caret-circle-double-down","caret-circle-double-left","caret-circle-double-right","caret-circle-double-up","caret-circle-down","caret-circle-left","caret-circle-right","caret-circle-up","caret-circle-up-down","caret-double-down","caret-double-left","caret-double-right","caret-double-up","caret-down","caret-left","caret-line-down","caret-line-left","caret-line-right","caret-line-up","caret-right","caret-up","caret-up-down","carrot","cash-register","cassette-tape","castle-turret","cat","cell-signal-full","cell-signal-high","cell-signal-low","cell-signal-medium","cell-signal-none","cell-signal-slash","cell-signal-x","cell-tower","certificate","chair","chalkboard","chalkboard-simple","chalkboard-teacher","champagne","charging-station","chart-bar","chart-bar-horizontal","chart-donut","chart-line","chart-line-down","chart-line-up","chart-pie","chart-pie-slice","chart-polar","chart-scatter","chat-centered","chat-centered-dots","chat-centered-slash","chat-centered-text","chat-circle","chat-circle-dots","chat-circle-slash","chat-circle-text","chat-dots","chat-slash","chat-teardrop","chat-teardrop-dots","chat-teardrop-slash","chat-teardrop-text","chat-text","chats","chats-circle","chats-teardrop","check","check-circle","check-fat","check-square","check-square-offset","checkerboard","checks","cheers","cheese","chef-hat","cherries","church","cigarette","cigarette-slash","circle","circle-dashed","circle-half","circle-half-tilt","circle-notch","circles-four","circles-three","circles-three-plus","circuitry","city","clipboard","clipboard-text","clock","clock-afternoon","clock-clockwise","clock-countdown","clock-counter-clockwise","clock-user","closed-captioning","cloud-arrow-down","cloud-arrow-up","cloud-check","cloud-fog","cloud-lightning","cloud-moon","cloud-rain","cloud-slash","cloud-snow","cloud-sun","cloud-warning","cloud-x","clover","club","coat-hanger","coda-logo","code-block","code-simple","codepen-logo","codesandbox-logo","coffee","coffee-bean","coin","coin-vertical","coins","columns","columns-plus-left","columns-plus-right","command","compass-rose","compass-tool","computer-tower","confetti","contactless-payment","control","cookie","cooking-pot","copy-simple","copyleft","copyright","corners-in","corners-out","couch","court-basketball","cow","cowboy-hat","cpu","crane","crane-tower","credit-card","cricket","crop","crosshair","crosshair-simple","crown","crown-cross","crown-simple","cube","cube-focus","cube-transparent","currency-btc","currency-circle-dollar","currency-cny","currency-dollar","currency-dollar-simple","currency-eth","currency-eur","currency-gbp","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-ngn","currency-rub","cursor","cursor-click","cursor-text","cylinder","database","desk","desktop-tower","detective","dev-to-logo","device-mobile","device-mobile-camera","device-mobile-slash","device-mobile-speaker","device-rotate","device-tablet","device-tablet-camera","device-tablet-speaker","devices","diamond","diamonds-four","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","disc","disco-ball","discord-logo","divide","dna","dog","door","door-open","dot","dot-outline","dots-nine","dots-six","dots-six-vertical","dots-three","dots-three-circle","dots-three-circle-vertical","dots-three-outline","dots-three-outline-vertical","dots-three-vertical","download-simple","dress","dresser","dribbble-logo","drone","drop","drop-half","drop-half-bottom","drop-simple","drop-slash","dropbox-logo","ear","ear-slash","egg","egg-crack","eject","eject-simple","elevator","empty","engine","envelope","envelope-open","envelope-simple","envelope-simple-open","equalizer","equals","eraser","escalator-down","escalator-up","exam","exclamation-mark","exclude","exclude-square","export","eye-closed","eye-slash","eyedropper","eyedropper-sample","eyeglasses","eyes","face-mask","facebook-logo","factory","faders","faders-horizontal","fallout-shelter","fan","farm","fast-forward","fast-forward-circle","feather","fediverse-logo","figma-logo","file","file-archive","file-arrow-down","file-arrow-up","file-audio","file-c","file-c-sharp","file-cloud","file-code","file-cpp","file-css","file-csv","file-dashed","file-doc","file-html","file-image","file-ini","file-jpg","file-js","file-jsx","file-lock","file-magnifying-glass","file-md","file-minus","file-pdf","file-plus","file-png","file-ppt","file-py","file-rs","file-sql","file-svg","file-text","file-ts","file-tsx","file-txt","file-video","file-vue","file-x","file-xls","file-zip","files","film-reel","film-script","film-slate","film-strip","fingerprint-simple","finn-the-human","fire","fire-extinguisher","fire-simple","fire-truck","first-aid","first-aid-kit","fish","fish-simple","flag-banner","flag-banner-fold","flag-checkered","flag-pennant","flame","flashlight","flask","flip-horizontal","flip-vertical","floppy-disk","floppy-disk-back","flow-arrow","flower","flower-lotus","flower-tulip","flying-saucer","folder-dashed","folder-lock","folder-minus","folder-open","folder-plus","folder-simple","folder-simple-dashed","folder-simple-lock","folder-simple-minus","folder-simple-plus","folder-simple-star","folder-simple-user","folder-star","folder-user","folders","football","football-helmet","footprints","fork-knife","four-k","frame-corners","framer-logo","function","funnel","funnel-simple","funnel-simple-x","funnel-x","game-controller","garage","gas-can","gas-pump","gauge","gavel","gear","gear-fine","gear-six","gender-female","gender-intersex","gender-male","gender-neuter","gender-nonbinary","gender-transgender","ghost","gif","git-branch","git-commit","git-diff","git-fork","git-merge","git-pull-request","github-logo","gitlab-logo","gitlab-logo-simple","globe-hemisphere-east","globe-hemisphere-west","globe-simple","globe-simple-x","globe-stand","globe-x","goggles","golf","goodreads-logo","google-cardboard-logo","google-chrome-logo","google-drive-logo","google-logo","google-photos-logo","google-play-logo","google-podcasts-logo","gps","gps-fix","gps-slash","gradient","graduation-cap","grains","grains-slash","graph","graphics-card","greater-than","greater-than-or-equal","grid-four","grid-nine","guitar","hair-dryer","hamburger","hammer","hand","hand-arrow-down","hand-arrow-up","hand-coins","hand-deposit","hand-eye","hand-fist","hand-grabbing","hand-heart","hand-palm","hand-peace","hand-pointing","hand-soap","hand-swipe-left","hand-swipe-right","hand-tap","hand-waving","hand-withdraw","handbag","handbag-simple","hands-clapping","hands-praying","handshake","hard-drive","hard-drives","hard-hat","hash","hash-straight","head-circuit","headlights","headset","heart","heart-break","heart-half","heart-straight","heart-straight-break","heartbeat","hexagon","high-definition","high-heel","highlighter","highlighter-circle","hockey","hoodie","horse","hospital","hourglass","hourglass-high","hourglass-low","hourglass-medium","hourglass-simple","hourglass-simple-high","hourglass-simple-low","hourglass-simple-medium","house","house-line","house-simple","hurricane","ice-cream","identification-badge","identification-card","image-broken","image-square","images","images-square","infinity","info","instagram-logo","intersect","intersect-square","intersect-three","intersection","invoice","island","jar","jar-label","jeep","joystick","kanban","key-return","keyboard","keyhole","knife","ladder","ladder-simple","lamp","lamp-pendant","laptop","lasso","lastfm-logo","layout","leaf","lectern","lego","lego-smiley","less-than","less-than-or-equal","letter-circle-h","letter-circle-p","letter-circle-v","lifebuoy","lightbulb","lightbulb-filament","lighthouse","lightning","lightning-a","lightning-slash","line-segment","line-segments","line-vertical","link-break","link-simple","link-simple-break","link-simple-horizontal","link-simple-horizontal-break","linkedin-logo","linktree-logo","linux-logo","list-bullets","list-checks","list-dashes","list-heart","list-magnifying-glass","list-numbers","list-plus","list-star","lock-key","lock-key-open","lock-laminated","lock-laminated-open","lock-open","lock-simple","lock-simple-open","lockers","log","magic-wand","magnet","magnet-straight","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","mailbox","map-pin","map-pin-area","map-pin-line","map-pin-plus","map-pin-simple","map-pin-simple-area","map-pin-simple-line","map-trifold","markdown-logo","marker-circle","martini","mask-happy","mask-sad","mastodon-logo","math-operations","matrix-logo","medal","medal-military","medium-logo","megaphone","megaphone-simple","member-of","memory","messenger-logo","meta-logo","meteor","metronome","microphone-slash","microphone-stage","microscope","microsoft-excel-logo","microsoft-outlook-logo","microsoft-powerpoint-logo","microsoft-teams-logo","microsoft-word-logo","minus-circle","minus-square","money","money-wavy","monitor","monitor-arrow-up","monitor-play","moon-stars","moped","moped-front","mosque","motorcycle","mountains","mouse","mouse-left-click","mouse-middle-click","mouse-right-click","mouse-scroll","mouse-simple","music-note","music-note-simple","music-notes","music-notes-minus","music-notes-plus","music-notes-simple","navigation-arrow","needle","network-slash","network-x","newspaper","newspaper-clipping","not-equals","not-member-of","not-subset-of","not-superset-of","notches","note","note-blank","note-pencil","notebook","notepad","notification","notion-logo","nuclear-plant","number-circle-eight","number-circle-five","number-circle-four","number-circle-nine","number-circle-one","number-circle-seven","number-circle-six","number-circle-three","number-circle-two","number-circle-zero","number-eight","number-five","number-four","number-nine","number-one","number-seven","number-six","number-square-eight","number-square-five","number-square-four","number-square-nine","number-square-one","number-square-seven","number-square-six","number-square-three","number-square-two","number-square-zero","number-three","number-two","number-zero","numpad","nut","ny-times-logo","octagon","office-chair","onigiri","open-ai-logo","option","orange","orange-slice","oven","package","paint-brush","paint-brush-broad","paint-brush-household","paint-bucket","paint-roller","palette","panorama","pants","paper-plane","paper-plane-right","paper-plane-tilt","paperclip","paperclip-horizontal","parachute","paragraph","parallelogram","park","password","path","patreon-logo","pause-circle","paw-print","paypal-logo","peace","pen","pen-nib","pen-nib-straight","pencil","pencil-circle","pencil-line","pencil-ruler","pencil-simple","pencil-simple-line","pencil-simple-slash","pencil-slash","pentagon","pentagram","pepper","person","person-arms-spread","person-simple","person-simple-bike","person-simple-circle","person-simple-hike","person-simple-run","person-simple-ski","person-simple-snowboard","person-simple-swim","person-simple-tai-chi","person-simple-throw","person-simple-walk","perspective","phone-call","phone-disconnect","phone-incoming","phone-list","phone-outgoing","phone-pause","phone-plus","phone-slash","phone-transfer","phone-x","phosphor-logo","pi","piano-keys","picnic-table","picture-in-picture","piggy-bank","pill","ping-pong","pint-glass","pinterest-logo","pinwheel","pipe","pipe-wrench","pix-logo","pizza","planet","plant","play-circle","play-pause","playlist","plug","plug-charging","plugs","plugs-connected","plus-circle","plus-minus","plus-square","poker-chip","police-car","polygon","popcorn","popsicle","potted-plant","prescription","presentation","presentation-chart","prohibit","prohibit-inset","projector-screen","projector-screen-chart","pulse","push-pin","push-pin-simple","push-pin-simple-slash","push-pin-slash","puzzle-piece","qr-code","question-mark","queue","quotes","rabbit","racquet","radical","radio","radio-button","radioactive","rainbow","rainbow-cloud","ranking","read-cv-logo","receipt","receipt-x","record","rectangle","rectangle-dashed","recycle","reddit-logo","repeat-once","replit-logo","resize","rewind","rewind-circle","road-horizon","robot","rocket","rocket-launch","rows","rows-plus-bottom","rows-plus-top","rss","rss-simple","rug","ruler","sailboat","scales","scan","scan-smiley","scissors","scooter","screencast","screwdriver","scribble","scribble-loop","scroll","seal","seal-check","seal-percent","seal-question","seal-warning","seat","seatbelt","security-camera","selection","selection-all","selection-background","selection-foreground","selection-inverse","selection-plus","selection-slash","shapes","share-fat","share-network","shield-check","shield-checkered","shield-chevron","shield-plus","shield-slash","shield-star","shield-warning","shipping-container","shirt-folded","shooting-star","shopping-bag","shopping-bag-open","shopping-cart","shopping-cart-simple","shovel","shower","shrimp","shuffle-angular","shuffle-simple","sidebar","sidebar-simple","sigma","sign-in","sign-out","signature","signpost","sim-card","siren","sketch-logo","skip-back","skip-back-circle","skip-forward","skip-forward-circle","skull","skype-logo","slack-logo","sliders","sliders-horizontal","slideshow","smiley","smiley-angry","smiley-blank","smiley-meh","smiley-melting","smiley-nervous","smiley-sad","smiley-sticker","smiley-wink","smiley-x-eyes","snapchat-logo","sneaker","sneaker-move","snowflake","soccer-ball","sock","solar-panel","solar-roof","sort-ascending","sort-descending","soundcloud-logo","spade","sparkle","speaker-hifi","speaker-high","speaker-low","speaker-none","speaker-simple-high","speaker-simple-low","speaker-simple-none","speaker-simple-slash","speaker-simple-x","speaker-slash","speaker-x","speedometer","sphere","spinner","spinner-ball","spinner-gap","spiral","split-horizontal","split-vertical","spotify-logo","spray-bottle","square","square-half","square-half-bottom","square-logo","square-split-horizontal","square-split-vertical","squares-four","stack","stack-minus","stack-overflow-logo","stack-plus","stack-simple","stairs","stamp","standard-definition","star-and-crescent","star-four","star-half","star-of-david","steam-logo","steering-wheel","steps","stethoscope","sticker","stool","stop-circle","storefront","strategy","stripe-logo","student","subset-of","subset-proper-of","subtitles","subtitles-slash","subtract","subtract-square","subway","suitcase","suitcase-rolling","suitcase-simple","sun-dim","sun-horizon","sunglasses","superset-of","superset-proper-of","swap","swatches","swimming-pool","sword","synagogue","syringe","t-shirt","table","tabs","tag","tag-chevron","tag-simple","target","taxi","tea-bag","telegram-logo","television","television-simple","tennis-ball","tent","terminal","terminal-window","test-tube","text-a-underline","text-aa","text-align-center","text-align-justify","text-align-left","text-align-right","text-b","text-columns","text-h","text-h-five","text-h-four","text-h-one","text-h-six","text-h-three","text-h-two","text-indent","text-italic","text-outdent","text-strikethrough","text-subscript","text-superscript","text-t","text-t-slash","text-underline","textbox","thermometer","thermometer-cold","thermometer-hot","thermometer-simple","threads-logo","three-d","ticket","tidal-logo","tiktok-logo","tilde","timer","tip-jar","tipi","tire","toggle-left","toggle-right","toilet","toilet-paper","toolbox","tooth","tornado","tote","tote-simple","towel","tractor","trademark","trademark-registered","traffic-cone","traffic-sign","traffic-signal","train","train-regional","train-simple","tram","translate","trash","trash-simple","tray","tray-arrow-down","tray-arrow-up","treasure-chest","tree","tree-evergreen","tree-palm","tree-structure","tree-view","triangle","triangle-dashed","trolley","trolley-suitcase","trophy","truck","truck-trailer","tumblr-logo","twitch-logo","twitter-logo","umbrella","umbrella-simple","union","unite","unite-square","upload-simple","usb","user-check","user-circle","user-circle-check","user-circle-dashed","user-circle-gear","user-circle-minus","user-circle-plus","user-focus","user-gear","user-list","user-minus","user-plus","user-rectangle","user-sound","user-square","user-switch","users-four","users-three","van","vault","vector-three","vector-two","vibrate","video-camera","video-camera-slash","video-conference","vignette","vinyl-record","virtual-reality","virus","visor","voicemail","volleyball","wall","warehouse","warning-circle","warning-diamond","warning-octagon","washing-machine","watch","wave-sawtooth","wave-sine","wave-square","wave-triangle","waveform","waveform-slash","waves","webcam","webcam-slash","webhooks-logo","wechat-logo","whatsapp-logo","wheelchair","wheelchair-motion","wifi-high","wifi-low","wifi-medium","wifi-none","wifi-slash","wifi-x","windmill","windows-logo","wine","wrench","x","x-circle","x-logo","x-square","yarn","yin-yang","youtube-logo"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Qt=new Map;for(const e in Jt)for(const t of Jt[e])Qt.set(t,e);function gi(e){return Qt.get(e)}function en(e,t="regular",n){const i=gi(e);let o=i??"";return n&&i&&(o=n(i)??i),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:bi}=si,lt=({name:e,size:t,appearance:n,alt:i,class:o,titleId:s,src:r,...l})=>{const a=fi(s);let d=r;return d===void 0&&di()&&(d=en(e,n,Zt)),E("svg",{ref:u=>{d===void 0&&ui((()=>{(function(c,h,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",en(h,p,Zt)),c.appendChild(f)})(u,e,n)}))},width:"16",height:"16",class:bi({size:t},o),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...l},i!==""&&E("title",{id:a},i||e),d!==void 0?E("use",{href:d}):null)},Y=Math.min,_=Math.max,Ie=Math.round,Te=Math.floor,V=e=>({x:e,y:e}),yi={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e,t,n){return _(e,Y(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function tn(e){return e==="x"?"y":"x"}function ct(e){return e==="y"?"height":"width"}function B(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function dt(e){return tn(B(e))}function wi(e,t,n){n===void 0&&(n=!1);const i=ue(e),o=dt(e),s=ct(o);let r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=De(r)),[r,De(r)]}function vi(e){const t=De(e);return[ut(e),t,ut(t)]}function ut(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nn=["left","right"],on=["right","left"],xi=["top","bottom"],ki=["bottom","top"];function Ei(e,t,n){switch(e){case"top":case"bottom":return n?t?on:nn:t?nn:on;case"left":case"right":return t?xi:ki;default:return[]}}function Si(e,t,n,i){const o=ue(e);let s=Ei(X(e),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),t&&(s=s.concat(s.map(ut)))),s}function De(e){const t=X(e);return yi[t]+e.slice(t.length)}function Ci(e){return{top:0,right:0,bottom:0,left:0,...e}}function sn(e){return typeof e!="number"?Ci(e):{top:e,right:e,bottom:e,left:e}}function Re(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}function rn(e,t,n){let{reference:i,floating:o}=e;const s=B(t),r=dt(t),l=ct(r),a=X(t),d=s==="y",u=i.x+i.width/2-o.width/2,c=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:i.y-o.height};break;case"bottom":p={x:u,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-o.width,y:c};break;default:p={x:i.x,y:i.y}}switch(ue(t)){case"start":p[r]-=h*(n&&d?-1:1);break;case"end":p[r]+=h*(n&&d?-1:1);break}return p}async function Ai(e,t){var n;t===void 0&&(t={});const{x:i,y:o,platform:s,rects:r,elements:l,strategy:a}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:h=!1,padding:p=0}=de(t,e),f=sn(p),w=l[h?c==="floating"?"reference":"floating":c],m=Re(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:u,strategy:a})),g=c==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),x=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},v=Re(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:b,strategy:a}):g);return{top:(m.top-v.top+f.top)/x.y,bottom:(v.bottom-m.bottom+f.bottom)/x.y,left:(m.left-v.left+f.left)/x.x,right:(v.right-m.right+f.right)/x.x}}const Pi=50,Oi=async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=r.detectOverflow?r:{...r,detectOverflow:Ai},a=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=rn(d,i,a),h=i,p=0;const f={};for(let y=0;y<s.length;y++){const w=s[y];if(!w)continue;const{name:m,fn:g}=w,{x:b,y:x,data:v,reset:k}=await g({x:u,y:c,initialPlacement:i,placement:h,strategy:o,middlewareData:f,rects:d,platform:l,elements:{reference:e,floating:t}});u=b??u,c=x??c,f[m]={...f[m],...v},k&&p<Pi&&(p++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(d=k.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:u,y:c}=rn(d,h,a)),y=-1)}return{x:u,y:c,placement:h,strategy:o,middlewareData:f}},Fi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:a}=t,{element:d,padding:u=0}=de(e,t)||{};if(d==null)return{};const c=sn(u),h={x:n,y:i},p=dt(o),f=ct(p),y=await r.getDimensions(d),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[p]-h[p]-s.floating[f],v=h[p]-s.reference[p],k=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let S=k?k[b]:0;(!S||!await(r.isElement==null?void 0:r.isElement(k)))&&(S=l.floating[b]||s.floating[f]);const A=x/2-v/2,P=S/2-y[f]/2-1,F=Y(c[m],P),J=Y(c[g],P),j=F,Q=S-y[f]-J,N=S/2-y[f]/2+A,le=at(j,N,Q),U=!a.arrow&&ue(o)!=null&&N!==le&&s.reference[f]/2-(N<j?F:J)-y[f]/2<0,$=U?N<j?N-j:N-Q:0;return{[p]:h[p]+$,data:{[p]:le,centerOffset:N-le-$,...U&&{alignmentOffset:$}},reset:U}}}),Ni=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:a,elements:d}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:y=!0,...w}=de(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(o),g=B(l),b=X(l)===l,x=await(a.isRTL==null?void 0:a.isRTL(d.floating)),v=h||(b||!y?[De(l)]:vi(l)),k=f!=="none";!h&&k&&v.push(...Si(l,y,f,x));const S=[l,...v],A=await a.detectOverflow(t,w),P=[];let F=((i=s.flip)==null?void 0:i.overflows)||[];if(u&&P.push(A[m]),c){const N=wi(o,r,x);P.push(A[N[0]],A[N[1]])}if(F=[...F,{placement:o,overflows:P}],!P.every(N=>N<=0)){var J,j;const N=(((J=s.flip)==null?void 0:J.index)||0)+1,le=S[N];if(le&&(!(c==="alignment"?g!==B(le):!1)||F.every(M=>B(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:N,overflows:F},reset:{placement:le}};let U=(j=F.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:j.placement;if(!U)switch(p){case"bestFit":{var Q;const $=(Q=F.filter(M=>{if(k){const ee=B(M.placement);return ee===g||ee==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(ee=>ee>0).reduce((ee,ko)=>ee+ko,0)]).sort((M,ee)=>M[1]-ee[1])[0])==null?void 0:Q[0];$&&(U=$);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}},Li=new Set(["left","top"]);async function _i(e,t){const{placement:n,platform:i,elements:o}=e,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=X(n),l=ue(n),a=B(n)==="y",d=Li.has(r)?-1:1,u=s&&a?-1:1,c=de(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:f}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return l&&typeof f=="number"&&(p=l==="end"?f*-1:f),a?{x:p*u,y:h*d}:{x:h*d,y:p*u}}const Ii=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:s,placement:r,middlewareData:l}=t,a=await _i(t,e);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:{...a,placement:r}}}}},Ti=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o,platform:s}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:m=>{let{x:g,y:b}=m;return{x:g,y:b}}},...d}=de(e,t),u={x:n,y:i},c=await s.detectOverflow(t,d),h=B(X(o)),p=tn(h);let f=u[p],y=u[h];if(r){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",b=f+c[m],x=f-c[g];f=at(b,f,x)}if(l){const m=h==="y"?"top":"left",g=h==="y"?"bottom":"right",b=y+c[m],x=y-c[g];y=at(b,y,x)}const w=a.fn({...t,[p]:f,[h]:y});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[p]:r,[h]:l}}}}}},Di=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:o,rects:s,platform:r,elements:l}=t,{apply:a=()=>{},...d}=de(e,t),u=await r.detectOverflow(t,d),c=X(o),h=ue(o),p=B(o)==="y",{width:f,height:y}=s.floating;let w,m;c==="top"||c==="bottom"?(w=c,m=h===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(m=c,w=h==="end"?"top":"bottom");const g=y-u.top-u.bottom,b=f-u.left-u.right,x=Y(y-u[w],g),v=Y(f-u[m],b),k=!t.middlewareData.shift;let S=x,A=v;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=b),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(S=g),k&&!h){const F=_(u.left,0),J=_(u.right,0),j=_(u.top,0),Q=_(u.bottom,0);p?A=f-2*(F!==0||J!==0?F+J:_(u.left,u.right)):S=y-2*(j!==0||Q!==0?j+Q:_(u.top,u.bottom))}await a({...t,availableWidth:A,availableHeight:S});const P=await r.getDimensions(l.floating);return f!==P.width||y!==P.height?{reset:{rects:!0}}:{}}}};function $e(){return typeof window<"u"}function he(e){return ln(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(ln(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ln(e){return $e()?e instanceof Node||e instanceof I(e).Node:!1}function D(e){return $e()?e instanceof Element||e instanceof I(e).Element:!1}function H(e){return $e()?e instanceof HTMLElement||e instanceof I(e).HTMLElement:!1}function an(e){return!$e()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof I(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&o!=="inline"&&o!=="contents"}function Ri(e){return/^(table|td|th)$/.test(he(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const $i=/transform|translate|scale|rotate|perspective|filter/,Mi=/paint|layout|strict|content/,oe=e=>!!e&&e!=="none";let ht;function ft(e){const t=D(e)?R(e):e;return oe(t.transform)||oe(t.translate)||oe(t.scale)||oe(t.rotate)||oe(t.perspective)||!pt()&&(oe(t.backdropFilter)||oe(t.filter))||$i.test(t.willChange||"")||Mi.test(t.contain||"")}function Vi(e){let t=Z(e);for(;H(t)&&!fe(t);){if(ft(t))return t;if(Me(t))return null;t=Z(t)}return null}function pt(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function fe(e){return/^(html|body|#document)$/.test(he(e))}function R(e){return I(e).getComputedStyle(e)}function Ve(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(he(e)==="html")return e;const t=e.assignedSlot||e.parentNode||an(e)&&e.host||q(e);return an(t)?t.host:t}function cn(e){const t=Z(e);return fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ve(t)?t:cn(t)}function xe(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=cn(e),s=o===((i=e.ownerDocument)==null?void 0:i.body),r=I(o);if(s){const l=mt(r);return t.concat(r,r.visualViewport||[],ve(o)?o:[],l&&n?xe(l):[])}else return t.concat(o,xe(o,[],n))}function mt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dn(e){const t=R(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=H(e),s=o?e.offsetWidth:n,r=o?e.offsetHeight:i,l=Ie(n)!==s||Ie(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function gt(e){return D(e)?e:e.contextElement}function pe(e){const t=gt(e);if(!H(t))return V(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:s}=dn(t);let r=(s?Ie(n.width):n.width)/i,l=(s?Ie(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const qi=V(0);function un(e){const t=I(e);return!pt()||!t.visualViewport?qi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ji(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==I(e)?!1:t}function se(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=gt(e);let r=V(1);t&&(i?D(i)&&(r=pe(i)):r=pe(e));const l=ji(s,n,i)?un(s):V(0);let a=(o.left+l.x)/r.x,d=(o.top+l.y)/r.y,u=o.width/r.x,c=o.height/r.y;if(s){const h=I(s),p=i&&D(i)?I(i):i;let f=h,y=mt(f);for(;y&&i&&p!==f;){const w=pe(y),m=y.getBoundingClientRect(),g=R(y),b=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,x=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;a*=w.x,d*=w.y,u*=w.x,c*=w.y,a+=b,d+=x,f=I(y),y=mt(f)}}return Re({width:u,height:c,x:a,y:d})}function qe(e,t){const n=Ve(e).scrollLeft;return t?t.left+n:se(q(e)).left+n}function hn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-qe(e,n),o=n.top+t.scrollTop;return{x:i,y:o}}function Wi(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const s=o==="fixed",r=q(i),l=t?Me(t.floating):!1;if(i===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},d=V(1);const u=V(0),c=H(i);if((c||!c&&!s)&&((he(i)!=="body"||ve(r))&&(a=Ve(i)),c)){const p=se(i);d=pe(i),u.x=p.x+i.clientLeft,u.y=p.y+i.clientTop}const h=r&&!c&&!s?hn(r,a):V(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-a.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-a.scrollTop*d.y+u.y+h.y}}function zi(e){return Array.from(e.getClientRects())}function Bi(e){const t=q(e),n=Ve(e),i=e.ownerDocument.body,o=_(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=_(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-n.scrollLeft+qe(e);const l=-n.scrollTop;return R(i).direction==="rtl"&&(r+=_(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}const fn=25;function Hi(e,t){const n=I(e),i=q(e),o=n.visualViewport;let s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(o){s=o.width,r=o.height;const u=pt();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}const d=qe(i);if(d<=0){const u=i.ownerDocument,c=u.body,h=getComputedStyle(c),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,f=Math.abs(i.clientWidth-c.clientWidth-p);f<=fn&&(s-=f)}else d<=fn&&(s+=d);return{width:s,height:r,x:l,y:a}}function Gi(e,t){const n=se(e,!0,t==="fixed"),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=H(e)?pe(e):V(1),r=e.clientWidth*s.x,l=e.clientHeight*s.y,a=o*s.x,d=i*s.y;return{width:r,height:l,x:a,y:d}}function pn(e,t,n){let i;if(t==="viewport")i=Hi(e,n);else if(t==="document")i=Bi(q(e));else if(D(t))i=Gi(t,n);else{const o=un(e);i={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Re(i)}function mn(e,t){const n=Z(e);return n===t||!D(n)||fe(n)?!1:R(n).position==="fixed"||mn(n,t)}function Ui(e,t){const n=t.get(e);if(n)return n;let i=xe(e,[],!1).filter(l=>D(l)&&he(l)!=="body"),o=null;const s=R(e).position==="fixed";let r=s?Z(e):e;for(;D(r)&&!fe(r);){const l=R(r),a=ft(r);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ve(r)&&!a&&mn(e,r))?i=i.filter(u=>u!==r):o=l,r=Z(r)}return t.set(e,i),i}function Ki(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const r=[...n==="clippingAncestors"?Me(t)?[]:Ui(t,this._c):[].concat(n),i],l=pn(t,r[0],o);let a=l.top,d=l.right,u=l.bottom,c=l.left;for(let h=1;h<r.length;h++){const p=pn(t,r[h],o);a=_(p.top,a),d=Y(p.right,d),u=Y(p.bottom,u),c=_(p.left,c)}return{width:d-c,height:u-a,x:c,y:a}}function Yi(e){const{width:t,height:n}=dn(e);return{width:t,height:n}}function Xi(e,t,n){const i=H(t),o=q(t),s=n==="fixed",r=se(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const a=V(0);function d(){a.x=qe(o)}if(i||!i&&!s)if((he(t)!=="body"||ve(o))&&(l=Ve(t)),i){const p=se(t,!0,s,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else o&&d();s&&!i&&o&&d();const u=o&&!i&&!s?hn(o,l):V(0),c=r.left+l.scrollLeft-a.x-u.x,h=r.top+l.scrollTop-a.y-u.y;return{x:c,y:h,width:r.width,height:r.height}}function bt(e){return R(e).position==="static"}function gn(e,t){if(!H(e)||R(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function bn(e,t){const n=I(e);if(Me(e))return n;if(!H(e)){let o=Z(e);for(;o&&!fe(o);){if(D(o)&&!bt(o))return o;o=Z(o)}return n}let i=gn(e,t);for(;i&&Ri(i)&&bt(i);)i=gn(i,t);return i&&fe(i)&&bt(i)&&!ft(i)?n:i||Vi(e)||n}const Zi=async function(e){const t=this.getOffsetParent||bn,n=this.getDimensions,i=await n(e.floating);return{reference:Xi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ji(e){return R(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Wi,getDocumentElement:q,getClippingRect:Ki,getOffsetParent:bn,getElementRects:Zi,getClientRects:zi,getDimensions:Yi,getScale:pe,isElement:D,isRTL:Ji};function yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Qi(e,t){let n=null,i;const o=q(e);function s(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),s();const d=e.getBoundingClientRect(),{left:u,top:c,width:h,height:p}=d;if(l||t(),!h||!p)return;const f=Te(c),y=Te(o.clientWidth-(u+h)),w=Te(o.clientHeight-(c+p)),m=Te(u),b={rootMargin:-f+"px "+-y+"px "+-w+"px "+-m+"px",threshold:_(0,Y(1,a))||1};let x=!0;function v(k){const S=k[0].intersectionRatio;if(S!==a){if(!x)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!yn(d,e.getBoundingClientRect())&&r(),x=!1}try{n=new IntersectionObserver(v,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(e)}return r(!0),s}function eo(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,d=gt(e),u=o||s?[...d?xe(d):[],...t?xe(t):[]]:[];u.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=d&&l?Qi(d,n):null;let h=-1,p=null;r&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===d&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!a&&p.observe(d),t&&p.observe(t));let f,y=a?se(e):null;a&&w();function w(){const m=se(e);y&&!yn(y,m)&&n(),y=m,f=requestAnimationFrame(w)}return n(),()=>{var m;u.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(f)}}const to=Ii,no=Ti,io=Ni,wn=Di,oo=Fi,so=(e,t,n)=>{const i=new Map,o={platform:yt,...n},s={...o.platform,_c:i};return Oi(e,t,{...o,platform:s})};function vn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const ro=/transform|translate|scale|rotate|perspective|filter/,lo=/paint|layout|strict|content/,re=e=>!!e&&e!=="none";let wt;function ao(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof vn(n).Element)?vn(i=e).getComputedStyle(i):e);var n,i;return re(t.transform)||re(t.translate)||re(t.scale)||re(t.rotate)||re(t.perspective)||(wt==null&&(wt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!wt&&(re(t.backdropFilter)||re(t.filter)))||ro.test(t.willChange||"")||lo.test(t.contain||"")}function co(e){return(function(t){for(let n=t;n;n=vt(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=vt(t);n;n=vt(n)){if(!(n instanceof Element))continue;const i=getComputedStyle(n);if(i.display!=="contents"&&(i.position!=="static"||ao(i)||n.tagName==="BODY"))return n}return null})(e)}function vt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var ke;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(ke||(ke={}));let uo=(G=class{constructor(t,n){this.el=t,this.config=n,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=n.placement,this.cleanup=null}getRootElement(){return this.el.shadowRoot??this.el}initialize(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250;const t=this.getRootElement();this.floatingElement=t.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?t.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(t):this.el.shadowRoot?this.config.getAnchorElementFromSlot(this.el.shadowRoot):null,this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&(this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=eo(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=this.config.offset??this.offset,n=[to(t)],i=this.config.lockToMainAxis??!1,o=this.config.constrainPlacements,s=o&&o.length>0?o.includes(this.config.placement)?this.config.placement:o[0]:this.config.placement,r=io(o&&o.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:o.filter((d=>d!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!i&&"alignment",fallbackAxisSideDirection:"end",padding:t}),l=this.config.elementType===ke.POPOVER,a=no({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===ke.TOOLTIP||l&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(wn({apply({elements:d,rects:u}){Object.assign(d.floating.style,{width:`${u.reference.width}px`})}})),s?.includes("-")?n.push(r,a):n.push(a,r),this.config.constrainToViewportHeight&&n.push(wn({padding:t,apply:({availableHeight:d,elements:u})=>{const c=Array.from(u.floating.children).find((h=>h!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,d)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(oo({element:this.arrowEl,padding:t})),so(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...yt,getOffsetParent:d=>yt.getOffsetParent(d,co)}}).then((({x:d,y:u,middlewareData:c,placement:h})=>{if(l){const w=h.startsWith("left")||h.startsWith("right"),m=h.startsWith("top")||h.startsWith("bottom"),g=this.isAnchorInViewport(),b=!!m||(w?g:this.popoverMainAxisEnabled);if(b!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=b,void this.updatePosition()}this.currentPlacement=h,Object.assign(this.floatingElement.style,{left:`${d}px`,top:`${u}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=h.split("-")[0]??"bottom",f={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:y}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const w=this.arrowEl.offsetWidth,{x:m,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[f]:-w/2+"px",transform:"rotate(45deg)",zIndex:`${y}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(t,10),i=Number.isNaN(n)?-1:n-1,o=Number.isNaN(n)?i+1:n;return Number.isNaN(o)||(this.floatingElement.style.zIndex=`${o}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const r=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),l=Number.parseInt(r,10),a=window.getComputedStyle?.(s).position??"";(r===""||r==="auto"||Number.isNaN(l)||l<o)&&(s.style.zIndex=`${o}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:o,arrowZIndex:i}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),G.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=G.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),G.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,i=window.innerWidth||document.documentElement?.clientWidth||0,o=t.height/2+2*this.offset;return t.bottom>=o&&t.top<=n-o&&t.right>=0&&t.left<=i}},G.currentFloatingElements=new Map,G);const ho=tt(class extends Se{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.constrainPlacements=["bottom","top"],this.matchReferenceWidth=!0,this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const n=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!n&&this.floatingElementManager.isVisible()?this.onFlyoutPanelShow():n&&!this.floatingElementManager.isVisible()&&this.onFlyoutPanelHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onFlyoutPanelHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onFlyoutPanelHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new uo(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:ke.FLYOUT_PANEL,constrainPlacements:this?.constrainPlacements??["bottom","top"],constrainToViewportHeight:!0,matchReferenceWidth:this?.matchReferenceWidth??!0,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onFlyoutPanelShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onFlyoutPanelHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#flyout-panel");if(!e)return;const t=[],n=kn(e);t.push(...n);const i=this._el.shadowRoot?.querySelector("slot:not([name])");i&&i.assignedElements({flatten:!0}).forEach((o=>{const s=kn(o);t.push(...s)})),this.focusableElements=t.sort(((o,s)=>{const r=o.compareDocumentPosition(s),l=!!(r&Node.DOCUMENT_POSITION_FOLLOWING),a=!!(r&Node.DOCUMENT_POSITION_PRECEDING);return l?-1:a?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let i=document.activeElement;if(i===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(i=s)}const o=this.focusableElements.indexOf(i)!==-1;e.shiftKey?i!==t&&o||(e.preventDefault(),n&&n.focus()):i!==n&&o||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}constrainPlacementsChanged(e){this.floatingElementManager?.updateConfig({constrainPlacements:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}flyoutPanelVisible(){return!!this.floatingElementManager.isVisible()}openPanel(e){this.floatingElementManager.isVisible()||this.handleToggleEvent(e)}closePanel(e){this.floatingElementManager.isVisible()&&this.handleToggleEvent(e)}async isFlyoutPanelVisible(){return this.flyoutPanelVisible()}async openFlyoutPanel(e){this.openPanel(e)}async closeFlyoutPanel(e){this.closePanel(e)}render(){return E(Ht,{key:"5c1652a168d27045c28c7cae5d56fe3c3b43457f"},E("slot",{key:"dbadbb0e93053a04d647fd7af31c2363813c46c9",name:"anchor"}),E("div",{key:"ca341b9babdf1c8d5862e0517814892743f27a07",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},E("div",{key:"b7bd390c78988bd35673c6d7aee4fb122bc0d9e5"},E("slot",{key:"c989d0ac0497f350d2403aa075c6bc46c9821f2a"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-flyout-panel{--gidsFlyoutPanel-background:var(--gids-elevation-surface-overlay-default);--gidsFlyoutPanel-text-color:var(--gids-color-text-default);--gidsFlyoutPanel-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsFlyoutPanel-border-radius:var(--gids-border-radius-lg);--gidsFlyoutPanel-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsFlyoutPanel-background)}[part=flyout-panel]{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);position:absolute;display:inline-block;background-color:var(--gidsFlyoutPanel-background);color:var(--gidsFlyoutPanel-text-color);border-radius:var(--gidsFlyoutPanel-border-radius);box-shadow:var(--gidsFlyoutPanel-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=flyout-panel]:focus{outline:none}[part=flyout-panel].gids-flyout-panel--visible{pointer-events:initial;opacity:1}"}},[257,"gids-flyout-panel",{htmlFor:[513,"for"],placement:[513],constrainPlacements:[16],matchReferenceWidth:[516,"match-reference-width"],isFlyoutPanelVisible:[64],openFlyoutPanel:[64],closeFlyoutPanel:[64]},void 0,{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}]),xn=e=>{if(!(e instanceof Se)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const n=e.tabIndex;e.tabIndex=-1,e.focus();const i=document.activeElement===e;return e.tabIndex=n,i&&e.blur(),i}catch{return!1}},kn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>xn(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];xn(e)&&n.push(e);let i=t.nextNode();for(;i!==null;)n.push(i),i=t.nextNode();return n};function En(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,ho))}))}En();const{getGidsSpinnerControlClassNames:fo}=ri,{calculateStrokeDasharray:po,thickness:Sn,radius:Cn,centerPosition:je,viewBox:mo}=ii,go=({size:e,indeterminate:t,value:n,max:i,...o})=>{let s;return t||(s={strokeDashArray:po(n,i||0),strokeDashoffset:"0"}),E("svg",{class:fo({size:e,indeterminate:t,value:n}),viewBox:mo,...o},E("circle",{class:"gids-spinner-control__track",cx:je,cy:je,r:Cn,"stroke-width":Sn}),E("circle",{style:s,class:"gids-spinner-control__progress",cx:je,cy:je,r:Cn,"stroke-width":Sn}))},bo=tt(class extends Se{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(mi(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return E(Ht,{key:"571ed3a5815c1cef82a0115634d4d181a73e0515"},E("slot",{key:"50188a10937675d31a93e46070fd2ce7709a0763",name:"leadingIcon"}),this.leadingLabel&&E("span",{key:"37aa8f33f1490ef0ca77f6ae7fabc0abb88ad749",class:"gids-input__label"},this.leadingLabel),E("slot",{key:"d1482ff4d6b9f2a0da0cedc45a738eeae6ee969d",name:"leadingAccessory"}),E("input",{key:"ba004d40d2feee851187e3c7d778b423976817d6",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),E("slot",{key:"b74721099ecf423895c306e63d42d6ae5ddbf8d2",name:"trailingAccessory"}),this.trailingLabel&&E("span",{key:"2ffdc81450931d653f76948961a4f55559df9010",class:"gids-input__label"},this.trailingLabel),E("slot",{key:"806cae677da57a02924ff0d0166a2bf16c5a9e15",name:"trailingIcon"}),this.status==="incomplete"&&E(lt,{key:"a238cdac45fc718976cce8ca022e32a946d9fe1a",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&E(lt,{key:"2ce2f8354b5f1c1d2d2376fae1b672e6361cd504",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&E(go,{key:"1d93199143a67f7a1a0b1e9a96dc698974248a61",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function An(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,bo))}))}An();const{getGidsDropdownClassNames:yo,getGidsChevronButtonControlClassNames:wo}=oi,xt="gids-dropdown-item--active",Pn=tt(class extends Se{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.menuPlacement="bottom",this.menuConstrainPlacements=["bottom","top"],this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.suppressNextFilterInput=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:i,disabled:o,id:s,isPlaceholderItem:r}=t.detail;o||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:s,value:n,title:i,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const i=n.closest(".gids-dropdown-item");if(!i||!this.hostElement.contains(i)||i.hasAttribute("disabled")||i.getAttribute("aria-disabled")==="true")return;const o=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof o!="string"||o.length===0)return;const s=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof s!="string"||s.length===0)return;const r=i.getAttribute("is-placeholder-item")??"";let l=i.textContent?.trim()??"";l.endsWith("checkmark")&&(l=l.slice(0,-9).trim()),this.applySelection({id:s,value:o,title:l.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{if(this.suppressNextFilterInput)return void(this.suppressNextFilterInput=!1);const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,i=n==="ArrowDown";return!i&&n!=="ArrowUp"||t.metaKey||t.ctrlKey?n==="Home"?(t.preventDefault(),void this.setActiveByIndex(0)):n==="End"?(t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1)):void(n==="Enter"&&this.selectActive()&&t.preventDefault()):(t.preventDefault(),void this.moveActive(i?1:-1))},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=()=>{},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)})))},this.handleDocumentPointerDown=t=>{t.button!==2&&!(typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)&&this.hostElement.contains(t.target)},this.handleDocumentKeyDown=t=>{const n=t.key;n!=="Escape"&&n!=="Esc"||t.preventDefault()},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue=""}}handleInteractivityChange(e){this.disabled=e,this.readOnly=e}menuPlacementChanged(e){this.menuPlacement=e}menuConstrainPlacementsChanged(e){this.menuConstrainPlacements=e}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}componentDidRender(){this.flyoutPanelElement=this.hostElement.querySelector("gids-flyout-panel")??void 0}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.resetItemVisibility(),this.onSelectionChange?.(e);const t=new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e});this.hostElement.dispatchEvent(t),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,this.suppressNextFilterInput=!0,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.suppressNextFilterInput&&(this.suppressNextFilterInput=!1))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(xt))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((o=>o.classList.remove(xt))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),i=t[n];if(!i)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,i.classList.add(xt),i.scrollIntoView({block:"nearest"}),this.setActiveDescendant(i.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase();e.length===0||n.includes(e)?t.style.removeProperty("display"):t.style.display="none"}))}resetItemVisibility(){this.getItemElements().forEach((e=>{e.style.removeProperty("display")}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=o=>{t?.(o),this.handleFilterInput(o)};const n=e.onBlur;e.onBlur=o=>{n?.(o),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=o=>{i?.(o),o.defaultPrevented||this.handleInputKeyDown(o)},e}render(){const e=yo(),t=this.getEnhancedInputProps(),n=typeof t.id=="string"?t.id:void 0,i=n?`${n}__menu`:void 0,o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",s=this.disabled||this.readOnly?"":`dropdown-${i}`,r=E("button",{key:"7ea973413d842a50076beefa4c7e44e690ce64ca",class:wo({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:l=>this.handleChevronClickToggle(l),"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},E("span",{key:"1579fc5f3c7e582619754aef7830ea7079f38963",class:"gids-button__content"},E(lt,{key:"e2781f65e2eab2ea398070eca03855d89343870e",name:"chevron-vertical",alt:""})));return E("div",{key:"9c55513535108fb289d6011102ecd7ef9f217c79",class:e},E("gids-input",{key:"5c5be9280f69ef3b031a34f50927e1f649c4911e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:t,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur,id:s},this.hasLeadingIcon&&E("slot",{key:"502e234e0fb147df023d1e969975167975b4dd7f",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&E("slot",{key:"f447253a177d9a724d4c60f63c30232dc23add11",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),r),E("gids-flyout-panel",{key:"905193245274409ea826af63a658c98de1e8966d",placement:this?.menuPlacement??"bottom",constrainPlacements:this?.menuConstrainPlacements??["bottom","top"],onClick:this.handleMenuClick,htmlFor:s},E("slot",{key:"b398ffd22d450277271a51fce7f52164b2f76229"})))}get hostElement(){return this}static get watchers(){return{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}}static get style(){return".gids-dropdown{position:relative}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}"}},[260,"gids-dropdown",{appearance:[1],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],menuPlacement:[1,"menu-placement"],menuConstrainPlacements:[16],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}]);function On(){typeof customElements<"u"&&["gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,Pn);break;case"gids-flyout-panel":customElements.get(e)||En();break;case"gids-input":customElements.get(e)||An()}}))}On();const vo=Pn,xo=On;te.GidsDropdown=vo,te.defineCustomElement=xo,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((v=>{h===M(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=p(!0),c.assignedNodes=p(!1)})(l),r=e&&e.m&&e.m[i],r&&r.O===o.O&&e.S&&Ce(e.S)),l},Ce=e=>{N.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of i?s.reverse():s)o["s-sh"]!=null&&(E(t,o,i??null),o["s-sh"]=void 0,q=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const o=i[s];o["s-hn"]!==D&&o["s-ol"]&&(E(B(o).parentNode,o,B(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&Z(o,t)}N.i&=-2},ke=(e,t,i,s,o,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);o<=l;++o)s[o]&&(a=Y(null,i,o),a&&(s[o].S=a,E(r,a,B(t))))},Oe=(e,t,i)=>{for(let s=t;s<=i;++s){const o=e[s];if(o){const l=o.S;Le(o),l&&(G=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,R=(e,t,i=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,r=t.h;let n;r==null?(w=a==="svg"||a!=="foreignObject"&&w,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ce(t.S.parentElement)),ne(e,t,w),o!==null&&l!==null?((c,p,d,u,f=!1)=>{let h,S,v=0,m=0,y=0,g=0,T=p.length-1,b=p[0],_=p[T],C=u.length-1,k=u[0],L=u[C];const ze=d.O==="template"?c.content:c;for(;v<=T&&m<=C;)if(b==null)b=p[++v];else if(_==null)_=p[--T];else if(k==null)k=u[++m];else if(L==null)L=u[--C];else if(J(b,k,f))R(b,k,f),b=p[++v],k=u[++m];else if(J(_,L,f))R(_,L,f),_=p[--T],L=u[--C];else if(J(b,L,f))b.O!=="slot"&&L.O!=="slot"||Z(b.S.parentNode,!1),R(b,L,f),E(ze,b.S,_.S.nextSibling),b=p[++v],L=u[--C];else if(J(_,k,f))b.O!=="slot"&&L.O!=="slot"||Z(_.S.parentNode,!1),R(_,k,f),E(ze,_.S,b.S),_=p[--T],k=u[++m];else{for(y=-1,g=v;g<=T;++g)if(p[g]&&p[g].$!==null&&p[g].$===k.$){y=g;break}y>=0?(S=p[y],S.O!==k.O?h=Y(p&&p[m],d,y):(R(S,k,f),p[y]=void 0,h=S.S),k=u[++m]):(h=Y(p&&p[m],d,m),k=u[++m]),h&&E(B(b.S).parentNode,h,B(b.S))}v>T?ke(c,u[C+1]==null?null:u[C+1].S,d,u,m,C):m>C&&Oe(p,v,T)})(s,o,t,l,i):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!i&&o!==null&&Oe(o,0,o.length-1),w&&a==="svg"&&(w=!1)):(n=s["s-cr"])?n.parentNode.textContent=r:e.h!==r&&(s.data=r)},$=[],Ee=e=>{let t,i,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,a)){let r=$.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((n=>{ye(n.k,t["s-sn"])&&(r=$.find((c=>c.k===t)),r&&!n.N&&(n.N=r.N))}))}else $.some((r=>r.k===t))||$.push({k:t})}l.nodeType===1&&Ee(l)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},Xe=(e,t)=>{re.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:o}=(function(l,a){var r;if(!(a=a||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const n=l["s-sn"]=M(l)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},et=(e,t,i=!1)=>{var s,o,l,a,r;const n=e.$hostElement$,c=e.o,p=e.M||W(null,null);var d;const u=(d=t)&&d.O===be?t:O(null,null,t);if(D=n.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([f,h])=>{u.v[h]=n[f]}))),i&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=p.S=n.shadowRoot||n,H=!(!(1&c.i)||128&c.i),oe=n["s-cr"],G=!1,R(p,u,i),N.i|=1,q){Ee(u.S);for(const f of $){const h=f.k;if(!h["s-ol"]&&x.document){const S=x.document.createTextNode("");S["s-nr"]=h,E(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of $){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;y;){let g=(l=y["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(E(v,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=x.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&fe(u.S),N.i&=-2,$.length=0,!H&&!(1&c.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==D&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=x.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],E(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}oe=void 0,ae.forEach((f=>f())),ae.length=0,re.forEach((f=>f())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const i=()=>tt(e,t);if(!t)return We(i);queueMicrotask((()=>{i()}))},tt=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.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`);let o;return o=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),o=$e(o,(()=>F(s,"componentWillRender",void 0,i))),$e(o,(()=>it(e,s,t)))},$e=(e,t)=>st(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),st=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,i)=>{var s;const o=e.$hostElement$,l=o["s-rc"];i&&(a=>{const r=a.o,n=a.$hostElement$,c=r.i,p=((d,u)=>{var f,h,S;const v=me(u),m=U.get(v);if(!x.document)return v;if(d=d.nodeType===11?d:x.document,m)if(typeof m=="string"){let y,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(v)){y=x.document.createElement("style"),y.textContent=m;const T=(f=N._)!=null?f:(function(){var b,_,C;return(C=(_=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?C:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=A.get(d);if(y||A.set(d,y=new Set),!y.has(v)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);10&c&&(n["s-sc"]=p,n.classList.add(p+"-h"))})(e),ot(e,t,o,i),l&&(l.map((a=>a())),o["s-rc"]=void 0);{const a=(s=o["s-p"])!=null?s:[],r=()=>lt(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},ot=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,at(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(o){I(o,s)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,i,s)=>{const o=j(e);if(!o)return;const l=e,a=o.l.get(t),r=o.i,n=l;i=xe(i,s.t[t][0],!!(64&s.i));const c=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!c){if(o.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(n?n[u](i,a,t):o.T.push((()=>{o.D[u](i,a,t)})))}catch(u){I(u,l)}}))}if(2&r){if(n.componentShouldUpdate&&n.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||de(o,!1)}}},rt=(e,t,i)=>{var s,o;const l=e.prototype;64&t.i&&1&i&&He.forEach((a=>{const r=l[a];Object.defineProperty(l,a,{value(...n){var c;const p=j(this),d=this;d?typeof r=="function"&&r.call(d,...n):(c=p?.H)==null||c.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Se(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[n]])=>{if(31&n||32&n){const{get:c,set:p}=V(l,r)||{};c&&(t.t[r][0]|=2048),p&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return c?c.apply(this):(d=r,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(d){const u=j(this);if(u){if(p)return(32&n?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),p.apply(this,[xe(d,n,!!(64&t.i))]),void Ae(this,r,d=32&n?this[r]:u.$hostElement$[r],t);Ae(this,r,d,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(n,c,p){N.jmp((()=>{var d;const u=r.get(n),f=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==p)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&p!==c){const g=this,T=(d=t.F)==null?void 0:d[n];T?.forEach((b=>{const[[_,C]]=Object.entries(b);g[_]!=null&&(128&y||1&C)&&g[_].call(g,p,c,n)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],v=S&&p===null&&this[u]===void 0;S&&(p=p!==null&&p!=="false");const m=Object.getOwnPropertyDescriptor(l,u);v||p==this[u]||m.get&&!m.set||(this[u]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,c])=>31&c[0])).map((([n,c])=>{var p;const d=c[1]||n;return r.set(d,n),512&c[0]&&((p=t.C)==null||p.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Se(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,a)=>{const r={i:0,$hostElement$:l,o:a,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),l["s-p"]=[],l["s-rc"]=[];const n=r;l.__stencil__getHostRef=()=>n,512&a.i&&Me(l,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=j(this);if(!l)return;Pe(this,l,i.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&N.i)){const a=j(l);if(!a)return;const r=a.o;if(1&a.i)Pe(l,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(n=>{if(!x.document)return;const c=n["s-cr"]=x.document.createComment("");c["s-cn"]=!0,E(n,c,n.firstChild)})(l);{let n=l;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(a,a.R=n);break}}r.t&&Object.entries(r.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(l,n)){const p=l[n];delete l[n],l[n]=p}})),(async(n,c,p)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=me(p);U.has(S)||((v,m,y)=>{let g=U.get(v);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(v,g)})(S,h,!!(1&p.i))}const u=c.R,f=()=>de(c,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){I(u,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(l,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&N.i)){const a=j(l);a?.V&&(a.V.map((r=>r())),a.V=void 0)}A.has(l)&&A.delete(l),l.shadowRoot&&A.has(l.shadowRoot)&&A.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),rt(e,i,3)}catch(s){return I(s),e}},Pe=(e,t,i)=>{i&&x.document&&i.map((([s,o,l])=>{const a=pt(x.document,e,s),r=ct(t,l),n=ut(s);N.ael(a,o,r,n),(t.V=t.V||[]).push((()=>N.rel(a,o,r,n)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){I(s,e.$hostElement$)}},pt=(e,t,i)=>8&i?x:t,ut=e=>Fe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function St(e){return e}function Ie(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=Ie(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function De(){for(var e,t,i=0,s="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>De("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>De("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:ft}=ht,yt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:o,class:l,...a})=>O("span",{class:ft({size:s,appearance:t,color:i},l),...a},o,e),{getGidsExpansionBodyListItemClassNames:mt}=gt,Ve=dt(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=mt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,o=this.isValidLabel(),l=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),n=this?.displayTagLabel??"";return O(be,{key:"8da02d6491ec86087b4b42c64d553e31c533fade",class:e},o||l||r?O("div",{class:"gids-expansion-body-list-item__primary-container"},o||r?O("div",{class:"gids-expansion-body-list-item__primary-content"},o?O("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?O(yt,{color:this.displayTagColor||"accent-5",label:n,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,l?O("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?O("div",{class:"gids-expansion-body-list-item__secondary-container"},O("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,Ve))}))}Re();const bt=Ve,vt=Re;P.GidsExpansionBodyListItem=bt,P.defineCustomElement=vt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((v=>{h===M(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=p(!0),c.assignedNodes=p(!1)})(l),r=e&&e.m&&e.m[i],r&&r.O===o.O&&e.S&&Ce(e.S)),l},Ce=e=>{N.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of i?s.reverse():s)o["s-sh"]!=null&&(E(t,o,i??null),o["s-sh"]=void 0,q=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const o=i[s];o["s-hn"]!==D&&o["s-ol"]&&(E(B(o).parentNode,o,B(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&Z(o,t)}N.i&=-2},ke=(e,t,i,s,o,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);o<=l;++o)s[o]&&(a=Y(null,i,o),a&&(s[o].S=a,E(r,a,B(t))))},Oe=(e,t,i)=>{for(let s=t;s<=i;++s){const o=e[s];if(o){const l=o.S;Le(o),l&&(G=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,R=(e,t,i=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,r=t.h;let n;r==null?(w=a==="svg"||a!=="foreignObject"&&w,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ce(t.S.parentElement)),ne(e,t,w),o!==null&&l!==null?((c,p,d,u,f=!1)=>{let h,S,v=0,m=0,y=0,g=0,T=p.length-1,b=p[0],_=p[T],C=u.length-1,k=u[0],L=u[C];const ze=d.O==="template"?c.content:c;for(;v<=T&&m<=C;)if(b==null)b=p[++v];else if(_==null)_=p[--T];else if(k==null)k=u[++m];else if(L==null)L=u[--C];else if(J(b,k,f))R(b,k,f),b=p[++v],k=u[++m];else if(J(_,L,f))R(_,L,f),_=p[--T],L=u[--C];else if(J(b,L,f))b.O!=="slot"&&L.O!=="slot"||Z(b.S.parentNode,!1),R(b,L,f),E(ze,b.S,_.S.nextSibling),b=p[++v],L=u[--C];else if(J(_,k,f))b.O!=="slot"&&L.O!=="slot"||Z(_.S.parentNode,!1),R(_,k,f),E(ze,_.S,b.S),_=p[--T],k=u[++m];else{for(y=-1,g=v;g<=T;++g)if(p[g]&&p[g].$!==null&&p[g].$===k.$){y=g;break}y>=0?(S=p[y],S.O!==k.O?h=Y(p&&p[m],d,y):(R(S,k,f),p[y]=void 0,h=S.S),k=u[++m]):(h=Y(p&&p[m],d,m),k=u[++m]),h&&E(B(b.S).parentNode,h,B(b.S))}v>T?ke(c,u[C+1]==null?null:u[C+1].S,d,u,m,C):m>C&&Oe(p,v,T)})(s,o,t,l,i):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!i&&o!==null&&Oe(o,0,o.length-1),w&&a==="svg"&&(w=!1)):(n=s["s-cr"])?n.parentNode.textContent=r:e.h!==r&&(s.data=r)},$=[],Ee=e=>{let t,i,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,a)){let r=$.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((n=>{ye(n.k,t["s-sn"])&&(r=$.find((c=>c.k===t)),r&&!n.N&&(n.N=r.N))}))}else $.some((r=>r.k===t))||$.push({k:t})}l.nodeType===1&&Ee(l)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},Xe=(e,t)=>{re.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:o}=(function(l,a){var r;if(!(a=a||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const n=l["s-sn"]=M(l)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},et=(e,t,i=!1)=>{var s,o,l,a,r;const n=e.$hostElement$,c=e.o,p=e.M||W(null,null);var d;const u=(d=t)&&d.O===be?t:O(null,null,t);if(D=n.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([f,h])=>{u.v[h]=n[f]}))),i&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=p.S=n.shadowRoot||n,H=!(!(1&c.i)||128&c.i),oe=n["s-cr"],G=!1,R(p,u,i),N.i|=1,q){Ee(u.S);for(const f of $){const h=f.k;if(!h["s-ol"]&&x.document){const S=x.document.createTextNode("");S["s-nr"]=h,E(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of $){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;y;){let g=(l=y["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(E(v,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=x.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&fe(u.S),N.i&=-2,$.length=0,!H&&!(1&c.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==D&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=x.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],E(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}oe=void 0,ae.forEach((f=>f())),ae.length=0,re.forEach((f=>f())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const i=()=>tt(e,t);if(!t)return We(i);queueMicrotask((()=>{i()}))},tt=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.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`);let o;return o=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),o=$e(o,(()=>F(s,"componentWillRender",void 0,i))),$e(o,(()=>it(e,s,t)))},$e=(e,t)=>st(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),st=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,i)=>{var s;const o=e.$hostElement$,l=o["s-rc"];i&&(a=>{const r=a.o,n=a.$hostElement$,c=r.i,p=((d,u)=>{var f,h,S;const v=me(u),m=U.get(v);if(!x.document)return v;if(d=d.nodeType===11?d:x.document,m)if(typeof m=="string"){let y,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(v)){y=x.document.createElement("style"),y.textContent=m;const T=(f=N._)!=null?f:(function(){var b,_,C;return(C=(_=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?C:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=A.get(d);if(y||A.set(d,y=new Set),!y.has(v)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);10&c&&(n["s-sc"]=p,n.classList.add(p+"-h"))})(e),ot(e,t,o,i),l&&(l.map((a=>a())),o["s-rc"]=void 0);{const a=(s=o["s-p"])!=null?s:[],r=()=>lt(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},ot=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,at(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(o){I(o,s)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,i,s)=>{const o=j(e);if(!o)return;const l=e,a=o.l.get(t),r=o.i,n=l;i=xe(i,s.t[t][0],!!(64&s.i));const c=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!c){if(o.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(n?n[u](i,a,t):o.T.push((()=>{o.D[u](i,a,t)})))}catch(u){I(u,l)}}))}if(2&r){if(n.componentShouldUpdate&&n.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||de(o,!1)}}},rt=(e,t,i)=>{var s,o;const l=e.prototype;64&t.i&&1&i&&He.forEach((a=>{const r=l[a];Object.defineProperty(l,a,{value(...n){var c;const p=j(this),d=this;d?typeof r=="function"&&r.call(d,...n):(c=p?.H)==null||c.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Se(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[n]])=>{if(31&n||32&n){const{get:c,set:p}=V(l,r)||{};c&&(t.t[r][0]|=2048),p&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return c?c.apply(this):(d=r,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(d){const u=j(this);if(u){if(p)return(32&n?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),p.apply(this,[xe(d,n,!!(64&t.i))]),void Ae(this,r,d=32&n?this[r]:u.$hostElement$[r],t);Ae(this,r,d,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(n,c,p){N.jmp((()=>{var d;const u=r.get(n),f=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==p)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&p!==c){const g=this,T=(d=t.F)==null?void 0:d[n];T?.forEach((b=>{const[[_,C]]=Object.entries(b);g[_]!=null&&(128&y||1&C)&&g[_].call(g,p,c,n)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],v=S&&p===null&&this[u]===void 0;S&&(p=p!==null&&p!=="false");const m=Object.getOwnPropertyDescriptor(l,u);v||p==this[u]||m.get&&!m.set||(this[u]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,c])=>31&c[0])).map((([n,c])=>{var p;const d=c[1]||n;return r.set(d,n),512&c[0]&&((p=t.C)==null||p.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Se(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,a)=>{const r={i:0,$hostElement$:l,o:a,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),l["s-p"]=[],l["s-rc"]=[];const n=r;l.__stencil__getHostRef=()=>n,512&a.i&&Me(l,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=j(this);if(!l)return;Pe(this,l,i.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&N.i)){const a=j(l);if(!a)return;const r=a.o;if(1&a.i)Pe(l,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(n=>{if(!x.document)return;const c=n["s-cr"]=x.document.createComment("");c["s-cn"]=!0,E(n,c,n.firstChild)})(l);{let n=l;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(a,a.R=n);break}}r.t&&Object.entries(r.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(l,n)){const p=l[n];delete l[n],l[n]=p}})),(async(n,c,p)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=me(p);U.has(S)||((v,m,y)=>{let g=U.get(v);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(v,g)})(S,h,!!(1&p.i))}const u=c.R,f=()=>de(c,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){I(u,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(l,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&N.i)){const a=j(l);a?.V&&(a.V.map((r=>r())),a.V=void 0)}A.has(l)&&A.delete(l),l.shadowRoot&&A.has(l.shadowRoot)&&A.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),rt(e,i,3)}catch(s){return I(s),e}},Pe=(e,t,i)=>{i&&x.document&&i.map((([s,o,l])=>{const a=pt(x.document,e,s),r=ct(t,l),n=ut(s);N.ael(a,o,r,n),(t.V=t.V||[]).push((()=>N.rel(a,o,r,n)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){I(s,e.$hostElement$)}},pt=(e,t,i)=>8&i?x:t,ut=e=>Fe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function St(e){return e}function Ie(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=Ie(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function De(){for(var e,t,i=0,s="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>De("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>De("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:ft}=ht,yt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:o,class:l,...a})=>O("span",{class:ft({size:s,appearance:t,color:i},l),...a},o,e),{getGidsExpansionBodyListItemClassNames:mt}=gt,Ve=dt(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=mt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,o=this.isValidLabel(),l=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),n=this?.displayTagLabel??"";return O(be,{key:"f381d38f17b48b110a2e764ed6eba16a19e9dc71",class:e},o||l||r?O("div",{class:"gids-expansion-body-list-item__primary-container"},o||r?O("div",{class:"gids-expansion-body-list-item__primary-content"},o?O("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?O(yt,{color:this.displayTagColor||"accent-5",label:n,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,l?O("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?O("div",{class:"gids-expansion-body-list-item__secondary-container"},O("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,Ve))}))}Re();const bt=Ve,vt=Re;P.GidsExpansionBodyListItem=bt,P.defineCustomElement=vt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));