@ganpatiinfo/gids-core-web 22.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 (269) 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 +28 -28
  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-chart-legend-item.js +1 -1
  125. package/dist-bundled/es/gids-chart-legend.js +4 -4
  126. package/dist-bundled/es/gids-chart.js +7 -7
  127. package/dist-bundled/es/gids-chevron-button.js +7 -7
  128. package/dist-bundled/es/gids-date-picker-field.js +181 -0
  129. package/dist-bundled/es/gids-date-picker.js +6 -0
  130. package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
  131. package/dist-bundled/es/gids-dot.js +1 -1
  132. package/dist-bundled/es/gids-dropdown-field.js +28 -18
  133. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  134. package/dist-bundled/es/gids-dropdown.js +4 -4
  135. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  136. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  137. package/dist-bundled/es/gids-expansion-group.js +5 -5
  138. package/dist-bundled/es/gids-expansion.js +8 -8
  139. package/dist-bundled/es/gids-field.js +4 -4
  140. package/dist-bundled/es/gids-filter.js +1 -1
  141. package/dist-bundled/es/gids-flyout-panel.js +3 -3
  142. package/dist-bundled/es/gids-form.js +65 -49
  143. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  144. package/dist-bundled/es/gids-header-navigation.js +2 -2
  145. package/dist-bundled/es/gids-icon.js +3 -3
  146. package/dist-bundled/es/gids-input.js +1 -1
  147. package/dist-bundled/es/gids-line-chart.js +3 -3
  148. package/dist-bundled/es/gids-md-table.js +1 -1
  149. package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
  150. package/dist-bundled/es/gids-overflow-container.js +9 -9
  151. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  152. package/dist-bundled/es/gids-password-field.js +20 -20
  153. package/dist-bundled/es/gids-pie-chart.js +1 -1
  154. package/dist-bundled/es/gids-popover.js +1 -1
  155. package/dist-bundled/es/gids-profile-menu-header.js +4 -4
  156. package/dist-bundled/es/gids-profile-menu.js +4 -4
  157. package/dist-bundled/es/gids-profile.js +10 -10
  158. package/dist-bundled/es/gids-scrim.js +3 -3
  159. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  160. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  161. package/dist-bundled/es/gids-sidebar.js +12 -12
  162. package/dist-bundled/es/gids-skeleton.js +8 -8
  163. package/dist-bundled/es/gids-tab-item.js +6 -6
  164. package/dist-bundled/es/gids-tab.js +7 -7
  165. package/dist-bundled/es/gids-text-field.js +10 -10
  166. package/dist-bundled/es/gids-toggle-button.js +1 -1
  167. package/dist-bundled/es/gids-tooltip.js +4 -4
  168. package/dist-bundled/es/gids-transfer-list.js +8 -8
  169. package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
  170. package/dist-bundled/es/p-62akP0Ad-D4pJ0a_I.js +86 -0
  171. package/dist-bundled/es/{p-B_FEFM5I-JoBieRfG.js → p-B18yNcA0-BaaXQYM_.js} +2 -2
  172. package/dist-bundled/es/{p-kWyyLyT3-VhX9LNzT.js → p-B2YjHZsu-DxdrSYcE.js} +28 -28
  173. package/dist-bundled/es/{p-DLRj-mUX-BapdQYpI.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
  174. package/dist-bundled/es/{p-Ds5IzXj3-B2o0ML2C.js → p-B4d07GWP-DLyo7HQ9.js} +3 -3
  175. package/dist-bundled/es/{p-CAjDiWIc-C9dOa7FT.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
  176. package/dist-bundled/es/{p-BAqWcL0K-DNkV1R_C.js → p-BNW2xgxF-DWKLliyn.js} +5 -5
  177. package/dist-bundled/es/p-BcXumkjZ-zNpzLmjI.js +240 -0
  178. package/dist-bundled/es/{p-DKSnGphd-CZSPfB-N.js → p-C88Z_F_m-wMA27lx_.js} +3 -3
  179. package/dist-bundled/es/{p-bfWlRsx_-CNZjBYOE.js → p-CKj2Ru6e-B-Nk5B_P.js} +3 -3
  180. package/dist-bundled/es/{p-B_St7yaX-Da4DWjGh.js → p-COsSHfdc-DfDYoLSS.js} +3 -3
  181. package/dist-bundled/es/{p-DrxfD2yZ-Cetyr3S9.js → p-CSXuAs_X-Hw6bT-8r.js} +11 -11
  182. package/dist-bundled/es/{p-DzOOjiNH-CqI4E-mj.js → p-CZgH5rZs-Clk0qfHN.js} +3 -3
  183. package/dist-bundled/es/{p-BIxBMTG9-Ctr342ff.js → p-CueywyHC-CsEetdha.js} +3 -3
  184. package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CxfmNDsm-JHseL2it.js} +30 -18
  185. package/dist-bundled/es/{p-DMxvWIj1-BxbvrlFL.js → p-DKe6orSY-D1kYOeuX.js} +6 -6
  186. package/dist-bundled/es/{p-D0RJMGGj-BflZ9l8y.js → p-DLX-l0-L-gumz4bOG.js} +1 -1
  187. package/dist-bundled/es/{p-BQT5yy5L-C1C_zTi-.js → p-DOiDD7cS-j1RR9K9r.js} +8 -4
  188. package/dist-bundled/es/{p-B2flLE0s-SMg7vg1a.js → p-DXlBK8TS-DazOvEm2.js} +2 -2
  189. package/dist-bundled/es/{p-E13ycS5K-BBDydae3.js → p-DYKcsBzA-BcupA9sw.js} +6 -6
  190. package/dist-bundled/es/{p--kh67-_Z-B-vf_gng.js → p-D_mszaeq-ndcXN34-.js} +4 -4
  191. package/dist-bundled/es/{p-Do_VlNHg-Ck03dQOR.js → p-DdJKIFk0-Co3FvR3K.js} +1 -1
  192. package/dist-bundled/es/p-DiX4HaE6-C35K492C.js +86 -0
  193. package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-DjnREsH0-Cm8vBvIX.js} +7 -7
  194. package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-FSv82P6v-C6jFH7Zo.js} +1 -1
  195. package/dist-bundled/es/p-MaJDBE6u-DjtEX6-I.js +157 -0
  196. package/dist-bundled/es/p-XVlT5H5q-CFIMyrM3.js +148 -0
  197. package/dist-bundled/es/p-fE-MdTCH-CDvG1Xn1.js +122 -0
  198. package/dist-bundled/es/{p-mv_7K1EM-U3yKC45e.js → p-gK9DvcL8-Chw-ya2Q.js} +1 -1
  199. package/dist-bundled/es/{p-_W77iniK-ChKfEOp3.js → p-iEUyQs9t-BUXXVuwz.js} +2 -2
  200. package/dist-bundled/es/{p-BCbovLBE-CDxKiOtS.js → p-jtpLLxuw-BlEPhjmU.js} +1 -1
  201. package/dist-bundled/es/p-lvArnlBV-BxkIAxHG.js +86 -0
  202. package/dist-bundled/es/{p-TfH966_e-BzZRV8Rj.js → p-vz4tzbld-BYJRjHJw.js} +5 -5
  203. package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-x1tVOUSt-CdB8Szfe.js} +6 -6
  204. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  205. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  206. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  207. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  208. package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  210. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
  212. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  213. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  215. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  216. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  217. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  218. package/dist-bundled/umd/gids-date-picker-field.umd.js +5 -0
  219. package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
  220. package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
  221. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  222. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  223. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  224. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  225. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  226. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  227. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  228. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  229. package/dist-bundled/umd/gids-field.umd.js +1 -1
  230. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  231. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  232. package/dist-bundled/umd/gids-form.umd.js +2 -2
  233. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  234. package/dist-bundled/umd/gids-header-navigation.umd.js +1 -1
  235. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  236. package/dist-bundled/umd/gids-input.umd.js +1 -1
  237. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  238. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  239. package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +5 -0
  240. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  241. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  242. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  243. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  244. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  245. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  246. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  247. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  248. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  249. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  250. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  251. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  252. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  253. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  254. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  255. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  256. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  257. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  258. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  259. package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
  260. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  261. package/package.json +55 -7
  262. package/dist/p-BQT5yy5L.js +0 -1
  263. package/dist/p-CAjDiWIc.js +0 -1
  264. package/dist/p-Do_VlNHg.js +0 -1
  265. package/dist/p-DpvdbdZ-.js +0 -1
  266. package/dist/p-kWyyLyT3.js +0 -1
  267. package/dist/p-tEbUT3n3.js +0 -1
  268. package/dist-bundled/es/p-tEbUT3n3-Byef6fQN.js +0 -244
  269. /package/dist-bundled/es/{p-CV1-78HB-C0k_l_CT.js → p-D2VR17v2-C0k_l_CT.js} +0 -0
@@ -1,5 +1,5 @@
1
- (function(Q,re){typeof exports=="object"&&typeof module<"u"?re(exports):typeof define=="function"&&define.amd?define(["exports"],re):(Q=typeof globalThis<"u"?globalThis:Q||self,re(Q.gidsCoreWebGidsFlyoutPanel={}))})(this,(function(Q){"use strict";function re(e,t,n){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var pe,ln=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([o,[i]])=>{if(31&i||32&i){const s=e[o],l=re(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):s!==void 0&&(e[o]=s)}}))},H=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ut=(e,t)=>t in e,ee=(e,t)=>(0,console.error)(e,t),Se=new Map,dt="http://www.w3.org/1999/xlink",rn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},ht=O.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},an=(()=>{var e;let t=!1;try{(e=O.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),We=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),je=!!We&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Ve=!1,mt=[],pt=[],cn=(e,t)=>n=>{e.push(n),Ve||(Ve=!0,4&C.i?Be(He):C.raf(He))},gt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){ee(n)}e.length=0},He=()=>{gt(mt),gt(pt),(Ve=mt.length>0)&&C.raf(He)},Be=e=>Promise.resolve(void 0).then(e),fn=cn(pt);function un(){const e=this.attachShadow({mode:"open"});pe===void 0&&(pe=null),pe&&(je?e.adoptedStyleSheets.push(pe):e.adoptedStyleSheets=[...e.adoptedStyleSheets,pe])}var yt=e=>{const t=ze(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!dn(o,ge(o),!1).length)}));let n=0;for(n=0;n<t.length;n++){const o=t[n];o.nodeType===1&&ze(o,"childNodes").length&&yt(o)}};function Ie(e,t,n){let o,i=0,s=[];for(;i<e.length;i++){if(o=e[i],o["s-sr"]&&(!t||o["s-hn"]===t)&&(n===void 0||ge(o)===n)&&(s.push(o),n!==void 0))return s;s=[...s,...Ie(o.childNodes,t,n)]}return s}var dn=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let i=e;for(;i=i.nextSibling;)ge(i)!==t||!n&&i["s-sr"]||o.push(i);return o},wt=(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 ze(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 Ue,te,q=new WeakMap,vt=e=>"sc-"+e.p,qe=e=>(e=typeof e)=="object"||e==="function",ne=(e,t,...n)=>{let o=null,i=null,s=null,l=!1,a=!1;const r=[],u=c=>{for(let d=0;d<c.length;d++)o=c[d],Array.isArray(o)?u(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!qe(o))&&(o=String(o)),l&&a?r[r.length-1].h+=o:r.push(l?Oe(null,o):o),a=l)};if(u(n),t){t.key&&(i=t.key),t.name&&(s=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((d=>c[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,mn);const f=Oe(e,null);return f.v=t,r.length>0&&(f.m=r),f.$=i,f.j=s,f},Oe=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),hn={},mn={forEach:(e,t)=>e.map(bt).forEach(t),map:(e,t)=>e.map(bt).map(t).map(pn)},bt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),pn=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),ne(e.vtag,n,...e.vchildren||[])}const t=Oe(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Et=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 s of e[i])if(typeof s=="string"){n=!0;break}}if(!n)return e;const o={};for(const i of t)o[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return o},xt=(e,t,n)=>e==null||qe(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,gn=(e,t,n)=>{const o=C.ce(t,n);return e.dispatchEvent(o),o},St=(e,t,n,o,i,s)=>{if(n===o)return;let l=ut(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,u=Ot(n);let f=Ot(o);r.remove(...u.filter((c=>c&&!f.includes(c)))),r.add(...f.filter((c=>c&&!u.includes(c))))}else if(t==="style"){for(const r in n)o&&o[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in o)n&&o[r]===n[r]||(r.includes("-")?e.style.setProperty(r,o[r]):e.style[r]=o[r])}else if(t!=="key"){if(t==="ref")o&&vn(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const f=H(e);if(f&&f.o&&f.o.t){const c=f.o.t[r];c&&c[1]&&(u=c[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=o}catch{}return}{const r=qe(o);if((l||r&&o!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const f=o??"";t==="list"?l=!1:n!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let u=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,u=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(dt,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(o=o===!0?"":o,u?e.setAttributeNS(dt,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ut(O,a)?a.slice(2):a[2]+t.slice(3),n||o){const r=t.endsWith(At);t=t.replace(wn,""),n&&C.rel(e,t,n,r),o&&C.ael(e,t,o,r)}}},yn=/\s/,Ot=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(yn):[]),At="Capture",wn=new RegExp(At+"$"),Ye=(e,t,n)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},s=t.v||{};for(const l of Nt(Object.keys(i)))l in s||St(o,l,i[l],void 0,n,t.i);for(const l of Nt(Object.keys(s)))St(o,l,i[l],s[l],n,t.i)};function Nt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var ye=!1,Ae=!1,Ne=!1,T=!1,Xe=[],Ke=[],Ce=(e,t,n)=>{var o;const i=t.m[n];let s,l,a,r=0;if(ye||(Ne=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)s=i.S=O.document.createTextNode(i.h);else if(1&i.i)s=i.S=O.document.createTextNode(""),Ye(null,i,T);else{if(T||(T=i.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=O.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ye&&2&i.i?"slot-fb":i.O),T&&i.O==="foreignObject"&&(T=!1),Ye(null,i,T),i.m){const u=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ce(e,i,r),l&&u.appendChild(l)}i.O==="svg"?T=!1:s.tagName==="foreignObject"&&(T=!0)}return s["s-hn"]=te,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=Ue,s["s-sn"]=i.j||"",s["s-rf"]=(o=i.v)==null?void 0:o.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const f=c=>(function(d){const m=[],h=this["s-sn"];d?.flatten&&console.error(`
1
+ (function(ee,ae){typeof exports=="object"&&typeof module<"u"?ae(exports):typeof define=="function"&&define.amd?define(["exports"],ae):(ee=typeof globalThis<"u"?globalThis:ee||self,ae(ee.gidsCoreWebGidsFlyoutPanel={}))})(this,(function(ee){"use strict";var U;function ae(e,t,n){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var pe,sn=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([o,[i]])=>{if(31&i||32&i){const s=e[o],l=ae(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):s!==void 0&&(e[o]=s)}}))},H=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ft=(e,t)=>t in e,te=(e,t)=>(0,console.error)(e,t),Se=new Map,ut="http://www.w3.org/1999/xlink",ln=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},dt=O.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},rn=(()=>{var e;let t=!1;try{(e=O.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),We=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ve=!!We&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,je=!1,ht=[],mt=[],an=(e,t)=>n=>{e.push(n),je||(je=!0,4&C.i?Be(He):C.raf(He))},pt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){te(n)}e.length=0},He=()=>{pt(ht),pt(mt),(je=ht.length>0)&&C.raf(He)},Be=e=>Promise.resolve(void 0).then(e),cn=an(mt);function fn(){const e=this.attachShadow({mode:"open"});pe===void 0&&(pe=null),pe&&(Ve?e.adoptedStyleSheets.push(pe):e.adoptedStyleSheets=[...e.adoptedStyleSheets,pe])}var gt=e=>{const t=ze(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!un(o,ge(o),!1).length)}));let n=0;for(n=0;n<t.length;n++){const o=t[n];o.nodeType===1&&ze(o,"childNodes").length&&gt(o)}};function Ie(e,t,n){let o,i=0,s=[];for(;i<e.length;i++){if(o=e[i],o["s-sr"]&&(!t||o["s-hn"]===t)&&(n===void 0||ge(o)===n)&&(s.push(o),n!==void 0))return s;s=[...s,...Ie(o.childNodes,t,n)]}return s}var un=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let i=e;for(;i=i.nextSibling;)ge(i)!==t||!n&&i["s-sr"]||o.push(i);return o},yt=(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 ze(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 Ue,ne,Y=new WeakMap,wt=e=>"sc-"+e.p,qe=e=>(e=typeof e)=="object"||e==="function",oe=(e,t,...n)=>{let o=null,i=null,s=null,l=!1,a=!1;const r=[],u=c=>{for(let d=0;d<c.length;d++)o=c[d],Array.isArray(o)?u(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!qe(o))&&(o=String(o)),l&&a?r[r.length-1].h+=o:r.push(l?Oe(null,o):o),a=l)};if(u(n),t){t.key&&(i=t.key),t.name&&(s=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((d=>c[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,hn);const f=Oe(e,null);return f.v=t,r.length>0&&(f.m=r),f.$=i,f.j=s,f},Oe=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),dn={},hn={forEach:(e,t)=>e.map(vt).forEach(t),map:(e,t)=>e.map(vt).map(t).map(mn)},vt=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),oe(e.vtag,n,...e.vchildren||[])}const t=Oe(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},bt=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 s of e[i])if(typeof s=="string"){n=!0;break}}if(!n)return e;const o={};for(const i of t)o[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return o},Et=(e,t,n)=>e==null||qe(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,pn=(e,t,n)=>{const o=C.ce(t,n);return e.dispatchEvent(o),o},xt=(e,t,n,o,i,s)=>{if(n===o)return;let l=ft(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,u=St(n);let f=St(o);r.remove(...u.filter((c=>c&&!f.includes(c)))),r.add(...f.filter((c=>c&&!u.includes(c))))}else if(t==="style"){for(const r in n)o&&o[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in o)n&&o[r]===n[r]||(r.includes("-")?e.style.setProperty(r,o[r]):e.style[r]=o[r])}else if(t!=="key"){if(t==="ref")o&&wn(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const f=H(e);if(f&&f.o&&f.o.t){const c=f.o.t[r];c&&c[1]&&(u=c[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=o}catch{}return}{const r=qe(o);if((l||r&&o!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const f=o??"";t==="list"?l=!1:n!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let u=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,u=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ut,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(o=o===!0?"":o,u?e.setAttributeNS(ut,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ft(O,a)?a.slice(2):a[2]+t.slice(3),n||o){const r=t.endsWith(Ot);t=t.replace(yn,""),n&&C.rel(e,t,n,r),o&&C.ael(e,t,o,r)}}},gn=/\s/,St=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(gn):[]),Ot="Capture",yn=new RegExp(Ot+"$"),Ye=(e,t,n)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},s=t.v||{};for(const l of At(Object.keys(i)))l in s||xt(o,l,i[l],void 0,n,t.i);for(const l of At(Object.keys(s)))xt(o,l,i[l],s[l],n,t.i)};function At(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var ye=!1,Ae=!1,Ne=!1,T=!1,Xe=[],Ke=[],Ce=(e,t,n)=>{var o;const i=t.m[n];let s,l,a,r=0;if(ye||(Ne=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)s=i.S=O.document.createTextNode(i.h);else if(1&i.i)s=i.S=O.document.createTextNode(""),Ye(null,i,T);else{if(T||(T=i.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=O.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!ye&&2&i.i?"slot-fb":i.O),T&&i.O==="foreignObject"&&(T=!1),Ye(null,i,T),i.m){const u=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ce(e,i,r),l&&u.appendChild(l)}i.O==="svg"?T=!1:s.tagName==="foreignObject"&&(T=!0)}return s["s-hn"]=ne,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=Ue,s["s-sn"]=i.j||"",s["s-rf"]=(o=i.v)==null?void 0:o.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const f=c=>(function(d){const m=[],h=this["s-sn"];d?.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 w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const p=[];for(let g=0;g<v.length;g++){const y=v[g]["s-nr"]||void 0;y&&y.isConnected&&p.push(y)}return p})(w.childNodes)).forEach((v=>{h===ge(v)&&m.push(v)})),c?m.filter((v=>v.nodeType===1)):m}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Ct(e.S)),s},Ct=e=>{C.i|=1;const t=e.closest(te.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&(k(t,i,n??null),i["s-sh"]=void 0,Ne=!0)}C.i&=-2},Pe=(e,t)=>{C.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===te&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==te&&i["s-ol"]&&(k(we(i).parentNode,i,we(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Pe(i,t)}C.i&=-2},Pt=(e,t,n,o,i,s)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===te&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=s;++i)o[i]&&(l=Ce(null,n,i),l&&(o[i].S=l,k(a,l,we(t))))},Rt=(e,t,n)=>{for(let o=t;o<=n;++o){const i=e[o];if(i){const s=i.S;Ft(i),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Pe(s,!0),s.remove())}}},Re=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),we=e=>e&&e["s-ol"]||e,ae=(e,t,n=!1)=>{const o=t.S=e.S,i=e.m,s=t.m,l=t.O,a=t.h;let r;a==null?(T=l==="svg"||l!=="foreignObject"&&T,l!=="slot"||ye||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ct(t.S.parentElement)),Ye(e,t,T),i!==null&&s!==null?((u,f,c,d,m=!1)=>{let h,w,v=0,p=0,g=0,y=0,E=f.length-1,b=f[0],x=f[E],S=d.length-1,A=d[0],N=d[S];const P=c.O==="template"?u.content:u;for(;v<=E&&p<=S;)if(b==null)b=f[++v];else if(x==null)x=f[--E];else if(A==null)A=d[++p];else if(N==null)N=d[--S];else if(Re(b,A,m))ae(b,A,m),b=f[++v],A=d[++p];else if(Re(x,N,m))ae(x,N,m),x=f[--E],N=d[--S];else if(Re(b,N,m))b.O!=="slot"&&N.O!=="slot"||Pe(b.S.parentNode,!1),ae(b,N,m),k(P,b.S,x.S.nextSibling),b=f[++v],N=d[--S];else if(Re(x,A,m))b.O!=="slot"&&N.O!=="slot"||Pe(x.S.parentNode,!1),ae(x,A,m),k(P,x.S,b.S),x=f[--E],A=d[++p];else{for(g=-1,y=v;y<=E;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(w=f[g],w.O!==A.O?h=Ce(f&&f[p],c,g):(ae(w,A,m),f[g]=void 0,h=w.S),A=d[++p]):(h=Ce(f&&f[p],c,p),A=d[++p]),h&&k(we(b.S).parentNode,h,we(b.S))}v>E?Pt(u,d[S+1]==null?null:d[S+1].S,c,d,p,S):p>S&&Rt(f,v,E)})(o,i,t,s,n):s!==null?(e.h!==null&&(o.textContent=""),Pt(o,null,t,s,0,s.length-1)):!n&&i!==null&&Rt(i,0,i.length-1),T&&l==="svg"&&(T=!1)):(r=o["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(o.data=a)},B=[],Tt=e=>{let t,n,o;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(wt(t,l)){let a=B.find((r=>r.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=s["s-hn"],a.N=s):(t["s-sh"]=s["s-hn"],B.push({N:s,k:t})),t["s-sr"]&&B.map((r=>{wt(r.k,t["s-sn"])&&(a=B.find((u=>u.k===t)),a&&!r.N&&(r.N=a.N))}))}else B.some((a=>a.k===t))||B.push({k:t})}s.nodeType===1&&Tt(s)}},Ft=e=>{e.v&&e.v.ref&&Xe.push((()=>e.v.ref(null))),e.m&&e.m.map(Ft)},vn=(e,t)=>{Ke.push((()=>e(t)))},k=(e,t,n,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(s,l){var a;if(!(l=l||((a=s["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=ge(s)||"";return{slotNode:Ie(ze(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},bn=(e,t,n=!1)=>{var o,i,s,l,a;const r=e.$hostElement$,u=e.o,f=e.M||Oe(null,null);var c;const d=(c=t)&&c.O===hn?t:ne(null,null,t);if(te=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([m,h])=>{d.v[h]=r[m]}))),n&&d.v)for(const m of Object.keys(d.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(d.v[m]=r[m]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,ye=!(!(1&u.i)||128&u.i),Ue=r["s-cr"],Ae=!1,ae(f,d,n),C.i|=1,Ne){Tt(d.S);for(const m of B){const h=m.k;if(!h["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=h,k(h.parentNode,h["s-ol"]=w,h,n)}}for(const m of B){const h=m.k,w=m.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),w){const v=w.parentNode;let p=w.nextSibling;if(p&&p.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&v===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){p=y;break}}g=g.previousSibling}}if((!p&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==p)&&h!==p){if(k(v,h,p,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,k(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else h.nodeType===1&&(h.hidden=!0)}}if(Ae&&yt(d.S),C.i&=-2,B.length=0,!ye&&!(1&u.i)&&r["s-cr"]){const m=d.S.__childNodes||d.S.childNodes;for(const h of m)if(h["s-hn"]!==te&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],k(h.parentNode,w,h,n),h.parentNode.removeChild(h)}}}Ue=void 0,Xe.forEach((m=>m())),Xe.length=0,Ke.forEach((m=>m())),Ke.length=0},_t=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(n-1,1),o()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);_t(e,e.R);const n=()=>En(e,t);if(!t)return fn(n);queueMicrotask((()=>{n()}))},En=(e,t)=>{const n=e.$hostElement$,o=n;if(!o)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=ve(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=kt(i,(()=>ve(o,"componentWillRender",void 0,n))),kt(i,(()=>Sn(e,o,t)))},kt=(e,t)=>xn(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),xn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Sn=async(e,t,n)=>{var o;const i=e.$hostElement$,s=i["s-rc"];n&&(l=>{const a=l.o,r=l.$hostElement$,u=a.i,f=((c,d)=>{var m,h,w;const v=vt(d),p=Se.get(v);if(!O.document)return v;if(c=c.nodeType===11?c:O.document,p)if(typeof p=="string"){let g,y=q.get(c=c.head||c);if(y||q.set(c,y=new Set),!y.has(v)){g=O.document.createElement("style"),g.textContent=p;const E=(m=C._)!=null?m:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&g.setAttribute("nonce",E),!(1&d.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,x?.parentNode===c?x:null)}else if("host"in c)if(We){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(p),je?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=p+b.textContent:c.prepend(g)}else c.append(g);1&d.i&&c.insertBefore(g,null),4&d.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(v)}}else{let g=q.get(c);if(g||q.set(c,g=new Set),!g.has(v)){const y=(w=c.defaultView)!=null?w:c.ownerDocument.defaultView;let E;if(p.constructor===y.CSSStyleSheet)E=p;else{E=new y.CSSStyleSheet;for(let b=0;b<p.cssRules.length;b++)E.insertRule(p.cssRules[b].cssText,b)}je?c.adoptedStyleSheets.push(E):c.adoptedStyleSheets=[...c.adoptedStyleSheets,E],g.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),On(e,t,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],a=()=>An(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},On=(e,t,n,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,bn(e,t,o)}catch(i){ee(i,e.$hostElement$)}return null},An=e=>{const t=e.$hostElement$,n=t,o=e.R;ve(n,"componentDidRender",void 0,t),64&e.i?ve(n,"componentDidUpdate",void 0,t):(e.i|=64,Cn(t),ve(n,"componentDidLoad",void 0,t),e.L(t),o||Nn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Be((()=>Ge(e,!1))),e.i&=-517},Nn=()=>{Be((()=>gn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ve=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(i){ee(i,o)}},Cn=e=>e.classList.add("hydrated"),Lt=(e,t,n,o)=>{const i=H(e);if(!i)return;const s=e,l=i.l.get(t),a=i.i,r=s;n=xt(n,o.t[t][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(t,n),o.F){const f=o.F[t];f&&f.map((c=>{try{const[[d,m]]=Object.entries(c);(128&a||1&m)&&(r?r[d](n,l,t):i.T.push((()=>{i.D[d](n,l,t)})))}catch(d){ee(d,s)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,l,t)===!1&&!(16&a))return;16&a||Ge(i,!1)}}},Pn=(e,t,n)=>{var o,i;const s=e.prototype;64&t.i&&1&n&&rn.forEach((l=>{const a=s[l];Object.defineProperty(s,l,{value(...r){var u;const f=H(this),c=this;c?typeof a=="function"&&a.call(c,...r):(u=f?.H)==null||u.then((d=>{const m=d[l];typeof m=="function"&&m.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Et(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[r]])=>{if(31&r||32&r){const{get:u,set:f}=re(s,a)||{};u&&(t.t[a][0]|=2048),f&&(t.t[a][0]|=4096),Object.defineProperty(s,a,{get(){return u?u.apply(this):(c=a,H(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,a,{set(c){const d=H(this);if(d){if(f)return(32&r?this[a]:d.$hostElement$[a])===void 0&&d.l.get(a)&&(c=d.l.get(a)),f.apply(this,[xt(c,r,!!(64&t.i))]),void Lt(this,a,c=32&r?this[a]:d.$hostElement$[a],t);Lt(this,a,c,t)}}})}}));{const a=new Map;s.attributeChangedCallback=function(r,u,f){C.jmp((()=>{var c;const d=a.get(r),m=H(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=m?.i;if(m&&g&&!(8&g)&&f!==u){const y=this,E=(c=t.F)==null?void 0:c[r];E?.forEach((b=>{const[[x,S]]=Object.entries(b);y[x]!=null&&(128&g||1&S)&&y[x].call(y,f,u,r)}))}return}const h=l.find((([g])=>g===d)),w=h&&4&h[1][0],v=w&&f===null&&this[d]===void 0;w&&(f=f!==null&&f!=="false");const p=Object.getOwnPropertyDescriptor(s,d);v||f==this[d]||p.get&&!p.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const c=u[1]||r;return a.set(c,r),512&u[0]&&((f=t.C)==null||f.push([r,c])),c}))]))}}return e},Rn=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Et(e.F),n.P=e.P,n.U=e.U,n.C=[];const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const a={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};a.H=new Promise((u=>a.L=u)),s["s-p"]=[],s["s-rc"]=[];const r=a;s.__stencil__getHostRef=()=>r,512&l.i&&ln(s,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=H(this);if(!s)return;$t(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=H(s);if(!l)return;const a=l.o;if(1&l.i)$t(s,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(r=>{if(!O.document)return;const u=r["s-cr"]=O.document.createComment("");u["s-cn"]=!0,k(r,u,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){_t(l,l.R=r);break}}a.t&&Object.entries(a.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,r)){const f=s[r];delete s[r],s[r]=f}})),(async(r,u,f)=>{let c;try{if(!(32&u.i)&&(u.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const w=vt(f);Se.has(w)||((v,p,g)=>{let y=Se.get(v);We&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=p:y.replaceSync(p)):y=p,Se.set(v,y)})(w,h,!!(1&f.i))}const d=u.R,m=()=>Ge(u,!0);d&&d["s-rc"]?d["s-rc"].push(m):m()}catch(d){ee(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(s,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=H(s);l?.V&&(l.V.map((a=>a())),l.V=void 0)}q.has(s)&&q.delete(s),s.shadowRoot&&q.has(s.shadowRoot)&&q.delete(s.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 un.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Pn(e,n,3)}catch(o){return ee(o),e}},Tn=(e,t)=>t,$t=(e,t,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=_n(O.document,e,o),a=Fn(t,s),r=kn(o);C.ael(l,i,a,r),(t.V=t.V||[]).push((()=>C.rel(l,i,a,r)))}))},Fn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(o){ee(o,e.$hostElement$)}},_n=(e,t,n)=>8&n?O:t,kn=e=>an?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function To(e){return e}const Y=Math.min,F=Math.max,Te=Math.round,Fe=Math.floor,W=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,n){return F(e,Y(t,n))}function ce(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function fe(e){return e.split("-")[1]}function Dt(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return Dt(I(e))}function $n(e,t,n){n===void 0&&(n=!1);const o=fe(e),i=Qe(e),s=Je(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=_e(l)),[l,_e(l)]}function Dn(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Mt=["left","right"],Wt=["right","left"],Mn=["top","bottom"],Wn=["bottom","top"];function jn(e,t,n){switch(e){case"top":case"bottom":return n?t?Wt:Mt:t?Mt:Wt;case"left":case"right":return t?Mn:Wn;default:return[]}}function Vn(e,t,n,o){const i=fe(e);let s=jn(X(e),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=X(e);return Ln[t]+e.slice(t.length)}function Hn(e){return{top:0,right:0,bottom:0,left:0,...e}}function jt(e){return typeof e!="number"?Hn(e):{top:e,right:e,bottom:e,left:e}}function ke(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function Vt(e,t,n){let{reference:o,floating:i}=e;const s=I(t),l=Qe(t),a=Je(l),r=X(t),u=s==="y",f=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,d=o[a]/2-i[a]/2;let m;switch(r){case"top":m={x:f,y:o.y-i.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:c};break;case"left":m={x:o.x-i.width,y:c};break;default:m={x:o.x,y:o.y}}switch(fe(t)){case"start":m[l]-=d*(n&&u?-1:1);break;case"end":m[l]+=d*(n&&u?-1:1);break}return m}async function Bn(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:a,strategy:r}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:m=0}=ce(t,e),h=jt(m),v=a[d?c==="floating"?"reference":"floating":c],p=ke(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:r})),g=c==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),E=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=ke(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:r}):g);return{top:(p.top-b.top+h.top)/E.y,bottom:(b.bottom-p.bottom+h.bottom)/E.y,left:(p.left-b.left+h.left)/E.x,right:(b.right-p.right+h.right)/E.x}}const In=50,zn=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:Bn},r=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=Vt(u,o,r),d=o,m=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:p,fn:g}=v,{x:y,y:E,data:b,reset:x}=await g({x:f,y:c,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});f=y??f,c=E??c,h[p]={...h[p],...b},x&&m<In&&(m++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(u=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:c}=Vt(u,d,r)),w=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}},Un=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:l,elements:a,middlewareData:r}=t,{element:u,padding:f=0}=ce(e,t)||{};if(u==null)return{};const c=jt(f),d={x:n,y:o},m=Qe(i),h=Je(m),w=await l.getDimensions(u),v=m==="y",p=v?"top":"left",g=v?"bottom":"right",y=v?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[m]-d[m]-s.floating[h],b=d[m]-s.reference[m],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let S=x?x[y]:0;(!S||!await(l.isElement==null?void 0:l.isElement(x)))&&(S=a.floating[y]||s.floating[h]);const A=E/2-b/2,N=S/2-w[h]/2-1,P=Y(c[p],N),G=Y(c[g],N),V=P,Z=S-w[h]-G,R=S/2-w[h]/2+A,le=Ze(V,R,Z),U=!r.arrow&&fe(i)!=null&&R!==le&&s.reference[h]/2-(R<V?P:G)-w[h]/2<0,D=U?R<V?R-V:R-Z:0;return{[m]:d[m]+D,data:{[m]:le,centerOffset:R-le-D,...U&&{alignmentOffset:D}},reset:U}}}),qn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:a,platform:r,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=ce(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const p=X(i),g=I(a),y=X(a)===a,E=await(r.isRTL==null?void 0:r.isRTL(u.floating)),b=d||(y||!w?[_e(a)]:Dn(a)),x=h!=="none";!d&&x&&b.push(...Vn(a,w,h,E));const S=[a,...b],A=await r.detectOverflow(t,v),N=[];let P=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(A[p]),c){const R=$n(i,l,E);N.push(A[R[0]],A[R[1]])}if(P=[...P,{placement:i,overflows:N}],!N.every(R=>R<=0)){var G,V;const R=(((G=s.flip)==null?void 0:G.index)||0)+1,le=S[R];if(le&&(!(c==="alignment"?g!==I(le):!1)||P.every(M=>I(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:R,overflows:P},reset:{placement:le}};let U=(V=P.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:V.placement;if(!U)switch(m){case"bestFit":{var Z;const D=(Z=P.filter(M=>{if(x){const J=I(M.placement);return J===g||J==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(J=>J>0).reduce((J,Ro)=>J+Ro,0)]).sort((M,J)=>M[1]-J[1])[0])==null?void 0:Z[0];D&&(U=D);break}case"initialPlacement":U=a;break}if(i!==U)return{reset:{placement:U}}}return{}}}},Yn=new Set(["left","top"]);async function Xn(e,t){const{placement:n,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=X(n),a=fe(n),r=I(n)==="y",u=Yn.has(l)?-1:1,f=s&&r?-1:1,c=ce(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof h=="number"&&(m=a==="end"?h*-1:h),r?{x:m*f,y:d*u}:{x:d*u,y:m*f}}const Kn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:s,placement:l,middlewareData:a}=t,r=await Xn(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Gn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:r={fn:p=>{let{x:g,y}=p;return{x:g,y}}},...u}=ce(e,t),f={x:n,y:o},c=await s.detectOverflow(t,u),d=I(X(i)),m=Dt(d);let h=f[m],w=f[d];if(l){const p=m==="y"?"top":"left",g=m==="y"?"bottom":"right",y=h+c[p],E=h-c[g];h=Ze(y,h,E)}if(a){const p=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=w+c[p],E=w-c[g];w=Ze(y,w,E)}const v=r.fn({...t,[m]:h,[d]:w});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:l,[d]:a}}}}}},Zn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:s,platform:l,elements:a}=t,{apply:r=()=>{},...u}=ce(e,t),f=await l.detectOverflow(t,u),c=X(i),d=fe(i),m=I(i)==="y",{width:h,height:w}=s.floating;let v,p;c==="top"||c==="bottom"?(v=c,p=d===(await(l.isRTL==null?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(p=c,v=d==="end"?"top":"bottom");const g=w-f.top-f.bottom,y=h-f.left-f.right,E=Y(w-f[v],g),b=Y(h-f[p],y),x=!t.middlewareData.shift;let S=E,A=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=g),x&&!d){const P=F(f.left,0),G=F(f.right,0),V=F(f.top,0),Z=F(f.bottom,0);m?A=h-2*(P!==0||G!==0?P+G:F(f.left,f.right)):S=w-2*(V!==0||Z!==0?V+Z:F(f.top,f.bottom))}await r({...t,availableWidth:A,availableHeight:S});const N=await l.getDimensions(a.floating);return h!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}};function Le(){return typeof window<"u"}function ue(e){return Ht(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function j(e){var t;return(t=(Ht(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ht(e){return Le()?e instanceof Node||e instanceof _(e).Node:!1}function L(e){return Le()?e instanceof Element||e instanceof _(e).Element:!1}function z(e){return Le()?e instanceof HTMLElement||e instanceof _(e).HTMLElement:!1}function Bt(e){return!Le()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof _(e).ShadowRoot}function be(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&i!=="inline"&&i!=="contents"}function Jn(e){return/^(table|td|th)$/.test(ue(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Qn=/transform|translate|scale|rotate|perspective|filter/,eo=/paint|layout|strict|content/,oe=e=>!!e&&e!=="none";let tt;function nt(e){const t=L(e)?$(e):e;return oe(t.transform)||oe(t.translate)||oe(t.scale)||oe(t.rotate)||oe(t.perspective)||!ot()&&(oe(t.backdropFilter)||oe(t.filter))||Qn.test(t.willChange||"")||eo.test(t.contain||"")}function to(e){let t=K(e);for(;z(t)&&!de(t);){if(nt(t))return t;if($e(t))return null;t=K(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function de(e){return/^(html|body|#document)$/.test(ue(e))}function $(e){return _(e).getComputedStyle(e)}function De(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function K(e){if(ue(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Bt(e)&&e.host||j(e);return Bt(t)?t.host:t}function It(e){const t=K(e);return de(t)?e.ownerDocument?e.ownerDocument.body:e.body:z(t)&&be(t)?t:It(t)}function Ee(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=It(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const a=it(l);return t.concat(l,l.visualViewport||[],be(i)?i:[],a&&n?Ee(a):[])}else return t.concat(i,Ee(i,[],n))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zt(e){const t=$(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=z(e),s=i?e.offsetWidth:n,l=i?e.offsetHeight:o,a=Te(n)!==s||Te(o)!==l;return a&&(n=s,o=l),{width:n,height:o,$:a}}function st(e){return L(e)?e:e.contextElement}function he(e){const t=st(e);if(!z(t))return W(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:s}=zt(t);let l=(s?Te(n.width):n.width)/o,a=(s?Te(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const no=W(0);function Ut(e){const t=_(e);return!ot()||!t.visualViewport?no:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function oo(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==_(e)?!1:t}function ie(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=st(e);let l=W(1);t&&(o?L(o)&&(l=he(o)):l=he(e));const a=oo(s,n,o)?Ut(s):W(0);let r=(i.left+a.x)/l.x,u=(i.top+a.y)/l.y,f=i.width/l.x,c=i.height/l.y;if(s){const d=_(s),m=o&&L(o)?_(o):o;let h=d,w=it(h);for(;w&&o&&m!==h;){const v=he(w),p=w.getBoundingClientRect(),g=$(w),y=p.left+(w.clientLeft+parseFloat(g.paddingLeft))*v.x,E=p.top+(w.clientTop+parseFloat(g.paddingTop))*v.y;r*=v.x,u*=v.y,f*=v.x,c*=v.y,r+=y,u+=E,h=_(w),w=it(h)}}return ke({width:f,height:c,x:r,y:u})}function Me(e,t){const n=De(e).scrollLeft;return t?t.left+n:ie(j(e)).left+n}function qt(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Me(e,n),i=n.top+t.scrollTop;return{x:o,y:i}}function io(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=j(o),a=t?$e(t.floating):!1;if(o===l||a&&s)return n;let r={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),c=z(o);if((c||!c&&!s)&&((ue(o)!=="body"||be(l))&&(r=De(o)),c)){const m=ie(o);u=he(o),f.x=m.x+o.clientLeft,f.y=m.y+o.clientTop}const d=l&&!c&&!s?qt(l,r):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-r.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-r.scrollTop*u.y+f.y+d.y}}function so(e){return Array.from(e.getClientRects())}function lo(e){const t=j(e),n=De(e),o=e.ownerDocument.body,i=F(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=F(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Me(e);const a=-n.scrollTop;return $(o).direction==="rtl"&&(l+=F(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:a}}const Yt=25;function ro(e,t){const n=_(e),o=j(e),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,a=0,r=0;if(i){s=i.width,l=i.height;const f=ot();(!f||f&&t==="fixed")&&(a=i.offsetLeft,r=i.offsetTop)}const u=Me(o);if(u<=0){const f=o.ownerDocument,c=f.body,d=getComputedStyle(c),m=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-c.clientWidth-m);h<=Yt&&(s-=h)}else u<=Yt&&(s+=u);return{width:s,height:l,x:a,y:r}}function ao(e,t){const n=ie(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,s=z(e)?he(e):W(1),l=e.clientWidth*s.x,a=e.clientHeight*s.y,r=i*s.x,u=o*s.y;return{width:l,height:a,x:r,y:u}}function Xt(e,t,n){let o;if(t==="viewport")o=ro(e,n);else if(t==="document")o=lo(j(e));else if(L(t))o=ao(t,n);else{const i=Ut(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ke(o)}function Kt(e,t){const n=K(e);return n===t||!L(n)||de(n)?!1:$(n).position==="fixed"||Kt(n,t)}function co(e,t){const n=t.get(e);if(n)return n;let o=Ee(e,[],!1).filter(a=>L(a)&&ue(a)!=="body"),i=null;const s=$(e).position==="fixed";let l=s?K(e):e;for(;L(l)&&!de(l);){const a=$(l),r=nt(l);!r&&a.position==="fixed"&&(i=null),(s?!r&&!i:!r&&a.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||be(l)&&!r&&Kt(e,l))?o=o.filter(f=>f!==l):i=a,l=K(l)}return t.set(e,o),o}function fo(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?$e(t)?[]:co(t,this._c):[].concat(n),o],a=Xt(t,l[0],i);let r=a.top,u=a.right,f=a.bottom,c=a.left;for(let d=1;d<l.length;d++){const m=Xt(t,l[d],i);r=F(m.top,r),u=Y(m.right,u),f=Y(m.bottom,f),c=F(m.left,c)}return{width:u-c,height:f-r,x:c,y:r}}function uo(e){const{width:t,height:n}=zt(e);return{width:t,height:n}}function ho(e,t,n){const o=z(t),i=j(t),s=n==="fixed",l=ie(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const r=W(0);function u(){r.x=Me(i)}if(o||!o&&!s)if((ue(t)!=="body"||be(i))&&(a=De(t)),o){const m=ie(t,!0,s,t);r.x=m.x+t.clientLeft,r.y=m.y+t.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?qt(i,a):W(0),c=l.left+a.scrollLeft-r.x-f.x,d=l.top+a.scrollTop-r.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function lt(e){return $(e).position==="static"}function Gt(e,t){if(!z(e)||$(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function Zt(e,t){const n=_(e);if($e(e))return n;if(!z(e)){let i=K(e);for(;i&&!de(i);){if(L(i)&&!lt(i))return i;i=K(i)}return n}let o=Gt(e,t);for(;o&&Jn(o)&&lt(o);)o=Gt(o,t);return o&&de(o)&&lt(o)&&!nt(o)?n:o||to(e)||n}const mo=async function(e){const t=this.getOffsetParent||Zt,n=this.getDimensions,o=await n(e.floating);return{reference:ho(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function po(e){return $(e).direction==="rtl"}const rt={convertOffsetParentRelativeRectToViewportRelativeRect:io,getDocumentElement:j,getClippingRect:fo,getOffsetParent:Zt,getElementRects:mo,getClientRects:so,getDimensions:uo,getScale:he,isElement:L,isRTL:po};function Jt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function go(e,t){let n=null,o;const i=j(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function l(a,r){a===void 0&&(a=!1),r===void 0&&(r=1),s();const u=e.getBoundingClientRect(),{left:f,top:c,width:d,height:m}=u;if(a||t(),!d||!m)return;const h=Fe(c),w=Fe(i.clientWidth-(f+d)),v=Fe(i.clientHeight-(c+m)),p=Fe(f),y={rootMargin:-h+"px "+-w+"px "+-v+"px "+-p+"px",threshold:F(0,Y(1,r))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==r){if(!E)return l();S?l(!1,S):o=setTimeout(()=>{l(!1,1e-7)},1e3)}S===1&&!Jt(u,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(e)}return l(!0),s}function yo(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:r=!1}=o,u=st(e),f=i||s?[...u?Ee(u):[],...t?Ee(t):[]]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});const c=u&&a?go(u,n):null;let d=-1,m=null;l&&(m=new ResizeObserver(p=>{let[g]=p;g&&g.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!r&&m.observe(u),t&&m.observe(t));let h,w=r?ie(e):null;r&&v();function v(){const p=ie(e);w&&!Jt(w,p)&&n(),w=p,h=requestAnimationFrame(v)}return n(),()=>{var p;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(p=m)==null||p.disconnect(),m=null,r&&cancelAnimationFrame(h)}}const wo=Kn,vo=Gn,bo=qn,Qt=Zn,Eo=Un,xo=(e,t,n)=>{const o=new Map,i={platform:rt,...n},s={...i.platform,_c:o};return zn(e,t,{...i,platform:s})};function en(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const So=/transform|translate|scale|rotate|perspective|filter/,Oo=/paint|layout|strict|content/,se=e=>!!e&&e!=="none";let at;function Ao(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof en(n).Element)?en(o=e).getComputedStyle(o):e);var n,o;return se(t.transform)||se(t.translate)||se(t.scale)||se(t.rotate)||se(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(se(t.backdropFilter)||se(t.filter)))||So.test(t.willChange||"")||Oo.test(t.contain||"")}function No(e){return(function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||Ao(o)||n.tagName==="BODY"))return n}return null})(e)}function ct(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(xe||(xe={}));const me=class me{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=yo(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=[wo(t)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=bo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:t}),a=this.config.elementType===xe.POPOVER,r=vo({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===xe.TOOLTIP||a&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(Qt({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,r):n.push(r,l),this.config.constrainToViewportHeight&&n.push(Qt({padding:t,apply:({availableHeight:u,elements:f})=>{const c=Array.from(f.floating.children).find((d=>d!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,u)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(Eo({element:this.arrowEl,padding:t})),xo(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...rt,getOffsetParent:u=>rt.getOffsetParent(u,No)}}).then((({x:u,y:f,middlewareData:c,placement:d})=>{if(a){const v=d.startsWith("left")||d.startsWith("right"),p=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!p||(v?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=d,Object.assign(this.floatingElement.style,{left:`${u}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const m=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[m],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:p,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(m)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(m)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,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),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),a=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(a)||a<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),me.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=me.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),me.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,o=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=n-i&&t.right>=0&&t.left<=o}};me.currentFloatingElements=new Map;let ft=me;const tn=Rn(class extends ht{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.constrainPlacements=["bottom","top"],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 ft(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:xe.FLYOUT_PANEL,constrainPlacements:this?.constrainPlacements??["bottom","top"],constrainToViewportHeight:!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=on(e);t.push(...n);const o=this._el.shadowRoot?.querySelector("slot:not([name])");o&&o.assignedElements({flatten:!0}).forEach((i=>{const s=on(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const l=i.compareDocumentPosition(s),a=!!(l&Node.DOCUMENT_POSITION_FOLLOWING),r=!!(l&Node.DOCUMENT_POSITION_PRECEDING);return a?-1:r?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let o=document.activeElement;if(o===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(o=s)}const i=this.focusableElements.indexOf(o)!==-1;e.shiftKey?o!==t&&i||(e.preventDefault(),n&&n.focus()):o!==n&&i||(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)}openFlyoutPanel(e){e&&e.stopPropagation(),this.floatingElementManager.isVisible()||(this.floatingElementManager.show(),this.onFlyoutPanelShow())}closeFlyoutPanel(e){e&&e.stopPropagation(),this.floatingElementManager.isVisible()&&(this.floatingElementManager.hide(),this.onFlyoutPanelHide())}render(){return ne(Tn,{key:"ad79cb0c6c6f36d2d6926233dd10d1de053fa405"},ne("slot",{key:"97333353f6deda3222ccdcee1a7c9a42900204f5",name:"anchor"}),ne("div",{key:"805d139b92080862e60dad9591908f4c9af42dd3",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},ne("div",{key:"522bae9ac93bbb12e3d3f820a477c81b768ddff3"},ne("slot",{key:"3c3601c973866e9d6ccb7aaeb686e0659b54ea50"}))))}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],openFlyoutPanel:[64],closeFlyoutPanel:[64]},void 0,{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}]),nn=e=>{if(!(e instanceof ht)||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 o=document.activeElement===e;return e.tabIndex=n,o&&e.blur(),o}catch{return!1}},on=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>nn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];nn(e)&&n.push(e);let o=t.nextNode();for(;o!==null;)n.push(o),o=t.nextNode();return n};function sn(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,tn))}))}sn();const Co=tn,Po=sn;Q.GidsFlyoutPanel=Co,Q.defineCustomElement=Po,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const p=[];for(let g=0;g<v.length;g++){const y=v[g]["s-nr"]||void 0;y&&y.isConnected&&p.push(y)}return p})(w.childNodes)).forEach((v=>{h===ge(v)&&m.push(v)})),c?m.filter((v=>v.nodeType===1)):m}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Nt(e.S)),s},Nt=e=>{C.i|=1;const t=e.closest(ne.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&(k(t,i,n??null),i["s-sh"]=void 0,Ne=!0)}C.i&=-2},Pe=(e,t)=>{C.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===ne&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==ne&&i["s-ol"]&&(k(we(i).parentNode,i,we(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Pe(i,t)}C.i&=-2},Ct=(e,t,n,o,i,s)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===ne&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=s;++i)o[i]&&(l=Ce(null,n,i),l&&(o[i].S=l,k(a,l,we(t))))},Pt=(e,t,n)=>{for(let o=t;o<=n;++o){const i=e[o];if(i){const s=i.S;Tt(i),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Pe(s,!0),s.remove())}}},Re=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),we=e=>e&&e["s-ol"]||e,ce=(e,t,n=!1)=>{const o=t.S=e.S,i=e.m,s=t.m,l=t.O,a=t.h;let r;a==null?(T=l==="svg"||l!=="foreignObject"&&T,l!=="slot"||ye||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Nt(t.S.parentElement)),Ye(e,t,T),i!==null&&s!==null?((u,f,c,d,m=!1)=>{let h,w,v=0,p=0,g=0,y=0,E=f.length-1,b=f[0],x=f[E],S=d.length-1,A=d[0],N=d[S];const P=c.O==="template"?u.content:u;for(;v<=E&&p<=S;)if(b==null)b=f[++v];else if(x==null)x=f[--E];else if(A==null)A=d[++p];else if(N==null)N=d[--S];else if(Re(b,A,m))ce(b,A,m),b=f[++v],A=d[++p];else if(Re(x,N,m))ce(x,N,m),x=f[--E],N=d[--S];else if(Re(b,N,m))b.O!=="slot"&&N.O!=="slot"||Pe(b.S.parentNode,!1),ce(b,N,m),k(P,b.S,x.S.nextSibling),b=f[++v],N=d[--S];else if(Re(x,A,m))b.O!=="slot"&&N.O!=="slot"||Pe(x.S.parentNode,!1),ce(x,A,m),k(P,x.S,b.S),x=f[--E],A=d[++p];else{for(g=-1,y=v;y<=E;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(w=f[g],w.O!==A.O?h=Ce(f&&f[p],c,g):(ce(w,A,m),f[g]=void 0,h=w.S),A=d[++p]):(h=Ce(f&&f[p],c,p),A=d[++p]),h&&k(we(b.S).parentNode,h,we(b.S))}v>E?Ct(u,d[S+1]==null?null:d[S+1].S,c,d,p,S):p>S&&Pt(f,v,E)})(o,i,t,s,n):s!==null?(e.h!==null&&(o.textContent=""),Ct(o,null,t,s,0,s.length-1)):!n&&i!==null&&Pt(i,0,i.length-1),T&&l==="svg"&&(T=!1)):(r=o["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(o.data=a)},B=[],Rt=e=>{let t,n,o;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(yt(t,l)){let a=B.find((r=>r.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=s["s-hn"],a.N=s):(t["s-sh"]=s["s-hn"],B.push({N:s,k:t})),t["s-sr"]&&B.map((r=>{yt(r.k,t["s-sn"])&&(a=B.find((u=>u.k===t)),a&&!r.N&&(r.N=a.N))}))}else B.some((a=>a.k===t))||B.push({k:t})}s.nodeType===1&&Rt(s)}},Tt=e=>{e.v&&e.v.ref&&Xe.push((()=>e.v.ref(null))),e.m&&e.m.map(Tt)},wn=(e,t)=>{Ke.push((()=>e(t)))},k=(e,t,n,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(s,l){var a;if(!(l=l||((a=s["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=ge(s)||"";return{slotNode:Ie(ze(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},vn=(e,t,n=!1)=>{var o,i,s,l,a;const r=e.$hostElement$,u=e.o,f=e.M||Oe(null,null);var c;const d=(c=t)&&c.O===dn?t:oe(null,null,t);if(ne=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([m,h])=>{d.v[h]=r[m]}))),n&&d.v)for(const m of Object.keys(d.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(d.v[m]=r[m]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,ye=!(!(1&u.i)||128&u.i),Ue=r["s-cr"],Ae=!1,ce(f,d,n),C.i|=1,Ne){Rt(d.S);for(const m of B){const h=m.k;if(!h["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=h,k(h.parentNode,h["s-ol"]=w,h,n)}}for(const m of B){const h=m.k,w=m.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),w){const v=w.parentNode;let p=w.nextSibling;if(p&&p.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&v===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){p=y;break}}g=g.previousSibling}}if((!p&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==p)&&h!==p){if(k(v,h,p,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,k(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else h.nodeType===1&&(h.hidden=!0)}}if(Ae&&gt(d.S),C.i&=-2,B.length=0,!ye&&!(1&u.i)&&r["s-cr"]){const m=d.S.__childNodes||d.S.childNodes;for(const h of m)if(h["s-hn"]!==ne&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],k(h.parentNode,w,h,n),h.parentNode.removeChild(h)}}}Ue=void 0,Xe.forEach((m=>m())),Xe.length=0,Ke.forEach((m=>m())),Ke.length=0},Ft=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(n-1,1),o()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ft(e,e.R);const n=()=>bn(e,t);if(!t)return cn(n);queueMicrotask((()=>{n()}))},bn=(e,t)=>{const n=e.$hostElement$,o=n;if(!o)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=ve(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=_t(i,(()=>ve(o,"componentWillRender",void 0,n))),_t(i,(()=>xn(e,o,t)))},_t=(e,t)=>En(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),En=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xn=async(e,t,n)=>{var o;const i=e.$hostElement$,s=i["s-rc"];n&&(l=>{const a=l.o,r=l.$hostElement$,u=a.i,f=((c,d)=>{var m,h,w;const v=wt(d),p=Se.get(v);if(!O.document)return v;if(c=c.nodeType===11?c:O.document,p)if(typeof p=="string"){let g,y=Y.get(c=c.head||c);if(y||Y.set(c,y=new Set),!y.has(v)){g=O.document.createElement("style"),g.textContent=p;const E=(m=C._)!=null?m:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&g.setAttribute("nonce",E),!(1&d.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,x?.parentNode===c?x:null)}else if("host"in c)if(We){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(p),Ve?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=p+b.textContent:c.prepend(g)}else c.append(g);1&d.i&&c.insertBefore(g,null),4&d.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(v)}}else{let g=Y.get(c);if(g||Y.set(c,g=new Set),!g.has(v)){const y=(w=c.defaultView)!=null?w:c.ownerDocument.defaultView;let E;if(p.constructor===y.CSSStyleSheet)E=p;else{E=new y.CSSStyleSheet;for(let b=0;b<p.cssRules.length;b++)E.insertRule(p.cssRules[b].cssText,b)}Ve?c.adoptedStyleSheets.push(E):c.adoptedStyleSheets=[...c.adoptedStyleSheets,E],g.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),Sn(e,t,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],a=()=>On(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},Sn=(e,t,n,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,vn(e,t,o)}catch(i){te(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,n=t,o=e.R;ve(n,"componentDidRender",void 0,t),64&e.i?ve(n,"componentDidUpdate",void 0,t):(e.i|=64,Nn(t),ve(n,"componentDidLoad",void 0,t),e.L(t),o||An()),e.A&&(e.A(),e.A=void 0),512&e.i&&Be((()=>Ge(e,!1))),e.i&=-517},An=()=>{Be((()=>pn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ve=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(i){te(i,o)}},Nn=e=>e.classList.add("hydrated"),kt=(e,t,n,o)=>{const i=H(e);if(!i)return;const s=e,l=i.l.get(t),a=i.i,r=s;n=Et(n,o.t[t][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(t,n),o.F){const f=o.F[t];f&&f.map((c=>{try{const[[d,m]]=Object.entries(c);(128&a||1&m)&&(r?r[d](n,l,t):i.T.push((()=>{i.D[d](n,l,t)})))}catch(d){te(d,s)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,l,t)===!1&&!(16&a))return;16&a||Ge(i,!1)}}},Cn=(e,t,n)=>{var o,i;const s=e.prototype;64&t.i&&1&n&&ln.forEach((l=>{const a=s[l];Object.defineProperty(s,l,{value(...r){var u;const f=H(this),c=this;c?typeof a=="function"&&a.call(c,...r):(u=f?.H)==null||u.then((d=>{const m=d[l];typeof m=="function"&&m.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=bt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[r]])=>{if(31&r||32&r){const{get:u,set:f}=ae(s,a)||{};u&&(t.t[a][0]|=2048),f&&(t.t[a][0]|=4096),Object.defineProperty(s,a,{get(){return u?u.apply(this):(c=a,H(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,a,{set(c){const d=H(this);if(d){if(f)return(32&r?this[a]:d.$hostElement$[a])===void 0&&d.l.get(a)&&(c=d.l.get(a)),f.apply(this,[Et(c,r,!!(64&t.i))]),void kt(this,a,c=32&r?this[a]:d.$hostElement$[a],t);kt(this,a,c,t)}}})}}));{const a=new Map;s.attributeChangedCallback=function(r,u,f){C.jmp((()=>{var c;const d=a.get(r),m=H(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=m?.i;if(m&&g&&!(8&g)&&f!==u){const y=this,E=(c=t.F)==null?void 0:c[r];E?.forEach((b=>{const[[x,S]]=Object.entries(b);y[x]!=null&&(128&g||1&S)&&y[x].call(y,f,u,r)}))}return}const h=l.find((([g])=>g===d)),w=h&&4&h[1][0],v=w&&f===null&&this[d]===void 0;w&&(f=f!==null&&f!=="false");const p=Object.getOwnPropertyDescriptor(s,d);v||f==this[d]||p.get&&!p.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const c=u[1]||r;return a.set(c,r),512&u[0]&&((f=t.C)==null||f.push([r,c])),c}))]))}}return e},Pn=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=bt(e.F),n.P=e.P,n.U=e.U,n.C=[];const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const a={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};a.H=new Promise((u=>a.L=u)),s["s-p"]=[],s["s-rc"]=[];const r=a;s.__stencil__getHostRef=()=>r,512&l.i&&sn(s,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=H(this);if(!s)return;Lt(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=H(s);if(!l)return;const a=l.o;if(1&l.i)Lt(s,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(r=>{if(!O.document)return;const u=r["s-cr"]=O.document.createComment("");u["s-cn"]=!0,k(r,u,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ft(l,l.R=r);break}}a.t&&Object.entries(a.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,r)){const f=s[r];delete s[r],s[r]=f}})),(async(r,u,f)=>{let c;try{if(!(32&u.i)&&(u.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const w=wt(f);Se.has(w)||((v,p,g)=>{let y=Se.get(v);We&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=p:y.replaceSync(p)):y=p,Se.set(v,y)})(w,h,!!(1&f.i))}const d=u.R,m=()=>Ge(u,!0);d&&d["s-rc"]?d["s-rc"].push(m):m()}catch(d){te(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(s,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=H(s);l?.V&&(l.V.map((a=>a())),l.V=void 0)}Y.has(s)&&Y.delete(s),s.shadowRoot&&Y.has(s.shadowRoot)&&Y.delete(s.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 fn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Cn(e,n,3)}catch(o){return te(o),e}},Rn=(e,t)=>t,Lt=(e,t,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=Fn(O.document,e,o),a=Tn(t,s),r=_n(o);C.ael(l,i,a,r),(t.V=t.V||[]).push((()=>C.rel(l,i,a,r)))}))},Tn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(o){te(o,e.$hostElement$)}},Fn=(e,t,n)=>8&n?O:t,_n=e=>rn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function To(e){return e}const X=Math.min,F=Math.max,Te=Math.round,Fe=Math.floor,W=e=>({x:e,y:e}),kn={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,n){return F(e,X(t,n))}function fe(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function $t(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return $t(I(e))}function Ln(e,t,n){n===void 0&&(n=!1);const o=ue(e),i=Qe(e),s=Je(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=_e(l)),[l,_e(l)]}function $n(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Dt=["left","right"],Mt=["right","left"],Dn=["top","bottom"],Mn=["bottom","top"];function Wn(e,t,n){switch(e){case"top":case"bottom":return n?t?Mt:Dt:t?Dt:Mt;case"left":case"right":return t?Dn:Mn;default:return[]}}function Vn(e,t,n,o){const i=ue(e);let s=Wn(K(e),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=K(e);return kn[t]+e.slice(t.length)}function jn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wt(e){return typeof e!="number"?jn(e):{top:e,right:e,bottom:e,left:e}}function ke(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function Vt(e,t,n){let{reference:o,floating:i}=e;const s=I(t),l=Qe(t),a=Je(l),r=K(t),u=s==="y",f=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,d=o[a]/2-i[a]/2;let m;switch(r){case"top":m={x:f,y:o.y-i.height};break;case"bottom":m={x:f,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:c};break;case"left":m={x:o.x-i.width,y:c};break;default:m={x:o.x,y:o.y}}switch(ue(t)){case"start":m[l]-=d*(n&&u?-1:1);break;case"end":m[l]+=d*(n&&u?-1:1);break}return m}async function Hn(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:a,strategy:r}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:m=0}=fe(t,e),h=Wt(m),v=a[d?c==="floating"?"reference":"floating":c],p=ke(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:r})),g=c==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),E=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=ke(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:r}):g);return{top:(p.top-b.top+h.top)/E.y,bottom:(b.bottom-p.bottom+h.bottom)/E.y,left:(p.left-b.left+h.left)/E.x,right:(b.right-p.right+h.right)/E.x}}const Bn=50,In=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:Hn},r=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:c}=Vt(u,o,r),d=o,m=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:p,fn:g}=v,{x:y,y:E,data:b,reset:x}=await g({x:f,y:c,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});f=y??f,c=E??c,h[p]={...h[p],...b},x&&m<Bn&&(m++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(u=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:c}=Vt(u,d,r)),w=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}},zn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:l,elements:a,middlewareData:r}=t,{element:u,padding:f=0}=fe(e,t)||{};if(u==null)return{};const c=Wt(f),d={x:n,y:o},m=Qe(i),h=Je(m),w=await l.getDimensions(u),v=m==="y",p=v?"top":"left",g=v?"bottom":"right",y=v?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[m]-d[m]-s.floating[h],b=d[m]-s.reference[m],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let S=x?x[y]:0;(!S||!await(l.isElement==null?void 0:l.isElement(x)))&&(S=a.floating[y]||s.floating[h]);const A=E/2-b/2,N=S/2-w[h]/2-1,P=X(c[p],N),Z=X(c[g],N),j=P,J=S-w[h]-Z,R=S/2-w[h]/2+A,re=Ze(j,R,J),q=!r.arrow&&ue(i)!=null&&R!==re&&s.reference[h]/2-(R<j?P:Z)-w[h]/2<0,D=q?R<j?R-j:R-J:0;return{[m]:d[m]+D,data:{[m]:re,centerOffset:R-re-D,...q&&{alignmentOffset:D}},reset:q}}}),Un=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:a,platform:r,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=fe(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const p=K(i),g=I(a),y=K(a)===a,E=await(r.isRTL==null?void 0:r.isRTL(u.floating)),b=d||(y||!w?[_e(a)]:$n(a)),x=h!=="none";!d&&x&&b.push(...Vn(a,w,h,E));const S=[a,...b],A=await r.detectOverflow(t,v),N=[];let P=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(A[p]),c){const R=Ln(i,l,E);N.push(A[R[0]],A[R[1]])}if(P=[...P,{placement:i,overflows:N}],!N.every(R=>R<=0)){var Z,j;const R=(((Z=s.flip)==null?void 0:Z.index)||0)+1,re=S[R];if(re&&(!(c==="alignment"?g!==I(re):!1)||P.every(M=>I(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:R,overflows:P},reset:{placement:re}};let q=(j=P.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:j.placement;if(!q)switch(m){case"bestFit":{var J;const D=(J=P.filter(M=>{if(x){const Q=I(M.placement);return Q===g||Q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(Q=>Q>0).reduce((Q,Ro)=>Q+Ro,0)]).sort((M,Q)=>M[1]-Q[1])[0])==null?void 0:J[0];D&&(q=D);break}case"initialPlacement":q=a;break}if(i!==q)return{reset:{placement:q}}}return{}}}},qn=new Set(["left","top"]);async function Yn(e,t){const{placement:n,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=K(n),a=ue(n),r=I(n)==="y",u=qn.has(l)?-1:1,f=s&&r?-1:1,c=fe(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof h=="number"&&(m=a==="end"?h*-1:h),r?{x:m*f,y:d*u}:{x:d*u,y:m*f}}const Xn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:s,placement:l,middlewareData:a}=t,r=await Yn(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Kn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:r={fn:p=>{let{x:g,y}=p;return{x:g,y}}},...u}=fe(e,t),f={x:n,y:o},c=await s.detectOverflow(t,u),d=I(K(i)),m=$t(d);let h=f[m],w=f[d];if(l){const p=m==="y"?"top":"left",g=m==="y"?"bottom":"right",y=h+c[p],E=h-c[g];h=Ze(y,h,E)}if(a){const p=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=w+c[p],E=w-c[g];w=Ze(y,w,E)}const v=r.fn({...t,[m]:h,[d]:w});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:l,[d]:a}}}}}},Gn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:s,platform:l,elements:a}=t,{apply:r=()=>{},...u}=fe(e,t),f=await l.detectOverflow(t,u),c=K(i),d=ue(i),m=I(i)==="y",{width:h,height:w}=s.floating;let v,p;c==="top"||c==="bottom"?(v=c,p=d===(await(l.isRTL==null?void 0:l.isRTL(a.floating))?"start":"end")?"left":"right"):(p=c,v=d==="end"?"top":"bottom");const g=w-f.top-f.bottom,y=h-f.left-f.right,E=X(w-f[v],g),b=X(h-f[p],y),x=!t.middlewareData.shift;let S=E,A=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=g),x&&!d){const P=F(f.left,0),Z=F(f.right,0),j=F(f.top,0),J=F(f.bottom,0);m?A=h-2*(P!==0||Z!==0?P+Z:F(f.left,f.right)):S=w-2*(j!==0||J!==0?j+J:F(f.top,f.bottom))}await r({...t,availableWidth:A,availableHeight:S});const N=await l.getDimensions(a.floating);return h!==N.width||w!==N.height?{reset:{rects:!0}}:{}}}};function Le(){return typeof window<"u"}function de(e){return jt(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function V(e){var t;return(t=(jt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function jt(e){return Le()?e instanceof Node||e instanceof _(e).Node:!1}function L(e){return Le()?e instanceof Element||e instanceof _(e).Element:!1}function z(e){return Le()?e instanceof HTMLElement||e instanceof _(e).HTMLElement:!1}function Ht(e){return!Le()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof _(e).ShadowRoot}function be(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&i!=="inline"&&i!=="contents"}function Zn(e){return/^(table|td|th)$/.test(de(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Jn=/transform|translate|scale|rotate|perspective|filter/,Qn=/paint|layout|strict|content/,ie=e=>!!e&&e!=="none";let tt;function nt(e){const t=L(e)?$(e):e;return ie(t.transform)||ie(t.translate)||ie(t.scale)||ie(t.rotate)||ie(t.perspective)||!ot()&&(ie(t.backdropFilter)||ie(t.filter))||Jn.test(t.willChange||"")||Qn.test(t.contain||"")}function eo(e){let t=G(e);for(;z(t)&&!he(t);){if(nt(t))return t;if($e(t))return null;t=G(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function he(e){return/^(html|body|#document)$/.test(de(e))}function $(e){return _(e).getComputedStyle(e)}function De(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function G(e){if(de(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||V(e);return Ht(t)?t.host:t}function Bt(e){const t=G(e);return he(t)?e.ownerDocument?e.ownerDocument.body:e.body:z(t)&&be(t)?t:Bt(t)}function Ee(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Bt(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const a=it(l);return t.concat(l,l.visualViewport||[],be(i)?i:[],a&&n?Ee(a):[])}else return t.concat(i,Ee(i,[],n))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function It(e){const t=$(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=z(e),s=i?e.offsetWidth:n,l=i?e.offsetHeight:o,a=Te(n)!==s||Te(o)!==l;return a&&(n=s,o=l),{width:n,height:o,$:a}}function st(e){return L(e)?e:e.contextElement}function me(e){const t=st(e);if(!z(t))return W(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:s}=It(t);let l=(s?Te(n.width):n.width)/o,a=(s?Te(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const to=W(0);function zt(e){const t=_(e);return!ot()||!t.visualViewport?to:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function no(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==_(e)?!1:t}function se(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=st(e);let l=W(1);t&&(o?L(o)&&(l=me(o)):l=me(e));const a=no(s,n,o)?zt(s):W(0);let r=(i.left+a.x)/l.x,u=(i.top+a.y)/l.y,f=i.width/l.x,c=i.height/l.y;if(s){const d=_(s),m=o&&L(o)?_(o):o;let h=d,w=it(h);for(;w&&o&&m!==h;){const v=me(w),p=w.getBoundingClientRect(),g=$(w),y=p.left+(w.clientLeft+parseFloat(g.paddingLeft))*v.x,E=p.top+(w.clientTop+parseFloat(g.paddingTop))*v.y;r*=v.x,u*=v.y,f*=v.x,c*=v.y,r+=y,u+=E,h=_(w),w=it(h)}}return ke({width:f,height:c,x:r,y:u})}function Me(e,t){const n=De(e).scrollLeft;return t?t.left+n:se(V(e)).left+n}function Ut(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Me(e,n),i=n.top+t.scrollTop;return{x:o,y:i}}function oo(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=V(o),a=t?$e(t.floating):!1;if(o===l||a&&s)return n;let r={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),c=z(o);if((c||!c&&!s)&&((de(o)!=="body"||be(l))&&(r=De(o)),c)){const m=se(o);u=me(o),f.x=m.x+o.clientLeft,f.y=m.y+o.clientTop}const d=l&&!c&&!s?Ut(l,r):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-r.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-r.scrollTop*u.y+f.y+d.y}}function io(e){return Array.from(e.getClientRects())}function so(e){const t=V(e),n=De(e),o=e.ownerDocument.body,i=F(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=F(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Me(e);const a=-n.scrollTop;return $(o).direction==="rtl"&&(l+=F(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:a}}const qt=25;function lo(e,t){const n=_(e),o=V(e),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,a=0,r=0;if(i){s=i.width,l=i.height;const f=ot();(!f||f&&t==="fixed")&&(a=i.offsetLeft,r=i.offsetTop)}const u=Me(o);if(u<=0){const f=o.ownerDocument,c=f.body,d=getComputedStyle(c),m=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-c.clientWidth-m);h<=qt&&(s-=h)}else u<=qt&&(s+=u);return{width:s,height:l,x:a,y:r}}function ro(e,t){const n=se(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,s=z(e)?me(e):W(1),l=e.clientWidth*s.x,a=e.clientHeight*s.y,r=i*s.x,u=o*s.y;return{width:l,height:a,x:r,y:u}}function Yt(e,t,n){let o;if(t==="viewport")o=lo(e,n);else if(t==="document")o=so(V(e));else if(L(t))o=ro(t,n);else{const i=zt(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return ke(o)}function Xt(e,t){const n=G(e);return n===t||!L(n)||he(n)?!1:$(n).position==="fixed"||Xt(n,t)}function ao(e,t){const n=t.get(e);if(n)return n;let o=Ee(e,[],!1).filter(a=>L(a)&&de(a)!=="body"),i=null;const s=$(e).position==="fixed";let l=s?G(e):e;for(;L(l)&&!he(l);){const a=$(l),r=nt(l);!r&&a.position==="fixed"&&(i=null),(s?!r&&!i:!r&&a.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||be(l)&&!r&&Xt(e,l))?o=o.filter(f=>f!==l):i=a,l=G(l)}return t.set(e,o),o}function co(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?$e(t)?[]:ao(t,this._c):[].concat(n),o],a=Yt(t,l[0],i);let r=a.top,u=a.right,f=a.bottom,c=a.left;for(let d=1;d<l.length;d++){const m=Yt(t,l[d],i);r=F(m.top,r),u=X(m.right,u),f=X(m.bottom,f),c=F(m.left,c)}return{width:u-c,height:f-r,x:c,y:r}}function fo(e){const{width:t,height:n}=It(e);return{width:t,height:n}}function uo(e,t,n){const o=z(t),i=V(t),s=n==="fixed",l=se(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const r=W(0);function u(){r.x=Me(i)}if(o||!o&&!s)if((de(t)!=="body"||be(i))&&(a=De(t)),o){const m=se(t,!0,s,t);r.x=m.x+t.clientLeft,r.y=m.y+t.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?Ut(i,a):W(0),c=l.left+a.scrollLeft-r.x-f.x,d=l.top+a.scrollTop-r.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function lt(e){return $(e).position==="static"}function Kt(e,t){if(!z(e)||$(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return V(e)===n&&(n=n.ownerDocument.body),n}function Gt(e,t){const n=_(e);if($e(e))return n;if(!z(e)){let i=G(e);for(;i&&!he(i);){if(L(i)&&!lt(i))return i;i=G(i)}return n}let o=Kt(e,t);for(;o&&Zn(o)&&lt(o);)o=Kt(o,t);return o&&he(o)&&lt(o)&&!nt(o)?n:o||eo(e)||n}const ho=async function(e){const t=this.getOffsetParent||Gt,n=this.getDimensions,o=await n(e.floating);return{reference:uo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function mo(e){return $(e).direction==="rtl"}const rt={convertOffsetParentRelativeRectToViewportRelativeRect:oo,getDocumentElement:V,getClippingRect:co,getOffsetParent:Gt,getElementRects:ho,getClientRects:io,getDimensions:fo,getScale:me,isElement:L,isRTL:mo};function Zt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function po(e,t){let n=null,o;const i=V(e);function s(){var a;clearTimeout(o),(a=n)==null||a.disconnect(),n=null}function l(a,r){a===void 0&&(a=!1),r===void 0&&(r=1),s();const u=e.getBoundingClientRect(),{left:f,top:c,width:d,height:m}=u;if(a||t(),!d||!m)return;const h=Fe(c),w=Fe(i.clientWidth-(f+d)),v=Fe(i.clientHeight-(c+m)),p=Fe(f),y={rootMargin:-h+"px "+-w+"px "+-v+"px "+-p+"px",threshold:F(0,X(1,r))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==r){if(!E)return l();S?l(!1,S):o=setTimeout(()=>{l(!1,1e-7)},1e3)}S===1&&!Zt(u,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(e)}return l(!0),s}function go(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:r=!1}=o,u=st(e),f=i||s?[...u?Ee(u):[],...t?Ee(t):[]]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});const c=u&&a?po(u,n):null;let d=-1,m=null;l&&(m=new ResizeObserver(p=>{let[g]=p;g&&g.target===u&&m&&t&&(m.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!r&&m.observe(u),t&&m.observe(t));let h,w=r?se(e):null;r&&v();function v(){const p=se(e);w&&!Zt(w,p)&&n(),w=p,h=requestAnimationFrame(v)}return n(),()=>{var p;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(p=m)==null||p.disconnect(),m=null,r&&cancelAnimationFrame(h)}}const yo=Xn,wo=Kn,vo=Un,Jt=Gn,bo=zn,Eo=(e,t,n)=>{const o=new Map,i={platform:rt,...n},s={...i.platform,_c:o};return In(e,t,{...i,platform:s})};function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const xo=/transform|translate|scale|rotate|perspective|filter/,So=/paint|layout|strict|content/,le=e=>!!e&&e!=="none";let at;function Oo(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof Qt(n).Element)?Qt(o=e).getComputedStyle(o):e);var n,o;return le(t.transform)||le(t.translate)||le(t.scale)||le(t.rotate)||le(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(le(t.backdropFilter)||le(t.filter)))||xo.test(t.willChange||"")||So.test(t.contain||"")}function Ao(e){return(function(t){for(let n=t;n;n=ct(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=ct(t);n;n=ct(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||Oo(o)||n.tagName==="BODY"))return n}return null})(e)}function ct(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(xe||(xe={}));let No=(U=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=go(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=[yo(t)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=vo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:t}),a=this.config.elementType===xe.POPOVER,r=wo({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===xe.TOOLTIP||a&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(Jt({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,r):n.push(r,l),this.config.constrainToViewportHeight&&n.push(Jt({padding:t,apply:({availableHeight:u,elements:f})=>{const c=Array.from(f.floating.children).find((d=>d!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,u)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(bo({element:this.arrowEl,padding:t})),Eo(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...rt,getOffsetParent:u=>rt.getOffsetParent(u,Ao)}}).then((({x:u,y:f,middlewareData:c,placement:d})=>{if(a){const v=d.startsWith("left")||d.startsWith("right"),p=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!p||(v?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=d,Object.assign(this.floatingElement.style,{left:`${u}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const m=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[m],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:p,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(m)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(m)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,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),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),a=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(a)||a<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),U.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=U.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),U.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,o=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=n-i&&t.right>=0&&t.left<=o}},U.currentFloatingElements=new Map,U);const en=Pn(class extends dt{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 No(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:xe.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=nn(e);t.push(...n);const o=this._el.shadowRoot?.querySelector("slot:not([name])");o&&o.assignedElements({flatten:!0}).forEach((i=>{const s=nn(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const l=i.compareDocumentPosition(s),a=!!(l&Node.DOCUMENT_POSITION_FOLLOWING),r=!!(l&Node.DOCUMENT_POSITION_PRECEDING);return a?-1:r?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let o=document.activeElement;if(o===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(o=s)}const i=this.focusableElements.indexOf(o)!==-1;e.shiftKey?o!==t&&i||(e.preventDefault(),n&&n.focus()):o!==n&&i||(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 oe(Rn,{key:"5c1652a168d27045c28c7cae5d56fe3c3b43457f"},oe("slot",{key:"dbadbb0e93053a04d647fd7af31c2363813c46c9",name:"anchor"}),oe("div",{key:"ca341b9babdf1c8d5862e0517814892743f27a07",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},oe("div",{key:"b7bd390c78988bd35673c6d7aee4fb122bc0d9e5"},oe("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}]}]),tn=e=>{if(!(e instanceof dt)||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 o=document.activeElement===e;return e.tabIndex=n,o&&e.blur(),o}catch{return!1}},nn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>tn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];tn(e)&&n.push(e);let o=t.nextNode();for(;o!==null;)n.push(o),o=t.nextNode();return n};function on(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,en))}))}on();const Co=en,Po=on;ee.GidsFlyoutPanel=Co,ee.defineCustomElement=Po,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(R,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(R=typeof globalThis<"u"?globalThis:R||self,L(R.gidsCoreWebGidsForm={}))})(this,(function(R){"use strict";function L(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var M,He=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const i=e[o],l=L(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},T=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ce=(e,t)=>t in e,P=(e,t)=>(0,console.error)(e,t),U=new Map,he="http://www.w3.org/1999/xlink",Ve=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],_=typeof window<"u"?window:{},ze=_.HTMLElement||class{},N={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{var e;let t=!1;try{(e=_.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!_.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!_.document&&Object.getOwnPropertyDescriptor(_.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],ue=[],Ue=(e,t)=>s=>{e.push(s),X||(X=!0,4&N.i?te(ee):N.raf(ee))},pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){P(s)}e.length=0},ee=()=>{pe(fe),pe(ue),(X=fe.length>0)&&N.raf(ee)},te=e=>Promise.resolve(void 0).then(e),Ge=Ue(ue);function qe(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(Q?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var ge=e=>{const t=se(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Ie(o,H(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&se(o,"childNodes").length&&ge(o)}};function oe(e,t,s){let o,r=0,i=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||H(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...oe(o.childNodes,t,s)]}return i}var Ie=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)H(r)!==t||!s&&r["s-sr"]||o.push(r);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",H=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function se(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,B,A=new WeakMap,ve=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",x=(e,t,...s)=>{let o=null,r=null,i=null,l=!1,a=!1;const n=[],c=d=>{for(let f=0;f<d.length;f++)o=d[f],Array.isArray(o)?c(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!ie(o))&&(o=String(o)),l&&a?n[n.length-1].h+=o:n.push(l?G(null,o):o),a=l)};if(c(s),t){t.key&&(r=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((f=>d[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Ye);const h=G(e,null);return h.v=t,n.length>0&&(h.m=n),h.$=r,h.j=i,h},G=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ye={},Ye={forEach:(e,t)=>e.map(be).forEach(t),map:(e,t)=>e.map(be).map(t).map(Ze)},be=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ze=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),x(e.vtag,s,...e.vchildren||[])}const t=G(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},we=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const i of e[r])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((i=>typeof i=="string"?{[i]:0}:i));return o},_e=(e,t,s)=>e==null||ie(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Je=(e,t,s)=>{const o=N.ce(t,s);return e.dispatchEvent(o),o},Se=(e,t,s,o,r,i)=>{if(s===o)return;let l=ce(e,t),a=t.toLowerCase();if(t==="class"){const n=e.classList,c=Ce(s);let h=Ce(o);n.remove(...c.filter((d=>d&&!h.includes(d)))),n.add(...h.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const n in s)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)s&&o[n]===s[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&Xe(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let c;{const h=T(e);if(h&&h.o&&h.o.t){const d=h.o.t[n];d&&d[1]&&(c=d[1])}}return c||(c=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ie(o);if((l||n&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const h=o??"";t==="list"?l=!1:s!=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),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(he,t):e.removeAttribute(t)):(!l||4&i||r)&&!n&&e.nodeType===1&&(o=o===!0?"":o,c?e.setAttributeNS(he,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ce(_,a)?a.slice(2):a[2]+t.slice(3),s||o){const n=t.endsWith(Ne);t=t.replace(Qe,""),s&&N.rel(e,t,s,n),o&&N.ael(e,t,o,n)}}},Ke=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ke):[]),Ne="Capture",Qe=new RegExp(Ne+"$"),ne=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},i=t.v||{};for(const l of xe(Object.keys(r)))l in i||Se(o,l,r[l],void 0,s,t.i);for(const l of xe(Object.keys(i)))Se(o,l,r[l],i[l],s,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,q=!1,I=!1,O=!1,le=[],ae=[],Y=(e,t,s)=>{var o;const r=t.m[s];let i,l,a,n=0;if(V||(I=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)i=r.S=_.document.createTextNode(r.h);else if(1&r.i)i=r.S=_.document.createTextNode(""),ne(null,r,O);else{if(O||(O=r.O==="svg"),!_.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.S=_.document.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&r.i?"slot-fb":r.O),O&&r.O==="foreignObject"&&(O=!1),ne(null,r,O),r.m){const c=r.O==="template"?i.content:i;for(n=0;n<r.m.length;++n)l=Y(e,r,n),l&&c.appendChild(l)}r.O==="svg"?O=!1:i.tagName==="foreignObject"&&(O=!0)}return i["s-hn"]=B,3&r.i&&(i["s-sr"]=!0,i["s-cr"]=re,i["s-sn"]=r.j||"",i["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const h=d=>(function(f){const g=[],u=this["s-sn"];f?.flatten&&console.error(`
1
+ (function(R,B){typeof exports=="object"&&typeof module<"u"?B(exports):typeof define=="function"&&define.amd?define(["exports"],B):(R=typeof globalThis<"u"?globalThis:R||self,B(R.gidsCoreWebGidsForm={}))})(this,(function(R){"use strict";function B(e,t,r){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const s=Object.getOwnPropertyDescriptor(e,t);if(s&&(!r||s.get))return s;e=Object.getPrototypeOf(e)}}var M,Ve=(e,t)=>{var r;Object.entries((r=t.o.t)!=null?r:{}).map((([o,[s]])=>{if(31&s||32&s){const i=e[o],l=B(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},$=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ce=(e,t)=>t in e,P=(e,t)=>(0,console.error)(e,t),U=new Map,he="http://www.w3.org/1999/xlink",ze=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},We=w.HTMLElement||class{},x={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,o)=>e.addEventListener(t,r,o),rel:(e,t,r,o)=>e.removeEventListener(t,r,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],ue=[],qe=(e,t)=>r=>{e.push(r),X||(X=!0,4&x.i?te(ee):x.raf(ee))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){P(r)}e.length=0},ee=()=>{ge(fe),ge(ue),(X=fe.length>0)&&x.raf(ee)},te=e=>Promise.resolve(void 0).then(e),Ge=qe(ue);function Ie(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(Q?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var pe=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Ye(o,H(o),!1).length)}));let r=0;for(r=0;r<t.length;r++){const o=t[r];o.nodeType===1&&re(o,"childNodes").length&&pe(o)}};function oe(e,t,r){let o,s=0,i=[];for(;s<e.length;s++){if(o=e[s],o["s-sr"]&&(!t||o["s-hn"]===t)&&(r===void 0||H(o)===r)&&(i.push(o),r!==void 0))return i;i=[...i,...oe(o.childNodes,t,r)]}return i}var Ye=(e,t,r=!0)=>{const o=[];(r&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)H(s)!==t||!r&&s["s-sr"]||o.push(s);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",H=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const r=e["__"+t];return typeof r!="function"?r:r.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var se,L,A=new WeakMap,ve=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",S=(e,t,...r)=>{let o=null,s=null,i=null,l=!1,a=!1;const n=[],c=d=>{for(let f=0;f<d.length;f++)o=d[f],Array.isArray(o)?c(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!ie(o))&&(o=String(o)),l&&a?n[n.length-1].h+=o:n.push(l?q(null,o):o),a=l)};if(c(r),t){t.key&&(s=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((f=>d[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Ze);const h=q(e,null);return h.v=t,n.length>0&&(h.m=n),h.$=s,h.j=i,h},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ye={},Ze={forEach:(e,t)=>e.map(be).forEach(t),map:(e,t)=>e.map(be).map(t).map(Je)},be=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Je=e=>{if(typeof e.vtag=="function"){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),S(e.vtag,r,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},_e=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let r=!1;for(const s of t){if(r)break;for(const i of e[s])if(typeof i=="string"){r=!0;break}}if(!r)return e;const o={};for(const s of t)o[s]=e[s].map((i=>typeof i=="string"?{[i]:0}:i));return o},we=(e,t,r)=>e==null||ie(e)?e:4&t?(r&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ke=(e,t,r)=>{const o=x.ce(t,r);return e.dispatchEvent(o),o},Se=(e,t,r,o,s,i)=>{if(r===o)return;let l=ce(e,t),a=t.toLowerCase();if(t==="class"){const n=e.classList,c=Ce(r);let h=Ce(o);n.remove(...c.filter((d=>d&&!h.includes(d)))),n.add(...h.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const n in r)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)r&&o[n]===r[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&et(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let c;{const h=$(e);if(h&&h.o&&h.o.t){const d=h.o.t[n];d&&d[1]&&(c=d[1])}}return c||(c=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ie(o);if((l||n&&o!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const h=o??"";t==="list"?l=!1:r!=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),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(he,t):e.removeAttribute(t)):(!l||4&i||s)&&!n&&e.nodeType===1&&(o=o===!0?"":o,c?e.setAttributeNS(he,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ce(w,a)?a.slice(2):a[2]+t.slice(3),r||o){const n=t.endsWith(Ne);t=t.replace(Xe,""),r&&x.rel(e,t,r,n),o&&x.ael(e,t,o,n)}}},Qe=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Qe):[]),Ne="Capture",Xe=new RegExp(Ne+"$"),ne=(e,t,r)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,s=e&&e.v||{},i=t.v||{};for(const l of xe(Object.keys(s)))l in i||Se(o,l,s[l],void 0,r,t.i);for(const l of xe(Object.keys(i)))Se(o,l,s[l],i[l],r,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,G=!1,I=!1,O=!1,le=[],ae=[],Y=(e,t,r)=>{var o;const s=t.m[r];let i,l,a,n=0;if(V||(I=!0,s.O==="slot"&&(s.i|=s.m?2:1)),s.h!=null)i=s.S=w.document.createTextNode(s.h);else if(1&s.i)i=s.S=w.document.createTextNode(""),ne(null,s,O);else{if(O||(O=s.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=s.S=w.document.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&s.i?"slot-fb":s.O),O&&s.O==="foreignObject"&&(O=!1),ne(null,s,O),s.m){const c=s.O==="template"?i.content:i;for(n=0;n<s.m.length;++n)l=Y(e,s,n),l&&c.appendChild(l)}s.O==="svg"?O=!1:i.tagName==="foreignObject"&&(O=!0)}return i["s-hn"]=L,3&s.i&&(i["s-sr"]=!0,i["s-cr"]=se,i["s-sn"]=s.j||"",i["s-rf"]=(o=s.v)==null?void 0:o.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const h=d=>(function(f){const p=[],u=this["s-sn"];f?.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 w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(b=>{const v=[];for(let m=0;m<b.length;m++){const p=b[m]["s-nr"]||void 0;p&&p.isConnected&&v.push(p)}return v})(w.childNodes)).forEach((b=>{u===H(b)&&g.push(b)})),d?g.filter((b=>b.nodeType===1)):g}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Oe(e.S)),i},Oe=e=>{N.i|=1;const t=e.closest(B.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&($(t,r,s??null),r["s-sh"]=void 0,I=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===B&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==B&&r["s-ol"]&&($(z(r).parentNode,r,z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,I=!0),t&&Z(r,t)}N.i&=-2},ke=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===B&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,$(a,l,z(t))))},je=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;Ee(r),i&&(q=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,D=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(O=l==="svg"||l!=="foreignObject"&&O,l!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Oe(t.S.parentElement)),ne(e,t,O),r!==null&&i!==null?((c,h,d,f,g=!1)=>{let u,w,b=0,v=0,m=0,p=0,C=h.length-1,y=h[0],S=h[C],k=f.length-1,j=f[0],E=f[k];const Me=d.O==="template"?c.content:c;for(;b<=C&&v<=k;)if(y==null)y=h[++b];else if(S==null)S=h[--C];else if(j==null)j=f[++v];else if(E==null)E=f[--k];else if(J(y,j,g))D(y,j,g),y=h[++b],j=f[++v];else if(J(S,E,g))D(S,E,g),S=h[--C],E=f[--k];else if(J(y,E,g))y.O!=="slot"&&E.O!=="slot"||Z(y.S.parentNode,!1),D(y,E,g),$(Me,y.S,S.S.nextSibling),y=h[++b],E=f[--k];else if(J(S,j,g))y.O!=="slot"&&E.O!=="slot"||Z(S.S.parentNode,!1),D(S,j,g),$(Me,S.S,y.S),S=h[--C],j=f[++v];else{for(m=-1,p=b;p<=C;++p)if(h[p]&&h[p].$!==null&&h[p].$===j.$){m=p;break}m>=0?(w=h[m],w.O!==j.O?u=Y(h&&h[v],d,m):(D(w,j,g),h[m]=void 0,u=w.S),j=f[++v]):(u=Y(h&&h[v],d,v),j=f[++v]),u&&$(z(y.S).parentNode,u,z(y.S))}b>C?ke(c,f[k+1]==null?null:f[k+1].S,d,f,v,k):v>k&&je(h,b,C)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),ke(o,null,t,i,0,i.length-1)):!s&&r!==null&&je(r,0,r.length-1),O&&l==="svg"&&(O=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},F=[],$e=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=F.find((n=>n.k===t));q=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],F.push({N:i,k:t})),t["s-sr"]&&F.map((n=>{me(n.k,t["s-sn"])&&(a=F.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else F.some((a=>a.k===t))||F.push({k:t})}i.nodeType===1&&$e(i)}},Ee=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map(Ee)},Xe=(e,t)=>{ae.push((()=>e(t)))},$=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:oe(se(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},et=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,h=e.M||G(null,null);var d;const f=(d=t)&&d.O===ye?t:x(null,null,t);if(B=n.tagName,c.C&&(f.v=f.v||{},c.C.forEach((([g,u])=>{f.v[u]=n[g]}))),s&&f.v)for(const g of Object.keys(f.v))n.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(f.v[g]=n[g]);if(f.O=null,f.i|=4,e.M=f,f.S=h.S=n.shadowRoot||n,V=!(!(1&c.i)||128&c.i),re=n["s-cr"],q=!1,D(h,f,s),N.i|=1,I){$e(f.S);for(const g of F){const u=g.k;if(!u["s-ol"]&&_.document){const w=_.document.createTextNode("");w["s-nr"]=u,$(u.parentNode,u["s-ol"]=w,u,s)}}for(const g of F){const u=g.k,w=g.N;if(u.nodeType===1&&s&&(u["s-ih"]=(o=u.hidden)!=null&&o),w){const b=w.parentNode;let v=w.nextSibling;if(v&&v.nodeType===1){let m=(r=u["s-ol"])==null?void 0:r.previousSibling;for(;m;){let p=(i=m["s-nr"])!=null?i:null;if(p&&p["s-sn"]===u["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===u||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){v=p;break}}m=m.previousSibling}}if((!v&&b!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if($(b,u,v,s),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=_.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,$(u.parentNode,m,u,s),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(l=u["s-ih"])!=null&&l)}u&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&ge(f.S),N.i&=-2,F.length=0,!V&&!(1&c.i)&&n["s-cr"]){const g=f.S.__childNodes||f.S.childNodes;for(const u of g)if(u["s-hn"]!==B&&!u["s-sh"]){if(s&&u["s-ih"]==null&&(u["s-ih"]=(a=u.hidden)!=null&&a),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const w=_.document.createComment("s-nt-"+u.nodeValue);w["s-sn"]=u["s-sn"],$(u.parentNode,w,u,s),u.parentNode.removeChild(u)}}}re=void 0,le.forEach((g=>g())),le.length=0,ae.forEach((g=>g())),ae.length=0},Te=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Te(e,e.R);const s=()=>tt(e,t);if(!t)return Ge(s);queueMicrotask((()=>{s()}))},tt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=W(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Fe(r,(()=>W(o,"componentWillRender",void 0,s))),Fe(r,(()=>st(e,o,t)))},Fe=(e,t)=>ot(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),ot=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,h=((d,f)=>{var g,u,w;const b=ve(f),v=U.get(b);if(!_.document)return b;if(d=d.nodeType===11?d:_.document,v)if(typeof v=="string"){let m,p=A.get(d=d.head||d);if(p||A.set(d,p=new Set),!p.has(b)){m=_.document.createElement("style"),m.textContent=v;const C=(g=N._)!=null?g:(function(){var y,S,k;return(k=(S=(y=_.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?k:void 0})();if(C!=null&&m.setAttribute("nonce",C),!(1&f.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),S=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,S?.parentNode===d?S:null)}else if("host"in d)if(K){const y=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),Q?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(m)}else d.append(m);1&f.i&&d.insertBefore(m,null),4&f.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let m=A.get(d);if(m||A.set(d,m=new Set),!m.has(b)){const p=(w=d.defaultView)!=null?w:d.ownerDocument.defaultView;let C;if(v.constructor===p.CSSStyleSheet)C=v;else{C=new p.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)C.insertRule(v.cssRules[y].cssText,y)}Q?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],m.add(b)}}return b})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=h,n.classList.add(h+"-h"))})(e),rt(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>it(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},rt=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,o)}catch(r){P(r,e.$hostElement$)}return null},it=e=>{const t=e.$hostElement$,s=t,o=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,lt(t),W(s,"componentDidLoad",void 0,t),e.L(t),o||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(_,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){P(r,o)}},lt=e=>e.classList.add("hydrated"),Ae=(e,t,s,o)=>{const r=T(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=_e(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const h=o.F[t];h&&h.map((d=>{try{const[[f,g]]=Object.entries(d);(128&a||1&g)&&(n?n[f](s,l,t):r.T.push((()=>{r.D[f](s,l,t)})))}catch(f){P(f,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||de(r,!1)}}},at=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ve.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const h=T(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=h?.H)==null||c.then((f=>{const g=f[l];typeof g=="function"&&g.call(f,...n)}))}})}));{e.watchers&&!t.F&&(t.F=we(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:h}=L(i,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,T(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const f=T(this);if(f){if(h)return(32&n?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(d=f.l.get(a)),h.apply(this,[_e(d,n,!!(64&t.i))]),void Ae(this,a,d=32&n?this[a]:f.$hostElement$[a],t);Ae(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,h){N.jmp((()=>{var d;const f=a.get(n),g=T(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==h)return;if(f==null){const m=g?.i;if(g&&m&&!(8&m)&&h!==c){const p=this,C=(d=t.F)==null?void 0:d[n];C?.forEach((y=>{const[[S,k]]=Object.entries(y);p[S]!=null&&(128&m||1&k)&&p[S].call(p,h,c,n)}))}return}const u=l.find((([m])=>m===f)),w=u&&4&u[1][0],b=w&&h===null&&this[f]===void 0;w&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(i,f);b||h==this[f]||v.get&&!v.set||(this[f]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var h;const d=c[1]||n;return a.set(d,n),512&c[0]&&((h=t.C)==null||h.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=we(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&He(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=T(this);if(!i)return;Re(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&N.i)){const l=T(i);if(!l)return;const a=l.o;if(1&l.i)Re(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!_.document)return;const c=n["s-cr"]=_.document.createComment("");c["s-cn"]=!0,$(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Te(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const h=i[n];delete i[n],i[n]=h}})),(async(n,c,h)=>{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 u;typeof d.style=="string"&&(u=d.style);const w=ve(h);U.has(w)||((b,v,m)=>{let p=U.get(b);K&&m?(p=p||new CSSStyleSheet,typeof p=="string"?p=v:p.replaceSync(v)):p=v,U.set(b,p)})(w,u,!!(1&h.i))}const f=c.R,g=()=>de(c,!0);f&&f["s-rc"]?f["s-rc"].push(g):g()}catch(f){P(f,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&N.i)){const l=T(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}A.has(i)&&A.delete(i),i.shadowRoot&&A.has(i.shadowRoot)&&A.delete(i.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else qe.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),at(e,s,3)}catch(o){return P(o),e}},Re=(e,t,s)=>{s&&_.document&&s.map((([o,r,i])=>{const l=ht(_.document,e,o),a=ct(t,i),n=ft(o);N.ael(l,r,a,n),(t.V=t.V||[]).push((()=>N.rel(l,r,a,n)))}))},ct=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){P(o,e.$hostElement$)}},ht=(e,t,s)=>8&s?_:t,ft=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function wt(e){return e}function Pe(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Pe(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Be(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Pe(e))&&(o&&(o+=" "),o+=t);return o}const ut=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>Be("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFormClassNames:({appearance:e,hasBorder:t,shadow:s,borderRadius:o,height:r,width:i},l)=>Be("gids-form",{"gids-form--appearance-subtle":e==="subtle","gids-form--shadow-overflow":s==="overflow","gids-form--shadow-overlay":s==="overlay","gids-form--shadow-raised":s==="raised","gids-form--border-radius-sm":o==="sm","gids-form--border-radius-md":o==="md","gids-form--border-radius-lg":o==="lg","gids-form--has-border":t,"gids-form--height-full":r==="full","gids-form--width-full":i==="full"},l)},Symbol.toStringTag,{value:"Module"})),{getGidsDividerClassNames:gt}=ut,mt=({orientation:e})=>x("hr",{class:gt({orientation:e})}),{getGidsFormClassNames:vt}=pt,Le=dt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.hasBorder=!0,this.shadow="none",this.borderRadius="none",this.height="intrinsic",this.width="intrinsic",this.divider=!0}idChanged(e){this.id=e}appearanceChanged(e){this.appearance=e}headingChanged(e){this.heading=e}supportingTextChanged(e){this.supportingText=e}descriptionChanged(e){this.description=e}hasBorderChanged(e){this.hasBorder=e}shadowChanged(e){this.shadow=e}borderColorChanged(e){this.borderColor=e}borderRadiusChanged(e){this.borderRadius=e}heightChanged(e){this.height=e}widthChanged(e){this.width=e}dividerChanged(e){this.divider=e}connectedCallback(){}render(){const e=this?.id,t=this?.appearance??"default",s=this?.heading??void 0,o=this?.supportingText??void 0,r=this?.description??void 0,i=this?.hasBorder??!0,l=this?.shadow??"none",a=this?.borderColor??void 0,n=this?.borderRadius??"md",c=this?.height??"intrinsic",h=this?.width??"intrinsic",d=this?.divider??!0,f=vt({appearance:t,hasBorder:i,shadow:l,borderRadius:n,height:c,width:h});return x(ye,{key:"ecac7fa5b56967978f783a9ac0c230d93fac2a21",class:f,"data-appearance":t,id:e,style:a&&a!==""?{"--gidsFormBorder-color":a}:{}},x("div",{key:"175e6350f8963b0b61ee5837a340559a5cac13f2",class:"gids-form__header"},x("slot",{key:"550c63b8bafc6a3601dad6e4ac1ebd240d20759e",name:"formIcon"}),x("div",{key:"fdcf331ed74023cb82fd45b2c9f4fa8ea96f2fd8",class:"gids-form__header-text-content"},s&&s!==""?x("label",null,s):void 0,o&&o!==""?x("span",null,o):void 0,r&&r!==""?x("p",null,r):void 0)),d?x("div",{class:"gids-form__divider-container"},x(mt,null)):void 0,x("div",{key:"812f6accd9c8442d45dd6e940b0872918ba0629c",class:"gids-form__content"},x("slot",{key:"78a11643da76c77bbf5a875e707605782ec5c78b"})))}get hostElement(){return this}static get watchers(){return{id:[{idChanged:0}],appearance:[{appearanceChanged:0}],heading:[{headingChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],hasBorder:[{hasBorderChanged:0}],shadow:[{shadowChanged:0}],borderColor:[{borderColorChanged:0}],borderRadius:[{borderRadiusChanged:0}],height:[{heightChanged:0}],width:[{widthChanged:0}],divider:[{dividerChanged:0}]}}static get style(){return".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding:var(--gids-padding-vertical-edge-to-element-250) var(--gids-padding-horizontal-edge-to-element-300);background-color:var(--gidsFormBg-color);box-shadow:var(--gidsForm-shadow);border-radius:var(--gidsForm-border-radius);border:var(--gidsForm-border);overflow:hidden}.gids-form__header{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-form__header-text-content{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-form__header-text-content label{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsFormPrimaryText-color)}.gids-form__header-text-content span{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(--gidsFormSecondaryText-color)}.gids-form__header-text-content p{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsFormTertiaryText-color)}.gids-form__content{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-300) 0;overflow-x:hidden;overflow-y:auto}.gids-form__divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-form--appearance-subtle{--gidsFormBg-color:transparent}.gids-form--shadow-overflow{--gidsForm-shadow:var(--gids-elevation-shadow-overflow)}.gids-form--shadow-overlay{--gidsForm-shadow:var(--gids-elevation-shadow-overlay)}.gids-form--shadow-raised{--gidsForm-shadow:var(--gids-elevation-shadow-raised)}.gids-form--border-radius-sm{--gidsForm-border-radius:var(--gids-border-radius-sm)}.gids-form--border-radius-md{--gidsForm-border-radius:var(--gids-border-radius-md)}.gids-form--border-radius-lg{--gidsForm-border-radius:var(--gids-border-radius-lg)}.gids-form--has-border{--gidsForm-border:var(--gids-border-width-thin) solid var(--gidsFormBorder-color)}.gids-form--height-full{height:100vh !important;overflow:hidden}.gids-form--width-full{width:100%}"}},[260,"gids-form",{id:[1],appearance:[1],heading:[1],supportingText:[1,"supporting-text"],description:[1],hasBorder:[4,"has-border"],shadow:[1],borderColor:[1,"border-color"],borderRadius:[1,"border-radius"],height:[1],width:[1],divider:[4]},void 0,{id:[{idChanged:0}],appearance:[{appearanceChanged:0}],heading:[{headingChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],hasBorder:[{hasBorderChanged:0}],shadow:[{shadowChanged:0}],borderColor:[{borderColorChanged:0}],borderRadius:[{borderRadiusChanged:0}],height:[{heightChanged:0}],width:[{widthChanged:0}],divider:[{dividerChanged:0}]}]);function De(){typeof customElements<"u"&&["gids-form"].forEach((e=>{e==="gids-form"&&(customElements.get(e)||customElements.define(e,Le))}))}De();const yt=Le,bt=De;R.GidsForm=yt,R.defineCustomElement=bt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(b=>{const v=[];for(let m=0;m<b.length;m++){const g=b[m]["s-nr"]||void 0;g&&g.isConnected&&v.push(g)}return v})(_.childNodes)).forEach((b=>{u===H(b)&&p.push(b)})),d?p.filter((b=>b.nodeType===1)):p}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(i),a=e&&e.m&&e.m[r],a&&a.O===s.O&&e.S&&Oe(e.S)),i},Oe=e=>{x.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const r=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const s of r?o.reverse():o)s["s-sh"]!=null&&(j(t,s,r??null),s["s-sh"]=void 0,I=!0)}x.i&=-2},Z=(e,t)=>{x.i|=1;const r=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===L&&r.push(o)}for(let o=r.length-1;o>=0;o--){const s=r[o];s["s-hn"]!==L&&s["s-ol"]&&(j(z(s).parentNode,s,z(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,I=!0),t&&Z(s,t)}x.i&=-2},ke=(e,t,r,o,s,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),r.O==="template"&&(a=a.content);s<=i;++s)o[s]&&(l=Y(null,r,s),l&&(o[s].S=l,j(a,l,z(t))))},Fe=(e,t,r)=>{for(let o=t;o<=r;++o){const s=e[o];if(s){const i=s.S;Ee(s),i&&(G=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,r=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:r?(r&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,D=(e,t,r=!1)=>{const o=t.S=e.S,s=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(O=l==="svg"||l!=="foreignObject"&&O,l!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Oe(t.S.parentElement)),ne(e,t,O),s!==null&&i!==null?((c,h,d,f,p=!1)=>{let u,_,b=0,v=0,m=0,g=0,N=h.length-1,y=h[0],C=h[N],k=f.length-1,F=f[0],E=f[k];const He=d.O==="template"?c.content:c;for(;b<=N&&v<=k;)if(y==null)y=h[++b];else if(C==null)C=h[--N];else if(F==null)F=f[++v];else if(E==null)E=f[--k];else if(J(y,F,p))D(y,F,p),y=h[++b],F=f[++v];else if(J(C,E,p))D(C,E,p),C=h[--N],E=f[--k];else if(J(y,E,p))y.O!=="slot"&&E.O!=="slot"||Z(y.S.parentNode,!1),D(y,E,p),j(He,y.S,C.S.nextSibling),y=h[++b],E=f[--k];else if(J(C,F,p))y.O!=="slot"&&E.O!=="slot"||Z(C.S.parentNode,!1),D(C,F,p),j(He,C.S,y.S),C=h[--N],F=f[++v];else{for(m=-1,g=b;g<=N;++g)if(h[g]&&h[g].$!==null&&h[g].$===F.$){m=g;break}m>=0?(_=h[m],_.O!==F.O?u=Y(h&&h[v],d,m):(D(_,F,p),h[m]=void 0,u=_.S),F=f[++v]):(u=Y(h&&h[v],d,v),F=f[++v]),u&&j(z(y.S).parentNode,u,z(y.S))}b>N?ke(c,f[k+1]==null?null:f[k+1].S,d,f,v,k):v>k&&Fe(h,b,N)})(o,s,t,i,r):i!==null?(e.h!==null&&(o.textContent=""),ke(o,null,t,i,0,i.length-1)):!r&&s!==null&&Fe(s,0,s.length-1),O&&l==="svg"&&(O=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},T=[],je=e=>{let t,r,o;const s=e.__childNodes||e.childNodes;for(const i of s){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){r=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=r.length-1;o>=0;o--)if(t=r[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=T.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],T.push({N:i,k:t})),t["s-sr"]&&T.map((n=>{me(n.k,t["s-sn"])&&(a=T.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else T.some((a=>a.k===t))||T.push({k:t})}i.nodeType===1&&je(i)}},Ee=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map(Ee)},et=(e,t)=>{ae.push((()=>e(t)))},j=(e,t,r,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,r);const{slotNode:s}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:oe(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return s&&!o&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,r):e?.insertBefore(t,r)},tt=(e,t,r=!1)=>{var o,s,i,l,a;const n=e.$hostElement$,c=e.o,h=e.M||q(null,null);var d;const f=(d=t)&&d.O===ye?t:S(null,null,t);if(L=n.tagName,c.C&&(f.v=f.v||{},c.C.forEach((([p,u])=>{f.v[u]=n[p]}))),r&&f.v)for(const p of Object.keys(f.v))n.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=n[p]);if(f.O=null,f.i|=4,e.M=f,f.S=h.S=n.shadowRoot||n,V=!(!(1&c.i)||128&c.i),se=n["s-cr"],G=!1,D(h,f,r),x.i|=1,I){je(f.S);for(const p of T){const u=p.k;if(!u["s-ol"]&&w.document){const _=w.document.createTextNode("");_["s-nr"]=u,j(u.parentNode,u["s-ol"]=_,u,r)}}for(const p of T){const u=p.k,_=p.N;if(u.nodeType===1&&r&&(u["s-ih"]=(o=u.hidden)!=null&&o),_){const b=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let m=(s=u["s-ol"])==null?void 0:s.previousSibling;for(;m;){let g=(i=m["s-nr"])!=null?i:null;if(g&&g["s-sn"]===u["s-sn"]&&b===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){v=g;break}}m=m.previousSibling}}if((!v&&b!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(j(b,u,v,r),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=w.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,j(u.parentNode,m,u,r),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(l=u["s-ih"])!=null&&l)}u&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else u.nodeType===1&&(u.hidden=!0)}}if(G&&pe(f.S),x.i&=-2,T.length=0,!V&&!(1&c.i)&&n["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const u of p)if(u["s-hn"]!==L&&!u["s-sh"]){if(r&&u["s-ih"]==null&&(u["s-ih"]=(a=u.hidden)!=null&&a),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const _=w.document.createComment("s-nt-"+u.nodeValue);_["s-sn"]=u["s-sn"],j(u.parentNode,_,u,r),u.parentNode.removeChild(u)}}}se=void 0,le.forEach((p=>p())),le.length=0,ae.forEach((p=>p())),ae.length=0},$e=(e,t)=>{if(t&&!e.A&&t["s-p"]){const r=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(r-1,1),o()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$e(e,e.R);const r=()=>ot(e,t);if(!t)return Ge(r);queueMicrotask((()=>{r()}))},ot=(e,t)=>{const r=e.$hostElement$,o=r;if(!o)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=W(o,t?"componentWillLoad":"componentWillUpdate",void 0,r),s=Te(s,(()=>W(o,"componentWillRender",void 0,r))),Te(s,(()=>st(e,o,t)))},Te=(e,t)=>rt(e)?e.then(t).catch((r=>{console.error(r),t()})):t(),rt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,r)=>{var o;const s=e.$hostElement$,i=s["s-rc"];r&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,h=((d,f)=>{var p,u,_;const b=ve(f),v=U.get(b);if(!w.document)return b;if(d=d.nodeType===11?d:w.document,v)if(typeof v=="string"){let m,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(b)){m=w.document.createElement("style"),m.textContent=v;const N=(p=x._)!=null?p:(function(){var y,C,k;return(k=(C=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:C.getAttribute("content"))!=null?k:void 0})();if(N!=null&&m.setAttribute("nonce",N),!(1&f.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),C=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,C?.parentNode===d?C:null)}else if("host"in d)if(K){const y=new((u=d.defaultView)!=null?u:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),Q?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(m)}else d.append(m);1&f.i&&d.insertBefore(m,null),4&f.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(b)}}else{let m=A.get(d);if(m||A.set(d,m=new Set),!m.has(b)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let N;if(v.constructor===g.CSSStyleSheet)N=v;else{N=new g.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)N.insertRule(v.cssRules[y].cssText,y)}Q?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],m.add(b)}}return b})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=h,n.classList.add(h+"-h"))})(e),it(e,t,s,r),i&&(i.map((l=>l())),s["s-rc"]=void 0);{const l=(o=s["s-p"])!=null?o:[],a=()=>nt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},it=(e,t,r,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,tt(e,t,o)}catch(s){P(s,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,r=t,o=e.R;W(r,"componentDidRender",void 0,t),64&e.i?W(r,"componentDidUpdate",void 0,t):(e.i|=64,at(t),W(r,"componentDidLoad",void 0,t),e.L(t),o||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},lt=()=>{te((()=>Ke(w,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,r,o)=>{if(e&&e[t])try{return e[t](r)}catch(s){P(s,o)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,r,o)=>{const s=$(e);if(!s)return;const i=e,l=s.l.get(t),a=s.i,n=i;r=we(r,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(r);if(r!==l&&!c){if(s.l.set(t,r),o.F){const h=o.F[t];h&&h.map((d=>{try{const[[f,p]]=Object.entries(d);(128&a||1&p)&&(n?n[f](r,l,t):s.T.push((()=>{s.D[f](r,l,t)})))}catch(f){P(f,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(r,l,t)===!1&&!(16&a))return;16&a||de(s,!1)}}},dt=(e,t,r)=>{var o,s;const i=e.prototype;64&t.i&&1&r&&ze.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const h=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=h?.H)==null||c.then((f=>{const p=f[l];typeof p=="function"&&p.call(f,...n)}))}})}));{e.watchers&&!t.F&&(t.F=_e(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:h}=B(i,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const f=$(this);if(f){if(h)return(32&n?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(d=f.l.get(a)),h.apply(this,[we(d,n,!!(64&t.i))]),void Ae(this,a,d=32&n?this[a]:f.$hostElement$[a],t);Ae(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,h){x.jmp((()=>{var d;const f=a.get(n),p=$(this);if(this.hasOwnProperty(f),i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==h)return;if(f==null){const m=p?.i;if(p&&m&&!(8&m)&&h!==c){const g=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((y=>{const[[C,k]]=Object.entries(y);g[C]!=null&&(128&m||1&k)&&g[C].call(g,h,c,n)}))}return}const u=l.find((([m])=>m===f)),_=u&&4&u[1][0],b=_&&h===null&&this[f]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(i,f);b||h==this[f]||v.get&&!v.set||(this[f]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var h;const d=c[1]||n;return a.set(d,n),512&c[0]&&((h=t.C)==null||h.push([n,d])),d}))]))}}return e},ct=(e,t)=>{const r={i:t[0],p:t[1]};try{r.t=t[2],r.W=t[3],r.F=_e(e.F),r.P=e.P,r.U=e.U,r.C=[];const o=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Ve(i,a)})(this,r)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Re(this,i,r.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&x.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Re(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!w.document)return;const c=n["s-cr"]=w.document.createComment("");c["s-cn"]=!0,j(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){$e(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const h=i[n];delete i[n],i[n]=h}})),(async(n,c,h)=>{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 u;typeof d.style=="string"&&(u=d.style);const _=ve(h);U.has(_)||((b,v,m)=>{let g=U.get(b);K&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=v:g.replaceSync(v)):g=v,U.set(b,g)})(_,u,!!(1&h.i))}const f=c.R,p=()=>de(c,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){P(f,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&x.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}A.has(i)&&A.delete(i),i.shadowRoot&&A.has(i.shadowRoot)&&A.delete(i.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${r.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ie.call(this,r)}}),Object.defineProperty(e,"is",{value:r.p,configurable:!0}),dt(e,r,3)}catch(o){return P(o),e}},Re=(e,t,r)=>{r&&w.document&&r.map((([o,s,i])=>{const l=ft(w.document,e,o),a=ht(t,i),n=ut(o);x.ael(l,s,a,n),(t.V=t.V||[]).push((()=>x.rel(l,s,a,n)))}))},ht=(e,t)=>r=>{try{e.$hostElement$[t](r)}catch(o){P(o,e.$hostElement$)}},ft=(e,t,r)=>8&r?w:t,ut=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function _t(e){return e}function Pe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=Pe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Le(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=Pe(e))&&(o&&(o+=" "),o+=t);return o}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>Le("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFormClassNames:({appearance:e,hasBorder:t,shadow:r,borderRadius:o,height:s,width:i},l)=>Le("gids-form",{"gids-form--appearance-subtle":e==="subtle","gids-form--shadow-overflow":r==="overflow","gids-form--shadow-overlay":r==="overlay","gids-form--shadow-raised":r==="raised","gids-form--border-radius-sm":o==="sm","gids-form--border-radius-md":o==="md","gids-form--border-radius-lg":o==="lg","gids-form--has-border":t,"gids-form--height-full":s==="full","gids-form--width-full":i==="full"},l)},Symbol.toStringTag,{value:"Module"})),{getGidsDividerClassNames:mt}=gt,Be=({orientation:e})=>S("hr",{class:mt({orientation:e})}),{getGidsFormClassNames:vt}=pt,De=ct(class extends We{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.hasBorder=!0,this.shadow="none",this.borderRadius="none",this.height="intrinsic",this.width="intrinsic",this.divider=!0,this.footerDividerVisible=!0,this.hasFooterChildren=!1,this.setupObserver=()=>{this.checkFooterNodes(),this.observer=new MutationObserver((()=>{this.checkFooterNodes()})),this.observer.observe(this.hostElement,{childList:!0,subtree:!0})},this.handleFooterSlotChange=()=>{this.checkFooterNodes()},this.checkFooterNodes=()=>{const t=this.hostElement?.querySelectorAll('[slot="formFooterChildren"]');let r=!1;t&&t.length>0&&(r=Array.from(t).some((o=>o.nodeType===Node.ELEMENT_NODE||!!o.textContent?.trim().length))),this.hasFooterChildren=r}}idChanged(e){this.id=e}appearanceChanged(e){this.appearance=e}headingChanged(e){this.heading=e}supportingTextChanged(e){this.supportingText=e}descriptionChanged(e){this.description=e}hasBorderChanged(e){this.hasBorder=e}shadowChanged(e){this.shadow=e}borderColorChanged(e){this.borderColor=e}borderRadiusChanged(e){this.borderRadius=e}heightChanged(e){this.height=e}widthChanged(e){this.width=e}dividerChanged(e){this.divider=e}connectedCallback(){}componentDidLoad(){this.setupObserver()}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){const e=this?.id,t=this?.appearance??"default",r=this?.heading??void 0,o=this?.supportingText??void 0,s=this?.description??void 0,i=this?.hasBorder??!0,l=this?.shadow??"none",a=this?.borderColor??void 0,n=this?.borderRadius??"md",c=this?.height??"intrinsic",h=this?.width??"intrinsic",d=this?.divider??!0,f=vt({appearance:t,hasBorder:i,shadow:l,borderRadius:n,height:c,width:h});return S(ye,{key:"0be5b51400c4343f16bd5d84bb01db8897282c32",class:f,"data-appearance":t,id:e,style:a&&a!==""?{"--gidsFormBorder-color":a}:{}},S("div",{key:"4016d00181af7c61ed2cbaa7babba56508ae9f6f",class:"gids-form__container"},S("div",{key:"c5422c49aa65e2964fedad41861ea06d24950704",class:"gids-form__header"},S("slot",{key:"d5cae5ed432d8b75a77a505e16a98b510cd680af",name:"formIcon"}),S("div",{key:"fb05421e00947a54e486cfc7ce7107a08c8c6c1a",class:"gids-form__header-text-content"},r&&r!==""?S("label",null,r):void 0,o&&o!==""?S("span",null,o):void 0,s&&s!==""?S("p",null,s):void 0),S("div",{key:"d96aa69e038735085bd29eae618bf5d783ef3333",class:"gids-form__header-children"},S("slot",{key:"1f13f852441c3e71cb1623a32b32332d4637c014",name:"formHeaderChildren"}))),d?S("div",{class:"gids-form__divider-container"},S(Be,null)):void 0,S("div",{key:"5689bd0343337573a663c59a316a5913f0213344",class:"gids-form__content"},S("slot",{key:"124b2199c9b755d5e7e0513afe9dfb51bf8f3e8d"}))),S("div",{key:"b2e4530502c80ec8767d28187543c08c9d6961ef",class:"gids-form__footer "+(this.hasFooterChildren?"gids-form__footer--has-content":"gids-form__footer--is-empty")},this.hasFooterChildren&&this.footerDividerVisible?S("div",{class:"gids-form__footer-divider"},S(Be,null)):void 0,S("div",{key:"3e90d73c4e963cb7bbb4011e6ca57242c546e86f",class:"gids-form__footer-wrapper"},S("slot",{key:"10f78988c50c5a851bfacf5ba1eeb13b9b5d6121",name:"formFooterChildren",onSlotchange:this.handleFooterSlotChange}))))}get hostElement(){return this}static get watchers(){return{id:[{idChanged:0}],appearance:[{appearanceChanged:0}],heading:[{headingChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],hasBorder:[{hasBorderChanged:0}],shadow:[{shadowChanged:0}],borderColor:[{borderColorChanged:0}],borderRadius:[{borderRadiusChanged:0}],height:[{heightChanged:0}],width:[{widthChanged:0}],divider:[{dividerChanged:0}]}}static get style(){return".gids-form{--gidsFormBorder-color:var(--gids-color-border-default);--gidsFormBg-color:var(--gids-color-background-neutral-default);--gidsForm-shadow:none;--gidsForm-border-radius:var(--gids-border-radius-none);--gidsForm-border:none;--gidsFormPrimaryText-color:var(--gids-color-text-default);--gidsFormSecondaryText-color:var(--gids-color-text-subtle);--gidsFormTertiaryText-color:var(--gids-color-text-subtlest);display:flex;flex-direction:column;background-color:var(--gidsFormBg-color);box-shadow:var(--gidsForm-shadow);border-radius:var(--gidsForm-border-radius);border:var(--gidsForm-border)}.gids-form__container{display:flex;flex-direction:column;width:100%;align-items:flex-start;justify-content:flex-start;align-self:flex-start;justify-self:flex-start;padding-top:var(--gids-padding-vertical-edge-to-element-250);padding-left:var(--gids-padding-horizontal-edge-to-element-300);padding-right:var(--gids-padding-horizontal-edge-to-element-300);overflow:hidden}.gids-form__header{display:flex;width:100%;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-form__header-text-content{display:flex;flex-direction:column;flex:1;gap:var(--gids-gap-050)}.gids-form__header-text-content label{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsFormPrimaryText-color)}.gids-form__header-text-content span{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(--gidsFormSecondaryText-color)}.gids-form__header-text-content p{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsFormTertiaryText-color)}.gids-form__content{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-300) 0;overflow-x:hidden;overflow-y:auto}.gids-form__divider-container{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-250) 0}.gids-form--appearance-subtle{--gidsFormBg-color:transparent}.gids-form--shadow-overflow{--gidsForm-shadow:var(--gids-elevation-shadow-overflow)}.gids-form--shadow-overlay{--gidsForm-shadow:var(--gids-elevation-shadow-overlay)}.gids-form--shadow-raised{--gidsForm-shadow:var(--gids-elevation-shadow-raised)}.gids-form--border-radius-sm{--gidsForm-border-radius:var(--gids-border-radius-sm)}.gids-form--border-radius-md{--gidsForm-border-radius:var(--gids-border-radius-md)}.gids-form--border-radius-lg{--gidsForm-border-radius:var(--gids-border-radius-lg)}.gids-form--has-border{--gidsForm-border:var(--gids-border-width-thin) solid var(--gidsFormBorder-color)}.gids-form--height-full{height:100vh !important;overflow:hidden}.gids-form--width-full{width:100%}.gids-form__footer{width:100%}.gids-form__footer--is-empty{display:none}.gids-form__footer--has-content{display:flex;flex-direction:column}.gids-form__footer-divider{display:flex;flex-direction:column;width:100%}.gids-form__footer-wrapper{display:flex;flex-direction:column;width:100%;padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300)}.gids-form__header-children{display:flex;flex-direction:column;align-self:center;justify-content:center;align-items:flex-end}"}},[260,"gids-form",{id:[1],appearance:[1],heading:[1],supportingText:[1,"supporting-text"],description:[1],hasBorder:[4,"has-border"],shadow:[1],borderColor:[1,"border-color"],borderRadius:[1,"border-radius"],height:[1],width:[1],divider:[4],footerDividerVisible:[4,"footer-divider-visible"],hasFooterChildren:[32]},void 0,{id:[{idChanged:0}],appearance:[{appearanceChanged:0}],heading:[{headingChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],hasBorder:[{hasBorderChanged:0}],shadow:[{shadowChanged:0}],borderColor:[{borderColorChanged:0}],borderRadius:[{borderRadiusChanged:0}],height:[{heightChanged:0}],width:[{widthChanged:0}],divider:[{dividerChanged:0}]}]);function Me(){typeof customElements<"u"&&["gids-form"].forEach((e=>{e==="gids-form"&&(customElements.get(e)||customElements.define(e,De))}))}Me();const yt=De,bt=Me;R.GidsForm=yt,R.defineCustomElement=bt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));