@solid-design-system/components 7.0.0-next.9 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (735) hide show
  1. package/cdn/chunks/{chunk.TS6S25HT.js → chunk.2AR7OD3J.js} +2 -2
  2. package/cdn/chunks/{chunk.6A2XPA27.js → chunk.2ITHO4DN.js} +2 -2
  3. package/cdn/chunks/{chunk.ARA5JW32.js → chunk.2LXNC6H3.js} +2 -2
  4. package/cdn/chunks/{chunk.QXTQ4QBZ.js → chunk.3AGXZWRW.js} +3 -3
  5. package/cdn/chunks/{chunk.WHDOGCAD.js → chunk.3ESWKAZS.js} +1 -1
  6. package/cdn/chunks/{chunk.V3TQLJF2.js → chunk.3W72NBFO.js} +1 -1
  7. package/cdn/chunks/chunk.3ZO6YY7I.js +2 -0
  8. package/cdn/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  9. package/cdn/chunks/{chunk.KDTVJE37.js → chunk.5KXVHZV5.js} +2 -2
  10. package/cdn/chunks/{chunk.UPV2DLDG.js → chunk.6O5DTJMU.js} +2 -2
  11. package/cdn/chunks/{chunk.7O3WO7T4.js → chunk.7RGHHNKJ.js} +1 -1
  12. package/cdn/chunks/{chunk.VAQE66S7.js → chunk.A2EU2YJG.js} +2 -2
  13. package/cdn/chunks/{chunk.7USKB2GO.js → chunk.ADMPVU62.js} +1 -1
  14. package/cdn/chunks/{chunk.U3X6ZYRC.js → chunk.AI7EFEUE.js} +1 -1
  15. package/cdn/chunks/{chunk.3VTWQPQB.js → chunk.AOGCHS73.js} +2 -2
  16. package/cdn/chunks/{chunk.55B57RXL.js → chunk.AZUI44B5.js} +1 -1
  17. package/cdn/chunks/{chunk.NSAUFZ4I.js → chunk.B3PR5MVH.js} +1 -1
  18. package/cdn/chunks/{chunk.UFWE6XC3.js → chunk.B4R4H2RH.js} +1 -1
  19. package/cdn/chunks/{chunk.KZLMAANO.js → chunk.CPQBVK5K.js} +1 -1
  20. package/cdn/chunks/{chunk.JTBZGOCE.js → chunk.F4VKYXZU.js} +2 -2
  21. package/cdn/chunks/chunk.F5IUPQVT.js +2 -0
  22. package/cdn/chunks/{chunk.6JKZ63QX.js → chunk.FAGCRWAX.js} +2 -2
  23. package/cdn/chunks/{chunk.DEC3VKXA.js → chunk.FFI6YSXU.js} +1 -1
  24. package/cdn/chunks/chunk.GA5I2MP7.js +6 -0
  25. package/cdn/chunks/{chunk.H5ODW4DI.js → chunk.GBGRCCRP.js} +1 -1
  26. package/cdn/chunks/chunk.GG7UP3MH.js +12 -0
  27. package/cdn/chunks/{chunk.J7SSJXR3.js → chunk.GH4YN7AR.js} +1 -1
  28. package/cdn/chunks/{chunk.CQI2RS2L.js → chunk.GIARN4UP.js} +2 -2
  29. package/cdn/chunks/{chunk.DFCHDZDG.js → chunk.GMK4GUJU.js} +2 -2
  30. package/cdn/chunks/{chunk.WZS3PEEQ.js → chunk.GUY5KRI5.js} +1 -1
  31. package/{cdn-versioned/chunks/chunk.RFVQLD5K.js → cdn/chunks/chunk.H3V3YZCR.js} +2 -2
  32. package/cdn/chunks/{chunk.RJIOLFBG.js → chunk.I6YCX5RP.js} +2 -2
  33. package/cdn/chunks/{chunk.OKAUTL3G.js → chunk.I7JUSAUC.js} +1 -1
  34. package/cdn/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  35. package/cdn/chunks/{chunk.XHWQ4DCO.js → chunk.KSZUHYF7.js} +2 -2
  36. package/cdn/chunks/{chunk.RSP57JUX.js → chunk.LQ2TVIG5.js} +2 -2
  37. package/cdn/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  38. package/cdn/chunks/{chunk.B4BAFEZE.js → chunk.MADHUCSI.js} +2 -2
  39. package/cdn/chunks/{chunk.SVZV3YHZ.js → chunk.MDIQLQU6.js} +1 -1
  40. package/cdn/chunks/{chunk.FCBNIOWP.js → chunk.MGUGARHV.js} +1 -1
  41. package/cdn/chunks/chunk.MR54F6CV.js +2 -0
  42. package/cdn/chunks/{chunk.FPC4KJUF.js → chunk.MU62OKKN.js} +1 -1
  43. package/cdn/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  44. package/cdn/chunks/{chunk.S63R2AXT.js → chunk.NWNTRKHL.js} +3 -3
  45. package/cdn/chunks/{chunk.YAT66EQJ.js → chunk.O2KXD6V3.js} +1 -1
  46. package/cdn/chunks/{chunk.NISL6W7W.js → chunk.O7SKSXCU.js} +2 -2
  47. package/cdn/chunks/{chunk.LM5SJXYL.js → chunk.OL5UARRQ.js} +2 -2
  48. package/{cdn-versioned/chunks/chunk.NOW64QHB.js → cdn/chunks/chunk.PN4FJAN5.js} +2 -2
  49. package/cdn/chunks/{chunk.3RDG7HQT.js → chunk.Q64TZBRZ.js} +2 -2
  50. package/cdn/chunks/{chunk.LPOPOGGB.js → chunk.QDREJDJ2.js} +1 -1
  51. package/cdn/chunks/{chunk.GX5EMWG2.js → chunk.QFWT54X4.js} +2 -2
  52. package/cdn/chunks/{chunk.RGSF2XLM.js → chunk.REMEEDIQ.js} +2 -2
  53. package/cdn/chunks/{chunk.N2PGOHWH.js → chunk.RFPANR7F.js} +2 -2
  54. package/cdn/chunks/{chunk.OR64TDYE.js → chunk.RLALDY5L.js} +1 -1
  55. package/cdn/chunks/{chunk.CWRWVUT3.js → chunk.RWLAIGRI.js} +1 -1
  56. package/cdn/chunks/chunk.T35R3Z5M.js +2 -0
  57. package/cdn/chunks/chunk.UTB3OKJT.js +2 -0
  58. package/cdn/chunks/{chunk.CVB6PQL3.js → chunk.VWI56VMW.js} +3 -3
  59. package/cdn/chunks/{chunk.KITZT7MU.js → chunk.VWYQ4GYH.js} +2 -2
  60. package/cdn/chunks/{chunk.LYJX2BW7.js → chunk.WZLYCJJA.js} +1 -1
  61. package/cdn/chunks/{chunk.2XFIFYRX.js → chunk.YOEY6E2E.js} +2 -2
  62. package/cdn/chunks/chunk.Z44RDBCE.js +26 -0
  63. package/cdn/chunks/{chunk.PUC7BGPD.js → chunk.Z6PXRBBW.js} +1 -1
  64. package/cdn/chunks/{chunk.WWHH2NDP.js → chunk.ZDXDR6L6.js} +1 -1
  65. package/cdn/chunks/{chunk.OYCIMCNH.js → chunk.ZHVSNIJ2.js} +2 -2
  66. package/cdn/chunks/chunk.ZNLOJFYY.js +2 -0
  67. package/cdn/components/accordion/accordion.js +1 -1
  68. package/cdn/components/accordion-group/accordion-group.js +1 -1
  69. package/cdn/components/animation/animation.js +1 -1
  70. package/cdn/components/audio/audio.js +1 -1
  71. package/cdn/components/badge/badge.js +1 -1
  72. package/cdn/components/brandshape/brandshape.js +1 -1
  73. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  74. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  75. package/cdn/components/button/button.js +1 -1
  76. package/cdn/components/button-group/button-group.js +1 -1
  77. package/cdn/components/carousel/carousel.js +1 -1
  78. package/cdn/components/carousel-item/carousel-item.js +1 -1
  79. package/cdn/components/checkbox/checkbox.js +1 -1
  80. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  81. package/cdn/components/combobox/combobox.js +1 -1
  82. package/cdn/components/datepicker/datepicker.js +1 -1
  83. package/cdn/components/dialog/dialog.js +1 -1
  84. package/cdn/components/divider/divider.js +1 -1
  85. package/cdn/components/drawer/drawer.js +1 -1
  86. package/cdn/components/dropdown/dropdown.js +1 -1
  87. package/cdn/components/expandable/expandable.js +1 -1
  88. package/cdn/components/file-selector/file-selector.js +1 -1
  89. package/cdn/components/flipcard/flipcard.js +1 -1
  90. package/cdn/components/header/header.js +1 -1
  91. package/cdn/components/icon/icon.js +1 -1
  92. package/cdn/components/icon/library.internal.d.ts +30 -32
  93. package/cdn/components/icon/library.internal.js +1 -1
  94. package/cdn/components/icon/library.js +1 -1
  95. package/cdn/components/icon/library.multi-theming.js +1 -1
  96. package/cdn/components/icon/library.status.d.ts +9 -8
  97. package/cdn/components/icon/library.status.js +1 -1
  98. package/cdn/components/include/include.js +1 -1
  99. package/cdn/components/input/input.js +1 -1
  100. package/cdn/components/link/link.js +1 -1
  101. package/cdn/components/loader/loader.js +1 -1
  102. package/cdn/components/map-marker/map-marker.js +1 -1
  103. package/cdn/components/menu/menu.js +1 -1
  104. package/cdn/components/menu-item/menu-item.js +1 -1
  105. package/cdn/components/navigation-item/navigation-item.js +1 -1
  106. package/cdn/components/notification/notification.js +1 -1
  107. package/cdn/components/optgroup/optgroup.js +1 -1
  108. package/cdn/components/option/option.js +1 -1
  109. package/cdn/components/popup/popup.js +1 -1
  110. package/cdn/components/progress-bar/progress-bar.js +1 -1
  111. package/cdn/components/quickfact/quickfact.js +1 -1
  112. package/cdn/components/radio/radio.js +1 -1
  113. package/cdn/components/radio-button/radio-button.js +1 -1
  114. package/cdn/components/radio-group/radio-group.js +1 -1
  115. package/cdn/components/range/range.js +1 -1
  116. package/cdn/components/range-tick/range-tick.js +1 -1
  117. package/cdn/components/scrollable/scrollable.js +1 -1
  118. package/cdn/components/select/select.js +1 -1
  119. package/cdn/components/skeleton/skeleton.js +1 -1
  120. package/cdn/components/step/step.js +1 -1
  121. package/cdn/components/step-group/step-group.js +1 -1
  122. package/cdn/components/switch/switch.js +1 -1
  123. package/cdn/components/tab/tab.js +1 -1
  124. package/cdn/components/tab-group/tab-group.js +1 -1
  125. package/cdn/components/tab-panel/tab-panel.js +1 -1
  126. package/cdn/components/tag/tag.js +1 -1
  127. package/cdn/components/teaser/teaser.js +1 -1
  128. package/cdn/components/teaser-media/teaser-media.js +1 -1
  129. package/cdn/components/textarea/textarea.js +1 -1
  130. package/cdn/components/theme-listener/theme-listener.js +1 -1
  131. package/cdn/components/tooltip/tooltip.js +1 -1
  132. package/cdn/components/video/video.js +1 -1
  133. package/cdn/custom-elements.json +4 -70
  134. package/cdn/solid-components.bundle.js +89 -102
  135. package/cdn/solid-components.css +4 -4
  136. package/cdn/solid-components.iife.js +89 -102
  137. package/cdn/solid-components.js +1 -1
  138. package/cdn/utilities/autocomplete-config.js +1 -1
  139. package/cdn/utilities/icon-library.js +1 -1
  140. package/cdn/vscode.html-custom-data.json +8 -8
  141. package/cdn/web-types.json +9 -9
  142. package/cdn-versioned/chunks/chunk.2AR7OD3J.js +2 -0
  143. package/cdn-versioned/chunks/chunk.2ITHO4DN.js +12 -0
  144. package/cdn-versioned/chunks/chunk.2LXNC6H3.js +2 -0
  145. package/cdn-versioned/chunks/chunk.3AGXZWRW.js +12 -0
  146. package/cdn-versioned/chunks/{chunk.WHDOGCAD.js → chunk.3ESWKAZS.js} +2 -2
  147. package/cdn-versioned/chunks/{chunk.V3TQLJF2.js → chunk.3W72NBFO.js} +2 -2
  148. package/cdn-versioned/chunks/chunk.3ZO6YY7I.js +2 -0
  149. package/cdn-versioned/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
  150. package/cdn-versioned/chunks/chunk.5KXVHZV5.js +2 -0
  151. package/cdn-versioned/chunks/{chunk.UPV2DLDG.js → chunk.6O5DTJMU.js} +2 -2
  152. package/cdn-versioned/chunks/{chunk.7O3WO7T4.js → chunk.7RGHHNKJ.js} +2 -2
  153. package/cdn-versioned/chunks/chunk.A2EU2YJG.js +2 -0
  154. package/cdn-versioned/chunks/chunk.ADMPVU62.js +2 -0
  155. package/cdn-versioned/chunks/{chunk.U3X6ZYRC.js → chunk.AI7EFEUE.js} +2 -2
  156. package/cdn-versioned/chunks/chunk.AOGCHS73.js +2 -0
  157. package/cdn-versioned/chunks/chunk.AZUI44B5.js +2 -0
  158. package/cdn-versioned/chunks/chunk.B3PR5MVH.js +4 -0
  159. package/cdn-versioned/chunks/chunk.B4R4H2RH.js +2 -0
  160. package/cdn-versioned/chunks/{chunk.KZLMAANO.js → chunk.CPQBVK5K.js} +2 -2
  161. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  162. package/cdn-versioned/chunks/chunk.F4VKYXZU.js +2 -0
  163. package/cdn-versioned/chunks/chunk.F5IUPQVT.js +2 -0
  164. package/cdn-versioned/chunks/chunk.FAGCRWAX.js +5 -0
  165. package/cdn-versioned/chunks/chunk.FFI6YSXU.js +2 -0
  166. package/cdn-versioned/chunks/{chunk.MIROXJW4.js → chunk.GA5I2MP7.js} +2 -2
  167. package/cdn-versioned/chunks/{chunk.H5ODW4DI.js → chunk.GBGRCCRP.js} +2 -2
  168. package/cdn-versioned/chunks/chunk.GG7UP3MH.js +12 -0
  169. package/cdn-versioned/chunks/{chunk.J7SSJXR3.js → chunk.GH4YN7AR.js} +2 -2
  170. package/cdn-versioned/chunks/{chunk.CQI2RS2L.js → chunk.GIARN4UP.js} +2 -2
  171. package/cdn-versioned/chunks/{chunk.DFCHDZDG.js → chunk.GMK4GUJU.js} +2 -2
  172. package/cdn-versioned/chunks/chunk.GUY5KRI5.js +2 -0
  173. package/{cdn/chunks/chunk.RFVQLD5K.js → cdn-versioned/chunks/chunk.H3V3YZCR.js} +2 -2
  174. package/cdn-versioned/chunks/chunk.I6YCX5RP.js +2 -0
  175. package/cdn-versioned/chunks/chunk.I7JUSAUC.js +2 -0
  176. package/cdn-versioned/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
  177. package/cdn-versioned/chunks/chunk.KSZUHYF7.js +2 -0
  178. package/cdn-versioned/chunks/chunk.LQ2TVIG5.js +2 -0
  179. package/cdn-versioned/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
  180. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  181. package/cdn-versioned/chunks/chunk.MADHUCSI.js +11 -0
  182. package/cdn-versioned/chunks/{chunk.SVZV3YHZ.js → chunk.MDIQLQU6.js} +2 -2
  183. package/cdn-versioned/chunks/chunk.MGUGARHV.js +2 -0
  184. package/cdn-versioned/chunks/chunk.MR54F6CV.js +2 -0
  185. package/cdn-versioned/chunks/{chunk.FPC4KJUF.js → chunk.MU62OKKN.js} +2 -2
  186. package/cdn-versioned/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
  187. package/cdn-versioned/chunks/{chunk.S63R2AXT.js → chunk.NWNTRKHL.js} +3 -3
  188. package/cdn-versioned/chunks/{chunk.YAT66EQJ.js → chunk.O2KXD6V3.js} +3 -3
  189. package/cdn-versioned/chunks/chunk.O7SKSXCU.js +2 -0
  190. package/cdn-versioned/chunks/chunk.OL5UARRQ.js +5 -0
  191. package/{cdn/chunks/chunk.NOW64QHB.js → cdn-versioned/chunks/chunk.PN4FJAN5.js} +2 -2
  192. package/cdn-versioned/chunks/chunk.Q64TZBRZ.js +2 -0
  193. package/cdn-versioned/chunks/{chunk.LPOPOGGB.js → chunk.QDREJDJ2.js} +2 -2
  194. package/cdn-versioned/chunks/chunk.QFWT54X4.js +2 -0
  195. package/cdn-versioned/chunks/chunk.REMEEDIQ.js +2 -0
  196. package/cdn-versioned/chunks/chunk.RFPANR7F.js +2 -0
  197. package/cdn-versioned/chunks/{chunk.OR64TDYE.js → chunk.RLALDY5L.js} +2 -2
  198. package/cdn-versioned/chunks/chunk.RWLAIGRI.js +2 -0
  199. package/cdn-versioned/chunks/chunk.T35R3Z5M.js +2 -0
  200. package/cdn-versioned/chunks/chunk.UTB3OKJT.js +2 -0
  201. package/cdn-versioned/chunks/chunk.VWI56VMW.js +12 -0
  202. package/cdn-versioned/chunks/{chunk.KITZT7MU.js → chunk.VWYQ4GYH.js} +2 -2
  203. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  204. package/cdn-versioned/chunks/{chunk.LYJX2BW7.js → chunk.WZLYCJJA.js} +2 -2
  205. package/cdn-versioned/chunks/{chunk.2XFIFYRX.js → chunk.YOEY6E2E.js} +2 -2
  206. package/cdn-versioned/chunks/chunk.Z44RDBCE.js +26 -0
  207. package/cdn-versioned/chunks/{chunk.PUC7BGPD.js → chunk.Z6PXRBBW.js} +2 -2
  208. package/cdn-versioned/chunks/{chunk.WWHH2NDP.js → chunk.ZDXDR6L6.js} +2 -2
  209. package/cdn-versioned/chunks/chunk.ZHVSNIJ2.js +2 -0
  210. package/cdn-versioned/chunks/chunk.ZNLOJFYY.js +2 -0
  211. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  212. package/cdn-versioned/components/accordion/accordion.js +1 -1
  213. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  214. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  215. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  216. package/cdn-versioned/components/animation/animation.js +1 -1
  217. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  218. package/cdn-versioned/components/audio/audio.js +1 -1
  219. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  220. package/cdn-versioned/components/badge/badge.js +1 -1
  221. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  222. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  223. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  224. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  225. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  226. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  227. package/cdn-versioned/components/button/button.d.ts +1 -1
  228. package/cdn-versioned/components/button/button.js +1 -1
  229. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  230. package/cdn-versioned/components/button-group/button-group.js +1 -1
  231. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  232. package/cdn-versioned/components/carousel/carousel.js +1 -1
  233. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  234. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  235. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  236. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  237. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  238. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  239. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  240. package/cdn-versioned/components/combobox/combobox.js +1 -1
  241. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  242. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  243. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  244. package/cdn-versioned/components/dialog/dialog.js +1 -1
  245. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  246. package/cdn-versioned/components/divider/divider.js +1 -1
  247. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  248. package/cdn-versioned/components/drawer/drawer.js +1 -1
  249. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  250. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  251. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  252. package/cdn-versioned/components/expandable/expandable.js +1 -1
  253. package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
  254. package/cdn-versioned/components/file-selector/file-selector.js +1 -1
  255. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  256. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  257. package/cdn-versioned/components/header/header.d.ts +1 -1
  258. package/cdn-versioned/components/header/header.js +1 -1
  259. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  260. package/cdn-versioned/components/icon/icon.js +1 -1
  261. package/cdn-versioned/components/icon/library.internal.d.ts +30 -32
  262. package/cdn-versioned/components/icon/library.internal.js +1 -1
  263. package/cdn-versioned/components/icon/library.js +1 -1
  264. package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
  265. package/cdn-versioned/components/icon/library.status.d.ts +9 -8
  266. package/cdn-versioned/components/icon/library.status.js +1 -1
  267. package/cdn-versioned/components/include/include.d.ts +1 -1
  268. package/cdn-versioned/components/include/include.js +1 -1
  269. package/cdn-versioned/components/input/input.d.ts +1 -1
  270. package/cdn-versioned/components/input/input.js +1 -1
  271. package/cdn-versioned/components/link/link.d.ts +1 -1
  272. package/cdn-versioned/components/link/link.js +1 -1
  273. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  274. package/cdn-versioned/components/loader/loader.js +1 -1
  275. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  276. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  277. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  278. package/cdn-versioned/components/menu/menu.js +1 -1
  279. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  280. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  281. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  282. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  283. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  284. package/cdn-versioned/components/notification/notification.js +1 -1
  285. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  286. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  287. package/cdn-versioned/components/option/option.d.ts +1 -1
  288. package/cdn-versioned/components/option/option.js +1 -1
  289. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  290. package/cdn-versioned/components/popup/popup.js +1 -1
  291. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  292. package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
  293. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  294. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  295. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  296. package/cdn-versioned/components/radio/radio.js +1 -1
  297. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  298. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  299. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  300. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  301. package/cdn-versioned/components/range/range.d.ts +1 -1
  302. package/cdn-versioned/components/range/range.js +1 -1
  303. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  304. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  305. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  306. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  307. package/cdn-versioned/components/select/select.d.ts +1 -1
  308. package/cdn-versioned/components/select/select.js +1 -1
  309. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  310. package/cdn-versioned/components/skeleton/skeleton.js +1 -1
  311. package/cdn-versioned/components/step/step.d.ts +1 -1
  312. package/cdn-versioned/components/step/step.js +1 -1
  313. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  314. package/cdn-versioned/components/step-group/step-group.js +1 -1
  315. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  316. package/cdn-versioned/components/switch/switch.js +1 -1
  317. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  318. package/cdn-versioned/components/tab/tab.js +1 -1
  319. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  320. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  321. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  322. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  323. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  324. package/cdn-versioned/components/tag/tag.js +1 -1
  325. package/cdn-versioned/components/teaser/teaser.js +1 -1
  326. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  327. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  328. package/cdn-versioned/components/textarea/textarea.js +1 -1
  329. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  330. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
  331. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  332. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  333. package/cdn-versioned/components/video/video.d.ts +1 -1
  334. package/cdn-versioned/components/video/video.js +1 -1
  335. package/cdn-versioned/custom-elements.json +269 -335
  336. package/cdn-versioned/internal/form.js +2 -2
  337. package/cdn-versioned/solid-components.bundle.js +99 -112
  338. package/cdn-versioned/solid-components.css +7 -7
  339. package/cdn-versioned/solid-components.iife.js +99 -112
  340. package/cdn-versioned/solid-components.js +1 -1
  341. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  342. package/cdn-versioned/utilities/icon-library.js +1 -1
  343. package/cdn-versioned/vscode.html-custom-data.json +120 -120
  344. package/cdn-versioned/web-types.json +178 -178
  345. package/dist/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  346. package/dist/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  347. package/dist/chunks/{chunk.UYQP3VDT.js → chunk.3J7VZBTS.js} +3 -3
  348. package/dist/chunks/{chunk.VHQQB75I.js → chunk.3X6YKZV2.js} +2 -2
  349. package/dist/chunks/{chunk.JHSA2DI2.js → chunk.4HAEWSYV.js} +3 -3
  350. package/dist/chunks/{chunk.266V4W27.js → chunk.4PVMCUXL.js} +2 -2
  351. package/dist/chunks/{chunk.INSUQDO7.js → chunk.4Q7OBQ4W.js} +4 -4
  352. package/dist/chunks/{chunk.QGERTGJH.js → chunk.4VWOZ477.js} +1 -1
  353. package/dist/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
  354. package/dist/chunks/{chunk.Y6QQUPB5.js → chunk.4XVYXK3Y.js} +1 -1
  355. package/dist/chunks/{chunk.AJVSDITF.js → chunk.53ALFWOE.js} +1 -1
  356. package/dist/chunks/{chunk.LIPCVYL3.js → chunk.5M5REO5V.js} +3 -3
  357. package/dist/chunks/{chunk.6OYBQ6CO.js → chunk.6VFD5NZR.js} +1 -1
  358. package/dist/chunks/{chunk.6MSQDSJK.js → chunk.7C3QYV5V.js} +2 -2
  359. package/dist/chunks/{chunk.4USTQEWG.js → chunk.7XGGN33M.js} +3 -3
  360. package/dist/chunks/{chunk.UTW3WRV2.js → chunk.AEUPKYPF.js} +1 -1
  361. package/dist/chunks/{chunk.3JGMLVGL.js → chunk.AOCDBQ25.js} +3 -3
  362. package/dist/chunks/{chunk.I57THEU4.js → chunk.AQILCWGG.js} +2 -2
  363. package/dist/chunks/{chunk.F3C76UKB.js → chunk.BEIIUIHO.js} +1 -1
  364. package/dist/chunks/{chunk.PMM3MDLE.js → chunk.BNZVXMHF.js} +2 -2
  365. package/dist/chunks/{chunk.FQJPWM4Z.js → chunk.D5AXUWNZ.js} +4 -4
  366. package/dist/chunks/{chunk.5VCVDFRJ.js → chunk.DNE5ASH4.js} +1 -1
  367. package/dist/chunks/{chunk.RGVIOXPM.js → chunk.DXBLDNFC.js} +1 -1
  368. package/dist/chunks/{chunk.EVGV2PWW.js → chunk.DZ4M5DL7.js} +1 -1
  369. package/dist/chunks/{chunk.HIR2MKW6.js → chunk.EVCPPJPM.js} +1 -1
  370. package/dist/chunks/{chunk.5R5MY3VD.js → chunk.FX6SKOH4.js} +2 -2
  371. package/dist/chunks/{chunk.C4RJM5BO.js → chunk.G2QMQ3TC.js} +1 -1
  372. package/dist/chunks/{chunk.Z462LBEB.js → chunk.GWALMBNP.js} +2 -2
  373. package/dist/chunks/{chunk.7ZKBKOS5.js → chunk.HM34VU45.js} +5 -5
  374. package/dist/chunks/{chunk.6A4DHVDL.js → chunk.IBO3DT5Q.js} +2 -2
  375. package/dist/chunks/{chunk.3MGF33VU.js → chunk.IJ7UIFUE.js} +2 -2
  376. package/dist/chunks/{chunk.DKN5SHQ2.js → chunk.JPKYXMRK.js} +2 -2
  377. package/dist/chunks/{chunk.UOMFY7RY.js → chunk.JQ3EFQAS.js} +1 -1
  378. package/dist/chunks/{chunk.CQTEYWVJ.js → chunk.KRKT2A2K.js} +3 -3
  379. package/dist/chunks/{chunk.OUFMMO37.js → chunk.L4XU56GO.js} +3 -3
  380. package/dist/chunks/{chunk.P5V6KORX.js → chunk.N2GBPM7O.js} +4 -4
  381. package/dist/chunks/{chunk.D5JLEZPO.js → chunk.N7K5KXEP.js} +1 -1
  382. package/dist/chunks/{chunk.KAWDESCC.js → chunk.N7R2AS4G.js} +3 -3
  383. package/dist/chunks/{chunk.33KST4RJ.js → chunk.O3M4QLOJ.js} +1 -1
  384. package/dist/chunks/{chunk.AFD4FHYM.js → chunk.OO2LH4SE.js} +5 -5
  385. package/dist/chunks/{chunk.G7M7XYS3.js → chunk.PPCXX2VU.js} +1 -1
  386. package/dist/chunks/chunk.PVSLBUSF.js +93 -0
  387. package/dist/chunks/{chunk.WXT5HYGA.js → chunk.PZ6BUUCP.js} +5 -5
  388. package/dist/chunks/{chunk.QD2ZQPDB.js → chunk.QAKJW5ON.js} +2 -2
  389. package/dist/chunks/{chunk.GOZXDQTL.js → chunk.QN22ZMGT.js} +4 -4
  390. package/dist/chunks/{chunk.WYS3OZYO.js → chunk.QPJTXP3H.js} +2 -2
  391. package/dist/chunks/{chunk.ZCG43UX7.js → chunk.SHN2I24K.js} +1 -1
  392. package/dist/chunks/{chunk.QOIO3YAP.js → chunk.TAXXEJSP.js} +1 -1
  393. package/dist/chunks/{chunk.GBB73ZFE.js → chunk.TDFNLRUN.js} +2 -2
  394. package/dist/chunks/{chunk.Q4LFZ4MN.js → chunk.UGGH4H2X.js} +4 -4
  395. package/dist/chunks/{chunk.IXJGPE6X.js → chunk.UP7LZTGK.js} +1 -1
  396. package/dist/chunks/{chunk.52XEAMVX.js → chunk.V52RU2QQ.js} +4 -4
  397. package/dist/chunks/{chunk.PCB2BA7U.js → chunk.VAEJX7NE.js} +1 -1
  398. package/dist/chunks/{chunk.77CINHAJ.js → chunk.WCQW4CQT.js} +1 -1
  399. package/dist/chunks/{chunk.GHWO5PUG.js → chunk.WEFWQVW5.js} +3 -3
  400. package/dist/chunks/{chunk.2ZO5TQLM.js → chunk.WJDMGITX.js} +3 -3
  401. package/dist/chunks/{chunk.JAPL7DQX.js → chunk.WR3OMWJ5.js} +2 -2
  402. package/dist/chunks/{chunk.SVAL7V6Q.js → chunk.WW2GYTA2.js} +1 -1
  403. package/dist/chunks/{chunk.WVSKCZ63.js → chunk.X43JSG7P.js} +2 -2
  404. package/dist/chunks/{chunk.BZO3OLK2.js → chunk.X76XYLWV.js} +1 -1
  405. package/dist/chunks/{chunk.3Y3V2LY4.js → chunk.XFFYITQX.js} +2 -2
  406. package/dist/chunks/{chunk.WZOVHSGU.js → chunk.YLTS3DRQ.js} +2 -2
  407. package/dist/chunks/{chunk.4BB4LNMY.js → chunk.YUF5NVHJ.js} +6 -6
  408. package/dist/chunks/{chunk.GRRHK6BP.js → chunk.Z46FZJNF.js} +1 -1
  409. package/dist/chunks/{chunk.LJ5ONJGL.js → chunk.Z6VBJGLD.js} +5 -5
  410. package/dist/chunks/{chunk.Y4XJY6Y4.js → chunk.ZSRPJGFN.js} +2 -2
  411. package/dist/components/accordion/accordion.js +7 -7
  412. package/dist/components/accordion-group/accordion-group.js +8 -8
  413. package/dist/components/animation/animation.js +2 -2
  414. package/dist/components/audio/audio.js +11 -11
  415. package/dist/components/badge/badge.js +2 -2
  416. package/dist/components/brandshape/brandshape.js +2 -2
  417. package/dist/components/breadcrumb/breadcrumb.js +9 -9
  418. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  419. package/dist/components/button/button.js +4 -4
  420. package/dist/components/button-group/button-group.js +2 -2
  421. package/dist/components/carousel/carousel.js +8 -8
  422. package/dist/components/carousel-item/carousel-item.js +2 -2
  423. package/dist/components/checkbox/checkbox.js +7 -7
  424. package/dist/components/checkbox-group/checkbox-group.js +7 -7
  425. package/dist/components/combobox/combobox.js +9 -9
  426. package/dist/components/datepicker/datepicker.js +9 -9
  427. package/dist/components/dialog/dialog.js +10 -10
  428. package/dist/components/divider/divider.js +2 -2
  429. package/dist/components/drawer/drawer.js +10 -10
  430. package/dist/components/dropdown/dropdown.js +3 -3
  431. package/dist/components/expandable/expandable.js +7 -7
  432. package/dist/components/file-selector/file-selector.js +10 -10
  433. package/dist/components/flipcard/flipcard.js +10 -10
  434. package/dist/components/header/header.js +2 -2
  435. package/dist/components/icon/icon.js +6 -6
  436. package/dist/components/icon/library.internal.d.ts +30 -32
  437. package/dist/components/icon/library.internal.js +1 -1
  438. package/dist/components/icon/library.js +4 -4
  439. package/dist/components/icon/library.multi-theming.js +1 -1
  440. package/dist/components/icon/library.status.d.ts +9 -8
  441. package/dist/components/icon/library.status.js +1 -1
  442. package/dist/components/include/include.js +2 -2
  443. package/dist/components/input/input.js +7 -7
  444. package/dist/components/link/link.js +2 -2
  445. package/dist/components/loader/loader.js +2 -2
  446. package/dist/components/map-marker/map-marker.js +2 -2
  447. package/dist/components/menu/menu.js +2 -2
  448. package/dist/components/menu-item/menu-item.js +2 -2
  449. package/dist/components/navigation-item/navigation-item.js +8 -8
  450. package/dist/components/notification/notification.js +10 -10
  451. package/dist/components/optgroup/optgroup.js +3 -3
  452. package/dist/components/option/option.js +7 -7
  453. package/dist/components/popup/popup.js +2 -2
  454. package/dist/components/progress-bar/progress-bar.js +2 -2
  455. package/dist/components/quickfact/quickfact.js +8 -8
  456. package/dist/components/radio/radio.js +2 -2
  457. package/dist/components/radio-button/radio-button.js +2 -2
  458. package/dist/components/radio-group/radio-group.js +4 -4
  459. package/dist/components/range/range.js +9 -9
  460. package/dist/components/range-tick/range-tick.js +2 -2
  461. package/dist/components/scrollable/scrollable.js +7 -7
  462. package/dist/components/select/select.js +9 -9
  463. package/dist/components/skeleton/skeleton.js +2 -2
  464. package/dist/components/step/step.js +7 -7
  465. package/dist/components/step-group/step-group.js +2 -2
  466. package/dist/components/switch/switch.js +2 -2
  467. package/dist/components/tab/tab.js +2 -2
  468. package/dist/components/tab-group/tab-group.js +7 -7
  469. package/dist/components/tab-panel/tab-panel.js +2 -2
  470. package/dist/components/tag/tag.js +7 -7
  471. package/dist/components/teaser/teaser.js +2 -2
  472. package/dist/components/teaser-media/teaser-media.js +2 -2
  473. package/dist/components/textarea/textarea.js +7 -7
  474. package/dist/components/theme-listener/theme-listener.js +2 -2
  475. package/dist/components/tooltip/tooltip.js +8 -8
  476. package/dist/components/video/video.js +7 -7
  477. package/dist/custom-elements.json +4 -70
  478. package/dist/solid-components.css +4 -4
  479. package/dist/solid-components.js +66 -66
  480. package/dist/utilities/autocomplete-config.js +3 -3
  481. package/dist/utilities/icon-library.js +4 -4
  482. package/dist/vscode.html-custom-data.json +8 -8
  483. package/dist/web-types.json +9 -9
  484. package/dist-versioned/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
  485. package/dist-versioned/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
  486. package/dist-versioned/chunks/{chunk.UYQP3VDT.js → chunk.3J7VZBTS.js} +4 -4
  487. package/dist-versioned/chunks/{chunk.VHQQB75I.js → chunk.3X6YKZV2.js} +4 -4
  488. package/dist-versioned/chunks/{chunk.JHSA2DI2.js → chunk.4HAEWSYV.js} +5 -5
  489. package/dist-versioned/chunks/{chunk.266V4W27.js → chunk.4PVMCUXL.js} +13 -13
  490. package/dist-versioned/chunks/{chunk.INSUQDO7.js → chunk.4Q7OBQ4W.js} +6 -6
  491. package/dist-versioned/chunks/chunk.4VWOZ477.js +70 -0
  492. package/dist-versioned/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
  493. package/dist-versioned/chunks/{chunk.Y6QQUPB5.js → chunk.4XVYXK3Y.js} +5 -5
  494. package/dist-versioned/chunks/{chunk.AJVSDITF.js → chunk.53ALFWOE.js} +4 -4
  495. package/dist-versioned/chunks/{chunk.LIPCVYL3.js → chunk.5M5REO5V.js} +5 -5
  496. package/dist-versioned/chunks/{chunk.6OYBQ6CO.js → chunk.6VFD5NZR.js} +5 -5
  497. package/dist-versioned/chunks/{chunk.6MSQDSJK.js → chunk.7C3QYV5V.js} +6 -6
  498. package/dist-versioned/chunks/{chunk.4USTQEWG.js → chunk.7XGGN33M.js} +14 -14
  499. package/dist-versioned/chunks/{chunk.UTW3WRV2.js → chunk.AEUPKYPF.js} +6 -6
  500. package/dist-versioned/chunks/{chunk.3JGMLVGL.js → chunk.AOCDBQ25.js} +5 -5
  501. package/dist-versioned/chunks/{chunk.I57THEU4.js → chunk.AQILCWGG.js} +9 -9
  502. package/dist-versioned/chunks/{chunk.F3C76UKB.js → chunk.BEIIUIHO.js} +3 -3
  503. package/dist-versioned/chunks/{chunk.PMM3MDLE.js → chunk.BNZVXMHF.js} +4 -4
  504. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  505. package/dist-versioned/chunks/{chunk.FQJPWM4Z.js → chunk.D5AXUWNZ.js} +26 -26
  506. package/dist-versioned/chunks/{chunk.5VCVDFRJ.js → chunk.DNE5ASH4.js} +2 -2
  507. package/dist-versioned/chunks/{chunk.RGVIOXPM.js → chunk.DXBLDNFC.js} +4 -4
  508. package/dist-versioned/chunks/{chunk.EVGV2PWW.js → chunk.DZ4M5DL7.js} +3 -3
  509. package/dist-versioned/chunks/{chunk.HIR2MKW6.js → chunk.EVCPPJPM.js} +3 -3
  510. package/dist-versioned/chunks/{chunk.5R5MY3VD.js → chunk.FX6SKOH4.js} +13 -13
  511. package/dist-versioned/chunks/{chunk.C4RJM5BO.js → chunk.G2QMQ3TC.js} +2 -2
  512. package/dist-versioned/chunks/{chunk.Z462LBEB.js → chunk.GWALMBNP.js} +9 -9
  513. package/dist-versioned/chunks/{chunk.7ZKBKOS5.js → chunk.HM34VU45.js} +12 -12
  514. package/dist-versioned/chunks/{chunk.6A4DHVDL.js → chunk.IBO3DT5Q.js} +4 -4
  515. package/dist-versioned/chunks/{chunk.3MGF33VU.js → chunk.IJ7UIFUE.js} +3 -3
  516. package/dist-versioned/chunks/{chunk.DKN5SHQ2.js → chunk.JPKYXMRK.js} +6 -6
  517. package/dist-versioned/chunks/{chunk.UOMFY7RY.js → chunk.JQ3EFQAS.js} +2 -2
  518. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  519. package/dist-versioned/chunks/{chunk.CQTEYWVJ.js → chunk.KRKT2A2K.js} +12 -12
  520. package/dist-versioned/chunks/{chunk.OUFMMO37.js → chunk.L4XU56GO.js} +8 -8
  521. package/dist-versioned/chunks/{chunk.P5V6KORX.js → chunk.N2GBPM7O.js} +24 -24
  522. package/dist-versioned/chunks/{chunk.D5JLEZPO.js → chunk.N7K5KXEP.js} +2 -2
  523. package/dist-versioned/chunks/{chunk.KAWDESCC.js → chunk.N7R2AS4G.js} +7 -7
  524. package/dist-versioned/chunks/{chunk.33KST4RJ.js → chunk.O3M4QLOJ.js} +2 -2
  525. package/dist-versioned/chunks/{chunk.AFD4FHYM.js → chunk.OO2LH4SE.js} +11 -11
  526. package/dist-versioned/chunks/{chunk.G7M7XYS3.js → chunk.PPCXX2VU.js} +7 -7
  527. package/dist-versioned/chunks/chunk.PVSLBUSF.js +93 -0
  528. package/dist-versioned/chunks/{chunk.WXT5HYGA.js → chunk.PZ6BUUCP.js} +13 -13
  529. package/dist-versioned/chunks/{chunk.QD2ZQPDB.js → chunk.QAKJW5ON.js} +3 -3
  530. package/dist-versioned/chunks/{chunk.GOZXDQTL.js → chunk.QN22ZMGT.js} +6 -6
  531. package/dist-versioned/chunks/{chunk.WYS3OZYO.js → chunk.QPJTXP3H.js} +6 -6
  532. package/dist-versioned/chunks/{chunk.ZCG43UX7.js → chunk.SHN2I24K.js} +11 -11
  533. package/dist-versioned/chunks/{chunk.QOIO3YAP.js → chunk.TAXXEJSP.js} +8 -8
  534. package/dist-versioned/chunks/{chunk.GBB73ZFE.js → chunk.TDFNLRUN.js} +5 -5
  535. package/dist-versioned/chunks/{chunk.Q4LFZ4MN.js → chunk.UGGH4H2X.js} +4 -4
  536. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  537. package/dist-versioned/chunks/{chunk.IXJGPE6X.js → chunk.UP7LZTGK.js} +12 -12
  538. package/dist-versioned/chunks/{chunk.52XEAMVX.js → chunk.V52RU2QQ.js} +7 -7
  539. package/dist-versioned/chunks/{chunk.PCB2BA7U.js → chunk.VAEJX7NE.js} +14 -14
  540. package/dist-versioned/chunks/{chunk.77CINHAJ.js → chunk.WCQW4CQT.js} +2 -2
  541. package/dist-versioned/chunks/{chunk.GHWO5PUG.js → chunk.WEFWQVW5.js} +15 -15
  542. package/dist-versioned/chunks/{chunk.2ZO5TQLM.js → chunk.WJDMGITX.js} +5 -5
  543. package/dist-versioned/chunks/{chunk.JAPL7DQX.js → chunk.WR3OMWJ5.js} +7 -7
  544. package/dist-versioned/chunks/{chunk.SVAL7V6Q.js → chunk.WW2GYTA2.js} +3 -3
  545. package/dist-versioned/chunks/{chunk.WVSKCZ63.js → chunk.X43JSG7P.js} +5 -5
  546. package/dist-versioned/chunks/{chunk.BZO3OLK2.js → chunk.X76XYLWV.js} +6 -6
  547. package/dist-versioned/chunks/{chunk.3Y3V2LY4.js → chunk.XFFYITQX.js} +6 -6
  548. package/dist-versioned/chunks/{chunk.WZOVHSGU.js → chunk.YLTS3DRQ.js} +7 -7
  549. package/dist-versioned/chunks/{chunk.4BB4LNMY.js → chunk.YUF5NVHJ.js} +9 -9
  550. package/dist-versioned/chunks/{chunk.GRRHK6BP.js → chunk.Z46FZJNF.js} +3 -3
  551. package/dist-versioned/chunks/{chunk.LJ5ONJGL.js → chunk.Z6VBJGLD.js} +43 -43
  552. package/dist-versioned/chunks/{chunk.Y4XJY6Y4.js → chunk.ZSRPJGFN.js} +7 -7
  553. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  554. package/dist-versioned/components/accordion/accordion.js +7 -7
  555. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  556. package/dist-versioned/components/accordion-group/accordion-group.js +8 -8
  557. package/dist-versioned/components/animation/animation.d.ts +1 -1
  558. package/dist-versioned/components/animation/animation.js +2 -2
  559. package/dist-versioned/components/audio/audio.d.ts +1 -1
  560. package/dist-versioned/components/audio/audio.js +11 -11
  561. package/dist-versioned/components/badge/badge.d.ts +1 -1
  562. package/dist-versioned/components/badge/badge.js +2 -2
  563. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  564. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  565. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  566. package/dist-versioned/components/breadcrumb/breadcrumb.js +9 -9
  567. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  568. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
  569. package/dist-versioned/components/button/button.d.ts +1 -1
  570. package/dist-versioned/components/button/button.js +4 -4
  571. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  572. package/dist-versioned/components/button-group/button-group.js +2 -2
  573. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  574. package/dist-versioned/components/carousel/carousel.js +8 -8
  575. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  576. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  577. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  578. package/dist-versioned/components/checkbox/checkbox.js +7 -7
  579. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  580. package/dist-versioned/components/checkbox-group/checkbox-group.js +7 -7
  581. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  582. package/dist-versioned/components/combobox/combobox.js +9 -9
  583. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  584. package/dist-versioned/components/datepicker/datepicker.js +9 -9
  585. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  586. package/dist-versioned/components/dialog/dialog.js +10 -10
  587. package/dist-versioned/components/divider/divider.d.ts +1 -1
  588. package/dist-versioned/components/divider/divider.js +2 -2
  589. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  590. package/dist-versioned/components/drawer/drawer.js +10 -10
  591. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  592. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  593. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  594. package/dist-versioned/components/expandable/expandable.js +7 -7
  595. package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
  596. package/dist-versioned/components/file-selector/file-selector.js +10 -10
  597. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  598. package/dist-versioned/components/flipcard/flipcard.js +10 -10
  599. package/dist-versioned/components/header/header.d.ts +1 -1
  600. package/dist-versioned/components/header/header.js +2 -2
  601. package/dist-versioned/components/icon/icon.d.ts +1 -1
  602. package/dist-versioned/components/icon/icon.js +6 -6
  603. package/dist-versioned/components/icon/library.internal.d.ts +30 -32
  604. package/dist-versioned/components/icon/library.internal.js +1 -1
  605. package/dist-versioned/components/icon/library.js +4 -4
  606. package/dist-versioned/components/icon/library.multi-theming.js +1 -1
  607. package/dist-versioned/components/icon/library.status.d.ts +9 -8
  608. package/dist-versioned/components/icon/library.status.js +1 -1
  609. package/dist-versioned/components/include/include.d.ts +1 -1
  610. package/dist-versioned/components/include/include.js +2 -2
  611. package/dist-versioned/components/input/input.d.ts +1 -1
  612. package/dist-versioned/components/input/input.js +7 -7
  613. package/dist-versioned/components/link/link.d.ts +1 -1
  614. package/dist-versioned/components/link/link.js +2 -2
  615. package/dist-versioned/components/loader/loader.d.ts +1 -1
  616. package/dist-versioned/components/loader/loader.js +2 -2
  617. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  618. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  619. package/dist-versioned/components/menu/menu.d.ts +1 -1
  620. package/dist-versioned/components/menu/menu.js +2 -2
  621. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  622. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  623. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  624. package/dist-versioned/components/navigation-item/navigation-item.js +8 -8
  625. package/dist-versioned/components/notification/notification.d.ts +1 -1
  626. package/dist-versioned/components/notification/notification.js +10 -10
  627. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  628. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  629. package/dist-versioned/components/option/option.d.ts +1 -1
  630. package/dist-versioned/components/option/option.js +7 -7
  631. package/dist-versioned/components/popup/popup.d.ts +1 -1
  632. package/dist-versioned/components/popup/popup.js +2 -2
  633. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  634. package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
  635. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  636. package/dist-versioned/components/quickfact/quickfact.js +8 -8
  637. package/dist-versioned/components/radio/radio.d.ts +1 -1
  638. package/dist-versioned/components/radio/radio.js +2 -2
  639. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  640. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  641. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  642. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  643. package/dist-versioned/components/range/range.d.ts +1 -1
  644. package/dist-versioned/components/range/range.js +9 -9
  645. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  646. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  647. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  648. package/dist-versioned/components/scrollable/scrollable.js +7 -7
  649. package/dist-versioned/components/select/select.d.ts +1 -1
  650. package/dist-versioned/components/select/select.js +9 -9
  651. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  652. package/dist-versioned/components/skeleton/skeleton.js +2 -2
  653. package/dist-versioned/components/step/step.d.ts +1 -1
  654. package/dist-versioned/components/step/step.js +7 -7
  655. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  656. package/dist-versioned/components/step-group/step-group.js +2 -2
  657. package/dist-versioned/components/switch/switch.d.ts +1 -1
  658. package/dist-versioned/components/switch/switch.js +2 -2
  659. package/dist-versioned/components/tab/tab.d.ts +1 -1
  660. package/dist-versioned/components/tab/tab.js +2 -2
  661. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  662. package/dist-versioned/components/tab-group/tab-group.js +7 -7
  663. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  664. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  665. package/dist-versioned/components/tag/tag.d.ts +1 -1
  666. package/dist-versioned/components/tag/tag.js +7 -7
  667. package/dist-versioned/components/teaser/teaser.js +2 -2
  668. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  669. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  670. package/dist-versioned/components/textarea/textarea.js +7 -7
  671. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  672. package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
  673. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  674. package/dist-versioned/components/tooltip/tooltip.js +8 -8
  675. package/dist-versioned/components/video/video.d.ts +1 -1
  676. package/dist-versioned/components/video/video.js +7 -7
  677. package/dist-versioned/custom-elements.json +269 -335
  678. package/dist-versioned/internal/form.js +2 -2
  679. package/dist-versioned/solid-components.css +7 -7
  680. package/dist-versioned/solid-components.js +66 -66
  681. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  682. package/dist-versioned/utilities/icon-library.js +4 -4
  683. package/dist-versioned/vscode.html-custom-data.json +120 -120
  684. package/dist-versioned/web-types.json +178 -178
  685. package/package.json +2 -2
  686. package/cdn/chunks/chunk.5B33ZALC.js +0 -26
  687. package/cdn/chunks/chunk.C45254AN.js +0 -2
  688. package/cdn/chunks/chunk.HS3Q3NPY.js +0 -2
  689. package/cdn/chunks/chunk.J663MKB4.js +0 -2
  690. package/cdn/chunks/chunk.MIROXJW4.js +0 -6
  691. package/cdn/chunks/chunk.OFLEA353.js +0 -12
  692. package/cdn/chunks/chunk.U2TVO27N.js +0 -2
  693. package/cdn/chunks/chunk.VSIBCI2V.js +0 -2
  694. package/cdn/chunks/chunk.WIAQ2X73.js +0 -2
  695. package/cdn-versioned/chunks/chunk.3RDG7HQT.js +0 -2
  696. package/cdn-versioned/chunks/chunk.3VTWQPQB.js +0 -2
  697. package/cdn-versioned/chunks/chunk.55B57RXL.js +0 -2
  698. package/cdn-versioned/chunks/chunk.5B33ZALC.js +0 -26
  699. package/cdn-versioned/chunks/chunk.6A2XPA27.js +0 -12
  700. package/cdn-versioned/chunks/chunk.6JKZ63QX.js +0 -5
  701. package/cdn-versioned/chunks/chunk.7USKB2GO.js +0 -2
  702. package/cdn-versioned/chunks/chunk.ARA5JW32.js +0 -2
  703. package/cdn-versioned/chunks/chunk.B4BAFEZE.js +0 -11
  704. package/cdn-versioned/chunks/chunk.C45254AN.js +0 -2
  705. package/cdn-versioned/chunks/chunk.CVB6PQL3.js +0 -12
  706. package/cdn-versioned/chunks/chunk.CWRWVUT3.js +0 -2
  707. package/cdn-versioned/chunks/chunk.DEC3VKXA.js +0 -2
  708. package/cdn-versioned/chunks/chunk.FCBNIOWP.js +0 -2
  709. package/cdn-versioned/chunks/chunk.GX5EMWG2.js +0 -2
  710. package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +0 -2
  711. package/cdn-versioned/chunks/chunk.J663MKB4.js +0 -2
  712. package/cdn-versioned/chunks/chunk.JTBZGOCE.js +0 -2
  713. package/cdn-versioned/chunks/chunk.KDTVJE37.js +0 -2
  714. package/cdn-versioned/chunks/chunk.LM5SJXYL.js +0 -5
  715. package/cdn-versioned/chunks/chunk.N2PGOHWH.js +0 -2
  716. package/cdn-versioned/chunks/chunk.NISL6W7W.js +0 -2
  717. package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +0 -4
  718. package/cdn-versioned/chunks/chunk.OFLEA353.js +0 -12
  719. package/cdn-versioned/chunks/chunk.OKAUTL3G.js +0 -2
  720. package/cdn-versioned/chunks/chunk.OYCIMCNH.js +0 -2
  721. package/cdn-versioned/chunks/chunk.QXTQ4QBZ.js +0 -12
  722. package/cdn-versioned/chunks/chunk.RGSF2XLM.js +0 -2
  723. package/cdn-versioned/chunks/chunk.RJIOLFBG.js +0 -2
  724. package/cdn-versioned/chunks/chunk.RSP57JUX.js +0 -2
  725. package/cdn-versioned/chunks/chunk.TS6S25HT.js +0 -2
  726. package/cdn-versioned/chunks/chunk.U2TVO27N.js +0 -2
  727. package/cdn-versioned/chunks/chunk.UFWE6XC3.js +0 -2
  728. package/cdn-versioned/chunks/chunk.VAQE66S7.js +0 -2
  729. package/cdn-versioned/chunks/chunk.VSIBCI2V.js +0 -2
  730. package/cdn-versioned/chunks/chunk.WIAQ2X73.js +0 -2
  731. package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +0 -2
  732. package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +0 -2
  733. package/dist/chunks/chunk.DJJN4MJ4.js +0 -93
  734. package/dist-versioned/chunks/chunk.DJJN4MJ4.js +0 -93
  735. package/dist-versioned/chunks/chunk.QGERTGJH.js +0 -70
@@ -1,2 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.5B33ZALC.js";import{b as m,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let a=this.getAllCheckboxes();await Promise.all(a.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let a=this.hasSlotController.test("label"),l=this.label?!0:a,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${i("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${i("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${i({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:0}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-checkbox-group")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.Z44RDBCE.js";import{b as m,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let a=this.getAllCheckboxes();await Promise.all(a.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let a=this.hasSlotController.test("label"),l=this.label?!0:a,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${i("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${i("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${i({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:0}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-checkbox-group")],t);export{t as a};
@@ -1,5 +1,5 @@
1
- import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as C}from"./chunk.SVZV3YHZ.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as _}from"./chunk.MEDJPDBB.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as g,e as A,h as w}from"./chunk.5B33ZALC.js";import{b as P,e as m}from"./chunk.OBAEIKIV.js";import{d as M}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function L(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var r=class extends w{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new _(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>C.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,n=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),n&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let d=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var n;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(n=s.textContent)==null?void 0:n.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),n=e.slice(0,t);s.reverse().forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-d-1)),this.prepend(a)}),n.forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(d)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,n)=>{s.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${n}`:n})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:n,fade:c}=this,d=this.getSlides(),a=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=L(e+(s?t:0),0,a.length+1),B=a[y],S=n.getBoundingClientRect(),x=B.getBoundingClientRect();if(n.scrollTo({left:x.left-S.left+n.scrollLeft,top:x.top-S.top+n.scrollTop,behavior:M()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-icon></slot><slot name="autoplay-pause" class="${l(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-down":"chevron-up"}"></sd-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),a=>{let f=a+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}"><span class="${l("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:m`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${l("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div></div></div>`}};r.styles=[...w.styles,P`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`],o([g('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([g('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([g('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([A('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([p({type:String,reflect:!0})],r.prototype,"variant",2),o([p({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([p({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([p({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([p({type:Number,attribute:"autoplay-interval",reflect:!0})],r.prototype,"autoplayInterval",2),o([p({type:Boolean,reflect:!0})],r.prototype,"fade",2),o([p({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([p({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([g("slot:not([name])")],r.prototype,"defaultSlot",2),o([g(".carousel__slides")],r.prototype,"scrollContainer",2),o([g(".carousel__pagination")],r.prototype,"paginationContainer",2),o([g(".carousel__announcement")],r.prototype,"announcementRegion",2),o([b()],r.prototype,"activeSlide",2),o([b()],r.prototype,"currentPage",2),o([b()],r.prototype,"pausedAutoplay",2),o([b()],r.prototype,"isFocused",2),o([v("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([v("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([v("activeSlide")],r.prototype,"handleSlideChange",1),o([v("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([v("autoplay")],r.prototype,"handleAutoplayChange",1),o([v("autoplayInterval")],r.prototype,"handleautoplayIntervalChange",1),r=o([E("sd-carousel")],r);export{r as a};
1
+ import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as C}from"./chunk.MDIQLQU6.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as _}from"./chunk.MEDJPDBB.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as g,e as A,h as S}from"./chunk.Z44RDBCE.js";import{b as P,e as m}from"./chunk.OBAEIKIV.js";import{d as M}from"./chunk.W4QBFD6E.js";import{e as r}from"./chunk.6EV4YU6C.js";function L(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var o=class extends S{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new _(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>C.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,n=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),n&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let d=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var n;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(n=s.textContent)==null?void 0:n.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),n=e.slice(0,t);s.reverse().forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-d-1)),this.prepend(a)}),n.forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(d)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,n)=>{s.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${n}`:n})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:n,fade:c}=this,d=this.getSlides(),a=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=L(e+(s?t:0),0,a.length+1),B=a[y],w=n.getBoundingClientRect(),x=B.getBoundingClientRect();if(n.scrollTo({left:x.left-w.left+n.scrollLeft,top:x.top-w.top+n.scrollTop,behavior:M()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(this.pausedAutoplay?"":"hidden")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="play"></sd-icon></slot><slot name="autoplay-pause" class="${l(this.pausedAutoplay?"hidden":"")}"><sd-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay||this.pausedAutoplay||this.isFocused?"polite":"off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-bottom":"chevron-top"}"></sd-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),a=>{let f=a+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}"><span class="${l("h-4 w-4 block border sd-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"sd-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?this.inverted?"sd-carousel__pager-dot--inverted-background hover:sd-carousel__pager-dot--inverted--hovered-background":"sd-carousel__pager-dot-background hover:bg-accent-550":"")}"></span></button>`})}</div>`:m`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${l("w-5 text-center border-b-2",this.inverted?"text-white sd-carousel--active--inverted-color-border":"text-black sd-carousel--active-color-border")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-top":"chevron-bottom"}"></sd-icon></slot></button></div></div></div>`}};o.styles=[...S.styles,P`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`],r([g('[part~="autoplay-controls"]')],o.prototype,"autoplayControls",2),r([g('[part~="navigation-button--previous"]')],o.prototype,"previousButton",2),r([g('[part~="navigation-button--next"]')],o.prototype,"nextButton",2),r([A('[part~="pagination-item"]')],o.prototype,"paginationItems",2),r([p({type:String,reflect:!0})],o.prototype,"variant",2),r([p({type:Boolean,reflect:!0})],o.prototype,"inverted",2),r([p({type:Boolean,reflect:!0})],o.prototype,"loop",2),r([p({type:Boolean,reflect:!0})],o.prototype,"autoplay",2),r([p({type:Number,attribute:"autoplay-interval",reflect:!0})],o.prototype,"autoplayInterval",2),r([p({type:Boolean,reflect:!0})],o.prototype,"fade",2),r([p({type:Number,attribute:"slides-per-page",reflect:!0})],o.prototype,"slidesPerPage",2),r([p({type:Number,attribute:"slides-per-move",reflect:!0})],o.prototype,"slidesPerMove",2),r([g("slot:not([name])")],o.prototype,"defaultSlot",2),r([g(".carousel__slides")],o.prototype,"scrollContainer",2),r([g(".carousel__pagination")],o.prototype,"paginationContainer",2),r([g(".carousel__announcement")],o.prototype,"announcementRegion",2),r([b()],o.prototype,"activeSlide",2),r([b()],o.prototype,"currentPage",2),r([b()],o.prototype,"pausedAutoplay",2),r([b()],o.prototype,"isFocused",2),r([v("pausedAutoplay")],o.prototype,"handlePausedAutoplay",1),r([v("fade",{waitUntilFirstUpdate:!0})],o.prototype,"handleFadeChange",1),r([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],o.prototype,"initializeSlides",1),r([v("activeSlide")],o.prototype,"handleSlideChange",1),r([v("slidesPerMove")],o.prototype,"handleSlidesPerMoveChange",1),r([v("autoplay")],o.prototype,"handleAutoplayChange",1),r([v("autoplayInterval")],o.prototype,"handleautoplayIntervalChange",1),o=r([E("sd-carousel")],o);export{o as a};
3
3
  /*! Bundled license information:
4
4
 
5
5
  lit-html/directives/map.js:
@@ -1,2 +1,2 @@
1
- import{a as E}from"./chunk.KDTVJE37.js";import{b,c as C,d as x,e as w}from"./chunk.LZRL7OLU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c,d as m,h as f}from"./chunk.5B33ZALC.js";import{b as v,e as d}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends f{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new k(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?w:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var l;let t=(l=this.shadowRoot)==null?void 0:l.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-radio, sd-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-radio, sd-radio-button"),l=this.value,i=this.getAllRadios();i.length!==0&&(e.disabled||(this.value=e.value,i.forEach(n=>n.checked=n===e),this.value!==l&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(h=>!h.disabled);if(e.length===0)return;let l=(g=e.find(h=>h.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,a=e.indexOf(l)+i;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach(h=>{h.checked=!1,this.hasButtonGroup||(h.tabIndex=-1)}),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let l=t.find(i=>i.checked)||t[0];l&&l.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,l;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof E&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(l=this.shadowRoot)==null?void 0:l.querySelector("sd-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-radio")&&customElements.get("sd-radio-button")){this.syncRadioElements();return}customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then(()=>this.syncRadios()),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,l=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!l,n=this.hasSlotController.test("tooltip"),a=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-button-group class="border border-primary sd-radio-button-group-border-radius sd-radio-button-group-border-width sd-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${a}</sd-button-group>`:a}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?d`<sd-icon part="invalid-icon" class="${u("text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};s.styles=[...f.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([p("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([p("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([p("value")],s.prototype,"handleValueChange",1),s=o([y("sd-radio-group")],s);export{s as a};
1
+ import{a as E}from"./chunk.5KXVHZV5.js";import{b,c as C,d as x,e as w}from"./chunk.LZRL7OLU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as u}from"./chunk.4ZZFYCXX.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c,d as m,h as f}from"./chunk.Z44RDBCE.js";import{b as v,e as d}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends f{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new k(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?w:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var l;let t=(l=this.shadowRoot)==null?void 0:l.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-radio, sd-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-radio, sd-radio-button"),l=this.value,i=this.getAllRadios();i.length!==0&&(e.disabled||(this.value=e.value,i.forEach(n=>n.checked=n===e),this.value!==l&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(h=>!h.disabled);if(e.length===0)return;let l=(g=e.find(h=>h.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,a=e.indexOf(l)+i;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach(h=>{h.checked=!1,this.hasButtonGroup||(h.tabIndex=-1)}),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let l=t.find(i=>i.checked)||t[0];l&&l.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,l;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof E&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(l=this.shadowRoot)==null?void 0:l.querySelector("sd-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-radio")&&customElements.get("sd-radio-button")){this.syncRadioElements();return}customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then(()=>this.syncRadios()),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,l=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!l,n=this.hasSlotController.test("tooltip"),a=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${u("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${u("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${u("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-button-group class="border border-primary sd-radio-button-group-border-radius sd-radio-button-group-border-width sd-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${a}</sd-button-group>`:a}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${u("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?d`<sd-icon part="invalid-icon" class="${u("text-error")}" library="_internal" name="risk"></sd-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};s.styles=[...f.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:0}:host([required]) #label::after{content:' *'}:host:has(sd-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([c()],s.prototype,"hasButtonGroup",2),o([c()],s.prototype,"defaultValue",2),o([c()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([p("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([p("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([p("value")],s.prototype,"handleValueChange",1),s=o([y("sd-radio-group")],s);export{s as a};
@@ -1,4 +1,4 @@
1
- import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.MEDJPDBB.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.5B33ZALC.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
1
+ import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.MEDJPDBB.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.Z44RDBCE.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
2
2
  base:tag__base,
3
3
  content:tag__content,
4
4
  removable-indicator:tag__removable-indicator,
@@ -8,5 +8,5 @@ import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";
8
8
  removable-indicator:tag__removable-indicator,
9
9
  " size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(r=>r.value);if(e.length===o.length&&e.every(r=>o.includes(r)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(r=>d.includes(r.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,r=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||r)&&!(this.disabled&&!r),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],_=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",f,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${h(e&&"inline-block",this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",b==="disabled"?"text-neutral-500":"text-black")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
10
10
  popup:popup__content,
11
- "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],_)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${h(v,g)}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",g)}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="${h("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
- :host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`],s([k({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
11
+ "><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],_)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${h("text-neutral-700 z-10",g)}" library="_internal" name="close-circle"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-icon part="invalid-icon" class="${h(v,g)}" library="_internal" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",g)}"><sd-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor"></sd-icon></slot></div><button part="combobox" class="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius":"border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-popup></div><div class="${h("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
12
+ :host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500,174 174 174))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-radius,.25rem);padding-inline:var(--sd-spacing-1,.25rem)}sd-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`],s([k({selector:"sd-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
@@ -1,2 +1,2 @@
1
- import{a as l,b as i,g as c,h as o}from"./chunk.5B33ZALC.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as l,b as i,g as c,h as o}from"./chunk.Z44RDBCE.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-accordion-group")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.5B33ZALC.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
1
+ import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.Z44RDBCE.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
2
  :host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Rt('[part="popup"]')],y.prototype,"popup",2),A([Rt('[part="arrow"]')],y.prototype,"arrowEl",2),A([O({reflect:!0})],y.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],y.prototype,"active",2),A([O({type:String,reflect:!0})],y.prototype,"placement",2),A([O({type:String,reflect:!0})],y.prototype,"strategy",2),A([O({type:Number,reflect:!0})],y.prototype,"distance",2),A([O({type:Number,reflect:!0})],y.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],y.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],y.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],y.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],y.prototype,"flipFallbackStrategy",2),A([O({type:Object})],y.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],y.prototype,"flipPadding",2),A([O({type:Boolean})],y.prototype,"shift",2),A([O({type:Object})],y.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],y.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],y.prototype,"autoSize",2),A([O()],y.prototype,"sync",2),A([O({type:Object})],y.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],y.prototype,"autoSizePadding",2),y=A([Dt("sd-popup")],y);export{y as a};
@@ -0,0 +1,2 @@
1
+ import{a as o}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as h,b as a}from"./chunk.NL7YFV4O.js";import{a as m}from"./chunk.MEDJPDBB.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as b,b as r,d as p,h as f}from"./chunk.Z44RDBCE.js";import{b as v}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new m(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.stacked=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let i=this.defaultSlot.assignedNodes({flatten:!0});return i.length>0&&i.every(n=>{var c;return n.nodeType===Node.TEXT_NODE?!((c=n.textContent)!=null&&c.trim()):n.nodeType===Node.ELEMENT_NODE?n.tagName.toLowerCase()==="sd-icon":!1})}get isStackedHorizontal(){return!this.vertical&&this.stacked}handleClickButton(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}handleClickSummary(i){i.preventDefault(),i.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?h`div`:this.isAccordion&&!this.isLink?h`summary`:this.isLink?h`a`:h`button`}focus(){var i;this.disabled||(i=this.button)==null||i.focus()}blur(){var i;(i=this.button)==null||i.blur()}render(){let i=this.tag,n=this.isLink,c=this.isButton,l=this.isAccordion,g=this.isIconOnly,d={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":this.isStackedHorizontal?"pt-1 pb-0":"py-2",u=a`<${i} part="base" class="${s("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",this.isStackedHorizontal?"text-xs leading-4.5":{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-item--default-color-text",this.current&&!this.disabled&&"sd-navigation-item-color-text",this.current&&!this.isStackedHorizontal&&"font-bold",!this.current&&!this.isStackedHorizontal&&"choice-control-font-weight",!l&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&(this.isStackedHorizontal?"inline-flex flex-col items-center justify-center text-center rounded-full wrap":"inline-flex items-center"),!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":this.isStackedHorizontal?"px-8":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(c?this.disabled:void 0)}" href="${o(n?this.href:void 0)}" target="${o(n?this.target:void 0)}" download="${o(n?this.download:void 0)}" rel="${o(n&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:l?this.handleClickSummary:c?this.handleClickButton:void 0}"><div part="current-indicator" class="${s("absolute bg-accent pointer-events-none navigable__current-indicator-border-radius",this.isStackedHorizontal&&"hidden",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 left-0 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] left-2 bottom-0 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="${s("inline-flex flex-col justify-center gap-1 w-full h-full",this.isStackedHorizontal&&"flex-col items-center")}"><span part="content-area" class="${s("relative inline-flex justify-between items-center",l?"grow":"w-full",this.isStackedHorizontal&&"justify-center",d.description&&"pt-3",!d.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?a`<sd-divider part="divider" class="${s("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="${s("inline-flex items-center",this.vertical?"flex-auto gap-2":this.isStackedHorizontal?"relative text-center pb-1":"flex-auto flex-col justify-center gap-1 text-center")}"><slot part="content" class="${s("inline-flex items-center",this.vertical?"gap-2":this.isStackedHorizontal?"flex-col justify-center gap-1 text-center":"justify-center gap-1 text-center")}"></slot>${this.isStackedHorizontal?a`<span part="current-indicator" aria-hidden="true" class="${s("absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",this.disabled&&"bg-neutral-500")}"></span>`:""} </span>${this.chevron||d.children&&this.vertical&&!this.separated?a`<sd-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor" class="${s("h-6 w-6 ml-2 transition-all",l?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${d.description&&this.vertical?a`<slot id="description" name="description" part="description" class="${s("inline-block text-sm text-left font-normal text-black pb-3",l||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${i}>`;return this.separated?a`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${u} ${d.children&&this.vertical?a`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor" class="${s("m-4 h-6 w-6 transition-all",l||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?a`<slot name="children"></slot>`:""}</div>`:l?a`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${u}<slot name="children"></slot></details>`:a`${u}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0,0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100,100%);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],e([p('[part="base"]')],t.prototype,"button",2),e([p("slot:not([name])")],t.prototype,"defaultSlot",2),e([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),e([r({type:String,reflect:!0})],t.prototype,"size",2),e([r({reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({reflect:!0})],t.prototype,"download",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0})],t.prototype,"stacked",2),e([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),e([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),e([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),e([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),e([r({type:Boolean,reflect:!0})],t.prototype,"open",2),e([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=e([b("sd-navigation-item")],t);export{t as a};
@@ -1 +1 @@
1
- import{a as i}from"./chunk.TRGIF57L.js";import{b as a}from"./chunk.ZCLAPTH6.js";import{a as s}from"./chunk.U7TS5SGA.js";import{b as c}from"./chunk.PYHYYOBE.js";var o=[a,i,c,s],e=[];function f(r){e.push(r)}function p(r){e=e.filter(t=>t!==r)}function b(r){return o.find(t=>t.name===r)}function L(r,t){m(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function m(r){o=o.filter(t=>t.name!==r)}export{f as a,p as b,b as c,L as d,m as e};
1
+ import{a as i}from"./chunk.TRGIF57L.js";import{b as a}from"./chunk.LWLOMMIE.js";import{a as s}from"./chunk.J4FJ2SAP.js";import{b as c}from"./chunk.NJIXLFKZ.js";var o=[a,i,c,s],e=[];function f(r){e.push(r)}function p(r){e=e.filter(t=>t!==r)}function b(r){return o.find(t=>t.name===r)}function L(r,t){m(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function m(r){o=o.filter(t=>t.name!==r)}export{f as a,p as b,b as c,L as d,m as e};
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as i,h as o}from"./chunk.5B33ZALC.js";import{b as a,e as c}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return c`<span part="base" class="${r("sd-radio group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${r("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?r("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-radio--checked--invalid--default-color-background":"sd-radio--default--invalid-color-background"):this.checked?"sd-radio--checked--default-color-background hover:sd-radio--checked--hover-color-background group-hover:sd-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${r("rounded-full inline-flex text-white sd-radio__checked-height sd-radio__checked-width transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"sd-radio--checked--disabled__icon-color-background":this.visuallyDisabled?"bg-white":this.invalid?"sd-radio--checked--invalid--default__icon-color-background hover:sd-radio--checked--invalid--hover__icon-color-background group-hover:sd-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-radio--checked--default__icon-color-background hover:sd-radio--checked--hover__icon-color-background group-hover:sd-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${r("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
- :host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([i()],e.prototype,"checked",2),t([i()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-radio")],e);export{e as a};
1
+ import{a as r}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as d,b as s,c as i,h as o}from"./chunk.Z44RDBCE.js";import{b as a,e as c}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.checked=!1;this.hasFocus=!1;this.size="lg";this.disabled=!1;this.visuallyDisabled=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){!this.disabled&&!this.visuallyDisabled&&(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled||this.visuallyDisabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return c`<span part="base" class="${r("sd-radio group flex items-start text-base leading-normal text-black cursor-pointer",(this.disabled||this.visuallyDisabled)&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${`${this.checked?"control--checked":"control--unchecked"}`}" class="${r("flex-initial shrink-0 relative inline-flex items-center justify-center border sd-radio-border-width rounded-full bg-white h-4 w-4 duration-fast ease-in-out",this.disabled||this.visuallyDisabled?"border-neutral-500":this.invalid?r("border-error hover:border-error-400 group-hover:border-error-400",this.checked?"sd-radio--checked--invalid--default-color-background":"sd-radio--default--invalid-color-background"):this.checked?"sd-radio--checked--default-color-background hover:sd-radio--checked--hover-color-background group-hover:sd-radio--checked--hover-color-background border-accent hover:border-accent-550 group-hover:border-accent-550":"form-control-color-border hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span part="checked" class="${r("rounded-full inline-flex text-white sd-radio__checked-height sd-radio__checked-width transition-[transform, colors] duration-medium ease-in-out",this.checked?"scale-100":"scale-0",this.disabled?"sd-radio--checked--disabled__icon-color-background":this.visuallyDisabled?"bg-white":this.invalid?"sd-radio--checked--invalid--default__icon-color-background hover:sd-radio--checked--invalid--hover__icon-color-background group-hover:sd-radio--checked--invalid--hover__icon-color-background":this.checked?"sd-radio--checked--default__icon-color-background hover:sd-radio--checked--hover__icon-color-background group-hover:sd-radio--checked--hover__icon-color-background":"bg-neutral-800")}"></span></span><slot part="label" class="${r("ml-2 select-none inline-block",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-black")}"></slot></span>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}[part=control--checked],[part=control--unchecked]{outline-color:transparent}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-width:1px;outline-style:var(--tw-outline-style);outline-width:2px;outline-offset:2px;outline-color:rgba(var(--sd-color-border-primary,var(--sd-color-primary,0 53 142)))}[part=control--checked],[part=control--unchecked]{margin-top:.23em}:host([size=sm]) [part=control--checked],:host([size=sm]) [part=control--unchecked]{margin-top:.15em}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}`],t([i()],e.prototype,"checked",2),t([i()],e.prototype,"hasFocus",2),t([s({type:String,reflect:!0})],e.prototype,"size",2),t([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],e.prototype,"visuallyDisabled",2),t([s()],e.prototype,"value",2),t([s({type:Boolean,reflect:!0})],e.prototype,"invalid",2),t([l("checked")],e.prototype,"handleCheckedChange",1),t([l(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=t([d("sd-radio")],e);export{e as a};
@@ -1,2 +1,2 @@
1
- import{a as v}from"./chunk.TWZDCIM2.js";import{b as y}from"./chunk.W5O4FM6B.js";import{a as p,b as u,c as a}from"./chunk.AUZKCMXB.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as b,b as s,c as f,h as c}from"./chunk.5B33ZALC.js";import{b as g,e as d}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var h,t=class extends c{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),p(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),u(this)}onThemeChange(){this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"||e.name==="sd-multi-theming"?e.resolver(this.name,this):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var m;let e=a(this.library),i=this.getUrl();if(h||(h=new DOMParser),i)try{let o=await v(i);if(i===this.getUrl())if(o.ok){let l=h.parseFromString(o.svg,"text/html").body.querySelector("svg");l!==null?((m=e==null?void 0:e.mutator)==null||m.call(e,l),this.svg=l.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(o){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return d`<sd-theme-listener></sd-theme-listener>${y(this.svg)}`}};t.styles=[...c.styles,g`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([name^='content/'][color=primary]) svg{color:rgba(var(--sd-color-icon-fill-content-icons-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white))}`],r([f()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([n("label")],t.prototype,"handleLabelChange",1),r([n(["name","src","library"])],t.prototype,"setIcon",1),t=r([b("sd-icon")],t);export{t as a};
1
+ import{a as v}from"./chunk.TWZDCIM2.js";import{b as y}from"./chunk.W5O4FM6B.js";import{a as p,b as u,c as a}from"./chunk.552X4W43.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as b,b as s,c as f,h as c}from"./chunk.Z44RDBCE.js";import{b as g,e as d}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var h,t=class extends c{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),p(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),u(this)}onThemeChange(){this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"||e.name==="sd-multi-theming"?e.resolver(this.name,this):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var m;let e=a(this.library),i=this.getUrl();if(h||(h=new DOMParser),i)try{let o=await v(i);if(i===this.getUrl())if(o.ok){let l=h.parseFromString(o.svg,"text/html").body.querySelector("svg");l!==null?((m=e==null?void 0:e.mutator)==null||m.call(e,l),this.svg=l.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(o){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return d`<sd-theme-listener></sd-theme-listener>${y(this.svg)}`}};t.styles=[...c.styles,g`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:rgba(var(--sd-color-icon-fill-primary,var(--sd-color-primary)))}:host([name^='content/'][color=primary]) svg{color:rgba(var(--sd-color-icon-fill-content-icons-primary,var(--sd-color-primary)))}:host([color=white]) svg{color:rgba(var(--sd-color-text-white,255 255 255))}`],r([f()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([n("label")],t.prototype,"handleLabelChange",1),r([n(["name","src","library"])],t.prototype,"setIcon",1),t=r([b("sd-icon")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as M,h as V}from"./chunk.5B33ZALC.js";import{b as j}from"./chunk.OBAEIKIV.js";import{a as I,e as D,f as h,g as l,h as d,i as g,j as $}from"./chunk.6EV4YU6C.js";var p,u,v=class v{constructor({name:e,initialValue:s,detect:r}){d(this,p);d(this,u);this.name=e,this.initialValue=s!=null?s:!0,this.detect=r,v.all[e]=this,Object.defineProperty(v,e,{get(){return this.all[e].value},configurable:!0,enumerable:!0})}get valuePending(){return l(this,p)!==void 0?l(this,p):l(this,u)!==void 0?l(this,u):(g(this,u,this.detect()),l(this,u)instanceof Promise?l(this,u).then(e=>g(this,p,e)):g(this,p,l(this,u)),l(this,u))}get value(){if(l(this,p)!==void 0)return l(this,p);let e=this.valuePending;return e instanceof Promise?this.initialValue:e}static detectAll(){return Promise.all(Object.values(v.all).map(e=>e.valuePending))}};p=new WeakMap,u=new WeakMap,h(v,"all",{});var a=v;var B=new a({name:"TRANSITIONRUN_EVENT_LOOP",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--bar-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{let r=0;requestAnimationFrame(()=>{setTimeout(t=>s(r>1),50),i.addEventListener("transitionrun",t=>r++),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var J=new a({name:"UNREGISTERED_TRANSITION",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--foo-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{requestAnimationFrame(()=>{setTimeout(r=>s(!0),30),i.addEventListener("transitionstart",r=>s(!1)),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var U=new WeakMap;function C(i,e=globalThis.document){var r;e=(r=e.ownerDocument)!=null?r:e;let s=e.defaultView;if(e.adoptedStyleSheets){let t=new s.CSSStyleSheet;return t.replaceSync(i),Object.isFrozen(e.adoptedStyleSheets)?e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]:e.adoptedStyleSheets.push(t),t}else{let t=U.get(e);return t||(t=e.head.appendChild(e.createElement("style")),U.set(e,t)),t.insertAdjacentText("beforeend",i),t.sheet}}function L(i,e=globalThis.document){let s=e.createElement("div");e.body.append(s);let r="foo(bar)";s.style.setProperty(i,r);let t=getComputedStyle(s).getPropertyValue(i),n=!0;if(t===r){let o=s.appendChild(e.createElement("div"));n=getComputedStyle(o).getPropertyValue(i)!==r}return s.remove(),n}var F={"<angle>":"0deg","<color>":"transparent","<custom-ident>":"none","<image>":"linear-gradient(transparent 0% 100%)","<integer>":"0","<length>":"0px","<length-percentage>":"0px","<number>":"0","<percentage>":"0%","<resolution>":"1dppx","<string>":"''","<time>":"0s","<transform-function>":"scale(1)","<transform-list>":"scale(1)","<url>":"url('')"},z=new Map;function S(i,e={},s=globalThis.document){var o;let r=z.get(s);if(!i.startsWith("--")||r&&i in r||L(i,s))return;let t={syntax:e.syntax||"*",inherits:(o=e.inherits)!=null?o:!0};e.initialValue!==void 0?t.initialValue=e.initialValue:t.syntax!=="*"&&t.syntax in F&&(t.initialValue=F[t.syntax]);let n=C(`@layer style-observer-registered-properties {
1
+ import{a as M,h as V}from"./chunk.Z44RDBCE.js";import{b as j}from"./chunk.OBAEIKIV.js";import{a as I,e as D,f as h,g as l,h as d,i as g,j as $}from"./chunk.6EV4YU6C.js";var p,u,v=class v{constructor({name:e,initialValue:s,detect:r}){d(this,p);d(this,u);this.name=e,this.initialValue=s!=null?s:!0,this.detect=r,v.all[e]=this,Object.defineProperty(v,e,{get(){return this.all[e].value},configurable:!0,enumerable:!0})}get valuePending(){return l(this,p)!==void 0?l(this,p):l(this,u)!==void 0?l(this,u):(g(this,u,this.detect()),l(this,u)instanceof Promise?l(this,u).then(e=>g(this,p,e)):g(this,p,l(this,u)),l(this,u))}get value(){if(l(this,p)!==void 0)return l(this,p);let e=this.valuePending;return e instanceof Promise?this.initialValue:e}static detectAll(){return Promise.all(Object.values(v.all).map(e=>e.valuePending))}};p=new WeakMap,u=new WeakMap,h(v,"all",{});var a=v;var B=new a({name:"TRANSITIONRUN_EVENT_LOOP",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--bar-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{let r=0;requestAnimationFrame(()=>{setTimeout(t=>s(r>1),50),i.addEventListener("transitionrun",t=>r++),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var J=new a({name:"UNREGISTERED_TRANSITION",detect(){let i=document.createElement("div");document.body.appendChild(i);let e="--foo-"+Date.now();return i.style.cssText=`${e}: 1; transition: ${e} 1ms step-start allow-discrete`,new Promise(s=>{requestAnimationFrame(()=>{setTimeout(r=>s(!0),30),i.addEventListener("transitionstart",r=>s(!1)),i.style.setProperty(e,"2")})}).finally(()=>i.remove())}});var U=new WeakMap;function C(i,e=globalThis.document){var r;e=(r=e.ownerDocument)!=null?r:e;let s=e.defaultView;if(e.adoptedStyleSheets){let t=new s.CSSStyleSheet;return t.replaceSync(i),Object.isFrozen(e.adoptedStyleSheets)?e.adoptedStyleSheets=[...e.adoptedStyleSheets,t]:e.adoptedStyleSheets.push(t),t}else{let t=U.get(e);return t||(t=e.head.appendChild(e.createElement("style")),U.set(e,t)),t.insertAdjacentText("beforeend",i),t.sheet}}function L(i,e=globalThis.document){let s=e.createElement("div");e.body.append(s);let r="foo(bar)";s.style.setProperty(i,r);let t=getComputedStyle(s).getPropertyValue(i),n=!0;if(t===r){let o=s.appendChild(e.createElement("div"));n=getComputedStyle(o).getPropertyValue(i)!==r}return s.remove(),n}var F={"<angle>":"0deg","<color>":"transparent","<custom-ident>":"none","<image>":"linear-gradient(transparent 0% 100%)","<integer>":"0","<length>":"0px","<length-percentage>":"0px","<number>":"0","<percentage>":"0%","<resolution>":"1dppx","<string>":"''","<time>":"0s","<transform-function>":"scale(1)","<transform-list>":"scale(1)","<url>":"url('')"},z=new Map;function S(i,e={},s=globalThis.document){var o;let r=z.get(s);if(!i.startsWith("--")||r&&i in r||L(i,s))return;let t={syntax:e.syntax||"*",inherits:(o=e.inherits)!=null?o:!0};e.initialValue!==void 0?t.initialValue=e.initialValue:t.syntax!=="*"&&t.syntax in F&&(t.initialValue=F[t.syntax]);let n=C(`@layer style-observer-registered-properties {
2
2
  @property ${i} {
3
3
  syntax: "${t.syntax}";
4
4
  inherits: ${t.inherits};
@@ -1,2 +1,2 @@
1
- import{a as y}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as t,c as a}from"./chunk.B2NUKX6G.js";import{a as f}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as p,h as m}from"./chunk.5B33ZALC.js";import{b as v,e as n}from"./chunk.OBAEIKIV.js";import{b as l,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var o=class extends m{constructor(){super(...arguments);this.hasSlotController=new M(this,"footer");this.localize=new x(this);this.hasUiMotion=!1;this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.dialog.addEventListener("cancel",e=>{e.preventDefault(),this.requestClose("keyboard")}),this.open&&this.dialog.showModal()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let e=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=e===""||e==="ui-light"||e==="ui-dark"}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let s=a(this,this.hasUiMotion?"dialog.denyClose":"dialog.denyCloseSimple",{dir:this.localize.dir()});l(this.panel,s.keyframes,s.options);return}this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show");let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await u(this.dialog),this.dialog.showModal(),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.hasUiMotion?"dialog.show":"dialog.showSimple",s=this.prefersReducedMotion?a(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):a(this,r,{dir:this.localize.dir()}),d=this.hasUiMotion?"dialog.overlay.show":"dialog.overlay.showSimple",g=a(this,d,{dir:this.localize.dir()});await Promise.all([l(this.panel,s.keyframes,s.options),l(this.overlay,g.keyframes,g.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.dialog);let e=this.hasUiMotion?"dialog.hide":"dialog.hideSimple",r=this.prefersReducedMotion?a(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):a(this,e,{dir:this.localize.dir()}),s=this.hasUiMotion?"dialog.overlay.hide":"dialog.overlay.hideSimple",d=a(this,s,{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,r.keyframes,r.options).then(()=>{this.panel.hidden=!0})]),this.dialog.close(),this.overlay.hidden=!1,this.panel.hidden=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,f(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,f(this,"sd-after-hide")}render(){return n`<sd-theme-listener></sd-theme-listener><dialog part="base" class="${c("flex items-center justify-center p-0 m-auto bg-transparent border-none overflow-visible",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${c("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" aria-label="${y(this.headline?this.headline:void 0)}" aria-labelledby="${y(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${c("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></dialog>`}};o.styles=[...m.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--width:662px;display:contents}[part=base]:not([open]){display:none}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],i([p('[part="base"]')],o.prototype,"dialog",2),i([p('[part="overlay"]')],o.prototype,"overlay",2),i([p('[part="panel"]')],o.prototype,"panel",2),i([h({type:Boolean,reflect:!0})],o.prototype,"open",2),i([h({type:String,reflect:!0})],o.prototype,"headline",2),i([h({attribute:"no-close-button",type:Boolean,reflect:!0})],o.prototype,"noCloseButton",2),i([b("open",{waitUntilFirstUpdate:!0})],o.prototype,"handleOpenChange",1),o=i([w("sd-dialog")],o);t("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});t("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.showSimple",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});t("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});t("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.hideSimple",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});t("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.denyCloseSimple",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.showSimple",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250,reducedMotion:"allow"}});t("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.hideSimple",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250,reducedMotion:"allow"}});export{o as a};
1
+ import{a as y}from"./chunk.LHSR56PH.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as t,c as a}from"./chunk.B2NUKX6G.js";import{a as f}from"./chunk.KLRPP4NQ.js";import{a as M}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as p,h as m}from"./chunk.Z44RDBCE.js";import{b as v,e as n}from"./chunk.OBAEIKIV.js";import{b as l,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var o=class extends m{constructor(){super(...arguments);this.hasSlotController=new x(this,"footer");this.localize=new M(this);this.hasUiMotion=!1;this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.dialog.addEventListener("cancel",e=>{e.preventDefault(),this.requestClose("keyboard")}),this.open&&this.dialog.showModal()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let e=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=e===""||e==="ui-light"||e==="ui-dark"}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let s=a(this,this.hasUiMotion?"dialog.denyClose":"dialog.denyCloseSimple",{dir:this.localize.dir()});l(this.panel,s.keyframes,s.options);return}this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show");let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await u(this.dialog),this.dialog.showModal(),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.hasUiMotion?"dialog.show":"dialog.showSimple",s=this.prefersReducedMotion?a(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):a(this,r,{dir:this.localize.dir()}),d=this.hasUiMotion?"dialog.overlay.show":"dialog.overlay.showSimple",g=a(this,d,{dir:this.localize.dir()});await Promise.all([l(this.panel,s.keyframes,s.options),l(this.overlay,g.keyframes,g.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.dialog);let e=this.hasUiMotion?"dialog.hide":"dialog.hideSimple",r=this.prefersReducedMotion?a(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):a(this,e,{dir:this.localize.dir()}),s=this.hasUiMotion?"dialog.overlay.hide":"dialog.overlay.hideSimple",d=a(this,s,{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,r.keyframes,r.options).then(()=>{this.panel.hidden=!0})]),this.dialog.close(),this.overlay.hidden=!1,this.panel.hidden=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,f(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,f(this,"sd-after-hide")}render(){return n`<sd-theme-listener></sd-theme-listener><dialog part="base" class="${c("flex items-center justify-center p-0 m-auto bg-transparent border-none overflow-visible",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${c("panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",this.open&&"flex opacity-100")}" aria-label="${y(this.headline?this.headline:void 0)}" aria-labelledby="${y(this.headline?void 0:"title")}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length>0?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${c("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="px-6 sm:px-10"><slot name="footer"></slot></footer></div></dialog>`}};o.styles=[...m.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{--width:662px;display:contents}[part=base]:not([open]){display:none}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}}`],i([p('[part="base"]')],o.prototype,"dialog",2),i([p('[part="overlay"]')],o.prototype,"overlay",2),i([p('[part="panel"]')],o.prototype,"panel",2),i([h({type:Boolean,reflect:!0})],o.prototype,"open",2),i([h({type:String,reflect:!0})],o.prototype,"headline",2),i([h({attribute:"no-close-button",type:Boolean,reflect:!0})],o.prototype,"noCloseButton",2),i([b("open",{waitUntilFirstUpdate:!0})],o.prototype,"handleOpenChange",1),o=i([w("sd-dialog")],o);t("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});t("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.showSimple",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});t("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});t("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.hideSimple",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});t("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.denyCloseSimple",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.showSimple",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250,reducedMotion:"allow"}});t("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.hideSimple",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250,reducedMotion:"allow"}});export{o as a};