@ganpatiinfo/gids-core-web 16.0.0 → 18.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 (271) hide show
  1. package/dist/css/elements.css +4 -0
  2. package/dist/css/elements.css.map +1 -1
  3. package/dist/css/index.css +701 -4
  4. package/dist/css/index.css.map +1 -1
  5. package/dist/custom-elements.json +7 -1
  6. package/dist/gids-action-bar.js +1 -1
  7. package/dist/gids-activity-gauge.js +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.js +1 -1
  10. package/dist/gids-bento-card.d.ts +11 -0
  11. package/dist/gids-bento-card.js +1 -0
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.js +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.js +1 -1
  16. package/dist/gids-carousel.d.ts +11 -0
  17. package/dist/gids-carousel.js +1 -0
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.js +1 -1
  20. package/dist/gids-chart.js +1 -1
  21. package/dist/gids-chevron-button.js +1 -1
  22. package/dist/gids-dot.js +1 -1
  23. package/dist/gids-dropdown-field.js +1 -1
  24. package/dist/gids-dropdown-picker.js +1 -1
  25. package/dist/gids-dropdown.js +1 -1
  26. package/dist/gids-expansion-body-list-item.js +1 -1
  27. package/dist/gids-expansion-body-list.js +1 -1
  28. package/dist/gids-expansion-group.js +1 -1
  29. package/dist/gids-expansion.js +1 -1
  30. package/dist/gids-field.js +1 -1
  31. package/dist/gids-filter.js +1 -1
  32. package/dist/gids-flyout-panel.d.ts +11 -0
  33. package/dist/gids-flyout-panel.js +1 -0
  34. package/dist/gids-header-navigation-item.js +1 -1
  35. package/dist/gids-header-navigation.js +1 -1
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.js +1 -1
  39. package/dist/gids-line-chart.js +1 -1
  40. package/dist/gids-md-table.js +1 -1
  41. package/dist/gids-notification.js +1 -1
  42. package/dist/gids-overflow-container.js +1 -1
  43. package/dist/gids-overlay-provider.js +1 -1
  44. package/dist/gids-password-field.js +1 -1
  45. package/dist/gids-pie-chart.js +1 -1
  46. package/dist/gids-popover.js +1 -1
  47. package/dist/gids-profile-menu-header.js +1 -1
  48. package/dist/gids-profile-menu.js +1 -1
  49. package/dist/gids-profile.js +1 -1
  50. package/dist/gids-progress-circle.js +1 -1
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-skeleton.js +1 -1
  53. package/dist/gids-snackbar.js +1 -1
  54. package/dist/gids-tab-item.js +1 -1
  55. package/dist/gids-tab.js +1 -1
  56. package/dist/gids-text-field.js +1 -1
  57. package/dist/gids-toggle-button.js +1 -1
  58. package/dist/gids-tooltip.js +1 -1
  59. package/dist/gids-transfer-list.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/{p-CoS0NuDU.js → p-4zKS6zkg.js} +1 -1
  62. package/dist/{p-Degg_WJz.js → p-83YZrIJw.js} +1 -1
  63. package/dist/{p-oJFgjzK5.js → p-B0hLXifA.js} +1 -1
  64. package/dist/{p-Bf3p-DY2.js → p-B4hcsDH0.js} +1 -1
  65. package/dist/{p-Dd-ec-e0.js → p-BdsUwTgh.js} +1 -1
  66. package/dist/p-BkxmRN-4.js +1 -0
  67. package/dist/p-BsC3-MVH.js +1 -0
  68. package/dist/{p-CiWZdp48.js → p-BthkC6NU.js} +1 -1
  69. package/dist/p-C-Lpfqcg.js +1 -0
  70. package/dist/{p-pVSQxFDF.js → p-C6GHG170.js} +1 -1
  71. package/dist/{p-DGXqnrKo.js → p-CBiu-Vh3.js} +1 -1
  72. package/dist/{p-Co23kQaH.js → p-CH4nrjpL.js} +1 -1
  73. package/dist/p-CIxuyUAl.js +1 -0
  74. package/dist/{p-DiTjFG30.js → p-CMW3SjbP.js} +1 -1
  75. package/dist/p-CPgZgSBN.js +1 -0
  76. package/dist/p-CTri3IsV.js +1 -0
  77. package/dist/{p-CaauwQNd.js → p-CZ_9Mt3B.js} +1 -1
  78. package/dist/{p-DAuO4g6g.js → p-Cacy0Dji.js} +1 -1
  79. package/dist/p-CcKHKwS0.js +1 -0
  80. package/dist/p-Cf3Ny79u.js +1 -0
  81. package/dist/{p-DbaNvRpS.js → p-CrqHKmjy.js} +1 -1
  82. package/dist/{p-UDG6tkD1.js → p-Cz9nwmgK.js} +1 -1
  83. package/dist/{p-Bs8TP3Rb.js → p-D0coZTd2.js} +1 -1
  84. package/dist/{p-CCpxJ8wu.js → p-DKOr5iAk.js} +1 -1
  85. package/dist/{p-Chb2OeFe.js → p-DYjV5XrH.js} +1 -1
  86. package/dist/{p-C-HyXFGR.js → p-DZ6xQXis.js} +1 -1
  87. package/dist/{p-CHGTBObD.js → p-DaB_FzcG.js} +1 -1
  88. package/dist/{p-DxX3B1f0.js → p-DgKrPmDn.js} +1 -1
  89. package/dist/p-Dg_WeHpV.js +1 -0
  90. package/dist/p-Do_VlNHg.js +1 -0
  91. package/dist/{p-DELTZ9Fh.js → p-DrDadv7P.js} +1 -1
  92. package/dist/p-Dw_kb9MC.js +1 -0
  93. package/dist/p-GcC8pCKF.js +1 -0
  94. package/dist/{p-BrYLEey4.js → p-KQxuw_F-.js} +1 -1
  95. package/dist/{p-d-t7__OQ.js → p-PcSMc4jQ.js} +1 -1
  96. package/dist/p-iQRr_fAH.js +1 -0
  97. package/dist/{p-u06XOrpj.js → p-j2_DKwBz.js} +1 -1
  98. package/dist/p-jGho9nbS.js +1 -0
  99. package/dist/{p-Bzjuvoza.js → p-xbqOQZl9.js} +1 -1
  100. package/dist/types/components/html/_GidsCarouselControl/GidsCarouselControl.d.ts +6 -0
  101. package/dist/types/components/html/_GidsCarouselPagination/GidsCarouselPagination.d.ts +5 -0
  102. package/dist/types/components/html/_GidsCarouselPaginationItem/GidsCarouselPaginationItem.d.ts +5 -0
  103. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +6 -1
  104. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +2 -1
  105. package/dist/types/components/webComponents/GidsBentoCard/GidsBentoCard.d.ts +34 -0
  106. package/dist/types/components/webComponents/GidsCarousel/GidsCarousel.d.ts +49 -0
  107. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +24 -0
  108. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +2 -0
  109. package/dist/types/components/webComponents/GidsProfile/GidsProfile.d.ts +4 -0
  110. package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +4 -0
  111. package/dist/types/components.d.ts +168 -2
  112. package/dist-bundled/es/gids-action-bar.js +9 -9
  113. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  114. package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
  115. package/dist-bundled/es/gids-bar-chart.js +1 -1
  116. package/dist-bundled/es/gids-bento-card.js +84 -0
  117. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  118. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  119. package/dist-bundled/es/gids-calendar-year-list.js +2 -2
  120. package/dist-bundled/es/gids-calendar.js +24 -24
  121. package/dist-bundled/es/gids-carousel.js +179 -0
  122. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  123. package/dist-bundled/es/gids-chart-legend.js +4 -4
  124. package/dist-bundled/es/gids-chart.js +11 -11
  125. package/dist-bundled/es/gids-chevron-button.js +3 -3
  126. package/dist-bundled/es/gids-dot.js +3 -3
  127. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  128. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  129. package/dist-bundled/es/gids-dropdown.js +4 -4
  130. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  131. package/dist-bundled/es/gids-expansion-body-list.js +3 -3
  132. package/dist-bundled/es/gids-expansion-group.js +4 -4
  133. package/dist-bundled/es/gids-expansion.js +3 -3
  134. package/dist-bundled/es/gids-field.js +4 -4
  135. package/dist-bundled/es/gids-filter.js +2 -2
  136. package/dist-bundled/es/gids-flyout-panel.js +110 -0
  137. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  138. package/dist-bundled/es/gids-header-navigation.js +5 -5
  139. package/dist-bundled/es/gids-icon.js +4 -4
  140. package/dist-bundled/es/gids-input.js +2 -2
  141. package/dist-bundled/es/gids-level-gauge.js +2 -2
  142. package/dist-bundled/es/gids-line-chart.js +4 -4
  143. package/dist-bundled/es/gids-md-table.js +5 -5
  144. package/dist-bundled/es/gids-notification.js +1 -1
  145. package/dist-bundled/es/gids-overflow-container.js +5 -5
  146. package/dist-bundled/es/gids-overlay-provider.js +4 -4
  147. package/dist-bundled/es/gids-password-field.js +15 -15
  148. package/dist-bundled/es/gids-pie-chart.js +4 -4
  149. package/dist-bundled/es/gids-popover.js +4 -4
  150. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  151. package/dist-bundled/es/gids-profile-menu.js +3 -3
  152. package/dist-bundled/es/gids-profile.js +40 -34
  153. package/dist-bundled/es/gids-progress-circle.js +1 -1
  154. package/dist-bundled/es/gids-scrim.js +2 -2
  155. package/dist-bundled/es/gids-skeleton.js +9 -9
  156. package/dist-bundled/es/gids-snackbar.js +1 -1
  157. package/dist-bundled/es/gids-tab-item.js +7 -7
  158. package/dist-bundled/es/gids-tab.js +2 -2
  159. package/dist-bundled/es/gids-text-field.js +16 -16
  160. package/dist-bundled/es/gids-toggle-button.js +1 -1
  161. package/dist-bundled/es/gids-tooltip.js +7 -7
  162. package/dist-bundled/es/gids-transfer-list.js +7 -7
  163. package/dist-bundled/es/index.js +2 -2
  164. package/dist-bundled/es/{p-CoS0NuDU-ByDvQAzA.js → p-4zKS6zkg-CujzUjb6.js} +3 -3
  165. package/dist-bundled/es/{p-Degg_WJz-ORZcjc8G.js → p-83YZrIJw-Cu-e6WD3.js} +3 -3
  166. package/dist-bundled/es/{p-oJFgjzK5-CzagP1qD.js → p-B0hLXifA-CoImnX3T.js} +4 -4
  167. package/dist-bundled/es/p-BKcvOO8o-DcnO39au.js +1065 -0
  168. package/dist-bundled/es/{p-Dd-ec-e0-BqX_F6y0.js → p-BdsUwTgh-Cc7AQBsx.js} +9 -9
  169. package/dist-bundled/es/{p-Dg2yoUxw-DliMstZy.js → p-BkxmRN-4-DSiXCW8b.js} +5 -5
  170. package/dist-bundled/es/{p-C2POfZhu-DzG_JxV6.js → p-BsC3-MVH-j4fPhip5.js} +1 -1
  171. package/dist-bundled/es/{p-CiWZdp48-1vf7Xh2R.js → p-BthkC6NU-F03MhDw7.js} +7 -7
  172. package/dist-bundled/es/{p-DMNS1d8v-BX8e_AsY.js → p-C-Lpfqcg-DIuBhXzX.js} +5 -5
  173. package/dist-bundled/es/{p-pVSQxFDF-CsWxUaZX.js → p-C6GHG170-Di8lwQkY.js} +4 -4
  174. package/dist-bundled/es/{p-DGXqnrKo-C7feKS94.js → p-CBiu-Vh3-r-McGzCb.js} +9 -9
  175. package/dist-bundled/es/{p-Co23kQaH-QJyKkzgc.js → p-CH4nrjpL-CrEJXTn0.js} +9 -9
  176. package/dist-bundled/es/{p-DObJEzlz-tt9h5cuI.js → p-CIxuyUAl-B2DxRM64.js} +4 -4
  177. package/dist-bundled/es/{p-DiTjFG30-CQkxfu2K.js → p-CMW3SjbP-ZYYIF_i6.js} +4 -4
  178. package/dist-bundled/es/p-CPgZgSBN-DsTNcUR7.js +7 -0
  179. package/dist-bundled/es/p-CTri3IsV-B1u0rrXF.js +122 -0
  180. package/dist-bundled/es/{p-CaauwQNd-D6_PbcRr.js → p-CZ_9Mt3B-BIYkPAXM.js} +1 -1
  181. package/dist-bundled/es/{p-DAuO4g6g-C8miaL-N.js → p-Cacy0Dji-D-D254kT.js} +7 -7
  182. package/dist-bundled/es/{p-CXFvqDBs-offadaUn.js → p-CcKHKwS0-Bw63tTOA.js} +1 -1
  183. package/dist-bundled/es/p-Cf3Ny79u-VGT_IyGI.js +82 -0
  184. package/dist-bundled/es/{p-DbaNvRpS-r7kCW1TY.js → p-CrqHKmjy-DwSsCofb.js} +10 -10
  185. package/dist-bundled/es/{p-UDG6tkD1-JTLPxkEn.js → p-Cz9nwmgK-BO8HUAvD.js} +10 -10
  186. package/dist-bundled/es/{p-Bs8TP3Rb-BdcS7d5q.js → p-D0coZTd2-KhJZ57gK.js} +3 -3
  187. package/dist-bundled/es/{p-CCpxJ8wu-CMYQqNoP.js → p-DKOr5iAk-DA3Kc4Cn.js} +9 -9
  188. package/dist-bundled/es/{p-Chb2OeFe-DDv_WPhe.js → p-DYjV5XrH-CI9LfBFx.js} +3 -3
  189. package/dist-bundled/es/{p-C-HyXFGR-UnFcWLOQ.js → p-DZ6xQXis-XT86MMis.js} +7 -7
  190. package/dist-bundled/es/{p-CHGTBObD-D_K9_Tmh.js → p-DaB_FzcG-DnRTURxL.js} +1 -1
  191. package/dist-bundled/es/{p-DxX3B1f0-D1URliVh.js → p-DgKrPmDn-C2CSKicX.js} +6 -6
  192. package/dist-bundled/es/{p-UVmSPzTd-CR1higgJ.js → p-Dg_WeHpV-DehzGL6g.js} +9 -9
  193. package/dist-bundled/es/{p-UxDcM-C5-BJO4X0jM.js → p-Do_VlNHg-_g7lcvwR.js} +2 -2
  194. package/dist-bundled/es/{p-DELTZ9Fh-Byr0nLtY.js → p-DrDadv7P-D4rbSYTr.js} +4 -4
  195. package/dist-bundled/es/{p-bhEHIxPv-ujyxL30O.js → p-Dw_kb9MC-BTd0lrGA.js} +36 -21
  196. package/dist-bundled/es/{p-CZBiavxU-CIstIm2b.js → p-GcC8pCKF-CZJFTFeN.js} +10 -10
  197. package/dist-bundled/es/{p-BrYLEey4-DuajY4uD.js → p-KQxuw_F--BTSoDfF9.js} +9 -9
  198. package/dist-bundled/es/{p-d-t7__OQ-CKPQZt2t.js → p-PcSMc4jQ-CzYLaIZr.js} +14 -14
  199. package/dist-bundled/es/{p-D4Pimu_8-ARSuGBs4.js → p-iQRr_fAH-ClfWEu03.js} +13 -13
  200. package/dist-bundled/es/{p-u06XOrpj-C1tNznDd.js → p-j2_DKwBz-CqyuxxnN.js} +8 -8
  201. package/dist-bundled/es/{p-Bw2pVReY-K9pdG-hw.js → p-jGho9nbS-BDiBvsn2.js} +10 -10
  202. package/dist-bundled/es/{p-Bzjuvoza-CzNs69NV.js → p-xbqOQZl9-BK9vjfj7.js} +15 -15
  203. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  204. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  205. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  206. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  207. package/dist-bundled/umd/gids-bento-card.umd.js +5 -0
  208. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  210. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  212. package/dist-bundled/umd/gids-carousel.umd.js +5 -0
  213. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  215. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  216. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  217. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  218. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  219. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  220. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  221. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  222. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  223. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  224. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  225. package/dist-bundled/umd/gids-field.umd.js +2 -2
  226. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  227. package/dist-bundled/umd/gids-flyout-panel.umd.js +5 -0
  228. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  229. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  230. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  231. package/dist-bundled/umd/gids-input.umd.js +2 -2
  232. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  233. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  234. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  235. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  236. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  237. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  238. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  239. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  240. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  241. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  242. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  243. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  244. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  245. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  246. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  247. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  248. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  249. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  250. package/dist-bundled/umd/index.umd.js +2 -2
  251. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  252. package/package.json +29 -5
  253. package/dist/p-B8kX8Vqv.js +0 -1
  254. package/dist/p-BBszCFSA.js +0 -1
  255. package/dist/p-Bw2pVReY.js +0 -1
  256. package/dist/p-C2POfZhu.js +0 -1
  257. package/dist/p-CXFvqDBs.js +0 -1
  258. package/dist/p-CZBiavxU.js +0 -1
  259. package/dist/p-CcpdJCql.js +0 -1
  260. package/dist/p-D4Pimu_8.js +0 -1
  261. package/dist/p-DMNS1d8v.js +0 -1
  262. package/dist/p-DObJEzlz.js +0 -1
  263. package/dist/p-Dg2yoUxw.js +0 -1
  264. package/dist/p-UVmSPzTd.js +0 -1
  265. package/dist/p-UxDcM-C5.js +0 -1
  266. package/dist/p-bhEHIxPv.js +0 -1
  267. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +0 -7
  268. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +0 -115
  269. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +0 -1024
  270. package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +0 -64
  271. /package/dist-bundled/es/{p-Bf3p-DY2-CPqEc-vc.js → p-B4hcsDH0-CPqEc-vc.js} +0 -0
@@ -1,7 +1,7 @@
1
- (function(P,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(P=typeof globalThis<"u"?globalThis:P||self,D(P.gidsCoreWebGidsToggleButton={}))})(this,(function(P){"use strict";function D(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var F,et=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},me=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),z=new Map,ye="http://www.w3.org/1999/xlink",tt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},st=w.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},ot=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,se=!1,be=[],ve=[],nt=(e,t)=>o=>{e.push(o),se||(se=!0,4&O.i?ne(oe):O.raf(oe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){L(o)}e.length=0},oe=()=>{Se(be),Se(ve),(se=be.length>0)&&O.raf(oe)},ne=e=>Promise.resolve(void 0).then(e),lt=nt(ve);function rt(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(te?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var we=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&le(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!it(s,V(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&re(s,"childNodes").length&&we(s)}};function le(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||V(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...le(s.childNodes,t,o)]}return l}var it=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!o&&n["s-sr"]||s.push(n);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",V=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 o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,M,R=new WeakMap,_e=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",$=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],u=a=>{for(let d=0;d<a.length;d++)s=a[d],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!ce(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?U(null,s):s),c=i)};if(u(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((d=>a[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,ct);const f=U(e,null);return f.v=t,r.length>0&&(f.m=r),f.$=n,f.j=l,f},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Oe={},ct={forEach:(e,t)=>e.map($e).forEach(t),map:(e,t)=>e.map($e).map(t).map(at)},$e=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),at=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),$(e.vtag,o,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},ke=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Ce=(e,t,o)=>e==null||ce(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,dt=(e,t)=>{const o=e;return{emit:s=>je(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:s})}},je=(e,t,o)=>{const s=O.ce(t,o);return e.dispatchEvent(s),s},xe=(e,t,o,s,n,l)=>{if(o===s)return;let i=me(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,u=Ee(o);let f=Ee(s);r.remove(...u.filter((a=>a&&!f.includes(a)))),r.add(...f.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&ht(s,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=A(e);if(f&&f.o&&f.o.t){const a=f.o.t[r];a&&a[1]&&(u=a[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ce(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const f=s??"";t==="list"?i=!1:o!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ye,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):me(w,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(Ae);t=t.replace(ft,""),o&&O.rel(e,t,o,r),s&&O.ael(e,t,s,r)}}},ut=/\s/,Ee=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ut):[]),Ae="Capture",ft=new RegExp(Ae+"$"),ae=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of Te(Object.keys(n)))i in l||xe(s,i,n[i],void 0,o,t.i);for(const i of Te(Object.keys(l)))xe(s,i,n[i],l[i],o,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var I=!1,q=!1,Y=!1,k=!1,de=[],ue=[],Z=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(I||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=w.document.createTextNode(n.h);else if(1&n.i)l=n.S=w.document.createTextNode(""),ae(null,n,k);else{if(k||(k=n.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(l=n.S=w.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!I&&2&n.i?"slot-fb":n.O),k&&n.O==="foreignObject"&&(k=!1),ae(null,n,k),n.m){const u=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&u.appendChild(i)}n.O==="svg"?k=!1:l.tagName==="foreignObject"&&(k=!0)}return l["s-hn"]=M,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=ie,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const f=a=>(function(d){const p=[],h=this["s-sn"];d?.flatten&&console.error(`
1
+ (function(P,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(P=typeof globalThis<"u"?globalThis:P||self,D(P.gidsCoreWebGidsToggleButton={}))})(this,(function(P){"use strict";function D(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var F,et=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},me=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),G=new Map,ye="http://www.w3.org/1999/xlink",tt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},st=w.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},ot=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,se=!1,be=[],ve=[],nt=(e,t)=>o=>{e.push(o),se||(se=!0,4&O.i?ne(oe):O.raf(oe))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){L(o)}e.length=0},oe=()=>{Se(be),Se(ve),(se=be.length>0)&&O.raf(oe)},ne=e=>Promise.resolve(void 0).then(e),lt=nt(ve);function rt(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(te?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var we=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&le(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!it(s,V(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&re(s,"childNodes").length&&we(s)}};function le(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||V(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...le(s.childNodes,t,o)]}return l}var it=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!o&&n["s-sr"]||s.push(n);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",V=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 o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,M,R=new WeakMap,_e=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",$=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],u=a=>{for(let d=0;d<a.length;d++)s=a[d],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!ce(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?U(null,s):s),c=i)};if(u(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((d=>a[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,ct);const f=U(e,null);return f.v=t,r.length>0&&(f.m=r),f.$=n,f.j=l,f},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Oe={},ct={forEach:(e,t)=>e.map($e).forEach(t),map:(e,t)=>e.map($e).map(t).map(at)},$e=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),at=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),$(e.vtag,o,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},ke=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Ce=(e,t,o)=>e==null||ce(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,dt=(e,t)=>{const o=e;return{emit:s=>je(o,t,{bubbles:!0,composed:!0,cancelable:!0,detail:s})}},je=(e,t,o)=>{const s=O.ce(t,o);return e.dispatchEvent(s),s},xe=(e,t,o,s,n,l)=>{if(o===s)return;let i=me(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,u=Ee(o);let f=Ee(s);r.remove(...u.filter((a=>a&&!f.includes(a)))),r.add(...f.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&ht(s,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=A(e);if(f&&f.o&&f.o.t){const a=f.o.t[r];a&&a[1]&&(u=a[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ce(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const f=s??"";t==="list"?i=!1:o!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ye,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):me(w,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(Ae);t=t.replace(ft,""),o&&O.rel(e,t,o,r),s&&O.ael(e,t,s,r)}}},ut=/\s/,Ee=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ut):[]),Ae="Capture",ft=new RegExp(Ae+"$"),ae=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of Te(Object.keys(n)))i in l||xe(s,i,n[i],void 0,o,t.i);for(const i of Te(Object.keys(l)))xe(s,i,n[i],l[i],o,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var I=!1,q=!1,Y=!1,k=!1,de=[],ue=[],Z=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(I||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=w.document.createTextNode(n.h);else if(1&n.i)l=n.S=w.document.createTextNode(""),ae(null,n,k);else{if(k||(k=n.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(l=n.S=w.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!I&&2&n.i?"slot-fb":n.O),k&&n.O==="foreignObject"&&(k=!1),ae(null,n,k),n.m){const u=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&u.appendChild(i)}n.O==="svg"?k=!1:l.tagName==="foreignObject"&&(k=!0)}return l["s-hn"]=M,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=ie,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const f=a=>(function(d){const p=[],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 v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(S=>{const y=[];for(let m=0;m<S.length;m++){const g=S[m]["s-nr"]||void 0;g&&g.isConnected&&y.push(g)}return y})(v.childNodes)).forEach((S=>{h===V(S)&&p.push(S)})),a?p.filter((S=>S.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Re(e.S)),l},Re=e=>{O.i|=1;const t=e.closest(M.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(x(t,n,o??null),n["s-sh"]=void 0,Y=!0)}O.i&=-2},J=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===M&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==M&&n["s-ol"]&&(x(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}O.i&=-2},Pe=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===M&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,x(c,i,W(t))))},Le=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;De(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(k=i==="svg"||i!=="foreignObject"&&k,i!=="slot"||I||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Re(t.S.parentElement)),ae(e,t,k),n!==null&&l!==null?((u,f,a,d,p=!1)=>{let h,v,S=0,y=0,m=0,g=0,_=f.length-1,b=f[0],N=f[_],C=d.length-1,j=d[0],E=d[C];const Xe=a.O==="template"?u.content:u;for(;S<=_&&y<=C;)if(b==null)b=f[++S];else if(N==null)N=f[--_];else if(j==null)j=d[++y];else if(E==null)E=d[--C];else if(K(b,j,p))H(b,j,p),b=f[++S],j=d[++y];else if(K(N,E,p))H(N,E,p),N=f[--_],E=d[--C];else if(K(b,E,p))b.O!=="slot"&&E.O!=="slot"||J(b.S.parentNode,!1),H(b,E,p),x(Xe,b.S,N.S.nextSibling),b=f[++S],E=d[--C];else if(K(N,j,p))b.O!=="slot"&&E.O!=="slot"||J(N.S.parentNode,!1),H(N,j,p),x(Xe,N.S,b.S),N=f[--_],j=d[++y];else{for(m=-1,g=S;g<=_;++g)if(f[g]&&f[g].$!==null&&f[g].$===j.$){m=g;break}m>=0?(v=f[m],v.O!==j.O?h=Z(f&&f[y],a,m):(H(v,j,p),f[m]=void 0,h=v.S),j=d[++y]):(h=Z(f&&f[y],a,y),j=d[++y]),h&&x(W(b.S).parentNode,h,W(b.S))}S>_?Pe(u,d[C+1]==null?null:d[C+1].S,a,d,y,C):y>C&&Le(f,S,_)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Pe(s,null,t,l,0,l.length-1)):!o&&n!==null&&Le(n,0,n.length-1),k&&i==="svg"&&(k=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},T=[],Me=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ne(t,i)){let c=T.find((r=>r.k===t));q=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],T.push({N:l,k:t})),t["s-sr"]&&T.map((r=>{Ne(r.k,t["s-sn"])&&(c=T.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else T.some((c=>c.k===t))||T.push({k:t})}l.nodeType===1&&Me(l)}},De=e=>{e.v&&e.v.ref&&de.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},ht=(e,t)=>{ue.push((()=>e(t)))},x=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:le(re(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},pt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,f=e.M||U(null,null);var a;const d=(a=t)&&a.O===Oe?t:$(null,null,t);if(M=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=r[p]}))),o&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,I=!(!(1&u.i)||128&u.i),ie=r["s-cr"],q=!1,H(f,d,o),O.i|=1,Y){Me(d.S);for(const p of T){const h=p.k;if(!h["s-ol"]&&w.document){const v=w.document.createTextNode("");v["s-nr"]=h,x(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of T){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),v){const S=v.parentNode;let y=v.nextSibling;if(y&&y.nodeType===1){let m=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;m;){let g=(l=m["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&S===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){y=g;break}}m=m.previousSibling}}if((!y&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(x(S,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const m=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=h["s-hn"],m["s-sn"]=h["s-sn"],m["s-sh"]=h["s-sh"],m["s-sr"]=h["s-sr"],m["s-ol"]=h["s-ol"],m["s-ol"]["s-nr"]=m,x(h.parentNode,m,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&we(d.S),O.i&=-2,T.length=0,!I&&!(1&u.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==M&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=w.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],x(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}ie=void 0,de.forEach((p=>p())),de.length=0,ue.forEach((p=>p())),ue.length=0},He=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},fe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);He(e,e.R);const o=()=>gt(e,t);if(!t)return lt(o);queueMicrotask((()=>{o()}))},gt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=G(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Be(n,(()=>G(s,"componentWillRender",void 0,o))),Be(n,(()=>yt(e,s,t)))},Be=(e,t)=>mt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,f=((a,d)=>{var p,h,v;const S=_e(d),y=z.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,y)if(typeof y=="string"){let m,g=R.get(a=a.head||a);if(g||R.set(a,g=new Set),!g.has(S)){m=w.document.createElement("style"),m.textContent=y;const _=(p=O._)!=null?p:(function(){var b,N,C;return(C=(N=(b=w.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?C:void 0})();if(_!=null&&m.setAttribute("nonce",_),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),N=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(m,N?.parentNode===a?N:null)}else if("host"in a)if(ee){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(y),te?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=y+b.textContent:a.prepend(m)}else a.append(m);1&d.i&&a.insertBefore(m,null),4&d.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(S)}}else{let m=R.get(a);if(m||R.set(a,m=new Set),!m.has(S)){const g=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let _;if(y.constructor===g.CSSStyleSheet)_=y;else{_=new g.CSSStyleSheet;for(let b=0;b<y.cssRules.length;b++)_.insertRule(y.cssRules[b].cssText,b)}te?a.adoptedStyleSheets.push(_):a.adoptedStyleSheets=[...a.adoptedStyleSheets,_],m.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),bt(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>vt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},bt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(n){L(n,e.$hostElement$)}return null},vt=e=>{const t=e.$hostElement$,o=t,s=e.R;G(o,"componentDidRender",void 0,t),64&e.i?G(o,"componentDidUpdate",void 0,t):(e.i|=64,wt(t),G(o,"componentDidLoad",void 0,t),e.L(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>fe(e,!1))),e.i&=-517},St=()=>{ne((()=>je(w,"appload",{detail:{namespace:"gids-core-web"}})))},G=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){L(n,s)}},wt=e=>e.classList.add("hydrated"),Fe=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ce(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const f=s.F[t];f&&f.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](o,i,t):n.T.push((()=>{n.D[d](o,i,t)})))}catch(d){L(d,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||fe(n,!1)}}},Nt=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&tt.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const f=A(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=f?.H)==null||u.then((d=>{const p=d[i];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:f}=D(l,c)||{};u&&(t.t[c][0]|=2048),f&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,A(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const d=A(this);if(d){if(f)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),f.apply(this,[Ce(a,r,!!(64&t.i))]),void Fe(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Fe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,f){O.jmp((()=>{var a;const d=c.get(r),p=A(this);if(this.hasOwnProperty(d),l.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const m=p?.i;if(p&&m&&!(8&m)&&f!==u){const g=this,_=(a=t.F)==null?void 0:a[r];_?.forEach((b=>{const[[N,C]]=Object.entries(b);g[N]!=null&&(128&m||1&C)&&g[N].call(g,f,u,r)}))}return}const h=i.find((([m])=>m===d)),v=h&&4&h[1][0],S=v&&f===null&&this[d]===void 0;v&&(f=f!==null&&f!=="false");const y=Object.getOwnPropertyDescriptor(l,d);S||f==this[d]||y.get&&!y.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const a=u[1]||r;return c.set(a,r),512&u[0]&&((f=t.C)==null||f.push([r,a])),a}))]))}}return e},_t=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=ke(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&et(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ve(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const i=A(l);if(!i)return;const c=i.o;if(1&i.i)Ve(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const u=r["s-cr"]=w.document.createComment("");u["s-cn"]=!0,x(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){He(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const f=l[r];delete l[r],l[r]=f}})),(async(r,u,f)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=_e(f);z.has(v)||((S,y,m)=>{let g=z.get(S);ee&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=y:g.replaceSync(y)):g=y,z.set(S,g)})(v,h,!!(1&f.i))}const d=u.R,p=()=>fe(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){L(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&O.i)){const i=A(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}R.has(l)&&R.delete(l),l.shadowRoot&&R.has(l.shadowRoot)&&R.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else rt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Nt(e,o,3)}catch(s){return L(s),e}},Ve=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=$t(w.document,e,s),c=Ot(t,l),r=kt(s);O.ael(i,n,c,r),(t.V=t.V||[]).push((()=>O.rel(i,n,c,r)))}))},Ot=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){L(s,e.$hostElement$)}},$t=(e,t,o)=>8&o?w:t,kt=e=>ot?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Vt(e){return e}function Ie(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Ie(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function We(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const Q=64,Ge=10,ze=Q/2-Ge/2,Ct=Q/2,he=2*Math.PI*ze,jt=`0 0 ${Q} ${Q}`,xt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const o=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(o,e))/o*100,l=(he*n/100).toFixed(2),i=(he-parseFloat(l)).toFixed(2);return`${l} ${i}`},centerPosition:Ct,circumference:he,radius:ze,thickness:Ge,viewBox:jt},Symbol.toStringTag,{value:"Module"})),Et=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:o,destructive:s,positive:n,loading:l},i,c)=>We("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":o==="full","gids-button--destructive":s&&!n,"gids-button--positive":n&&!s,"gids-button--icon-only":i,"gids-button--loading":l},c)},Symbol.toStringTag,{value:"Module"})),At=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:o},s)=>We("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},o,s)},Symbol.toStringTag,{value:"Module"})),Ue=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:Tt}=At,{calculateStrokeDasharray:Rt,thickness:qe,radius:Ye,centerPosition:X,viewBox:Pt}=xt,Lt=({size:e,indeterminate:t,value:o,max:s,...n})=>{let l;return t||(l={strokeDashArray:Rt(o,s||0),strokeDashoffset:"0"}),$("svg",{class:Tt({size:e,indeterminate:t,value:o}),viewBox:Pt,...n},$("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ye,"stroke-width":qe}),$("circle",{style:l,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ye,"stroke-width":qe}))},{getGidsButtonClassNames:Mt}=Et,Dt=({appearance:e,size:t,destructive:o,positive:s,loading:n,width:l,leadingIcon:i,trailingIcon:c,as:r,disabled:u,class:f,forceIconOnly:a=!1,...d},p)=>{const h=r||"button",v=t==="lg"||t===void 0?"md":t;return h!=="button"||"type"in d||(d.type="button"),$(h,{class:Mt({appearance:e,size:t,destructive:o,loading:n,width:l,positive:s},a||p.length===0&&Ue(i)&&!Ue(c),f),disabled:h==="button"?u:void 0,...d},$("span",{class:"gids-button__content"},i,p),n&&$(Lt,{size:v,indeterminate:!0}),c)},B=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ze=!1;B&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(B):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let pe=null;const ge=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Je()})):void 0,Je=()=>{if(B===void 0)return!1;const e=(()=>{if(B===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ge!==void 0&&t!==pe&&(pe&&ge.disconnect(),t instanceof Element&&ge.observe(t,{childList:!0,characterData:!0,subtree:!0}),pe=t),B.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ht=()=>(Ze||(Ze=Je()),B),Ke=_t(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.select=dt(this,"select"),this._toggle=this._toggle.bind(this)}handleSelctedChange(e){this.selected!==e&&(this.selected=e)}connectedCallback(){const e=Ht();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}_toggle(){const e=!this.selected;this._el.selected=e,this.select?.emit(e),this.selected=e}render(){return $(Oe,{key:"1983afcf383a912114f488508c106e78947258ef"},$("style",{key:"f982a6113f2fee97b24fe1253a8c4d5e472970c2"},`:host {
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(S=>{const y=[];for(let m=0;m<S.length;m++){const g=S[m]["s-nr"]||void 0;g&&g.isConnected&&y.push(g)}return y})(v.childNodes)).forEach((S=>{h===V(S)&&p.push(S)})),a?p.filter((S=>S.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Re(e.S)),l},Re=e=>{O.i|=1;const t=e.closest(M.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(x(t,n,o??null),n["s-sh"]=void 0,Y=!0)}O.i&=-2},J=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===M&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==M&&n["s-ol"]&&(x(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}O.i&=-2},Pe=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===M&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,x(c,i,W(t))))},Le=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;De(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(k=i==="svg"||i!=="foreignObject"&&k,i!=="slot"||I||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Re(t.S.parentElement)),ae(e,t,k),n!==null&&l!==null?((u,f,a,d,p=!1)=>{let h,v,S=0,y=0,m=0,g=0,_=f.length-1,b=f[0],N=f[_],C=d.length-1,j=d[0],E=d[C];const Xe=a.O==="template"?u.content:u;for(;S<=_&&y<=C;)if(b==null)b=f[++S];else if(N==null)N=f[--_];else if(j==null)j=d[++y];else if(E==null)E=d[--C];else if(K(b,j,p))H(b,j,p),b=f[++S],j=d[++y];else if(K(N,E,p))H(N,E,p),N=f[--_],E=d[--C];else if(K(b,E,p))b.O!=="slot"&&E.O!=="slot"||J(b.S.parentNode,!1),H(b,E,p),x(Xe,b.S,N.S.nextSibling),b=f[++S],E=d[--C];else if(K(N,j,p))b.O!=="slot"&&E.O!=="slot"||J(N.S.parentNode,!1),H(N,j,p),x(Xe,N.S,b.S),N=f[--_],j=d[++y];else{for(m=-1,g=S;g<=_;++g)if(f[g]&&f[g].$!==null&&f[g].$===j.$){m=g;break}m>=0?(v=f[m],v.O!==j.O?h=Z(f&&f[y],a,m):(H(v,j,p),f[m]=void 0,h=v.S),j=d[++y]):(h=Z(f&&f[y],a,y),j=d[++y]),h&&x(W(b.S).parentNode,h,W(b.S))}S>_?Pe(u,d[C+1]==null?null:d[C+1].S,a,d,y,C):y>C&&Le(f,S,_)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Pe(s,null,t,l,0,l.length-1)):!o&&n!==null&&Le(n,0,n.length-1),k&&i==="svg"&&(k=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},T=[],Me=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ne(t,i)){let c=T.find((r=>r.k===t));q=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],T.push({N:l,k:t})),t["s-sr"]&&T.map((r=>{Ne(r.k,t["s-sn"])&&(c=T.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else T.some((c=>c.k===t))||T.push({k:t})}l.nodeType===1&&Me(l)}},De=e=>{e.v&&e.v.ref&&de.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},ht=(e,t)=>{ue.push((()=>e(t)))},x=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:le(re(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},pt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,f=e.M||U(null,null);var a;const d=(a=t)&&a.O===Oe?t:$(null,null,t);if(M=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=r[p]}))),o&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,I=!(!(1&u.i)||128&u.i),ie=r["s-cr"],q=!1,H(f,d,o),O.i|=1,Y){Me(d.S);for(const p of T){const h=p.k;if(!h["s-ol"]&&w.document){const v=w.document.createTextNode("");v["s-nr"]=h,x(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of T){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),v){const S=v.parentNode;let y=v.nextSibling;if(y&&y.nodeType===1){let m=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;m;){let g=(l=m["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&S===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){y=g;break}}m=m.previousSibling}}if((!y&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(x(S,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const m=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=h["s-hn"],m["s-sn"]=h["s-sn"],m["s-sh"]=h["s-sh"],m["s-sr"]=h["s-sr"],m["s-ol"]=h["s-ol"],m["s-ol"]["s-nr"]=m,x(h.parentNode,m,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&we(d.S),O.i&=-2,T.length=0,!I&&!(1&u.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==M&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=w.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],x(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}ie=void 0,de.forEach((p=>p())),de.length=0,ue.forEach((p=>p())),ue.length=0},He=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},fe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);He(e,e.R);const o=()=>gt(e,t);if(!t)return lt(o);queueMicrotask((()=>{o()}))},gt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=z(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Be(n,(()=>z(s,"componentWillRender",void 0,o))),Be(n,(()=>yt(e,s,t)))},Be=(e,t)=>mt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,f=((a,d)=>{var p,h,v;const S=_e(d),y=G.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,y)if(typeof y=="string"){let m,g=R.get(a=a.head||a);if(g||R.set(a,g=new Set),!g.has(S)){m=w.document.createElement("style"),m.textContent=y;const _=(p=O._)!=null?p:(function(){var b,N,C;return(C=(N=(b=w.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?C:void 0})();if(_!=null&&m.setAttribute("nonce",_),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),N=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(m,N?.parentNode===a?N:null)}else if("host"in a)if(ee){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(y),te?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=y+b.textContent:a.prepend(m)}else a.append(m);1&d.i&&a.insertBefore(m,null),4&d.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(S)}}else{let m=R.get(a);if(m||R.set(a,m=new Set),!m.has(S)){const g=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let _;if(y.constructor===g.CSSStyleSheet)_=y;else{_=new g.CSSStyleSheet;for(let b=0;b<y.cssRules.length;b++)_.insertRule(y.cssRules[b].cssText,b)}te?a.adoptedStyleSheets.push(_):a.adoptedStyleSheets=[...a.adoptedStyleSheets,_],m.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),bt(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>vt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},bt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(n){L(n,e.$hostElement$)}return null},vt=e=>{const t=e.$hostElement$,o=t,s=e.R;z(o,"componentDidRender",void 0,t),64&e.i?z(o,"componentDidUpdate",void 0,t):(e.i|=64,wt(t),z(o,"componentDidLoad",void 0,t),e.L(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>fe(e,!1))),e.i&=-517},St=()=>{ne((()=>je(w,"appload",{detail:{namespace:"gids-core-web"}})))},z=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){L(n,s)}},wt=e=>e.classList.add("hydrated"),Fe=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Ce(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const f=s.F[t];f&&f.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](o,i,t):n.T.push((()=>{n.D[d](o,i,t)})))}catch(d){L(d,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||fe(n,!1)}}},Nt=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&tt.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const f=A(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=f?.H)==null||u.then((d=>{const p=d[i];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:f}=D(l,c)||{};u&&(t.t[c][0]|=2048),f&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,A(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const d=A(this);if(d){if(f)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),f.apply(this,[Ce(a,r,!!(64&t.i))]),void Fe(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Fe(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,f){O.jmp((()=>{var a;const d=c.get(r),p=A(this);if(this.hasOwnProperty(d),l.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const m=p?.i;if(p&&m&&!(8&m)&&f!==u){const g=this,_=(a=t.F)==null?void 0:a[r];_?.forEach((b=>{const[[N,C]]=Object.entries(b);g[N]!=null&&(128&m||1&C)&&g[N].call(g,f,u,r)}))}return}const h=i.find((([m])=>m===d)),v=h&&4&h[1][0],S=v&&f===null&&this[d]===void 0;v&&(f=f!==null&&f!=="false");const y=Object.getOwnPropertyDescriptor(l,d);S||f==this[d]||y.get&&!y.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const a=u[1]||r;return c.set(a,r),512&u[0]&&((f=t.C)==null||f.push([r,a])),a}))]))}}return e},_t=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=ke(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&et(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ve(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const i=A(l);if(!i)return;const c=i.o;if(1&i.i)Ve(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const u=r["s-cr"]=w.document.createComment("");u["s-cn"]=!0,x(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){He(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const f=l[r];delete l[r],l[r]=f}})),(async(r,u,f)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=_e(f);G.has(v)||((S,y,m)=>{let g=G.get(S);ee&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=y:g.replaceSync(y)):g=y,G.set(S,g)})(v,h,!!(1&f.i))}const d=u.R,p=()=>fe(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){L(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&O.i)){const i=A(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}R.has(l)&&R.delete(l),l.shadowRoot&&R.has(l.shadowRoot)&&R.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else rt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Nt(e,o,3)}catch(s){return L(s),e}},Ve=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=$t(w.document,e,s),c=Ot(t,l),r=kt(s);O.ael(i,n,c,r),(t.V=t.V||[]).push((()=>O.rel(i,n,c,r)))}))},Ot=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){L(s,e.$hostElement$)}},$t=(e,t,o)=>8&o?w:t,kt=e=>ot?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Vt(e){return e}function Ie(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Ie(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function We(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const Q=64,ze=10,Ge=Q/2-ze/2,Ct=Q/2,he=2*Math.PI*Ge,jt=`0 0 ${Q} ${Q}`,xt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const o=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(o,e))/o*100,l=(he*n/100).toFixed(2),i=(he-parseFloat(l)).toFixed(2);return`${l} ${i}`},centerPosition:Ct,circumference:he,radius:Ge,thickness:ze,viewBox:jt},Symbol.toStringTag,{value:"Module"})),Et=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:o,destructive:s,positive:n,loading:l},i,c)=>We("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":o==="full","gids-button--destructive":s&&!n,"gids-button--positive":n&&!s,"gids-button--icon-only":i,"gids-button--loading":l},c)},Symbol.toStringTag,{value:"Module"})),At=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:o},s)=>We("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},o,s)},Symbol.toStringTag,{value:"Module"})),Ue=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:Tt}=At,{calculateStrokeDasharray:Rt,thickness:qe,radius:Ye,centerPosition:X,viewBox:Pt}=xt,Lt=({size:e,indeterminate:t,value:o,max:s,...n})=>{let l;return t||(l={strokeDashArray:Rt(o,s||0),strokeDashoffset:"0"}),$("svg",{class:Tt({size:e,indeterminate:t,value:o}),viewBox:Pt,...n},$("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ye,"stroke-width":qe}),$("circle",{style:l,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ye,"stroke-width":qe}))},{getGidsButtonClassNames:Mt}=Et,Dt=({appearance:e,size:t,destructive:o,positive:s,loading:n,width:l,leadingIcon:i,trailingIcon:c,as:r,disabled:u,class:f,forceIconOnly:a=!1,...d},p)=>{const h=r||"button",v=t==="lg"||t===void 0?"md":t;return h!=="button"||"type"in d||(d.type="button"),$(h,{class:Mt({appearance:e,size:t,destructive:o,loading:n,width:l,positive:s},a||p.length===0&&Ue(i)&&!Ue(c),f),disabled:h==="button"?u:void 0,...d},$("span",{class:"gids-button__content"},i,p),n&&$(Lt,{size:v,indeterminate:!0}),c)},B=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ze=!1;B&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(B):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let pe=null;const ge=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Je()})):void 0,Je=()=>{if(B===void 0)return!1;const e=(()=>{if(B===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ge!==void 0&&t!==pe&&(pe&&ge.disconnect(),t instanceof Element&&ge.observe(t,{childList:!0,characterData:!0,subtree:!0}),pe=t),B.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ht=()=>(Ze||(Ze=Je()),B),Ke=_t(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.select=dt(this,"select"),this._toggle=this._toggle.bind(this)}handleSelctedChange(e){this.selected!==e&&(this.selected=e)}connectedCallback(){const e=Ht();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}_toggle(){const e=!this.selected;this._el.selected=e,this.select?.emit(e),this.selected=e}render(){return $(Oe,{key:"330cebe4e29e06299465abf676035ac3f2268d47"},$("style",{key:"416c5a345c486676384e859125ccc493c5be5020"},`:host {
6
6
  display: ${this.width==="full"?"block":"inline-block"}
7
- }`),$(Dt,{key:"2cfddcc0c052d848a904edab75665bd5082b3277",appearance:this.appearance,size:this.size,width:this.width,disabled:this.disabled,onClick:this._toggle,"aria-pressed":this.selected?"true":"false",leadingIcon:$("slot",{name:"leadingIcon"}),trailingIcon:$("slot",{name:"trailingIcon"}),forceIconOnly:this._onlyHasLeadingIcon()},$("slot",{key:"7537b4d1f9d6ae68a3d03ed589efe3e564281a4b"})))}_onlyHasLeadingIcon(){const e=this._el.childNodes;return e.length===1&&e[0]instanceof window.Element&&e[0].slot==="leadingIcon"}get _el(){return this}static get watchers(){return{selected:[{handleSelctedChange:0}]}}},[257,"gids-toggle-button",{disabled:[516],appearance:[513],size:[513],width:[513],defaultSelected:[516,"default-selected"],selected:[1540]},void 0,{selected:[{handleSelctedChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-toggle-button"].forEach((e=>{e==="gids-toggle-button"&&(customElements.get(e)||customElements.define(e,Ke))}))}Qe();const Bt=Ke,Ft=Qe;P.GidsToggleButton=Bt,P.defineCustomElement=Ft,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
7
+ }`),$(Dt,{key:"c073ff03d8910844a6f7dbb86d6c1141a9dd1c2e",appearance:this.appearance,size:this.size,width:this.width,disabled:this.disabled,onClick:this._toggle,"aria-pressed":this.selected?"true":"false",leadingIcon:$("slot",{name:"leadingIcon"}),trailingIcon:$("slot",{name:"trailingIcon"}),forceIconOnly:this._onlyHasLeadingIcon()},$("slot",{key:"9d49f9106e4f3313363e878364d1261ba9ebd7c1"})))}_onlyHasLeadingIcon(){const e=this._el.childNodes;return e.length===1&&e[0]instanceof window.Element&&e[0].slot==="leadingIcon"}get _el(){return this}static get watchers(){return{selected:[{handleSelctedChange:0}]}}},[257,"gids-toggle-button",{disabled:[516],appearance:[513],size:[513],width:[513],defaultSelected:[516,"default-selected"],selected:[1540]},void 0,{selected:[{handleSelctedChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-toggle-button"].forEach((e=>{e==="gids-toggle-button"&&(customElements.get(e)||customElements.define(e,Ke))}))}Qe();const Bt=Ke,Ft=Qe;P.GidsToggleButton=Bt,P.defineCustomElement=Ft,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(X,oe){typeof exports=="object"&&typeof module<"u"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(X=typeof globalThis<"u"?globalThis:X||self,oe(X.gidsCoreWebGidsTooltip={}))})(this,(function(X){"use strict";function oe(e,t,o){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!o||i.get))return i;e=Object.getPrototypeOf(e)}}var de,rn=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([n,[i]])=>{if(31&i||32&i){const s=e[n],l=oe(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(e,n,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):s!==void 0&&(e[n]=s)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},pt=(e,t)=>t in e,Y=(e,t)=>(0,console.error)(e,t),Oe=new Map,mt="http://www.w3.org/1999/xlink",cn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},an=O.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},fn=(()=>{var e;let t=!1;try{(e=O.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),je=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ve=!!je&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,He=!1,gt=[],yt=[],un=(e,t)=>o=>{e.push(o),He||(He=!0,4&C.i?ze(Be):C.raf(Be))},vt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){Y(o)}e.length=0},Be=()=>{vt(gt),vt(yt),(He=gt.length>0)&&C.raf(Be)},ze=e=>Promise.resolve(void 0).then(e),dn=un(yt);function hn(){const e=this.attachShadow({mode:"open"});de===void 0&&(de=null),de&&(Ve?e.adoptedStyleSheets.push(de):e.adoptedStyleSheets=[...e.adoptedStyleSheets,de])}var wt=e=>{const t=Ue(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(n.hidden=!!pn(n,he(n),!1).length)}));let o=0;for(o=0;o<t.length;o++){const n=t[o];n.nodeType===1&&Ue(n,"childNodes").length&&wt(n)}};function Ie(e,t,o){let n,i=0,s=[];for(;i<e.length;i++){if(n=e[i],n["s-sr"]&&(!t||n["s-hn"]===t)&&(o===void 0||he(n)===o)&&(s.push(n),o!==void 0))return s;s=[...s,...Ie(n.childNodes,t,o)]}return s}var pn=(e,t,o=!0)=>{const n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let i=e;for(;i=i.nextSibling;)he(i)!==t||!o&&i["s-sr"]||n.push(i);return n},bt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",he=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var qe,G,z=new WeakMap,xt=e=>"sc-"+e.p,Xe=e=>(e=typeof e)=="object"||e==="function",ie=(e,t,...o)=>{let n=null,i=null,s=null,l=!1,c=!1;const r=[],f=a=>{for(let d=0;d<a.length;d++)n=a[d],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((l=typeof e!="function"&&!Xe(n))&&(n=String(n)),l&&c?r[r.length-1].h+=n:r.push(l?Ae(null,n):n),c=l)};if(f(o),t){t.key&&(i=t.key),t.name&&(s=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((d=>a[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,gn);const u=Ae(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=i,u.j=s,u},Ae=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),mn={},gn={forEach:(e,t)=>e.map(St).forEach(t),map:(e,t)=>e.map(St).map(t).map(yn)},St=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),yn=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),ie(e.vtag,o,...e.vchildren||[])}const t=Ae(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 o=!1;for(const i of t){if(o)break;for(const s of e[i])if(typeof s=="string"){o=!0;break}}if(!o)return e;const n={};for(const i of t)n[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return n},Ot=(e,t,o)=>e==null||Xe(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,vn=(e,t,o)=>{const n=C.ce(t,o);return e.dispatchEvent(n),n},At=(e,t,o,n,i,s)=>{if(o===n)return;let l=pt(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,f=Ct(o);let u=Ct(n);r.remove(...f.filter((a=>a&&!u.includes(a)))),r.add(...u.filter((a=>a&&!f.includes(a))))}else if(t==="style"){for(const r in o)n&&n[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in n)o&&n[r]===o[r]||(r.includes("-")?e.style.setProperty(r,n[r]):e.style[r]=n[r])}else if(t!=="key"){if(t==="ref")n&&xn(n,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 f;{const u=j(e);if(u&&u.o&&u.o.t){const a=u.o.t[r];a&&a[1]&&(f=a[1])}}return f||(f=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(f)!==""||e.removeAttribute(f):e.setAttribute(f,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=n}catch{}return}{const r=Xe(n);if((l||r&&n!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const u=n??"";t==="list"?l=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),n==null||n===!1?n===!1&&e.getAttribute(t)!==""||(f?e.removeAttributeNS(mt,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(n=n===!0?"":n,f?e.setAttributeNS(mt,t,n):e.setAttribute(t,n))}}else if(t=t[2]==="-"?t.slice(3):pt(O,c)?c.slice(2):c[2]+t.slice(3),o||n){const r=t.endsWith(Tt);t=t.replace(bn,""),o&&C.rel(e,t,o,r),n&&C.ael(e,t,n,r)}}},wn=/\s/,Ct=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(wn):[]),Tt="Capture",bn=new RegExp(Tt+"$"),Ye=(e,t,o)=>{const n=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||At(n,l,i[l],void 0,o,t.i);for(const l of Nt(Object.keys(s)))At(n,l,i[l],s[l],o,t.i)};function Nt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var pe=!1,Ce=!1,Te=!1,R=!1,Ge=[],Ze=[],Ne=(e,t,o)=>{var n;const i=t.m[o];let s,l,c,r=0;if(pe||(Te=!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,R);else{if(R||(R=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(R?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&i.i?"slot-fb":i.O),R&&i.O==="foreignObject"&&(R=!1),Ye(null,i,R),i.m){const f=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ne(e,i,r),l&&f.appendChild(l)}i.O==="svg"?R=!1:s.tagName==="foreignObject"&&(R=!0)}return s["s-hn"]=G,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qe,s["s-sn"]=i.j||"",s["s-rf"]=(n=i.v)==null?void 0:n.ref,(function(f){if(f.assignedElements||f.assignedNodes||!f["s-sr"])return;const u=a=>(function(d){const p=[],h=this["s-sn"];d?.flatten&&console.error(`
1
+ (function(Q,lt){typeof exports=="object"&&typeof module<"u"?lt(exports):typeof define=="function"&&define.amd?define(["exports"],lt):(Q=typeof globalThis<"u"?globalThis:Q||self,lt(Q.gidsCoreWebGidsTooltip={}))})(this,(function(Q){"use strict";function lt(t,e,n){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;t&&t!==o;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!n||i.get))return i;t=Object.getPrototypeOf(t)}}var gt,an=(t,e)=>{var n;Object.entries((n=e.o.t)!=null?n:{}).map((([o,[i]])=>{if(31&i||32&i){const s=t[o],l=lt(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);l&&Object.defineProperty(t,o,{get(){return l.get.call(this)},set(r){l.set.call(this,r)},configurable:!0,enumerable:!0}),e.l.has(o)?t[o]=e.l.get(o):s!==void 0&&(t[o]=s)}}))},V=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},pe=(t,e)=>e in t,tt=(t,e)=>(0,console.error)(t,e),Ot=new Map,me="http://www.w3.org/1999/xlink",cn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},fn=O.HTMLElement||class{},T={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},un=(()=>{var t;let e=!1;try{(t=O.document)==null||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),jt=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ht=!!jt&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Vt=!1,ge=[],ye=[],dn=(t,e)=>n=>{t.push(n),Vt||(Vt=!0,4&T.i?Bt(zt):T.raf(zt))},we=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){tt(n)}t.length=0},zt=()=>{we(ge),we(ye),(Vt=ge.length>0)&&T.raf(zt)},Bt=t=>Promise.resolve(void 0).then(t),hn=dn(ye);function pn(){const t=this.attachShadow({mode:"open"});gt===void 0&&(gt=null),gt&&(Ht?t.adoptedStyleSheets.push(gt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,gt])}var ve=t=>{const e=Ut(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&t.tagName!=="SLOT-FB"&&It(e,t.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!mn(o,yt(o),!1).length)}));let n=0;for(n=0;n<e.length;n++){const o=e[n];o.nodeType===1&&Ut(o,"childNodes").length&&ve(o)}};function It(t,e,n){let o,i=0,s=[];for(;i<t.length;i++){if(o=t[i],o["s-sr"]&&(!e||o["s-hn"]===e)&&(n===void 0||yt(o)===n)&&(s.push(o),n!==void 0))return s;s=[...s,...It(o.childNodes,e,n)]}return s}var mn=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let i=t;for(;i=i.nextSibling;)yt(i)!==e||!n&&i["s-sr"]||o.push(i);return o},be=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e||e==="",yt=t=>typeof t["s-sn"]=="string"?t["s-sn"]:t.nodeType===1&&t.getAttribute("slot")||void 0;function Ut(t,e){if("__"+e in t){const n=t["__"+e];return typeof n!="function"?n:n.bind(t)}return typeof t[e]!="function"?t[e]:t[e].bind(t)}var qt,et,q=new WeakMap,xe=t=>"sc-"+t.p,Yt=t=>(t=typeof t)=="object"||t==="function",rt=(t,e,...n)=>{let o=null,i=null,s=null,l=!1,r=!1;const a=[],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 t!="function"&&!Yt(o))&&(o=String(o)),l&&r?a[a.length-1].h+=o:a.push(l?At(null,o):o),r=l)};if(u(n),e){e.key&&(i=e.key),e.name&&(s=e.name);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter((d=>c[d])).join(" "))}}if(typeof t=="function")return t(e===null?{}:e,a,yn);const f=At(t,null);return f.v=e,a.length>0&&(f.m=a),f.$=i,f.j=s,f},At=(t,e)=>({i:0,O:t,h:e??null,S:null,m:null,v:null,$:null,j:null}),gn={},yn={forEach:(t,e)=>t.map(Se).forEach(e),map:(t,e)=>t.map(Se).map(e).map(wn)},Se=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),wn=t=>{if(typeof t.vtag=="function"){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),rt(t.vtag,n,...t.vchildren||[])}const e=At(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},Ee=t=>{if(!t)return;const e=Object.keys(t);if(e.length===0)return;let n=!1;for(const i of e){if(n)break;for(const s of t[i])if(typeof s=="string"){n=!0;break}}if(!n)return t;const o={};for(const i of e)o[i]=t[i].map((s=>typeof s=="string"?{[s]:0}:s));return o},Oe=(t,e,n)=>t==null||Yt(t)?t:4&e?(n&&typeof t=="string"||t!=="false")&&(t===""||!!t):2&e?typeof t=="string"?parseFloat(t):typeof t=="number"?t:NaN:1&e?String(t):t,vn=(t,e,n)=>{const o=T.ce(e,n);return t.dispatchEvent(o),o},Ae=(t,e,n,o,i,s)=>{if(n===o)return;let l=pe(t,e),r=e.toLowerCase();if(e==="class"){const a=t.classList,u=Ce(n);let f=Ce(o);a.remove(...u.filter((c=>c&&!f.includes(c)))),a.add(...f.filter((c=>c&&!u.includes(c))))}else if(e==="style"){for(const a in n)o&&o[a]!=null||(a.includes("-")?t.style.removeProperty(a):t.style[a]="");for(const a in o)n&&o[a]===n[a]||(a.includes("-")?t.style.setProperty(a,o[a]):t.style[a]=o[a])}else if(e!=="key"){if(e==="ref")o&&Sn(o,t);else if(t.__lookupSetter__(e)||e[0]!=="o"||e[1]!=="n"){if(e[0]==="a"&&e.startsWith("attr:")){const a=e.slice(5);let u;{const f=V(t);if(f&&f.o&&f.o.t){const c=f.o.t[a];c&&c[1]&&(u=c[1])}}return u||(u=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&t.getAttribute(u)!==""||t.removeAttribute(u):t.setAttribute(u,o===!0?"":o))}if(e[0]==="p"&&e.startsWith("prop:")){const a=e.slice(5);try{t[a]=o}catch{}return}{const a=Yt(o);if((l||a&&o!==null)&&!i)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const f=o??"";e==="list"?l=!1:n!=null&&t[e]===f||(typeof t.__lookupSetter__(e)=="function"?t[e]=f:t.setAttribute(e,f))}}catch{}let u=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,u=!0),o==null||o===!1?o===!1&&t.getAttribute(e)!==""||(u?t.removeAttributeNS(me,e):t.removeAttribute(e)):(!l||4&s||i)&&!a&&t.nodeType===1&&(o=o===!0?"":o,u?t.setAttributeNS(me,e,o):t.setAttribute(e,o))}}else if(e=e[2]==="-"?e.slice(3):pe(O,r)?r.slice(2):r[2]+e.slice(3),n||o){const a=e.endsWith(Te);e=e.replace(xn,""),n&&T.rel(t,e,n,a),o&&T.ael(t,e,o,a)}}},bn=/\s/,Ce=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),t&&typeof t=="string"?t.split(bn):[]),Te="Capture",xn=new RegExp(Te+"$"),Xt=(t,e,n)=>{const o=e.S.nodeType===11&&e.S.host?e.S.host:e.S,i=t&&t.v||{},s=e.v||{};for(const l of Ne(Object.keys(i)))l in s||Ae(o,l,i[l],void 0,n,e.i);for(const l of Ne(Object.keys(s)))Ae(o,l,i[l],s[l],n,e.i)};function Ne(t){return t.includes("ref")?[...t.filter((e=>e!=="ref")),"ref"]:t}var wt=!1,Ct=!1,Tt=!1,k=!1,Gt=[],Zt=[],Nt=(t,e,n)=>{var o;const i=e.m[n];let s,l,r,a=0;if(wt||(Tt=!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(""),Xt(null,i,k);else{if(k||(k=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(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!wt&&2&i.i?"slot-fb":i.O),k&&i.O==="foreignObject"&&(k=!1),Xt(null,i,k),i.m){const u=i.O==="template"?s.content:s;for(a=0;a<i.m.length;++a)l=Nt(t,i,a),l&&u.appendChild(l)}i.O==="svg"?k=!1:s.tagName==="foreignObject"&&(k=!0)}return s["s-hn"]=et,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qt,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 p=[],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 v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(w=>{const g=[];for(let y=0;y<w.length;y++){const m=w[y]["s-nr"]||void 0;m&&m.isConnected&&g.push(m)}return g})(v.childNodes)).forEach((w=>{h===he(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(f);f.assignedElements=u(!0),f.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&Rt(e.S)),s},Rt=e=>{C.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const i of o?n.reverse():n)i["s-sh"]!=null&&(_(t,i,o??null),i["s-sh"]=void 0,Te=!0)}C.i&=-2},Re=(e,t)=>{C.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==G&&i["s-ol"]&&(_(me(i).parentNode,i,me(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Te=!0),t&&Re(i,t)}C.i&=-2},kt=(e,t,o,n,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===G&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(l=Ne(null,o,i),l&&(n[i].S=l,_(c,l,me(t))))},Lt=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;$t(i),s&&(Ce=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},ke=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(R=l==="svg"||l!=="foreignObject"&&R,l!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Rt(t.S.parentElement)),Ye(e,t,R),i!==null&&s!==null?((f,u,a,d,p=!1)=>{let h,v,w=0,g=0,y=0,m=0,x=u.length-1,b=u[0],S=u[x],E=d.length-1,A=d[0],T=d[E];const L=a.O==="template"?f.content:f;for(;w<=x&&g<=E;)if(b==null)b=u[++w];else if(S==null)S=u[--x];else if(A==null)A=d[++g];else if(T==null)T=d[--E];else if(ke(b,A,p))se(b,A,p),b=u[++w],A=d[++g];else if(ke(S,T,p))se(S,T,p),S=u[--x],T=d[--E];else if(ke(b,T,p))b.O!=="slot"&&T.O!=="slot"||Re(b.S.parentNode,!1),se(b,T,p),_(L,b.S,S.S.nextSibling),b=u[++w],T=d[--E];else if(ke(S,A,p))b.O!=="slot"&&T.O!=="slot"||Re(S.S.parentNode,!1),se(S,A,p),_(L,S.S,b.S),S=u[--x],A=d[++g];else{for(y=-1,m=w;m<=x;++m)if(u[m]&&u[m].$!==null&&u[m].$===A.$){y=m;break}y>=0?(v=u[y],v.O!==A.O?h=Ne(u&&u[g],a,y):(se(v,A,p),u[y]=void 0,h=v.S),A=d[++g]):(h=Ne(u&&u[g],a,g),A=d[++g]),h&&_(me(b.S).parentNode,h,me(b.S))}w>x?kt(f,d[E+1]==null?null:d[E+1].S,a,d,g,E):g>E&&Lt(u,w,x)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),kt(n,null,t,s,0,s.length-1)):!o&&i!==null&&Lt(i,0,i.length-1),R&&l==="svg"&&(R=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(n.data=c)},V=[],_t=e=>{let t,o,n;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(bt(t,l)){let c=V.find((r=>r.k===t));Ce=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((r=>{bt(r.k,t["s-sn"])&&(c=V.find((f=>f.k===t)),c&&!r.N&&(r.N=c.N))}))}else V.some((c=>c.k===t))||V.push({k:t})}s.nodeType===1&&_t(s)}},$t=e=>{e.v&&e.v.ref&&Ge.push((()=>e.v.ref(null))),e.m&&e.m.map($t)},xn=(e,t)=>{Ze.push((()=>e(t)))},_=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=he(s)||"";return{slotNode:Ie(Ue(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!n&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Sn=(e,t,o=!1)=>{var n,i,s,l,c;const r=e.$hostElement$,f=e.o,u=e.M||Ae(null,null);var a;const d=(a=t)&&a.O===mn?t:ie(null,null,t);if(G=r.tagName,f.C&&(d.v=d.v||{},f.C.forEach((([p,h])=>{d.v[h]=r[p]}))),o&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=u.S=r.shadowRoot||r,pe=!(!(1&f.i)||128&f.i),qe=r["s-cr"],Ce=!1,se(u,d,o),C.i|=1,Te){_t(d.S);for(const p of V){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,_(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of V){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(n=h.hidden)!=null&&n),v){const w=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(s=y["s-nr"])!=null?s:null;if(m&&m["s-sn"]===h["s-sn"]&&w===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){g=m;break}}y=y.previousSibling}}if((!g&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(_(w,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,_(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ce&&wt(d.S),C.i&=-2,V.length=0,!pe&&!(1&f.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==G&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],_(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}qe=void 0,Ge.forEach((p=>p())),Ge.length=0,Ze.forEach((p=>p())),Ze.length=0},Pt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},Ke=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pt(e,e.R);const o=()=>En(e,t);if(!t)return dn(o);queueMicrotask((()=>{o()}))},En=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)throw new Error(`Can't render component <${o.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=ge(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Dt(i,(()=>ge(n,"componentWillRender",void 0,o))),Dt(i,(()=>An(e,n,t)))},Dt=(e,t)=>On(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),On=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",An=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(l=>{const c=l.o,r=l.$hostElement$,f=c.i,u=((a,d)=>{var p,h,v;const w=xt(d),g=Oe.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,g)if(typeof g=="string"){let y,m=z.get(a=a.head||a);if(m||z.set(a,m=new Set),!m.has(w)){y=O.document.createElement("style"),y.textContent=g;const x=(p=C._)!=null?p:(function(){var b,S,E;return(E=(S=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(x!=null&&y.setAttribute("nonce",x),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,S?.parentNode===a?S:null)}else if("host"in a)if(je){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(g),Ve?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=g+b.textContent:a.prepend(y)}else a.append(y);1&d.i&&a.insertBefore(y,null),4&d.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(w)}}else{let y=z.get(a);if(y||z.set(a,y=new Set),!y.has(w)){const m=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let x;if(g.constructor===m.CSSStyleSheet)x=g;else{x=new m.CSSStyleSheet;for(let b=0;b<g.cssRules.length;b++)x.insertRule(g.cssRules[b].cssText,b)}Ve?a.adoptedStyleSheets.push(x):a.adoptedStyleSheets=[...a.adoptedStyleSheets,x],y.add(w)}}return w})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&f&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),Cn(e,t,i,o),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(n=i["s-p"])!=null?n:[],c=()=>Tn(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},Cn=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Sn(e,t,n)}catch(i){Y(i,e.$hostElement$)}return null},Tn=e=>{const t=e.$hostElement$,o=t,n=e.R;ge(o,"componentDidRender",void 0,t),64&e.i?ge(o,"componentDidUpdate",void 0,t):(e.i|=64,Rn(t),ge(o,"componentDidLoad",void 0,t),e.L(t),n||Nn()),e.A&&(e.A(),e.A=void 0),512&e.i&&ze((()=>Ke(e,!1))),e.i&=-517},Nn=()=>{ze((()=>vn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ge=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){Y(i,n)}},Rn=e=>e.classList.add("hydrated"),Mt=(e,t,o,n)=>{const i=j(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;o=Ot(o,n.t[t][0],!!(64&n.i));const f=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!f){if(i.l.set(t,o),n.F){const u=n.F[t];u&&u.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](o,l,t):i.T.push((()=>{i.D[d](o,l,t)})))}catch(d){Y(d,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,l,t)===!1&&!(16&c))return;16&c||Ke(i,!1)}}},kn=(e,t,o)=>{var n,i;const s=e.prototype;64&t.i&&1&o&&cn.forEach((l=>{const c=s[l];Object.defineProperty(s,l,{value(...r){var f;const u=j(this),a=this;a?typeof c=="function"&&c.call(a,...r):(f=u?.H)==null||f.then((d=>{const p=d[l];typeof p=="function"&&p.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((n=t.t)!=null?n:{});l.map((([c,[r]])=>{if(31&r||32&r){const{get:f,set:u}=oe(s,c)||{};f&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return f?f.apply(this):(a=c,j(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=j(this);if(d){if(u)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),u.apply(this,[Ot(a,r,!!(64&t.i))]),void Mt(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Mt(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(r,f,u){C.jmp((()=>{var a;const d=c.get(r),p=j(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==u)return;if(d==null){const y=p?.i;if(p&&y&&!(8&y)&&u!==f){const m=this,x=(a=t.F)==null?void 0:a[r];x?.forEach((b=>{const[[S,E]]=Object.entries(b);m[S]!=null&&(128&y||1&E)&&m[S].call(m,u,f,r)}))}return}const h=l.find((([y])=>y===d)),v=h&&4&h[1][0],w=v&&u===null&&this[d]===void 0;v&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(s,d);w||u==this[d]||g.get&&!g.set||(this[d]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,f])=>31&f[0])).map((([r,f])=>{var u;const a=f[1]||r;return c.set(a,r),512&f[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},Ln=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Et(e.F),o.P=e.P,o.U=e.U,o.C=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};c.H=new Promise((f=>c.L=f)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&rn(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=j(this);if(!s)return;Ft(this,s,o.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=j(s);if(!l)return;const c=l.o;if(1&l.i)Ft(s,l,c.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const f=r["s-cr"]=O.document.createComment("");f["s-cn"]=!0,_(r,f,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){Pt(l,l.R=r);break}}c.t&&Object.entries(c.t).map((([r,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(s,r)){const u=s[r];delete s[r],s[r]=u}})),(async(r,f,u)=>{let a;try{if(!(32&f.i)&&(f.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>f.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=xt(u);Oe.has(v)||((w,g,y)=>{let m=Oe.get(w);je&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=g:m.replaceSync(g)):m=g,Oe.set(w,m)})(v,h,!!(1&u.i))}const d=f.R,p=()=>Ke(f,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){Y(d,r),f.A&&(f.A(),f.A=void 0),f.L&&f.L(r)}})(s,l,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=j(s);l?.V&&(l.V.map((c=>c())),l.V=void 0)}z.has(s)&&z.delete(s),s.shadowRoot&&z.has(s.shadowRoot)&&z.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 ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else hn.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),kn(e,o,3)}catch(n){return Y(n),e}},_n=(e,t)=>t,Ft=(e,t,o)=>{o&&O.document&&o.map((([n,i,s])=>{const l=Pn(O.document,e,n),c=$n(t,s),r=Dn(n);C.ael(l,i,c,r),(t.V=t.V||[]).push((()=>C.rel(l,i,c,r)))}))},$n=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(n){Y(n,e.$hostElement$)}},Pn=(e,t,o)=>8&o?O:t,Dn=e=>fn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function _o(e){return e}const le=Math.min,Z=Math.max,Le=Math.round,_e=Math.floor,F=e=>({x:e,y:e}),Mn={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e,t,o){return Z(e,le(t,o))}function ye(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function ve(e){return e.split("-")[1]}function Wt(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function et(e){return Wt(I(e))}function Fn(e,t,o){o===void 0&&(o=!1);const n=ve(e),i=et(e),s=Qe(i);let l=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=$e(l)),[l,$e(l)]}function Wn(e){const t=$e(e);return[tt(e),t,tt(t)]}function tt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const jt=["left","right"],Vt=["right","left"],jn=["top","bottom"],Vn=["bottom","top"];function Hn(e,t,o){switch(e){case"top":case"bottom":return o?t?Vt:jt:t?jt:Vt;case"left":case"right":return t?jn:Vn;default:return[]}}function Bn(e,t,o,n){const i=ve(e);let s=Hn(K(e),o==="start",n);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(tt)))),s}function $e(e){const t=K(e);return Mn[t]+e.slice(t.length)}function zn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ht(e){return typeof e!="number"?zn(e):{top:e,right:e,bottom:e,left:e}}function Pe(e){const{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Bt(e,t,o){let{reference:n,floating:i}=e;const s=I(t),l=et(t),c=Qe(l),r=K(t),f=s==="y",u=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2,d=n[c]/2-i[c]/2;let p;switch(r){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:a};break;case"left":p={x:n.x-i.width,y:a};break;default:p={x:n.x,y:n.y}}switch(ve(t)){case"start":p[l]-=d*(o&&f?-1:1);break;case"end":p[l]+=d*(o&&f?-1:1);break}return p}async function In(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=ye(t,e),h=Ht(p),w=c[d?a==="floating"?"reference":"floating":a],g=Pe(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:r})),y=a==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,m=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),x=await(s.isElement==null?void 0:s.isElement(m))?await(s.getScale==null?void 0:s.getScale(m))||{x:1,y:1}:{x:1,y:1},b=Pe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:m,strategy:r}):y);return{top:(g.top-b.top+h.top)/x.y,bottom:(b.bottom-g.bottom+h.bottom)/x.y,left:(g.left-b.left+h.left)/x.x,right:(b.right-g.right+h.right)/x.x}}const Un=50,qn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:In},r=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:a}=Bt(f,n,r),d=n,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:g,fn:y}=w,{x:m,y:x,data:b,reset:S}=await y({x:u,y:a,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});u=m??u,a=x??a,h[g]={...h[g],...b},S&&p<Un&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(f=S.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:u,y:a}=Bt(f,d,r)),v=-1)}return{x:u,y:a,placement:d,strategy:i,middlewareData:h}},Xn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:f,padding:u=0}=ye(e,t)||{};if(f==null)return{};const a=Ht(u),d={x:o,y:n},p=et(i),h=Qe(p),v=await l.getDimensions(f),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",m=w?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let E=S?S[m]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=c.floating[m]||s.floating[h]);const A=x/2-b/2,T=E/2-v[h]/2-1,L=le(a[g],T),Se=le(a[y],T),te=L,Ee=E-v[h]-Se,N=E/2-v[h]/2+A,ne=Je(te,N,Ee),B=!r.arrow&&ve(i)!=null&&N!==ne&&s.reference[h]/2-(N<te?L:Se)-v[h]/2<0,D=B?N<te?N-te:N-Ee:0;return{[p]:d[p]+D,data:{[p]:ne,centerOffset:N-ne-D,...B&&{alignmentOffset:D}},reset:B}}}),Yn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:f}=t,{mainAxis:u=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=ye(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=K(i),y=I(c),m=K(c)===c,x=await(r.isRTL==null?void 0:r.isRTL(f.floating)),b=d||(m||!v?[$e(c)]:Wn(c)),S=h!=="none";!d&&S&&b.push(...Bn(c,v,h,x));const E=[c,...b],A=await r.detectOverflow(t,w),T=[];let L=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&T.push(A[g]),a){const N=Fn(i,l,x);T.push(A[N[0]],A[N[1]])}if(L=[...L,{placement:i,overflows:T}],!T.every(N=>N<=0)){var Se,te;const N=(((Se=s.flip)==null?void 0:Se.index)||0)+1,ne=E[N];if(ne&&(!(a==="alignment"?y!==I(ne):!1)||L.every(M=>I(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:L},reset:{placement:ne}};let B=(te=L.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:te.placement;if(!B)switch(p){case"bestFit":{var Ee;const D=(Ee=L.filter(M=>{if(S){const q=I(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Lo)=>q+Lo,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Ee[0];D&&(B=D);break}case"initialPlacement":B=c;break}if(i!==B)return{reset:{placement:B}}}return{}}}},Gn=new Set(["left","top"]);async function Zn(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),l=K(o),c=ve(o),r=I(o)==="y",f=Gn.has(l)?-1:1,u=s&&r?-1:1,a=ye(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),r?{x:p*u,y:d*f}:{x:d*f,y:p*u}}const Kn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await Zn(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Jn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:r={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...f}=ye(e,t),u={x:o,y:n},a=await s.detectOverflow(t,f),d=I(K(i)),p=Wt(d);let h=u[p],v=u[d];if(l){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+a[g],x=h-a[y];h=Je(m,h,x)}if(c){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",m=v+a[g],x=v-a[y];v=Je(m,v,x)}const w=r.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[p]:l,[d]:c}}}}}};function De(){return typeof window<"u"}function re(e){return zt(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){var t;return(t=(zt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zt(e){return De()?e instanceof Node||e instanceof k(e).Node:!1}function $(e){return De()?e instanceof Element||e instanceof k(e).Element:!1}function H(e){return De()?e instanceof HTMLElement||e instanceof k(e).HTMLElement:!1}function It(e){return!De()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof k(e).ShadowRoot}function we(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Qn(e){return/^(table|td|th)$/.test(re(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const eo=/transform|translate|scale|rotate|perspective|filter/,to=/paint|layout|strict|content/,J=e=>!!e&&e!=="none";let nt;function ot(e){const t=$(e)?P(e):e;return J(t.transform)||J(t.translate)||J(t.scale)||J(t.rotate)||J(t.perspective)||!it()&&(J(t.backdropFilter)||J(t.filter))||eo.test(t.willChange||"")||to.test(t.contain||"")}function no(e){let t=U(e);for(;H(t)&&!ce(t);){if(ot(t))return t;if(Me(t))return null;t=U(t)}return null}function it(){return nt==null&&(nt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nt}function ce(e){return/^(html|body|#document)$/.test(re(e))}function P(e){return k(e).getComputedStyle(e)}function Fe(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||It(e)&&e.host||W(e);return It(t)?t.host:t}function Ut(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&we(t)?t:Ut(t)}function be(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=Ut(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=k(i);if(s){const c=st(l);return t.concat(l,l.visualViewport||[],we(i)?i:[],c&&o?be(c):[])}else return t.concat(i,be(i,[],o))}function st(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qt(e){const t=P(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=H(e),s=i?e.offsetWidth:o,l=i?e.offsetHeight:n,c=Le(o)!==s||Le(n)!==l;return c&&(o=s,n=l),{width:o,height:n,$:c}}function lt(e){return $(e)?e:e.contextElement}function ae(e){const t=lt(e);if(!H(t))return F(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=qt(t);let l=(s?Le(o.width):o.width)/n,c=(s?Le(o.height):o.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const oo=F(0);function Xt(e){const t=k(e);return!it()||!t.visualViewport?oo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function io(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==k(e)?!1:t}function Q(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=lt(e);let l=F(1);t&&(n?$(n)&&(l=ae(n)):l=ae(e));const c=io(s,o,n)?Xt(s):F(0);let r=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,u=i.width/l.x,a=i.height/l.y;if(s){const d=k(s),p=n&&$(n)?k(n):n;let h=d,v=st(h);for(;v&&n&&p!==h;){const w=ae(v),g=v.getBoundingClientRect(),y=P(v),m=g.left+(v.clientLeft+parseFloat(y.paddingLeft))*w.x,x=g.top+(v.clientTop+parseFloat(y.paddingTop))*w.y;r*=w.x,f*=w.y,u*=w.x,a*=w.y,r+=m,f+=x,h=k(v),v=st(h)}}return Pe({width:u,height:a,x:r,y:f})}function We(e,t){const o=Fe(e).scrollLeft;return t?t.left+o:Q(W(e)).left+o}function Yt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-We(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function so(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",l=W(n),c=t?Me(t.floating):!1;if(n===l||c&&s)return o;let r={scrollLeft:0,scrollTop:0},f=F(1);const u=F(0),a=H(n);if((a||!a&&!s)&&((re(n)!=="body"||we(l))&&(r=Fe(n)),a)){const p=Q(n);f=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=l&&!a&&!s?Yt(l,r):F(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-r.scrollLeft*f.x+u.x+d.x,y:o.y*f.y-r.scrollTop*f.y+u.y+d.y}}function lo(e){return Array.from(e.getClientRects())}function ro(e){const t=W(e),o=Fe(e),n=e.ownerDocument.body,i=Z(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Z(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+We(e);const c=-o.scrollTop;return P(n).direction==="rtl"&&(l+=Z(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:c}}const Gt=25;function co(e,t){const o=k(e),n=W(e),i=o.visualViewport;let s=n.clientWidth,l=n.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const u=it();(!u||u&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const f=We(n);if(f<=0){const u=n.ownerDocument,a=u.body,d=getComputedStyle(a),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-a.clientWidth-p);h<=Gt&&(s-=h)}else f<=Gt&&(s+=f);return{width:s,height:l,x:c,y:r}}function ao(e,t){const o=Q(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=H(e)?ae(e):F(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,f=n*s.y;return{width:l,height:c,x:r,y:f}}function Zt(e,t,o){let n;if(t==="viewport")n=co(e,o);else if(t==="document")n=ro(W(e));else if($(t))n=ao(t,o);else{const i=Xt(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Pe(n)}function Kt(e,t){const o=U(e);return o===t||!$(o)||ce(o)?!1:P(o).position==="fixed"||Kt(o,t)}function fo(e,t){const o=t.get(e);if(o)return o;let n=be(e,[],!1).filter(c=>$(c)&&re(c)!=="body"),i=null;const s=P(e).position==="fixed";let l=s?U(e):e;for(;$(l)&&!ce(l);){const c=P(l),r=ot(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||we(l)&&!r&&Kt(e,l))?n=n.filter(u=>u!==l):i=c,l=U(l)}return t.set(e,n),n}function uo(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const l=[...o==="clippingAncestors"?Me(t)?[]:fo(t,this._c):[].concat(o),n],c=Zt(t,l[0],i);let r=c.top,f=c.right,u=c.bottom,a=c.left;for(let d=1;d<l.length;d++){const p=Zt(t,l[d],i);r=Z(p.top,r),f=le(p.right,f),u=le(p.bottom,u),a=Z(p.left,a)}return{width:f-a,height:u-r,x:a,y:r}}function ho(e){const{width:t,height:o}=qt(e);return{width:t,height:o}}function po(e,t,o){const n=H(t),i=W(t),s=o==="fixed",l=Q(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=F(0);function f(){r.x=We(i)}if(n||!n&&!s)if((re(t)!=="body"||we(i))&&(c=Fe(t)),n){const p=Q(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&f();s&&!n&&i&&f();const u=i&&!n&&!s?Yt(i,c):F(0),a=l.left+c.scrollLeft-r.x-u.x,d=l.top+c.scrollTop-r.y-u.y;return{x:a,y:d,width:l.width,height:l.height}}function rt(e){return P(e).position==="static"}function Jt(e,t){if(!H(e)||P(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return W(e)===o&&(o=o.ownerDocument.body),o}function Qt(e,t){const o=k(e);if(Me(e))return o;if(!H(e)){let i=U(e);for(;i&&!ce(i);){if($(i)&&!rt(i))return i;i=U(i)}return o}let n=Jt(e,t);for(;n&&Qn(n)&&rt(n);)n=Jt(n,t);return n&&ce(n)&&rt(n)&&!ot(n)?o:n||no(e)||o}const mo=async function(e){const t=this.getOffsetParent||Qt,o=this.getDimensions,n=await o(e.floating);return{reference:po(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function go(e){return P(e).direction==="rtl"}const ct={convertOffsetParentRelativeRectToViewportRelativeRect:so,getDocumentElement:W,getClippingRect:uo,getOffsetParent:Qt,getElementRects:mo,getClientRects:lo,getDimensions:ho,getScale:ae,isElement:$,isRTL:go};function en(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yo(e,t){let o=null,n;const i=W(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const f=e.getBoundingClientRect(),{left:u,top:a,width:d,height:p}=f;if(c||t(),!d||!p)return;const h=_e(a),v=_e(i.clientWidth-(u+d)),w=_e(i.clientHeight-(a+p)),g=_e(u),m={rootMargin:-h+"px "+-v+"px "+-w+"px "+-g+"px",threshold:Z(0,le(1,r))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==r){if(!x)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!en(f,e.getBoundingClientRect())&&l(),x=!1}try{o=new IntersectionObserver(b,{...m,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,m)}o.observe(e)}return l(!0),s}function vo(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,f=lt(e),u=i||s?[...f?be(f):[],...t?be(t):[]]:[];u.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const a=f&&c?yo(f,o):null;let d=-1,p=null;l&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),o()}),f&&!r&&p.observe(f),t&&p.observe(t));let h,v=r?Q(e):null;r&&w();function w(){const g=Q(e);v&&!en(v,g)&&o(),v=g,h=requestAnimationFrame(w)}return o(),()=>{var g;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),a?.(),(g=p)==null||g.disconnect(),p=null,r&&cancelAnimationFrame(h)}}const wo=Kn,bo=Jn,xo=Yn,So=Xn,Eo=(e,t,o)=>{const n=new Map,i={platform:ct,...o},s={...i.platform,_c:n};return qn(e,t,{...i,platform:s})};function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const Oo=/transform|translate|scale|rotate|perspective|filter/,Ao=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let at;function Co(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof tn(o).Element)?tn(n=e).getComputedStyle(n):e);var o,n;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(ee(t.backdropFilter)||ee(t.filter)))||Oo.test(t.willChange||"")||Ao.test(t.contain||"")}function To(e){return(function(t){for(let o=t;o;o=ft(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ft(t);o;o=ft(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||Co(n)||o.tagName==="BODY"))return o}return null})(e)}function ft(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"})(xe||(xe={}));const ue=class ue{constructor(t,o){this.el=t,this.config=o,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=o.placement,this.cleanup=null}setCommonTimingConfig(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250}initialize(){this.setCommonTimingConfig(),this.floatingElement=this.el.shadowRoot?.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?this.el.shadowRoot?.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElementFromSlot(this.el.shadowRoot),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.setCommonTimingConfig(),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=vo(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=[wo(this.offset)],o=xo({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===xe.POPOVER,i=bo({padding:this.offset,mainAxis:this.config.elementType===xe.TOOLTIP||n&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.placement.includes("-")?t.push(o,i):t.push(i,o),this.config.showArrow!==!1&&this.arrowEl&&t.push(So({element:this.arrowEl,padding:this.offset})),Eo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...ct,getOffsetParent:s=>ct.getOffsetParent(s,To)}}).then((({x:s,y:l,middlewareData:c,placement:r})=>{if(n){const d=r.startsWith("left")||r.startsWith("right"),p=r.startsWith("top")||r.startsWith("bottom"),h=this.isAnchorInViewport(),v=!!p||(d?h:this.popoverMainAxisEnabled);if(v!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=v,void this.updatePosition()}this.currentPlacement=r,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${l}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=r.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:a}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const d=this.arrowEl.offsetWidth,{x:p,y:h}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:h!==null?`${h}px`:"",right:"",bottom:"",[u]:-d/2+"px",transform:"rotate(45deg)",zIndex:`${a}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),o=Number.parseInt(t,10),n=Number.isNaN(o)?-1:o-1,i=Number.isNaN(o)?n+1:o;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??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),ue.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=ue.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),ue.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(),o=window.innerHeight||document.documentElement?.clientHeight||0,n=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=o-i&&t.right>=0&&t.left<=n}};ue.currentFloatingElements=new Map;let ut=ue;const fe=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let nn=!1;fe&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(fe):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let dt=null;const ht=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{on()})):void 0,on=()=>{if(fe===void 0)return!1;const e=(()=>{if(fe===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let i=-1,s=0;for(let l=0;l<n.cssRules.length;l++){const c=n.cssRules.item(l);if(c?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(c?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}t.push(c)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:t,styleSheet:n}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ht!==void 0&&t!==dt&&(dt&&ht.disconnect(),t instanceof Element&&ht.observe(t,{childList:!0,characterData:!0,subtree:!0}),dt=t),fe.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:i,styleSheet:s}=o;for(let l=0;l<i;l++)s.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},No=()=>(nn||(nn=on()),fe),sn=Ln(class extends an{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.showWithoutDelay=!1,this.lockToMainAxis=!1,this.handleShowEvent=()=>{this.floatingElementManager.showAfterDelay()},this.handleHideEvent=()=>{this.floatingElementManager.hideAfterDelay()}}connectedCallback(){const e=No();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this.floatingElementManager=new ut(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:xe.TOOLTIP,getAnchorElementFromSlot:e=>e.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("mouseenter",this.handleShowEvent),e.addEventListener("focus",this.handleShowEvent),e.addEventListener("mouseleave",this.handleHideEvent),e.addEventListener("blur",this.handleHideEvent))}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(e){this.floatingElementManager?.updateConfig({showWithoutDelay:e})}lockToMainAxisChanged(e){this.floatingElementManager?.updateConfig({lockToMainAxis:e})}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&(e.removeEventListener("mouseenter",this.handleShowEvent),e.removeEventListener("focus",this.handleShowEvent),e.removeEventListener("mouseleave",this.handleHideEvent),e.removeEventListener("blur",this.handleHideEvent))}render(){return ie(_n,{key:"c14b56ca31e84fff6f2103c65065599da3ba8bae"},ie("slot",{key:"74268ecacbe214d6c36cfd5c0ce2bdb63ed7aaea"}),ie("span",{key:"0c9a6e5366414ab0fd43abb7e00e031b1f771171",id:"tooltip",part:"tooltip",role:"tooltip"},ie("span",{key:"8dfdd09262cdf5da5a4b5bd778a9ce60d68a2cba",id:"arrow"}),this.tooltipText))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-tooltip{--gidsTooltip-background:var(--gids-color-background-neutral-bold-default);--gidsTooltip-text-color:var(--gids-color-text-inverse);--gidsTooltip-padding:var(--gids-padding-vertical-edge-to-element-100) var(--gids-padding-horizontal-edge-to-element-200);--gidsTooltip-border-radius:var(--gids-border-radius-sm);--gidsTooltip-tip-border-radius:2px;--gidsTooltip-tip-size:12px;--gidsFloatingElement-background:var(--gidsTooltip-background);--gidsFloatingElement-tip-border-radius:var(--gidsTooltip-tip-border-radius)}[part=tooltip]{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;hyphens:auto;background-color:var(--gidsTooltip-background);color:var(--gidsTooltip-text-color);padding:var(--gidsTooltip-padding);border-radius:var(--gidsTooltip-border-radius);z-index:1000;opacity:0;pointer-events:none}[part=tooltip].gids-tooltip--visible{pointer-events:initial;opacity:1}[part=tooltip] span#arrow{position:absolute;height:var(--gidsTooltip-tip-size);width:var(--gidsTooltip-tip-size)}"}},[257,"gids-tooltip",{htmlFor:[513,"for"],tooltipText:[513,"tooltip-text"],placement:[513],showWithoutDelay:[516,"show-without-delay"],lockToMainAxis:[4,"lock-to-main-axis"]},void 0,{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}]);function ln(){typeof customElements<"u"&&["gids-tooltip"].forEach((e=>{e==="gids-tooltip"&&(customElements.get(e)||customElements.define(e,sn))}))}ln();const Ro=sn,ko=ln;X.GidsTooltip=Ro,X.defineCustomElement=ko,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const m=[];for(let g=0;g<v.length;g++){const y=v[g]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(w.childNodes)).forEach((v=>{h===yt(v)&&p.push(v)})),c?p.filter((v=>v.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),r=t&&t.m&&t.m[n],r&&r.O===i.O&&t.S&&Re(t.S)),s},Re=t=>{T.i|=1;const e=t.closest(et.toLowerCase());if(e!=null){const n=Array.from(e.__childNodes||e.childNodes).find((i=>i["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&($(e,i,n??null),i["s-sh"]=void 0,Tt=!0)}T.i&=-2},Rt=(t,e)=>{T.i|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===et&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==et&&i["s-ol"]&&($(vt(i).parentNode,i,vt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Tt=!0),e&&Rt(i,e)}T.i&=-2},ke=(t,e,n,o,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===et&&(r=r.shadowRoot),n.O==="template"&&(r=r.content);i<=s;++i)o[i]&&(l=Nt(null,n,i),l&&(o[i].S=l,$(r,l,vt(e))))},Le=(t,e,n)=>{for(let o=e;o<=n;++o){const i=t[o];if(i){const s=i.S;$e(i),s&&(Ct=!0,s["s-ol"]?s["s-ol"].remove():Rt(s,!0),s.remove())}}},kt=(t,e,n=!1)=>t.O===e.O&&(t.O==="slot"?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),vt=t=>t&&t["s-ol"]||t,at=(t,e,n=!1)=>{const o=e.S=t.S,i=t.m,s=e.m,l=e.O,r=e.h;let a;r==null?(k=l==="svg"||l!=="foreignObject"&&k,l!=="slot"||wt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",Re(e.S.parentElement)),Xt(t,e,k),i!==null&&s!==null?((u,f,c,d,p=!1)=>{let h,w,v=0,m=0,g=0,y=0,x=f.length-1,b=f[0],S=f[x],E=d.length-1,A=d[0],C=d[E];const N=c.O==="template"?u.content:u;for(;v<=x&&m<=E;)if(b==null)b=f[++v];else if(S==null)S=f[--x];else if(A==null)A=d[++m];else if(C==null)C=d[--E];else if(kt(b,A,p))at(b,A,p),b=f[++v],A=d[++m];else if(kt(S,C,p))at(S,C,p),S=f[--x],C=d[--E];else if(kt(b,C,p))b.O!=="slot"&&C.O!=="slot"||Rt(b.S.parentNode,!1),at(b,C,p),$(N,b.S,S.S.nextSibling),b=f[++v],C=d[--E];else if(kt(S,A,p))b.O!=="slot"&&C.O!=="slot"||Rt(S.S.parentNode,!1),at(S,A,p),$(N,S.S,b.S),S=f[--x],A=d[++m];else{for(g=-1,y=v;y<=x;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(w=f[g],w.O!==A.O?h=Nt(f&&f[m],c,g):(at(w,A,p),f[g]=void 0,h=w.S),A=d[++m]):(h=Nt(f&&f[m],c,m),A=d[++m]),h&&$(vt(b.S).parentNode,h,vt(b.S))}v>x?ke(u,d[E+1]==null?null:d[E+1].S,c,d,m,E):m>E&&Le(f,v,x)})(o,i,e,s,n):s!==null?(t.h!==null&&(o.textContent=""),ke(o,null,e,s,0,s.length-1)):!n&&i!==null&&Le(i,0,i.length-1),k&&l==="svg"&&(k=!1)):(a=o["s-cr"])?a.parentNode.textContent=r:t.h!==r&&(o.data=r)},z=[],_e=t=>{let e,n,o;const i=t.__childNodes||t.childNodes;for(const s of i){if(s["s-sr"]&&(e=s["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===s["s-hn"]||e["s-sh"]&&e["s-sh"]===s["s-hn"]))if(be(e,l)){let r=z.find((a=>a.k===e));Ct=!0,e["s-sn"]=e["s-sn"]||l,r?(r.k["s-sh"]=s["s-hn"],r.N=s):(e["s-sh"]=s["s-hn"],z.push({N:s,k:e})),e["s-sr"]&&z.map((a=>{be(a.k,e["s-sn"])&&(r=z.find((u=>u.k===e)),r&&!a.N&&(a.N=r.N))}))}else z.some((r=>r.k===e))||z.push({k:e})}s.nodeType===1&&_e(s)}},$e=t=>{t.v&&t.v.ref&&Gt.push((()=>t.v.ref(null))),t.m&&t.m.map($e)},Sn=(t,e)=>{Zt.push((()=>t(e)))},$=(t,e,n,o)=>{if(typeof e["s-sn"]=="string"){t.insertBefore(e,n);const{slotNode:i}=(function(s,l){var r;if(!(l=l||((r=s["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=yt(s)||"";return{slotNode:It(Ut(l,"childNodes"),l.tagName,a)[0],slotName:a}})(e);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),e}return t.__insertBefore?t.__insertBefore(e,n):t?.insertBefore(e,n)},En=(t,e,n=!1)=>{var o,i,s,l,r;const a=t.$hostElement$,u=t.o,f=t.M||At(null,null);var c;const d=(c=e)&&c.O===gn?e:rt(null,null,e);if(et=a.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=a[p]}))),n&&d.v)for(const p of Object.keys(d.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=a[p]);if(d.O=null,d.i|=4,t.M=d,d.S=f.S=a.shadowRoot||a,wt=!(!(1&u.i)||128&u.i),qt=a["s-cr"],Ct=!1,at(f,d,n),T.i|=1,Tt){_e(d.S);for(const p of z){const h=p.k;if(!h["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=h,$(h.parentNode,h["s-ol"]=w,h,n)}}for(const p of z){const h=p.k,w=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),w){const v=w.parentNode;let m=w.nextSibling;if(m&&m.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"]){m=y;break}}g=g.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if($(v,h,m,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,$(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(Ct&&ve(d.S),T.i&=-2,z.length=0,!wt&&!(1&u.i)&&a["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==et&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],$(h.parentNode,w,h,n),h.parentNode.removeChild(h)}}}qt=void 0,Gt.forEach((p=>p())),Gt.length=0,Zt.forEach((p=>p())),Zt.length=0},De=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},Kt=(t,e)=>{if(t.i|=16,4&t.i)return void(t.i|=512);De(t,t.R);const n=()=>On(t,e);if(!e)return hn(n);queueMicrotask((()=>{n()}))},On=(t,e)=>{const n=t.$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=bt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),i=Pe(i,(()=>bt(o,"componentWillRender",void 0,n))),Pe(i,(()=>Cn(t,o,e)))},Pe=(t,e)=>An(t)?t.then(e).catch((n=>{console.error(n),e()})):e(),An=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Cn=async(t,e,n)=>{var o;const i=t.$hostElement$,s=i["s-rc"];n&&(l=>{const r=l.o,a=l.$hostElement$,u=r.i,f=((c,d)=>{var p,h,w;const v=xe(d),m=Ot.get(v);if(!O.document)return v;if(c=c.nodeType===11?c:O.document,m)if(typeof m=="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=m;const x=(p=T._)!=null?p:(function(){var b,S,E;return(E=(S=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&d.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,S?.parentNode===c?S:null)}else if("host"in c)if(jt){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Ht?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=m+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 x;if(m.constructor===y.CSSStyleSheet)x=m;else{x=new y.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}Ht?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(v)}}return v})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&u&&(a["s-sc"]=f,a.classList.add(f+"-h"))})(t),Tn(t,e,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],r=()=>Nn(t);l.length===0?r():(Promise.all(l).then(r).catch(r),t.i|=4,l.length=0)}},Tn=(t,e,n,o)=>{try{e=e.render(),t.i&=-17,t.i|=2,En(t,e,o)}catch(i){tt(i,t.$hostElement$)}return null},Nn=t=>{const e=t.$hostElement$,n=e,o=t.R;bt(n,"componentDidRender",void 0,e),64&t.i?bt(n,"componentDidUpdate",void 0,e):(t.i|=64,kn(e),bt(n,"componentDidLoad",void 0,e),t.L(e),o||Rn()),t.A&&(t.A(),t.A=void 0),512&t.i&&Bt((()=>Kt(t,!1))),t.i&=-517},Rn=()=>{Bt((()=>vn(O,"appload",{detail:{namespace:"gids-core-web"}})))},bt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(i){tt(i,o)}},kn=t=>t.classList.add("hydrated"),Me=(t,e,n,o)=>{const i=V(t);if(!i)return;const s=t,l=i.l.get(e),r=i.i,a=s;n=Oe(n,o.t[e][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(e,n),o.F){const f=o.F[e];f&&f.map((c=>{try{const[[d,p]]=Object.entries(c);(128&r||1&p)&&(a?a[d](n,l,e):i.T.push((()=>{i.D[d](n,l,e)})))}catch(d){tt(d,s)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,l,e)===!1&&!(16&r))return;16&r||Kt(i,!1)}}},Ln=(t,e,n)=>{var o,i;const s=t.prototype;64&e.i&&1&n&&cn.forEach((l=>{const r=s[l];Object.defineProperty(s,l,{value(...a){var u;const f=V(this),c=this;c?typeof r=="function"&&r.call(c,...a):(u=f?.H)==null||u.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...a)}))}})}));{t.watchers&&!e.F&&(e.F=Ee(t.watchers)),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.U&&(e.U=t.serializers);const l=Object.entries((o=e.t)!=null?o:{});l.map((([r,[a]])=>{if(31&a||32&a){const{get:u,set:f}=lt(s,r)||{};u&&(e.t[r][0]|=2048),f&&(e.t[r][0]|=4096),Object.defineProperty(s,r,{get(){return u?u.apply(this):(c=r,V(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,r,{set(c){const d=V(this);if(d){if(f)return(32&a?this[r]:d.$hostElement$[r])===void 0&&d.l.get(r)&&(c=d.l.get(r)),f.apply(this,[Oe(c,a,!!(64&e.i))]),void Me(this,r,c=32&a?this[r]:d.$hostElement$[r],e);Me(this,r,c,e)}}})}}));{const r=new Map;s.attributeChangedCallback=function(a,u,f){T.jmp((()=>{var c;const d=r.get(a),p=V(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=p?.i;if(p&&g&&!(8&g)&&f!==u){const y=this,x=(c=e.F)==null?void 0:c[a];x?.forEach((b=>{const[[S,E]]=Object.entries(b);y[S]!=null&&(128&g||1&E)&&y[S].call(y,f,u,a)}))}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 m=Object.getOwnPropertyDescriptor(s,d);v||f==this[d]||m.get&&!m.set||(this[d]=f)}))},t.observedAttributes=Array.from(new Set([...Object.keys((i=e.F)!=null?i:{}),...l.filter((([a,u])=>31&u[0])).map((([a,u])=>{var f;const c=u[1]||a;return r.set(c,a),512&u[0]&&((f=e.C)==null||f.push([a,c])),c}))]))}}return t},_n=(t,e)=>{const n={i:e[0],p:e[1]};try{n.t=e[2],n.W=e[3],n.F=Ee(t.F),n.P=t.P,n.U=t.U,n.C=[];const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const r={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};r.H=new Promise((u=>r.L=u)),s["s-p"]=[],s["s-rc"]=[];const a=r;s.__stencil__getHostRef=()=>a,512&l.i&&an(s,r)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=V(this);if(!s)return;Fe(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&T.i)){const l=V(s);if(!l)return;const r=l.o;if(1&l.i)Fe(s,l,r.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&r.i&&(a=>{if(!O.document)return;const u=a["s-cr"]=O.document.createComment("");u["s-cn"]=!0,$(a,u,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){De(l,l.R=a);break}}r.t&&Object.entries(r.t).map((([a,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,a)){const f=s[a];delete s[a],s[a]=f}})),(async(a,u,f)=>{let c;try{if(!(32&u.i)&&(u.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>u.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const w=xe(f);Ot.has(w)||((v,m,g)=>{let y=Ot.get(v);jt&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Ot.set(v,y)})(w,h,!!(1&f.i))}const d=u.R,p=()=>Kt(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){tt(d,a),u.A&&(u.A(),u.A=void 0),u.L&&u.L(a)}})(s,l,r)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&T.i)){const l=V(s);l?.V&&(l.V.map((r=>r())),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 pn.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),Ln(t,n,3)}catch(o){return tt(o),t}},$n=(t,e)=>e,Fe=(t,e,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=Pn(O.document,t,o),r=Dn(e,s),a=Mn(o);T.ael(l,i,r,a),(e.V=e.V||[]).push((()=>T.rel(l,i,r,a)))}))},Dn=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(o){tt(o,t.$hostElement$)}},Pn=(t,e,n)=>8&n?O:e,Mn=t=>un?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t);function Do(t){return t}const Y=Math.min,L=Math.max,Lt=Math.round,_t=Math.floor,W=t=>({x:t,y:t}),Fn={left:"right",right:"left",bottom:"top",top:"bottom"};function Jt(t,e,n){return L(t,Y(e,n))}function ct(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function We(t){return t==="x"?"y":"x"}function Qt(t){return t==="y"?"height":"width"}function B(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function te(t){return We(B(t))}function Wn(t,e,n){n===void 0&&(n=!1);const o=ft(t),i=te(t),s=Qt(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(l=$t(l)),[l,$t(l)]}function jn(t){const e=$t(t);return[ee(t),e,ee(e)]}function ee(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const je=["left","right"],He=["right","left"],Hn=["top","bottom"],Vn=["bottom","top"];function zn(t,e,n){switch(t){case"top":case"bottom":return n?e?He:je:e?je:He;case"left":case"right":return e?Hn:Vn;default:return[]}}function Bn(t,e,n,o){const i=ft(t);let s=zn(X(t),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),e&&(s=s.concat(s.map(ee)))),s}function $t(t){const e=X(t);return Fn[e]+t.slice(e.length)}function In(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ve(t){return typeof t!="number"?In(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function ze(t,e,n){let{reference:o,floating:i}=t;const s=B(e),l=te(e),r=Qt(l),a=X(e),u=s==="y",f=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,d=o[r]/2-i[r]/2;let p;switch(a){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:c};break;case"left":p={x:o.x-i.width,y:c};break;default:p={x:o.x,y:o.y}}switch(ft(e)){case"start":p[l]-=d*(n&&u?-1:1);break;case"end":p[l]+=d*(n&&u?-1:1);break}return p}async function Un(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:l,elements:r,strategy:a}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:p=0}=ct(e,t),h=Ve(p),v=r[d?c==="floating"?"reference":"floating":c],m=Dt(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(r.floating)),boundary:u,rootBoundary:f,strategy:a})),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(r.floating)),x=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=Dt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:y,strategy:a}):g);return{top:(m.top-b.top+h.top)/x.y,bottom:(b.bottom-m.bottom+h.bottom)/x.y,left:(m.left-b.left+h.left)/x.x,right:(b.right-m.right+h.right)/x.x}}const qn=50,Yn=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,r=l.detectOverflow?l:{...l,detectOverflow:Un},a=await(l.isRTL==null?void 0:l.isRTL(e));let u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:c}=ze(u,o,a),d=o,p=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:m,fn:g}=v,{x:y,y:x,data:b,reset:S}=await g({x:f,y:c,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:r,elements:{reference:t,floating:e}});f=y??f,c=x??c,h[m]={...h[m],...b},S&&p<qn&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(u=S.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:f,y:c}=ze(u,d,a)),w=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}},Xn=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:l,elements:r,middlewareData:a}=e,{element:u,padding:f=0}=ct(t,e)||{};if(u==null)return{};const c=Ve(f),d={x:n,y:o},p=te(i),h=Qt(p),w=await l.getDimensions(u),v=p==="y",m=v?"top":"left",g=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let E=S?S[y]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=r.floating[y]||s.floating[h]);const A=x/2-b/2,C=E/2-w[h]/2-1,N=Y(c[m],C),Z=Y(c[g],C),H=N,K=E-w[h]-Z,R=E/2-w[h]/2+A,st=Jt(H,R,K),U=!a.arrow&&ft(i)!=null&&R!==st&&s.reference[h]/2-(R<H?N:Z)-w[h]/2<0,M=U?R<H?R-H:R-K:0;return{[p]:d[p]+M,data:{[p]:st,centerOffset:R-st-M,...U&&{alignmentOffset:M}},reset:U}}}),Gn=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:r,platform:a,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=ct(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(i),g=B(r),y=X(r)===r,x=await(a.isRTL==null?void 0:a.isRTL(u.floating)),b=d||(y||!w?[$t(r)]:jn(r)),S=h!=="none";!d&&S&&b.push(...Bn(r,w,h,x));const E=[r,...b],A=await a.detectOverflow(e,v),C=[];let N=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&C.push(A[m]),c){const R=Wn(i,l,x);C.push(A[R[0]],A[R[1]])}if(N=[...N,{placement:i,overflows:C}],!C.every(R=>R<=0)){var Z,H;const R=(((Z=s.flip)==null?void 0:Z.index)||0)+1,st=E[R];if(st&&(!(c==="alignment"?g!==B(st):!1)||N.every(F=>B(F.placement)===g?F.overflows[0]>0:!0)))return{data:{index:R,overflows:N},reset:{placement:st}};let U=(H=N.filter(M=>M.overflows[0]<=0).sort((M,F)=>M.overflows[1]-F.overflows[1])[0])==null?void 0:H.placement;if(!U)switch(p){case"bestFit":{var K;const M=(K=N.filter(F=>{if(S){const J=B(F.placement);return J===g||J==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(J=>J>0).reduce((J,$o)=>J+$o,0)]).sort((F,J)=>F[1]-J[1])[0])==null?void 0:K[0];M&&(U=M);break}case"initialPlacement":U=r;break}if(i!==U)return{reset:{placement:U}}}return{}}}},Zn=new Set(["left","top"]);async function Kn(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=X(n),r=ft(n),a=B(n)==="y",u=Zn.has(l)?-1:1,f=s&&a?-1:1,c=ct(e,t);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return r&&typeof h=="number"&&(p=r==="end"?h*-1:h),a?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const Jn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:l,middlewareData:r}=e,a=await Kn(e,t);return l===((n=r.offset)==null?void 0:n.placement)&&(o=r.arrow)!=null&&o.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:{...a,placement:l}}}}},Qn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:s}=e,{mainAxis:l=!0,crossAxis:r=!1,limiter:a={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...u}=ct(t,e),f={x:n,y:o},c=await s.detectOverflow(e,u),d=B(X(i)),p=We(d);let h=f[p],w=f[d];if(l){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+c[m],x=h-c[g];h=Jt(y,h,x)}if(r){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=w+c[m],x=w-c[g];w=Jt(y,w,x)}const v=a.fn({...e,[p]:h,[d]:w});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[p]:l,[d]:r}}}}}},to=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:l,elements:r}=e,{apply:a=()=>{},...u}=ct(t,e),f=await l.detectOverflow(e,u),c=X(i),d=ft(i),p=B(i)==="y",{width:h,height:w}=s.floating;let v,m;c==="top"||c==="bottom"?(v=c,m=d===(await(l.isRTL==null?void 0:l.isRTL(r.floating))?"start":"end")?"left":"right"):(m=c,v=d==="end"?"top":"bottom");const g=w-f.top-f.bottom,y=h-f.left-f.right,x=Y(w-f[v],g),b=Y(h-f[m],y),S=!e.middlewareData.shift;let E=x,A=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(E=g),S&&!d){const N=L(f.left,0),Z=L(f.right,0),H=L(f.top,0),K=L(f.bottom,0);p?A=h-2*(N!==0||Z!==0?N+Z:L(f.left,f.right)):E=w-2*(H!==0||K!==0?H+K:L(f.top,f.bottom))}await a({...e,availableWidth:A,availableHeight:E});const C=await l.getDimensions(r.floating);return h!==C.width||w!==C.height?{reset:{rects:!0}}:{}}}};function Pt(){return typeof window<"u"}function ut(t){return Be(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function j(t){var e;return(e=(Be(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Be(t){return Pt()?t instanceof Node||t instanceof _(t).Node:!1}function D(t){return Pt()?t instanceof Element||t instanceof _(t).Element:!1}function I(t){return Pt()?t instanceof HTMLElement||t instanceof _(t).HTMLElement:!1}function Ie(t){return!Pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _(t).ShadowRoot}function xt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&i!=="inline"&&i!=="contents"}function eo(t){return/^(table|td|th)$/.test(ut(t))}function Mt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const no=/transform|translate|scale|rotate|perspective|filter/,oo=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none";let ne;function oe(t){const e=D(t)?P(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!ie()&&(nt(e.backdropFilter)||nt(e.filter))||no.test(e.willChange||"")||oo.test(e.contain||"")}function io(t){let e=G(t);for(;I(e)&&!dt(e);){if(oe(e))return e;if(Mt(e))return null;e=G(e)}return null}function ie(){return ne==null&&(ne=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ne}function dt(t){return/^(html|body|#document)$/.test(ut(t))}function P(t){return _(t).getComputedStyle(t)}function Ft(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if(ut(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ie(t)&&t.host||j(t);return Ie(e)?e.host:e}function Ue(t){const e=G(t);return dt(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&xt(e)?e:Ue(e)}function St(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ue(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const r=se(l);return e.concat(l,l.visualViewport||[],xt(i)?i:[],r&&n?St(r):[])}else return e.concat(i,St(i,[],n))}function se(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qe(t){const e=P(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),s=i?t.offsetWidth:n,l=i?t.offsetHeight:o,r=Lt(n)!==s||Lt(o)!==l;return r&&(n=s,o=l),{width:n,height:o,$:r}}function le(t){return D(t)?t:t.contextElement}function ht(t){const e=le(t);if(!I(e))return W(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=qe(e);let l=(s?Lt(n.width):n.width)/o,r=(s?Lt(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!r||!Number.isFinite(r))&&(r=1),{x:l,y:r}}const so=W(0);function Ye(t){const e=_(t);return!ie()||!e.visualViewport?so:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function lo(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==_(t)?!1:e}function ot(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=le(t);let l=W(1);e&&(o?D(o)&&(l=ht(o)):l=ht(t));const r=lo(s,n,o)?Ye(s):W(0);let a=(i.left+r.x)/l.x,u=(i.top+r.y)/l.y,f=i.width/l.x,c=i.height/l.y;if(s){const d=_(s),p=o&&D(o)?_(o):o;let h=d,w=se(h);for(;w&&o&&p!==h;){const v=ht(w),m=w.getBoundingClientRect(),g=P(w),y=m.left+(w.clientLeft+parseFloat(g.paddingLeft))*v.x,x=m.top+(w.clientTop+parseFloat(g.paddingTop))*v.y;a*=v.x,u*=v.y,f*=v.x,c*=v.y,a+=y,u+=x,h=_(w),w=se(h)}}return Dt({width:f,height:c,x:a,y:u})}function Wt(t,e){const n=Ft(t).scrollLeft;return e?e.left+n:ot(j(t)).left+n}function Xe(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-Wt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function ro(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",l=j(o),r=e?Mt(e.floating):!1;if(o===l||r&&s)return n;let a={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),c=I(o);if((c||!c&&!s)&&((ut(o)!=="body"||xt(l))&&(a=Ft(o)),c)){const p=ot(o);u=ht(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}const d=l&&!c&&!s?Xe(l,a):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-a.scrollTop*u.y+f.y+d.y}}function ao(t){return Array.from(t.getClientRects())}function co(t){const e=j(t),n=Ft(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Wt(t);const r=-n.scrollTop;return P(o).direction==="rtl"&&(l+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:r}}const Ge=25;function fo(t,e){const n=_(t),o=j(t),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,r=0,a=0;if(i){s=i.width,l=i.height;const f=ie();(!f||f&&e==="fixed")&&(r=i.offsetLeft,a=i.offsetTop)}const u=Wt(o);if(u<=0){const f=o.ownerDocument,c=f.body,d=getComputedStyle(c),p=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-c.clientWidth-p);h<=Ge&&(s-=h)}else u<=Ge&&(s+=u);return{width:s,height:l,x:r,y:a}}function uo(t,e){const n=ot(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=I(t)?ht(t):W(1),l=t.clientWidth*s.x,r=t.clientHeight*s.y,a=i*s.x,u=o*s.y;return{width:l,height:r,x:a,y:u}}function Ze(t,e,n){let o;if(e==="viewport")o=fo(t,n);else if(e==="document")o=co(j(t));else if(D(e))o=uo(e,n);else{const i=Ye(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Dt(o)}function Ke(t,e){const n=G(t);return n===e||!D(n)||dt(n)?!1:P(n).position==="fixed"||Ke(n,e)}function ho(t,e){const n=e.get(t);if(n)return n;let o=St(t,[],!1).filter(r=>D(r)&&ut(r)!=="body"),i=null;const s=P(t).position==="fixed";let l=s?G(t):t;for(;D(l)&&!dt(l);){const r=P(l),a=oe(l);!a&&r.position==="fixed"&&(i=null),(s?!a&&!i:!a&&r.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||xt(l)&&!a&&Ke(t,l))?o=o.filter(f=>f!==l):i=r,l=G(l)}return e.set(t,o),o}function po(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const l=[...n==="clippingAncestors"?Mt(e)?[]:ho(e,this._c):[].concat(n),o],r=Ze(e,l[0],i);let a=r.top,u=r.right,f=r.bottom,c=r.left;for(let d=1;d<l.length;d++){const p=Ze(e,l[d],i);a=L(p.top,a),u=Y(p.right,u),f=Y(p.bottom,f),c=L(p.left,c)}return{width:u-c,height:f-a,x:c,y:a}}function mo(t){const{width:e,height:n}=qe(t);return{width:e,height:n}}function go(t,e,n){const o=I(e),i=j(e),s=n==="fixed",l=ot(t,!0,s,e);let r={scrollLeft:0,scrollTop:0};const a=W(0);function u(){a.x=Wt(i)}if(o||!o&&!s)if((ut(e)!=="body"||xt(i))&&(r=Ft(e)),o){const p=ot(e,!0,s,e);a.x=p.x+e.clientLeft,a.y=p.y+e.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?Xe(i,r):W(0),c=l.left+r.scrollLeft-a.x-f.x,d=l.top+r.scrollTop-a.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function re(t){return P(t).position==="static"}function Je(t,e){if(!I(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function Qe(t,e){const n=_(t);if(Mt(t))return n;if(!I(t)){let i=G(t);for(;i&&!dt(i);){if(D(i)&&!re(i))return i;i=G(i)}return n}let o=Je(t,e);for(;o&&eo(o)&&re(o);)o=Je(o,e);return o&&dt(o)&&re(o)&&!oe(o)?n:o||io(t)||n}const yo=async function(t){const e=this.getOffsetParent||Qe,n=this.getDimensions,o=await n(t.floating);return{reference:go(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function wo(t){return P(t).direction==="rtl"}const ae={convertOffsetParentRelativeRectToViewportRelativeRect:ro,getDocumentElement:j,getClippingRect:po,getOffsetParent:Qe,getElementRects:yo,getClientRects:ao,getDimensions:mo,getScale:ht,isElement:D,isRTL:wo};function tn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function vo(t,e){let n=null,o;const i=j(t);function s(){var r;clearTimeout(o),(r=n)==null||r.disconnect(),n=null}function l(r,a){r===void 0&&(r=!1),a===void 0&&(a=1),s();const u=t.getBoundingClientRect(),{left:f,top:c,width:d,height:p}=u;if(r||e(),!d||!p)return;const h=_t(c),w=_t(i.clientWidth-(f+d)),v=_t(i.clientHeight-(c+p)),m=_t(f),y={rootMargin:-h+"px "+-w+"px "+-v+"px "+-m+"px",threshold:L(0,Y(1,a))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==a){if(!x)return l();E?l(!1,E):o=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!tn(u,t.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(t)}return l(!0),s}function bo(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,u=le(t),f=i||s?[...u?St(u):[],...e?St(e):[]]:[];f.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=u&&r?vo(u,n):null;let d=-1,p=null;l&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&e&&(p.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),n()}),u&&!a&&p.observe(u),e&&p.observe(e));let h,w=a?ot(t):null;a&&v();function v(){const m=ot(t);w&&!tn(w,m)&&n(),w=m,h=requestAnimationFrame(v)}return n(),()=>{var m;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(h)}}const xo=Jn,So=Qn,Eo=Gn,en=to,Oo=Xn,Ao=(t,e,n)=>{const o=new Map,i={platform:ae,...n},s={...i.platform,_c:o};return Yn(t,e,{...i,platform:s})};function nn(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}const Co=/transform|translate|scale|rotate|perspective|filter/,To=/paint|layout|strict|content/,it=t=>!!t&&t!=="none";let ce;function No(t){const e=(n=t,typeof window<"u"&&(n instanceof Element||n instanceof nn(n).Element)?nn(o=t).getComputedStyle(o):t);var n,o;return it(e.transform)||it(e.translate)||it(e.scale)||it(e.rotate)||it(e.perspective)||(ce==null&&(ce=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ce&&(it(e.backdropFilter)||it(e.filter)))||Co.test(e.willChange||"")||To.test(e.contain||"")}function Ro(t){return(function(e){for(let n=e;n;n=fe(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=fe(e);n;n=fe(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||No(o)||n.tagName==="BODY"))return n}return null})(t)}function fe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Et;(function(t){t.TOOLTIP="tooltip",t.POPOVER="popover",t.FLYOUT_PANEL="flyout-panel"})(Et||(Et={}));const mt=class mt{constructor(e,n){this.el=e,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 e=this.getRootElement();this.floatingElement=e.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?e.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(e):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(e){this.config={...this.config,...e},"showWithoutDelay"in e&&(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=bo(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 e=this.config.offset??this.offset,n=[xo(e)],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=Eo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:e,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:e}),r=this.config.elementType===Et.POPOVER,a=So({padding:e,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===Et.TOOLTIP||r&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(en({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,a):n.push(a,l),this.config.constrainToViewportHeight&&n.push(en({padding:e,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(Oo({element:this.arrowEl,padding:e})),Ao(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...ae,getOffsetParent:u=>ae.getOffsetParent(u,Ro)}}).then((({x:u,y:f,middlewareData:c,placement:d})=>{if(r){const v=d.startsWith("left")||d.startsWith("right"),m=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!m||(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 p=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:m,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const e=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==e&&(this.floatingElement.style.maxWidth=e)}normalizeFloatingElementStacking(){const e=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(e,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??""),r=Number.parseInt(l,10),a=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(r)||r<i)&&(s.style.zIndex=`${i}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),mt.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const e=mt.currentFloatingElements.get(this.config.elementType);e&&e.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),mt.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 e=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,o=window.innerWidth||document.documentElement?.clientWidth||0,i=e.height/2+2*this.offset;return e.bottom>=i&&e.top<=n-i&&e.right>=0&&e.left<=o}};mt.currentFloatingElements=new Map;let ue=mt;const pt=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let on=!1;pt&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(pt):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let de=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{sn()})):void 0,sn=()=>{if(pt===void 0)return!1;const t=(()=>{if(pt===void 0)return;const e=[];for(let n=0;n<document.styleSheets.length;n++){const o=document.styleSheets.item(n);if(o)try{let i=-1,s=0;for(let l=0;l<o.cssRules.length;l++){const r=o.cssRules.item(l);if(r?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(r?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}e.push(r)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:e,styleSheet:o}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(t!==void 0){const e=t.styleSheet.ownerNode;return he!==void 0&&e!==de&&(de&&he.disconnect(),e instanceof Element&&he.observe(e,{childList:!0,characterData:!0,subtree:!0}),de=e),pt.replaceSync((n=>n.rules.map((o=>o.cssText)).join(""))(t)),(n=>{const{rulesStartIndex:o,originalRulesCount:i,styleSheet:s}=n;for(let l=0;l<i;l++)s.deleteRule(o)})(t),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ko=()=>(on||(on=sn()),pt),ln=_n(class extends fn{constructor(t){super(),t!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.showWithoutDelay=!1,this.lockToMainAxis=!1,this.handleShowEvent=()=>{this.floatingElementManager.showAfterDelay()},this.handleHideEvent=()=>{this.floatingElementManager.hideAfterDelay()}}connectedCallback(){const t=ko();t!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(t)}componentDidLoad(){this.floatingElementManager=new ue(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:Et.TOOLTIP,getAnchorElementFromSlot:t=>t.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const t=this.floatingElementManager.getAnchorElement();t&&(t.addEventListener("mouseenter",this.handleShowEvent),t.addEventListener("focus",this.handleShowEvent),t.addEventListener("mouseleave",this.handleHideEvent),t.addEventListener("blur",this.handleHideEvent))}placementChanged(t){this.floatingElementManager?.updateConfig({placement:t}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(t){this.floatingElementManager?.updateConfig({showWithoutDelay:t})}lockToMainAxisChanged(t){this.floatingElementManager?.updateConfig({lockToMainAxis:t})}htmlForChanged(t){this.floatingElementManager?.updateConfig({htmlFor:t}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const t=this.floatingElementManager?.getAnchorElement();t&&(t.removeEventListener("mouseenter",this.handleShowEvent),t.removeEventListener("focus",this.handleShowEvent),t.removeEventListener("mouseleave",this.handleHideEvent),t.removeEventListener("blur",this.handleHideEvent))}render(){return rt($n,{key:"56a3589fce74458f3c72d17dfcd79b464bdf7712"},rt("slot",{key:"bb5599494aafa6efa4ce280cbf2dfdd39affda98"}),rt("span",{key:"1d9cbcb72a293a465ea8158282f99d71d46c08c4",id:"tooltip",part:"tooltip",role:"tooltip"},rt("span",{key:"b4e274e4ba08a0033d0af4a4d0a4a511961a80ab",id:"arrow"}),this.tooltipText))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-tooltip{--gidsTooltip-background:var(--gids-color-background-neutral-bold-default);--gidsTooltip-text-color:var(--gids-color-text-inverse);--gidsTooltip-padding:var(--gids-padding-vertical-edge-to-element-100) var(--gids-padding-horizontal-edge-to-element-200);--gidsTooltip-border-radius:var(--gids-border-radius-sm);--gidsTooltip-tip-border-radius:2px;--gidsTooltip-tip-size:12px;--gidsFloatingElement-background:var(--gidsTooltip-background);--gidsFloatingElement-tip-border-radius:var(--gidsTooltip-tip-border-radius)}[part=tooltip]{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;hyphens:auto;background-color:var(--gidsTooltip-background);color:var(--gidsTooltip-text-color);padding:var(--gidsTooltip-padding);border-radius:var(--gidsTooltip-border-radius);z-index:1000;opacity:0;pointer-events:none}[part=tooltip].gids-tooltip--visible{pointer-events:initial;opacity:1}[part=tooltip] span#arrow{position:absolute;height:var(--gidsTooltip-tip-size);width:var(--gidsTooltip-tip-size)}"}},[257,"gids-tooltip",{htmlFor:[513,"for"],tooltipText:[513,"tooltip-text"],placement:[513],showWithoutDelay:[516,"show-without-delay"],lockToMainAxis:[4,"lock-to-main-axis"]},void 0,{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}]);function rn(){typeof customElements<"u"&&["gids-tooltip"].forEach((t=>{t==="gids-tooltip"&&(customElements.get(t)||customElements.define(t,ln))}))}rn();const Lo=ln,_o=rn;Q.GidsTooltip=Lo,Q.defineCustomElement=_o,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));