@solid-design-system/components 5.15.12 → 5.16.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (849) hide show
  1. package/{cdn-versioned/chunks/chunk.GEOVNECI.js → cdn/chunks/chunk.26HHFQWN.js} +1 -1
  2. package/cdn/chunks/chunk.2P4WUDA5.js +1 -0
  3. package/cdn/chunks/chunk.2WRD673L.js +37 -0
  4. package/cdn/chunks/chunk.34DDPQIX.js +1 -0
  5. package/cdn/chunks/chunk.4M5X22ZY.js +121 -0
  6. package/cdn/chunks/{chunk.Y7NVH75J.js → chunk.4RPCNF2P.js} +1 -1
  7. package/cdn/chunks/{chunk.CJ53PV6X.js → chunk.4YZ4KROO.js} +1 -1
  8. package/cdn/chunks/chunk.52TE5XAY.js +1 -0
  9. package/cdn/chunks/{chunk.PZC43SIH.js → chunk.5UQI3XST.js} +1 -1
  10. package/cdn/chunks/chunk.67DVLBYJ.js +1 -0
  11. package/cdn/chunks/chunk.6EV4YU6C.js +1 -0
  12. package/{cdn-versioned/chunks/chunk.RZUTJ36B.js → cdn/chunks/chunk.763RLJEK.js} +2 -2
  13. package/cdn/chunks/chunk.7AEASDWK.js +1 -0
  14. package/cdn/chunks/{chunk.VFOVKA46.js → chunk.7GI7JDHC.js} +1 -1
  15. package/cdn/chunks/chunk.7JYERWSH.js +1 -0
  16. package/cdn/chunks/chunk.7W3VKGUN.js +1 -0
  17. package/cdn/chunks/chunk.7Y7B3ZHS.js +10 -0
  18. package/cdn/chunks/chunk.AG4UH4IN.js +1 -0
  19. package/cdn/chunks/chunk.ASJAM6N6.js +1 -0
  20. package/cdn/chunks/{chunk.SX2XEIQL.js → chunk.AXEWYRHM.js} +1 -1
  21. package/cdn/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
  22. package/cdn/chunks/{chunk.SGXM6Y2P.js → chunk.BBLEWHIH.js} +1 -1
  23. package/cdn/chunks/chunk.BBOBWBNZ.js +5 -0
  24. package/cdn/chunks/{chunk.3UAOIDF2.js → chunk.C2ZXPUMP.js} +1 -1
  25. package/cdn/chunks/chunk.C4DGFQBN.js +1 -0
  26. package/cdn/chunks/{chunk.HJ4O4XQA.js → chunk.CDP46OS4.js} +1 -1
  27. package/{cdn-versioned/chunks/chunk.Y3GIPFVP.js → cdn/chunks/chunk.CSLPZKLY.js} +1 -1
  28. package/cdn/chunks/chunk.D3B4IY6Q.js +1 -0
  29. package/{cdn-versioned/chunks/chunk.XR2KNB36.js → cdn/chunks/chunk.D4E5ZIRW.js} +1 -1
  30. package/{cdn-versioned/chunks/chunk.BFDYLZMG.js → cdn/chunks/chunk.DIHLJO6E.js} +1 -1
  31. package/cdn/chunks/chunk.DSTXKNIF.js +1 -0
  32. package/cdn/chunks/chunk.E3TEJ4ZB.js +1 -0
  33. package/cdn/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
  34. package/cdn/chunks/chunk.FKQKBGOX.js +1 -0
  35. package/{cdn-versioned/chunks/chunk.P6QOQEIF.js → cdn/chunks/chunk.FLR2H3FJ.js} +1 -1
  36. package/cdn/chunks/chunk.G63DCZGX.js +1 -0
  37. package/cdn/chunks/chunk.GC4VHTKJ.js +1 -0
  38. package/cdn/chunks/{chunk.OG46JDG7.js → chunk.HENAIYMS.js} +2 -2
  39. package/cdn/chunks/chunk.HP7VSB3F.js +1 -0
  40. package/cdn/chunks/chunk.HRDUPPPV.js +1 -0
  41. package/cdn/chunks/chunk.HUBTWWPV.js +1 -0
  42. package/cdn/chunks/{chunk.QQ5HSBA6.js → chunk.HWKK3U5Y.js} +1 -1
  43. package/cdn/chunks/chunk.JGXVSXPF.js +4 -0
  44. package/cdn/chunks/{chunk.NRBNWX7R.js → chunk.JS2HQ2N4.js} +1 -1
  45. package/cdn/chunks/chunk.KG2T3UA7.js +1 -0
  46. package/cdn/chunks/chunk.KIC3AQXN.js +1 -0
  47. package/cdn/chunks/chunk.L4OSXUKA.js +1 -0
  48. package/cdn/chunks/{chunk.MRAHMGRF.js → chunk.LHS24BGL.js} +1 -1
  49. package/{cdn-versioned/chunks/chunk.UXY3AL7C.js → cdn/chunks/chunk.M2N4WAPT.js} +3 -1
  50. package/{cdn-versioned/chunks/chunk.FAPJVEMZ.js → cdn/chunks/chunk.MFRJ3Q5R.js} +1 -1
  51. package/cdn/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
  52. package/cdn/chunks/{chunk.ZA3AQWM7.js → chunk.MWATMP25.js} +3 -3
  53. package/{cdn-versioned/chunks/chunk.EJI65G6N.js → cdn/chunks/chunk.N3WG3NAL.js} +1 -1
  54. package/cdn/chunks/chunk.NRCPFRMF.js +1 -0
  55. package/cdn/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
  56. package/cdn/chunks/{chunk.K7JNBY7N.js → chunk.ORGDOUKL.js} +1 -1
  57. package/cdn/chunks/chunk.PDUOJFNW.js +1 -0
  58. package/cdn/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
  59. package/cdn/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
  60. package/cdn/chunks/chunk.PZ5QBZPA.js +11 -0
  61. package/cdn/chunks/chunk.QYPTGASF.js +1 -0
  62. package/cdn/chunks/{chunk.AVUZZRFT.js → chunk.RSDBGHJ5.js} +1 -1
  63. package/cdn/chunks/{chunk.Y7AL7I2Z.js → chunk.S7E3HBEA.js} +1 -1
  64. package/cdn/chunks/{chunk.4SX3FTTZ.js → chunk.SIY4LRPB.js} +1 -1
  65. package/cdn/chunks/{chunk.ET34FEK2.js → chunk.SM5DG4D5.js} +2 -2
  66. package/cdn/chunks/{chunk.DKN2DIAH.js → chunk.SXTBHH2H.js} +1 -1
  67. package/cdn/chunks/chunk.TFMNMOPY.js +1 -0
  68. package/{cdn-versioned/chunks/chunk.CODHT433.js → cdn/chunks/chunk.TV2UJIXM.js} +1 -1
  69. package/cdn/chunks/chunk.UNPDSLAW.js +1 -0
  70. package/cdn/chunks/chunk.V2C7MUP4.js +1 -0
  71. package/{cdn-versioned/chunks/chunk.LIO6LMTQ.js → cdn/chunks/chunk.VYBQ3X2B.js} +1 -1
  72. package/cdn/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
  73. package/cdn/chunks/chunk.WAC3RAQB.js +3 -0
  74. package/cdn/chunks/chunk.WSAVYRR4.js +4 -0
  75. package/cdn/chunks/{chunk.R5PJYTZQ.js → chunk.XVMFX57F.js} +4 -4
  76. package/cdn/chunks/chunk.Y5YIYPZY.js +1 -0
  77. package/cdn/chunks/chunk.YBBEF7BY.js +1 -0
  78. package/cdn/chunks/chunk.YBE5NEA5.js +1 -0
  79. package/cdn/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
  80. package/cdn/components/accordion/accordion.js +1 -1
  81. package/cdn/components/accordion-group/accordion-group.js +1 -1
  82. package/cdn/components/animation/animation.js +1 -1
  83. package/cdn/components/animation/animations.js +1 -1
  84. package/cdn/components/audio/audio.d.ts +1 -0
  85. package/cdn/components/audio/audio.js +1 -1
  86. package/cdn/components/audio/base64Audio.js +1 -1
  87. package/cdn/components/audio/wave.js +1 -1
  88. package/cdn/components/badge/badge.js +1 -1
  89. package/cdn/components/brandshape/brandshape.js +1 -1
  90. package/cdn/components/breadcrumb/breadcrumb.js +1 -1
  91. package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +1 -0
  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/dialog/dialog.js +1 -1
  106. package/cdn/components/divider/divider.js +1 -1
  107. package/cdn/components/drawer/drawer.js +1 -1
  108. package/cdn/components/dropdown/dropdown.js +1 -1
  109. package/cdn/components/expandable/expandable.js +1 -1
  110. package/cdn/components/flipcard/flipcard.js +1 -1
  111. package/cdn/components/header/header.js +1 -1
  112. package/cdn/components/icon/icon.d.ts +2 -0
  113. package/cdn/components/icon/icon.js +1 -1
  114. package/cdn/components/icon/library.default.js +1 -1
  115. package/cdn/components/icon/library.internal.d.ts +2 -0
  116. package/cdn/components/icon/library.internal.js +1 -1
  117. package/cdn/components/icon/library.js +1 -1
  118. package/cdn/components/icon/library.status.js +1 -1
  119. package/cdn/components/icon/request.js +1 -1
  120. package/cdn/components/include/include.js +1 -1
  121. package/cdn/components/include/request.js +1 -1
  122. package/cdn/components/input/input.js +1 -1
  123. package/cdn/components/link/link.js +1 -1
  124. package/cdn/components/loader/loader.js +1 -1
  125. package/cdn/components/map-marker/map-marker.js +1 -1
  126. package/cdn/components/menu/menu.js +1 -1
  127. package/cdn/components/menu-item/menu-item.js +1 -1
  128. package/cdn/components/menu-item/submenu-controller.js +1 -1
  129. package/cdn/components/navigation-item/navigation-item.js +1 -1
  130. package/cdn/components/notification/notification.js +1 -1
  131. package/cdn/components/optgroup/optgroup.js +1 -1
  132. package/cdn/components/option/option.js +1 -1
  133. package/cdn/components/popup/popup.js +1 -1
  134. package/cdn/components/quickfact/quickfact.js +1 -1
  135. package/cdn/components/radio/radio.js +1 -1
  136. package/cdn/components/radio-button/radio-button.js +1 -1
  137. package/cdn/components/radio-group/radio-group.js +1 -1
  138. package/cdn/components/range/range.js +1 -1
  139. package/cdn/components/range/utils.js +1 -1
  140. package/cdn/components/range-tick/range-tick.js +1 -1
  141. package/cdn/components/scrollable/scrollable.js +1 -1
  142. package/cdn/components/select/select.js +1 -1
  143. package/cdn/components/spinner/spinner.js +1 -1
  144. package/cdn/components/step/step.js +1 -1
  145. package/cdn/components/step-group/step-group.js +1 -1
  146. package/cdn/components/switch/switch.js +1 -1
  147. package/cdn/components/tab/tab.js +1 -1
  148. package/cdn/components/tab-group/tab-group.js +1 -1
  149. package/cdn/components/tab-panel/tab-panel.js +1 -1
  150. package/cdn/components/tag/tag.js +1 -1
  151. package/cdn/components/teaser/teaser.js +1 -1
  152. package/cdn/components/teaser-media/teaser-media.js +1 -1
  153. package/cdn/components/textarea/textarea.js +1 -1
  154. package/cdn/components/theme-listener/theme-listener.d.ts +10 -0
  155. package/cdn/components/theme-listener/theme-listener.js +1 -0
  156. package/cdn/components/tooltip/tooltip.js +1 -1
  157. package/cdn/components/video/video.js +1 -1
  158. package/cdn/custom-elements.json +321 -6
  159. package/cdn/internal/longpress.d.ts +1 -1
  160. package/cdn/internal/solid-element.d.ts +3 -0
  161. package/cdn/internal/solid-element.js +57 -11
  162. package/cdn/internal/theme-observer.d.ts +9 -0
  163. package/cdn/internal/theme-observer.js +19 -0
  164. package/cdn/solid-components.bundle.js +132 -60
  165. package/cdn/solid-components.css +117 -32
  166. package/cdn/solid-components.d.ts +1 -0
  167. package/cdn/solid-components.iife.js +132 -60
  168. package/cdn/solid-components.js +1 -1
  169. package/cdn/translations/de.js +1 -1
  170. package/cdn/translations/en.js +1 -1
  171. package/cdn/utilities/animation-registry.js +1 -1
  172. package/cdn/utilities/animation.js +1 -1
  173. package/cdn/utilities/autocomplete-config.js +1 -1
  174. package/cdn/utilities/base-path.js +1 -1
  175. package/cdn/utilities/form.js +1 -1
  176. package/cdn/utilities/icon-library.js +1 -1
  177. package/cdn/utilities/localize.js +1 -1
  178. package/cdn/vscode.html-custom-data.json +38 -11
  179. package/cdn/web-types.json +67 -13
  180. package/{cdn/chunks/chunk.GEOVNECI.js → cdn-versioned/chunks/chunk.26HHFQWN.js} +1 -1
  181. package/cdn-versioned/chunks/chunk.2P4WUDA5.js +1 -0
  182. package/cdn-versioned/chunks/chunk.2WRD673L.js +37 -0
  183. package/cdn-versioned/chunks/chunk.34DDPQIX.js +1 -0
  184. package/cdn-versioned/chunks/chunk.4M5X22ZY.js +121 -0
  185. package/cdn-versioned/chunks/{chunk.Y7NVH75J.js → chunk.4RPCNF2P.js} +1 -1
  186. package/cdn-versioned/chunks/chunk.4YZ4KROO.js +1 -0
  187. package/cdn-versioned/chunks/chunk.52TE5XAY.js +1 -0
  188. package/cdn-versioned/chunks/chunk.5UQI3XST.js +1 -0
  189. package/cdn-versioned/chunks/chunk.67DVLBYJ.js +1 -0
  190. package/cdn-versioned/chunks/chunk.6EV4YU6C.js +1 -0
  191. package/{cdn/chunks/chunk.RZUTJ36B.js → cdn-versioned/chunks/chunk.763RLJEK.js} +2 -2
  192. package/cdn-versioned/chunks/chunk.7AEASDWK.js +1 -0
  193. package/cdn-versioned/chunks/chunk.7GI7JDHC.js +1 -0
  194. package/cdn-versioned/chunks/chunk.7JYERWSH.js +1 -0
  195. package/cdn-versioned/chunks/chunk.7W3VKGUN.js +1 -0
  196. package/cdn-versioned/chunks/chunk.7Y7B3ZHS.js +10 -0
  197. package/cdn-versioned/chunks/chunk.AG4UH4IN.js +1 -0
  198. package/cdn-versioned/chunks/chunk.ASJAM6N6.js +1 -0
  199. package/cdn-versioned/chunks/chunk.AXEWYRHM.js +1 -0
  200. package/cdn-versioned/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
  201. package/cdn-versioned/chunks/chunk.BBLEWHIH.js +1 -0
  202. package/cdn-versioned/chunks/chunk.BBOBWBNZ.js +5 -0
  203. package/cdn-versioned/chunks/chunk.C2ZXPUMP.js +11 -0
  204. package/cdn-versioned/chunks/chunk.C4DGFQBN.js +1 -0
  205. package/cdn-versioned/chunks/chunk.CDP46OS4.js +10 -0
  206. package/{cdn/chunks/chunk.Y3GIPFVP.js → cdn-versioned/chunks/chunk.CSLPZKLY.js} +1 -1
  207. package/cdn-versioned/chunks/chunk.D3B4IY6Q.js +1 -0
  208. package/{cdn/chunks/chunk.XR2KNB36.js → cdn-versioned/chunks/chunk.D4E5ZIRW.js} +1 -1
  209. package/{cdn/chunks/chunk.BFDYLZMG.js → cdn-versioned/chunks/chunk.DIHLJO6E.js} +1 -1
  210. package/cdn-versioned/chunks/chunk.DSTXKNIF.js +1 -0
  211. package/cdn-versioned/chunks/chunk.E3TEJ4ZB.js +1 -0
  212. package/cdn-versioned/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
  213. package/cdn-versioned/chunks/chunk.FKQKBGOX.js +1 -0
  214. package/{cdn/chunks/chunk.P6QOQEIF.js → cdn-versioned/chunks/chunk.FLR2H3FJ.js} +1 -1
  215. package/cdn-versioned/chunks/chunk.G63DCZGX.js +1 -0
  216. package/cdn-versioned/chunks/chunk.GC4VHTKJ.js +1 -0
  217. package/cdn-versioned/chunks/chunk.HENAIYMS.js +4 -0
  218. package/cdn-versioned/chunks/chunk.HP7VSB3F.js +1 -0
  219. package/cdn-versioned/chunks/chunk.HRDUPPPV.js +1 -0
  220. package/cdn-versioned/chunks/chunk.HUBTWWPV.js +1 -0
  221. package/cdn-versioned/chunks/{chunk.QQ5HSBA6.js → chunk.HWKK3U5Y.js} +1 -1
  222. package/cdn-versioned/chunks/chunk.JGXVSXPF.js +4 -0
  223. package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -0
  224. package/cdn-versioned/chunks/chunk.KG2T3UA7.js +1 -0
  225. package/cdn-versioned/chunks/chunk.KIC3AQXN.js +1 -0
  226. package/cdn-versioned/chunks/chunk.L4OSXUKA.js +1 -0
  227. package/cdn-versioned/chunks/chunk.LHS24BGL.js +1 -0
  228. package/{cdn/chunks/chunk.UXY3AL7C.js → cdn-versioned/chunks/chunk.M2N4WAPT.js} +3 -1
  229. package/{cdn/chunks/chunk.FAPJVEMZ.js → cdn-versioned/chunks/chunk.MFRJ3Q5R.js} +1 -1
  230. package/cdn-versioned/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
  231. package/cdn-versioned/chunks/chunk.MWATMP25.js +11 -0
  232. package/{cdn/chunks/chunk.EJI65G6N.js → cdn-versioned/chunks/chunk.N3WG3NAL.js} +1 -1
  233. package/cdn-versioned/chunks/chunk.NRCPFRMF.js +1 -0
  234. package/cdn-versioned/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
  235. package/cdn-versioned/chunks/chunk.ORGDOUKL.js +1 -0
  236. package/cdn-versioned/chunks/chunk.PDUOJFNW.js +1 -0
  237. package/cdn-versioned/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
  238. package/cdn-versioned/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
  239. package/cdn-versioned/chunks/chunk.PZ5QBZPA.js +11 -0
  240. package/cdn-versioned/chunks/chunk.QYPTGASF.js +1 -0
  241. package/cdn-versioned/chunks/chunk.RSDBGHJ5.js +1 -0
  242. package/cdn-versioned/chunks/chunk.S7E3HBEA.js +1 -0
  243. package/cdn-versioned/chunks/{chunk.4SX3FTTZ.js → chunk.SIY4LRPB.js} +1 -1
  244. package/cdn-versioned/chunks/chunk.SM5DG4D5.js +3 -0
  245. package/cdn-versioned/chunks/chunk.SXTBHH2H.js +1 -0
  246. package/cdn-versioned/chunks/chunk.TFMNMOPY.js +1 -0
  247. package/{cdn/chunks/chunk.CODHT433.js → cdn-versioned/chunks/chunk.TV2UJIXM.js} +1 -1
  248. package/cdn-versioned/chunks/chunk.UNPDSLAW.js +1 -0
  249. package/cdn-versioned/chunks/chunk.V2C7MUP4.js +1 -0
  250. package/{cdn/chunks/chunk.LIO6LMTQ.js → cdn-versioned/chunks/chunk.VYBQ3X2B.js} +1 -1
  251. package/cdn-versioned/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
  252. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  253. package/cdn-versioned/chunks/chunk.WAC3RAQB.js +3 -0
  254. package/cdn-versioned/chunks/chunk.WSAVYRR4.js +4 -0
  255. package/cdn-versioned/chunks/chunk.XVMFX57F.js +11 -0
  256. package/cdn-versioned/chunks/chunk.Y5YIYPZY.js +1 -0
  257. package/cdn-versioned/chunks/chunk.YBBEF7BY.js +1 -0
  258. package/cdn-versioned/chunks/chunk.YBE5NEA5.js +1 -0
  259. package/cdn-versioned/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
  260. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  261. package/cdn-versioned/components/accordion/accordion.js +1 -1
  262. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  263. package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
  264. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  265. package/cdn-versioned/components/animation/animation.js +1 -1
  266. package/cdn-versioned/components/animation/animations.js +1 -1
  267. package/cdn-versioned/components/audio/audio.d.ts +2 -1
  268. package/cdn-versioned/components/audio/audio.js +1 -1
  269. package/cdn-versioned/components/audio/base64Audio.js +1 -1
  270. package/cdn-versioned/components/audio/wave.js +1 -1
  271. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  272. package/cdn-versioned/components/badge/badge.js +1 -1
  273. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  274. package/cdn-versioned/components/brandshape/brandshape.js +1 -1
  275. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  276. package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
  277. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -1
  278. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
  279. package/cdn-versioned/components/button/button.d.ts +1 -1
  280. package/cdn-versioned/components/button/button.js +1 -1
  281. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  282. package/cdn-versioned/components/button-group/button-group.js +1 -1
  283. package/cdn-versioned/components/carousel/autoplay-controller.js +1 -1
  284. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  285. package/cdn-versioned/components/carousel/carousel.js +1 -1
  286. package/cdn-versioned/components/carousel/fade-controller.js +1 -1
  287. package/cdn-versioned/components/carousel/scroll-controller.js +1 -1
  288. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  289. package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
  290. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  291. package/cdn-versioned/components/checkbox/checkbox.js +1 -1
  292. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  293. package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
  294. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  295. package/cdn-versioned/components/combobox/combobox.js +1 -1
  296. package/cdn-versioned/components/combobox/option-renderer.js +1 -1
  297. package/cdn-versioned/components/combobox/utils.js +1 -1
  298. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  299. package/cdn-versioned/components/dialog/dialog.js +1 -1
  300. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  301. package/cdn-versioned/components/divider/divider.js +1 -1
  302. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  303. package/cdn-versioned/components/drawer/drawer.js +1 -1
  304. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  305. package/cdn-versioned/components/dropdown/dropdown.js +1 -1
  306. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  307. package/cdn-versioned/components/expandable/expandable.js +1 -1
  308. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  309. package/cdn-versioned/components/flipcard/flipcard.js +1 -1
  310. package/cdn-versioned/components/header/header.d.ts +1 -1
  311. package/cdn-versioned/components/header/header.js +1 -1
  312. package/cdn-versioned/components/icon/icon.d.ts +3 -1
  313. package/cdn-versioned/components/icon/icon.js +1 -1
  314. package/cdn-versioned/components/icon/library.default.js +1 -1
  315. package/cdn-versioned/components/icon/library.internal.d.ts +2 -0
  316. package/cdn-versioned/components/icon/library.internal.js +1 -1
  317. package/cdn-versioned/components/icon/library.js +1 -1
  318. package/cdn-versioned/components/icon/library.status.js +1 -1
  319. package/cdn-versioned/components/icon/request.js +1 -1
  320. package/cdn-versioned/components/include/include.d.ts +1 -1
  321. package/cdn-versioned/components/include/include.js +1 -1
  322. package/cdn-versioned/components/include/request.js +1 -1
  323. package/cdn-versioned/components/input/input.d.ts +1 -1
  324. package/cdn-versioned/components/input/input.js +1 -1
  325. package/cdn-versioned/components/link/link.d.ts +1 -1
  326. package/cdn-versioned/components/link/link.js +1 -1
  327. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  328. package/cdn-versioned/components/loader/loader.js +1 -1
  329. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  330. package/cdn-versioned/components/map-marker/map-marker.js +1 -1
  331. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  332. package/cdn-versioned/components/menu/menu.js +1 -1
  333. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  334. package/cdn-versioned/components/menu-item/menu-item.js +1 -1
  335. package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
  336. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  337. package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
  338. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  339. package/cdn-versioned/components/notification/notification.js +1 -1
  340. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  341. package/cdn-versioned/components/optgroup/optgroup.js +1 -1
  342. package/cdn-versioned/components/option/option.d.ts +1 -1
  343. package/cdn-versioned/components/option/option.js +1 -1
  344. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  345. package/cdn-versioned/components/popup/popup.js +1 -1
  346. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  347. package/cdn-versioned/components/quickfact/quickfact.js +1 -1
  348. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  349. package/cdn-versioned/components/radio/radio.js +1 -1
  350. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  351. package/cdn-versioned/components/radio-button/radio-button.js +1 -1
  352. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  353. package/cdn-versioned/components/radio-group/radio-group.js +1 -1
  354. package/cdn-versioned/components/range/range.d.ts +1 -1
  355. package/cdn-versioned/components/range/range.js +1 -1
  356. package/cdn-versioned/components/range/utils.js +1 -1
  357. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  358. package/cdn-versioned/components/range-tick/range-tick.js +1 -1
  359. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  360. package/cdn-versioned/components/scrollable/scrollable.js +1 -1
  361. package/cdn-versioned/components/select/select.d.ts +1 -1
  362. package/cdn-versioned/components/select/select.js +1 -1
  363. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  364. package/cdn-versioned/components/spinner/spinner.js +1 -1
  365. package/cdn-versioned/components/step/step.d.ts +1 -1
  366. package/cdn-versioned/components/step/step.js +1 -1
  367. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  368. package/cdn-versioned/components/step-group/step-group.js +1 -1
  369. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  370. package/cdn-versioned/components/switch/switch.js +1 -1
  371. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  372. package/cdn-versioned/components/tab/tab.js +1 -1
  373. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  374. package/cdn-versioned/components/tab-group/tab-group.js +1 -1
  375. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  376. package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
  377. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  378. package/cdn-versioned/components/tag/tag.js +1 -1
  379. package/cdn-versioned/components/teaser/teaser.js +1 -1
  380. package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
  381. package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
  382. package/cdn-versioned/components/textarea/textarea.js +1 -1
  383. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +10 -0
  384. package/cdn-versioned/components/theme-listener/theme-listener.js +1 -0
  385. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  386. package/cdn-versioned/components/tooltip/tooltip.js +1 -1
  387. package/cdn-versioned/components/video/video.d.ts +1 -1
  388. package/cdn-versioned/components/video/video.js +1 -1
  389. package/cdn-versioned/custom-elements.json +558 -243
  390. package/cdn-versioned/internal/form.js +3 -3
  391. package/cdn-versioned/internal/longpress.d.ts +1 -1
  392. package/cdn-versioned/internal/solid-element.d.ts +3 -0
  393. package/cdn-versioned/internal/solid-element.js +57 -11
  394. package/cdn-versioned/internal/theme-observer.d.ts +9 -0
  395. package/cdn-versioned/internal/theme-observer.js +19 -0
  396. package/cdn-versioned/solid-components.bundle.js +132 -60
  397. package/cdn-versioned/solid-components.css +117 -32
  398. package/cdn-versioned/solid-components.d.ts +1 -0
  399. package/cdn-versioned/solid-components.iife.js +132 -60
  400. package/cdn-versioned/solid-components.js +1 -1
  401. package/cdn-versioned/translations/de.js +1 -1
  402. package/cdn-versioned/translations/en.js +1 -1
  403. package/cdn-versioned/utilities/animation-registry.js +1 -1
  404. package/cdn-versioned/utilities/animation.js +1 -1
  405. package/cdn-versioned/utilities/autocomplete-config.js +1 -1
  406. package/cdn-versioned/utilities/base-path.js +1 -1
  407. package/cdn-versioned/utilities/form.js +1 -1
  408. package/cdn-versioned/utilities/icon-library.js +1 -1
  409. package/cdn-versioned/utilities/localize.js +1 -1
  410. package/cdn-versioned/vscode.html-custom-data.json +124 -97
  411. package/cdn-versioned/web-types.json +215 -161
  412. package/dist/chunks/{chunk.AYDMEA3C.js → chunk.24UVKYTF.js} +2 -2
  413. package/dist/chunks/{chunk.6ITI3HNP.js → chunk.262GD5RA.js} +6 -6
  414. package/dist/chunks/{chunk.QDZS6M4T.js → chunk.2LW2TIND.js} +2 -2
  415. package/dist/chunks/{chunk.PPVX563E.js → chunk.32E2WNUE.js} +2 -2
  416. package/dist/chunks/{chunk.PRTWW2BW.js → chunk.4ILI3XGP.js} +2 -2
  417. package/dist/chunks/{chunk.HP7WJYO4.js → chunk.574X7EC7.js} +5 -5
  418. package/dist/chunks/{chunk.5FANE6X5.js → chunk.6LDBZ4S7.js} +2 -2
  419. package/dist/chunks/{chunk.KVLD4JWK.js → chunk.AAMFU5FW.js} +2 -2
  420. package/dist/chunks/{chunk.IUS3S54L.js → chunk.ACNKTEJM.js} +4 -4
  421. package/dist/chunks/{chunk.TMWT3ROD.js → chunk.APBFYE35.js} +5 -5
  422. package/dist/chunks/{chunk.7UTPAUSQ.js → chunk.B4UN2MRL.js} +6 -2
  423. package/dist/chunks/{chunk.I7VRBYGO.js → chunk.BV5PXCAM.js} +3 -3
  424. package/dist/chunks/{chunk.HYPCYXQP.js → chunk.CNNLNYSJ.js} +14 -4
  425. package/dist/chunks/{chunk.JOYITBGJ.js → chunk.CP4YEFPU.js} +2 -2
  426. package/dist/chunks/{chunk.DQ6G3W3V.js → chunk.CWHFEZQY.js} +5 -5
  427. package/dist/chunks/{chunk.23KFQ6DK.js → chunk.D3JBFWTU.js} +4 -4
  428. package/dist/chunks/{chunk.WWBNZDY7.js → chunk.DIONFQNX.js} +2 -2
  429. package/dist/chunks/{chunk.T6DXPJAI.js → chunk.EH3YK63Y.js} +3 -3
  430. package/dist/chunks/{chunk.QZBSHWMK.js → chunk.FFCOP3ME.js} +10 -5
  431. package/dist/chunks/{chunk.TIBLXIJV.js → chunk.FGUKF4CR.js} +2 -2
  432. package/dist/chunks/{chunk.IAL4GVA4.js → chunk.FJEGV6DM.js} +2 -2
  433. package/dist/chunks/{chunk.45BEUHRF.js → chunk.G3MAHVJA.js} +3 -3
  434. package/dist/chunks/{chunk.34OZXOJP.js → chunk.G3OXXGZX.js} +2 -2
  435. package/dist/chunks/{chunk.UAVNEMEF.js → chunk.G6T2S742.js} +2 -2
  436. package/dist/chunks/chunk.H2ALVYPG.js +170 -0
  437. package/dist/chunks/{chunk.RRNLIX2S.js → chunk.HKQXWZ7G.js} +5 -5
  438. package/dist/chunks/{chunk.S3BSVYPB.js → chunk.I7OXSYXU.js} +4 -4
  439. package/dist/chunks/{chunk.SJPDNEHE.js → chunk.IN5XJAGY.js} +2 -2
  440. package/dist/chunks/{chunk.T2AOG5F2.js → chunk.KBLWHFHC.js} +5 -5
  441. package/{dist-versioned/chunks/chunk.7VPFFNHR.js → dist/chunks/chunk.KPAQRMCC.js} +2 -2
  442. package/dist/chunks/{chunk.Z2RQUXP5.js → chunk.L3TUGUA6.js} +5 -5
  443. package/dist/chunks/{chunk.PHHK74M7.js → chunk.M3VM2DRF.js} +4 -9
  444. package/dist/chunks/{chunk.6DKXZWRN.js → chunk.MPS7DDJJ.js} +1 -1
  445. package/dist/chunks/{chunk.E57K3AFR.js → chunk.MUM2CTNK.js} +2 -2
  446. package/dist/chunks/{chunk.VMVBXZ2U.js → chunk.MVKWMVHE.js} +2 -2
  447. package/dist/chunks/{chunk.CFBWKOJD.js → chunk.NXQQ337Y.js} +7 -4
  448. package/dist/chunks/{chunk.RAYANOK2.js → chunk.OLIBLXE5.js} +12 -12
  449. package/dist/chunks/{chunk.DHRQZSXG.js → chunk.P3TSBTFH.js} +2 -2
  450. package/dist/chunks/{chunk.M5FO7PXK.js → chunk.PCJVXPPB.js} +2 -2
  451. package/dist/chunks/{chunk.SE4CTFYY.js → chunk.QIWTRSHI.js} +2 -2
  452. package/dist/chunks/{chunk.4D3N4MVV.js → chunk.QM6BYZJR.js} +2 -2
  453. package/dist/chunks/{chunk.BUFXMACO.js → chunk.RC3XRXWM.js} +5 -6
  454. package/dist/chunks/{chunk.TKJFMHFU.js → chunk.SKOPFWCQ.js} +2 -2
  455. package/dist/chunks/{chunk.A2M7C3CD.js → chunk.SRU7VSQX.js} +2 -2
  456. package/dist/chunks/chunk.T3HLE2UR.js +26 -0
  457. package/dist/chunks/{chunk.AKX7VXML.js → chunk.T4UP6Y4D.js} +3 -3
  458. package/dist/chunks/{chunk.JTKHYOJO.js → chunk.TRV5UURW.js} +3 -3
  459. package/dist/chunks/{chunk.HOXI77KQ.js → chunk.ULD7FBSL.js} +5 -8
  460. package/dist/chunks/chunk.USLIZWTB.js +113 -0
  461. package/dist/chunks/{chunk.MBFZWG5H.js → chunk.UVKMYODH.js} +7 -3
  462. package/dist/chunks/{chunk.5YOGUSPL.js → chunk.V2J3RAY6.js} +5 -5
  463. package/dist/chunks/{chunk.NVXUSMMW.js → chunk.WC5FU2I2.js} +2 -2
  464. package/dist/chunks/{chunk.QAJG6PYM.js → chunk.WFMQUAS5.js} +2 -2
  465. package/dist/chunks/{chunk.WZZP5YIS.js → chunk.WKRNHLCB.js} +2 -2
  466. package/dist/chunks/{chunk.Q44CB3ZY.js → chunk.WZUYGJSJ.js} +3 -3
  467. package/dist/chunks/{chunk.6MHK4U6F.js → chunk.X6YLTXVX.js} +3 -3
  468. package/dist/chunks/{chunk.PEAIITW7.js → chunk.XQ6ZMO6V.js} +12 -10
  469. package/dist/chunks/{chunk.SDWNASDC.js → chunk.XT3GA2SZ.js} +3 -3
  470. package/dist/chunks/chunk.XUGEMNQZ.js +76 -0
  471. package/dist/chunks/{chunk.JMHQQHEP.js → chunk.XULVG6IQ.js} +2 -2
  472. package/dist/chunks/{chunk.JM3YRKVA.js → chunk.Z4YIKXCF.js} +2 -2
  473. package/dist/chunks/{chunk.R735ROML.js → chunk.ZI6VDRWN.js} +5 -13
  474. package/dist/components/accordion/accordion.js +6 -6
  475. package/dist/components/accordion-group/accordion-group.js +7 -7
  476. package/dist/components/animation/animation.js +2 -2
  477. package/dist/components/audio/audio.d.ts +1 -0
  478. package/dist/components/audio/audio.js +9 -9
  479. package/dist/components/badge/badge.js +2 -2
  480. package/dist/components/brandshape/brandshape.js +2 -2
  481. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  482. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +1 -0
  483. package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
  484. package/dist/components/button/button.js +3 -3
  485. package/dist/components/button-group/button-group.js +2 -2
  486. package/dist/components/carousel/carousel.js +7 -7
  487. package/dist/components/carousel-item/carousel-item.js +2 -2
  488. package/dist/components/checkbox/checkbox.js +6 -6
  489. package/dist/components/checkbox-group/checkbox-group.js +6 -6
  490. package/dist/components/combobox/combobox.js +8 -8
  491. package/dist/components/dialog/dialog.js +8 -8
  492. package/dist/components/divider/divider.js +2 -2
  493. package/dist/components/drawer/drawer.js +8 -8
  494. package/dist/components/dropdown/dropdown.js +3 -3
  495. package/dist/components/expandable/expandable.js +6 -6
  496. package/dist/components/flipcard/flipcard.js +8 -8
  497. package/dist/components/header/header.js +2 -2
  498. package/dist/components/icon/icon.d.ts +2 -0
  499. package/dist/components/icon/icon.js +5 -5
  500. package/dist/components/icon/library.default.js +1 -1
  501. package/dist/components/icon/library.internal.d.ts +2 -0
  502. package/dist/components/icon/library.internal.js +1 -1
  503. package/dist/components/icon/library.js +3 -3
  504. package/dist/components/include/include.js +2 -2
  505. package/dist/components/input/input.js +6 -6
  506. package/dist/components/link/link.js +2 -2
  507. package/dist/components/loader/loader.js +2 -2
  508. package/dist/components/map-marker/map-marker.js +2 -2
  509. package/dist/components/menu/menu.js +2 -2
  510. package/dist/components/menu-item/menu-item.js +2 -2
  511. package/dist/components/navigation-item/navigation-item.js +7 -7
  512. package/dist/components/notification/notification.js +8 -8
  513. package/dist/components/optgroup/optgroup.js +3 -3
  514. package/dist/components/option/option.js +6 -6
  515. package/dist/components/popup/popup.js +2 -2
  516. package/dist/components/quickfact/quickfact.js +7 -7
  517. package/dist/components/radio/radio.js +2 -2
  518. package/dist/components/radio-button/radio-button.js +2 -2
  519. package/dist/components/radio-group/radio-group.js +4 -4
  520. package/dist/components/range/range.js +2 -2
  521. package/dist/components/range-tick/range-tick.js +2 -2
  522. package/dist/components/scrollable/scrollable.js +6 -6
  523. package/dist/components/select/select.js +8 -8
  524. package/dist/components/spinner/spinner.js +2 -2
  525. package/dist/components/step/step.js +6 -6
  526. package/dist/components/step-group/step-group.js +2 -2
  527. package/dist/components/switch/switch.js +2 -2
  528. package/dist/components/tab/tab.js +2 -2
  529. package/dist/components/tab-group/tab-group.js +6 -6
  530. package/dist/components/tab-panel/tab-panel.js +2 -2
  531. package/dist/components/tag/tag.js +6 -6
  532. package/dist/components/teaser/teaser.js +2 -2
  533. package/dist/components/teaser-media/teaser-media.js +2 -2
  534. package/dist/components/textarea/textarea.js +6 -6
  535. package/dist/components/theme-listener/theme-listener.d.ts +10 -0
  536. package/dist/components/theme-listener/theme-listener.js +9 -0
  537. package/dist/components/tooltip/tooltip.js +7 -7
  538. package/dist/components/video/video.js +6 -6
  539. package/dist/custom-elements.json +321 -6
  540. package/dist/internal/longpress.d.ts +1 -1
  541. package/dist/internal/solid-element.d.ts +3 -0
  542. package/dist/internal/solid-element.js +57 -11
  543. package/dist/internal/theme-observer.d.ts +9 -0
  544. package/dist/internal/theme-observer.js +19 -0
  545. package/dist/solid-components.css +117 -32
  546. package/dist/solid-components.d.ts +1 -0
  547. package/dist/solid-components.js +66 -62
  548. package/dist/utilities/autocomplete-config.js +3 -3
  549. package/dist/utilities/icon-library.js +3 -3
  550. package/dist/vscode.html-custom-data.json +38 -11
  551. package/dist/web-types.json +67 -13
  552. package/dist-versioned/chunks/{chunk.AYDMEA3C.js → chunk.24UVKYTF.js} +6 -6
  553. package/dist-versioned/chunks/{chunk.6ITI3HNP.js → chunk.262GD5RA.js} +7 -7
  554. package/dist-versioned/chunks/{chunk.QDZS6M4T.js → chunk.2LW2TIND.js} +4 -4
  555. package/dist-versioned/chunks/{chunk.PPVX563E.js → chunk.32E2WNUE.js} +4 -4
  556. package/dist-versioned/chunks/{chunk.PRTWW2BW.js → chunk.4ILI3XGP.js} +3 -3
  557. package/dist-versioned/chunks/{chunk.HP7WJYO4.js → chunk.574X7EC7.js} +7 -7
  558. package/dist-versioned/chunks/{chunk.5FANE6X5.js → chunk.6LDBZ4S7.js} +2 -2
  559. package/dist-versioned/chunks/{chunk.KVLD4JWK.js → chunk.AAMFU5FW.js} +6 -6
  560. package/dist-versioned/chunks/{chunk.IUS3S54L.js → chunk.ACNKTEJM.js} +5 -5
  561. package/dist-versioned/chunks/{chunk.TMWT3ROD.js → chunk.APBFYE35.js} +7 -7
  562. package/dist-versioned/chunks/{chunk.7UTPAUSQ.js → chunk.B4UN2MRL.js} +8 -4
  563. package/dist-versioned/chunks/{chunk.I7VRBYGO.js → chunk.BV5PXCAM.js} +4 -4
  564. package/dist-versioned/chunks/{chunk.HYPCYXQP.js → chunk.CNNLNYSJ.js} +15 -5
  565. package/dist-versioned/chunks/{chunk.JOYITBGJ.js → chunk.CP4YEFPU.js} +4 -4
  566. package/dist-versioned/chunks/{chunk.DQ6G3W3V.js → chunk.CWHFEZQY.js} +7 -7
  567. package/dist-versioned/chunks/{chunk.23KFQ6DK.js → chunk.D3JBFWTU.js} +6 -6
  568. package/dist-versioned/chunks/{chunk.WWBNZDY7.js → chunk.DIONFQNX.js} +13 -13
  569. package/dist-versioned/chunks/{chunk.T6DXPJAI.js → chunk.EH3YK63Y.js} +4 -4
  570. package/dist-versioned/chunks/{chunk.QZBSHWMK.js → chunk.FFCOP3ME.js} +15 -10
  571. package/dist-versioned/chunks/{chunk.TIBLXIJV.js → chunk.FGUKF4CR.js} +8 -8
  572. package/dist-versioned/chunks/{chunk.IAL4GVA4.js → chunk.FJEGV6DM.js} +6 -6
  573. package/dist-versioned/chunks/{chunk.45BEUHRF.js → chunk.G3MAHVJA.js} +5 -5
  574. package/dist-versioned/chunks/{chunk.34OZXOJP.js → chunk.G3OXXGZX.js} +3 -3
  575. package/dist-versioned/chunks/{chunk.UAVNEMEF.js → chunk.G6T2S742.js} +3 -3
  576. package/dist-versioned/chunks/chunk.H2ALVYPG.js +170 -0
  577. package/dist-versioned/chunks/{chunk.RRNLIX2S.js → chunk.HKQXWZ7G.js} +7 -7
  578. package/dist-versioned/chunks/{chunk.S3BSVYPB.js → chunk.I7OXSYXU.js} +5 -5
  579. package/dist-versioned/chunks/{chunk.SJPDNEHE.js → chunk.IN5XJAGY.js} +4 -4
  580. package/dist-versioned/chunks/{chunk.T2AOG5F2.js → chunk.KBLWHFHC.js} +28 -28
  581. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  582. package/{dist/chunks/chunk.7VPFFNHR.js → dist-versioned/chunks/chunk.KPAQRMCC.js} +2 -2
  583. package/dist-versioned/chunks/{chunk.Z2RQUXP5.js → chunk.L3TUGUA6.js} +7 -7
  584. package/dist-versioned/chunks/{chunk.PHHK74M7.js → chunk.M3VM2DRF.js} +7 -12
  585. package/dist-versioned/chunks/chunk.MPS7DDJJ.js +69 -0
  586. package/dist-versioned/chunks/{chunk.E57K3AFR.js → chunk.MUM2CTNK.js} +3 -3
  587. package/dist-versioned/chunks/{chunk.VMVBXZ2U.js → chunk.MVKWMVHE.js} +3 -3
  588. package/dist-versioned/chunks/{chunk.CFBWKOJD.js → chunk.NXQQ337Y.js} +8 -5
  589. package/dist-versioned/chunks/{chunk.RAYANOK2.js → chunk.OLIBLXE5.js} +15 -15
  590. package/dist-versioned/chunks/{chunk.DHRQZSXG.js → chunk.P3TSBTFH.js} +9 -9
  591. package/dist-versioned/chunks/{chunk.M5FO7PXK.js → chunk.PCJVXPPB.js} +6 -6
  592. package/dist-versioned/chunks/{chunk.SE4CTFYY.js → chunk.QIWTRSHI.js} +3 -3
  593. package/dist-versioned/chunks/{chunk.4D3N4MVV.js → chunk.QM6BYZJR.js} +15 -15
  594. package/dist-versioned/chunks/{chunk.BUFXMACO.js → chunk.RC3XRXWM.js} +6 -7
  595. package/dist-versioned/chunks/{chunk.TKJFMHFU.js → chunk.SKOPFWCQ.js} +4 -4
  596. package/dist-versioned/chunks/{chunk.A2M7C3CD.js → chunk.SRU7VSQX.js} +3 -3
  597. package/dist-versioned/chunks/chunk.T3HLE2UR.js +26 -0
  598. package/dist-versioned/chunks/{chunk.AKX7VXML.js → chunk.T4UP6Y4D.js} +8 -8
  599. package/dist-versioned/chunks/{chunk.JTKHYOJO.js → chunk.TRV5UURW.js} +15 -15
  600. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  601. package/dist-versioned/chunks/{chunk.HOXI77KQ.js → chunk.ULD7FBSL.js} +7 -10
  602. package/dist-versioned/chunks/chunk.USLIZWTB.js +113 -0
  603. package/dist-versioned/chunks/{chunk.MBFZWG5H.js → chunk.UVKMYODH.js} +8 -4
  604. package/dist-versioned/chunks/{chunk.5YOGUSPL.js → chunk.V2J3RAY6.js} +30 -30
  605. package/dist-versioned/chunks/{chunk.NVXUSMMW.js → chunk.WC5FU2I2.js} +4 -4
  606. package/dist-versioned/chunks/{chunk.QAJG6PYM.js → chunk.WFMQUAS5.js} +3 -3
  607. package/dist-versioned/chunks/{chunk.WZZP5YIS.js → chunk.WKRNHLCB.js} +3 -3
  608. package/dist-versioned/chunks/{chunk.Q44CB3ZY.js → chunk.WZUYGJSJ.js} +5 -5
  609. package/dist-versioned/chunks/{chunk.6MHK4U6F.js → chunk.X6YLTXVX.js} +14 -14
  610. package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
  611. package/dist-versioned/chunks/{chunk.PEAIITW7.js → chunk.XQ6ZMO6V.js} +16 -14
  612. package/dist-versioned/chunks/{chunk.SDWNASDC.js → chunk.XT3GA2SZ.js} +6 -6
  613. package/dist-versioned/chunks/chunk.XUGEMNQZ.js +76 -0
  614. package/dist-versioned/chunks/{chunk.JMHQQHEP.js → chunk.XULVG6IQ.js} +3 -3
  615. package/dist-versioned/chunks/{chunk.JM3YRKVA.js → chunk.Z4YIKXCF.js} +4 -4
  616. package/dist-versioned/chunks/{chunk.R735ROML.js → chunk.ZI6VDRWN.js} +6 -14
  617. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  618. package/dist-versioned/components/accordion/accordion.js +6 -6
  619. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  620. package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
  621. package/dist-versioned/components/animation/animation.d.ts +1 -1
  622. package/dist-versioned/components/animation/animation.js +2 -2
  623. package/dist-versioned/components/audio/audio.d.ts +2 -1
  624. package/dist-versioned/components/audio/audio.js +9 -9
  625. package/dist-versioned/components/badge/badge.d.ts +1 -1
  626. package/dist-versioned/components/badge/badge.js +2 -2
  627. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  628. package/dist-versioned/components/brandshape/brandshape.js +2 -2
  629. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  630. package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
  631. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -1
  632. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
  633. package/dist-versioned/components/button/button.d.ts +1 -1
  634. package/dist-versioned/components/button/button.js +3 -3
  635. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  636. package/dist-versioned/components/button-group/button-group.js +2 -2
  637. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  638. package/dist-versioned/components/carousel/carousel.js +7 -7
  639. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  640. package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
  641. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  642. package/dist-versioned/components/checkbox/checkbox.js +6 -6
  643. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  644. package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
  645. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  646. package/dist-versioned/components/combobox/combobox.js +8 -8
  647. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  648. package/dist-versioned/components/dialog/dialog.js +8 -8
  649. package/dist-versioned/components/divider/divider.d.ts +1 -1
  650. package/dist-versioned/components/divider/divider.js +2 -2
  651. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  652. package/dist-versioned/components/drawer/drawer.js +8 -8
  653. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  654. package/dist-versioned/components/dropdown/dropdown.js +3 -3
  655. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  656. package/dist-versioned/components/expandable/expandable.js +6 -6
  657. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  658. package/dist-versioned/components/flipcard/flipcard.js +8 -8
  659. package/dist-versioned/components/header/header.d.ts +1 -1
  660. package/dist-versioned/components/header/header.js +2 -2
  661. package/dist-versioned/components/icon/icon.d.ts +3 -1
  662. package/dist-versioned/components/icon/icon.js +5 -5
  663. package/dist-versioned/components/icon/library.default.js +1 -1
  664. package/dist-versioned/components/icon/library.internal.d.ts +2 -0
  665. package/dist-versioned/components/icon/library.internal.js +1 -1
  666. package/dist-versioned/components/icon/library.js +3 -3
  667. package/dist-versioned/components/include/include.d.ts +1 -1
  668. package/dist-versioned/components/include/include.js +2 -2
  669. package/dist-versioned/components/input/input.d.ts +1 -1
  670. package/dist-versioned/components/input/input.js +6 -6
  671. package/dist-versioned/components/link/link.d.ts +1 -1
  672. package/dist-versioned/components/link/link.js +2 -2
  673. package/dist-versioned/components/loader/loader.d.ts +1 -1
  674. package/dist-versioned/components/loader/loader.js +2 -2
  675. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  676. package/dist-versioned/components/map-marker/map-marker.js +2 -2
  677. package/dist-versioned/components/menu/menu.d.ts +1 -1
  678. package/dist-versioned/components/menu/menu.js +2 -2
  679. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  680. package/dist-versioned/components/menu-item/menu-item.js +2 -2
  681. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  682. package/dist-versioned/components/navigation-item/navigation-item.js +7 -7
  683. package/dist-versioned/components/notification/notification.d.ts +1 -1
  684. package/dist-versioned/components/notification/notification.js +8 -8
  685. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  686. package/dist-versioned/components/optgroup/optgroup.js +3 -3
  687. package/dist-versioned/components/option/option.d.ts +1 -1
  688. package/dist-versioned/components/option/option.js +6 -6
  689. package/dist-versioned/components/popup/popup.d.ts +1 -1
  690. package/dist-versioned/components/popup/popup.js +2 -2
  691. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  692. package/dist-versioned/components/quickfact/quickfact.js +7 -7
  693. package/dist-versioned/components/radio/radio.d.ts +1 -1
  694. package/dist-versioned/components/radio/radio.js +2 -2
  695. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  696. package/dist-versioned/components/radio-button/radio-button.js +2 -2
  697. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  698. package/dist-versioned/components/radio-group/radio-group.js +4 -4
  699. package/dist-versioned/components/range/range.d.ts +1 -1
  700. package/dist-versioned/components/range/range.js +2 -2
  701. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  702. package/dist-versioned/components/range-tick/range-tick.js +2 -2
  703. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  704. package/dist-versioned/components/scrollable/scrollable.js +6 -6
  705. package/dist-versioned/components/select/select.d.ts +1 -1
  706. package/dist-versioned/components/select/select.js +8 -8
  707. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  708. package/dist-versioned/components/spinner/spinner.js +2 -2
  709. package/dist-versioned/components/step/step.d.ts +1 -1
  710. package/dist-versioned/components/step/step.js +6 -6
  711. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  712. package/dist-versioned/components/step-group/step-group.js +2 -2
  713. package/dist-versioned/components/switch/switch.d.ts +1 -1
  714. package/dist-versioned/components/switch/switch.js +2 -2
  715. package/dist-versioned/components/tab/tab.d.ts +1 -1
  716. package/dist-versioned/components/tab/tab.js +2 -2
  717. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  718. package/dist-versioned/components/tab-group/tab-group.js +6 -6
  719. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  720. package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
  721. package/dist-versioned/components/tag/tag.d.ts +1 -1
  722. package/dist-versioned/components/tag/tag.js +6 -6
  723. package/dist-versioned/components/teaser/teaser.js +2 -2
  724. package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
  725. package/dist-versioned/components/textarea/textarea.d.ts +1 -1
  726. package/dist-versioned/components/textarea/textarea.js +6 -6
  727. package/dist-versioned/components/theme-listener/theme-listener.d.ts +10 -0
  728. package/dist-versioned/components/theme-listener/theme-listener.js +9 -0
  729. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  730. package/dist-versioned/components/tooltip/tooltip.js +7 -7
  731. package/dist-versioned/components/video/video.d.ts +1 -1
  732. package/dist-versioned/components/video/video.js +6 -6
  733. package/dist-versioned/custom-elements.json +558 -243
  734. package/dist-versioned/internal/form.js +3 -3
  735. package/dist-versioned/internal/longpress.d.ts +1 -1
  736. package/dist-versioned/internal/solid-element.d.ts +3 -0
  737. package/dist-versioned/internal/solid-element.js +57 -11
  738. package/dist-versioned/internal/theme-observer.d.ts +9 -0
  739. package/dist-versioned/internal/theme-observer.js +19 -0
  740. package/dist-versioned/solid-components.css +117 -32
  741. package/dist-versioned/solid-components.d.ts +1 -0
  742. package/dist-versioned/solid-components.js +66 -62
  743. package/dist-versioned/utilities/autocomplete-config.js +3 -3
  744. package/dist-versioned/utilities/icon-library.js +3 -3
  745. package/dist-versioned/vscode.html-custom-data.json +124 -97
  746. package/dist-versioned/web-types.json +215 -161
  747. package/package.json +13 -6
  748. package/cdn/chunks/chunk.2KRS2HQF.js +0 -1
  749. package/cdn/chunks/chunk.2UNWLMKE.js +0 -1
  750. package/cdn/chunks/chunk.2YG34O7F.js +0 -1
  751. package/cdn/chunks/chunk.35PQ7S2O.js +0 -1
  752. package/cdn/chunks/chunk.3JOVDAJX.js +0 -1
  753. package/cdn/chunks/chunk.4RHXHQ7H.js +0 -3
  754. package/cdn/chunks/chunk.5CAMYQMD.js +0 -1
  755. package/cdn/chunks/chunk.5HQBAJ66.js +0 -1
  756. package/cdn/chunks/chunk.AEVPJRUQ.js +0 -1
  757. package/cdn/chunks/chunk.ALSSHD3Q.js +0 -1
  758. package/cdn/chunks/chunk.ARYMSO7N.js +0 -1
  759. package/cdn/chunks/chunk.BZJ7O5ES.js +0 -1
  760. package/cdn/chunks/chunk.CEVVDV52.js +0 -1
  761. package/cdn/chunks/chunk.CVNGM52W.js +0 -1
  762. package/cdn/chunks/chunk.CWOKJQSQ.js +0 -1
  763. package/cdn/chunks/chunk.EGDPRSOF.js +0 -10
  764. package/cdn/chunks/chunk.FSATHYQT.js +0 -1
  765. package/cdn/chunks/chunk.HX23UDYZ.js +0 -1
  766. package/cdn/chunks/chunk.HYCWRAJB.js +0 -1
  767. package/cdn/chunks/chunk.ISZAAZUB.js +0 -1
  768. package/cdn/chunks/chunk.IWPBSEAW.js +0 -1
  769. package/cdn/chunks/chunk.JCU3EXPE.js +0 -1
  770. package/cdn/chunks/chunk.JXQJUYEC.js +0 -1
  771. package/cdn/chunks/chunk.KOERGSAL.js +0 -1
  772. package/cdn/chunks/chunk.LUO6B5O2.js +0 -73
  773. package/cdn/chunks/chunk.O4L5OULX.js +0 -1
  774. package/cdn/chunks/chunk.R3WH26GI.js +0 -1
  775. package/cdn/chunks/chunk.RXMJRA5Q.js +0 -1
  776. package/cdn/chunks/chunk.SJLZKEAQ.js +0 -1
  777. package/cdn/chunks/chunk.TJ7ZA5LO.js +0 -25
  778. package/cdn/chunks/chunk.TJOCV4DC.js +0 -1
  779. package/cdn/chunks/chunk.TL3K6WJI.js +0 -1
  780. package/cdn/chunks/chunk.TUU3QZXR.js +0 -11
  781. package/cdn/chunks/chunk.UBEW2PY5.js +0 -1
  782. package/cdn/chunks/chunk.XEK5QKES.js +0 -1
  783. package/cdn/chunks/chunk.YFGMDOCE.js +0 -1
  784. package/cdn/chunks/chunk.YHHVM7YY.js +0 -1
  785. package/cdn/chunks/chunk.ZNWCIW62.js +0 -1
  786. package/cdn/chunks/chunk.ZQBF4WJL.js +0 -1
  787. package/cdn-versioned/chunks/chunk.2KRS2HQF.js +0 -1
  788. package/cdn-versioned/chunks/chunk.2UNWLMKE.js +0 -1
  789. package/cdn-versioned/chunks/chunk.2YG34O7F.js +0 -1
  790. package/cdn-versioned/chunks/chunk.35PQ7S2O.js +0 -1
  791. package/cdn-versioned/chunks/chunk.3JOVDAJX.js +0 -1
  792. package/cdn-versioned/chunks/chunk.3UAOIDF2.js +0 -11
  793. package/cdn-versioned/chunks/chunk.4RHXHQ7H.js +0 -3
  794. package/cdn-versioned/chunks/chunk.5CAMYQMD.js +0 -1
  795. package/cdn-versioned/chunks/chunk.5HQBAJ66.js +0 -1
  796. package/cdn-versioned/chunks/chunk.AEVPJRUQ.js +0 -1
  797. package/cdn-versioned/chunks/chunk.ALSSHD3Q.js +0 -1
  798. package/cdn-versioned/chunks/chunk.ARYMSO7N.js +0 -1
  799. package/cdn-versioned/chunks/chunk.AVUZZRFT.js +0 -1
  800. package/cdn-versioned/chunks/chunk.BZJ7O5ES.js +0 -1
  801. package/cdn-versioned/chunks/chunk.CEVVDV52.js +0 -1
  802. package/cdn-versioned/chunks/chunk.CJ53PV6X.js +0 -1
  803. package/cdn-versioned/chunks/chunk.CVNGM52W.js +0 -1
  804. package/cdn-versioned/chunks/chunk.CWOKJQSQ.js +0 -1
  805. package/cdn-versioned/chunks/chunk.DKN2DIAH.js +0 -1
  806. package/cdn-versioned/chunks/chunk.EGDPRSOF.js +0 -10
  807. package/cdn-versioned/chunks/chunk.ET34FEK2.js +0 -3
  808. package/cdn-versioned/chunks/chunk.FSATHYQT.js +0 -1
  809. package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +0 -10
  810. package/cdn-versioned/chunks/chunk.HX23UDYZ.js +0 -1
  811. package/cdn-versioned/chunks/chunk.HYCWRAJB.js +0 -1
  812. package/cdn-versioned/chunks/chunk.ISZAAZUB.js +0 -1
  813. package/cdn-versioned/chunks/chunk.IWPBSEAW.js +0 -1
  814. package/cdn-versioned/chunks/chunk.JCU3EXPE.js +0 -1
  815. package/cdn-versioned/chunks/chunk.JXQJUYEC.js +0 -1
  816. package/cdn-versioned/chunks/chunk.K7JNBY7N.js +0 -1
  817. package/cdn-versioned/chunks/chunk.KOERGSAL.js +0 -1
  818. package/cdn-versioned/chunks/chunk.LUO6B5O2.js +0 -73
  819. package/cdn-versioned/chunks/chunk.MRAHMGRF.js +0 -1
  820. package/cdn-versioned/chunks/chunk.NRBNWX7R.js +0 -1
  821. package/cdn-versioned/chunks/chunk.O4L5OULX.js +0 -1
  822. package/cdn-versioned/chunks/chunk.OG46JDG7.js +0 -4
  823. package/cdn-versioned/chunks/chunk.PZC43SIH.js +0 -1
  824. package/cdn-versioned/chunks/chunk.R3WH26GI.js +0 -1
  825. package/cdn-versioned/chunks/chunk.R5PJYTZQ.js +0 -11
  826. package/cdn-versioned/chunks/chunk.RXMJRA5Q.js +0 -1
  827. package/cdn-versioned/chunks/chunk.SGXM6Y2P.js +0 -1
  828. package/cdn-versioned/chunks/chunk.SJLZKEAQ.js +0 -1
  829. package/cdn-versioned/chunks/chunk.SX2XEIQL.js +0 -1
  830. package/cdn-versioned/chunks/chunk.TJ7ZA5LO.js +0 -25
  831. package/cdn-versioned/chunks/chunk.TJOCV4DC.js +0 -1
  832. package/cdn-versioned/chunks/chunk.TL3K6WJI.js +0 -1
  833. package/cdn-versioned/chunks/chunk.TUU3QZXR.js +0 -11
  834. package/cdn-versioned/chunks/chunk.UBEW2PY5.js +0 -1
  835. package/cdn-versioned/chunks/chunk.VFOVKA46.js +0 -1
  836. package/cdn-versioned/chunks/chunk.XEK5QKES.js +0 -1
  837. package/cdn-versioned/chunks/chunk.Y7AL7I2Z.js +0 -1
  838. package/cdn-versioned/chunks/chunk.YFGMDOCE.js +0 -1
  839. package/cdn-versioned/chunks/chunk.YHHVM7YY.js +0 -1
  840. package/cdn-versioned/chunks/chunk.ZA3AQWM7.js +0 -11
  841. package/cdn-versioned/chunks/chunk.ZNWCIW62.js +0 -1
  842. package/cdn-versioned/chunks/chunk.ZQBF4WJL.js +0 -1
  843. package/dist/chunks/chunk.5SNCWTQU.js +0 -115
  844. package/dist/chunks/chunk.AKPCSVRG.js +0 -72
  845. package/dist/chunks/chunk.IRZ3M2OA.js +0 -82
  846. package/dist-versioned/chunks/chunk.5SNCWTQU.js +0 -115
  847. package/dist-versioned/chunks/chunk.6DKXZWRN.js +0 -69
  848. package/dist-versioned/chunks/chunk.AKPCSVRG.js +0 -72
  849. package/dist-versioned/chunks/chunk.IRZ3M2OA.js +0 -82
@@ -1,6 +1,6 @@
1
- var N=globalThis,L=N.ShadowRoot&&(N.ShadyCSS===void 0||N.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),tt=new WeakMap,x=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(L&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=tt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&tt.set(e,t))}return t}toString(){return this.cssText}},et=o=>new x(typeof o=="string"?o:o+"",void 0,V),Et=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,i,n)=>s+(r=>{if(r._$cssResult$===!0)return r.cssText;if(typeof r=="number")return r;throw Error("Value passed to 'css' function must be a 'css' function result: "+r+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[n+1]),o[0]);return new x(e,o,V)},st=(o,t)=>{if(L)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),i=N.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},W=L?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return et(e)})(o):o;var{is:bt,defineProperty:Ct,getOwnPropertyDescriptor:wt,getOwnPropertyNames:xt,getOwnPropertySymbols:Pt,getPrototypeOf:Ut}=Object,A=globalThis,it=A.trustedTypes,Ot=it?it.emptyScript:"",q=A.reactiveElementPolyfillSupport,P=(o,t)=>o,K={toAttribute(o,t){switch(t){case Boolean:o=o?Ot:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch(s){e=null}}return e}},at=(o,t)=>!bt(o,t),ot={attribute:!0,type:String,converter:K,reflect:!1,useDefault:!1,hasChanged:at},rt,nt;(rt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(nt=A.litPropertyMetadata)!=null||(A.litPropertyMetadata=new WeakMap);var $=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var r;let{get:i,set:n}=(r=wt(this.prototype,t))!=null?r:{get(){return this[e]},set(a){this[e]=a}};return{get:i,set(a){let h=i==null?void 0:i.call(this);n==null||n.call(this,a),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:ot}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;let t=Ut(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){let e=this.properties,s=[...xt(e),...Pt(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach((e=>e(this)))}addController(t){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return st(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostConnected)==null?void 0:i.call(s)}))}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach((e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var n;let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:K).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){var n,r,a,h;let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let l=s.getPropertyOptions(i),d=typeof l.converter=="function"?{fromAttribute:l.converter}:((n=l.converter)==null?void 0:n.fromAttribute)!==void 0?l.converter:K;this._$Em=i,this[i]=(h=(a=d.fromAttribute(e,l.type))!=null?a:(r=this._$Ej)==null?void 0:r.get(i))!=null?h:null,this._$Em=null}}requestUpdate(t,e,s){var i,n;if(t!==void 0){let r=this.constructor,a=this[t];if(s!=null||(s=r.getPropertyOptions(t)),!(((i=s.hasChanged)!=null?i:at)(a,e)||s.useDefault&&s.reflect&&a===((n=this._$Ej)==null?void 0:n.get(t))&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:n},r){var a,h,l;s&&!((a=this._$Ej)!=null?a:this._$Ej=new Map).has(t)&&(this._$Ej.set(t,(h=r!=null?r:e)!=null?h:this[t]),n!==!0||r!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&((l=this._$Eq)!=null?l:this._$Eq=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[r,a]of this._$Ep)this[r]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[r,a]of n){let{wrapped:h}=a,l=this[r];h!==!0||this._$AL.has(r)||l===void 0||this.C(r,void 0,a,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach((n=>{var r;return(r=n.hostUpdate)==null?void 0:r.call(n)})),this.update(e)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}},ht;$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[P("elementProperties")]=new Map,$[P("finalized")]=new Map,q==null||q({ReactiveElement:$}),((ht=A.reactiveElementVersions)!=null?ht:A.reactiveElementVersions=[]).push("2.1.0");var O=globalThis,k=O.trustedTypes,lt=k?k.createPolicy("lit-html",{createHTML:o=>o}):void 0,J="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+_,Ht=`<${G}>`,y=document,H=()=>y.createComment(""),R=o=>o===null||typeof o!="object"&&typeof o!="function",Q=Array.isArray,ft=o=>Q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Z=`[
1
+ var N=globalThis,L=N.ShadowRoot&&(N.ShadyCSS===void 0||N.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,V=Symbol(),tt=new WeakMap,x=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==V)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(L&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=tt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&tt.set(e,t))}return t}toString(){return this.cssText}},et=o=>new x(typeof o=="string"?o:o+"",void 0,V),Et=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,i,r)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[r+1]),o[0]);return new x(e,o,V)},st=(o,t)=>{if(L)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),i=N.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},W=L?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return et(e)})(o):o;var{is:bt,defineProperty:Ct,getOwnPropertyDescriptor:wt,getOwnPropertyNames:xt,getOwnPropertySymbols:Pt,getPrototypeOf:Ut}=Object,A=globalThis,it=A.trustedTypes,Ot=it?it.emptyScript:"",q=A.reactiveElementPolyfillSupport,P=(o,t)=>o,K={toAttribute(o,t){switch(t){case Boolean:o=o?Ot:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch(s){e=null}}return e}},at=(o,t)=>!bt(o,t),ot={attribute:!0,type:String,converter:K,reflect:!1,useDefault:!1,hasChanged:at},nt,rt;(nt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(rt=A.litPropertyMetadata)!=null||(A.litPropertyMetadata=new WeakMap);var $=class extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=ot){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){var n;let{get:i,set:r}=(n=wt(this.prototype,t))!=null?n:{get(){return this[e]},set(a){this[e]=a}};return{get:i,set(a){let h=i==null?void 0:i.call(this);r==null||r.call(this,a),this.requestUpdate(t,h,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:ot}static _$Ei(){if(this.hasOwnProperty(P("elementProperties")))return;let t=Ut(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(P("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(P("properties"))){let e=this.properties,s=[...xt(e),...Pt(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(W(i))}else t!==void 0&&e.push(W(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach((e=>e(this)))}addController(t){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((s=t.hostConnected)==null||s.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;let t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return st(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostConnected)==null?void 0:i.call(s)}))}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach((e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){var r;let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let n=(((r=s.converter)==null?void 0:r.toAttribute)!==void 0?s.converter:K).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){var r,n,a;let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let h=s.getPropertyOptions(i),l=typeof h.converter=="function"?{fromAttribute:h.converter}:((r=h.converter)==null?void 0:r.fromAttribute)!==void 0?h.converter:K;this._$Em=i;let c=l.fromAttribute(e,h.type);this[i]=(a=c!=null?c:(n=this._$Ej)==null?void 0:n.get(i))!=null?a:c,this._$Em=null}}requestUpdate(t,e,s){var i,r;if(t!==void 0){let n=this.constructor,a=this[t];if(s!=null||(s=n.getPropertyOptions(t)),!(((i=s.hasChanged)!=null?i:at)(a,e)||s.useDefault&&s.reflect&&a===((r=this._$Ej)==null?void 0:r.get(t))&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},n){var a,h,l;s&&!((a=this._$Ej)!=null?a:this._$Ej=new Map).has(t)&&(this._$Ej.set(t,(h=n!=null?n:e)!=null?h:this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&((l=this._$Eq)!=null?l:this._$Eq=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,i;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let r=this.constructor.elementProperties;if(r.size>0)for(let[n,a]of r){let{wrapped:h}=a,l=this[n];h!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(i=this._$EO)==null||i.forEach((r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)})),this.update(e)):this._$EM()}catch(r){throw t=!1,this._$EM(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach((s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}},ht;$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[P("elementProperties")]=new Map,$[P("finalized")]=new Map,q==null||q({ReactiveElement:$}),((ht=A.reactiveElementVersions)!=null?ht:A.reactiveElementVersions=[]).push("2.1.1");var O=globalThis,k=O.trustedTypes,lt=k?k.createPolicy("lit-html",{createHTML:o=>o}):void 0,J="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,G="?"+_,Ht=`<${G}>`,y=document,H=()=>y.createComment(""),R=o=>o===null||typeof o!="object"&&typeof o!="function",Q=Array.isArray,ft=o=>Q(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Z=`[
2
2
  \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ct=/-->/g,dt=/>/g,m=RegExp(`>|${Z}(?:([^\\s"'>=/]+)(${Z}*=${Z}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,At=/^(?:script|style|textarea|title)$/i,X=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Lt=X(1),kt=X(2),Dt=X(3),v=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),$t=new WeakMap,g=y.createTreeWalker(y,129);function mt(o,t){if(!Q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return lt!==void 0?lt.createHTML(t):t}var gt=(o,t)=>{let e=o.length-1,s=[],i,n=t===2?"<svg>":t===3?"<math>":"",r=U;for(let a=0;a<e;a++){let h=o[a],l,d,c=-1,u=0;for(;u<h.length&&(r.lastIndex=u,d=r.exec(h),d!==null);)u=r.lastIndex,r===U?d[1]==="!--"?r=ct:d[1]!==void 0?r=dt:d[2]!==void 0?(At.test(d[2])&&(i=RegExp("</"+d[2],"g")),r=m):d[3]!==void 0&&(r=m):r===m?d[0]===">"?(r=i!=null?i:U,c=-1):d[1]===void 0?c=-2:(c=r.lastIndex-d[2].length,l=d[1],r=d[3]===void 0?m:d[3]==='"'?ut:pt):r===ut||r===pt?r=m:r===ct||r===dt?r=U:(r=m,i=void 0);let f=r===m&&o[a+1].startsWith("/>")?" ":"";n+=r===U?h+Ht:c>=0?(s.push(l),h.slice(0,c)+J+h.slice(c)+_+f):h+_+(c===-2?a:f)}return[mt(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},T=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,r=0,a=t.length-1,h=this.parts,[l,d]=gt(t,e);if(this.el=o.createElement(l,s),g.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(i=g.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let c of i.getAttributeNames())if(c.endsWith(J)){let u=d[r++],f=i.getAttribute(c).split(_),M=/([.?@])?(.*)/.exec(u);h.push({type:1,index:n,name:M[2],strings:f,ctor:M[1]==="."?B:M[1]==="?"?j:M[1]==="@"?z:E}),i.removeAttribute(c)}else c.startsWith(_)&&(h.push({type:6,index:n}),i.removeAttribute(c));if(At.test(i.tagName)){let c=i.textContent.split(_),u=c.length-1;if(u>0){i.textContent=k?k.emptyScript:"";for(let f=0;f<u;f++)i.append(c[f],H()),g.nextNode(),h.push({type:2,index:++n});i.append(c[u],H())}}}else if(i.nodeType===8)if(i.data===G)h.push({type:2,index:n});else{let c=-1;for(;(c=i.data.indexOf(_,c+1))!==-1;)h.push({type:7,index:n}),c+=_.length-1}n++}}static createElement(t,e){let s=y.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){var r,a,h;if(t===v)return t;let i=s!==void 0?(r=e._$Co)==null?void 0:r[s]:e._$Cl,n=R(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==n&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),n===void 0?i=void 0:(i=new n(o),i._$AT(o,e,s)),s!==void 0?((h=e._$Co)!=null?h:e._$Co=[])[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var D=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var l;let{el:{content:e},parts:s}=this._$AD,i=((l=t==null?void 0:t.creationScope)!=null?l:y).importNode(e,!0);g.currentNode=i;let n=g.nextNode(),r=0,a=0,h=s[0];for(;h!==void 0;){if(r===h.index){let d;h.type===2?d=new C(n,n.nextSibling,this,t):h.type===1?d=new h.ctor(n,h.name,h.strings,this,t):h.type===6&&(d=new I(n,this,t)),this._$AV.push(d),h=s[++a]}r!==(h==null?void 0:h.index)&&(n=g.nextNode(),r++)}return g.currentNode=y,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},C=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,s,i){var n;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(n=i==null?void 0:i.isConnected)!=null?n:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),R(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&R(this._$AH)?this._$AA.nextSibling.data=t:this.T(y.createTextNode(t)),this._$AH=t}$(t){var n;let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=T.createElement(mt(s.h,s.h[0]),this.options)),s);if(((n=this._$AH)==null?void 0:n._$AD)===i)this._$AH.p(e);else{let r=new D(i,this),a=r.u(this.options);r.p(e),this.T(a),this._$AH=r}}_$AC(t){let e=$t.get(t.strings);return e===void 0&&$t.set(t.strings,e=new T(t)),e}k(t){Q(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let n of t)i===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,e=this,s,i){let n=this.strings,r=!1;if(n===void 0)t=S(this,t,e,0),r=!R(t)||t!==this._$AH&&t!==v,r&&(this._$AH=t);else{let a=t,h,l;for(t=n[0],h=0;h<n.length-1;h++)l=S(this,a[s+h],e,h),l===v&&(l=this._$AH[h]),r||(r=!R(l)||l!==this._$AH[h]),l===p?t=p:t!==p&&(t+=(l!=null?l:"")+n[h+1]),this._$AH[h]=l}r&&!i&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},B=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},j=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},z=class extends E{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){var r;if((t=(r=S(this,t,e,0))!=null?r:p)===v)return;let s=this._$AH,i=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==p&&(s===p||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},I=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Bt={M:J,P:_,A:G,C:1,L:gt,R:D,D:ft,V:S,I:C,H:E,N:j,U:z,B,F:I},F=O.litHtmlPolyfillSupport,_t;F==null||F(T,C),((_t=O.litHtmlVersions)!=null?_t:O.litHtmlVersions=[]).push("3.3.1");var yt=(o,t,e)=>{var n,r;let s=(n=e==null?void 0:e.renderBefore)!=null?n:t,i=s._$litPart$;if(i===void 0){let a=(r=e==null?void 0:e.renderBefore)!=null?r:null;s._$litPart$=i=new C(t.insertBefore(H(),a),a,void 0,e!=null?e:{})}return i._$AI(o),i};var b=globalThis,w=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return v}},vt;w._$litElement$=!0,w.finalized=!0,(vt=b.litElementHydrateSupport)==null||vt.call(b,{LitElement:w});var Y=b.litElementPolyfillSupport;Y==null||Y({LitElement:w});var St;((St=b.litElementVersions)!=null?St:b.litElementVersions=[]).push("4.2.0");export{et as a,Et as b,K as c,at as d,Lt as e,kt as f,Dt as g,v as h,p as i,Bt as j,w as k};
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),pt=/'/g,ut=/"/g,At=/^(?:script|style|textarea|title)$/i,X=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Lt=X(1),kt=X(2),Dt=X(3),v=Symbol.for("lit-noChange"),p=Symbol.for("lit-nothing"),$t=new WeakMap,g=y.createTreeWalker(y,129);function mt(o,t){if(!Q(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return lt!==void 0?lt.createHTML(t):t}var gt=(o,t)=>{let e=o.length-1,s=[],i,r=t===2?"<svg>":t===3?"<math>":"",n=U;for(let a=0;a<e;a++){let h=o[a],l,c,d=-1,u=0;for(;u<h.length&&(n.lastIndex=u,c=n.exec(h),c!==null);)u=n.lastIndex,n===U?c[1]==="!--"?n=ct:c[1]!==void 0?n=dt:c[2]!==void 0?(At.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=m):c[3]!==void 0&&(n=m):n===m?c[0]===">"?(n=i!=null?i:U,d=-1):c[1]===void 0?d=-2:(d=n.lastIndex-c[2].length,l=c[1],n=c[3]===void 0?m:c[3]==='"'?ut:pt):n===ut||n===pt?n=m:n===ct||n===dt?n=U:(n=m,i=void 0);let f=n===m&&o[a+1].startsWith("/>")?" ":"";r+=n===U?h+Ht:d>=0?(s.push(l),h.slice(0,d)+J+h.slice(d)+_+f):h+_+(d===-2?a:f)}return[mt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},T=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,n=0,a=t.length-1,h=this.parts,[l,c]=gt(t,e);if(this.el=o.createElement(l,s),g.currentNode=this.el.content,e===2||e===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=g.nextNode())!==null&&h.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(J)){let u=c[n++],f=i.getAttribute(d).split(_),M=/([.?@])?(.*)/.exec(u);h.push({type:1,index:r,name:M[2],strings:f,ctor:M[1]==="."?B:M[1]==="?"?j:M[1]==="@"?z:E}),i.removeAttribute(d)}else d.startsWith(_)&&(h.push({type:6,index:r}),i.removeAttribute(d));if(At.test(i.tagName)){let d=i.textContent.split(_),u=d.length-1;if(u>0){i.textContent=k?k.emptyScript:"";for(let f=0;f<u;f++)i.append(d[f],H()),g.nextNode(),h.push({type:2,index:++r});i.append(d[u],H())}}}else if(i.nodeType===8)if(i.data===G)h.push({type:2,index:r});else{let d=-1;for(;(d=i.data.indexOf(_,d+1))!==-1;)h.push({type:7,index:r}),d+=_.length-1}r++}}static createElement(t,e){let s=y.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){var n,a,h;if(t===v)return t;let i=s!==void 0?(n=e._$Co)==null?void 0:n[s]:e._$Cl,r=R(t)?void 0:t._$litDirective$;return(i==null?void 0:i.constructor)!==r&&((a=i==null?void 0:i._$AO)==null||a.call(i,!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,s)),s!==void 0?((h=e._$Co)!=null?h:e._$Co=[])[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var D=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var l;let{el:{content:e},parts:s}=this._$AD,i=((l=t==null?void 0:t.creationScope)!=null?l:y).importNode(e,!0);g.currentNode=i;let r=g.nextNode(),n=0,a=0,h=s[0];for(;h!==void 0;){if(n===h.index){let c;h.type===2?c=new C(r,r.nextSibling,this,t):h.type===1?c=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(c=new I(r,this,t)),this._$AV.push(c),h=s[++a]}n!==(h==null?void 0:h.index)&&(r=g.nextNode(),n++)}return g.currentNode=y,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},C=class o{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,s,i){var r;this.type=2,this._$AH=p,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=(r=i==null?void 0:i.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),R(t)?t===p||t==null||t===""?(this._$AH!==p&&this._$AR(),this._$AH=p):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==p&&R(this._$AH)?this._$AA.nextSibling.data=t:this.T(y.createTextNode(t)),this._$AH=t}$(t){var r;let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=T.createElement(mt(s.h,s.h[0]),this.options)),s);if(((r=this._$AH)==null?void 0:r._$AD)===i)this._$AH.p(e);else{let n=new D(i,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=$t.get(t.strings);return e===void 0&&$t.set(t.strings,e=new T(t)),e}k(t){Q(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let r of t)i===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);t!==this._$AB;){let i=t.nextSibling;t.remove(),t=i}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=p,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=p}_$AI(t,e=this,s,i){let r=this.strings,n=!1;if(r===void 0)t=S(this,t,e,0),n=!R(t)||t!==this._$AH&&t!==v,n&&(this._$AH=t);else{let a=t,h,l;for(t=r[0],h=0;h<r.length-1;h++)l=S(this,a[s+h],e,h),l===v&&(l=this._$AH[h]),n||(n=!R(l)||l!==this._$AH[h]),l===p?t=p:t!==p&&(t+=(l!=null?l:"")+r[h+1]),this._$AH[h]=l}n&&!i&&this.j(t)}j(t){t===p?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},B=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===p?void 0:t}},j=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==p)}},z=class extends E{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=S(this,t,e,0))!=null?n:p)===v)return;let s=this._$AH,i=t===p&&s!==p||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==p&&(s===p||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,t):this._$AH.handleEvent(t)}},I=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Bt={M:J,P:_,A:G,C:1,L:gt,R:D,D:ft,V:S,I:C,H:E,N:j,U:z,B,F:I},F=O.litHtmlPolyfillSupport,_t;F==null||F(T,C),((_t=O.litHtmlVersions)!=null?_t:O.litHtmlVersions=[]).push("3.3.1");var yt=(o,t,e)=>{var r,n;let s=(r=e==null?void 0:e.renderBefore)!=null?r:t,i=s._$litPart$;if(i===void 0){let a=(n=e==null?void 0:e.renderBefore)!=null?n:null;s._$litPart$=i=new C(t.insertBefore(H(),a),a,void 0,e!=null?e:{})}return i._$AI(o),i};var b=globalThis,w=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,s;let t=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yt(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return v}},vt;w._$litElement$=!0,w.finalized=!0,(vt=b.litElementHydrateSupport)==null||vt.call(b,{LitElement:w});var Y=b.litElementPolyfillSupport;Y==null||Y({LitElement:w});var St;((St=b.litElementVersions)!=null?St:b.litElementVersions=[]).push("4.2.1");export{et as a,Et as b,K as c,at as d,Lt as e,kt as f,Dt as g,v as h,p as i,Bt as j,w as k};
4
4
  /*! Bundled license information:
5
5
 
6
6
  @lit/reactive-element/css-tag.js:
@@ -0,0 +1 @@
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.4RPCNF2P.js";import{a as u,b as r,d as m,h as o}from"./chunk.2WRD673L.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;: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 +1 @@
1
- import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as o}from"./chunk.CHU57RUD.js";import{a as u,b as s}from"./chunk.PVM2WKMA.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as b}from"./chunk.Y7NVH75J.js";import{a as m,b as i,d as p,h as f}from"./chunk.TJ7ZA5LO.js";import{b as v}from"./chunk.RZUTJ36B.js";import{e as r}from"./chunk.TJOCV4DC.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,w=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]",{md:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",this.current&&"font-bold",!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]",w?"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",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0",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`:host{box-sizing:border-box;display:inline-block;position:relative}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0;--tw-scale-y:0;opacity:var(--sd-opacity-0,0);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:var(--sd-duration-fast,.15s);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:1;--tw-scale-y:1;opacity:var(--sd-opacity-100,1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition: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}`],r([p('[part="base"]')],t.prototype,"button",2),r([p("slot:not([name])")],t.prototype,"defaultSlot",2),r([i({type:Boolean,reflect:!0})],t.prototype,"vertical",2),r([i({type:String,reflect:!0})],t.prototype,"size",2),r([i({reflect:!0})],t.prototype,"href",2),r([i({type:String,reflect:!0})],t.prototype,"target",2),r([i({reflect:!0})],t.prototype,"download",2),r([i({type:Boolean,reflect:!0})],t.prototype,"current",2),r([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),r([i({type:Boolean,reflect:!0})],t.prototype,"chevron",2),r([i({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),r([i({type:Boolean,reflect:!0})],t.prototype,"divider",2),r([i({type:Boolean,reflect:!0})],t.prototype,"indented",2),r([i({type:Boolean,reflect:!0})],t.prototype,"open",2),r([i({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=r([m("sd-navigation-item")],t);export{t as a};
1
+ import{a as b}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 y}from"./chunk.4RPCNF2P.js";import{a as m,b as r,d as h,h as f}from"./chunk.2WRD673L.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 b(this,"[default]","description","children");this.localize=new y(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,x=this.isIconOnly,c={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},w=this.vertical?"py-3":"py-2",p=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]",{md:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",this.current&&"font-bold",!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]",x?"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",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-[calc(100%-16px)] bottom-0 left-2 group-hover:w-full group-hover:left-0",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&&w,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">${p} ${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">${p}<slot name="children"></slot></details>`:s`${p}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;: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([h('[part="base"]')],t.prototype,"button",2),i([h("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 @@
1
+ function w(l,{setValueOnSelection:d,scrollSelectionIntoView:p}={setValueOnSelection:!0,scrollSelectionIntoView:!0}){let r=l?typeof l=="string"?document.querySelector(l):l:document.querySelector("#autoComplete"),n=r.shadowRoot.querySelector("input"),c=e=>e[0];return n.addEventListener("init",()=>{var a,s;let e=(a=r.shadowRoot)==null?void 0:a.querySelector("ul");e==null||e.setAttribute("part","listbox");let t=document.createElement("sd-popup");t.appendChild(e),(s=r.shadowRoot)==null||s.appendChild(t),t==null||t.setAttribute("exportparts","popup__content"),t&&(t.active=!1,t.autoSize="vertical",t.autoSizePadding=16,t.placement="bottom-start",t.anchor=r,t.sync="width");let i=c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:var(--sd-color-border-primary,var(--sd-color-primary));background-color:var(--sd-color-background-white,var(--sd-color-white));padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-popup li{transition-property:all;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))}sd-popup li:hover:not([disabled]){background-color:var(--sd-color-background-neutral-100,var(--sd-color-neutral-100))}sd-popup li{list-style-type:''}sd-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-popup li:not(:has(sd-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:var(--sd-color-text-black,var(--sd-color-black))}sd-popup li:not(:has(sd-option)):hover{background-color:var(--sd-color-background-neutral-200,var(--sd-color-neutral-200))}sd-popup li[aria-selected=true]{background-color:var(--sd-color-background-neutral-200,var(--sd-color-neutral-200))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`,o=new CSSStyleSheet;o.replaceSync(i),r.shadowRoot.adoptedStyleSheets=[...r.shadowRoot.adoptedStyleSheets,o]}),d&&n.addEventListener("selection",e=>{var t;r.value=(t=e==null?void 0:e.detail)==null?void 0:t.selection.value}),n.addEventListener("open",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-popup"))==null||t.setAttribute("active","true"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.add("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.add("z-50")}),n.addEventListener("close",()=>{var e,t,i,o,a,s;(t=(e=r.shadowRoot)==null?void 0:e.querySelector("sd-popup"))==null||t.removeAttribute("active"),(o=(i=r.shadowRoot)==null?void 0:i.querySelector('[part="border"]'))==null||o.classList.remove("rounded-b-none"),(s=(a=r.shadowRoot)==null?void 0:a.querySelector('[part="form-control"]'))==null||s.classList.remove("z-50")}),p&&n.addEventListener("navigate",()=>{let e=r.shadowRoot.querySelector('[aria-selected="true"]');e==null||e.scrollIntoView({block:"nearest"})}),{config:{selector:()=>n,resultsList:{tag:"ul"},wrapper:!1}}}export{w as a};
@@ -0,0 +1 @@
1
+ import{a as $}from"./chunk.VYBQ3X2B.js";import{a as C}from"./chunk.N3WG3NAL.js";import{b as g}from"./chunk.JS2HQ2N4.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.PV6UYBMY.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c as h,d as p,h as m}from"./chunk.2WRD673L.js";import{b as v,e as n}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new x(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,o="none"){this.textarea.setSelectionRange(l,a,o)}setRangeText(l,a,o,u){this.textarea.setRangeText(l,a,o,u),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,o=this.helpText?!0:!!l.helpText,u=!!l.tooltip,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?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",b={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return n`<div part="form-control" class="flex flex-col h-full text-left">${a||u?n`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f)}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?n`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}"><div part="border" class="${s("absolute w-full h-full pointer-events-none border rounded-default transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[c])}"></div><div part="base" class="${s("textarea h-full flex items-top rounded-default group transition-colors duration-medium hover:duration-fast ease-in-out",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!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")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${i(this.name)}" .value="${$(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${i(this.placeholder)}" minlength="${i(this.minlength)}" maxlength="${i(this.maxlength)}" rows="${i(this.rows)}" autocapitalize="${i(this.autocapitalize)}" autocorrect="${i(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${i(this.spellcheck)}" enterkeyhint="${i(this.enterkeyhint)}" inputmode="${i(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?n`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",b)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?n`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",b)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm text-neutral-700 mt-1",o?"block":"hidden")}" aria-hidden="${o?"false":"true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...m.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:var(--sd-color-text-neutral-500,var(--sd-color-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:var(--sd-color-text-neutral-500,var(--sd-color-neutral-500))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([p("#input")],t.prototype,"textarea",2),e([p("#invalid-message")],t.prototype,"invalidMessage",2),e([h()],t.prototype,"hasFocus",2),e([h()],t.prototype,"showValidStyle",2),e([h()],t.prototype,"showInvalidStyle",2),e([r({type:String,reflect:!0})],t.prototype,"title",2),e([r({type:String,reflect:!0})],t.prototype,"name",2),e([r()],t.prototype,"value",2),e([r({type:String,reflect:!0})],t.prototype,"size",2),e([r({type:String,reflect:!0})],t.prototype,"label",2),e([r({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r({type:String,reflect:!0})],t.prototype,"placeholder",2),e([r({type:Number,reflect:!0})],t.prototype,"rows",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([r({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([r({type:String,reflect:!0})],t.prototype,"form",2),e([r({type:Boolean,reflect:!0})],t.prototype,"required",2),e([r({type:Number,reflect:!0})],t.prototype,"minlength",2),e([r({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([r({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([r({type:String,reflect:!0})],t.prototype,"autocorrect",2),e([r({reflect:!0})],t.prototype,"autocomplete",2),e([r({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([r({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([r({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([r({type:String,reflect:!0})],t.prototype,"inputmode",2),e([C()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=e([y("sd-textarea")],t);export{t as a};
@@ -0,0 +1,10 @@
1
+ import{a as i}from"./chunk.PV6UYBMY.js";import{a as n,b as l}from"./chunk.PJ7JCMQF.js";import{b as h}from"./chunk.MP6XEXRW.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as m,b as a,h as o}from"./chunk.2WRD673L.js";import{b as v}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="main";this.state="default";this.animated=!1;this.notInteractive=!1;this.href="";this.label="";this.marker={cluster:`
2
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
3
+ <circle cx="25" cy="25" opacity="1" r="20" />
4
+ </svg>`,main:`
5
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
6
+ <path d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z"/>
7
+ </svg> `,place:`
8
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75">
9
+ <path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd" />
10
+ </svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){let s=this.isLink(),c=this.notInteractive?n`div`:s?n`a`:n`button`,d=h(this.marker[this.variant]),p=`url("data:image/svg+xml;utf8,${encodeURIComponent(this.marker[this.variant]).replace(/#/g,"%23")}")`;return l`<${c} part="base" class="${r("relative flex justify-center",!this.notInteractive&&"group focus-visible:focus-outline")}" href="${i(s?this.href:void 0)}" target="${i(s?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${i(this.notInteractive||s?void 0:"button")}" aria-label="${i(!this.notInteractive&&this.label?this.label:void 0)}" aria-labelledby="${i(!this.notInteractive&&!this.label?"content":void 0)}"><div part="marker" class="${r("relative inline-flex",this.animated&&(this.variant==="main"||this.variant==="place")&&"animate-bounce-once",this.variant==="cluster"&&this.state==="hover"&&"scale-110 fill-primary-500",this.variant==="cluster"&&!this.notInteractive&&"transition-transform duration-fast ease-in-out hover:scale-110",{cluster:"fill-primary",main:"fill-accent",place:"fill-white"}[this.variant])}"><div id="motion-wrapper" part="motion-wrapper" class="absolute inset-0 overflow-hidden pointer-events-none" style="mask-image:${p};-webkit-mask-image:${p}"><div class="${r("absolute inset-0 transition-transform ease-in-out duration-fast translate-y-full group-hover:translate-y-0 group-active:translate-y-0",["hover","active"].includes(this.state)&&"!translate-y-0")}"><div class="${r("min-w-full min-h-full skew-y-[-11deg]",{cluster:"bg-primary-500",main:this.state==="active"?"bg-accent-700":"bg-accent-550 group-active:bg-accent-700",place:this.state==="active"?"bg-primary-200":"bg-primary-100 group-active:bg-primary-200"}[this.variant])}"></div></div>${this.variant==="main"?l`<div id="marker-circle" class="absolute rounded-full bg-white"></div>`:""}</div>${d} ${this.variant==="cluster"?l`<div id="cluster-border" class="${r("absolute inset-0 bg-primary opacity-30 rounded-full",this.state==="hover"&&"bg-primary-500")}"></div>`:""}</div><div id="content" part="content" class="${r("absolute self-center pointer-events-none",this.variant==="cluster"&&"font-bold text-white")}"><slot></slot></div></${c}>`}};t.styles=[...o.styles,v`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;:host{display:block}#motion-wrapper{mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{margin-top:calc(var(--sd-spacing-2) * -1);font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}:host([variant=main]) [part=marker],:host([variant=place]) [part=marker]{--tw-drop-shadow-size:drop-shadow(var(--sd-drop-shadow));--tw-drop-shadow:drop-shadow(var(--sd-drop-shadow));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}:host([variant=main]) #marker-circle{width:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));height:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));left:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));right:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1));top:calc(var(--sd-spacing-4,1rem) * var(--map-marker-scaling,1))}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({type:String,reflect:!0})],t.prototype,"state",2),e([a({type:Boolean,reflect:!0})],t.prototype,"animated",2),e([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],t.prototype,"notInteractive",2),e([a({type:String,reflect:!0})],t.prototype,"href",2),e([a({type:String,reflect:!0})],t.prototype,"target",2),e([a({reflect:!0})],t.prototype,"label",2),t=e([m("sd-map-marker")],t);export{t as a};
@@ -0,0 +1 @@
1
+ import{b as y}from"./chunk.MP6XEXRW.js";import{a as p,b as f,c as a}from"./chunk.HWKK3U5Y.js";import{a as v}from"./chunk.TWZDCIM2.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as u,b as s,c as h,h as c}from"./chunk.2WRD673L.js";import{b,e as d}from"./chunk.763RLJEK.js";import{e as r}from"./chunk.6EV4YU6C.js";var m,t=class extends c{constructor(){super(...arguments);this.svg="";this.label="";this.library="default";this.color="currentColor"}connectedCallback(){super.connectedCallback(),p(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),f(this)}onThemeChange(e){this.theme=e,this.setIcon()}getUrl(){let e=a(this.library);return this.name&&e?e.name==="_internal"&&this.theme?e.resolver(`${this.theme}--${this.name}`):e.resolver(this.name):this.src}handleLabelChange(){typeof this.label=="string"&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var g;let e=a(this.library),i=this.getUrl();if(m||(m=new DOMParser),i)try{let l=await v(i);if(i===this.getUrl())if(l.ok){let o=m.parseFromString(l.svg,"text/html").body.querySelector("svg");o!==null?((g=e==null?void 0:e.mutator)==null||g.call(e,o),this.svg=o.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch(l){this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return d`${y(this.svg)}`}};t.styles=[...c.styles,b`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{color:var(--sd-color-text-primary,var(--sd-color-primary))}:host([color=white]) svg{color:var(--sd-color-text-white,var(--sd-color-white))}`],r([h()],t.prototype,"svg",2),r([s({reflect:!0})],t.prototype,"name",2),r([s()],t.prototype,"src",2),r([s()],t.prototype,"label",2),r([s({reflect:!0})],t.prototype,"library",2),r([s({reflect:!0})],t.prototype,"color",2),r([h()],t.prototype,"theme",2),r([n("label")],t.prototype,"handleLabelChange",1),r([n(["name","src","library","theme"])],t.prototype,"setIcon",1),t=r([u("sd-icon")],t);export{t as a};
@@ -0,0 +1 @@
1
+ import{a as p,b as v,c as k}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.N3WG3NAL.js";import{b as w}from"./chunk.JS2HQ2N4.js";import{a as E}from"./chunk.CGQ2BPPZ.js";import{a as d}from"./chunk.PV6UYBMY.js";import{a as c}from"./chunk.YEDQWNIV.js";import{a as M}from"./chunk.4RPCNF2P.js";import{a as C,b as h,d as f,e as D,h as T}from"./chunk.2WRD673L.js";import{b as I,e as b}from"./chunk.763RLJEK.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new w(this);this.hasSlotController=new E(this,"label","help-text");this.localize=new M(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.noTooltip=!1;this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(e){this._value=e?e.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(e){let t=this._value;this._value=Array.isArray(e)?e.slice().sort(p):e||[],v(t,this._value)&&this.requestUpdate("value",t.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value)}willUpdate(e){super.willUpdate(e),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let t=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let s=this.min+this.step*Math.round((i-this.min)/this.step);return s>this.max?this.max:s});v(this._value,t)&&(this._value=t)}updated(e){super.updated(e);for(let t of this.thumbs){let i=+t.dataset.rangeId;this._rangeValues.has(i)&&this.moveThumb(t,this._rangeValues.get(i))}this.updateActiveTrack()}focus(e){let t=this.thumbs.item(0);t?t.focus(e):super.focus(e)}get validity(){return this.input.validity}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()}updateTooltip(e){let t=+e.dataset.rangeId;if(!this._rangeValues.has(t))return;let i=this._rangeValues.get(t),s=e.parentElement;s.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:e}=this;if(!e)return;if(this.min===this.max){e.style.insetInlineStart="0%",e.style.insetInlineEnd="0%";return}if(this._value.length===1){let a=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);e.style.insetInlineStart=`min(${a}, ${n}%)`,e.style.insetInlineEnd=`min(calc(100% - ${a}), calc(100% - ${n}%))`;return}let t=this._value.slice().sort(p),i=100*(t[0]-this.min)/(this.max-this.min),s=100*(t[t.length-1]-this.min)/(this.max-this.min);e.style.insetInlineStart=`${i}%`,e.style.insetInlineEnd=`calc(100% - ${s}%)`}moveThumb(e,t){e.setAttribute("aria-valuenow",t.toString()),e.setAttribute("aria-valuetext",this.tooltipFormatter(t));let i=(t-this.min)/(this.max-this.min);e.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(e)}movementBoundariesForThumb(e,t){let i=this.valueAsArray,a=Array.from(this.thumbs).indexOf(e),n=i[a-1]||this.min,r=i[a+1]||this.max,u=t<n||t>r;return{finalValue:Math.max(n,Math.min(r,t)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e)}onClickTrack(e,t=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=e,s=Array.from(this.thumbs),a=k(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(a/n),u=s.reduce((g,x)=>{let _=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(_-r),$=Math.abs(L-r);return V===$?_<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),v(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",e);t&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(e){this.onClickTrack(e,!1)}async onClickThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target;this.updateTooltip(t),t.dataset.pointerId&&t.releasePointerCapture(+t.dataset.pointerId),t.dataset.pointerId=e.pointerId.toString(),t.setPointerCapture(e.pointerId),t.classList.add("grabbed"),await t.parentElement.show()}onDragThumb(e){if(this.disabled||this.visuallyDisabled)return;let t=e.target,i=+t.dataset.rangeId;if(!this._rangeValues.has(i)||(t.dataset.pointerId?+t.dataset.pointerId:null)!==e.pointerId)return;let a=k(this.inputWrapper,e.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(a/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(t,r);m.isRestricted?(r=m.finalValue,t.style.zIndex=(3+this.thumbs.length).toFixed(0)):t.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(t,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),v(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(e){let t=e.target;!t.dataset.pointerId||e.pointerId!==+t.dataset.pointerId||(t.classList.remove("grabbed"),t.releasePointerCapture(e.pointerId),delete t.dataset.pointerId,v(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),await t.parentElement.hide())}onKeyPress(e){let t=e.target,i=+t.dataset.rangeId,s=this._rangeValues.get(i);if(s===void 0)return;let a=s;switch(e.key){case"ArrowUp":case"Up":a=Math.min(s+this.step,this.max);break;case"ArrowDown":case"Down":a=Math.max(s-this.step,this.min);break;case"ArrowLeft":case"Left":a=this.rtl?Math.min(s+this.step,this.max):Math.max(s-this.step,this.min);break;case"ArrowRight":case"Right":a=this.rtl?Math.max(s-this.step,this.min):Math.min(s+this.step,this.max);break;case"PageUp":a=Math.min(s+(this.max-this.min)/5,this.max);break;case"PageDown":a=Math.max(s-(this.max-this.min)/5,this.min);break;case"Home":a=this.min;break;case"End":a=this.max;break;default:return}if(a!==s){if(this.emit("sd-move",{cancelable:!0,detail:{element:t,value:a}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(t,a);r.isRestricted&&(a=r.finalValue),this.moveThumb(t,a),this._rangeValues.set(i,a),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(t),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}e.preventDefault()}onBlur(e){var t;e.relatedTarget&&((t=this.shadowRoot)!=null&&t.contains(e.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(e){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let t=e.target;(i=t==null?void 0:t.dataset)!=null&&i.rangeId&&this.updateTooltip(t)}renderThumbs(e){let t=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,s)=>{let a=s+1;this._rangeValues.set(a,i);let n=`thumb-${a}`,r="",u="";return t?(u=e?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,s===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:s===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=e?"label aria-label-hidden":"",b`<sd-tooltip hoist trigger="focus" disabled="${d(this.disabled||this.visuallyDisabled||this.noTooltip?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${a}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-tooltip>`})}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},t=!!(this.label||e.label),i=!!(this.helpText||e.helpText);return b`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${t?b`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${t?"false":"true"}" class="${c("w-full",t?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(t)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,I`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */[part=base]{touch-action:none;-webkit-touch-callout:none}[part=thumb]{background-color:var(--sd-color-icon-fill-primary,var(--sd-color-primary))}[part=thumb]:hover{background-color:var(--sd-color-icon-fill-primary-500,var(--sd-color-primary-500))}[part=thumb].grabbed{background-color:var(--sd-color-icon-fill-primary-800,var(--sd-color-primary-800))}[part=thumb][data-disabled]{background-color:var(--sd-color-icon-fill-neutral-500,var(--sd-color-neutral-500))}[part=track]{background-color:var(--sd-color-border-neutral-400,var(--sd-color-neutral-400))}[part=track][data-disabled]{background-color:var(--sd-color-background-neutral-500,var(--sd-color-neutral-500))}[part=active-track]{background-color:var(--sd-color-icon-fill-primary,var(--sd-color-primary))}[part=active-track][data-disabled]{background-color:var(--sd-color-icon-fill-neutral-500,var(--sd-color-neutral-500))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([D('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"no-tooltip",type:Boolean,reflect:!0})],l.prototype,"noTooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-range")],l);export{l as a};
@@ -1 +1 @@
1
- import{a as p,c as m}from"./chunk.SKUMYG4O.js";import{b as w}from"./chunk.PVM2WKMA.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.Y7NVH75J.js";import{a as b}from"./chunk.E2DRD2OX.js";import{a as y,b as n,d as a,h as c}from"./chunk.TJ7ZA5LO.js";import{b as f}from"./chunk.RZUTJ36B.js";import{b as l,e as h,f as d}from"./chunk.6OTM3PE5.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let o of e)o.type==="attributes"&&o.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await h(this.body),this.body.hidden=!1;let{keyframes:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await h(this.body);let{keyframes:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,d(o,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-y border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${s(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`:host{display:block}[part=header]::-webkit-details-marker{display:none}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
1
+ import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.4RPCNF2P.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.2WRD673L.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as h,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let s of e)s.type==="attributes"&&s.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await h(this.body),this.body.hidden=!1;let{keyframes:s,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,d(s,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await h(this.body);let{keyframes:s,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,d(s,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base" class="border-y border-neutral-400"><summary part="header" id="header" class="${o("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary relative group transition-colors ease-in-out duration-fast hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${o(!this.open&&"opacity-0","w-1 bg-accent absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${o("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...c.styles,f`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{display:block}[part=header]::-webkit-details-marker{display:none}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([y("sd-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1 +1 @@
1
- import{a as m,b as s}from"./chunk.TJOCV4DC.js";var f=new Map,r=new WeakMap;function l(e){return e!=null?e:{keyframes:[],options:{duration:0}}}function a(e,t){return t.toLowerCase()==="rtl"?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function u(e,t){f.set(e,l(t))}function A(e,t,n){r.set(e,s(m({},r.get(e)),{[t]:l(n)}))}function p(e,t,n){let i=r.get(e);if(i!=null&&i[t])return a(i[t],n.dir);let o=f.get(t);return o?a(o,n.dir):{keyframes:[],options:{duration:0}}}export{u as a,A as b,p as c};
1
+ import{a as m,b as s}from"./chunk.6EV4YU6C.js";var f=new Map,r=new WeakMap;function l(e){return e!=null?e:{keyframes:[],options:{duration:0}}}function a(e,t){return t.toLowerCase()==="rtl"?{keyframes:e.rtlKeyframes||e.keyframes,options:e.options}:e}function u(e,t){f.set(e,l(t))}function A(e,t,n){r.set(e,s(m({},r.get(e)),{[t]:l(n)}))}function p(e,t,n){let i=r.get(e);if(i!=null&&i[t])return a(i[t],n.dir);let o=f.get(t);return o?a(o,n.dir):{keyframes:[],options:{duration:0}}}export{u as a,A as b,p as c};
@@ -1 +1 @@
1
- import{a as p}from"./chunk.HJ4O4XQA.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as h,b as a,d as o,h as n}from"./chunk.TJ7ZA5LO.js";import{b as c,e as i}from"./chunk.RZUTJ36B.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap",this.disabled?"outline-none cursor-not-allowed text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`:host{--submenu-offset:-6px;display:block}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}::slotted(sd-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded:after{bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);position:fixed;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);z-index:calc(var(z-dropdown) - 1);--tw-content:"";clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0));content:var(--tw-content)}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1));outline:2px solid transparent;outline-offset:2px}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:-2px;outline-style:solid;outline-width:2px}:host(:hover) [part=base]{outline:2px solid transparent;outline-offset:2px}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));margin-left:var(--submenu-offset)}::slotted(sd-menu){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important}`],t([o("slot:not([name])")],e.prototype,"defaultSlot",2),t([o('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-menu-item")],e);export{e as a};
1
+ import{a as p}from"./chunk.CDP46OS4.js";import{a as d,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,d as n,h as o}from"./chunk.2WRD673L.js";import{b as c,e as i}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new d(this,"submenu");this.submenuController=new p(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),b={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return i`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap",this.disabled?"outline-none cursor-not-allowed text-neutral-500 hover:bg-transparent":"cursor-pointer text-primary hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?i`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${b.iconIndent?i`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?i`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...o.styles,c`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:var(--sd-color-background-neutral-200,var(--sd-color-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:var(--sd-color-background-white,var(--sd-color-white));margin-left:var(--submenu-offset)}::slotted(sd-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([n("slot:not([name])")],e.prototype,"defaultSlot",2),t([n('part="base"')],e.prototype,"menuItem",2),t([a()],e.prototype,"type",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([r("checked")],e.prototype,"handleCheckedChange",1),t([r("disabled")],e.prototype,"handleDisabledChange",1),t([r("type")],e.prototype,"handleTypeChange",1),e=t([h("sd-menu-item")],e);export{e as a};
@@ -0,0 +1,5 @@
1
+ import{a as b}from"./chunk.PV6UYBMY.js";import{a as h,c as p}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.4RPCNF2P.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as n,h as c}from"./chunk.2WRD673L.js";import{b as g,e as u}from"./chunk.763RLJEK.js";import{b as r,e as l,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var s;let e=(s=this.contentPreview)==null?void 0:s.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(w=>{let x=w.cloneNode(!0);e.appendChild(x)}),this.appendChild(e)}};t.styles=[...c.styles,g`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;:host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(
2
+ --gradient-color-start,
3
+ transparent,
4
+ var(--gradient-color-end, var(--sd-color-background-white, var(--sd-color-white)))
5
+ ) 80%,var(--gradient-color-end, var(--sd-color-background-white, var(--sd-color-white))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:calc(var(--sd-spacing-1) * 0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;opacity:var(--sd-opacity-0);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-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--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));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient))}:host([inverted]){--color-primary-rgb:0,53,142;--gradient-color-start:rgba(var(--color-primary-rgb), 0);--gradient-color-end:rgba(var(--color-primary-rgb), 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([n(".content-preview")],t.prototype,"contentPreview",2),i([n("details")],t.prototype,"details",2),i([n('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([v("sd-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as k}from"./chunk.BJBQEPZV.js";import{a as T}from"./chunk.C577EOP7.js";import{a as _}from"./chunk.O4L5OULX.js";import{a as C}from"./chunk.CBQWVOOS.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as M}from"./chunk.Y7NVH75J.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.TJ7ZA5LO.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.C4DGFQBN.js";import{a as C}from"./chunk.CBQWVOOS.js";import{a as l}from"./chunk.YEDQWNIV.js";import{a as M}from"./chunk.4RPCNF2P.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.2WRD673L.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 */: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
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/map.js:
@@ -0,0 +1 @@
1
+ import{a as c,h as e}from"./chunk.2WRD673L.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-carousel-item")],t);export{t as a};
@@ -1,4 +1,4 @@
1
- import{a as f}from"./chunk.Y3GIPFVP.js";import{b as c}from"./chunk.D6LAH53B.js";import{e as l,i as u}from"./chunk.RZUTJ36B.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
1
+ import{a as f}from"./chunk.CSLPZKLY.js";import{b as c}from"./chunk.D6LAH53B.js";import{e as l,i as u}from"./chunk.763RLJEK.js";var v=()=>new p,p=class{},h=new WeakMap,b=c(class extends f{render(i){return u}update(i,[e]){var t;let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=(t=i.options)==null?void 0:t.host,this.rt(this.ct=i.element)),u}rt(i){var e;if(this.isConnected||(i=void 0),typeof this.G=="function"){let s=(e=this.ht)!=null?e:globalThis,t=h.get(s);t===void 0&&(t=new WeakMap,h.set(s,t)),t.get(this.G)!==void 0&&this.G.call(this.ht,void 0),t.set(this.G,i),i!==void 0&&this.G.call(this.ht,i)}else this.G.value=i}get lt(){var i,e,s;return typeof this.G=="function"?(e=h.get((i=this.ht)!=null?i:globalThis))==null?void 0:e.get(this.G):(s=this.G)==null?void 0:s.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var g=class{constructor(e,s){this.popupRef=v();this.enableSubmenuTimer=-1;this.isConnected=!1;this.isPopupConnected=!1;this.skidding=0;this.submenuOpenDelay=100;this.handleMouseMove=e=>{this.host.style.setProperty("--safe-triangle-cursor-x",`${e.clientX}px`),this.host.style.setProperty("--safe-triangle-cursor-y",`${e.clientY}px`)};this.handleMouseOver=()=>{this.hasSlotController.test("submenu")&&this.enableSubmenu()};this.handleKeyDown=e=>{switch(e.key){case"Escape":case"Tab":this.disableSubmenu();break;case"ArrowLeft":e.target!==this.host&&(e.preventDefault(),e.stopPropagation(),this.host.focus(),this.disableSubmenu());break;case"ArrowRight":case"Enter":case" ":this.handleSubmenuEntry(e);break;default:break}};this.handleClick=e=>{var s;e.target===this.host?(e.preventDefault(),e.stopPropagation()):e.target instanceof Element&&(e.target.tagName==="sd-menu-item"||(s=e.target.role)!=null&&s.startsWith("menuitem"))&&e.target.getAttribute("type")!=="checkbox"&&this.disableSubmenu()};this.handleFocusOut=e=>{e.relatedTarget&&e.relatedTarget instanceof Element&&this.host.contains(e.relatedTarget)||this.disableSubmenu()};this.handlePopupMouseover=e=>{e.stopPropagation()};this.handlePopupReposition=()=>{let e=this.host.renderRoot.querySelector("slot[name='submenu']"),s=e==null?void 0:e.assignedElements({flatten:!0}).filter(d=>d.localName==="sd-menu")[0],t=getComputedStyle(this.host).direction==="rtl";if(!s)return;let{left:o,top:n,width:r,height:a}=s.getBoundingClientRect();this.host.style.setProperty("--safe-triangle-submenu-start-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-start-y",`${n}px`),this.host.style.setProperty("--safe-triangle-submenu-end-x",`${t?o+r:o}px`),this.host.style.setProperty("--safe-triangle-submenu-end-y",`${n+a}px`)};(this.host=e).addController(this),this.hasSlotController=s}hostConnected(){this.hasSlotController.test("submenu")&&!this.host.disabled&&this.addListeners()}hostDisconnected(){this.removeListeners()}hostUpdated(){this.hasSlotController.test("submenu")&&!this.host.disabled?(this.addListeners(),this.updateSkidding()):this.removeListeners()}addListeners(){this.isConnected||(this.host.addEventListener("mousemove",this.handleMouseMove),this.host.addEventListener("mouseover",this.handleMouseOver),this.host.addEventListener("keydown",this.handleKeyDown),this.host.addEventListener("click",this.handleClick),this.host.addEventListener("focusout",this.handleFocusOut),this.isConnected=!0),this.isPopupConnected||this.popupRef.value&&(this.popupRef.value.addEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.addEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!0)}removeListeners(){this.isConnected&&(this.host.removeEventListener("mousemove",this.handleMouseMove),this.host.removeEventListener("mouseover",this.handleMouseOver),this.host.removeEventListener("keydown",this.handleKeyDown),this.host.removeEventListener("click",this.handleClick),this.host.removeEventListener("focusout",this.handleFocusOut),this.isConnected=!1),this.isPopupConnected&&this.popupRef.value&&(this.popupRef.value.removeEventListener("mouseover",this.handlePopupMouseover),this.popupRef.value.removeEventListener("sd-reposition",this.handlePopupReposition),this.isPopupConnected=!1)}handleSubmenuEntry(e){let s=this.host.renderRoot.querySelector("slot[name='submenu']");if(!s){console.error("Cannot activate a submenu if no corresponding menuitem can be found.",this);return}let t=null;for(let o of s.assignedElements())if(t=o.querySelectorAll("sd-menu-item, [role^='menuitem']"),t.length!==0)break;if(!(!t||t.length===0)){t[0].setAttribute("tabindex","0");for(let o=1;o!==t.length;++o)t[o].setAttribute("tabindex","-1");this.popupRef.value&&(e.preventDefault(),e.stopPropagation(),this.popupRef.value.active?t[0]instanceof HTMLElement&&t[0].focus():(this.enableSubmenu(!1),this.host.updateComplete.then(()=>{t[0]instanceof HTMLElement&&t[0].focus()}),this.host.requestUpdate()))}}setSubmenuState(e){this.popupRef.value&&this.popupRef.value.active!==e&&(this.popupRef.value.active=e,this.host.requestUpdate())}enableSubmenu(e=!0){e?(window.clearTimeout(this.enableSubmenuTimer),this.enableSubmenuTimer=window.setTimeout(()=>{this.setSubmenuState(!0)},this.submenuOpenDelay)):this.setSubmenuState(!0)}disableSubmenu(){window.clearTimeout(this.enableSubmenuTimer),this.setSubmenuState(!1)}updateSkidding(){var o;if(!((o=this.host.parentElement)!=null&&o.computedStyleMap))return;let e=this.host.parentElement.computedStyleMap(),t=["padding-top","border-top-width","margin-top"].reduce((n,r)=>{var m;let a=(m=e.get(r))!=null?m:new CSSUnitValue(0,"px"),S=(a instanceof CSSUnitValue?a:new CSSUnitValue(0,"px")).to("px");return n-S.value},0);this.skidding=t}isExpanded(){return this.popupRef.value?this.popupRef.value.active:!1}renderSubmenu(){let e=getComputedStyle(this.host).direction==="rtl";return this.isConnected?l`<sd-popup ${b(this.popupRef)} placement="${e?"left-start":"right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-popup>`:l`<slot name="submenu" hidden></slot>`}};export{g as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/directives/ref.js:
@@ -1,4 +1,4 @@
1
- import{a as $}from"./chunk.4SX3FTTZ.js";import{a as c,c as _}from"./chunk.D6LAH53B.js";var n=(s,t)=>{var i;let e=s._$AN;if(e===void 0)return!1;for(let o of e)(i=o._$AO)==null||i.call(o,t,!1),n(o,t);return!0},h=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},d=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),l(t)}};function a(s){this._$AN!==void 0?(h(this),this._$AM=s,d(this)):this._$AM=s}function f(s,t=!1,e=0){let i=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(i))for(let r=e;r<i.length;r++)n(i[r],!1),h(i[r]);else i!=null&&(n(i,!1),h(i));else n(this,s)}var l=s=>{var t,e;s.type==c.CHILD&&((t=s._$AP)!=null||(s._$AP=f),(e=s._$AQ)!=null||(s._$AQ=a))},A=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),d(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,o;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(o=this.disconnected)==null||o.call(this)),e&&(n(this,t),h(this))}setValue(t){if($(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};export{A as a};
1
+ import{a as $}from"./chunk.SIY4LRPB.js";import{a as c,c as _}from"./chunk.D6LAH53B.js";var n=(s,t)=>{var i;let e=s._$AN;if(e===void 0)return!1;for(let o of e)(i=o._$AO)==null||i.call(o,t,!1),n(o,t);return!0},h=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},d=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),l(t)}};function a(s){this._$AN!==void 0?(h(this),this._$AM=s,d(this)):this._$AM=s}function f(s,t=!1,e=0){let i=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(t)if(Array.isArray(i))for(let r=e;r<i.length;r++)n(i[r],!1),h(i[r]);else i!=null&&(n(i,!1),h(i));else n(this,s)}var l=s=>{var t,e;s.type==c.CHILD&&((t=s._$AP)!=null||(s._$AP=f),(e=s._$AQ)!=null||(s._$AQ=a))},A=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),d(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,o;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(o=this.disconnected)==null||o.call(this)),e&&(n(this,t),h(this))}setValue(t){if($(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};export{A as a};
2
2
  /*! Bundled license information:
3
3
 
4
4
  lit-html/async-directive.js:
@@ -0,0 +1 @@
1
+ import{a as s}from"./chunk.YEDQWNIV.js";import{a as c}from"./chunk.4RPCNF2P.js";import{a as i,b as a,h as r}from"./chunk.2WRD673L.js";import{b as l,e as o}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.subtick=!1}render(){return o`<div part="base" class="${s(this.subtick?"w-0.25":"w-0.5")}"><div part="line" class="${s(this.subtick?"h-2":"h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm"><slot></slot></div></div>`}};t.styles=[...r.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */[part=line]{background-color:var(--sd-color-border-neutral-400,var(--sd-color-neutral-400))}`],e([a({type:Boolean,reflect:!0})],t.prototype,"subtick",2),t=e([i("sd-range-tick")],t);export{t as a};