@ganpatiinfo/gids-core-web 15.0.0 → 16.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 (247) hide show
  1. package/dist/css/index.css +598 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-advanced-tooltip.d.ts +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.d.ts +1 -1
  10. package/dist/gids-bar-chart.js +1 -1
  11. package/dist/gids-calendar-header-panel.d.ts +1 -1
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.d.ts +1 -1
  14. package/dist/gids-calendar-month-list.js +1 -1
  15. package/dist/gids-calendar-year-list.d.ts +1 -1
  16. package/dist/gids-calendar-year-list.js +1 -1
  17. package/dist/gids-calendar.d.ts +1 -1
  18. package/dist/gids-calendar.js +1 -1
  19. package/dist/gids-chart-legend-item.d.ts +1 -1
  20. package/dist/gids-chart-legend-item.js +1 -1
  21. package/dist/gids-chart-legend.d.ts +1 -1
  22. package/dist/gids-chart-legend.js +1 -1
  23. package/dist/gids-chart.d.ts +1 -1
  24. package/dist/gids-chart.js +1 -1
  25. package/dist/gids-chevron-button.d.ts +1 -1
  26. package/dist/gids-chevron-button.js +1 -1
  27. package/dist/gids-dot.d.ts +1 -1
  28. package/dist/gids-dot.js +1 -1
  29. package/dist/gids-dropdown-field.d.ts +1 -1
  30. package/dist/gids-dropdown-field.js +1 -1
  31. package/dist/gids-dropdown-picker.d.ts +1 -1
  32. package/dist/gids-dropdown-picker.js +1 -1
  33. package/dist/gids-dropdown.d.ts +1 -1
  34. package/dist/gids-dropdown.js +1 -1
  35. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  36. package/dist/gids-expansion-body-list-item.js +1 -1
  37. package/dist/gids-expansion-body-list.d.ts +1 -1
  38. package/dist/gids-expansion-body-list.js +1 -1
  39. package/dist/gids-expansion-group.d.ts +1 -1
  40. package/dist/gids-expansion-group.js +1 -1
  41. package/dist/gids-expansion.d.ts +1 -1
  42. package/dist/gids-expansion.js +1 -1
  43. package/dist/gids-field.d.ts +1 -1
  44. package/dist/gids-field.js +1 -1
  45. package/dist/gids-filter.d.ts +1 -1
  46. package/dist/gids-filter.js +1 -1
  47. package/dist/gids-header-navigation-item.d.ts +11 -0
  48. package/dist/gids-header-navigation-item.js +1 -0
  49. package/dist/gids-header-navigation.d.ts +11 -0
  50. package/dist/gids-header-navigation.js +1 -0
  51. package/dist/gids-icon.d.ts +1 -1
  52. package/dist/gids-icon.js +1 -1
  53. package/dist/gids-input.d.ts +1 -1
  54. package/dist/gids-input.js +1 -1
  55. package/dist/gids-level-gauge.d.ts +1 -1
  56. package/dist/gids-line-chart.d.ts +1 -1
  57. package/dist/gids-line-chart.js +1 -1
  58. package/dist/gids-md-table.d.ts +1 -1
  59. package/dist/gids-md-table.js +1 -1
  60. package/dist/gids-notification.d.ts +1 -1
  61. package/dist/gids-overflow-container.d.ts +1 -1
  62. package/dist/gids-overflow-container.js +1 -1
  63. package/dist/gids-overlay-provider.d.ts +1 -1
  64. package/dist/gids-overlay-provider.js +1 -1
  65. package/dist/gids-password-field.d.ts +1 -1
  66. package/dist/gids-password-field.js +1 -1
  67. package/dist/gids-pie-chart.d.ts +1 -1
  68. package/dist/gids-pie-chart.js +1 -1
  69. package/dist/gids-popover.d.ts +1 -1
  70. package/dist/gids-popover.js +1 -1
  71. package/dist/gids-profile-menu-header.d.ts +11 -0
  72. package/dist/gids-profile-menu-header.js +1 -0
  73. package/dist/gids-profile-menu.d.ts +11 -0
  74. package/dist/gids-profile-menu.js +1 -0
  75. package/dist/gids-profile.d.ts +11 -0
  76. package/dist/gids-profile.js +1 -0
  77. package/dist/gids-progress-circle.d.ts +1 -1
  78. package/dist/gids-scrim.d.ts +1 -1
  79. package/dist/gids-scrim.js +1 -1
  80. package/dist/gids-skeleton.d.ts +1 -1
  81. package/dist/gids-skeleton.js +1 -1
  82. package/dist/gids-snackbar.d.ts +1 -1
  83. package/dist/gids-tab-item.d.ts +1 -1
  84. package/dist/gids-tab-item.js +1 -1
  85. package/dist/gids-tab.d.ts +1 -1
  86. package/dist/gids-tab.js +1 -1
  87. package/dist/gids-text-field.d.ts +1 -1
  88. package/dist/gids-text-field.js +1 -1
  89. package/dist/gids-toggle-button.d.ts +1 -1
  90. package/dist/gids-toggle-button.js +1 -1
  91. package/dist/gids-tooltip.d.ts +1 -1
  92. package/dist/gids-tooltip.js +1 -1
  93. package/dist/gids-transfer-list.d.ts +1 -1
  94. package/dist/gids-transfer-list.js +1 -1
  95. package/dist/{p-Iqbf3Pja.js → p-BrYLEey4.js} +1 -1
  96. package/dist/p-Bs8TP3Rb.js +1 -0
  97. package/dist/p-Bw2pVReY.js +1 -0
  98. package/dist/{p-BtKwhIx5.js → p-Bzjuvoza.js} +1 -1
  99. package/dist/p-C-HyXFGR.js +1 -0
  100. package/dist/{p-Cyant-dw.js → p-CCpxJ8wu.js} +1 -1
  101. package/dist/p-CXFvqDBs.js +1 -0
  102. package/dist/{p-DLauG0q8.js → p-CZBiavxU.js} +1 -1
  103. package/dist/p-CcpdJCql.js +1 -0
  104. package/dist/{p-BKIsp763.js → p-Chb2OeFe.js} +1 -1
  105. package/dist/{p-Df5xaj-o.js → p-CiWZdp48.js} +1 -1
  106. package/dist/{p-DaqhrFRM.js → p-Co23kQaH.js} +1 -1
  107. package/dist/{p-DshXkAUj.js → p-DAuO4g6g.js} +1 -1
  108. package/dist/{p-BF46eY8H.js → p-DELTZ9Fh.js} +1 -1
  109. package/dist/{p-CLm5opt9.js → p-DGXqnrKo.js} +1 -1
  110. package/dist/p-DObJEzlz.js +1 -0
  111. package/dist/{p-MnCDY1k9.js → p-DbaNvRpS.js} +1 -1
  112. package/dist/{p-Dvh4sPkD.js → p-Dd-ec-e0.js} +1 -1
  113. package/dist/{p-DhtEw_C2.js → p-DiTjFG30.js} +1 -1
  114. package/dist/{p-Db4qRSmH.js → p-DxX3B1f0.js} +1 -1
  115. package/dist/{p-B0Nc9rVM.js → p-UDG6tkD1.js} +1 -1
  116. package/dist/p-bhEHIxPv.js +1 -0
  117. package/dist/{p-BgvpzBUx.js → p-d-t7__OQ.js} +1 -1
  118. package/dist/p-oJFgjzK5.js +1 -0
  119. package/dist/p-pVSQxFDF.js +1 -0
  120. package/dist/{p-DGenc1qz.js → p-u06XOrpj.js} +1 -1
  121. package/dist/types/components/webComponents/GidsHeaderNavigation/GidsHeaderNavigation.d.ts +51 -0
  122. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +42 -0
  123. package/dist/types/components/webComponents/GidsProfile/GidsProfile.d.ts +66 -0
  124. package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +29 -0
  125. package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +30 -0
  126. package/dist/types/components.d.ts +596 -2
  127. package/dist-bundled/es/gids-action-bar.js +22 -21
  128. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  129. package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
  130. package/dist-bundled/es/gids-bar-chart.js +4 -4
  131. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  132. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  133. package/dist-bundled/es/gids-calendar-year-list.js +2 -2
  134. package/dist-bundled/es/gids-calendar.js +24 -24
  135. package/dist-bundled/es/gids-chart-legend-item.js +1 -1
  136. package/dist-bundled/es/gids-chart-legend.js +4 -4
  137. package/dist-bundled/es/gids-chart.js +7 -7
  138. package/dist-bundled/es/gids-chevron-button.js +4 -4
  139. package/dist-bundled/es/gids-dot.js +2 -2
  140. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  141. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  142. package/dist-bundled/es/gids-dropdown.js +3 -3
  143. package/dist-bundled/es/gids-expansion-body-list-item.js +4 -4
  144. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  145. package/dist-bundled/es/gids-expansion-group.js +5 -5
  146. package/dist-bundled/es/gids-expansion.js +1 -1
  147. package/dist-bundled/es/gids-field.js +2 -2
  148. package/dist-bundled/es/gids-filter.js +2 -2
  149. package/dist-bundled/es/gids-header-navigation-item.js +6 -0
  150. package/dist-bundled/es/gids-header-navigation.js +134 -0
  151. package/dist-bundled/es/gids-icon.js +4 -4
  152. package/dist-bundled/es/gids-input.js +2 -2
  153. package/dist-bundled/es/gids-line-chart.js +3 -3
  154. package/dist-bundled/es/gids-md-table.js +59 -59
  155. package/dist-bundled/es/gids-overflow-container.js +1 -1
  156. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  157. package/dist-bundled/es/gids-password-field.js +12 -12
  158. package/dist-bundled/es/gids-pie-chart.js +1 -1
  159. package/dist-bundled/es/gids-popover.js +1 -1
  160. package/dist-bundled/es/gids-profile-menu-header.js +6 -0
  161. package/dist-bundled/es/gids-profile-menu.js +6 -0
  162. package/dist-bundled/es/gids-profile.js +199 -0
  163. package/dist-bundled/es/gids-scrim.js +1 -1
  164. package/dist-bundled/es/gids-skeleton.js +1 -1
  165. package/dist-bundled/es/gids-tab-item.js +16 -36
  166. package/dist-bundled/es/gids-tab.js +4 -4
  167. package/dist-bundled/es/gids-text-field.js +6 -6
  168. package/dist-bundled/es/gids-toggle-button.js +1 -1
  169. package/dist-bundled/es/gids-tooltip.js +1 -1
  170. package/dist-bundled/es/gids-transfer-list.js +3 -3
  171. package/dist-bundled/es/p-Bs8TP3Rb-BdcS7d5q.js +20 -0
  172. package/dist-bundled/es/{p-9NZjfY_u-CnjUEy1y.js → p-Bw2pVReY-K9pdG-hw.js} +2 -2
  173. package/dist-bundled/es/{p-BtKwhIx5-DTEmfdxe.js → p-Bzjuvoza-CzNs69NV.js} +12 -12
  174. package/dist-bundled/es/{p-D7qanqNO-Dby5jSjA.js → p-C-HyXFGR-UnFcWLOQ.js} +6 -5
  175. package/dist-bundled/es/{p-Cyant-dw-Ch2zYNkx.js → p-CCpxJ8wu-CMYQqNoP.js} +6 -6
  176. package/dist-bundled/es/p-CXFvqDBs-offadaUn.js +27 -0
  177. package/dist-bundled/es/{p-DLauG0q8-CCUuzYl9.js → p-CZBiavxU-CIstIm2b.js} +9 -9
  178. package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +64 -0
  179. package/dist-bundled/es/{p-BKIsp763-CqL9MgyZ.js → p-Chb2OeFe-DDv_WPhe.js} +1 -1
  180. package/dist-bundled/es/{p-Df5xaj-o-fxAXUmag.js → p-CiWZdp48-1vf7Xh2R.js} +5 -5
  181. package/dist-bundled/es/{p-DaqhrFRM-2PqBeu5o.js → p-Co23kQaH-QJyKkzgc.js} +3 -3
  182. package/dist-bundled/es/{p-DshXkAUj-DgCiQIA2.js → p-DAuO4g6g-C8miaL-N.js} +6 -6
  183. package/dist-bundled/es/{p-BF46eY8H-Xn8Fl9EI.js → p-DELTZ9Fh-Byr0nLtY.js} +2 -2
  184. package/dist-bundled/es/{p-CLm5opt9-DlxkI38w.js → p-DGXqnrKo-C7feKS94.js} +5 -5
  185. package/dist-bundled/es/p-DObJEzlz-tt9h5cuI.js +17 -0
  186. package/dist-bundled/es/{p-MnCDY1k9-CgbTyJ5R.js → p-DbaNvRpS-r7kCW1TY.js} +9 -9
  187. package/dist-bundled/es/{p-Dvh4sPkD-B-T5C03p.js → p-Dd-ec-e0-BqX_F6y0.js} +5 -5
  188. package/dist-bundled/es/{p-DhtEw_C2-D_91JSPC.js → p-DiTjFG30-CQkxfu2K.js} +2 -2
  189. package/dist-bundled/es/{p-Db4qRSmH-B5pzOeve.js → p-DxX3B1f0-D1URliVh.js} +5 -5
  190. package/dist-bundled/es/{p-B0Nc9rVM-SBit1KrF.js → p-UDG6tkD1-JTLPxkEn.js} +5 -5
  191. package/dist-bundled/es/p-bhEHIxPv-ujyxL30O.js +136 -0
  192. package/dist-bundled/es/{p-BgvpzBUx-iq-eKBVZ.js → p-d-t7__OQ-CKPQZt2t.js} +3 -3
  193. package/dist-bundled/es/p-oJFgjzK5-CzagP1qD.js +99 -0
  194. package/dist-bundled/es/{p-CZxn31uZ-BBHM983b.js → p-pVSQxFDF-CsWxUaZX.js} +10 -9
  195. package/dist-bundled/es/{p-DGenc1qz-CMwVEtCm.js → p-u06XOrpj-C1tNznDd.js} +6 -6
  196. package/dist-bundled/umd/gids-action-bar.umd.js +2 -2
  197. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  198. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  199. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  200. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  201. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  202. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  203. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  204. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  205. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  206. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  207. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  208. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  209. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  210. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  211. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  212. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  213. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  214. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  215. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  216. package/dist-bundled/umd/gids-field.umd.js +1 -1
  217. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  218. package/dist-bundled/umd/gids-header-navigation-item.umd.js +5 -0
  219. package/dist-bundled/umd/gids-header-navigation.umd.js +5 -0
  220. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  221. package/dist-bundled/umd/gids-input.umd.js +2 -2
  222. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  223. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  224. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  225. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  226. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  227. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  228. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  229. package/dist-bundled/umd/gids-profile-menu-header.umd.js +5 -0
  230. package/dist-bundled/umd/gids-profile-menu.umd.js +5 -0
  231. package/dist-bundled/umd/gids-profile.umd.js +5 -0
  232. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  233. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  234. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  235. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  236. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  237. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  238. package/dist-bundled/umd/gids-tooltip.umd.js +1 -1
  239. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  240. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  241. package/package.json +44 -4
  242. package/dist/p-474lVBcu.js +0 -1
  243. package/dist/p-9NZjfY_u.js +0 -1
  244. package/dist/p-CZxn31uZ.js +0 -1
  245. package/dist/p-D7qanqNO.js +0 -1
  246. package/dist-bundled/es/p-474lVBcu-B1f8x2o1.js +0 -31
  247. /package/dist-bundled/es/{p-Iqbf3Pja-DuajY4uD.js → p-BrYLEey4-DuajY4uD.js} +0 -0
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const 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:"2db5e111280a88c65cda2c3b700ce17f24189abb"},ie("slot",{key:"9298d0612cd63bfd490313ef0285474554ce4dce"}),ie("span",{key:"fc3b147c2b003fe987eda62682c073d98b539437",id:"tooltip",part:"tooltip",role:"tooltip"},ie("span",{key:"e458a1c68930669a10360a4dedb2fb306fc1a3e3",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 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"})}));
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(_=>{const y=[];for(let v=0;v<_.length;v++){const p=_[v]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((_=>{m===z(_)&&f.push(_)})),c?f.filter((_=>_.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(l),r=e&&e.m&&e.m[s],r&&r.O===n.O&&e.S&&Ge(e.S)),l},Ge=e=>{C.i|=1;const t=e.closest(H.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const n of s?i.reverse():i)n["s-sh"]!=null&&(O(t,n,s??null),n["s-sh"]=void 0,Y=!0)}C.i&=-2},J=(e,t)=>{C.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===H&&s.push(i)}for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==H&&n["s-ol"]&&(O(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}C.i&=-2},He=(e,t,s,i,n,l)=>{let o,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===H&&(r=r.shadowRoot),s.O==="template"&&(r=r.content);n<=l;++n)i[n]&&(o=Z(null,s,n),o&&(i[n].S=o,O(r,o,F(t))))},Re=(e,t,s)=>{for(let i=t;i<=s;++i){const n=e[i];if(n){const l=n.S;De(n),l&&(K=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},Q=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const i=t.S=e.S,n=e.m,l=t.m,o=t.O,r=t.h;let a;r==null?(N=o==="svg"||o!=="foreignObject"&&N,o!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),he(e,t,N),n!==null&&l!==null?((d,g,c,u,f=!1)=>{let m,b,_=0,y=0,v=0,p=0,w=g.length-1,S=g[0],L=g[w],T=u.length-1,x=u[0],k=u[T];const ht=c.O==="template"?d.content:d;for(;_<=w&&y<=T;)if(S==null)S=g[++_];else if(L==null)L=g[--w];else if(x==null)x=u[++y];else if(k==null)k=u[--T];else if(Q(S,x,f))B(S,x,f),S=g[++_],x=u[++y];else if(Q(L,k,f))B(L,k,f),L=g[--w],k=u[--T];else if(Q(S,k,f))S.O!=="slot"&&k.O!=="slot"||J(S.S.parentNode,!1),B(S,k,f),O(ht,S.S,L.S.nextSibling),S=g[++_],k=u[--T];else if(Q(L,x,f))S.O!=="slot"&&k.O!=="slot"||J(L.S.parentNode,!1),B(L,x,f),O(ht,L.S,S.S),L=g[--w],x=u[++y];else{for(v=-1,p=_;p<=w;++p)if(g[p]&&g[p].$!==null&&g[p].$===x.$){v=p;break}v>=0?(b=g[v],b.O!==x.O?m=Z(g&&g[y],c,v):(B(b,x,f),g[v]=void 0,m=b.S),x=u[++y]):(m=Z(g&&g[y],c,y),x=u[++y]),m&&O(F(S.S).parentNode,m,F(S.S))}_>w?He(d,u[T+1]==null?null:u[T+1].S,c,u,y,T):y>T&&Re(g,_,w)})(i,n,t,l,s):l!==null?(e.h!==null&&(i.textContent=""),He(i,null,t,l,0,l.length-1)):!s&&n!==null&&Re(n,0,n.length-1),N&&o==="svg"&&(N=!1)):(a=i["s-cr"])?a.parentNode.textContent=r:e.h!==r&&(i.data=r)},j=[],Be=e=>{let t,s,i;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const o=l["s-sn"];for(i=s.length-1;i>=0;i--)if(t=s[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ce(t,o)){let r=j.find((a=>a.k===t));K=!0,t["s-sn"]=t["s-sn"]||o,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],j.push({N:l,k:t})),t["s-sr"]&&j.map((a=>{Ce(a.k,t["s-sn"])&&(r=j.find((d=>d.k===t)),r&&!a.N&&(a.N=r.N))}))}else j.some((r=>r.k===t))||j.push({k:t})}l.nodeType===1&&Be(l)}},De=e=>{e.v&&e.v.ref&&ge.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},wt=(e,t)=>{ue.push((()=>e(t)))},O=(e,t,s,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,o){var r;if(!(o=o||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=l["s-sn"]=z(l)||"";return{slotNode:re(ae(o,"childNodes"),o.tagName,a)[0],slotName:a}})(t);return n&&!i&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Tt=(e,t,s=!1)=>{var i,n,l,o,r;const a=e.$hostElement$,d=e.o,g=e.M||q(null,null);var c;const u=(c=t)&&c.O===$e?t:h(null,null,t);if(H=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([f,m])=>{u.v[m]=a[f]}))),s&&u.v)for(const f of Object.keys(u.v))a.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=a[f]);if(u.O=null,u.i|=4,e.M=u,u.S=g.S=a.shadowRoot||a,V=!(!(1&d.i)||128&d.i),de=a["s-cr"],K=!1,B(g,u,s),C.i|=1,Y){Be(u.S);for(const f of j){const m=f.k;if(!m["s-ol"]&&I.document){const b=I.document.createTextNode("");b["s-nr"]=m,O(m.parentNode,m["s-ol"]=b,m,s)}}for(const f of j){const m=f.k,b=f.N;if(m.nodeType===1&&s&&(m["s-ih"]=(i=m.hidden)!=null&&i),b){const _=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let v=(n=m["s-ol"])==null?void 0:n.previousSibling;for(;v;){let p=(l=v["s-nr"])!=null?l:null;if(p&&p["s-sn"]===m["s-sn"]&&_===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===m||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}v=v.previousSibling}}if((!y&&_!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==y)&&m!==y){if(O(_,m,y,s),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const v=I.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));v["s-hn"]=m["s-hn"],v["s-sn"]=m["s-sn"],v["s-sh"]=m["s-sh"],v["s-sr"]=m["s-sr"],v["s-ol"]=m["s-ol"],v["s-ol"]["s-nr"]=v,O(m.parentNode,v,m,s),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(o=m["s-ih"])!=null&&o)}m&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else m.nodeType===1&&(m.hidden=!0)}}if(K&&Te(u.S),C.i&=-2,j.length=0,!V&&!(1&d.i)&&a["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const m of f)if(m["s-hn"]!==H&&!m["s-sh"]){if(s&&m["s-ih"]==null&&(m["s-ih"]=(r=m.hidden)!=null&&r),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const b=I.document.createComment("s-nt-"+m.nodeValue);b["s-sn"]=m["s-sn"],O(m.parentNode,b,m,s),m.parentNode.removeChild(m)}}}de=void 0,ge.forEach((f=>f())),ge.length=0,ue.forEach((f=>f())),ue.length=0},ze=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(s-1,1),i()})))}},me=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ze(e,e.R);const s=()=>Ct(e,t);if(!t)return vt(s);queueMicrotask((()=>{s()}))},Ct=(e,t)=>{const s=e.$hostElement$,i=s;if(!i)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(i,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Ve(n,(()=>W(i,"componentWillRender",void 0,s))),Ve(n,(()=>$t(e,i,t)))},Ve=(e,t)=>Nt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",$t=async(e,t,s)=>{var i;const n=e.$hostElement$,l=n["s-rc"];s&&(o=>{const r=o.o,a=o.$hostElement$,d=r.i,g=((c,u)=>{var f,m,b;const _=Ne(u),y=U.get(_);if(!I.document)return _;if(c=c.nodeType===11?c:I.document,y)if(typeof y=="string"){let v,p=E.get(c=c.head||c);if(p||E.set(c,p=new Set),!p.has(_)){v=I.document.createElement("style"),v.textContent=y;const w=(f=C._)!=null?f:(function(){var S,L,T;return(T=(L=(S=I.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?T:void 0})();if(w!=null&&v.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const S=c.querySelectorAll("link[rel=preconnect]"),L=S.length>0?S[S.length-1].nextSibling:c.querySelector("style");c.insertBefore(v,L?.parentNode===c?L:null)}else if("host"in c)if(se){const S=new((m=c.defaultView)!=null?m:c.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),ie?c.adoptedStyleSheets.unshift(S):c.adoptedStyleSheets=[S,...c.adoptedStyleSheets]}else{const S=c.querySelector("style");S?S.textContent=y+S.textContent:c.prepend(v)}else c.append(v);1&u.i&&c.insertBefore(v,null),4&u.i&&(v.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(_)}}else{let v=E.get(c);if(v||E.set(c,v=new Set),!v.has(_)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let w;if(y.constructor===p.CSSStyleSheet)w=y;else{w=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)w.insertRule(y.cssRules[S].cssText,S)}ie?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],v.add(_)}}return _})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&d&&(a["s-sc"]=g,a.classList.add(g+"-h"))})(e),kt(e,t,n,s),l&&(l.map((o=>o())),n["s-rc"]=void 0);{const o=(i=n["s-p"])!=null?i:[],r=()=>Ot(e);o.length===0?r():(Promise.all(o).then(r).catch(r),e.i|=4,o.length=0)}},kt=(e,t,s,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Tt(e,t,i)}catch(n){G(n,e.$hostElement$)}return null},Ot=e=>{const t=e.$hostElement$,s=t,i=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,jt(t),W(s,"componentDidLoad",void 0,t),e.L(t),i||At()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>me(e,!1))),e.i&=-517},At=()=>{oe((()=>Lt(I,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,i)=>{if(e&&e[t])try{return e[t](s)}catch(n){G(n,i)}},jt=e=>e.classList.add("hydrated"),Fe=(e,t,s,i)=>{const n=A(e);if(!n)return;const l=e,o=n.l.get(t),r=n.i,a=l;s=Ae(s,i.t[t][0],!!(64&i.i));const d=Number.isNaN(o)&&Number.isNaN(s);if(s!==o&&!d){if(n.l.set(t,s),i.F){const g=i.F[t];g&&g.map((c=>{try{const[[u,f]]=Object.entries(c);(128&r||1&f)&&(a?a[u](s,o,t):n.T.push((()=>{n.D[u](s,o,t)})))}catch(u){G(u,l)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,o,t)===!1&&!(16&r))return;16&r||me(n,!1)}}},Pt=(e,t,s)=>{var i,n;const l=e.prototype;64&t.i&&1&s&&ut.forEach((o=>{const r=l[o];Object.defineProperty(l,o,{value(...a){var d;const g=A(this),c=this;c?typeof r=="function"&&r.call(c,...a):(d=g?.H)==null||d.then((u=>{const f=u[o];typeof f=="function"&&f.call(u,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Oe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const o=Object.entries((i=t.t)!=null?i:{});o.map((([r,[a]])=>{if(31&a||32&a){const{get:d,set:g}=R(l,r)||{};d&&(t.t[r][0]|=2048),g&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return d?d.apply(this):(c=r,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(c){const u=A(this);if(u){if(g)return(32&a?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(c=u.l.get(r)),g.apply(this,[Ae(c,a,!!(64&t.i))]),void Fe(this,r,c=32&a?this[r]:u.$hostElement$[r],t);Fe(this,r,c,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(a,d,g){C.jmp((()=>{var c;const u=r.get(a),f=A(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==g)return;if(u==null){const v=f?.i;if(f&&v&&!(8&v)&&g!==d){const p=this,w=(c=t.F)==null?void 0:c[a];w?.forEach((S=>{const[[L,T]]=Object.entries(S);p[L]!=null&&(128&v||1&T)&&p[L].call(p,g,d,a)}))}return}const m=o.find((([v])=>v===u)),b=m&&4&m[1][0],_=b&&g===null&&this[u]===void 0;b&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(l,u);_||g==this[u]||y.get&&!y.set||(this[u]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...o.filter((([a,d])=>31&d[0])).map((([a,d])=>{var g;const c=d[1]||a;return r.set(c,a),512&d[0]&&((g=t.C)==null||g.push([a,c])),c}))]))}}return e},Et=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Oe(e.F),s.P=e.P,s.U=e.U,s.C=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,o)=>{const r={i:0,$hostElement$:l,o,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),l["s-p"]=[],l["s-rc"]=[];const a=r;l.__stencil__getHostRef=()=>a,512&o.i&&gt(l,r)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ue(this,l,s.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&C.i)){const o=A(l);if(!o)return;const r=o.o;if(1&o.i)Ue(l,o,r.W),o?.D||o?.H&&o.H.then((()=>{}));else{o.i|=1,12&r.i&&(a=>{if(!I.document)return;const d=a["s-cr"]=I.document.createComment("");d["s-cn"]=!0,O(a,d,a.firstChild)})(l);{let a=l;for(;a=a.parentNode||a.host;)if(a["s-p"]){ze(o,o.R=a);break}}r.t&&Object.entries(r.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,a)){const g=l[a];delete l[a],l[a]=g}})),(async(a,d,g)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>d.i|=128)),c&&c.style)){let m;typeof c.style=="string"&&(m=c.style);const b=Ne(g);U.has(b)||((_,y,v)=>{let p=U.get(_);se&&v?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(_,p)})(b,m,!!(1&g.i))}const u=d.R,f=()=>me(d,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){G(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(l,o,r)}}})(this),i&&i.call(this)},disconnectedCallback(){(async l=>{if(!(1&C.i)){const o=A(l);o?.V&&(o.V.map((r=>r())),o.V=void 0)}E.has(l)&&E.delete(l),l.shadowRoot&&E.has(l.shadowRoot)&&E.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 ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else yt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),Pt(e,s,3)}catch(i){return G(i),e}},We=(e,t)=>t,Ue=(e,t,s)=>{s&&I.document&&s.map((([i,n,l])=>{const o=Gt(I.document,e,i),r=Mt(t,l),a=Ht(i);C.ael(o,n,r,a),(t.V=t.V||[]).push((()=>C.rel(o,n,r,a)))}))},Mt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(i){G(i,e.$hostElement$)}},Gt=(e,t,s)=>8&s?I:t,Ht=e=>ft?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function qe(e){var t,s,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(s=qe(e[t]))&&(i&&(i+=" "),i+=s)}else for(s in e)e[s]&&(i&&(i+=" "),i+=s);return i}function $(){for(var e,t,s=0,i="",n=arguments.length;s<n;s++)(e=arguments[s])&&(t=qe(e))&&(i&&(i+=" "),i+=t);return i}const Rt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,i=typeof t=="string"&&t.trim().length>0,n=typeof s=="string"&&s.trim().length>0;return{hasLabel:i,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),X=64,Ke=10,Ye=X/2-Ke/2,Bt=X/2,fe=2*Math.PI*Ye,Dt=`0 0 ${X} ${X}`,zt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(s,e))/s*100,l=(fe*n/100).toFixed(2),o=(fe-parseFloat(l)).toFixed(2);return`${l} ${o}`},centerPosition:Bt,circumference:fe,radius:Ye,thickness:Ke,viewBox:Dt},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>$("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:s,destructive:i,positive:n,loading:l},o,r)=>$("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":s==="full","gids-button--destructive":i&&!n,"gids-button--positive":n&&!i,"gids-button--icon-only":o,"gids-button--loading":l},r)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCheckboxControlClassNames:e=>$("gids-checkbox-control",e)},Symbol.toStringTag,{value:"Module"})),Ut=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>$("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>$("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Kt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>$("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>$("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>$("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuGroupClassNames:({type:e},t)=>$("gids-menu-group",{"gids-menu-group--default":e==="default","gids-menu-group--no-options":e==="no-options","gids-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuClassNames:e=>$("gids-menu",e)},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},i)=>$("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},s,i)},Symbol.toStringTag,{value:"Module"})),es=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>$("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),ts=Object.freeze(Object.defineProperty({__proto__:null,getGidsTransferListClassNames:e=>$("gids-transfer-list",e)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ze=Symbol("pathSet"),ve="gids-asset-paths-set";class ss extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ve))};haveAssetPathsBeenSet(){return this.#t(Ze)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const i in t)this.#e(i,t[i]);s&&this.#e(pe,s)}this.#e(Ze,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const i=this.#t(pe);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ve,t,{once:!0}),()=>{this.removeEventListener(ve,t)}}}const ye=Symbol.for("GIDS"),is=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),ns=e=>{const t=is().assetPaths;return t[e]===void 0&&(t[e]=new ss),t[e]};function Se(){return ns("@ganpatiinfo/gids-web-shared")}function ls(){return Se().haveAssetPathsBeenSet()}function Je(e){return Se().getAssetFilePath(e)}function os(e){return Se().onAssetPathsSet(e)}let rs=0;const as=(e,t="gids")=>e||`${t}-${rs++}`,Qe=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:ds}=Xt,{calculateStrokeDasharray:cs,thickness:Xe,radius:et,centerPosition:ee,viewBox:hs}=zt,tt=({size:e,indeterminate:t,value:s,max:i,...n})=>{let l;return t||(l={strokeDashArray:cs(s,i||0),strokeDashoffset:"0"}),h("svg",{class:ds({size:e,indeterminate:t,value:s}),viewBox:hs,...n},h("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:et,"stroke-width":Xe}),h("circle",{style:l,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:et,"stroke-width":Xe}))},{getGidsSpinnerClassNames:gs}=es,{getElementVisibility:us}=Rt,ms=({label:e,supportingText:t,size:s,indeterminate:i,value:n,max:l,class:o,...r})=>{const{hasLabel:a,hasSupportingText:d}=us({label:e,supportingText:t});return h("span",{class:gs({size:s},o),...r},h(tt,{size:s,indeterminate:i,value:n,max:l}),a&&h("span",{class:"gids-spinner__label"},e),d&&h("span",{class:"gids-spinner__supporting-text"},t))},st={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},it=new Map;for(const e in st)for(const t of st[e])it.set(t,e);function fs(e){return it.get(e)}function nt(e,t="regular",s){const i=fs(e);let n=i??"";return s&&i&&(n=s(i)??i),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ps}=Yt,P=({name:e,size:t,appearance:s,alt:i,class:n,titleId:l,src:o,...r})=>{const a=as(l);let d=o;return d===void 0&&ls()&&(d=nt(e,s,Je)),h("svg",{ref:g=>{d===void 0&&os((()=>{(function(c,u,f){if(!c)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",nt(u,f,Je)),c.appendChild(m)})(g,e,s)}))},width:"16",height:"16",class:ps({size:t},n),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...r},i!==""&&h("title",{id:a},i||e),d!==void 0?h("use",{href:d}):null)},{getGidsButtonGroupClassNames:vs}=Vt,ys=({layout:e,class:t},s)=>h("span",{class:vs({layout:e},t)},s),{getGidsHeadingClassNames:Ss,getGidsHeadingSupportingTextTypographyClass:bs}=Kt,_s=({heading:e,supportingText:t,level:s="section",children:i,supportingTextTypography:n,class:l})=>h("div",{class:Ss(l)},h("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?h("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?h("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${bs(n)}`},t):null:t:null),i?h(ys,{layout:"wrap"},i):null),{getGidsEditButtonClassNames:Ls}=qt,Is=({disabled:e,children:t,size:s="md",editButtonType:i="add",onPressEditButton:n,class:l,...o})=>h("button",{class:Ls({size:s},l),...o,onClick:n,disabled:e},i==="custom"&&t?h("div",null,t):i==="add"?h("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},h(P,{name:"add",appearance:"filled",size:s})):i==="remove"?h("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},h(P,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:xs}=Ut,lt=({orientation:e})=>h("hr",{class:xs({orientation:e})}),{getGidsListItemClassNames:ws}=Zt,ot=({id:e,value:t,index:s,defaultSelected:i,disabled:n,selected:l,editButton:o,onPressEditButton:r,onPressListItem:a,leadingAccessory:d,leadingSupport:g,leadingParagraph:c,trailingContent:u,trailingAccessory:f,trailingSupport:m,trailingParagraph:b,divider:_,role:y="list-item-option",isPlaceholderItem:v,class:p,...w},S)=>{const L=l||i;return h("button",{type:"button",id:e,class:ws({selected:L,disabled:n},p),role:y,"aria-selected":L?"true":"false",disabled:n,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const T=S;return T?(Array.isArray(T)?T:[T]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:T=>{const x=T.currentTarget;if(!x||T.defaultPrevented||x.disabled)return;const k=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:i,isPlaceholderItem:v}});a?.(k)},"is-placeholder-item":v?"true":"false",...w},h("div",{class:"gids-list-item__main-container"},o==null||o==="none"||n?null:h(Is,{size:"md",editButtonType:o,onPressEditButton:r}),d!=null?h("div",{class:n?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},d):null,h("div",{class:"gids-list-item__middle-content-container"},h("div",{class:"gids-list-item__leading-content-container"},h(We,null,S!=null?h("span",{class:n?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},S):null,h("div",{class:"gids-list-item__leading-support-content"},g!=null?typeof g=="string"?h("p",{class:n?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},g):g:null,c!=null?typeof c=="string"?h("p",{class:n?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},c):c:null))),h("div",{class:"gids-list-item__trailing-content-container"},h(We,null,u!=null?typeof u=="string"?h("span",{class:n?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},u):u:null,h("div",{class:"gids-list-item__trailing-support-content"},m!=null?typeof m=="string"?h("p",{class:n?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},m):m:null,b!=null?typeof b=="string"?h("p",{class:n?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},b):b:null)))),L?h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},h(P,{name:"checkmark",size:"md",appearance:"regular"})):null,L||f==null?null:h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f)),_&&!L?h("div",{class:"gids-list-item__divider"},h(lt,{orientation:"horizontal"})):null)},{getGidsButtonClassNames:Ts}=Ft,te=({appearance:e,size:t,destructive:s,positive:i,loading:n,width:l,leadingIcon:o,trailingIcon:r,as:a,disabled:d,class:g,forceIconOnly:c=!1,...u},f)=>{const m=a||"button",b=t==="lg"||t===void 0?"md":t;return m!=="button"||"type"in u||(u.type="button"),h(m,{class:Ts({appearance:e,size:t,destructive:s,loading:n,width:l,positive:i},c||f.length===0&&Qe(o)&&!Qe(r),g),disabled:m==="button"?d:void 0,...u},h("span",{class:"gids-button__content"},o,f),n&&h(tt,{size:b,indeterminate:!0}),r)},{getGidsMenuGroupClassNames:Cs}=Jt,rt=({type:e="no-options",supportingText:t="No options",class:s,...i},n)=>h("div",{class:Cs({type:e},s),...i},e==="loading"?h(ms,{indeterminate:!0,size:"md"}):null,e==="no-options"?h("span",null,t):null,e==="default"&&n!=null?n:null),{getGidsMenuClassNames:Ns}=Qt,at=({heading:e,supportingText:t,level:s,supportingTextTypography:i,isHeaderDividerVisible:n=!1,class:l,...o},r)=>h("div",{class:Ns(l),...o},e!=null&&e!==""||t!=null&&t!==""?h(_s,{heading:e,supportingText:t,level:s,supportingTextTypography:i??"eyebrow-medium"}):null,n?h("div",{class:"gids-menu__header-divider"},h(lt,{orientation:"horizontal"})):void 0,r!=null?h("div",{class:"gids-menu__children"},r):null),{getGidsCheckboxControlClassNames:$s}=Wt,be=({checked:e,defaultChecked:t,disabled:s,indeterminate:i,inputId:n,name:l,value:o,required:r,onChange:a,class:d,...g})=>h("span",{class:$s(d),...g},h("input",{class:"gids-checkbox-control__input",type:"checkbox",disabled:s,checked:e,defaultChecked:t,required:r,indeterminate:i,value:o,id:n,name:l,onChange:a}),h(P,{class:"gids-checkbox-control__check",name:"checkmark",alt:"",size:"sm"}),h(P,{class:"gids-checkbox-control__minus",name:"minus",alt:"",size:"sm"})),{getGidsTransferListClassNames:ks}=ts,dt=Et(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.leftListHeading="Choices",this.rightListHeading="Choosen",this.moveAllVisible=!1,this.transferListType="basic",this.leftListItems=[],this.rightListItems=[],this.listsMaxHeight="200px",this.leftListItemsState=[],this.rightListItemsState=[],this.tempLeftListItemsState=[],this.tempRightListItemsState=[]}handleListsMaxHeightChange(e){this.listsMaxHeight=e}handleLeftListHeadingChange(e){this.leftListHeading=e}handleRightListHeadingChange(e){this.rightListHeading=e}handleMoveAllVisibilityChange(e){this.moveAllVisible=e}handleTransferListTypeChange(e){this.transferListType=e}handleLeftListItemsChange(e){this.leftListItems=e,this.setListItemsStates()}handleRightListItemsChange(e){this.rightListItems=e,this.setListItemsStates()}componentDidLoad(){this.setListItemsStates()}setListItemsStates(){this.leftListItemsState=this.leftListItems,this.rightListItemsState=this.rightListItems}getListHeading(e){return e==="left"?this.leftListHeading:this.rightListHeading}getListSupportingText(e){let t=this?.tempLeftListItemsState??[],s=this?.leftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[],s=this?.rightListItemsState??[]),`${t.length} of ${s.length} selected`}isAllItemsSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return t.length>0&&t.length===s.length}isAtleastOneItemSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return s.length>0&&s.length<t.length}renderListHeading(e){if((this?.transferListType??"basic")!=="basic"){const t=this.isAllItemsSelectedInList({listSide:e}),s=this.isAtleastOneItemSelectedInList({listSide:e});return h("div",{class:"gids-transfer-list__menu-heading-container"},h(be,{checked:t||s,onChange:i=>this.selectUnselectAllItems({event:i,listSide:e}),indeterminate:s}),h("div",{class:"gids-transfer-list__menu-heading-text-content-container"},h("span",{class:"gids-transfer-list__heading-text"},this.getListHeading(e)),h("span",{class:"gids-transfer-list__heading-support-text"},this.getListSupportingText(e))))}}listItemSelection({event:e,pressedIndex:t,listSide:s}){this.selectUnselectListItem({event:e,pressedIndex:t,listSide:s})}onPressingListItem({event:e,pressedIndex:t,listSide:s}){this.listItemSelection({event:e,pressedIndex:t,listSide:s})}selectUnselectListItem({event:e,pressedIndex:t,listSide:s}){const i=this.getStateListsItemsArr(s)[t];let n=!1;if(s==="left"&&i){const l=this?.tempLeftListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempLeftListItemsState=l,this.leftListItemsState=this?.leftListItemsState?[...this.leftListItemsState]:[]}else if(s==="right"&&i){const l=this?.tempRightListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempRightListItemsState=l,this.rightListItemsState=this?.rightListItemsState?[...this.rightListItemsState]:[]}this.callOnTransferListSelectFunc({event:e,isSelected:n,listSide:s,selectedIndexes:[t],selectionType:"single"})}isItemSelected({id:e,listSide:t}){const s=this.getTempListsItemsArr(t);return s.length>0&&!!s.find((i=>i?.id===e))}getStateListsItemsArr(e){let t=this?.leftListItemsState??[];return e==="right"&&(t=this?.rightListItemsState??[]),t}getTempListsItemsArr(e){let t=this?.tempLeftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[]),t}selectUnselectAllItems({event:e,listSide:t}){const s=this.getStateListsItemsArr(t),i=this.isAllItemsSelectedInList({listSide:t}),n=this.isAtleastOneItemSelectedInList({listSide:t});t==="left"?this.tempLeftListItemsState=i||n?[]:[...s]:this.tempRightListItemsState=i||n?[]:[...s];const l=[];i||n||s.map(((o,r)=>{l.push(r)})),this.callOnTransferListSelectFunc({event:e,isSelected:!i&&!n,listSide:t,selectedIndexes:l,selectionType:"all"})}callOnTransferListSelectFunc({event:e,isSelected:t,listSide:s,selectedIndexes:i,selectionType:n}){this.onTransferListSelect&&this.onTransferListSelect({originalEvent:e,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],selectedIndexes:i,selectionType:n,listSide:s,isSelected:t})}movementButtonDisabled({listSide:e,movementType:t}){if(e==="left"){const s=this?.leftListItemsState&&this.leftListItemsState.length>0?this.leftListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempLeftListItemsState&&this.tempLeftListItemsState.length>0?this.tempLeftListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}else if(e==="right"){const s=this?.rightListItemsState&&this.rightListItemsState.length>0?this.rightListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempRightListItemsState&&this.tempRightListItemsState.length>0?this.tempRightListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}return!0}callOnTransferAction({transferTo:e,transferFrom:t,movementType:s,newTransferredItems:i}){this.onTransferAction&&this.onTransferAction({transferTo:e,transferFrom:t,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],newTransferredItems:i,movementType:s})}clearListSystem({event:e,listSide:t,movementType:s}){if(console.log("event",e),console.log("listSide",t),console.log("movementType",s),!this.movementButtonDisabled({listSide:t,movementType:s})){if(t==="left")if(s==="move-single"){const i=this?.tempLeftListItemsState??[],n=this?.leftListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.leftListItemsState=[...l]}this.tempLeftListItemsState=[]}else s==="move-all"&&(this.leftListItemsState=[],this.tempLeftListItemsState=[]);else if(t==="right")if(s==="move-single"){const i=this?.tempRightListItemsState??[],n=this?.rightListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.rightListItemsState=[...l]}this.tempRightListItemsState=[]}else s==="move-all"&&(this.rightListItemsState=[],this.tempRightListItemsState=[])}}moveListItems({event:e,listSide:t,movementType:s}){if(!this.movementButtonDisabled({listSide:t,movementType:s})){const i=this?.leftListItemsState??[],n=this?.rightListItemsState??[],l=this?.tempLeftListItemsState??[],o=this?.tempRightListItemsState??[];let r=[];t==="left"?s==="move-single"?(this.rightListItemsState=[...l,...n],r=[...l]):s==="move-all"&&(this.rightListItemsState=[...i,...n],r=[...i]):t==="right"&&(s==="move-single"?(this.leftListItemsState=[...o,...i],r=[...o]):s==="move-all"&&(this.leftListItemsState=[...n,...i],r=[...n])),this.clearListSystem({event:e,listSide:t,movementType:s}),this.callOnTransferAction({transferTo:t==="left"?"right":"left",transferFrom:t,movementType:s,newTransferredItems:r})}}onItemsMovement({event:e,listSide:t,movementType:s}){this.moveListItems({event:e,listSide:t,movementType:s})}render(){const e=ks(),t=this?.leftListItemsState??[],s=this?.rightListItemsState??[],i=this.listsMaxHeight,n=this?.transferListType??"basic";return h($e,{key:"aa8da731c2648ec4e359dbe5277fbf5947246276",class:e},h("div",{key:"6dd5eefb717c7dea19165a218354e582a21ce11e",class:"gids-transfer-list__left-container"},h(rt,{key:"f89efe4c61e2b75b85b0038434b0424d23df354d",type:t.length>0?"default":"no-options"},h(at,{key:"e3812b4b78c74daa2ed206c8a6928c1fb79984b1",heading:this.renderListHeading("left"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},t.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"left"});return h(ot,{id:""+r,index:o,leadingAccessory:h(be,{checked:a}),selected:a,onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"left"})},l?.listLabel)}))))),h("div",{key:"db9922210390697fbc27b061ec796d41cabdc430",class:"gids-transfer-list__middle-container"},h(te,{key:"3ebb8dc86a3b549091303298aeb230935ca3d03d",leadingIcon:h(P,{name:"forward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-all"})}),h(te,{key:"56916d7cc482775f6071bbe18a0269efb65c487d",leadingIcon:h(P,{name:"chevron-right"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-single"})}),h(te,{key:"7a6eb9be1734b750131d7ab22c8bdbc3dfeed0ca",leadingIcon:h(P,{name:"chevron-left"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-single"})}),h(te,{key:"6dee55d6ee67c01d02e59b672f790261e4235445",leadingIcon:h(P,{name:"backward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-all"})})),h("div",{key:"f58004630c591ae4e776b34751a759b508218489",class:"gids-transfer-list__right-container"},h(rt,{key:"2fbdff5086fc1db0a6d7ef1373527f1d624dbdfb",type:s.length>0?"default":"no-options"},h(at,{key:"851366bf08415c614931191b0aa4dee581a559d8",heading:this.renderListHeading("right"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},s.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"right"});return h(ot,{id:""+r,index:o,selected:a,leadingAccessory:h(be,{checked:a}),onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"right"})},l?.listLabel)}))))))}get hostElement(){return this}static get watchers(){return{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}}static get style(){return".gids-transfer-list{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-500)}.gids-transfer-list .gids-menu__children{max-height:var(--gidsMenuChildren-max-height);overflow:auto}.gids-transfer-list__left-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__middle-container{display:flex;width:15%;flex-direction:column;gap:var(--gids-gap-150)}.gids-transfer-list__right-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__menu-heading-container{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-transfer-list__menu-heading-text-content-container{display:flex;flex-direction:column}.gids-transfer-list__heading-text{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle)}.gids-transfer-list__heading-support-text{font-family:var(--gids-typography-paragraph-medium__font-family);font-size:var(--gids-typography-paragraph-medium__font-size);font-weight:var(--gids-typography-paragraph-medium__font-weight);letter-spacing:var(--gids-typography-paragraph-medium__letter-spacing);line-height:var(--gids-typography-paragraph-medium__line-height);text-transform:var(--gids-typography-paragraph-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-medium__font-variant-caps, inherit);color:var(--gids-color-text-subtlest)}"}},[0,"gids-transfer-list",{leftListHeading:[1,"left-list-heading"],rightListHeading:[1,"right-list-heading"],moveAllVisible:[4,"move-all-visible"],transferListType:[1,"transfer-list-type"],leftListItems:[16],rightListItems:[16],listsMaxHeight:[1,"lists-max-height"],onTransferAction:[16],onTransferListSelect:[16],leftListItemsState:[32],rightListItemsState:[32],tempLeftListItemsState:[32],tempRightListItemsState:[32]},void 0,{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}]);function ct(){typeof customElements<"u"&&["gids-transfer-list"].forEach((e=>{e==="gids-transfer-list"&&(customElements.get(e)||customElements.define(e,dt))}))}ct();const Os=dt,As=ct;M.GidsTransferList=Os,M.defineCustomElement=As,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(_=>{const y=[];for(let v=0;v<_.length;v++){const p=_[v]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((_=>{m===z(_)&&f.push(_)})),c?f.filter((_=>_.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(l),r=e&&e.m&&e.m[s],r&&r.O===n.O&&e.S&&Ge(e.S)),l},Ge=e=>{C.i|=1;const t=e.closest(H.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const n of s?i.reverse():i)n["s-sh"]!=null&&(O(t,n,s??null),n["s-sh"]=void 0,Y=!0)}C.i&=-2},J=(e,t)=>{C.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===H&&s.push(i)}for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==H&&n["s-ol"]&&(O(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}C.i&=-2},He=(e,t,s,i,n,l)=>{let o,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===H&&(r=r.shadowRoot),s.O==="template"&&(r=r.content);n<=l;++n)i[n]&&(o=Z(null,s,n),o&&(i[n].S=o,O(r,o,F(t))))},Re=(e,t,s)=>{for(let i=t;i<=s;++i){const n=e[i];if(n){const l=n.S;De(n),l&&(K=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},Q=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const i=t.S=e.S,n=e.m,l=t.m,o=t.O,r=t.h;let a;r==null?(N=o==="svg"||o!=="foreignObject"&&N,o!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),he(e,t,N),n!==null&&l!==null?((d,g,c,u,f=!1)=>{let m,b,_=0,y=0,v=0,p=0,w=g.length-1,S=g[0],L=g[w],T=u.length-1,x=u[0],k=u[T];const ht=c.O==="template"?d.content:d;for(;_<=w&&y<=T;)if(S==null)S=g[++_];else if(L==null)L=g[--w];else if(x==null)x=u[++y];else if(k==null)k=u[--T];else if(Q(S,x,f))B(S,x,f),S=g[++_],x=u[++y];else if(Q(L,k,f))B(L,k,f),L=g[--w],k=u[--T];else if(Q(S,k,f))S.O!=="slot"&&k.O!=="slot"||J(S.S.parentNode,!1),B(S,k,f),O(ht,S.S,L.S.nextSibling),S=g[++_],k=u[--T];else if(Q(L,x,f))S.O!=="slot"&&k.O!=="slot"||J(L.S.parentNode,!1),B(L,x,f),O(ht,L.S,S.S),L=g[--w],x=u[++y];else{for(v=-1,p=_;p<=w;++p)if(g[p]&&g[p].$!==null&&g[p].$===x.$){v=p;break}v>=0?(b=g[v],b.O!==x.O?m=Z(g&&g[y],c,v):(B(b,x,f),g[v]=void 0,m=b.S),x=u[++y]):(m=Z(g&&g[y],c,y),x=u[++y]),m&&O(F(S.S).parentNode,m,F(S.S))}_>w?He(d,u[T+1]==null?null:u[T+1].S,c,u,y,T):y>T&&Re(g,_,w)})(i,n,t,l,s):l!==null?(e.h!==null&&(i.textContent=""),He(i,null,t,l,0,l.length-1)):!s&&n!==null&&Re(n,0,n.length-1),N&&o==="svg"&&(N=!1)):(a=i["s-cr"])?a.parentNode.textContent=r:e.h!==r&&(i.data=r)},j=[],Be=e=>{let t,s,i;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const o=l["s-sn"];for(i=s.length-1;i>=0;i--)if(t=s[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ce(t,o)){let r=j.find((a=>a.k===t));K=!0,t["s-sn"]=t["s-sn"]||o,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],j.push({N:l,k:t})),t["s-sr"]&&j.map((a=>{Ce(a.k,t["s-sn"])&&(r=j.find((d=>d.k===t)),r&&!a.N&&(a.N=r.N))}))}else j.some((r=>r.k===t))||j.push({k:t})}l.nodeType===1&&Be(l)}},De=e=>{e.v&&e.v.ref&&ge.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},wt=(e,t)=>{ue.push((()=>e(t)))},O=(e,t,s,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,o){var r;if(!(o=o||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=l["s-sn"]=z(l)||"";return{slotNode:re(ae(o,"childNodes"),o.tagName,a)[0],slotName:a}})(t);return n&&!i&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Tt=(e,t,s=!1)=>{var i,n,l,o,r;const a=e.$hostElement$,d=e.o,g=e.M||q(null,null);var c;const u=(c=t)&&c.O===$e?t:h(null,null,t);if(H=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([f,m])=>{u.v[m]=a[f]}))),s&&u.v)for(const f of Object.keys(u.v))a.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=a[f]);if(u.O=null,u.i|=4,e.M=u,u.S=g.S=a.shadowRoot||a,V=!(!(1&d.i)||128&d.i),de=a["s-cr"],K=!1,B(g,u,s),C.i|=1,Y){Be(u.S);for(const f of j){const m=f.k;if(!m["s-ol"]&&I.document){const b=I.document.createTextNode("");b["s-nr"]=m,O(m.parentNode,m["s-ol"]=b,m,s)}}for(const f of j){const m=f.k,b=f.N;if(m.nodeType===1&&s&&(m["s-ih"]=(i=m.hidden)!=null&&i),b){const _=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let v=(n=m["s-ol"])==null?void 0:n.previousSibling;for(;v;){let p=(l=v["s-nr"])!=null?l:null;if(p&&p["s-sn"]===m["s-sn"]&&_===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===m||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}v=v.previousSibling}}if((!y&&_!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==y)&&m!==y){if(O(_,m,y,s),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const v=I.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));v["s-hn"]=m["s-hn"],v["s-sn"]=m["s-sn"],v["s-sh"]=m["s-sh"],v["s-sr"]=m["s-sr"],v["s-ol"]=m["s-ol"],v["s-ol"]["s-nr"]=v,O(m.parentNode,v,m,s),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(o=m["s-ih"])!=null&&o)}m&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else m.nodeType===1&&(m.hidden=!0)}}if(K&&Te(u.S),C.i&=-2,j.length=0,!V&&!(1&d.i)&&a["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const m of f)if(m["s-hn"]!==H&&!m["s-sh"]){if(s&&m["s-ih"]==null&&(m["s-ih"]=(r=m.hidden)!=null&&r),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const b=I.document.createComment("s-nt-"+m.nodeValue);b["s-sn"]=m["s-sn"],O(m.parentNode,b,m,s),m.parentNode.removeChild(m)}}}de=void 0,ge.forEach((f=>f())),ge.length=0,ue.forEach((f=>f())),ue.length=0},ze=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(s-1,1),i()})))}},me=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ze(e,e.R);const s=()=>Ct(e,t);if(!t)return vt(s);queueMicrotask((()=>{s()}))},Ct=(e,t)=>{const s=e.$hostElement$,i=s;if(!i)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(i,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Ve(n,(()=>W(i,"componentWillRender",void 0,s))),Ve(n,(()=>$t(e,i,t)))},Ve=(e,t)=>Nt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",$t=async(e,t,s)=>{var i;const n=e.$hostElement$,l=n["s-rc"];s&&(o=>{const r=o.o,a=o.$hostElement$,d=r.i,g=((c,u)=>{var f,m,b;const _=Ne(u),y=U.get(_);if(!I.document)return _;if(c=c.nodeType===11?c:I.document,y)if(typeof y=="string"){let v,p=E.get(c=c.head||c);if(p||E.set(c,p=new Set),!p.has(_)){v=I.document.createElement("style"),v.textContent=y;const w=(f=C._)!=null?f:(function(){var S,L,T;return(T=(L=(S=I.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?T:void 0})();if(w!=null&&v.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const S=c.querySelectorAll("link[rel=preconnect]"),L=S.length>0?S[S.length-1].nextSibling:c.querySelector("style");c.insertBefore(v,L?.parentNode===c?L:null)}else if("host"in c)if(se){const S=new((m=c.defaultView)!=null?m:c.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),ie?c.adoptedStyleSheets.unshift(S):c.adoptedStyleSheets=[S,...c.adoptedStyleSheets]}else{const S=c.querySelector("style");S?S.textContent=y+S.textContent:c.prepend(v)}else c.append(v);1&u.i&&c.insertBefore(v,null),4&u.i&&(v.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(_)}}else{let v=E.get(c);if(v||E.set(c,v=new Set),!v.has(_)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let w;if(y.constructor===p.CSSStyleSheet)w=y;else{w=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)w.insertRule(y.cssRules[S].cssText,S)}ie?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],v.add(_)}}return _})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&d&&(a["s-sc"]=g,a.classList.add(g+"-h"))})(e),kt(e,t,n,s),l&&(l.map((o=>o())),n["s-rc"]=void 0);{const o=(i=n["s-p"])!=null?i:[],r=()=>Ot(e);o.length===0?r():(Promise.all(o).then(r).catch(r),e.i|=4,o.length=0)}},kt=(e,t,s,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Tt(e,t,i)}catch(n){G(n,e.$hostElement$)}return null},Ot=e=>{const t=e.$hostElement$,s=t,i=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,jt(t),W(s,"componentDidLoad",void 0,t),e.L(t),i||At()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>me(e,!1))),e.i&=-517},At=()=>{oe((()=>Lt(I,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,i)=>{if(e&&e[t])try{return e[t](s)}catch(n){G(n,i)}},jt=e=>e.classList.add("hydrated"),Fe=(e,t,s,i)=>{const n=A(e);if(!n)return;const l=e,o=n.l.get(t),r=n.i,a=l;s=Ae(s,i.t[t][0],!!(64&i.i));const d=Number.isNaN(o)&&Number.isNaN(s);if(s!==o&&!d){if(n.l.set(t,s),i.F){const g=i.F[t];g&&g.map((c=>{try{const[[u,f]]=Object.entries(c);(128&r||1&f)&&(a?a[u](s,o,t):n.T.push((()=>{n.D[u](s,o,t)})))}catch(u){G(u,l)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,o,t)===!1&&!(16&r))return;16&r||me(n,!1)}}},Pt=(e,t,s)=>{var i,n;const l=e.prototype;64&t.i&&1&s&&ut.forEach((o=>{const r=l[o];Object.defineProperty(l,o,{value(...a){var d;const g=A(this),c=this;c?typeof r=="function"&&r.call(c,...a):(d=g?.H)==null||d.then((u=>{const f=u[o];typeof f=="function"&&f.call(u,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Oe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const o=Object.entries((i=t.t)!=null?i:{});o.map((([r,[a]])=>{if(31&a||32&a){const{get:d,set:g}=R(l,r)||{};d&&(t.t[r][0]|=2048),g&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return d?d.apply(this):(c=r,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(c){const u=A(this);if(u){if(g)return(32&a?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(c=u.l.get(r)),g.apply(this,[Ae(c,a,!!(64&t.i))]),void Fe(this,r,c=32&a?this[r]:u.$hostElement$[r],t);Fe(this,r,c,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(a,d,g){C.jmp((()=>{var c;const u=r.get(a),f=A(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==g)return;if(u==null){const v=f?.i;if(f&&v&&!(8&v)&&g!==d){const p=this,w=(c=t.F)==null?void 0:c[a];w?.forEach((S=>{const[[L,T]]=Object.entries(S);p[L]!=null&&(128&v||1&T)&&p[L].call(p,g,d,a)}))}return}const m=o.find((([v])=>v===u)),b=m&&4&m[1][0],_=b&&g===null&&this[u]===void 0;b&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(l,u);_||g==this[u]||y.get&&!y.set||(this[u]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...o.filter((([a,d])=>31&d[0])).map((([a,d])=>{var g;const c=d[1]||a;return r.set(c,a),512&d[0]&&((g=t.C)==null||g.push([a,c])),c}))]))}}return e},Et=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Oe(e.F),s.P=e.P,s.U=e.U,s.C=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,o)=>{const r={i:0,$hostElement$:l,o,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),l["s-p"]=[],l["s-rc"]=[];const a=r;l.__stencil__getHostRef=()=>a,512&o.i&&gt(l,r)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ue(this,l,s.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&C.i)){const o=A(l);if(!o)return;const r=o.o;if(1&o.i)Ue(l,o,r.W),o?.D||o?.H&&o.H.then((()=>{}));else{o.i|=1,12&r.i&&(a=>{if(!I.document)return;const d=a["s-cr"]=I.document.createComment("");d["s-cn"]=!0,O(a,d,a.firstChild)})(l);{let a=l;for(;a=a.parentNode||a.host;)if(a["s-p"]){ze(o,o.R=a);break}}r.t&&Object.entries(r.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,a)){const g=l[a];delete l[a],l[a]=g}})),(async(a,d,g)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>d.i|=128)),c&&c.style)){let m;typeof c.style=="string"&&(m=c.style);const b=Ne(g);U.has(b)||((_,y,v)=>{let p=U.get(_);se&&v?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(_,p)})(b,m,!!(1&g.i))}const u=d.R,f=()=>me(d,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){G(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(l,o,r)}}})(this),i&&i.call(this)},disconnectedCallback(){(async l=>{if(!(1&C.i)){const o=A(l);o?.V&&(o.V.map((r=>r())),o.V=void 0)}E.has(l)&&E.delete(l),l.shadowRoot&&E.has(l.shadowRoot)&&E.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 ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else yt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),Pt(e,s,3)}catch(i){return G(i),e}},We=(e,t)=>t,Ue=(e,t,s)=>{s&&I.document&&s.map((([i,n,l])=>{const o=Gt(I.document,e,i),r=Mt(t,l),a=Ht(i);C.ael(o,n,r,a),(t.V=t.V||[]).push((()=>C.rel(o,n,r,a)))}))},Mt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(i){G(i,e.$hostElement$)}},Gt=(e,t,s)=>8&s?I:t,Ht=e=>ft?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function qe(e){var t,s,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(s=qe(e[t]))&&(i&&(i+=" "),i+=s)}else for(s in e)e[s]&&(i&&(i+=" "),i+=s);return i}function $(){for(var e,t,s=0,i="",n=arguments.length;s<n;s++)(e=arguments[s])&&(t=qe(e))&&(i&&(i+=" "),i+=t);return i}const Rt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,i=typeof t=="string"&&t.trim().length>0,n=typeof s=="string"&&s.trim().length>0;return{hasLabel:i,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),X=64,Ke=10,Ye=X/2-Ke/2,Bt=X/2,fe=2*Math.PI*Ye,Dt=`0 0 ${X} ${X}`,zt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(s,e))/s*100,l=(fe*n/100).toFixed(2),o=(fe-parseFloat(l)).toFixed(2);return`${l} ${o}`},centerPosition:Bt,circumference:fe,radius:Ye,thickness:Ke,viewBox:Dt},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>$("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:s,destructive:i,positive:n,loading:l},o,r)=>$("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":s==="full","gids-button--destructive":i&&!n,"gids-button--positive":n&&!i,"gids-button--icon-only":o,"gids-button--loading":l},r)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCheckboxControlClassNames:e=>$("gids-checkbox-control",e)},Symbol.toStringTag,{value:"Module"})),Ut=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>$("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>$("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Kt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>$("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>$("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>$("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuGroupClassNames:({type:e},t)=>$("gids-menu-group",{"gids-menu-group--default":e==="default","gids-menu-group--no-options":e==="no-options","gids-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuClassNames:e=>$("gids-menu",e)},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},i)=>$("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},s,i)},Symbol.toStringTag,{value:"Module"})),es=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>$("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),ts=Object.freeze(Object.defineProperty({__proto__:null,getGidsTransferListClassNames:e=>$("gids-transfer-list",e)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ze=Symbol("pathSet"),ve="gids-asset-paths-set";class ss extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ve))};haveAssetPathsBeenSet(){return this.#t(Ze)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const i in t)this.#e(i,t[i]);s&&this.#e(pe,s)}this.#e(Ze,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const i=this.#t(pe);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ve,t,{once:!0}),()=>{this.removeEventListener(ve,t)}}}const ye=Symbol.for("GIDS"),is=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),ns=e=>{const t=is().assetPaths;return t[e]===void 0&&(t[e]=new ss),t[e]};function Se(){return ns("@ganpatiinfo/gids-web-shared")}function ls(){return Se().haveAssetPathsBeenSet()}function Je(e){return Se().getAssetFilePath(e)}function os(e){return Se().onAssetPathsSet(e)}let rs=0;const as=(e,t="gids")=>e||`${t}-${rs++}`,Qe=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:ds}=Xt,{calculateStrokeDasharray:cs,thickness:Xe,radius:et,centerPosition:ee,viewBox:hs}=zt,tt=({size:e,indeterminate:t,value:s,max:i,...n})=>{let l;return t||(l={strokeDashArray:cs(s,i||0),strokeDashoffset:"0"}),h("svg",{class:ds({size:e,indeterminate:t,value:s}),viewBox:hs,...n},h("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:et,"stroke-width":Xe}),h("circle",{style:l,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:et,"stroke-width":Xe}))},{getGidsSpinnerClassNames:gs}=es,{getElementVisibility:us}=Rt,ms=({label:e,supportingText:t,size:s,indeterminate:i,value:n,max:l,class:o,...r})=>{const{hasLabel:a,hasSupportingText:d}=us({label:e,supportingText:t});return h("span",{class:gs({size:s},o),...r},h(tt,{size:s,indeterminate:i,value:n,max:l}),a&&h("span",{class:"gids-spinner__label"},e),d&&h("span",{class:"gids-spinner__supporting-text"},t))},st={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},it=new Map;for(const e in st)for(const t of st[e])it.set(t,e);function fs(e){return it.get(e)}function nt(e,t="regular",s){const i=fs(e);let n=i??"";return s&&i&&(n=s(i)??i),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ps}=Yt,P=({name:e,size:t,appearance:s,alt:i,class:n,titleId:l,src:o,...r})=>{const a=as(l);let d=o;return d===void 0&&ls()&&(d=nt(e,s,Je)),h("svg",{ref:g=>{d===void 0&&os((()=>{(function(c,u,f){if(!c)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",nt(u,f,Je)),c.appendChild(m)})(g,e,s)}))},width:"16",height:"16",class:ps({size:t},n),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...r},i!==""&&h("title",{id:a},i||e),d!==void 0?h("use",{href:d}):null)},{getGidsButtonGroupClassNames:vs}=Vt,ys=({layout:e,class:t},s)=>h("span",{class:vs({layout:e},t)},s),{getGidsHeadingClassNames:Ss,getGidsHeadingSupportingTextTypographyClass:bs}=Kt,_s=({heading:e,supportingText:t,level:s="section",children:i,supportingTextTypography:n,class:l})=>h("div",{class:Ss(l)},h("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?h("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?h("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${bs(n)}`},t):null:t:null),i?h(ys,{layout:"wrap"},i):null),{getGidsEditButtonClassNames:Ls}=qt,Is=({disabled:e,children:t,size:s="md",editButtonType:i="add",onPressEditButton:n,class:l,...o})=>h("button",{class:Ls({size:s},l),...o,onClick:n,disabled:e},i==="custom"&&t?h("div",null,t):i==="add"?h("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},h(P,{name:"add",appearance:"filled",size:s})):i==="remove"?h("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},h(P,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:xs}=Ut,lt=({orientation:e})=>h("hr",{class:xs({orientation:e})}),{getGidsListItemClassNames:ws}=Zt,ot=({id:e,value:t,index:s,defaultSelected:i,disabled:n,selected:l,editButton:o,onPressEditButton:r,onPressListItem:a,leadingAccessory:d,leadingSupport:g,leadingParagraph:c,trailingContent:u,trailingAccessory:f,trailingSupport:m,trailingParagraph:b,divider:_,role:y="list-item-option",isPlaceholderItem:v,class:p,...w},S)=>{const L=l||i;return h("button",{type:"button",id:e,class:ws({selected:L,disabled:n},p),role:y,"aria-selected":L?"true":"false",disabled:n,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const T=S;return T?(Array.isArray(T)?T:[T]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:T=>{const x=T.currentTarget;if(!x||T.defaultPrevented||x.disabled)return;const k=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:i,isPlaceholderItem:v}});a?.(k)},"is-placeholder-item":v?"true":"false",...w},h("div",{class:"gids-list-item__main-container"},o==null||o==="none"||n?null:h(Is,{size:"md",editButtonType:o,onPressEditButton:r}),d!=null?h("div",{class:n?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},d):null,h("div",{class:"gids-list-item__middle-content-container"},h("div",{class:"gids-list-item__leading-content-container"},h(We,null,S!=null?h("span",{class:n?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},S):null,h("div",{class:"gids-list-item__leading-support-content"},g!=null?typeof g=="string"?h("p",{class:n?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},g):g:null,c!=null?typeof c=="string"?h("p",{class:n?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},c):c:null))),h("div",{class:"gids-list-item__trailing-content-container"},h(We,null,u!=null?typeof u=="string"?h("span",{class:n?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},u):u:null,h("div",{class:"gids-list-item__trailing-support-content"},m!=null?typeof m=="string"?h("p",{class:n?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},m):m:null,b!=null?typeof b=="string"?h("p",{class:n?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},b):b:null)))),L?h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},h(P,{name:"checkmark",size:"md",appearance:"regular"})):null,L||f==null?null:h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f)),_&&!L?h("div",{class:"gids-list-item__divider"},h(lt,{orientation:"horizontal"})):null)},{getGidsButtonClassNames:Ts}=Ft,te=({appearance:e,size:t,destructive:s,positive:i,loading:n,width:l,leadingIcon:o,trailingIcon:r,as:a,disabled:d,class:g,forceIconOnly:c=!1,...u},f)=>{const m=a||"button",b=t==="lg"||t===void 0?"md":t;return m!=="button"||"type"in u||(u.type="button"),h(m,{class:Ts({appearance:e,size:t,destructive:s,loading:n,width:l,positive:i},c||f.length===0&&Qe(o)&&!Qe(r),g),disabled:m==="button"?d:void 0,...u},h("span",{class:"gids-button__content"},o,f),n&&h(tt,{size:b,indeterminate:!0}),r)},{getGidsMenuGroupClassNames:Cs}=Jt,rt=({type:e="no-options",supportingText:t="No options",class:s,...i},n)=>h("div",{class:Cs({type:e},s),...i},e==="loading"?h(ms,{indeterminate:!0,size:"md"}):null,e==="no-options"?h("span",null,t):null,e==="default"&&n!=null?n:null),{getGidsMenuClassNames:Ns}=Qt,at=({heading:e,supportingText:t,level:s,supportingTextTypography:i,isHeaderDividerVisible:n=!1,class:l,...o},r)=>h("div",{class:Ns(l),...o},e!=null&&e!==""||t!=null&&t!==""?h(_s,{heading:e,supportingText:t,level:s,supportingTextTypography:i??"eyebrow-medium"}):null,n?h("div",{class:"gids-menu__header-divider"},h(lt,{orientation:"horizontal"})):void 0,r!=null?h("div",{class:"gids-menu__children"},r):null),{getGidsCheckboxControlClassNames:$s}=Wt,be=({checked:e,defaultChecked:t,disabled:s,indeterminate:i,inputId:n,name:l,value:o,required:r,onChange:a,class:d,...g})=>h("span",{class:$s(d),...g},h("input",{class:"gids-checkbox-control__input",type:"checkbox",disabled:s,checked:e,defaultChecked:t,required:r,indeterminate:i,value:o,id:n,name:l,onChange:a}),h(P,{class:"gids-checkbox-control__check",name:"checkmark",alt:"",size:"sm"}),h(P,{class:"gids-checkbox-control__minus",name:"minus",alt:"",size:"sm"})),{getGidsTransferListClassNames:ks}=ts,dt=Et(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.leftListHeading="Choices",this.rightListHeading="Choosen",this.moveAllVisible=!1,this.transferListType="basic",this.leftListItems=[],this.rightListItems=[],this.listsMaxHeight="200px",this.leftListItemsState=[],this.rightListItemsState=[],this.tempLeftListItemsState=[],this.tempRightListItemsState=[]}handleListsMaxHeightChange(e){this.listsMaxHeight=e}handleLeftListHeadingChange(e){this.leftListHeading=e}handleRightListHeadingChange(e){this.rightListHeading=e}handleMoveAllVisibilityChange(e){this.moveAllVisible=e}handleTransferListTypeChange(e){this.transferListType=e}handleLeftListItemsChange(e){this.leftListItems=e,this.setListItemsStates()}handleRightListItemsChange(e){this.rightListItems=e,this.setListItemsStates()}componentDidLoad(){this.setListItemsStates()}setListItemsStates(){this.leftListItemsState=this.leftListItems,this.rightListItemsState=this.rightListItems}getListHeading(e){return e==="left"?this.leftListHeading:this.rightListHeading}getListSupportingText(e){let t=this?.tempLeftListItemsState??[],s=this?.leftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[],s=this?.rightListItemsState??[]),`${t.length} of ${s.length} selected`}isAllItemsSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return t.length>0&&t.length===s.length}isAtleastOneItemSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return s.length>0&&s.length<t.length}renderListHeading(e){if((this?.transferListType??"basic")!=="basic"){const t=this.isAllItemsSelectedInList({listSide:e}),s=this.isAtleastOneItemSelectedInList({listSide:e});return h("div",{class:"gids-transfer-list__menu-heading-container"},h(be,{checked:t||s,onChange:i=>this.selectUnselectAllItems({event:i,listSide:e}),indeterminate:s}),h("div",{class:"gids-transfer-list__menu-heading-text-content-container"},h("span",{class:"gids-transfer-list__heading-text"},this.getListHeading(e)),h("span",{class:"gids-transfer-list__heading-support-text"},this.getListSupportingText(e))))}}listItemSelection({event:e,pressedIndex:t,listSide:s}){this.selectUnselectListItem({event:e,pressedIndex:t,listSide:s})}onPressingListItem({event:e,pressedIndex:t,listSide:s}){this.listItemSelection({event:e,pressedIndex:t,listSide:s})}selectUnselectListItem({event:e,pressedIndex:t,listSide:s}){const i=this.getStateListsItemsArr(s)[t];let n=!1;if(s==="left"&&i){const l=this?.tempLeftListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempLeftListItemsState=l,this.leftListItemsState=this?.leftListItemsState?[...this.leftListItemsState]:[]}else if(s==="right"&&i){const l=this?.tempRightListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempRightListItemsState=l,this.rightListItemsState=this?.rightListItemsState?[...this.rightListItemsState]:[]}this.callOnTransferListSelectFunc({event:e,isSelected:n,listSide:s,selectedIndexes:[t],selectionType:"single"})}isItemSelected({id:e,listSide:t}){const s=this.getTempListsItemsArr(t);return s.length>0&&!!s.find((i=>i?.id===e))}getStateListsItemsArr(e){let t=this?.leftListItemsState??[];return e==="right"&&(t=this?.rightListItemsState??[]),t}getTempListsItemsArr(e){let t=this?.tempLeftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[]),t}selectUnselectAllItems({event:e,listSide:t}){const s=this.getStateListsItemsArr(t),i=this.isAllItemsSelectedInList({listSide:t}),n=this.isAtleastOneItemSelectedInList({listSide:t});t==="left"?this.tempLeftListItemsState=i||n?[]:[...s]:this.tempRightListItemsState=i||n?[]:[...s];const l=[];i||n||s.map(((o,r)=>{l.push(r)})),this.callOnTransferListSelectFunc({event:e,isSelected:!i&&!n,listSide:t,selectedIndexes:l,selectionType:"all"})}callOnTransferListSelectFunc({event:e,isSelected:t,listSide:s,selectedIndexes:i,selectionType:n}){this.onTransferListSelect&&this.onTransferListSelect({originalEvent:e,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],selectedIndexes:i,selectionType:n,listSide:s,isSelected:t})}movementButtonDisabled({listSide:e,movementType:t}){if(e==="left"){const s=this?.leftListItemsState&&this.leftListItemsState.length>0?this.leftListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempLeftListItemsState&&this.tempLeftListItemsState.length>0?this.tempLeftListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}else if(e==="right"){const s=this?.rightListItemsState&&this.rightListItemsState.length>0?this.rightListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempRightListItemsState&&this.tempRightListItemsState.length>0?this.tempRightListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}return!0}callOnTransferAction({transferTo:e,transferFrom:t,movementType:s,newTransferredItems:i}){this.onTransferAction&&this.onTransferAction({transferTo:e,transferFrom:t,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],newTransferredItems:i,movementType:s})}clearListSystem({event:e,listSide:t,movementType:s}){if(console.log("event",e),console.log("listSide",t),console.log("movementType",s),!this.movementButtonDisabled({listSide:t,movementType:s})){if(t==="left")if(s==="move-single"){const i=this?.tempLeftListItemsState??[],n=this?.leftListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.leftListItemsState=[...l]}this.tempLeftListItemsState=[]}else s==="move-all"&&(this.leftListItemsState=[],this.tempLeftListItemsState=[]);else if(t==="right")if(s==="move-single"){const i=this?.tempRightListItemsState??[],n=this?.rightListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.rightListItemsState=[...l]}this.tempRightListItemsState=[]}else s==="move-all"&&(this.rightListItemsState=[],this.tempRightListItemsState=[])}}moveListItems({event:e,listSide:t,movementType:s}){if(!this.movementButtonDisabled({listSide:t,movementType:s})){const i=this?.leftListItemsState??[],n=this?.rightListItemsState??[],l=this?.tempLeftListItemsState??[],o=this?.tempRightListItemsState??[];let r=[];t==="left"?s==="move-single"?(this.rightListItemsState=[...l,...n],r=[...l]):s==="move-all"&&(this.rightListItemsState=[...i,...n],r=[...i]):t==="right"&&(s==="move-single"?(this.leftListItemsState=[...o,...i],r=[...o]):s==="move-all"&&(this.leftListItemsState=[...n,...i],r=[...n])),this.clearListSystem({event:e,listSide:t,movementType:s}),this.callOnTransferAction({transferTo:t==="left"?"right":"left",transferFrom:t,movementType:s,newTransferredItems:r})}}onItemsMovement({event:e,listSide:t,movementType:s}){this.moveListItems({event:e,listSide:t,movementType:s})}render(){const e=ks(),t=this?.leftListItemsState??[],s=this?.rightListItemsState??[],i=this.listsMaxHeight,n=this?.transferListType??"basic";return h($e,{key:"af23abfc25ed74922553ae77014870db27db3c65",class:e},h("div",{key:"ed2e464e328f851b78fbdf06a386ea67f04fa5f6",class:"gids-transfer-list__left-container"},h(rt,{key:"f75ad46e1a6195442c9e15620f6ec5fb448c7cb8",type:t.length>0?"default":"no-options"},h(at,{key:"e0dceb20b685a58bb9cd66694e7d3ca3f10ced97",heading:this.renderListHeading("left"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},t.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"left"});return h(ot,{id:""+r,index:o,leadingAccessory:h(be,{checked:a}),selected:a,onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"left"})},l?.listLabel)}))))),h("div",{key:"63725e88ac2db5e9277897f3ff769a55a4ed816b",class:"gids-transfer-list__middle-container"},h(te,{key:"197bf107f9f20676aaf700ec10d06a7b891043a5",leadingIcon:h(P,{name:"forward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-all"})}),h(te,{key:"71b9b8a578b7696ad120a64b3a25d4f0e58a3a81",leadingIcon:h(P,{name:"chevron-right"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-single"})}),h(te,{key:"4031bdec3c01724f79c28e0dec5aaac74a2b0dd2",leadingIcon:h(P,{name:"chevron-left"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-single"})}),h(te,{key:"9fe6a2e20beceab388d0ae64716ee4c81d1a3c9f",leadingIcon:h(P,{name:"backward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-all"})})),h("div",{key:"ac2254cd42151847242c01873c57fe6e79e5a761",class:"gids-transfer-list__right-container"},h(rt,{key:"5d15916805476badca7fbb53b8b93b58adf07c2b",type:s.length>0?"default":"no-options"},h(at,{key:"cbdb401f8e6517b2de5b7d8c12a2acc6742501b3",heading:this.renderListHeading("right"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},s.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"right"});return h(ot,{id:""+r,index:o,selected:a,leadingAccessory:h(be,{checked:a}),onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"right"})},l?.listLabel)}))))))}get hostElement(){return this}static get watchers(){return{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}}static get style(){return".gids-transfer-list{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-500)}.gids-transfer-list .gids-menu__children{max-height:var(--gidsMenuChildren-max-height);overflow:auto}.gids-transfer-list__left-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__middle-container{display:flex;width:15%;flex-direction:column;gap:var(--gids-gap-150)}.gids-transfer-list__right-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__menu-heading-container{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-transfer-list__menu-heading-text-content-container{display:flex;flex-direction:column}.gids-transfer-list__heading-text{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle)}.gids-transfer-list__heading-support-text{font-family:var(--gids-typography-paragraph-medium__font-family);font-size:var(--gids-typography-paragraph-medium__font-size);font-weight:var(--gids-typography-paragraph-medium__font-weight);letter-spacing:var(--gids-typography-paragraph-medium__letter-spacing);line-height:var(--gids-typography-paragraph-medium__line-height);text-transform:var(--gids-typography-paragraph-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-medium__font-variant-caps, inherit);color:var(--gids-color-text-subtlest)}"}},[0,"gids-transfer-list",{leftListHeading:[1,"left-list-heading"],rightListHeading:[1,"right-list-heading"],moveAllVisible:[4,"move-all-visible"],transferListType:[1,"transfer-list-type"],leftListItems:[16],rightListItems:[16],listsMaxHeight:[1,"lists-max-height"],onTransferAction:[16],onTransferListSelect:[16],leftListItemsState:[32],rightListItemsState:[32],tempLeftListItemsState:[32],tempRightListItemsState:[32]},void 0,{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}]);function ct(){typeof customElements<"u"&&["gids-transfer-list"].forEach((e=>{e==="gids-transfer-list"&&(customElements.get(e)||customElements.define(e,dt))}))}ct();const Os=dt,As=ct;M.GidsTransferList=Os,M.defineCustomElement=As,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));