@solid-design-system/components 5.16.2 → 6.0.0-next.10

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 (872) hide show
  1. package/cdn/chunks/chunk.3KWSM3HE.js +131 -0
  2. package/cdn/chunks/chunk.42QSDOFZ.js +2 -0
  3. package/cdn/chunks/chunk.5JTFF5AT.js +12 -0
  4. package/{cdn-versioned/chunks/chunk.WMLPJIUB.js → cdn/chunks/chunk.5RSKIVMW.js} +2 -1
  5. package/{cdn-versioned/chunks/chunk.OLX6LCKD.js → cdn/chunks/chunk.5XCIF7VM.js} +2 -1
  6. package/cdn/chunks/chunk.6EV4YU6C.js +1 -0
  7. package/cdn/chunks/{chunk.RZUTJ36B.js → chunk.763RLJEK.js} +2 -2
  8. package/cdn/chunks/{chunk.L6MCOH7T.js → chunk.7BPPDSHY.js} +1 -1
  9. package/cdn/chunks/chunk.7DUJJLRP.js +2 -0
  10. package/cdn/chunks/chunk.A635DPC2.js +2 -0
  11. package/cdn/chunks/chunk.ABWFPSSV.js +2 -0
  12. package/cdn/chunks/{chunk.DAPRKASR.js → chunk.AGKFTS4V.js} +2 -1
  13. package/cdn/chunks/chunk.AROEX3UA.js +2 -0
  14. package/cdn/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
  15. package/cdn/chunks/chunk.BKG7F7B5.js +2 -0
  16. package/cdn/chunks/chunk.BKSJBL5E.js +2 -0
  17. package/cdn/chunks/chunk.C6Z7CZ3W.js +2 -0
  18. package/cdn/chunks/{chunk.HJ4O4XQA.js → chunk.CDP46OS4.js} +1 -1
  19. package/cdn/chunks/chunk.CNB7W63O.js +2 -0
  20. package/{cdn-versioned/chunks/chunk.Y3GIPFVP.js → cdn/chunks/chunk.CSLPZKLY.js} +1 -1
  21. package/cdn/chunks/{chunk.XR2KNB36.js → chunk.D4E5ZIRW.js} +1 -1
  22. package/cdn/chunks/chunk.DE35CSMY.js +2 -0
  23. package/cdn/chunks/{chunk.NYJKF5NP.js → chunk.DGGY7GIZ.js} +2 -1
  24. package/cdn/chunks/{chunk.PKBVHWYN.js → chunk.DRL32O7T.js} +2 -1
  25. package/cdn/chunks/chunk.E6SZIKQM.js +2 -0
  26. package/cdn/chunks/chunk.ENPYAXOE.js +2 -0
  27. package/cdn/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
  28. package/cdn/chunks/chunk.ESKMS5I6.js +1 -0
  29. package/cdn/chunks/chunk.EYS7HNYG.js +2 -0
  30. package/cdn/chunks/chunk.FINAIT37.js +2 -0
  31. package/cdn/chunks/chunk.GGYU7R3P.js +2 -0
  32. package/cdn/chunks/chunk.HY2WKWAC.js +2 -0
  33. package/cdn/chunks/chunk.I5Y2QPT3.js +2 -0
  34. package/cdn/chunks/{chunk.NRBNWX7R.js → chunk.JS2HQ2N4.js} +1 -1
  35. package/cdn/chunks/chunk.JTZTV6IT.js +2 -0
  36. package/cdn/chunks/chunk.JU7VODOQ.js +2 -0
  37. package/cdn/chunks/chunk.KGNOONCD.js +6 -0
  38. package/cdn/chunks/chunk.KQE6LCJN.js +2 -0
  39. package/cdn/chunks/chunk.L5Z24BYT.js +13 -0
  40. package/cdn/chunks/chunk.LHAM7T4R.js +2 -0
  41. package/cdn/chunks/{chunk.W32I6F46.js → chunk.M2DCP4OB.js} +2 -1
  42. package/{cdn-versioned/chunks/chunk.THIUBNOW.js → cdn/chunks/chunk.M44GRFPU.js} +2 -1
  43. package/cdn/chunks/chunk.MKSLYRY3.js +11 -0
  44. package/cdn/chunks/chunk.MMPRMEVR.js +2 -0
  45. package/cdn/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
  46. package/cdn/chunks/{chunk.AZMH6NZR.js → chunk.MWLFJFNU.js} +3 -2
  47. package/{cdn-versioned/chunks/chunk.EJI65G6N.js → cdn/chunks/chunk.N3WG3NAL.js} +1 -1
  48. package/cdn/chunks/{chunk.NOZRJQX2.js → chunk.N65PQLOJ.js} +3 -2
  49. package/cdn/chunks/chunk.NGH2BNC2.js +26 -0
  50. package/cdn/chunks/{chunk.CBQDWY5Y.js → chunk.NTBOXMGC.js} +2 -1
  51. package/cdn/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
  52. package/cdn/chunks/{chunk.3ZSLSQT3.js → chunk.OGFEOWB6.js} +2 -1
  53. package/cdn/chunks/{chunk.6KIASTDN.js → chunk.P2QGHBL7.js} +4 -3
  54. package/cdn/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
  55. package/cdn/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
  56. package/cdn/chunks/{chunk.LFJ4IYGZ.js → chunk.PYCKGVR7.js} +2 -1
  57. package/cdn/chunks/chunk.QKX355GW.js +2 -0
  58. package/{cdn-versioned/chunks/chunk.DLQQ7NIM.js → cdn/chunks/chunk.QRWT2N4I.js} +2 -1
  59. package/cdn/chunks/chunk.S27RPMBC.js +2 -0
  60. package/cdn/chunks/chunk.SEKMOB43.js +2 -0
  61. package/{cdn-versioned/chunks/chunk.4SX3FTTZ.js → cdn/chunks/chunk.SIY4LRPB.js} +1 -1
  62. package/cdn/chunks/chunk.TC6F6IX2.js +2 -0
  63. package/cdn/chunks/chunk.TJAJD3F6.js +2 -0
  64. package/{cdn-versioned/chunks/chunk.BS3WSQN5.js → cdn/chunks/chunk.TKL5EKMU.js} +2 -1
  65. package/{cdn-versioned/chunks/chunk.EOIYFHSR.js → cdn/chunks/chunk.TKQVKF3E.js} +4 -1
  66. package/cdn/chunks/chunk.UU3XBDYT.js +6 -0
  67. package/{cdn-versioned/chunks/chunk.LIO6LMTQ.js → cdn/chunks/chunk.VYBQ3X2B.js} +1 -1
  68. package/cdn/chunks/chunk.W27TIC2L.js +4 -0
  69. package/cdn/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
  70. package/cdn/chunks/chunk.WOHH2NDP.js +2 -0
  71. package/cdn/chunks/chunk.XMDIRWRK.js +2 -0
  72. package/{cdn-versioned/chunks/chunk.F7X5747H.js → cdn/chunks/chunk.XNCHZMSL.js} +2 -1
  73. package/cdn/chunks/chunk.XUSHLNK2.js +2 -0
  74. package/cdn/chunks/chunk.YBIUHV6M.js +2 -0
  75. package/cdn/chunks/chunk.YL2THGN4.js +6 -0
  76. package/cdn/chunks/chunk.YLQAFW2B.js +2 -0
  77. package/cdn/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
  78. package/cdn/chunks/chunk.YOX4EH5H.js +2 -0
  79. package/cdn/chunks/{chunk.6WJYMU5I.js → chunk.YPOLXCNH.js} +5 -4
  80. package/cdn/chunks/chunk.ZK6PLMFB.js +2 -0
  81. package/cdn/components/accordion/accordion.js +1 -1
  82. package/cdn/components/accordion-group/accordion-group.js +1 -1
  83. package/cdn/components/animation/animation.js +1 -1
  84. package/cdn/components/animation/animations.js +1 -1
  85. package/cdn/components/audio/audio.d.ts +1 -0
  86. package/cdn/components/audio/audio.js +1 -1
  87. package/cdn/components/audio/base64Audio.js +1 -1
  88. package/cdn/components/audio/wave.js +1 -1
  89. package/cdn/components/badge/badge.js +1 -1
  90. package/cdn/components/brandshape/brandshape.js +1 -1
  91. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  92. package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
  93. package/cdn/components/button/button.js +1 -1
  94. package/cdn/components/button-group/button-group.js +1 -1
  95. package/cdn/components/carousel/autoplay-controller.js +1 -1
  96. package/cdn/components/carousel/carousel.js +1 -1
  97. package/cdn/components/carousel/fade-controller.js +1 -1
  98. package/cdn/components/carousel/scroll-controller.js +1 -1
  99. package/cdn/components/carousel-item/carousel-item.js +1 -1
  100. package/cdn/components/checkbox/checkbox.js +1 -1
  101. package/cdn/components/checkbox-group/checkbox-group.js +1 -1
  102. package/cdn/components/combobox/combobox.js +1 -1
  103. package/cdn/components/combobox/option-renderer.js +1 -1
  104. package/cdn/components/combobox/utils.js +1 -1
  105. package/cdn/components/datepicker/datepicker.d.ts +1 -2
  106. package/cdn/components/datepicker/datepicker.js +1 -1
  107. package/cdn/components/dialog/dialog.js +1 -1
  108. package/cdn/components/divider/divider.js +1 -1
  109. package/cdn/components/drawer/drawer.js +1 -1
  110. package/cdn/components/dropdown/dropdown.js +1 -1
  111. package/cdn/components/expandable/expandable.js +1 -1
  112. package/cdn/components/flipcard/flipcard.js +1 -1
  113. package/cdn/components/header/header.js +1 -1
  114. package/cdn/components/icon/icon.d.ts +1 -0
  115. package/cdn/components/icon/icon.js +1 -1
  116. package/cdn/components/icon/library.d.ts +1 -1
  117. package/cdn/components/icon/library.default.js +1 -1
  118. package/cdn/components/icon/library.internal.d.ts +2 -0
  119. package/cdn/components/icon/library.internal.js +1 -1
  120. package/cdn/components/icon/library.js +1 -1
  121. package/cdn/components/icon/library.status.js +1 -1
  122. package/cdn/components/icon/request.js +1 -1
  123. package/cdn/components/include/include.js +1 -1
  124. package/cdn/components/include/request.js +1 -1
  125. package/cdn/components/input/input.js +1 -1
  126. package/cdn/components/link/link.js +1 -1
  127. package/cdn/components/loader/loader.js +1 -1
  128. package/cdn/components/map-marker/map-marker.js +1 -1
  129. package/cdn/components/menu/menu.js +1 -1
  130. package/cdn/components/menu-item/menu-item.js +1 -1
  131. package/cdn/components/menu-item/submenu-controller.js +1 -1
  132. package/cdn/components/navigation-item/navigation-item.js +1 -1
  133. package/cdn/components/notification/notification.js +1 -1
  134. package/cdn/components/optgroup/optgroup.js +1 -1
  135. package/cdn/components/option/option.js +1 -1
  136. package/cdn/components/popup/popup.js +1 -1
  137. package/cdn/components/quickfact/quickfact.js +1 -1
  138. package/cdn/components/radio/radio.js +1 -1
  139. package/cdn/components/radio-button/radio-button.js +1 -1
  140. package/cdn/components/radio-group/radio-group.js +1 -1
  141. package/cdn/components/range/range.d.ts +1 -1
  142. package/cdn/components/range/range.js +1 -1
  143. package/cdn/components/range/utils.js +1 -1
  144. package/cdn/components/range-tick/range-tick.js +1 -1
  145. package/cdn/components/scrollable/scrollable.js +1 -1
  146. package/cdn/components/select/select.js +1 -1
  147. package/cdn/components/spinner/spinner.js +1 -1
  148. package/cdn/components/step/step.js +1 -1
  149. package/cdn/components/step-group/step-group.js +1 -1
  150. package/cdn/components/switch/switch.js +1 -1
  151. package/cdn/components/tab/tab.js +1 -1
  152. package/cdn/components/tab-group/tab-group.js +1 -1
  153. package/cdn/components/tab-panel/tab-panel.js +1 -1
  154. package/cdn/components/tag/tag.js +1 -1
  155. package/cdn/components/teaser/teaser.js +1 -1
  156. package/cdn/components/teaser-media/teaser-media.js +1 -1
  157. package/cdn/components/textarea/textarea.js +1 -1
  158. package/cdn/components/theme-listener/theme-listener.d.ts +13 -0
  159. package/cdn/components/theme-listener/theme-listener.js +1 -0
  160. package/cdn/components/tooltip/tooltip.js +1 -1
  161. package/cdn/components/video/video.js +1 -1
  162. package/cdn/custom-elements.json +462 -16
  163. package/cdn/internal/longpress.d.ts +1 -1
  164. package/cdn/internal/solid-element.d.ts +5 -0
  165. package/cdn/internal/solid-element.js +61 -11
  166. package/cdn/internal/theme-observer.d.ts +9 -0
  167. package/cdn/internal/theme-observer.js +19 -0
  168. package/cdn/solid-components.bundle.js +194 -61
  169. package/cdn/solid-components.css +118 -32
  170. package/cdn/solid-components.d.ts +1 -0
  171. package/cdn/solid-components.iife.js +194 -61
  172. package/cdn/solid-components.js +1 -1
  173. package/cdn/translations/de.js +1 -1
  174. package/cdn/translations/en.js +1 -1
  175. package/cdn/utilities/animation-registry.js +1 -1
  176. package/cdn/utilities/animation.js +1 -1
  177. package/cdn/utilities/autocomplete-config.js +1 -1
  178. package/cdn/utilities/base-path.js +1 -1
  179. package/cdn/utilities/date.js +1 -1
  180. package/cdn/utilities/form.js +1 -1
  181. package/cdn/utilities/icon-library.js +1 -1
  182. package/cdn/utilities/localize.js +1 -1
  183. package/cdn/vscode.html-custom-data.json +47 -20
  184. package/cdn/web-types.json +71 -25
  185. package/cdn-versioned/chunks/chunk.3KWSM3HE.js +131 -0
  186. package/cdn-versioned/chunks/chunk.42QSDOFZ.js +2 -0
  187. package/cdn-versioned/chunks/chunk.5JTFF5AT.js +12 -0
  188. package/{cdn/chunks/chunk.WMLPJIUB.js → cdn-versioned/chunks/chunk.5RSKIVMW.js} +2 -1
  189. package/{cdn/chunks/chunk.OLX6LCKD.js → cdn-versioned/chunks/chunk.5XCIF7VM.js} +2 -1
  190. package/cdn-versioned/chunks/chunk.6EV4YU6C.js +1 -0
  191. package/cdn-versioned/chunks/{chunk.RZUTJ36B.js → chunk.763RLJEK.js} +2 -2
  192. package/cdn-versioned/chunks/{chunk.L6MCOH7T.js → chunk.7BPPDSHY.js} +1 -1
  193. package/cdn-versioned/chunks/chunk.7DUJJLRP.js +2 -0
  194. package/cdn-versioned/chunks/chunk.A635DPC2.js +2 -0
  195. package/cdn-versioned/chunks/chunk.ABWFPSSV.js +2 -0
  196. package/cdn-versioned/chunks/chunk.AGKFTS4V.js +2 -0
  197. package/cdn-versioned/chunks/chunk.AROEX3UA.js +2 -0
  198. package/cdn-versioned/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
  199. package/cdn-versioned/chunks/chunk.BKG7F7B5.js +2 -0
  200. package/cdn-versioned/chunks/chunk.BKSJBL5E.js +2 -0
  201. package/cdn-versioned/chunks/chunk.C6Z7CZ3W.js +2 -0
  202. package/cdn-versioned/chunks/chunk.CDP46OS4.js +10 -0
  203. package/cdn-versioned/chunks/chunk.CNB7W63O.js +2 -0
  204. package/{cdn/chunks/chunk.Y3GIPFVP.js → cdn-versioned/chunks/chunk.CSLPZKLY.js} +1 -1
  205. package/cdn-versioned/chunks/{chunk.XR2KNB36.js → chunk.D4E5ZIRW.js} +1 -1
  206. package/cdn-versioned/chunks/chunk.DE35CSMY.js +2 -0
  207. package/cdn-versioned/chunks/chunk.DGGY7GIZ.js +2 -0
  208. package/cdn-versioned/chunks/chunk.DRL32O7T.js +2 -0
  209. package/cdn-versioned/chunks/chunk.E6SZIKQM.js +2 -0
  210. package/cdn-versioned/chunks/chunk.ENPYAXOE.js +2 -0
  211. package/cdn-versioned/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
  212. package/cdn-versioned/chunks/chunk.ESKMS5I6.js +1 -0
  213. package/cdn-versioned/chunks/chunk.EYS7HNYG.js +2 -0
  214. package/cdn-versioned/chunks/chunk.FINAIT37.js +2 -0
  215. package/cdn-versioned/chunks/chunk.GGYU7R3P.js +2 -0
  216. package/cdn-versioned/chunks/chunk.HY2WKWAC.js +2 -0
  217. package/cdn-versioned/chunks/chunk.I5Y2QPT3.js +2 -0
  218. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -0
  219. package/cdn-versioned/chunks/chunk.JTZTV6IT.js +2 -0
  220. package/cdn-versioned/chunks/chunk.JU7VODOQ.js +2 -0
  221. package/cdn-versioned/chunks/chunk.KGNOONCD.js +6 -0
  222. package/cdn-versioned/chunks/chunk.KQE6LCJN.js +2 -0
  223. package/cdn-versioned/chunks/chunk.L5Z24BYT.js +13 -0
  224. package/cdn-versioned/chunks/chunk.LHAM7T4R.js +2 -0
  225. package/cdn-versioned/chunks/chunk.M2DCP4OB.js +2 -0
  226. package/{cdn/chunks/chunk.THIUBNOW.js → cdn-versioned/chunks/chunk.M44GRFPU.js} +2 -1
  227. package/cdn-versioned/chunks/chunk.MKSLYRY3.js +11 -0
  228. package/cdn-versioned/chunks/chunk.MMPRMEVR.js +2 -0
  229. package/cdn-versioned/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
  230. package/cdn-versioned/chunks/chunk.MWLFJFNU.js +5 -0
  231. package/{cdn/chunks/chunk.EJI65G6N.js → cdn-versioned/chunks/chunk.N3WG3NAL.js} +1 -1
  232. package/cdn-versioned/chunks/chunk.N65PQLOJ.js +4 -0
  233. package/cdn-versioned/chunks/chunk.NGH2BNC2.js +26 -0
  234. package/cdn-versioned/chunks/chunk.NTBOXMGC.js +2 -0
  235. package/cdn-versioned/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
  236. package/cdn-versioned/chunks/chunk.OGFEOWB6.js +2 -0
  237. package/cdn-versioned/chunks/chunk.P2QGHBL7.js +12 -0
  238. package/cdn-versioned/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
  239. package/cdn-versioned/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
  240. package/cdn-versioned/chunks/chunk.PYCKGVR7.js +12 -0
  241. package/cdn-versioned/chunks/chunk.QKX355GW.js +2 -0
  242. package/{cdn/chunks/chunk.DLQQ7NIM.js → cdn-versioned/chunks/chunk.QRWT2N4I.js} +2 -1
  243. package/cdn-versioned/chunks/chunk.S27RPMBC.js +2 -0
  244. package/cdn-versioned/chunks/chunk.SEKMOB43.js +2 -0
  245. package/{cdn/chunks/chunk.4SX3FTTZ.js → cdn-versioned/chunks/chunk.SIY4LRPB.js} +1 -1
  246. package/cdn-versioned/chunks/chunk.TC6F6IX2.js +2 -0
  247. package/cdn-versioned/chunks/chunk.TJAJD3F6.js +2 -0
  248. package/{cdn/chunks/chunk.BS3WSQN5.js → cdn-versioned/chunks/chunk.TKL5EKMU.js} +2 -1
  249. package/{cdn/chunks/chunk.EOIYFHSR.js → cdn-versioned/chunks/chunk.TKQVKF3E.js} +4 -1
  250. package/cdn-versioned/chunks/chunk.UU3XBDYT.js +6 -0
  251. package/{cdn/chunks/chunk.LIO6LMTQ.js → cdn-versioned/chunks/chunk.VYBQ3X2B.js} +1 -1
  252. package/cdn-versioned/chunks/chunk.W27TIC2L.js +4 -0
  253. package/cdn-versioned/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
  254. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  255. package/cdn-versioned/chunks/chunk.WOHH2NDP.js +2 -0
  256. package/cdn-versioned/chunks/chunk.XMDIRWRK.js +2 -0
  257. package/{cdn/chunks/chunk.F7X5747H.js → cdn-versioned/chunks/chunk.XNCHZMSL.js} +2 -1
  258. package/cdn-versioned/chunks/chunk.XUSHLNK2.js +2 -0
  259. package/cdn-versioned/chunks/chunk.YBIUHV6M.js +2 -0
  260. package/cdn-versioned/chunks/chunk.YL2THGN4.js +6 -0
  261. package/cdn-versioned/chunks/chunk.YLQAFW2B.js +2 -0
  262. package/cdn-versioned/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
  263. package/cdn-versioned/chunks/chunk.YOX4EH5H.js +2 -0
  264. package/cdn-versioned/chunks/chunk.YPOLXCNH.js +12 -0
  265. package/cdn-versioned/chunks/chunk.ZK6PLMFB.js +2 -0
  266. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  267. package/cdn-versioned/components/accordion/accordion.js +1 -1
  268. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  269. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  270. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  271. package/cdn-versioned/components/animation/animation.js +1 -1
  272. package/cdn-versioned/components/animation/animations.js +1 -1
  273. package/cdn-versioned/components/audio/audio.d.ts +2 -1
  274. package/cdn-versioned/components/audio/audio.js +1 -1
  275. package/cdn-versioned/components/audio/base64Audio.js +1 -1
  276. package/cdn-versioned/components/audio/wave.js +1 -1
  277. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  278. package/cdn-versioned/components/badge/badge.js +1 -1
  279. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  280. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  281. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  282. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  283. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  284. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  285. package/cdn-versioned/components/button/button.d.ts +1 -1
  286. package/cdn-versioned/components/button/button.js +1 -1
  287. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  288. package/cdn-versioned/components/button-group/button-group.js +1 -1
  289. package/cdn-versioned/components/carousel/autoplay-controller.js +1 -1
  290. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  291. package/cdn-versioned/components/carousel/carousel.js +1 -1
  292. package/cdn-versioned/components/carousel/fade-controller.js +1 -1
  293. package/cdn-versioned/components/carousel/scroll-controller.js +1 -1
  294. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  295. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  296. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  297. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  298. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  299. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  300. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  301. package/cdn-versioned/components/combobox/combobox.js +1 -1
  302. package/cdn-versioned/components/combobox/option-renderer.js +1 -1
  303. package/cdn-versioned/components/combobox/utils.js +1 -1
  304. package/cdn-versioned/components/datepicker/datepicker.d.ts +2 -3
  305. package/cdn-versioned/components/datepicker/datepicker.js +1 -1
  306. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  307. package/cdn-versioned/components/dialog/dialog.js +1 -1
  308. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  309. package/cdn-versioned/components/divider/divider.js +1 -1
  310. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  311. package/cdn-versioned/components/drawer/drawer.js +1 -1
  312. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  313. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  314. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  315. package/cdn-versioned/components/expandable/expandable.js +1 -1
  316. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  317. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  318. package/cdn-versioned/components/header/header.d.ts +1 -1
  319. package/cdn-versioned/components/header/header.js +1 -1
  320. package/cdn-versioned/components/icon/icon.d.ts +2 -1
  321. package/cdn-versioned/components/icon/icon.js +1 -1
  322. package/cdn-versioned/components/icon/library.d.ts +1 -1
  323. package/cdn-versioned/components/icon/library.default.js +1 -1
  324. package/cdn-versioned/components/icon/library.internal.d.ts +2 -0
  325. package/cdn-versioned/components/icon/library.internal.js +1 -1
  326. package/cdn-versioned/components/icon/library.js +1 -1
  327. package/cdn-versioned/components/icon/library.status.js +1 -1
  328. package/cdn-versioned/components/icon/request.js +1 -1
  329. package/cdn-versioned/components/include/include.d.ts +1 -1
  330. package/cdn-versioned/components/include/include.js +1 -1
  331. package/cdn-versioned/components/include/request.js +1 -1
  332. package/cdn-versioned/components/input/input.d.ts +1 -1
  333. package/cdn-versioned/components/input/input.js +1 -1
  334. package/cdn-versioned/components/link/link.d.ts +1 -1
  335. package/cdn-versioned/components/link/link.js +1 -1
  336. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  337. package/cdn-versioned/components/loader/loader.js +1 -1
  338. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  339. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  340. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  341. package/cdn-versioned/components/menu/menu.js +1 -1
  342. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  343. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  344. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
  345. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  346. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  347. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  348. package/cdn-versioned/components/notification/notification.js +1 -1
  349. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  350. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  351. package/cdn-versioned/components/option/option.d.ts +1 -1
  352. package/cdn-versioned/components/option/option.js +1 -1
  353. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  354. package/cdn-versioned/components/popup/popup.js +1 -1
  355. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  356. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  357. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  358. package/cdn-versioned/components/radio/radio.js +1 -1
  359. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  360. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  361. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  362. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  363. package/cdn-versioned/components/range/range.d.ts +2 -2
  364. package/cdn-versioned/components/range/range.js +1 -1
  365. package/cdn-versioned/components/range/utils.js +1 -1
  366. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  367. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  368. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  369. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  370. package/cdn-versioned/components/select/select.d.ts +1 -1
  371. package/cdn-versioned/components/select/select.js +1 -1
  372. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  373. package/cdn-versioned/components/spinner/spinner.js +1 -1
  374. package/cdn-versioned/components/step/step.d.ts +1 -1
  375. package/cdn-versioned/components/step/step.js +1 -1
  376. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  377. package/cdn-versioned/components/step-group/step-group.js +1 -1
  378. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  379. package/cdn-versioned/components/switch/switch.js +1 -1
  380. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  381. package/cdn-versioned/components/tab/tab.js +1 -1
  382. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  383. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  384. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  385. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  386. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  387. package/cdn-versioned/components/tag/tag.js +1 -1
  388. package/cdn-versioned/components/teaser/teaser.js +1 -1
  389. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  390. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  391. package/cdn-versioned/components/textarea/textarea.js +1 -1
  392. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +13 -0
  393. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -0
  394. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  395. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  396. package/cdn-versioned/components/video/video.d.ts +1 -1
  397. package/cdn-versioned/components/video/video.js +1 -1
  398. package/cdn-versioned/custom-elements.json +707 -261
  399. package/cdn-versioned/internal/form.js +3 -3
  400. package/cdn-versioned/internal/longpress.d.ts +1 -1
  401. package/cdn-versioned/internal/solid-element.d.ts +5 -0
  402. package/cdn-versioned/internal/solid-element.js +61 -11
  403. package/cdn-versioned/internal/theme-observer.d.ts +9 -0
  404. package/cdn-versioned/internal/theme-observer.js +19 -0
  405. package/cdn-versioned/solid-components.bundle.js +194 -61
  406. package/cdn-versioned/solid-components.css +118 -32
  407. package/cdn-versioned/solid-components.d.ts +1 -0
  408. package/cdn-versioned/solid-components.iife.js +194 -61
  409. package/cdn-versioned/solid-components.js +1 -1
  410. package/cdn-versioned/translations/de.js +1 -1
  411. package/cdn-versioned/translations/en.js +1 -1
  412. package/cdn-versioned/utilities/animation-registry.js +1 -1
  413. package/cdn-versioned/utilities/animation.js +1 -1
  414. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  415. package/cdn-versioned/utilities/base-path.js +1 -1
  416. package/cdn-versioned/utilities/date.js +1 -1
  417. package/cdn-versioned/utilities/form.js +1 -1
  418. package/cdn-versioned/utilities/icon-library.js +1 -1
  419. package/cdn-versioned/utilities/localize.js +1 -1
  420. package/cdn-versioned/vscode.html-custom-data.json +132 -105
  421. package/cdn-versioned/web-types.json +224 -178
  422. package/dist/chunks/{chunk.7FMGPUZF.js → chunk.2LOD5KZ2.js} +23 -51
  423. package/dist/chunks/{chunk.7QAWQQC2.js → chunk.3EAQUDVX.js} +8 -4
  424. package/dist/chunks/{chunk.TWLOCD6V.js → chunk.3OSNOL5U.js} +3 -2
  425. package/dist/chunks/{chunk.U3IJ4WDG.js → chunk.3WAKJXC7.js} +12 -6
  426. package/dist/chunks/{chunk.W5ZR6XJP.js → chunk.45QURS66.js} +6 -6
  427. package/dist/chunks/{chunk.2SR73L2N.js → chunk.4EJCZJS5.js} +3 -2
  428. package/dist/chunks/{chunk.AXFVYO5L.js → chunk.4KJL7PWN.js} +25 -18
  429. package/dist/chunks/{chunk.PB672B5H.js → chunk.4ONB2X42.js} +3 -2
  430. package/dist/chunks/{chunk.72VNUTTV.js → chunk.5NGEWIDT.js} +6 -13
  431. package/dist/chunks/{chunk.LLUTMJ6Y.js → chunk.6NX4UFZ2.js} +6 -5
  432. package/dist/chunks/{chunk.G3JK5J7P.js → chunk.7AKNXMU5.js} +3 -2
  433. package/dist/chunks/{chunk.JGH3YXMX.js → chunk.7E266GEE.js} +4 -3
  434. package/dist/chunks/{chunk.BWFYNOYR.js → chunk.7G5MPXI5.js} +3 -2
  435. package/dist/chunks/{chunk.XU2JEV5G.js → chunk.7LMQWHWZ.js} +3 -2
  436. package/dist/chunks/{chunk.7IR6CJSO.js → chunk.BT2RD2DF.js} +3 -2
  437. package/dist/chunks/{chunk.QL6JHFGU.js → chunk.BU7OTNWJ.js} +4 -3
  438. package/dist/chunks/{chunk.UKB75H6A.js → chunk.D3ZIAWAS.js} +3 -2
  439. package/dist/chunks/{chunk.XF7G3LFU.js → chunk.DOSY3RO6.js} +8 -5
  440. package/dist/chunks/{chunk.5USUIHQC.js → chunk.EOM74YUX.js} +3 -2
  441. package/dist/chunks/{chunk.XR6GLQWM.js → chunk.F6DMUORL.js} +6 -5
  442. package/dist/chunks/{chunk.QV5WLO4L.js → chunk.FP53SHVC.js} +15 -12
  443. package/dist/chunks/{chunk.PJPWXQY7.js → chunk.G35YGZGY.js} +12 -5
  444. package/dist/chunks/{chunk.QFW772DW.js → chunk.GVTX3XFV.js} +4 -3
  445. package/dist/chunks/{chunk.UVOGBJGP.js → chunk.GYXMDYGY.js} +2 -2
  446. package/dist/chunks/{chunk.GUZQ4ADZ.js → chunk.HW6HHXIA.js} +3 -2
  447. package/dist/chunks/{chunk.4DHEQEYR.js → chunk.IHMP2FLZ.js} +3 -2
  448. package/dist/chunks/{chunk.YJF7I33G.js → chunk.III3H5Q5.js} +9 -8
  449. package/dist/chunks/{chunk.ABLPLQOM.js → chunk.IR5S4ZJW.js} +3 -2
  450. package/dist/chunks/{chunk.RCBOBERD.js → chunk.IVMNN7PD.js} +4 -3
  451. package/dist/chunks/{chunk.44BJS2SJ.js → chunk.J7R664XW.js} +3 -2
  452. package/dist/chunks/{chunk.QVBR2RUV.js → chunk.KHZGGTNG.js} +11 -4
  453. package/{dist-versioned/chunks/chunk.7VPFFNHR.js → dist/chunks/chunk.KPAQRMCC.js} +2 -2
  454. package/dist/chunks/{chunk.AQI2R5GT.js → chunk.KV6O4JKY.js} +6 -5
  455. package/dist/chunks/{chunk.EOLLVTEE.js → chunk.LFALNFL4.js} +3 -2
  456. package/dist/chunks/{chunk.43SFOPTI.js → chunk.LGQNDJQD.js} +4 -3
  457. package/dist/chunks/chunk.LQ24JRNU.js +61 -0
  458. package/dist/chunks/{chunk.DKBTK7VW.js → chunk.LQ7R2MQ6.js} +3 -2
  459. package/dist/chunks/{chunk.7MXI26GR.js → chunk.MHXEKBFV.js} +4 -3
  460. package/dist/chunks/{chunk.YN47LYT7.js → chunk.MJNLND6K.js} +6 -5
  461. package/dist/chunks/{chunk.7JUNYBWC.js → chunk.MJUJAQNQ.js} +5 -4
  462. package/dist/chunks/{chunk.ERJOEJ54.js → chunk.NR2DVPGM.js} +3 -2
  463. package/dist/chunks/chunk.O6MXNSO7.js +185 -0
  464. package/dist/chunks/{chunk.4VTG7PRD.js → chunk.OMPDPGH5.js} +3 -2
  465. package/dist/chunks/{chunk.ANLMAOKA.js → chunk.OOQJUJ6I.js} +4 -3
  466. package/dist/chunks/{chunk.2CAP3Q56.js → chunk.PSSQMTQR.js} +3 -2
  467. package/dist/chunks/{chunk.3YQ55DEG.js → chunk.Q4FPANWO.js} +7 -2
  468. package/dist/chunks/{chunk.WV4BVBH5.js → chunk.RAQ2D77P.js} +3 -2
  469. package/dist/chunks/{chunk.BLKVBNBL.js → chunk.RNGYBTSG.js} +3 -2
  470. package/dist/chunks/{chunk.O7O2LFXK.js → chunk.RW2CZCB6.js} +7 -6
  471. package/dist/chunks/{chunk.VZBVZB3D.js → chunk.RZ25EJTH.js} +6 -5
  472. package/dist/chunks/{chunk.7YENJBA2.js → chunk.SCQMKPYV.js} +3 -2
  473. package/dist/chunks/{chunk.UFU7P2YD.js → chunk.THINDL47.js} +6 -5
  474. package/dist/chunks/{chunk.ZSD3BEVL.js → chunk.TUBLVHUZ.js} +6 -5
  475. package/dist/chunks/{chunk.TED3AFLN.js → chunk.U4UW3Z6I.js} +3 -2
  476. package/dist/chunks/{chunk.ZEBYA7QQ.js → chunk.UEDXLQJL.js} +4 -3
  477. package/dist/chunks/{chunk.FK2BNPQB.js → chunk.UIOWGZAC.js} +4 -3
  478. package/dist/chunks/{chunk.CKLEIUJP.js → chunk.UX6W6RHQ.js} +24 -13
  479. package/dist/chunks/{chunk.V257WRGF.js → chunk.VNDNOSVL.js} +3 -2
  480. package/dist/chunks/{chunk.6DKXZWRN.js → chunk.WN5EV4N3.js} +2 -1
  481. package/dist/chunks/chunk.XZHOUXTG.js +93 -0
  482. package/dist/chunks/{chunk.RRDLKLEV.js → chunk.Y3UAVDEY.js} +5 -4
  483. package/dist/chunks/{chunk.G4FXGRRH.js → chunk.Y5G2FYUM.js} +6 -5
  484. package/dist/chunks/{chunk.VCV7HS44.js → chunk.Z5QSVE4H.js} +5 -4
  485. package/dist/components/accordion/accordion.js +6 -6
  486. package/dist/components/accordion-group/accordion-group.js +7 -7
  487. package/dist/components/animation/animation.js +2 -2
  488. package/dist/components/audio/audio.d.ts +1 -0
  489. package/dist/components/audio/audio.js +9 -9
  490. package/dist/components/badge/badge.js +2 -2
  491. package/dist/components/brandshape/brandshape.js +2 -2
  492. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  493. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  494. package/dist/components/button/button.js +3 -3
  495. package/dist/components/button-group/button-group.js +2 -2
  496. package/dist/components/carousel/carousel.js +7 -7
  497. package/dist/components/carousel-item/carousel-item.js +2 -2
  498. package/dist/components/checkbox/checkbox.js +6 -6
  499. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  500. package/dist/components/combobox/combobox.js +8 -8
  501. package/dist/components/datepicker/datepicker.d.ts +1 -2
  502. package/dist/components/datepicker/datepicker.js +2 -2
  503. package/dist/components/dialog/dialog.js +8 -8
  504. package/dist/components/divider/divider.js +2 -2
  505. package/dist/components/drawer/drawer.js +8 -8
  506. package/dist/components/dropdown/dropdown.js +3 -3
  507. package/dist/components/expandable/expandable.js +6 -6
  508. package/dist/components/flipcard/flipcard.js +8 -8
  509. package/dist/components/header/header.js +2 -2
  510. package/dist/components/icon/icon.d.ts +1 -0
  511. package/dist/components/icon/icon.js +5 -5
  512. package/dist/components/icon/library.d.ts +1 -1
  513. package/dist/components/icon/library.default.js +1 -1
  514. package/dist/components/icon/library.internal.d.ts +2 -0
  515. package/dist/components/icon/library.internal.js +1 -1
  516. package/dist/components/icon/library.js +3 -3
  517. package/dist/components/include/include.js +2 -2
  518. package/dist/components/input/input.js +6 -6
  519. package/dist/components/link/link.js +2 -2
  520. package/dist/components/loader/loader.js +2 -2
  521. package/dist/components/map-marker/map-marker.js +2 -2
  522. package/dist/components/menu/menu.js +2 -2
  523. package/dist/components/menu-item/menu-item.js +2 -2
  524. package/dist/components/navigation-item/navigation-item.js +7 -7
  525. package/dist/components/notification/notification.js +8 -8
  526. package/dist/components/optgroup/optgroup.js +3 -3
  527. package/dist/components/option/option.js +6 -6
  528. package/dist/components/popup/popup.js +2 -2
  529. package/dist/components/quickfact/quickfact.js +7 -7
  530. package/dist/components/radio/radio.js +2 -2
  531. package/dist/components/radio-button/radio-button.js +2 -2
  532. package/dist/components/radio-group/radio-group.js +4 -4
  533. package/dist/components/range/range.d.ts +1 -1
  534. package/dist/components/range/range.js +2 -2
  535. package/dist/components/range-tick/range-tick.js +2 -2
  536. package/dist/components/scrollable/scrollable.js +6 -6
  537. package/dist/components/select/select.js +8 -8
  538. package/dist/components/spinner/spinner.js +2 -2
  539. package/dist/components/step/step.js +6 -6
  540. package/dist/components/step-group/step-group.js +2 -2
  541. package/dist/components/switch/switch.js +2 -2
  542. package/dist/components/tab/tab.js +2 -2
  543. package/dist/components/tab-group/tab-group.js +6 -6
  544. package/dist/components/tab-panel/tab-panel.js +2 -2
  545. package/dist/components/tag/tag.js +6 -6
  546. package/dist/components/teaser/teaser.js +2 -2
  547. package/dist/components/teaser-media/teaser-media.js +2 -2
  548. package/dist/components/textarea/textarea.js +6 -6
  549. package/dist/components/theme-listener/theme-listener.d.ts +13 -0
  550. package/dist/components/theme-listener/theme-listener.js +9 -0
  551. package/dist/components/tooltip/tooltip.js +7 -7
  552. package/dist/components/video/video.js +6 -6
  553. package/dist/custom-elements.json +462 -16
  554. package/dist/internal/longpress.d.ts +1 -1
  555. package/dist/internal/solid-element.d.ts +5 -0
  556. package/dist/internal/solid-element.js +61 -11
  557. package/dist/internal/theme-observer.d.ts +9 -0
  558. package/dist/internal/theme-observer.js +19 -0
  559. package/dist/solid-components.css +118 -32
  560. package/dist/solid-components.d.ts +1 -0
  561. package/dist/solid-components.js +68 -64
  562. package/dist/utilities/autocomplete-config.js +3 -3
  563. package/dist/utilities/icon-library.js +3 -3
  564. package/dist/vscode.html-custom-data.json +47 -20
  565. package/dist/web-types.json +71 -25
  566. package/dist-versioned/chunks/{chunk.7FMGPUZF.js → chunk.2LOD5KZ2.js} +27 -55
  567. package/dist-versioned/chunks/{chunk.7QAWQQC2.js → chunk.3EAQUDVX.js} +9 -5
  568. package/dist-versioned/chunks/{chunk.TWLOCD6V.js → chunk.3OSNOL5U.js} +7 -6
  569. package/dist-versioned/chunks/chunk.3WAKJXC7.js +78 -0
  570. package/dist-versioned/chunks/{chunk.W5ZR6XJP.js → chunk.45QURS66.js} +7 -7
  571. package/dist-versioned/chunks/{chunk.2SR73L2N.js → chunk.4EJCZJS5.js} +4 -3
  572. package/dist-versioned/chunks/{chunk.AXFVYO5L.js → chunk.4KJL7PWN.js} +28 -21
  573. package/dist-versioned/chunks/{chunk.PB672B5H.js → chunk.4ONB2X42.js} +4 -3
  574. package/dist-versioned/chunks/{chunk.72VNUTTV.js → chunk.5NGEWIDT.js} +7 -14
  575. package/dist-versioned/chunks/{chunk.LLUTMJ6Y.js → chunk.6NX4UFZ2.js} +31 -30
  576. package/dist-versioned/chunks/{chunk.G3JK5J7P.js → chunk.7AKNXMU5.js} +4 -3
  577. package/dist-versioned/chunks/{chunk.JGH3YXMX.js → chunk.7E266GEE.js} +15 -14
  578. package/dist-versioned/chunks/{chunk.BWFYNOYR.js → chunk.7G5MPXI5.js} +5 -4
  579. package/dist-versioned/chunks/{chunk.XU2JEV5G.js → chunk.7LMQWHWZ.js} +8 -7
  580. package/dist-versioned/chunks/{chunk.7IR6CJSO.js → chunk.BT2RD2DF.js} +5 -4
  581. package/dist-versioned/chunks/{chunk.QL6JHFGU.js → chunk.BU7OTNWJ.js} +7 -6
  582. package/dist-versioned/chunks/{chunk.UKB75H6A.js → chunk.D3ZIAWAS.js} +7 -6
  583. package/dist-versioned/chunks/{chunk.XF7G3LFU.js → chunk.DOSY3RO6.js} +10 -7
  584. package/dist-versioned/chunks/{chunk.5USUIHQC.js → chunk.EOM74YUX.js} +10 -9
  585. package/dist-versioned/chunks/{chunk.XR6GLQWM.js → chunk.F6DMUORL.js} +8 -7
  586. package/dist-versioned/chunks/{chunk.QV5WLO4L.js → chunk.FP53SHVC.js} +18 -15
  587. package/dist-versioned/chunks/{chunk.PJPWXQY7.js → chunk.G35YGZGY.js} +17 -10
  588. package/dist-versioned/chunks/{chunk.QFW772DW.js → chunk.GVTX3XFV.js} +16 -15
  589. package/dist-versioned/chunks/{chunk.UVOGBJGP.js → chunk.GYXMDYGY.js} +2 -2
  590. package/dist-versioned/chunks/{chunk.GUZQ4ADZ.js → chunk.HW6HHXIA.js} +4 -3
  591. package/dist-versioned/chunks/{chunk.4DHEQEYR.js → chunk.IHMP2FLZ.js} +5 -4
  592. package/dist-versioned/chunks/{chunk.YJF7I33G.js → chunk.III3H5Q5.js} +15 -14
  593. package/dist-versioned/chunks/{chunk.ABLPLQOM.js → chunk.IR5S4ZJW.js} +7 -6
  594. package/dist-versioned/chunks/{chunk.RCBOBERD.js → chunk.IVMNN7PD.js} +6 -5
  595. package/dist-versioned/chunks/{chunk.44BJS2SJ.js → chunk.J7R664XW.js} +5 -4
  596. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  597. package/dist-versioned/chunks/{chunk.QVBR2RUV.js → chunk.KHZGGTNG.js} +12 -5
  598. package/{dist/chunks/chunk.7VPFFNHR.js → dist-versioned/chunks/chunk.KPAQRMCC.js} +2 -2
  599. package/dist-versioned/chunks/{chunk.AQI2R5GT.js → chunk.KV6O4JKY.js} +8 -7
  600. package/dist-versioned/chunks/{chunk.EOLLVTEE.js → chunk.LFALNFL4.js} +4 -3
  601. package/dist-versioned/chunks/{chunk.43SFOPTI.js → chunk.LGQNDJQD.js} +5 -4
  602. package/dist-versioned/chunks/chunk.LQ24JRNU.js +61 -0
  603. package/dist-versioned/chunks/{chunk.DKBTK7VW.js → chunk.LQ7R2MQ6.js} +14 -13
  604. package/dist-versioned/chunks/{chunk.7MXI26GR.js → chunk.MHXEKBFV.js} +9 -8
  605. package/dist-versioned/chunks/{chunk.YN47LYT7.js → chunk.MJNLND6K.js} +8 -7
  606. package/dist-versioned/chunks/{chunk.7JUNYBWC.js → chunk.MJUJAQNQ.js} +6 -5
  607. package/dist-versioned/chunks/{chunk.ERJOEJ54.js → chunk.NR2DVPGM.js} +7 -6
  608. package/dist-versioned/chunks/chunk.O6MXNSO7.js +185 -0
  609. package/dist-versioned/chunks/{chunk.4VTG7PRD.js → chunk.OMPDPGH5.js} +4 -3
  610. package/dist-versioned/chunks/{chunk.ANLMAOKA.js → chunk.OOQJUJ6I.js} +5 -4
  611. package/dist-versioned/chunks/{chunk.2CAP3Q56.js → chunk.PSSQMTQR.js} +4 -3
  612. package/dist-versioned/chunks/{chunk.3YQ55DEG.js → chunk.Q4FPANWO.js} +9 -4
  613. package/dist-versioned/chunks/{chunk.WV4BVBH5.js → chunk.RAQ2D77P.js} +5 -4
  614. package/dist-versioned/chunks/{chunk.BLKVBNBL.js → chunk.RNGYBTSG.js} +4 -3
  615. package/dist-versioned/chunks/{chunk.O7O2LFXK.js → chunk.RW2CZCB6.js} +8 -7
  616. package/dist-versioned/chunks/{chunk.VZBVZB3D.js → chunk.RZ25EJTH.js} +8 -7
  617. package/dist-versioned/chunks/{chunk.7YENJBA2.js → chunk.SCQMKPYV.js} +4 -3
  618. package/dist-versioned/chunks/{chunk.UFU7P2YD.js → chunk.THINDL47.js} +8 -7
  619. package/dist-versioned/chunks/{chunk.ZSD3BEVL.js → chunk.TUBLVHUZ.js} +29 -28
  620. package/dist-versioned/chunks/{chunk.TED3AFLN.js → chunk.U4UW3Z6I.js} +5 -4
  621. package/dist-versioned/chunks/{chunk.ZEBYA7QQ.js → chunk.UEDXLQJL.js} +6 -5
  622. package/dist-versioned/chunks/{chunk.FK2BNPQB.js → chunk.UIOWGZAC.js} +16 -15
  623. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  624. package/dist-versioned/chunks/{chunk.CKLEIUJP.js → chunk.UX6W6RHQ.js} +26 -15
  625. package/dist-versioned/chunks/{chunk.V257WRGF.js → chunk.VNDNOSVL.js} +4 -3
  626. package/dist-versioned/chunks/chunk.WN5EV4N3.js +70 -0
  627. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  628. package/dist-versioned/chunks/chunk.XZHOUXTG.js +93 -0
  629. package/dist-versioned/chunks/{chunk.RRDLKLEV.js → chunk.Y3UAVDEY.js} +7 -6
  630. package/dist-versioned/chunks/{chunk.G4FXGRRH.js → chunk.Y5G2FYUM.js} +8 -7
  631. package/dist-versioned/chunks/{chunk.VCV7HS44.js → chunk.Z5QSVE4H.js} +6 -5
  632. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  633. package/dist-versioned/components/accordion/accordion.js +6 -6
  634. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  635. package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
  636. package/dist-versioned/components/animation/animation.d.ts +1 -1
  637. package/dist-versioned/components/animation/animation.js +2 -2
  638. package/dist-versioned/components/audio/audio.d.ts +2 -1
  639. package/dist-versioned/components/audio/audio.js +9 -9
  640. package/dist-versioned/components/badge/badge.d.ts +1 -1
  641. package/dist-versioned/components/badge/badge.js +2 -2
  642. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  643. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  644. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  645. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  646. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  647. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  648. package/dist-versioned/components/button/button.d.ts +1 -1
  649. package/dist-versioned/components/button/button.js +3 -3
  650. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  651. package/dist-versioned/components/button-group/button-group.js +2 -2
  652. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  653. package/dist-versioned/components/carousel/carousel.js +7 -7
  654. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  655. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  656. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  657. package/dist-versioned/components/checkbox/checkbox.js +6 -6
  658. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  659. package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
  660. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  661. package/dist-versioned/components/combobox/combobox.js +8 -8
  662. package/dist-versioned/components/datepicker/datepicker.d.ts +2 -3
  663. package/dist-versioned/components/datepicker/datepicker.js +2 -2
  664. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  665. package/dist-versioned/components/dialog/dialog.js +8 -8
  666. package/dist-versioned/components/divider/divider.d.ts +1 -1
  667. package/dist-versioned/components/divider/divider.js +2 -2
  668. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  669. package/dist-versioned/components/drawer/drawer.js +8 -8
  670. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  671. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  672. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  673. package/dist-versioned/components/expandable/expandable.js +6 -6
  674. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  675. package/dist-versioned/components/flipcard/flipcard.js +8 -8
  676. package/dist-versioned/components/header/header.d.ts +1 -1
  677. package/dist-versioned/components/header/header.js +2 -2
  678. package/dist-versioned/components/icon/icon.d.ts +2 -1
  679. package/dist-versioned/components/icon/icon.js +5 -5
  680. package/dist-versioned/components/icon/library.d.ts +1 -1
  681. package/dist-versioned/components/icon/library.default.js +1 -1
  682. package/dist-versioned/components/icon/library.internal.d.ts +2 -0
  683. package/dist-versioned/components/icon/library.internal.js +1 -1
  684. package/dist-versioned/components/icon/library.js +3 -3
  685. package/dist-versioned/components/include/include.d.ts +1 -1
  686. package/dist-versioned/components/include/include.js +2 -2
  687. package/dist-versioned/components/input/input.d.ts +1 -1
  688. package/dist-versioned/components/input/input.js +6 -6
  689. package/dist-versioned/components/link/link.d.ts +1 -1
  690. package/dist-versioned/components/link/link.js +2 -2
  691. package/dist-versioned/components/loader/loader.d.ts +1 -1
  692. package/dist-versioned/components/loader/loader.js +2 -2
  693. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  694. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  695. package/dist-versioned/components/menu/menu.d.ts +1 -1
  696. package/dist-versioned/components/menu/menu.js +2 -2
  697. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  698. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  699. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  700. package/dist-versioned/components/navigation-item/navigation-item.js +7 -7
  701. package/dist-versioned/components/notification/notification.d.ts +1 -1
  702. package/dist-versioned/components/notification/notification.js +8 -8
  703. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  704. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  705. package/dist-versioned/components/option/option.d.ts +1 -1
  706. package/dist-versioned/components/option/option.js +6 -6
  707. package/dist-versioned/components/popup/popup.d.ts +1 -1
  708. package/dist-versioned/components/popup/popup.js +2 -2
  709. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  710. package/dist-versioned/components/quickfact/quickfact.js +7 -7
  711. package/dist-versioned/components/radio/radio.d.ts +1 -1
  712. package/dist-versioned/components/radio/radio.js +2 -2
  713. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  714. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  715. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  716. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  717. package/dist-versioned/components/range/range.d.ts +2 -2
  718. package/dist-versioned/components/range/range.js +2 -2
  719. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  720. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  721. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  722. package/dist-versioned/components/scrollable/scrollable.js +6 -6
  723. package/dist-versioned/components/select/select.d.ts +1 -1
  724. package/dist-versioned/components/select/select.js +8 -8
  725. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  726. package/dist-versioned/components/spinner/spinner.js +2 -2
  727. package/dist-versioned/components/step/step.d.ts +1 -1
  728. package/dist-versioned/components/step/step.js +6 -6
  729. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  730. package/dist-versioned/components/step-group/step-group.js +2 -2
  731. package/dist-versioned/components/switch/switch.d.ts +1 -1
  732. package/dist-versioned/components/switch/switch.js +2 -2
  733. package/dist-versioned/components/tab/tab.d.ts +1 -1
  734. package/dist-versioned/components/tab/tab.js +2 -2
  735. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  736. package/dist-versioned/components/tab-group/tab-group.js +6 -6
  737. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  738. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  739. package/dist-versioned/components/tag/tag.d.ts +1 -1
  740. package/dist-versioned/components/tag/tag.js +6 -6
  741. package/dist-versioned/components/teaser/teaser.js +2 -2
  742. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  743. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  744. package/dist-versioned/components/textarea/textarea.js +6 -6
  745. package/dist-versioned/components/theme-listener/theme-listener.d.ts +13 -0
  746. package/dist-versioned/components/theme-listener/theme-listener.js +9 -0
  747. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  748. package/dist-versioned/components/tooltip/tooltip.js +7 -7
  749. package/dist-versioned/components/video/video.d.ts +1 -1
  750. package/dist-versioned/components/video/video.js +6 -6
  751. package/dist-versioned/custom-elements.json +707 -261
  752. package/dist-versioned/internal/form.js +3 -3
  753. package/dist-versioned/internal/longpress.d.ts +1 -1
  754. package/dist-versioned/internal/solid-element.d.ts +5 -0
  755. package/dist-versioned/internal/solid-element.js +61 -11
  756. package/dist-versioned/internal/theme-observer.d.ts +9 -0
  757. package/dist-versioned/internal/theme-observer.js +19 -0
  758. package/dist-versioned/solid-components.css +118 -32
  759. package/dist-versioned/solid-components.d.ts +1 -0
  760. package/dist-versioned/solid-components.js +68 -64
  761. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  762. package/dist-versioned/utilities/icon-library.js +3 -3
  763. package/dist-versioned/vscode.html-custom-data.json +132 -105
  764. package/dist-versioned/web-types.json +224 -178
  765. package/package.json +13 -5
  766. package/cdn/chunks/chunk.3FCZSYJE.js +0 -1
  767. package/cdn/chunks/chunk.3SQYUPQR.js +0 -1
  768. package/cdn/chunks/chunk.5P7RNZVM.js +0 -1
  769. package/cdn/chunks/chunk.5QETSQFJ.js +0 -1
  770. package/cdn/chunks/chunk.5UL2MFVQ.js +0 -1
  771. package/cdn/chunks/chunk.6AL2V3GA.js +0 -1
  772. package/cdn/chunks/chunk.6O24TPWT.js +0 -1
  773. package/cdn/chunks/chunk.7BYMJ4MT.js +0 -10
  774. package/cdn/chunks/chunk.7LYAXCBH.js +0 -1
  775. package/cdn/chunks/chunk.AGOSIHIV.js +0 -1
  776. package/cdn/chunks/chunk.B7YAWCJP.js +0 -1
  777. package/cdn/chunks/chunk.BDPK77SL.js +0 -1
  778. package/cdn/chunks/chunk.CEVVDV52.js +0 -1
  779. package/cdn/chunks/chunk.CN5K7RGY.js +0 -1
  780. package/cdn/chunks/chunk.CRGRHGIA.js +0 -1
  781. package/cdn/chunks/chunk.DTEAN466.js +0 -1
  782. package/cdn/chunks/chunk.EXK3HKK5.js +0 -1
  783. package/cdn/chunks/chunk.GCKYK2C3.js +0 -1
  784. package/cdn/chunks/chunk.K7UH7J3V.js +0 -1
  785. package/cdn/chunks/chunk.KBESD73V.js +0 -1
  786. package/cdn/chunks/chunk.KKT3D6C3.js +0 -1
  787. package/cdn/chunks/chunk.LXHLWQH7.js +0 -1
  788. package/cdn/chunks/chunk.LZBHL4IV.js +0 -1
  789. package/cdn/chunks/chunk.MHPHKNZ5.js +0 -83
  790. package/cdn/chunks/chunk.P7DGMSNP.js +0 -1
  791. package/cdn/chunks/chunk.QP5624EY.js +0 -1
  792. package/cdn/chunks/chunk.QVATLNE5.js +0 -1
  793. package/cdn/chunks/chunk.QWAB34LZ.js +0 -3
  794. package/cdn/chunks/chunk.R7A64SR7.js +0 -1
  795. package/cdn/chunks/chunk.SAXLGODJ.js +0 -1
  796. package/cdn/chunks/chunk.SB7VJNMQ.js +0 -1
  797. package/cdn/chunks/chunk.SKIYV7KD.js +0 -1
  798. package/cdn/chunks/chunk.TIK62LTB.js +0 -25
  799. package/cdn/chunks/chunk.TJOCV4DC.js +0 -1
  800. package/cdn/chunks/chunk.TOLB3HGS.js +0 -1
  801. package/cdn/chunks/chunk.UKCW2W2D.js +0 -1
  802. package/cdn/chunks/chunk.ULAC7BZA.js +0 -1
  803. package/cdn/chunks/chunk.W4Y456DP.js +0 -1
  804. package/cdn/chunks/chunk.WAAEZAT7.js +0 -1
  805. package/cdn/chunks/chunk.X53UBPCZ.js +0 -1
  806. package/cdn/chunks/chunk.XGIPT7I4.js +0 -1
  807. package/cdn/chunks/chunk.Y4YRXSRB.js +0 -1
  808. package/cdn/chunks/chunk.YJ2L67GK.js +0 -11
  809. package/cdn/chunks/chunk.ZSXBZK7F.js +0 -1
  810. package/cdn-versioned/chunks/chunk.3FCZSYJE.js +0 -1
  811. package/cdn-versioned/chunks/chunk.3SQYUPQR.js +0 -1
  812. package/cdn-versioned/chunks/chunk.3ZSLSQT3.js +0 -1
  813. package/cdn-versioned/chunks/chunk.5P7RNZVM.js +0 -1
  814. package/cdn-versioned/chunks/chunk.5QETSQFJ.js +0 -1
  815. package/cdn-versioned/chunks/chunk.5UL2MFVQ.js +0 -1
  816. package/cdn-versioned/chunks/chunk.6AL2V3GA.js +0 -1
  817. package/cdn-versioned/chunks/chunk.6KIASTDN.js +0 -11
  818. package/cdn-versioned/chunks/chunk.6O24TPWT.js +0 -1
  819. package/cdn-versioned/chunks/chunk.6WJYMU5I.js +0 -11
  820. package/cdn-versioned/chunks/chunk.7BYMJ4MT.js +0 -10
  821. package/cdn-versioned/chunks/chunk.7LYAXCBH.js +0 -1
  822. package/cdn-versioned/chunks/chunk.AGOSIHIV.js +0 -1
  823. package/cdn-versioned/chunks/chunk.AZMH6NZR.js +0 -4
  824. package/cdn-versioned/chunks/chunk.B7YAWCJP.js +0 -1
  825. package/cdn-versioned/chunks/chunk.BDPK77SL.js +0 -1
  826. package/cdn-versioned/chunks/chunk.CBQDWY5Y.js +0 -1
  827. package/cdn-versioned/chunks/chunk.CEVVDV52.js +0 -1
  828. package/cdn-versioned/chunks/chunk.CN5K7RGY.js +0 -1
  829. package/cdn-versioned/chunks/chunk.CRGRHGIA.js +0 -1
  830. package/cdn-versioned/chunks/chunk.DAPRKASR.js +0 -1
  831. package/cdn-versioned/chunks/chunk.DTEAN466.js +0 -1
  832. package/cdn-versioned/chunks/chunk.EXK3HKK5.js +0 -1
  833. package/cdn-versioned/chunks/chunk.GCKYK2C3.js +0 -1
  834. package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +0 -10
  835. package/cdn-versioned/chunks/chunk.K7UH7J3V.js +0 -1
  836. package/cdn-versioned/chunks/chunk.KBESD73V.js +0 -1
  837. package/cdn-versioned/chunks/chunk.KKT3D6C3.js +0 -1
  838. package/cdn-versioned/chunks/chunk.LFJ4IYGZ.js +0 -11
  839. package/cdn-versioned/chunks/chunk.LXHLWQH7.js +0 -1
  840. package/cdn-versioned/chunks/chunk.LZBHL4IV.js +0 -1
  841. package/cdn-versioned/chunks/chunk.MHPHKNZ5.js +0 -83
  842. package/cdn-versioned/chunks/chunk.NOZRJQX2.js +0 -3
  843. package/cdn-versioned/chunks/chunk.NRBNWX7R.js +0 -1
  844. package/cdn-versioned/chunks/chunk.NYJKF5NP.js +0 -1
  845. package/cdn-versioned/chunks/chunk.P7DGMSNP.js +0 -1
  846. package/cdn-versioned/chunks/chunk.PKBVHWYN.js +0 -1
  847. package/cdn-versioned/chunks/chunk.QP5624EY.js +0 -1
  848. package/cdn-versioned/chunks/chunk.QVATLNE5.js +0 -1
  849. package/cdn-versioned/chunks/chunk.QWAB34LZ.js +0 -3
  850. package/cdn-versioned/chunks/chunk.R7A64SR7.js +0 -1
  851. package/cdn-versioned/chunks/chunk.SAXLGODJ.js +0 -1
  852. package/cdn-versioned/chunks/chunk.SB7VJNMQ.js +0 -1
  853. package/cdn-versioned/chunks/chunk.SKIYV7KD.js +0 -1
  854. package/cdn-versioned/chunks/chunk.TIK62LTB.js +0 -25
  855. package/cdn-versioned/chunks/chunk.TJOCV4DC.js +0 -1
  856. package/cdn-versioned/chunks/chunk.TOLB3HGS.js +0 -1
  857. package/cdn-versioned/chunks/chunk.UKCW2W2D.js +0 -1
  858. package/cdn-versioned/chunks/chunk.ULAC7BZA.js +0 -1
  859. package/cdn-versioned/chunks/chunk.W32I6F46.js +0 -1
  860. package/cdn-versioned/chunks/chunk.W4Y456DP.js +0 -1
  861. package/cdn-versioned/chunks/chunk.WAAEZAT7.js +0 -1
  862. package/cdn-versioned/chunks/chunk.X53UBPCZ.js +0 -1
  863. package/cdn-versioned/chunks/chunk.XGIPT7I4.js +0 -1
  864. package/cdn-versioned/chunks/chunk.Y4YRXSRB.js +0 -1
  865. package/cdn-versioned/chunks/chunk.YJ2L67GK.js +0 -11
  866. package/cdn-versioned/chunks/chunk.ZSXBZK7F.js +0 -1
  867. package/dist/chunks/chunk.PJJCHCFO.js +0 -82
  868. package/dist/chunks/chunk.QSQRQKYT.js +0 -129
  869. package/dist-versioned/chunks/chunk.6DKXZWRN.js +0 -69
  870. package/dist-versioned/chunks/chunk.PJJCHCFO.js +0 -82
  871. package/dist-versioned/chunks/chunk.QSQRQKYT.js +0 -129
  872. package/dist-versioned/chunks/chunk.U3IJ4WDG.js +0 -72
@@ -1,4 +1,4 @@
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
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
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
 
@@ -1,4 +1,4 @@
1
- import{i as r}from"./chunk.RZUTJ36B.js";var f=t=>t!=null?t:r;export{f as a};
1
+ import{i as r}from"./chunk.763RLJEK.js";var f=t=>t!=null?t:r;export{f as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/if-defined.js:
@@ -1,4 +1,5 @@
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};
1
+ import{a as T}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as _}from"./chunk.YLQAFW2B.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.NGH2BNC2.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};
2
3
  /*! Bundled license information:
3
4
 
4
5
  lit-html/directives/map.js:
@@ -0,0 +1,2 @@
1
+ import{a as k}from"./chunk.DE35CSMY.js";import{b,c as C,d as x,e as E}from"./chunk.JS2HQ2N4.js";import{a as V}from"./chunk.CGQ2BPPZ.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c as u,d as m,h as p}from"./chunk.NGH2BNC2.js";import{b as v,e as h}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new V(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-radio, sd-radio-button"),a=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,a.forEach(n=>n.checked=n===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(d=>!d.disabled),a=(g=e.find(d=>d.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(d=>{d.checked=!1,this.hasButtonGroup||(d.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof k&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-radio")&&customElements.get("sd-radio-button")){this.syncRadioElements();return}customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then(()=>this.syncRadios()),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=h`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return h`<fieldset part="form-control" class="${c("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?h`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${c("p-0 leading-normal text-black text-left",e?"inline-block":"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?h`<sd-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...p.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([u()],s.prototype,"hasButtonGroup",2),o([u()],s.prototype,"defaultValue",2),o([u()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([f("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([f("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([f("value")],s.prototype,"handleValueChange",1),s=o([y("sd-radio-group")],s);export{s as a};
@@ -1 +1,2 @@
1
- import{a as l}from"./chunk.XR2KNB36.js";import{a as s}from"./chunk.E2DRD2OX.js";import{a as y,b as a,f,h as r}from"./chunk.TIK62LTB.js";import{b as c,e as d}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`:host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-5-16-2-animation")],t);export{t as a};
1
+ import{a as l}from"./chunk.D4E5ZIRW.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as y,b as a,f,h as r}from"./chunk.NGH2BNC2.js";import{b as c,e as d}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.hasStarted=!1;this.name="none";this.play=!1;this.delay=0;this.direction="normal";this.duration=1e3;this.easing="linear";this.endDelay=0;this.fill="auto";this.iterations=1/0;this.iterationStart=0;this.playbackRate=1}get currentTime(){var i,n;return(n=(i=this.animation)==null?void 0:i.currentTime)!=null?n:0}set currentTime(i){this.animation&&(this.animation.currentTime=i)}connectedCallback(){super.connectedCallback(),this.createAnimation(),this.handleAnimationCancel=this.handleAnimationCancel.bind(this),this.handleAnimationFinish=this.handleAnimationFinish.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.destroyAnimation()}handleAnimationFinish(){this.play=!1,this.hasStarted=!1,this.emit("sd-finish")}handleAnimationCancel(){this.play=!1,this.hasStarted=!1,this.emit("sd-cancel")}handleSlotChange(){this.destroyAnimation(),this.createAnimation()}async createAnimation(){var o,m;let i=(o=l.easings[this.easing])!=null?o:this.easing,n=(m=this.keyframes)!=null?m:l[this.name],h=(await this.defaultSlot).assignedElements()[0];return!h||!n?!1:(this.destroyAnimation(),this.animation=h.animate(n,{delay:this.delay,direction:this.direction,duration:this.duration,easing:i,endDelay:this.endDelay,fill:this.fill,iterationStart:this.iterationStart,iterations:this.iterations}),this.animation.playbackRate=this.playbackRate,this.animation.addEventListener("cancel",this.handleAnimationCancel),this.animation.addEventListener("finish",this.handleAnimationFinish),this.play?(this.hasStarted=!0,this.emit("sd-start")):this.animation.pause(),!0)}destroyAnimation(){this.animation&&(this.animation.cancel(),this.animation.removeEventListener("cancel",this.handleAnimationCancel),this.animation.removeEventListener("finish",this.handleAnimationFinish),this.hasStarted=!1)}handleAnimationChange(){this.hasUpdated&&this.createAnimation()}handlePlayChange(){return this.animation?(this.play&&!this.hasStarted&&(this.hasStarted=!0,this.emit("sd-start")),this.play?this.animation.play():this.animation.pause(),!0):!1}handlePlaybackRateChange(){this.animation&&(this.animation.playbackRate=this.playbackRate)}cancel(){var i;(i=this.animation)==null||i.cancel()}finish(){var i;(i=this.animation)==null||i.finish()}render(){return d`<slot @slotchange="${this.handleSlotChange}"></slot>`}};t.styles=[...r.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:contents}`],e([f("slot")],t.prototype,"defaultSlot",2),e([a()],t.prototype,"name",2),e([a({type:Boolean,reflect:!0})],t.prototype,"play",2),e([a({type:Number})],t.prototype,"delay",2),e([a()],t.prototype,"direction",2),e([a({type:Number})],t.prototype,"duration",2),e([a()],t.prototype,"easing",2),e([a({attribute:"end-delay",type:Number})],t.prototype,"endDelay",2),e([a()],t.prototype,"fill",2),e([a({type:Number})],t.prototype,"iterations",2),e([a({attribute:"iteration-start",type:Number})],t.prototype,"iterationStart",2),e([a({attribute:!1})],t.prototype,"keyframes",2),e([a({attribute:"playback-rate",type:Number})],t.prototype,"playbackRate",2),e([s(["name","delay","direction","duration","easing","endDelay","fill","iterations","iterationsStart","keyframes"])],t.prototype,"handleAnimationChange",1),e([s("play")],t.prototype,"handlePlayChange",1),e([s("playbackRate")],t.prototype,"handlePlaybackRateChange",1),t=e([y("sd-animation")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as o}from"./chunk.PV6UYBMY.js";import{a as u,b as s}from"./chunk.PJ7JCMQF.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as b}from"./chunk.7BPPDSHY.js";import{a as m,b as r,d as p,h as f}from"./chunk.NGH2BNC2.js";import{b as v}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new b(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let e=this.defaultSlot.assignedNodes({flatten:!0});return e.length>0&&e.every(a=>{var d;return a.nodeType===Node.TEXT_NODE?!((d=a.textContent)!=null&&d.trim()):a.nodeType===Node.ELEMENT_NODE?a.tagName.toLowerCase()==="sd-icon":!1})}handleClickButton(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}handleClickSummary(e){e.preventDefault(),e.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var e;this.disabled||(e=this.button)==null||e.focus()}blur(){var e;(e=this.button)==null||e.blur()}render(){let e=this.tag,a=this.isLink,d=this.isButton,n=this.isAccordion,g=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":"py-2",h=s`<${e} part="base" class="${l("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-navigation-color-text",this.current&&"font-bold sd-navigation--current-color-text",!n&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(d?this.disabled:void 0)}" href="${o(a?this.href:void 0)}" target="${o(a?this.target:void 0)}" download="${o(a?this.download:void 0)}" rel="${o(a&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:n?this.handleClickSummary:d?this.handleClickButton:void 0}"><div part="current-indicator" class="${l("absolute bg-accent left-0 pointer-events-none navigable__current-indicator-border-radius",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="inline-flex flex-col justify-center gap-1 w-full h-full"><span part="content-area" class="${l("relative inline-flex justify-between items-center",n?"grow":"w-full",c.description&&"pt-3",!c.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?s`<sd-divider part="divider" class="${l("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span id="content" part="content-container" class="inline-flex items-center flex-auto"><slot part="content" class="inline-flex text-start"></slot></span>${this.chevron||c.children&&this.vertical&&!this.separated?s`<sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("h-6 w-6 ml-2 transition-all",n?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${c.description&&this.vertical?s`<slot id="description" name="description" part="description" class="${l("inline-block text-sm text-left font-normal text-black pb-3",n||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${e}>`;return this.separated?s`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${c.children&&this.vertical?s`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${l("m-4 h-6 w-6 transition-all",n||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:""}</div>${this.open?s`<slot name="children"></slot>`:""}</div>`:n?s`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:s`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],i([p('[part="base"]')],t.prototype,"button",2),i([p("slot:not([name])")],t.prototype,"defaultSlot",2),i([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),i([r({type:String,reflect:!0})],t.prototype,"size",2),i([r({reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2),i([r({reflect:!0})],t.prototype,"download",2),i([r({type:Boolean,reflect:!0})],t.prototype,"current",2),i([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),i([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),i([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),i([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=i([m("sd-navigation-item")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as s}from"./chunk.PV6UYBMY.js";import{a,b as n}from"./chunk.PJ7JCMQF.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as p}from"./chunk.7BPPDSHY.js";import{a as u,b as r,d as m,h as o}from"./chunk.NGH2BNC2.js";import{b as c}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.localize=new p(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?a`a`:this.removable?a`div`:a`button`;return n`<${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="${l("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?"sd-tag--selected--default-color-background border-primary sd-tag--selected--default-color-text hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500":l("border-primary text-primary disabled:border-neutral-500 disabled:text-neutral-500",this.removable?"has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"hover:border-primary-500 hover:text-primary-500"),this.disabled&&!t&&"cursor-not-allowed")}"><slot id="content" part="content"></slot>${this.removable&&!t?n`<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=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([m("a, button, div")],e.prototype,"tag",2),i([r({type:String,reflect:!0})],e.prototype,"size",2),i([r({type:Boolean,reflect:!0})],e.prototype,"selected",2),i([r({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),i([r({type:Boolean,reflect:!0})],e.prototype,"removable",2),i([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([r({type:String,reflect:!0})],e.prototype,"href",2),i([r({type:String,reflect:!0})],e.prototype,"target",2),i([r({reflect:!0})],e.prototype,"download",2),e=i([u("sd-tag")],e);export{e as a};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./chunk.RZUTJ36B.js";var{I:r}=t;var $=e=>e.strings===void 0;var s={},a=(e,i=s)=>e._$AH=i;export{$ as a,a as b};
1
+ import{j as t}from"./chunk.763RLJEK.js";var{I:r}=t;var $=e=>e.strings===void 0;var s={},a=(e,i=s)=>e._$AH=i;export{$ as a,a as b};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directive-helpers.js:
@@ -0,0 +1,2 @@
1
+ import{a}from"./chunk.635MGLIZ.js";import{b as H}from"./chunk.JS2HQ2N4.js";import{a as q}from"./chunk.CGQ2BPPZ.js";import{a as E}from"./chunk.YEDQWNIV.js";import{a as A}from"./chunk.7BPPDSHY.js";import{a as F}from"./chunk.NYKJXI3Q.js";import{a as B,b as y,c as L,d as Y,h as z}from"./chunk.NGH2BNC2.js";import{b as R,e as C,i as P}from"./chunk.763RLJEK.js";import{e as d}from"./chunk.6EV4YU6C.js";var o=class extends z{constructor(){super();this.localize=new A(this);this.hasSlotController=new q(this,"label","help-text","tooltip");this.formControlController=new H(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=a.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusIn=t=>{t.composedPath().some(i=>{var n,l;return i instanceof HTMLElement&&(((n=i.classList)==null?void 0:n.contains("nav"))||((l=i.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,u,c;let e=t.target,s=e.value,i=(l=e.selectionStart)!=null?l:s.length,n=(u=t.inputType)==null?void 0:u.startsWith("delete");if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}if(this.range){let g=s.replace(/\D/g,""),h=g.slice(0,8),f=g.slice(8,16),r=this.buildDmyFromDigits(h),p=this.buildDmyFromDigits(f),v;h.length===0?v="":h.length<8?v=r:f.length>0?v=`${r} - ${p}`:v=n?r:`${r} -`;let I=this.countDigitsBeforeCaret(s,i),D;if(I<=8){let m=this.digitIndexToDmyCaretPos(Math.min(I,8));D=Math.min(m,r.length)}else{let m=h.length<8?r.length:r.length+3,b=Math.min(I-8,8),S=this.digitIndexToDmyCaretPos(b);D=m+Math.min(S,p.length)}this.inputValue=v;let w=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(r)){let m=this.dmyToIso(r),b=m?a.parseLocalISO(m):null;!!b&&!this.isDisabled(b)&&this.inMinMax(b)&&this.rangeStart!==m&&(this.rangeStart=m,this.previewEnd=null,this.viewMonth=new Date(b.getFullYear(),b.getMonth(),1),this.focusedDate=a.startOfDayLocal(b),w=!0)}else this.rangeStart&&(this.rangeStart=null,w=!0),this.rangeEnd&&(this.rangeEnd=null,w=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(p)&&this.rangeStart){let m=a.parseLocalISO(this.rangeStart),b=this.dmyToIso(p),S=b?a.parseLocalISO(b):null;if(!!S&&!this.isDisabled(S)&&this.inMinMax(S)){let[T,$]=a.compareDates(m,S)<=0?[m,S]:[S,m],k=a.isSameDay(T,$);if((this.allowSameDayRange||!k)&&!this.wouldRangeContainDisabled(T,$)){let O=a.toLocalISODate(a.startOfDayLocal(T)),x=a.toLocalISODate(a.startOfDayLocal($));(this.rangeStart!==O||this.rangeEnd!==x)&&(this.rangeStart=O,this.rangeEnd=x,this.viewMonth=new Date($.getFullYear(),$.getMonth(),1),this.focusedDate=a.startOfDayLocal($),w=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,w=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),w&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var b;let m=(b=this.input)!=null?b:e;m&&(m.value=this.inputValue,m.setSelectionRange(D,D))})})}else{let g=e,h=g.value,f=(c=g.selectionStart)!=null?c:h.length,r=h.replace(/\D/g,"").slice(0,8),p=r.slice(0,2),v=r.slice(2,4),I=r.slice(4,8),D="";p.length>0&&(D+=p,p.length===2&&(D+=".")),v.length>0&&p.length===2&&(D+=v,v.length===2&&(D+=".")),I.length>0&&p.length===2&&v.length===2&&(D+=I),D=D.replace(/\.\.+/g,".");let w=this.inputValue||"";this.inputValue=D;let m=f,b=M=>{let O=[];for(let x=0;x<M.length;x++)M[x]==="."&&O.push(x);return O},S=b(w),V=b(D),T=S.filter(M=>M<f).length,k=V.filter(M=>M<f).length-T;if(k>0?m+=k:!S.includes(f)&&V.includes(f)&&(m+=1),m=Math.min(Math.max(0,m),D.length),requestAnimationFrame(()=>{var O;let M=(O=this.input)!=null?O:g;M&&(M.value=this.inputValue,M.setSelectionRange(m,m))}),/^\d{2}\.\d{2}\.\d{4}$/.test(D)){let M=this.parseInputText(D);this.applyParsedInput(M)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let g=this.rangeStart?a.parseLocalISO(this.rangeStart):null,h=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;g&&!h?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(g)}`):g&&h&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(g)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(h)}`)}else if(this.value){let g=a.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(g)}`)}};this.handleInputBlur=()=>{let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{this.currentPlacement=t.detail.placement};this.handleHeaderKeyDown=(t,e,s,i)=>{if(t.key==="Tab"&&!t.shiftKey){i&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(s):this.setYear(s))};this.onKeyDown=t=>{let e=t.key,s=!0,i=new Date(this.focusedDate);switch(e){case"ArrowLeft":i.setDate(i.getDate()-1);break;case"ArrowRight":i.setDate(i.getDate()+1);break;case"ArrowUp":i.setDate(i.getDate()-7);break;case"ArrowDown":i.setDate(i.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:s=!1}if(s){if(t.preventDefault(),i.getMonth()!==this.viewMonth.getMonth()||i.getFullYear()!==this.viewMonth.getFullYear()){this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1);let c=this.formatMonthYear(this.viewMonth);this.setNavStatus(c)}let l=a.startOfDayLocal(i);(!this.focusedDate||l.getTime()!==this.focusedDate.getTime())&&(this.focusedDate=l);let u=l.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(u),this.requestUpdate(),requestAnimationFrame(()=>{let c=this.shadowRoot,g=c==null?void 0:c.querySelector("button.day.focused");g==null||g.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?a.parseLocalISO(this.value):null,e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.range&&e?e:t!=null?t:a.startOfDayLocal(new Date);this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.clampDateToMonth(s,this.viewMonth),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.tabIndex=0,this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?a.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=a.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var s;let e=this.input;if(e){e.value=(s=this.inputValue)!=null?s:"";let i=e.value.length;e.setSelectionRange(i,i)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?a.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null,s=t!=null?t:e;s&&(this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.startOfDayLocal(s)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let i=this.input;if(i){i.value=(n=this.inputValue)!=null?n:"";let l=i.value.length;i.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return a.parseLocalISO(t)}inMinMax(t){let e=this.parseISO(this.min!==null?String(this.min):null),s=this.parseISO(this.max!==null?String(this.max):null);return!(e&&t<e||s&&t>s)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=a.toLocalISODate(a.startOfDayLocal(t));return this.disabledDatesSet.has(e)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let s="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+s},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),s=this.ordinal(e),i=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${s} of ${i} ${n}`}ordinal(t){let e=["th","st","nd","rd"],s=t%100,i=e[(s-20)%10]||e[s]||e[0];return t+i}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let s=JSON.parse(e);Array.isArray(s)&&(t=s)}catch(s){t=[]}else e.length>0&&(t=e.split(",").map(s=>s.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let s=a.compareDates(t,e)<=0?a.startOfDayLocal(t):a.startOfDayLocal(e),i=a.compareDates(t,e)<=0?a.startOfDayLocal(e):a.startOfDayLocal(t),n=new Date(s);for(;a.compareDates(n,i)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=a.parseLocalISO(t);if(!e)return"";let s=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${s}.${i}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let s=Number(e[1]),i=Number(e[2]),n=Number(e[3]),l=new Date(n,i-1,s);if(l.getFullYear()!==n||l.getMonth()!==i-1||l.getDate()!==s)return null;let u=a.startOfDayLocal(l);return a.toLocalISODate(u)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),i=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${i} ${l}`:n&&!l?`${n} ${i}`:""}parseInputText(t){var i,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let u=l[0];if(!u)return{start:null,end:null,valid:!0};let c=this.dmyToIso(u);return c?{start:c,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let u=(i=l[0])!=null?i:"",c=(n=l[1])!=null?n:"",g=u?this.dmyToIso(u):null,h=c?this.dmyToIso(c):null;return u&&!g?{start:null,end:null,valid:!1}:c&&!h?{start:null,end:null,valid:!1}:{start:g,end:h,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let s=this.dmyToIso(e);return s?{single:s,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var u,c,g,h;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=f=>{if(!f)return!0;let r=a.parseLocalISO(f);return!(!this.inMinMax(r)||this.isDisabled(r))},s=!1;if(this.range){let f=(u=t.start)!=null?u:null,r=(c=t.end)!=null?c:null;if(!e(f)||r&&!e(r))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let p=f?a.parseLocalISO(f):null,v=r?a.parseLocalISO(r):null;if(p&&v){if(a.compareDates(p,v)>0){let w=p;p=v,v=w}if(!this.allowSameDayRange&&a.isSameDay(p,v))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(p,v))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let I=p?a.toLocalISODate(a.startOfDayLocal(p)):null,D=v?a.toLocalISODate(a.startOfDayLocal(v)):null;if(this.rangeStart!==I||this.rangeEnd!==D){this.rangeStart=I,this.rangeEnd=D,this.previewEnd=null,s=!0;let w=(g=p!=null?p:v)!=null?g:this.today;this.viewMonth=new Date(w.getFullYear(),w.getMonth(),1),this.focusedDate=a.startOfDayLocal(w),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let i=(h=t.single)!=null?h:null;if(!e(i))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=i?a.parseLocalISO(i):null,l=n?a.toLocalISODate(a.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,s=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=a.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),s}buildDmyFromDigits(t){let e=t.slice(0,8),s=e.slice(0,2),i=e.slice(2,4),n=e.slice(4,8),l=s;return i.length&&(l+="."+i),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var s,i;((i=(s=t.composedPath)==null?void 0:s.call(t))!=null?i:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.visuallyDisabled||this.disabled||(this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.emit("sd-focus"))}setMonth(t){let e=new Date(this.viewMonth.getFullYear(),this.viewMonth.getMonth()+t,1);if(e.getMonth()===this.viewMonth.getMonth()&&e.getFullYear()===this.viewMonth.getFullYear())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-change",{detail:{month:this.viewMonth}})}setYear(t){let e=new Date(this.viewMonth.getFullYear()+t,this.viewMonth.getMonth(),1);if(e.getFullYear()===this.viewMonth.getFullYear()&&e.getMonth()===this.viewMonth.getMonth())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-year",{detail:{month:this.viewMonth}})}focusInitialGridDay(){let t=null;if(!this.range&&this.value){let s=a.parseLocalISO(this.value);s&&(t=a.startOfDayLocal(s))}if(this.range){let s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;i?t=a.startOfDayLocal(i):s&&(t=a.startOfDayLocal(s))}if(!(s=>s?s.getFullYear()===this.viewMonth.getFullYear()&&s.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(s):!1)(t)){let{weeks:s}=this.getMonthMatrix(this.viewMonth),i=s.flat().find(n=>n.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(n,this.today)&&!this.isDisabled(n));if(i)t=a.startOfDayLocal(i);else{let n=s.flat().find(l=>l.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(l));t=n?a.startOfDayLocal(n):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let s=this.shadowRoot,i=(s==null?void 0:s.querySelector("button.day.selected"))||(s==null?void 0:s.querySelector("button.day.focused"))||(s==null?void 0:s.querySelector('button.day[tabindex="0"]'))||(s==null?void 0:s.querySelector("button.day"));i==null||i.focus({preventScroll:!0})})}selectSingleDate(t){if(this.isDisabled(t))return;let e=a.startOfDayLocal(t),s=a.toLocalISODate(e);if(this.value===s)return;this.value=s;let i=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(i),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=n.value.length;n.setSelectionRange(u,u)})}))})}selectRangeDate(t){let e=a.startOfDayLocal(t),s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(!s&&!i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let c=l.value.length;l.setSelectionRange(c,c)})}))});return}if(s&&!i){if(this.isDisabled(e))return;if(a.isSameDay(s,e)){if(!this.allowSameDayRange){this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let f=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${f}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var p;let r=this.input;r&&(r.value=(p=this.inputValue)!=null?p:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let v=r.value.length;r.setSelectionRange(v,v)})}))});return}this.rangeStart=a.toLocalISODate(e),this.rangeEnd=a.toLocalISODate(e),this.previewEnd=null;let h=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${h}`,40),this.announceSelect(`${this.termEndSelected()}: ${h}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var r;let f=this.input;f&&(f.value=(r=this.inputValue)!=null?r:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let p=f.value.length;f.setSelectionRange(p,p)})}))});return}let n=a.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,u]=a.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=a.toLocalISODate(l),this.rangeEnd=a.toLocalISODate(u),this.previewEnd=null;let c=this.formatSelectionLabel(l),g=this.formatSelectionLabel(u);this.announceSelect(`${this.termStartSelected()}: ${c}`,40),this.announceSelect(`${this.termEndSelected()}: ${g}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var f;let h=this.input;h&&(h.value=(f=this.inputValue)!=null?f:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let r=h.value.length;h.setSelectionRange(r,r)})}))});return}if(s&&i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let c=l.value.length;l.setSelectionRange(c,c)})}))})}}selectDate(t){this.range?this.selectRangeDate(t):this.selectSingleDate(t)}getMonthMatrix(t){var c;let e=(c=this.firstDayOfWeek)!=null?c:1,s=new Date(t.getFullYear(),t.getMonth(),1),i=new Date(s),n=(s.getDay()-e+7)%7;i.setDate(s.getDate()-n);let l=[],u=i;for(let g=0;g<6;g++){let h=[];for(let f=0;f<7;f++)h.push(new Date(u)),u.setDate(u.getDate()+1);l.push(h)}return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var i;let t=(i=this.firstDayOfWeek)!=null?i:1,e=new Date(2021,7,1),s=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{s.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(u){s.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return s}getTabTargetDayForCurrentView(t){let e=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(i,this.today)&&!this.isDisabled(i));if(e)return a.startOfDayLocal(e);let s=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(i));return s?a.startOfDayLocal(s):null}onDayMouseEnter(t){if(!this.range)return;let e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(e&&!s){let i=a.startOfDayLocal(t);this.previewEnd=this.isDisabled(i)?null:i,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){let{weeks:t}=this.getMonthMatrix(this.viewMonth),e=this.formatMonthYear(this.viewMonth),s=this.weekdayLabels(),i=this.value?this.parseISO(this.value):null,n=this.rangeStart?this.parseISO(this.rangeStart):null,l=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,c=h=>!this.range||!n||l||!u?!1:a.isBetweenInclusive(h,n,u),g=this.getTabTargetDayForCurrentView(t);return C`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open?"block rounded-bl-default rounded-br-default":"hidden"} ${this.alignment==="left"?"left-0":"right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${e}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${e}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${s.map((h,f)=>C`<div role="columnheader" aria-colindex="${f+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${h}" title="${h}" id="${"col-"+(f+1)}">${h}</div>`)}</div>${t.map((h,f)=>C`<div class="grid-row grid grid-cols-7 ${f===0?"mt-2":""}" role="row" aria-rowindex="${f+2}">${h.map((r,p)=>{let v=r.getMonth()===this.viewMonth.getMonth(),I=this.isDisabled(r),D=a.isSameDay(r,this.focusedDate),w=a.isSameDay(r,this.today),m=!this.range&&i?a.isSameDay(r,i):!1,b=this.range&&n?a.isSameDay(r,n):!1,S=this.range&&l?a.isSameDay(r,l):!1,V=this.range&&n&&l?a.isBetweenInclusive(r,n,l):!1,T=c(r)&&!I,$=-1,k=g&&a.isSameDay(r,g);(this.tabbingIntoGrid&&k||!this.tabbingIntoGrid&&D)&&($=0);let M=this.isWeekend(r),O=r.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),x=b?this.localize.term("startDateSelected"):S?this.localize.term("endDateSelected"):void 0;return C`<button type="button" part="day" class="${E("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded-md w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",b||S?"hover:bg-primary-500":"hover:bg-primary-100 hover:text-primary-500",v?this.isInDisabledDates(r)?"out-month text-neutral-700":this.disabledWeekends&&M?"weekend-day text-neutral-500":"in-month text-primary":M?"out-month weekend-day text-neutral-500":"out-month text-neutral-700",m?"selected border-primary bg-primary text-white hover:bg-primary-500 hover:text-white":"",b?"bg-primary text-white rounded-l-md rounded-r-none":"",S?"bg-primary text-white range-end rounded-r-md rounded-l-none":"",V&&!b&&!S?"in-range selected bg-primary-100 text-primary-500 rounded-none hover:bg-primary-500 hover:text-white":"",!V&&T&&!b&&!S?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",w&&!m&&!b&&!S&&D?"today border-[1px] border-primary font-bold":"",I?"disabled cursor-not-allowed hover:bg-transparent":"",D&&!w?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${p+1}" aria-labelledby="${"col-"+(p+1)}" .tabIndex="${$}" ?disabled="${I||this.disabled}" aria-disabled="${I||this.visuallyDisabled||this.disabled?"true":"false"}" aria-selected="${m||V||b||S?"true":"false"}" aria-current="${w?"date":P}" aria-label="${O}" aria-roledescription="${x!=null?x:P}" @focus="${()=>this.focusedDate=a.startOfDayLocal(r)}" @mouseenter="${()=>this.onDayMouseEnter(r)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=a.startOfDayLocal(r),this.selectDate(r)}}">${r.getDate()}</button>`})}</div>`)}</div></div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,s=this.helpText?!0:!!t.helpText,i=!!t.tooltip,n=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",l={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],u={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],c=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[c],h=this.size==="sm"?"text-sm":"text-base";return C`<div part="form-control" class="${E("w-[370px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e||i?C`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${E(e?"inline-block":"hidden",h)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?C`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${E("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${E("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",g,this.open&&this.alignment==="left"?"rounded-bl-none":"",this.open&&this.alignment==="right"?"rounded-br-none":"")}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${E("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${E("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",c==="disabled"||c==="visuallyDisabled"?"text-neutral-500":"text-black")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${s?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${E("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500 cursor-not-allowed":"placeholder-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],h)}" placeholder="${this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder")}" ?disabled="${this.disabled||this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?C`<sd-icon part="invalid-icon" class="${E("text-error",l,u)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?C`<sd-icon class="${E("text-success flex-shrink-0",l,u)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}<sd-icon class="${E(n,l,u)}" library="_internal" name="calendar"></sd-icon>${this.renderCalendar()}</div></sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${E("text-sm text-neutral-700 mt-1",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};o.styles=[...z.styles,R`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;display:inline-block;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}`],d([y({type:String,reflect:!0})],o.prototype,"locale",2),d([y({type:String})],o.prototype,"value",2),d([y({type:Boolean,reflect:!0})],o.prototype,"range",2),d([y({type:String})],o.prototype,"rangeStart",2),d([y({type:String})],o.prototype,"rangeEnd",2),d([y({type:Boolean})],o.prototype,"allowSameDayRange",2),d([y({type:String})],o.prototype,"min",2),d([y({type:String})],o.prototype,"max",2),d([y({type:Number})],o.prototype,"firstDayOfWeek",2),d([y({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],o.prototype,"disabledWeekends",2),d([y({attribute:"disabled-dates"})],o.prototype,"disabledDates",2),d([y({attribute:!1})],o.prototype,"isDateDisabled",2),d([y({type:String,reflect:!0})],o.prototype,"size",2),d([y({type:String})],o.prototype,"alignment",2),d([y({type:String,reflect:!0})],o.prototype,"label",2),d([y({type:String,attribute:"help-text",reflect:!0})],o.prototype,"helpText",2),d([y({type:Boolean,reflect:!0})],o.prototype,"disabled",2),d([y({type:Boolean,attribute:"visually-disabled"})],o.prototype,"visuallyDisabled",2),d([y({type:Boolean,reflect:!0,attribute:"style-on-valid"})],o.prototype,"styleOnValid",2),d([y({type:Boolean,reflect:!0})],o.prototype,"readonly",2),d([y({type:String,reflect:!0})],o.prototype,"placement",2),d([y({type:String,reflect:!0})],o.prototype,"placeholder",2),d([y({reflect:!0})],o.prototype,"name",2),d([y({type:String,reflect:!0})],o.prototype,"form",2),d([L()],o.prototype,"open",2),d([L()],o.prototype,"viewMonth",2),d([L()],o.prototype,"focusedDate",2),d([L()],o.prototype,"today",2),d([L()],o.prototype,"disabledDatesSet",2),d([L()],o.prototype,"previewEnd",2),d([L()],o.prototype,"statusNavText",2),d([L()],o.prototype,"statusSelectText",2),d([L()],o.prototype,"hasFocus",2),d([L()],o.prototype,"showValidStyle",2),d([L()],o.prototype,"showInvalidStyle",2),d([L()],o.prototype,"currentPlacement",2),d([L()],o.prototype,"inputValue",2),d([Y("#invalid-message")],o.prototype,"invalidMessage",2),d([Y("#input")],o.prototype,"input",2),d([F("locale")],o.prototype,"handleLocaleChange",1),d([F("disabledDates")],o.prototype,"handleDisabledDatesChange",1),d([F("value")],o.prototype,"handleValueChange",1),d([F("rangeStart"),F("rangeEnd")],o.prototype,"handleRangeChange",1),d([F(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],o.prototype,"handleDisabledChange",1),o=d([B("sd-datepicker")],o);export{o as a};
@@ -0,0 +1,2 @@
1
+ import{a as f}from"./chunk.PV6UYBMY.js";import{a as h}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.NGH2BNC2.js";import{b as l,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:inline-flex;align-items:center}sd-link::part(base){align-items:center}sd-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-link::part(base){color:rgba(var(--sd-color-text-neutral-700))}:host([current]) sd-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-breadcrumb-item")],t);export{t as a};
@@ -1 +1,2 @@
1
- import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as a,c as d,d as m,h as s}from"./chunk.TIK62LTB.js";import{b as l,e as n}from"./chunk.RZUTJ36B.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends s{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new p(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(i){super.updated(i),i.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let i=this.variant==="white border-neutral-400"||this.inset,o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&i&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${i?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&i&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r("order-1",!i&&this._orientation==="vertical"&&"mb-4",!o["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};t.styles=[...s.styles,l`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:var(--sd-spacing-0,0)!important}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),e([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),e([a({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),e([m('[part="base"]')],t.prototype,"teaser",2),e([d()],t.prototype,"_orientation",2),t=e([h("sd-5-16-2-teaser")],t);export{t as a};
1
+ import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as a,c as d,d as c,h as s}from"./chunk.NGH2BNC2.js";import{b as l,e as n}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends s{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new p(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(i){super.updated(i),i.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let i=this.variant==="white border-neutral-400"||this.inset,o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&i&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${i?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&i&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r("order-1",!i&&this._orientation==="vertical"&&"mb-4",!o["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};t.styles=[...s.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}::slotted([slot=headline]){margin:calc(var(--sd-spacing-1) * 0)!important;font-size:var(--sd-text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height,calc(1.75 / 1.125)))!important;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}@property --tw-font-weight{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),e([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),e([a({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),e([c('[part="base"]')],t.prototype,"teaser",2),e([d()],t.prototype,"_orientation",2),t=e([h("sd-teaser")],t);export{t as a};
@@ -1 +1,4 @@
1
- import{a}from"./chunk.YEDQWNIV.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.TIK62LTB.js";import{b as l,e as t}from"./chunk.RZUTJ36B.js";import{e as i}from"./chunk.TJOCV4DC.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white","border-white":"fill-transparent","border-primary":"fill-transparent",image:"fill-transparent"}[this.variant],"relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`:host{container-type:inline-size;display:block;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan)*var(--adjacent));--curve:calc((var(--opposite) - (var(--radius)/3))*0.5)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{border-radius:0 var(--radius);height:calc(100% - var(--curve)*2);left:var(--sd-spacing-0,0);margin-top:calc(var(--curve));position:absolute;top:var(--sd-spacing-0,0);transform:skewY(calc(var(--angle)*-1))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:calc(100% + var(--curve)*2)!important;-o-object-fit:cover;object-fit:cover;position:absolute!important;transform:translateY(calc(var(--curve)*-1)) skewY(var(--angle));width:100%}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{height:100%;margin-top:0;transform:unset}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:100%!important;transform:unset}}:host([variant=border-primary]){--internal-border-color:rgb(var(--sd-color-primary,0 53 142))}:host([variant=border-white]){--internal-border-color:var(--sd-color-white,#fff)}:host([variant^=border-]) [part=stylized-container]:before{border-color:var(--internal-border-color,#000);border-style:solid;border-width:2px;content:"";right:var(--sd-spacing-0,0)}`],i([v("[part=base]")],r.prototype,"containerElem",2),i([o({type:String,reflect:!0})],r.prototype,"variant",2),i([o({type:Array})],r.prototype,"shapes",2),i([d()],r.prototype,"componentBreakpoint",2),r=i([p("sd-5-16-2-brandshape")],r);export{r as a};
1
+ import{a}from"./chunk.YEDQWNIV.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.NGH2BNC2.js";import{b as l,e as t}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a(e&&"fill-transparent","relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
2
+ :host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
3
+ (var(--opposite) - (var(--radius) / 3)) * 0.5
4
+ )}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-color-border-primary, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:calc(var(--sd-spacing-1) * 0);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-color-background-neutral-100,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-color-background-white,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-color-background-primary,rgba(var(--sd-color-primary))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([v("[part=base]")],r.prototype,"containerElem",2),i([o({type:String,reflect:!0})],r.prototype,"variant",2),i([o({type:Array})],r.prototype,"shapes",2),i([d()],r.prototype,"componentBreakpoint",2),r=i([p("sd-brandshape")],r);export{r as a};
@@ -0,0 +1,6 @@
1
+ import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as s,b as n,d,h as i}from"./chunk.NGH2BNC2.js";import{b as e,e as l}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var a=class extends i{constructor(){super(...arguments);this.variant="white";this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}render(){let t={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return l`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/[.8] to-60%",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/[.8] to-60%")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0",{white:"bg-white/[.8] group-hover:bg-white/90","neutral-100":"bg-neutral-100/[.8] group-hover:bg-neutral-100/90",primary:"bg-primary/[.8] text-white group-hover:bg-primary/90","primary-100":"bg-primary-100/[.8] group-hover:bg-primary-100/90","gradient-light":"bg-gradient-to-t from-white/90 to-white/[.8]","gradient-dark":"bg-gradient-to-t from-primary-800/90 to-primary-800/[.8]"}[this.variant])}"></div><div class="relative flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here (e. g. &lt;h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4 order-1",!t["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div class="${r("hidden",t["teaser-has-expandable"]&&"h-[0px] invisible opacity-0 md:[transition:_height_0.2s_linear,opacity_0.1s_linear_0.1s] md:block md:group-hover:h-auto md:group-hover:my-4 md:group-hover:opacity-[100%] md:group-hover:visible")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div><div part="main" class="${r(!t["teaser-has-default"]&&"hidden")}"><slot></slot></div></div></div></div><div class="${r("mb-4 -z-10",!t["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};a.styles=[...i.styles,e`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}:host([variant=white]) .background:focus-within{background-color:rgba(var(--sd-color-background-white))}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white)) var(--sd-opacity-90),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-neutral-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-neutral-100)) var(--sd-opacity-90),transparent)}}:host([variant=primary]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary)) var(--sd-opacity-90),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary-100))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary-100)) var(--sd-opacity-90),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:rgba(
3
+ var(--sd-informational-gradient--white-color-background, rgba(var(--sd-color-white)))
4
+ )}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:rgba(
5
+ var(--sd-informational-gradient--primary-800-color-background, rgba(var(--sd-color-primary-800)))
6
+ )}`],o([n({type:String,reflect:!0})],a.prototype,"variant",2),o([d('[part="base"]')],a.prototype,"teaserMedia",2),a=o([s("sd-teaser-media")],a);export{a};
@@ -1,4 +1,4 @@
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};
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};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/live.js:
@@ -0,0 +1,4 @@
1
+ import{a as f}from"./chunk.VYBQ3X2B.js";import{a as m}from"./chunk.N3WG3NAL.js";import{b as u}from"./chunk.JS2HQ2N4.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as b}from"./chunk.PV6UYBMY.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as s}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as a,h as n}from"./chunk.NGH2BNC2.js";import{b as d,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(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="${l("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="${b(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="${l(`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?"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: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":"form-control-color-border bg-white hover:bg-neutral-200 group-hover:bg-neutral-200")}"><span id="thumb" part="thumb" class="${l("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"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?"translate-x-2":"-translate-x-2")}"></span> </span><span part="label" id="label" class="${l("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`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
4
+ :host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host(:not([disabled]):not([checked])) #input:not([aria-invalid=true])~#control #thumb{background-color:rgba(var(--sd-color-icon-fill-neutral-800,rgba(var(--sd-color-neutral-800))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([a("input")],e.prototype,"input",2),t([a("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([m("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([s("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([s(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-switch")],e);export{e as a};
@@ -1 +1 @@
1
- import{a,b as u}from"./chunk.TJOCV4DC.js";function s(t,n){let e=/var\((--[\w-]+)(?:,\s*([^)]+))?\)/.exec(t);if(!e)return t;let[,r,i]=e;return getComputedStyle(n).getPropertyValue(r).trim()||i||null}function l(t,n,e){return new Promise(r=>{var m;if((e==null?void 0:e.duration)===1/0)throw new Error("Promise-based animations must be finite.");let i=f(),o=typeof e.duration=="string"?d((m=s(e.duration,t))!=null?m:""):e.duration,c=t.animate(n,u(a({},e),{duration:i&&(e==null?void 0:e.reducedMotion)!=="allow"?0:o}));c.addEventListener("cancel",r,{once:!0}),c.addEventListener("finish",r,{once:!0})})}function d(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function f(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function h(t){return Promise.all(t.getAnimations().map(n=>new Promise(e=>{let r=requestAnimationFrame(e);n.addEventListener("cancel",()=>r,{once:!0}),n.addEventListener("finish",()=>r,{once:!0}),n.cancel()})))}function g(t,n){return t.map(e=>u(a({},e),{height:e.height==="auto"?`${n}px`:e.height}))}export{s as a,l as b,d as c,f as d,h as e,g as f};
1
+ import{a,b as u}from"./chunk.6EV4YU6C.js";function s(t,n){let e=/var\((--[\w-]+)(?:,\s*([^)]+))?\)/.exec(t);if(!e)return t;let[,r,i]=e;return getComputedStyle(n).getPropertyValue(r).trim()||i||null}function l(t,n,e){return new Promise(r=>{var m;if((e==null?void 0:e.duration)===1/0)throw new Error("Promise-based animations must be finite.");let i=f(),o=typeof e.duration=="string"?d((m=s(e.duration,t))!=null?m:""):e.duration,c=t.animate(n,u(a({},e),{duration:i&&(e==null?void 0:e.reducedMotion)!=="allow"?0:o}));c.addEventListener("cancel",r,{once:!0}),c.addEventListener("finish",r,{once:!0})})}function d(t){return t=t.toString().toLowerCase(),t.indexOf("ms")>-1?parseFloat(t):t.indexOf("s")>-1?parseFloat(t)*1e3:parseFloat(t)}function f(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}function h(t){return Promise.all(t.getAnimations().map(n=>new Promise(e=>{let r=requestAnimationFrame(e);n.addEventListener("cancel",()=>r,{once:!0}),n.addEventListener("finish",()=>r,{once:!0}),n.cancel()})))}function g(t,n){return t.map(e=>u(a({},e),{height:e.height==="auto"?`${n}px`:e.height}))}export{s as a,l as b,d as c,f as d,h as e,g as f};
@@ -0,0 +1,2 @@
1
+ import{a as A}from"./chunk.CSLPZKLY.js";import{a as z}from"./chunk.VYBQ3X2B.js";import{a as L}from"./chunk.N3WG3NAL.js";import{b as F}from"./chunk.JS2HQ2N4.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as n}from"./chunk.PV6UYBMY.js";import{a as P,b as T}from"./chunk.D6LAH53B.js";import{a}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.7BPPDSHY.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as E,b as s,c as p,d as v,h as y}from"./chunk.NGH2BNC2.js";import{b as C,e as r,h as k,i as D}from"./chunk.763RLJEK.js";import{a as $,e as i}from"./chunk.6EV4YU6C.js";var g=class extends A{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return D}update(e,[l]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=$({},l),this.host.addEventListener("pointerdown",this.handlePointerDown)),k}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var l;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(l=this.observer)==null||l.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(c=>{c.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},w=T(g);var B,S=(B=navigator.userAgentData)==null?void 0:B.brands.some(b=>b.brand.includes("Chromium")),_=S?!1:navigator.userAgent.includes("Firefox"),t=class extends y{constructor(){super(...arguments);this.formControlController=new F(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new V(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsDate)!=null?l:null}set valueAsDate(e){let l=document.createElement("input");l.type="date",l.valueAsDate=e,this.value=l.value}get valueAsNumber(){var e,l;return(l=(e=this.input)==null?void 0:e.valueAsNumber)!=null?l:parseFloat(this.value)}set valueAsNumber(e){let l=document.createElement("input");l.type="number",l.valueAsNumber=e,this.value=l.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let l=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!l&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,l,u="none"){this.input.setSelectionRange(e,l,u)}setRangeText(e,l,u,c){this.input.setRangeText(e,l,u,c),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},l=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,c=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),U=!!e.tooltip,f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",x=this.size==="sm"?"text-sm":"text-base",H={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[f],d=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",h={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${l||U?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(l?"inline-block":"hidden",x)}" for="input" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border rounded-default transition-[border] ease-in-out duration-medium hover:duration-fast",H)}"></div><div part="base" class="${a("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",f==="disabled"||f==="visuallyDisabled"?"text-neutral-500":"text-black")}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",d,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?"h-6":"h-8",x)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${n(this.placeholder)}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${z(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${c?r`<button part="clear-button" class="${a("flex justify-center",h)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a("text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",h)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-icon class="${a(d,o)}" library="_internal" name="eye"></sd-icon></slot>`:r`<slot name="hide-password-icon"><sd-icon class="${a(d,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!_?r`<sd-icon class="${a(d,h,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?r`<sd-icon class="${a(d,h,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",h)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(d,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?r`<sd-icon part="invalid-icon" class="${a("text-error",h,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-icon class="${a("text-success flex-shrink-0",h,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",d,h,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${w({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(d,h,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${w({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(d,h,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-1",u?"block":"hidden")}" aria-hidden="${!u}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...y.styles,C`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{color:rgba(var(--sd-color-text-neutral-500))}`],i([v("#input")],t.prototype,"input",2),i([v("#invalid-message")],t.prototype,"invalidMessage",2),i([p()],t.prototype,"hasFocus",2),i([p()],t.prototype,"showValidStyle",2),i([p()],t.prototype,"showInvalidStyle",2),i([s({type:String,reflect:!0})],t.prototype,"type",2),i([s({type:String,reflect:!0})],t.prototype,"size",2),i([s({type:String,reflect:!0})],t.prototype,"inputmode",2),i([s()],t.prototype,"value",2),i([L()],t.prototype,"defaultValue",2),i([s({type:String,reflect:!0})],t.prototype,"placeholder",2),i([s({type:String,reflect:!0})],t.prototype,"label",2),i([s({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([s({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([s({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([s({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([s({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([s({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([s({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([s({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([s({type:Number,reflect:!0})],t.prototype,"minlength",2),i([s({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([s({reflect:!0})],t.prototype,"min",2),i([s({reflect:!0})],t.prototype,"max",2),i([s({type:String,reflect:!0})],t.prototype,"form",2),i([s({type:String,reflect:!0})],t.prototype,"name",2),i([s({type:String,reflect:!0})],t.prototype,"title",2),i([s({type:Boolean,reflect:!0})],t.prototype,"required",2),i([s()],t.prototype,"pattern",2),i([s({reflect:!0})],t.prototype,"step",2),i([s({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([s({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([s({reflect:!0})],t.prototype,"autocomplete",2),i([s({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([s({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([s({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([s({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([m("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([m("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([m("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=i([E("sd-input")],t);export{t as a};
@@ -0,0 +1,2 @@
1
+ import{a as s}from"./chunk.YEDQWNIV.js";import{a as l,b as r,h as i}from"./chunk.NGH2BNC2.js";import{b as n,e as a}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",red:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4);min-width:var(--sd-spacing-4);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1) * 5);min-width:calc(var(--sd-spacing-1) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2);min-width:var(--sd-spacing-2)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([l("sd-badge")],e);export{e as a};