@ebrains/vue 2.3.1 → 2.4.1

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 (239) hide show
  1. package/{color-primary-palette_6.entry-DrH0oCGM.mjs → color-primary-palette_6.entry-Bu_NLVB8.mjs} +19 -19
  2. package/color-primary-palette_6.entry-D_UPeprg.js +1 -0
  3. package/components-section.entry-DH6-Re45.js +170 -0
  4. package/{components-section.entry-BfONYWjk.mjs → components-section.entry-D_miX_kF.mjs} +56 -30
  5. package/correct-use-of-colors.entry-Bhx9MLwE.js +1 -0
  6. package/{correct-use-of-colors.entry-BQyBCd9s.mjs → correct-use-of-colors.entry-atuVKYhV.mjs} +2 -2
  7. package/{docs-palettes.entry-B5ymfyqq.mjs → docs-palettes.entry-DIGw3y0-.mjs} +2 -2
  8. package/{docs-palettes.entry-f4oFC9pT.js → docs-palettes.entry-Dq183o_C.js} +1 -1
  9. package/{docs-tokens.entry-C30AEFLf.js → docs-tokens.entry-C-jQouTP.js} +1 -1
  10. package/{docs-tokens.entry-BqCJ_bR2.mjs → docs-tokens.entry-C3SVC1fp.mjs} +2 -2
  11. package/{eds-accordion_36.entry-D_s5vq31.js → eds-accordion_37.entry-BiVSln-D.js} +15 -15
  12. package/{eds-accordion_36.entry-OIRzmPqH.mjs → eds-accordion_37.entry-iqVtN8HO.mjs} +768 -485
  13. package/eds-app-root.entry-CeUeBKtA.js +1 -0
  14. package/{eds-app-root.entry-B2qjnCKZ.mjs → eds-app-root.entry-CeX99_k5.mjs} +5 -5
  15. package/{eds-card-desc_2.entry-JSaiGlWo.mjs → eds-card-desc_2.entry-47f99PgL.mjs} +6 -6
  16. package/{eds-card-desc_2.entry-CEdehyoF.js → eds-card-desc_2.entry-DVhpMDCC.js} +1 -1
  17. package/{eds-card-generic.entry-CE3mg-AA.mjs → eds-card-generic.entry-BN0cAIjx.mjs} +2 -2
  18. package/{eds-card-generic.entry-q2hRndNN.js → eds-card-generic.entry-C7dumh_d.js} +1 -1
  19. package/{eds-card-project.entry-XdMxPIjJ.js → eds-card-project.entry-Bs6HDiv5.js} +1 -1
  20. package/{eds-card-project.entry-DRDKqRkj.mjs → eds-card-project.entry-CIle50ek.mjs} +2 -2
  21. package/{eds-card-section.entry-Cm-ZV6Cx.js → eds-card-section.entry-B0gx3iBP.js} +1 -1
  22. package/{eds-card-section.entry-C25vEF76.mjs → eds-card-section.entry-DcJjEWy4.mjs} +1 -1
  23. package/eds-card-tags.entry-BvjgMZHS.js +1 -0
  24. package/eds-card-tags.entry-CrCmugvS.mjs +13 -0
  25. package/{eds-card-tool.entry-CajyPzSy.mjs → eds-card-tool.entry-BLHrGC24.mjs} +5 -5
  26. package/{eds-card-tool.entry-BveA8TjH.js → eds-card-tool.entry-CRo_PlMg.js} +1 -1
  27. package/{eds-cookies-preference.entry-DaKfLqmp.js → eds-cookies-preference.entry-BlhfUQGP.js} +1 -1
  28. package/{eds-cookies-preference.entry-8lSpYPIu.mjs → eds-cookies-preference.entry-orfJ6v1-.mjs} +2 -2
  29. package/{eds-feedback.entry-L3lpUzUa.js → eds-feedback.entry-CENTWWmw.js} +1 -1
  30. package/{eds-feedback.entry-D2JBpbuO.mjs → eds-feedback.entry-IiD44v5J.mjs} +7 -7
  31. package/eds-footer.entry-BrdeRRWG.js +1 -0
  32. package/{eds-footer.entry-lgz63hSP.mjs → eds-footer.entry-CedTdwJJ.mjs} +6 -6
  33. package/{eds-frame.entry-DdG1oAra.js → eds-frame.entry-DGIky_UQ.js} +1 -1
  34. package/{eds-frame.entry-BtnzcxcH.mjs → eds-frame.entry-Dm2AoUjK.mjs} +2 -2
  35. package/{eds-fullscreen-menu.entry-DvDq0ito.js → eds-fullscreen-menu.entry-DEInQhVD.js} +1 -1
  36. package/{eds-fullscreen-menu.entry-DAZhoTND.mjs → eds-fullscreen-menu.entry-H3BfixzP.mjs} +1 -1
  37. package/{eds-gauge.entry-CfR1mVTp.js → eds-gauge.entry-CSQjNE8G.js} +1 -1
  38. package/{eds-gauge.entry-DK8rYXuW.mjs → eds-gauge.entry-CegaC4T5.mjs} +6 -6
  39. package/eds-icon-arrow-diagonal.entry-DCeVPrzI.js +1 -0
  40. package/eds-icon-arrow-diagonal.entry-DUBT5gmZ.mjs +13 -0
  41. package/eds-icon-arrow-right.entry-DeeJz26V.js +1 -0
  42. package/eds-icon-arrow-right.entry-ys90lkId.mjs +13 -0
  43. package/eds-icon-bin.entry-BqKuRtcB.js +1 -0
  44. package/eds-icon-bin.entry-Diuv79fG.mjs +13 -0
  45. package/{eds-icon-youtube.entry-BaNHFvIO.js → eds-icon-bluesky.entry-CCCEjd-y.js} +1 -1
  46. package/eds-icon-bluesky.entry-DPcbyQIX.mjs +13 -0
  47. package/eds-icon-bookmark.entry-CNi2eOQP.js +1 -0
  48. package/eds-icon-bookmark.entry-DqaUoSk8.mjs +13 -0
  49. package/{eds-icon-chevron-down.entry-DCKfsEzK.js → eds-icon-chevron-down.entry-CAfN7jv8.js} +1 -1
  50. package/eds-icon-chevron-down.entry-DpWqEoSw.mjs +13 -0
  51. package/eds-icon-chevron-left.entry-B3-89dPa.mjs +13 -0
  52. package/{eds-icon-chevron-left.entry-Cpvz8_qB.js → eds-icon-chevron-left.entry-DXy-uPJ6.js} +1 -1
  53. package/eds-icon-chevron-right.entry-B2deV1ft.mjs +13 -0
  54. package/{eds-icon-chevron-right.entry-3iaetQU7.js → eds-icon-chevron-right.entry-Q6NB8--v.js} +1 -1
  55. package/eds-icon-chevron-up.entry-CVuCOpxj.js +1 -0
  56. package/{eds-icon-chevron-up.entry-CQz9dAna.mjs → eds-icon-chevron-up.entry-Cd9KapmF.mjs} +2 -2
  57. package/eds-icon-clone.entry-DOvIaPJe.js +1 -0
  58. package/eds-icon-clone.entry-H4Wvfws-.mjs +13 -0
  59. package/{eds-icon-close.entry-CVZtnr71.js → eds-icon-close.entry-C-xtrS5I.js} +1 -1
  60. package/eds-icon-close.entry-CBg4VZtg.mjs +13 -0
  61. package/{eds-icon-copy.entry-DJlXZz7u.mjs → eds-icon-copy.entry-BZeL-13N.mjs} +2 -2
  62. package/{eds-icon-copy.entry-BdVqL5HQ.js → eds-icon-copy.entry-DZTBQzL5.js} +1 -1
  63. package/eds-icon-download.entry-BT4ZoH91.js +1 -0
  64. package/eds-icon-download.entry-DwZLr47B.mjs +13 -0
  65. package/eds-icon-draft.entry-4_H4nfUM.mjs +13 -0
  66. package/{eds-icon-draft.entry-D0pZIef2.js → eds-icon-draft.entry-BVMefQgn.js} +1 -1
  67. package/{eds-icon-edit.entry-Fw9tQGLT.mjs → eds-icon-edit.entry-gGJ6H4K1.mjs} +2 -2
  68. package/eds-icon-edit.entry-smkFgw3g.js +1 -0
  69. package/eds-icon-eu.entry-CatpU-Lw.js +1 -0
  70. package/eds-icon-eu.entry-D6StNwBO.mjs +13 -0
  71. package/eds-icon-external.entry-C6lH5vga.js +1 -0
  72. package/eds-icon-external.entry-DnKkZ-rL.mjs +13 -0
  73. package/eds-icon-facebook.entry-Csd3tQkO.mjs +13 -0
  74. package/{eds-icon-facebook.entry-DEsgrVAe.js → eds-icon-facebook.entry-MP23ghjh.js} +1 -1
  75. package/eds-icon-gitlab.entry-CBbCyPR8.mjs +13 -0
  76. package/eds-icon-gitlab.entry-bAaZiq_9.js +1 -0
  77. package/eds-icon-linkedin.entry-D-lzxn5S.mjs +13 -0
  78. package/{eds-icon-linkedin.entry-BFb_55Kg.js → eds-icon-linkedin.entry-DrvBbCUX.js} +1 -1
  79. package/eds-icon-loader.entry-Bn_y-oQY.mjs +13 -0
  80. package/eds-icon-loader.entry-DkDFBZWo.js +1 -0
  81. package/eds-icon-mastodon.entry-D9Dfmjcx.js +1 -0
  82. package/eds-icon-mastodon.entry-XCwW01ia.mjs +13 -0
  83. package/eds-icon-menu.entry-BgYdenVL.js +1 -0
  84. package/eds-icon-menu.entry-DR9cg1LH.mjs +13 -0
  85. package/{eds-icon-minus.entry-Dj8YNAz6.js → eds-icon-minus.entry-B1ORC3G4.js} +1 -1
  86. package/eds-icon-minus.entry-CmsuYKRr.mjs +13 -0
  87. package/eds-icon-more.entry-CBzKZ-hP.mjs +13 -0
  88. package/eds-icon-more.entry-CWeMvkHw.js +1 -0
  89. package/{eds-icon-paper.entry-2HOzYzPp.mjs → eds-icon-paper.entry-DQPGEFLb.mjs} +2 -2
  90. package/eds-icon-paper.entry-a5wd3Gm_.js +1 -0
  91. package/eds-icon-plus.entry-CwqfoxfE.mjs +13 -0
  92. package/{eds-icon-plus.entry-Dmukl4FF.js → eds-icon-plus.entry-FtgdBolw.js} +1 -1
  93. package/{eds-icon-portal.entry-DEranrXL.js → eds-icon-portal.entry-Cvrsd6Z9.js} +1 -1
  94. package/eds-icon-portal.entry-DEpCX6WM.mjs +13 -0
  95. package/{eds-icon-private.entry-uZ04Kx8T.js → eds-icon-private.entry-B7qVRLBM.js} +1 -1
  96. package/eds-icon-private.entry-tRLd5XA9.mjs +13 -0
  97. package/eds-icon-public.entry-BsbSjJmd.mjs +13 -0
  98. package/{eds-icon-public.entry-BosU_BdI.js → eds-icon-public.entry-Co7iCe6S.js} +1 -1
  99. package/eds-icon-search.entry-BE7IvjFK.mjs +13 -0
  100. package/{eds-icon-search.entry-DXMAgZtb.js → eds-icon-search.entry-CTM32yZu.js} +1 -1
  101. package/eds-icon-star.entry-ByW2sBEI.mjs +13 -0
  102. package/eds-icon-star.entry-TMeFG-1o.js +1 -0
  103. package/{eds-icon-start.entry-BOGqI_Zx.js → eds-icon-start.entry-CKAV9_OO.js} +1 -1
  104. package/{eds-icon-start.entry-BligjraL.mjs → eds-icon-start.entry-DlOqxc0b.mjs} +2 -2
  105. package/{eds-icon-success.entry-CkZ-hQg_.mjs → eds-icon-success.entry-Yn6PK4Zw.mjs} +2 -2
  106. package/{eds-icon-success.entry-KtxWn1RS.js → eds-icon-success.entry-fqtMu_34.js} +1 -1
  107. package/{eds-icon-thumbs-down.entry-4MLWZzFs.js → eds-icon-thumbs-down.entry-CTASn1on.js} +1 -1
  108. package/eds-icon-thumbs-down.entry-ClgZLWjR.mjs +13 -0
  109. package/eds-icon-thumbs-up.entry-B8YfZp04.mjs +13 -0
  110. package/{eds-icon-thumbs-up.entry-Bq_-hCP9.js → eds-icon-thumbs-up.entry-C3NvXsfN.js} +1 -1
  111. package/eds-icon-tutorial.entry-9BzYYDml.js +1 -0
  112. package/eds-icon-tutorial.entry-BL0YtLk5.mjs +13 -0
  113. package/eds-icon-twitter.entry-DvOhv-Zv.mjs +13 -0
  114. package/{eds-icon-twitter.entry-CBQzsZQg.js → eds-icon-twitter.entry-DvWltZ0l.js} +1 -1
  115. package/{eds-icon-unknown.entry-IdG8hRR5.js → eds-icon-unknown.entry-BkbijHAz.js} +1 -1
  116. package/eds-icon-unknown.entry-RV9lGwVw.mjs +13 -0
  117. package/eds-icon-updown.entry--bSjaAr9.js +1 -0
  118. package/eds-icon-updown.entry-BOMR6G6W.mjs +13 -0
  119. package/eds-icon-user.entry-BTA7pRtV.mjs +13 -0
  120. package/eds-icon-user.entry-CGRmPtP9.js +1 -0
  121. package/eds-icon-view.entry-BEUJmkpH.mjs +13 -0
  122. package/{eds-icon-view.entry-C2TAG_UB.js → eds-icon-view.entry-DxxsBmgu.js} +1 -1
  123. package/{eds-icon-youtube.entry-B-MgX6q3.mjs → eds-icon-youtube.entry-CCxg5AfC.mjs} +2 -2
  124. package/eds-icon-youtube.entry-CHsnJLcZ.js +1 -0
  125. package/{eds-modal.entry-D-mwZo-T.mjs → eds-modal.entry-BO6fBn7S.mjs} +4 -4
  126. package/{eds-modal.entry-sR4mB0iD.js → eds-modal.entry-N_75WknZ.js} +1 -1
  127. package/{eds-pie.entry-C6II_yNh.js → eds-pie.entry-B7D4RpIu.js} +1 -1
  128. package/{eds-pie.entry-Ao341DGu.mjs → eds-pie.entry-CV158hnV.mjs} +1 -1
  129. package/{eds-progress-bar.entry-BFTP8aYS.mjs → eds-progress-bar.entry-DHhah3DK.mjs} +2 -2
  130. package/{eds-progress-bar.entry-DGXjsgeL.js → eds-progress-bar.entry-DmBZPxp5.js} +1 -1
  131. package/{eds-section-core_2.entry-BTgmBGl8.mjs → eds-section-core_2.entry-CU4wFaLD.mjs} +4 -4
  132. package/{eds-section-core_2.entry-BKg81SPT.js → eds-section-core_2.entry-DYLrsiab.js} +1 -1
  133. package/{eds-social-networks.entry-xLqCID8a.js → eds-social-networks.entry-D4eMtN7o.js} +1 -1
  134. package/{eds-social-networks.entry-D8eDVJPb.mjs → eds-social-networks.entry-DqDyiMFN.mjs} +5 -5
  135. package/{eds-splash-screen.entry-ClPuRKUl.js → eds-splash-screen.entry-Bbfx70O2.js} +1 -1
  136. package/{eds-splash-screen.entry-DmCV3MXi.mjs → eds-splash-screen.entry-Bnvw1i76.mjs} +1 -1
  137. package/{eds-timeline.entry-BaQUehpq.js → eds-timeline.entry-D-KKP95A.js} +1 -1
  138. package/{eds-timeline.entry-W8FoF5oJ.mjs → eds-timeline.entry-MZBjYarp.mjs} +2 -2
  139. package/{eds-toast-manager.entry-DWl9fgn0.js → eds-toast-manager.entry-31iHKHvJ.js} +1 -1
  140. package/{eds-toast-manager.entry-DUVenNyT.mjs → eds-toast-manager.entry-O_hdV6wU.mjs} +5 -5
  141. package/{eds-trl.entry-D6vG2mWW.mjs → eds-trl.entry-CHjA17at.mjs} +4 -4
  142. package/{eds-trl.entry-DBwTKTxt.js → eds-trl.entry-QhZ_qlNx.js} +1 -1
  143. package/generated/components.d.ts +1 -0
  144. package/incorrect-use-of-colors.entry-B1L0v9B4.js +1 -0
  145. package/incorrect-use-of-colors.entry-Bo4jLbkN.mjs +42 -0
  146. package/{index-D7ZVgmVD.js → index-BkPrVkIG.js} +7 -7
  147. package/{index-D2V9qb42.mjs → index-CIU5mTWe.mjs} +109 -99
  148. package/index.js +1 -1
  149. package/index.mjs +10 -9
  150. package/{logo-space.entry-CMTLV21z.js → logo-space.entry-BGc6pgeF.js} +2 -2
  151. package/{logo-space.entry-Co_MaYMy.mjs → logo-space.entry-BLMhmFmG.mjs} +3 -3
  152. package/{logo-variations-horizontal_2.entry-BAN1YWPa.js → logo-variations-horizontal_2.entry-CEtudMmO.js} +3 -3
  153. package/{logo-variations-horizontal_2.entry-CAfr9XEN.mjs → logo-variations-horizontal_2.entry-DexMRkpk.mjs} +10 -10
  154. package/{logo-variations-tabs.entry-Bgh0bg85.js → logo-variations-tabs.entry-BQxBA6af.js} +1 -1
  155. package/{logo-variations-tabs.entry-DT1PF7O4.mjs → logo-variations-tabs.entry-BY-IWquf.mjs} +6 -6
  156. package/{logo-wrong-usage.entry-CnFwuEO4.js → logo-wrong-usage.entry-CPVPtAaZ.js} +1 -1
  157. package/{logo-wrong-usage.entry-DY5zb6ul.mjs → logo-wrong-usage.entry-M2L7POvI.mjs} +7 -7
  158. package/package.json +1 -1
  159. package/{svg-repository.entry-ox1iNbzZ.mjs → svg-repository.entry-CqUFAuPA.mjs} +20 -20
  160. package/{svg-repository.entry-D06o8plo.js → svg-repository.entry-nY39Z0hv.js} +2 -2
  161. package/{token-list_3.entry-0hJzShZ3.js → token-list_3.entry-BDvROoe2.js} +1 -1
  162. package/{token-list_3.entry-BWuV9Gkz.mjs → token-list_3.entry-Bi4T4TzA.mjs} +12 -12
  163. package/token-ratios.entry-CQR23PF9.js +1 -0
  164. package/{token-ratios.entry-D9oauoqY.mjs → token-ratios.entry-RrS5TAyw.mjs} +4 -4
  165. package/token-spacing.entry-B1bI3Gg9.mjs +12 -0
  166. package/token-spacing.entry-D7J3g9Gs.js +1 -0
  167. package/{token-typography.entry-DgYpzqvE.js → token-typography.entry-BK0pYTtQ.js} +2 -2
  168. package/{token-typography.entry-DzlUlv-t.mjs → token-typography.entry-CKSwl8jj.mjs} +2 -2
  169. package/{up-and-down-d747abee-CWoZjUyq.js → up-and-down-8b69ca97-DOjnLWEi.js} +1 -1
  170. package/color-primary-palette_6.entry-CfQGGuRD.js +0 -1
  171. package/components-section.entry-DGZRQBlO.js +0 -159
  172. package/correct-use-of-colors.entry-DHWb2jEj.js +0 -1
  173. package/eds-app-root.entry-DsYNcKto.js +0 -1
  174. package/eds-card-tags.entry-D999lMh0.mjs +0 -13
  175. package/eds-card-tags.entry-DvklSkOA.js +0 -1
  176. package/eds-footer.entry-Bjxl2Jps.js +0 -1
  177. package/eds-icon-arrow-diagonal.entry-CXOMAu9e.mjs +0 -13
  178. package/eds-icon-arrow-diagonal.entry-DaV9bL-M.js +0 -1
  179. package/eds-icon-arrow-right.entry-BTH9oT9d.mjs +0 -13
  180. package/eds-icon-arrow-right.entry-DR_GKz4u.js +0 -1
  181. package/eds-icon-bin.entry-B3Pqgz5d.mjs +0 -13
  182. package/eds-icon-bin.entry-C8xRiMW-.js +0 -1
  183. package/eds-icon-bluesky.entry-D6Ur1xha.js +0 -1
  184. package/eds-icon-bluesky.entry-dIkmKjZq.mjs +0 -13
  185. package/eds-icon-bookmark.entry-CatvnZ8D.js +0 -1
  186. package/eds-icon-bookmark.entry-MgB9aDYp.mjs +0 -13
  187. package/eds-icon-chevron-down.entry-JIk8kgjp.mjs +0 -13
  188. package/eds-icon-chevron-left.entry-Cejb7CVs.mjs +0 -13
  189. package/eds-icon-chevron-right.entry-DlEcC-dY.mjs +0 -13
  190. package/eds-icon-chevron-up.entry-BxklMpW7.js +0 -1
  191. package/eds-icon-clone.entry-Cj8jelGI.mjs +0 -13
  192. package/eds-icon-clone.entry-pNMtVvVy.js +0 -1
  193. package/eds-icon-close.entry-vsUXoSdD.mjs +0 -13
  194. package/eds-icon-download.entry-BRgYY00f.mjs +0 -13
  195. package/eds-icon-download.entry-CUqWSODa.js +0 -1
  196. package/eds-icon-draft.entry-9l1r2S0_.mjs +0 -13
  197. package/eds-icon-edit.entry-BLEILlWL.js +0 -1
  198. package/eds-icon-eu.entry-S2sljASu.js +0 -1
  199. package/eds-icon-eu.entry-tLS0bERD.mjs +0 -13
  200. package/eds-icon-external.entry-7gQYFOgK.mjs +0 -13
  201. package/eds-icon-external.entry-DMreALlL.js +0 -1
  202. package/eds-icon-facebook.entry-BVfjOI-r.mjs +0 -13
  203. package/eds-icon-gitlab.entry-BZHD0dyy.js +0 -1
  204. package/eds-icon-gitlab.entry-BxpM3-zK.mjs +0 -13
  205. package/eds-icon-linkedin.entry-xthdjkIl.mjs +0 -13
  206. package/eds-icon-loader.entry-BmCBWSnQ.mjs +0 -13
  207. package/eds-icon-loader.entry-CjtBdDRx.js +0 -1
  208. package/eds-icon-mastodon.entry-BsU1549V.js +0 -1
  209. package/eds-icon-mastodon.entry-CTY46s8O.mjs +0 -13
  210. package/eds-icon-menu.entry-BQE60FWM.js +0 -1
  211. package/eds-icon-menu.entry-CM_oV7jr.mjs +0 -13
  212. package/eds-icon-minus.entry-4uG0EFSV.mjs +0 -13
  213. package/eds-icon-more.entry-BC7vBEMh.mjs +0 -13
  214. package/eds-icon-more.entry-BqnW_B0X.js +0 -1
  215. package/eds-icon-paper.entry-CamD3jYB.js +0 -1
  216. package/eds-icon-plus.entry-Fze8JWzj.mjs +0 -13
  217. package/eds-icon-portal.entry-Bf7uGtTv.mjs +0 -13
  218. package/eds-icon-private.entry--VmMOwfZ.mjs +0 -13
  219. package/eds-icon-public.entry-cH-eMcFb.mjs +0 -13
  220. package/eds-icon-search.entry-D1MRPqBb.mjs +0 -13
  221. package/eds-icon-star.entry-BCztkxPy.mjs +0 -13
  222. package/eds-icon-star.entry-DcrtQrp6.js +0 -1
  223. package/eds-icon-thumbs-down.entry-ZPrwU1lc.mjs +0 -13
  224. package/eds-icon-thumbs-up.entry-CNfdKYCe.mjs +0 -13
  225. package/eds-icon-tutorial.entry-i2jr4Oh6.js +0 -1
  226. package/eds-icon-tutorial.entry-iIVFjAdC.mjs +0 -13
  227. package/eds-icon-twitter.entry-CsGrYx_N.mjs +0 -13
  228. package/eds-icon-unknown.entry-bdjmAxgB.mjs +0 -13
  229. package/eds-icon-updown.entry-CLfhJP-T.mjs +0 -13
  230. package/eds-icon-updown.entry-CW02FgUY.js +0 -1
  231. package/eds-icon-user.entry-BP2yTD78.mjs +0 -13
  232. package/eds-icon-user.entry-Cub0XchX.js +0 -1
  233. package/eds-icon-view.entry-DFYbsvF3.mjs +0 -13
  234. package/incorrect-use-of-colors.entry-Cl2NX0X-.js +0 -1
  235. package/incorrect-use-of-colors.entry-DnHqa9-r.mjs +0 -42
  236. package/token-ratios.entry-6CAy6F1y.js +0 -1
  237. package/token-spacing.entry-CG_jcajr.js +0 -1
  238. package/token-spacing.entry-DIG10-RZ.mjs +0 -12
  239. /package/{up-and-down-d747abee-D7g6H0T0.mjs → up-and-down-8b69ca97-D7g6H0T0.mjs} +0 -0
@@ -1,12 +1,12 @@
1
- import { r as m, c as v, h as i, g as y, H as ln } from "./index-D2V9qb42.mjs";
2
- import { s as A, m as fn, a as en } from "./analytics-d99780e3-Bay18Oil.mjs";
1
+ import { r as u, c as v, h as i, g as y, H as Z } from "./index-CIU5mTWe.mjs";
2
+ import { s as A, m as fn, a as tn } from "./analytics-d99780e3-Bay18Oil.mjs";
3
3
  import { c as P } from "./index-39c58238-BwYCDOHZ.mjs";
4
- import { p as R } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
- import { h as tn } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
- import { h as bn, a as pn, b as un, c as mn, v as xn, d as yn, e as vn, f as wn, g as kn } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
7
- const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", Cn = Sn, En = class {
4
+ import { p as N } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
5
+ import { h as rn } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
6
+ import { h as bn, a as mn, b as pn, c as un, v as xn, d as yn, e as vn, f as wn, g as kn } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
7
+ const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", Cn = Sn, zn = class {
8
8
  constructor(n) {
9
- m(this, n), this.accordion = v(this, "accordion", 7), this.handleClick = () => {
9
+ u(this, n), this.accordion = v(this, "accordion", 7), this.handleClick = () => {
10
10
  var e;
11
11
  this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), A({
12
12
  category: "ui-component",
@@ -37,17 +37,17 @@ const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
37
37
  * Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
38
38
  */
39
39
  render() {
40
- return i("div", { key: "d162692cb9a99b6a1b9b736b828214c9d425046e", ref: (n) => this.wrapperRef = n, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
40
+ return i("div", { key: "095474500f7c60f20e4d737188001d2f3084dbcc", ref: (n) => this.wrapperRef = n, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
41
41
  ${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
42
42
  ${this.switchBg ? "hover:bg-inverse" : ""}
43
- ${this.description ? "min-h-56" : ""}` }, i("h3", { key: "3770e241daa7e4696c5481c97965fb2ebe0b17f9", ref: (n) => this.headerRef = n, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), i("div", { key: "56b7b70d16cf3f944bf3cec878bd15c3e18b399b", class: "ml-auto" }, i("eds-button", { key: "4b770831f155f7e77a424b9dd3ec0a8708a0859f", id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md", onClick: this.handleClick, icon: "chevron-down" })), i("div", { key: "c75c4d840bc8be25ee7590d90e3290faf090fdf0", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? i("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, i("section", { key: "b78b8f7fa93a85c886136cac8119d7b94de2a129", id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, i("div", { key: "75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045", ref: (n) => this.childContentRef = n, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, i("span", { key: "e08cefc1d6fe7f3d162de86a17646d88a8686d83", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, i("slot", { key: "77d3a7fb997a9f313e3013a17f87c28f7ff8adad" }))))));
43
+ ${this.description ? "min-h-56" : ""}` }, i("h3", { key: "f090fbe3632df8302046f1178e82b8affc4cc821", ref: (n) => this.headerRef = n, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), i("div", { key: "0a30ab8c27cadbb342fc57f6393111c84f10a664", class: "ml-auto" }, i("eds-button", { key: "01f4658df8181b63b71a2e0d2a67e8f8b58efbb7", id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md", onClick: this.handleClick, icon: "chevron-down" })), i("div", { key: "9f3b5a0e425c2dffe3b6fe40fa33b020d64256d8", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? i("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, i("section", { key: "414735d7d982de76d8a1b8db24aa9a569eba37c7", id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${this.isExpanded ? "" : "overflow-hidden"}`, style: { height: this.isExpanded ? "auto" : "0" } }, i("div", { key: "11097a0646b18f728af494c14aa4cc0e5335defe", ref: (n) => this.childContentRef = n, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, i("span", { key: "88414c40490aa77166d23868f16556b9356279a7", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, i("slot", { key: "8070a7676ca8fba065f813852a2e0cf4146f3374" }))))));
44
44
  }
45
45
  get el() {
46
46
  return y(this);
47
47
  }
48
48
  };
49
- En.style = Cn;
50
- const zn = `*,
49
+ zn.style = Cn;
50
+ const En = `*,
51
51
  ::before,
52
52
  ::after {
53
53
  box-sizing: border-box;
@@ -211,7 +211,7 @@ p {
211
211
 
212
212
  .after\\:border-softest::after {
213
213
  border-color: rgba(0, 0, 0, .05);
214
- }`, Fn = zn, In = P(["w-full bg-dark"], {
214
+ }`, Fn = En, In = P(["w-full bg-dark"], {
215
215
  variants: {
216
216
  intent: {
217
217
  default: "",
@@ -261,7 +261,7 @@ p {
261
261
  }
262
262
  }), An = class {
263
263
  constructor(n) {
264
- m(this, n), this.edsalert = v(this, "edsalert", 7), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
264
+ u(this, n), this.edsalert = v(this, "edsalert", 7), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
265
265
  }
266
266
  componentWillLoad() {
267
267
  this.withBtn = !!this.pressableLabel;
@@ -285,12 +285,12 @@ p {
285
285
  }
286
286
  render() {
287
287
  const n = this.intent !== "default" ? `${this.intent} alert` : "alert";
288
- return i("div", { key: "33781ae5fb8504158e8fe780a76d89566a39e914", class: In({
288
+ return i("div", { key: "d8f0a45ddbaf3d3eb284751e33ddfdce2e13b67a", class: In({
289
289
  intent: this.intent,
290
290
  brd: this.brd,
291
291
  direction: this.direction,
292
292
  withBtn: this.withBtn
293
- }), role: "alert", "aria-label": n, "aria-live": this.intent === "error" ? "assertive" : "polite", "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? "alert-action" : void 0 }, i("p", { key: "fb3a1d216279b4076b09ef9544d37c5229b4d706", id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && i("div", { key: "a5edd833ae3924f41edb17068090eeeb4e9f9cfd", id: "alert-action" }, this.pressableUrl ? i("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: !0 }) : i("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() })));
293
+ }), role: "alert", "aria-label": n, "aria-live": this.intent === "error" ? "assertive" : "polite", "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? "alert-action" : void 0 }, i("p", { key: "179862c141a2ce05fa9f8562be7e64196baa3922", id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && i("div", { key: "3677358bd563a3e2ee1b74309dc4fb6c84ac475f", id: "alert-action" }, this.pressableUrl ? i("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: !0 }) : i("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() })));
294
294
  }
295
295
  get el() {
296
296
  return y(this);
@@ -500,7 +500,7 @@ abbr:where([title]) {
500
500
  background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
501
501
  }`, _n = Ln, Tn = class {
502
502
  constructor(n) {
503
- m(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
503
+ u(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
504
504
  }
505
505
  /**
506
506
  * Flag to render the avatar with rounded (pill) shape if `true`.
@@ -544,22 +544,22 @@ abbr:where([title]) {
544
544
  * @returns {JSX.Element} The rendered avatar component.
545
545
  */
546
546
  render() {
547
- return i("div", { key: "d29c110e340567236716e77c4f003bec5c70ee63", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
547
+ return i("div", { key: "7b5bf31c794c9bbddd2976fdd5a273842a75603a", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
548
548
  }
549
549
  };
550
550
  Tn.style = _n;
551
- const Dn = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", $n = Dn, Rn = class {
551
+ const Dn = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", $n = Dn, Nn = class {
552
552
  constructor(n) {
553
- m(this, n), this.inverse = !1;
553
+ u(this, n), this.inverse = !1;
554
554
  }
555
555
  render() {
556
- return i("hr", { key: "0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
556
+ return i("hr", { key: "dd9b98d66f195135ff2fb1374a56d4c670e43d3e", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
557
557
  }
558
558
  };
559
- Rn.style = $n;
560
- const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", Nn = On, Pn = class {
559
+ Nn.style = $n;
560
+ const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", Rn = On, Pn = class {
561
561
  constructor(n) {
562
- m(this, n), this.updateScreenSize = () => {
562
+ u(this, n), this.updateScreenSize = () => {
563
563
  const e = window.innerWidth;
564
564
  e < 769 ? this.maxVisibleItems = 3 : e <= 1024 ? this.maxVisibleItems = 3 : e <= 1280 ? this.maxVisibleItems = 3 : e <= 2200 ? this.maxVisibleItems = 4 : this.maxVisibleItems = 6;
565
565
  }, this.items = [], this.intent = "ghost", this.parsedItems = [], this.isSmallScreen = !1, this.maxVisibleItems = 6;
@@ -568,7 +568,7 @@ const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
568
568
  * Watches for changes to the `items` prop and parses it.
569
569
  */
570
570
  parseItems(n) {
571
- this.parsedItems = R(n);
571
+ this.parsedItems = N(n);
572
572
  }
573
573
  /**
574
574
  * Lifecycle method that runs when the component is about to be loaded.
@@ -638,7 +638,7 @@ const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
638
638
  */
639
639
  render() {
640
640
  const n = this.getTruncatedItems();
641
- return i("nav", { key: "27ddf744a07f1b697e549cdc6d2a66f65ebe6386", "aria-label": "Breadcrumb" }, i("ol", { key: "43ac089290c0a6f9b3c5cd629def8540966637b8", class: "flex items-center space-x-2" }, n.map((e, t) => {
641
+ return i("nav", { key: "4894fb9e6b37ef84880a62f4dcd3289dcb9cab38", "aria-label": "Breadcrumb" }, i("ol", { key: "d69405fcee024465d645d9cdbb17189998a94b95", class: "flex items-center space-x-2" }, n.map((e, t) => {
642
642
  const r = t === n.length - 1;
643
643
  return i("li", { class: "flex items-center" }, e.isHidden ? i("eds-link", { label: "...", url: "#", intent: "strong", current: !1, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" }) : (() => {
644
644
  const { fullLabel: l } = this.getLabels(e, r), a = r ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
@@ -655,8 +655,8 @@ const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
655
655
  };
656
656
  }
657
657
  };
658
- Pn.style = Nn;
659
- const Hn = `*,
658
+ Pn.style = Rn;
659
+ const jn = `*,
660
660
  ::before,
661
661
  ::after {
662
662
  box-sizing: border-box;
@@ -1569,9 +1569,9 @@ button,
1569
1569
 
1570
1570
  .hover\\:before\\:opacity-100:hover::before {
1571
1571
  opacity: 1;
1572
- }`, jn = Hn, Wn = class {
1572
+ }`, Hn = jn, Wn = class {
1573
1573
  constructor(n) {
1574
- m(this, n), this.button = P([
1574
+ u(this, n), this.button = P([
1575
1575
  "relative inline-flex items-center",
1576
1576
  "py-8",
1577
1577
  "effect-focus effect-color",
@@ -1669,7 +1669,7 @@ button,
1669
1669
  pill: !1,
1670
1670
  size: "small"
1671
1671
  }
1672
- }), this.parentContext = null, this.label = void 0, this.ariaLabel = "Button", this.elementType = "button", this.intent = "secondary", this.loading = !1, this.disabled = !1, this.pill = !1, this.icon = void 0, this.size = "small", this.iconPos = "right", this.iconSmall = !1, this.extraClass = void 0, this.triggerClick = void 0;
1672
+ }), this.parentContext = null, this.label = void 0, this.ariaLabel = "Button", this.elementType = "button", this.intent = "secondary", this.loading = !1, this.disabled = !1, this.pill = !1, this.icon = void 0, this.size = "small", this.iconPos = "right", this.iconSmall = !1, this.triggerClick = void 0;
1673
1673
  }
1674
1674
  handleParentContext(n) {
1675
1675
  n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
@@ -1701,7 +1701,7 @@ button,
1701
1701
  iconOnly: !this.label,
1702
1702
  iconSmall: this.iconSmall
1703
1703
  }), e = this.elementType, t = !this.disabled && !this.loading;
1704
- return i(ln, { key: "fe91be3eb9c2a3ece800097392462b3bd76f1264" }, i(e, { key: "aa1d4e0544beff8759d232d0e897ffdbcd584ea5", tabindex: t ? "0" : "-1", "aria-label": this.label ? void 0 : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? "true" : void 0, "aria-busy": this.loading ? "true" : void 0, disabled: this.elementType === "button" ? this.disabled || this.loading : void 0, role: this.elementType === "a" ? "button" : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (r) => this.handleClick(r), onKeyDown: (r) => this.handleKeyDown(r) }, this.label && i("span", { key: "2b55edc1b986950ba03a759cffd7346c8611ac0a", class: this.loading ? "opacity-0" : "", "aria-hidden": this.loading ? "true" : void 0 }, this.label), this.loading && i("span", { key: "5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d", class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, i("span", { key: "2746ef996f0835c76c4ef2cbd39103ad4d07c21f", class: "loader", style: {
1704
+ return i(Z, { key: "25a7b4ffda3df65e91c77a18becd45bc40973f3c" }, i(e, { key: "0f00d82a37f3189b862015eb2d915f2364b6d75d", tabindex: t ? "0" : "-1", "aria-label": this.label ? void 0 : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? "true" : void 0, "aria-busy": this.loading ? "true" : void 0, disabled: this.elementType === "button" ? this.disabled || this.loading : void 0, role: this.elementType === "a" ? "button" : void 0, class: `${n || ""}`, onClick: (r) => this.handleClick(r), onKeyDown: (r) => this.handleKeyDown(r) }, this.label && i("span", { key: "6e45dfefb4805eef0574f7462becca6cde85dbc0", class: this.loading ? "opacity-0" : "", "aria-hidden": this.loading ? "true" : void 0 }, this.label), this.loading && i("span", { key: "9909c70db39a039b883854caff816d25f132b866", class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, i("span", { key: "367cd65a13f81cbcb12d93855dc091a4309566bb", class: "loader", style: {
1705
1705
  border: `3px solid ${this.intent === "secondary" ? "rgba(255, 255, 255, .3)" : "rgba(0, 0, 0, .3)"}`,
1706
1706
  borderBottomColor: this.intent === "secondary" ? "#fff" : "#000"
1707
1707
  } })), this.icon ? i("eds-icon-wrapper", { class: `
@@ -1716,8 +1716,8 @@ button,
1716
1716
  return y(this);
1717
1717
  }
1718
1718
  };
1719
- Wn.style = jn;
1720
- var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, on = { exports: {} };
1719
+ Wn.style = Hn;
1720
+ var ln = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, an = { exports: {} };
1721
1721
  (function(n) {
1722
1722
  var e = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
1723
1723
  /**
@@ -1729,7 +1729,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1729
1729
  * @public
1730
1730
  */
1731
1731
  var t = function(r) {
1732
- var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, a = 0, s = {}, o = {
1732
+ var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, a = 0, o = {}, s = {
1733
1733
  /**
1734
1734
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
1735
1735
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -1828,23 +1828,23 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1828
1828
  clone: function c(d, g) {
1829
1829
  g = g || {};
1830
1830
  var h, f;
1831
- switch (o.util.type(d)) {
1831
+ switch (s.util.type(d)) {
1832
1832
  case "Object":
1833
- if (f = o.util.objId(d), g[f])
1833
+ if (f = s.util.objId(d), g[f])
1834
1834
  return g[f];
1835
1835
  h = /** @type {Record<string, any>} */
1836
1836
  {}, g[f] = h;
1837
- for (var u in d)
1838
- d.hasOwnProperty(u) && (h[u] = c(d[u], g));
1837
+ for (var p in d)
1838
+ d.hasOwnProperty(p) && (h[p] = c(d[p], g));
1839
1839
  return (
1840
1840
  /** @type {any} */
1841
1841
  h
1842
1842
  );
1843
1843
  case "Array":
1844
- return f = o.util.objId(d), g[f] ? g[f] : (h = [], g[f] = h, /** @type {Array} */
1844
+ return f = s.util.objId(d), g[f] ? g[f] : (h = [], g[f] = h, /** @type {Array} */
1845
1845
  /** @type {any} */
1846
- d.forEach(function(x, p) {
1847
- h[p] = c(x, g);
1846
+ d.forEach(function(x, m) {
1847
+ h[m] = c(x, g);
1848
1848
  }), /** @type {any} */
1849
1849
  h);
1850
1850
  default:
@@ -1948,10 +1948,10 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1948
1948
  /**
1949
1949
  * The grammar for plain, unformatted text.
1950
1950
  */
1951
- plain: s,
1952
- plaintext: s,
1953
- text: s,
1954
- txt: s,
1951
+ plain: o,
1952
+ plaintext: o,
1953
+ text: o,
1954
+ txt: o,
1955
1955
  /**
1956
1956
  * Creates a deep copy of the language with the given id and appends the given tokens.
1957
1957
  *
@@ -1981,7 +1981,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1981
1981
  * });
1982
1982
  */
1983
1983
  extend: function(c, d) {
1984
- var g = o.util.clone(o.languages[c]);
1984
+ var g = s.util.clone(s.languages[c]);
1985
1985
  for (var h in d)
1986
1986
  g[h] = d[h];
1987
1987
  return g;
@@ -2063,29 +2063,29 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2063
2063
  */
2064
2064
  insertBefore: function(c, d, g, h) {
2065
2065
  h = h || /** @type {any} */
2066
- o.languages;
2067
- var f = h[c], u = {};
2066
+ s.languages;
2067
+ var f = h[c], p = {};
2068
2068
  for (var x in f)
2069
2069
  if (f.hasOwnProperty(x)) {
2070
2070
  if (x == d)
2071
- for (var p in g)
2072
- g.hasOwnProperty(p) && (u[p] = g[p]);
2073
- g.hasOwnProperty(x) || (u[x] = f[x]);
2071
+ for (var m in g)
2072
+ g.hasOwnProperty(m) && (p[m] = g[m]);
2073
+ g.hasOwnProperty(x) || (p[x] = f[x]);
2074
2074
  }
2075
2075
  var S = h[c];
2076
- return h[c] = u, o.languages.DFS(o.languages, function(F, D) {
2077
- D === S && F != c && (this[F] = u);
2078
- }), u;
2076
+ return h[c] = p, s.languages.DFS(s.languages, function(F, D) {
2077
+ D === S && F != c && (this[F] = p);
2078
+ }), p;
2079
2079
  },
2080
2080
  // Traverse a language definition with Depth First Search
2081
2081
  DFS: function c(d, g, h, f) {
2082
2082
  f = f || {};
2083
- var u = o.util.objId;
2083
+ var p = s.util.objId;
2084
2084
  for (var x in d)
2085
2085
  if (d.hasOwnProperty(x)) {
2086
2086
  g.call(d, x, d[x], h || x);
2087
- var p = d[x], S = o.util.type(p);
2088
- S === "Object" && !f[u(p)] ? (f[u(p)] = !0, c(p, g, null, f)) : S === "Array" && !f[u(p)] && (f[u(p)] = !0, c(p, g, x, f));
2087
+ var m = d[x], S = s.util.type(m);
2088
+ S === "Object" && !f[p(m)] ? (f[p(m)] = !0, c(m, g, null, f)) : S === "Array" && !f[p(m)] && (f[p(m)] = !0, c(m, g, x, f));
2089
2089
  }
2090
2090
  }
2091
2091
  },
@@ -2103,7 +2103,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2103
2103
  * @public
2104
2104
  */
2105
2105
  highlightAll: function(c, d) {
2106
- o.highlightAllUnder(document, c, d);
2106
+ s.highlightAllUnder(document, c, d);
2107
2107
  },
2108
2108
  /**
2109
2109
  * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
@@ -2126,9 +2126,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2126
2126
  container: c,
2127
2127
  selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
2128
2128
  };
2129
- o.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), o.hooks.run("before-all-elements-highlight", h);
2130
- for (var f = 0, u; u = h.elements[f++]; )
2131
- o.highlightElement(u, d === !0, h.callback);
2129
+ s.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), s.hooks.run("before-all-elements-highlight", h);
2130
+ for (var f = 0, p; p = h.elements[f++]; )
2131
+ s.highlightElement(p, d === !0, h.callback);
2132
2132
  },
2133
2133
  /**
2134
2134
  * Highlights the code inside a single element.
@@ -2159,38 +2159,38 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2159
2159
  * @public
2160
2160
  */
2161
2161
  highlightElement: function(c, d, g) {
2162
- var h = o.util.getLanguage(c), f = o.languages[h];
2163
- o.util.setLanguage(c, h);
2164
- var u = c.parentElement;
2165
- u && u.nodeName.toLowerCase() === "pre" && o.util.setLanguage(u, h);
2166
- var x = c.textContent, p = {
2162
+ var h = s.util.getLanguage(c), f = s.languages[h];
2163
+ s.util.setLanguage(c, h);
2164
+ var p = c.parentElement;
2165
+ p && p.nodeName.toLowerCase() === "pre" && s.util.setLanguage(p, h);
2166
+ var x = c.textContent, m = {
2167
2167
  element: c,
2168
2168
  language: h,
2169
2169
  grammar: f,
2170
2170
  code: x
2171
2171
  };
2172
2172
  function S(D) {
2173
- p.highlightedCode = D, o.hooks.run("before-insert", p), p.element.innerHTML = p.highlightedCode, o.hooks.run("after-highlight", p), o.hooks.run("complete", p), g && g.call(p.element);
2173
+ m.highlightedCode = D, s.hooks.run("before-insert", m), m.element.innerHTML = m.highlightedCode, s.hooks.run("after-highlight", m), s.hooks.run("complete", m), g && g.call(m.element);
2174
2174
  }
2175
- if (o.hooks.run("before-sanity-check", p), u = p.element.parentElement, u && u.nodeName.toLowerCase() === "pre" && !u.hasAttribute("tabindex") && u.setAttribute("tabindex", "0"), !p.code) {
2176
- o.hooks.run("complete", p), g && g.call(p.element);
2175
+ if (s.hooks.run("before-sanity-check", m), p = m.element.parentElement, p && p.nodeName.toLowerCase() === "pre" && !p.hasAttribute("tabindex") && p.setAttribute("tabindex", "0"), !m.code) {
2176
+ s.hooks.run("complete", m), g && g.call(m.element);
2177
2177
  return;
2178
2178
  }
2179
- if (o.hooks.run("before-highlight", p), !p.grammar) {
2180
- S(o.util.encode(p.code));
2179
+ if (s.hooks.run("before-highlight", m), !m.grammar) {
2180
+ S(s.util.encode(m.code));
2181
2181
  return;
2182
2182
  }
2183
2183
  if (d && r.Worker) {
2184
- var F = new Worker(o.filename);
2184
+ var F = new Worker(s.filename);
2185
2185
  F.onmessage = function(D) {
2186
2186
  S(D.data);
2187
2187
  }, F.postMessage(JSON.stringify({
2188
- language: p.language,
2189
- code: p.code,
2188
+ language: m.language,
2189
+ code: m.code,
2190
2190
  immediateClose: !0
2191
2191
  }));
2192
2192
  } else
2193
- S(o.highlight(p.code, p.grammar, p.language));
2193
+ S(s.highlight(m.code, m.grammar, m.language));
2194
2194
  },
2195
2195
  /**
2196
2196
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -2218,9 +2218,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2218
2218
  grammar: d,
2219
2219
  language: g
2220
2220
  };
2221
- if (o.hooks.run("before-tokenize", h), !h.grammar)
2221
+ if (s.hooks.run("before-tokenize", h), !h.grammar)
2222
2222
  throw new Error('The language "' + h.language + '" has no grammar.');
2223
- return h.tokens = o.tokenize(h.code, h.grammar), o.hooks.run("after-tokenize", h), b.stringify(o.util.encode(h.tokens), h.language);
2223
+ return h.tokens = s.tokenize(h.code, h.grammar), s.hooks.run("after-tokenize", h), b.stringify(s.util.encode(h.tokens), h.language);
2224
2224
  },
2225
2225
  /**
2226
2226
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -2254,7 +2254,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2254
2254
  delete d.rest;
2255
2255
  }
2256
2256
  var f = new _();
2257
- return O(f, f.head, c), z(c, f, d, f.head, 0), j(f);
2257
+ return O(f, f.head, c), E(c, f, d, f.head, 0), H(f);
2258
2258
  },
2259
2259
  /**
2260
2260
  * @namespace
@@ -2276,7 +2276,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2276
2276
  * @public
2277
2277
  */
2278
2278
  add: function(c, d) {
2279
- var g = o.hooks.all;
2279
+ var g = s.hooks.all;
2280
2280
  g[c] = g[c] || [], g[c].push(d);
2281
2281
  },
2282
2282
  /**
@@ -2289,7 +2289,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2289
2289
  * @public
2290
2290
  */
2291
2291
  run: function(c, d) {
2292
- var g = o.hooks.all[c];
2292
+ var g = s.hooks.all[c];
2293
2293
  if (!(!g || !g.length))
2294
2294
  for (var h = 0, f; f = g[h++]; )
2295
2295
  f(d);
@@ -2297,7 +2297,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2297
2297
  },
2298
2298
  Token: b
2299
2299
  };
2300
- r.Prism = o;
2300
+ r.Prism = s;
2301
2301
  function b(c, d, g, h) {
2302
2302
  this.type = c, this.content = d, this.alias = g, this.length = (h || "").length | 0;
2303
2303
  }
@@ -2317,65 +2317,65 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2317
2317
  classes: ["token", d.type],
2318
2318
  attributes: {},
2319
2319
  language: g
2320
- }, u = d.alias;
2321
- u && (Array.isArray(u) ? Array.prototype.push.apply(f.classes, u) : f.classes.push(u)), o.hooks.run("wrap", f);
2320
+ }, p = d.alias;
2321
+ p && (Array.isArray(p) ? Array.prototype.push.apply(f.classes, p) : f.classes.push(p)), s.hooks.run("wrap", f);
2322
2322
  var x = "";
2323
- for (var p in f.attributes)
2324
- x += " " + p + '="' + (f.attributes[p] || "").replace(/"/g, "&quot;") + '"';
2323
+ for (var m in f.attributes)
2324
+ x += " " + m + '="' + (f.attributes[m] || "").replace(/"/g, "&quot;") + '"';
2325
2325
  return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + x + ">" + f.content + "</" + f.tag + ">";
2326
2326
  };
2327
2327
  function k(c, d, g, h) {
2328
2328
  c.lastIndex = d;
2329
2329
  var f = c.exec(g);
2330
2330
  if (f && h && f[1]) {
2331
- var u = f[1].length;
2332
- f.index += u, f[0] = f[0].slice(u);
2331
+ var p = f[1].length;
2332
+ f.index += p, f[0] = f[0].slice(p);
2333
2333
  }
2334
2334
  return f;
2335
2335
  }
2336
- function z(c, d, g, h, f, u) {
2336
+ function E(c, d, g, h, f, p) {
2337
2337
  for (var x in g)
2338
2338
  if (!(!g.hasOwnProperty(x) || !g[x])) {
2339
- var p = g[x];
2340
- p = Array.isArray(p) ? p : [p];
2341
- for (var S = 0; S < p.length; ++S) {
2342
- if (u && u.cause == x + "," + S)
2339
+ var m = g[x];
2340
+ m = Array.isArray(m) ? m : [m];
2341
+ for (var S = 0; S < m.length; ++S) {
2342
+ if (p && p.cause == x + "," + S)
2343
2343
  return;
2344
- var F = p[S], D = F.inside, Z = !!F.lookbehind, J = !!F.greedy, dn = F.alias;
2345
- if (J && !F.pattern.global) {
2344
+ var F = m[S], D = F.inside, J = !!F.lookbehind, Q = !!F.greedy, dn = F.alias;
2345
+ if (Q && !F.pattern.global) {
2346
2346
  var cn = F.pattern.toString().match(/[imsuy]*$/)[0];
2347
2347
  F.pattern = RegExp(F.pattern.source, cn + "g");
2348
2348
  }
2349
- for (var Q = F.pattern || F, I = h.next, T = f; I !== d.tail && !(u && T >= u.reach); T += I.value.length, I = I.next) {
2350
- var N = I.value;
2349
+ for (var nn = F.pattern || F, I = h.next, T = f; I !== d.tail && !(p && T >= p.reach); T += I.value.length, I = I.next) {
2350
+ var R = I.value;
2351
2351
  if (d.length > c.length)
2352
2352
  return;
2353
- if (!(N instanceof b)) {
2353
+ if (!(R instanceof b)) {
2354
2354
  var W = 1, L;
2355
- if (J) {
2356
- if (L = k(Q, T, c, Z), !L || L.index >= c.length)
2355
+ if (Q) {
2356
+ if (L = k(nn, T, c, J), !L || L.index >= c.length)
2357
2357
  break;
2358
2358
  var B = L.index, gn = L.index + L[0].length, $ = T;
2359
2359
  for ($ += I.value.length; B >= $; )
2360
2360
  I = I.next, $ += I.value.length;
2361
2361
  if ($ -= I.value.length, T = $, I.value instanceof b)
2362
2362
  continue;
2363
- for (var H = I; H !== d.tail && ($ < gn || typeof H.value == "string"); H = H.next)
2364
- W++, $ += H.value.length;
2365
- W--, N = c.slice(T, $), L.index -= T;
2366
- } else if (L = k(Q, 0, N, Z), !L)
2363
+ for (var j = I; j !== d.tail && ($ < gn || typeof j.value == "string"); j = j.next)
2364
+ W++, $ += j.value.length;
2365
+ W--, R = c.slice(T, $), L.index -= T;
2366
+ } else if (L = k(nn, 0, R, J), !L)
2367
2367
  continue;
2368
- var B = L.index, q = L[0], V = N.slice(0, B), nn = N.slice(B + q.length), G = T + N.length;
2369
- u && G > u.reach && (u.reach = G);
2368
+ var B = L.index, q = L[0], V = R.slice(0, B), en = R.slice(B + q.length), G = T + R.length;
2369
+ p && G > p.reach && (p.reach = G);
2370
2370
  var M = I.prev;
2371
2371
  V && (M = O(d, M, V), T += V.length), U(d, M, W);
2372
- var hn = new b(x, D ? o.tokenize(q, D) : q, dn, q);
2373
- if (I = O(d, M, hn), nn && O(d, I, nn), W > 1) {
2372
+ var hn = new b(x, D ? s.tokenize(q, D) : q, dn, q);
2373
+ if (I = O(d, M, hn), en && O(d, I, en), W > 1) {
2374
2374
  var Y = {
2375
2375
  cause: x + "," + S,
2376
2376
  reach: G
2377
2377
  };
2378
- z(c, d, g, I.prev, T, Y), u && Y.reach > u.reach && (u.reach = Y.reach);
2378
+ E(c, d, g, I.prev, T, Y), p && Y.reach > p.reach && (p.reach = Y.reach);
2379
2379
  }
2380
2380
  }
2381
2381
  }
@@ -2395,28 +2395,28 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2395
2395
  h = h.next;
2396
2396
  d.next = h, h.prev = d, c.length -= f;
2397
2397
  }
2398
- function j(c) {
2398
+ function H(c) {
2399
2399
  for (var d = [], g = c.head.next; g !== c.tail; )
2400
2400
  d.push(g.value), g = g.next;
2401
2401
  return d;
2402
2402
  }
2403
2403
  if (!r.document)
2404
- return r.addEventListener && (o.disableWorkerMessageHandler || r.addEventListener("message", function(c) {
2404
+ return r.addEventListener && (s.disableWorkerMessageHandler || r.addEventListener("message", function(c) {
2405
2405
  var d = JSON.parse(c.data), g = d.language, h = d.code, f = d.immediateClose;
2406
- r.postMessage(o.highlight(h, o.languages[g], g)), f && r.close();
2407
- }, !1)), o;
2408
- var C = o.util.currentScript();
2409
- C && (o.filename = C.src, C.hasAttribute("data-manual") && (o.manual = !0));
2406
+ r.postMessage(s.highlight(h, s.languages[g], g)), f && r.close();
2407
+ }, !1)), s;
2408
+ var C = s.util.currentScript();
2409
+ C && (s.filename = C.src, C.hasAttribute("data-manual") && (s.manual = !0));
2410
2410
  function w() {
2411
- o.manual || o.highlightAll();
2411
+ s.manual || s.highlightAll();
2412
2412
  }
2413
- if (!o.manual) {
2414
- var E = document.readyState;
2415
- E === "loading" || E === "interactive" && C && C.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
2413
+ if (!s.manual) {
2414
+ var z = document.readyState;
2415
+ z === "loading" || z === "interactive" && C && C.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
2416
2416
  }
2417
- return o;
2417
+ return s;
2418
2418
  }(e);
2419
- n.exports && (n.exports = t), typeof rn < "u" && (rn.Prism = t), t.languages.markup = {
2419
+ n.exports && (n.exports = t), typeof ln < "u" && (ln.Prism = t), t.languages.markup = {
2420
2420
  comment: {
2421
2421
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
2422
2422
  greedy: !0
@@ -2508,19 +2508,19 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2508
2508
  * addInlined('style', 'css');
2509
2509
  */
2510
2510
  value: function(l, a) {
2511
- var s = {};
2512
- s["language-" + a] = {
2511
+ var o = {};
2512
+ o["language-" + a] = {
2513
2513
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
2514
2514
  lookbehind: !0,
2515
2515
  inside: t.languages[a]
2516
- }, s.cdata = /^<!\[CDATA\[|\]\]>$/i;
2517
- var o = {
2516
+ }, o.cdata = /^<!\[CDATA\[|\]\]>$/i;
2517
+ var s = {
2518
2518
  "included-cdata": {
2519
2519
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
2520
- inside: s
2520
+ inside: o
2521
2521
  }
2522
2522
  };
2523
- o["language-" + a] = {
2523
+ s["language-" + a] = {
2524
2524
  pattern: /[\s\S]+/,
2525
2525
  inside: t.languages[a]
2526
2526
  };
@@ -2531,7 +2531,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2531
2531
  }), "i"),
2532
2532
  lookbehind: !0,
2533
2533
  greedy: !0,
2534
- inside: o
2534
+ inside: s
2535
2535
  }, t.languages.insertBefore("markup", "cdata", b);
2536
2536
  }
2537
2537
  }), Object.defineProperty(t.languages.markup.tag, "addAttribute", {
@@ -2796,7 +2796,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2796
2796
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
2797
2797
  var r = "Loading…", l = function(C, w) {
2798
2798
  return "✖ Error " + C + " while fetching file: " + w;
2799
- }, a = "✖ Error: File does not exist or is empty", s = {
2799
+ }, a = "✖ Error: File does not exist or is empty", o = {
2800
2800
  js: "javascript",
2801
2801
  py: "python",
2802
2802
  rb: "ruby",
@@ -2806,18 +2806,18 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2806
2806
  bat: "batch",
2807
2807
  h: "c",
2808
2808
  tex: "latex"
2809
- }, o = "data-src-status", b = "loading", k = "loaded", z = "failed", _ = "pre[data-src]:not([" + o + '="' + k + '"]):not([' + o + '="' + b + '"])';
2810
- function O(C, w, E) {
2809
+ }, s = "data-src-status", b = "loading", k = "loaded", E = "failed", _ = "pre[data-src]:not([" + s + '="' + k + '"]):not([' + s + '="' + b + '"])';
2810
+ function O(C, w, z) {
2811
2811
  var c = new XMLHttpRequest();
2812
2812
  c.open("GET", C, !0), c.onreadystatechange = function() {
2813
- c.readyState == 4 && (c.status < 400 && c.responseText ? w(c.responseText) : c.status >= 400 ? E(l(c.status, c.statusText)) : E(a));
2813
+ c.readyState == 4 && (c.status < 400 && c.responseText ? w(c.responseText) : c.status >= 400 ? z(l(c.status, c.statusText)) : z(a));
2814
2814
  }, c.send(null);
2815
2815
  }
2816
2816
  function U(C) {
2817
2817
  var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C || "");
2818
2818
  if (w) {
2819
- var E = Number(w[1]), c = w[2], d = w[3];
2820
- return c ? d ? [E, Number(d)] : [E, void 0] : [E, E];
2819
+ var z = Number(w[1]), c = w[2], d = w[3];
2820
+ return c ? d ? [z, Number(d)] : [z, void 0] : [z, z];
2821
2821
  }
2822
2822
  }
2823
2823
  t.hooks.add("before-highlightall", function(C) {
@@ -2828,30 +2828,30 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2828
2828
  C.element
2829
2829
  );
2830
2830
  if (w.matches(_)) {
2831
- C.code = "", w.setAttribute(o, b);
2832
- var E = w.appendChild(document.createElement("CODE"));
2833
- E.textContent = r;
2831
+ C.code = "", w.setAttribute(s, b);
2832
+ var z = w.appendChild(document.createElement("CODE"));
2833
+ z.textContent = r;
2834
2834
  var c = w.getAttribute("data-src"), d = C.language;
2835
2835
  if (d === "none") {
2836
2836
  var g = (/\.(\w+)$/.exec(c) || [, "none"])[1];
2837
- d = s[g] || g;
2837
+ d = o[g] || g;
2838
2838
  }
2839
- t.util.setLanguage(E, d), t.util.setLanguage(w, d);
2839
+ t.util.setLanguage(z, d), t.util.setLanguage(w, d);
2840
2840
  var h = t.plugins.autoloader;
2841
2841
  h && h.loadLanguages(d), O(
2842
2842
  c,
2843
2843
  function(f) {
2844
- w.setAttribute(o, k);
2845
- var u = U(w.getAttribute("data-range"));
2846
- if (u) {
2847
- var x = f.split(/\r\n?|\n/g), p = u[0], S = u[1] == null ? x.length : u[1];
2848
- p < 0 && (p += x.length), p = Math.max(0, Math.min(p - 1, x.length)), S < 0 && (S += x.length), S = Math.max(0, Math.min(S, x.length)), f = x.slice(p, S).join(`
2849
- `), w.hasAttribute("data-start") || w.setAttribute("data-start", String(p + 1));
2844
+ w.setAttribute(s, k);
2845
+ var p = U(w.getAttribute("data-range"));
2846
+ if (p) {
2847
+ var x = f.split(/\r\n?|\n/g), m = p[0], S = p[1] == null ? x.length : p[1];
2848
+ m < 0 && (m += x.length), m = Math.max(0, Math.min(m - 1, x.length)), S < 0 && (S += x.length), S = Math.max(0, Math.min(S, x.length)), f = x.slice(m, S).join(`
2849
+ `), w.hasAttribute("data-start") || w.setAttribute("data-start", String(m + 1));
2850
2850
  }
2851
- E.textContent = f, t.highlightElement(E);
2851
+ z.textContent = f, t.highlightElement(z);
2852
2852
  },
2853
2853
  function(f) {
2854
- w.setAttribute(o, z), E.textContent = f;
2854
+ w.setAttribute(s, E), z.textContent = f;
2855
2855
  }
2856
2856
  );
2857
2857
  }
@@ -2864,17 +2864,17 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2864
2864
  * @param {ParentNode} [container=document]
2865
2865
  */
2866
2866
  highlight: function(w) {
2867
- for (var E = (w || document).querySelectorAll(_), c = 0, d; d = E[c++]; )
2867
+ for (var z = (w || document).querySelectorAll(_), c = 0, d; d = z[c++]; )
2868
2868
  t.highlightElement(d);
2869
2869
  }
2870
2870
  };
2871
- var j = !1;
2871
+ var H = !1;
2872
2872
  t.fileHighlight = function() {
2873
- j || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), j = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
2873
+ H || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), H = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
2874
2874
  };
2875
2875
  }();
2876
- })(on);
2877
- const X = on.exports;
2876
+ })(an);
2877
+ const X = an.exports;
2878
2878
  Prism.languages.python = {
2879
2879
  comment: {
2880
2880
  pattern: /(^|[^\\])#.*/,
@@ -3153,20 +3153,20 @@ Prism.languages.py = Prism.languages.python;
3153
3153
  "operator",
3154
3154
  "punctuation",
3155
3155
  "number"
3156
- ], a = r.variable[1].inside, s = 0; s < l.length; s++)
3157
- a[l[s]] = n.languages.bash[l[s]];
3156
+ ], a = r.variable[1].inside, o = 0; o < l.length; o++)
3157
+ a[l[o]] = n.languages.bash[l[o]];
3158
3158
  n.languages.sh = n.languages.bash, n.languages.shell = n.languages.bash;
3159
3159
  })(Prism);
3160
3160
  (function(n) {
3161
3161
  var e = /[*&][^\s[\]{},]+/, t = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, r = "(?:" + t.source + "(?:[ ]+" + e.source + ")?|" + e.source + "(?:[ ]+" + t.source + ")?)", l = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
3162
3162
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
3163
3163
  }), a = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
3164
- function s(o, b) {
3164
+ function o(s, b) {
3165
3165
  b = (b || "").replace(/m/g, "") + "m";
3166
3166
  var k = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
3167
3167
  return r;
3168
3168
  }).replace(/<<value>>/g, function() {
3169
- return o;
3169
+ return s;
3170
3170
  });
3171
3171
  return RegExp(k, b);
3172
3172
  }
@@ -3195,27 +3195,27 @@ Prism.languages.py = Prism.languages.python;
3195
3195
  alias: "important"
3196
3196
  },
3197
3197
  datetime: {
3198
- pattern: s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
3198
+ pattern: o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
3199
3199
  lookbehind: !0,
3200
3200
  alias: "number"
3201
3201
  },
3202
3202
  boolean: {
3203
- pattern: s(/false|true/.source, "i"),
3203
+ pattern: o(/false|true/.source, "i"),
3204
3204
  lookbehind: !0,
3205
3205
  alias: "important"
3206
3206
  },
3207
3207
  null: {
3208
- pattern: s(/null|~/.source, "i"),
3208
+ pattern: o(/null|~/.source, "i"),
3209
3209
  lookbehind: !0,
3210
3210
  alias: "important"
3211
3211
  },
3212
3212
  string: {
3213
- pattern: s(a),
3213
+ pattern: o(a),
3214
3214
  lookbehind: !0,
3215
3215
  greedy: !0
3216
3216
  },
3217
3217
  number: {
3218
- pattern: s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
3218
+ pattern: o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
3219
3219
  lookbehind: !0
3220
3220
  },
3221
3221
  tag: t,
@@ -3280,7 +3280,7 @@ Prism.languages.py = Prism.languages.python;
3280
3280
  })(Prism);
3281
3281
  const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', monospace)}pre[class*="language-"]{white-space:pre-wrap;word-break:break-word;}.language{font-weight:bold;text-transform:uppercase}pre{margin:0;border-radius:8px;color:var(--purple-200);overflow:auto}code{font-family:'Courier New', monospace}.token.keyword{color:var(--purple-500)}.token.string{color:var(--green-500)}.token.function{color:var(--cyan-500)}.token.comment{color:var(--grey-700)}.relative{position:relative}.bg-stronger{background-color:var(--grey-900)}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-0{padding:0rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.pl-8{padding-left:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.pb-16{padding-bottom:1rem}.pb-20{padding-bottom:1.25rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.pb-8{padding-bottom:0.5rem}.mt-16{margin-top:1rem}.mt-2{margin-top:0.125rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.w-20{width:1.25rem}.h-20{height:1.25rem}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}`, qn = Bn, Mn = class {
3282
3282
  constructor(n) {
3283
- m(this, n), this.code = void 0, this.language = void 0, this.copied = !1;
3283
+ u(this, n), this.code = void 0, this.language = void 0, this.copied = !1;
3284
3284
  }
3285
3285
  /**
3286
3286
  * Copies the current code content to the clipboard and sets a temporary copied state.
@@ -3329,7 +3329,7 @@ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', mo
3329
3329
  return this.language && X.languages[this.language] ? X.highlight(this.code, X.languages[this.language], this.language) : this.code;
3330
3330
  }
3331
3331
  render() {
3332
- return i("div", { key: "2c5addd195dc8d930db643e95ecc52410dd94052", class: "relative bg-stronger rounded-sm" }, i("div", { key: "aea2d891f9e5d57d4b8390cff4597cb8edd163a1", class: "text-inverse flex justify-between items-center p-8" }, this.language ? i("span", { class: "f-ui-03" }, this.language.toUpperCase()) : i("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, i("code", { innerHTML: this.getHighlightedCode() })), i("span", { key: "41e2d463bde145f901eae42dda68091a9a42e3ef", "aria-hidden": "true", class: "w-20 h-20 mt-8" }, i("eds-icon-wrapper", { key: "7285b81dd936c770b09b4a36bed8c8ba2a87da99", icon: this.copied ? "success" : "copy", onClick: () => this.copyToClipboard() })), i("span", { key: "a12d74735064478480544cc4b5cf14d7b028b1a8", class: "sr-only" }, "Copy Code")), this.language && i("pre", { key: "2fcde4f271059ac98cb3b1b6bffbf4564ccf795b", class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, i("code", { key: "68a8b83f492e7b0eb2916a063e28a4293e6a988f", innerHTML: this.getHighlightedCode() })));
3332
+ return i("div", { key: "bc74b6be37bcb24700d17b48b5398077e485abd7", class: "relative bg-stronger rounded-sm" }, i("div", { key: "db0395bfd55eb3394ab2149c5c436f2a54e8afb0", class: "text-inverse flex justify-between items-center p-8" }, this.language ? i("span", { class: "f-ui-03" }, this.language.toUpperCase()) : i("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, i("code", { innerHTML: this.getHighlightedCode() })), i("span", { key: "628ad41f15f3a38abe4b7c382074c8f5a8679a8c", "aria-hidden": "true", class: "w-20 h-20 mt-8" }, i("eds-icon-wrapper", { key: "1c95d57a5d8113d6ab7ebf7da713e058c7cc10f1", icon: this.copied ? "success" : "copy", onClick: () => this.copyToClipboard() })), i("span", { key: "a64b2450b631835b6fc2c15047b09ceea5a9fc95", class: "sr-only" }, "Copy Code")), this.language && i("pre", { key: "51945cbee1504625b54362505b60f1bd1784bdda", class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, i("code", { key: "55961aa8278177451e13c929ec7f7065afcac93b", innerHTML: this.getHighlightedCode() })));
3333
3333
  }
3334
3334
  get el() {
3335
3335
  return y(this);
@@ -3338,7 +3338,7 @@ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', mo
3338
3338
  Mn.style = qn;
3339
3339
  const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", Vn = Un, Gn = class {
3340
3340
  constructor(n) {
3341
- m(this, n), this.dropdown = v(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
3341
+ u(this, n), this.dropdown = v(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
3342
3342
  var e, t;
3343
3343
  this.isOpen = !this.isOpen, this.isOpen ? (this.focusableItems = Array.from(((e = this.panelEl) === null || e === void 0 ? void 0 : e.querySelectorAll('a, button, [role="menuitem"]')) || []), this.focusIndex = this.focusableItems.length ? 0 : -1, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), A({
3344
3344
  category: "ui-component",
@@ -3405,20 +3405,20 @@ const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-s
3405
3405
  const t = ((e = n.composedPath) === null || e === void 0 ? void 0 : e.call(n)) || [];
3406
3406
  if (!t.includes(this.panelEl))
3407
3407
  return;
3408
- if (t.some((s) => {
3409
- var o;
3410
- const b = s;
3411
- return (o = b == null ? void 0 : b.closest) === null || o === void 0 ? void 0 : o.call(b, "[data-dropdown-close]");
3408
+ if (t.some((o) => {
3409
+ var s;
3410
+ const b = o;
3411
+ return (s = b == null ? void 0 : b.closest) === null || s === void 0 ? void 0 : s.call(b, "[data-dropdown-close]");
3412
3412
  })) {
3413
3413
  setTimeout(() => this.closeDropdown(), 0);
3414
3414
  return;
3415
3415
  }
3416
3416
  if (!this.autoClose)
3417
3417
  return;
3418
- t.some((s) => {
3419
- var o;
3420
- const b = s;
3421
- return (o = b == null ? void 0 : b.closest) === null || o === void 0 ? void 0 : o.call(b, this.noCloseSelector);
3418
+ t.some((o) => {
3419
+ var s;
3420
+ const b = o;
3421
+ return (s = b == null ? void 0 : b.closest) === null || s === void 0 ? void 0 : s.call(b, this.noCloseSelector);
3422
3422
  }) || setTimeout(() => this.closeDropdown(), 0);
3423
3423
  }
3424
3424
  /**
@@ -3426,52 +3426,52 @@ const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-s
3426
3426
  * @returns {JSX.Element} The rendered dropdown component.
3427
3427
  */
3428
3428
  render() {
3429
- return i("div", { key: "e31acbda3428f47fe32cfe550cf00c53374da215", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "59f8533409171401ed73eac8d307e4eafbde9209", ref: (n) => this.panelEl = n, role: "menu", class: {
3429
+ return i("div", { key: "ffc4915b2104e3d2dd347900acd897f56910a674", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "ba48bdd7b75fd230bdc2dd564bd477f0349f5426", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "a29b57598a2ed8fcc9593c928df9443fd4449481", ref: (n) => this.panelEl = n, role: "menu", class: {
3430
3430
  "shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8": !0,
3431
3431
  "left-4": this.dropdownPos === "left" && this.dropdownOffset,
3432
3432
  "left-0": this.dropdownPos === "left" && !this.dropdownOffset,
3433
3433
  "right-4": this.dropdownPos === "right" && this.dropdownOffset,
3434
3434
  "right-0": this.dropdownPos === "right" && !this.dropdownOffset,
3435
3435
  "rounded-lg": this.rounded
3436
- }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "675839893bf667a7a05a63e552935bb1a5874b73" })));
3436
+ }, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "ddf003345ef5181b968b4bfd8962805d09d15e89" })));
3437
3437
  }
3438
3438
  get host() {
3439
3439
  return y(this);
3440
3440
  }
3441
3441
  };
3442
3442
  Gn.style = Vn;
3443
- function K(n, e, t, r, l, a, s) {
3444
- const o = [];
3443
+ function K(n, e, t, r, l, a, o) {
3444
+ const s = [];
3445
3445
  if (r && !e) {
3446
3446
  const b = n.length > 30 ? `${n.slice(0, 27)}…` : n;
3447
- o.push(`“${b}” is required.`);
3447
+ s.push(`“${b}” is required.`);
3448
3448
  }
3449
3449
  if (t === "number") {
3450
3450
  const b = typeof e == "number" ? e : parseFloat(e);
3451
- isNaN(b) ? o.push(`${n} must be a valid number.`) : (typeof a == "number" && b < a && o.push(`${n} must be greater than or equal to ${a}.`), typeof s == "number" && b > s && o.push(`${n} must be less than or equal to ${s}.`));
3451
+ isNaN(b) ? s.push(`${n} must be a valid number.`) : (typeof a == "number" && b < a && s.push(`${n} must be greater than or equal to ${a}.`), typeof o == "number" && b > o && s.push(`${n} must be less than or equal to ${o}.`));
3452
3452
  }
3453
- return l && typeof e == "string" && e.length > l && o.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && o.push("Invalid email format."), o;
3453
+ return l && typeof e == "string" && e.length > l && s.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && s.push("Invalid email format."), s;
3454
3454
  }
3455
- function an(n, e, t) {
3456
- const a = Array.from(t.querySelectorAll("eds-input-field")).filter((o) => {
3455
+ function on(n, e, t) {
3456
+ const a = Array.from(t.querySelectorAll("eds-input-field")).filter((s) => {
3457
3457
  var b, k;
3458
- return ((k = (b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) === null || k === void 0 ? void 0 : k.length) > 0;
3459
- }).flatMap((o) => {
3458
+ return ((k = (b = s.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) === null || k === void 0 ? void 0 : k.length) > 0;
3459
+ }).flatMap((s) => {
3460
3460
  var b;
3461
- return Array.from(((b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) || []);
3462
- }).some((o) => o.checked), s = [];
3463
- return e && !a && s.push(`At least one option in ${n} is required.`), s;
3461
+ return Array.from(((b = s.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) || []);
3462
+ }).some((s) => s.checked), o = [];
3463
+ return e && !a && o.push(`At least one option in ${n} is required.`), o;
3464
3464
  }
3465
3465
  function sn(n, e, t) {
3466
3466
  var r;
3467
- const l = [], a = Array.from(t.querySelectorAll("eds-input-field")).find((o) => {
3467
+ const l = [], a = Array.from(t.querySelectorAll("eds-input-field")).find((s) => {
3468
3468
  var b;
3469
- return (b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelector(`[name="${n}"]`);
3469
+ return (b = s.shadowRoot) === null || b === void 0 ? void 0 : b.querySelector(`[name="${n}"]`);
3470
3470
  });
3471
3471
  if (!a)
3472
3472
  return e && l.push(`${n} is required.`), l;
3473
- const s = (r = a.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
3474
- return e && s && !s.checked && l.push(`${n} is required.`), l;
3473
+ const o = (r = a.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
3474
+ return e && o && !o.checked && l.push(`${n} is required.`), l;
3475
3475
  }
3476
3476
  function Yn(n, e) {
3477
3477
  const t = Array.from(n.querySelectorAll("eds-input-field"));
@@ -3498,43 +3498,43 @@ function Kn(n) {
3498
3498
  function Zn(n, e, t, r) {
3499
3499
  const l = {};
3500
3500
  let a = !1;
3501
- return n.forEach((s) => {
3502
- var o;
3503
- if (!r(s, t)) {
3504
- delete l[s.name];
3501
+ return n.forEach((o) => {
3502
+ var s;
3503
+ if (!r(o, t)) {
3504
+ delete l[o.name];
3505
3505
  return;
3506
3506
  }
3507
- if (s.type !== "hidden")
3508
- if ((s.type === "checkbox" || s.type === "radio") && !s.options) {
3509
- const b = sn(s.name, s.required, e);
3510
- b.length > 0 && (l[s.name] = b, a = !0);
3511
- } else if (s.options && (s.type === "checkbox" || s.type === "radio")) {
3512
- const b = an(s.name, s.required, e);
3513
- b.length > 0 && (l[s.name] = b, a = !0);
3514
- } else if (s.type === "rating") {
3507
+ if (o.type !== "hidden")
3508
+ if ((o.type === "checkbox" || o.type === "radio") && !o.options) {
3509
+ const b = sn(o.name, o.required, e);
3510
+ b.length > 0 && (l[o.name] = b, a = !0);
3511
+ } else if (o.options && (o.type === "checkbox" || o.type === "radio")) {
3512
+ const b = on(o.name, o.required, e);
3513
+ b.length > 0 && (l[o.name] = b, a = !0);
3514
+ } else if (o.type === "rating") {
3515
3515
  const b = Xn(e);
3516
3516
  if (b) {
3517
- const k = b.getAttribute("selected-rating"), z = k !== null ? parseInt(k, 10) : 0, _ = K(s.name, z, s.type, s.required);
3518
- _.length > 0 && (l[s.name] = _, a = !0);
3517
+ const k = b.getAttribute("selected-rating"), E = k !== null ? parseInt(k, 10) : 0, _ = K(o.name, E, o.type, o.required);
3518
+ _.length > 0 && (l[o.name] = _, a = !0);
3519
3519
  }
3520
- } else if (s.type === "nps") {
3520
+ } else if (o.type === "nps") {
3521
3521
  const b = Kn(e);
3522
3522
  if (b && b.shadowRoot) {
3523
- const k = (o = b.shadowRoot.querySelector('eds-button[tabindex="0"]')) === null || o === void 0 ? void 0 : o.getAttribute("aria-label"), z = k !== null ? parseInt(k, 10) : NaN, _ = Number.isInteger(z) && z >= 0 && z <= 10 ? z : NaN;
3524
- isNaN(_) && s.required && (l[s.name] = ["This field is required."], a = !0);
3525
- } else s.required && (l[s.name] = ["This field is required."], a = !0);
3523
+ const k = (s = b.shadowRoot.querySelector('eds-button[tabindex="0"]')) === null || s === void 0 ? void 0 : s.getAttribute("aria-label"), E = k !== null ? parseInt(k, 10) : NaN, _ = Number.isInteger(E) && E >= 0 && E <= 10 ? E : NaN;
3524
+ isNaN(_) && o.required && (l[o.name] = ["This field is required."], a = !0);
3525
+ } else o.required && (l[o.name] = ["This field is required."], a = !0);
3526
3526
  return;
3527
3527
  } else {
3528
- const b = Yn(e, s.name);
3528
+ const b = Yn(e, o.name);
3529
3529
  if (b) {
3530
- const k = b.value, z = K(s.name, k, s.type, s.required, s.maxlength, s.min, s.max);
3531
- z.length > 0 && (l[s.name] = z, a = !0);
3530
+ const k = b.value, E = K(o.name, k, o.type, o.required, o.maxlength, o.min, o.max);
3531
+ E.length > 0 && (l[o.name] = E, a = !0);
3532
3532
  }
3533
3533
  }
3534
3534
  }), { errors: l, hasError: a };
3535
3535
  }
3536
3536
  function Jn(n, e, t) {
3537
- return n.type === "checkbox" || n.type === "radio" ? n.options ? an(n.name, n.required, t) : sn(n.name, n.required, t) : K(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
3537
+ return n.type === "checkbox" || n.type === "radio" ? n.options ? on(n.name, n.required, t) : sn(n.name, n.required, t) : K(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
3538
3538
  }
3539
3539
  function Qn({
3540
3540
  initData: n,
@@ -3551,7 +3551,7 @@ function Qn({
3551
3551
  }
3552
3552
  const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}", ee = ne, te = class {
3553
3553
  constructor(n) {
3554
- m(this, n), this.form = v(this, "form", 7), this.name = "eds-form", this.title = "Form Title", this.description = "Form Description", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.buttonIntent = "primary", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.formStyle = "default", this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
3554
+ u(this, n), this.form = v(this, "form", 7), this.name = "eds-form", this.title = "Form Title", this.description = "Form Description", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.buttonIntent = "primary", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.formStyle = "default", this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
3555
3555
  }
3556
3556
  async setData(n) {
3557
3557
  this.populateFormWithInitData(n);
@@ -3568,10 +3568,10 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3568
3568
  return !!this.initData;
3569
3569
  }
3570
3570
  parseFields(n) {
3571
- this.parsedFields = R(n);
3571
+ this.parsedFields = N(n);
3572
3572
  }
3573
3573
  parseGroups(n) {
3574
- this.parsedGroups = R(n);
3574
+ this.parsedGroups = N(n);
3575
3575
  }
3576
3576
  emitContext(n) {
3577
3577
  const e = new CustomEvent("parentContext", {
@@ -3586,10 +3586,16 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3586
3586
  if (!n.condition)
3587
3587
  return !0;
3588
3588
  const e = this.values[n.condition.field], t = n.condition.value;
3589
- return String(e) === String(t);
3589
+ return e == null ? t == null || t === "" : Array.isArray(e) ? e.some((r) => this.normalizeValue(r) === this.normalizeValue(t)) : typeof e == "string" && e.includes(",") ? e.split(",").map((l) => l.trim()).some((l) => this.normalizeValue(l) === this.normalizeValue(t)) : this.normalizeValue(e) === this.normalizeValue(t);
3590
+ }
3591
+ normalizeValue(n) {
3592
+ return n == null ? "" : typeof n == "boolean" ? n ? "true" : "false" : typeof n == "number" ? String(n) : typeof n == "string" ? n.trim().toLowerCase() : String(n).trim().toLowerCase();
3590
3593
  }
3591
3594
  validateForm() {
3592
- const { errors: n, hasError: e } = Zn(this.parsedFields, this.formEl, this.values, (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0);
3595
+ const { errors: n, hasError: e } = Zn(this.parsedFields, this.formEl, this.values, (t, r) => (
3596
+ // Use a temporary object with the condition to reuse isFieldVisible logic
3597
+ this.isFieldVisible(t)
3598
+ ));
3593
3599
  this.errors = n, this.hasError = e;
3594
3600
  }
3595
3601
  populateFormWithInitData(n) {
@@ -3598,7 +3604,12 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3598
3604
  parsedFields: this.parsedFields,
3599
3605
  currentValues: this.values,
3600
3606
  formEl: this.formEl,
3601
- isFieldVisible: (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0
3607
+ isFieldVisible: (t, r) => {
3608
+ if (!t.condition)
3609
+ return !0;
3610
+ const l = r[t.condition.field], a = t.condition.value;
3611
+ return l == null ? a == null || a === "" : Array.isArray(l) ? l.some((o) => this.normalizeValue(o) === this.normalizeValue(a)) : typeof l == "string" && l.includes(",") ? l.split(",").map((s) => s.trim()).some((s) => this.normalizeValue(s) === this.normalizeValue(a)) : this.normalizeValue(l) === this.normalizeValue(a);
3612
+ }
3602
3613
  });
3603
3614
  this.values = e;
3604
3615
  }
@@ -3609,7 +3620,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3609
3620
  const r = t.shadowRoot.querySelector("input, textarea, select");
3610
3621
  if (r && r.name)
3611
3622
  if (r.type === "checkbox" || r.type === "radio") {
3612
- const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((s) => s.value);
3623
+ const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((o) => o.value);
3613
3624
  n.append(r.name, a.join(","));
3614
3625
  } else if (r.type === "file") {
3615
3626
  const l = r;
@@ -3630,10 +3641,10 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3630
3641
  const a = l.shadowRoot;
3631
3642
  if (!a)
3632
3643
  return;
3633
- const s = Array.from(a.querySelectorAll('input[type="file"][name]'));
3634
- console.log(s), s.forEach((o) => {
3635
- const b = o.name, k = o.files ? Array.from(o.files) : [];
3636
- k.length > 0 && k.forEach((z) => e.append(b, z));
3644
+ const o = Array.from(a.querySelectorAll('input[type="file"][name]'));
3645
+ console.log(o), o.forEach((s) => {
3646
+ const b = s.name, k = s.files ? Array.from(s.files) : [];
3647
+ k.length > 0 && k.forEach((E) => e.append(b, E));
3637
3648
  });
3638
3649
  }), e;
3639
3650
  }
@@ -3643,7 +3654,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3643
3654
  if (t.type === "checkbox") {
3644
3655
  const l = this.values[e.name] || "";
3645
3656
  let a = l ? l.split(",") : [];
3646
- t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((s) => s !== t.value), r = a.join(",");
3657
+ t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((o) => o !== t.value), r = a.join(",");
3647
3658
  } else if (t.type === "radio") {
3648
3659
  if (!t.checked)
3649
3660
  return;
@@ -3744,14 +3755,14 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3744
3755
  return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": l, onRating: (a) => this.handleRating(a, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
3745
3756
  } else if (n.type === "nps")
3746
3757
  return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, "error-message": (t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.join("<br/>"), error: !!this.errors[n.name] })));
3747
- return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (l) => this.handleInput(l, n), onChangeNative: (l) => this.handleChange(l, n) });
3758
+ return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, link: n.link, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (l) => this.handleInput(l, n), onChangeNative: (l) => this.handleChange(l, n) });
3748
3759
  }
3749
3760
  async getData() {
3750
3761
  return this.makeFormData();
3751
3762
  }
3752
3763
  render() {
3753
3764
  const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.groupedFields, t = this.formStyle === "shadow" ? "bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32" : "";
3754
- return i("form", { key: "0b7014a7e6c641f2abc6217d919583dafce50067", class: t, ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "3beaa87c72ac60e37bf5c7093b8a3f5b54c9eb4b", class: "flex flex-col gap-y-24" }, this.title && i("span", { key: "5d07685b0e31419d442765c230f9cd2373ce2773", role: "heading", class: "f-heading-04" }, this.title), this.description && i("span", { key: "13fe635ea00fa3c950951f1df37549fa75341666", class: "f-body-02 text-light" }, this.description), i("slot", { key: "5e62b8844536ef127ce2565e4167766bf6d5ba4d" })), n.map((r, l) => i("eds-input", { key: l, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "mt-32", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((l) => this.renderField(l))))), i("div", { key: "831b919b0784a671596678392fe5aa0433af35a5", class: "flex flex-col mt-32 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r))), this.formBtn && i("div", { key: "bdddee0aa0899c9cea3ce737f30f1e25ce8d95c5", class: "mt-32" }, i("eds-button", { key: "f9a61383079b998dc98558d85b93e30aa32a3eeb", intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
3765
+ return i("form", { key: "8a722f99ea8ad7b063805b3377180d73b16d96e1", class: t, ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "6a091913152adad7df2f8581a62d2146d9ea2f1d", class: "flex flex-col gap-y-24" }, this.title && i("span", { key: "11dc49375a4eef1dfd4994a6ba2b2876262f9f55", role: "heading", class: "f-heading-04" }, this.title), this.description && i("span", { key: "dfa8bfa745828e8a57a4909dcbfd9f48497205c0", class: "f-body-02 text-light" }, this.description), i("slot", { key: "db2c00b99038a6feddbe057de16b1002bbf14f03" })), n.map((r, l) => i("eds-input", { key: l, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "mt-32", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((l) => this.renderField(l))))), i("div", { key: "ed2cbf6dada2bf43c8846f5f2af8f3f0767a5b1c", class: "flex flex-col mt-32 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r))), this.formBtn && i("div", { key: "1cc4b51279214181f1894a573227cda0cbf385ee", class: "mt-32" }, i("eds-button", { key: "2a004027664d1433cf625c48f3447960de9c5c84", intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
3755
3766
  }
3756
3767
  get el() {
3757
3768
  return y(this);
@@ -3766,7 +3777,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
3766
3777
  te.style = ee;
3767
3778
  const ie = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}", re = ie, le = class {
3768
3779
  constructor(n) {
3769
- m(this, n), this.resultSelected = v(this, "resultSelected", 7), this.searchClosed = v(this, "searchClosed", 7), this.handleInput = (e) => {
3780
+ u(this, n), this.resultSelected = v(this, "resultSelected", 7), this.searchClosed = v(this, "searchClosed", 7), this.handleInput = (e) => {
3770
3781
  var t;
3771
3782
  const r = e.target;
3772
3783
  if (this.query = r.value, this.debounceTimer && clearTimeout(this.debounceTimer), !this.query.trim()) {
@@ -3827,8 +3838,8 @@ const ie = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none
3827
3838
  throw new Error("Search failed");
3828
3839
  const r = await t.json();
3829
3840
  this.results = (n = r.items) !== null && n !== void 0 ? n : [], this.hasSearched = !0, this.showDropdown = !0, this.selectedIndex = -1;
3830
- } catch (t) {
3831
- console.error("Search error:", t), this.error = "Search failed. Please try again.", this.results = [], this.showDropdown = !0;
3841
+ } catch {
3842
+ this.error = "Search failed. Please try again.", this.results = [], this.showDropdown = !0;
3832
3843
  } finally {
3833
3844
  this.loading = !1;
3834
3845
  }
@@ -3859,19 +3870,19 @@ const ie = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none
3859
3870
  return this.hasSearched && !this.loading && !this.hasResults && this.query.trim();
3860
3871
  }
3861
3872
  render() {
3862
- return i("div", { key: "e3c15463b46aa6349efb86e4907d6f7bfabf682f", class: "search-wrapper" }, i("eds-input-field", { key: "f2164163925534652c62541b3e954d4bb66510bc", icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && i("div", { key: "f592d322fb3d1556743edc39713c8dbaa6449fa6", class: "search-dropdown", ref: (n) => this.dropdownRef = n }, this.loading && i("div", { key: "4d3171271b27f70650bbded9cb7c0b76799dc1a1", class: "flex text-center justify-center p-64" }, i("eds-spinner", { key: "74fed5cf70ba698468dd2ca03dc5ff4eb7aeb7db", variant: "primary", size: "sm" })), this.error && !this.loading && i("div", { key: "481fd52e321ff02ca61cc0877a61f577b6a1ebd7", class: "flex text-center justify-center p-16" }, i("span", { key: "073d2a12b960b3309e0ab597c41d36f946615ed6", class: "text-error f-body-02" }, this.error)), this.showEmpty && i("div", { key: "7b031eec1e6720f4cda6bc107ebc6f64f1c6e35f", class: "dropdown-state" }, i("eds-icon-wrapper", { key: "3ce91c3dcdaf27bd85f7ea4c855bab58b1208355", icon: "search" }), i("div", { key: "c1a9b0c3f62fc568fa9d34d41730da8960bcdd54" }, i("p", { key: "d3b87b4a6b06e81e5c62e817b924f762974c589e", class: "f-body-02" }, "No results found"), i("p", { key: "67fde47420811b9eaef805d9e6aa1b3515c74251", class: "f-ui-04 text-lightest" }, "Try different keywords"))), this.hasResults && !this.loading && i("ul", { key: "ba3a77467ba5e709bdf95dc793c316a18a135b64", class: "dropdown-results" }, this.results.map((n, e) => i("li", { key: n.id, "data-index": e, class: {
3873
+ return i("div", { key: "03beb0a36e20ff5e0c1213584361c9b85ef52684", class: "search-wrapper" }, i("eds-input-field", { key: "cefbfcc4c32067fc57f4425fde7e646b2ca36bc6", icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && i("div", { key: "60a8f38d2eb06335f97f232a7e810f22ccf379b3", class: "search-dropdown", ref: (n) => this.dropdownRef = n }, this.loading && i("div", { key: "2e8dcab16d8fef0f0ec07bcb78fd568f91156095", class: "flex text-center justify-center p-64" }, i("eds-spinner", { key: "f512b3508fe5ba35a762346f43fa780a9b0c5c11", variant: "primary", size: "sm" })), this.error && !this.loading && i("div", { key: "549a6ec4f84c10d5bb4449cb7aa9a4dc61a4ff05", class: "flex text-center justify-center p-16" }, i("span", { key: "2de6645b976ed3d7958867447c090639b3b613a6", class: "text-error f-body-02" }, this.error)), this.showEmpty && i("div", { key: "1006b88e3508a51898f305e1a221762f9cbc0204", class: "dropdown-state" }, i("eds-icon-wrapper", { key: "bc635e10a72aaf715747f8c512ebc3d18d0657c5", icon: "search" }), i("div", { key: "d267ee5c228ae85031088faf7b44b99bacbb77f4" }, i("p", { key: "526094eab25fcb55d5e5a1529c165a39e80db386", class: "f-body-02" }, "No results found"), i("p", { key: "770ff6f735b09068bcb26eec2552c6e7081348ba", class: "f-ui-04 text-lightest" }, "Try different keywords"))), this.hasResults && !this.loading && i("ul", { key: "75597ab0dc1c11854e366294a12a9bd448f53877", class: "dropdown-results" }, this.results.map((n, e) => i("li", { key: n.id, "data-index": e, class: {
3863
3874
  "result-item": !0,
3864
3875
  "result-item--selected": e === this.selectedIndex
3865
- }, onClick: () => this.selectResult(n), onMouseEnter: () => this.selectedIndex = e }, i("div", { class: "result-header" }, i("span", { class: "f-body-02" }, n.title)), i("div", { class: "inline" }, i("eds-tag", { intent: "accent", label: n.source }), n.section && i("span", { class: "result-badge" }, n.section), i("span", { class: "f-ui-03-light text-lighter ml-8" }, n.url)), n.snippet && i("p", { class: "result-snippet" }, this.stripHtml(n.snippet))))), this.hasResults && !this.loading && i("div", { key: "ccdceeb06f423b28868dbf5ec2a11c5b84c651d7", class: "dropdown-footer" }, i("span", { key: "e9dfb424b4dd277b11c6a630c673ec6368b09ef2", class: "footer-hint" }, i("kbd", { key: "4d045d4356b035c6efc7e029ea9e1f5bb4828b6b" }, "↑"), " ", i("kbd", { key: "5ee2913fe448ad3763ca9a70f474bfa9fcd3aad9" }, "↓"), " navigate • ", i("kbd", { key: "d745261bb53ecffae5ff41d53e349fd74d37b955" }, "↵"), " select •", " ", i("kbd", { key: "baa93b7af9e8ae8994f8e73c1bf7942f659b0491" }, "esc"), " close"))));
3876
+ }, onClick: () => this.selectResult(n), onMouseEnter: () => this.selectedIndex = e }, i("div", { class: "result-header" }, i("span", { class: "f-body-02" }, n.title)), i("div", { class: "inline" }, i("eds-tag", { intent: "accent", label: n.source }), n.section && i("span", { class: "result-badge" }, n.section), i("span", { class: "f-ui-03-light text-lighter ml-8" }, n.url)), n.snippet && i("p", { class: "result-snippet" }, this.stripHtml(n.snippet))))), this.hasResults && !this.loading && i("div", { key: "4af4caf6e6856feaeb91218aa249950ac835e5d8", class: "dropdown-footer" }, i("span", { key: "4634ee9a9a15674cae0eee784b7ee408c7707874", class: "footer-hint" }, i("kbd", { key: "ea0dd3cbb169f0db034fa3ee9019592d943398f6" }, "↑"), " ", i("kbd", { key: "f1fc8937f965f695b402a78c82661e0ddee8126d" }, "↓"), " navigate • ", i("kbd", { key: "1d7de6abe02b46362c0e7d1998aaa9b78d1c1378" }, "↵"), " select • ", i("kbd", { key: "50d7d6ab8176e654529fa7e977dc67eadff84c3d" }, "esc"), " close"))));
3866
3877
  }
3867
3878
  get el() {
3868
3879
  return y(this);
3869
3880
  }
3870
3881
  };
3871
3882
  le.style = re;
3872
- const oe = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", ae = oe, se = class {
3883
+ const ae = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", oe = ae, se = class {
3873
3884
  constructor(n) {
3874
- m(this, n), this.toggleheadermenu = v(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1;
3885
+ u(this, n), this.toggleheadermenu = v(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1;
3875
3886
  }
3876
3887
  componentDidLoad() {
3877
3888
  var n, e;
@@ -3890,7 +3901,7 @@ const oe = ".block{display:block}.inline-block{display:inline-block}.inline{disp
3890
3901
  this.isUserMenuOpen = !this.isUserMenuOpen;
3891
3902
  }
3892
3903
  get parsedLinks() {
3893
- return R(this.links);
3904
+ return N(this.links);
3894
3905
  }
3895
3906
  render() {
3896
3907
  const n = {
@@ -3898,16 +3909,16 @@ const oe = ".block{display:block}.inline-block{display:inline-block}.inline{disp
3898
3909
  inverse: "text-default bg-inverse",
3899
3910
  strong: "text-inverse bg-strongest"
3900
3911
  }, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
3901
- return i("header", { key: "33f041754210d5fce8b190e63a6f19ac62262cfd", role: "banner", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "596d4b9cbb08fa95aa9b715599290ac91aff3f77", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "d13e83eca926b82f7406d5efb3f16555c25c167c", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "e120bef9e976e75d523bd6d1e65e8aecd7c6a694", role: "navigation", "aria-label": "Primary", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "ea3db252b028340a007a18b4cb1fb995fefd51b0", class: "flex gap-x-2" }, this.parsedLinks.map((r) => i("eds-link", { label: r.label, "aria-label": r.label, url: r.url, intent: "ghost", size: "large", icon: r.icon, external: r.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "47dfb8dcd8e77bd908236aef0cc0c3c5542de11e", name: "actions" }), this.menuEnabled && i("div", { key: "a6f4a3fb9834696d39a6831098c12f1a5a519a6b", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "2c6586152953caa33911d19fa69d3518cb73fc41", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
3912
+ return i("header", { key: "ebfd125d1e27d224e5702f0c7a4b8f46e279f3b7", role: "banner", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "64be678f68c5d5590e0a976f46a1939320d5d9c2", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "a94192d8df3fb22d629d29d58d681e2a2eb0506d", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "d7f1055e683b90d91c977ae9fef52a00f90b63a0", role: "navigation", "aria-label": "Primary", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "a15b4d203bacbe7f58490b8d34dd57dc31d4f573", class: "flex gap-x-16" }, this.parsedLinks.map((r) => i("eds-link", { label: r.label, "aria-label": r.label, url: r.url, intent: "strong", size: "large", icon: r.icon, external: r.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "2d83f5093b34bdc40f574f8d5676e046029c6e5d", name: "actions" }), this.menuEnabled && i("div", { key: "d2ad33f5ea9e55a5efb1f4dd598be5d61f1d9ab6", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "da824afdcaa6ce68d837096bff6bdfadec4af17c", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
3902
3913
  }
3903
3914
  get hostEl() {
3904
3915
  return y(this);
3905
3916
  }
3906
3917
  };
3907
- se.style = ae;
3908
- const Ct = class {
3918
+ se.style = oe;
3919
+ const Ft = class {
3909
3920
  constructor(n) {
3910
- m(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
3921
+ u(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
3911
3922
  }
3912
3923
  componentWillLoad() {
3913
3924
  this.loadIconComponent(this.icon);
@@ -4015,7 +4026,7 @@ video {
4015
4026
  opacity: 1;
4016
4027
  }`, ce = de, ge = class {
4017
4028
  constructor(n) {
4018
- m(this, n), this.img = null, this.handleLoad = () => {
4029
+ u(this, n), this.img = null, this.handleLoad = () => {
4019
4030
  this.loaded = !0, this.showBg = !1;
4020
4031
  }, this.handleError = () => {
4021
4032
  this.loaded = !0, this.showBg = !1;
@@ -4028,10 +4039,10 @@ video {
4028
4039
  }
4029
4040
  render() {
4030
4041
  const n = {};
4031
- return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "c164d1584476f9fb101abb9e1233bed40c782eb9", class: {
4042
+ return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "20e754d7535484aedde364592c7a08a68e760b7d", class: {
4032
4043
  "items-center justify-center": !0,
4033
4044
  "effect-bg-pattern": this.lazyload && this.showBg
4034
- } }, i("picture", { key: "70e20db2fe9bdf1a494313c6896e835ff3222f3c" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "164d758ed706139d2d4562775a91c9518c437d28", ref: (e) => this.img = e, class: {
4045
+ } }, i("picture", { key: "c6b1561f51587341af50b4129242424961b13788" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "136c7a183750f61d237fd0845750e70f38603f48", ref: (e) => this.img = e, class: {
4035
4046
  "effect-opacity object-cover object-center": !0,
4036
4047
  "opacity-100": this.loaded,
4037
4048
  "opacity-0": !this.loaded
@@ -4042,9 +4053,9 @@ video {
4042
4053
  }
4043
4054
  };
4044
4055
  ge.style = ce;
4045
- const Et = class {
4056
+ const It = class {
4046
4057
  constructor(n) {
4047
- m(this, n), this.handleInput = (e) => {
4058
+ u(this, n), this.handleInput = (e) => {
4048
4059
  const t = e.target;
4049
4060
  this.innerVal = t.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = t.value.length >= this.maxLength);
4050
4061
  }, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.checked = void 0, this.type = "text", this.required = !1, this.value = void 0, this.icon = void 0, this.maxLength = void 0, this.options = [], this.extraClass = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.innerVal = "", this.maxLengthReached = !1;
@@ -4060,7 +4071,7 @@ const Et = class {
4060
4071
  }
4061
4072
  render() {
4062
4073
  const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
4063
- return i("div", { key: "069d8ed6f23b2d98bbc24b727cad0cbc94d1a956", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((t) => i("option", { value: t.value, selected: t.value === this.innerVal, key: t.value }, t.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
4074
+ return i("div", { key: "10cacc49f2e61f8b357d1d0dd303822d7b3d7800", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((t) => i("option", { value: t.value, selected: t.value === this.innerVal, key: t.value }, t.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
4064
4075
  min: this.min,
4065
4076
  max: this.max,
4066
4077
  step: this.step
@@ -4069,7 +4080,7 @@ const Et = class {
4069
4080
  input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
4070
4081
  ${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
4071
4082
  ${this.error ? "input-error" : ""}
4072
- `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "2295538938128173047a5c81166cbee3d652cf25", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "70a5bc0c9019c25499c4c65ece50ddb602eb3345", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
4083
+ `, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "2f17e830e7d5977c06dff45e248ec6d4bcf2885c", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "d171f505b869787c01945720489343a6d57e02bf", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
4073
4084
  }
4074
4085
  get el() {
4075
4086
  return y(this);
@@ -11851,14 +11862,14 @@ input[type="range"]::-webkit-slider-thumb {
11851
11862
 
11852
11863
  `, fe = he, be = class {
11853
11864
  constructor(n) {
11854
- m(this, n), this.edsinput = v(this, "edsinput", 7), this.edschange = v(this, "edschange", 7), this.handleNativeInput = (e) => {
11865
+ u(this, n), this.edsinput = v(this, "edsinput", 7), this.edschange = v(this, "edschange", 7), this.handleNativeInput = (e) => {
11855
11866
  var t, r;
11856
11867
  if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
11857
11868
  const l = e.target;
11858
11869
  let a = l.value;
11859
11870
  if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
11860
- const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11861
- a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
11871
+ const o = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11872
+ a = Array.from(o).filter((s) => s.checked).map((s) => s.value);
11862
11873
  } else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
11863
11874
  this.edsinput.emit({ value: a });
11864
11875
  }
@@ -11868,8 +11879,8 @@ input[type="range"]::-webkit-slider-thumb {
11868
11879
  const l = e.target;
11869
11880
  let a = l.value;
11870
11881
  if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
11871
- const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11872
- a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
11882
+ const o = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
11883
+ a = Array.from(o).filter((s) => s.checked).map((s) => s.value);
11873
11884
  } else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
11874
11885
  this.edschange.emit({ value: a });
11875
11886
  }
@@ -11891,7 +11902,7 @@ input[type="range"]::-webkit-slider-thumb {
11891
11902
  }
11892
11903
  render() {
11893
11904
  const n = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, this.type === "number" ? { min: this.min, max: this.max, step: this.step } : {});
11894
- return i("div", { key: "75e326788d214bcbdd0b4b5204ac309a3e76f6eb" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4" }, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
11905
+ return i("div", { key: "646cf997652c5401115c5f7d96b29cf752feeacf" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4" }, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
11895
11906
  var e, t, r;
11896
11907
  const l = {
11897
11908
  name: n.name,
@@ -11900,9 +11911,9 @@ input[type="range"]::-webkit-slider-thumb {
11900
11911
  required: n.required,
11901
11912
  onInput: n.onInput,
11902
11913
  onChange: n.onChange
11903
- }, a = this.parsedOptions, s = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
11904
- return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (t = a[1]) === null || t === void 0 ? void 0 : t.value, step: (r = a[2]) === null || r === void 0 ? void 0 : r.value, value: s }));
11905
- })() : i("eds-input", Object.assign({}, n))), i("div", { key: "83d2deb40af000499d6d12e33f33b7435372ff30", class: "mt-6" }, i("eds-input-footer", { key: "21035705fd8ef6dbe8d208d4e0b88467a4d4cb09", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
11914
+ }, a = this.parsedOptions, o = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
11915
+ return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (t = a[1]) === null || t === void 0 ? void 0 : t.value, step: (r = a[2]) === null || r === void 0 ? void 0 : r.value, value: o }));
11916
+ })() : i("eds-input", Object.assign({}, n))), i("div", { key: "dd39d14a7bd629d259d9a04cd83530330d05b6fd", class: "mt-6" }, i("eds-input-footer", { key: "d909871d432841039a82a57d174f71a3733cf51c", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
11906
11917
  }
11907
11918
  static get delegatesFocus() {
11908
11919
  return !0;
@@ -11912,27 +11923,27 @@ input[type="range"]::-webkit-slider-thumb {
11912
11923
  }
11913
11924
  };
11914
11925
  be.style = fe;
11915
- const pe = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", ue = pe, me = class {
11926
+ const me = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", pe = me, ue = class {
11916
11927
  constructor(n) {
11917
- m(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
11928
+ u(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
11918
11929
  }
11919
11930
  render() {
11920
- return i("div", { key: "f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f" }, this.error && this.errorMessage && i("div", { key: "780480b021c958a4d429b13a190ed630df98f539", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "3577ebdde2d337e393d7ae41b0b55d3eac046149", icon: "warning" }), i("p", { key: "c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "57833b0f0f58d36773401eaa0f37fd820ebe094c", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "2330e747a9274c6b9bcadf5ae4a770cfbab78b27", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
11931
+ return i("div", { key: "ac60e5d56a86af64ea34445f9376c942258c9026" }, this.error && this.errorMessage && i("div", { key: "25ff09f276f7028e1b2877133ab639b35cdebaba", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "2add9a34a966428af96598f3e8e07f9535da8728", icon: "warning" }), i("p", { key: "bcb624339190c0585e960a0c4debc3fec2ada4eb", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "00944237618f325774f316faaf4620e5eb507289", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("eds-link", { key: "464c5a59e9c36a06f1cdae9be9e09a4f8b05d282", label: this.link.label, url: this.link.url, intent: "underline", size: "small", external: !0 }));
11921
11932
  }
11922
11933
  };
11923
- me.style = ue;
11934
+ ue.style = pe;
11924
11935
  const xe = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", ye = xe, ve = class {
11925
11936
  constructor(n) {
11926
- m(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
11937
+ u(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
11927
11938
  }
11928
11939
  render() {
11929
- return i("label", { key: "4760fa1b6a66b4ba30b689e65acc9f66e944210d", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a" }, i("span", { key: "0c6f4ee8daab357ff4da750241c472b126cfbb98", "aria-hidden": "true" }, "*"), i("span", { key: "ad18af56b0f20be3c9ee7280c0610c958adfdb87", class: "sr-only" }, "required")));
11940
+ return i("label", { key: "8a421c62ddec859bd7837454aa664a116001fd31", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "ad49202fb172a182822587248c141e0f8d7bcc6f" }, i("span", { key: "e682ff5f3ac83b8adce37c8c9893c2aa235c97b1", "aria-hidden": "true" }, "*"), i("span", { key: "343d2abb7c452fc2a6a67b04727237fea9519838", class: "sr-only" }, "required")));
11930
11941
  }
11931
11942
  };
11932
11943
  ve.style = ye;
11933
- const zt = class {
11944
+ const At = class {
11934
11945
  constructor(n) {
11935
- m(this, n), this.edsrange = v(this, "edsrange", 7), this.onInput = (e) => {
11946
+ u(this, n), this.edsrange = v(this, "edsrange", 7), this.onInput = (e) => {
11936
11947
  const t = e.target;
11937
11948
  this.sliderVal = parseInt(t.value, 10);
11938
11949
  }, this.onChange = (e) => {
@@ -11954,7 +11965,7 @@ const zt = class {
11954
11965
  return this.inputElement;
11955
11966
  }
11956
11967
  render() {
11957
- return i("div", { key: "7592e5f4c1154281fb0577af739451ea0f16dc17", class: "relative flex flex-col items-start" }, i("input", { key: "8d5d0b3b5b51665a340304ba56f6fd6b053d3c5f", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "c040d2a7e6aae8662e33d393bf1e93b0c8c254dc", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
11968
+ return i("div", { key: "27c60fe7ad5cf3cf8255129529ef64905c87b609", class: "relative flex flex-col items-start" }, i("input", { key: "8ef115e18b6afd956c57a30cd4b9ee45ecd79334", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "beb95f6aa032db57ec401839cea48ac1d3a1861d", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
11958
11969
  }
11959
11970
  get el() {
11960
11971
  return y(this);
@@ -11964,9 +11975,9 @@ const zt = class {
11964
11975
  value: ["onValueChange"]
11965
11976
  };
11966
11977
  }
11967
- }, Ft = class {
11978
+ }, Lt = class {
11968
11979
  constructor(n) {
11969
- m(this, n), this.search = v(this, "search", 7), this.keydownListener = (e) => {
11980
+ u(this, n), this.search = v(this, "search", 7), this.keydownListener = (e) => {
11970
11981
  (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
11971
11982
  }, this.onChange = (e) => {
11972
11983
  this.search.emit({
@@ -11991,8 +12002,8 @@ const zt = class {
11991
12002
  return this.inputElement;
11992
12003
  }
11993
12004
  render() {
11994
- return i("div", { key: "e5065d821db5f66b4ddfccb84e911f8c9148d12c", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "e661107b6202d7529209c67622a9f27bb15de2fc", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
11995
- key: "1633e9108da6b675f1bcbddbbcb88e67843dddbf",
12005
+ return i("div", { key: "4057975b193458daff5cc779e7671f3aa8df82fb", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "47366d7737c3c044aa97f6e5a5a76301c5f688ae", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
12006
+ key: "70195ba54b9afd1c953735899d6fbfd668f81c71",
11996
12007
  id: this.inputId || this.name,
11997
12008
  name: this.name,
11998
12009
  placeholder: this.placeholder,
@@ -12009,21 +12020,21 @@ const zt = class {
12009
12020
  get el() {
12010
12021
  return y(this);
12011
12022
  }
12012
- }, It = class {
12023
+ }, _t = class {
12013
12024
  constructor(n) {
12014
- m(this, n), this.edsselect = v(this, "edsselect", 7), this.handleChange = (e) => {
12025
+ u(this, n), this.edsselect = v(this, "edsselect", 7), this.handleChange = (e) => {
12015
12026
  const t = e.target;
12016
12027
  this.edsselect.emit(t.value);
12017
12028
  }, this.inputId = void 0, this.name = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.required = !1, this.options = [], this.value = void 0;
12018
12029
  }
12019
12030
  render() {
12020
12031
  const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
12021
- return i("div", { key: "640bbcca727ad0c511238335197bc533869f6229", class: "relative" }, i("select", { key: "75efd5a9c7951fce245a7ee8b89c35d712d06c08", id: n, name: this.name, class: {
12032
+ return i("div", { key: "5f73cb76010cac41f433921395aaf779765e298a", class: "relative" }, i("select", { key: "0705adad43076b6048900d5c62b8be2dff090270", id: n, name: this.name, class: {
12022
12033
  input: !0,
12023
12034
  "input-error": this.error,
12024
12035
  "px-4": !0,
12025
12036
  "py-2": !0
12026
- }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "e8723f0f947dc8e07660a34d49eb769e4bebfd06", value: "", disabled: !0, hidden: !0 }, e), this.options.map((r, l) => i("option", { key: l, value: r.value, selected: r.value === this.value }, r.label))), i("span", { key: "23531f90fcaa854a8abff796e2879648987a56b9", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "6e836b9606c1444d8e97b78ebe1ea4cf092070e3", class: "w-20 h-20", icon: "chevron-right" })));
12037
+ }, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "6b2d7856821cfe804f63f6f289f78bd3f7a8273c", value: "", disabled: !0, hidden: !0 }, e), this.options.map((r, l) => i("option", { key: l, value: r.value, selected: r.value === this.value }, r.label))), i("span", { key: "161692e967ed9c094feb171c6d067058dfafa146", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "513a74b4753a08280326970dfbb16642b5c6b986", class: "w-20 h-20", icon: "chevron-right" })));
12027
12038
  }
12028
12039
  }, we = `*,
12029
12040
  ::before,
@@ -13325,7 +13336,6 @@ Make sure disabled buttons don't get the pointer cursor.
13325
13336
  false: ""
13326
13337
  },
13327
13338
  size: {
13328
- underline: "f-body-02 ",
13329
13339
  small: "min-h-36 f-ui-02 px-12",
13330
13340
  large: "min-h-44 f-ui-01 px-16"
13331
13341
  }
@@ -13378,6 +13388,16 @@ Make sure disabled buttons don't get the pointer cursor.
13378
13388
  intent: "inverse",
13379
13389
  isActive: !0,
13380
13390
  class: "before:!opacity-100"
13391
+ },
13392
+ {
13393
+ intent: "underline",
13394
+ size: "small",
13395
+ class: "!px-0 !py-0 !min-h-0 f-ui-02"
13396
+ },
13397
+ {
13398
+ intent: "underline",
13399
+ size: "large",
13400
+ class: "!px-0 !py-0 !min-h-0 f-ui-01"
13381
13401
  }
13382
13402
  ],
13383
13403
  defaultVariants: {
@@ -13389,7 +13409,7 @@ Make sure disabled buttons don't get the pointer cursor.
13389
13409
  }
13390
13410
  }), Ce = class {
13391
13411
  constructor(n) {
13392
- m(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
13412
+ u(this, n), this.parentContext = null, this.label = void 0, this.intent = "primary", this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1;
13393
13413
  }
13394
13414
  handleParentContext(n) {
13395
13415
  n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
@@ -13412,7 +13432,7 @@ Make sure disabled buttons don't get the pointer cursor.
13412
13432
  this.disabled || (n.key === "Enter" || n.key === " ") && (n.preventDefault(), this.handleClick(n), this.url && !this.disabled && (this.external ? window.open(this.url, "_blank", "noopener,noreferrer") : window.location.href = this.url));
13413
13433
  }
13414
13434
  getLinkSize() {
13415
- return this.intent === "underline" ? "underline" : this.size;
13435
+ return this.size;
13416
13436
  }
13417
13437
  renderLeftIcon() {
13418
13438
  return this.icon && this.iconPos === "left" ? i("span", { class: "flex" }, i("eds-icon-wrapper", { "aria-hidden": "true", class: `
@@ -13433,17 +13453,17 @@ Make sure disabled buttons don't get the pointer cursor.
13433
13453
  iconSmall: this.iconSmall,
13434
13454
  isActive: this.current,
13435
13455
  hasIcon: !!this.icon
13436
- }), e = !this.disabled, t = !this.label || this.hideLabelOnSmallScreen && this.icon, r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
13437
- return i("a", { key: "5c190b2b079dfecb003883a8b25d3c258697c4d6", class: `${n || ""} ${this.extraClass || ""}`, href: e ? this.url : void 0, target: this.external && e ? "_blank" : void 0, rel: this.external && e ? "noopener noreferrer" : void 0, tabIndex: e ? 0 : -1, "aria-label": t ? this.ariaLabel || "Link" : void 0, "aria-disabled": this.disabled ? "true" : void 0, "aria-current": this.current ? "page" : void 0, role: this.disabled ? "link" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l), onKeyDown: (l) => this.handleKeyDown(l) }, i("span", { key: "f4e89354ea8e252a26c85a560af9e7cfed7f8287", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "ca10c283dd14c3e3830baddec7ba193522a02e7c", class: r }, this.label), this.renderRightIcon()));
13456
+ }), e = typeof this.url == "string" && this.url.length ? this.url : void 0, t = !this.disabled, r = !this.label || this.hideLabelOnSmallScreen && this.icon, l = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
13457
+ return i("a", { key: "1ae7cb8fda0fdc0a4396504a4dfa13afa428d98f", class: `${n || ""}`, href: t ? e : void 0, target: this.external && t ? "_blank" : void 0, rel: this.external && t ? "noopener noreferrer" : void 0, tabIndex: t ? 0 : -1, "aria-label": r ? this.ariaLabel || "Link" : void 0, "aria-disabled": this.disabled ? "true" : void 0, "aria-current": this.current ? "page" : void 0, role: this.disabled ? "link" : void 0, download: this.download ? "" : void 0, onClick: (a) => this.handleClick(a), onKeyDown: (a) => this.handleKeyDown(a) }, i("span", { key: "7fc137758d974ba4a3a974f7b22587d3ca3b031e", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "7c79baae49579eef264ab6546aa3ac8e044dcb46", class: l }, this.label), this.renderRightIcon()));
13438
13458
  }
13439
13459
  get el() {
13440
13460
  return y(this);
13441
13461
  }
13442
13462
  };
13443
13463
  Ce.style = ke;
13444
- const Ee = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", ze = Ee, Fe = class {
13464
+ const ze = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", Ee = ze, Fe = class {
13445
13465
  constructor(n) {
13446
- m(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
13466
+ u(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
13447
13467
  }
13448
13468
  /**
13449
13469
  * Handles the click event on the logo link.
@@ -13467,11 +13487,11 @@ const Ee = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
13467
13487
  getLogo() {
13468
13488
  const e = {
13469
13489
  horizontal: {
13470
- color: tn,
13490
+ color: rn,
13471
13491
  black: bn,
13472
- "color-white": pn,
13473
- white: un,
13474
- "no-bg": mn
13492
+ "color-white": mn,
13493
+ white: pn,
13494
+ "no-bg": un
13475
13495
  },
13476
13496
  vertical: {
13477
13497
  color: xn,
@@ -13482,22 +13502,22 @@ const Ee = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
13482
13502
  }
13483
13503
  }[this.orientation];
13484
13504
  if (!e)
13485
- return tn;
13505
+ return rn;
13486
13506
  const t = e[this.type];
13487
13507
  return t || e.color;
13488
13508
  }
13489
13509
  render() {
13490
13510
  const n = this.getLogo();
13491
- return i("a", { key: "735f3592da7eed337c528731c28c6e708bbfcf82", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "5db166d68cb6e193d3dbc2a8ba4b54eae99aac44", innerHTML: n }));
13511
+ return i("a", { key: "0a0d4dd69a1af10c1c571a56ed0f698d95652405", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "0d8ca0f9c647b3b12daf944b9c2919a93134bec2", innerHTML: n }));
13492
13512
  }
13493
13513
  get el() {
13494
13514
  return y(this);
13495
13515
  }
13496
13516
  };
13497
- Fe.style = ze;
13517
+ Fe.style = Ee;
13498
13518
  const Ie = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}", Ae = Ie, Le = class {
13499
13519
  constructor(n) {
13500
- m(this, n), this.consent = v(this, "consent", 7), this.heading = "Analytics Consent", this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.", this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.", this.forceShow = !1, this.showNotice = !0;
13520
+ u(this, n), this.consent = v(this, "consent", 7), this.heading = "Analytics Consent", this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.", this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.", this.forceShow = !1, this.showNotice = !0;
13501
13521
  }
13502
13522
  /**
13503
13523
  * Listens for global custom events to open the matomo-consent.
@@ -13558,10 +13578,10 @@ const Ie = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%
13558
13578
  fn(), localStorage.removeItem(`${window.location.host}-matomo-consent-given`), this.hideNotice(), this.consent.emit("in");
13559
13579
  }
13560
13580
  optOutAnalytics() {
13561
- en(), this.hideNotice(), this.consent.emit("out");
13581
+ tn(), this.hideNotice(), this.consent.emit("out");
13562
13582
  }
13563
13583
  noThanks() {
13564
- en(), localStorage.setItem(`${window.location.host}-matomo-consent-given`, "out"), this.hideNotice(), this.consent.emit("out");
13584
+ tn(), localStorage.setItem(`${window.location.host}-matomo-consent-given`, "out"), this.hideNotice(), this.consent.emit("out");
13565
13585
  }
13566
13586
  /*private deferDecision() {
13567
13587
  sessionStorage.setItem(this.getStorageKey(), 'true');
@@ -13584,61 +13604,93 @@ const Ie = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%
13584
13604
  Le.style = Ae;
13585
13605
  const _e = '.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}', Te = _e, De = class {
13586
13606
  constructor(n) {
13587
- m(this, n), this.nps = v(this, "nps", 7), this.min = 0, this.max = 10, this.question = void 0, this.leftLabel = void 0, this.rightLabel = void 0, this.selectedValue = null;
13588
- }
13589
- handleClick(n) {
13590
- this.selectedValue = n, this.nps.emit(n);
13591
- }
13592
- handleKeyNav(n) {
13593
- const e = Array.from(this.el.shadowRoot.querySelectorAll("eds-button")), t = e.findIndex((r) => r.tabIndex === 0);
13594
- switch (n.key) {
13595
- case "ArrowRight":
13596
- case "ArrowLeft": {
13597
- n.preventDefault();
13598
- const r = n.key === "ArrowRight" ? 1 : -1, l = Math.min(this.max, Math.max(0, t + r));
13599
- this.activateRadio(e, l);
13600
- break;
13601
- }
13602
- case "Home": {
13603
- n.preventDefault(), this.activateRadio(e, 0);
13604
- break;
13605
- }
13606
- case "End": {
13607
- n.preventDefault(), this.activateRadio(e, this.max);
13608
- break;
13609
- }
13610
- case "Enter":
13611
- case " ": {
13612
- n.preventDefault(), t >= 0 && this.handleClick(this.min + t);
13613
- break;
13614
- }
13615
- case "Escape": {
13616
- n.preventDefault(), t >= 0 && e[t].blur();
13617
- break;
13618
- }
13619
- default:
13607
+ u(this, n), this.nps = v(this, "nps", 7), this.min = 0, this.max = 10, this.btnRefs = [], this.onSelect = (e) => {
13608
+ this.selectedValue = e, this.nps.emit(e), requestAnimationFrame(() => {
13609
+ var t, r;
13610
+ const l = e - this.min;
13611
+ (r = (t = this.btnRefs[l]) === null || t === void 0 ? void 0 : t.focus) === null || r === void 0 || r.call(t);
13612
+ });
13613
+ }, this.handleKeyNav = (e) => {
13614
+ const { key: t } = e;
13615
+ if (!["ArrowRight", "ArrowLeft", "Home", "End", " ", "Enter"].includes(t))
13620
13616
  return;
13621
- }
13617
+ e.preventDefault();
13618
+ const l = this.max - this.min + 1;
13619
+ let a = this.selectedValue == null ? 0 : this.selectedValue - this.min;
13620
+ switch (t) {
13621
+ case "ArrowRight":
13622
+ a = Math.min(l - 1, a + 1), this.setActiveByIndex(
13623
+ a,
13624
+ /*commit*/
13625
+ !1
13626
+ );
13627
+ break;
13628
+ case "ArrowLeft":
13629
+ a = Math.max(0, a - 1), this.setActiveByIndex(
13630
+ a,
13631
+ /*commit*/
13632
+ !1
13633
+ );
13634
+ break;
13635
+ case "Home":
13636
+ this.setActiveByIndex(
13637
+ 0,
13638
+ /*commit*/
13639
+ !1
13640
+ );
13641
+ break;
13642
+ case "End":
13643
+ this.setActiveByIndex(
13644
+ l - 1,
13645
+ /*commit*/
13646
+ !1
13647
+ );
13648
+ break;
13649
+ case " ":
13650
+ case "Enter":
13651
+ this.onSelect(this.min + a);
13652
+ break;
13653
+ }
13654
+ }, this.question = void 0, this.leftLabel = void 0, this.rightLabel = void 0, this.selectedValue = null;
13622
13655
  }
13623
- activateRadio(n, e) {
13624
- const t = n[e], r = this.min + e;
13625
- this.handleClick(r), t.focus();
13656
+ /** Move visual highlight & roving tabindex; optionally commit selection */
13657
+ setActiveByIndex(n, e = !1) {
13658
+ var t;
13659
+ const r = this.min + n;
13660
+ this.selectedValue = r;
13661
+ const l = this.btnRefs[n];
13662
+ typeof (l == null ? void 0 : l.focusInner) == "function" ? l.focusInner() : (t = l == null ? void 0 : l.focus) === null || t === void 0 || t.call(l), e && this.onSelect(r);
13626
13663
  }
13627
13664
  render() {
13628
13665
  const n = this.max - this.min + 1;
13629
- return i("div", { key: "19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25", class: "eds-nps" }, i("eds-input-label", { key: "046239977d2dc639eabfc60a67df62011833a983", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "e296b8ff3a081f42263ee0c0a28ef3f304b1e1c0", role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: n }, (e, t) => {
13630
- const r = this.min + t, l = r === this.selectedValue;
13631
- return i("div", { class: "grid-col-span-1", key: r }, i("eds-button", { tabindex: l ? 0 : -1, label: `${r}`, "aria-label": `${r}`, intent: l ? "primary" : "ghost", "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(r) }));
13632
- })), i("div", { key: "305bc5b2d162fc40fc56557291d37e29498563a2", class: "flex justify-between mt-8" }, i("span", { key: "7fe2191db8cacabed26f451ac0175f23ede3317e", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "a85aca88d4de2897d7ba04578cf57a844c660675", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
13666
+ return i("div", { key: "f5e19e0f750c0de6da3bae5713dca0e13eba85fc", class: "eds-nps" }, i("eds-input-label", { key: "3ff611a932976956735395fb531d9a800b554974", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "da0c3af26dd24d7dc618675aa7f197f55023230f", id: "nps-buttons", role: "radiogroup", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: this.handleKeyNav }, Array.from({ length: n }, (e, t) => {
13667
+ const r = this.min + t, l = r === this.selectedValue, a = l || this.selectedValue == null && t === 0 ? 0 : -1;
13668
+ return i("div", { class: "grid-col-span-1", key: r }, i("eds-button", {
13669
+ ref: (o) => this.btnRefs[t] = o,
13670
+ role: "radio",
13671
+ "aria-checked": l ? "true" : "false",
13672
+ "aria-label": `${r}`,
13673
+ // Use onClick so keyboard activation on inner <button> works natively
13674
+ onClick: () => this.onSelect(r),
13675
+ tabIndex: a,
13676
+ intent: l ? "primary" : "ghost",
13677
+ "extra-class": "!block !px-0 w-full",
13678
+ label: `${r}`,
13679
+ // Optional: keep highlight in sync when tabbing into the group
13680
+ onFocus: () => {
13681
+ this.selectedValue = r;
13682
+ }
13683
+ }));
13684
+ })), i("div", { key: "10b2f854cff8192e54ee30feb44ad4143c54ad10", class: "flex justify-between mt-8" }, i("span", { key: "361b421b368219f9d7aa6306d912913e9d401fa0", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "2969496e1b6f772fcdf49667f66eee6dee6760fa", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
13633
13685
  }
13634
13686
  get el() {
13635
13687
  return y(this);
13636
13688
  }
13637
13689
  };
13638
13690
  De.style = Te;
13639
- const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Re = $e, Oe = class {
13691
+ const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Ne = $e, Oe = class {
13640
13692
  constructor(n) {
13641
- m(this, n), this.handleKeyDown = (e) => {
13693
+ u(this, n), this.handleKeyDown = (e) => {
13642
13694
  if (this.mode !== "default" || !this.useButtons)
13643
13695
  return;
13644
13696
  const t = this.getNavigableItems();
@@ -13647,8 +13699,8 @@ const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
13647
13699
  const r = e.key === "ArrowRight" ? 1 : -1;
13648
13700
  let l = this.focusedIndex;
13649
13701
  if (l === -1) {
13650
- const s = t.findIndex((o) => o.type === "page" && o.page === this.currentPage);
13651
- l = s !== -1 ? s : 0;
13702
+ const o = t.findIndex((s) => s.type === "page" && s.page === this.currentPage);
13703
+ l = o !== -1 ? o : 0;
13652
13704
  }
13653
13705
  let a = l + r;
13654
13706
  a >= t.length ? a = 0 : a < 0 && (a = t.length - 1), this.focusedIndex = a, this.focusPaginationItem(a);
@@ -13787,7 +13839,7 @@ const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
13787
13839
  }
13788
13840
  }
13789
13841
  render() {
13790
- return i("div", { key: "1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259" }, this.total > 0 && this.mode === "default" && i("p", { key: "87b18c6b1fc475e335f829a4f61b7a8883dc7b9e", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "d5af6f58fc41d83c7e9519bbaa76fb31e6cbb522", class: "text-light sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === "default" ? "pagination-info" : void 0, onKeyDown: this.handleKeyDown }, i("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, i("li", { class: "mr-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.prevLabel, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (e) => {
13842
+ return i("div", { key: "17128145803ac6af5f37d5e7c7f0576961c3e372" }, this.total > 0 && this.mode === "default" && i("p", { key: "e50738bfadd0b115ed2d05b81199f0d4cfadda18", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "230f2306254d7c5fa2bfd354f308e4fa6b5c2994", class: "text-light sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === "default" ? "pagination-info" : void 0, onKeyDown: this.handleKeyDown }, i("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, i("li", { class: "mr-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.prevLabel, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (e) => {
13791
13843
  this.mode === "default" && !this.isFirstPage() && this.handlePageClick(e, (this.currentPage || 1) - 1);
13792
13844
  } })) : i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12" })), this.mode === "default" && this.links.map((e, t) => i("li", { key: t, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof e == "string" ? i("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, e) : this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: e.label, "aria-label": e.current ? `Current page, page ${e.label}` : `Go to page ${e.label}`, "aria-current": e.current ? "page" : void 0, size: "small", "extra-class": "!p-8 pagination-button", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) })) : i("eds-link", { url: e.url, "aria-label": e.ariaLabel, label: e.label, current: e.current, "aria-current": e.current ? "page" : void 0, size: "small", class: "!p-8", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) }))), i("li", { class: "ml-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.nextLabel, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "ghost", "extra-class": "!p-8 lg:!pl-12 pagination-button", onClick: (e) => {
13793
13845
  this.mode === "default" && !this.isLastPage() && this.handlePageClick(e, (this.currentPage || 1) + 1);
@@ -13803,10 +13855,10 @@ const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
13803
13855
  };
13804
13856
  }
13805
13857
  };
13806
- Oe.style = Re;
13807
- const Ne = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Pe = Ne, He = class {
13858
+ Oe.style = Ne;
13859
+ const Re = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Pe = Re, je = class {
13808
13860
  constructor(n) {
13809
- m(this, n), this.rating = v(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
13861
+ u(this, n), this.rating = v(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
13810
13862
  }
13811
13863
  /**
13812
13864
  * Lifecycle method that runs when the component has fully loaded.
@@ -13852,7 +13904,7 @@ const Ne = ":host{display:inline-block}.block{display:block}.stars{display:flex;
13852
13904
  r > this.ratingCount && (r = 1), r < 1 && (r = this.ratingCount), this.onSelect(r);
13853
13905
  }
13854
13906
  render() {
13855
- return i("div", { key: "8dcde2afdc0db27d3f6be48f1d58cc7c7f88b0f0", id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (n) => this.handleKeyNav(n) }, Array.from({ length: this.ratingCount }, (n, e) => {
13907
+ return i("div", { key: "5d1cf924d2a59b4141eac1bd4f122c9cf640cf9c", id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (n) => this.handleKeyNav(n) }, Array.from({ length: this.ratingCount }, (n, e) => {
13856
13908
  const t = e + 1, r = t <= this.selectedRating, l = this.selectedRating === t;
13857
13909
  return i("eds-button", {
13858
13910
  ref: (a) => this.buttonRefs[e] = a,
@@ -13871,10 +13923,105 @@ const Ne = ":host{display:inline-block}.block{display:block}.stars{display:flex;
13871
13923
  return y(this);
13872
13924
  }
13873
13925
  };
13874
- He.style = Pe;
13875
- const je = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}", We = je, Be = class {
13926
+ je.style = Pe;
13927
+ const He = ":host{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;transition:width 0.3s ease}:host(.collapsed){width:4rem}:host::-webkit-scrollbar{width:8px}:host::-webkit-scrollbar-track{background:transparent}:host::-webkit-scrollbar-thumb{background:rgba(0, 0, 0, 0.2);border-radius:4px}:host::-webkit-scrollbar-thumb:hover{background:rgba(0, 0, 0, 0.3)}.sidebar-nav{padding:0.5rem 0}.sidebar-header{display:flex;justify-content:flex-end;padding:0.5rem 0.75rem;margin-bottom:0.5rem}:host(.collapsed) .sidebar-header{justify-content:center;padding:0.5rem}.collapse-toggle{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;border:none;cursor:pointer;padding:0;border-radius:0.375rem;transition:background-color 0.15s ease;color:inherit}.collapse-toggle:hover{background-color:rgba(0, 0, 0, 0.08)}.collapse-toggle:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:2px}.sidebar-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0.125rem}.sidebar-item{display:flex;flex-direction:column}.sidebar-item-content{display:flex;align-items:center;gap:0.5rem;padding:0.5rem 0.75rem;cursor:pointer;user-select:none;word-break:break-word;transition:background-color 0.15s ease;border-radius:0.375rem;margin:0 0.5rem;position:relative}:host(.collapsed) .sidebar-item-content{justify-content:center;padding:0.75rem;margin:0 0.5rem}.sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}.sidebar-item-content:focus-visible{outline:2px solid var(--eds-focus-color, #0066cc);outline-offset:-2px;z-index:1}.sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem}.sidebar-content-wrapper{display:flex;align-items:center;gap:0.5rem;flex:1;min-width:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.25rem;height:1.25rem;padding:0;margin:-0.125rem 0;pointer-events:none}.sidebar-link-wrapper{flex:1;min-width:0;pointer-events:none}.sidebar-link{font-weight:400;pointer-events:none}.sidebar-children{list-style:none;margin:0.25rem 0 0 0;padding:0;display:flex;flex-direction:column;gap:0.125rem;overflow:hidden;animation:slideDown 0.2s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-0.25rem)}to{opacity:1;transform:translateY(0)}}.sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.collapsed) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}.sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}.sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}.sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}.sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}.sidebar-item.level-5 .sidebar-item-content{padding-left:7rem}:host(.theme-default) .sidebar-item-content{border-radius:0.375rem;margin:0 0.5rem;padding:0.5rem 0.75rem}:host(.theme-default.collapsed) .sidebar-item-content{margin:0 0.5rem;border-radius:0.375rem}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.04)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:transparent}:host(.theme-default) .sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:600}:host(.theme-default) .sidebar-item.level-0 .sidebar-item-content{padding-left:0.75rem}:host(.theme-default) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-default) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-default) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-default) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-item-content{border-radius:0;margin:0;padding-left:1rem;padding-right:1rem}:host(.theme-minimal.collapsed) .sidebar-item-content{margin:0 0.25rem;border-radius:0.375rem}:host(.theme-minimal) .sidebar-item-content:hover{background-color:var(--grey-300)}:host(.theme-minimal) .sidebar-item.active>.sidebar-item-content{background-color:var(--grey-400);border-left:3px solid var(--grey-900);padding-left:calc(1rem - 3px)}:host(.theme-minimal.collapsed) .sidebar-item.active>.sidebar-item-content{border-left:none;border-radius:0.375rem;padding-left:0.75rem}:host(.theme-minimal) .sidebar-item.level-1.active>.sidebar-item-content{padding-left:calc(2rem - 3px)}:host(.theme-minimal) .sidebar-item.level-2.active>.sidebar-item-content{padding-left:calc(3.25rem - 3px)}:host(.theme-minimal) .sidebar-item.level-3.active>.sidebar-item-content{padding-left:calc(4.5rem - 3px)}:host(.theme-minimal) .sidebar-item.level-4.active>.sidebar-item-content{padding-left:calc(5.75rem - 3px)}:host(.theme-minimal) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-minimal) .sidebar-item.level-1 .sidebar-item-content{padding-left:2rem}:host(.theme-minimal) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.25rem}:host(.theme-minimal) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.5rem}:host(.theme-minimal) .sidebar-item.level-4 .sidebar-item-content{padding-left:5.75rem}:host(.theme-minimal) .sidebar-children{position:relative}:host(.theme-ebrains) .sidebar-item-content{padding:0.5rem 1rem;border-radius:0.5rem;margin:0 0.5rem}:host(.theme-ebrains.collapsed) .sidebar-item-content{padding:0.75rem}:host(.theme-ebrains) .sidebar-item-content:hover{background-color:rgba(0, 0, 0, 0.05)}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content{background-color:var(--green-600, #22c55e);color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-link{--eds-link-color:white;--eds-link-hover-color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-toggle{color:white}:host(.theme-ebrains) .sidebar-item.active>.sidebar-item-content .sidebar-icon{color:white}:host(.theme-ebrains) .sidebar-item.level-0 .sidebar-item-content{padding-left:1rem}:host(.theme-ebrains) .sidebar-item.level-1 .sidebar-item-content{padding-left:2.25rem}:host(.theme-ebrains) .sidebar-item.level-2 .sidebar-item-content{padding-left:3.5rem}:host(.theme-ebrains) .sidebar-item.level-3 .sidebar-item-content{padding-left:4.75rem}:host(.theme-ebrains) .sidebar-item.level-4 .sidebar-item-content{padding-left:6rem}@media (prefers-color-scheme: dark){.collapse-toggle:hover{background-color:rgba(255, 255, 255, 0.08)}:host(.theme-default) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.05)}:host(.theme-default) .sidebar-item.active>.sidebar-item-content{background-color:rgba(0, 102, 204, 0.15)}:host(.theme-minimal) .sidebar-item-content:hover{background-color:rgba(255, 255, 255, 0.06)}:host::-webkit-scrollbar-thumb{background:rgba(255, 255, 255, 0.2)}:host::-webkit-scrollbar-thumb:hover{background:rgba(255, 255, 255, 0.3)}}.sidebar-toggle eds-icon-wrapper,.sidebar-icon eds-icon-wrapper,.collapse-toggle eds-icon-wrapper{transition:transform 0.15s ease;display:flex;align-items:center;justify-content:center}.sidebar-item-content:focus-visible .sidebar-link{text-decoration:underline}.sidebar-item.active>.sidebar-item-content .sidebar-link{font-weight:500}:host(.collapsed) .sidebar-item-content::after{content:attr(title);position:absolute;left:100%;top:50%;transform:translateY(-50%);margin-left:0.5rem;padding:0.5rem 0.75rem;background:rgba(0, 0, 0, 0.9);color:white;border-radius:0.375rem;white-space:nowrap;font-size:0.875rem;opacity:0;pointer-events:none;transition:opacity 0.2s ease;z-index:1000}:host(.collapsed) .sidebar-item-content:hover::after{opacity:1;transition-delay:0.3s}.-ml-4{margin-left:-0.25rem}.mt-2{margin-top:0.125rem}", We = He, Be = class {
13928
+ constructor(n) {
13929
+ u(this, n), this.sidebar = v(this, "sidebar", 7), this.toggleItem = (e, t) => {
13930
+ t && t.stopPropagation();
13931
+ const r = new Set(this.openItems);
13932
+ r.has(e) ? r.delete(e) : r.add(e), this.openItems = r;
13933
+ }, this.navigate = (e, t) => {
13934
+ !this.enableRouting || !e || (t && (t.preventDefault(), t.stopPropagation()), this.sidebar.emit(e), typeof window < "u" && window.history && window.history.pushState({}, "", e));
13935
+ }, this.handleItemClick = (e, t) => {
13936
+ var r;
13937
+ if (!((r = e.children) === null || r === void 0) && r.length) {
13938
+ this.toggleItem(e.id, t);
13939
+ return;
13940
+ }
13941
+ e.url && this.navigate(e.url, t);
13942
+ }, this.items = "[]", this.theme = "default", this.activeUrl = "", this.enableRouting = !0, this.maxLevel = 4, this.openItems = /* @__PURE__ */ new Set(), this.parsedItems = [];
13943
+ }
13944
+ // ---------------------------------------------------------------------------
13945
+ // Lifecycle
13946
+ // ---------------------------------------------------------------------------
13947
+ componentWillLoad() {
13948
+ this.parsedItems = this.parseItems(this.items), this.initializeOpenItems(this.parsedItems);
13949
+ }
13950
+ // ---------------------------------------------------------------------------
13951
+ // Watchers
13952
+ // ---------------------------------------------------------------------------
13953
+ handleItemsChange(n) {
13954
+ this.parsedItems = this.parseItems(n), this.initializeOpenItems(this.parsedItems);
13955
+ }
13956
+ handleActiveUrlChange() {
13957
+ this.initializeOpenItems(this.parsedItems);
13958
+ }
13959
+ // ---------------------------------------------------------------------------
13960
+ // Utils
13961
+ // ---------------------------------------------------------------------------
13962
+ parseItems(n) {
13963
+ if (Array.isArray(n))
13964
+ return n;
13965
+ if (typeof n == "string") {
13966
+ if (!n || n.trim() === "")
13967
+ return [];
13968
+ try {
13969
+ const e = JSON.parse(n);
13970
+ return Array.isArray(e) ? e : [];
13971
+ } catch (e) {
13972
+ return console.error("eds-sidebar: Failed to parse items JSON:", e), console.error("Received string:", n), [];
13973
+ }
13974
+ }
13975
+ return [];
13976
+ }
13977
+ initializeOpenItems(n, e = 0) {
13978
+ e === 0 && (this.openItems = /* @__PURE__ */ new Set()), !(e >= this.maxLevel) && n.forEach((t) => {
13979
+ var r;
13980
+ const l = this.activeUrl && t.url === this.activeUrl, a = this.hasActiveDescendant(t);
13981
+ (t.open || l || a) && this.openItems.add(t.id), !((r = t.children) === null || r === void 0) && r.length && this.initializeOpenItems(t.children, e + 1);
13982
+ });
13983
+ }
13984
+ hasActiveDescendant(n) {
13985
+ var e;
13986
+ return n.url === this.activeUrl ? !0 : !((e = n.children) === null || e === void 0) && e.length ? n.children.some((t) => this.hasActiveDescendant(t)) : !1;
13987
+ }
13988
+ // ---------------------------------------------------------------------------
13989
+ // Render
13990
+ // ---------------------------------------------------------------------------
13991
+ renderItem(n, e = 0) {
13992
+ if (e >= this.maxLevel)
13993
+ return null;
13994
+ const t = this.openItems.has(n.id), r = !!n.url && this.activeUrl === n.url, l = !!(n.children && n.children.length), o = `${`eds-sidebar-${n.id}`}-children`;
13995
+ return i("li", { class: {
13996
+ "sidebar-item": !0,
13997
+ open: t,
13998
+ active: r,
13999
+ "has-children": l,
14000
+ [`level-${e}`]: !0
14001
+ } }, i("div", { class: "sidebar-item-content", onClick: (s) => this.handleItemClick(n, s), role: l ? "button" : n.url ? "link" : "button", tabindex: "0", "aria-current": r ? "page" : void 0, "aria-expanded": l ? t ? "true" : "false" : void 0, "aria-controls": l ? o : void 0, onKeyDown: (s) => {
14002
+ (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleItemClick(n, s));
14003
+ } }, l && i("span", { class: "sidebar-toggle mt-2 -ml-4", "aria-hidden": "true" }, i("eds-icon-wrapper", { icon: t ? "chevron-down" : "chevron-right" })), i("span", { class: "sidebar-link-wrapper" }, i("eds-link", { label: n.title, url: n.url || "#", intent: r ? "strong" : "weak", size: "small", "aria-label": n.title, "extra-class": "sidebar-link", tabindex: "-1" }))), l && t && i("ul", { id: o, class: "sidebar-children" }, n.children.map((s) => this.renderItem(s, e + 1))));
14004
+ }
14005
+ render() {
14006
+ return i(Z, { key: "4334d20e5d72671243633253910ab05b4da013da", class: {
14007
+ "eds-sidebar": !0,
14008
+ [`theme-${this.theme}`]: !0
14009
+ } }, i("nav", { key: "319f6f42416d4229f1b011bf1216b39c8627302d", class: "sidebar-nav", "aria-label": "Sidebar" }, i("ul", { key: "687ceae3eca3e844e8f6a361db4a76d127d27813", class: "sidebar-list" }, this.parsedItems.map((n) => this.renderItem(n, 0)))));
14010
+ }
14011
+ get el() {
14012
+ return y(this);
14013
+ }
14014
+ static get watchers() {
14015
+ return {
14016
+ items: ["handleItemsChange"],
14017
+ activeUrl: ["handleActiveUrlChange"]
14018
+ };
14019
+ }
14020
+ };
14021
+ Be.style = We;
14022
+ const qe = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}", Me = qe, Ue = class {
13876
14023
  constructor(n) {
13877
- m(this, n), this.size = "md", this.variant = "secondary", this.message = void 0, this.background = "var(--grey-200)", this.fullscreen = !1;
14024
+ u(this, n), this.size = "md", this.variant = "secondary", this.message = void 0, this.background = "var(--grey-200)", this.fullscreen = !1;
13878
14025
  }
13879
14026
  get spinnerSize() {
13880
14027
  switch (this.size) {
@@ -13932,186 +14079,301 @@ const je = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%
13932
14079
  alignItems: "center",
13933
14080
  justifyContent: "center"
13934
14081
  };
13935
- return i(ln, { key: "e4c2f4762d214028c2e97666040e05ad5651debf" }, i("div", { key: "e12572cb0195a84402847b0fc723ad2198196661", class: "spinner-overlay", style: r }, i("span", { key: "6aa3b28a4e79951a5bbb46f6d7d845baf3761d14", class: "spinner", style: t }), this.message && i("p", { key: "5817378b525ecb8d8a211105b73a2db00067fbe3", class: "f-body-01" }, this.message)));
14082
+ return i(Z, { key: "28271d7eced2bc3d69538aa490d623167affd590" }, i("div", { key: "2a8987cb80c67a42f18ac0db8c0078a90d9fd97a", class: "spinner-overlay", style: r }, i("span", { key: "c6267576391c24c41ceb0141dd897f590033b26f", class: "spinner", style: t }), this.message && i("p", { key: "ae67369899652f6ecc9c9411fd62a68a437553c5", class: "f-body-01" }, this.message)));
13936
14083
  }
13937
14084
  };
13938
- Be.style = We;
13939
- const qe = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}", Me = qe, Ue = class {
14085
+ Ue.style = Me;
14086
+ const Ve = `blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-39px;top:-2px;display:flex;align-items:center;justify-content:center;width:31px;height:31px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.mb-16{margin-bottom:1rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0}.horizontal-step{display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer;flex:1;position:relative}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:50%;width:100%;height:2px;background-color:#e0e0e0;z-index:-1}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--green-500);}.step-indicator{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease}.horizontal-step.is-active .step-indicator{border-color:var(--green-500);background-color:var(--green-500);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--green-500);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-weight:600;font-size:0.875rem}.step-label{font-size:0.875rem;text-align:center;font-weight:500}.horizontal-step.is-active .step-label{color:var(--green-500)}.step-content{padding:2rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem)}.opacity-50{opacity:0.5}.eds-steps__title[role="button"]{cursor:pointer}`, Ge = Ve, Ye = class {
13940
14087
  constructor(n) {
13941
- m(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
13942
- if (e === this.activeStep) {
14088
+ u(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
14089
+ if (this.type === "linear") {
14090
+ if (e > this.activeStep) {
14091
+ for (let t = this.activeStep; t < e; t++)
14092
+ if (this.isStepDisabled(t))
14093
+ return;
14094
+ }
14095
+ this.activeStep = e, this.step.emit(this.activeStep);
14096
+ return;
14097
+ }
14098
+ if (this.orientation === "vertical" && e === this.activeStep && this.collapsibleTitles) {
13943
14099
  this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
13944
14100
  return;
13945
14101
  }
13946
- this.type === "linear" && e > this.activeStep && this.isNextDisabledFor(this.activeStep) || (this.activeStep = e, this.step.emit(this.activeStep));
14102
+ this.activeStep = e, this.step.emit(this.activeStep);
13947
14103
  }, this.handleNext = () => {
13948
14104
  const e = this.parsedSteps.length - 1;
13949
14105
  if (this.activeStep >= e) {
13950
- this.activeStep = -1, this.finished.emit();
14106
+ this.finished.emit(), this.activeStep = -1, this.step.emit(this.activeStep);
13951
14107
  return;
13952
14108
  }
13953
14109
  const t = this.activeStep + 1;
13954
- this.next.emit(t), !this.isNextDisabledFor(this.activeStep) && (this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1));
14110
+ this.next.emit(t), !this.isStepDisabled(this.activeStep) && (this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1));
13955
14111
  }, this.handleBack = () => {
14112
+ const e = this.parsedSteps.length - 1;
14113
+ if (this.activeStep < 0) {
14114
+ this.activeStep = e, this.step.emit(this.activeStep);
14115
+ return;
14116
+ }
13956
14117
  if (this.activeStep > 0) {
13957
- const e = this.activeStep - 1;
13958
- this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1);
14118
+ const t = this.activeStep - 1;
14119
+ this.back.emit(t), this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1);
13959
14120
  }
13960
- }, this.steps = [], this.type = "static", this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
14121
+ }, this.steps = [], this.type = "static", this.orientation = "vertical", this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.collapsibleTitles = !1, this.activeStep = 0;
14122
+ }
14123
+ handleDisableNextChange(n) {
14124
+ if (typeof n == "string" && n.trim().startsWith("["))
14125
+ try {
14126
+ this.disableNext = JSON.parse(n);
14127
+ } catch (e) {
14128
+ console.error("Failed to parse disable-next array:", e);
14129
+ }
14130
+ }
14131
+ componentWillLoad() {
14132
+ this.handleDisableNextChange(this.disableNext);
13961
14133
  }
13962
14134
  componentDidLoad() {
13963
- var n;
13964
14135
  if (this.type === "linear") {
13965
- const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
14136
+ const e = (this.el.shadowRoot || this.el).querySelectorAll("eds-button");
13966
14137
  e == null || e.forEach((t) => this.emitContext(t));
13967
14138
  }
13968
14139
  }
13969
14140
  activeStepChanged(n) {
13970
- setTimeout(() => {
13971
- var e;
13972
- const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
13973
- t && t.querySelectorAll("eds-button").forEach((r) => this.emitContext(r));
14141
+ const e = Math.max(0, this.parsedSteps.length - 1);
14142
+ if (n > e) {
14143
+ this.activeStep = e;
14144
+ return;
14145
+ }
14146
+ if (n < -1) {
14147
+ this.activeStep = -1;
14148
+ return;
14149
+ }
14150
+ n < 0 || setTimeout(() => {
14151
+ const r = (this.el.shadowRoot || this.el).querySelectorAll(".step"), l = r && n < r.length ? r[n] : void 0;
14152
+ l == null || l.querySelectorAll("eds-button").forEach((a) => this.emitContext(a));
13974
14153
  }, 50);
13975
14154
  }
13976
14155
  emitContext(n) {
13977
14156
  const e = new CustomEvent("parentContext", {
13978
- detail: {
13979
- componentName: this.el.tagName.toLowerCase(),
13980
- identifier: this.activeStep
13981
- }
14157
+ detail: { componentName: this.el.tagName.toLowerCase(), identifier: this.activeStep },
14158
+ bubbles: !0,
14159
+ composed: !0
13982
14160
  });
13983
14161
  n.dispatchEvent(e);
13984
14162
  }
13985
14163
  get parsedSteps() {
13986
- return R(this.steps);
14164
+ return N(this.steps);
14165
+ }
14166
+ isStepDisabled(n) {
14167
+ return Array.isArray(this.disableNext) ? n < this.disableNext.length ? !!this.disableNext[n] : !1 : n === this.activeStep && !!this.disableNext;
13987
14168
  }
13988
14169
  isNextDisabledFor(n) {
13989
- return Array.isArray(this.disableNext) ? !!this.disableNext[n] : n === this.activeStep && !!this.disableNext;
14170
+ return this.isStepDisabled(n);
13990
14171
  }
13991
14172
  /** Render the semantic heading element as a clickable control only in linear mode */
13992
14173
  renderHeading(n, e) {
13993
14174
  const t = this.headingLevel, r = this.activeStep === e;
13994
14175
  if (this.type === "linear") {
13995
- const l = e > this.activeStep && this.isNextDisabledFor(this.activeStep), a = (s) => {
13996
- l || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
14176
+ let l = !1;
14177
+ if (e > this.activeStep) {
14178
+ for (let o = this.activeStep; o < e; o++)
14179
+ if (this.isStepDisabled(o)) {
14180
+ l = !0;
14181
+ break;
14182
+ }
14183
+ }
14184
+ const a = (o) => {
14185
+ l || (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.handleTitleClick(e));
13997
14186
  };
13998
14187
  return i(t, { class: `eds-steps__title ${l ? "is-disabled" : ""}`, role: "button", tabindex: l ? -1 : 0, "aria-disabled": l ? "true" : "false", "aria-expanded": r, "aria-controls": `eds-step-panel-${e}`, onClick: () => !l && this.handleTitleClick(e), onKeyDown: a }, n);
13999
14188
  }
14000
- return i(t, null, n);
14189
+ return i(t, { class: `eds-steps__title ${this.collapsibleTitles && e !== this.activeStep, ""}`, onClick: () => this.handleTitleClick(e) }, n);
14190
+ }
14191
+ /** Render horizontal step indicator */
14192
+ renderHorizontalIndicator(n, e) {
14193
+ const t = this.activeStep === e, r = this.activeStep > e;
14194
+ let l = !1;
14195
+ if (e > this.activeStep) {
14196
+ for (let o = this.activeStep; o < e; o++)
14197
+ if (this.isStepDisabled(o)) {
14198
+ l = !0;
14199
+ break;
14200
+ }
14201
+ }
14202
+ return i("div", { class: `horizontal-step ${t ? "is-active" : ""} ${r ? "is-completed" : ""}`, onClick: () => !l && this.handleTitleClick(e), onKeyDown: (o) => {
14203
+ l || (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.handleTitleClick(e));
14204
+ }, role: "button", tabindex: l ? -1 : 0, "aria-label": `Step ${e + 1}: ${n.title}`, "aria-current": t ? "step" : void 0, "aria-disabled": l ? "true" : "false" }, i("div", { class: "step-indicator" }, i("span", { class: "step-number" }, e + 1)), i("span", { class: `text-center text-default f-ui-03 ${l ? "opacity-50" : ""}` }, n.title));
14001
14205
  }
14002
14206
  render() {
14003
14207
  const n = this.parsedSteps;
14004
- return this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => {
14208
+ return this.type === "linear" && this.orientation === "horizontal" ? i("div", { class: "steps--horizontal", style: { "--step-count": n.length.toString() } }, i("div", { class: "horizontal-indicators" }, n.map((e, t) => this.renderHorizontalIndicator(e, t))), n.map((e, t) => {
14005
14209
  const r = t === n.length - 1;
14006
- return i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title, t), this.activeStep === t && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: "f-body-02 text-lighter", innerHTML: e.content })), i("div", { class: "flex items-center mt-16" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(t), size: "small", class: "ml-8" })), i("slot", { name: `actions-${t}` })));
14007
- })) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title, t), i("div", { class: "content", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
14210
+ if (this.activeStep !== t)
14211
+ return null;
14212
+ const l = this.orientation === "horizontal" ? "mt-64" : "mt-32";
14213
+ return i("div", { class: "step-content", key: t, id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: "f-body-02 text-lighter", innerHTML: e.content })), i("div", { class: `flex items-center justify-between ${l}` }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(t), size: "small", class: t > 0 ? "ml-8" : null })), i("slot", { name: `actions-${t}` }));
14214
+ })) : this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => {
14215
+ const r = t === n.length - 1, l = this.orientation === "horizontal" ? "mt-64" : "mt-32";
14216
+ return i("div", { class: "step mb-16", key: t }, this.renderHeading(e.title, t), this.activeStep === t && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: "my-16 f-body-02 text-lighter", innerHTML: e.content })), i("div", { class: `flex items-center justify-between ${l}` }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(t), size: "small", class: t > 0 ? "ml-8" : null })), i("slot", { name: `actions-${t}` })));
14217
+ })) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-16", key: t }, this.renderHeading(e.title, t), i("div", { class: "content", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
14008
14218
  }
14009
14219
  get el() {
14010
14220
  return y(this);
14011
14221
  }
14012
14222
  static get watchers() {
14013
14223
  return {
14224
+ disableNext: ["handleDisableNextChange"],
14014
14225
  activeStep: ["activeStepChanged"]
14015
14226
  };
14016
14227
  }
14017
14228
  };
14018
- Ue.style = Me;
14019
- const Ve = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}", Ge = Ve, Ye = class {
14229
+ Ye.style = Ge;
14230
+ const Xe = `blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-41px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role="button"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0}.horizontal-step{display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer;flex:1;position:relative}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:50%;width:100%;height:2px;background-color:#e0e0e0;z-index:-1}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--green-500);}.step-indicator{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease;z-index:2}.horizontal-step.is-active .step-indicator{border-color:var(--green-500);background-color:var(--green-500);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--green-500);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-weight:600;font-size:0.875rem}.step-label{font-size:0.875rem;text-align:center;font-weight:500}.horizontal-step.is-active .step-label{color:var(--green-500)}.step-content{padding:2rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem)}.opacity-50{opacity:0.5}`, Ke = Xe, Ze = class {
14020
14231
  constructor(n) {
14021
- m(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
14022
- if (e === this.activeStep) {
14232
+ u(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
14233
+ if (this.type === "linear") {
14234
+ if (e > this.activeStep) {
14235
+ for (let t = this.activeStep; t < e; t++)
14236
+ if (this.isStepDisabled(t))
14237
+ return;
14238
+ }
14239
+ this.activeStep = e, this.step.emit(this.activeStep);
14240
+ return;
14241
+ }
14242
+ if (this.orientation === "vertical" && e === this.activeStep) {
14023
14243
  this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
14024
14244
  return;
14025
14245
  }
14026
- this.type === "linear" && e > this.activeStep && this.isNextDisabledForCurrent() || (this.activeStep = e, this.step.emit(this.activeStep));
14246
+ this.activeStep = e, this.step.emit(this.activeStep);
14027
14247
  }, this.handleNext = () => {
14028
14248
  const e = this.parsedSteps.length - 1;
14029
14249
  if (this.activeStep >= e) {
14030
- this.finished.emit(), this.activeStep = -1;
14250
+ this.finished.emit(), this.activeStep = -1, this.step.emit(this.activeStep);
14031
14251
  return;
14032
14252
  }
14033
14253
  const t = this.activeStep + 1;
14034
- this.next.emit(t), this.disableNext || (this.activeStep = t, this.step.emit(this.activeStep));
14254
+ this.next.emit(t), !this.isStepDisabled(this.activeStep) && (this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1));
14035
14255
  }, this.handleBack = () => {
14256
+ const e = this.parsedSteps.length - 1;
14257
+ if (this.activeStep < 0) {
14258
+ this.activeStep = e, this.step.emit(this.activeStep);
14259
+ return;
14260
+ }
14036
14261
  if (this.activeStep > 0) {
14037
- const e = this.activeStep - 1;
14038
- this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep);
14262
+ const t = this.activeStep - 1;
14263
+ this.back.emit(t), this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1);
14039
14264
  }
14040
- }, this.steps = [], this.type = "static", this.imageSrc = void 0, this.imageWidth = void 0, this.bg = !0, this.message = void 0, this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
14265
+ }, this.steps = [], this.type = "static", this.orientation = "vertical", this.imageSrc = void 0, this.imageWidth = void 0, this.message = void 0, this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
14041
14266
  }
14042
- componentDidLoad() {
14043
- var n;
14044
- if (this.type === "linear") {
14045
- const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
14046
- e == null || e.forEach((t) => {
14047
- this.emitContext(t);
14048
- });
14049
- }
14267
+ handleDisableNextChange(n) {
14268
+ if (typeof n == "string" && n.trim().startsWith("["))
14269
+ try {
14270
+ this.disableNext = JSON.parse(n);
14271
+ } catch (e) {
14272
+ console.error("Failed to parse disable-next array:", e);
14273
+ }
14050
14274
  }
14051
14275
  activeStepChanged(n) {
14052
- setTimeout(() => {
14053
- var e;
14054
- const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
14055
- t && t.querySelectorAll("eds-button").forEach((l) => {
14056
- this.emitContext(l);
14057
- });
14276
+ const e = Math.max(0, this.parsedSteps.length - 1);
14277
+ if (n > e) {
14278
+ this.activeStep = e;
14279
+ return;
14280
+ }
14281
+ if (n < -1) {
14282
+ this.activeStep = -1;
14283
+ return;
14284
+ }
14285
+ n < 0 || setTimeout(() => {
14286
+ const r = (this.el.shadowRoot || this.el).querySelectorAll(".step")[n];
14287
+ r == null || r.querySelectorAll("eds-button").forEach((l) => this.emitContext(l));
14058
14288
  }, 50);
14059
14289
  }
14290
+ componentWillLoad() {
14291
+ this.handleDisableNextChange(this.disableNext);
14292
+ }
14293
+ componentDidLoad() {
14294
+ if (this.type === "linear") {
14295
+ const e = (this.el.shadowRoot || this.el).querySelectorAll("eds-button");
14296
+ e == null || e.forEach((t) => this.emitContext(t));
14297
+ }
14298
+ }
14060
14299
  emitContext(n) {
14061
14300
  const e = new CustomEvent("parentContext", {
14062
14301
  detail: {
14063
14302
  componentName: this.el.tagName.toLowerCase(),
14064
14303
  identifier: this.activeStep
14065
- }
14304
+ },
14305
+ bubbles: !0,
14306
+ composed: !0
14066
14307
  });
14067
14308
  n.dispatchEvent(e);
14068
14309
  }
14069
14310
  articleClasses() {
14070
- return [
14071
- this.bg ? "bg-inverse" : "bg-default",
14072
- "border-softer effect-focus-within relative rounded-lg border-2"
14073
- ].join(" ");
14311
+ return ["border-softer effect-focus-within relative rounded-lg border-2"].join(" ");
14074
14312
  }
14075
- /**
14076
- * Parses the steps property into an array of Step objects.
14077
- */
14078
14313
  get parsedSteps() {
14079
- return R(this.steps);
14314
+ return N(this.steps);
14315
+ }
14316
+ isStepDisabled(n) {
14317
+ return Array.isArray(this.disableNext) ? n < this.disableNext.length ? !!this.disableNext[n] : !1 : n === this.activeStep && !!this.disableNext;
14080
14318
  }
14081
- isNextDisabledForCurrent() {
14082
- return !!this.disableNext;
14319
+ isNextDisabledFor(n) {
14320
+ return this.isStepDisabled(n);
14083
14321
  }
14084
- /** Render the semantic heading element */
14085
14322
  renderHeading(n, e) {
14086
14323
  const t = this.headingLevel;
14087
14324
  if (this.type === "linear") {
14088
- const r = this.activeStep === e, l = e > this.activeStep && this.isNextDisabledForCurrent(), a = (s) => {
14089
- l || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
14325
+ const r = this.activeStep === e;
14326
+ let l = !1;
14327
+ if (e > this.activeStep) {
14328
+ for (let o = this.activeStep; o < e; o++)
14329
+ if (this.isStepDisabled(o)) {
14330
+ l = !0;
14331
+ break;
14332
+ }
14333
+ }
14334
+ const a = (o) => {
14335
+ l || (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.handleTitleClick(e));
14090
14336
  };
14091
14337
  return i(t, { class: `eds-steps__title ${l ? "is-disabled" : ""}`, role: "button", tabindex: l ? -1 : 0, "aria-disabled": l ? "true" : "false", "aria-expanded": r, "aria-controls": `eds-step-panel-${e}`, onClick: () => !l && this.handleTitleClick(e), onKeyDown: a }, n);
14092
14338
  }
14093
- return i(t, { class: "eds-steps__title" }, n);
14339
+ return i(t, { class: "eds-steps__title", onClick: () => this.handleTitleClick(e) }, n);
14340
+ }
14341
+ /** Render horizontal indicator item */
14342
+ renderHorizontalIndicator(n, e) {
14343
+ const t = this.activeStep === e, r = this.activeStep > e;
14344
+ let l = !1;
14345
+ if (e > this.activeStep) {
14346
+ for (let o = this.activeStep; o < e; o++)
14347
+ if (this.isStepDisabled(o)) {
14348
+ l = !0;
14349
+ break;
14350
+ }
14351
+ }
14352
+ return i("div", { class: `horizontal-step ${t ? "is-active" : ""} ${r ? "is-completed" : ""}`, onClick: () => !l && this.handleTitleClick(e), onKeyDown: (o) => {
14353
+ l || (o.key === "Enter" || o.key === " ") && (o.preventDefault(), this.handleTitleClick(e));
14354
+ }, role: "button", tabindex: l ? -1 : 0, "aria-label": `Step ${e + 1}: ${n.title}`, "aria-current": t ? "step" : void 0, "aria-disabled": l ? "true" : "false" }, i("div", { class: "step-indicator" }, i("span", { class: "step-number" }, e + 1)), i("span", { class: `text-center text-default f-ui-03 ${l ? "opacity-50" : ""}` }, n.title));
14094
14355
  }
14095
14356
  render() {
14096
- const n = this.parsedSteps;
14097
- return i("div", { key: "b486aa34dfab4902cd6569cc2ce228104ca536cd", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04 " }, this.message))), i("div", { key: "e2a928ecb67caed4885c9e364621b422249610f1", class: "pb-20 px-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => i("div", { class: t === 0 ? "step" : "step space-y-16", key: t }, this.renderHeading(e.title, t), this.activeStep === t && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: (t === n.length - 1, "f-body-02 text-lighter"), innerHTML: e.content })), i("div", { class: "flex items-center" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: t === n.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" })))))) : (
14098
- // Static mode: show all steps with their content.
14099
- i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, this.renderHeading(e.title, t), i("div", { class: "content", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter", innerHTML: e.content }))))))
14100
- )));
14357
+ const n = this.parsedSteps, e = this.orientation === "horizontal" ? "mt-64" : "mt-32";
14358
+ return i("div", { key: "0f9dbb87f9cd269057183ee969addd55e85b2149", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04" }, this.message))), i("div", { key: "d636d36c2e95d73c23c269b1faf67870eca97c16", class: "mt-16 pb-20 px-8" }, this.type === "linear" && this.orientation === "horizontal" ? i("div", { class: "steps--horizontal", style: { "--step-count": n.length.toString() } }, i("div", { class: "horizontal-indicators" }, n.map((t, r) => this.renderHorizontalIndicator(t, r))), n.map((t, r) => {
14359
+ const l = r === n.length - 1;
14360
+ return this.activeStep !== r ? null : i("div", { class: "step-content", key: r, id: `eds-step-panel-${r}` }, i("slot", { name: `step-${r}` }, i("div", { class: "f-body-02 text-lighter", innerHTML: t.content })), i("div", { class: `flex items-center justify-between ${e}` }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: r === 0, class: r === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: l ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(r), size: "small", class: r > 0 ? "ml-8" : null })), i("slot", { name: `actions-${r}` }));
14361
+ })) : this.type === "linear" ? i("div", { class: "steps" }, n.map((t, r) => i("div", { class: r === 0 ? "step" : "step mt-16", key: r }, this.renderHeading(t.title, r), this.activeStep === r && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${r}` }, i("slot", { name: `step-${r}` }, i("div", { class: "my-16 f-body-02 text-lighter", innerHTML: t.content })), i("div", { class: `flex items-center justify-between ${e}` }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: r === 0, class: r === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r === n.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(r), size: "small", class: r > 0 ? "ml-8" : null })))))) : i("div", { class: "steps space-y-8" }, n.map((t, r) => i("div", { class: "step", key: r }, this.renderHeading(t.title, r), i("div", { class: "content", id: `eds-step-panel-${r}` }, i("div", { class: "content-body" }, i("slot", { name: `step-${r}` }, i("div", { class: "my-16 f-body-02 text-lighter", innerHTML: t.content })))))))));
14101
14362
  }
14102
14363
  get el() {
14103
14364
  return y(this);
14104
14365
  }
14105
14366
  static get watchers() {
14106
14367
  return {
14368
+ disableNext: ["handleDisableNextChange"],
14107
14369
  activeStep: ["activeStepChanged"]
14108
14370
  };
14109
14371
  }
14110
14372
  };
14111
- Ye.style = Ge;
14112
- const Xe = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}", Ke = Xe, Ze = class {
14373
+ Ze.style = Ke;
14374
+ const Je = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}", Qe = Je, nt = class {
14113
14375
  constructor(n) {
14114
- m(this, n), this.uiswitch = v(this, "uiswitch", 7), this.toggleSwitch = () => {
14376
+ u(this, n), this.uiswitch = v(this, "uiswitch", 7), this.toggleSwitch = () => {
14115
14377
  this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }), A({
14116
14378
  category: "ui-component",
14117
14379
  tag: this.el.tagName.toLowerCase(),
@@ -14126,20 +14388,20 @@ const Xe = ":host{display:inline-block}.switch-container{display:inline-flex;ali
14126
14388
  const n = `switch-${Math.random().toString(36).substr(2, 9)}`, e = [];
14127
14389
  this.labelOff && e.push(`${n}-off`), this.labelOn && e.push(`${n}-on`);
14128
14390
  const t = e.length === 0 ? this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch" : void 0;
14129
- return i("div", { key: "34573e6f2b377e168039a13afb4d5fe981f575ad", class: "switch-container" }, this.labelOff && i("span", { key: "1728e1aac88d275cd6bee0aaf50e93e3a421944d", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "5d35387a9bf808923bd94f5d64528cca1e4055d5", id: n, tabindex: this.disabled ? "-1" : "0", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-labelledby": e.length > 0 ? e.join(" ") : void 0, "aria-label": t, class: {
14391
+ return i("div", { key: "0ee7bcdc3d6bb78881c310e36e5189e5ef99bab0", class: "switch-container" }, this.labelOff && i("span", { key: "858c4a43ccc633530d4e13a6bfa8115194ff5082", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "faa59b03c46dd814c4125534a88fd7564b02205a", id: n, tabindex: this.disabled ? "-1" : "0", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-labelledby": e.length > 0 ? e.join(" ") : void 0, "aria-label": t, class: {
14130
14392
  switch: !0,
14131
14393
  "switch--checked": this.checked,
14132
14394
  "switch--disabled": this.disabled
14133
- }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "d8e0e1e3b562b4ac894998641cb7c813578e1a3f", class: "switch-handle" })), this.labelOn && i("span", { key: "86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
14395
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "74db0f827a4f50dd77b88e0d372cbef1adb10f87", class: "switch-handle" })), this.labelOn && i("span", { key: "2648bb13d533bc9fde1dc04af9cfd7116dadd581", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
14134
14396
  }
14135
14397
  get el() {
14136
14398
  return y(this);
14137
14399
  }
14138
14400
  };
14139
- Ze.style = Ke;
14140
- const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Qe = Je, nt = class {
14401
+ nt.style = Qe;
14402
+ const et = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}tr.table-row-default{background-color:transparent}tr.table-row-color:nth-child(even){background-color:var(--grey-100)}tr.table-row-color:nth-child(odd){background-color:transparent}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", tt = et, it = class {
14141
14403
  constructor(n) {
14142
- m(this, n), this.rowaction = v(this, "rowaction", 7), this.handleResize = () => {
14404
+ u(this, n), this.rowaction = v(this, "rowaction", 7), this.handleResize = () => {
14143
14405
  this.updateContainerWidth();
14144
14406
  }, this.onActionKeyDown = (e) => {
14145
14407
  var t;
@@ -14149,12 +14411,20 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14149
14411
  const r = e.target, l = r.closest('[role="toolbar"]');
14150
14412
  if (!l)
14151
14413
  return;
14152
- const a = Array.from(l.querySelectorAll("eds-button")), s = a.indexOf(r);
14153
- if (s === -1)
14414
+ const a = Array.from(l.querySelectorAll("eds-button")), o = a.indexOf(r);
14415
+ if (o === -1)
14154
14416
  return;
14155
- let o;
14156
- e.key === "ArrowRight" ? o = (s + 1) % a.length : o = (s - 1 + a.length) % a.length, (t = a[o]) === null || t === void 0 || t.focus();
14157
- }, this.data = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
14417
+ let s;
14418
+ e.key === "ArrowRight" ? s = (o + 1) % a.length : s = (o - 1 + a.length) % a.length, (t = a[s]) === null || t === void 0 || t.focus();
14419
+ }, this.handleSort = (e) => {
14420
+ this.sortColumn === e ? this.sortDirection = this.sortDirection === "asc" ? "desc" : "asc" : (this.sortColumn = e, this.sortDirection = "asc"), A({
14421
+ category: "ui-component",
14422
+ parentContext: null,
14423
+ tag: `${this.hostEl.tagName.toLowerCase()}/sort`,
14424
+ name: e,
14425
+ action: this.sortDirection
14426
+ });
14427
+ }, this.data = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.sortingEnabled = !1, this.theme = "color", this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0, this.sortColumn = null, this.sortDirection = "asc";
14158
14428
  }
14159
14429
  handleDataChange() {
14160
14430
  this.parseData();
@@ -14186,7 +14456,7 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14186
14456
  }
14187
14457
  parseData() {
14188
14458
  try {
14189
- this.tbData = R(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
14459
+ this.tbData = N(this.data), this.totalRows = this.tbData.length, this.updateColumns(), this.currentPage = 1;
14190
14460
  } catch (n) {
14191
14461
  console.error("Failed to parse data:", n), this.tbData = [];
14192
14462
  }
@@ -14208,7 +14478,7 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14208
14478
  return this.tbData.filter((n) => Object.values(n).some((e) => e.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
14209
14479
  }
14210
14480
  getPaginatedRows() {
14211
- const n = this.getFilteredRows();
14481
+ const n = this.getSortedRows();
14212
14482
  this.totalRows = n.length;
14213
14483
  const e = (this.currentPage - 1) * this.rowsPerPage;
14214
14484
  return n.slice(e, e + this.rowsPerPage);
@@ -14236,15 +14506,15 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14236
14506
  */
14237
14507
  renderSingleActionCell(n, e) {
14238
14508
  var t;
14239
- const r = this.parsedActions.find((o) => o.name === n);
14509
+ const r = this.parsedActions.find((s) => s.name === n);
14240
14510
  if (this.actionTemplate)
14241
14511
  return this.actionTemplate(e);
14242
14512
  if ((r.type || "button") === "checkbox") {
14243
- const o = (t = r.field) !== null && t !== void 0 ? t : r.name, b = !!e[o];
14513
+ const s = (t = r.field) !== null && t !== void 0 ? t : r.name, b = !!e[s];
14244
14514
  return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: b, onChange: (k) => this.emitAction(r.name, e, k.target.checked) });
14245
14515
  }
14246
- const a = r.showLabel === !0, s = i("eds-button", { icon: r.icon, label: a ? r.label : null, iconPos: "left", pill: !0, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(r.name, e) });
14247
- return a ? s : i("eds-tooltip", { content: r.label }, s);
14516
+ const a = r.showLabel === !0, o = i("eds-button", { icon: r.icon, label: a ? r.label : null, iconPos: "left", pill: !0, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(r.name, e) });
14517
+ return a ? o : i("eds-tooltip", { content: r.label }, o);
14248
14518
  }
14249
14519
  emitAction(n, e, t) {
14250
14520
  A({
@@ -14275,20 +14545,32 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14275
14545
  capitalize(n) {
14276
14546
  return n.charAt(0).toUpperCase() + n.slice(1).toLowerCase();
14277
14547
  }
14548
+ getSortedRows() {
14549
+ const n = this.getFilteredRows();
14550
+ return this.sortColumn ? [...n].sort((e, t) => {
14551
+ const r = e[this.sortColumn], l = t[this.sortColumn];
14552
+ if (r == null)
14553
+ return 1;
14554
+ if (l == null)
14555
+ return -1;
14556
+ let a = 0;
14557
+ return typeof r == "number" && typeof l == "number" ? a = r - l : a = String(r).localeCompare(String(l)), this.sortDirection === "asc" ? a : -a;
14558
+ }) : n;
14559
+ }
14278
14560
  render() {
14279
14561
  const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), t = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, r = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
14280
- return i("div", { key: "0c986dec22a52676b110fad1f7f82ef792da796e" }, this.searchEnabled && i("div", { key: "855c5c3d6c2b86e75a210c0296524bc8029e37f2" }, i("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (a) => this.handleSearch(a) })), i("div", { key: "62b18340bbf992dba888c2d24ff306ada8a1a985", class: "mt-20" }, i("table", { key: "656dd0dd7f99611c2bd9beea4cd1f37f57da1384", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "1278ea89f588aa52c215c32bcc03c424e4501fed" }, i("tr", { key: "186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
14281
- var s;
14282
- return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((s = this.parsedConfig[a]) === null || s === void 0) && s.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, this.capitalize(a));
14283
- }))), i("tbody", { key: "b27bd372efe64469d2a5001dc6d5b464eb419217" }, r.map((a) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((s) => {
14562
+ return i("div", { key: "0601cea60a05d044a717219e6ff6385ef915defa" }, this.searchEnabled && i("div", { key: "de1affaf192dc5e63b16d534d2f518c206ab7010" }, i("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (a) => this.handleSearch(a) })), i("div", { key: "49f71b5a2481d719cb8fe0547f05a5ae83ad5541", class: "mt-20" }, i("table", { key: "b63ca6615ed681c741fb2d3ff2675f9cc061d194", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "817b534cca3c2492b69b3816a41b54ec850847ab" }, i("tr", { key: "6cb8735ac56c3fe2acc4a257815bc0d07009118c", class: `m-0 p-0 border border-softer table-row-${this.theme}` }, this.columns.map((a) => {
14284
14563
  var o;
14285
- return s === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${t - 4}px` } }, i("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
14564
+ return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((o = this.parsedConfig[a]) === null || o === void 0) && o.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, i("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", gap: "0.25rem" } }, i("span", null, this.capitalize(a)), this.sortingEnabled && i("eds-icon-wrapper", { icon: this.sortColumn === a && this.sortDirection === "asc" ? "chevron-up" : "chevron-down", "aria-label": `Sort by ${a}`, onClick: () => this.handleSort(a), style: { cursor: "pointer" } })));
14565
+ }))), i("tbody", { key: "3c8630ed1f47720688bfcdb78c5dbfc84cb238cf" }, r.map((a) => i("tr", { class: `m-0 p-0 border border-softer table-row-${this.theme}` }, this.columns.map((o) => {
14566
+ var s;
14567
+ return o === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${t - 4}px` } }, i("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
14286
14568
  display: "flex",
14287
14569
  gap: "0.5rem",
14288
14570
  justifyContent: "center",
14289
14571
  flexWrap: "wrap"
14290
- } }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, a))))) : !((o = this.parsedConfig[s]) === null || o === void 0) && o.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${t - 4}px` } }, this.renderCell(a[s], s));
14291
- })))))), this.shouldEnablePagination() && i("div", { key: "d442153f48c85c6de1a0752d1348d8814811faed", class: "mt-20" }, i("eds-pagination", { key: "4c48c96eacb112002b0110e85dce0dab94350dfb", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
14572
+ } }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, a))))) : !((s = this.parsedConfig[o]) === null || s === void 0) && s.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${t - 4}px` } }, this.renderCell(a[o], o));
14573
+ })))))), this.shouldEnablePagination() && i("div", { key: "09faef418edc676bb2b60c2439e0652a92fe023d", class: "mt-20" }, i("eds-pagination", { key: "9403d33a37505c73fe3bec652ef93f533bdb4f03", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
14292
14574
  }
14293
14575
  get hostEl() {
14294
14576
  return y(this);
@@ -14301,10 +14583,10 @@ const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
14301
14583
  };
14302
14584
  }
14303
14585
  };
14304
- nt.style = Qe;
14305
- const et = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", tt = et, it = class {
14586
+ it.style = tt;
14587
+ const rt = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", lt = rt, at = class {
14306
14588
  constructor(n) {
14307
- m(this, n), this.tab = v(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
14589
+ u(this, n), this.tab = v(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
14308
14590
  e && (this.tabRefs[t] = e);
14309
14591
  }, this.tabCva = P([
14310
14592
  "relative py-12",
@@ -14345,7 +14627,7 @@ const et = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
14345
14627
  * @returns {any[]} Array of parsed tab objects
14346
14628
  */
14347
14629
  parseTabs() {
14348
- this.parsedTabs = R(this.tabs), this.tabRefs = [];
14630
+ this.parsedTabs = N(this.tabs), this.tabRefs = [];
14349
14631
  }
14350
14632
  componentDidLoad() {
14351
14633
  this.scrollToActiveTab();
@@ -14405,10 +14687,10 @@ const et = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
14405
14687
  t !== e && this.handleTabClick(t, this.parsedTabs[t].label, !0);
14406
14688
  }
14407
14689
  render() {
14408
- return i("div", { key: "29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41", id: `${this.identifier}` }, i("div", { key: "94ec3243a35be9db63846b253133fd323fb3759c", class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, i("nav", { key: "52c337db80f21714a7d3da26b21663c34f5dd836", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
14690
+ return i("div", { key: "94766d744d61eb8d1eef51393621f85b06af822f", id: `${this.identifier}` }, i("div", { key: "d76f26bd4e70baebab9fed6c61df26b496d899a5", class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, i("nav", { key: "74afc95f82764cedb44b99a482bedc7b5f918196", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
14409
14691
  const t = "button", r = this.getTabOptions(n.active, e), l = e === this.activeIndex;
14410
14692
  return i(t, Object.assign({}, r, { type: "button", role: "tab", "aria-selected": n.active ? "true" : "false", tabIndex: l ? 0 : -1, "aria-label": n.ariaLabel || n.label, "aria-controls": `panel-${e}`, id: `tab-${e}`, ref: (a) => this.setTabRef(a, e), onClick: () => this.handleTabClick(e, n.label, !0), onKeyDown: (a) => this.onKeyDown(a, e) }), n.label || n.ariaLabel);
14411
- }))), i("div", { key: "9462805200c71ebac037ac5933c156eb9c25ed5c", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { role: "tabpanel", id: `panel-${e}`, "aria-labelledby": `tab-${e}`, hidden: e !== this.activeIndex, tabIndex: e === this.activeIndex ? 0 : -1, class: "effect-focus" }, i("slot", { name: `panel-${e}` })))));
14693
+ }))), i("div", { key: "4652dc3741f95ccfac7d53e5e49607515f559ce1", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { role: "tabpanel", id: `panel-${e}`, "aria-labelledby": `tab-${e}`, hidden: e !== this.activeIndex, tabIndex: e === this.activeIndex ? 0 : -1, class: "effect-focus" }, i("slot", { name: `panel-${e}` })))));
14412
14694
  }
14413
14695
  get el() {
14414
14696
  return y(this);
@@ -14419,8 +14701,8 @@ const et = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
14419
14701
  };
14420
14702
  }
14421
14703
  };
14422
- it.style = tt;
14423
- const rt = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", lt = rt, ot = P(
14704
+ at.style = lt;
14705
+ const ot = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", st = ot, dt = P(
14424
14706
  ["border-2 rounded-pill"],
14425
14707
  // Base classes
14426
14708
  {
@@ -14448,19 +14730,19 @@ const rt = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
14448
14730
  size: "small"
14449
14731
  }
14450
14732
  }
14451
- ), at = class {
14733
+ ), ct = class {
14452
14734
  constructor(n) {
14453
- m(this, n), this.label = void 0, this.intent = "default", this.size = "small";
14735
+ u(this, n), this.label = void 0, this.intent = "default", this.size = "small";
14454
14736
  }
14455
14737
  render() {
14456
- const n = ot({ intent: this.intent, size: this.size });
14457
- return i("span", { key: "6a229183bdaf96687e1f71ca3938a22c1259546e", class: n }, this.label);
14738
+ const n = dt({ intent: this.intent, size: this.size });
14739
+ return i("span", { key: "ef36f799cf3226ccf281428929e75326ea6a06e4", class: n }, this.label);
14458
14740
  }
14459
14741
  };
14460
- at.style = lt;
14461
- const st = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
14742
+ ct.style = st;
14743
+ const gt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
14462
14744
  0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
14463
- var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, dt = st, ct = P(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
14745
+ var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, ht = gt, ft = P(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
14464
14746
  variants: {
14465
14747
  intent: {
14466
14748
  default: "bg-dark text-light",
@@ -14472,9 +14754,9 @@ const st = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
14472
14754
  defaultVariants: {
14473
14755
  intent: "default"
14474
14756
  }
14475
- }), gt = class {
14757
+ }), bt = class {
14476
14758
  constructor(n) {
14477
- m(this, n), this.toast = v(this, "toast", 7), this.dismissToast = () => {
14759
+ u(this, n), this.toast = v(this, "toast", 7), this.dismissToast = () => {
14478
14760
  this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
14479
14761
  }, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
14480
14762
  }
@@ -14506,17 +14788,17 @@ const st = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
14506
14788
  render() {
14507
14789
  if (!this.visible)
14508
14790
  return null;
14509
- const n = ct({ intent: this.intent });
14791
+ const n = ft({ intent: this.intent });
14510
14792
  return i("div", { class: n, role: "alert", "aria-live": "assertive" }, i("div", { class: "flex items-center justify-between gap-4" }, i("span", { class: "f-ui-01" }, this.message), i("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
14511
14793
  }
14512
14794
  get el() {
14513
14795
  return y(this);
14514
14796
  }
14515
14797
  };
14516
- gt.style = dt;
14517
- const ht = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}", ft = ht, bt = class {
14798
+ bt.style = ht;
14799
+ const mt = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}", pt = mt, ut = class {
14518
14800
  constructor(n) {
14519
- m(this, n), this.content = void 0, this.position = "top";
14801
+ u(this, n), this.content = void 0, this.position = "top";
14520
14802
  }
14521
14803
  /** fire analytics on every hover */
14522
14804
  handleHover() {
@@ -14529,7 +14811,7 @@ const ht = ".relative{position:relative}.absolute{position:absolute}.inline-bloc
14529
14811
  }
14530
14812
  render() {
14531
14813
  const n = this.position === "bottom" ? "top-full mt-2" : "bottom-full mb-2";
14532
- return i("div", { key: "67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b", class: "relative w-full inline-block group" }, i("slot", { key: "b304174862dd4d5ca93418ecb0d2b4fc2c80427c" }), i("div", { key: "fcd874d53d0e17b7d3be2c6552571f82fbde6506", class: `absolute ${n}
14814
+ return i("div", { key: "1c56a6c10a841575d1450750d2aaf55f9f42f6ee", class: "relative w-full inline-block group" }, i("slot", { key: "631775de9a60642ec51de32708e0d6a0c2c27b66" }), i("div", { key: "9def7dbbc301f465b81ff0e77b182be90d0893de", class: `absolute ${n}
14533
14815
  rounded-xs bg-strongest text-inverse
14534
14816
  f-ui-03-light pointer-events-none
14535
14817
  z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
@@ -14539,10 +14821,10 @@ const ht = ".relative{position:relative}.absolute{position:absolute}.inline-bloc
14539
14821
  return y(this);
14540
14822
  }
14541
14823
  };
14542
- bt.style = ft;
14543
- const pt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", ut = pt, mt = class {
14824
+ ut.style = pt;
14825
+ const xt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", yt = xt, vt = class {
14544
14826
  constructor(n) {
14545
- m(this, n), this.handleDropdown = (e) => {
14827
+ u(this, n), this.handleDropdown = (e) => {
14546
14828
  this.expanded = e.detail.expanded;
14547
14829
  }, this.user = void 0, this.intent = "tertiary", this.dropdownLabel = "Account", this.expanded = !1, this.shortMode = !1;
14548
14830
  }
@@ -14571,18 +14853,18 @@ const pt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
14571
14853
  }
14572
14854
  render() {
14573
14855
  const n = this.parsedUser, e = this.expanded ? "chevron-down" : "chevron-right";
14574
- return i("div", { key: "62bb8a684095f97b6105acdb5d9803c66edba913", class: "block" }, i("div", { key: "350ff5d7b4f47686f7b39662b176f24e719d54e3", class: "flex items-center" }, i("eds-dropdown", { key: "e3b196b127572d038b5ae6bbf00330911ca41e94", ref: (t) => this.dropdownEl = t, label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: e, class: "text-default", onDropdown: this.handleDropdown }, i("div", { key: "a311fd57839b87054afc7aca9c40ce5772b1350b", class: "min-w-[280px] p-8" }, i("div", { key: "bc8c5b7147718def37bab1adb2715f9ff0074822", class: "flex gap-x-16", "data-dropdown-no-close": !0 }, i("eds-avatar", { key: "c9207d4ecab0507981bb047ee6c59ee4400b5121", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "black" }), i("div", { key: "c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1", class: "max-w-full" }, n.name && i("p", { key: "c39af63002f1449b049d4be13927da5d51599aca", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "d8eaa141490abb1ad917e2da03d4a588ef6d6779", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "904aef6596a85ae438b98bd5ab67c7c7e2299d75", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "0cd0a2d8cc59d8b054f36188b4c18182e6a7f919", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "a41332bcf086d01a458218b74a1812dc55911925" }))))));
14856
+ return i("div", { key: "a16f22ec9cc18d2904ea687cbcc56099ea6273ea", class: "block" }, i("div", { key: "f2f52774b7d5fee5169a0e944f0f9d871421da89", class: "flex items-center" }, i("eds-dropdown", { key: "5232b88c109f2e4957f3582113750d49b1bc025c", ref: (t) => this.dropdownEl = t, label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: e, class: "text-default", onDropdown: this.handleDropdown }, i("div", { key: "476d9ae9f4812611ae06d0dd1aecb08f0751742a", class: "min-w-[280px] p-8" }, i("div", { key: "ad74767750213daf55029741a4ed4c8b32f55a27", class: "flex gap-x-16", "data-dropdown-no-close": !0 }, i("eds-avatar", { key: "64bcf2b15cc095143919d5e6a255498d77260607", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "black" }), i("div", { key: "b3850b7c774b5434fc41dd0fad6a88c9835d4946", class: "max-w-full" }, n.name && i("p", { key: "74027025ccd58fa4f4016699ebb3f4f541cea858", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "850f015e7a19a8f711cf22477daa5119d4211e15", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "414e6ec14738be04b9b4e5e1fe99a4f263eb2e3b", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "9b12da0776f6d63461c5fd7201bdccb35f430610", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "867b2ce8149f402ae879bd2fab689b252abed95c" }))))));
14575
14857
  }
14576
14858
  get hostEl() {
14577
14859
  return y(this);
14578
14860
  }
14579
14861
  };
14580
- mt.style = ut;
14862
+ vt.style = yt;
14581
14863
  export {
14582
- En as eds_accordion,
14864
+ zn as eds_accordion,
14583
14865
  An as eds_alert,
14584
14866
  Tn as eds_avatar,
14585
- Rn as eds_block_break,
14867
+ Nn as eds_block_break,
14586
14868
  Pn as eds_breadcrumb,
14587
14869
  Wn as eds_button,
14588
14870
  Mn as eds_code_block,
@@ -14590,29 +14872,30 @@ export {
14590
14872
  te as eds_form,
14591
14873
  le as eds_global_search,
14592
14874
  se as eds_header,
14593
- Ct as eds_icon_wrapper,
14875
+ Ft as eds_icon_wrapper,
14594
14876
  ge as eds_img,
14595
- Et as eds_input,
14877
+ It as eds_input,
14596
14878
  be as eds_input_field,
14597
- me as eds_input_footer,
14879
+ ue as eds_input_footer,
14598
14880
  ve as eds_input_label,
14599
- zt as eds_input_range,
14600
- Ft as eds_input_search,
14601
- It as eds_input_select,
14881
+ At as eds_input_range,
14882
+ Lt as eds_input_search,
14883
+ _t as eds_input_select,
14602
14884
  Ce as eds_link,
14603
14885
  Fe as eds_logo,
14604
14886
  Le as eds_matomo_notice,
14605
14887
  De as eds_nps,
14606
14888
  Oe as eds_pagination,
14607
- He as eds_rating,
14608
- Be as eds_spinner,
14609
- Ue as eds_steps,
14610
- Ye as eds_steps_v2,
14611
- Ze as eds_switch,
14612
- nt as eds_table,
14613
- it as eds_tabs,
14614
- at as eds_tag,
14615
- gt as eds_toast,
14616
- bt as eds_tooltip,
14617
- mt as eds_user
14889
+ je as eds_rating,
14890
+ Be as eds_sidebar,
14891
+ Ue as eds_spinner,
14892
+ Ye as eds_steps,
14893
+ Ze as eds_steps_v2,
14894
+ nt as eds_switch,
14895
+ it as eds_table,
14896
+ at as eds_tabs,
14897
+ ct as eds_tag,
14898
+ bt as eds_toast,
14899
+ ut as eds_tooltip,
14900
+ vt as eds_user
14618
14901
  };