@solid-design-system/components 5.16.2-next.0 → 5.16.2

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 (870) hide show
  1. package/cdn/chunks/chunk.3FCZSYJE.js +1 -0
  2. package/cdn/chunks/chunk.3SQYUPQR.js +1 -0
  3. package/cdn/chunks/{chunk.ZFOZJ36J.js → chunk.3ZSLSQT3.js} +1 -2
  4. package/cdn/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
  5. package/cdn/chunks/chunk.5P7RNZVM.js +1 -0
  6. package/cdn/chunks/chunk.5QETSQFJ.js +1 -0
  7. package/cdn/chunks/chunk.5UL2MFVQ.js +1 -0
  8. package/cdn/chunks/chunk.6AL2V3GA.js +1 -0
  9. package/cdn/chunks/{chunk.3VKPKJT4.js → chunk.6KIASTDN.js} +3 -4
  10. package/cdn/chunks/chunk.6O24TPWT.js +1 -0
  11. package/cdn/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
  12. package/cdn/chunks/{chunk.UTR4DHLT.js → chunk.6WJYMU5I.js} +4 -5
  13. package/cdn/chunks/chunk.7BYMJ4MT.js +10 -0
  14. package/cdn/chunks/chunk.7LYAXCBH.js +1 -0
  15. package/cdn/chunks/chunk.AGOSIHIV.js +1 -0
  16. package/cdn/chunks/{chunk.R62WGEQY.js → chunk.AZMH6NZR.js} +2 -3
  17. package/cdn/chunks/chunk.B7YAWCJP.js +1 -0
  18. package/cdn/chunks/chunk.BDPK77SL.js +1 -0
  19. package/{cdn-versioned/chunks/chunk.MP6XEXRW.js → cdn/chunks/chunk.BOIDC3L5.js} +1 -1
  20. package/{cdn-versioned/chunks/chunk.CJNOMH3T.js → cdn/chunks/chunk.BS3WSQN5.js} +1 -2
  21. package/cdn/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
  22. package/cdn/chunks/{chunk.2AUHDXWC.js → chunk.CBQDWY5Y.js} +1 -2
  23. package/cdn/chunks/chunk.CEVVDV52.js +1 -0
  24. package/{cdn-versioned/chunks/chunk.PV6UYBMY.js → cdn/chunks/chunk.CHU57RUD.js} +1 -1
  25. package/cdn/chunks/chunk.CN5K7RGY.js +1 -0
  26. package/cdn/chunks/chunk.CRGRHGIA.js +1 -0
  27. package/cdn/chunks/{chunk.LVTMZQJV.js → chunk.DAPRKASR.js} +1 -2
  28. package/{cdn-versioned/chunks/chunk.ENJXLYMY.js → cdn/chunks/chunk.DLQQ7NIM.js} +1 -2
  29. package/cdn/chunks/chunk.DTEAN466.js +1 -0
  30. package/cdn/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
  31. package/cdn/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
  32. package/{cdn-versioned/chunks/chunk.RBHJIKZL.js → cdn/chunks/chunk.EOIYFHSR.js} +1 -4
  33. package/cdn/chunks/chunk.EXK3HKK5.js +1 -0
  34. package/{cdn-versioned/chunks/chunk.KPGRVUWN.js → cdn/chunks/chunk.F7X5747H.js} +1 -2
  35. package/cdn/chunks/chunk.GCKYK2C3.js +1 -0
  36. package/cdn/chunks/{chunk.CDP46OS4.js → chunk.HJ4O4XQA.js} +1 -1
  37. package/cdn/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
  38. package/cdn/chunks/chunk.K7UH7J3V.js +1 -0
  39. package/cdn/chunks/chunk.KBESD73V.js +1 -0
  40. package/cdn/chunks/chunk.KKT3D6C3.js +1 -0
  41. package/cdn/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
  42. package/cdn/chunks/{chunk.LV3LCBSG.js → chunk.LFJ4IYGZ.js} +1 -2
  43. package/{cdn-versioned/chunks/chunk.VYBQ3X2B.js → cdn/chunks/chunk.LIO6LMTQ.js} +1 -1
  44. package/cdn/chunks/chunk.LXHLWQH7.js +1 -0
  45. package/cdn/chunks/chunk.LZBHL4IV.js +1 -0
  46. package/cdn/chunks/chunk.MHPHKNZ5.js +83 -0
  47. package/cdn/chunks/{chunk.AVBQMWIA.js → chunk.NOZRJQX2.js} +2 -3
  48. package/cdn/chunks/{chunk.JS2HQ2N4.js → chunk.NRBNWX7R.js} +1 -1
  49. package/cdn/chunks/{chunk.3MVF6H4N.js → chunk.NYJKF5NP.js} +1 -2
  50. package/{cdn-versioned/chunks/chunk.LTQPSLZX.js → cdn/chunks/chunk.OLX6LCKD.js} +1 -2
  51. package/cdn/chunks/{chunk.FK5L4QA6.js → chunk.P7DGMSNP.js} +1 -2
  52. package/cdn/chunks/{chunk.N3UOZUQ7.js → chunk.PKBVHWYN.js} +1 -2
  53. package/{cdn-versioned/chunks/chunk.PJ7JCMQF.js → cdn/chunks/chunk.PVM2WKMA.js} +1 -1
  54. package/cdn/chunks/chunk.QP5624EY.js +1 -0
  55. package/cdn/chunks/chunk.QVATLNE5.js +1 -0
  56. package/cdn/chunks/chunk.QWAB34LZ.js +3 -0
  57. package/cdn/chunks/chunk.R7A64SR7.js +1 -0
  58. package/cdn/chunks/{chunk.763RLJEK.js → chunk.RZUTJ36B.js} +2 -2
  59. package/cdn/chunks/chunk.SAXLGODJ.js +1 -0
  60. package/cdn/chunks/chunk.SB7VJNMQ.js +1 -0
  61. package/cdn/chunks/chunk.SKIYV7KD.js +1 -0
  62. package/cdn/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
  63. package/{cdn-versioned/chunks/chunk.IJ2YZYNV.js → cdn/chunks/chunk.THIUBNOW.js} +1 -2
  64. package/cdn/chunks/chunk.TIK62LTB.js +25 -0
  65. package/cdn/chunks/chunk.TJOCV4DC.js +1 -0
  66. package/cdn/chunks/chunk.TOLB3HGS.js +1 -0
  67. package/cdn/chunks/chunk.UKCW2W2D.js +1 -0
  68. package/cdn/chunks/chunk.ULAC7BZA.js +1 -0
  69. package/cdn/chunks/{chunk.X6ZT6MLD.js → chunk.W32I6F46.js} +1 -2
  70. package/cdn/chunks/chunk.W4Y456DP.js +1 -0
  71. package/cdn/chunks/chunk.WAAEZAT7.js +1 -0
  72. package/{cdn-versioned/chunks/chunk.STI5RRSU.js → cdn/chunks/chunk.WMLPJIUB.js} +1 -2
  73. package/cdn/chunks/chunk.X53UBPCZ.js +1 -0
  74. package/cdn/chunks/chunk.XGIPT7I4.js +1 -0
  75. package/{cdn-versioned/chunks/chunk.D4E5ZIRW.js → cdn/chunks/chunk.XR2KNB36.js} +1 -1
  76. package/cdn/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
  77. package/cdn/chunks/chunk.Y4YRXSRB.js +1 -0
  78. package/cdn/chunks/chunk.YJ2L67GK.js +11 -0
  79. package/cdn/chunks/chunk.ZSXBZK7F.js +1 -0
  80. package/cdn/components/accordion/accordion.js +1 -1
  81. package/cdn/components/accordion-group/accordion-group.js +1 -1
  82. package/cdn/components/animation/animation.js +1 -1
  83. package/cdn/components/animation/animations.js +1 -1
  84. package/cdn/components/audio/audio.d.ts +0 -1
  85. package/cdn/components/audio/audio.js +1 -1
  86. package/cdn/components/audio/base64Audio.js +1 -1
  87. package/cdn/components/audio/wave.js +1 -1
  88. package/cdn/components/badge/badge.js +1 -1
  89. package/cdn/components/brandshape/brandshape.js +1 -1
  90. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  91. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  92. package/cdn/components/button/button.js +1 -1
  93. package/cdn/components/button-group/button-group.js +1 -1
  94. package/cdn/components/carousel/autoplay-controller.js +1 -1
  95. package/cdn/components/carousel/carousel.js +1 -1
  96. package/cdn/components/carousel/fade-controller.js +1 -1
  97. package/cdn/components/carousel/scroll-controller.js +1 -1
  98. package/cdn/components/carousel-item/carousel-item.js +1 -1
  99. package/cdn/components/checkbox/checkbox.js +1 -1
  100. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  101. package/cdn/components/combobox/combobox.js +1 -1
  102. package/cdn/components/combobox/option-renderer.js +1 -1
  103. package/cdn/components/combobox/utils.js +1 -1
  104. package/cdn/components/datepicker/datepicker.d.ts +2 -1
  105. package/cdn/components/datepicker/datepicker.js +1 -1
  106. package/cdn/components/dialog/dialog.js +1 -1
  107. package/cdn/components/divider/divider.js +1 -1
  108. package/cdn/components/drawer/drawer.js +1 -1
  109. package/cdn/components/dropdown/dropdown.js +1 -1
  110. package/cdn/components/expandable/expandable.js +1 -1
  111. package/cdn/components/flipcard/flipcard.js +1 -1
  112. package/cdn/components/header/header.js +1 -1
  113. package/cdn/components/icon/icon.d.ts +0 -1
  114. package/cdn/components/icon/icon.js +1 -1
  115. package/cdn/components/icon/library.d.ts +1 -1
  116. package/cdn/components/icon/library.default.js +1 -1
  117. package/cdn/components/icon/library.internal.d.ts +0 -2
  118. package/cdn/components/icon/library.internal.js +1 -1
  119. package/cdn/components/icon/library.js +1 -1
  120. package/cdn/components/icon/library.status.js +1 -1
  121. package/cdn/components/icon/request.js +1 -1
  122. package/cdn/components/include/include.js +1 -1
  123. package/cdn/components/include/request.js +1 -1
  124. package/cdn/components/input/input.js +1 -1
  125. package/cdn/components/link/link.js +1 -1
  126. package/cdn/components/loader/loader.js +1 -1
  127. package/cdn/components/map-marker/map-marker.js +1 -1
  128. package/cdn/components/menu/menu.js +1 -1
  129. package/cdn/components/menu-item/menu-item.js +1 -1
  130. package/cdn/components/menu-item/submenu-controller.js +1 -1
  131. package/cdn/components/navigation-item/navigation-item.js +1 -1
  132. package/cdn/components/notification/notification.js +1 -1
  133. package/cdn/components/optgroup/optgroup.js +1 -1
  134. package/cdn/components/option/option.js +1 -1
  135. package/cdn/components/popup/popup.js +1 -1
  136. package/cdn/components/quickfact/quickfact.js +1 -1
  137. package/cdn/components/radio/radio.js +1 -1
  138. package/cdn/components/radio-button/radio-button.js +1 -1
  139. package/cdn/components/radio-group/radio-group.js +1 -1
  140. package/cdn/components/range/range.js +1 -1
  141. package/cdn/components/range/utils.js +1 -1
  142. package/cdn/components/range-tick/range-tick.js +1 -1
  143. package/cdn/components/scrollable/scrollable.js +1 -1
  144. package/cdn/components/select/select.js +1 -1
  145. package/cdn/components/spinner/spinner.js +1 -1
  146. package/cdn/components/step/step.js +1 -1
  147. package/cdn/components/step-group/step-group.js +1 -1
  148. package/cdn/components/switch/switch.js +1 -1
  149. package/cdn/components/tab/tab.js +1 -1
  150. package/cdn/components/tab-group/tab-group.js +1 -1
  151. package/cdn/components/tab-panel/tab-panel.js +1 -1
  152. package/cdn/components/tag/tag.js +1 -1
  153. package/cdn/components/teaser/teaser.js +1 -1
  154. package/cdn/components/teaser-media/teaser-media.js +1 -1
  155. package/cdn/components/textarea/textarea.js +1 -1
  156. package/cdn/components/tooltip/tooltip.js +1 -1
  157. package/cdn/components/video/video.js +1 -1
  158. package/cdn/custom-elements.json +6 -452
  159. package/cdn/internal/longpress.d.ts +1 -1
  160. package/cdn/internal/solid-element.d.ts +0 -5
  161. package/cdn/internal/solid-element.js +11 -61
  162. package/cdn/solid-components.bundle.js +61 -192
  163. package/cdn/solid-components.css +32 -118
  164. package/cdn/solid-components.d.ts +0 -1
  165. package/cdn/solid-components.iife.js +61 -192
  166. package/cdn/solid-components.js +1 -1
  167. package/cdn/translations/de.js +1 -1
  168. package/cdn/translations/en.js +1 -1
  169. package/cdn/utilities/animation-registry.js +1 -1
  170. package/cdn/utilities/animation.js +1 -1
  171. package/cdn/utilities/autocomplete-config.js +1 -1
  172. package/cdn/utilities/base-path.js +1 -1
  173. package/cdn/utilities/date.js +1 -1
  174. package/cdn/utilities/form.js +1 -1
  175. package/cdn/utilities/icon-library.js +1 -1
  176. package/cdn/utilities/localize.js +1 -1
  177. package/cdn/vscode.html-custom-data.json +17 -39
  178. package/cdn/web-types.json +19 -62
  179. package/cdn-versioned/chunks/chunk.3FCZSYJE.js +1 -0
  180. package/cdn-versioned/chunks/chunk.3SQYUPQR.js +1 -0
  181. package/cdn-versioned/chunks/chunk.3ZSLSQT3.js +1 -0
  182. package/cdn-versioned/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
  183. package/cdn-versioned/chunks/chunk.5P7RNZVM.js +1 -0
  184. package/cdn-versioned/chunks/chunk.5QETSQFJ.js +1 -0
  185. package/cdn-versioned/chunks/chunk.5UL2MFVQ.js +1 -0
  186. package/cdn-versioned/chunks/chunk.6AL2V3GA.js +1 -0
  187. package/cdn-versioned/chunks/chunk.6KIASTDN.js +11 -0
  188. package/cdn-versioned/chunks/chunk.6O24TPWT.js +1 -0
  189. package/cdn-versioned/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
  190. package/cdn-versioned/chunks/chunk.6WJYMU5I.js +11 -0
  191. package/cdn-versioned/chunks/chunk.7BYMJ4MT.js +10 -0
  192. package/cdn-versioned/chunks/chunk.7LYAXCBH.js +1 -0
  193. package/cdn-versioned/chunks/chunk.AGOSIHIV.js +1 -0
  194. package/cdn-versioned/chunks/chunk.AZMH6NZR.js +4 -0
  195. package/cdn-versioned/chunks/chunk.B7YAWCJP.js +1 -0
  196. package/cdn-versioned/chunks/chunk.BDPK77SL.js +1 -0
  197. package/{cdn/chunks/chunk.MP6XEXRW.js → cdn-versioned/chunks/chunk.BOIDC3L5.js} +1 -1
  198. package/{cdn/chunks/chunk.CJNOMH3T.js → cdn-versioned/chunks/chunk.BS3WSQN5.js} +1 -2
  199. package/cdn-versioned/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
  200. package/cdn-versioned/chunks/chunk.CBQDWY5Y.js +1 -0
  201. package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -0
  202. package/{cdn/chunks/chunk.PV6UYBMY.js → cdn-versioned/chunks/chunk.CHU57RUD.js} +1 -1
  203. package/cdn-versioned/chunks/chunk.CN5K7RGY.js +1 -0
  204. package/cdn-versioned/chunks/chunk.CRGRHGIA.js +1 -0
  205. package/cdn-versioned/chunks/chunk.DAPRKASR.js +1 -0
  206. package/{cdn/chunks/chunk.ENJXLYMY.js → cdn-versioned/chunks/chunk.DLQQ7NIM.js} +1 -2
  207. package/cdn-versioned/chunks/chunk.DTEAN466.js +1 -0
  208. package/cdn-versioned/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
  209. package/cdn-versioned/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
  210. package/{cdn/chunks/chunk.RBHJIKZL.js → cdn-versioned/chunks/chunk.EOIYFHSR.js} +1 -4
  211. package/cdn-versioned/chunks/chunk.EXK3HKK5.js +1 -0
  212. package/{cdn/chunks/chunk.KPGRVUWN.js → cdn-versioned/chunks/chunk.F7X5747H.js} +1 -2
  213. package/cdn-versioned/chunks/chunk.GCKYK2C3.js +1 -0
  214. package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +10 -0
  215. package/cdn-versioned/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
  216. package/cdn-versioned/chunks/chunk.K7UH7J3V.js +1 -0
  217. package/cdn-versioned/chunks/chunk.KBESD73V.js +1 -0
  218. package/cdn-versioned/chunks/chunk.KKT3D6C3.js +1 -0
  219. package/cdn-versioned/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
  220. package/cdn-versioned/chunks/chunk.LFJ4IYGZ.js +11 -0
  221. package/{cdn/chunks/chunk.VYBQ3X2B.js → cdn-versioned/chunks/chunk.LIO6LMTQ.js} +1 -1
  222. package/cdn-versioned/chunks/chunk.LXHLWQH7.js +1 -0
  223. package/cdn-versioned/chunks/chunk.LZBHL4IV.js +1 -0
  224. package/cdn-versioned/chunks/chunk.MHPHKNZ5.js +83 -0
  225. package/cdn-versioned/chunks/chunk.NOZRJQX2.js +3 -0
  226. package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -0
  227. package/cdn-versioned/chunks/chunk.NYJKF5NP.js +1 -0
  228. package/{cdn/chunks/chunk.LTQPSLZX.js → cdn-versioned/chunks/chunk.OLX6LCKD.js} +1 -2
  229. package/cdn-versioned/chunks/chunk.P7DGMSNP.js +1 -0
  230. package/cdn-versioned/chunks/chunk.PKBVHWYN.js +1 -0
  231. package/{cdn/chunks/chunk.PJ7JCMQF.js → cdn-versioned/chunks/chunk.PVM2WKMA.js} +1 -1
  232. package/cdn-versioned/chunks/chunk.QP5624EY.js +1 -0
  233. package/cdn-versioned/chunks/chunk.QVATLNE5.js +1 -0
  234. package/cdn-versioned/chunks/chunk.QWAB34LZ.js +3 -0
  235. package/cdn-versioned/chunks/chunk.R7A64SR7.js +1 -0
  236. package/cdn-versioned/chunks/{chunk.763RLJEK.js → chunk.RZUTJ36B.js} +2 -2
  237. package/cdn-versioned/chunks/chunk.SAXLGODJ.js +1 -0
  238. package/cdn-versioned/chunks/chunk.SB7VJNMQ.js +1 -0
  239. package/cdn-versioned/chunks/chunk.SKIYV7KD.js +1 -0
  240. package/cdn-versioned/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
  241. package/{cdn/chunks/chunk.IJ2YZYNV.js → cdn-versioned/chunks/chunk.THIUBNOW.js} +1 -2
  242. package/cdn-versioned/chunks/chunk.TIK62LTB.js +25 -0
  243. package/cdn-versioned/chunks/chunk.TJOCV4DC.js +1 -0
  244. package/cdn-versioned/chunks/chunk.TOLB3HGS.js +1 -0
  245. package/cdn-versioned/chunks/chunk.UKCW2W2D.js +1 -0
  246. package/cdn-versioned/chunks/chunk.ULAC7BZA.js +1 -0
  247. package/cdn-versioned/chunks/chunk.W32I6F46.js +1 -0
  248. package/cdn-versioned/chunks/chunk.W4Y456DP.js +1 -0
  249. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  250. package/cdn-versioned/chunks/chunk.WAAEZAT7.js +1 -0
  251. package/{cdn/chunks/chunk.STI5RRSU.js → cdn-versioned/chunks/chunk.WMLPJIUB.js} +1 -2
  252. package/cdn-versioned/chunks/chunk.X53UBPCZ.js +1 -0
  253. package/cdn-versioned/chunks/chunk.XGIPT7I4.js +1 -0
  254. package/{cdn/chunks/chunk.D4E5ZIRW.js → cdn-versioned/chunks/chunk.XR2KNB36.js} +1 -1
  255. package/cdn-versioned/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
  256. package/cdn-versioned/chunks/chunk.Y4YRXSRB.js +1 -0
  257. package/cdn-versioned/chunks/chunk.YJ2L67GK.js +11 -0
  258. package/cdn-versioned/chunks/chunk.ZSXBZK7F.js +1 -0
  259. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  260. package/cdn-versioned/components/accordion/accordion.js +1 -1
  261. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  262. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  263. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  264. package/cdn-versioned/components/animation/animation.js +1 -1
  265. package/cdn-versioned/components/animation/animations.js +1 -1
  266. package/cdn-versioned/components/audio/audio.d.ts +1 -2
  267. package/cdn-versioned/components/audio/audio.js +1 -1
  268. package/cdn-versioned/components/audio/base64Audio.js +1 -1
  269. package/cdn-versioned/components/audio/wave.js +1 -1
  270. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  271. package/cdn-versioned/components/badge/badge.js +1 -1
  272. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  273. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  274. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  275. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  276. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  277. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  278. package/cdn-versioned/components/button/button.d.ts +1 -1
  279. package/cdn-versioned/components/button/button.js +1 -1
  280. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  281. package/cdn-versioned/components/button-group/button-group.js +1 -1
  282. package/cdn-versioned/components/carousel/autoplay-controller.js +1 -1
  283. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  284. package/cdn-versioned/components/carousel/carousel.js +1 -1
  285. package/cdn-versioned/components/carousel/fade-controller.js +1 -1
  286. package/cdn-versioned/components/carousel/scroll-controller.js +1 -1
  287. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  288. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  289. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  290. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  291. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  292. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  293. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  294. package/cdn-versioned/components/combobox/combobox.js +1 -1
  295. package/cdn-versioned/components/combobox/option-renderer.js +1 -1
  296. package/cdn-versioned/components/combobox/utils.js +1 -1
  297. package/cdn-versioned/components/datepicker/datepicker.d.ts +3 -2
  298. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  299. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  300. package/cdn-versioned/components/dialog/dialog.js +1 -1
  301. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  302. package/cdn-versioned/components/divider/divider.js +1 -1
  303. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  304. package/cdn-versioned/components/drawer/drawer.js +1 -1
  305. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  306. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  307. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  308. package/cdn-versioned/components/expandable/expandable.js +1 -1
  309. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  310. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  311. package/cdn-versioned/components/header/header.d.ts +1 -1
  312. package/cdn-versioned/components/header/header.js +1 -1
  313. package/cdn-versioned/components/icon/icon.d.ts +1 -2
  314. package/cdn-versioned/components/icon/icon.js +1 -1
  315. package/cdn-versioned/components/icon/library.d.ts +1 -1
  316. package/cdn-versioned/components/icon/library.default.js +1 -1
  317. package/cdn-versioned/components/icon/library.internal.d.ts +0 -2
  318. package/cdn-versioned/components/icon/library.internal.js +1 -1
  319. package/cdn-versioned/components/icon/library.js +1 -1
  320. package/cdn-versioned/components/icon/library.status.js +1 -1
  321. package/cdn-versioned/components/icon/request.js +1 -1
  322. package/cdn-versioned/components/include/include.d.ts +1 -1
  323. package/cdn-versioned/components/include/include.js +1 -1
  324. package/cdn-versioned/components/include/request.js +1 -1
  325. package/cdn-versioned/components/input/input.d.ts +1 -1
  326. package/cdn-versioned/components/input/input.js +1 -1
  327. package/cdn-versioned/components/link/link.d.ts +1 -1
  328. package/cdn-versioned/components/link/link.js +1 -1
  329. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  330. package/cdn-versioned/components/loader/loader.js +1 -1
  331. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  332. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  333. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  334. package/cdn-versioned/components/menu/menu.js +1 -1
  335. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  336. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  337. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
  338. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  339. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  340. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  341. package/cdn-versioned/components/notification/notification.js +1 -1
  342. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  343. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  344. package/cdn-versioned/components/option/option.d.ts +1 -1
  345. package/cdn-versioned/components/option/option.js +1 -1
  346. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  347. package/cdn-versioned/components/popup/popup.js +1 -1
  348. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  349. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  350. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  351. package/cdn-versioned/components/radio/radio.js +1 -1
  352. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  353. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  354. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  355. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  356. package/cdn-versioned/components/range/range.d.ts +1 -1
  357. package/cdn-versioned/components/range/range.js +1 -1
  358. package/cdn-versioned/components/range/utils.js +1 -1
  359. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  360. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  361. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  362. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  363. package/cdn-versioned/components/select/select.d.ts +1 -1
  364. package/cdn-versioned/components/select/select.js +1 -1
  365. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  366. package/cdn-versioned/components/spinner/spinner.js +1 -1
  367. package/cdn-versioned/components/step/step.d.ts +1 -1
  368. package/cdn-versioned/components/step/step.js +1 -1
  369. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  370. package/cdn-versioned/components/step-group/step-group.js +1 -1
  371. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  372. package/cdn-versioned/components/switch/switch.js +1 -1
  373. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  374. package/cdn-versioned/components/tab/tab.js +1 -1
  375. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  376. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  377. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  378. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  379. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  380. package/cdn-versioned/components/tag/tag.js +1 -1
  381. package/cdn-versioned/components/teaser/teaser.js +1 -1
  382. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  383. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  384. package/cdn-versioned/components/textarea/textarea.js +1 -1
  385. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  386. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  387. package/cdn-versioned/components/video/video.d.ts +1 -1
  388. package/cdn-versioned/components/video/video.js +1 -1
  389. package/cdn-versioned/custom-elements.json +251 -697
  390. package/cdn-versioned/internal/form.js +3 -3
  391. package/cdn-versioned/internal/longpress.d.ts +1 -1
  392. package/cdn-versioned/internal/solid-element.d.ts +0 -5
  393. package/cdn-versioned/internal/solid-element.js +11 -61
  394. package/cdn-versioned/solid-components.bundle.js +61 -192
  395. package/cdn-versioned/solid-components.css +32 -118
  396. package/cdn-versioned/solid-components.d.ts +0 -1
  397. package/cdn-versioned/solid-components.iife.js +61 -192
  398. package/cdn-versioned/solid-components.js +1 -1
  399. package/cdn-versioned/translations/de.js +1 -1
  400. package/cdn-versioned/translations/en.js +1 -1
  401. package/cdn-versioned/utilities/animation-registry.js +1 -1
  402. package/cdn-versioned/utilities/animation.js +1 -1
  403. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  404. package/cdn-versioned/utilities/base-path.js +1 -1
  405. package/cdn-versioned/utilities/date.js +1 -1
  406. package/cdn-versioned/utilities/form.js +1 -1
  407. package/cdn-versioned/utilities/icon-library.js +1 -1
  408. package/cdn-versioned/utilities/localize.js +1 -1
  409. package/cdn-versioned/vscode.html-custom-data.json +102 -124
  410. package/cdn-versioned/web-types.json +172 -215
  411. package/dist/chunks/{chunk.JFYEW3KW.js → chunk.2CAP3Q56.js} +2 -3
  412. package/dist/chunks/{chunk.XE2RRGVH.js → chunk.2SR73L2N.js} +2 -3
  413. package/dist/chunks/{chunk.2G4FUBDQ.js → chunk.3YQ55DEG.js} +2 -7
  414. package/dist/chunks/{chunk.LNHMJS3O.js → chunk.43SFOPTI.js} +3 -4
  415. package/dist/chunks/{chunk.TCIKEWTO.js → chunk.44BJS2SJ.js} +2 -3
  416. package/dist/chunks/{chunk.ZHMLJZFU.js → chunk.4DHEQEYR.js} +2 -3
  417. package/dist/chunks/{chunk.QXA4KBMD.js → chunk.4VTG7PRD.js} +2 -3
  418. package/dist/chunks/{chunk.CJDJQNJE.js → chunk.5USUIHQC.js} +2 -3
  419. package/dist/chunks/{chunk.AAY5JRCW.js → chunk.6DKXZWRN.js} +1 -2
  420. package/dist/chunks/{chunk.LQJSNWYP.js → chunk.72VNUTTV.js} +13 -6
  421. package/dist/chunks/{chunk.35CDD4AI.js → chunk.7FMGPUZF.js} +51 -23
  422. package/dist/chunks/{chunk.5ERDGBQ2.js → chunk.7IR6CJSO.js} +2 -3
  423. package/dist/chunks/{chunk.K6IPCLUI.js → chunk.7JUNYBWC.js} +4 -5
  424. package/dist/chunks/{chunk.JY6FHQV4.js → chunk.7MXI26GR.js} +3 -4
  425. package/dist/chunks/{chunk.QFCVUWPB.js → chunk.7QAWQQC2.js} +4 -8
  426. package/{dist-versioned/chunks/chunk.KPAQRMCC.js → dist/chunks/chunk.7VPFFNHR.js} +2 -2
  427. package/dist/chunks/{chunk.GY73LR3S.js → chunk.7YENJBA2.js} +2 -3
  428. package/dist/chunks/{chunk.ARM7CJQL.js → chunk.ABLPLQOM.js} +2 -3
  429. package/dist/chunks/{chunk.2EMJYE7P.js → chunk.ANLMAOKA.js} +3 -4
  430. package/dist/chunks/{chunk.4VWYFR7Q.js → chunk.AQI2R5GT.js} +5 -6
  431. package/dist/chunks/{chunk.4VCWVPDC.js → chunk.AXFVYO5L.js} +18 -25
  432. package/dist/chunks/{chunk.PAHCSY5I.js → chunk.BLKVBNBL.js} +2 -3
  433. package/dist/chunks/{chunk.FO5HZGHW.js → chunk.BWFYNOYR.js} +2 -3
  434. package/dist/chunks/{chunk.2LWMWEI6.js → chunk.CKLEIUJP.js} +8 -6
  435. package/dist/chunks/{chunk.UG7ABG7Q.js → chunk.DKBTK7VW.js} +2 -3
  436. package/dist/chunks/{chunk.RDTKXRB7.js → chunk.EOLLVTEE.js} +2 -3
  437. package/dist/chunks/{chunk.NXR5NJ4D.js → chunk.ERJOEJ54.js} +2 -3
  438. package/dist/chunks/{chunk.MQNVPN2V.js → chunk.FK2BNPQB.js} +3 -4
  439. package/dist/chunks/{chunk.MZYFWNJ2.js → chunk.G3JK5J7P.js} +2 -3
  440. package/dist/chunks/{chunk.B2OI7BBP.js → chunk.G4FXGRRH.js} +5 -6
  441. package/dist/chunks/{chunk.TBWF2AZD.js → chunk.GUZQ4ADZ.js} +2 -3
  442. package/dist/chunks/{chunk.AKPL6DO2.js → chunk.JGH3YXMX.js} +3 -4
  443. package/dist/chunks/{chunk.7OG77Q72.js → chunk.LLUTMJ6Y.js} +5 -6
  444. package/dist/chunks/{chunk.X5F5FYN6.js → chunk.O7O2LFXK.js} +6 -7
  445. package/dist/chunks/{chunk.CSGRFVC4.js → chunk.PB672B5H.js} +2 -3
  446. package/dist/chunks/chunk.PJJCHCFO.js +82 -0
  447. package/dist/chunks/{chunk.P23KPMOU.js → chunk.PJPWXQY7.js} +5 -11
  448. package/dist/chunks/{chunk.KCQCBXXE.js → chunk.QFW772DW.js} +3 -4
  449. package/dist/chunks/{chunk.DPUEJBCS.js → chunk.QL6JHFGU.js} +3 -4
  450. package/dist/chunks/chunk.QSQRQKYT.js +129 -0
  451. package/dist/chunks/{chunk.CNC35623.js → chunk.QV5WLO4L.js} +11 -14
  452. package/dist/chunks/{chunk.B2V3A3FX.js → chunk.QVBR2RUV.js} +4 -11
  453. package/dist/chunks/{chunk.QYH72BBU.js → chunk.RCBOBERD.js} +3 -4
  454. package/dist/chunks/{chunk.X5DOMMVJ.js → chunk.RRDLKLEV.js} +4 -5
  455. package/dist/chunks/{chunk.P6IWIVAX.js → chunk.TED3AFLN.js} +2 -3
  456. package/dist/chunks/{chunk.J24ES3ER.js → chunk.TWLOCD6V.js} +2 -3
  457. package/dist/chunks/chunk.U3IJ4WDG.js +72 -0
  458. package/dist/chunks/{chunk.3QRVTHVA.js → chunk.UFU7P2YD.js} +5 -6
  459. package/dist/chunks/{chunk.N6SDJ5F4.js → chunk.UKB75H6A.js} +2 -3
  460. package/{dist-versioned/chunks/chunk.GYXMDYGY.js → dist/chunks/chunk.UVOGBJGP.js} +2 -2
  461. package/dist/chunks/{chunk.S2LPDX6A.js → chunk.V257WRGF.js} +2 -3
  462. package/dist/chunks/{chunk.ZDLONKYZ.js → chunk.VCV7HS44.js} +4 -5
  463. package/dist/chunks/{chunk.MFEFWNU4.js → chunk.VZBVZB3D.js} +5 -6
  464. package/dist/chunks/{chunk.66ESUTRL.js → chunk.W5ZR6XJP.js} +6 -6
  465. package/dist/chunks/{chunk.Y4AVD2WJ.js → chunk.WV4BVBH5.js} +2 -3
  466. package/dist/chunks/{chunk.ML26ETGW.js → chunk.XF7G3LFU.js} +5 -8
  467. package/dist/chunks/{chunk.OWPID45T.js → chunk.XR6GLQWM.js} +5 -6
  468. package/dist/chunks/{chunk.GXJOE2HU.js → chunk.XU2JEV5G.js} +2 -3
  469. package/dist/chunks/{chunk.OEQMLH45.js → chunk.YJF7I33G.js} +8 -9
  470. package/dist/chunks/{chunk.LRYVZCZB.js → chunk.YN47LYT7.js} +5 -6
  471. package/dist/chunks/{chunk.B4X6CPEB.js → chunk.ZEBYA7QQ.js} +3 -4
  472. package/dist/chunks/{chunk.5TXUJJY7.js → chunk.ZSD3BEVL.js} +5 -6
  473. package/dist/components/accordion/accordion.js +6 -6
  474. package/dist/components/accordion-group/accordion-group.js +7 -7
  475. package/dist/components/animation/animation.js +2 -2
  476. package/dist/components/audio/audio.d.ts +0 -1
  477. package/dist/components/audio/audio.js +9 -9
  478. package/dist/components/badge/badge.js +2 -2
  479. package/dist/components/brandshape/brandshape.js +2 -2
  480. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  481. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  482. package/dist/components/button/button.js +3 -3
  483. package/dist/components/button-group/button-group.js +2 -2
  484. package/dist/components/carousel/carousel.js +7 -7
  485. package/dist/components/carousel-item/carousel-item.js +2 -2
  486. package/dist/components/checkbox/checkbox.js +6 -6
  487. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  488. package/dist/components/combobox/combobox.js +8 -8
  489. package/dist/components/datepicker/datepicker.d.ts +2 -1
  490. package/dist/components/datepicker/datepicker.js +2 -2
  491. package/dist/components/dialog/dialog.js +8 -8
  492. package/dist/components/divider/divider.js +2 -2
  493. package/dist/components/drawer/drawer.js +8 -8
  494. package/dist/components/dropdown/dropdown.js +3 -3
  495. package/dist/components/expandable/expandable.js +6 -6
  496. package/dist/components/flipcard/flipcard.js +8 -8
  497. package/dist/components/header/header.js +2 -2
  498. package/dist/components/icon/icon.d.ts +0 -1
  499. package/dist/components/icon/icon.js +5 -5
  500. package/dist/components/icon/library.d.ts +1 -1
  501. package/dist/components/icon/library.default.js +1 -1
  502. package/dist/components/icon/library.internal.d.ts +0 -2
  503. package/dist/components/icon/library.internal.js +1 -1
  504. package/dist/components/icon/library.js +3 -3
  505. package/dist/components/include/include.js +2 -2
  506. package/dist/components/input/input.js +6 -6
  507. package/dist/components/link/link.js +2 -2
  508. package/dist/components/loader/loader.js +2 -2
  509. package/dist/components/map-marker/map-marker.js +2 -2
  510. package/dist/components/menu/menu.js +2 -2
  511. package/dist/components/menu-item/menu-item.js +2 -2
  512. package/dist/components/navigation-item/navigation-item.js +7 -7
  513. package/dist/components/notification/notification.js +8 -8
  514. package/dist/components/optgroup/optgroup.js +3 -3
  515. package/dist/components/option/option.js +6 -6
  516. package/dist/components/popup/popup.js +2 -2
  517. package/dist/components/quickfact/quickfact.js +7 -7
  518. package/dist/components/radio/radio.js +2 -2
  519. package/dist/components/radio-button/radio-button.js +2 -2
  520. package/dist/components/radio-group/radio-group.js +4 -4
  521. package/dist/components/range/range.js +2 -2
  522. package/dist/components/range-tick/range-tick.js +2 -2
  523. package/dist/components/scrollable/scrollable.js +6 -6
  524. package/dist/components/select/select.js +8 -8
  525. package/dist/components/spinner/spinner.js +2 -2
  526. package/dist/components/step/step.js +6 -6
  527. package/dist/components/step-group/step-group.js +2 -2
  528. package/dist/components/switch/switch.js +2 -2
  529. package/dist/components/tab/tab.js +2 -2
  530. package/dist/components/tab-group/tab-group.js +6 -6
  531. package/dist/components/tab-panel/tab-panel.js +2 -2
  532. package/dist/components/tag/tag.js +6 -6
  533. package/dist/components/teaser/teaser.js +2 -2
  534. package/dist/components/teaser-media/teaser-media.js +2 -2
  535. package/dist/components/textarea/textarea.js +6 -6
  536. package/dist/components/tooltip/tooltip.js +7 -7
  537. package/dist/components/video/video.js +6 -6
  538. package/dist/custom-elements.json +6 -452
  539. package/dist/internal/longpress.d.ts +1 -1
  540. package/dist/internal/solid-element.d.ts +0 -5
  541. package/dist/internal/solid-element.js +11 -61
  542. package/dist/solid-components.css +32 -118
  543. package/dist/solid-components.d.ts +0 -1
  544. package/dist/solid-components.js +64 -68
  545. package/dist/utilities/autocomplete-config.js +3 -3
  546. package/dist/utilities/icon-library.js +3 -3
  547. package/dist/vscode.html-custom-data.json +17 -39
  548. package/dist/web-types.json +19 -62
  549. package/dist-versioned/chunks/{chunk.JFYEW3KW.js → chunk.2CAP3Q56.js} +3 -4
  550. package/dist-versioned/chunks/{chunk.XE2RRGVH.js → chunk.2SR73L2N.js} +3 -4
  551. package/dist-versioned/chunks/{chunk.2G4FUBDQ.js → chunk.3YQ55DEG.js} +4 -9
  552. package/dist-versioned/chunks/{chunk.LNHMJS3O.js → chunk.43SFOPTI.js} +4 -5
  553. package/dist-versioned/chunks/{chunk.TCIKEWTO.js → chunk.44BJS2SJ.js} +4 -5
  554. package/dist-versioned/chunks/{chunk.ZHMLJZFU.js → chunk.4DHEQEYR.js} +4 -5
  555. package/dist-versioned/chunks/{chunk.QXA4KBMD.js → chunk.4VTG7PRD.js} +3 -4
  556. package/dist-versioned/chunks/{chunk.CJDJQNJE.js → chunk.5USUIHQC.js} +9 -10
  557. package/dist-versioned/chunks/chunk.6DKXZWRN.js +69 -0
  558. package/dist-versioned/chunks/{chunk.LQJSNWYP.js → chunk.72VNUTTV.js} +14 -7
  559. package/dist-versioned/chunks/{chunk.35CDD4AI.js → chunk.7FMGPUZF.js} +55 -27
  560. package/dist-versioned/chunks/{chunk.5ERDGBQ2.js → chunk.7IR6CJSO.js} +4 -5
  561. package/dist-versioned/chunks/{chunk.K6IPCLUI.js → chunk.7JUNYBWC.js} +5 -6
  562. package/dist-versioned/chunks/{chunk.JY6FHQV4.js → chunk.7MXI26GR.js} +8 -9
  563. package/dist-versioned/chunks/{chunk.QFCVUWPB.js → chunk.7QAWQQC2.js} +5 -9
  564. package/{dist/chunks/chunk.KPAQRMCC.js → dist-versioned/chunks/chunk.7VPFFNHR.js} +2 -2
  565. package/dist-versioned/chunks/{chunk.GY73LR3S.js → chunk.7YENJBA2.js} +3 -4
  566. package/dist-versioned/chunks/{chunk.ARM7CJQL.js → chunk.ABLPLQOM.js} +6 -7
  567. package/dist-versioned/chunks/{chunk.2EMJYE7P.js → chunk.ANLMAOKA.js} +4 -5
  568. package/dist-versioned/chunks/{chunk.4VWYFR7Q.js → chunk.AQI2R5GT.js} +7 -8
  569. package/dist-versioned/chunks/{chunk.4VCWVPDC.js → chunk.AXFVYO5L.js} +21 -28
  570. package/dist-versioned/chunks/{chunk.PAHCSY5I.js → chunk.BLKVBNBL.js} +3 -4
  571. package/dist-versioned/chunks/{chunk.FO5HZGHW.js → chunk.BWFYNOYR.js} +4 -5
  572. package/dist-versioned/chunks/{chunk.2LWMWEI6.js → chunk.CKLEIUJP.js} +10 -8
  573. package/dist-versioned/chunks/{chunk.UG7ABG7Q.js → chunk.DKBTK7VW.js} +13 -14
  574. package/dist-versioned/chunks/{chunk.RDTKXRB7.js → chunk.EOLLVTEE.js} +3 -4
  575. package/dist-versioned/chunks/{chunk.NXR5NJ4D.js → chunk.ERJOEJ54.js} +6 -7
  576. package/dist-versioned/chunks/{chunk.MQNVPN2V.js → chunk.FK2BNPQB.js} +15 -16
  577. package/dist-versioned/chunks/{chunk.MZYFWNJ2.js → chunk.G3JK5J7P.js} +3 -4
  578. package/dist-versioned/chunks/{chunk.B2OI7BBP.js → chunk.G4FXGRRH.js} +7 -8
  579. package/dist-versioned/chunks/{chunk.TBWF2AZD.js → chunk.GUZQ4ADZ.js} +3 -4
  580. package/dist-versioned/chunks/{chunk.AKPL6DO2.js → chunk.JGH3YXMX.js} +14 -15
  581. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  582. package/dist-versioned/chunks/{chunk.7OG77Q72.js → chunk.LLUTMJ6Y.js} +30 -31
  583. package/dist-versioned/chunks/{chunk.X5F5FYN6.js → chunk.O7O2LFXK.js} +7 -8
  584. package/dist-versioned/chunks/{chunk.CSGRFVC4.js → chunk.PB672B5H.js} +3 -4
  585. package/dist-versioned/chunks/chunk.PJJCHCFO.js +82 -0
  586. package/dist-versioned/chunks/{chunk.P23KPMOU.js → chunk.PJPWXQY7.js} +10 -16
  587. package/dist-versioned/chunks/{chunk.KCQCBXXE.js → chunk.QFW772DW.js} +15 -16
  588. package/dist-versioned/chunks/{chunk.DPUEJBCS.js → chunk.QL6JHFGU.js} +6 -7
  589. package/dist-versioned/chunks/chunk.QSQRQKYT.js +129 -0
  590. package/dist-versioned/chunks/{chunk.CNC35623.js → chunk.QV5WLO4L.js} +14 -17
  591. package/dist-versioned/chunks/{chunk.B2V3A3FX.js → chunk.QVBR2RUV.js} +5 -12
  592. package/dist-versioned/chunks/{chunk.QYH72BBU.js → chunk.RCBOBERD.js} +5 -6
  593. package/dist-versioned/chunks/{chunk.X5DOMMVJ.js → chunk.RRDLKLEV.js} +6 -7
  594. package/dist-versioned/chunks/{chunk.P6IWIVAX.js → chunk.TED3AFLN.js} +4 -5
  595. package/dist-versioned/chunks/{chunk.J24ES3ER.js → chunk.TWLOCD6V.js} +6 -7
  596. package/dist-versioned/chunks/chunk.U3IJ4WDG.js +72 -0
  597. package/dist-versioned/chunks/{chunk.3QRVTHVA.js → chunk.UFU7P2YD.js} +7 -8
  598. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  599. package/dist-versioned/chunks/{chunk.N6SDJ5F4.js → chunk.UKB75H6A.js} +6 -7
  600. package/{dist/chunks/chunk.GYXMDYGY.js → dist-versioned/chunks/chunk.UVOGBJGP.js} +2 -2
  601. package/dist-versioned/chunks/{chunk.S2LPDX6A.js → chunk.V257WRGF.js} +3 -4
  602. package/dist-versioned/chunks/{chunk.ZDLONKYZ.js → chunk.VCV7HS44.js} +5 -6
  603. package/dist-versioned/chunks/{chunk.MFEFWNU4.js → chunk.VZBVZB3D.js} +7 -8
  604. package/dist-versioned/chunks/{chunk.66ESUTRL.js → chunk.W5ZR6XJP.js} +7 -7
  605. package/dist-versioned/chunks/{chunk.Y4AVD2WJ.js → chunk.WV4BVBH5.js} +4 -5
  606. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  607. package/dist-versioned/chunks/{chunk.ML26ETGW.js → chunk.XF7G3LFU.js} +7 -10
  608. package/dist-versioned/chunks/{chunk.OWPID45T.js → chunk.XR6GLQWM.js} +7 -8
  609. package/dist-versioned/chunks/{chunk.GXJOE2HU.js → chunk.XU2JEV5G.js} +7 -8
  610. package/dist-versioned/chunks/{chunk.OEQMLH45.js → chunk.YJF7I33G.js} +14 -15
  611. package/dist-versioned/chunks/{chunk.LRYVZCZB.js → chunk.YN47LYT7.js} +7 -8
  612. package/dist-versioned/chunks/{chunk.B4X6CPEB.js → chunk.ZEBYA7QQ.js} +5 -6
  613. package/dist-versioned/chunks/{chunk.5TXUJJY7.js → chunk.ZSD3BEVL.js} +28 -29
  614. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  615. package/dist-versioned/components/accordion/accordion.js +6 -6
  616. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  617. package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
  618. package/dist-versioned/components/animation/animation.d.ts +1 -1
  619. package/dist-versioned/components/animation/animation.js +2 -2
  620. package/dist-versioned/components/audio/audio.d.ts +1 -2
  621. package/dist-versioned/components/audio/audio.js +9 -9
  622. package/dist-versioned/components/badge/badge.d.ts +1 -1
  623. package/dist-versioned/components/badge/badge.js +2 -2
  624. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  625. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  626. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  627. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  628. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  629. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  630. package/dist-versioned/components/button/button.d.ts +1 -1
  631. package/dist-versioned/components/button/button.js +3 -3
  632. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  633. package/dist-versioned/components/button-group/button-group.js +2 -2
  634. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  635. package/dist-versioned/components/carousel/carousel.js +7 -7
  636. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  637. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  638. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  639. package/dist-versioned/components/checkbox/checkbox.js +6 -6
  640. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  641. package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
  642. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  643. package/dist-versioned/components/combobox/combobox.js +8 -8
  644. package/dist-versioned/components/datepicker/datepicker.d.ts +3 -2
  645. package/dist-versioned/components/datepicker/datepicker.js +2 -2
  646. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  647. package/dist-versioned/components/dialog/dialog.js +8 -8
  648. package/dist-versioned/components/divider/divider.d.ts +1 -1
  649. package/dist-versioned/components/divider/divider.js +2 -2
  650. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  651. package/dist-versioned/components/drawer/drawer.js +8 -8
  652. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  653. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  654. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  655. package/dist-versioned/components/expandable/expandable.js +6 -6
  656. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  657. package/dist-versioned/components/flipcard/flipcard.js +8 -8
  658. package/dist-versioned/components/header/header.d.ts +1 -1
  659. package/dist-versioned/components/header/header.js +2 -2
  660. package/dist-versioned/components/icon/icon.d.ts +1 -2
  661. package/dist-versioned/components/icon/icon.js +5 -5
  662. package/dist-versioned/components/icon/library.d.ts +1 -1
  663. package/dist-versioned/components/icon/library.default.js +1 -1
  664. package/dist-versioned/components/icon/library.internal.d.ts +0 -2
  665. package/dist-versioned/components/icon/library.internal.js +1 -1
  666. package/dist-versioned/components/icon/library.js +3 -3
  667. package/dist-versioned/components/include/include.d.ts +1 -1
  668. package/dist-versioned/components/include/include.js +2 -2
  669. package/dist-versioned/components/input/input.d.ts +1 -1
  670. package/dist-versioned/components/input/input.js +6 -6
  671. package/dist-versioned/components/link/link.d.ts +1 -1
  672. package/dist-versioned/components/link/link.js +2 -2
  673. package/dist-versioned/components/loader/loader.d.ts +1 -1
  674. package/dist-versioned/components/loader/loader.js +2 -2
  675. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  676. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  677. package/dist-versioned/components/menu/menu.d.ts +1 -1
  678. package/dist-versioned/components/menu/menu.js +2 -2
  679. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  680. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  681. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  682. package/dist-versioned/components/navigation-item/navigation-item.js +7 -7
  683. package/dist-versioned/components/notification/notification.d.ts +1 -1
  684. package/dist-versioned/components/notification/notification.js +8 -8
  685. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  686. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  687. package/dist-versioned/components/option/option.d.ts +1 -1
  688. package/dist-versioned/components/option/option.js +6 -6
  689. package/dist-versioned/components/popup/popup.d.ts +1 -1
  690. package/dist-versioned/components/popup/popup.js +2 -2
  691. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  692. package/dist-versioned/components/quickfact/quickfact.js +7 -7
  693. package/dist-versioned/components/radio/radio.d.ts +1 -1
  694. package/dist-versioned/components/radio/radio.js +2 -2
  695. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  696. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  697. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  698. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  699. package/dist-versioned/components/range/range.d.ts +1 -1
  700. package/dist-versioned/components/range/range.js +2 -2
  701. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  702. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  703. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  704. package/dist-versioned/components/scrollable/scrollable.js +6 -6
  705. package/dist-versioned/components/select/select.d.ts +1 -1
  706. package/dist-versioned/components/select/select.js +8 -8
  707. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  708. package/dist-versioned/components/spinner/spinner.js +2 -2
  709. package/dist-versioned/components/step/step.d.ts +1 -1
  710. package/dist-versioned/components/step/step.js +6 -6
  711. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  712. package/dist-versioned/components/step-group/step-group.js +2 -2
  713. package/dist-versioned/components/switch/switch.d.ts +1 -1
  714. package/dist-versioned/components/switch/switch.js +2 -2
  715. package/dist-versioned/components/tab/tab.d.ts +1 -1
  716. package/dist-versioned/components/tab/tab.js +2 -2
  717. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  718. package/dist-versioned/components/tab-group/tab-group.js +6 -6
  719. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  720. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  721. package/dist-versioned/components/tag/tag.d.ts +1 -1
  722. package/dist-versioned/components/tag/tag.js +6 -6
  723. package/dist-versioned/components/teaser/teaser.js +2 -2
  724. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  725. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  726. package/dist-versioned/components/textarea/textarea.js +6 -6
  727. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  728. package/dist-versioned/components/tooltip/tooltip.js +7 -7
  729. package/dist-versioned/components/video/video.d.ts +1 -1
  730. package/dist-versioned/components/video/video.js +6 -6
  731. package/dist-versioned/custom-elements.json +251 -697
  732. package/dist-versioned/internal/form.js +3 -3
  733. package/dist-versioned/internal/longpress.d.ts +1 -1
  734. package/dist-versioned/internal/solid-element.d.ts +0 -5
  735. package/dist-versioned/internal/solid-element.js +11 -61
  736. package/dist-versioned/solid-components.css +32 -118
  737. package/dist-versioned/solid-components.d.ts +0 -1
  738. package/dist-versioned/solid-components.js +64 -68
  739. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  740. package/dist-versioned/utilities/icon-library.js +3 -3
  741. package/dist-versioned/vscode.html-custom-data.json +102 -124
  742. package/dist-versioned/web-types.json +172 -215
  743. package/package.json +5 -13
  744. package/cdn/chunks/chunk.3KWSM3HE.js +0 -131
  745. package/cdn/chunks/chunk.45AHR6PI.js +0 -26
  746. package/cdn/chunks/chunk.4I6VQFJI.js +0 -2
  747. package/cdn/chunks/chunk.4IHHF4BF.js +0 -2
  748. package/cdn/chunks/chunk.4U5HTMIG.js +0 -2
  749. package/cdn/chunks/chunk.4UVLYSTM.js +0 -2
  750. package/cdn/chunks/chunk.5BQVQUB3.js +0 -2
  751. package/cdn/chunks/chunk.5L4AEXM2.js +0 -2
  752. package/cdn/chunks/chunk.5TUC644H.js +0 -2
  753. package/cdn/chunks/chunk.5UBUNR4U.js +0 -2
  754. package/cdn/chunks/chunk.67FPAI7X.js +0 -2
  755. package/cdn/chunks/chunk.6EV4YU6C.js +0 -1
  756. package/cdn/chunks/chunk.6OEEW6XA.js +0 -2
  757. package/cdn/chunks/chunk.BCGI3JHC.js +0 -5
  758. package/cdn/chunks/chunk.BWFYOVI3.js +0 -2
  759. package/cdn/chunks/chunk.BZZT6LE2.js +0 -13
  760. package/cdn/chunks/chunk.C26QR5OE.js +0 -2
  761. package/cdn/chunks/chunk.CO74B4DP.js +0 -2
  762. package/cdn/chunks/chunk.ESKMS5I6.js +0 -1
  763. package/cdn/chunks/chunk.EYR25GUX.js +0 -4
  764. package/cdn/chunks/chunk.FBLYG7TQ.js +0 -2
  765. package/cdn/chunks/chunk.FJJG45JX.js +0 -2
  766. package/cdn/chunks/chunk.HNW7UQM6.js +0 -2
  767. package/cdn/chunks/chunk.I5FWEUZV.js +0 -2
  768. package/cdn/chunks/chunk.IDZGQPGK.js +0 -2
  769. package/cdn/chunks/chunk.IL6J56LC.js +0 -2
  770. package/cdn/chunks/chunk.KIP6ZFAM.js +0 -12
  771. package/cdn/chunks/chunk.LUATJXJQ.js +0 -2
  772. package/cdn/chunks/chunk.PTA76UAK.js +0 -2
  773. package/cdn/chunks/chunk.QEBCSXFE.js +0 -2
  774. package/cdn/chunks/chunk.QNIXOQEW.js +0 -2
  775. package/cdn/chunks/chunk.RLENF6CV.js +0 -2
  776. package/cdn/chunks/chunk.RLPQ5X67.js +0 -2
  777. package/cdn/chunks/chunk.RNXCNTZ7.js +0 -2
  778. package/cdn/chunks/chunk.SGIB3DYQ.js +0 -2
  779. package/cdn/chunks/chunk.SYZXP5BK.js +0 -5
  780. package/cdn/chunks/chunk.TKHXP6O2.js +0 -2
  781. package/cdn/chunks/chunk.U7FRUJCP.js +0 -11
  782. package/cdn/chunks/chunk.UP6S5R5Q.js +0 -2
  783. package/cdn/chunks/chunk.X3JCABXB.js +0 -2
  784. package/cdn/chunks/chunk.X7NSZVBU.js +0 -2
  785. package/cdn/chunks/chunk.YUOF3P5L.js +0 -6
  786. package/cdn/chunks/chunk.Z64LNQ5C.js +0 -2
  787. package/cdn/chunks/chunk.ZTFDYBBO.js +0 -2
  788. package/cdn/components/theme-listener/theme-listener.d.ts +0 -13
  789. package/cdn/components/theme-listener/theme-listener.js +0 -1
  790. package/cdn/internal/theme-observer.d.ts +0 -9
  791. package/cdn/internal/theme-observer.js +0 -19
  792. package/cdn-versioned/chunks/chunk.2AUHDXWC.js +0 -2
  793. package/cdn-versioned/chunks/chunk.3KWSM3HE.js +0 -131
  794. package/cdn-versioned/chunks/chunk.3MVF6H4N.js +0 -2
  795. package/cdn-versioned/chunks/chunk.3VKPKJT4.js +0 -12
  796. package/cdn-versioned/chunks/chunk.45AHR6PI.js +0 -26
  797. package/cdn-versioned/chunks/chunk.4I6VQFJI.js +0 -2
  798. package/cdn-versioned/chunks/chunk.4IHHF4BF.js +0 -2
  799. package/cdn-versioned/chunks/chunk.4U5HTMIG.js +0 -2
  800. package/cdn-versioned/chunks/chunk.4UVLYSTM.js +0 -2
  801. package/cdn-versioned/chunks/chunk.5BQVQUB3.js +0 -2
  802. package/cdn-versioned/chunks/chunk.5L4AEXM2.js +0 -2
  803. package/cdn-versioned/chunks/chunk.5TUC644H.js +0 -2
  804. package/cdn-versioned/chunks/chunk.5UBUNR4U.js +0 -2
  805. package/cdn-versioned/chunks/chunk.67FPAI7X.js +0 -2
  806. package/cdn-versioned/chunks/chunk.6EV4YU6C.js +0 -1
  807. package/cdn-versioned/chunks/chunk.6OEEW6XA.js +0 -2
  808. package/cdn-versioned/chunks/chunk.AVBQMWIA.js +0 -4
  809. package/cdn-versioned/chunks/chunk.BCGI3JHC.js +0 -5
  810. package/cdn-versioned/chunks/chunk.BWFYOVI3.js +0 -2
  811. package/cdn-versioned/chunks/chunk.BZZT6LE2.js +0 -13
  812. package/cdn-versioned/chunks/chunk.C26QR5OE.js +0 -2
  813. package/cdn-versioned/chunks/chunk.CDP46OS4.js +0 -10
  814. package/cdn-versioned/chunks/chunk.CO74B4DP.js +0 -2
  815. package/cdn-versioned/chunks/chunk.ESKMS5I6.js +0 -1
  816. package/cdn-versioned/chunks/chunk.EYR25GUX.js +0 -4
  817. package/cdn-versioned/chunks/chunk.FBLYG7TQ.js +0 -2
  818. package/cdn-versioned/chunks/chunk.FJJG45JX.js +0 -2
  819. package/cdn-versioned/chunks/chunk.FK5L4QA6.js +0 -2
  820. package/cdn-versioned/chunks/chunk.HNW7UQM6.js +0 -2
  821. package/cdn-versioned/chunks/chunk.I5FWEUZV.js +0 -2
  822. package/cdn-versioned/chunks/chunk.IDZGQPGK.js +0 -2
  823. package/cdn-versioned/chunks/chunk.IL6J56LC.js +0 -2
  824. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +0 -1
  825. package/cdn-versioned/chunks/chunk.KIP6ZFAM.js +0 -12
  826. package/cdn-versioned/chunks/chunk.LUATJXJQ.js +0 -2
  827. package/cdn-versioned/chunks/chunk.LV3LCBSG.js +0 -12
  828. package/cdn-versioned/chunks/chunk.LVTMZQJV.js +0 -2
  829. package/cdn-versioned/chunks/chunk.N3UOZUQ7.js +0 -2
  830. package/cdn-versioned/chunks/chunk.PTA76UAK.js +0 -2
  831. package/cdn-versioned/chunks/chunk.QEBCSXFE.js +0 -2
  832. package/cdn-versioned/chunks/chunk.QNIXOQEW.js +0 -2
  833. package/cdn-versioned/chunks/chunk.R62WGEQY.js +0 -5
  834. package/cdn-versioned/chunks/chunk.RLENF6CV.js +0 -2
  835. package/cdn-versioned/chunks/chunk.RLPQ5X67.js +0 -2
  836. package/cdn-versioned/chunks/chunk.RNXCNTZ7.js +0 -2
  837. package/cdn-versioned/chunks/chunk.SGIB3DYQ.js +0 -2
  838. package/cdn-versioned/chunks/chunk.SYZXP5BK.js +0 -5
  839. package/cdn-versioned/chunks/chunk.TKHXP6O2.js +0 -2
  840. package/cdn-versioned/chunks/chunk.U7FRUJCP.js +0 -11
  841. package/cdn-versioned/chunks/chunk.UP6S5R5Q.js +0 -2
  842. package/cdn-versioned/chunks/chunk.UTR4DHLT.js +0 -12
  843. package/cdn-versioned/chunks/chunk.X3JCABXB.js +0 -2
  844. package/cdn-versioned/chunks/chunk.X6ZT6MLD.js +0 -2
  845. package/cdn-versioned/chunks/chunk.X7NSZVBU.js +0 -2
  846. package/cdn-versioned/chunks/chunk.YUOF3P5L.js +0 -6
  847. package/cdn-versioned/chunks/chunk.Z64LNQ5C.js +0 -2
  848. package/cdn-versioned/chunks/chunk.ZFOZJ36J.js +0 -2
  849. package/cdn-versioned/chunks/chunk.ZTFDYBBO.js +0 -2
  850. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +0 -13
  851. package/cdn-versioned/components/theme-listener/theme-listener.js +0 -1
  852. package/cdn-versioned/internal/theme-observer.d.ts +0 -9
  853. package/cdn-versioned/internal/theme-observer.js +0 -19
  854. package/dist/chunks/chunk.B267MNT3.js +0 -77
  855. package/dist/chunks/chunk.KPOYD3HP.js +0 -93
  856. package/dist/chunks/chunk.LTRLNXRR.js +0 -61
  857. package/dist/chunks/chunk.O6MXNSO7.js +0 -185
  858. package/dist/components/theme-listener/theme-listener.d.ts +0 -13
  859. package/dist/components/theme-listener/theme-listener.js +0 -9
  860. package/dist/internal/theme-observer.d.ts +0 -9
  861. package/dist/internal/theme-observer.js +0 -19
  862. package/dist-versioned/chunks/chunk.AAY5JRCW.js +0 -70
  863. package/dist-versioned/chunks/chunk.B267MNT3.js +0 -77
  864. package/dist-versioned/chunks/chunk.KPOYD3HP.js +0 -93
  865. package/dist-versioned/chunks/chunk.LTRLNXRR.js +0 -61
  866. package/dist-versioned/chunks/chunk.O6MXNSO7.js +0 -185
  867. package/dist-versioned/components/theme-listener/theme-listener.d.ts +0 -13
  868. package/dist-versioned/components/theme-listener/theme-listener.js +0 -9
  869. package/dist-versioned/internal/theme-observer.d.ts +0 -9
  870. package/dist-versioned/internal/theme-observer.js +0 -19
@@ -1,5 +1,4 @@
1
- import{a as T}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as _}from"./chunk.I5FWEUZV.js";import{a as C}from"./chunk.CBQWVOOS.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as M}from"./chunk.7BPPDSHY.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as f,e as $,h as w}from"./chunk.45AHR6PI.js";import{b as x,e as m}from"./chunk.763RLJEK.js";import{d as A}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*L(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*B(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<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.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new C(this,()=>this.next());this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new M(this);this.userInteracted=!1;this.fadeController=new T(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>_.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));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.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",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&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 c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.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.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}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((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),n.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),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);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});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(3e3)}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:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),v=(e+c.length)%c.length;if(this.activeSlide=v,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],S=n.getBoundingClientRect(),P=O.getBoundingClientRect();if(n.scrollTo({left:P.left-S.left+n.scrollLeft,top:P.top-S.top+n.scrollTop,behavior:A()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&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,h=this.loop||s<t,c=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full")}"><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)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><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"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @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="${c?"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">${L(B(t),a=>{let v=a+1===s;return m`<button part="pagination-item ${v?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",v?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${v?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${l("h-4 w-4 block border hover:border-primary-500 rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"border-white hover:border-primary-500":"border-primary",v&&"bg-accent border-none",v?this.inverted?"hover:bg-accent-300":"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 border-accent",this.inverted?"text-white":"text-black")}">${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="${!h}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?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="${c?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${l("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" 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></div>`}};r.styles=[...w.styles,x`/*! tailwindcss v4.1.14 | 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}: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([f('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([f('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([f('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([$('[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: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([f("slot:not([name])")],r.prototype,"defaultSlot",2),o([f(".carousel__slides")],r.prototype,"scrollContainer",2),o([f(".carousel__pagination")],r.prototype,"paginationContainer",2),o([b()],r.prototype,"activeSlide",2),o([b()],r.prototype,"currentPage",2),o([b()],r.prototype,"pausedAutoplay",2),o([g("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([g("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([g("loop",{waitUntilFirstUpdate:!0}),g("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([g("activeSlide")],r.prototype,"handleSlideChange",1),o([g("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([g("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([E("sd-carousel")],r);export{r as a};
1
+ import{a as k}from"./chunk.BJBQEPZV.js";import{a as T}from"./chunk.C577EOP7.js";import{a as _}from"./chunk.BDPK77SL.js";import{a as C}from"./chunk.CBQWVOOS.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as M}from"./chunk.L6MCOH7T.js";import{a as g}from"./chunk.E2DRD2OX.js";import{a as E,b as p,c as b,d as f,e as $,h as S}from"./chunk.TIK62LTB.js";import{b as x,e as m}from"./chunk.RZUTJ36B.js";import{d as A}from"./chunk.6OTM3PE5.js";import{e as o}from"./chunk.TJOCV4DC.js";function I(u,d,e){let i=t=>Object.is(t,-0)?0:t;return u<d?i(d):u>e?i(e):i(u)}function*B(u,d){if(u!==void 0){let e=0;for(let i of u)yield d(i,e++)}}function*L(u,d,e=1){let i=d===void 0?0:u;d!=null||(d=u);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends S{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new C(this,()=>this.next());this.scrollController=new T(this);this.slides=this.getElementsByTagName("sd-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new M(this);this.userInteracted=!1;this.fadeController=new k(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>_.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));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.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",h=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),h&&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 c=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');c&&c.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.autoplay&&this.scrollContainer.setAttribute("aria-live","polite")}handleBlur(){this.autoplay&&this.scrollContainer.setAttribute("aria-live","off")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}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((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(e.length-c-1)),this.prepend(a)}),n.forEach((h,c)=>{let a=h.cloneNode(!0);a.setAttribute("data-clone",String(c)),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);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});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(3e3)}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:h}=this,c=this.getSlides(),a=this.getSlides({excludeClones:!1}),v=(e+c.length)%c.length;if(this.activeSlide=v,h)return;let y=I(e+(s?t:0),0,a.length+1),O=a[y],w=n.getBoundingClientRect(),P=O.getBoundingClientRect();if(n.scrollTo({left:P.left-w.left+n.scrollLeft,top:P.top-w.top+n.scrollTop,behavior:A()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,H=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):H&&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,h=this.loop||s<t,c=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full")}"><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)}" aria-live="${this.autoplay?"off":"polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><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"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @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="${c?"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">${B(L(t),a=>{let v=a+1===s;return m`<button part="pagination-item ${v?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",v?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${v?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${l("h-4 w-4 block border hover:border-primary-500 rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",this.inverted?"border-white hover:border-primary-500":"border-primary",v&&"bg-accent border-none",v?this.inverted?"hover:bg-accent-300":"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 border-accent",this.inverted?"text-white":"text-black")}">${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="${!h}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!h&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${h?"false":"true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${h?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="${c?"chevron-up":"chevron-down"}"></sd-icon></slot></button></div><button class="${l("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" 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></div>`}};r.styles=[...S.styles,x`: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));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{display:block;height:var(--carousel-height);overflow:hidden;position:relative}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`],o([f('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([f('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([f('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([$('[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: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([f("slot:not([name])")],r.prototype,"defaultSlot",2),o([f(".carousel__slides")],r.prototype,"scrollContainer",2),o([f(".carousel__pagination")],r.prototype,"paginationContainer",2),o([b()],r.prototype,"activeSlide",2),o([b()],r.prototype,"currentPage",2),o([b()],r.prototype,"pausedAutoplay",2),o([g("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([g("fade",{waitUntilFirstUpdate:!0})],r.prototype,"handleFadeChange",1),o([g("loop",{waitUntilFirstUpdate:!0}),g("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([g("activeSlide")],r.prototype,"handleSlideChange",1),o([g("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([g("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([E("sd-carousel")],r);export{r as a};
3
2
  /*! Bundled license information:
4
3
 
5
4
  lit-html/directives/map.js:
@@ -1,4 +1,4 @@
1
- import{a as p,b as T}from"./chunk.SIY4LRPB.js";import{a as t,b as a,c as l}from"./chunk.D6LAH53B.js";import{h as n,i as s}from"./chunk.763RLJEK.js";var m=a(class extends l{constructor(e){if(super(e),e.type!==t.PROPERTY&&e.type!==t.ATTRIBUTE&&e.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!p(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[r]){if(r===n||r===s)return r;let i=e.element,o=e.name;if(e.type===t.PROPERTY){if(r===i[o])return n}else if(e.type===t.BOOLEAN_ATTRIBUTE){if(!!r===i.hasAttribute(o))return n}else if(e.type===t.ATTRIBUTE&&i.getAttribute(o)===r+"")return n;return T(e),r}});export{m as a};
1
+ import{a as p,b as T}from"./chunk.4SX3FTTZ.js";import{a as t,b as a,c as l}from"./chunk.D6LAH53B.js";import{h as n,i as s}from"./chunk.RZUTJ36B.js";var m=a(class extends l{constructor(e){if(super(e),e.type!==t.PROPERTY&&e.type!==t.ATTRIBUTE&&e.type!==t.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!p(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[r]){if(r===n||r===s)return r;let i=e.element,o=e.name;if(e.type===t.PROPERTY){if(r===i[o])return n}else if(e.type===t.BOOLEAN_ATTRIBUTE){if(!!r===i.hasAttribute(o))return n}else if(e.type===t.ATTRIBUTE&&i.getAttribute(o)===r+"")return n;return T(e),r}});export{m as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/live.js:
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk.K7HF3VBZ.js";import{b as a}from"./chunk.MHPHKNZ5.js";import{b as c}from"./chunk.PYHYYOBE.js";var o=[a,i,c],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){s(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function s(r){o=o.filter(t=>t.name!==r)}export{f as a,p as b,b as c,l as d,s as e};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk.YEDQWNIV.js";import{a as l}from"./chunk.E2DRD2OX.js";import{a as o,b as a,h as i}from"./chunk.TIK62LTB.js";import{b as r,e as s}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var c=0,t=class extends i{constructor(){super(...arguments);this.attrId=++c;this.componentId=`sd-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return s`<slot part="base" class="${p("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...i.styles,r`:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([a({type:String,reflect:!0})],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-tab-panel")],t);export{t as a};
@@ -0,0 +1,83 @@
1
+ var a={calendar:`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
3
+ <path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1ZM6 4v1.667a1 1 0 0 0 2 0V4h8v1.667a1 1 0 0 0 2 0V4h2v4H4V4h2ZM4 20V10h16v10H4Z"/>
4
+ <path d="m7.603 13.263.597.81.31-.25c.31-.25.593-.49.733-.63h.017c-.017.333-.033 1.14-.033 1.647V18h1.223v-6.03H9.353l-1.75 1.293ZM14.667 11.867c-1.543 0-2.26 1-2.26 3.163 0 1.9.667 3.063 2.217 3.063s2.193-1.18 2.193-3.13c-.017-2.063-.743-3.097-2.15-3.097v.001Zm-.044 5.333c-.647 0-1-.76-1-2.28 0-1.44.353-2.173 1-2.173s1 .743 1 2.233c0 1.49-.387 2.227-1.017 2.227l.017-.007Z"/>
5
+ </svg>
6
+ `,"chevron-down":`
7
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
8
+ <path d="M20.257 6.333l-8.257 9.173-8.257-9.173c-0.181-0.181-0.431-0.292-0.707-0.292-0.552 0-1 0.448-1 1 0 0.238 0.083 0.456 0.222 0.628l-0.001-0.002 9 10c0.184 0.204 0.449 0.331 0.743 0.331s0.56-0.127 0.743-0.33l0.001-0.001 9-10c0.137-0.17 0.22-0.388 0.22-0.626 0-0.552-0.448-1-1-1-0.276 0-0.526 0.112-0.707 0.293v0z"></path>
9
+ </svg>
10
+ `,"chevron-up":`
11
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
12
+ <path d="M12.743 6.333c-0.188-0.195-0.452-0.316-0.743-0.316s-0.555 0.121-0.743 0.315l-0 0-9 10c-0.137 0.17-0.22 0.388-0.22 0.626 0 0.552 0.448 1 1 1 0.276 0 0.526-0.112 0.707-0.293v0l8.257-9.173 8.257 9.173c0.181 0.181 0.431 0.292 0.707 0.292 0.552 0 1-0.448 1-1 0-0.238-0.083-0.456-0.222-0.628l0.001 0.002z"></path>
13
+ </svg>
14
+ `,"chevron-right":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.667 2.257a1 1 0 1 0-1.336 1.485l.002.001L15.506 12l-9.173 8.257a1 1 0 0 0 1.336 1.485l-.002.001 10-9a.997.997 0 0 0 .001-1.486l-.001-.001-10-8.999Z"/></svg>',"chevron-left":`
15
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
16
+ <path d="M17.743 2.333a.997.997 0 0 0-1.41-.076l.001-.001-10 9a.997.997 0 0 0 0 1.486v.001l10 9a1 1 0 0 0 1.333-1.487l-9.173-8.257 9.173-8.257a.997.997 0 0 0 .076-1.41l.001.001Z"/>
17
+ </svg>
18
+ `,"chevron-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
19
+ <path fill="currentColor" d="M10.688 6.257a1 1 0 1 0-1.336 1.485h.002L14.528 12l-5.174 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .002-1.485l-.002-.001-6-5Z"/>
20
+ </svg>`,"chevron-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
21
+ <path fill="currentColor" d="M14.742 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0 0 1.486v.001l6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
22
+ </svg>`,"chevrons-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
23
+ <path fill="currentColor" d="M11.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
24
+ <path fill="currentColor" d="M18.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
25
+ </svg>`,"chevrons-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
26
+ <path fill="currentColor" d="M13.718 6.257a1 1 0 1 0-1.336 1.485h.002L17.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
27
+ <path fill="currentColor" d="M6.718 6.257a1 1 0 1 0-1.336 1.485h.002L10.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
28
+ </svg>`,clock:`
29
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
30
+ <path d="M13 11.587V8a1 1 0 0 0-2 0v4c0 .07.007.138.021.203l-.001-.006a.855.855 0 0 0 .029.093l-.002-.006c0 .033 0 .067.03.1a.709.709 0 0 0 .055.103l-.002-.003.037.07c.04.057.081.107.127.153l2.827 2.83a1.002 1.002 0 0 0 1.417-1.417L13 11.587Z"/>
31
+ <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>
32
+ </svg>
33
+ `,close:`
34
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
35
+ <path d="M21.707 2.293a1 1 0 0 0-1.414 0L12 10.586 3.707 2.293a1 1 0 0 0-1.413 1.414l-.001-.001 8.293 8.293-8.293 8.293a1 1 0 0 0 0 1.414 1 1 0 0 0 1.414 0L12 13.413l8.293 8.293a1 1 0 0 0 1.414 0 1 1 0 0 0 0-1.414l-8.293-8.293 8.293-8.293a1 1 0 0 0 0-1.414z"/></svg>
36
+ </svg>
37
+ `,"closing-round":`
38
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
39
+ <path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>
40
+ <path d="M16.373 7.627a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L13.413 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/>
41
+ </svg>`,eye:`
42
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
43
+ <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>
44
+ <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>
45
+ </svg>
46
+ `,"eye-crossed-out":`
47
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
48
+ <path d="M12 16.107A4.11 4.11 0 0 1 7.893 12 4.11 4.11 0 0 1 12 7.893 4.11 4.11 0 0 1 16.107 12 4.11 4.11 0 0 1 12 16.107Zm0-6.21a2.107 2.107 0 1 0 0 4.213 2.107 2.107 0 0 0 0-4.213Z"/>
49
+ <path d="M12 18.96c-5.263 0-10-5.68-10-6.96 0-1.28 4.737-6.96 10-6.96S22 10.72 22 12c0 1.28-4.737 6.96-10 6.96ZM4.1 12c.76 1.197 4.07 4.96 7.9 4.96s7.14-3.767 7.9-4.96c-.76-1.197-4.07-4.96-7.9-4.96S4.86 10.807 4.1 12Z"/>
50
+ <path d="M3 22a1 1 0 0 1-.707-1.707l18-18a1 1 0 0 1 1.414 1.414l-18 18A.991.991 0 0 1 3 22Z"/>
51
+ </svg>
52
+ `,"info-circle":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/><path d="M13.333 7.833a1.5 1.5 0 1 1-3.001-.001 1.5 1.5 0 0 1 3.001.001ZM13 11.667a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.667h2v-3.667Z"/><path d="M11 16.333v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1Zm3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2Z"/><path d="M13 16.333v-1h-2v1a1 1 0 0 0 2 0Z"/></svg>',"status-check":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 13">
53
+ <path fill="currentColor" d="m9.947 1.138-.005.008-.001.003-5.56 8.34-2.434-2.447-.004-.004a.648.648 0 0 0-1.093.475c0 .172.066.328.175.444l.003.004 3 2.999c.117.117.28.19.46.19h.065c.2-.021.37-.13.475-.286l.005-.008.001-.002 5.994-8.992a.65.65 0 0 0-.18-.902l-.007-.005-.002-.002a.65.65 0 0 0-.892.185Z"/>
54
+ </svg>
55
+ `,"status-minus":`
56
+ <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
57
+ <path d="M10 5.375H2C1.65496 5.375 1.375 5.65496 1.375 6C1.375 6.34504 1.65496 6.625 2 6.625H10C10.345 6.625 10.625 6.34504 10.625 6C10.625 5.65496 10.345 5.375 10 5.375Z" fill="currentColor"/>
58
+ </svg>
59
+ `,pause:`
60
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
61
+ <path d="M9 22a.99997.99997 0 0 0 1-1V3a1.00003 1.00003 0 0 0-1-1H5a1.00003 1.00003 0 0 0-1 1v18a.99997.99997 0 0 0 1 1h4ZM6 4h2v16H6V4ZM19 22c.2652 0 .5196-.1054.7071-.2929A1.0001 1.0001 0 0 0 20 21V3a.99997.99997 0 0 0-1-1h-4a.99997.99997 0 0 0-1 1v18c0 .2652.1054.5196.2929.7071S14.7348 22 15 22h4ZM16 4h2v16h-2V4Z"/>
62
+ </svg>
63
+ `,risk:`
64
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
65
+ <path d="M12.893 2.553a1.002 1.002 0 0 0-1.784-.006L2.106 20.553A1 1 0 0 0 3 22h18a1 1 0 0 0 .891-1.452l.003.006-9.001-18.001ZM4.617 20 12 5.237 19.383 20H4.617Z"/>
66
+ <path d="M11 10.667V15a1 1 0 0 0 2 0v-4.333a1 1 0 0 0-2 0ZM13 18a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"/>
67
+ </svg>
68
+ `,start:`
69
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
70
+ <path d="m57.44 29.76-37.333-24A2.667 2.667 0 0 0 16 8v48a2.668 2.668 0 0 0 2.667 2.666 2.672 2.672 0 0 0 1.45-.431l-.01.005 37.333-24a2.67 2.67 0 0 0 1.192-2.221c0-.923-.47-1.74-1.184-2.216l-.01-.006.002-.037ZM21.333 51.112V12.89l29.734 19.112-29.734 19.11Z"/>
71
+ </svg>
72
+ `,"confirm-circle":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
73
+ <path fill="currentColor" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z"/>
74
+ <path fill="currentColor" d="M15.8 7.5a1 1 0 0 0-1.4.3L10.9 14 9 12.3a1 1 0 0 0-1.6.7c0 .3 0 .5.2.7l2.7 2.7c.2.1.4.3.7.3h.1c.3 0 .6-.3.8-.5l4.3-7.4.1-.5a1 1 0 0 0-.5-.8Z"/>
75
+ </svg>`,warning:`
76
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.893 2.55295C12.725 2.22395 12.388 2.00195 12 2.00195C11.612 2.00195 11.275 2.22295 11.109 2.54695L2.10598 20.553C2.03998 20.683 2.00098 20.837 2.00098 21C2.00098 21.552 2.44798 21.999 2.99998 22H21C21.552 21.999 21.999 21.552 21.999 21C21.999 20.837 21.96 20.683 21.891 20.548L21.894 20.554L12.893 2.55295ZM4.61698 20L12 5.23695L19.383 20H4.61698Z"/><path d="M11 10.667V15C11 15.552 11.448 16 12 16C12.552 16 13 15.552 13 15V10.667C13 10.115 12.552 9.66695 12 9.66695C11.448 9.66695 11 10.115 11 10.667Z"/><path d="M13 18C13 18.552 12.552 19 12 19C11.448 19 11 18.552 11 18C11 17.448 11.448 17 12 17C12.552 17 13 17.448 13 18Z"/></svg>`,"exclamation-circle":`
77
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 17C13 17.552 12.552 18 12 18C11.448 18 11 17.552 11 17C11 16.448 11.448 16 12 16C12.552 16 13 16.448 13 17Z"/><path d="M12 6C11.448 6 11 6.448 11 7V13C11 13.552 11.448 14 12 14C12.552 14 13 13.552 13 13V7C13 6.448 12.552 6 12 6Z"/><path d="M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12 20C7.582 20 4 16.418 4 12C4 7.582 7.582 4 12 4C16.418 4 20 7.582 20 12C20 16.418 16.418 20 12 20Z"/></svg>`,"magnifying-glass":`
78
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21.707 20.293l-6.967-6.96c-0.046-0.046-0.096-0.087-0.15-0.124l-0.004-0.002c0.882-1.162 1.413-2.632 1.413-4.227 0-3.881-3.146-7.027-7.027-7.027s-7.027 3.146-7.027 7.027c0 3.881 3.146 7.027 7.027 7.027 1.594 0 3.065-0.531 4.244-1.426l-0.017 0.013c0.039 0.057 0.081 0.107 0.127 0.153l6.967 6.967c0.181 0.181 0.431 0.292 0.707 0.292s0.526-0.112 0.707-0.292v0c0.183-0.181 0.296-0.432 0.296-0.71s-0.113-0.529-0.296-0.71l-0-0zM9 14c-2.761 0-5-2.239-5-5s2.239-5 5-5c2.761 0 5 2.239 5 5v0c0 2.761-2.239 5-5 5v0z"></path></svg>`,transcript:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
79
+ <path fill="currentColor" d="M19 22H5a1 1 0 0 1-1-1V3c0-.6.4-1 1-1h9c.3 0 .5.1.7.3l5 5c.2.2.3.4.3.7v13c0 .6-.4 1-1 1ZM6 20h12V8.4L13.6 4H6v16Z"/>
80
+ <path fill="currentColor" d="M19 10h-6a1 1 0 0 1-1-1V3a1 1 0 1 1 2 0v5h5a1 1 0 1 1 0 2Zm-3 4H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2Zm-2 4H8a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Z"/>
81
+ </svg>`,mute:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
82
+ <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm12.374-8.96a1 1 0 0 0-1.414 0l-2.96 2.96-2.96-2.96a1 1 0 0 0-1.413 1.414l-.001-.001 2.96 2.96-2.96 2.96a1 1 0 0 0 1.414 1.414l2.96-2.96 2.96 2.96a1 1 0 0 0 1.414-1.414L18.747 12l2.96-2.96a1 1 0 0 0 0-1.414v.001Z"/></svg>`,volume:`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
83
+ <path d="M10.717 4.077a.997.997 0 0 0-1.09.217L5.92 8.001H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.92l3.707 3.707a.997.997 0 0 0 .707.293h.007a.953.953 0 0 0 .382-.079l-.006.002c.365-.154.617-.509.617-.923v-14a1 1 0 0 0-.61-.921l-.007-.002v-.001ZM4 10h1.333v4H4v-4Zm5.333 6.587-2-2V9.414l2-2v9.173Zm9.217-13.48a1 1 0 0 0-.44 1.339l-.003-.006c1.177 2.191 1.876 4.792 1.893 7.555V12a16.365 16.365 0 0 1-1.936 7.638l.043-.088a1.002 1.002 0 0 0 .438 1.331l.006.003c.13.071.285.114.449.117h.001a.999.999 0 0 0 .89-.544l.003-.006c1.312-2.45 2.09-5.357 2.107-8.445v-.005c-.017-3.093-.794-6-2.155-8.549l.048.099a1.001 1.001 0 0 0-1.349-.44l.006-.003-.001-.001Z"/><path d="M14.447 5.167a1 1 0 0 0-.278 1.39l-.002-.004C15.35 8.333 16 10.266 16 12s-.667 3.667-1.833 5.447a1 1 0 0 0 1.664 1.11l.002-.004C17.23 16.45 18 14.12 18 12s-.77-4.45-2.167-6.553a1 1 0 0 0-1.39-.278l.004-.002Z"/></svg>`,reload:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path d="M3.697 10.447 5.03 11.78c.1-4.76 3.717-8.447 8.303-8.447a8.667 8.667 0 0 1 0 17.334 1 1 0 0 1 0-2 6.667 6.667 0 0 0 0-13.334C9.8 5.333 7.126 8.076 7 11.753l1.333-1.307a1 1 0 0 1 1.414 1.417l-3.023 3.023a.996.996 0 0 1-1.416 0l-3.023-3.023a1.002 1.002 0 0 1 1.417-1.417l-.005.001Z"/></svg>'},v={name:"_internal",resolver:l=>l in a?`data:image/svg+xml,${encodeURIComponent(a[l])}`:"",mutator:l=>l.setAttribute("fill","currentColor")},t=v;export{a,t as b};
@@ -1,4 +1,3 @@
1
- import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.YEDQWNIV.js";import{a as v}from"./chunk.7BPPDSHY.js";import{a as E}from"./chunk.NYKJXI3Q.js";import{a as w,b as o,d as r,h as d}from"./chunk.45AHR6PI.js";import{b as y,e as b}from"./chunk.763RLJEK.js";import{b as l,e as p}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends d{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":s=t.button;break;case"sd-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-popup part="base" id="dropdown" exportparts="
1
+ import{a as T,b as M}from"./chunk.G7HKVXLR.js";import{c as L}from"./chunk.3L472FD4.js";import{a as h,c as u}from"./chunk.SKUMYG4O.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as k}from"./chunk.YEDQWNIV.js";import{a as v}from"./chunk.L6MCOH7T.js";import{a as E}from"./chunk.E2DRD2OX.js";import{a as w,b as o,d as r,h as d}from"./chunk.TIK62LTB.js";import{b as y,e as b}from"./chunk.RZUTJ36B.js";import{b as l,e as p}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";function A(c,f){let e=c;for(;e;){if(e.matches(f))return e;if(e.parentElement)e=e.parentElement;else if(e.parentNode instanceof ShadowRoot)e=e.parentNode.host;else break}return null}var n=class extends d{constructor(){super(...arguments);this.localize=new v(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>M(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":s=t.button;break;case"sd-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{let s=T();(!s||!this.containingElement||A(s,this.containingElement.tagName.toLowerCase())!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;L(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s.find(C=>!C.disabled)||s[0],g=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(g),g.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=u(this,"dropdown.show",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=u(this,"dropdown.hide",{dir:this.localize.dir()});await l(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return b`<sd-popup part="base" id="dropdown" exportparts="
2
2
  popup:base__popup,
3
- " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("panel-color-border border shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};n.styles=[...d.styles,y`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
- :host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:100%}#dropdown[data-current-placement^=right]::part(popup){transform-origin:0}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
3
+ " placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${k("shadow bg-white block",this.open?"pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};n.styles=[...d.styles,y`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([r("#dropdown")],n.prototype,"popup",2),i([r("[part=trigger]")],n.prototype,"trigger",2),i([r("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({type:String,reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({type:Object})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean,reflect:!0})],n.prototype,"hoist",2),i([E("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([w("sd-dropdown")],n);h("dropdown.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("dropdown.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{n as a};
@@ -1 +1 @@
1
- import{e as p}from"./chunk.763RLJEK.js";import{a as l,b as m}from"./chunk.6EV4YU6C.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-1 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
1
+ import{e as p}from"./chunk.RZUTJ36B.js";import{a as l,b as m}from"./chunk.TJOCV4DC.js";var a=new WeakMap,n=new WeakMap,c=new WeakMap,d=new WeakMap,v=class{constructor(t,e){this.handleFormData=t=>{let e=this.options.disabled(this.host),o=this.options.name(this.host),i=this.options.value(this.host),s=this.host.tagName.toLowerCase()==="sd-button";!e&&!s&&typeof o=="string"&&o.length>0&&typeof i!="undefined"&&(Array.isArray(i)?i.forEach(r=>{t.formData.append(o,r.toString())}):t.formData.append(o,i.toString()))};this.handleFormSubmit=t=>{var i,s;let e=this.options.disabled(this.host),o=this.options.reportValidity;if(this.form&&!this.form.noValidate&&((i=a.get(this.form))==null||i.forEach(r=>{this.setUserInteracted(r,!0)})),this.form&&!this.form.noValidate&&!e&&!o(this.host)){t.preventDefault(),t.stopImmediatePropagation();let r=(s=this.form)==null?void 0:s.querySelectorAll("[data-invalid]");Array.from(r).filter(h=>h.tagName.toLowerCase()==="sd-radio-group").forEach(h=>{var f,u;(u=(f=h.shadowRoot)==null?void 0:f.querySelector("input"))==null||u.dispatchEvent(new Event("invalid"))}),r!=null&&r.length&&r[0].focus()}};this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),d.set(this.host,[])};this.handleInteraction=t=>{let e=d.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)};this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)};(this.host=t).addController(this),this.options=l({form:o=>{if(o.hasAttribute("form")&&o.getAttribute("form")!==""){let i=o.getRootNode(),s=o.getAttribute("form");if(s)return i.getElementById(s)}return o.closest("form")},name:o=>o.name,value:o=>o.value,defaultValue:o=>o.defaultValue,disabled:o=>{var i;return(i=o.disabled)!=null?i:!1},reportValidity:o=>typeof o.reportValidity=="function"?o.reportValidity():!0,setValue:(o,i)=>o.value=i,assumeInteractionOn:["sd-input"]},e)}hostConnected(){let t=this.options.form(this.host);t&&this.attachForm(t),d.set(this.host,[]),this.options.assumeInteractionOn.forEach(e=>{this.host.addEventListener(e,this.handleInteraction)})}hostDisconnected(){this.detachForm(),d.delete(this.host),this.options.assumeInteractionOn.forEach(t=>{this.host.removeEventListener(t,this.handleInteraction)})}hostUpdated(){var e;let t=this.options.form(this.host);t||this.detachForm(),t&&this.form!==t&&(this.detachForm(),this.attachForm(t)),this.host.hasUpdated&&(this.setValidity((e=this.host)==null?void 0:e.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,a.has(this.form)?a.get(this.form).add(this.host):a.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),n.has(this.form)||(n.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&((t=a.get(this.form))==null||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),n.has(this.form)&&(this.form.reportValidity=n.get(this.form),n.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){let t=this.form.querySelectorAll("*");for(let e of t)if(typeof e.reportValidity=="function"&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){c.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){let o=document.createElement("button");o.type=t,o.style.position="absolute",o.style.width="0",o.style.height="0",o.style.clipPath="inset(50%)",o.style.overflow="hidden",o.style.whiteSpace="nowrap",e&&(o.name=e.name,o.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach(i=>{e.hasAttribute(i)&&o.setAttribute(i,e.getAttribute(i))})),this.form.append(o),o.click(),o.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(this.host.showValidStyle!==void 0&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){var t;return(t=this.form)!=null?t:null}renderInvalidMessage(){return p`<div id="invalid-message" class="text-error text-sm mt-1 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var s;let e=this.host,o=!!c.get(e),i=!!e.required;(s=this.form)!=null&&s.noValidate?(e.removeAttribute("data-required"),e.removeAttribute("data-optional"),e.removeAttribute("data-invalid"),e.removeAttribute("data-valid"),e.removeAttribute("data-user-invalid"),e.removeAttribute("data-user-valid"),e.removeAttribute("aria-invalid")):(e.toggleAttribute("data-required",i),e.toggleAttribute("data-optional",!i),e.toggleAttribute("data-invalid",!t),e.toggleAttribute("data-valid",t),e.toggleAttribute("data-user-invalid",!t&&o),e.toggleAttribute("data-user-valid",t&&o),e.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){let t=this.host;this.setValidity(t==null?void 0:t.validity.valid)}emitInvalidEvent(t){t==null||t.preventDefault();let e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}},y=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),F=Object.freeze(m(l({},y),{valid:!1,valueMissing:!0})),V=Object.freeze(m(l({},y),{valid:!1,customError:!0}));export{a,v as b,y as c,F as d,V as e};
@@ -1,2 +1 @@
1
- import{a as o}from"./chunk.X3JCABXB.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.B2NUKX6G.js";import{a,b as c}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as m,b as p}from"./chunk.45AHR6PI.js";import{b as d}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.expandable=!1}render(){let r=this.expandable?a`details`:a`div`,l=this.expandable?a`summary`:a`div`;return c`<${r} part="base" class="sm:p-6"><${l} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot></span></${l}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${r}>`}};t.styles=[...o.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],i([p({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=i([m("sd-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});n("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as o}from"./chunk.ULAC7BZA.js";import{a as s}from"./chunk.CHU57RUD.js";import{a as n}from"./chunk.SKUMYG4O.js";import{a,b as c}from"./chunk.PVM2WKMA.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as m,b as p}from"./chunk.TIK62LTB.js";import{b as d}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.expandable=!1}render(){let r=this.expandable?a`details`:a`div`,l=this.expandable?a`summary`:a`div`;return c`<${r} part="base" class="sm:p-6"><${l} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-icon></slot></span></${l}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${r}>`}};t.styles=[...o.styles,d`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],i([p({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=i([m("sd-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});n("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
@@ -1,2 +1 @@
1
- import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YEDQWNIV.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.45AHR6PI.js";import{b as c,e as l}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-5-16-2-next-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-16-2-next-0-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-5-16-2-next-0-option")],e);export{e as a};
1
+ import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.YEDQWNIV.js";import{a as o}from"./chunk.E2DRD2OX.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.TIK62LTB.js";import{b as c,e as l}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" class="${i("px-4 flex items-center w-full transition-colors duration-fast ease-in-out text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-700 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"bg-white border-neutral-800")}">${this.selected?l`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`:host{display:block;outline:2px solid transparent!important;outline-offset:2px!important;position:relative;width:100%}.focus-outline-offset{outline-offset:-2px}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-option")],e);export{e as a};
@@ -1,2 +1 @@
1
- import{a as s}from"./chunk.PV6UYBMY.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as S}from"./chunk.7BPPDSHY.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.45AHR6PI.js";import{b as k,e as c}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,r=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&r,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},v=a.left&&!i.left,m=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(v||m)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,r){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=r==null?void 0:r.pointerType)!=null?z:""),v=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[v]:e});let m=`button-${t}`;this.dispatchEvent(new CustomEvent(m,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,r){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=r.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",r="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${l("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${l("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${l("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${l("left top-0 left-0 w-[6px] h-full",r,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${l("right top-0 right-0 w-[6px] h-full",r,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${l("top top-0 left-0 w-full h-[6px]",r,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${l("bottom bottom-0 left-0 w-full h-[6px]",r,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,var(--sd-color-background-white, var(--sd-color-white)) 80%,var(--sd-color-background-white, var(--sd-color-white)) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1);width:var(--sd-spacing-1)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-scrollable")],n);export{n as a};
1
+ import{a as s}from"./chunk.CHU57RUD.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as k}from"./chunk.L6MCOH7T.js";import{a as T,b as h,c as b,d as u,h as y}from"./chunk.TIK62LTB.js";import{b as S,e as c}from"./chunk.RZUTJ36B.js";import{e as o}from"./chunk.TJOCV4DC.js";var n=class extends y{constructor(){super(...arguments);this.localize=new k(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,i=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,r={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&i,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},m=a.left&&!r.left,v=a.up&&!r.up,E=a.right&&!r.right,f=a.down&&!r.down;(m||v)&&this.dispatchEvent(new CustomEvent("start")),(E||f)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=r}handleScroll(t,i){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",r=!["mouse","touch"].includes((z=i==null?void 0:i.pointerType)!=null?z:""),m=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[m]:e});let v=`button-${t}`;this.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0}));let f=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&f<=0,H=a==="end"&&f>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),r?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,i){var r;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(r=i.target.querySelector("sd-icon"))==null||r.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",i="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${l("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${l("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${l("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${l("left top-0 left-0 w-[6px] h-full",i,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${l("right top-0 right-0 w-[6px] h-full",i,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${l("top top-0 left-0 w-full h-[6px]",i,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${l("bottom bottom-0 left-0 w-full h-[6px]",i,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,S`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([b()],n.prototype,"canScroll",2),o([b()],n.prototype,"isScrollHorizontalEnabled",2),o([b()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-scrollable")],n);export{n as a};
@@ -1,2 +1 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.45AHR6PI.js";import{b as m,e as s}from"./chunk.763RLJEK.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 i=this.getAllCheckboxes();await Promise.all(i.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 i=this.hasSlotController.test("label"),l=this.label?!0:i,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="${a("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="${a("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="${a({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="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.1.14 | 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:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:calc(var(--sd-spacing-1) * 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:calc(var(--sd-spacing-1) * 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}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.TIK62LTB.js";import{b as m,e as s}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.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 i=this.getAllCheckboxes();await Promise.all(i.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 i=this.hasSlotController.test("label"),l=this.label?!0:i,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="${a("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="${a("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="${a({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="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,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:var(--sd-spacing-0,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:var(--sd-spacing-0,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,4 +1,4 @@
1
- import{e as m,f as h,g as p}from"./chunk.763RLJEK.js";var v=Symbol.for(""),d=t=>{if((t==null?void 0:t.r)===v)return t==null?void 0:t._$litStatic$};var _=(t,...a)=>({_$litStatic$:a.reduce(((r,i,o)=>r+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but
1
+ import{e as m,f as h,g as p}from"./chunk.RZUTJ36B.js";var v=Symbol.for(""),d=t=>{if((t==null?void 0:t.r)===v)return t==null?void 0:t._$litStatic$};var _=(t,...a)=>({_$litStatic$:a.reduce(((r,i,o)=>r+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but
2
2
  take care to ensure page security.`)})(i)+t[o+1]),t[0]),r:v}),S=new Map,u=t=>(a,...r)=>{let i=r.length,o,e,l=[],c=[],n,s=0,$=!1;for(;s<i;){for(n=a[s];s<i&&(e=r[s],(o=d(e))!==void 0);)n+=o+a[++s],$=!0;s!==i&&c.push(e),l.push(n),s++}if(s===i&&l.push(a[i]),$){let f=l.join("$$lit$$");(a=S.get(f))===void 0&&(l.raw=l,S.set(f,a=l)),r=c}return t(a,...r)},w=u(m),b=u(h),x=u(p);export{_ as a,w as b};
3
3
  /*! Bundled license information:
4
4
 
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk.MWDEA25W.js";import{a as p}from"./chunk.E2DRD2OX.js";import{a as m,b as o,h as a}from"./chunk.TIK62LTB.js";import{b as l,e as c}from"./chunk.RZUTJ36B.js";import{e as s}from"./chunk.TJOCV4DC.js";var t=class extends a{constructor(){super(...arguments);this.mode="cors";this.allowScripts=!1}executeScript(e){let r=document.createElement("script");[...e.attributes].forEach(i=>r.setAttribute(i.name,i.value)),r.textContent=e.textContent,e.parentNode.replaceChild(r,e)}async handleSrcChange(){try{let e=this.src,r=await n(e,this.mode);if(e!==this.src)return;if(!r.ok){this.emit("sd-error",{detail:{status:r.status}});return}this.innerHTML=r.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach(i=>this.executeScript(i)),this.emit("sd-load")}catch(e){this.emit("sd-error",{detail:{status:-1}})}}render(){return c`<slot></slot>`}};t.styles=[...a.styles,l`:host{display:block}`],s([o({reflect:!0})],t.prototype,"src",2),s([o({type:String,reflect:!0})],t.prototype,"mode",2),s([o({attribute:"allow-scripts",type:Boolean,reflect:!0})],t.prototype,"allowScripts",2),s([p("src")],t.prototype,"handleSrcChange",1),t=s([m("sd-include")],t);export{t as a};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as v}from"./chunk.L6MCOH7T.js";import{a as c,b as o,d,h as l}from"./chunk.TIK62LTB.js";import{b as p,e as i}from"./chunk.RZUTJ36B.js";import{e as a}from"./chunk.TJOCV4DC.js";var e=class extends l{constructor(){super(...arguments);this.localize=new v(this);this.playing=!1;this.isBelowBreakpoint=!1;this.hasSlotController=new h(this,"[default]","play-icon","poster")}get poster(){let t=this.shadowRoot.querySelector("slot[name=poster]");return(t==null?void 0:t.assignedElements().length)>0?t.assignedElements()[0]:null}get video(){return this.querySelector("video")}async hidePoster(){this.poster instanceof HTMLImageElement&&(this.poster.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-medium",300))),this.poster.style.display="none")}setVideoInert(t){var s,n;t?(s=this.video)==null||s.setAttribute("inert",""):(n=this.video)==null||n.removeAttribute("inert")}play(){var t;this.emit("sd-play"),this.playing=!0,(t=this.video)==null||t.play(),this.hidePoster(),this.setVideoInert(!1)}handleKeydown(t){t instanceof KeyboardEvent&&(t.key==="Enter"||t.key===" ")&&(this.play(),setTimeout(()=>{var s;(s=this.video)==null||s.focus()}))}handleButtonResize(){this.hostEl.clientWidth<=414&&!this.isBelowBreakpoint&&(this.isBelowBreakpoint=!0),this.hostEl.clientWidth>414&&this.isBelowBreakpoint&&(this.isBelowBreakpoint=!1)}connectedCallback(){super.connectedCallback(),this.setVideoInert(!0),this.resizeObserver=new ResizeObserver(()=>this.handleButtonResize()),this.updateComplete.then(()=>{this.resizeObserver.observe(this.hostEl)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.hostEl)}render(){return i`<div part="base" class="cursor-pointer"><button part="play-button" aria-label="${this.localize.term("playVideo")}" tabindex="0" @click="${this.play}" @keydown="${this.handleKeydown}" class="${r(this.playing&&"pointer-events-none","group w-full h-full absolute top-0 left-0 z-30 text-primary hover:text-primary-500 sd-interactive sd-interactive--reset focus-visible:focus-outline")}"><div part="play-button-bg" class="${r(this.playing?"opacity-0":"opacity-100",this.isBelowBreakpoint?"w-[48px] h-[48px]":"w-[96px] h-[96px]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline")}"><slot name="play-icon" part="play-icon" class="${r(this.isBelowBreakpoint?"text-[2rem]":"text-[4rem]")}"><sd-icon id="default-play-icon" library="_internal" name="start"></sd-icon></slot></div></button> ${this.hasSlotController.test("poster")?i`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>`:null}<slot></slot></div>`}};e.styles=[...l.styles,p`:host{display:inline-block;overflow:hidden;position:relative}.play-pause-transition,::slotted([slot=poster]){--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:var(--sd-duration-medium,.3s);transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}#default-play-icon,::slotted([slot=play-icon]){left:50%;position:absolute;top:50%;--tw-translate-x:-50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:has([part=play-button]:hover) ::slotted([slot=poster]){--tw-scale-x:1.1!important;--tw-scale-y:1.1!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`],a([d("[part=base]")],e.prototype,"hostEl",2),a([o({type:Boolean,reflect:!0})],e.prototype,"playing",2),a([o({type:Boolean})],e.prototype,"isBelowBreakpoint",2),e=a([c("sd-video")],e);export{e as a};
@@ -0,0 +1,3 @@
1
+ import{a as f}from"./chunk.LIO6LMTQ.js";import{a as b}from"./chunk.EJI65G6N.js";import{b as c}from"./chunk.NRBNWX7R.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as m}from"./chunk.CHU57RUD.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a}from"./chunk.E2DRD2OX.js";import{a as h,b as l,c as u,d as s,h as n}from"./chunk.TIK62LTB.js";import{b as d,e as i}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new c(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,v)=>r.checked=v});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return i`<div class="flex flex-row items-center gap-2"><label part="base" class="${o("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${f(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${o(`relative flex flex-initial items-center justify-center border rounded-full h-4 w-8 transition-colors ease duration-100
2
+ peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
3
+ peer-focus-visible:outline-primary transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"border-neutral-500 bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:bg-accent-550 bg-accent hover:border-accent-550 group-hover:bg-accent-550":"border-neutral-800 bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${o("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"bg-white translate-x-2":this.disabled?"-translate-x-2 bg-neutral-500":this.showInvalidStyle?this.checked?"bg-white translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"bg-white translate-x-2":"bg-neutral-800 -translate-x-2")}"></span> </span><span part="label" id="label" class="${o("select-none inline-block ml-2",this.disabled?"text-neutral-500":this.showInvalidStyle?"text-error":"text-black")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?i`<slot name="tooltip"></slot>`:null}</div>${this.formControlController.renderInvalidMessage()}`}};e.styles=[...n.styles,d`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host([required]) #label:after{content:" *"}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([u()],e.prototype,"showInvalidStyle",2),t([l({type:String,reflect:!0})],e.prototype,"title",2),t([l({type:String,reflect:!0})],e.prototype,"name",2),t([l()],e.prototype,"value",2),t([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([l({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([l({reflect:!0})],e.prototype,"form",2),t([l({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([h("sd-switch")],e);export{e as a};
@@ -0,0 +1 @@
1
+ import{a as s}from"./chunk.CHU57RUD.js";import{a as o,b as l}from"./chunk.PVM2WKMA.js";import{a as n}from"./chunk.YEDQWNIV.js";import{a as u}from"./chunk.L6MCOH7T.js";import{a as h,b as i,d as p,h as a}from"./chunk.TIK62LTB.js";import{b as m}from"./chunk.RZUTJ36B.js";import{e as r}from"./chunk.TJOCV4DC.js";var e=class extends a{constructor(){super(...arguments);this.localize=new u(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),d=t?o`a`:this.removable?o`div`:o`button`;return l`<${d} part="base" type="${s(t?void 0:"button")}" href="${s(t?this.href:void 0)}" rel="${s(t&&this.target?"noreferrer noopener":void 0)}" target="${s(t?this.target:void 0)}" download="${s(t?this.download:void 0)}" ?disabled="${s(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${s(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||this.removable?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${n("inline-flex border box-border rounded-full items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 text-base gap-2",sm:"h-6 text-sm gap-1"}[this.size],{lg:this.removable?"pl-4 pr-3 py-2":"px-4 py-2",sm:this.removable?"pl-3 pr-2 py-2":"px-3 py-[5px]"}[this.size],this.selected?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":n("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?l`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-icon></slot></button>`:""}</${d}>`}};e.styles=[...a.styles,m`:host{display:inline-block;transition-duration:.15s;transition-duration:var(--sd-duration-fast,.15s);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([size=lg])::part(removable-indicator){font-size:var(--sd-font-size-base,1rem)}:host([size=sm])::part(removable-indicator){font-size:.75rem}`],r([p("a, button, div")],e.prototype,"tag",2),r([i({type:String,reflect:!0})],e.prototype,"size",2),r([i({type:Boolean,reflect:!0})],e.prototype,"selected",2),r([i({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"removable",2),r([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([i({type:String,reflect:!0})],e.prototype,"href",2),r([i({type:String,reflect:!0})],e.prototype,"target",2),r([i({reflect:!0})],e.prototype,"download",2),e=r([h("sd-tag")],e);export{e as a};