@fluentui/web-components 3.0.0-alpha.9 → 3.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (598) hide show
  1. package/CHANGELOG.md +298 -2
  2. package/README.md +4 -0
  3. package/dist/dts/accordion/accordion.d.ts +47 -3
  4. package/dist/dts/accordion/accordion.definition.d.ts +0 -4
  5. package/dist/dts/accordion/accordion.options.d.ts +14 -0
  6. package/dist/dts/accordion/accordion.template.d.ts +4 -0
  7. package/dist/dts/accordion-item/accordion-item.d.ts +78 -3
  8. package/dist/dts/accordion-item/accordion-item.definition.d.ts +0 -3
  9. package/dist/dts/accordion-item/accordion-item.options.d.ts +1 -1
  10. package/dist/dts/accordion-item/accordion-item.template.d.ts +2 -1
  11. package/dist/dts/anchor-button/anchor-button.d.ts +176 -0
  12. package/dist/dts/anchor-button/anchor-button.definition.d.ts +7 -0
  13. package/dist/dts/anchor-button/anchor-button.options.d.ts +64 -0
  14. package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
  15. package/dist/dts/anchor-button/anchor-button.template.d.ts +12 -0
  16. package/dist/dts/anchor-button/define.d.ts +1 -0
  17. package/dist/dts/anchor-button/index.d.ts +4 -0
  18. package/dist/dts/avatar/avatar.options.d.ts +1 -1
  19. package/dist/dts/badge/badge.d.ts +1 -1
  20. package/dist/dts/badge/badge.definition.d.ts +0 -3
  21. package/dist/dts/badge/badge.options.d.ts +2 -1
  22. package/dist/dts/button/button.d.ts +193 -0
  23. package/dist/dts/button/button.definition.d.ts +7 -0
  24. package/dist/dts/button/button.form-associated.d.ts +14 -0
  25. package/dist/dts/button/button.options.d.ts +68 -0
  26. package/dist/dts/button/button.styles.d.ts +1 -0
  27. package/dist/dts/button/button.template.d.ts +9 -0
  28. package/dist/dts/button/define.d.ts +1 -0
  29. package/dist/dts/button/index.d.ts +5 -0
  30. package/dist/dts/checkbox/checkbox.d.ts +78 -0
  31. package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
  32. package/dist/dts/checkbox/checkbox.form-associated.d.ts +14 -0
  33. package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
  34. package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
  35. package/dist/dts/checkbox/checkbox.template.d.ts +12 -0
  36. package/dist/dts/checkbox/define.d.ts +1 -0
  37. package/dist/dts/checkbox/index.d.ts +5 -0
  38. package/dist/dts/compound-button/compound-button.d.ts +7 -0
  39. package/dist/dts/compound-button/compound-button.definition.d.ts +7 -0
  40. package/dist/dts/compound-button/compound-button.options.d.ts +51 -0
  41. package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
  42. package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
  43. package/dist/dts/compound-button/define.d.ts +1 -0
  44. package/dist/dts/compound-button/index.d.ts +5 -0
  45. package/dist/dts/counter-badge/counter-badge.d.ts +1 -1
  46. package/dist/dts/counter-badge/counter-badge.definition.d.ts +0 -4
  47. package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
  48. package/dist/dts/dialog/define.d.ts +1 -0
  49. package/dist/dts/dialog/dialog.d.ts +192 -0
  50. package/dist/dts/dialog/dialog.definition.d.ts +9 -0
  51. package/dist/dts/dialog/dialog.options.d.ts +11 -0
  52. package/dist/dts/dialog/dialog.styles.d.ts +4 -0
  53. package/dist/dts/dialog/dialog.template.d.ts +7 -0
  54. package/dist/dts/dialog/index.d.ts +4 -0
  55. package/dist/dts/divider/divider.d.ts +20 -4
  56. package/dist/dts/divider/divider.options.d.ts +30 -5
  57. package/dist/dts/divider/divider.template.d.ts +1 -0
  58. package/dist/dts/form-associated/form-associated.d.ts +178 -0
  59. package/dist/dts/helpers.tests.d.ts +8 -0
  60. package/dist/dts/image/image.options.d.ts +1 -1
  61. package/dist/dts/index.d.ts +19 -0
  62. package/dist/dts/label/define.d.ts +1 -0
  63. package/dist/dts/label/index.d.ts +4 -0
  64. package/dist/dts/label/label.d.ts +42 -0
  65. package/dist/dts/label/label.definition.d.ts +10 -0
  66. package/dist/dts/label/label.options.d.ts +26 -0
  67. package/dist/dts/label/label.styles.d.ts +4 -0
  68. package/dist/dts/label/label.template.d.ts +8 -0
  69. package/dist/dts/menu/define.d.ts +1 -0
  70. package/dist/dts/menu/index.d.ts +4 -0
  71. package/dist/dts/menu/menu.d.ts +194 -0
  72. package/dist/dts/menu/menu.definition.d.ts +9 -0
  73. package/dist/dts/menu/menu.styles.d.ts +4 -0
  74. package/dist/dts/menu/menu.template.d.ts +4 -0
  75. package/dist/dts/menu-button/define.d.ts +1 -0
  76. package/dist/dts/menu-button/index.d.ts +5 -0
  77. package/dist/dts/menu-button/menu-button.d.ts +7 -0
  78. package/dist/dts/menu-button/menu-button.definition.d.ts +7 -0
  79. package/dist/dts/menu-button/menu-button.options.d.ts +47 -0
  80. package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
  81. package/dist/dts/menu-item/define.d.ts +1 -0
  82. package/dist/dts/menu-item/index.d.ts +4 -0
  83. package/dist/dts/menu-item/menu-item.d.ts +166 -0
  84. package/dist/dts/menu-item/menu-item.definition.d.ts +7 -0
  85. package/dist/dts/menu-item/menu-item.options.d.ts +30 -0
  86. package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
  87. package/dist/dts/menu-item/menu-item.template.d.ts +4 -0
  88. package/dist/dts/menu-list/define.d.ts +1 -0
  89. package/dist/dts/menu-list/index.d.ts +4 -0
  90. package/dist/dts/menu-list/menu-list.d.ts +76 -0
  91. package/dist/dts/menu-list/menu-list.definition.d.ts +7 -0
  92. package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
  93. package/dist/dts/menu-list/menu-list.template.d.ts +4 -0
  94. package/dist/dts/patterns/aria-globals.d.ts +189 -0
  95. package/dist/dts/patterns/index.d.ts +2 -0
  96. package/dist/dts/patterns/start-end.d.ts +44 -0
  97. package/dist/dts/progress-bar/base-progress.d.ts +41 -0
  98. package/dist/dts/progress-bar/progress-bar.d.ts +11 -4
  99. package/dist/dts/progress-bar/progress-bar.options.d.ts +10 -1
  100. package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
  101. package/dist/dts/progress-bar/progress-bar.template.d.ts +2 -0
  102. package/dist/dts/progress-ring/progress-ring.d.ts +15 -0
  103. package/dist/dts/progress-ring/progress-ring.options.d.ts +9 -0
  104. package/dist/dts/radio/define.d.ts +1 -0
  105. package/dist/dts/radio/index.d.ts +4 -0
  106. package/dist/dts/radio/radio.d.ts +58 -0
  107. package/dist/dts/radio/radio.definition.d.ts +10 -0
  108. package/dist/dts/radio/radio.form-associated.d.ts +14 -0
  109. package/dist/dts/radio/radio.styles.d.ts +4 -0
  110. package/dist/dts/radio/radio.template.d.ts +4 -0
  111. package/dist/dts/radio-group/define.d.ts +1 -0
  112. package/dist/dts/radio-group/index.d.ts +4 -0
  113. package/dist/dts/radio-group/radio-group.d.ts +104 -0
  114. package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
  115. package/dist/dts/radio-group/radio-group.options.d.ts +17 -0
  116. package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
  117. package/dist/dts/radio-group/radio-group.template.d.ts +4 -0
  118. package/dist/dts/slider/define.d.ts +1 -0
  119. package/dist/dts/slider/index.d.ts +5 -0
  120. package/dist/dts/slider/slider-utilities.d.ts +5 -0
  121. package/dist/dts/slider/slider.d.ts +214 -0
  122. package/dist/dts/slider/slider.definition.d.ts +10 -0
  123. package/dist/dts/slider/slider.form-associated.d.ts +14 -0
  124. package/dist/dts/slider/slider.options.d.ts +56 -0
  125. package/dist/dts/slider/slider.styles.d.ts +4 -0
  126. package/dist/dts/slider/slider.template.d.ts +5 -0
  127. package/dist/dts/spinner/spinner.d.ts +2 -2
  128. package/dist/dts/spinner/spinner.definition.d.ts +0 -4
  129. package/dist/dts/spinner/spinner.options.d.ts +1 -1
  130. package/dist/dts/spinner/spinner.template.d.ts +2 -0
  131. package/dist/dts/switch/index.d.ts +3 -3
  132. package/dist/dts/switch/switch.d.ts +34 -2
  133. package/dist/dts/switch/switch.form-associated.d.ts +14 -0
  134. package/dist/dts/switch/switch.options.d.ts +1 -1
  135. package/dist/dts/switch/switch.template.d.ts +2 -1
  136. package/dist/dts/tab/define.d.ts +1 -0
  137. package/dist/dts/tab/index.d.ts +4 -0
  138. package/dist/dts/tab/tab.d.ts +23 -0
  139. package/dist/dts/tab/tab.definition.d.ts +2 -0
  140. package/dist/dts/tab/tab.styles.d.ts +1 -0
  141. package/dist/dts/tab/tab.template.d.ts +4 -0
  142. package/dist/dts/tab-panel/define.d.ts +1 -0
  143. package/dist/dts/tab-panel/index.d.ts +4 -0
  144. package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
  145. package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
  146. package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
  147. package/dist/dts/tab-panel/tab-panel.template.d.ts +4 -0
  148. package/dist/dts/tabs/define.d.ts +1 -0
  149. package/dist/dts/tabs/index.d.ts +5 -0
  150. package/dist/dts/tabs/tabs.d.ts +173 -0
  151. package/dist/dts/tabs/tabs.definition.d.ts +2 -0
  152. package/dist/dts/tabs/tabs.options.d.ts +32 -0
  153. package/dist/dts/tabs/tabs.styles.d.ts +1 -0
  154. package/dist/dts/tabs/tabs.template.d.ts +5 -0
  155. package/dist/dts/text/text.options.d.ts +1 -1
  156. package/dist/dts/text-input/define.d.ts +1 -0
  157. package/dist/dts/text-input/index.d.ts +5 -0
  158. package/dist/dts/text-input/text-field.form-associated.d.ts +14 -0
  159. package/dist/dts/text-input/text-input.d.ts +154 -0
  160. package/dist/dts/text-input/text-input.definition.d.ts +10 -0
  161. package/dist/dts/text-input/text-input.options.d.ts +61 -0
  162. package/dist/dts/text-input/text-input.styles.d.ts +4 -0
  163. package/dist/dts/text-input/text-input.template.d.ts +7 -0
  164. package/dist/dts/theme/design-tokens.d.ts +384 -384
  165. package/dist/dts/theme/index.d.ts +2 -2
  166. package/dist/dts/theme/set-theme.d.ts +1 -0
  167. package/dist/dts/toggle-button/define.d.ts +1 -0
  168. package/dist/dts/toggle-button/index.d.ts +5 -0
  169. package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
  170. package/dist/dts/toggle-button/toggle-button.definition.d.ts +8 -0
  171. package/dist/dts/toggle-button/toggle-button.options.d.ts +47 -0
  172. package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
  173. package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
  174. package/dist/dts/utils/apply-mixins.d.ts +11 -0
  175. package/dist/dts/utils/benchmark-dependencies/tokens.d.ts +1 -0
  176. package/dist/dts/utils/benchmark-wrapper.d.ts +2 -0
  177. package/dist/dts/utils/direction.d.ts +10 -0
  178. package/dist/dts/utils/index.d.ts +4 -0
  179. package/dist/dts/utils/template-helpers.d.ts +16 -0
  180. package/dist/dts/utils/typings.d.ts +6 -0
  181. package/dist/dts/utils/whitespace-filter.d.ts +12 -0
  182. package/dist/esm/accordion/accordion.definition.js +0 -4
  183. package/dist/esm/accordion/accordion.definition.js.map +1 -1
  184. package/dist/esm/accordion/accordion.js +216 -3
  185. package/dist/esm/accordion/accordion.js.map +1 -1
  186. package/dist/esm/accordion/accordion.options.js +9 -0
  187. package/dist/esm/accordion/accordion.options.js.map +1 -0
  188. package/dist/esm/accordion/accordion.styles.js +2 -1
  189. package/dist/esm/accordion/accordion.styles.js.map +1 -1
  190. package/dist/esm/accordion/accordion.template.js +11 -1
  191. package/dist/esm/accordion/accordion.template.js.map +1 -1
  192. package/dist/esm/accordion-item/accordion-item.definition.js +0 -3
  193. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -1
  194. package/dist/esm/accordion-item/accordion-item.js +86 -5
  195. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  196. package/dist/esm/accordion-item/accordion-item.styles.js +2 -1
  197. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  198. package/dist/esm/accordion-item/accordion-item.template.js +49 -4
  199. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  200. package/dist/esm/anchor-button/anchor-button.definition.js +18 -0
  201. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
  202. package/dist/esm/anchor-button/anchor-button.js +146 -0
  203. package/dist/esm/anchor-button/anchor-button.js.map +1 -0
  204. package/dist/esm/anchor-button/anchor-button.options.js +28 -0
  205. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
  206. package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
  207. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
  208. package/dist/esm/anchor-button/anchor-button.template.js +55 -0
  209. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
  210. package/dist/esm/anchor-button/define.js +4 -0
  211. package/dist/esm/anchor-button/define.js.map +1 -0
  212. package/dist/esm/anchor-button/index.js +5 -0
  213. package/dist/esm/anchor-button/index.js.map +1 -0
  214. package/dist/esm/avatar/avatar.js +6 -1
  215. package/dist/esm/avatar/avatar.js.map +1 -1
  216. package/dist/esm/avatar/avatar.styles.js +6 -5
  217. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  218. package/dist/esm/badge/badge.definition.js +0 -3
  219. package/dist/esm/badge/badge.definition.js.map +1 -1
  220. package/dist/esm/badge/badge.js +9 -2
  221. package/dist/esm/badge/badge.js.map +1 -1
  222. package/dist/esm/badge/badge.options.js.map +1 -1
  223. package/dist/esm/badge/badge.template.js +2 -1
  224. package/dist/esm/badge/badge.template.js.map +1 -1
  225. package/dist/esm/button/button.definition.js +18 -0
  226. package/dist/esm/button/button.definition.js.map +1 -0
  227. package/dist/esm/button/button.form-associated.js +14 -0
  228. package/dist/esm/button/button.form-associated.js.map +1 -0
  229. package/dist/esm/button/button.js +197 -0
  230. package/dist/esm/button/button.js.map +1 -0
  231. package/dist/esm/button/button.options.js +40 -0
  232. package/dist/esm/button/button.options.js.map +1 -0
  233. package/dist/esm/button/button.styles.js +260 -0
  234. package/dist/esm/button/button.styles.js.map +1 -0
  235. package/dist/esm/button/button.template.js +55 -0
  236. package/dist/esm/button/button.template.js.map +1 -0
  237. package/dist/esm/button/define.js +4 -0
  238. package/dist/esm/button/define.js.map +1 -0
  239. package/dist/esm/button/index.js +6 -0
  240. package/dist/esm/button/index.js.map +1 -0
  241. package/dist/esm/checkbox/checkbox.definition.js +17 -0
  242. package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
  243. package/dist/esm/checkbox/checkbox.form-associated.js +14 -0
  244. package/dist/esm/checkbox/checkbox.form-associated.js.map +1 -0
  245. package/dist/esm/checkbox/checkbox.js +82 -0
  246. package/dist/esm/checkbox/checkbox.js.map +1 -0
  247. package/dist/esm/checkbox/checkbox.options.js +25 -0
  248. package/dist/esm/checkbox/checkbox.options.js.map +1 -0
  249. package/dist/esm/checkbox/checkbox.styles.js +164 -0
  250. package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
  251. package/dist/esm/checkbox/checkbox.template.js +55 -0
  252. package/dist/esm/checkbox/checkbox.template.js.map +1 -0
  253. package/dist/esm/checkbox/define.js +4 -0
  254. package/dist/esm/checkbox/define.js.map +1 -0
  255. package/dist/esm/checkbox/index.js +6 -0
  256. package/dist/esm/checkbox/index.js.map +1 -0
  257. package/dist/esm/compound-button/compound-button.definition.js +18 -0
  258. package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
  259. package/dist/esm/compound-button/compound-button.js +8 -0
  260. package/dist/esm/compound-button/compound-button.js.map +1 -0
  261. package/dist/esm/compound-button/compound-button.options.js +17 -0
  262. package/dist/esm/compound-button/compound-button.options.js.map +1 -0
  263. package/dist/esm/compound-button/compound-button.styles.js +105 -0
  264. package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
  265. package/dist/esm/compound-button/compound-button.template.js +60 -0
  266. package/dist/esm/compound-button/compound-button.template.js.map +1 -0
  267. package/dist/esm/compound-button/define.js +4 -0
  268. package/dist/esm/compound-button/define.js.map +1 -0
  269. package/dist/esm/compound-button/index.js +6 -0
  270. package/dist/esm/compound-button/index.js.map +1 -0
  271. package/dist/esm/counter-badge/counter-badge.definition.js +0 -4
  272. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -1
  273. package/dist/esm/counter-badge/counter-badge.js +9 -2
  274. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  275. package/dist/esm/dialog/define.js +4 -0
  276. package/dist/esm/dialog/define.js.map +1 -0
  277. package/dist/esm/dialog/dialog.definition.js +17 -0
  278. package/dist/esm/dialog/dialog.definition.js.map +1 -0
  279. package/dist/esm/dialog/dialog.js +370 -0
  280. package/dist/esm/dialog/dialog.js.map +1 -0
  281. package/dist/esm/dialog/dialog.options.js +10 -0
  282. package/dist/esm/dialog/dialog.options.js.map +1 -0
  283. package/dist/esm/dialog/dialog.styles.js +102 -0
  284. package/dist/esm/dialog/dialog.styles.js.map +1 -0
  285. package/dist/esm/dialog/dialog.template.js +61 -0
  286. package/dist/esm/dialog/dialog.template.js.map +1 -0
  287. package/dist/esm/dialog/index.js +5 -0
  288. package/dist/esm/dialog/index.js.map +1 -0
  289. package/dist/esm/divider/divider.js +35 -5
  290. package/dist/esm/divider/divider.js.map +1 -1
  291. package/dist/esm/divider/divider.options.js +14 -5
  292. package/dist/esm/divider/divider.options.js.map +1 -1
  293. package/dist/esm/divider/divider.styles.js +18 -2
  294. package/dist/esm/divider/divider.styles.js.map +1 -1
  295. package/dist/esm/divider/divider.template.js +12 -1
  296. package/dist/esm/divider/divider.template.js.map +1 -1
  297. package/dist/esm/form-associated/form-associated.js +458 -0
  298. package/dist/esm/form-associated/form-associated.js.map +1 -0
  299. package/dist/esm/helpers.tests.js +29 -0
  300. package/dist/esm/helpers.tests.js.map +1 -0
  301. package/dist/esm/image/image.js +6 -1
  302. package/dist/esm/image/image.js.map +1 -1
  303. package/dist/esm/image/image.styles.js +8 -1
  304. package/dist/esm/image/image.styles.js.map +1 -1
  305. package/dist/esm/index.js +19 -0
  306. package/dist/esm/index.js.map +1 -1
  307. package/dist/esm/label/define.js +4 -0
  308. package/dist/esm/label/define.js.map +1 -0
  309. package/dist/esm/label/index.js +5 -0
  310. package/dist/esm/label/index.js.map +1 -0
  311. package/dist/esm/label/label.definition.js +18 -0
  312. package/dist/esm/label/label.definition.js.map +1 -0
  313. package/dist/esm/label/label.js +45 -0
  314. package/dist/esm/label/label.js.map +1 -0
  315. package/dist/esm/label/label.options.js +16 -0
  316. package/dist/esm/label/label.options.js.map +1 -0
  317. package/dist/esm/label/label.styles.js +38 -0
  318. package/dist/esm/label/label.styles.js.map +1 -0
  319. package/dist/esm/label/label.template.js +13 -0
  320. package/dist/esm/label/label.template.js.map +1 -0
  321. package/dist/esm/menu/define.js +4 -0
  322. package/dist/esm/menu/define.js.map +1 -0
  323. package/dist/esm/menu/index.js +5 -0
  324. package/dist/esm/menu/index.js.map +1 -0
  325. package/dist/esm/menu/menu.definition.js +17 -0
  326. package/dist/esm/menu/menu.definition.js.map +1 -0
  327. package/dist/esm/menu/menu.js +413 -0
  328. package/dist/esm/menu/menu.js.map +1 -0
  329. package/dist/esm/menu/menu.styles.js +17 -0
  330. package/dist/esm/menu/menu.styles.js.map +1 -0
  331. package/dist/esm/menu/menu.template.js +24 -0
  332. package/dist/esm/menu/menu.template.js.map +1 -0
  333. package/dist/esm/menu-button/define.js +4 -0
  334. package/dist/esm/menu-button/define.js.map +1 -0
  335. package/dist/esm/menu-button/index.js +6 -0
  336. package/dist/esm/menu-button/index.js.map +1 -0
  337. package/dist/esm/menu-button/menu-button.definition.js +18 -0
  338. package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
  339. package/dist/esm/menu-button/menu-button.js +8 -0
  340. package/dist/esm/menu-button/menu-button.js.map +1 -0
  341. package/dist/esm/menu-button/menu-button.options.js +17 -0
  342. package/dist/esm/menu-button/menu-button.options.js.map +1 -0
  343. package/dist/esm/menu-button/menu-button.template.js +10 -0
  344. package/dist/esm/menu-button/menu-button.template.js.map +1 -0
  345. package/dist/esm/menu-item/define.js +4 -0
  346. package/dist/esm/menu-item/define.js.map +1 -0
  347. package/dist/esm/menu-item/index.js +5 -0
  348. package/dist/esm/menu-item/index.js.map +1 -0
  349. package/dist/esm/menu-item/menu-item.definition.js +15 -0
  350. package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
  351. package/dist/esm/menu-item/menu-item.js +275 -0
  352. package/dist/esm/menu-item/menu-item.js.map +1 -0
  353. package/dist/esm/menu-item/menu-item.options.js +27 -0
  354. package/dist/esm/menu-item/menu-item.options.js.map +1 -0
  355. package/dist/esm/menu-item/menu-item.styles.js +183 -0
  356. package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
  357. package/dist/esm/menu-item/menu-item.template.js +65 -0
  358. package/dist/esm/menu-item/menu-item.template.js.map +1 -0
  359. package/dist/esm/menu-list/define.js +4 -0
  360. package/dist/esm/menu-list/define.js.map +1 -0
  361. package/dist/esm/menu-list/index.js +5 -0
  362. package/dist/esm/menu-list/index.js.map +1 -0
  363. package/dist/esm/menu-list/menu-list.definition.js +15 -0
  364. package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
  365. package/dist/esm/menu-list/menu-list.js +291 -0
  366. package/dist/esm/menu-list/menu-list.js.map +1 -0
  367. package/dist/esm/menu-list/menu-list.styles.js +24 -0
  368. package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
  369. package/dist/esm/menu-list/menu-list.template.js +15 -0
  370. package/dist/esm/menu-list/menu-list.template.js.map +1 -0
  371. package/dist/esm/patterns/aria-globals.js +77 -0
  372. package/dist/esm/patterns/aria-globals.js.map +1 -0
  373. package/dist/esm/patterns/index.js +3 -0
  374. package/dist/esm/patterns/index.js.map +1 -0
  375. package/dist/esm/patterns/start-end.js +29 -0
  376. package/dist/esm/patterns/start-end.js.map +1 -0
  377. package/dist/esm/progress-bar/base-progress.js +61 -0
  378. package/dist/esm/progress-bar/base-progress.js.map +1 -0
  379. package/dist/esm/progress-bar/progress-bar.js +16 -4
  380. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  381. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  382. package/dist/esm/progress-bar/progress-bar.styles.js +20 -3
  383. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  384. package/dist/esm/progress-bar/progress-bar.template.js +25 -1
  385. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  386. package/dist/esm/progress-ring/progress-ring.js +16 -0
  387. package/dist/esm/progress-ring/progress-ring.js.map +1 -0
  388. package/dist/esm/progress-ring/progress-ring.options.js +2 -0
  389. package/dist/esm/progress-ring/progress-ring.options.js.map +1 -0
  390. package/dist/esm/radio/define.js +4 -0
  391. package/dist/esm/radio/define.js.map +1 -0
  392. package/dist/esm/radio/index.js +5 -0
  393. package/dist/esm/radio/index.js.map +1 -0
  394. package/dist/esm/radio/radio.definition.js +18 -0
  395. package/dist/esm/radio/radio.definition.js.map +1 -0
  396. package/dist/esm/radio/radio.form-associated.js +14 -0
  397. package/dist/esm/radio/radio.form-associated.js.map +1 -0
  398. package/dist/esm/radio/radio.js +101 -0
  399. package/dist/esm/radio/radio.js.map +1 -0
  400. package/dist/esm/radio/radio.styles.js +118 -0
  401. package/dist/esm/radio/radio.styles.js.map +1 -0
  402. package/dist/esm/radio/radio.template.js +32 -0
  403. package/dist/esm/radio/radio.template.js.map +1 -0
  404. package/dist/esm/radio-group/define.js +4 -0
  405. package/dist/esm/radio-group/define.js.map +1 -0
  406. package/dist/esm/radio-group/index.js +5 -0
  407. package/dist/esm/radio-group/index.js.map +1 -0
  408. package/dist/esm/radio-group/radio-group.definition.js +18 -0
  409. package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
  410. package/dist/esm/radio-group/radio-group.js +372 -0
  411. package/dist/esm/radio-group/radio-group.js.map +1 -0
  412. package/dist/esm/radio-group/radio-group.options.js +7 -0
  413. package/dist/esm/radio-group/radio-group.options.js.map +1 -0
  414. package/dist/esm/radio-group/radio-group.styles.js +52 -0
  415. package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
  416. package/dist/esm/radio-group/radio-group.template.js +32 -0
  417. package/dist/esm/radio-group/radio-group.template.js.map +1 -0
  418. package/dist/esm/slider/define.js +4 -0
  419. package/dist/esm/slider/define.js.map +1 -0
  420. package/dist/esm/slider/index.js +6 -0
  421. package/dist/esm/slider/index.js.map +1 -0
  422. package/dist/esm/slider/slider-utilities.js +12 -0
  423. package/dist/esm/slider/slider-utilities.js.map +1 -0
  424. package/dist/esm/slider/slider.definition.js +18 -0
  425. package/dist/esm/slider/slider.definition.js.map +1 -0
  426. package/dist/esm/slider/slider.form-associated.js +14 -0
  427. package/dist/esm/slider/slider.form-associated.js.map +1 -0
  428. package/dist/esm/slider/slider.js +480 -0
  429. package/dist/esm/slider/slider.js.map +1 -0
  430. package/dist/esm/slider/slider.options.js +20 -0
  431. package/dist/esm/slider/slider.options.js.map +1 -0
  432. package/dist/esm/slider/slider.styles.js +203 -0
  433. package/dist/esm/slider/slider.styles.js.map +1 -0
  434. package/dist/esm/slider/slider.template.js +42 -0
  435. package/dist/esm/slider/slider.template.js.map +1 -0
  436. package/dist/esm/spinner/spinner.definition.js +0 -4
  437. package/dist/esm/spinner/spinner.definition.js.map +1 -1
  438. package/dist/esm/spinner/spinner.js +8 -3
  439. package/dist/esm/spinner/spinner.js.map +1 -1
  440. package/dist/esm/spinner/spinner.styles.js +2 -1
  441. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  442. package/dist/esm/spinner/spinner.template.js +27 -1
  443. package/dist/esm/spinner/spinner.template.js.map +1 -1
  444. package/dist/esm/styles/partials/badge.partials.js +5 -4
  445. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  446. package/dist/esm/switch/index.js +3 -3
  447. package/dist/esm/switch/index.js.map +1 -1
  448. package/dist/esm/switch/switch.form-associated.js +14 -0
  449. package/dist/esm/switch/switch.form-associated.js.map +1 -0
  450. package/dist/esm/switch/switch.js +54 -4
  451. package/dist/esm/switch/switch.js.map +1 -1
  452. package/dist/esm/switch/switch.styles.js +33 -5
  453. package/dist/esm/switch/switch.styles.js.map +1 -1
  454. package/dist/esm/switch/switch.template.js +25 -1
  455. package/dist/esm/switch/switch.template.js.map +1 -1
  456. package/dist/esm/tab/define.js +4 -0
  457. package/dist/esm/tab/define.js.map +1 -0
  458. package/dist/esm/tab/index.js +5 -0
  459. package/dist/esm/tab/index.js.map +1 -0
  460. package/dist/esm/tab/tab.definition.js +10 -0
  461. package/dist/esm/tab/tab.definition.js.map +1 -0
  462. package/dist/esm/tab/tab.js +31 -0
  463. package/dist/esm/tab/tab.js.map +1 -0
  464. package/dist/esm/tab/tab.styles.js +98 -0
  465. package/dist/esm/tab/tab.styles.js.map +1 -0
  466. package/dist/esm/tab/tab.template.js +13 -0
  467. package/dist/esm/tab/tab.template.js.map +1 -0
  468. package/dist/esm/tab-panel/define.js +4 -0
  469. package/dist/esm/tab-panel/define.js.map +1 -0
  470. package/dist/esm/tab-panel/index.js +5 -0
  471. package/dist/esm/tab-panel/index.js.map +1 -0
  472. package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
  473. package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
  474. package/dist/esm/tab-panel/tab-panel.js +4 -0
  475. package/dist/esm/tab-panel/tab-panel.js.map +1 -0
  476. package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
  477. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
  478. package/dist/esm/tab-panel/tab-panel.template.js +10 -0
  479. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
  480. package/dist/esm/tabs/define.js +4 -0
  481. package/dist/esm/tabs/define.js.map +1 -0
  482. package/dist/esm/tabs/index.js +6 -0
  483. package/dist/esm/tabs/index.js.map +1 -0
  484. package/dist/esm/tabs/tabs.definition.js +10 -0
  485. package/dist/esm/tabs/tabs.definition.js.map +1 -0
  486. package/dist/esm/tabs/tabs.js +436 -0
  487. package/dist/esm/tabs/tabs.js.map +1 -0
  488. package/dist/esm/tabs/tabs.options.js +16 -0
  489. package/dist/esm/tabs/tabs.options.js.map +1 -0
  490. package/dist/esm/tabs/tabs.styles.js +230 -0
  491. package/dist/esm/tabs/tabs.styles.js.map +1 -0
  492. package/dist/esm/tabs/tabs.template.js +16 -0
  493. package/dist/esm/tabs/tabs.template.js.map +1 -0
  494. package/dist/esm/text/text.js +6 -1
  495. package/dist/esm/text/text.js.map +1 -1
  496. package/dist/esm/text/text.styles.js +8 -2
  497. package/dist/esm/text/text.styles.js.map +1 -1
  498. package/dist/esm/text-input/define.js +4 -0
  499. package/dist/esm/text-input/define.js.map +1 -0
  500. package/dist/esm/text-input/index.js +6 -0
  501. package/dist/esm/text-input/index.js.map +1 -0
  502. package/dist/esm/text-input/text-field.form-associated.js +14 -0
  503. package/dist/esm/text-input/text-field.form-associated.js.map +1 -0
  504. package/dist/esm/text-input/text-input.definition.js +18 -0
  505. package/dist/esm/text-input/text-input.definition.js.map +1 -0
  506. package/dist/esm/text-input/text-input.js +181 -0
  507. package/dist/esm/text-input/text-input.js.map +1 -0
  508. package/dist/esm/text-input/text-input.options.js +46 -0
  509. package/dist/esm/text-input/text-input.options.js.map +1 -0
  510. package/dist/esm/text-input/text-input.styles.js +200 -0
  511. package/dist/esm/text-input/text-input.styles.js.map +1 -0
  512. package/dist/esm/text-input/text-input.template.js +69 -0
  513. package/dist/esm/text-input/text-input.template.js.map +1 -0
  514. package/dist/esm/theme/design-tokens.js +385 -386
  515. package/dist/esm/theme/design-tokens.js.map +1 -1
  516. package/dist/esm/theme/index.js +2 -2
  517. package/dist/esm/theme/index.js.map +1 -1
  518. package/dist/esm/theme/set-theme.js +6 -1
  519. package/dist/esm/theme/set-theme.js.map +1 -1
  520. package/dist/esm/toggle-button/define.js +4 -0
  521. package/dist/esm/toggle-button/define.js.map +1 -0
  522. package/dist/esm/toggle-button/index.js +6 -0
  523. package/dist/esm/toggle-button/index.js.map +1 -0
  524. package/dist/esm/toggle-button/toggle-button.definition.js +19 -0
  525. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
  526. package/dist/esm/toggle-button/toggle-button.js +107 -0
  527. package/dist/esm/toggle-button/toggle-button.js.map +1 -0
  528. package/dist/esm/toggle-button/toggle-button.options.js +17 -0
  529. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
  530. package/dist/esm/toggle-button/toggle-button.styles.js +94 -0
  531. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
  532. package/dist/esm/toggle-button/toggle-button.template.js +7 -0
  533. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
  534. package/dist/esm/utils/apply-mixins.js +26 -0
  535. package/dist/esm/utils/apply-mixins.js.map +1 -0
  536. package/dist/esm/utils/benchmark-dependencies/tokens.js +2 -0
  537. package/dist/esm/utils/benchmark-dependencies/tokens.js.map +1 -0
  538. package/dist/esm/utils/benchmark-wrapper.js +18 -0
  539. package/dist/esm/utils/benchmark-wrapper.js.map +1 -0
  540. package/dist/esm/utils/direction.js +15 -0
  541. package/dist/esm/utils/direction.js.map +1 -0
  542. package/dist/esm/utils/index.js +5 -0
  543. package/dist/esm/utils/index.js.map +1 -0
  544. package/dist/esm/utils/template-helpers.js +19 -0
  545. package/dist/esm/utils/template-helpers.js.map +1 -0
  546. package/dist/esm/utils/typings.js +3 -0
  547. package/dist/esm/utils/typings.js.map +1 -0
  548. package/dist/esm/utils/whitespace-filter.js +13 -0
  549. package/dist/esm/utils/whitespace-filter.js.map +1 -0
  550. package/dist/fluent-web-components.api.json +18374 -7750
  551. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +1 -0
  552. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +1 -0
  553. package/dist/storybook/284.0946b1fb.iframe.bundle.js +2 -0
  554. package/dist/storybook/284.0946b1fb.iframe.bundle.js.LICENSE.txt +51 -0
  555. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +2 -0
  556. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +17 -0
  557. package/dist/storybook/401.7edec720.iframe.bundle.js +2 -0
  558. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +12 -0
  559. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +2 -0
  560. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +12 -0
  561. package/dist/storybook/491.77b24750.iframe.bundle.js +1 -0
  562. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +2 -0
  563. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +94 -0
  564. package/dist/storybook/709.22096ad4.iframe.bundle.js +2 -0
  565. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
  566. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
  567. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
  568. package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
  569. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
  570. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
  571. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
  572. package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
  573. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
  574. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +1 -0
  575. package/dist/storybook/954.630c5748.iframe.bundle.js +1 -0
  576. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +1 -0
  577. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  578. package/dist/storybook/favicon.ico +0 -0
  579. package/dist/storybook/favicon.png +0 -0
  580. package/dist/storybook/iframe.html +364 -0
  581. package/dist/storybook/index.html +165 -0
  582. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +1 -0
  583. package/dist/storybook/main.b9de79ac.iframe.bundle.js +2 -0
  584. package/dist/storybook/main.b9de79ac.iframe.bundle.js.LICENSE.txt +1 -0
  585. package/dist/storybook/project.json +1 -0
  586. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +1 -0
  587. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +1 -0
  588. package/dist/storybook/shell.css +83 -0
  589. package/dist/storybook/theme-switch.ts +13 -0
  590. package/dist/web-components.d.ts +4414 -917
  591. package/dist/web-components.js +6209 -3672
  592. package/dist/web-components.min.js +185 -115
  593. package/docs/api-report.md +1583 -434
  594. package/package.json +142 -63
  595. package/playwright.config.ts +25 -0
  596. package/tensile.config.js +24 -0
  597. package/CHANGELOG.json +0 -2935
  598. package/dist/tsdoc-metadata.json +0 -11
@@ -1,27 +1,36 @@
1
- import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==o)o.globalThis=o;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const r={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},r));const n=globalThis.FAST;if(void 0===n.getById){const e=Object.create(null);Reflect.defineProperty(n,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},r))}void 0===n.error&&Object.assign(n,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const i=Object.freeze([]);function s(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function a(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}let l;try{if(document.currentScript)l=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");l=e[e.length-1].getAttribute("fast-kernel")}}catch(e){l="isolate"}let c;switch(l){case"share":c=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":c=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);c=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const d=e=>"function"==typeof e,h=e=>"string"==typeof e,u=()=>{},g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw n.error(1201);v=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),y=n.getById(c.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function n(){if(t.length)throw t.shift()}function i(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(n,0)}}function s(){let t=0;for(;t<e.length;)if(i(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function a(t){e.push(t),e.length<2&&(r?o(s):s())}return Object.freeze({enqueue:a,next:()=>new Promise(a),process:s,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,n=t.length;r<n;++r)t[r].handleChange(o,e)}}class B{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let n;n=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),n.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const x=Object.freeze({unknown:void 0,coupled:1}),w=n.getById(c.observable,()=>{const e=y.enqueue,t=/(:|&&|\|\||if)/,o=new WeakMap;let r=void 0,i=e=>{throw n.error(1101)};function s(e){var t;let r=null!==(t=e.$fastController)&&void 0!==t?t:o.get(e);return void 0===r&&(Array.isArray(e)?r=i(e):o.set(e,r=new B(e))),r}const l=a();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==r&&r.watch(e,this.name),e[this.field]}setValue(e,t){const o=this.field,r=e[o];if(r!==t){e[o]=t;const n=e[this.callback];d(n)&&n.call(e,r,t),s(e).notify(this.name)}}}class g extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0,this.toJSON=u}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==x.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=r;let n;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{n=this.expression(e,t)}finally{r=o}return n}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,n=s(e),i=null===o?this.first:{};if(i.propertySource=e,i.propertyName=t,i.notifier=n,n.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;r=void 0,t=o.propertySource[o.propertyName],r=this,e===t&&(this.needsRefresh=!0)}o.next=i}this.last=i}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:s,track(e,t){r&&r.watch(e,t)},trackVolatile(){r&&(r.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){h(t)&&(t=new c(t)),l(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:l,binding(e,t,o=this.isVolatileBinding(e)){return new g(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function P(e,t){w.defineProperty(e,t)}const $=n.getById(c.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),S=Object.freeze({default:{index:0,length:0,get event(){return S.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>$.get(),setEvent(e){$.set(e)}});let F;class C{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof C?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(F),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof C?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){F=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new C(e):e instanceof C?e:new C([e])}}C.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const N=s(),z=Object.freeze({getForInstance:N.getForInstance,getByType:N.getByType,define:e=>(N.register({type:e}),e)});function A(e,t){const o=[];let r="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){r+=e[n];let s=t[n];void 0!==z.getForInstance(s)&&(s=s.createCSS(i)),s instanceof C||s instanceof CSSStyleSheet?(""!==r.trim()&&(o.push(r),r=""),o.push(s)):r+=s}return r+=e[e.length-1],""!==r.trim()&&o.push(r),{styles:o,behaviors:n}}const I=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t),n=new C(o);return r.length?n.withBehaviors(...r):n};class T{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(h(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new C(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}z.define(T),I.partial=(e,...t)=>{const{styles:o,behaviors:r}=A(e,t);return new T(o,r)};const L="fast-"+Math.random().toString(36).substring(2,8),O=L+"{",H="}"+L,D=H.length;let V=0;const M=()=>`${L}-${++V}`,E=Object.freeze({interpolation:e=>`${O}${e}${H}`,attribute:e=>`${M()}="${O}${e}${H}"`,comment:e=>`\x3c!--${O}${e}${H}--\x3e`}),R=Object.freeze({parse(e,t){const o=e.split(O);if(1===o.length)return null;const r=[];for(let e=0,n=o.length;e<n;++e){const n=o[e],i=n.indexOf(H);let s;if(-1===i)s=n;else{const e=n.substring(0,i);r.push(t[e]),s=n.substring(i+D)}""!==s&&r.push(s)}return r}}),_=s(),j=Object.freeze({getForInstance:_.getForInstance,getByType:_.getByType,define:(e,t)=>((t=t||{}).type=e,_.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?g.tokenList:g.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=g.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=g.event;break;default:e.targetAspect=t,e.aspectType=g.attribute}else e.aspectType=g.content}});class G{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class q{constructor(e){this.options=e,this.toJSON=u}createHTML(e){return E.attribute(e(this))}createBehavior(){return this}}class X extends G{createObserver(e,t){return w.binding(this.evaluate,t,this.isVolatile)}}class W extends G{constructor(){super(...arguments),this.toJSON=u}createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}const Y={[g.attribute]:m.setAttribute,[g.booleanAttribute]:m.setBooleanAttribute,[g.property]:(e,t,o)=>e[t]=o,[g.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[g.tokenList]:function(e,t,o){var r;const n=this.id+"-t",i=null!==(r=e[n])&&void 0!==r?r:e[n]={v:0,cv:Object.create(null)},s=i.cv;let a=i.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(s[o]=a,l.add(o))}}if(i.v=a+1,0!==a){a-=1;for(const e in s)s[e]===a&&l.remove(e)}},[g.event]:()=>{}};class U{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return E.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=Y[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw n.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){S.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);S.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function K(e,t,o=w.isVolatileBinding(e)){return new X(e,t,o)}function Q(e,t){return new W(e,t)}function J(e,t){const o=e.parentNode;let r,n=e;for(;n!==t;)r=n.nextSibling,o.removeChild(n),n=r;o.removeChild(t)}j.define(U,{aspected:!0});class Z{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=x.unknown,this.context=this,this.index=0,this.length=0,this.toJSON=u,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return S.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,n=this.firstChild;for(;n!==t;)r=n.nextSibling,o.insertBefore(n,e),n=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){J(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){J(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}w.defineProperty(Z.prototype,"index"),w.defineProperty(Z.prototype,"length");const ee=(e,t)=>`${e}.${t}`,te={},oe={index:0,node:null};function re(e){e.startsWith("fast-")||n.warn(1204,{name:e})}const ne=new Proxy(document.createElement("div"),{get(e,t){re(t);const o=Reflect.get(e,t);return d(o)?o.bind(e):o},set:(e,t,o)=>(re(t),Reflect.set(e,t,o))});class ie{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,n){var i,s;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(i=e.id)&&void 0!==i?i:M(),e.targetNodeId=o,e.targetTagName=n,e.policy=null!==(s=e.policy)&&void 0!==s?s:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let n=te[t];if(!n){const r="_"+t;te[t]=n={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=n}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:ne;for(const e of this.nodeIds)o[e];return new Z(t,this.factories,o)}}function se(e,t,o,r,n,i=!1){const s=o.attributes,a=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],h=d.value,u=R.parse(h,a);let g=null;null===u?i&&(g=new U(Q(()=>h,e.policy)),j.assignAspect(g,d.name)):g=ce.aggregate(u,e.policy),null!==g&&(o.removeAttributeNode(d),l--,c--,e.addFactory(g,t,r,n,o.tagName))}}function ae(e,t,o){let r=0,n=t.firstChild;for(;n;){const t=le(e,o,n,r);n=t.node,r=t.index}}function le(e,t,o,r){const n=ee(t,r);switch(o.nodeType){case 1:se(e,t,o,n,r),ae(e,o,n);break;case 3:return function(e,t,o,r,n){const i=R.parse(t.textContent,e.directives);if(null===i)return oe.node=t.nextSibling,oe.index=n+1,oe;let s,a=s=t;for(let t=0,l=i.length;t<l;++t){const l=i[t];0!==t&&(n++,r=ee(o,n),s=a.parentNode.insertBefore(document.createTextNode(""),a.nextSibling)),h(l)?s.textContent=l:(s.textContent=" ",j.assignAspect(l),e.addFactory(l,o,r,n,null)),a=s}return oe.index=n+1,oe.node=a.nextSibling,oe}(e,o,t,n,r);case 8:const i=R.parse(o.data,e.directives);null!==i&&e.addFactory(ce.aggregate(i),t,n,r,null)}return oe.index=r+1,oe.node=o.nextSibling,oe}const ce={compile(e,t,o=m.policy){let r;if(h(e)){r=document.createElement("TEMPLATE"),r.innerHTML=o.createHTML(e);const t=r.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(r=t)}else r=e;const n=document.adoptNode(r.content),i=new ie(n,t,o);var s,a;return se(i,"",r,"h",0,!0),s=n.firstChild,a=t,(s&&8==s.nodeType&&null!==R.parse(s.data,a)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ae(i,n,"r"),oe.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,r,n=!1,i=void 0;const s=e.length,a=e.map(e=>h(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=a[r](e,t);return o},r.isVolatile=n,r.policy=null!=i?i:t;const l=new U(r);return j.assignAspect(l,o),l}},de=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,he=Object.create(null);class ue{constructor(e,t=he){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ge(e,t,o,r=j.getForInstance(e)){if(r.aspected){const o=de.exec(t);null!==o&&j.assignAspect(e,o[2])}return e.createHTML(o)}ue.empty=new ue(""),j.define(ue);class pe{constructor(e,t={},o){this.policy=o,this.result=null,this.toJSON=u,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=ce.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ue(h(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw n.error(1208);if(this.policy)throw n.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,o){let r="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=M();return n[o]=e,o};for(let o=0,n=e.length-1;o<n;++o){const n=e[o];let s,a=t[o];if(r+=n,d(a))a=new U(K(a));else if(a instanceof G)a=new U(a);else if(!(s=j.getForInstance(a))){const e=a;a=new U(Q(()=>e))}r+=ge(a,n,i,s)}return new pe(r+e[e.length-1],n,o)}}const fe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return pe.create(e,t);throw n.error(1206)};fe.partial=e=>new ue(e);class ve extends q{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}j.define(ve);const be=e=>new ve(e);function me(e,t){const o=d(e)?e:()=>e,r=d(t)?t:()=>t;return(e,t)=>o(e,t)?r(e,t):null}const ye=e=>1===e.nodeType;class ke extends q{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,i),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Be extends ke{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function xe(e){return h(e)&&(e={property:e}),new Be(e)}j.define(Be);const we=Object.freeze({locate:a()}),Pe={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function $e(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Se={toView(e){const t=$e(e);return t?t.toString():t},fromView:$e};class Fe{constructor(e,t,o=t.toLowerCase(),r="reflect",n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=n,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===n&&(this.converter=Pe)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return w.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||y.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(we.locate(e));for(let r=0,n=t.length;r<n;++r){const n=t[r];if(void 0!==n)for(let t=0,r=n.length;t<r;++t){const r=n[t];h(r)?o.push(new Fe(e,r)):o.push(new Fe(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ce(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),we.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Ne={mode:"open"},ze={},Ae=new Set,Ie=n.getById(c.elementRegistry,()=>s());class Te{constructor(e,t=e.definition){var o;this.platformDefined=!1,h(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const r=e.prototype,n=Fe.collect(e,t.attributes),i=new Array(n.length),s={},a={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,a[t.attribute]=t,w.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=a,this.shadowOptions=void 0===t.shadowOptions?Ne:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Ne),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?ze:Object.assign(Object.assign({},ze),t.elementOptions),this.styles=C.normalize(t.styles),Ie.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Ae.has(e)||Ie.getByType(e)?new Te(class extends e{},t):new Te(e,t)}static registerBaseType(e){Ae.add(e)}}Te.getByType=Ie.getByType,Te.getForInstance=Ie.getForInstance;const Le={bubbles:!0,composed:!0,cancelable:!0},Oe=new WeakMap;function He(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Oe.get(e))&&void 0!==o?o:null}let De;class Ve extends B{constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.toJSON=u,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Oe.set(e,t))}const r=w.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,n=r.length;o<n;++o){const n=r[o].name,i=e[n];void 0!==i&&(delete e[n],t[n]=i)}}}get isConnected(){return w.track(this,"isConnected"),1===this.stage}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,n=null!==(o=r.get(e))&&void 0!==o?o:0;0===n?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,n+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=He(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=He(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,n=o.length;r<n;++r){const n=o[r];e[n]=t[n]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,w.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,w.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},Le),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=He(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Te.getForInstance(e);if(void 0===o)throw n.error(1401);return e.$fastController=new De(e,o)}static setStrategy(e){De=e}}function Me(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=He(e))&&void 0!==t?t:e.getRootNode()}Ve.setStrategy(Ve);class Ee{constructor(e){const t=Ee.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){const t=Me(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Me(e),o=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===o.indexOf(e))}}Ee.styleSheetCache=new Map;let Re=0;function _e(e){return e===document?document.body:e}function je(e){const t=class extends e{constructor(){super(),Ve.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Te.registerBaseType(t),t}C.setDefaultStrategy(C.supportsAdoptedStyleSheets?Ee:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Re}addStylesTo(e){e=_e(Me(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const n=document.createElement("style");n.innerHTML=t[r],n.className=o,e.append(n)}}removeStylesFrom(e){const t=(e=_e(Me(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}});const Ge=Object.assign(je(HTMLElement),{from:function(e){return je(e)},define:function(e,t){return d(e)?Te.compose(e,t).define().type:Te.compose(this,e).define().type},compose:function(e,t){return d(e)?Te.compose(e,t):Te.compose(this,e)}});function qe(e){return e?"string"==typeof e?new ue(e):"inline"in e?e.inline():e:ue.empty}function Xe(e,t,o,r){var n,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(i<3?n(s):i>3?n(t,o,s):n(t,o))||s);return i>3&&s&&Object.defineProperty(t,o,s),s}class We{}function Ye(e){return fe`<slot name="end" ${be("end")}>${qe(e.end)}</slot>`.inline()}function Ue(e){return fe`<slot name="start" ${be("start")}>${qe(e.start)}</slot>`.inline()}let Ke=0;function Qe(e,...t){const o=we.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});we.locate(t).forEach(e=>o.push(e))})}class Je extends Ge{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=function(e=""){return`${e}${Ke++}`}("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Xe([Ce({attribute:"heading-level",mode:"fromView",converter:Se})],Je.prototype,"headinglevel",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"expanded",void 0),Xe([Ce({mode:"boolean"})],Je.prototype,"disabled",void 0),Xe([Ce],Je.prototype,"id",void 0),Qe(Je,We);const Ze="single",et="multi";class tt extends Ge{constructor(){super(...arguments),this.expandmode=et,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>w.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof Je&&(e.addEventListener("click",this.activeItemChange),w.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex],e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus)}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{w.getNotifier(e).unsubscribe(this,"disabled"),w.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof Je&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==Ze?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!==(e=this.accordionItems.find(e=>e instanceof Je&&e.expanded))&&void 0!==e?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled"))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===Ze}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof Je&&e.expandbutton.focus()}}Xe([Ce({attribute:"expand-mode"})],tt.prototype,"expandmode",void 0),Xe([P],tt.prototype,"slottedAccordionItems",void 0);const ot="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,rt=new WeakMap;function nt(e){class t extends(function(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return ot}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return i}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),y.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),y.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!ot)return null;let e=rt.get(this);return e||(e=this.attachInternals(),rt.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null===(e=this.shadowRoot)||void 0===e||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Ce({mode:"boolean"})(t.prototype,"disabled"),Ce({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ce({attribute:"current-value"})(t.prototype,"currentValue"),Ce(t.prototype,"name"),Ce({mode:"boolean"})(t.prototype,"required"),P(t.prototype,"value"),t}(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Ce({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ce({attribute:"current-checked",converter:Pe})(o.prototype,"currentChecked"),P(o.prototype,"defaultChecked"),P(o.prototype,"checked"),o}class it{constructor(e){this.value=e,this.notifier=w.getNotifier(this),this.dependencies=new Set,this.binding=w.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=it.cache.get(e);return t||(t=new it(e),it.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(o=>{if(this.dependencies.add(o),t===o){if(e.parent)return e.parent.getTokenValue(o);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(o)})}handleChange(){this.notifier.notify(void 0)}}it.cache=new WeakMap;class st{constructor(e,t,o,r){this.token=e,this.evaluator=t,this.node=o,this.subscriber=r,this.value=t.evaluate(o,e),this.subscriber&&w.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&w.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class at{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){w.getNotifier(this.token).notify(this)}}class lt{constructor(){this._parent=null,this._children=new Set,this._values=new Map,this._derived=new Map,this.dependencyGraph=new Map}static isDerivedTokenValue(e){return"function"==typeof e}static isDerivedFor(e,t){return e._derived.has(t)}static collectDerivedContext(e){const t=new Map;if(null===e.parent)return t;let o=lt.getAssignedTokensForNode(e),r=e.parent;do{const e=lt.getAssignedTokensForNode(r);for(let n=0,i=e.length;n<i;n++){const i=e[n];!o.includes(i)&&lt.isDerivedFor(r,i)&&t.set(i,r._derived.get(i))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return lt.isAssigned(e,t)?lt.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let o=e.dependencyGraph.get(t);return o||(o=new Set,e.dependencyGraph.set(t,o),o)}static notify(){const e=this._notifications;this._notifications=[];for(const t of e)t.notify()}static queueNotification(...e){this._notifications.push(...e)}static getAssignedTokensForNode(e){return Array.from(e._values.keys())}static composeAssignedTokensForNode(e){const t=new Set(lt.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=lt.getAssignedTokensForNode(o);for(const o of e)t.add(o);o=o.parent}return Array.from(t)}static isAssigned(e,t){return e._values.has(t)}get parent(){return this._parent}get children(){return Array.from(this._children)}appendChild(e){var t,o;let r=null;null!==e.parent&&(r=lt.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const n=lt.composeAssignedTokensForNode(this),i=lt.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of n){let n=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(n=1,r.splice(e,1))}e.dispatch(new at(this,n,o,null===(t=i.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new at(this,2,t,null===(o=i.get(t))||void 0===o?void 0:o.evaluator.value));lt.notify()}removeChild(e){if(e.parent===this){const t=lt.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new at(this,2,o));lt.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const o=lt.isAssigned(this,e)||lt.isDerivedFor(this,e)?1:0,r=lt.getLocalTokenValue(this,e);this._values.set(e,t),lt.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const n=lt.isDerivedTokenValue(t),i=lt.collectDerivedContext(this);let s;if(n){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;r!==s&&lt.queueNotification(new at(this,o,e,t)),this.dispatch(new at(this,o,e,t)),i.forEach((e,t)=>{if(!lt.isDerivedFor(this,t)){lt.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&lt.queueNotification(new at(this,1,t,e.evaluator.value)),this.dispatch(new at(this,0,t,e.evaluator.value))}}),lt.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(lt.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(lt.isAssigned(o,e)){t=o._values.get(e);break}o=o._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(lt.isAssigned(this,e)){const t=lt.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}lt.queueNotification(new at(this,2,e)),t!==o&&this.dispatch(new at(this,2,e)),lt.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:n}=e,i=lt.isAssigned(this,n),s=i&&(null===(t=this._derived.get(n))||void 0===t?void 0:t.evaluator.dependencies.has(n));if(i&&!s)return;2===e.type&&!i&&lt.isDerivedFor(this,n)&&(this.tearDownDerivedTokenValue(n),lt.queueNotification(new at(this,2,n))),s&&(e=new at(this,1,n,null===(o=this._derived.get(n))||void 0===o?void 0:o.evaluator.value));const{value:a}=e;if(a&&lt.isDerivedTokenValue(a)){const t=it.getOrCreate(a).dependencies;let o=!1;for(const e of t)if(lt.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(n))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(n,a);if(t!==o.value){const r=new at(this,void 0===t?0:1,n,o.evaluator.value);lt.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{lt.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of lt.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new at(this,1,o.token,o.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,o=this.children.length;t<o;t++)for(let o=0;o<e.length;o++)this.children[t].dispatch(e[o])}tearDownDerivedTokenValue(e){if(lt.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{lt.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new st(e,it.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new at(this,1,r.token,r.evaluator.value);lt.queueNotification(e),this.dispatch(e),lt.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&lt.getOrCreateDependencyGraph(this,t).add(r)}),r}}lt._notifications=[];class ct{setProperty(e,t){y.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){y.enqueue(()=>this.target.removeProperty(e))}}class dt extends ct{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class ht extends ct{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style);const{sheet:e}=this.style;if(e){const t=e.insertRule(":root{}",e.cssRules.length);this.target=e.cssRules[t].style}}}class ut{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),w.getNotifier(t).subscribe(this,"isConnected"),this.handleChange(t,"isConnected")}targetChanged(){if(null!==this.target)for(const[e,t]of this.store.entries())this.target.setProperty(e,t)}setProperty(e,t){this.store.set(e,t),y.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),y.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:o}=this.style;if(o){const e=o.insertRule(":host{}",o.cssRules.length);this.target=o.cssRules[e].style}else this.target=null}}Xe([P],ut.prototype,"target",void 0);class gt{setProperty(e,t){gt.properties[e]=t;for(const o of gt.roots.values())o.setProperty(e,t)}removeProperty(e){delete gt.properties[e];for(const t of gt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=gt;if(!t.has(e)){t.add(e);for(const t in gt.properties)e.setProperty(t,gt.properties[t])}}static unregisterRoot(e){const{roots:t}=gt;if(t.has(e)){t.delete(e);for(const t in gt.properties)e.removeProperty(t)}}}gt.roots=new Set,gt.properties={};const pt=new WeakMap,ft=C.supportsAdoptedStyleSheets?class extends ct{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new C([t]))}}:ut,vt=Object.freeze({getOrCreate(e){if(pt.has(e))return pt.get(e);let t;return t=e instanceof Document?C.supportsAdoptedStyleSheets?new dt:new ht:new ft(e),pt.set(e,t),t}});class bt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Bt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,w.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Bt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new k(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new mt({name:e,cssCustomPropertyName:e}):bt.isCSSDesignTokenConfiguration(e)?new mt(e):new bt(e)}static withStrategy(e){Bt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Ge||e instanceof Document)&&(e=vt.getOrCreate(e)),gt.unregisterRoot(e)}getValueFor(e){return Bt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Bt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Bt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Bt.defaultNode.setTokenValue(this,this.normalizeValue(e)),this}subscribe(e){this.subscribers.subscribe(e)}unsubscribe(e){this.subscribers.unsubscribe(e)}alias(e){return t=>t(e)}normalizeValue(e){return e instanceof bt&&(e=this.alias(e)),e}}let mt=class extends bt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Bt.defaultNode?Bt.rootStyleSheetTarget:t.target instanceof Bt?vt.getOrCreate(t.target.target):null;o&&(2===t.type?o.removeProperty(this.cssCustomProperty):o.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,w.getNotifier(this).subscribe(this.cssReflector)}createCSS(){return this.cssVar}createHTML(){return this.cssVar}resolveCSSValue(e){return e&&"function"==typeof e.createCSS?e.createCSS():e}};var yt;mt=Xe([function(e){z.define(e)},function(e){j.define(e,yt)}],mt);const kt={contains:e,parent(e){let o=t(e);for(;null!==o;){if(o instanceof Ge)return o;o=t(o)}return null}};class Bt extends lt{constructor(e){super(),this.target=e,this.setTokenValue=this.lazyAttachToDefault(super.setTokenValue),this.getTokenValue=this.lazyAttachToDefault(super.getTokenValue),this.deleteTokenValue=this.lazyAttachToDefault(super.deleteTokenValue)}static get strategy(){return void 0===this._strategy&&Bt.withStrategy(kt),this._strategy}connectedCallback(e){let t=Bt.findParent(e.source);if(null===t&&(t=Bt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Bt&&Bt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Bt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Bt.cache.get(e);return t||(t=new Bt(e),Bt.cache.set(e,t),e.$fastController.addBehavior(Bt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Bt.strategy.parent(e);for(;null!==t;){const e=Bt.cache.get(t);if(e)return e;t=Bt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Bt.defaultNode.appendChild(this),e.apply(this,t))}}Bt.defaultNode=new lt,Bt.rootStyleSheetTarget=new gt,Bt.cache=new WeakMap;const xt={separator:"separator",presentation:"presentation"},wt={horizontal:"horizontal",vertical:"vertical"};class Pt extends Ge{constructor(){super(...arguments),this.role=xt.separator,this.orientation=wt.horizontal}}Xe([Ce],Pt.prototype,"role",void 0),Xe([Ce],Pt.prototype,"orientation",void 0);class $t extends Ge{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Xe([Ce({converter:Se})],$t.prototype,"value",void 0),Xe([Ce({converter:Se})],$t.prototype,"min",void 0),Xe([Ce({converter:Se})],$t.prototype,"max",void 0),Xe([P],$t.prototype,"percentComplete",void 0);class St extends $t{}class Ft extends $t{}class Ct extends Ge{}class Nt extends(nt(Ct)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class zt extends Nt{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}Xe([Ce({attribute:"readonly",mode:"boolean"})],zt.prototype,"readOnly",void 0),Xe([P],zt.prototype,"defaultSlottedNodes",void 0);function At(e){return`:host([hidden]){display:none}:host{display:${e}}`}class It extends tt{}const Tt=fe`<template><slot ${xe({property:"slottedAccordionItems",filter:Lt?e=>1===e.nodeType&&e.matches(Lt):ye})}></slot></template>`;var Lt;const Ot=I`
1
+ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-kernel");else{const t=document.getElementsByTagName("script");e=t[t.length-1].getAttribute("fast-kernel")}}catch(uu){e="isolate"}let t;switch(e){case"share":t=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":t=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);t=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const o=e=>"function"==typeof e,r=e=>"string"==typeof e,a=()=>{};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==n)n.globalThis=n;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const i={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},i));const s=globalThis.FAST;if(void 0===s.getById){const e=Object.create(null);Reflect.defineProperty(s,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},i))}void 0===s.error&&Object.assign(s,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const l=Object.freeze([]);function c(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function d(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function u(e){e.prototype.toJSON=a}const h=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,g=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>g.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw s.error(1201);v=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),f=s.getById(t.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function i(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(i):i())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:i,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class y{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),a.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const x=Object.freeze({unknown:void 0,coupled:1}),$=s.getById(t.observable,()=>{const e=f.enqueue,t=/(:|&&|\|\||if|\?\.)/,a=new WeakMap;let n=void 0,i=e=>{throw s.error(1101)};function l(e){var t;let o=null!==(t=e.$fastController)&&void 0!==t?t:a.get(e);return void 0===o&&(Array.isArray(e)?o=i(e):a.set(e,o=new y(e))),o}const c=d();class h{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==n&&n.watch(e,this.name),e[this.field]}setValue(e,t){const r=this.field,a=e[r];if(a!==t){e[r]=t;const n=e[this.callback];o(n)&&n.call(e,a,t),l(e).notify(this.name)}}}class p extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==x.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=n;let r;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{r=this.expression(e,t)}finally{n=o}return r}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,r=l(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=r,r.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;n=void 0,t=o.propertySource[o.propertyName],n=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return u(p),Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:l,track(e,t){n&&n.watch(e,t)},trackVolatile(){n&&(n.needsRefresh=!0)},notify(e,t){l(e).notify(t)},defineProperty(e,t){r(t)&&(t=new h(t)),c(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:c,binding(e,t,o=this.isVolatileBinding(e)){return new p(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function B(e,t){$.defineProperty(e,t)}const w=s.getById(t.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>w.get(),setEvent(e){w.set(e)}});class S{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class C extends S{createObserver(e){return $.binding(this.evaluate,e,this.isVolatile)}}function F(e,t,o=$.isVolatileBinding(e)){return new C(e,t,o)}class N extends S{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function T(e,t){return new N(e,t)}let I;u(N);class A{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof A?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(I),this._strategy}addStylesTo(e){this.strategy.addStylesTo(e),this.targets.add(e)}removeStylesFrom(e){this.strategy.removeStylesFrom(e),this.targets.delete(e)}isAttachedTo(e){return this.targets.has(e)}withBehaviors(...e){return this.behaviors=null===this.behaviors?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(function e(t){return t.map(t=>t instanceof A?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){I=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new A(e):e instanceof A?e:new A([e])}}A.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const L=c(),z=Object.freeze({getForInstance:L.getForInstance,getByType:L.getByType,define:e=>(L.register({type:e}),e)});function O(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>O(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){O(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){O(this,t.controller,t)}}z.define(H);const D=""+Math.random().toString(36).substring(2,8);let E=0;const M=()=>`--v${D}${++E}`;function R(e,t){const r=[];let a="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){a+=e[n];let s=t[n];o(s)?s=new H(F(s),M()).createCSS(i):s instanceof S?s=new H(s,M()).createCSS(i):void 0!==z.getForInstance(s)&&(s=s.createCSS(i)),s instanceof A||s instanceof CSSStyleSheet?(""!==a.trim()&&(r.push(a),a=""),r.push(s)):a+=s}return a+=e[e.length-1],""!==a.trim()&&r.push(a),{styles:r,behaviors:n}}const j=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t),a=new A(o);return r.length?a.withBehaviors(...r):a};class V{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(r(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new A(o))}createCSS(e){return this.behaviors.forEach(e),this.styles&&e(this),this.css}addedCallback(e){e.addStyles(this.styles)}removedCallback(e){e.removeStyles(this.styles)}}z.define(V),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t);return new V(o,r)};const _="fast-"+Math.random().toString(36).substring(2,8),G=_+"{",X="}"+_,q=X.length;let W=0;const Y=()=>`${_}-${++W}`,K=Object.freeze({interpolation:e=>`${G}${e}${X}`,attribute:e=>`${Y()}="${G}${e}${X}"`,comment:e=>`\x3c!--${G}${e}${X}--\x3e`}),U=Object.freeze({parse(e,t){const o=e.split(G);if(1===o.length)return null;const r=[];for(let e=0,a=o.length;e<a;++e){const a=o[e],n=a.indexOf(X);let i;if(-1===n)i=a;else{const e=a.substring(0,n);r.push(t[e]),i=a.substring(n+q)}""!==i&&r.push(i)}return r}}),Q=c(),Z=Object.freeze({getForInstance:Q.getForInstance,getByType:Q.getByType,define:(e,t)=>((t=t||{}).type=e,Q.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?h.tokenList:h.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=h.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=h.event;break;default:e.targetAspect=t,e.aspectType=h.attribute}else e.aspectType=h.content}});class J{constructor(e){this.options=e}createHTML(e){return K.attribute(e(this))}createBehavior(){return this}}u(J);const ee={[h.attribute]:m.setAttribute,[h.booleanAttribute]:m.setBooleanAttribute,[h.property]:(e,t,o)=>e[t]=o,[h.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[h.tokenList]:function(e,t,o){var r;const a=this.id+"-t",n=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},i=n.cv;let s=n.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(i[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in i)i[e]===s&&l.remove(e)}},[h.event]:()=>{}};class te{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=h.content}createHTML(e){return K.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=ee[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw s.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case h.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case h.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function oe(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}Z.define(te,{aspected:!0});class re{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=x.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){oe(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){oe(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}u(re),$.defineProperty(re.prototype,"index"),$.defineProperty(re.prototype,"length");const ae=(e,t)=>`${e}.${t}`,ne={},ie={index:0,node:null};function se(e){e.startsWith("fast-")||s.warn(1204,{name:e})}const le=new Proxy(document.createElement("div"),{get(e,t){se(t);const r=Reflect.get(e,t);return o(r)?r.bind(e):r},set:(e,t,o)=>(se(t),Reflect.set(e,t,o))});class ce{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,a){var n,i;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:Y(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(i=e.policy)&&void 0!==i?i:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let a=ne[t];if(!a){const r="_"+t;ne[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:le;for(const e of this.nodeIds)o[e];return new re(t,this.factories,o)}}function de(e,t,o,r,a,n=!1){const i=o.attributes,s=e.directives;for(let l=0,c=i.length;l<c;++l){const d=i[l],u=d.value,h=U.parse(u,s);let p=null;null===h?n&&(p=new te(T(()=>u,e.policy)),Z.assignAspect(p,d.name)):p=pe.aggregate(h,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function ue(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=he(e,o,a,r);a=t.node,r=t.index}}function he(e,t,o,a){const n=ae(t,a);switch(o.nodeType){case 1:de(e,t,o,n,a),ue(e,o,n);break;case 3:return function(e,t,o,a,n){const i=U.parse(t.textContent,e.directives);if(null===i)return ie.node=t.nextSibling,ie.index=n+1,ie;let s,l=s=t;for(let t=0,c=i.length;t<c;++t){const c=i[t];0!==t&&(n++,a=ae(o,n),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),r(c)?s.textContent=c:(s.textContent=" ",Z.assignAspect(c),e.addFactory(c,o,a,n,null)),l=s}return ie.index=n+1,ie.node=l.nextSibling,ie}(e,o,t,n,a);case 8:const i=U.parse(o.data,e.directives);null!==i&&e.addFactory(pe.aggregate(i),t,n,a,null)}return ie.index=a+1,ie.node=o.nextSibling,ie}const pe={compile(e,t,o=m.policy){let a;if(r(e)){a=document.createElement("TEMPLATE"),a.innerHTML=o.createHTML(e);const t=a.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(a=t)}else a=e;a.content.firstChild||a.content.lastChild||a.content.appendChild(document.createComment(""));const n=document.adoptNode(a.content),i=new ce(n,t,o);var s,l;return de(i,"",a,"h",0,!0),s=n.firstChild,l=t,(s&&8==s.nodeType&&null!==U.parse(s.data,l)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ue(i,n,"r"),ie.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,a,n=!1,i=void 0;const s=e.length,l=e.map(e=>r(e)?()=>e:(o=e.sourceAspect||o,a=e.dataBinding||a,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));a.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},a.isVolatile=n,a.policy=null!=i?i:t;const c=new te(a);return Z.assignAspect(c,o),c}},ge=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,ve=Object.create(null);class be{constructor(e,t=ve){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function me(e,t,o,r=Z.getForInstance(e)){if(r.aspected){const o=ge.exec(t);null!==o&&Z.assignAspect(e,o[2])}return e.createHTML(o)}be.empty=new be(""),Z.define(be);class fe{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=pe.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new be(r(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw s.error(1208);if(this.policy)throw s.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,r){let a="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=Y();return n[o]=e,o};for(let r=0,n=e.length-1;r<n;++r){const n=e[r];let s,l=t[r];if(a+=n,o(l))l=new te(F(l));else if(l instanceof S)l=new te(l);else if(!(s=Z.getForInstance(l))){const e=l;l=new te(T(()=>e))}a+=me(l,n,i,s)}return new fe(a+e[e.length-1],n,r)}}u(fe);const ke=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return fe.create(e,t);throw s.error(1206)};ke.partial=e=>new be(e);class ye extends J{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Z.define(ye);const xe=e=>new ye(e),$e=()=>null;function Be(e){return void 0===e?$e:o(e)?e:()=>e}function we(e,t,r){const a=o(e)?e:()=>e,n=Be(t),i=Be(r);return(e,t)=>a(e,t)?n(e,t):i(e,t)}const Pe=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ce extends J{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,l),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Fe extends Ce{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ne(e){return r(e)&&(e={property:e}),new Fe(e)}Z.define(Fe);const Te=Object.freeze({locate:d()}),Ie={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Ae(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Le={toView(e){const t=Ae(e);return t?t.toString():t},fromView:Ae};class ze{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=Ie)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return $.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||f.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Te.locate(e));for(let a=0,n=t.length;a<n;++a){const n=t[a];if(void 0!==n)for(let t=0,a=n.length;t<a;++t){const a=n[t];r(a)?o.push(new ze(e,a)):o.push(new ze(e,a.property,a.attribute,a.mode,a.converter))}}return o}}function Oe(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Te.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const He={mode:"open"},De={},Ee=new Set,Me=s.getById(t.elementRegistry,()=>c());class Re{constructor(e,t=e.definition){var o;this.platformDefined=!1,r(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const a=e.prototype,n=ze.collect(e,t.attributes),i=new Array(n.length),s={},l={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,$.defineProperty(a,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?He:null===t.shadowOptions?void 0:Object.assign(Object.assign({},He),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?De:Object.assign(Object.assign({},De),t.elementOptions),this.styles=A.normalize(t.styles),Me.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Ee.has(e)||Me.getByType(e)?new Re(class extends e{},t):new Re(e,t)}static registerBaseType(e){Ee.add(e)}}Re.getByType=Me.getByType,Re.getForInstance=Me.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ve=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ve.get(e))&&void 0!==o?o:null}let Ge;class Xe extends y{constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ve.set(e,t))}const r=$.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,n=e[a];void 0!==n&&(delete e[a],t[a]=n)}}}get isConnected(){return $.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,a+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,$.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,$.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=_e(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Re.getForInstance(e);if(void 0===o)throw s.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}u(Xe),Xe.setStrategy(Xe);class We{constructor(e){const t=We.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Qe(qe(e),this.sheets)}removeStylesFrom(e){Ze(qe(e),this.sheets)}}We.styleSheetCache=new Map;let Ye=0;function Ke(e){return e===document?document.body:e}class Ue{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ye}addStylesTo(e){e=Ke(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Ke(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Qe=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Ze=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(A.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qe=(e,t)=>{e.adoptedStyleSheets.push(...t)},Ze=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(uu){}A.setDefaultStrategy(We)}else A.setDefaultStrategy(Ue);function Je(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Re.registerBaseType(t),t}const et=Object.assign(Je(HTMLElement),{from:function(e){return Je(e)},define:function(e,t){return o(e)?Re.compose(e,t).define().type:Re.compose(this,e).define().type},compose:function(e,t){return o(e)?Re.compose(e,t):Re.compose(this,e)}}),tt={horizontal:"horizontal",vertical:"vertical"};function ot(...e){return e.every(e=>e instanceof HTMLElement)}const rt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var at;function nt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(at||(at={}));let it=0;function st(e=""){return`${e}${it++}`}var lt=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,dt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ct(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&lt(t,o,n),n};class ut{}dt([Oe({attribute:"aria-atomic"})],ut.prototype,"ariaAtomic",2),dt([Oe({attribute:"aria-busy"})],ut.prototype,"ariaBusy",2),dt([Oe({attribute:"aria-controls"})],ut.prototype,"ariaControls",2),dt([Oe({attribute:"aria-current"})],ut.prototype,"ariaCurrent",2),dt([Oe({attribute:"aria-describedby"})],ut.prototype,"ariaDescribedby",2),dt([Oe({attribute:"aria-details"})],ut.prototype,"ariaDetails",2),dt([Oe({attribute:"aria-disabled"})],ut.prototype,"ariaDisabled",2),dt([Oe({attribute:"aria-errormessage"})],ut.prototype,"ariaErrormessage",2),dt([Oe({attribute:"aria-flowto"})],ut.prototype,"ariaFlowto",2),dt([Oe({attribute:"aria-haspopup"})],ut.prototype,"ariaHaspopup",2),dt([Oe({attribute:"aria-hidden"})],ut.prototype,"ariaHidden",2),dt([Oe({attribute:"aria-invalid"})],ut.prototype,"ariaInvalid",2),dt([Oe({attribute:"aria-keyshortcuts"})],ut.prototype,"ariaKeyshortcuts",2),dt([Oe({attribute:"aria-label"})],ut.prototype,"ariaLabel",2),dt([Oe({attribute:"aria-labelledby"})],ut.prototype,"ariaLabelledby",2),dt([Oe({attribute:"aria-live"})],ut.prototype,"ariaLive",2),dt([Oe({attribute:"aria-owns"})],ut.prototype,"ariaOwns",2),dt([Oe({attribute:"aria-relevant"})],ut.prototype,"ariaRelevant",2),dt([Oe({attribute:"aria-roledescription"})],ut.prototype,"ariaRoledescription",2);const ht=e=>{var t;return"rtl"===(null==(t=e.closest("[dir]"))?void 0:t.dir)?at.rtl:at.ltr};function pt(e){return e?"string"==typeof e?new be(e):"inline"in e?e.inline():e:be.empty}const gt=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null==(t=e.nodeValue)?void 0:t.trim().length)};class vt{}function bt(e){return ke`<slot name="end" ${xe("end")}>${pt(e.end)}</slot>`.inline()}function mt(e){return ke`<slot name="start" ${xe("start")}>${pt(e.start)}</slot>`.inline()}function ft(e,...t){const o=Te.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Te.locate(t).forEach(e=>o.push(e))})}var kt=Object.defineProperty,yt=Object.getOwnPropertyDescriptor,xt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?yt(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&kt(t,o,n),n};class $t extends et{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=st("accordion-"),this.block=!1,this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}xt([Oe({attribute:"heading-level",mode:"fromView",converter:Le})],$t.prototype,"headinglevel",2),xt([Oe({mode:"boolean"})],$t.prototype,"expanded",2),xt([Oe({mode:"boolean"})],$t.prototype,"disabled",2),xt([Oe],$t.prototype,"id",2),xt([Oe],$t.prototype,"size",2),xt([Oe({mode:"boolean"})],$t.prototype,"block",2),xt([Oe({attribute:"expand-icon-position"})],$t.prototype,"expandIconPosition",2),ft($t,vt);const Bt="single",wt="multi";var Pt=Object.defineProperty,St=Object.getOwnPropertyDescriptor,Ct=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?St(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Pt(t,o,n),n};class Ft extends et{constructor(){super(...arguments),this.expandmode=wt,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>$.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof $t&&(e.addEventListener("click",this.activeItemChange),e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus),$.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex]}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{$.getNotifier(e).unsubscribe(this,"disabled"),$.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof $t&&(this.activeid=e.getAttribute("id"),this.isSingleExpandMode()?this.setSingleExpandMode(e):(e.expanded=!e.expanded,this.activeItemIndex=this.accordionItems.indexOf(e)),this.change())},this.handleItemKeyDown=e=>{if(e.target===e.currentTarget)switch(this.accordionIds=this.getItemIds(),e.key){case"ArrowUp":e.preventDefault(),this.adjust(-1);break;case"ArrowDown":e.preventDefault(),this.adjust(1);break;case"Home":this.activeItemIndex=0,this.focusItem();break;case"End":this.activeItemIndex=this.accordionItems.length-1,this.focusItem()}},this.handleItemFocus=e=>{if(e.target===e.currentTarget){const t=e.target,o=this.activeItemIndex=Array.from(this.accordionItems).indexOf(t);this.activeItemIndex!==o&&-1!==o&&(this.activeItemIndex=o,this.activeid=this.accordionIds[this.activeItemIndex])}}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const o=this.findExpandedItem();o&&(t!==Bt?null==o||o.expandbutton.removeAttribute("aria-disabled"):this.setSingleExpandMode(o))}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){"disabled"===t?this.setItems():"expanded"===t&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){var e;return 0===this.accordionItems.length?null:null!=(e=this.accordionItems.find(e=>e instanceof $t&&e.expanded))?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{e instanceof $t&&(this.activeItemIndex===t?(e.expanded=!0,e.expandbutton.setAttribute("aria-disabled","true")):(e.expanded=!1,e.hasAttribute("disabled")||e.expandbutton.removeAttribute("aria-disabled")))})}getItemIds(){return this.slottedAccordionItems.map(e=>e.id)}isSingleExpandMode(){return this.expandmode===Bt}adjust(e){var t,o,r;this.activeItemIndex=(t=0,o=this.accordionItems.length-1,(r=this.activeItemIndex+e)<t?o:r>o?t:r),this.focusItem()}focusItem(){const e=this.accordionItems[this.activeItemIndex];e instanceof $t&&e.expandbutton.focus()}}Ct([Oe({attribute:"expand-mode"})],Ft.prototype,"expandmode",2),Ct([B],Ft.prototype,"slottedAccordionItems",2);const Nt=ke`<template><slot ${Ne({property:"slottedAccordionItems",filter:Se()})}></slot></template>`;class Tt extends class{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let o=this.listenerCache.get(e);o||(o=this.constructListener(e),this.listenerCache.set(e,o)),o.bind(t)(),t.addEventListener("change",o)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new Tt(e,t)}constructListener(e){let t=!1;const o=this.styles;return function(){const{matches:r}=this;r&&!t?(e.addStyles(o),t=r):!r&&t&&(e.removeStyles(o),t=r)}}removedCallback(e){e.removeStyles(this.styles)}}const It=Tt.with(window.matchMedia("(forced-colors)"));Tt.with(window.matchMedia("(prefers-color-scheme: dark)")),Tt.with(window.matchMedia("(prefers-color-scheme: light)"));function At(e){return`:host([hidden]){display:none}:host{display:${e}}`}const Lt=j`
2
2
  ${At("flex")}
3
3
 
4
- :host{flex-direction:column;width:100%}`,Ht=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Dt=It.compose({name:Ht.prefix+"-accordion",template:Tt,styles:Ot});class Vt extends Je{constructor(){super(...arguments),this.block=!1}}Xe([Ce],Vt.prototype,"size",void 0),Xe([Ce({mode:"boolean"})],Vt.prototype,"block",void 0),Xe([Ce({attribute:"expand-icon-position"})],Vt.prototype,"expandIconPosition",void 0);const Mt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Et={start:"start",end:"end"},{create:Rt}=bt,_t=Rt("borderRadiusNone"),jt=Rt("borderRadiusSmall"),Gt=Rt("borderRadiusMedium"),qt=Rt("borderRadiusLarge"),Xt=Rt("borderRadiusXLarge"),Wt=Rt("borderRadiusCircular"),Yt=Rt("fontSizeBase100"),Ut=Rt("fontSizeBase200"),Kt=Rt("fontSizeBase300"),Qt=Rt("fontSizeBase400"),Jt=Rt("fontSizeBase500"),Zt=Rt("fontSizeBase600"),eo=Rt("fontSizeHero700"),to=Rt("fontSizeHero800"),oo=Rt("fontSizeHero900"),ro=Rt("fontSizeHero1000"),no=Rt("lineHeightBase100"),io=Rt("lineHeightBase200"),so=Rt("lineHeightBase300"),ao=Rt("lineHeightBase400"),lo=Rt("lineHeightBase500"),co=Rt("lineHeightBase600"),ho=Rt("lineHeightHero700"),uo=Rt("lineHeightHero800"),go=Rt("lineHeightHero900"),po=Rt("lineHeightHero1000"),fo=Rt("fontFamilyBase"),vo=Rt("fontFamilyMonospace"),bo=Rt("fontFamilyNumeric"),mo=Rt("fontWeightRegular"),yo=Rt("fontWeightMedium"),ko=Rt("fontWeightSemibold"),Bo=Rt("fontWeightBold"),xo=Rt("strokeWidthThin"),wo=Rt("strokeWidthThick"),Po=Rt("strokeWidthThicker"),$o=Rt("strokeWidthThickest"),So=Rt("spacingHorizontalNone"),Fo=Rt("spacingHorizontalXXS"),Co=Rt("spacingHorizontalXS"),No=Rt("spacingHorizontalSNudge"),zo=Rt("spacingHorizontalS"),Ao=Rt("spacingHorizontalMNudge"),Io=Rt("spacingHorizontalM"),To=Rt("spacingHorizontalL"),Lo=Rt("spacingHorizontalXL"),Oo=Rt("spacingHorizontalXXL"),Ho=Rt("spacingHorizontalXXXL"),Do=Rt("spacingVerticalNone"),Vo=Rt("spacingVerticalXXS"),Mo=Rt("spacingVerticalXS"),Eo=Rt("spacingVerticalSNudge"),Ro=Rt("spacingVerticalS"),_o=Rt("spacingVerticalMNudge"),jo=Rt("spacingVerticalM"),Go=Rt("spacingVerticalL"),qo=Rt("spacingVerticalXL"),Xo=Rt("spacingVerticalXXL"),Wo=Rt("spacingVerticalXXXL"),Yo=Rt("durationUltraFast"),Uo=Rt("durationFaster"),Ko=Rt("durationFast"),Qo=Rt("durationNormal"),Jo=Rt("durationSlow"),Zo=Rt("durationSlower"),er=Rt("durationUltraSlow"),tr=Rt("curveAccelerateMax"),or=Rt("curveAccelerateMid"),rr=Rt("curveAccelerateMin"),nr=Rt("curveDecelerateMax"),ir=Rt("curveDecelerateMid"),sr=Rt("curveDecelerateMin"),ar=Rt("curveEasyEaseMax"),lr=Rt("curveEasyEase"),cr=Rt("curveLinear"),dr=Rt("colorNeutralForeground1"),hr=Rt("colorNeutralForeground1Hover"),ur=Rt("colorNeutralForeground1Pressed"),gr=Rt("colorNeutralForeground1Selected"),pr=Rt("colorNeutralForeground2"),fr=Rt("colorNeutralForeground2Hover"),vr=Rt("colorNeutralForeground2Pressed"),br=Rt("colorNeutralForeground2Selected"),mr=Rt("colorNeutralForeground2BrandHover"),yr=Rt("colorNeutralForeground2BrandPressed"),kr=Rt("colorNeutralForeground2BrandSelected"),Br=Rt("colorNeutralForeground3"),xr=Rt("colorNeutralForeground3Hover"),wr=Rt("colorNeutralForeground3Pressed"),Pr=Rt("colorNeutralForeground3Selected"),$r=Rt("colorNeutralForeground3BrandHover"),Sr=Rt("colorNeutralForeground3BrandPressed"),Fr=Rt("colorNeutralForeground3BrandSelected"),Cr=Rt("colorNeutralForeground4"),Nr=Rt("colorNeutralForegroundDisabled"),zr=Rt("colorNeutralForegroundInvertedDisabled"),Ar=Rt("colorBrandForegroundLink"),Ir=Rt("colorBrandForegroundLinkHover"),Tr=Rt("colorBrandForegroundLinkPressed"),Lr=Rt("colorBrandForegroundLinkSelected"),Or=Rt("colorNeutralForeground2Link"),Hr=Rt("colorNeutralForeground2LinkHover"),Dr=Rt("colorNeutralForeground2LinkPressed"),Vr=Rt("colorNeutralForeground2LinkSelected"),Mr=Rt("colorCompoundBrandForeground1"),Er=Rt("colorCompoundBrandForeground1Hover"),Rr=Rt("colorCompoundBrandForeground1Pressed"),_r=Rt("colorBrandForeground1"),jr=Rt("colorBrandForeground2"),Gr=Rt("colorNeutralForeground1Static"),qr=Rt("colorNeutralForegroundStaticInverted"),Xr=Rt("colorNeutralForegroundInverted"),Wr=Rt("colorNeutralForegroundInvertedHover"),Yr=Rt("colorNeutralForegroundInvertedPressed"),Ur=Rt("colorNeutralForegroundInvertedSelected"),Kr=Rt("colorNeutralForegroundInverted2"),Qr=Rt("colorNeutralForegroundOnBrand"),Jr=Rt("colorNeutralForegroundInvertedLink"),Zr=Rt("colorNeutralForegroundInvertedLinkHover"),en=Rt("colorNeutralForegroundInvertedLinkPressed"),tn=Rt("colorNeutralForegroundInvertedLinkSelected"),on=Rt("colorBrandForegroundInverted"),rn=Rt("colorBrandForegroundInvertedHover"),nn=Rt("colorBrandForegroundInvertedPressed"),sn=Rt("colorBrandForegroundOnLight"),an=Rt("colorBrandForegroundOnLightHover"),ln=Rt("colorBrandForegroundOnLightPressed"),cn=Rt("colorBrandForegroundOnLightSelected"),dn=Rt("colorNeutralBackground1"),hn=Rt("colorNeutralBackground1Hover"),un=Rt("colorNeutralBackground1Pressed"),gn=Rt("colorNeutralBackground1Selected"),pn=Rt("colorNeutralBackground2"),fn=Rt("colorNeutralBackground2Hover"),vn=Rt("colorNeutralBackground2Pressed"),bn=Rt("colorNeutralBackground2Selected"),mn=Rt("colorNeutralBackground3"),yn=Rt("colorNeutralBackground3Hover"),kn=Rt("colorNeutralBackground3Pressed"),Bn=Rt("colorNeutralBackground3Selected"),xn=Rt("colorNeutralBackground4"),wn=Rt("colorNeutralBackground4Hover"),Pn=Rt("colorNeutralBackground4Pressed"),$n=Rt("colorNeutralBackground4Selected"),Sn=Rt("colorNeutralBackground5"),Fn=Rt("colorNeutralBackground5Hover"),Cn=Rt("colorNeutralBackground5Pressed"),Nn=Rt("colorNeutralBackground5Selected"),zn=Rt("colorNeutralBackground6"),An=Rt("colorNeutralBackgroundInverted"),In=Rt("colorNeutralBackgroundStatic"),Tn=Rt("colorSubtleBackground"),Ln=Rt("colorSubtleBackgroundHover"),On=Rt("colorSubtleBackgroundPressed"),Hn=Rt("colorSubtleBackgroundSelected"),Dn=Rt("colorSubtleBackgroundLightAlphaHover"),Vn=Rt("colorSubtleBackgroundLightAlphaPressed"),Mn=Rt("colorSubtleBackgroundLightAlphaSelected"),En=Rt("colorSubtleBackgroundInverted"),Rn=Rt("colorSubtleBackgroundInvertedHover"),_n=Rt("colorSubtleBackgroundInvertedPressed"),jn=Rt("colorSubtleBackgroundInvertedSelected"),Gn=Rt("colorTransparentBackground"),qn=Rt("colorTransparentBackgroundHover"),Xn=Rt("colorTransparentBackgroundPressed"),Wn=Rt("colorTransparentBackgroundSelected"),Yn=Rt("colorNeutralBackgroundDisabled"),Un=Rt("colorNeutralBackgroundInvertedDisabled"),Kn=Rt("colorNeutralStencil1"),Qn=Rt("colorNeutralStencil2"),Jn=Rt("colorNeutralStencil1Alpha"),Zn=Rt("colorNeutralStencil2Alpha"),ei=Rt("colorBackgroundOverlay"),ti=Rt("colorScrollbarOverlay"),oi=Rt("colorBrandBackground"),ri=Rt("colorBrandBackgroundHover"),ni=Rt("colorBrandBackgroundPressed"),ii=Rt("colorBrandBackgroundSelected"),si=Rt("colorCompoundBrandBackground"),ai=Rt("colorCompoundBrandBackgroundHover"),li=Rt("colorCompoundBrandBackgroundPressed"),ci=Rt("colorBrandBackgroundStatic"),di=Rt("colorBrandBackground2"),hi=Rt("colorBrandBackgroundInverted"),ui=Rt("colorBrandBackgroundInvertedHover"),gi=Rt("colorBrandBackgroundInvertedPressed"),pi=Rt("colorBrandBackgroundInvertedSelected"),fi=Rt("colorNeutralStrokeAccessible"),vi=Rt("colorNeutralStrokeAccessibleHover"),bi=Rt("colorNeutralStrokeAccessiblePressed"),mi=Rt("colorNeutralStrokeAccessibleSelected"),yi=Rt("colorNeutralStroke1"),ki=Rt("colorNeutralStroke1Hover"),Bi=Rt("colorNeutralStroke1Pressed"),xi=Rt("colorNeutralStroke1Selected"),wi=Rt("colorNeutralStroke2"),Pi=Rt("colorNeutralStroke3"),$i=Rt("colorNeutralStrokeOnBrand"),Si=Rt("colorNeutralStrokeOnBrand2"),Fi=Rt("colorNeutralStrokeOnBrand2Hover"),Ci=Rt("colorNeutralStrokeOnBrand2Pressed"),Ni=Rt("colorNeutralStrokeOnBrand2Selected"),zi=Rt("colorBrandStroke1"),Ai=Rt("colorBrandStroke2"),Ii=Rt("colorCompoundBrandStroke"),Ti=Rt("colorCompoundBrandStrokeHover"),Li=Rt("colorCompoundBrandStrokePressed"),Oi=Rt("colorNeutralStrokeDisabled"),Hi=Rt("colorNeutralStrokeInvertedDisabled"),Di=Rt("colorTransparentStroke"),Vi=Rt("colorTransparentStrokeInteractive"),Mi=Rt("colorTransparentStrokeDisabled"),Ei=Rt("colorStrokeFocus1"),Ri=Rt("colorStrokeFocus2"),_i=Rt("colorNeutralShadowAmbient"),ji=Rt("colorNeutralShadowKey"),Gi=Rt("colorNeutralShadowAmbientLighter"),qi=Rt("colorNeutralShadowKeyLighter"),Xi=Rt("colorNeutralShadowAmbientDarker"),Wi=Rt("colorNeutralShadowKeyDarker"),Yi=Rt("colorBrandShadowAmbient"),Ui=Rt("colorBrandShadowKey"),Ki=Rt("colorPaletteRedBackground1"),Qi=Rt("colorPaletteRedBackground2"),Ji=Rt("colorPaletteRedBackground3"),Zi=Rt("colorPaletteRedForeground1"),es=Rt("colorPaletteRedForeground2"),ts=Rt("colorPaletteRedForeground3"),os=Rt("colorPaletteRedBorderActive"),rs=Rt("colorPaletteRedBorder1"),ns=Rt("colorPaletteRedBorder2"),is=Rt("colorPaletteGreenBackground1"),ss=Rt("colorPaletteGreenBackground2"),as=Rt("colorPaletteGreenBackground3"),ls=Rt("colorPaletteGreenForeground1"),cs=Rt("colorPaletteGreenForeground2"),ds=Rt("colorPaletteGreenForeground3"),hs=Rt("colorPaletteGreenBorderActive"),us=Rt("colorPaletteGreenBorder1"),gs=Rt("colorPaletteGreenBorder2"),ps=Rt("colorPaletteDarkOrangeBackground1"),fs=Rt("colorPaletteDarkOrangeBackground2"),vs=Rt("colorPaletteDarkOrangeBackground3"),bs=Rt("colorPaletteDarkOrangeForeground1"),ms=Rt("colorPaletteDarkOrangeForeground2"),ys=Rt("colorPaletteDarkOrangeForeground3"),ks=Rt("colorPaletteDarkOrangeBorderActive"),Bs=Rt("colorPaletteDarkOrangeBorder1"),xs=Rt("colorPaletteDarkOrangeBorder2"),ws=Rt("colorPaletteYellowBackground1"),Ps=Rt("colorPaletteYellowBackground2"),$s=Rt("colorPaletteYellowBackground3"),Ss=Rt("colorPaletteYellowForeground1"),Fs=Rt("colorPaletteYellowForeground2"),Cs=Rt("colorPaletteYellowForeground3"),Ns=Rt("colorPaletteYellowBorderActive"),zs=Rt("colorPaletteYellowBorder1"),As=Rt("colorPaletteYellowBorder2"),Is=Rt("colorPaletteBerryBackground1"),Ts=Rt("colorPaletteBerryBackground2"),Ls=Rt("colorPaletteBerryBackground3"),Os=Rt("colorPaletteBerryForeground1"),Hs=Rt("colorPaletteBerryForeground2"),Ds=Rt("colorPaletteBerryForeground3"),Vs=Rt("colorPaletteBerryBorderActive"),Ms=Rt("colorPaletteBerryBorder1"),Es=Rt("colorPaletteBerryBorder2"),Rs=Rt("colorPaletteLightGreenBackground1"),_s=Rt("colorPaletteLightGreenBackground2"),js=Rt("colorPaletteLightGreenBackground3"),Gs=Rt("colorPaletteLightGreenForeground1"),qs=Rt("colorPaletteLightGreenForeground2"),Xs=Rt("colorPaletteLightGreenForeground3"),Ws=Rt("colorPaletteLightGreenBorderActive"),Ys=Rt("colorPaletteLightGreenBorder1"),Us=Rt("colorPaletteLightGreenBorder2"),Ks=Rt("colorPaletteMarigoldBackground1"),Qs=Rt("colorPaletteMarigoldBackground2"),Js=Rt("colorPaletteMarigoldBackground3"),Zs=Rt("colorPaletteMarigoldForeground1"),ea=Rt("colorPaletteMarigoldForeground2"),ta=Rt("colorPaletteMarigoldForeground3"),oa=Rt("colorPaletteMarigoldBorderActive"),ra=Rt("colorPaletteMarigoldBorder1"),na=Rt("colorPaletteMarigoldBorder2"),ia=Rt("colorPaletteDarkRedBackground2"),sa=Rt("colorPaletteDarkRedForeground2"),aa=Rt("colorPaletteDarkRedBorderActive"),la=Rt("colorPaletteCranberryBackground2"),ca=Rt("colorPaletteCranberryForeground2"),da=Rt("colorPaletteCranberryBorderActive"),ha=Rt("colorPalettePumpkinBackground2"),ua=Rt("colorPalettePumpkinForeground2"),ga=Rt("colorPalettePumpkinBorderActive"),pa=Rt("colorPalettePeachBackground2"),fa=Rt("colorPalettePeachForeground2"),va=Rt("colorPalettePeachBorderActive"),ba=Rt("colorPaletteGoldBackground2"),ma=Rt("colorPaletteGoldForeground2"),ya=Rt("colorPaletteGoldBorderActive"),ka=Rt("colorPaletteBrassBackground2"),Ba=Rt("colorPaletteBrassForeground2"),xa=Rt("colorPaletteBrassBorderActive"),wa=Rt("colorPaletteBrownBackground2"),Pa=Rt("colorPaletteBrownForeground2"),$a=Rt("colorPaletteBrownBorderActive"),Sa=Rt("colorPaletteForestBackground2"),Fa=Rt("colorPaletteForestForeground2"),Ca=Rt("colorPaletteForestBorderActive"),Na=Rt("colorPaletteSeafoamBackground2"),za=Rt("colorPaletteSeafoamForeground2"),Aa=Rt("colorPaletteSeafoamBorderActive"),Ia=Rt("colorPaletteDarkGreenBackground2"),Ta=Rt("colorPaletteDarkGreenForeground2"),La=Rt("colorPaletteDarkGreenBorderActive"),Oa=Rt("colorPaletteLightTealBackground2"),Ha=Rt("colorPaletteLightTealForeground2"),Da=Rt("colorPaletteLightTealBorderActive"),Va=Rt("colorPaletteTealBackground2"),Ma=Rt("colorPaletteTealForeground2"),Ea=Rt("colorPaletteTealBorderActive"),Ra=Rt("colorPaletteSteelBackground2"),_a=Rt("colorPaletteSteelForeground2"),ja=Rt("colorPaletteSteelBorderActive"),Ga=Rt("colorPaletteBlueBackground2"),qa=Rt("colorPaletteBlueForeground2"),Xa=Rt("colorPaletteBlueBorderActive"),Wa=Rt("colorPaletteRoyalBlueBackground2"),Ya=Rt("colorPaletteRoyalBlueForeground2"),Ua=Rt("colorPaletteRoyalBlueBorderActive"),Ka=Rt("colorPaletteCornflowerBackground2"),Qa=Rt("colorPaletteCornflowerForeground2"),Ja=Rt("colorPaletteCornflowerBorderActive"),Za=Rt("colorPaletteNavyBackground2"),el=Rt("colorPaletteNavyForeground2"),tl=Rt("colorPaletteNavyBorderActive"),ol=Rt("colorPaletteLavenderBackground2"),rl=Rt("colorPaletteLavenderForeground2"),nl=Rt("colorPaletteLavenderBorderActive"),il=Rt("colorPalettePurpleBackground2"),sl=Rt("colorPalettePurpleForeground2"),al=Rt("colorPalettePurpleBorderActive"),ll=Rt("colorPaletteGrapeBackground2"),cl=Rt("colorPaletteGrapeForeground2"),dl=Rt("colorPaletteGrapeBorderActive"),hl=Rt("colorPaletteLilacBackground2"),ul=Rt("colorPaletteLilacForeground2"),gl=Rt("colorPaletteLilacBorderActive"),pl=Rt("colorPalettePinkBackground2"),fl=Rt("colorPalettePinkForeground2"),vl=Rt("colorPalettePinkBorderActive"),bl=Rt("colorPaletteMagentaBackground2"),ml=Rt("colorPaletteMagentaForeground2"),yl=Rt("colorPaletteMagentaBorderActive"),kl=Rt("colorPalettePlumBackground2"),Bl=Rt("colorPalettePlumForeground2"),xl=Rt("colorPalettePlumBorderActive"),wl=Rt("colorPaletteBeigeBackground2"),Pl=Rt("colorPaletteBeigeForeground2"),$l=Rt("colorPaletteBeigeBorderActive"),Sl=Rt("colorPaletteMinkBackground2"),Fl=Rt("colorPaletteMinkForeground2"),Cl=Rt("colorPaletteMinkBorderActive"),Nl=Rt("colorPalettePlatinumBackground2"),zl=Rt("colorPalettePlatinumForeground2"),Al=Rt("colorPalettePlatinumBorderActive"),Il=Rt("colorPaletteAnchorBackground2"),Tl=Rt("colorPaletteAnchorForeground2"),Ll=Rt("colorPaletteAnchorBorderActive"),Ol=Rt("colorPaletteRedForegroundInverted"),Hl=Rt("colorPaletteGreenForegroundInverted"),Dl=Rt("colorPaletteYellowForegroundInverted"),Vl=Rt("shadow2"),Ml=Rt("shadow4"),El=Rt("shadow8"),Rl=Rt("shadow16"),_l=Rt("shadow28"),jl=Rt("shadow64"),Gl=Rt("shadow2Brand"),ql=Rt("shadow4Brand"),Xl=Rt("shadow8Brand"),Wl=Rt("shadow16Brand"),Yl=Rt("shadow28Brand"),Ul=Rt("shadow64Brand");var Kl=Object.freeze({__proto__:null,borderRadiusNone:_t,borderRadiusSmall:jt,borderRadiusMedium:Gt,borderRadiusLarge:qt,borderRadiusXLarge:Xt,borderRadiusCircular:Wt,fontSizeBase100:Yt,fontSizeBase200:Ut,fontSizeBase300:Kt,fontSizeBase400:Qt,fontSizeBase500:Jt,fontSizeBase600:Zt,fontSizeHero700:eo,fontSizeHero800:to,fontSizeHero900:oo,fontSizeHero1000:ro,lineHeightBase100:no,lineHeightBase200:io,lineHeightBase300:so,lineHeightBase400:ao,lineHeightBase500:lo,lineHeightBase600:co,lineHeightHero700:ho,lineHeightHero800:uo,lineHeightHero900:go,lineHeightHero1000:po,fontFamilyBase:fo,fontFamilyMonospace:vo,fontFamilyNumeric:bo,fontWeightRegular:mo,fontWeightMedium:yo,fontWeightSemibold:ko,fontWeightBold:Bo,strokeWidthThin:xo,strokeWidthThick:wo,strokeWidthThicker:Po,strokeWidthThickest:$o,spacingHorizontalNone:So,spacingHorizontalXXS:Fo,spacingHorizontalXS:Co,spacingHorizontalSNudge:No,spacingHorizontalS:zo,spacingHorizontalMNudge:Ao,spacingHorizontalM:Io,spacingHorizontalL:To,spacingHorizontalXL:Lo,spacingHorizontalXXL:Oo,spacingHorizontalXXXL:Ho,spacingVerticalNone:Do,spacingVerticalXXS:Vo,spacingVerticalXS:Mo,spacingVerticalSNudge:Eo,spacingVerticalS:Ro,spacingVerticalMNudge:_o,spacingVerticalM:jo,spacingVerticalL:Go,spacingVerticalXL:qo,spacingVerticalXXL:Xo,spacingVerticalXXXL:Wo,durationUltraFast:Yo,durationFaster:Uo,durationFast:Ko,durationNormal:Qo,durationSlow:Jo,durationSlower:Zo,durationUltraSlow:er,curveAccelerateMax:tr,curveAccelerateMid:or,curveAccelerateMin:rr,curveDecelerateMax:nr,curveDecelerateMid:ir,curveDecelerateMin:sr,curveEasyEaseMax:ar,curveEasyEase:lr,curveLinear:cr,colorNeutralForeground1:dr,colorNeutralForeground1Hover:hr,colorNeutralForeground1Pressed:ur,colorNeutralForeground1Selected:gr,colorNeutralForeground2:pr,colorNeutralForeground2Hover:fr,colorNeutralForeground2Pressed:vr,colorNeutralForeground2Selected:br,colorNeutralForeground2BrandHover:mr,colorNeutralForeground2BrandPressed:yr,colorNeutralForeground2BrandSelected:kr,colorNeutralForeground3:Br,colorNeutralForeground3Hover:xr,colorNeutralForeground3Pressed:wr,colorNeutralForeground3Selected:Pr,colorNeutralForeground3BrandHover:$r,colorNeutralForeground3BrandPressed:Sr,colorNeutralForeground3BrandSelected:Fr,colorNeutralForeground4:Cr,colorNeutralForegroundDisabled:Nr,colorNeutralForegroundInvertedDisabled:zr,colorBrandForegroundLink:Ar,colorBrandForegroundLinkHover:Ir,colorBrandForegroundLinkPressed:Tr,colorBrandForegroundLinkSelected:Lr,colorNeutralForeground2Link:Or,colorNeutralForeground2LinkHover:Hr,colorNeutralForeground2LinkPressed:Dr,colorNeutralForeground2LinkSelected:Vr,colorCompoundBrandForeground1:Mr,colorCompoundBrandForeground1Hover:Er,colorCompoundBrandForeground1Pressed:Rr,colorBrandForeground1:_r,colorBrandForeground2:jr,colorNeutralForeground1Static:Gr,colorNeutralForegroundStaticInverted:qr,colorNeutralForegroundInverted:Xr,colorNeutralForegroundInvertedHover:Wr,colorNeutralForegroundInvertedPressed:Yr,colorNeutralForegroundInvertedSelected:Ur,colorNeutralForegroundInverted2:Kr,colorNeutralForegroundOnBrand:Qr,colorNeutralForegroundInvertedLink:Jr,colorNeutralForegroundInvertedLinkHover:Zr,colorNeutralForegroundInvertedLinkPressed:en,colorNeutralForegroundInvertedLinkSelected:tn,colorBrandForegroundInverted:on,colorBrandForegroundInvertedHover:rn,colorBrandForegroundInvertedPressed:nn,colorBrandForegroundOnLight:sn,colorBrandForegroundOnLightHover:an,colorBrandForegroundOnLightPressed:ln,colorBrandForegroundOnLightSelected:cn,colorNeutralBackground1:dn,colorNeutralBackground1Hover:hn,colorNeutralBackground1Pressed:un,colorNeutralBackground1Selected:gn,colorNeutralBackground2:pn,colorNeutralBackground2Hover:fn,colorNeutralBackground2Pressed:vn,colorNeutralBackground2Selected:bn,colorNeutralBackground3:mn,colorNeutralBackground3Hover:yn,colorNeutralBackground3Pressed:kn,colorNeutralBackground3Selected:Bn,colorNeutralBackground4:xn,colorNeutralBackground4Hover:wn,colorNeutralBackground4Pressed:Pn,colorNeutralBackground4Selected:$n,colorNeutralBackground5:Sn,colorNeutralBackground5Hover:Fn,colorNeutralBackground5Pressed:Cn,colorNeutralBackground5Selected:Nn,colorNeutralBackground6:zn,colorNeutralBackgroundInverted:An,colorNeutralBackgroundStatic:In,colorSubtleBackground:Tn,colorSubtleBackgroundHover:Ln,colorSubtleBackgroundPressed:On,colorSubtleBackgroundSelected:Hn,colorSubtleBackgroundLightAlphaHover:Dn,colorSubtleBackgroundLightAlphaPressed:Vn,colorSubtleBackgroundLightAlphaSelected:Mn,colorSubtleBackgroundInverted:En,colorSubtleBackgroundInvertedHover:Rn,colorSubtleBackgroundInvertedPressed:_n,colorSubtleBackgroundInvertedSelected:jn,colorTransparentBackground:Gn,colorTransparentBackgroundHover:qn,colorTransparentBackgroundPressed:Xn,colorTransparentBackgroundSelected:Wn,colorNeutralBackgroundDisabled:Yn,colorNeutralBackgroundInvertedDisabled:Un,colorNeutralStencil1:Kn,colorNeutralStencil2:Qn,colorNeutralStencil1Alpha:Jn,colorNeutralStencil2Alpha:Zn,colorBackgroundOverlay:ei,colorScrollbarOverlay:ti,colorBrandBackground:oi,colorBrandBackgroundHover:ri,colorBrandBackgroundPressed:ni,colorBrandBackgroundSelected:ii,colorCompoundBrandBackground:si,colorCompoundBrandBackgroundHover:ai,colorCompoundBrandBackgroundPressed:li,colorBrandBackgroundStatic:ci,colorBrandBackground2:di,colorBrandBackgroundInverted:hi,colorBrandBackgroundInvertedHover:ui,colorBrandBackgroundInvertedPressed:gi,colorBrandBackgroundInvertedSelected:pi,colorNeutralStrokeAccessible:fi,colorNeutralStrokeAccessibleHover:vi,colorNeutralStrokeAccessiblePressed:bi,colorNeutralStrokeAccessibleSelected:mi,colorNeutralStroke1:yi,colorNeutralStroke1Hover:ki,colorNeutralStroke1Pressed:Bi,colorNeutralStroke1Selected:xi,colorNeutralStroke2:wi,colorNeutralStroke3:Pi,colorNeutralStrokeOnBrand:$i,colorNeutralStrokeOnBrand2:Si,colorNeutralStrokeOnBrand2Hover:Fi,colorNeutralStrokeOnBrand2Pressed:Ci,colorNeutralStrokeOnBrand2Selected:Ni,colorBrandStroke1:zi,colorBrandStroke2:Ai,colorCompoundBrandStroke:Ii,colorCompoundBrandStrokeHover:Ti,colorCompoundBrandStrokePressed:Li,colorNeutralStrokeDisabled:Oi,colorNeutralStrokeInvertedDisabled:Hi,colorTransparentStroke:Di,colorTransparentStrokeInteractive:Vi,colorTransparentStrokeDisabled:Mi,colorStrokeFocus1:Ei,colorStrokeFocus2:Ri,colorNeutralShadowAmbient:_i,colorNeutralShadowKey:ji,colorNeutralShadowAmbientLighter:Gi,colorNeutralShadowKeyLighter:qi,colorNeutralShadowAmbientDarker:Xi,colorNeutralShadowKeyDarker:Wi,colorBrandShadowAmbient:Yi,colorBrandShadowKey:Ui,colorPaletteRedBackground1:Ki,colorPaletteRedBackground2:Qi,colorPaletteRedBackground3:Ji,colorPaletteRedForeground1:Zi,colorPaletteRedForeground2:es,colorPaletteRedForeground3:ts,colorPaletteRedBorderActive:os,colorPaletteRedBorder1:rs,colorPaletteRedBorder2:ns,colorPaletteGreenBackground1:is,colorPaletteGreenBackground2:ss,colorPaletteGreenBackground3:as,colorPaletteGreenForeground1:ls,colorPaletteGreenForeground2:cs,colorPaletteGreenForeground3:ds,colorPaletteGreenBorderActive:hs,colorPaletteGreenBorder1:us,colorPaletteGreenBorder2:gs,colorPaletteDarkOrangeBackground1:ps,colorPaletteDarkOrangeBackground2:fs,colorPaletteDarkOrangeBackground3:vs,colorPaletteDarkOrangeForeground1:bs,colorPaletteDarkOrangeForeground2:ms,colorPaletteDarkOrangeForeground3:ys,colorPaletteDarkOrangeBorderActive:ks,colorPaletteDarkOrangeBorder1:Bs,colorPaletteDarkOrangeBorder2:xs,colorPaletteYellowBackground1:ws,colorPaletteYellowBackground2:Ps,colorPaletteYellowBackground3:$s,colorPaletteYellowForeground1:Ss,colorPaletteYellowForeground2:Fs,colorPaletteYellowForeground3:Cs,colorPaletteYellowBorderActive:Ns,colorPaletteYellowBorder1:zs,colorPaletteYellowBorder2:As,colorPaletteBerryBackground1:Is,colorPaletteBerryBackground2:Ts,colorPaletteBerryBackground3:Ls,colorPaletteBerryForeground1:Os,colorPaletteBerryForeground2:Hs,colorPaletteBerryForeground3:Ds,colorPaletteBerryBorderActive:Vs,colorPaletteBerryBorder1:Ms,colorPaletteBerryBorder2:Es,colorPaletteLightGreenBackground1:Rs,colorPaletteLightGreenBackground2:_s,colorPaletteLightGreenBackground3:js,colorPaletteLightGreenForeground1:Gs,colorPaletteLightGreenForeground2:qs,colorPaletteLightGreenForeground3:Xs,colorPaletteLightGreenBorderActive:Ws,colorPaletteLightGreenBorder1:Ys,colorPaletteLightGreenBorder2:Us,colorPaletteMarigoldBackground1:Ks,colorPaletteMarigoldBackground2:Qs,colorPaletteMarigoldBackground3:Js,colorPaletteMarigoldForeground1:Zs,colorPaletteMarigoldForeground2:ea,colorPaletteMarigoldForeground3:ta,colorPaletteMarigoldBorderActive:oa,colorPaletteMarigoldBorder1:ra,colorPaletteMarigoldBorder2:na,colorPaletteDarkRedBackground2:ia,colorPaletteDarkRedForeground2:sa,colorPaletteDarkRedBorderActive:aa,colorPaletteCranberryBackground2:la,colorPaletteCranberryForeground2:ca,colorPaletteCranberryBorderActive:da,colorPalettePumpkinBackground2:ha,colorPalettePumpkinForeground2:ua,colorPalettePumpkinBorderActive:ga,colorPalettePeachBackground2:pa,colorPalettePeachForeground2:fa,colorPalettePeachBorderActive:va,colorPaletteGoldBackground2:ba,colorPaletteGoldForeground2:ma,colorPaletteGoldBorderActive:ya,colorPaletteBrassBackground2:ka,colorPaletteBrassForeground2:Ba,colorPaletteBrassBorderActive:xa,colorPaletteBrownBackground2:wa,colorPaletteBrownForeground2:Pa,colorPaletteBrownBorderActive:$a,colorPaletteForestBackground2:Sa,colorPaletteForestForeground2:Fa,colorPaletteForestBorderActive:Ca,colorPaletteSeafoamBackground2:Na,colorPaletteSeafoamForeground2:za,colorPaletteSeafoamBorderActive:Aa,colorPaletteDarkGreenBackground2:Ia,colorPaletteDarkGreenForeground2:Ta,colorPaletteDarkGreenBorderActive:La,colorPaletteLightTealBackground2:Oa,colorPaletteLightTealForeground2:Ha,colorPaletteLightTealBorderActive:Da,colorPaletteTealBackground2:Va,colorPaletteTealForeground2:Ma,colorPaletteTealBorderActive:Ea,colorPaletteSteelBackground2:Ra,colorPaletteSteelForeground2:_a,colorPaletteSteelBorderActive:ja,colorPaletteBlueBackground2:Ga,colorPaletteBlueForeground2:qa,colorPaletteBlueBorderActive:Xa,colorPaletteRoyalBlueBackground2:Wa,colorPaletteRoyalBlueForeground2:Ya,colorPaletteRoyalBlueBorderActive:Ua,colorPaletteCornflowerBackground2:Ka,colorPaletteCornflowerForeground2:Qa,colorPaletteCornflowerBorderActive:Ja,colorPaletteNavyBackground2:Za,colorPaletteNavyForeground2:el,colorPaletteNavyBorderActive:tl,colorPaletteLavenderBackground2:ol,colorPaletteLavenderForeground2:rl,colorPaletteLavenderBorderActive:nl,colorPalettePurpleBackground2:il,colorPalettePurpleForeground2:sl,colorPalettePurpleBorderActive:al,colorPaletteGrapeBackground2:ll,colorPaletteGrapeForeground2:cl,colorPaletteGrapeBorderActive:dl,colorPaletteLilacBackground2:hl,colorPaletteLilacForeground2:ul,colorPaletteLilacBorderActive:gl,colorPalettePinkBackground2:pl,colorPalettePinkForeground2:fl,colorPalettePinkBorderActive:vl,colorPaletteMagentaBackground2:bl,colorPaletteMagentaForeground2:ml,colorPaletteMagentaBorderActive:yl,colorPalettePlumBackground2:kl,colorPalettePlumForeground2:Bl,colorPalettePlumBorderActive:xl,colorPaletteBeigeBackground2:wl,colorPaletteBeigeForeground2:Pl,colorPaletteBeigeBorderActive:$l,colorPaletteMinkBackground2:Sl,colorPaletteMinkForeground2:Fl,colorPaletteMinkBorderActive:Cl,colorPalettePlatinumBackground2:Nl,colorPalettePlatinumForeground2:zl,colorPalettePlatinumBorderActive:Al,colorPaletteAnchorBackground2:Il,colorPaletteAnchorForeground2:Tl,colorPaletteAnchorBorderActive:Ll,colorPaletteRedForegroundInverted:Ol,colorPaletteGreenForegroundInverted:Hl,colorPaletteYellowForegroundInverted:Dl,shadow2:Vl,shadow4:Ml,shadow8:El,shadow16:Rl,shadow28:_l,shadow64:jl,shadow2Brand:Gl,shadow4Brand:ql,shadow8Brand:Xl,shadow16Brand:Wl,shadow28Brand:Yl,shadow64Brand:Ul});const Ql=I`
4
+ :host{flex-direction:column;width:100%;contain:content}`,zt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Ot=Ft.compose({name:zt.prefix+"-accordion",template:Nt,styles:Lt}),Ht={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Dt={start:"start",end:"end"},Et="var(--colorNeutralForeground1)",Mt="var(--colorNeutralForeground1Hover)",Rt="var(--colorNeutralForeground1Pressed)",jt="var(--colorNeutralForeground1Selected)",Vt="var(--colorNeutralForeground2)",_t="var(--colorNeutralForeground2Hover)",Gt="var(--colorNeutralForeground2Pressed)",Xt="var(--colorNeutralForeground2Selected)",qt="var(--colorNeutralForeground2BrandHover)",Wt="var(--colorNeutralForeground2BrandPressed)",Yt="var(--colorNeutralForeground2BrandSelected)",Kt="var(--colorNeutralForeground3)",Ut="var(--colorNeutralForeground3Hover)",Qt="var(--colorNeutralForeground3Pressed)",Zt="var(--colorNeutralForeground3Selected)",Jt="var(--colorNeutralForeground3BrandHover)",eo="var(--colorNeutralForeground3BrandPressed)",to="var(--colorNeutralForeground3BrandSelected)",oo="var(--colorNeutralForeground4)",ro="var(--colorNeutralForegroundDisabled)",ao="var(--colorBrandForegroundLink)",no="var(--colorBrandForegroundLinkHover)",io="var(--colorBrandForegroundLinkPressed)",so="var(--colorBrandForegroundLinkSelected)",lo="var(--colorNeutralForeground2Link)",co="var(--colorNeutralForeground2LinkHover)",uo="var(--colorNeutralForeground2LinkPressed)",ho="var(--colorNeutralForeground2LinkSelected)",po="var(--colorCompoundBrandForeground1)",go="var(--colorCompoundBrandForeground1Hover)",vo="var(--colorCompoundBrandForeground1Pressed)",bo="var(--colorNeutralForegroundOnBrand)",mo="var(--colorNeutralForegroundInverted)",fo="var(--colorNeutralForegroundInvertedHover)",ko="var(--colorNeutralForegroundInvertedPressed)",yo="var(--colorNeutralForegroundInvertedSelected)",xo="var(--colorNeutralForegroundInverted2)",$o="var(--colorNeutralForegroundStaticInverted)",Bo="var(--colorNeutralForegroundInvertedLink)",wo="var(--colorNeutralForegroundInvertedLinkHover)",Po="var(--colorNeutralForegroundInvertedLinkPressed)",So="var(--colorNeutralForegroundInvertedLinkSelected)",Co="var(--colorNeutralForegroundInvertedDisabled)",Fo="var(--colorBrandForeground1)",No="var(--colorBrandForeground2)",To="var(--colorNeutralForeground1Static)",Io="var(--colorBrandForegroundInverted)",Ao="var(--colorBrandForegroundInvertedHover)",Lo="var(--colorBrandForegroundInvertedPressed)",zo="var(--colorBrandForegroundOnLight)",Oo="var(--colorBrandForegroundOnLightHover)",Ho="var(--colorBrandForegroundOnLightPressed)",Do="var(--colorBrandForegroundOnLightSelected)",Eo="var(--colorNeutralBackground1)",Mo="var(--colorNeutralBackground1Hover)",Ro="var(--colorNeutralBackground1Pressed)",jo="var(--colorNeutralBackground1Selected)",Vo="var(--colorNeutralBackground2)",_o="var(--colorNeutralBackground2Hover)",Go="var(--colorNeutralBackground2Pressed)",Xo="var(--colorNeutralBackground2Selected)",qo="var(--colorNeutralBackground3)",Wo="var(--colorNeutralBackground3Hover)",Yo="var(--colorNeutralBackground3Pressed)",Ko="var(--colorNeutralBackground3Selected)",Uo="var(--colorNeutralBackground4)",Qo="var(--colorNeutralBackground4Hover)",Zo="var(--colorNeutralBackground4Pressed)",Jo="var(--colorNeutralBackground4Selected)",er="var(--colorNeutralBackground5)",tr="var(--colorNeutralBackground5Hover)",or="var(--colorNeutralBackground5Pressed)",rr="var(--colorNeutralBackground5Selected)",ar="var(--colorNeutralBackground6)",nr="var(--colorNeutralBackgroundStatic)",ir="var(--colorNeutralBackgroundInverted)",sr="var(--colorSubtleBackground)",lr="var(--colorSubtleBackgroundHover)",cr="var(--colorSubtleBackgroundPressed)",dr="var(--colorSubtleBackgroundSelected)",ur="var(--colorSubtleBackgroundLightAlphaHover)",hr="var(--colorSubtleBackgroundLightAlphaPressed)",pr="var(--colorSubtleBackgroundLightAlphaSelected)",gr="var(--colorSubtleBackgroundInverted)",vr="var(--colorSubtleBackgroundInvertedHover)",br="var(--colorSubtleBackgroundInvertedPressed)",mr="var(--colorSubtleBackgroundInvertedSelected)",fr="var(--colorTransparentBackground)",kr="var(--colorTransparentBackgroundHover)",yr="var(--colorTransparentBackgroundPressed)",xr="var(--colorTransparentBackgroundSelected)",$r="var(--colorNeutralBackgroundDisabled)",Br="var(--colorNeutralBackgroundInvertedDisabled)",wr="var(--colorNeutralStencil1)",Pr="var(--colorNeutralStencil2)",Sr="var(--colorNeutralStencil1Alpha)",Cr="var(--colorNeutralStencil2Alpha)",Fr="var(--colorBackgroundOverlay)",Nr="var(--colorScrollbarOverlay)",Tr="var(--colorBrandBackground)",Ir="var(--colorBrandBackgroundHover)",Ar="var(--colorBrandBackgroundPressed)",Lr="var(--colorBrandBackgroundSelected)",zr="var(--colorCompoundBrandBackground)",Or="var(--colorCompoundBrandBackgroundHover)",Hr="var(--colorCompoundBrandBackgroundPressed)",Dr="var(--colorBrandBackgroundStatic)",Er="var(--colorBrandBackground2)",Mr="var(--colorBrandBackgroundInverted)",Rr="var(--colorBrandBackgroundInvertedHover)",jr="var(--colorBrandBackgroundInvertedPressed)",Vr="var(--colorBrandBackgroundInvertedSelected)",_r="var(--colorNeutralStrokeAccessible)",Gr="var(--colorNeutralStrokeAccessibleHover)",Xr="var(--colorNeutralStrokeAccessiblePressed)",qr="var(--colorNeutralStrokeAccessibleSelected)",Wr="var(--colorNeutralStroke1)",Yr="var(--colorNeutralStroke1Hover)",Kr="var(--colorNeutralStroke1Pressed)",Ur="var(--colorNeutralStroke1Selected)",Qr="var(--colorNeutralStroke2)",Zr="var(--colorNeutralStroke3)",Jr="var(--colorNeutralStrokeOnBrand)",ea="var(--colorNeutralStrokeOnBrand2)",ta="var(--colorNeutralStrokeOnBrand2Hover)",oa="var(--colorNeutralStrokeOnBrand2Pressed)",ra="var(--colorNeutralStrokeOnBrand2Selected)",aa="var(--colorBrandStroke1)",na="var(--colorBrandStroke2)",ia="var(--colorCompoundBrandStroke)",sa="var(--colorCompoundBrandStrokeHover)",la="var(--colorCompoundBrandStrokePressed)",ca="var(--colorNeutralStrokeDisabled)",da="var(--colorNeutralStrokeInvertedDisabled)",ua="var(--colorTransparentStroke)",ha="var(--colorTransparentStrokeInteractive)",pa="var(--colorTransparentStrokeDisabled)",ga="var(--colorStrokeFocus1)",va="var(--colorStrokeFocus2)",ba="var(--colorNeutralShadowAmbient)",ma="var(--colorNeutralShadowKey)",fa="var(--colorNeutralShadowAmbientLighter)",ka="var(--colorNeutralShadowKeyLighter)",ya="var(--colorNeutralShadowAmbientDarker)",xa="var(--colorNeutralShadowKeyDarker)",$a="var(--colorBrandShadowAmbient)",Ba="var(--colorBrandShadowKey)",wa="var(--colorPaletteRedBackground1)",Pa="var(--colorPaletteRedBackground2)",Sa="var(--colorPaletteRedBackground3)",Ca="var(--colorPaletteRedBorderActive)",Fa="var(--colorPaletteRedBorder1)",Na="var(--colorPaletteRedBorder2)",Ta="var(--colorPaletteRedForeground1)",Ia="var(--colorPaletteRedForeground2)",Aa="var(--colorPaletteRedForeground3)",La="var(--colorPaletteRedForegroundInverted)",za="var(--colorPaletteGreenBackground1)",Oa="var(--colorPaletteGreenBackground2)",Ha="var(--colorPaletteGreenBackground3)",Da="var(--colorPaletteGreenBorderActive)",Ea="var(--colorPaletteGreenBorder1)",Ma="var(--colorPaletteGreenBorder2)",Ra="var(--colorPaletteGreenForeground1)",ja="var(--colorPaletteGreenForeground2)",Va="var(--colorPaletteGreenForeground3)",_a="var(--colorPaletteGreenForegroundInverted)",Ga="var(--colorPaletteDarkOrangeBackground1)",Xa="var(--colorPaletteDarkOrangeBackground2)",qa="var(--colorPaletteDarkOrangeBackground3)",Wa="var(--colorPaletteDarkOrangeBorderActive)",Ya="var(--colorPaletteDarkOrangeBorder1)",Ka="var(--colorPaletteDarkOrangeBorder2)",Ua="var(--colorPaletteDarkOrangeForeground1)",Qa="var(--colorPaletteDarkOrangeForeground2)",Za="var(--colorPaletteDarkOrangeForeground3)",Ja="var(--colorPaletteYellowBackground1)",en="var(--colorPaletteYellowBackground2)",tn="var(--colorPaletteYellowBackground3)",on="var(--colorPaletteYellowBorderActive)",rn="var(--colorPaletteYellowBorder1)",an="var(--colorPaletteYellowBorder2)",nn="var(--colorPaletteYellowForeground1)",sn="var(--colorPaletteYellowForeground2)",ln="var(--colorPaletteYellowForeground3)",cn="var(--colorPaletteYellowForegroundInverted)",dn="var(--colorPaletteBerryBackground1)",un="var(--colorPaletteBerryBackground2)",hn="var(--colorPaletteBerryBackground3)",pn="var(--colorPaletteBerryBorderActive)",gn="var(--colorPaletteBerryBorder1)",vn="var(--colorPaletteBerryBorder2)",bn="var(--colorPaletteBerryForeground1)",mn="var(--colorPaletteBerryForeground2)",fn="var(--colorPaletteBerryForeground3)",kn="var(--colorPaletteMarigoldBackground1)",yn="var(--colorPaletteMarigoldBackground2)",xn="var(--colorPaletteMarigoldBackground3)",$n="var(--colorPaletteMarigoldBorderActive)",Bn="var(--colorPaletteMarigoldBorder1)",wn="var(--colorPaletteMarigoldBorder2)",Pn="var(--colorPaletteMarigoldForeground1)",Sn="var(--colorPaletteMarigoldForeground2)",Cn="var(--colorPaletteMarigoldForeground3)",Fn="var(--colorPaletteLightGreenBackground1)",Nn="var(--colorPaletteLightGreenBackground2)",Tn="var(--colorPaletteLightGreenBackground3)",In="var(--colorPaletteLightGreenBorderActive)",An="var(--colorPaletteLightGreenBorder1)",Ln="var(--colorPaletteLightGreenBorder2)",zn="var(--colorPaletteLightGreenForeground1)",On="var(--colorPaletteLightGreenForeground2)",Hn="var(--colorPaletteLightGreenForeground3)",Dn="var(--colorPaletteAnchorBackground2)",En="var(--colorPaletteAnchorBorderActive)",Mn="var(--colorPaletteAnchorForeground2)",Rn="var(--colorPaletteBeigeBackground2)",jn="var(--colorPaletteBeigeBorderActive)",Vn="var(--colorPaletteBeigeForeground2)",_n="var(--colorPaletteBlueBackground2)",Gn="var(--colorPaletteBlueBorderActive)",Xn="var(--colorPaletteBlueForeground2)",qn="var(--colorPaletteBrassBackground2)",Wn="var(--colorPaletteBrassBorderActive)",Yn="var(--colorPaletteBrassForeground2)",Kn="var(--colorPaletteBrownBackground2)",Un="var(--colorPaletteBrownBorderActive)",Qn="var(--colorPaletteBrownForeground2)",Zn="var(--colorPaletteCornflowerBackground2)",Jn="var(--colorPaletteCornflowerBorderActive)",ei="var(--colorPaletteCornflowerForeground2)",ti="var(--colorPaletteCranberryBackground2)",oi="var(--colorPaletteCranberryBorderActive)",ri="var(--colorPaletteCranberryForeground2)",ai="var(--colorPaletteDarkGreenBackground2)",ni="var(--colorPaletteDarkGreenBorderActive)",ii="var(--colorPaletteDarkGreenForeground2)",si="var(--colorPaletteDarkRedBackground2)",li="var(--colorPaletteDarkRedBorderActive)",ci="var(--colorPaletteDarkRedForeground2)",di="var(--colorPaletteForestBackground2)",ui="var(--colorPaletteForestBorderActive)",hi="var(--colorPaletteForestForeground2)",pi="var(--colorPaletteGoldBackground2)",gi="var(--colorPaletteGoldBorderActive)",vi="var(--colorPaletteGoldForeground2)",bi="var(--colorPaletteGrapeBackground2)",mi="var(--colorPaletteGrapeBorderActive)",fi="var(--colorPaletteGrapeForeground2)",ki="var(--colorPaletteLavenderBackground2)",yi="var(--colorPaletteLavenderBorderActive)",xi="var(--colorPaletteLavenderForeground2)",$i="var(--colorPaletteLightTealBackground2)",Bi="var(--colorPaletteLightTealBorderActive)",wi="var(--colorPaletteLightTealForeground2)",Pi="var(--colorPaletteLilacBackground2)",Si="var(--colorPaletteLilacBorderActive)",Ci="var(--colorPaletteLilacForeground2)",Fi="var(--colorPaletteMagentaBackground2)",Ni="var(--colorPaletteMagentaBorderActive)",Ti="var(--colorPaletteMagentaForeground2)",Ii="var(--colorPaletteMinkBackground2)",Ai="var(--colorPaletteMinkBorderActive)",Li="var(--colorPaletteMinkForeground2)",zi="var(--colorPaletteNavyBackground2)",Oi="var(--colorPaletteNavyBorderActive)",Hi="var(--colorPaletteNavyForeground2)",Di="var(--colorPalettePeachBackground2)",Ei="var(--colorPalettePeachBorderActive)",Mi="var(--colorPalettePeachForeground2)",Ri="var(--colorPalettePinkBackground2)",ji="var(--colorPalettePinkBorderActive)",Vi="var(--colorPalettePinkForeground2)",_i="var(--colorPalettePlatinumBackground2)",Gi="var(--colorPalettePlatinumBorderActive)",Xi="var(--colorPalettePlatinumForeground2)",qi="var(--colorPalettePlumBackground2)",Wi="var(--colorPalettePlumBorderActive)",Yi="var(--colorPalettePlumForeground2)",Ki="var(--colorPalettePumpkinBackground2)",Ui="var(--colorPalettePumpkinBorderActive)",Qi="var(--colorPalettePumpkinForeground2)",Zi="var(--colorPalettePurpleBackground2)",Ji="var(--colorPalettePurpleBorderActive)",es="var(--colorPalettePurpleForeground2)",ts="var(--colorPaletteRoyalBlueBackground2)",os="var(--colorPaletteRoyalBlueBorderActive)",rs="var(--colorPaletteRoyalBlueForeground2)",as="var(--colorPaletteSeafoamBackground2)",ns="var(--colorPaletteSeafoamBorderActive)",is="var(--colorPaletteSeafoamForeground2)",ss="var(--colorPaletteSteelBackground2)",ls="var(--colorPaletteSteelBorderActive)",cs="var(--colorPaletteSteelForeground2)",ds="var(--colorPaletteTealBackground2)",us="var(--colorPaletteTealBorderActive)",hs="var(--colorPaletteTealForeground2)",ps="var(--borderRadiusNone)",gs="var(--borderRadiusSmall)",vs="var(--borderRadiusMedium)",bs="var(--borderRadiusLarge)",ms="var(--borderRadiusXLarge)",fs="var(--borderRadiusCircular)",ks="var(--fontFamilyBase)",ys="var(--fontFamilyMonospace)",xs="var(--fontFamilyNumeric)",$s="var(--fontSizeBase100)",Bs="var(--fontSizeBase200)",ws="var(--fontSizeBase300)",Ps="var(--fontSizeBase400)",Ss="var(--fontSizeBase500)",Cs="var(--fontSizeBase600)",Fs="var(--fontSizeHero700)",Ns="var(--fontSizeHero800)",Ts="var(--fontSizeHero900)",Is="var(--fontSizeHero1000)",As="var(--fontWeightRegular)",Ls="var(--fontWeightMedium)",zs="var(--fontWeightSemibold)",Os="var(--fontWeightBold)",Hs="var(--lineHeightBase100)",Ds="var(--lineHeightBase200)",Es="var(--lineHeightBase300)",Ms="var(--lineHeightBase400)",Rs="var(--lineHeightBase500)",js="var(--lineHeightBase600)",Vs="var(--lineHeightHero700)",_s="var(--lineHeightHero800)",Gs="var(--lineHeightHero900)",Xs="var(--lineHeightHero1000)",qs="var(--shadow2)",Ws="var(--shadow4)",Ys="var(--shadow8)",Ks="var(--shadow16)",Us="var(--shadow28)",Qs="var(--shadow64)",Zs="var(--shadow2Brand)",Js="var(--shadow4Brand)",el="var(--shadow8Brand)",tl="var(--shadow16Brand)",ol="var(--shadow28Brand)",rl="var(--shadow64Brand)",al="var(--strokeWidthThin)",nl="var(--strokeWidthThick)",il="var(--strokeWidthThicker)",sl="var(--strokeWidthThickest)",ll="var(--spacingHorizontalNone)",cl="var(--spacingHorizontalXXS)",dl="var(--spacingHorizontalXS)",ul="var(--spacingHorizontalSNudge)",hl="var(--spacingHorizontalS)",pl="var(--spacingHorizontalMNudge)",gl="var(--spacingHorizontalM)",vl="var(--spacingHorizontalL)",bl="var(--spacingHorizontalXL)",ml="var(--spacingHorizontalXXL)",fl="var(--spacingHorizontalXXXL)",kl="var(--spacingVerticalNone)",yl="var(--spacingVerticalXXS)",xl="var(--spacingVerticalXS)",$l="var(--spacingVerticalSNudge)",Bl="var(--spacingVerticalS)",wl="var(--spacingVerticalMNudge)",Pl="var(--spacingVerticalM)",Sl="var(--spacingVerticalL)",Cl="var(--spacingVerticalXL)",Fl="var(--spacingVerticalXXL)",Nl="var(--spacingVerticalXXXL)",Tl="var(--durationUltraFast)",Il="var(--durationFaster)",Al="var(--durationFast)",Ll="var(--durationNormal)",zl="var(--durationSlow)",Ol="var(--durationSlower)",Hl="var(--durationUltraSlow)",Dl="var(--curveAccelerateMax)",El="var(--curveAccelerateMid)",Ml="var(--curveAccelerateMin)",Rl="var(--curveDecelerateMax)",jl="var(--curveDecelerateMid)",Vl="var(--curveDecelerateMin)",_l="var(--curveEasyEaseMax)",Gl="var(--curveEasyEase)",Xl="var(--curveLinear)";var ql=Object.freeze({__proto__:null,colorNeutralForeground1:Et,colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:Vt,colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:Kt,colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:ro,colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:bo,colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:Eo,colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:fr,colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:zr,colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:Er,colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralStrokeAccessible:_r,colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:Wr,colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:Qr,colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:ca,colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:ua,colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorStrokeFocus1:ga,colorStrokeFocus2:va,colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:gs,borderRadiusMedium:vs,borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:fs,fontFamilyBase:ks,fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:$s,fontSizeBase200:Bs,fontSizeBase300:ws,fontSizeBase400:Ps,fontSizeBase500:Ss,fontSizeBase600:Cs,fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:As,fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:zs,fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:Ds,lineHeightBase300:Es,lineHeightBase400:Ms,lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:qs,shadow4:Ws,shadow8:Ys,shadow16:Ks,shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:al,strokeWidthThick:nl,strokeWidthThicker:il,strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:cl,spacingHorizontalXS:dl,spacingHorizontalSNudge:ul,spacingHorizontalS:hl,spacingHorizontalMNudge:pl,spacingHorizontalM:gl,spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:$l,spacingVerticalS:Bl,spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:Il,durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:Hl,curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:Gl,curveLinear:"var(--curveLinear)"});const Wl=j`
5
5
  ${At("block")}
6
6
 
7
- :host{max-width:fit-content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${Io} ${Ao};border-radius:${Gt};font-family:${fo};font-size:${Kt};font-weight:${mo};line-height:${so};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${dr};background:${Gn};line-height:${so};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${jt}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${zo};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${Io}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${zo};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${jt};outline:none;border:2px solid ${Ei};box-shadow:inset 0 0 0 1px ${Ri}}:host([disabled]) .button{color:${Nr}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${Kt};line-height:${so}}:host([size='small']) .heading{font-size:${Ut};line-height:${io}}:host([size='large']) .heading{font-size:${Qt};line-height:${ao}}:host([size='extra-large']) .heading{font-size:${Jt};line-height:${lo}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`,Jl=function(e={}){return fe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${be("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${Ue(e)} ${Ye(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${qe(e.expandedIcon)}</slot><slot name="collapsed-icon">${qe(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:fe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="#212121"\n />\n</svg>'),expandedIcon:fe.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="#212121"\n />\n</svg>')}),Zl=Vt.compose({name:Ht.prefix+"-accordion-item",template:Jl,styles:Ql}),ec=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,tc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,oc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,rc=/\s+/g,nc=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function ic(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(ec,"")).replace(tc,"")).replace(rc," ")).trim()}(e),nc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&oc.test(e)?"":function(e,t,o){let r="";const n=e.split(" ");return 0!==n.length&&(r+=n[0].charAt(0).toUpperCase()),o||(2===n.length?r+=n[1].charAt(0).toUpperCase():3===n.length&&(r+=n[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const sc={active:"active",inactive:"inactive"},ac={circular:"circular",square:"square"},lc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},cc={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},dc={neutral:"neutral",brand:"brand",colorful:"colorful",...cc},hc={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};class uc extends Ge{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===dc.colorful?uc.colors[gc(null!==(t=null!==(e=this.colorId)&&void 0!==e?e:this.name)&&void 0!==t?t:"")%uc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!==(e=this.size)&&void 0!==e?e:32;return null!==(t=this.initials)&&void 0!==t?t:ic(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}}uc.colors=Object.values(cc),Xe([Ce],uc.prototype,"name",void 0),Xe([Ce],uc.prototype,"initials",void 0),Xe([Ce({converter:Se})],uc.prototype,"size",void 0),Xe([Ce],uc.prototype,"shape",void 0),Xe([Ce],uc.prototype,"active",void 0),Xe([Ce],uc.prototype,"appearance",void 0),Xe([Ce],uc.prototype,"color",void 0),Xe([Ce({attribute:"color-id"})],uc.prototype,"colorId",void 0);const gc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),n=o%8;t^=(r<<n)+(r>>8-n)}return t},pc=fe`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const fc=fe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():pc}</slot><slot name="badge"></slot></template>`,vc=sr,bc=ar,mc=cr,yc=I`
8
- ${At("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fo};font-weight:${ko};font-size:${Kt};border-radius:${Wt};color:${Br};background-color:${zn}}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${Wt}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${xo} ${dn}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${wo} ${dn}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Yt};font-weight:${mo}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${Ut}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Qt}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Jt}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Zt}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${Gt}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${jt}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${qt}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${Xt}}:host([data-color='brand']){color:${qr};background-color:${ci}}:host([data-color='dark-red']){color:${sa};background-color:${ia}}:host([data-color='cranberry']){color:${ca};background-color:${la}}:host([data-color='red']){color:${es};background-color:${Qi}}:host([data-color='pumpkin']){color:${ua};background-color:${ha}}:host([data-color='peach']){color:${fa};background-color:${pa}}:host([data-color='marigold']){color:${ea};background-color:${Qs}}:host([data-color='gold']){color:${ma};background-color:${ba}}:host([data-color='brass']){color:${Ba};background-color:${ka}}:host([data-color='brown']){color:${Pa};background-color:${wa}}:host([data-color='forest']){color:${Fa};background-color:${Sa}}:host([data-color='seafoam']){color:${za};background-color:${Na}}:host([data-color='dark-green']){color:${Ta};background-color:${Ia}}:host([data-color='light-teal']){color:${Ha};background-color:${Oa}}:host([data-color='teal']){color:${Ma};background-color:${Va}}:host([data-color='steel']){color:${_a};background-color:${Ra}}:host([data-color='blue']){color:${qa};background-color:${Ga}}:host([data-color='royal-blue']){color:${Ya};background-color:${Wa}}:host([data-color='cornflower']){color:${Qa};background-color:${Ka}}:host([data-color='navy']){color:${el};background-color:${Za}}:host([data-color='lavender']){color:${rl};background-color:${ol}}:host([data-color='purple']){color:${sl};background-color:${il}}:host([data-color='grape']){color:${cl};background-color:${ll}}:host([data-color='lilac']){color:${ul};background-color:${hl}}:host([data-color='pink']){color:${fl};background-color:${pl}}:host([data-color='magenta']){color:${ml};background-color:${bl}}:host([data-color='plum']){color:${Bl};background-color:${kl}}:host([data-color='beige']){color:${Pl};background-color:${wl}}:host([data-color='mink']){color:${Fl};background-color:${Sl}}:host([data-color='platinum']){color:${zl};background-color:${Nl}}:host([data-color='anchor']){color:${Tl};background-color:${Il}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${bc},${mc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${bc},${mc}}:host([active])::before{box-shadow:${El};border-style:solid;border-color:${ci}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${wo});border-width:${wo}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Po});border-width:${Po}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${$o});border-width:${$o}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ml}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Rl}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${_l}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${er},${Uo};transition-delay:${vc},${mc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${er},${Zo};transition-delay:${vc},${mc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,kc=uc.compose({name:Ht.prefix+"-avatar",template:fc,styles:yc}),Bc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},xc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},wc={circular:"circular",rounded:"rounded",square:"square"},Pc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class $c extends Ge{constructor(){super(...arguments),this.appearance=Bc.filled,this.color=xc.brand}}function Sc(e={}){return fe` ${Ue(e)}<slot>${qe(e.defaultContent)}</slot>${Ye(e)} `}Xe([Ce],$c.prototype,"appearance",void 0),Xe([Ce],$c.prototype,"color",void 0),Xe([Ce],$c.prototype,"shape",void 0),Xe([Ce],$c.prototype,"size",void 0),Qe($c,We);const Fc=Sc(),Cc=Fo,Nc=I.partial`
7
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${gl} ${pl};border-radius:${vs};font-family:${ks};font-size:${ws};font-weight:${As};line-height:${Es};grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:${Et};background:${fr};line-height:${Es};height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${gs}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${hl};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${gl}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${hl};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${gs};outline:none;border:2px solid ${ga};box-shadow:inset 0 0 0 1px ${va}}:host([disabled]) .button{color:${ro}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:${ws};line-height:${Es}}:host([size='small']) .heading{font-size:${Bs};line-height:${Ds}}:host([size='large']) .heading{font-size:${Ps};line-height:${Ms}}:host([size='extra-large']) .heading{font-size:${Ss};line-height:${"var(--lineHeightBase500)"}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;const Yl=function(e={}){return ke`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${xe("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${mt(e)} ${bt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${pt(e.expandedIcon)}</slot><slot name="collapsed-icon">${pt(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="currentColor"\n />\n</svg>'),expandedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="currentColor"\n />\n</svg>')}),Kl=$t.compose({name:zt.prefix+"-accordion-item",template:Yl,styles:Wl});var Ul=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,Zl=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ql(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ul(t,o,n),n};class Jl extends et{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}Zl([Oe],Jl.prototype,"download",2),Zl([Oe],Jl.prototype,"href",2),Zl([Oe],Jl.prototype,"hreflang",2),Zl([Oe],Jl.prototype,"ping",2),Zl([Oe],Jl.prototype,"referrerpolicy",2),Zl([Oe],Jl.prototype,"rel",2),Zl([Oe],Jl.prototype,"target",2),Zl([Oe],Jl.prototype,"type",2),Zl([B],Jl.prototype,"defaultSlottedContent",2),Zl([Oe],Jl.prototype,"appearance",2),Zl([Oe],Jl.prototype,"shape",2),Zl([Oe],Jl.prototype,"size",2),Zl([Oe({attribute:"icon-only",mode:"boolean"})],Jl.prototype,"iconOnly",2),Zl([Oe({mode:"boolean"})],Jl.prototype,"disabled",2),Zl([Oe({attribute:"disabled-focusable",mode:"boolean"})],Jl.prototype,"disabledFocusable",2);class ec{}Zl([Oe({attribute:"aria-expanded"})],ec.prototype,"ariaExpanded",2),ft(ec,ut),ft(Jl,vt,ec);const tc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},oc={circular:"circular",rounded:"rounded",square:"square"},rc={small:"small",medium:"medium",large:"large"},ac={submit:"submit",reset:"reset",button:"button"},nc=tc,ic=oc,sc=rc,lc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"};const cc=function(e={}){return ke`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")}>${mt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${bt(e)}</a>`}(),dc=j`
8
+ ${At("inline-flex")}
9
+
10
+ :host{--icon-spacing:${ul};contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${Eo};color:${Et};border:${al} solid ${Wr};padding:0 ${gl};min-width:96px;border-radius:${vs};font-size:${ws};font-family:${ks};font-weight:${zs};line-height:${Es};transition-duration:${Il};transition-property:background,border,color;transition-timing-function:${Gl};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${"var(--colorNeutralBackground1Hover)"};color:${"var(--colorNeutralForeground1Hover)"};border-color:${"var(--colorNeutralStroke1Hover)"}}:host(:hover:active) .control{background-color:${"var(--colorNeutralBackground1Pressed)"};border-color:${"var(--colorNeutralStroke1Pressed)"};color:${"var(--colorNeutralForeground1Pressed)"};outline-style:none}:host .control:focus-visible{border-color:${ua};outline:${nl}) solid ${ua};box-shadow:${Ws},0 0 0 2px ${va}}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${dl}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${hl};border-radius:${gs};font-size:${Bs};line-height:${Ds};font-weight:${As}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${"var(--borderRadiusLarge)"};padding:0 ${"var(--spacingHorizontalL)"};font-size:${Ps};line-height:${Ms}}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:${fs}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${"var(--borderRadiusNone)"}}:host([appearance='primary']) .control{background-color:${"var(--colorBrandBackground)"};color:${bo};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${"var(--colorBrandBackgroundHover)"}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${bo}}:host([appearance='primary']:hover:active) .control{background-color:${"var(--colorBrandBackgroundPressed)"}}:host([appearance='primary']) .control:focus-visible{border-color:${bo};box-shadow:${qs},0 0 0 2px ${va}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:${fr}}:host([appearance='outline']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"}}:host([appearance='outline']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${fr}}:host([appearance='subtle']) .control{background-color:${"var(--colorSubtleBackground)"};color:${Vt};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${fr};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control{background-color:${fr};color:${Vt}}:host([appearance='transparent']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"};color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"};color:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${fr}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
+ .control{background-color:${"var(--colorNeutralBackgroundDisabled)"};border-color:${ca};color:${ro};cursor:not-allowed}`.withBehaviors(It(j`
12
+ :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),uc=j`
13
+ ${dc}
14
+
15
+ .content{text-align:center}`,hc=Jl.compose({name:zt.prefix+"-anchor-button",template:cc,styles:uc,shadowOptions:{delegatesFocus:!0}}),pc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,gc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,vc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,bc=/\s+/g,mc=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function fc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(pc,"")).replace(gc,"")).replace(bc," ")).trim()}(e),mc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&vc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const kc={active:"active",inactive:"inactive"},yc={circular:"circular",square:"square"},xc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},$c={darkRed:"dark-red",cranberry:"cranberry",red:"red",pumpkin:"pumpkin",peach:"peach",marigold:"marigold",gold:"gold",brass:"brass",brown:"brown",forest:"forest",seafoam:"seafoam",darkGreen:"dark-green",lightTeal:"light-teal",teal:"teal",steel:"steel",blue:"blue",royalBlue:"royal-blue",cornflower:"cornflower",navy:"navy",lavender:"lavender",purple:"purple",grape:"grape",lilac:"lilac",pink:"pink",magenta:"magenta",plum:"plum",beige:"beige",mink:"mink",platinum:"platinum",anchor:"anchor"},Bc={neutral:"neutral",brand:"brand",colorful:"colorful",...$c},wc={_16:16,_20:20,_24:24,_28:28,_32:32,_36:36,_40:40,_48:48,_56:56,_64:64,_72:72,_96:96,_120:120,_128:128};var Pc=Object.defineProperty,Sc=Object.getOwnPropertyDescriptor,Cc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Sc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Pc(t,o,n),n};const Fc=class extends et{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Bc.colorful?Fc.colors[Tc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Fc.colors.length]:this.color}generateInitials(){var e,t;if(!this.name&&!this.initials)return;const o=null!=(e=this.size)?e:32;return null!=(t=this.initials)?t:fc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let Nc=Fc;Nc.colors=Object.values($c),Cc([Oe],Nc.prototype,"name",2),Cc([Oe],Nc.prototype,"initials",2),Cc([Oe({converter:Le})],Nc.prototype,"size",2),Cc([Oe],Nc.prototype,"shape",2),Cc([Oe],Nc.prototype,"active",2),Cc([Oe],Nc.prototype,"appearance",2),Cc([Oe],Nc.prototype,"color",2),Cc([Oe({attribute:"color-id"})],Nc.prototype,"colorId",2);const Tc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},Ic=ke`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const Ac=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Ic}</slot><slot name="badge"></slot></template>`,Lc="var(--curveDecelerateMin)",zc="var(--curveEasyEaseMax)",Oc="var(--curveLinear)",Hc=j`
16
+ ${At("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${ks};font-weight:${zs};font-size:${ws};border-radius:${fs};color:${Kt};background-color:${"var(--colorNeutralBackground6)"};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${fs}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${al}) ${Eo}}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 ${nl}) ${Eo}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${$s};font-weight:${As}}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:${Bs}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Ps}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${Ss}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${Cs}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${vs}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${gs}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${"var(--borderRadiusLarge)"}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${"var(--borderRadiusXLarge)"}}:host([data-color='brand']){color:${"var(--colorNeutralForegroundStaticInverted)"};background-color:${"var(--colorBrandBackgroundStatic)"}}:host([data-color='dark-red']){color:${"var(--colorPaletteDarkRedForeground2)"};background-color:${"var(--colorPaletteDarkRedBackground2)"}}:host([data-color='cranberry']){color:${"var(--colorPaletteCranberryForeground2)"};background-color:${"var(--colorPaletteCranberryBackground2)"}}:host([data-color='red']){color:${"var(--colorPaletteRedForeground2)"};background-color:${"var(--colorPaletteRedBackground2)"}}:host([data-color='pumpkin']){color:${"var(--colorPalettePumpkinForeground2)"};background-color:${"var(--colorPalettePumpkinBackground2)"}}:host([data-color='peach']){color:${"var(--colorPalettePeachForeground2)"};background-color:${"var(--colorPalettePeachBackground2)"}}:host([data-color='marigold']){color:${"var(--colorPaletteMarigoldForeground2)"};background-color:${"var(--colorPaletteMarigoldBackground2)"}}:host([data-color='gold']){color:${"var(--colorPaletteGoldForeground2)"};background-color:${"var(--colorPaletteGoldBackground2)"}}:host([data-color='brass']){color:${"var(--colorPaletteBrassForeground2)"};background-color:${"var(--colorPaletteBrassBackground2)"}}:host([data-color='brown']){color:${"var(--colorPaletteBrownForeground2)"};background-color:${"var(--colorPaletteBrownBackground2)"}}:host([data-color='forest']){color:${"var(--colorPaletteForestForeground2)"};background-color:${"var(--colorPaletteForestBackground2)"}}:host([data-color='seafoam']){color:${"var(--colorPaletteSeafoamForeground2)"};background-color:${"var(--colorPaletteSeafoamBackground2)"}}:host([data-color='dark-green']){color:${"var(--colorPaletteDarkGreenForeground2)"};background-color:${"var(--colorPaletteDarkGreenBackground2)"}}:host([data-color='light-teal']){color:${"var(--colorPaletteLightTealForeground2)"};background-color:${"var(--colorPaletteLightTealBackground2)"}}:host([data-color='teal']){color:${"var(--colorPaletteTealForeground2)"};background-color:${"var(--colorPaletteTealBackground2)"}}:host([data-color='steel']){color:${"var(--colorPaletteSteelForeground2)"};background-color:${"var(--colorPaletteSteelBackground2)"}}:host([data-color='blue']){color:${"var(--colorPaletteBlueForeground2)"};background-color:${"var(--colorPaletteBlueBackground2)"}}:host([data-color='royal-blue']){color:${"var(--colorPaletteRoyalBlueForeground2)"};background-color:${"var(--colorPaletteRoyalBlueBackground2)"}}:host([data-color='cornflower']){color:${"var(--colorPaletteCornflowerForeground2)"};background-color:${"var(--colorPaletteCornflowerBackground2)"}}:host([data-color='navy']){color:${"var(--colorPaletteNavyForeground2)"};background-color:${"var(--colorPaletteNavyBackground2)"}}:host([data-color='lavender']){color:${"var(--colorPaletteLavenderForeground2)"};background-color:${"var(--colorPaletteLavenderBackground2)"}}:host([data-color='purple']){color:${"var(--colorPalettePurpleForeground2)"};background-color:${"var(--colorPalettePurpleBackground2)"}}:host([data-color='grape']){color:${"var(--colorPaletteGrapeForeground2)"};background-color:${"var(--colorPaletteGrapeBackground2)"}}:host([data-color='lilac']){color:${"var(--colorPaletteLilacForeground2)"};background-color:${"var(--colorPaletteLilacBackground2)"}}:host([data-color='pink']){color:${"var(--colorPalettePinkForeground2)"};background-color:${"var(--colorPalettePinkBackground2)"}}:host([data-color='magenta']){color:${"var(--colorPaletteMagentaForeground2)"};background-color:${"var(--colorPaletteMagentaBackground2)"}}:host([data-color='plum']){color:${"var(--colorPalettePlumForeground2)"};background-color:${"var(--colorPalettePlumBackground2)"}}:host([data-color='beige']){color:${"var(--colorPaletteBeigeForeground2)"};background-color:${"var(--colorPaletteBeigeBackground2)"}}:host([data-color='mink']){color:${"var(--colorPaletteMinkForeground2)"};background-color:${"var(--colorPaletteMinkBackground2)"}}:host([data-color='platinum']){color:${"var(--colorPalettePlatinumForeground2)"};background-color:${"var(--colorPalettePlatinumBackground2)"}}:host([data-color='anchor']){color:${"var(--colorPaletteAnchorForeground2)"};background-color:${"var(--colorPaletteAnchorBackground2)"}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Hl},${Il};transition-delay:${zc},${Oc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Hl}),${"var(--durationSlower)"};transition-delay:${zc}),${Oc})}:host([active])::before{box-shadow:${Ys};border-style:solid;border-color:${"var(--colorBrandBackgroundStatic)"}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${nl});border-width:${nl}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${il});border-width:${il}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${"var(--strokeWidthThickest)"});border-width:${"var(--strokeWidthThickest)"}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Ws}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Ks}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${"var(--shadow28)"}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Hl},${Il};transition-delay:${Lc},${Oc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Hl},${"var(--durationSlower)"};transition-delay:${Lc},${Oc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Dc=Nc.compose({name:zt.prefix+"-avatar",template:Ac,styles:Hc}),Ec={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},Mc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Rc={circular:"circular",rounded:"rounded",square:"square"},jc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var Vc=Object.defineProperty,_c=Object.getOwnPropertyDescriptor,Gc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?_c(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Vc(t,o,n),n};class Xc extends et{constructor(){super(...arguments),this.appearance=Ec.filled,this.color=Mc.brand}}function qc(e={}){return ke` ${mt(e)}<slot>${pt(e.defaultContent)}</slot>${bt(e)} `}Gc([Oe],Xc.prototype,"appearance",2),Gc([Oe],Xc.prototype,"color",2),Gc([Oe],Xc.prototype,"shape",2),Gc([Oe],Xc.prototype,"size",2),ft(Xc,vt);const Wc=qc(),Yc=cl,Kc=j.partial`
9
17
  ${At("inline-flex")} :host {
10
18
  position: relative;
11
19
  box-sizing: border-box;
12
20
  align-items: center;
13
21
  justify-content: center;
14
- font-family: ${fo};
15
- font-weight: ${ko};
16
- font-size: ${Ut};
17
- line-height: ${io};
22
+ font-family: ${ks};
23
+ font-weight: ${zs};
24
+ font-size: ${Bs};
25
+ line-height: ${Ds};
18
26
  min-width: 20px;
19
27
  height: 20px;
20
- padding-inline: calc(${Co} + ${Cc});
21
- border-radius: ${Wt};
22
- border-color: ${Di};
23
- background-color: ${oi};
24
- color: ${Qr};
28
+ padding-inline: calc(${dl} + ${Yc});
29
+ border-radius: ${fs};
30
+ border-color: ${ua};
31
+ background-color: ${"var(--colorBrandBackground)"};
32
+ color: ${bo};
33
+ contain: content;
25
34
  }
26
35
 
27
36
  ::slotted(svg) {
@@ -36,11 +45,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
36
45
  bottom: 0;
37
46
  right: 0;
38
47
  border-style: solid;
39
- border-width: ${xo};
48
+ border-width: ${al};
40
49
  border-color: inherit;
41
50
  border-radius: inherit;
42
51
  }
43
- `,zc=I.partial`
52
+ `,Uc=j.partial`
44
53
  :host([size='tiny']) {
45
54
  width: 6px;
46
55
  height: 6px;
@@ -66,9 +75,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
66
75
  :host([size='small']) {
67
76
  min-width: 16px;
68
77
  height: 16px;
69
- font-size: ${Yt};
70
- line-height: ${no};
71
- padding-inline: calc(${Fo} + ${Cc});
78
+ font-size: ${$s};
79
+ line-height: ${"var(--lineHeightBase100)"};
80
+ padding-inline: calc(${cl} + ${Yc});
72
81
  }
73
82
  :host([size='small']) ::slotted(svg) {
74
83
  font-size: 12px;
@@ -76,9 +85,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
76
85
  :host([size='large']) {
77
86
  min-width: 24px;
78
87
  height: 24px;
79
- font-size: ${Ut};
80
- line-height: ${io};
81
- padding-inline: calc(${Co} + ${Cc});
88
+ font-size: ${Bs};
89
+ line-height: ${Ds};
90
+ padding-inline: calc(${dl} + ${Yc});
82
91
  }
83
92
  :host([size='large']) ::slotted(svg) {
84
93
  font-size: 16px;
@@ -86,202 +95,263 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
86
95
  :host([size='extra-large']) {
87
96
  min-width: 32px;
88
97
  height: 32px;
89
- font-size: ${Ut};
90
- line-height: ${io};
91
- padding-inline: calc(${No} + ${Cc});
98
+ font-size: ${Bs};
99
+ line-height: ${Ds};
100
+ padding-inline: calc(${ul} + ${Yc});
92
101
  }
93
102
  :host([size='extra-large']) ::slotted(svg) {
94
103
  font-size: 20px;
95
104
  }
96
- `,Ac=I.partial`
105
+ `,Qc=j.partial`
97
106
  :host([color='danger']) {
98
- background-color: ${Ji};
99
- color: ${Qr};
107
+ background-color: ${"var(--colorPaletteRedBackground3)"};
108
+ color: ${bo};
100
109
  }
101
110
 
102
111
  :host([color='important']) {
103
- background-color: ${dr};
104
- color: ${dn};
112
+ background-color: ${Et};
113
+ color: ${Eo};
105
114
  }
106
115
 
107
116
  :host([color='informative']) {
108
- background-color: ${Sn};
109
- color: ${Br};
117
+ background-color: ${"var(--colorNeutralBackground5)"};
118
+ color: ${Kt};
110
119
  }
111
120
 
112
121
  :host([color='severe']) {
113
- background-color: ${vs};
114
- color: ${Qr};
122
+ background-color: ${"var(--colorPaletteDarkOrangeBackground3)"};
123
+ color: ${bo};
115
124
  }
116
125
 
117
126
  :host([color='subtle']) {
118
- background-color: ${dn};
119
- color: ${dr};
127
+ background-color: ${Eo};
128
+ color: ${Et};
120
129
  }
121
130
 
122
131
  :host([color='success']) {
123
- background-color: ${as};
124
- color: ${Qr};
132
+ background-color: ${"var(--colorPaletteGreenBackground3)"};
133
+ color: ${bo};
125
134
  }
126
135
 
127
136
  :host([color='warning']) {
128
- background-color: ${$s};
129
- color: ${dr};
137
+ background-color: ${"var(--colorPaletteYellowBackground3)"};
138
+ color: ${"var(--colorNeutralForeground1Static)"};
130
139
  }
131
- `,Ic=I.partial`
140
+ `,Zc=j.partial`
132
141
  :host([appearance='ghost']) {
133
- color: ${oi};
142
+ color: ${"var(--colorBrandForeground1)"};
134
143
  background-color: initial;
135
144
  }
136
145
 
137
146
  :host([appearance='ghost'][color='danger']) {
138
- color: ${ts};
147
+ color: ${"var(--colorPaletteRedForeground3)"};
139
148
  }
140
149
 
141
150
  :host([appearance='ghost'][color='important']) {
142
- color: ${dr};
151
+ color: ${Et};
143
152
  }
144
153
 
145
154
  :host([appearance='ghost'][color='informative']) {
146
- color: ${Br};
155
+ color: ${Kt};
147
156
  }
148
157
 
149
158
  :host([appearance='ghost'][color='severe']) {
150
- color: ${ys};
159
+ color: ${"var(--colorPaletteDarkOrangeForeground3)"};
151
160
  }
152
161
 
153
162
  :host([appearance='ghost'][color='subtle']) {
154
- color: ${Xr};
163
+ color: ${"var(--colorNeutralForegroundInverted)"};
155
164
  }
156
165
 
157
166
  :host([appearance='ghost'][color='success']) {
158
- color: ${ds};
167
+ color: ${"var(--colorPaletteGreenForeground3)"};
159
168
  }
160
169
 
161
170
  :host([appearance='ghost'][color='warning']) {
162
- color: ${Fs};
171
+ color: ${"var(--colorPaletteYellowForeground2)"};
163
172
  }
164
- `,Tc=I`
165
- :host([shape='square']){border-radius:${_t}}:host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${zc}
166
- ${Ac}
167
- ${Ic}
168
- ${I.partial`
173
+ `,Jc=j.partial`
169
174
  :host([appearance='outline']) {
170
175
  border-color: currentColor;
171
- color: ${_r};
176
+ color: ${"var(--colorBrandForeground1)"};
172
177
  background-color: initial;
173
178
  }
174
179
 
175
180
  :host([appearance='outline'][color='danger']) {
176
- color: ${ts};
181
+ color: ${"var(--colorPaletteRedForeground3)"};
177
182
  }
178
183
 
179
184
  :host([appearance='outline'][color='important']) {
180
- color: ${Br};
181
- border-color: ${fi};
185
+ color: ${Kt};
186
+ border-color: ${_r};
182
187
  }
183
188
 
184
189
  :host([appearance='outline'][color='informative']) {
185
- color: ${Br};
186
- border-color: ${wi};
190
+ color: ${Kt};
191
+ border-color: ${Qr};
187
192
  }
188
193
 
189
194
  :host([appearance='outline'][color='severe']) {
190
- color: ${ys};
195
+ color: ${"var(--colorPaletteDarkOrangeForeground3)"};
191
196
  }
192
197
 
193
198
  :host([appearance='outline'][color='subtle']) {
194
- color: ${qr};
199
+ color: ${"var(--colorNeutralForegroundStaticInverted)"};
195
200
  }
196
201
 
197
202
  :host([appearance='outline'][color='success']) {
198
- color: ${cs};
203
+ color: ${"var(--colorPaletteGreenForeground2)"};
199
204
  }
200
205
 
201
206
  :host([appearance='outline'][color='warning']) {
202
- color: ${Fs};
207
+ color: ${"var(--colorPaletteYellowForeground2)"};
203
208
  }
204
- `}
205
- ${I.partial`
209
+ `,ed=j.partial`
206
210
  :host([appearance='tint']) {
207
- background-color: ${di};
208
- color: ${jr};
209
- border-color: ${Ai};
211
+ background-color: ${Er};
212
+ color: ${"var(--colorBrandForeground2)"};
213
+ border-color: ${"var(--colorBrandStroke2)"};
210
214
  }
211
215
 
212
216
  :host([appearance='tint'][color='danger']) {
213
- background-color: ${Ki};
214
- color: ${Zi};
215
- border-color: ${rs};
217
+ background-color: ${"var(--colorPaletteRedBackground1)"};
218
+ color: ${"var(--colorPaletteRedForeground1)"};
219
+ border-color: ${"var(--colorPaletteRedBorder1)"};
216
220
  }
217
221
 
218
222
  :host([appearance='tint'][color='important']) {
219
- background-color: ${Br};
220
- color: ${dn};
221
- border-color: ${Di};
223
+ background-color: ${Kt};
224
+ color: ${Eo};
225
+ border-color: ${ua};
222
226
  }
223
227
 
224
228
  :host([appearance='tint'][color='informative']) {
225
- background-color: ${xn};
226
- color: ${Br};
227
- border-color: ${wi};
229
+ background-color: ${"var(--colorNeutralBackground4)"};
230
+ color: ${Kt};
231
+ border-color: ${Qr};
228
232
  }
229
233
 
230
234
  :host([appearance='tint'][color='severe']) {
231
- background-color: ${ps};
232
- color: ${bs};
233
- border-color: ${Bs};
235
+ background-color: ${"var(--colorPaletteDarkOrangeBackground1)"};
236
+ color: ${"var(--colorPaletteDarkOrangeForeground1)"};
237
+ border-color: ${"var(--colorPaletteDarkOrangeBorder1)"};
234
238
  }
235
239
 
236
240
  :host([appearance='tint'][color='subtle']) {
237
- background-color: ${dn};
238
- color: ${Br};
239
- border-color: ${wi};
241
+ background-color: ${Eo};
242
+ color: ${Kt};
243
+ border-color: ${Qr};
240
244
  }
241
245
 
242
246
  :host([appearance='tint'][color='success']) {
243
- background-color: ${is};
244
- color: ${ls};
245
- border-color: ${gs};
247
+ background-color: ${"var(--colorPaletteGreenBackground1)"};
248
+ color: ${"var(--colorPaletteGreenForeground1)"};
249
+ border-color: ${"var(--colorPaletteGreenBorder2)"};
246
250
  }
247
251
 
248
252
  :host([appearance='tint'][color='warning']) {
249
- background-color: ${ws};
250
- color: ${Fs};
251
- border-color: ${zs};
252
- }
253
- `}
254
- ${Nc}
255
- `,Lc=$c.compose({name:Ht.prefix+"-badge",template:Fc,styles:Tc});class Oc extends Ge{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!==(e=this.count)&&void 0!==e?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Xe([Ce],Oc.prototype,"appearance",void 0),Xe([Ce],Oc.prototype,"color",void 0),Xe([Ce],Oc.prototype,"shape",void 0),Xe([Ce],Oc.prototype,"size",void 0),Xe([Ce({converter:Se})],Oc.prototype,"count",void 0),Xe([Ce({attribute:"overflow-count",converter:Se})],Oc.prototype,"overflowCount",void 0),Xe([Ce({attribute:"show-zero",mode:"boolean"})],Oc.prototype,"showZero",void 0),Xe([Ce({mode:"boolean"})],Oc.prototype,"dot",void 0),Qe(Oc,We);const Hc={filled:"filled",ghost:"ghost"},Dc={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Vc={circular:"circular",rounded:"rounded"},Mc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Ec=Sc({defaultContent:fe`${e=>e.setCount()}`}),Rc=I`
256
- :host([shape='rounded']){border-radius:${Gt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${jt}}${zc}
257
- ${Ac}
258
- ${Ic}
259
- ${Nc}
260
-
261
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,_c=Oc.compose({name:Ht.prefix+"-counter-badge",template:Ec,styles:Rc});class jc extends Pt{}Xe([Ce({attribute:"align-content"})],jc.prototype,"alignContent",void 0),Xe([Ce],jc.prototype,"appearance",void 0),Xe([Ce({mode:"boolean"})],jc.prototype,"inset",void 0);const Gc={center:"center",start:"start",end:"end"},qc={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},Xc=fe`<template role="${e=>e.role}" aria-orientation="${e=>e.orientation}"><slot></slot></template>`,Wc=I`
253
+ background-color: ${"var(--colorPaletteYellowBackground1)"};
254
+ color: ${"var(--colorPaletteYellowForeground2)"};
255
+ border-color: ${"var(--colorPaletteYellowBorder1)"};
256
+ }
257
+ `,td=j`
258
+ :host([shape='square']){border-radius:${"var(--borderRadiusNone)"}}:host([shape='rounded']){border-radius:${vs}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${gs}}${Uc}
259
+ ${Qc}
260
+ ${Zc}
261
+ ${Jc}
262
+ ${ed}
263
+ ${Kc}
264
+ `,od=Xc.compose({name:zt.prefix+"-badge",template:Wc,styles:td}),rd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,ad=new WeakMap;function nd(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.initialValue="",this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return rd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return l}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),f.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),f.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!rd)return null;let e=ad.get(this);return e||(e=this.attachInternals(),ad.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null==(e=this.shadowRoot)||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null==(e=this.shadowRoot)||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Oe({mode:"boolean"})(t.prototype,"disabled"),Oe({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Oe({attribute:"current-value"})(t.prototype,"currentValue"),Oe(t.prototype,"name"),Oe({mode:"boolean"})(t.prototype,"required"),B(t.prototype,"value"),t}function id(e){class t extends(nd(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Oe({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Oe({attribute:"current-checked",converter:Ie})(o.prototype,"currentChecked"),B(o.prototype,"defaultChecked"),B(o.prototype,"checked"),o}class sd extends et{}class ld extends(nd(sd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var cd=Object.defineProperty,dd=Object.getOwnPropertyDescriptor,ud=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?dd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&cd(t,o,n),n};class hd extends ld{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()},this.handleSubmission=()=>{if(!this.form)return;const e=this.proxy.isConnected;e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e;null==(e=this.form)||e.reset()}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===ac.submit&&this.addEventListener("click",this.handleSubmission),e===ac.submit&&this.removeEventListener("click",this.handleSubmission),t===ac.reset&&this.addEventListener("click",this.handleFormReset),e===ac.reset&&this.removeEventListener("click",this.handleFormReset)}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}ud([Oe({mode:"boolean"})],hd.prototype,"autofocus",2),ud([Oe({attribute:"form"})],hd.prototype,"formId",2),ud([Oe],hd.prototype,"formaction",2),ud([Oe],hd.prototype,"formenctype",2),ud([Oe],hd.prototype,"formmethod",2),ud([Oe({mode:"boolean"})],hd.prototype,"formnovalidate",2),ud([Oe],hd.prototype,"formtarget",2),ud([Oe],hd.prototype,"type",2),ud([Oe],hd.prototype,"appearance",2),ud([Oe],hd.prototype,"shape",2),ud([Oe],hd.prototype,"size",2),ud([Oe({attribute:"icon-only",mode:"boolean"})],hd.prototype,"iconOnly",2),ud([Oe({attribute:"disabled-focusable",mode:"boolean"})],hd.prototype,"disabledFocusable",2),ud([B],hd.prototype,"defaultSlottedContent",2);class pd{}function gd(e={}){return ke`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")}>${mt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${bt(e)}</button>`}ud([Oe({attribute:"aria-expanded"})],pd.prototype,"ariaExpanded",2),ud([Oe({attribute:"aria-pressed"})],pd.prototype,"ariaPressed",2),ft(pd,ut),ft(hd,vt,pd);const vd=gd(),bd=hd.compose({name:zt.prefix+"-button",template:vd,styles:dc,shadowOptions:{delegatesFocus:!0}});class md extends et{}class fd extends(id(md)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var kd=Object.defineProperty,yd=Object.getOwnPropertyDescriptor,xd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?yd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&kd(t,o,n),n};class $d extends fd{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.disabled)switch(e.key){case" ":this.toggleChecked()}},this.clickHandler=e=>{this.disabled||this.toggleChecked()},this.proxy.setAttribute("type","checkbox")}toggleChecked(){this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}}xd([Oe],$d.prototype,"shape",2),xd([Oe],$d.prototype,"size",2),xd([Oe({attribute:"label-position"})],$d.prototype,"labelPosition",2),xd([B],$d.prototype,"defaultSlottedNodes",2),xd([B],$d.prototype,"indeterminate",2);const Bd={circular:"circular",square:"square"},wd={medium:"medium",large:"large"},Pd={before:"before",after:"after"};const Sd=function(e={}){return ke`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${pt(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:ke.partial('\n <div class="checked-indicator">\n <svg fill="currentColor"\n aria-hidden="true"\n width="1em"\n height="1em"\n viewBox="0 0 12 12"\n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:ke.partial('\n <div class="indeterminate-indicator"></div>\n')}),Cd=j`
265
+ ${At("inline-flex")}
266
+ :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${ks};font-size:${ws};line-height:${Es};color:${Kt};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${vs};outline:none;border:2px solid ${ga};box-shadow:inset 0 0 0 1px ${va}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${Bl} ${hl};fill:currentcolor;height:16px;width:16px;border:${al} solid ${_r};border-radius:${gs};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${hl};padding-bottom:${Bl};padding-top:${Bl}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${"var(--colorNeutralForegroundInverted)"};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${gs};background-color:${"var(--colorCompoundBrandForeground1)"};opacity:0}:host(:hover){color:${Vt}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:hover) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host(:active) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${Et}}:host([aria-checked='true']) .control{background-color:${zr}}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"};background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .control{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='mixed']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${"var(--colorCompoundBrandStroke)"}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${hl} ${dl};padding-top:${Bl};padding-bottom:${Bl}}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:${fs}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${"var(--colorTransparentBackgroundHover)"};border-color:${ca}}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:${ro}}:host([disabled]) .indeterminate-indicator{background-color:${ro}}`,Fd=$d.compose({name:zt.prefix+"-checkbox",template:Sd,styles:Cd});class Nd extends hd{}const Td=tc,Id=oc,Ad=rc;const Ld=function(e={}){return ke`<button class="control" part="control" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" form="${e=>e.formId}" formaction="${e=>e.formaction}" formenctype="${e=>e.formenctype}" formmethod="${e=>e.formmethod}" ?formnovalidate="${e=>e.formnovalidate}" formtarget="${e=>e.formtarget}" name="${e=>e.name}" type="${e=>e.type}" value="${e=>e.value}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-pressed="${e=>e.ariaPressed}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")}>${mt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot><slot name="description"></slot></span>${bt(e)}</button>`}(),zd=j`
267
+ ${dc}
268
+
269
+ :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${ws};line-height:${Es}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Vt};line-height:100%;font-size:${Bs};font-weight:${As}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Hover)"}}:host(:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Pressed)"}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
270
+ ::slotted([slot='description']){color:${bo}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
271
+ ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${Vt}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandPressed)"}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
272
+ ::slotted([slot='description']){color:${ro}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${ul}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${dl}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${hl}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Ps};line-height:${Ms}}:host([size='large']) ::slotted([slot='description']){font-size:${ws}}`,Od=Nd.compose({name:zt.prefix+"-compound-button",template:Ld,styles:zd,shadowOptions:{delegatesFocus:!0}});var Hd=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,Ed=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Dd(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Hd(t,o,n),n};class Md extends et{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!=(e=this.count)?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Ed([Oe],Md.prototype,"appearance",2),Ed([Oe],Md.prototype,"color",2),Ed([Oe],Md.prototype,"shape",2),Ed([Oe],Md.prototype,"size",2),Ed([Oe({converter:Le})],Md.prototype,"count",2),Ed([Oe({attribute:"overflow-count",converter:Le})],Md.prototype,"overflowCount",2),Ed([Oe({attribute:"show-zero",mode:"boolean"})],Md.prototype,"showZero",2),Ed([Oe({mode:"boolean"})],Md.prototype,"dot",2),ft(Md,vt);const Rd={filled:"filled",ghost:"ghost"},jd={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Vd={circular:"circular",rounded:"rounded"},_d={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Gd=qc({defaultContent:ke`${e=>e.setCount()}`}),Xd=j`
273
+ :host([shape='rounded']){border-radius:${vs}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${gs}}${Uc}
274
+ ${Qc}
275
+ ${Zc}
276
+ ${Kc}
277
+
278
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,qd=Md.compose({name:zt.prefix+"-counter-badge",template:Gd,styles:Xd});
279
+ /*!
280
+ * tabbable 5.2.0
281
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
282
+ */
283
+ var Wd=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].join(","),Yd="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Kd=function(e){return"INPUT"===e.tagName},Ud=function(e){return function(e){return Kd(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||e.ownerDocument,r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!a||a===e}(e)},Qd=function(e,t){return!(t.disabled||function(e){return Kd(e)&&"hidden"===e.type}(t)||function(e,t){if("hidden"===getComputedStyle(e).visibility)return!0;var o=Yd.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Yd.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t){if("non-zero-area"===t){var r=e.getBoundingClientRect(),a=r.width,n=r.height;return 0===a&&0===n}}else for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(t,e.displayCheck)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t))},Zd=function(e,t){return!(!Qd(e,t)||Ud(t)||function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t}(t)<0)},Jd=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Yd.call(e,Wd)&&Zd(t,e)};const eu="modal",tu="non-modal",ou="alert";var ru=Object.defineProperty,au=Object.getOwnPropertyDescriptor,nu=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?au(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&ru(t,o,n),n};const iu=class extends et{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=eu,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==ou&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>iu.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),f.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),f.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==ou||t==eu)}setComponent(){this.modalType==eu||this.modalType==ou?this.trapFocus=!0:this.trapFocus=!1}show(){f.enqueue(()=>{this.modalType===ou||this.modalType===eu?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===tu&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==ou&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==ou&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:Jd(t)||iu.isFocusableFastElement(t)&&iu.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>iu.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>Jd(e))}};let su=iu;nu([B],su.prototype,"dialog",2),nu([B],su.prototype,"titleAction",2),nu([B],su.prototype,"defaultTitleAction",2),nu([Oe({attribute:"aria-describedby"})],su.prototype,"ariaDescribedby",2),nu([Oe({attribute:"aria-labelledby"})],su.prototype,"ariaLabelledby",2),nu([Oe({attribute:"modal-type"})],su.prototype,"modalType",2),nu([Oe({mode:"boolean"})],su.prototype,"open",2),nu([Oe({mode:"boolean",attribute:"no-title-action"})],su.prototype,"noTitleAction",2);const lu=ke.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),cu=ke`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===ou?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===eu||e.modalType===ou?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${xe("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ne({property:"titleAction",filter:Se()})} name="title-action"></slot>${we(e=>e.modalType===tu&&0===e.titleAction.length&&!e.noTitleAction,ke`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${xe("defaultTitleAction")}>${lu}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`;function du(e){return e.split("-")[1]}function uu(e){return"y"===e?"height":"width"}function hu(e){return e.split("-")[0]}function pu(e){return["top","bottom"].includes(hu(e))?"x":"y"}function gu(e,t,o){let{reference:r,floating:a}=e;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,s=pu(t),l=uu(s),c=r[l]/2-a[l]/2,d="x"===s;let u;switch(hu(t)){case"top":u={x:n,y:r.y-a.height};break;case"bottom":u={x:n,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-a.width,y:i};break;default:u={x:r.x,y:r.y}}switch(du(t)){case"start":u[s]-=c*(o&&d?-1:1);break;case"end":u[s]+=c*(o&&d?-1:1)}return u}function vu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function bu(e,t){var o;void 0===t&&(t={});const{x:r,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),v=s[h?"floating"===u?"reference":"floating":u],b=vu(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(v)))||o?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{...i.floating,x:r,y:a}:i.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),k=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},y=vu(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:f,strategy:l}):m);return{top:(b.top-y.top+g.top)/k.y,bottom:(y.bottom-b.bottom+g.bottom)/k.y,left:(b.left-y.left+g.left)/k.x,right:(y.right-b.right+g.right)/k.x}}const mu=Math.min,fu=Math.max;function ku(e,t,o){return fu(e,mu(t,o))}const yu=["top","right","bottom","left"];yu.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const xu={left:"right",right:"left",bottom:"top",top:"bottom"};function $u(e){return e.replace(/left|right|bottom|top/g,e=>xu[e])}function Bu(e,t,o){void 0===o&&(o=!1);const r=du(e),a=pu(e),n=uu(a);let i="x"===a?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=$u(i)),{main:i,cross:$u(i)}}const wu={start:"end",end:"start"};function Pu(e){return e.replace(/start|end/g,e=>wu[e])}const Su=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=e,b=hu(r),m=hu(i)===i,f=await(null==s.isRTL?void 0:s.isRTL(l.floating)),k=u||(m||!g?[$u(i)]:function(e){const t=$u(e);return[Pu(e),t,Pu(t)]}(i));u||"none"===p||k.push(...function(e,t,o,r){const a=du(e);let n=function(e,t,o){const r=["left","right"],a=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:r:t?r:a;case"left":case"right":return t?n:i;default:return[]}}(hu(e),"start"===o,r);return a&&(n=n.map(e=>e+"-"+a),t&&(n=n.concat(n.map(Pu)))),n}(i,g,p,f));const y=[i,...k],x=await bu(t,v),$=[];let B=(null==(o=a.flip)?void 0:o.overflows)||[];if(c&&$.push(x[b]),d){const{main:e,cross:t}=Bu(r,n,f);$.push(x[e],x[t])}if(B=[...B,{placement:r,overflows:$}],!$.every(e=>e<=0)){var w,P;const e=((null==(w=a.flip)?void 0:w.index)||0)+1,t=y[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let o=null==(P=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!o)switch(h){case"bestFit":{var S;const e=null==(S=B.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=i}if(r!==o)return{reset:{placement:o}}}return{}}}};function Cu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fu(e){return yu.some(t=>e[t]>=0)}const Nu=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:a}=t;switch(o){case"referenceHidden":{const e=Cu(await bu(t,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Fu(e)}}}case"escaped":{const e=Cu(await bu(t,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:e,escaped:Fu(e)}}}default:return{}}}}};const Tu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await bu(t,l),u=pu(hu(a)),h=function(e){return"x"===e?"y":"x"}(u);let p=c[u],g=c[h];if(n){const e="y"===u?"bottom":"right";p=ku(p+d["y"===u?"top":"left"],p,p-d[e])}if(i){const e="y"===h?"bottom":"right";g=ku(g+d["y"===h?"top":"left"],g,g-d[e])}const v=s.fn({...t,[u]:p,[h]:g});return{...v,data:{x:v.x-o,y:v.y-r}}}}},Iu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:a,elements:n}=t,{apply:i=(()=>{}),...s}=e,l=await bu(t,s),c=hu(o),d=du(o),u="x"===pu(o),{width:h,height:p}=r.floating;let g,v;"top"===c||"bottom"===c?(g=c,v=d===(await(null==a.isRTL?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(v=c,g="end"===d?"top":"bottom");const b=p-l[g],m=h-l[v];let f=b,k=m;if(u?k=mu(h-l.right-l.left,m):f=mu(p-l.bottom-l.top,b),!t.middlewareData.shift&&!d){const e=fu(l.left,0),t=fu(l.right,0),o=fu(l.top,0),r=fu(l.bottom,0);u?k=h-2*(0!==e||0!==t?e+t:fu(l.left,l.right)):f=p-2*(0!==o||0!==r?o+r:fu(l.top,l.bottom))}await i({...t,availableWidth:k,availableHeight:f});const y=await a.getDimensions(n.floating);return h!==y.width||p!==y.height?{reset:{rects:!0}}:{}}}};function Au(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Lu(e){return Au(e).getComputedStyle(e)}const zu=Math.min,Ou=Math.max,Hu=Math.round;function Du(e){const t=Lu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const a=e.offsetWidth,n=e.offsetHeight,i=Hu(o)!==a||Hu(r)!==n;return i&&(o=a,r=n),{width:o,height:r,fallback:i}}function Eu(e){return _u(e)?(e.nodeName||"").toLowerCase():""}let Mu;function Ru(){if(Mu)return Mu;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Mu=e.brands.map(e=>e.brand+"/"+e.version).join(" "),Mu):navigator.userAgent}function ju(e){return e instanceof Au(e).HTMLElement}function Vu(e){return e instanceof Au(e).Element}function _u(e){return e instanceof Au(e).Node}function Gu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Au(e).ShadowRoot||e instanceof ShadowRoot)}function Xu(e){const{overflow:t,overflowX:o,overflowY:r,display:a}=Lu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function qu(e){return["table","td","th"].includes(Eu(e))}function Wu(e){const t=/firefox/i.test(Ru()),o=Lu(e),r=o.backdropFilter||o.WebkitBackdropFilter;return"none"!==o.transform||"none"!==o.perspective||!!r&&"none"!==r||t&&"filter"===o.willChange||t&&!!o.filter&&"none"!==o.filter||["transform","perspective"].some(e=>o.willChange.includes(e))||["paint","layout","strict","content"].some(e=>{const t=o.contain;return null!=t&&t.includes(e)})}function Yu(){return/^((?!chrome|android).)*safari/i.test(Ru())}function Ku(e){return["html","body","#document"].includes(Eu(e))}function Uu(e){return Vu(e)?e:e.contextElement}const Qu={x:1,y:1};function Zu(e){const t=Uu(e);if(!ju(t))return Qu;const o=t.getBoundingClientRect(),{width:r,height:a,fallback:n}=Du(t);let i=(n?Hu(o.width):o.width)/r,s=(n?Hu(o.height):o.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function Ju(e,t,o,r){var a,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const i=e.getBoundingClientRect(),s=Uu(e);let l=Qu;t&&(r?Vu(r)&&(l=Zu(r)):l=Zu(e));const c=s?Au(s):window,d=Yu()&&o;let u=(i.left+(d&&(null==(a=c.visualViewport)?void 0:a.offsetLeft)||0))/l.x,h=(i.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=i.width/l.x,g=i.height/l.y;if(s){const e=Au(s),t=r&&Vu(r)?Au(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Zu(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,u*=e.x,h*=e.y,p*=e.x,g*=e.y,u+=t.x,h+=t.y,o=Au(o).frameElement}}return{width:p,height:g,top:h,right:u+p,bottom:h+g,left:u,x:u,y:h}}function eh(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function th(e){return Vu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function oh(e){return Ju(eh(e)).left+th(e).scrollLeft}function rh(e){if("html"===Eu(e))return e;const t=e.assignedSlot||e.parentNode||Gu(e)&&e.host||eh(e);return Gu(t)?t.host:t}function ah(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=rh(t);return Ku(o)?o.ownerDocument.body:ju(o)&&Xu(o)?o:e(o)}(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),n=Au(r);return a?t.concat(n,n.visualViewport||[],Xu(r)?r:[]):t.concat(r,ah(r))}function nh(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=Au(e),r=eh(e),a=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=Yu();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:n,height:i,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=eh(e),o=th(e),r=e.ownerDocument.body,a=Ou(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=Ou(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+oh(e);const s=-o.scrollTop;return"rtl"===Lu(r).direction&&(i+=Ou(t.clientWidth,r.clientWidth)-a),{width:a,height:n,x:i,y:s}}(eh(e));else if(Vu(t))r=function(e,t){const o=Ju(e,!0,"fixed"===t),r=o.top+e.clientTop,a=o.left+e.clientLeft,n=ju(e)?Zu(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:r*n.y}}(t,o);else{const o={...t};if(Yu()){var a,n;const t=Au(e);o.x-=(null==(a=t.visualViewport)?void 0:a.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return vu(r)}function ih(e,t){return ju(e)&&"fixed"!==Lu(e).position?t?t(e):e.offsetParent:null}function sh(e,t){const o=Au(e);let r=ih(e,t);for(;r&&qu(r)&&"static"===Lu(r).position;)r=ih(r,t);return r&&("html"===Eu(r)||"body"===Eu(r)&&"static"===Lu(r).position&&!Wu(r))?o:r||function(e){let t=rh(e);for(;ju(t)&&!Ku(t);){if(Wu(t))return t;t=rh(t)}return null}(e)||o}function lh(e,t,o){const r=ju(t),a=eh(t),n=Ju(e,!0,"fixed"===o,t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==Eu(t)||Xu(a))&&(i=th(t)),ju(t)){const e=Ju(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=oh(a));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const ch={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:a}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=ah(e).filter(e=>Vu(e)&&"body"!==Eu(e)),a=null;const n="fixed"===Lu(e).position;let i=n?rh(e):e;for(;Vu(i)&&!Ku(i);){const e=Lu(i),t=Wu(i);(n?t||a:t||"static"!==e.position||!a||!["absolute","fixed"].includes(a.position))?a=e:r=r.filter(e=>e!==i),i=rh(i)}return t.set(e,r),r}(t,this._c):[].concat(o),r],i=n[0],s=n.reduce((e,o)=>{const r=nh(t,o,a);return e.top=Ou(r.top,e.top),e.right=zu(r.right,e.right),e.bottom=zu(r.bottom,e.bottom),e.left=Ou(r.left,e.left),e},nh(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const a=ju(o),n=eh(o);if(o===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==Eu(o)||Xu(n))&&(i=th(o)),ju(o))){const e=Ju(o);s=Zu(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:Vu,getDimensions:function(e){return ju(e)?Du(e):e.getBoundingClientRect()},getOffsetParent:sh,getDocumentElement:eh,getScale:Zu,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const a=this.getOffsetParent||sh,n=this.getDimensions;return{reference:lh(t,await a(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Lu(e).direction};function dh(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:s=!1}=r,l=a&&!s,c=l||n?[...Vu(e)?ah(e):e.contextElement?ah(e.contextElement):[],...ah(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,u=null;if(i){let r=!0;u=new ResizeObserver(()=>{r||o(),r=!1}),Vu(e)&&!s&&u.observe(e),Vu(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t)}let h=s?Ju(e):null;return s&&function t(){const r=Ju(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||o(),h=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(d)}}const uh=(e,t,o)=>{const r=new Map,a={platform:ch,...o},n={...a.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=o,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=gu(c,r,l),h=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:v}=s[o],{x:b,y:m,data:f,reset:k}=await v({x:d,y:u,initialPlacement:r,placement:h,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=m?m:u,p={...p,[n]:{...p[n],...f}},k&&g<=50&&(g++,"object"==typeof k&&(k.placement&&(h=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):k.rects),({x:d,y:u}=gu(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})},hh=j`
284
+ ${At("flex")}
285
+
286
+ :host{--dialog-backdrop:${"var(--colorBackgroundOverlay)"}}dialog{background:${Eo};border:${al} solid ${ua};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${"var(--borderRadiusXLarge)"};box-shadow:${"var(--shadow64)"};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${"var(--spacingVerticalXXL)"} ${"var(--spacingHorizontalXXL)"}}.title{font-size:${Ss};line-height:${"var(--lineHeightBase500)"};font-weight:${zs};font-family:${ks};color:${Et};margin-bottom:${Bl};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${Et};font-size:${ws};line-height:${Es};font-weight:${As};font-family:${ks};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${Bl};padding-top:${"var(--spacingVerticalXXL)"};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${hl};padding-top:${Bl};box-sizing:border-box}}`,ph=su.compose({name:zt.prefix+"-dialog",template:cu,styles:hh}),gh={separator:"separator",presentation:"presentation"},vh=tt,bh={center:"center",start:"start",end:"end"},mh={strong:"strong",brand:"brand",subtle:"subtle",default:"default"};var fh=Object.defineProperty,kh=Object.getOwnPropertyDescriptor,yh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?kh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&fh(t,o,n),n};class xh extends et{constructor(){super(...arguments),this.role=gh.separator,this.orientation=vh.horizontal}}yh([Oe],xh.prototype,"role",2),yh([Oe],xh.prototype,"orientation",2),yh([Oe({attribute:"align-content"})],xh.prototype,"alignContent",2),yh([Oe],xh.prototype,"appearance",2),yh([Oe({mode:"boolean"})],xh.prototype,"inset",2);const $h=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==gh.presentation?e.orientation:void 0}"><slot></slot></template>`,Bh=j`
287
+ ${At("flex")}
288
+
289
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${Qr};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${al}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Vt};font-family:${ks};font-size:${Bs};font-weight:${As};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${al};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${Wr}}:host([appearance='strong']) ::slotted(*){color:${Et}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${"var(--colorBrandStroke1)"}}:host([appearance='brand']) ::slotted(*){color:${"var(--colorBrandForeground1)"}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${"var(--colorNeutralStroke3)"}}:host([appearance='subtle']) ::slotted(*){color:${Kt}}`.withBehaviors(It(j`
290
+ :host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`)),wh=xh.compose({name:zt.prefix+"-divider",template:$h,styles:Bh});var Ph=Object.defineProperty,Sh=Object.getOwnPropertyDescriptor,Ch=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Sh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ph(t,o,n),n};class Fh extends et{}Ch([Oe({mode:"boolean"})],Fh.prototype,"block",2),Ch([Oe({mode:"boolean"})],Fh.prototype,"bordered",2),Ch([Oe({mode:"boolean"})],Fh.prototype,"shadow",2),Ch([Oe],Fh.prototype,"fit",2),Ch([Oe],Fh.prototype,"shape",2);const Nh={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Th={circular:"circular",rounded:"rounded",square:"square"},Ih=ke`<slot></slot>`,Ah=j`
291
+ :host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${al} solid ${Qr}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Ws}}:host([shape='circular']) ::slotted(img){border-radius:${fs}}:host([shape='rounded']) ::slotted(img){border-radius:${vs}}`,Lh=Fh.compose({name:zt.prefix+"-image",template:Ih,styles:Ah});var zh=Object.defineProperty,Oh=Object.getOwnPropertyDescriptor,Hh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Oh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&zh(t,o,n),n};class Dh extends et{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Hh([Oe],Dh.prototype,"size",2),Hh([Oe],Dh.prototype,"weight",2),Hh([Oe({mode:"boolean"})],Dh.prototype,"disabled",2),Hh([Oe({mode:"boolean"})],Dh.prototype,"required",2);const Eh=j`
292
+ ${At("flex")}
293
+
294
+ :host{font-family:${ks};font-size:${ws};line-height:${Es};font-weight:${As};color:${Et}}.asterisk{color:${"var(--colorPaletteRedForeground1)"};margin-left:${dl}}:host([size='small']){font-size:${Bs};line-height:${Ds}}:host([size='large']){font-size:${Ps};line-height:${Ms};font-weight:${zs}}:host([weight='semibold']){font-weight:${zs}}:host([disabled]),:host([disabled]) .asterisk{color:${ro}}`;const Mh=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Rh=Dh.compose({name:zt.prefix+"-label",template:Mh,styles:Eh});var jh=Object.defineProperty,Vh=Object.getOwnPropertyDescriptor,_h=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Vh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&jh(t,o,n),n};class Gh extends et{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),f.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&f.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&f.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&f.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=dh(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:a}=await uh(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[Su(),Iu({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),Nu()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${a}px)`})}))}addListeners(){var e,t,o,r,a;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,a;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}_h([B,Oe({attribute:"open-on-hover",mode:"boolean"})],Gh.prototype,"openOnHover",2),_h([B,Oe({attribute:"open-on-context",mode:"boolean"})],Gh.prototype,"openOnContext",2),_h([B,Oe({attribute:"close-on-scroll",mode:"boolean"})],Gh.prototype,"closeOnScroll",2),_h([B,Oe({attribute:"persist-on-item-click",mode:"boolean"})],Gh.prototype,"persistOnItemClick",2),_h([B,Oe({mode:"boolean"})],Gh.prototype,"open",2),_h([B],Gh.prototype,"slottedMenuList",2),_h([B],Gh.prototype,"slottedTriggers",2);const Xh=ke`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Ne({property:"slottedTriggers",filter:Se()})}></slot><span ${xe("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Ne({property:"slottedMenuList",filter:Se()})}></slot></span></template>`,qh=j`
295
+ :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Wh=Gh.compose({name:zt.prefix+"-menu",template:Xh,styles:qh});class Yh extends hd{}const Kh=tc,Uh=oc,Qh=rc,Zh=gd({end:ke.partial('<svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z" fill="currentColor"></path></svg>')}),Jh=Yh.compose({name:zt.prefix+"-menu-button",template:Zh,styles:dc,shadowOptions:{delegatesFocus:!0}}),ep={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},tp={[ep.menuitem]:"menuitem",[ep.menuitemcheckbox]:"menuitemcheckbox",[ep.menuitemradio]:"menuitemradio"};var op=Object.defineProperty,rp=Object.getOwnPropertyDescriptor,ap=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?rp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&op(t,o,n),n};class np extends et{constructor(){super(...arguments),this.role=ep.menuitem,this.checked=!1,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case"Enter":case" ":return this.invoke(),!1;case"ArrowRight":return this.expanded&&this.submenu?this.submenu.focus():this.expandAndFocus(),!1;case"Escape":if(this.expanded)return this.closeSubMenu(),!1;break;case"ArrowLeft":if(this.expanded)return this.closeSubMenu(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.submenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.closeSubMenu=()=>{this.expanded=!1,this.focus()},this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case ep.menuitemcheckbox:this.checked=!this.checked;break;case ep.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case ep.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null==(e=this.cleanup)||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null==(e=this.cleanup)||e.call(this),this.submenu&&this.expanded&&f.enqueue(()=>{this.cleanup=dh(this,this.submenuContainer,async()=>{const e=["left-start","right-start"],{x:t,y:o}=await uh(this,this.submenuContainer,{middleware:[Tu(),Iu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),Su({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})})}}ap([Oe({mode:"boolean"})],np.prototype,"disabled",2),ap([Oe({mode:"boolean"})],np.prototype,"expanded",2),ap([Oe],np.prototype,"role",2),ap([Oe({mode:"boolean"})],np.prototype,"checked",2),ap([Oe({mode:"boolean"})],np.prototype,"hidden",2),ap([B],np.prototype,"slottedSubmenu",2),ap([B],np.prototype,"submenu",2),ft(np,vt);const ip=ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>');const sp=function(e={}){return ke`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==ep.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${we(e=>e.role===ep.menuitemcheckbox,ke`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${pt(e.checkboxIndicator)}</slot></span></div>`)} ${we(e=>e.role===ep.menuitemradio,ke`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${pt(e.radioIndicator)}</slot></span></div>`)}</div>${mt(e)}<span class="content" part="content"><slot></slot></span>${bt(e)} ${we(e=>e.hasSubmenu,ke`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${pt(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${xe("submenuContainer")}><slot name="submenu" ${Ne({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:ip,expandCollapseGlyph:ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:ip}),lp=j`
296
+ ${At("grid")}
297
+
298
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${Eo};font:${As} ${ws} / ${Es} ${ks};border-radius:${vs};color:${Vt};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${"var(--colorNeutralBackground1Hover)"}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${Vt}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Ss};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Kt};font:${As} ${Bs} / ${Ds} ${ks};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${"var(--colorNeutralForeground2Hover)"}}:host([icon]:hover) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active){background-color:${"var(--colorNeutralBackground1Selected)"}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${"var(--colorNeutralForeground2Pressed)"}}:host(:active) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${ro}}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`,cp=np.compose({name:zt.prefix+"-menu-item",template:sp,styles:lp});var dp=Object.defineProperty,up=Object.getOwnPropertyDescriptor;const hp=class extends et{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&ot(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===ep.menuitemradio&&(t.checked=!1),"separator"===o)break}const e=this.menuItems.length-1;for(let t=o+1;t<=e;++t){const e=this.menuItems[t],o=e.getAttribute("role");if(o===ep.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof np||ot(e)&&e.getAttribute("role")in hp.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),f.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),$.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==ep.menuitem?o?2:1:o?1:0}setItems(){var e;const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(e=>$.getNotifier(e).subscribe(this,"hidden"));const o=t.filter(e=>!e.hasAttribute("hidden"));this.menuItems=o;const r=this.menuItems.filter(this.isMenuItemElement);r.length&&(this.focusIndex=0),r.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)});const a=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==a||a.forEach((e,t)=>{const o=null==a?void 0:a.reduce((e,t)=>{const o=hp.elementIndent(t);return Math.max(e,o)},0);e instanceof np&&e.setAttribute("data-indent",""+o)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}};let pp=hp;pp.focusableElementRoles=ep,((e,t,o,r)=>{for(var a,n=r>1?void 0:r?up(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&dp(t,o,n)})([B],pp.prototype,"items",2);const gp=ke`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ne("items")}></slot></template>`,vp=j`
262
299
  ${At("flex")}
263
300
 
264
- :host::after,:host::before{align-self:center;background:${wi};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${xo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${pr};font-family:${fo};font-size:${Ut};font-weight:${mo};margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:${xo};min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:${yi}}:host([appearance='strong']) ::slotted(*){color:${dr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${zi}}:host([appearance='brand']) ::slotted(*){color:${_r}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Pi}}:host([appearance='subtle']) ::slotted(*){color:${Br}}`,Yc=jc.compose({name:Ht.prefix+"-divider",template:Xc,styles:Wc});class Uc extends Ge{}Xe([Ce({mode:"boolean"})],Uc.prototype,"block",void 0),Xe([Ce({mode:"boolean"})],Uc.prototype,"bordered",void 0),Xe([Ce({mode:"boolean"})],Uc.prototype,"shadow",void 0),Xe([Ce],Uc.prototype,"fit",void 0),Xe([Ce],Uc.prototype,"shape",void 0);const Kc={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Qc={circular:"circular",rounded:"rounded",square:"square"},Jc=fe`<slot></slot>`,Zc=I`
265
- :host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:${xo} solid ${wi}}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:${Ml}}:host([shape='circular']) ::slotted(img){border-radius:${Wt}}`,ed=Uc.compose({name:Ht.prefix+"-image",template:Jc,styles:Zc});class td extends Ft{constructor(){super(...arguments),this.validationState=null}}Xe([Ce],td.prototype,"thickness",void 0),Xe([Ce],td.prototype,"shape",void 0),Xe([Ce({attribute:"validation-state"})],td.prototype,"validationState",void 0);const od={medium:"medium",large:"large"},rd={rounded:"rounded",square:"square"},nd={success:"success",warning:"warning",error:"error"},id=I`
301
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${Eo};border:1px solid ${ua};border-radius:${vs};box-shadow:${Ks};padding:4px;row-gap:2px}`,bp=pp.compose({name:zt.prefix+"-menu-list",template:gp,styles:vp});var mp=Object.defineProperty,fp=Object.getOwnPropertyDescriptor,kp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?fp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&mp(t,o,n),n};class yp extends et{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}kp([Oe({converter:Le})],yp.prototype,"value",2),kp([Oe({converter:Le})],yp.prototype,"min",2),kp([Oe({converter:Le})],yp.prototype,"max",2),kp([B],yp.prototype,"percentComplete",2);var xp=Object.defineProperty,$p=Object.getOwnPropertyDescriptor,Bp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?$p(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&xp(t,o,n),n};class wp extends yp{constructor(){super(...arguments),this.validationState=null}}Bp([Oe],wp.prototype,"thickness",2),Bp([Oe],wp.prototype,"shape",2),Bp([Oe({attribute:"validation-state"})],wp.prototype,"validationState",2);const Pp={medium:"medium",large:"large"},Sp={rounded:"rounded",square:"square"},Cp={success:"success",warning:"warning",error:"error"},Fp=j`
266
302
  ${At("flex")}
267
303
 
268
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${Gt}}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${Ji}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
269
- to right,${Qi} 0%,${Ji} 50%,${Qi}
270
- )}:host([validation-state='warning']) .determinate{background-color:${vs}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
271
- to right,${fs} 0%,${vs} 50%,${fs}
272
- )}:host([validation-state='success']) .determinate{background-color:${as}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
273
- to right,${ss} 0%,${as} 50%,${ss}
274
- )}.progress{background-color:${zn};border-radius:${Gt};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${si};border-radius:${Gt};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
275
- to right,${di} 0%,${si} 50%,${di}
276
- );border-radius:${Gt};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
277
- to right,${di} 0%,${si} 50%,${di}
278
- );border-radius:${Gt};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`,sd=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${me(e=>"number"!=typeof e.value,fe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${qe(e.indeterminateIndicator1)} ${qe(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),ad=td.compose({name:Ht.prefix+"-progress-bar",template:sd,styles:id});class ld extends St{}Xe([Ce],ld.prototype,"size",void 0),Xe([Ce],ld.prototype,"appearance",void 0);const cd={primary:"primary",inverted:"inverted"},dd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},hd=function(e={}){return fe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${me(e=>"number"==typeof e.value,fe`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`)} ${me(e=>"number"!=typeof e.value,fe`<slot name="indeterminate">${qe(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),ud=I`
304
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${vs};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${"var(--colorPaletteRedBackground3)"}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
305
+ to right,${"var(--colorPaletteRedBackground2)"} 0%,${"var(--colorPaletteRedBackground3)"} 50%,${"var(--colorPaletteRedBackground2)"}
306
+ )}:host([validation-state='warning']) .determinate{background-color:${"var(--colorPaletteDarkOrangeBackground3)"}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
307
+ to right,${"var(--colorPaletteDarkOrangeBackground2)"} 0%,${"var(--colorPaletteDarkOrangeBackground3)"} 50%,${"var(--colorPaletteDarkOrangeBackground2)"}
308
+ )}:host([validation-state='success']) .determinate{background-color:${"var(--colorPaletteGreenBackground3)"}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
309
+ to right,${"var(--colorPaletteGreenBackground2)"} 0%,${"var(--colorPaletteGreenBackground3)"} 50%,${"var(--colorPaletteGreenBackground2)"}
310
+ )}.progress{background-color:${"var(--colorNeutralBackground6)"};border-radius:${vs};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${zr};border-radius:${vs};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
311
+ to right,${Er} 0%,${zr} 50%,${Er}
312
+ );border-radius:${vs};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
313
+ to right,${Er} 0%,${zr} 50%,${Er}
314
+ );border-radius:${vs};animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(It(j`
315
+ .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`));const Np=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ke`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,ke`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${pt(e.indeterminateIndicator1)} ${pt(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Tp=wp.compose({name:zt.prefix+"-progress-bar",template:Np,styles:Fp});class Ip extends et{}class Ap extends(id(Ip)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Lp=Object.defineProperty,zp=Object.getOwnPropertyDescriptor,Op=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?zp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Lp(t,o,n),n};class Hp extends Ap{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!=(e=this.defaultChecked)&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null==(e=this.parentElement)?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!=(t=this.defaultChecked)&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null==(t=this.radioGroup)?void 0:t.readOnly)||(this.checked=!0))}return!0}}Op([B],Hp.prototype,"name",2),Op([B],Hp.prototype,"defaultSlottedNodes",2);const Dp=j`
316
+ ${At("inline-grid")}
317
+
318
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${dl};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Kt});padding-inline-end:${hl};--control-border-color:${_r};--checked-indicator-background-color:${"var(--colorCompoundBrandForeground1)"};--state-color:${Kt}}:host([disabled]){--control-border-color:${ro};--checked-indicator-background-color:${ro};--state-color:${ro}}.label{cursor:pointer;font-family:${ks};font-size:${ws};font-weight:${As};line-height:${Es}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${_r});border-radius:${fs};display:flex;height:16px;justify-content:center;margin:${Bl} ${hl};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${fs};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${Vt}}:host(:focus-visible){border-radius:${gs};box-shadow:0 0 0 3px ${va};outline:1px solid ${ga}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${_r})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${"var(--colorCompoundBrandForeground1)"})}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){color:${ro};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${ro}}:host([disabled]) .checked-indicator{background:${ro}}`.withBehaviors(It(j`
319
+ :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`));const Ep=function(e={}){return ke`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null==(t=e.defaultSlottedNodes)?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label></template>`}({checkedIndicator:ke`<div part="checked-indicator" class="checked-indicator"></div>`}),Mp=Hp.compose({name:zt.prefix+"-radio",template:Ep,styles:Dp}),Rp=tt;var jp=Object.defineProperty,Vp=Object.getOwnPropertyDescriptor,_p=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Vp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&jp(t,o,n),n};class Gp extends et{constructor(){super(...arguments),this.stacked=!1,this.orientation=Rp.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e instanceof Hp&&e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null==(e=this.nextElementSibling)||e.focus()},this.moveLeftOffGroup=()=>{var e;null==(e=this.previousElementSibling)||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,a=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===a&&r===a||a===t.length-1&&a===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{o instanceof Hp&&e!==this.focusedRadio&&e.setAttribute("tabindex","-1")}))),!0},this.handleDisabledClick=e=>{if(!this.disabled)return!0;e.preventDefault()},this.clickHandler=e=>{if(this.disabled)return;e.preventDefault();const t=e.target;t&&t instanceof Hp&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in rt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===at.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===at.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e instanceof Hp&&e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!=(e=this.parentToolbar)&&e}get isInsideFoundationToolbar(){var e;return!!(null==(e=this.parentToolbar)?void 0:e.hasOwnProperty("$fastController"))}connectedCallback(){super.connectedCallback(),this.direction=ht(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e instanceof Hp&&e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{e instanceof Hp&&(void 0!==this.name&&e.setAttribute("name",this.name),this.value&&this.value===e.value?(this.selectedRadio=e,this.focusedRadio=e,e.checked=!0,e.setAttribute("tabindex","0"),o=!0):(this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"),e.checked=!1),e.addEventListener("change",this.radioChangeHandler))}),void 0===this.value&&this.slottedRadioButtons.length>0){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=null!==e?e.length:0;if(t>0&&!o){const o=e[t-1];o.checked=!0,this.focusedRadio=o,o.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}_p([Oe({mode:"boolean"})],Gp.prototype,"stacked",2),_p([Oe({attribute:"readonly",mode:"boolean"})],Gp.prototype,"readOnly",2),_p([Oe({attribute:"disabled",mode:"boolean"})],Gp.prototype,"disabled",2),_p([Oe],Gp.prototype,"name",2),_p([Oe],Gp.prototype,"value",2),_p([Oe],Gp.prototype,"orientation",2),_p([B],Gp.prototype,"childItems",2),_p([B],Gp.prototype,"slottedRadioButtons",2);const Xp=j`
279
320
  ${At("flex")}
280
321
 
281
- :host{display:flex;align-items:center;height:32px;width:32px}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${Ai};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${zi};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${Si}}.indeterminate-indicator-1{stroke:${zi};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${Si}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,gd=ld.compose({name:Ht.prefix+"-spinner",template:hd,styles:ud});class pd extends zt{}Xe([Ce({attribute:"label-position"})],pd.prototype,"labelPosition",void 0);const fd={above:"above",after:"after",before:"before"},vd=function(e={}){return fe`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${xe("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${qe(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),bd=I`
322
+ :host{align-items:flex-start;flex-direction:column;row-gap:${Bl}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${ro};--checked-indicator-background-color:${ro};--state-color:${ro}}::slotted([slot='label']){color:${Et};padding:${Bl} ${hl} ${Bl} ${dl};font:${As} ${ws} / ${Es} ${ks};cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:${hl}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${hl};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;const qp=ke`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===Rp.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ne({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,Wp=Gp.compose({name:zt.prefix+"-radio-group",template:qp,styles:Xp}),Yp={small:"small",medium:"medium"},Kp=tt,Up={singleValue:"single-value"};class Qp extends et{}class Zp extends(nd(Qp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function Jp(e,t,o,r){let a=nt(0,1,(e-t)/(o-t));return r===at.rtl&&(a=1-a),a}var eg=Object.defineProperty,tg=Object.getOwnPropertyDescriptor,og=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?tg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&eg(t,o,n),n};class rg extends Zp{constructor(){super(...arguments),this.direction=at.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=tt.horizontal,this.mode=Up.singleValue,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),e&&(this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=null!==e?window.addEventListener:window.removeEventListener;t("mouseup",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove,{passive:!0}),t("touchmove",this.handleMouseMove,{passive:!0}),t("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===tt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{if(null===e||!this.disabled&&!this.readOnly){const t=null!==e?window.addEventListener:window.removeEventListener,o=null!==e?document.addEventListener:document.removeEventListener;if(t("mouseup",this.handleWindowMouseUp),o("mouseleave",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove),e){this.setupTrackConstraints();const t=this.orientation===tt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}}handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
323
+ :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=nt(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=ht(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction),$.getNotifier(this).subscribe(this,"max"),$.getNotifier(this).subscribe(this,"min"),$.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),$.getNotifier(this).unsubscribe(this,"max"),$.getNotifier(this).unsubscribe(this,"min"),$.getNotifier(this).unsubscribe(this,"step")}increment(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-Jp(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===tt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=Jp(e,this.orientation===tt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===tt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}og([Oe],rg.prototype,"size",2),og([Oe({attribute:"readonly",mode:"boolean"})],rg.prototype,"readOnly",2),og([B],rg.prototype,"direction",2),og([B],rg.prototype,"isDragging",2),og([B],rg.prototype,"position",2),og([B],rg.prototype,"trackWidth",2),og([B],rg.prototype,"trackMinWidth",2),og([B],rg.prototype,"trackHeight",2),og([B],rg.prototype,"trackLeft",2),og([B],rg.prototype,"trackMinHeight",2),og([B],rg.prototype,"valueTextFormatter",2),og([Oe({converter:Le})],rg.prototype,"min",2),og([Oe({converter:Le})],rg.prototype,"max",2),og([Oe({converter:Le})],rg.prototype,"step",2),og([Oe],rg.prototype,"orientation",2),og([Oe],rg.prototype,"mode",2);const ag=j`
324
+ ${At("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:${gs};touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt ${va};outline:1px solid ${ga}}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:${"var(--colorBrandBackground)"};border-radius:${fs};box-shadow:inset 0 0 0 var(--thumb-padding) ${Eo},0 0 0 1px ${Wr}}.thumb-cursor:hover{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}.thumb-cursor:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([disabled]) .thumb-cursor{background-color:${ro};box-shadow:inset 0 0 0 var(--thumb-padding) ${Eo},0 0 0 1px ${ca}}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:${_r};border-radius:${vs};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${vs};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
325
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Eo} calc(var(--step-rate) - 1px),${Eo} var(--step-rate)
326
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${zr};position:absolute;height:100%;left:0;border-radius:${vs}}:host([disabled]) .track-start{background-color:${ro}}:host(:hover) .track-start{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([disabled]:hover) .track-start{background-color:${ro}}.track-start:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(It(j`
327
+ .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`));const ng=function(e={}){return ke`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${xe("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${xe("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}" @mousedown="${(e,t)=>e.handleThumbMouseDown(t.event)}" @touchstart="${(e,t)=>e.handleThumbMouseDown(t.event)}"><slot name="thumb">${pt(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),ig=rg.compose({name:zt.prefix+"-slider",template:ng,styles:ag});class sg extends yp{}var lg=Object.defineProperty,cg=Object.getOwnPropertyDescriptor,dg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?cg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&lg(t,o,n),n};class ug extends sg{}dg([Oe],ug.prototype,"size",2),dg([Oe],ug.prototype,"appearance",2);const hg={primary:"primary",inverted:"inverted"},pg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"};const gg=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ke`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,ke`<slot name="indeterminate">${pt(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),vg=j`
328
+ ${At("flex")}
329
+
330
+ :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${"var(--colorBrandStroke2)"};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}.indeterminate-indicator-1{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,bg=ug.compose({name:zt.prefix+"-spinner",template:gg,styles:vg});class mg extends et{}class fg extends(id(mg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var kg=Object.defineProperty,yg=Object.getOwnPropertyDescriptor,xg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?yg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&kg(t,o,n),n};class $g extends fg{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case"Enter":case" ":this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}xg([Oe({attribute:"label-position"})],$g.prototype,"labelPosition",2),xg([Oe({attribute:"readonly",mode:"boolean"})],$g.prototype,"readOnly",2),xg([B],$g.prototype,"defaultSlottedNodes",2);const Bg={above:"above",after:"after",before:"before"};const wg=function(e={}){return ke`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${pt(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Pg=j`
331
+ ${At("inline-flex")}
332
+
333
+ :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${Et};line-height:${Es};font-size:${ws};font-weight:${As};font-family:${ks};padding:${"var(--spacingVerticalXS)"} ${dl};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${cl};box-sizing:border-box;width:40px;height:20px;background-color:${fr};border:1px solid ${_r};border-radius:${fs};outline:none;cursor:pointer;margin:${Bl} ${hl}}:host(:hover) .switch{background:none;border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .switch{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${ca};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${zr}}:host([aria-checked='true']:hover) .switch{background:${"var(--colorCompoundBrandBackgroundHover)"};border-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .switch{background:${"var(--colorCompoundBrandBackgroundPressed)"};border-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='true'][disabled]) .switch{background:${"var(--colorNeutralBackgroundDisabled)"};border-color:${ca}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Kt};transition-duration:${"var(--durationNormal)"};transition-timing-function:${Gl};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${"var(--colorNeutralForegroundInverted)"};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedHover)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedPressed)"}}:host(:hover) .checked-indicator{background-color:${"var(--colorNeutralForeground3Hover)"}}:host(:active) .checked-indicator{background-color:${"var(--colorNeutralForeground3Pressed)"}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${ro}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${ro}}:host(:focus-visible){border-color:${ua};outline:${nl} solid ${ua};box-shadow:${Ws},0 0 0 2px ${va}}`.withBehaviors(It(j`
334
+ .switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`)),Sg=$g.compose({name:zt.prefix+"-switch",template:wg,styles:Pg}),Cg={subtle:"subtle",transparent:"transparent"},Fg={small:"small",medium:"medium",large:"large"},Ng=tt;var Tg=Object.defineProperty,Ig=Object.getOwnPropertyDescriptor,Ag=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ig(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Tg(t,o,n),n};class Lg extends et{constructor(){super(...arguments),this.orientation=Ng.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"tab-"+st()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"panel-"+st()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Ng.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=nt(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}adjustForward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}}adjustBackward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}}moveToTabByIndex(e,t){const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Ag([Oe],Lg.prototype,"orientation",2),Ag([Oe],Lg.prototype,"activeid",2),Ag([B],Lg.prototype,"tabs",2),Ag([B],Lg.prototype,"tabpanels",2);class zg extends Lg{constructor(){super(...arguments),this.activeTabData={x:0,y:0,height:0,width:0},this.previousActiveTabData={x:0,y:0,height:0,width:0},this.activeTabOffset=0,this.activeTabScale=1,this.appearance=Cg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Ng.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Ng.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const a=this.tabs,n=this.activetab||a[0],i=null==n?void 0:n.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
335
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
336
+ :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData()}}Ag([Oe],zg.prototype,"appearance",2),Ag([Oe({mode:"boolean"})],zg.prototype,"disabled",2),Ag([Oe],zg.prototype,"size",2),ft(zg,vt);const Og=function(e={}){return ke` ${mt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ne("tabs")}></slot></div>${bt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ne("tabpanels")}></slot></div>`}({}),Hg=j`
337
+ ${At("grid")}
338
+
339
+ :host{box-sizing:border-box;font-family:${ks};font-size:${ws};line-height:${Es};color:${Vt};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${ro}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${ro}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${ro}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${ro}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${vs}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${ro}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground1Hover)"};fill:${"var(--colorCompoundBrandForeground1Hover)"}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${"var(--colorSubtleBackgroundPressed)"};fill:${"var(--colorSubtleBackgroundPressed)"};color:${Et}}:host([size='small']) ::slotted(fluent-tab){font-size:${ws};line-height:${Es};padding:${$l} ${ul}}:host([size='large']) ::slotted(fluent-tab){font-size:${Ps};line-height:${Ms};padding:${"var(--spacingVerticalL)"} ${pl}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${"var(--durationSlow)"};transition-timing-function:${"var(--curveDecelerateMax)"}}:host ::slotted(fluent-tab)::after{height:${il};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${il};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${il};border-radius:${fs};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${il};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${il};margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:${il}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${$l};padding-bottom:${$l}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${"var(--spacingVerticalXXS)"};padding-bottom:${"var(--spacingVerticalXXS)"}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Bl};padding-bottom:${Bl}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${ul};left:${ul}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${pl};left:${pl}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${pl};left:${pl}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${$l};bottom:${$l}}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${Bl};bottom:${Bl}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${"var(--spacingVerticalMNudge)"};bottom:${"var(--spacingVerticalMNudge)"}}`,Dg=zg.compose({name:zt.prefix+"-tabs",template:Og,styles:Hg});var Eg=Object.defineProperty,Mg=Object.getOwnPropertyDescriptor;class Rg extends et{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
340
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?Mg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&Eg(t,o,n)})([Oe({mode:"boolean"})],Rg.prototype,"disabled",2),ft(Rg,vt);const jg=function(e={}){return ke`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${mt(e)}<span class="tab-content"><slot></slot></span>${bt(e)}</template>`}({}),Vg=j`
282
341
  ${At("inline-flex")}
283
342
 
284
- :host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:${dr};line-height:${so};font-size:${Kt};font-weight:${mo};font-family:${fo};padding:${Mo} ${Co};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Fo};box-sizing:border-box;width:40px;height:20px;background-color:${Gn};border:1px solid ${fi};border-radius:${Wt};outline:none;cursor:pointer;margin:${Ro} ${zo}}:host(:hover) .switch{background:none;border-color:${vi}}:host(:active) .switch{border-color:${bi}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Oi};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${si}}:host([aria-checked='true']:hover) .switch{background:${ai};border-color:${ai}}:host([aria-checked='true']:active) .switch{background:${li};border-color:${li}}:host([aria-checked='true'][disabled]) .switch{background:${Yn};border-color:${Oi}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Br};transition-duration:${Qo};transition-timing-function:${lr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${Xr};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${Wr}}:host([aria-checked='true']:active) .checked-indicator{background:${Yr}}:host(:hover) .checked-indicator{background-color:${xr}}:host(:active) .checked-indicator{background-color:${wr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${Nr}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${Nr}}`,md=pd.compose({name:Ht.prefix+"-switch",template:vd,styles:bd});class yd extends Ge{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Xe([Ce({mode:"boolean"})],yd.prototype,"nowrap",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"truncate",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"italic",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"underline",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"strikethrough",void 0),Xe([Ce({mode:"boolean"})],yd.prototype,"block",void 0),Xe([Ce],yd.prototype,"size",void 0),Xe([Ce],yd.prototype,"font",void 0),Xe([Ce],yd.prototype,"weight",void 0),Xe([Ce],yd.prototype,"align",void 0);const kd={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Bd={base:"base",numeric:"numeric",monospace:"monospace"},xd={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},wd={start:"start",end:"end",center:"center",justify:"justify"},Pd=fe`<slot></slot>`,$d=I`
343
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Es};font-family:${ks};font-size:${ws};color:${Vt};fill:currentcolor;grid-row:1;padding:${gl} ${pl};border-radius:${vs}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Et};font-weight:${zs}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Es};font-weight:${zs}}:host([aria-selected='true'])::after{background-color:${"var(--colorCompoundBrandStroke)"};border-radius:${fs};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${"var(--colorNeutralStroke1Hover)"};border-radius:${fs};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${ro}}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:${ro};color:${ro}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${gs};box-shadow:0 0 0 3px ${va};outline:1px solid ${ga}}`.withBehaviors(It(j`
344
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),_g=Rg.compose({name:zt.prefix+"-tab",template:jg,styles:Vg});class Gg extends et{}const Xg=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,qg=j`
345
+ ${At("block")}
346
+
347
+ :host{box-sizing:border-box;padding:${gl} ${pl}}`,Wg=Gg.compose({name:zt.prefix+"-tab-panel",template:Xg,styles:qg});var Yg=Object.defineProperty,Kg=Object.getOwnPropertyDescriptor,Ug=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Kg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Yg(t,o,n),n};class Qg extends et{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}Ug([Oe({mode:"boolean"})],Qg.prototype,"nowrap",2),Ug([Oe({mode:"boolean"})],Qg.prototype,"truncate",2),Ug([Oe({mode:"boolean"})],Qg.prototype,"italic",2),Ug([Oe({mode:"boolean"})],Qg.prototype,"underline",2),Ug([Oe({mode:"boolean"})],Qg.prototype,"strikethrough",2),Ug([Oe({mode:"boolean"})],Qg.prototype,"block",2),Ug([Oe],Qg.prototype,"size",2),Ug([Oe],Qg.prototype,"font",2),Ug([Oe],Qg.prototype,"weight",2),Ug([Oe],Qg.prototype,"align",2);const Zg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Jg={base:"base",numeric:"numeric",monospace:"monospace"},ev={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},tv={start:"start",end:"end",center:"center",justify:"justify"},ov=ke`<slot></slot>`,rv=j`
285
348
  ${At("inline")}
286
349
 
287
- ::slotted(*){font-family:${fo};font-size:${Kt};line-height:${so};font-weight:${mo};text-align:start;display:inline;white-space:normal;overflow:visible;text-overflow:clip;margin:0}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${Yt};line-height:${no}}:host([size='200']) ::slotted(*){font-size:${Ut};line-height:${io}}:host([size='400']) ::slotted(*){font-size:${Qt};line-height:${ao}}:host([size='500']) ::slotted(*){font-size:${Jt};line-height:${lo}}:host([size='600']) ::slotted(*){font-size:${Zt};line-height:${co}}:host([size='700']) ::slotted(*){font-size:${eo};line-height:${ho}}:host([size='800']) ::slotted(*){font-size:${to};line-height:${uo}}:host([size='900']) ::slotted(*){font-size:${oo};line-height:${go}}:host([size='1000']) ::slotted(*){font-size:${ro};line-height:${po}}:host([font='monospace']) ::slotted(*){font-family:${vo}}:host([font='numeric']) ::slotted(*){font-family:${bo}}:host([weight='medium']) ::slotted(*){font-weight:${yo}}:host([weight='semibold']) ::slotted(*){font-weight:${ko}}:host([weight='bold']) ::slotted(*){font-weight:${Bo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Sd=yd.compose({name:Ht.prefix+"-text",template:Pd,styles:$d}),Fd=Object.keys(Kl),Cd=e=>{for(const t of Fd)Kl[t].withDefault(e[t])};export{It as Accordion,Vt as AccordionItem,Et as AccordionItemExpandIconPosition,Mt as AccordionItemSize,uc as Avatar,sc as AvatarActive,lc as AvatarAppearance,dc as AvatarColor,kc as AvatarDefinition,cc as AvatarNamedColor,ac as AvatarShape,hc as AvatarSize,yc as AvatarStyles,fc as AvatarTemplate,$c as Badge,Bc as BadgeAppearance,xc as BadgeColor,Lc as BadgeDefinition,wc as BadgeShape,Pc as BadgeSize,Tc as BadgeStyles,Fc as BadgeTemplate,Oc as CounterBadge,Hc as CounterBadgeAppearance,Dc as CounterBadgeColor,_c as CounterBadgeDefinition,Vc as CounterBadgeShape,Mc as CounterBadgeSize,Rc as CounterBadgeStyles,Ec as CounterBadgeTemplate,jc as Divider,Gc as DividerAlignContent,qc as DividerAppearance,Yc as DividerDefinition,wt as DividerOrientation,xt as DividerRole,Wc as DividerStyles,Xc as DividerTemplate,Uc as Image,ed as ImageDefinition,Kc as ImageFit,Qc as ImageShape,Zc as ImageStyles,Jc as ImageTemplate,td as ProgressBar,ad as ProgressBarDefinition,rd as ProgressBarShape,id as ProgressBarStyles,sd as ProgressBarTemplate,od as ProgressBarThickness,nd as ProgressBarValidationState,ld as Spinner,cd as SpinnerAppearance,gd as SpinnerDefinition,dd as SpinnerSize,ud as SpinnerStyles,hd as SpinnerTemplate,pd as Switch,fd as SwitchLabelPosition,yd as Text,wd as TextAlign,Sd as TextDefinition,Bd as TextFont,kd as TextSize,$d as TextStyles,Pd as TextTemplate,xd as TextWeight,Dt as accordionDefinition,Zl as accordionItemDefinition,Ql as accordionItemStyles,Jl as accordionItemTemplate,Ot as accordionStyles,Tt as accordionTemplate,Wt as borderRadiusCircular,qt as borderRadiusLarge,Gt as borderRadiusMedium,_t as borderRadiusNone,jt as borderRadiusSmall,Xt as borderRadiusXLarge,ei as colorBackgroundOverlay,oi as colorBrandBackground,di as colorBrandBackground2,ri as colorBrandBackgroundHover,hi as colorBrandBackgroundInverted,ui as colorBrandBackgroundInvertedHover,gi as colorBrandBackgroundInvertedPressed,pi as colorBrandBackgroundInvertedSelected,ni as colorBrandBackgroundPressed,ii as colorBrandBackgroundSelected,ci as colorBrandBackgroundStatic,_r as colorBrandForeground1,jr as colorBrandForeground2,on as colorBrandForegroundInverted,rn as colorBrandForegroundInvertedHover,nn as colorBrandForegroundInvertedPressed,Ar as colorBrandForegroundLink,Ir as colorBrandForegroundLinkHover,Tr as colorBrandForegroundLinkPressed,Lr as colorBrandForegroundLinkSelected,sn as colorBrandForegroundOnLight,an as colorBrandForegroundOnLightHover,ln as colorBrandForegroundOnLightPressed,cn as colorBrandForegroundOnLightSelected,Yi as colorBrandShadowAmbient,Ui as colorBrandShadowKey,zi as colorBrandStroke1,Ai as colorBrandStroke2,si as colorCompoundBrandBackground,ai as colorCompoundBrandBackgroundHover,li as colorCompoundBrandBackgroundPressed,Mr as colorCompoundBrandForeground1,Er as colorCompoundBrandForeground1Hover,Rr as colorCompoundBrandForeground1Pressed,Ii as colorCompoundBrandStroke,Ti as colorCompoundBrandStrokeHover,Li as colorCompoundBrandStrokePressed,dn as colorNeutralBackground1,hn as colorNeutralBackground1Hover,un as colorNeutralBackground1Pressed,gn as colorNeutralBackground1Selected,pn as colorNeutralBackground2,fn as colorNeutralBackground2Hover,vn as colorNeutralBackground2Pressed,bn as colorNeutralBackground2Selected,mn as colorNeutralBackground3,yn as colorNeutralBackground3Hover,kn as colorNeutralBackground3Pressed,Bn as colorNeutralBackground3Selected,xn as colorNeutralBackground4,wn as colorNeutralBackground4Hover,Pn as colorNeutralBackground4Pressed,$n as colorNeutralBackground4Selected,Sn as colorNeutralBackground5,Fn as colorNeutralBackground5Hover,Cn as colorNeutralBackground5Pressed,Nn as colorNeutralBackground5Selected,zn as colorNeutralBackground6,Yn as colorNeutralBackgroundDisabled,An as colorNeutralBackgroundInverted,Un as colorNeutralBackgroundInvertedDisabled,In as colorNeutralBackgroundStatic,dr as colorNeutralForeground1,hr as colorNeutralForeground1Hover,ur as colorNeutralForeground1Pressed,gr as colorNeutralForeground1Selected,Gr as colorNeutralForeground1Static,pr as colorNeutralForeground2,mr as colorNeutralForeground2BrandHover,yr as colorNeutralForeground2BrandPressed,kr as colorNeutralForeground2BrandSelected,fr as colorNeutralForeground2Hover,Or as colorNeutralForeground2Link,Hr as colorNeutralForeground2LinkHover,Dr as colorNeutralForeground2LinkPressed,Vr as colorNeutralForeground2LinkSelected,vr as colorNeutralForeground2Pressed,br as colorNeutralForeground2Selected,Br as colorNeutralForeground3,$r as colorNeutralForeground3BrandHover,Sr as colorNeutralForeground3BrandPressed,Fr as colorNeutralForeground3BrandSelected,xr as colorNeutralForeground3Hover,wr as colorNeutralForeground3Pressed,Pr as colorNeutralForeground3Selected,Cr as colorNeutralForeground4,Nr as colorNeutralForegroundDisabled,Xr as colorNeutralForegroundInverted,Kr as colorNeutralForegroundInverted2,zr as colorNeutralForegroundInvertedDisabled,Wr as colorNeutralForegroundInvertedHover,Jr as colorNeutralForegroundInvertedLink,Zr as colorNeutralForegroundInvertedLinkHover,en as colorNeutralForegroundInvertedLinkPressed,tn as colorNeutralForegroundInvertedLinkSelected,Yr as colorNeutralForegroundInvertedPressed,Ur as colorNeutralForegroundInvertedSelected,Qr as colorNeutralForegroundOnBrand,qr as colorNeutralForegroundStaticInverted,_i as colorNeutralShadowAmbient,Xi as colorNeutralShadowAmbientDarker,Gi as colorNeutralShadowAmbientLighter,ji as colorNeutralShadowKey,Wi as colorNeutralShadowKeyDarker,qi as colorNeutralShadowKeyLighter,Kn as colorNeutralStencil1,Jn as colorNeutralStencil1Alpha,Qn as colorNeutralStencil2,Zn as colorNeutralStencil2Alpha,yi as colorNeutralStroke1,ki as colorNeutralStroke1Hover,Bi as colorNeutralStroke1Pressed,xi as colorNeutralStroke1Selected,wi as colorNeutralStroke2,Pi as colorNeutralStroke3,fi as colorNeutralStrokeAccessible,vi as colorNeutralStrokeAccessibleHover,bi as colorNeutralStrokeAccessiblePressed,mi as colorNeutralStrokeAccessibleSelected,Oi as colorNeutralStrokeDisabled,Hi as colorNeutralStrokeInvertedDisabled,$i as colorNeutralStrokeOnBrand,Si as colorNeutralStrokeOnBrand2,Fi as colorNeutralStrokeOnBrand2Hover,Ci as colorNeutralStrokeOnBrand2Pressed,Ni as colorNeutralStrokeOnBrand2Selected,Il as colorPaletteAnchorBackground2,Ll as colorPaletteAnchorBorderActive,Tl as colorPaletteAnchorForeground2,wl as colorPaletteBeigeBackground2,$l as colorPaletteBeigeBorderActive,Pl as colorPaletteBeigeForeground2,Is as colorPaletteBerryBackground1,Ts as colorPaletteBerryBackground2,Ls as colorPaletteBerryBackground3,Ms as colorPaletteBerryBorder1,Es as colorPaletteBerryBorder2,Vs as colorPaletteBerryBorderActive,Os as colorPaletteBerryForeground1,Hs as colorPaletteBerryForeground2,Ds as colorPaletteBerryForeground3,Ga as colorPaletteBlueBackground2,Xa as colorPaletteBlueBorderActive,qa as colorPaletteBlueForeground2,ka as colorPaletteBrassBackground2,xa as colorPaletteBrassBorderActive,Ba as colorPaletteBrassForeground2,wa as colorPaletteBrownBackground2,$a as colorPaletteBrownBorderActive,Pa as colorPaletteBrownForeground2,Ka as colorPaletteCornflowerBackground2,Ja as colorPaletteCornflowerBorderActive,Qa as colorPaletteCornflowerForeground2,la as colorPaletteCranberryBackground2,da as colorPaletteCranberryBorderActive,ca as colorPaletteCranberryForeground2,Ia as colorPaletteDarkGreenBackground2,La as colorPaletteDarkGreenBorderActive,Ta as colorPaletteDarkGreenForeground2,ps as colorPaletteDarkOrangeBackground1,fs as colorPaletteDarkOrangeBackground2,vs as colorPaletteDarkOrangeBackground3,Bs as colorPaletteDarkOrangeBorder1,xs as colorPaletteDarkOrangeBorder2,ks as colorPaletteDarkOrangeBorderActive,bs as colorPaletteDarkOrangeForeground1,ms as colorPaletteDarkOrangeForeground2,ys as colorPaletteDarkOrangeForeground3,ia as colorPaletteDarkRedBackground2,aa as colorPaletteDarkRedBorderActive,sa as colorPaletteDarkRedForeground2,Sa as colorPaletteForestBackground2,Ca as colorPaletteForestBorderActive,Fa as colorPaletteForestForeground2,ba as colorPaletteGoldBackground2,ya as colorPaletteGoldBorderActive,ma as colorPaletteGoldForeground2,ll as colorPaletteGrapeBackground2,dl as colorPaletteGrapeBorderActive,cl as colorPaletteGrapeForeground2,is as colorPaletteGreenBackground1,ss as colorPaletteGreenBackground2,as as colorPaletteGreenBackground3,us as colorPaletteGreenBorder1,gs as colorPaletteGreenBorder2,hs as colorPaletteGreenBorderActive,ls as colorPaletteGreenForeground1,cs as colorPaletteGreenForeground2,ds as colorPaletteGreenForeground3,Hl as colorPaletteGreenForegroundInverted,ol as colorPaletteLavenderBackground2,nl as colorPaletteLavenderBorderActive,rl as colorPaletteLavenderForeground2,Rs as colorPaletteLightGreenBackground1,_s as colorPaletteLightGreenBackground2,js as colorPaletteLightGreenBackground3,Ys as colorPaletteLightGreenBorder1,Us as colorPaletteLightGreenBorder2,Ws as colorPaletteLightGreenBorderActive,Gs as colorPaletteLightGreenForeground1,qs as colorPaletteLightGreenForeground2,Xs as colorPaletteLightGreenForeground3,Oa as colorPaletteLightTealBackground2,Da as colorPaletteLightTealBorderActive,Ha as colorPaletteLightTealForeground2,hl as colorPaletteLilacBackground2,gl as colorPaletteLilacBorderActive,ul as colorPaletteLilacForeground2,bl as colorPaletteMagentaBackground2,yl as colorPaletteMagentaBorderActive,ml as colorPaletteMagentaForeground2,Ks as colorPaletteMarigoldBackground1,Qs as colorPaletteMarigoldBackground2,Js as colorPaletteMarigoldBackground3,ra as colorPaletteMarigoldBorder1,na as colorPaletteMarigoldBorder2,oa as colorPaletteMarigoldBorderActive,Zs as colorPaletteMarigoldForeground1,ea as colorPaletteMarigoldForeground2,ta as colorPaletteMarigoldForeground3,Sl as colorPaletteMinkBackground2,Cl as colorPaletteMinkBorderActive,Fl as colorPaletteMinkForeground2,Za as colorPaletteNavyBackground2,tl as colorPaletteNavyBorderActive,el as colorPaletteNavyForeground2,pa as colorPalettePeachBackground2,va as colorPalettePeachBorderActive,fa as colorPalettePeachForeground2,pl as colorPalettePinkBackground2,vl as colorPalettePinkBorderActive,fl as colorPalettePinkForeground2,Nl as colorPalettePlatinumBackground2,Al as colorPalettePlatinumBorderActive,zl as colorPalettePlatinumForeground2,kl as colorPalettePlumBackground2,xl as colorPalettePlumBorderActive,Bl as colorPalettePlumForeground2,ha as colorPalettePumpkinBackground2,ga as colorPalettePumpkinBorderActive,ua as colorPalettePumpkinForeground2,il as colorPalettePurpleBackground2,al as colorPalettePurpleBorderActive,sl as colorPalettePurpleForeground2,Ki as colorPaletteRedBackground1,Qi as colorPaletteRedBackground2,Ji as colorPaletteRedBackground3,rs as colorPaletteRedBorder1,ns as colorPaletteRedBorder2,os as colorPaletteRedBorderActive,Zi as colorPaletteRedForeground1,es as colorPaletteRedForeground2,ts as colorPaletteRedForeground3,Ol as colorPaletteRedForegroundInverted,Wa as colorPaletteRoyalBlueBackground2,Ua as colorPaletteRoyalBlueBorderActive,Ya as colorPaletteRoyalBlueForeground2,Na as colorPaletteSeafoamBackground2,Aa as colorPaletteSeafoamBorderActive,za as colorPaletteSeafoamForeground2,Ra as colorPaletteSteelBackground2,ja as colorPaletteSteelBorderActive,_a as colorPaletteSteelForeground2,Va as colorPaletteTealBackground2,Ea as colorPaletteTealBorderActive,Ma as colorPaletteTealForeground2,ws as colorPaletteYellowBackground1,Ps as colorPaletteYellowBackground2,$s as colorPaletteYellowBackground3,zs as colorPaletteYellowBorder1,As as colorPaletteYellowBorder2,Ns as colorPaletteYellowBorderActive,Ss as colorPaletteYellowForeground1,Fs as colorPaletteYellowForeground2,Cs as colorPaletteYellowForeground3,Dl as colorPaletteYellowForegroundInverted,ti as colorScrollbarOverlay,Ei as colorStrokeFocus1,Ri as colorStrokeFocus2,Tn as colorSubtleBackground,Ln as colorSubtleBackgroundHover,En as colorSubtleBackgroundInverted,Rn as colorSubtleBackgroundInvertedHover,_n as colorSubtleBackgroundInvertedPressed,jn as colorSubtleBackgroundInvertedSelected,Dn as colorSubtleBackgroundLightAlphaHover,Vn as colorSubtleBackgroundLightAlphaPressed,Mn as colorSubtleBackgroundLightAlphaSelected,On as colorSubtleBackgroundPressed,Hn as colorSubtleBackgroundSelected,Gn as colorTransparentBackground,qn as colorTransparentBackgroundHover,Xn as colorTransparentBackgroundPressed,Wn as colorTransparentBackgroundSelected,Di as colorTransparentStroke,Mi as colorTransparentStrokeDisabled,Vi as colorTransparentStrokeInteractive,tr as curveAccelerateMax,or as curveAccelerateMid,rr as curveAccelerateMin,nr as curveDecelerateMax,ir as curveDecelerateMid,sr as curveDecelerateMin,lr as curveEasyEase,ar as curveEasyEaseMax,cr as curveLinear,md as definition,Ko as durationFast,Uo as durationFaster,Qo as durationNormal,Jo as durationSlow,Zo as durationSlower,Yo as durationUltraFast,er as durationUltraSlow,fo as fontFamilyBase,vo as fontFamilyMonospace,bo as fontFamilyNumeric,Yt as fontSizeBase100,Ut as fontSizeBase200,Kt as fontSizeBase300,Qt as fontSizeBase400,Jt as fontSizeBase500,Zt as fontSizeBase600,ro as fontSizeHero1000,eo as fontSizeHero700,to as fontSizeHero800,oo as fontSizeHero900,Bo as fontWeightBold,yo as fontWeightMedium,mo as fontWeightRegular,ko as fontWeightSemibold,no as lineHeightBase100,io as lineHeightBase200,so as lineHeightBase300,ao as lineHeightBase400,lo as lineHeightBase500,co as lineHeightBase600,po as lineHeightHero1000,ho as lineHeightHero700,uo as lineHeightHero800,go as lineHeightHero900,Cd as setTheme,Rl as shadow16,Wl as shadow16Brand,Vl as shadow2,_l as shadow28,Yl as shadow28Brand,Gl as shadow2Brand,Ml as shadow4,ql as shadow4Brand,jl as shadow64,Ul as shadow64Brand,El as shadow8,Xl as shadow8Brand,To as spacingHorizontalL,Io as spacingHorizontalM,Ao as spacingHorizontalMNudge,So as spacingHorizontalNone,zo as spacingHorizontalS,No as spacingHorizontalSNudge,Lo as spacingHorizontalXL,Co as spacingHorizontalXS,Oo as spacingHorizontalXXL,Fo as spacingHorizontalXXS,Ho as spacingHorizontalXXXL,Go as spacingVerticalL,jo as spacingVerticalM,_o as spacingVerticalMNudge,Do as spacingVerticalNone,Ro as spacingVerticalS,Eo as spacingVerticalSNudge,qo as spacingVerticalXL,Mo as spacingVerticalXS,Xo as spacingVerticalXXL,Vo as spacingVerticalXXS,Wo as spacingVerticalXXXL,wo as strokeWidthThick,Po as strokeWidthThicker,$o as strokeWidthThickest,xo as strokeWidthThin,bd as switchStyles,vd as switchTemplate};
350
+ :host{contain:content}::slotted(*){font-family:${ks};font-size:${ws};line-height:${Es};font-weight:${As};text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:${$s};line-height:${"var(--lineHeightBase100)"}}:host([size='200']) ::slotted(*){font-size:${Bs};line-height:${Ds}}:host([size='400']) ::slotted(*){font-size:${Ps};line-height:${Ms}}:host([size='500']) ::slotted(*){font-size:${Ss};line-height:${"var(--lineHeightBase500)"}}:host([size='600']) ::slotted(*){font-size:${Cs};line-height:${"var(--lineHeightBase600)"}}:host([size='700']) ::slotted(*){font-size:${"var(--fontSizeHero700)"};line-height:${"var(--lineHeightHero700)"}}:host([size='800']) ::slotted(*){font-size:${"var(--fontSizeHero800)"};line-height:${"var(--lineHeightHero800)"}}:host([size='900']) ::slotted(*){font-size:${"var(--fontSizeHero900)"};line-height:${"var(--lineHeightHero900)"}}:host([size='1000']) ::slotted(*){font-size:${"var(--fontSizeHero1000)"};line-height:${"var(--lineHeightHero1000)"}}:host([font='monospace']) ::slotted(*){font-family:${"var(--fontFamilyMonospace)"}}:host([font='numeric']) ::slotted(*){font-family:${"var(--fontFamilyNumeric)"}}:host([weight='medium']) ::slotted(*){font-weight:${"var(--fontWeightMedium)"}}:host([weight='semibold']) ::slotted(*){font-weight:${zs}}:host([weight='bold']) ::slotted(*){font-weight:${"var(--fontWeightBold)"}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,av=Qg.compose({name:zt.prefix+"-text",template:ov,styles:rv}),nv={small:"small",medium:"medium",large:"large"},iv={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},sv={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class lv extends et{}class cv extends(nd(lv)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var dv=Object.defineProperty,uv=Object.getOwnPropertyDescriptor,hv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?uv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&dv(t,o,n),n};class pv extends cv{constructor(){super(...arguments),this.type=sv.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&f.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}hv([Oe({attribute:"control-size"})],pv.prototype,"controlSize",2),hv([Oe],pv.prototype,"appearance",2),hv([Oe({attribute:"readonly",mode:"boolean"})],pv.prototype,"readOnly",2),hv([Oe({mode:"boolean"})],pv.prototype,"autofocus",2),hv([Oe],pv.prototype,"placeholder",2),hv([Oe],pv.prototype,"type",2),hv([Oe],pv.prototype,"list",2),hv([Oe({converter:Le})],pv.prototype,"maxlength",2),hv([Oe({converter:Le})],pv.prototype,"minlength",2),hv([Oe],pv.prototype,"pattern",2),hv([Oe({converter:Le})],pv.prototype,"size",2),hv([Oe({mode:"boolean"})],pv.prototype,"spellcheck",2),hv([B],pv.prototype,"defaultSlottedNodes",2);class gv{}ft(gv,ut),ft(pv,vt,gv);const vv=function(e={}){return ke`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label><div class="root" part="root">${mt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")} />${bt(e)}</div>`}(),bv=j`
351
+ ${At("block")}
352
+
353
+ :host{font-family:${ks};font-size:${ws};font-weight:${As};line-height:${Es};max-width:400px}.label{display:flex;color:${Et};padding-bottom:${"var(--spacingVerticalXS)"};flex-shrink:0;padding-inline-end:${dl}}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 ${pl};border:${al} solid ${Wr};border-bottom-color:${_r};border-radius:${vs};gap:${cl}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${vs});border-radius:0 0 ${vs} ${vs};border-bottom:2px solid ${"var(--colorCompoundBrandStroke)"};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${"var(--durationUltraFast)"};transition-delay:${"var(--curveAccelerateMid)"}}.control{width:100%;height:100%;box-sizing:border-box;color:${Et};border-radius:${vs};background:${fr};font-family:${ks};font-weight:${As};font-size:${ws};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${"var(--colorNeutralForeground4)"}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Kt};font-size:${Ss}}:host ::slotted([slot='start']){padding-right:${cl}}:host ::slotted([slot='end']){padding-left:${cl};gap:${dl}}:host(:hover) .root{border-color:${"var(--colorNeutralStroke1Hover)"};border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .root{border-color:${"var(--colorNeutralStroke1Pressed)"}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${"var(--durationNormal)"};transition-delay:${"var(--curveDecelerateMid)"}}:host(:focus-within:active) .root:after{border-bottom-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([appearance='outline']:focus-within) .root{border:${al} solid ${Wr}}:host(:focus-within) .control{color:${Et}}:host([disabled]) .root{background:${fr};border:${al} solid ${ca}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${ro}}::selection{color:${"var(--colorNeutralForegroundInverted)"};background-color:${"var(--colorNeutralBackgroundInverted)"}}:host([control-size='small']) .control{font-size:${Bs};font-weight:${As};line-height:${Ds}}:host([control-size='small']) .root{height:24px;gap:${cl};padding:0 ${ul}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${Ps}}:host([control-size='large']) .control{font-size:${Ps};font-weight:${As};line-height:${Ms}}:host([control-size='large']) .root{height:40px;gap:${hl};padding:0 ${gl}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${Cs}}:host([appearance='underline']) .root{background:${fr};border:0;border-radius:0;border-bottom:${al} solid ${_r}}:host([appearance='underline']:hover) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host([appearance='underline']:active) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${ca}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${al} solid ${ua};box-shadow:${qs}}:host([appearance='filled-lighter']) .root{background:${Eo}}:host([appearance='filled-darker']) .root{background:${"var(--colorNeutralBackground3)"}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${"var(--colorTransparentStrokeInteractive)"}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${"var(--colorTransparentStrokeInteractive)"};background:${"var(--colorNeutralBackground3)"}}`,mv=pv.compose({name:zt.prefix+"-text-input",template:vv,styles:bv});var fv=Object.defineProperty,kv=Object.getOwnPropertyDescriptor,yv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?kv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&fv(t,o,n),n};class xv extends hd{constructor(){super(),this.dirtyChecked=!1,this.checkedAttribute=!1,this.defaultChecked=!1,this.checked=!1,this.currentChecked=!1,this.handleToggleButtonClick=e=>{this.disabled||this.disabledFocusable||(this.checked=!this.checked)},this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.$fastController.isConnected&&(this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.setAttribute("aria-pressed",""+this.currentChecked),void 0!==e&&this.$emit("change"))}currentCheckedChanged(e,t){this.checked=this.currentChecked}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleToggleButtonClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleToggleButtonClick)}}yv([Oe({attribute:"checked",mode:"boolean"})],xv.prototype,"checkedAttribute",2),yv([B],xv.prototype,"defaultChecked",2),yv([B],xv.prototype,"checked",2),yv([Oe({attribute:"current-checked",mode:"boolean"})],xv.prototype,"currentChecked",2);const $v=tc,Bv=oc,wv=rc,Pv=gd(),Sv=j`
354
+ ${dc}
355
+
356
+ :host([aria-pressed="true"]) .control{border-color:${Wr};background-color:${"var(--colorNeutralBackground1Selected)"};color:${Et};border-width:${al}}:host([aria-pressed='true']:hover) .control{border-color:${"var(--colorNeutralStroke1Hover)"};background-color:${"var(--colorNeutralBackground1Hover)"}}:host([aria-pressed='true']:active) .control{border-color:${"var(--colorNeutralStroke1Pressed)"};background-color:${"var(--colorNeutralBackground1Pressed)"}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${"var(--colorBrandBackgroundSelected)"};color:${bo}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${"var(--colorBrandBackgroundHover)"}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${"var(--colorBrandBackgroundPressed)"}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${"var(--colorSubtleBackgroundSelected)"};color:${"var(--colorNeutralForeground2Selected)"}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${"var(--colorTransparentBackgroundSelected)"}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${"var(--colorNeutralForeground2BrandSelected)"}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${"var(--colorNeutralForeground2BrandHover)"}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${"var(--colorNeutralForeground2BrandPressed)"}}`.withBehaviors(It(j`
357
+ :host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`)),Cv=xv.compose({name:zt.prefix+"-toggle-button",template:Pv,styles:Sv,shadowOptions:{delegatesFocus:!0}}),Fv=Object.keys(ql),Nv=e=>{for(const t of Fv)document.body.style.setProperty("--"+t,e[t])},Tv=(e,t)=>{for(const o of Fv)e.style.setProperty("--"+o,t[o])};export{Ft as Accordion,$t as AccordionItem,Dt as AccordionItemExpandIconPosition,Ht as AccordionItemSize,Jl as AnchorButton,nc as AnchorButtonAppearance,hc as AnchorButtonDefinition,ic as AnchorButtonShape,sc as AnchorButtonSize,cc as AnchorButtonTemplate,lc as AnchorTarget,Nc as Avatar,kc as AvatarActive,xc as AvatarAppearance,Bc as AvatarColor,Dc as AvatarDefinition,$c as AvatarNamedColor,yc as AvatarShape,wc as AvatarSize,Hc as AvatarStyles,Ac as AvatarTemplate,Xc as Badge,Ec as BadgeAppearance,Mc as BadgeColor,od as BadgeDefinition,Rc as BadgeShape,jc as BadgeSize,td as BadgeStyles,Wc as BadgeTemplate,Lg as BaseTabs,hd as Button,tc as ButtonAppearance,bd as ButtonDefinition,oc as ButtonShape,rc as ButtonSize,dc as ButtonStyles,vd as ButtonTemplate,ac as ButtonType,$d as Checkbox,Fd as CheckboxDefinition,Pd as CheckboxLabelPosition,Bd as CheckboxShape,wd as CheckboxSize,Cd as CheckboxStyles,Sd as CheckboxTemplate,Nd as CompoundButton,Td as CompoundButtonAppearance,Od as CompoundButtonDefinition,Id as CompoundButtonShape,Ad as CompoundButtonSize,zd as CompoundButtonStyles,Ld as CompoundButtonTemplate,Md as CounterBadge,Rd as CounterBadgeAppearance,jd as CounterBadgeColor,qd as CounterBadgeDefinition,Vd as CounterBadgeShape,_d as CounterBadgeSize,Xd as CounterBadgeStyles,Gd as CounterBadgeTemplate,pd as DelegatesARIAButton,ec as DelegatesARIALink,gv as DelegatesARIATextbox,su as Dialog,ph as DialogDefinition,hh as DialogStyles,cu as DialogTemplate,xh as Divider,bh as DividerAlignContent,mh as DividerAppearance,wh as DividerDefinition,vh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,$h as DividerTemplate,zt as FluentDesignSystem,Fh as Image,Lh as ImageDefinition,Nh as ImageFit,Th as ImageShape,Ah as ImageStyles,Ih as ImageTemplate,Dh as Label,Rh as LabelDefinition,Eh as LabelStyles,Mh as LabelTemplate,Gh as Menu,Yh as MenuButton,Kh as MenuButtonAppearance,Jh as MenuButtonDefinition,Uh as MenuButtonShape,Qh as MenuButtonSize,dc as MenuButtonStyles,Zh as MenuButtonTemplate,Wh as MenuDefinition,np as MenuItem,cp as MenuItemDefinition,ep as MenuItemRole,lp as MenuItemStyles,sp as MenuItemTemplate,pp as MenuList,bp as MenuListDefinition,vp as MenuListStyles,gp as MenuListTemplate,qh as MenuStyles,Xh as MenuTemplate,wp as ProgressBar,Tp as ProgressBarDefinition,Sp as ProgressBarShape,Fp as ProgressBarStyles,Np as ProgressBarTemplate,Pp as ProgressBarThickness,Cp as ProgressBarValidationState,Hp as Radio,Mp as RadioDefinition,Gp as RadioGroup,Wp as RadioGroupDefinition,Xp as RadioGroupStyles,qp as RadioGroupTemplate,Dp as RadioStyles,Ep as RadioTemplate,rg as Slider,ig as SliderDefinition,Up as SliderMode,Kp as SliderOrientation,Yp as SliderSize,ag as SliderStyles,ng as SliderTemplate,ug as Spinner,hg as SpinnerAppearance,bg as SpinnerDefinition,pg as SpinnerSize,vg as SpinnerStyles,gg as SpinnerTemplate,$g as Switch,Sg as SwitchDefinition,Bg as SwitchLabelPosition,Pg as SwitchStyles,wg as SwitchTemplate,Rg as Tab,_g as TabDefinition,Gg as TabPanel,Wg as TabPanelDefinition,qg as TabPanelStyles,Xg as TabPanelTemplate,Vg as TabStyles,jg as TabTemplate,zg as Tabs,Cg as TabsAppearance,Dg as TabsDefinition,Ng as TabsOrientation,Fg as TabsSize,Hg as TabsStyles,Og as TabsTemplate,Qg as Text,tv as TextAlign,av as TextDefinition,sv as TextFieldType,Jg as TextFont,pv as TextInput,iv as TextInputAppearance,nv as TextInputControlSize,mv as TextInputDefinition,bv as TextInputStyles,vv as TextInputTemplate,Zg as TextSize,rv as TextStyles,ov as TextTemplate,ev as TextWeight,xv as ToggleButton,$v as ToggleButtonAppearance,Cv as ToggleButtonDefinition,Bv as ToggleButtonShape,wv as ToggleButtonSize,Sv as ToggleButtonStyles,Pv as ToggleButtonTemplate,Ot as accordionDefinition,Kl as accordionItemDefinition,Wl as accordionItemStyles,Yl as accordionItemTemplate,Lt as accordionStyles,Nt as accordionTemplate,fs as borderRadiusCircular,bs as borderRadiusLarge,vs as borderRadiusMedium,ps as borderRadiusNone,gs as borderRadiusSmall,ms as borderRadiusXLarge,Fr as colorBackgroundOverlay,Tr as colorBrandBackground,Er as colorBrandBackground2,Ir as colorBrandBackgroundHover,Mr as colorBrandBackgroundInverted,Rr as colorBrandBackgroundInvertedHover,jr as colorBrandBackgroundInvertedPressed,Vr as colorBrandBackgroundInvertedSelected,Ar as colorBrandBackgroundPressed,Lr as colorBrandBackgroundSelected,Dr as colorBrandBackgroundStatic,Fo as colorBrandForeground1,No as colorBrandForeground2,Io as colorBrandForegroundInverted,Ao as colorBrandForegroundInvertedHover,Lo as colorBrandForegroundInvertedPressed,ao as colorBrandForegroundLink,no as colorBrandForegroundLinkHover,io as colorBrandForegroundLinkPressed,so as colorBrandForegroundLinkSelected,zo as colorBrandForegroundOnLight,Oo as colorBrandForegroundOnLightHover,Ho as colorBrandForegroundOnLightPressed,Do as colorBrandForegroundOnLightSelected,$a as colorBrandShadowAmbient,Ba as colorBrandShadowKey,aa as colorBrandStroke1,na as colorBrandStroke2,zr as colorCompoundBrandBackground,Or as colorCompoundBrandBackgroundHover,Hr as colorCompoundBrandBackgroundPressed,po as colorCompoundBrandForeground1,go as colorCompoundBrandForeground1Hover,vo as colorCompoundBrandForeground1Pressed,ia as colorCompoundBrandStroke,sa as colorCompoundBrandStrokeHover,la as colorCompoundBrandStrokePressed,Eo as colorNeutralBackground1,Mo as colorNeutralBackground1Hover,Ro as colorNeutralBackground1Pressed,jo as colorNeutralBackground1Selected,Vo as colorNeutralBackground2,_o as colorNeutralBackground2Hover,Go as colorNeutralBackground2Pressed,Xo as colorNeutralBackground2Selected,qo as colorNeutralBackground3,Wo as colorNeutralBackground3Hover,Yo as colorNeutralBackground3Pressed,Ko as colorNeutralBackground3Selected,Uo as colorNeutralBackground4,Qo as colorNeutralBackground4Hover,Zo as colorNeutralBackground4Pressed,Jo as colorNeutralBackground4Selected,er as colorNeutralBackground5,tr as colorNeutralBackground5Hover,or as colorNeutralBackground5Pressed,rr as colorNeutralBackground5Selected,ar as colorNeutralBackground6,$r as colorNeutralBackgroundDisabled,ir as colorNeutralBackgroundInverted,Br as colorNeutralBackgroundInvertedDisabled,nr as colorNeutralBackgroundStatic,Et as colorNeutralForeground1,Mt as colorNeutralForeground1Hover,Rt as colorNeutralForeground1Pressed,jt as colorNeutralForeground1Selected,To as colorNeutralForeground1Static,Vt as colorNeutralForeground2,qt as colorNeutralForeground2BrandHover,Wt as colorNeutralForeground2BrandPressed,Yt as colorNeutralForeground2BrandSelected,_t as colorNeutralForeground2Hover,lo as colorNeutralForeground2Link,co as colorNeutralForeground2LinkHover,uo as colorNeutralForeground2LinkPressed,ho as colorNeutralForeground2LinkSelected,Gt as colorNeutralForeground2Pressed,Xt as colorNeutralForeground2Selected,Kt as colorNeutralForeground3,Jt as colorNeutralForeground3BrandHover,eo as colorNeutralForeground3BrandPressed,to as colorNeutralForeground3BrandSelected,Ut as colorNeutralForeground3Hover,Qt as colorNeutralForeground3Pressed,Zt as colorNeutralForeground3Selected,oo as colorNeutralForeground4,ro as colorNeutralForegroundDisabled,mo as colorNeutralForegroundInverted,xo as colorNeutralForegroundInverted2,Co as colorNeutralForegroundInvertedDisabled,fo as colorNeutralForegroundInvertedHover,Bo as colorNeutralForegroundInvertedLink,wo as colorNeutralForegroundInvertedLinkHover,Po as colorNeutralForegroundInvertedLinkPressed,So as colorNeutralForegroundInvertedLinkSelected,ko as colorNeutralForegroundInvertedPressed,yo as colorNeutralForegroundInvertedSelected,bo as colorNeutralForegroundOnBrand,$o as colorNeutralForegroundStaticInverted,ba as colorNeutralShadowAmbient,ya as colorNeutralShadowAmbientDarker,fa as colorNeutralShadowAmbientLighter,ma as colorNeutralShadowKey,xa as colorNeutralShadowKeyDarker,ka as colorNeutralShadowKeyLighter,wr as colorNeutralStencil1,Sr as colorNeutralStencil1Alpha,Pr as colorNeutralStencil2,Cr as colorNeutralStencil2Alpha,Wr as colorNeutralStroke1,Yr as colorNeutralStroke1Hover,Kr as colorNeutralStroke1Pressed,Ur as colorNeutralStroke1Selected,Qr as colorNeutralStroke2,Zr as colorNeutralStroke3,_r as colorNeutralStrokeAccessible,Gr as colorNeutralStrokeAccessibleHover,Xr as colorNeutralStrokeAccessiblePressed,qr as colorNeutralStrokeAccessibleSelected,ca as colorNeutralStrokeDisabled,da as colorNeutralStrokeInvertedDisabled,Jr as colorNeutralStrokeOnBrand,ea as colorNeutralStrokeOnBrand2,ta as colorNeutralStrokeOnBrand2Hover,oa as colorNeutralStrokeOnBrand2Pressed,ra as colorNeutralStrokeOnBrand2Selected,Dn as colorPaletteAnchorBackground2,En as colorPaletteAnchorBorderActive,Mn as colorPaletteAnchorForeground2,Rn as colorPaletteBeigeBackground2,jn as colorPaletteBeigeBorderActive,Vn as colorPaletteBeigeForeground2,dn as colorPaletteBerryBackground1,un as colorPaletteBerryBackground2,hn as colorPaletteBerryBackground3,gn as colorPaletteBerryBorder1,vn as colorPaletteBerryBorder2,pn as colorPaletteBerryBorderActive,bn as colorPaletteBerryForeground1,mn as colorPaletteBerryForeground2,fn as colorPaletteBerryForeground3,_n as colorPaletteBlueBackground2,Gn as colorPaletteBlueBorderActive,Xn as colorPaletteBlueForeground2,qn as colorPaletteBrassBackground2,Wn as colorPaletteBrassBorderActive,Yn as colorPaletteBrassForeground2,Kn as colorPaletteBrownBackground2,Un as colorPaletteBrownBorderActive,Qn as colorPaletteBrownForeground2,Zn as colorPaletteCornflowerBackground2,Jn as colorPaletteCornflowerBorderActive,ei as colorPaletteCornflowerForeground2,ti as colorPaletteCranberryBackground2,oi as colorPaletteCranberryBorderActive,ri as colorPaletteCranberryForeground2,ai as colorPaletteDarkGreenBackground2,ni as colorPaletteDarkGreenBorderActive,ii as colorPaletteDarkGreenForeground2,Ga as colorPaletteDarkOrangeBackground1,Xa as colorPaletteDarkOrangeBackground2,qa as colorPaletteDarkOrangeBackground3,Ya as colorPaletteDarkOrangeBorder1,Ka as colorPaletteDarkOrangeBorder2,Wa as colorPaletteDarkOrangeBorderActive,Ua as colorPaletteDarkOrangeForeground1,Qa as colorPaletteDarkOrangeForeground2,Za as colorPaletteDarkOrangeForeground3,si as colorPaletteDarkRedBackground2,li as colorPaletteDarkRedBorderActive,ci as colorPaletteDarkRedForeground2,di as colorPaletteForestBackground2,ui as colorPaletteForestBorderActive,hi as colorPaletteForestForeground2,pi as colorPaletteGoldBackground2,gi as colorPaletteGoldBorderActive,vi as colorPaletteGoldForeground2,bi as colorPaletteGrapeBackground2,mi as colorPaletteGrapeBorderActive,fi as colorPaletteGrapeForeground2,za as colorPaletteGreenBackground1,Oa as colorPaletteGreenBackground2,Ha as colorPaletteGreenBackground3,Ea as colorPaletteGreenBorder1,Ma as colorPaletteGreenBorder2,Da as colorPaletteGreenBorderActive,Ra as colorPaletteGreenForeground1,ja as colorPaletteGreenForeground2,Va as colorPaletteGreenForeground3,_a as colorPaletteGreenForegroundInverted,ki as colorPaletteLavenderBackground2,yi as colorPaletteLavenderBorderActive,xi as colorPaletteLavenderForeground2,Fn as colorPaletteLightGreenBackground1,Nn as colorPaletteLightGreenBackground2,Tn as colorPaletteLightGreenBackground3,An as colorPaletteLightGreenBorder1,Ln as colorPaletteLightGreenBorder2,In as colorPaletteLightGreenBorderActive,zn as colorPaletteLightGreenForeground1,On as colorPaletteLightGreenForeground2,Hn as colorPaletteLightGreenForeground3,$i as colorPaletteLightTealBackground2,Bi as colorPaletteLightTealBorderActive,wi as colorPaletteLightTealForeground2,Pi as colorPaletteLilacBackground2,Si as colorPaletteLilacBorderActive,Ci as colorPaletteLilacForeground2,Fi as colorPaletteMagentaBackground2,Ni as colorPaletteMagentaBorderActive,Ti as colorPaletteMagentaForeground2,kn as colorPaletteMarigoldBackground1,yn as colorPaletteMarigoldBackground2,xn as colorPaletteMarigoldBackground3,Bn as colorPaletteMarigoldBorder1,wn as colorPaletteMarigoldBorder2,$n as colorPaletteMarigoldBorderActive,Pn as colorPaletteMarigoldForeground1,Sn as colorPaletteMarigoldForeground2,Cn as colorPaletteMarigoldForeground3,Ii as colorPaletteMinkBackground2,Ai as colorPaletteMinkBorderActive,Li as colorPaletteMinkForeground2,zi as colorPaletteNavyBackground2,Oi as colorPaletteNavyBorderActive,Hi as colorPaletteNavyForeground2,Di as colorPalettePeachBackground2,Ei as colorPalettePeachBorderActive,Mi as colorPalettePeachForeground2,Ri as colorPalettePinkBackground2,ji as colorPalettePinkBorderActive,Vi as colorPalettePinkForeground2,_i as colorPalettePlatinumBackground2,Gi as colorPalettePlatinumBorderActive,Xi as colorPalettePlatinumForeground2,qi as colorPalettePlumBackground2,Wi as colorPalettePlumBorderActive,Yi as colorPalettePlumForeground2,Ki as colorPalettePumpkinBackground2,Ui as colorPalettePumpkinBorderActive,Qi as colorPalettePumpkinForeground2,Zi as colorPalettePurpleBackground2,Ji as colorPalettePurpleBorderActive,es as colorPalettePurpleForeground2,wa as colorPaletteRedBackground1,Pa as colorPaletteRedBackground2,Sa as colorPaletteRedBackground3,Fa as colorPaletteRedBorder1,Na as colorPaletteRedBorder2,Ca as colorPaletteRedBorderActive,Ta as colorPaletteRedForeground1,Ia as colorPaletteRedForeground2,Aa as colorPaletteRedForeground3,La as colorPaletteRedForegroundInverted,ts as colorPaletteRoyalBlueBackground2,os as colorPaletteRoyalBlueBorderActive,rs as colorPaletteRoyalBlueForeground2,as as colorPaletteSeafoamBackground2,ns as colorPaletteSeafoamBorderActive,is as colorPaletteSeafoamForeground2,ss as colorPaletteSteelBackground2,ls as colorPaletteSteelBorderActive,cs as colorPaletteSteelForeground2,ds as colorPaletteTealBackground2,us as colorPaletteTealBorderActive,hs as colorPaletteTealForeground2,Ja as colorPaletteYellowBackground1,en as colorPaletteYellowBackground2,tn as colorPaletteYellowBackground3,rn as colorPaletteYellowBorder1,an as colorPaletteYellowBorder2,on as colorPaletteYellowBorderActive,nn as colorPaletteYellowForeground1,sn as colorPaletteYellowForeground2,ln as colorPaletteYellowForeground3,cn as colorPaletteYellowForegroundInverted,Nr as colorScrollbarOverlay,ga as colorStrokeFocus1,va as colorStrokeFocus2,sr as colorSubtleBackground,lr as colorSubtleBackgroundHover,gr as colorSubtleBackgroundInverted,vr as colorSubtleBackgroundInvertedHover,br as colorSubtleBackgroundInvertedPressed,mr as colorSubtleBackgroundInvertedSelected,ur as colorSubtleBackgroundLightAlphaHover,hr as colorSubtleBackgroundLightAlphaPressed,pr as colorSubtleBackgroundLightAlphaSelected,cr as colorSubtleBackgroundPressed,dr as colorSubtleBackgroundSelected,fr as colorTransparentBackground,kr as colorTransparentBackgroundHover,yr as colorTransparentBackgroundPressed,xr as colorTransparentBackgroundSelected,ua as colorTransparentStroke,pa as colorTransparentStrokeDisabled,ha as colorTransparentStrokeInteractive,Dl as curveAccelerateMax,El as curveAccelerateMid,Ml as curveAccelerateMin,Rl as curveDecelerateMax,jl as curveDecelerateMid,Vl as curveDecelerateMin,Gl as curveEasyEase,_l as curveEasyEaseMax,Xl as curveLinear,Al as durationFast,Il as durationFaster,Ll as durationNormal,zl as durationSlow,Ol as durationSlower,Tl as durationUltraFast,Hl as durationUltraSlow,ks as fontFamilyBase,ys as fontFamilyMonospace,xs as fontFamilyNumeric,$s as fontSizeBase100,Bs as fontSizeBase200,ws as fontSizeBase300,Ps as fontSizeBase400,Ss as fontSizeBase500,Cs as fontSizeBase600,Is as fontSizeHero1000,Fs as fontSizeHero700,Ns as fontSizeHero800,Ts as fontSizeHero900,Os as fontWeightBold,Ls as fontWeightMedium,As as fontWeightRegular,zs as fontWeightSemibold,Hs as lineHeightBase100,Ds as lineHeightBase200,Es as lineHeightBase300,Ms as lineHeightBase400,Rs as lineHeightBase500,js as lineHeightBase600,Xs as lineHeightHero1000,Vs as lineHeightHero700,_s as lineHeightHero800,Gs as lineHeightHero900,tp as roleForMenuItem,Nv as setTheme,Tv as setThemeFor,Ks as shadow16,tl as shadow16Brand,qs as shadow2,Us as shadow28,ol as shadow28Brand,Zs as shadow2Brand,Ws as shadow4,Js as shadow4Brand,Qs as shadow64,rl as shadow64Brand,Ys as shadow8,el as shadow8Brand,vl as spacingHorizontalL,gl as spacingHorizontalM,pl as spacingHorizontalMNudge,ll as spacingHorizontalNone,hl as spacingHorizontalS,ul as spacingHorizontalSNudge,bl as spacingHorizontalXL,dl as spacingHorizontalXS,ml as spacingHorizontalXXL,cl as spacingHorizontalXXS,fl as spacingHorizontalXXXL,Sl as spacingVerticalL,Pl as spacingVerticalM,wl as spacingVerticalMNudge,kl as spacingVerticalNone,Bl as spacingVerticalS,$l as spacingVerticalSNudge,Cl as spacingVerticalXL,xl as spacingVerticalXS,Fl as spacingVerticalXXL,yl as spacingVerticalXXS,Nl as spacingVerticalXXXL,nl as strokeWidthThick,il as strokeWidthThicker,sl as strokeWidthThickest,al as strokeWidthThin};