@fluentui/web-components 3.0.0-alpha.3 → 3.0.0-alpha.30

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 (617) hide show
  1. package/CHANGELOG.md +254 -2
  2. package/README.md +4 -0
  3. package/dist/dts/accordion/accordion.d.ts +7 -0
  4. package/dist/dts/accordion/accordion.definition.d.ts +11 -0
  5. package/dist/dts/accordion/accordion.styles.d.ts +1 -0
  6. package/dist/dts/accordion/accordion.template.d.ts +3 -0
  7. package/dist/dts/accordion/define.d.ts +1 -0
  8. package/dist/dts/accordion/index.d.ts +4 -0
  9. package/dist/dts/accordion-item/accordion-item.d.ts +33 -0
  10. package/dist/dts/accordion-item/accordion-item.definition.d.ts +11 -0
  11. package/dist/dts/accordion-item/accordion-item.options.d.ts +27 -0
  12. package/dist/dts/accordion-item/accordion-item.styles.d.ts +1 -0
  13. package/dist/dts/accordion-item/accordion-item.template.d.ts +7 -0
  14. package/dist/dts/accordion-item/define.d.ts +1 -0
  15. package/dist/dts/accordion-item/index.d.ts +5 -0
  16. package/dist/dts/anchor-button/anchor-button.d.ts +64 -0
  17. package/dist/dts/anchor-button/anchor-button.definition.d.ts +10 -0
  18. package/dist/dts/anchor-button/anchor-button.options.d.ts +47 -0
  19. package/dist/dts/anchor-button/anchor-button.styles.d.ts +1 -0
  20. package/dist/dts/anchor-button/anchor-button.template.d.ts +7 -0
  21. package/dist/dts/anchor-button/define.d.ts +1 -0
  22. package/dist/dts/anchor-button/index.d.ts +4 -0
  23. package/dist/dts/avatar/avatar.d.ts +97 -0
  24. package/dist/dts/avatar/avatar.definition.d.ts +9 -0
  25. package/dist/dts/avatar/avatar.options.d.ts +142 -0
  26. package/dist/dts/avatar/avatar.styles.d.ts +4 -0
  27. package/dist/dts/avatar/avatar.template.d.ts +8 -0
  28. package/dist/dts/avatar/define.d.ts +1 -0
  29. package/dist/dts/avatar/index.d.ts +5 -0
  30. package/dist/dts/badge/badge.d.ts +3 -3
  31. package/dist/dts/badge/badge.options.d.ts +2 -1
  32. package/dist/dts/button/button.d.ts +55 -0
  33. package/dist/dts/button/button.definition.d.ts +10 -0
  34. package/dist/dts/button/button.options.d.ts +47 -0
  35. package/dist/dts/button/button.styles.d.ts +1 -0
  36. package/dist/dts/button/button.template.d.ts +7 -0
  37. package/dist/dts/button/define.d.ts +1 -0
  38. package/dist/dts/button/index.d.ts +5 -0
  39. package/dist/dts/checkbox/checkbox.d.ts +35 -0
  40. package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
  41. package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
  42. package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
  43. package/dist/dts/checkbox/checkbox.template.d.ts +7 -0
  44. package/dist/dts/checkbox/define.d.ts +1 -0
  45. package/dist/dts/checkbox/index.d.ts +5 -0
  46. package/dist/dts/compound-button/compound-button.d.ts +7 -0
  47. package/dist/dts/compound-button/compound-button.definition.d.ts +10 -0
  48. package/dist/dts/compound-button/compound-button.options.d.ts +51 -0
  49. package/dist/dts/compound-button/compound-button.styles.d.ts +1 -0
  50. package/dist/dts/compound-button/compound-button.template.d.ts +13 -0
  51. package/dist/dts/compound-button/define.d.ts +1 -0
  52. package/dist/dts/compound-button/index.d.ts +5 -0
  53. package/dist/dts/counter-badge/counter-badge.d.ts +5 -5
  54. package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
  55. package/dist/dts/divider/define.d.ts +1 -0
  56. package/dist/dts/divider/divider.d.ts +31 -0
  57. package/dist/dts/divider/divider.definition.d.ts +9 -0
  58. package/dist/dts/divider/divider.options.d.ts +41 -0
  59. package/dist/dts/divider/divider.styles.d.ts +4 -0
  60. package/dist/dts/divider/divider.template.d.ts +7 -0
  61. package/dist/dts/divider/index.d.ts +5 -0
  62. package/dist/dts/helpers.tests.d.ts +8 -0
  63. package/dist/dts/image/define.d.ts +1 -0
  64. package/dist/dts/image/image.d.ts +48 -0
  65. package/dist/dts/image/image.definition.d.ts +9 -0
  66. package/dist/dts/image/image.options.d.ts +27 -0
  67. package/dist/dts/image/image.styles.d.ts +5 -0
  68. package/dist/dts/image/image.template.d.ts +7 -0
  69. package/dist/dts/image/index.d.ts +5 -0
  70. package/dist/dts/index.d.ts +23 -0
  71. package/dist/dts/label/define.d.ts +1 -0
  72. package/dist/dts/label/index.d.ts +4 -0
  73. package/dist/dts/label/label.d.ts +42 -0
  74. package/dist/dts/label/label.definition.d.ts +10 -0
  75. package/dist/dts/label/label.options.d.ts +26 -0
  76. package/dist/dts/label/label.styles.d.ts +4 -0
  77. package/dist/dts/label/label.template.d.ts +8 -0
  78. package/dist/dts/menu-button/define.d.ts +1 -0
  79. package/dist/dts/menu-button/index.d.ts +5 -0
  80. package/dist/dts/menu-button/menu-button.d.ts +7 -0
  81. package/dist/dts/menu-button/menu-button.definition.d.ts +10 -0
  82. package/dist/dts/menu-button/menu-button.options.d.ts +47 -0
  83. package/dist/dts/menu-button/menu-button.template.d.ts +7 -0
  84. package/dist/dts/menu-item/define.d.ts +1 -0
  85. package/dist/dts/menu-item/index.d.ts +4 -0
  86. package/dist/dts/menu-item/menu-item.d.ts +9 -0
  87. package/dist/dts/menu-item/menu-item.definition.d.ts +11 -0
  88. package/dist/dts/menu-item/menu-item.styles.d.ts +4 -0
  89. package/dist/dts/menu-item/menu-item.template.d.ts +3 -0
  90. package/dist/dts/menu-list/define.d.ts +1 -0
  91. package/dist/dts/menu-list/index.d.ts +4 -0
  92. package/dist/dts/menu-list/menu-list.d.ts +9 -0
  93. package/dist/dts/menu-list/menu-list.definition.d.ts +11 -0
  94. package/dist/dts/menu-list/menu-list.styles.d.ts +4 -0
  95. package/dist/dts/menu-list/menu-list.template.d.ts +3 -0
  96. package/dist/dts/progress-bar/progress-bar.d.ts +3 -3
  97. package/dist/dts/progress-bar/progress-bar.options.d.ts +1 -1
  98. package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
  99. package/dist/dts/radio/define.d.ts +1 -0
  100. package/dist/dts/radio/index.d.ts +4 -0
  101. package/dist/dts/radio/radio.d.ts +7 -0
  102. package/dist/dts/radio/radio.definition.d.ts +10 -0
  103. package/dist/dts/radio/radio.styles.d.ts +4 -0
  104. package/dist/dts/radio/radio.template.d.ts +3 -0
  105. package/dist/dts/radio-group/define.d.ts +1 -0
  106. package/dist/dts/radio-group/index.d.ts +5 -0
  107. package/dist/dts/radio-group/radio-group.d.ts +15 -0
  108. package/dist/dts/radio-group/radio-group.definition.d.ts +10 -0
  109. package/dist/dts/radio-group/radio-group.styles.d.ts +4 -0
  110. package/dist/dts/radio-group/radio-group.template.d.ts +3 -0
  111. package/dist/dts/slider/define.d.ts +1 -0
  112. package/dist/dts/slider/index.d.ts +5 -0
  113. package/dist/dts/slider/slider.d.ts +24 -0
  114. package/dist/dts/slider/slider.definition.d.ts +10 -0
  115. package/dist/dts/slider/slider.options.d.ts +15 -0
  116. package/dist/dts/slider/slider.styles.d.ts +4 -0
  117. package/dist/dts/slider/slider.template.d.ts +3 -0
  118. package/dist/dts/spinner/spinner.d.ts +3 -3
  119. package/dist/dts/spinner/spinner.options.d.ts +1 -1
  120. package/dist/dts/switch/define.d.ts +1 -0
  121. package/dist/dts/switch/index.d.ts +5 -0
  122. package/dist/dts/switch/switch.d.ts +13 -0
  123. package/dist/dts/switch/switch.definition.d.ts +9 -0
  124. package/dist/dts/switch/switch.options.d.ts +15 -0
  125. package/dist/dts/switch/switch.styles.d.ts +1 -0
  126. package/dist/dts/switch/switch.template.d.ts +3 -0
  127. package/dist/dts/tab/define.d.ts +1 -0
  128. package/dist/dts/tab/index.d.ts +4 -0
  129. package/dist/dts/tab/tab.d.ts +8 -0
  130. package/dist/dts/tab/tab.definition.d.ts +2 -0
  131. package/dist/dts/tab/tab.styles.d.ts +1 -0
  132. package/dist/dts/tab/tab.template.d.ts +4 -0
  133. package/dist/dts/tab-panel/define.d.ts +1 -0
  134. package/dist/dts/tab-panel/index.d.ts +4 -0
  135. package/dist/dts/tab-panel/tab-panel.d.ts +3 -0
  136. package/dist/dts/tab-panel/tab-panel.definition.d.ts +2 -0
  137. package/dist/dts/tab-panel/tab-panel.styles.d.ts +1 -0
  138. package/dist/dts/tab-panel/tab-panel.template.d.ts +1 -0
  139. package/dist/dts/tabs/define.d.ts +1 -0
  140. package/dist/dts/tabs/index.d.ts +5 -0
  141. package/dist/dts/tabs/tabs.d.ts +88 -0
  142. package/dist/dts/tabs/tabs.definition.d.ts +2 -0
  143. package/dist/dts/tabs/tabs.options.d.ts +14 -0
  144. package/dist/dts/tabs/tabs.styles.d.ts +1 -0
  145. package/dist/dts/tabs/tabs.template.d.ts +1 -0
  146. package/dist/dts/text/text.d.ts +4 -4
  147. package/dist/dts/text/text.options.d.ts +1 -1
  148. package/dist/dts/text-input/define.d.ts +1 -0
  149. package/dist/dts/text-input/index.d.ts +6 -0
  150. package/dist/dts/text-input/text-input.d.ts +26 -0
  151. package/dist/dts/text-input/text-input.definition.d.ts +10 -0
  152. package/dist/dts/text-input/text-input.options.d.ts +30 -0
  153. package/dist/dts/text-input/text-input.styles.d.ts +4 -0
  154. package/dist/dts/text-input/text-input.template.d.ts +6 -0
  155. package/dist/dts/theme/design-tokens.d.ts +384 -379
  156. package/dist/dts/theme/index.d.ts +1 -1
  157. package/dist/dts/theme/set-theme.d.ts +2 -0
  158. package/dist/dts/toggle-button/define.d.ts +1 -0
  159. package/dist/dts/toggle-button/index.d.ts +5 -0
  160. package/dist/dts/toggle-button/toggle-button.d.ts +48 -0
  161. package/dist/dts/toggle-button/toggle-button.definition.d.ts +10 -0
  162. package/dist/dts/toggle-button/toggle-button.options.d.ts +47 -0
  163. package/dist/dts/toggle-button/toggle-button.styles.d.ts +1 -0
  164. package/dist/dts/toggle-button/toggle-button.template.d.ts +7 -0
  165. package/dist/dts/utils/apply-mixins.d.ts +11 -0
  166. package/dist/dts/utils/get-initials.d.ts +18 -0
  167. package/dist/esm/accordion/accordion.definition.js +19 -0
  168. package/dist/esm/accordion/accordion.definition.js.map +1 -0
  169. package/dist/esm/accordion/accordion.js +8 -0
  170. package/dist/esm/accordion/accordion.js.map +1 -0
  171. package/dist/esm/accordion/accordion.styles.js +12 -0
  172. package/dist/esm/accordion/accordion.styles.js.map +1 -0
  173. package/dist/esm/accordion/accordion.template.js +3 -0
  174. package/dist/esm/accordion/accordion.template.js.map +1 -0
  175. package/dist/esm/accordion/define.js +4 -0
  176. package/dist/esm/accordion/define.js.map +1 -0
  177. package/dist/esm/accordion/index.js +5 -0
  178. package/dist/esm/accordion/index.js.map +1 -0
  179. package/dist/esm/accordion-item/accordion-item.definition.js +19 -0
  180. package/dist/esm/accordion-item/accordion-item.definition.js.map +1 -0
  181. package/dist/esm/accordion-item/accordion-item.js +34 -0
  182. package/dist/esm/accordion-item/accordion-item.js.map +1 -0
  183. package/dist/esm/accordion-item/accordion-item.options.js +17 -0
  184. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -0
  185. package/dist/esm/accordion-item/accordion-item.styles.js +198 -0
  186. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -0
  187. package/dist/esm/accordion-item/accordion-item.template.js +37 -0
  188. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -0
  189. package/dist/esm/accordion-item/define.js +4 -0
  190. package/dist/esm/accordion-item/define.js.map +1 -0
  191. package/dist/esm/accordion-item/index.js +6 -0
  192. package/dist/esm/accordion-item/index.js.map +1 -0
  193. package/dist/esm/anchor-button/anchor-button.definition.js +21 -0
  194. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -0
  195. package/dist/esm/anchor-button/anchor-button.js +93 -0
  196. package/dist/esm/anchor-button/anchor-button.js.map +1 -0
  197. package/dist/esm/anchor-button/anchor-button.options.js +17 -0
  198. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -0
  199. package/dist/esm/anchor-button/anchor-button.styles.js +11 -0
  200. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -0
  201. package/dist/esm/anchor-button/anchor-button.template.js +7 -0
  202. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -0
  203. package/dist/esm/anchor-button/define.js +4 -0
  204. package/dist/esm/anchor-button/define.js.map +1 -0
  205. package/dist/esm/anchor-button/index.js +5 -0
  206. package/dist/esm/anchor-button/index.js.map +1 -0
  207. package/dist/esm/avatar/avatar.definition.js +17 -0
  208. package/dist/esm/avatar/avatar.definition.js.map +1 -0
  209. package/dist/esm/avatar/avatar.js +92 -0
  210. package/dist/esm/avatar/avatar.js.map +1 -0
  211. package/dist/esm/avatar/avatar.options.js +87 -0
  212. package/dist/esm/avatar/avatar.options.js.map +1 -0
  213. package/dist/esm/avatar/avatar.styles.js +477 -0
  214. package/dist/esm/avatar/avatar.styles.js.map +1 -0
  215. package/dist/esm/avatar/avatar.template.js +28 -0
  216. package/dist/esm/avatar/avatar.template.js.map +1 -0
  217. package/dist/esm/avatar/define.js +4 -0
  218. package/dist/esm/avatar/define.js.map +1 -0
  219. package/dist/esm/avatar/index.js +6 -0
  220. package/dist/esm/avatar/index.js.map +1 -0
  221. package/dist/esm/badge/badge.definition.js +1 -0
  222. package/dist/esm/badge/badge.definition.js.map +1 -0
  223. package/dist/esm/badge/badge.js +4 -1
  224. package/dist/esm/badge/badge.js.map +1 -0
  225. package/dist/esm/badge/badge.options.js +1 -0
  226. package/dist/esm/badge/badge.options.js.map +1 -0
  227. package/dist/esm/badge/badge.styles.js +1 -0
  228. package/dist/esm/badge/badge.styles.js.map +1 -0
  229. package/dist/esm/badge/badge.template.js +3 -1
  230. package/dist/esm/badge/badge.template.js.map +1 -0
  231. package/dist/esm/badge/define.js +1 -0
  232. package/dist/esm/badge/define.js.map +1 -0
  233. package/dist/esm/badge/index.js +1 -0
  234. package/dist/esm/badge/index.js.map +1 -0
  235. package/dist/esm/button/button.definition.js +21 -0
  236. package/dist/esm/button/button.definition.js.map +1 -0
  237. package/dist/esm/button/button.js +72 -0
  238. package/dist/esm/button/button.js.map +1 -0
  239. package/dist/esm/button/button.options.js +30 -0
  240. package/dist/esm/button/button.options.js.map +1 -0
  241. package/dist/esm/button/button.styles.js +260 -0
  242. package/dist/esm/button/button.styles.js.map +1 -0
  243. package/dist/esm/button/button.template.js +7 -0
  244. package/dist/esm/button/button.template.js.map +1 -0
  245. package/dist/esm/button/define.js +4 -0
  246. package/dist/esm/button/define.js.map +1 -0
  247. package/dist/esm/button/index.js +6 -0
  248. package/dist/esm/button/index.js.map +1 -0
  249. package/dist/esm/checkbox/checkbox.definition.js +17 -0
  250. package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
  251. package/dist/esm/checkbox/checkbox.js +24 -0
  252. package/dist/esm/checkbox/checkbox.js.map +1 -0
  253. package/dist/esm/checkbox/checkbox.options.js +25 -0
  254. package/dist/esm/checkbox/checkbox.options.js.map +1 -0
  255. package/dist/esm/checkbox/checkbox.styles.js +164 -0
  256. package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
  257. package/dist/esm/checkbox/checkbox.template.js +27 -0
  258. package/dist/esm/checkbox/checkbox.template.js.map +1 -0
  259. package/dist/esm/checkbox/define.js +4 -0
  260. package/dist/esm/checkbox/define.js.map +1 -0
  261. package/dist/esm/checkbox/index.js +6 -0
  262. package/dist/esm/checkbox/index.js.map +1 -0
  263. package/dist/esm/compound-button/compound-button.definition.js +21 -0
  264. package/dist/esm/compound-button/compound-button.definition.js.map +1 -0
  265. package/dist/esm/compound-button/compound-button.js +8 -0
  266. package/dist/esm/compound-button/compound-button.js.map +1 -0
  267. package/dist/esm/compound-button/compound-button.options.js +17 -0
  268. package/dist/esm/compound-button/compound-button.options.js.map +1 -0
  269. package/dist/esm/compound-button/compound-button.styles.js +105 -0
  270. package/dist/esm/compound-button/compound-button.styles.js.map +1 -0
  271. package/dist/esm/compound-button/compound-button.template.js +60 -0
  272. package/dist/esm/compound-button/compound-button.template.js.map +1 -0
  273. package/dist/esm/compound-button/define.js +4 -0
  274. package/dist/esm/compound-button/define.js.map +1 -0
  275. package/dist/esm/compound-button/index.js +6 -0
  276. package/dist/esm/compound-button/index.js.map +1 -0
  277. package/dist/esm/counter-badge/counter-badge.definition.js +1 -0
  278. package/dist/esm/counter-badge/counter-badge.definition.js.map +1 -0
  279. package/dist/esm/counter-badge/counter-badge.js +4 -1
  280. package/dist/esm/counter-badge/counter-badge.js.map +1 -0
  281. package/dist/esm/counter-badge/counter-badge.options.js +1 -0
  282. package/dist/esm/counter-badge/counter-badge.options.js.map +1 -0
  283. package/dist/esm/counter-badge/counter-badge.styles.js +1 -0
  284. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -0
  285. package/dist/esm/counter-badge/counter-badge.template.js +1 -0
  286. package/dist/esm/counter-badge/counter-badge.template.js.map +1 -0
  287. package/dist/esm/counter-badge/define.js +1 -0
  288. package/dist/esm/counter-badge/define.js.map +1 -0
  289. package/dist/esm/counter-badge/index.js +1 -0
  290. package/dist/esm/counter-badge/index.js.map +1 -0
  291. package/dist/esm/divider/define.js +4 -0
  292. package/dist/esm/divider/define.js.map +1 -0
  293. package/dist/esm/divider/divider.definition.js +17 -0
  294. package/dist/esm/divider/divider.definition.js.map +1 -0
  295. package/dist/esm/divider/divider.js +21 -0
  296. package/dist/esm/divider/divider.js.map +1 -0
  297. package/dist/esm/divider/divider.options.js +31 -0
  298. package/dist/esm/divider/divider.options.js.map +1 -0
  299. package/dist/esm/divider/divider.styles.js +127 -0
  300. package/dist/esm/divider/divider.styles.js.map +1 -0
  301. package/dist/esm/divider/divider.template.js +7 -0
  302. package/dist/esm/divider/divider.template.js.map +1 -0
  303. package/dist/esm/divider/index.js +6 -0
  304. package/dist/esm/divider/index.js.map +1 -0
  305. package/dist/esm/fluent-design-system.js +1 -0
  306. package/dist/esm/fluent-design-system.js.map +1 -0
  307. package/dist/esm/helpers.tests.js +29 -0
  308. package/dist/esm/helpers.tests.js.map +1 -0
  309. package/dist/esm/image/define.js +4 -0
  310. package/dist/esm/image/define.js.map +1 -0
  311. package/dist/esm/image/image.definition.js +17 -0
  312. package/dist/esm/image/image.definition.js.map +1 -0
  313. package/dist/esm/image/image.js +24 -0
  314. package/dist/esm/image/image.js.map +1 -0
  315. package/dist/esm/image/image.options.js +21 -0
  316. package/dist/esm/image/image.options.js.map +1 -0
  317. package/dist/esm/image/image.styles.js +59 -0
  318. package/dist/esm/image/image.styles.js.map +1 -0
  319. package/dist/esm/image/image.template.js +7 -0
  320. package/dist/esm/image/image.template.js.map +1 -0
  321. package/dist/esm/image/index.js +6 -0
  322. package/dist/esm/image/index.js.map +1 -0
  323. package/dist/esm/index-rollup.js +1 -0
  324. package/dist/esm/index-rollup.js.map +1 -0
  325. package/dist/esm/index.js +24 -0
  326. package/dist/esm/index.js.map +1 -0
  327. package/dist/esm/label/define.js +4 -0
  328. package/dist/esm/label/define.js.map +1 -0
  329. package/dist/esm/label/index.js +5 -0
  330. package/dist/esm/label/index.js.map +1 -0
  331. package/dist/esm/label/label.definition.js +18 -0
  332. package/dist/esm/label/label.definition.js.map +1 -0
  333. package/dist/esm/label/label.js +40 -0
  334. package/dist/esm/label/label.js.map +1 -0
  335. package/dist/esm/label/label.options.js +16 -0
  336. package/dist/esm/label/label.options.js.map +1 -0
  337. package/dist/esm/label/label.styles.js +38 -0
  338. package/dist/esm/label/label.styles.js.map +1 -0
  339. package/dist/esm/label/label.template.js +13 -0
  340. package/dist/esm/label/label.template.js.map +1 -0
  341. package/dist/esm/menu-button/define.js +4 -0
  342. package/dist/esm/menu-button/define.js.map +1 -0
  343. package/dist/esm/menu-button/index.js +6 -0
  344. package/dist/esm/menu-button/index.js.map +1 -0
  345. package/dist/esm/menu-button/menu-button.definition.js +21 -0
  346. package/dist/esm/menu-button/menu-button.definition.js.map +1 -0
  347. package/dist/esm/menu-button/menu-button.js +8 -0
  348. package/dist/esm/menu-button/menu-button.js.map +1 -0
  349. package/dist/esm/menu-button/menu-button.options.js +17 -0
  350. package/dist/esm/menu-button/menu-button.options.js.map +1 -0
  351. package/dist/esm/menu-button/menu-button.template.js +10 -0
  352. package/dist/esm/menu-button/menu-button.template.js.map +1 -0
  353. package/dist/esm/menu-item/define.js +4 -0
  354. package/dist/esm/menu-item/define.js.map +1 -0
  355. package/dist/esm/menu-item/index.js +5 -0
  356. package/dist/esm/menu-item/index.js.map +1 -0
  357. package/dist/esm/menu-item/menu-item.definition.js +19 -0
  358. package/dist/esm/menu-item/menu-item.definition.js.map +1 -0
  359. package/dist/esm/menu-item/menu-item.js +9 -0
  360. package/dist/esm/menu-item/menu-item.js.map +1 -0
  361. package/dist/esm/menu-item/menu-item.styles.js +183 -0
  362. package/dist/esm/menu-item/menu-item.styles.js.map +1 -0
  363. package/dist/esm/menu-item/menu-item.template.js +10 -0
  364. package/dist/esm/menu-item/menu-item.template.js.map +1 -0
  365. package/dist/esm/menu-list/define.js +4 -0
  366. package/dist/esm/menu-list/define.js.map +1 -0
  367. package/dist/esm/menu-list/index.js +5 -0
  368. package/dist/esm/menu-list/index.js.map +1 -0
  369. package/dist/esm/menu-list/menu-list.definition.js +19 -0
  370. package/dist/esm/menu-list/menu-list.definition.js.map +1 -0
  371. package/dist/esm/menu-list/menu-list.js +36 -0
  372. package/dist/esm/menu-list/menu-list.js.map +1 -0
  373. package/dist/esm/menu-list/menu-list.styles.js +24 -0
  374. package/dist/esm/menu-list/menu-list.styles.js.map +1 -0
  375. package/dist/esm/menu-list/menu-list.template.js +3 -0
  376. package/dist/esm/menu-list/menu-list.template.js.map +1 -0
  377. package/dist/esm/progress-bar/define.js +1 -0
  378. package/dist/esm/progress-bar/define.js.map +1 -0
  379. package/dist/esm/progress-bar/index.js +1 -0
  380. package/dist/esm/progress-bar/index.js.map +1 -0
  381. package/dist/esm/progress-bar/progress-bar.definition.js +1 -0
  382. package/dist/esm/progress-bar/progress-bar.definition.js.map +1 -0
  383. package/dist/esm/progress-bar/progress-bar.js +18 -2
  384. package/dist/esm/progress-bar/progress-bar.js.map +1 -0
  385. package/dist/esm/progress-bar/progress-bar.options.js +1 -0
  386. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -0
  387. package/dist/esm/progress-bar/progress-bar.styles.js +21 -3
  388. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -0
  389. package/dist/esm/progress-bar/progress-bar.template.js +2 -1
  390. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -0
  391. package/dist/esm/radio/define.js +4 -0
  392. package/dist/esm/radio/define.js.map +1 -0
  393. package/dist/esm/radio/index.js +5 -0
  394. package/dist/esm/radio/index.js.map +1 -0
  395. package/dist/esm/radio/radio.definition.js +18 -0
  396. package/dist/esm/radio/radio.definition.js.map +1 -0
  397. package/dist/esm/radio/radio.js +8 -0
  398. package/dist/esm/radio/radio.js.map +1 -0
  399. package/dist/esm/radio/radio.styles.js +118 -0
  400. package/dist/esm/radio/radio.styles.js.map +1 -0
  401. package/dist/esm/radio/radio.template.js +6 -0
  402. package/dist/esm/radio/radio.template.js.map +1 -0
  403. package/dist/esm/radio-group/define.js +4 -0
  404. package/dist/esm/radio-group/define.js.map +1 -0
  405. package/dist/esm/radio-group/index.js +6 -0
  406. package/dist/esm/radio-group/index.js.map +1 -0
  407. package/dist/esm/radio-group/radio-group.definition.js +18 -0
  408. package/dist/esm/radio-group/radio-group.definition.js.map +1 -0
  409. package/dist/esm/radio-group/radio-group.js +24 -0
  410. package/dist/esm/radio-group/radio-group.js.map +1 -0
  411. package/dist/esm/radio-group/radio-group.styles.js +52 -0
  412. package/dist/esm/radio-group/radio-group.styles.js.map +1 -0
  413. package/dist/esm/radio-group/radio-group.template.js +3 -0
  414. package/dist/esm/radio-group/radio-group.template.js.map +1 -0
  415. package/dist/esm/slider/define.js +4 -0
  416. package/dist/esm/slider/define.js.map +1 -0
  417. package/dist/esm/slider/index.js +6 -0
  418. package/dist/esm/slider/index.js.map +1 -0
  419. package/dist/esm/slider/slider.definition.js +18 -0
  420. package/dist/esm/slider/slider.definition.js.map +1 -0
  421. package/dist/esm/slider/slider.js +64 -0
  422. package/dist/esm/slider/slider.js.map +1 -0
  423. package/dist/esm/slider/slider.options.js +10 -0
  424. package/dist/esm/slider/slider.options.js.map +1 -0
  425. package/dist/esm/slider/slider.styles.js +203 -0
  426. package/dist/esm/slider/slider.styles.js.map +1 -0
  427. package/dist/esm/slider/slider.template.js +5 -0
  428. package/dist/esm/slider/slider.template.js.map +1 -0
  429. package/dist/esm/spinner/define.js +1 -0
  430. package/dist/esm/spinner/define.js.map +1 -0
  431. package/dist/esm/spinner/index.js +1 -0
  432. package/dist/esm/spinner/index.js.map +1 -0
  433. package/dist/esm/spinner/spinner.definition.js +1 -0
  434. package/dist/esm/spinner/spinner.definition.js.map +1 -0
  435. package/dist/esm/spinner/spinner.js +8 -2
  436. package/dist/esm/spinner/spinner.js.map +1 -0
  437. package/dist/esm/spinner/spinner.options.js +1 -0
  438. package/dist/esm/spinner/spinner.options.js.map +1 -0
  439. package/dist/esm/spinner/spinner.styles.js +3 -1
  440. package/dist/esm/spinner/spinner.styles.js.map +1 -0
  441. package/dist/esm/spinner/spinner.template.js +2 -1
  442. package/dist/esm/spinner/spinner.template.js.map +1 -0
  443. package/dist/esm/styles/index.js +1 -0
  444. package/dist/esm/styles/index.js.map +1 -0
  445. package/dist/esm/styles/partials/badge.partials.js +6 -4
  446. package/dist/esm/styles/partials/badge.partials.js.map +1 -0
  447. package/dist/esm/styles/partials/index.js +1 -0
  448. package/dist/esm/styles/partials/index.js.map +1 -0
  449. package/dist/esm/switch/define.js +4 -0
  450. package/dist/esm/switch/define.js.map +1 -0
  451. package/dist/esm/switch/index.js +6 -0
  452. package/dist/esm/switch/index.js.map +1 -0
  453. package/dist/esm/switch/switch.definition.js +17 -0
  454. package/dist/esm/switch/switch.definition.js.map +1 -0
  455. package/dist/esm/switch/switch.js +14 -0
  456. package/dist/esm/switch/switch.js.map +1 -0
  457. package/dist/esm/switch/switch.options.js +10 -0
  458. package/dist/esm/switch/switch.options.js.map +1 -0
  459. package/dist/esm/switch/switch.styles.js +141 -0
  460. package/dist/esm/switch/switch.styles.js.map +1 -0
  461. package/dist/esm/switch/switch.template.js +5 -0
  462. package/dist/esm/switch/switch.template.js.map +1 -0
  463. package/dist/esm/tab/define.js +4 -0
  464. package/dist/esm/tab/define.js.map +1 -0
  465. package/dist/esm/tab/index.js +5 -0
  466. package/dist/esm/tab/index.js.map +1 -0
  467. package/dist/esm/tab/tab.definition.js +10 -0
  468. package/dist/esm/tab/tab.definition.js.map +1 -0
  469. package/dist/esm/tab/tab.js +20 -0
  470. package/dist/esm/tab/tab.js.map +1 -0
  471. package/dist/esm/tab/tab.styles.js +98 -0
  472. package/dist/esm/tab/tab.styles.js.map +1 -0
  473. package/dist/esm/tab/tab.template.js +13 -0
  474. package/dist/esm/tab/tab.template.js.map +1 -0
  475. package/dist/esm/tab-panel/define.js +4 -0
  476. package/dist/esm/tab-panel/define.js.map +1 -0
  477. package/dist/esm/tab-panel/index.js +5 -0
  478. package/dist/esm/tab-panel/index.js.map +1 -0
  479. package/dist/esm/tab-panel/tab-panel.definition.js +10 -0
  480. package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -0
  481. package/dist/esm/tab-panel/tab-panel.js +4 -0
  482. package/dist/esm/tab-panel/tab-panel.js.map +1 -0
  483. package/dist/esm/tab-panel/tab-panel.styles.js +12 -0
  484. package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -0
  485. package/dist/esm/tab-panel/tab-panel.template.js +3 -0
  486. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -0
  487. package/dist/esm/tabs/define.js +4 -0
  488. package/dist/esm/tabs/define.js.map +1 -0
  489. package/dist/esm/tabs/index.js +6 -0
  490. package/dist/esm/tabs/index.js.map +1 -0
  491. package/dist/esm/tabs/tabs.definition.js +10 -0
  492. package/dist/esm/tabs/tabs.definition.js.map +1 -0
  493. package/dist/esm/tabs/tabs.js +158 -0
  494. package/dist/esm/tabs/tabs.js.map +1 -0
  495. package/dist/esm/tabs/tabs.options.js +12 -0
  496. package/dist/esm/tabs/tabs.options.js.map +1 -0
  497. package/dist/esm/tabs/tabs.styles.js +230 -0
  498. package/dist/esm/tabs/tabs.styles.js.map +1 -0
  499. package/dist/esm/tabs/tabs.template.js +3 -0
  500. package/dist/esm/tabs/tabs.template.js.map +1 -0
  501. package/dist/esm/text/define.js +1 -0
  502. package/dist/esm/text/define.js.map +1 -0
  503. package/dist/esm/text/index.js +1 -0
  504. package/dist/esm/text/index.js.map +1 -0
  505. package/dist/esm/text/text.definition.js +1 -0
  506. package/dist/esm/text/text.definition.js.map +1 -0
  507. package/dist/esm/text/text.js +1 -0
  508. package/dist/esm/text/text.js.map +1 -0
  509. package/dist/esm/text/text.options.js +1 -0
  510. package/dist/esm/text/text.options.js.map +1 -0
  511. package/dist/esm/text/text.styles.js +9 -2
  512. package/dist/esm/text/text.styles.js.map +1 -0
  513. package/dist/esm/text/text.template.js +1 -0
  514. package/dist/esm/text/text.template.js.map +1 -0
  515. package/dist/esm/text-input/define.js +4 -0
  516. package/dist/esm/text-input/define.js.map +1 -0
  517. package/dist/esm/text-input/index.js +7 -0
  518. package/dist/esm/text-input/index.js.map +1 -0
  519. package/dist/esm/text-input/text-input.definition.js +18 -0
  520. package/dist/esm/text-input/text-input.definition.js.map +1 -0
  521. package/dist/esm/text-input/text-input.js +16 -0
  522. package/dist/esm/text-input/text-input.js.map +1 -0
  523. package/dist/esm/text-input/text-input.options.js +20 -0
  524. package/dist/esm/text-input/text-input.options.js.map +1 -0
  525. package/dist/esm/text-input/text-input.styles.js +200 -0
  526. package/dist/esm/text-input/text-input.styles.js.map +1 -0
  527. package/dist/esm/text-input/text-input.template.js +6 -0
  528. package/dist/esm/text-input/text-input.template.js.map +1 -0
  529. package/dist/esm/theme/design-tokens.js +7 -1
  530. package/dist/esm/theme/design-tokens.js.map +1 -0
  531. package/dist/esm/theme/index.js +2 -1
  532. package/dist/esm/theme/index.js.map +1 -0
  533. package/dist/esm/theme/set-theme.js +6 -0
  534. package/dist/esm/theme/set-theme.js.map +1 -0
  535. package/dist/esm/toggle-button/define.js +4 -0
  536. package/dist/esm/toggle-button/define.js.map +1 -0
  537. package/dist/esm/toggle-button/index.js +6 -0
  538. package/dist/esm/toggle-button/index.js.map +1 -0
  539. package/dist/esm/toggle-button/toggle-button.definition.js +21 -0
  540. package/dist/esm/toggle-button/toggle-button.definition.js.map +1 -0
  541. package/dist/esm/toggle-button/toggle-button.js +102 -0
  542. package/dist/esm/toggle-button/toggle-button.js.map +1 -0
  543. package/dist/esm/toggle-button/toggle-button.options.js +17 -0
  544. package/dist/esm/toggle-button/toggle-button.options.js.map +1 -0
  545. package/dist/esm/toggle-button/toggle-button.styles.js +94 -0
  546. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -0
  547. package/dist/esm/toggle-button/toggle-button.template.js +7 -0
  548. package/dist/esm/toggle-button/toggle-button.template.js.map +1 -0
  549. package/dist/esm/utils/apply-mixins.js +26 -0
  550. package/dist/esm/utils/apply-mixins.js.map +1 -0
  551. package/dist/esm/utils/get-initials.js +83 -0
  552. package/dist/esm/utils/get-initials.js.map +1 -0
  553. package/dist/fluent-web-components.api.json +10752 -6661
  554. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +1 -0
  555. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +1 -0
  556. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +2 -0
  557. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +17 -0
  558. package/dist/storybook/401.7edec720.iframe.bundle.js +2 -0
  559. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +12 -0
  560. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +2 -0
  561. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +12 -0
  562. package/dist/storybook/491.77b24750.iframe.bundle.js +1 -0
  563. package/dist/storybook/709.22096ad4.iframe.bundle.js +2 -0
  564. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +8 -0
  565. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +2 -0
  566. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +8 -0
  567. package/dist/storybook/721.46fa9f53.iframe.bundle.js +2 -0
  568. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +31 -0
  569. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +2 -0
  570. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +31 -0
  571. package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js +2 -0
  572. package/dist/storybook/761.21909e5ef44f985ae0d4.manager.bundle.js.LICENSE.txt +94 -0
  573. package/dist/storybook/858.da40ed98.iframe.bundle.js +1 -0
  574. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +1 -0
  575. package/dist/storybook/885.6558041f.iframe.bundle.js +462 -0
  576. package/dist/storybook/885.6558041f.iframe.bundle.js.LICENSE.txt +46 -0
  577. package/dist/storybook/885.6558041f.iframe.bundle.js.map +1 -0
  578. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +1 -0
  579. package/dist/storybook/954.630c5748.iframe.bundle.js +1 -0
  580. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +1 -0
  581. package/dist/storybook/iframe.html +364 -0
  582. package/dist/storybook/index.html +165 -0
  583. package/dist/storybook/main.18c2c615e57574af12cd.manager.bundle.js +1 -0
  584. package/dist/storybook/main.ff3dba0d.iframe.bundle.js +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.8db883e762072830487f.manager.bundle.js +1 -0
  588. package/dist/storybook/shell.css +83 -0
  589. package/{public → dist/storybook}/theme-switch.ts +1 -1
  590. package/dist/web-components.d.ts +2113 -387
  591. package/dist/web-components.js +7430 -1667
  592. package/dist/web-components.min.js +191 -116
  593. package/docs/api-report.md +929 -24
  594. package/package.json +136 -53
  595. package/playwright.config.ts +25 -0
  596. package/.eslintrc.json +0 -62
  597. package/CHANGELOG.json +0 -2787
  598. package/build/clean.cjs +0 -29
  599. package/build/transform-fragments.js +0 -29
  600. package/dist/dts/badge/badge.stories.d.ts +0 -12
  601. package/dist/dts/counter-badge/counter-badge.stories.d.ts +0 -14
  602. package/dist/dts/progress-bar/progress-bar.stories.d.ts +0 -9
  603. package/dist/dts/spinner/spinner.stories.d.ts +0 -8
  604. package/dist/dts/text/text.stories.d.ts +0 -8
  605. package/dist/dts/theme/theme.stories.d.ts +0 -5
  606. package/dist/esm/badge/badge.stories.js +0 -108
  607. package/dist/esm/counter-badge/counter-badge.stories.js +0 -102
  608. package/dist/esm/progress-bar/progress-bar.stories.js +0 -60
  609. package/dist/esm/spinner/spinner.stories.js +0 -45
  610. package/dist/esm/text/text.stories.js +0 -111
  611. package/dist/esm/theme/theme.stories.js +0 -21
  612. package/dist/tsdoc-metadata.json +0 -11
  613. package/rollup.config.js +0 -58
  614. package/storybook-typings.d.ts +0 -4
  615. /package/{public → dist/storybook}/SegoeUI-VF.ttf +0 -0
  616. /package/{public → dist/storybook}/favicon.ico +0 -0
  617. /package/{public → dist/storybook}/favicon.png +0 -0
@@ -1,20 +1,36 @@
1
- import{composedContains as e,composedParent as t}from"@microsoft/fast-element/utilities";function r(e,t,r,o){var n,a=arguments.length,s=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(s=(a<3?n(s):a>3?n(t,r,s):n(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s}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 n={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},n));const a=globalThis.FAST;if(void 0===a.getById){const e=Object.create(null);Reflect.defineProperty(a,"getById",Object.assign({value(t,r){let o=e[t];return void 0===o&&(o=r?e[t]=r():null),o}},n))}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 i(){const e=new WeakMap;return function(t){let r=e.get(t);if(void 0===r){let o=Reflect.getPrototypeOf(t);for(;void 0===r&&null!==o;)r=e.get(o),o=Reflect.getPrototypeOf(o);r=void 0===r?[]:r.slice(0),e.set(t,r)}return r}}let l;void 0===a.error&&Object.assign(a,{warn(){},error:e=>new Error("Error "+e),addMessages(){}}),Object.freeze([]);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,u=e=>"string"==typeof e,h=()=>{},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,r,o)=>o});const b=v,B=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw a.error(1201);v=e},setAttribute(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r)},setBooleanAttribute(e,t,r){r?e.setAttribute(t,""):e.removeAttribute(t)}}),m=a.getById(c.updateQueue,()=>{const e=[],t=[],r=globalThis.requestAnimationFrame;let o=!0;function n(){if(t.length)throw t.shift()}function a(r){try{r.call()}catch(r){if(!o)throw e.length=0,r;t.push(r),setTimeout(n,0)}}function s(){let t=0;for(;t<e.length;)if(a(e[t]),t++,t>1024){for(let r=0,o=e.length-t;r<o;r++)e[r]=e[r+t];e.length-=t,t=0}e.length=0}function i(t){e.push(t),e.length<2&&(o?r(s):s())}return Object.freeze({enqueue:i,next:()=>new Promise(i),process:s,setMode:e=>o=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 r=t.indexOf(e);-1!==r&&t.splice(r,1)}}notify(e){const t=this.spillover,r=this.subject;if(void 0===t){const t=this.sub1,o=this.sub2;void 0!==t&&t.handleChange(r,e),void 0!==o&&o.handleChange(r,e)}else for(let o=0,n=t.length;o<n;++o)t[o].handleChange(r,e)}}class y{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,r;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(r=this.subjectSubscribers)||void 0===r||r.notify(e)}subscribe(e,t){var r,o;let n;n=t?null!==(r=this.subscribers[t])&&void 0!==r?r:this.subscribers[t]=new k(this.subject):null!==(o=this.subjectSubscribers)&&void 0!==o?o:this.subjectSubscribers=new k(this.subject),n.subscribe(e)}unsubscribe(e,t){var r,o;t?null===(r=this.subscribers[t])||void 0===r||r.unsubscribe(e):null===(o=this.subjectSubscribers)||void 0===o||o.unsubscribe(e)}}const P=Object.freeze({unknown:void 0,coupled:1}),S=a.getById(c.observable,()=>{const e=m.enqueue,t=/(:|&&|\|\||if)/,r=new WeakMap;let o=void 0,n=e=>{throw a.error(1101)};function s(e){var t;let o=null!==(t=e.$fastController)&&void 0!==t?t:r.get(e);return void 0===o&&(Array.isArray(e)?o=n(e):r.set(e,o=new y(e))),o}const l=i();class c{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==o&&o.watch(e,this.name),e[this.field]}setValue(e,t){const r=this.field,o=e[r];if(o!==t){e[r]=t;const n=e[this.callback];d(n)&&n.call(e,o,t),s(e).notify(this.name)}}}class g extends k{constructor(e,t,r=!1){super(e,t),this.expression=e,this.isVolatileBinding=r,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=h}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!==P.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 r=o;let n;o=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{n=this.expression(e,t)}finally{o=r}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 r=this.last,n=s(e),a=null===r?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=n,n.subscribe(this,t),null!==r){if(!this.needsRefresh){let t;o=void 0,t=r.propertySource[r.propertyName],o=this,e===t&&(this.needsRefresh=!0)}r.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 Object.freeze({setArrayObserverFactory(e){n=e},getNotifier:s,track(e,t){o&&o.watch(e,t)},trackVolatile(){o&&(o.needsRefresh=!0)},notify(e,t){s(e).notify(t)},defineProperty(e,t){u(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,r=this.isVolatileBinding(e)){return new g(e,t,r)},isVolatileBinding:e=>t.test(e.toString())})});function w(e,t){S.defineProperty(e,t)}const N=a.getById(c.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),F=Object.freeze({default:{index:0,length:0,get event(){return F.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>N.get(),setEvent(e){N.set(e)}});let x;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(x),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){x=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 $=s(),A=Object.freeze({getForInstance:$.getForInstance,getByType:$.getByType,define:e=>($.register({type:e}),e)});function T(e,t){const r=[];let o="";const n=[],a=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){o+=e[n];let s=t[n];void 0!==A.getForInstance(s)&&(s=s.createCSS(a)),s instanceof C||s instanceof CSSStyleSheet?(""!==o.trim()&&(r.push(o),o=""),r.push(s)):o+=s}return o+=e[e.length-1],""!==o.trim()&&r.push(o),{styles:r,behaviors:n}}const O=(e,...t)=>{const{styles:r,behaviors:o}=T(e,t),n=new C(r);return o.length?n.withBehaviors(...o):n};class z{constructor(e,t){this.behaviors=t,this.css="";const r=e.reduce((e,t)=>(u(t)?this.css+=t:e.push(t),e),[]);r.length&&(this.styles=new C(r))}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)}}A.define(z),O.partial=(e,...t)=>{const{styles:r,behaviors:o}=T(e,t);return new z(r,o)};const L="fast-"+Math.random().toString(36).substring(2,8),H=L+"{",D="}"+L,M=D.length;let V=0;const R=()=>`${L}-${++V}`,I=Object.freeze({interpolation:e=>`${H}${e}${D}`,attribute:e=>`${R()}="${H}${e}${D}"`,comment:e=>`\x3c!--${H}${e}${D}--\x3e`}),_=Object.freeze({parse(e,t){const r=e.split(H);if(1===r.length)return null;const o=[];for(let e=0,n=r.length;e<n;++e){const n=r[e],a=n.indexOf(D);let s;if(-1===a)s=n;else{const e=n.substring(0,a);o.push(t[e]),s=n.substring(a+M)}""!==s&&o.push(s)}return o}}),j=s(),G=Object.freeze({getForInstance:j.getForInstance,getByType:j.getByType,define:(e,t)=>((t=t||{}).type=e,j.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 E{constructor(e,t,r=!1){this.evaluate=e,this.policy=t,this.isVolatile=r}}class X extends E{createObserver(e,t){return S.binding(this.evaluate,t,this.isVolatile)}}class q extends E{constructor(){super(...arguments),this.toJSON=h}createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}const W={[g.attribute]:B.setAttribute,[g.booleanAttribute]:B.setBooleanAttribute,[g.property]:(e,t,r)=>e[t]=r,[g.content]:function(e,t,r,o){if(null==r&&(r=""),r.create){e.textContent="";let t=e.$fastView;void 0===t?t=r.create():e.$fastTemplate!==r&&(t.isComposed&&(t.remove(),t.unbind()),t=r.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(o.source,o.context)):(t.isComposed=!0,t.bind(o.source,o.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=r)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=r}},[g.tokenList]:function(e,t,r){var o;const n=this.id+"-t",a=null!==(o=e[n])&&void 0!==o?o:e[n]={v:0,cv:Object.create(null)},s=a.cv;let i=a.v;const l=e[t];if(null!=r&&r.length){const e=r.split(/\s+/);for(let t=0,r=e.length;t<r;++t){const r=e[t];""!==r&&(s[r]=i,l.add(r))}}if(a.v=i+1,0!==i){i-=1;for(const e in s)s[e]===i&&l.remove(e)}},[g.event]:()=>{}};class Y{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return I.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=W[this.aspectType],r=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw a.error(1205);this.data=this.id+"-d",this.updateTarget=r.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const r=e.targets[this.targetNodeId];switch(this.aspectType){case g.event:r[this.data]=e,r.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case g.content:e.onUnbind(this);default:const o=null!==(t=r[this.data])&&void 0!==t?t:r[this.data]=this.dataBinding.createObserver(this,this);o.target=r,o.controller=e,this.updateTarget(r,this.targetAspect,o.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){F.setEvent(e);const r=this.dataBinding.evaluate(t.source,t.context);F.setEvent(null),!0!==r&&e.preventDefault()}}handleChange(e,t){const r=t.target,o=t.controller;this.updateTarget(r,this.targetAspect,t.bind(o),o)}}function U(e,t,r=S.isVolatileBinding(e)){return new X(e,t,r)}function Q(e,t){return new q(e,t)}function K(e,t){const r=e.parentNode;let o,n=e;for(;n!==t;)o=n.nextSibling,r.removeChild(n),n=o;r.removeChild(t)}G.define(Y,{aspected:!0});class J{constructor(e,t,r){this.fragment=e,this.factories=t,this.targets=r,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=P.unknown,this.context=this,this.index=0,this.length=0,this.toJSON=h,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return F.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 r=e.parentNode;let o,n=this.firstChild;for(;n!==t;)o=n.nextSibling,r.insertBefore(n,e),n=o;r.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let r,o=this.firstChild;for(;o!==t;)r=o.nextSibling,e.appendChild(o),o=r;e.appendChild(t)}dispose(){K(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let r=this.behaviors;if(null===r){this.source=e,this.context=t,this.behaviors=r=new Array(this.factories.length);const o=this.factories;for(let e=0,t=o.length;e<t;++e){const t=o[e].createBehavior();t.bind(this),r[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=r.length;e<t;++e)r[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,r=e.length;t<r;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){K(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,r=e.length;t<r;++t)e[t].unbind()}}}S.defineProperty(J.prototype,"index"),S.defineProperty(J.prototype,"length");const Z=(e,t)=>`${e}.${t}`,ee={},te={index:0,node:null};function re(e){e.startsWith("fast-")||a.warn(1204,{name:e})}const oe=new Proxy(document.createElement("div"),{get(e,t){re(t);const r=Reflect.get(e,t);return d(r)?r.bind(e):r},set:(e,t,r)=>(re(t),Reflect.set(e,t,r))});class ne{constructor(e,t,r){this.fragment=e,this.directives=t,this.policy=r,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,r,o,n){var a,s;this.nodeIds.has(r)||(this.nodeIds.add(r),this.addTargetDescriptor(t,r,o)),e.id=null!==(a=e.id)&&void 0!==a?a:R(),e.targetNodeId=r,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,r){const o=this.descriptors;if("r"===t||"h"===t||o[t])return;if(!o[e]){const t=e.lastIndexOf("."),r=e.substring(0,t),o=parseInt(e.substring(t+1));this.addTargetDescriptor(r,e,o)}let n=ee[t];if(!n){const o="_"+t;ee[t]=n={get(){var t;return null!==(t=this[o])&&void 0!==t?t:this[o]=this[e].childNodes[r]}}}o[t]=n}createView(e){const t=this.fragment.cloneNode(!0),r=Object.create(this.proto);r.r=t,r.h=null!=e?e:oe;for(const e of this.nodeIds)r[e];return new J(t,this.factories,r)}}function ae(e,t,r,o,n,a=!1){const s=r.attributes,i=e.directives;for(let l=0,c=s.length;l<c;++l){const d=s[l],u=d.value,h=_.parse(u,i);let g=null;null===h?a&&(g=new Y(Q(()=>u,e.policy)),G.assignAspect(g,d.name)):g=le.aggregate(h,e.policy),null!==g&&(r.removeAttributeNode(d),l--,c--,e.addFactory(g,t,o,n,r.tagName))}}function se(e,t,r){let o=0,n=t.firstChild;for(;n;){const t=ie(e,r,n,o);n=t.node,o=t.index}}function ie(e,t,r,o){const n=Z(t,o);switch(r.nodeType){case 1:ae(e,t,r,n,o),se(e,r,n);break;case 3:return function(e,t,r,o,n){const a=_.parse(t.textContent,e.directives);if(null===a)return te.node=t.nextSibling,te.index=n+1,te;let s,i=s=t;for(let t=0,l=a.length;t<l;++t){const l=a[t];0!==t&&(n++,o=Z(r,n),s=i.parentNode.insertBefore(document.createTextNode(""),i.nextSibling)),u(l)?s.textContent=l:(s.textContent=" ",G.assignAspect(l),e.addFactory(l,r,o,n,null)),i=s}return te.index=n+1,te.node=i.nextSibling,te}(e,r,t,n,o);case 8:const a=_.parse(r.data,e.directives);null!==a&&e.addFactory(le.aggregate(a),t,n,o,null)}return te.index=o+1,te.node=r.nextSibling,te}const le={compile(e,t,r=B.policy){let o;if(u(e)){o=document.createElement("TEMPLATE"),o.innerHTML=r.createHTML(e);const t=o.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(o=t)}else o=e;const n=document.adoptNode(o.content),a=new ne(n,t,r);var s,i;return ae(a,"",o,"h",0,!0),s=n.firstChild,i=t,(s&&8==s.nodeType&&null!==_.parse(s.data,i)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),se(a,n,"r"),te.node=null,a.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=B.policy){if(1===e.length)return e[0];let r,o,n=!1,a=void 0;const s=e.length,i=e.map(e=>u(e)?()=>e:(r=e.sourceAspect||r,o=e.dataBinding||o,n=n||e.dataBinding.isVolatile,a=a||e.dataBinding.policy,e.dataBinding.evaluate));o.evaluate=(e,t)=>{let r="";for(let o=0;o<s;++o)r+=i[o](e,t);return r},o.isVolatile=n,o.policy=null!=a?a:t;const l=new Y(o);return G.assignAspect(l,r),l}},ce=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,de=Object.create(null);class ue{constructor(e,t=de){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const r in t)e(t[r]);return this.html}}function he(e,t,r,o=G.getForInstance(e)){if(o.aspected){const r=ce.exec(t);null!==r&&G.assignAspect(e,r[2])}return e.createHTML(r)}ue.empty=new ue(""),G.define(ue);class ge{constructor(e,t={},r){this.policy=r,this.result=null,this.toJSON=h,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=le.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ue(u(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw a.error(1208);if(this.policy)throw a.error(1207);return this.policy=e,this}render(e,t,r){const o=this.create(r);return o.bind(e),o.appendTo(t),o}static create(e,t,r){let o="";const n=Object.create(null),a=e=>{var t;const r=null!==(t=e.id)&&void 0!==t?t:e.id=R();return n[r]=e,r};for(let r=0,n=e.length-1;r<n;++r){const n=e[r];let s,i=t[r];if(o+=n,d(i))i=new Y(U(i));else if(i instanceof E)i=new Y(i);else if(!(s=G.getForInstance(i))){const e=i;i=new Y(Q(()=>e))}o+=he(i,n,a,s)}return new ge(o+e[e.length-1],n,r)}}const pe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ge.create(e,t);throw a.error(1206)};pe.partial=e=>new ue(e);class fe extends class{constructor(e){this.options=e,this.toJSON=h}createHTML(e){return I.attribute(e(this))}createBehavior(){return this}}{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}G.define(fe);const ve=e=>new fe(e);function be(e,t){const r=d(e)?e:()=>e,o=d(t)?t:()=>t;return(e,t)=>r(e,t)?o(e,t):null}const Be=Object.freeze({locate:i()}),me={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function ke(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const ye={toView(e){const t=ke(e);return t?t.toString():t},fromView:ke};class Pe{constructor(e,t,r=t.toLowerCase(),o="reflect",n){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=r,this.mode=o,this.converter=n,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===o&&void 0===n&&(this.converter=me)}setValue(e,t){const r=e[this.fieldName],o=this.converter;void 0!==o&&(t=o.fromView(t)),r!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](r,t),e.$fastController.notify(this.name))}getValue(e){return S.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,r=this.guards;r.has(e)||"fromView"===t||m.enqueue(()=>{r.add(e);const o=e[this.fieldName];switch(t){case"reflect":const t=this.converter;B.setAttribute(e,this.attribute,void 0!==t?t.toView(o):o);break;case"boolean":B.setBooleanAttribute(e,this.attribute,o)}r.delete(e)})}static collect(e,...t){const r=[];t.push(Be.locate(e));for(let o=0,n=t.length;o<n;++o){const n=t[o];if(void 0!==n)for(let t=0,o=n.length;t<o;++t){const o=n[t];u(o)?r.push(new Pe(e,o)):r.push(new Pe(e,o.property,o.attribute,o.mode,o.converter))}}return r}}function Se(e,t){let r;function o(e,t){arguments.length>1&&(r.property=t),Be.locate(e.constructor).push(r)}return arguments.length>1?(r={},void o(e,t)):(r=void 0===e?{}:e,o)}const we={mode:"open"},Ne={},Fe=new Set,xe=a.getById(c.elementRegistry,()=>s());class Ce{constructor(e,t=e.definition){var r;this.platformDefined=!1,u(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(r=t.registry)&&void 0!==r?r:customElements;const o=e.prototype,n=Pe.collect(e,t.attributes),a=new Array(n.length),s={},i={};for(let e=0,t=n.length;e<t;++e){const t=n[e];a[e]=t.attribute,s[t.name]=t,i[t.attribute]=t,S.defineProperty(o,t)}Reflect.defineProperty(e,"observedAttributes",{value:a,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=i,this.shadowOptions=void 0===t.shadowOptions?we:null===t.shadowOptions?void 0:Object.assign(Object.assign({},we),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Ne:Object.assign(Object.assign({},Ne),t.elementOptions),this.styles=C.normalize(t.styles),xe.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 Fe.has(e)||xe.getByType(e)?new Ce(class extends e{},t):new Ce(e,t)}static registerBaseType(e){Fe.add(e)}}Ce.getByType=xe.getByType,Ce.getForInstance=xe.getForInstance;const $e={bubbles:!0,composed:!0,cancelable:!0},Ae=new WeakMap;function Te(e){var t,r;return null!==(r=null!==(t=e.shadowRoot)&&void 0!==t?t:Ae.get(e))&&void 0!==r?r:null}let Oe;class ze 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.toJSON=h,this.source=e,this.definition=t;const r=t.shadowOptions;if(void 0!==r){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(r),"closed"===r.mode&&Ae.set(e,t))}const o=S.getAccessors(e);if(o.length>0){const t=this.boundObservables=Object.create(null);for(let r=0,n=o.length;r<n;++r){const n=o[r].name,a=e[n];void 0!==a&&(delete e[n],t[n]=a)}}}get isConnected(){return S.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,r;const o=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,n=null!==(r=o.get(e))&&void 0!==r?r:0;0===n?(o.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):o.set(e,n+1)}removeBehavior(e,t=!1){const r=this.behaviors;if(null===r)return;const o=r.get(e);void 0!==o&&(1===o||t?(r.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):r.set(e,o-1))}addStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement){(null!==(t=Te(r))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(r)){const t=e.behaviors;if(e.addStylesTo(r),null!==t)for(let e=0,r=t.length;e<r;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const r=this.source;if(e instanceof HTMLElement){(null!==(t=Te(r))&&void 0!==t?t:r).removeChild(e)}else if(e.isAttachedTo(r)){const t=e.behaviors;if(e.removeStylesFrom(r),null!==t)for(let e=0,r=t.length;e<r;++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,r=Object.keys(t);for(let o=0,n=r.length;o<n;++o){const n=r[o];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,S.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,S.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,r){const o=this.definition.attributeLookup[e];void 0!==o&&o.onAttributeChangedCallback(this.source,r)}emit(e,t,r){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},$e),r)))}renderTemplate(e){var t;const r=this.source,o=null!==(t=Te(r))&&void 0!==t?t:r;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=o.firstChild;null!==e;e=o.firstChild)o.removeChild(e)}e&&(this.view=e.render(r,o,r),this.view.sourceLifetime=P.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const r=Ce.getForInstance(e);if(void 0===r)throw a.error(1401);return e.$fastController=new Oe(e,r)}static setStrategy(e){Oe=e}}function Le(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=Te(e))&&void 0!==t?t:e.getRootNode()}ze.setStrategy(ze);class He{constructor(e){const t=He.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let r=t.get(e);return void 0===r&&(r=new CSSStyleSheet,r.replaceSync(e),t.set(e,r)),r})}addStylesTo(e){const t=Le(e);t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.sheets]}removeStylesFrom(e){const t=Le(e),r=this.sheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(e=>-1===r.indexOf(e))}}He.styleSheetCache=new Map;let De=0;function Me(e){return e===document?document.body:e}function Ve(e){const t=class extends e{constructor(){super(),ze.forCustomElement(this)}$emit(e,t,r){return this.$fastController.emit(e,t,r)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,r){this.$fastController.onAttributeChangedCallback(e,t,r)}};return Ce.registerBaseType(t),t}C.setDefaultStrategy(C.supportsAdoptedStyleSheets?He:class{constructor(e){this.styles=e,this.styleClass="fast-"+ ++De}addStylesTo(e){e=Me(Le(e));const t=this.styles,r=this.styleClass;for(let o=0;o<t.length;o++){const n=document.createElement("style");n.innerHTML=t[o],n.className=r,e.append(n)}}removeStylesFrom(e){const t=(e=Me(Le(e))).querySelectorAll("."+this.styleClass);for(let r=0,o=t.length;r<o;++r)e.removeChild(t[r])}});const Re=Object.assign(Ve(HTMLElement),{from:function(e){return Ve(e)},define:function(e,t){return d(e)?Ce.compose(e,t).define().type:Ce.compose(this,e).define().type},compose:function(e,t){return d(e)?Ce.compose(e,t):Ce.compose(this,e)}});function Ie(e){return e?"string"==typeof e?new ue(e):"inline"in e?e.inline():e:ue.empty}class _e{}function je(e,...t){const r=Be.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(r=>{"constructor"!==r&&Object.defineProperty(e.prototype,r,Object.getOwnPropertyDescriptor(t.prototype,r))});Be.locate(t).forEach(e=>r.push(e))})}class Ge{constructor(e){this.value=e,this.notifier=S.getNotifier(this),this.dependencies=new Set,this.binding=S.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Ge.cache.get(e);return t||(t=new Ge(e),Ge.cache.set(e,t),t)}evaluate(e,t){return this.binding.observe(r=>{if(this.dependencies.add(r),t===r){if(e.parent)return e.parent.getTokenValue(r);throw new Error("DesignTokenNode has encountered a circular token reference. Avoid this by setting the token value for an ancestor node.")}return e.getTokenValue(r)})}handleChange(){this.notifier.notify(void 0)}}Ge.cache=new WeakMap;class Ee{constructor(e,t,r,o){this.token=e,this.evaluator=t,this.node=r,this.subscriber=o,this.value=t.evaluate(r,e),this.subscriber&&S.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&S.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Xe{constructor(e,t,r,o){this.target=e,this.type=t,this.token=r,this.value=o}notify(){S.getNotifier(this.token).notify(this)}}class qe{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 r=qe.getAssignedTokensForNode(e),o=e.parent;do{const e=qe.getAssignedTokensForNode(o);for(let n=0,a=e.length;n<a;n++){const a=e[n];!r.includes(a)&&qe.isDerivedFor(o,a)&&t.set(a,o._derived.get(a))}r=Array.from(new Set(r.concat(e))),o=o.parent}while(null!==o);return t}static getLocalTokenValue(e,t){return qe.isAssigned(e,t)?qe.isDerivedFor(e,t)?e._derived.get(t).value:e._values.get(t):void 0}static getOrCreateDependencyGraph(e,t){let r=e.dependencyGraph.get(t);return r||(r=new Set,e.dependencyGraph.set(t,r),r)}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(qe.getAssignedTokensForNode(e));let r=e.parent;for(;null!==r;){const e=qe.getAssignedTokensForNode(r);for(const r of e)t.add(r);r=r.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,r;let o=null;null!==e.parent&&(o=qe.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const n=qe.composeAssignedTokensForNode(this),a=qe.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const r of n){let n=0;if(null!==o){const e=o.indexOf(r);-1!==e&&(n=1,o.splice(e,1))}e.dispatch(new Xe(this,n,r,null===(t=a.get(r))||void 0===t?void 0:t.evaluator.value))}if(null!==o&&o.length>0)for(const t of o)e.dispatch(new Xe(this,2,t,null===(r=a.get(t))||void 0===r?void 0:r.evaluator.value));qe.notify()}removeChild(e){if(e.parent===this){const t=qe.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const r of t)e.dispatch(new Xe(this,2,r));qe.notify()}}dispose(){this.parent&&(this.parent._children.delete(this),this._parent=null);for(const[,e]of this._derived)e.dispose()}setTokenValue(e,t){const r=qe.isAssigned(this,e)||qe.isDerivedFor(this,e)?1:0,o=qe.getLocalTokenValue(this,e);this._values.set(e,t),qe.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const n=qe.isDerivedTokenValue(t),a=qe.collectDerivedContext(this);let s;if(n){s=this.setupDerivedTokenValue(e,t,!0).value}else s=t;o!==s&&qe.queueNotification(new Xe(this,r,e,t)),this.dispatch(new Xe(this,r,e,t)),a.forEach((e,t)=>{if(!qe.isDerivedFor(this,t)){qe.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&qe.queueNotification(new Xe(this,1,t,e.evaluator.value)),this.dispatch(new Xe(this,0,t,e.evaluator.value))}}),qe.notify()}getTokenValue(e){let t,r=this;for(;null!==r;){if(qe.isDerivedFor(r,e)){t=r._derived.get(e).value;break}if(qe.isAssigned(r,e)){t=r._values.get(e);break}r=r._parent}if(void 0!==t)return t;throw new Error(`No value set for token ${e} in node tree.`)}deleteTokenValue(e){if(qe.isAssigned(this,e)){const t=qe.getLocalTokenValue(this,e);let r;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{r=this.getTokenValue(e)}catch(e){r=void 0}qe.queueNotification(new Xe(this,2,e)),t!==r&&this.dispatch(new Xe(this,2,e)),qe.notify()}}dispatch(e){var t,r,o;if(this!==e.target){const{token:n}=e,a=qe.isAssigned(this,n),s=a&&(null===(t=this._derived.get(n))||void 0===t?void 0:t.evaluator.dependencies.has(n));if(a&&!s)return;2===e.type&&!a&&qe.isDerivedFor(this,n)&&(this.tearDownDerivedTokenValue(n),qe.queueNotification(new Xe(this,2,n))),s&&(e=new Xe(this,1,n,null===(r=this._derived.get(n))||void 0===r?void 0:r.evaluator.value));const{value:i}=e;if(i&&qe.isDerivedTokenValue(i)){const t=Ge.getOrCreate(i).dependencies;let r=!1;for(const e of t)if(qe.isAssigned(this,e)){r=!0;break}if(r){const t=null===(o=this._derived.get(n))||void 0===o?void 0:o.value,r=this.setupDerivedTokenValue(n,i);if(t!==r.value){const o=new Xe(this,void 0===t?0:1,n,r.evaluator.value);qe.queueNotification(o),e=o}}}}this.collectLocalChangeRecords(e).forEach(e=>{qe.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const r of qe.getOrCreateDependencyGraph(this,e.token))r.value!==r.update().value&&t.set(r.token,new Xe(this,1,r.token,r.evaluator.value));return t}notifyChildren(...e){if(this.children.length)for(let t=0,r=this.children.length;t<r;t++)for(let r=0;r<e.length;r++)this.children[t].dispatch(e[r])}tearDownDerivedTokenValue(e){if(qe.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{qe.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,r=!1){const o=new Ee(e,Ge.getOrCreate(t),this,r?{handleChange:()=>{if(o.value!==o.update().value){const e=new Xe(this,1,o.token,o.evaluator.value);qe.queueNotification(e),this.dispatch(e),qe.notify()}}}:void 0);return this._derived.set(e,o),o.evaluator.dependencies.forEach(t=>{t!==e&&qe.getOrCreateDependencyGraph(this,t).add(o)}),o}}qe._notifications=[];class We{setProperty(e,t){m.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){m.enqueue(()=>this.target.removeProperty(e))}}class Ye extends We{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class Ue extends We{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 Qe{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),S.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),m.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),m.enqueue(()=>{null!==this.target&&this.target.removeProperty(e)})}handleChange(e,t){const{sheet:r}=this.style;if(r){const e=r.insertRule(":host{}",r.cssRules.length);this.target=r.cssRules[e].style}else this.target=null}}r([w],Qe.prototype,"target",void 0);class Ke{setProperty(e,t){Ke.properties[e]=t;for(const r of Ke.roots.values())r.setProperty(e,t)}removeProperty(e){delete Ke.properties[e];for(const t of Ke.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=Ke;if(!t.has(e)){t.add(e);for(const t in Ke.properties)e.setProperty(t,Ke.properties[t])}}static unregisterRoot(e){const{roots:t}=Ke;if(t.has(e)){t.delete(e);for(const t in Ke.properties)e.removeProperty(t)}}}Ke.roots=new Set,Ke.properties={};const Je=new WeakMap,Ze=C.supportsAdoptedStyleSheets?class extends We{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new C([t]))}}:Qe,et=Object.freeze({getOrCreate(e){if(Je.has(e))return Je.get(e);let t;return t=e instanceof Document?C.supportsAdoptedStyleSheets?new Ye:new Ue:new Ze(e),Je.set(e,t),t}});class tt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const r={target:t.target===at.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(r)}},this.name=e.name,S.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return at.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 rt({name:e,cssCustomPropertyName:e}):tt.isCSSDesignTokenConfiguration(e)?new rt(e):new tt(e)}static withStrategy(e){at.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof Re||e instanceof Document)&&(e=et.getOrCreate(e)),Ke.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof Re||e instanceof Document)&&(e=et.getOrCreate(e)),Ke.unregisterRoot(e)}getValueFor(e){return at.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){at.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return at.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return at.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 tt&&(e=this.alias(e)),e}}let rt=class extends tt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const r=t.target===at.defaultNode?at.rootStyleSheetTarget:t.target instanceof at?et.getOrCreate(t.target.target):null;r&&(2===t.type?r.removeProperty(this.cssCustomProperty):r.setProperty(this.cssCustomProperty,this.resolveCSSValue(t.target.getTokenValue(this))))}},this.cssCustomProperty="--"+e.cssCustomPropertyName,this.cssVar=`var(${this.cssCustomProperty})`,S.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 ot;rt=r([function(e){A.define(e)},function(e){G.define(e,ot)}],rt);const nt={contains:e,parent(e){let r=t(e);for(;null!==r;){if(r instanceof Re)return r;r=t(r)}return null}};class at extends qe{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&&at.withStrategy(nt),this._strategy}connectedCallback(e){let t=at.findParent(e.source);if(null===t&&(t=at.defaultNode),t!==this.parent){const r=[];for(const o of t.children)o instanceof at&&at.strategy.contains(e.source,o.target)&&r.push(o);t.appendChild(this);for(const e of r)this.appendChild(e)}}disconnectedCallback(e){at.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=at.cache.get(e);return t||(t=new at(e),at.cache.set(e,t),e.$fastController.addBehavior(at.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=at.strategy.parent(e);for(;null!==t;){const e=at.cache.get(t);if(e)return e;t=at.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&at.defaultNode.appendChild(this),e.apply(this,t))}}at.defaultNode=new qe,at.rootStyleSheetTarget=new Ke,at.cache=new WeakMap;class st extends Re{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,r="number"==typeof this.value?this.value:0,o=t-e;this.percentComplete=0===o?0:Math.fround((r-e)/o*100)}}r([Se({converter:ye})],st.prototype,"value",void 0),r([Se({converter:ye})],st.prototype,"min",void 0),r([Se({converter:ye})],st.prototype,"max",void 0),r([w],st.prototype,"percentComplete",void 0);class it extends st{}class lt extends st{}function ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const dt={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},ut={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},ht={circular:"circular",rounded:"rounded",square:"square"},gt={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};class pt extends Re{constructor(){super(...arguments),this.appearance=dt.filled,this.color=ut.brand}}function ft(e={}){return pe` ${function(e){return pe`<slot name="start" ${ve("start")}>${Ie(e.start)}</slot>`.inline()}(e)}<slot>${Ie(e.defaultContent)}</slot>${function(e){return pe`<slot name="end" ${ve("end")}>${Ie(e.end)}</slot>`.inline()}(e)} `}r([Se],pt.prototype,"appearance",void 0),r([Se],pt.prototype,"color",void 0),r([Se],pt.prototype,"shape",void 0),r([Se],pt.prototype,"size",void 0),je(pt,_e);const vt=ft(),{create:bt}=tt,Bt=bt("borderRadiusNone"),mt=bt("borderRadiusSmall"),kt=bt("borderRadiusMedium"),yt=bt("borderRadiusLarge"),Pt=bt("borderRadiusXLarge"),St=bt("borderRadiusCircular"),wt=bt("fontSizeBase100"),Nt=bt("fontSizeBase200"),Ft=bt("fontSizeBase300"),xt=bt("fontSizeBase400"),Ct=bt("fontSizeBase500"),$t=bt("fontSizeBase600"),At=bt("fontSizeHero700"),Tt=bt("fontSizeHero800"),Ot=bt("fontSizeHero900"),zt=bt("fontSizeHero1000"),Lt=bt("lineHeightBase100"),Ht=bt("lineHeightBase200"),Dt=bt("lineHeightBase300"),Mt=bt("lineHeightBase400"),Vt=bt("lineHeightBase500"),Rt=bt("lineHeightBase600"),It=bt("lineHeightHero700"),_t=bt("lineHeightHero800"),jt=bt("lineHeightHero900"),Gt=bt("lineHeightHero1000"),Et=bt("fontFamilyBase"),Xt=bt("fontFamilyMonospace"),qt=bt("fontFamilyNumeric"),Wt=bt("fontWeightRegular"),Yt=bt("fontWeightMedium"),Ut=bt("fontWeightSemibold"),Qt=bt("fontWeightBold"),Kt=bt("strokeWidthThin"),Jt=bt("strokeWidthThick"),Zt=bt("strokeWidthThicker"),er=bt("strokeWidthThickest"),tr=bt("spacingHorizontalNone"),rr=bt("spacingHorizontalXXS"),or=bt("spacingHorizontalXS"),nr=bt("spacingHorizontalSNudge"),ar=bt("spacingHorizontalS"),sr=bt("spacingHorizontalMNudge"),ir=bt("spacingHorizontalM"),lr=bt("spacingHorizontalL"),cr=bt("spacingHorizontalXL"),dr=bt("spacingHorizontalXXL"),ur=bt("spacingHorizontalXXXL"),hr=bt("spacingVerticalNone"),gr=bt("spacingVerticalXXS"),pr=bt("spacingVerticalXS"),fr=bt("spacingVerticalSNudge"),vr=bt("spacingVerticalS"),br=bt("spacingVerticalMNudge"),Br=bt("spacingVerticalM"),mr=bt("spacingVerticalL"),kr=bt("spacingVerticalXL"),yr=bt("spacingVerticalXXL"),Pr=bt("spacingVerticalXXXL"),Sr=bt("durationUltraFast"),wr=bt("durationFaster"),Nr=bt("durationFast"),Fr=bt("durationNormal"),xr=bt("durationSlow"),Cr=bt("durationSlower"),$r=bt("durationUltraSlow"),Ar=bt("curveAccelerateMax"),Tr=bt("curveAccelerateMid"),Or=bt("curveAccelerateMin"),zr=bt("curveDecelerateMax"),Lr=bt("curveDecelerateMid"),Hr=bt("curveDecelerateMin"),Dr=bt("curveEasyEaseMax"),Mr=bt("curveEasyEase"),Vr=bt("curveLinear"),Rr=bt("colorNeutralForeground1"),Ir=bt("colorNeutralForeground1Hover"),_r=bt("colorNeutralForeground1Pressed"),jr=bt("colorNeutralForeground1Selected"),Gr=bt("colorNeutralForeground2"),Er=bt("colorNeutralForeground2Hover"),Xr=bt("colorNeutralForeground2Pressed"),qr=bt("colorNeutralForeground2Selected"),Wr=bt("colorNeutralForeground2BrandHover"),Yr=bt("colorNeutralForeground2BrandPressed"),Ur=bt("colorNeutralForeground2BrandSelected"),Qr=bt("colorNeutralForeground3"),Kr=bt("colorNeutralForeground3Hover"),Jr=bt("colorNeutralForeground3Pressed"),Zr=bt("colorNeutralForeground3Selected"),eo=bt("colorNeutralForeground3BrandHover"),to=bt("colorNeutralForeground3BrandPressed"),ro=bt("colorNeutralForeground3BrandSelected"),oo=bt("colorNeutralForeground4"),no=bt("colorNeutralForegroundDisabled"),ao=bt("colorNeutralForegroundInvertedDisabled"),so=bt("colorBrandForegroundLink"),io=bt("colorBrandForegroundLinkHover"),lo=bt("colorBrandForegroundLinkPressed"),co=bt("colorBrandForegroundLinkSelected"),uo=bt("colorNeutralForeground2Link"),ho=bt("colorNeutralForeground2LinkHover"),go=bt("colorNeutralForeground2LinkPressed"),po=bt("colorNeutralForeground2LinkSelected"),fo=bt("colorCompoundBrandForeground1"),vo=bt("colorCompoundBrandForeground1Hover"),bo=bt("colorCompoundBrandForeground1Pressed"),Bo=bt("colorBrandForeground1"),mo=bt("colorBrandForeground2"),ko=bt("colorNeutralForeground1Static"),yo=bt("colorNeutralForegroundStaticInverted"),Po=bt("colorNeutralForegroundInverted"),So=bt("colorNeutralForegroundInvertedHover"),wo=bt("colorNeutralForegroundInvertedPressed"),No=bt("colorNeutralForegroundInvertedSelected"),Fo=bt("colorNeutralForegroundInverted2"),xo=bt("colorNeutralForegroundOnBrand"),Co=bt("colorNeutralForegroundInvertedLink"),$o=bt("colorNeutralForegroundInvertedLinkHover"),Ao=bt("colorNeutralForegroundInvertedLinkPressed"),To=bt("colorNeutralForegroundInvertedLinkSelected"),Oo=bt("colorBrandForegroundInverted"),zo=bt("colorBrandForegroundInvertedHover"),Lo=bt("colorBrandForegroundInvertedPressed"),Ho=bt("colorBrandForegroundOnLight"),Do=bt("colorBrandForegroundOnLightHover"),Mo=bt("colorBrandForegroundOnLightPressed"),Vo=bt("colorBrandForegroundOnLightSelected"),Ro=bt("colorNeutralBackground1"),Io=bt("colorNeutralBackground1Hover"),_o=bt("colorNeutralBackground1Pressed"),jo=bt("colorNeutralBackground1Selected"),Go=bt("colorNeutralBackground2"),Eo=bt("colorNeutralBackground2Hover"),Xo=bt("colorNeutralBackground2Pressed"),qo=bt("colorNeutralBackground2Selected"),Wo=bt("colorNeutralBackground3"),Yo=bt("colorNeutralBackground3Hover"),Uo=bt("colorNeutralBackground3Pressed"),Qo=bt("colorNeutralBackground3Selected"),Ko=bt("colorNeutralBackground4"),Jo=bt("colorNeutralBackground4Hover"),Zo=bt("colorNeutralBackground4Pressed"),en=bt("colorNeutralBackground4Selected"),tn=bt("colorNeutralBackground5"),rn=bt("colorNeutralBackground5Hover"),on=bt("colorNeutralBackground5Pressed"),nn=bt("colorNeutralBackground5Selected"),an=bt("colorNeutralBackground6"),sn=bt("colorNeutralBackgroundInverted"),ln=bt("colorNeutralBackgroundStatic"),cn=bt("colorSubtleBackground"),dn=bt("colorSubtleBackgroundHover"),un=bt("colorSubtleBackgroundPressed"),hn=bt("colorSubtleBackgroundSelected"),gn=bt("colorSubtleBackgroundLightAlphaHover"),pn=bt("colorSubtleBackgroundLightAlphaPressed"),fn=bt("colorSubtleBackgroundLightAlphaSelected"),vn=bt("colorSubtleBackgroundInverted"),bn=bt("colorSubtleBackgroundInvertedHover"),Bn=bt("colorSubtleBackgroundInvertedPressed"),mn=bt("colorSubtleBackgroundInvertedSelected"),kn=bt("colorTransparentBackground"),yn=bt("colorTransparentBackgroundHover"),Pn=bt("colorTransparentBackgroundPressed"),Sn=bt("colorTransparentBackgroundSelected"),wn=bt("colorNeutralBackgroundDisabled"),Nn=bt("colorNeutralBackgroundInvertedDisabled"),Fn=bt("colorNeutralStencil1"),xn=bt("colorNeutralStencil2"),Cn=bt("colorBackgroundOverlay"),$n=bt("colorScrollbarOverlay"),An=bt("colorBrandBackground"),Tn=bt("colorBrandBackgroundHover"),On=bt("colorBrandBackgroundPressed"),zn=bt("colorBrandBackgroundSelected"),Ln=bt("colorCompoundBrandBackground"),Hn=bt("colorCompoundBrandBackgroundHover"),Dn=bt("colorCompoundBrandBackgroundPressed"),Mn=bt("colorBrandBackgroundStatic"),Vn=bt("colorBrandBackground2"),Rn=bt("colorBrandBackgroundInverted"),In=bt("colorBrandBackgroundInvertedHover"),_n=bt("colorBrandBackgroundInvertedPressed"),jn=bt("colorBrandBackgroundInvertedSelected"),Gn=bt("colorNeutralStrokeAccessible"),En=bt("colorNeutralStrokeAccessibleHover"),Xn=bt("colorNeutralStrokeAccessiblePressed"),qn=bt("colorNeutralStrokeAccessibleSelected"),Wn=bt("colorNeutralStroke1"),Yn=bt("colorNeutralStroke1Hover"),Un=bt("colorNeutralStroke1Pressed"),Qn=bt("colorNeutralStroke1Selected"),Kn=bt("colorNeutralStroke2"),Jn=bt("colorNeutralStroke3"),Zn=bt("colorNeutralStrokeOnBrand"),ea=bt("colorNeutralStrokeOnBrand2"),ta=bt("colorNeutralStrokeOnBrand2Hover"),ra=bt("colorNeutralStrokeOnBrand2Pressed"),oa=bt("colorNeutralStrokeOnBrand2Selected"),na=bt("colorBrandStroke1"),aa=bt("colorBrandStroke2"),sa=bt("colorCompoundBrandStroke"),ia=bt("colorCompoundBrandStrokeHover"),la=bt("colorCompoundBrandStrokePressed"),ca=bt("colorNeutralStrokeDisabled"),da=bt("colorNeutralStrokeInvertedDisabled"),ua=bt("colorTransparentStroke"),ha=bt("colorTransparentStrokeInteractive"),ga=bt("colorTransparentStrokeDisabled"),pa=bt("colorStrokeFocus1"),fa=bt("colorStrokeFocus2"),va=bt("colorNeutralShadowAmbient"),ba=bt("colorNeutralShadowKey"),Ba=bt("colorNeutralShadowAmbientLighter"),ma=bt("colorNeutralShadowKeyLighter"),ka=bt("colorNeutralShadowAmbientDarker"),ya=bt("colorNeutralShadowKeyDarker"),Pa=bt("colorBrandShadowAmbient"),Sa=bt("colorBrandShadowKey"),wa=bt("colorPaletteRedBackground1"),Na=bt("colorPaletteRedBackground2"),Fa=bt("colorPaletteRedBackground3"),xa=bt("colorPaletteRedForeground1"),Ca=bt("colorPaletteRedForeground2"),$a=bt("colorPaletteRedForeground3"),Aa=bt("colorPaletteRedBorderActive"),Ta=bt("colorPaletteRedBorder1"),Oa=bt("colorPaletteRedBorder2"),za=bt("colorPaletteGreenBackground1"),La=bt("colorPaletteGreenBackground2"),Ha=bt("colorPaletteGreenBackground3"),Da=bt("colorPaletteGreenForeground1"),Ma=bt("colorPaletteGreenForeground2"),Va=bt("colorPaletteGreenForeground3"),Ra=bt("colorPaletteGreenBorderActive"),Ia=bt("colorPaletteGreenBorder1"),_a=bt("colorPaletteGreenBorder2"),ja=bt("colorPaletteDarkOrangeBackground1"),Ga=bt("colorPaletteDarkOrangeBackground2"),Ea=bt("colorPaletteDarkOrangeBackground3"),Xa=bt("colorPaletteDarkOrangeForeground1"),qa=bt("colorPaletteDarkOrangeForeground2"),Wa=bt("colorPaletteDarkOrangeForeground3"),Ya=bt("colorPaletteDarkOrangeBorderActive"),Ua=bt("colorPaletteDarkOrangeBorder1"),Qa=bt("colorPaletteDarkOrangeBorder2"),Ka=bt("colorPaletteYellowBackground1"),Ja=bt("colorPaletteYellowBackground2"),Za=bt("colorPaletteYellowBackground3"),es=bt("colorPaletteYellowForeground1"),ts=bt("colorPaletteYellowForeground2"),rs=bt("colorPaletteYellowForeground3"),os=bt("colorPaletteYellowBorderActive"),ns=bt("colorPaletteYellowBorder1"),as=bt("colorPaletteYellowBorder2"),ss=bt("colorPaletteBerryBackground1"),is=bt("colorPaletteBerryBackground2"),ls=bt("colorPaletteBerryBackground3"),cs=bt("colorPaletteBerryForeground1"),ds=bt("colorPaletteBerryForeground2"),us=bt("colorPaletteBerryForeground3"),hs=bt("colorPaletteBerryBorderActive"),gs=bt("colorPaletteBerryBorder1"),ps=bt("colorPaletteBerryBorder2"),fs=bt("colorPaletteLightGreenBackground1"),vs=bt("colorPaletteLightGreenBackground2"),bs=bt("colorPaletteLightGreenBackground3"),Bs=bt("colorPaletteLightGreenForeground1"),ms=bt("colorPaletteLightGreenForeground2"),ks=bt("colorPaletteLightGreenForeground3"),ys=bt("colorPaletteLightGreenBorderActive"),Ps=bt("colorPaletteLightGreenBorder1"),Ss=bt("colorPaletteLightGreenBorder2"),ws=bt("colorPaletteMarigoldBackground1"),Ns=bt("colorPaletteMarigoldBackground2"),Fs=bt("colorPaletteMarigoldBackground3"),xs=bt("colorPaletteMarigoldForeground1"),Cs=bt("colorPaletteMarigoldForeground2"),$s=bt("colorPaletteMarigoldForeground3"),As=bt("colorPaletteMarigoldBorderActive"),Ts=bt("colorPaletteMarigoldBorder1"),Os=bt("colorPaletteMarigoldBorder2"),zs=bt("colorPaletteDarkRedBackground2"),Ls=bt("colorPaletteDarkRedForeground2"),Hs=bt("colorPaletteDarkRedBorderActive"),Ds=bt("colorPaletteCranberryBackground2"),Ms=bt("colorPaletteCranberryForeground2"),Vs=bt("colorPaletteCranberryBorderActive"),Rs=bt("colorPalettePumpkinBackground2"),Is=bt("colorPalettePumpkinForeground2"),_s=bt("colorPalettePumpkinBorderActive"),js=bt("colorPalettePeachBackground2"),Gs=bt("colorPalettePeachForeground2"),Es=bt("colorPalettePeachBorderActive"),Xs=bt("colorPaletteGoldBackground2"),qs=bt("colorPaletteGoldForeground2"),Ws=bt("colorPaletteGoldBorderActive"),Ys=bt("colorPaletteBrassBackground2"),Us=bt("colorPaletteBrassForeground2"),Qs=bt("colorPaletteBrassBorderActive"),Ks=bt("colorPaletteBrownBackground2"),Js=bt("colorPaletteBrownForeground2"),Zs=bt("colorPaletteBrownBorderActive"),ei=bt("colorPaletteForestBackground2"),ti=bt("colorPaletteForestForeground2"),ri=bt("colorPaletteForestBorderActive"),oi=bt("colorPaletteSeafoamBackground2"),ni=bt("colorPaletteSeafoamForeground2"),ai=bt("colorPaletteSeafoamBorderActive"),si=bt("colorPaletteDarkGreenBackground2"),ii=bt("colorPaletteDarkGreenForeground2"),li=bt("colorPaletteDarkGreenBorderActive"),ci=bt("colorPaletteLightTealBackground2"),di=bt("colorPaletteLightTealForeground2"),ui=bt("colorPaletteLightTealBorderActive"),hi=bt("colorPaletteTealBackground2"),gi=bt("colorPaletteTealForeground2"),pi=bt("colorPaletteTealBorderActive"),fi=bt("colorPaletteSteelBackground2"),vi=bt("colorPaletteSteelForeground2"),bi=bt("colorPaletteSteelBorderActive"),Bi=bt("colorPaletteBlueBackground2"),mi=bt("colorPaletteBlueForeground2"),ki=bt("colorPaletteBlueBorderActive"),yi=bt("colorPaletteRoyalBlueBackground2"),Pi=bt("colorPaletteRoyalBlueForeground2"),Si=bt("colorPaletteRoyalBlueBorderActive"),wi=bt("colorPaletteCornflowerBackground2"),Ni=bt("colorPaletteCornflowerForeground2"),Fi=bt("colorPaletteCornflowerBorderActive"),xi=bt("colorPaletteNavyBackground2"),Ci=bt("colorPaletteNavyForeground2"),$i=bt("colorPaletteNavyBorderActive"),Ai=bt("colorPaletteLavenderBackground2"),Ti=bt("colorPaletteLavenderForeground2"),Oi=bt("colorPaletteLavenderBorderActive"),zi=bt("colorPalettePurpleBackground2"),Li=bt("colorPalettePurpleForeground2"),Hi=bt("colorPalettePurpleBorderActive"),Di=bt("colorPaletteGrapeBackground2"),Mi=bt("colorPaletteGrapeForeground2"),Vi=bt("colorPaletteGrapeBorderActive"),Ri=bt("colorPaletteLilacBackground2"),Ii=bt("colorPaletteLilacForeground2"),_i=bt("colorPaletteLilacBorderActive"),ji=bt("colorPalettePinkBackground2"),Gi=bt("colorPalettePinkForeground2"),Ei=bt("colorPalettePinkBorderActive"),Xi=bt("colorPaletteMagentaBackground2"),qi=bt("colorPaletteMagentaForeground2"),Wi=bt("colorPaletteMagentaBorderActive"),Yi=bt("colorPalettePlumBackground2"),Ui=bt("colorPalettePlumForeground2"),Qi=bt("colorPalettePlumBorderActive"),Ki=bt("colorPaletteBeigeBackground2"),Ji=bt("colorPaletteBeigeForeground2"),Zi=bt("colorPaletteBeigeBorderActive"),el=bt("colorPaletteMinkBackground2"),tl=bt("colorPaletteMinkForeground2"),rl=bt("colorPaletteMinkBorderActive"),ol=bt("colorPalettePlatinumBackground2"),nl=bt("colorPalettePlatinumForeground2"),al=bt("colorPalettePlatinumBorderActive"),sl=bt("colorPaletteAnchorBackground2"),il=bt("colorPaletteAnchorForeground2"),ll=bt("colorPaletteAnchorBorderActive"),cl=bt("shadow2"),dl=bt("shadow4"),ul=bt("shadow8"),hl=bt("shadow16"),gl=bt("shadow28"),pl=bt("shadow64"),fl=bt("shadow2Brand"),vl=bt("shadow4Brand"),bl=bt("shadow8Brand"),Bl=bt("shadow16Brand"),ml=bt("shadow28Brand"),kl=bt("shadow64Brand");var yl=Object.freeze({__proto__:null,borderRadiusNone:Bt,borderRadiusSmall:mt,borderRadiusMedium:kt,borderRadiusLarge:yt,borderRadiusXLarge:Pt,borderRadiusCircular:St,fontSizeBase100:wt,fontSizeBase200:Nt,fontSizeBase300:Ft,fontSizeBase400:xt,fontSizeBase500:Ct,fontSizeBase600:$t,fontSizeHero700:At,fontSizeHero800:Tt,fontSizeHero900:Ot,fontSizeHero1000:zt,lineHeightBase100:Lt,lineHeightBase200:Ht,lineHeightBase300:Dt,lineHeightBase400:Mt,lineHeightBase500:Vt,lineHeightBase600:Rt,lineHeightHero700:It,lineHeightHero800:_t,lineHeightHero900:jt,lineHeightHero1000:Gt,fontFamilyBase:Et,fontFamilyMonospace:Xt,fontFamilyNumeric:qt,fontWeightRegular:Wt,fontWeightMedium:Yt,fontWeightSemibold:Ut,fontWeightBold:Qt,strokeWidthThin:Kt,strokeWidthThick:Jt,strokeWidthThicker:Zt,strokeWidthThickest:er,spacingHorizontalNone:tr,spacingHorizontalXXS:rr,spacingHorizontalXS:or,spacingHorizontalSNudge:nr,spacingHorizontalS:ar,spacingHorizontalMNudge:sr,spacingHorizontalM:ir,spacingHorizontalL:lr,spacingHorizontalXL:cr,spacingHorizontalXXL:dr,spacingHorizontalXXXL:ur,spacingVerticalNone:hr,spacingVerticalXXS:gr,spacingVerticalXS:pr,spacingVerticalSNudge:fr,spacingVerticalS:vr,spacingVerticalMNudge:br,spacingVerticalM:Br,spacingVerticalL:mr,spacingVerticalXL:kr,spacingVerticalXXL:yr,spacingVerticalXXXL:Pr,durationUltraFast:Sr,durationFaster:wr,durationFast:Nr,durationNormal:Fr,durationSlow:xr,durationSlower:Cr,durationUltraSlow:$r,curveAccelerateMax:Ar,curveAccelerateMid:Tr,curveAccelerateMin:Or,curveDecelerateMax:zr,curveDecelerateMid:Lr,curveDecelerateMin:Hr,curveEasyEaseMax:Dr,curveEasyEase:Mr,curveLinear:Vr,colorNeutralForeground1:Rr,colorNeutralForeground1Hover:Ir,colorNeutralForeground1Pressed:_r,colorNeutralForeground1Selected:jr,colorNeutralForeground2:Gr,colorNeutralForeground2Hover:Er,colorNeutralForeground2Pressed:Xr,colorNeutralForeground2Selected:qr,colorNeutralForeground2BrandHover:Wr,colorNeutralForeground2BrandPressed:Yr,colorNeutralForeground2BrandSelected:Ur,colorNeutralForeground3:Qr,colorNeutralForeground3Hover:Kr,colorNeutralForeground3Pressed:Jr,colorNeutralForeground3Selected:Zr,colorNeutralForeground3BrandHover:eo,colorNeutralForeground3BrandPressed:to,colorNeutralForeground3BrandSelected:ro,colorNeutralForeground4:oo,colorNeutralForegroundDisabled:no,colorNeutralForegroundInvertedDisabled:ao,colorBrandForegroundLink:so,colorBrandForegroundLinkHover:io,colorBrandForegroundLinkPressed:lo,colorBrandForegroundLinkSelected:co,colorNeutralForeground2Link:uo,colorNeutralForeground2LinkHover:ho,colorNeutralForeground2LinkPressed:go,colorNeutralForeground2LinkSelected:po,colorCompoundBrandForeground1:fo,colorCompoundBrandForeground1Hover:vo,colorCompoundBrandForeground1Pressed:bo,colorBrandForeground1:Bo,colorBrandForeground2:mo,colorNeutralForeground1Static:ko,colorNeutralForegroundStaticInverted:yo,colorNeutralForegroundInverted:Po,colorNeutralForegroundInvertedHover:So,colorNeutralForegroundInvertedPressed:wo,colorNeutralForegroundInvertedSelected:No,colorNeutralForegroundInverted2:Fo,colorNeutralForegroundOnBrand:xo,colorNeutralForegroundInvertedLink:Co,colorNeutralForegroundInvertedLinkHover:$o,colorNeutralForegroundInvertedLinkPressed:Ao,colorNeutralForegroundInvertedLinkSelected:To,colorBrandForegroundInverted:Oo,colorBrandForegroundInvertedHover:zo,colorBrandForegroundInvertedPressed:Lo,colorBrandForegroundOnLight:Ho,colorBrandForegroundOnLightHover:Do,colorBrandForegroundOnLightPressed:Mo,colorBrandForegroundOnLightSelected:Vo,colorNeutralBackground1:Ro,colorNeutralBackground1Hover:Io,colorNeutralBackground1Pressed:_o,colorNeutralBackground1Selected:jo,colorNeutralBackground2:Go,colorNeutralBackground2Hover:Eo,colorNeutralBackground2Pressed:Xo,colorNeutralBackground2Selected:qo,colorNeutralBackground3:Wo,colorNeutralBackground3Hover:Yo,colorNeutralBackground3Pressed:Uo,colorNeutralBackground3Selected:Qo,colorNeutralBackground4:Ko,colorNeutralBackground4Hover:Jo,colorNeutralBackground4Pressed:Zo,colorNeutralBackground4Selected:en,colorNeutralBackground5:tn,colorNeutralBackground5Hover:rn,colorNeutralBackground5Pressed:on,colorNeutralBackground5Selected:nn,colorNeutralBackground6:an,colorNeutralBackgroundInverted:sn,colorNeutralBackgroundStatic:ln,colorSubtleBackground:cn,colorSubtleBackgroundHover:dn,colorSubtleBackgroundPressed:un,colorSubtleBackgroundSelected:hn,colorSubtleBackgroundLightAlphaHover:gn,colorSubtleBackgroundLightAlphaPressed:pn,colorSubtleBackgroundLightAlphaSelected:fn,colorSubtleBackgroundInverted:vn,colorSubtleBackgroundInvertedHover:bn,colorSubtleBackgroundInvertedPressed:Bn,colorSubtleBackgroundInvertedSelected:mn,colorTransparentBackground:kn,colorTransparentBackgroundHover:yn,colorTransparentBackgroundPressed:Pn,colorTransparentBackgroundSelected:Sn,colorNeutralBackgroundDisabled:wn,colorNeutralBackgroundInvertedDisabled:Nn,colorNeutralStencil1:Fn,colorNeutralStencil2:xn,colorBackgroundOverlay:Cn,colorScrollbarOverlay:$n,colorBrandBackground:An,colorBrandBackgroundHover:Tn,colorBrandBackgroundPressed:On,colorBrandBackgroundSelected:zn,colorCompoundBrandBackground:Ln,colorCompoundBrandBackgroundHover:Hn,colorCompoundBrandBackgroundPressed:Dn,colorBrandBackgroundStatic:Mn,colorBrandBackground2:Vn,colorBrandBackgroundInverted:Rn,colorBrandBackgroundInvertedHover:In,colorBrandBackgroundInvertedPressed:_n,colorBrandBackgroundInvertedSelected:jn,colorNeutralStrokeAccessible:Gn,colorNeutralStrokeAccessibleHover:En,colorNeutralStrokeAccessiblePressed:Xn,colorNeutralStrokeAccessibleSelected:qn,colorNeutralStroke1:Wn,colorNeutralStroke1Hover:Yn,colorNeutralStroke1Pressed:Un,colorNeutralStroke1Selected:Qn,colorNeutralStroke2:Kn,colorNeutralStroke3:Jn,colorNeutralStrokeOnBrand:Zn,colorNeutralStrokeOnBrand2:ea,colorNeutralStrokeOnBrand2Hover:ta,colorNeutralStrokeOnBrand2Pressed:ra,colorNeutralStrokeOnBrand2Selected:oa,colorBrandStroke1:na,colorBrandStroke2:aa,colorCompoundBrandStroke:sa,colorCompoundBrandStrokeHover:ia,colorCompoundBrandStrokePressed:la,colorNeutralStrokeDisabled:ca,colorNeutralStrokeInvertedDisabled:da,colorTransparentStroke:ua,colorTransparentStrokeInteractive:ha,colorTransparentStrokeDisabled:ga,colorStrokeFocus1:pa,colorStrokeFocus2:fa,colorNeutralShadowAmbient:va,colorNeutralShadowKey:ba,colorNeutralShadowAmbientLighter:Ba,colorNeutralShadowKeyLighter:ma,colorNeutralShadowAmbientDarker:ka,colorNeutralShadowKeyDarker:ya,colorBrandShadowAmbient:Pa,colorBrandShadowKey:Sa,colorPaletteRedBackground1:wa,colorPaletteRedBackground2:Na,colorPaletteRedBackground3:Fa,colorPaletteRedForeground1:xa,colorPaletteRedForeground2:Ca,colorPaletteRedForeground3:$a,colorPaletteRedBorderActive:Aa,colorPaletteRedBorder1:Ta,colorPaletteRedBorder2:Oa,colorPaletteGreenBackground1:za,colorPaletteGreenBackground2:La,colorPaletteGreenBackground3:Ha,colorPaletteGreenForeground1:Da,colorPaletteGreenForeground2:Ma,colorPaletteGreenForeground3:Va,colorPaletteGreenBorderActive:Ra,colorPaletteGreenBorder1:Ia,colorPaletteGreenBorder2:_a,colorPaletteDarkOrangeBackground1:ja,colorPaletteDarkOrangeBackground2:Ga,colorPaletteDarkOrangeBackground3:Ea,colorPaletteDarkOrangeForeground1:Xa,colorPaletteDarkOrangeForeground2:qa,colorPaletteDarkOrangeForeground3:Wa,colorPaletteDarkOrangeBorderActive:Ya,colorPaletteDarkOrangeBorder1:Ua,colorPaletteDarkOrangeBorder2:Qa,colorPaletteYellowBackground1:Ka,colorPaletteYellowBackground2:Ja,colorPaletteYellowBackground3:Za,colorPaletteYellowForeground1:es,colorPaletteYellowForeground2:ts,colorPaletteYellowForeground3:rs,colorPaletteYellowBorderActive:os,colorPaletteYellowBorder1:ns,colorPaletteYellowBorder2:as,colorPaletteBerryBackground1:ss,colorPaletteBerryBackground2:is,colorPaletteBerryBackground3:ls,colorPaletteBerryForeground1:cs,colorPaletteBerryForeground2:ds,colorPaletteBerryForeground3:us,colorPaletteBerryBorderActive:hs,colorPaletteBerryBorder1:gs,colorPaletteBerryBorder2:ps,colorPaletteLightGreenBackground1:fs,colorPaletteLightGreenBackground2:vs,colorPaletteLightGreenBackground3:bs,colorPaletteLightGreenForeground1:Bs,colorPaletteLightGreenForeground2:ms,colorPaletteLightGreenForeground3:ks,colorPaletteLightGreenBorderActive:ys,colorPaletteLightGreenBorder1:Ps,colorPaletteLightGreenBorder2:Ss,colorPaletteMarigoldBackground1:ws,colorPaletteMarigoldBackground2:Ns,colorPaletteMarigoldBackground3:Fs,colorPaletteMarigoldForeground1:xs,colorPaletteMarigoldForeground2:Cs,colorPaletteMarigoldForeground3:$s,colorPaletteMarigoldBorderActive:As,colorPaletteMarigoldBorder1:Ts,colorPaletteMarigoldBorder2:Os,colorPaletteDarkRedBackground2:zs,colorPaletteDarkRedForeground2:Ls,colorPaletteDarkRedBorderActive:Hs,colorPaletteCranberryBackground2:Ds,colorPaletteCranberryForeground2:Ms,colorPaletteCranberryBorderActive:Vs,colorPalettePumpkinBackground2:Rs,colorPalettePumpkinForeground2:Is,colorPalettePumpkinBorderActive:_s,colorPalettePeachBackground2:js,colorPalettePeachForeground2:Gs,colorPalettePeachBorderActive:Es,colorPaletteGoldBackground2:Xs,colorPaletteGoldForeground2:qs,colorPaletteGoldBorderActive:Ws,colorPaletteBrassBackground2:Ys,colorPaletteBrassForeground2:Us,colorPaletteBrassBorderActive:Qs,colorPaletteBrownBackground2:Ks,colorPaletteBrownForeground2:Js,colorPaletteBrownBorderActive:Zs,colorPaletteForestBackground2:ei,colorPaletteForestForeground2:ti,colorPaletteForestBorderActive:ri,colorPaletteSeafoamBackground2:oi,colorPaletteSeafoamForeground2:ni,colorPaletteSeafoamBorderActive:ai,colorPaletteDarkGreenBackground2:si,colorPaletteDarkGreenForeground2:ii,colorPaletteDarkGreenBorderActive:li,colorPaletteLightTealBackground2:ci,colorPaletteLightTealForeground2:di,colorPaletteLightTealBorderActive:ui,colorPaletteTealBackground2:hi,colorPaletteTealForeground2:gi,colorPaletteTealBorderActive:pi,colorPaletteSteelBackground2:fi,colorPaletteSteelForeground2:vi,colorPaletteSteelBorderActive:bi,colorPaletteBlueBackground2:Bi,colorPaletteBlueForeground2:mi,colorPaletteBlueBorderActive:ki,colorPaletteRoyalBlueBackground2:yi,colorPaletteRoyalBlueForeground2:Pi,colorPaletteRoyalBlueBorderActive:Si,colorPaletteCornflowerBackground2:wi,colorPaletteCornflowerForeground2:Ni,colorPaletteCornflowerBorderActive:Fi,colorPaletteNavyBackground2:xi,colorPaletteNavyForeground2:Ci,colorPaletteNavyBorderActive:$i,colorPaletteLavenderBackground2:Ai,colorPaletteLavenderForeground2:Ti,colorPaletteLavenderBorderActive:Oi,colorPalettePurpleBackground2:zi,colorPalettePurpleForeground2:Li,colorPalettePurpleBorderActive:Hi,colorPaletteGrapeBackground2:Di,colorPaletteGrapeForeground2:Mi,colorPaletteGrapeBorderActive:Vi,colorPaletteLilacBackground2:Ri,colorPaletteLilacForeground2:Ii,colorPaletteLilacBorderActive:_i,colorPalettePinkBackground2:ji,colorPalettePinkForeground2:Gi,colorPalettePinkBorderActive:Ei,colorPaletteMagentaBackground2:Xi,colorPaletteMagentaForeground2:qi,colorPaletteMagentaBorderActive:Wi,colorPalettePlumBackground2:Yi,colorPalettePlumForeground2:Ui,colorPalettePlumBorderActive:Qi,colorPaletteBeigeBackground2:Ki,colorPaletteBeigeForeground2:Ji,colorPaletteBeigeBorderActive:Zi,colorPaletteMinkBackground2:el,colorPaletteMinkForeground2:tl,colorPaletteMinkBorderActive:rl,colorPalettePlatinumBackground2:ol,colorPalettePlatinumForeground2:nl,colorPalettePlatinumBorderActive:al,colorPaletteAnchorBackground2:sl,colorPaletteAnchorForeground2:il,colorPaletteAnchorBorderActive:ll,shadow2:cl,shadow4:dl,shadow8:ul,shadow16:hl,shadow28:gl,shadow64:pl,shadow2Brand:fl,shadow4Brand:vl,shadow8Brand:bl,shadow16Brand:Bl,shadow28Brand:ml,shadow64Brand:kl});const Pl=rr,Sl=O.partial`
2
- ${ct("inline-flex")} :host {
1
+ function e(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n}function t(e,t,o,r){return new(o||(o=Promise))((function(i,a){function n(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(n,s)}l((r=r.apply(e,t||[])).next())}))}let o;try{if(document.currentScript)o=document.currentScript.getAttribute("fast-kernel");else{const e=document.getElementsByTagName("script");o=e[e.length-1].getAttribute("fast-kernel")}}catch(Kh){o="isolate"}let r;switch(o){case"share":r=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":r=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);r=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const i=e=>"function"==typeof e,a=e=>"string"==typeof e,n=()=>{};var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==s)s.globalThis=s;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 l={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},l));const c=globalThis.FAST;if(void 0===c.getById){const e=Object.create(null);Reflect.defineProperty(c,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},l))}void 0===c.error&&Object.assign(c,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const d=Object.freeze([]);function h(){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 u(){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 p(e){e.prototype.toJSON=n}const g=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),b=e=>e,f=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:b}):{createHTML:b};let m=Object.freeze({createHTML:e=>f.createHTML(e),protect:(e,t,o,r)=>r});const v=m,y=Object.freeze({get policy(){return m},setPolicy(e){if(m!==v)throw c.error(1201);m=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)}}),k=c.getById(r.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function i(){if(t.length)throw t.shift()}function a(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(i,0)}}function n(){let t=0;for(;t<e.length;)if(a(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(n):n())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:n,setMode:e=>r=e})});class x{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,i=t.length;r<i;++r)t[r].handleChange(o,e)}}class ${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 i;i=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new x(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new x(this.subject),i.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 w=Object.freeze({unknown:void 0,coupled:1}),B=c.getById(r.observable,()=>{const e=k.enqueue,t=/(:|&&|\|\||if|\?\.)/,o=new WeakMap;let r=void 0,n=e=>{throw c.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=n(e):o.set(e,r=new $(e))),r}const l=u();class d{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 a=e[this.callback];i(a)&&a.call(e,r,t),s(e).notify(this.name)}}}class h extends x{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!==w.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 i;r=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{i=this.expression(e,t)}finally{r=o}return i}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,i=s(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=i,i.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=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 p(h),Object.freeze({setArrayObserverFactory(e){n=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){a(t)&&(t=new d(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 h(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function C(e,t){B.defineProperty(e,t)}const S=c.getById(r.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:()=>S.get(),setEvent(e){S.set(e)}});class T{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class I extends T{createObserver(e){return B.binding(this.evaluate,e,this.isVolatile)}}function F(e,t,o=B.isVolatileBinding(e)){return new I(e,t,o)}class A extends T{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function z(e,t){return new A(e,t)}let N;p(A);class L{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof L?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(N),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 L?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){N=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new L(e):e instanceof L?e:new L([e])}}L.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const O=h(),D=Object.freeze({getForInstance:O.getForInstance,getByType:O.getByType,define:e=>(O.register({type:e}),e)});function E(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class R{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)=>E(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){E(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){E(this,t.controller,t)}}D.define(R);const M=""+Math.random().toString(36).substring(2,8);let H=0;const V=()=>`--v${M}${++H}`;function j(e,t){const o=[];let r="";const a=[],n=e=>{a.push(e)};for(let a=0,s=e.length-1;a<s;++a){r+=e[a];let s=t[a];i(s)?s=new R(F(s),V()).createCSS(n):s instanceof T?s=new R(s,V()).createCSS(n):void 0!==D.getForInstance(s)&&(s=s.createCSS(n)),s instanceof L||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:a}}const _=(e,...t)=>{const{styles:o,behaviors:r}=j(e,t),i=new L(o);return r.length?i.withBehaviors(...r):i};class G{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(a(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new L(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)}}D.define(G),_.partial=(e,...t)=>{const{styles:o,behaviors:r}=j(e,t);return new G(o,r)};const q="fast-"+Math.random().toString(36).substring(2,8),X=q+"{",W="}"+q,U=W.length;let Y=0;const K=()=>`${q}-${++Y}`,Q=Object.freeze({interpolation:e=>`${X}${e}${W}`,attribute:e=>`${K()}="${X}${e}${W}"`,comment:e=>`\x3c!--${X}${e}${W}--\x3e`}),Z=Object.freeze({parse(e,t){const o=e.split(X);if(1===o.length)return null;const r=[];for(let e=0,i=o.length;e<i;++e){const i=o[e],a=i.indexOf(W);let n;if(-1===a)n=i;else{const e=i.substring(0,a);r.push(t[e]),n=i.substring(a+U)}""!==n&&r.push(n)}return r}}),J=h(),ee=Object.freeze({getForInstance:J.getForInstance,getByType:J.getByType,define:(e,t)=>((t=t||{}).type=e,J.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 te{constructor(e){this.options=e}createHTML(e){return Q.attribute(e(this))}createBehavior(){return this}}p(te);const oe={[g.attribute]:y.setAttribute,[g.booleanAttribute]:y.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 i=this.id+"-t",a=null!==(r=e[i])&&void 0!==r?r:e[i]={v:0,cv:Object.create(null)},n=a.cv;let s=a.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&&(n[o]=s,l.add(o))}}if(a.v=s+1,0!==s){s-=1;for(const e in n)n[e]===s&&l.remove(e)}},[g.event]:()=>{}};class re{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=g.content}createHTML(e){return Q.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=oe[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw c.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){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 ie(e,t){const o=e.parentNode;let r,i=e;for(;i!==t;)r=i.nextSibling,o.removeChild(i),i=r;o.removeChild(t)}ee.define(re,{aspected:!0});class ae{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=w.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,i=this.firstChild;for(;i!==t;)r=i.nextSibling,o.insertBefore(i,e),i=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(){ie(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){ie(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}p(ae),B.defineProperty(ae.prototype,"index"),B.defineProperty(ae.prototype,"length");const ne=(e,t)=>`${e}.${t}`,se={},le={index:0,node:null};function ce(e){e.startsWith("fast-")||c.warn(1204,{name:e})}const de=new Proxy(document.createElement("div"),{get(e,t){ce(t);const o=Reflect.get(e,t);return i(o)?o.bind(e):o},set:(e,t,o)=>(ce(t),Reflect.set(e,t,o))});class he{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,i){var a,n;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(a=e.id)&&void 0!==a?a:K(),e.targetNodeId=o,e.targetTagName=i,e.policy=null!==(n=e.policy)&&void 0!==n?n: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 i=se[t];if(!i){const r="_"+t;se[t]=i={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=i}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:de;for(const e of this.nodeIds)o[e];return new ae(t,this.factories,o)}}function ue(e,t,o,r,i,a=!1){const n=o.attributes,s=e.directives;for(let l=0,c=n.length;l<c;++l){const d=n[l],h=d.value,u=Z.parse(h,s);let p=null;null===u?a&&(p=new re(z(()=>h,e.policy)),ee.assignAspect(p,d.name)):p=be.aggregate(u,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,i,o.tagName))}}function pe(e,t,o){let r=0,i=t.firstChild;for(;i;){const t=ge(e,o,i,r);i=t.node,r=t.index}}function ge(e,t,o,r){const i=ne(t,r);switch(o.nodeType){case 1:ue(e,t,o,i,r),pe(e,o,i);break;case 3:return function(e,t,o,r,i){const n=Z.parse(t.textContent,e.directives);if(null===n)return le.node=t.nextSibling,le.index=i+1,le;let s,l=s=t;for(let t=0,c=n.length;t<c;++t){const c=n[t];0!==t&&(i++,r=ne(o,i),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),a(c)?s.textContent=c:(s.textContent=" ",ee.assignAspect(c),e.addFactory(c,o,r,i,null)),l=s}return le.index=i+1,le.node=l.nextSibling,le}(e,o,t,i,r);case 8:const n=Z.parse(o.data,e.directives);null!==n&&e.addFactory(be.aggregate(n),t,i,r,null)}return le.index=r+1,le.node=o.nextSibling,le}const be={compile(e,t,o=y.policy){let r;if(a(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;r.content.firstChild||r.content.lastChild||r.content.appendChild(document.createComment(""));const i=document.adoptNode(r.content),n=new he(i,t,o);var s,l;return ue(n,"",r,"h",0,!0),s=i.firstChild,l=t,(s&&8==s.nodeType&&null!==Z.parse(s.data,l)||1===i.childNodes.length&&Object.keys(t).length>0)&&i.insertBefore(document.createComment(""),i.firstChild),pe(n,i,"r"),le.node=null,n.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=y.policy){if(1===e.length)return e[0];let o,r,i=!1,n=void 0;const s=e.length,l=e.map(e=>a(e)?()=>e:(o=e.sourceAspect||o,r=e.dataBinding||r,i=i||e.dataBinding.isVolatile,n=n||e.dataBinding.policy,e.dataBinding.evaluate));r.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},r.isVolatile=i,r.policy=null!=n?n:t;const c=new re(r);return ee.assignAspect(c,o),c}},fe=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,me=Object.create(null);class ve{constructor(e,t=me){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function ye(e,t,o,r=ee.getForInstance(e)){if(r.aspected){const o=fe.exec(t);null!==o&&ee.assignAspect(e,o[2])}return e.createHTML(o)}ve.empty=new ve(""),ee.define(ve);class ke{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=be.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new ve(a(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw c.error(1208);if(this.policy)throw c.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 a=Object.create(null),n=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=K();return a[o]=e,o};for(let o=0,a=e.length-1;o<a;++o){const a=e[o];let s,l=t[o];if(r+=a,i(l))l=new re(F(l));else if(l instanceof T)l=new re(l);else if(!(s=ee.getForInstance(l))){const e=l;l=new re(z(()=>e))}r+=ye(l,a,n,s)}return new ke(r+e[e.length-1],a,o)}}p(ke);const xe=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return ke.create(e,t);throw c.error(1206)};xe.partial=e=>new ve(e);class $e extends te{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}ee.define($e);const we=e=>new $e(e),Be=()=>null;function Ce(e){return void 0===e?Be:i(e)?e:()=>e}function Se(e,t,o){const r=i(e)?e:()=>e,a=Ce(t),n=Ce(o);return(e,t)=>r(e,t)?a(e,t):n(e,t)}const Pe=e=>1===e.nodeType,Te=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Ie extends te{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,d),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 Ie{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 Ae(e){return a(e)&&(e={property:e}),new Fe(e)}ee.define(Fe);const ze=Object.freeze({locate:u()}),Ne={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Le(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const Oe={toView(e){const t=Le(e);return t?t.toString():t},fromView:Le};class De{constructor(e,t,o=t.toLowerCase(),r="reflect",i){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=i,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===i&&(this.converter=Ne)}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 B.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||k.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;y.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":y.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(ze.locate(e));for(let r=0,i=t.length;r<i;++r){const i=t[r];if(void 0!==i)for(let t=0,r=i.length;t<r;++t){const r=i[t];a(r)?o.push(new De(e,r)):o.push(new De(e,r.property,r.attribute,r.mode,r.converter))}}return o}}function Ee(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),ze.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const Re={mode:"open"},Me={},He=new Set,Ve=c.getById(r.elementRegistry,()=>h());class je{constructor(e,t=e.definition){var o;this.platformDefined=!1,a(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,i=De.collect(e,t.attributes),n=new Array(i.length),s={},l={};for(let e=0,t=i.length;e<t;++e){const t=i[e];n[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,B.defineProperty(r,t)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=i,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?Re:null===t.shadowOptions?void 0:Object.assign(Object.assign({},Re),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?Me:Object.assign(Object.assign({},Me),t.elementOptions),this.styles=L.normalize(t.styles),Ve.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 He.has(e)||Ve.getByType(e)?new je(class extends e{},t):new je(e,t)}static registerBaseType(e){He.add(e)}}je.getByType=Ve.getByType,je.getForInstance=Ve.getForInstance;const _e={bubbles:!0,composed:!0,cancelable:!0},Ge=new WeakMap;function qe(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ge.get(e))&&void 0!==o?o:null}let Xe;class We extends ${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&&Ge.set(e,t))}const r=B.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,i=r.length;o<i;++o){const i=r[o].name,a=e[i];void 0!==a&&(delete e[i],t[i]=a)}}}get isConnected(){return B.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,i=null!==(o=r.get(e))&&void 0!==o?o:0;0===i?(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,i+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=qe(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=qe(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,i=o.length;r<i;++r){const i=o[r];e[i]=t[i]}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,B.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,B.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},_e),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=qe(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=w.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=je.getForInstance(e);if(void 0===o)throw c.error(1401);return e.$fastController=new Xe(e,o)}static setStrategy(e){Xe=e}}function Ue(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=qe(e))&&void 0!==t?t:e.getRootNode()}p(We),We.setStrategy(We);class Ye{constructor(e){const t=Ye.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){Je(Ue(e),this.sheets)}removeStylesFrom(e){et(Ue(e),this.sheets)}}Ye.styleSheetCache=new Map;let Ke=0;function Qe(e){return e===document?document.body:e}class Ze{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ke}addStylesTo(e){e=Qe(Ue(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const i=document.createElement("style");i.innerHTML=t[r],i.className=o,e.append(i)}}removeStylesFrom(e){const t=(e=Qe(Ue(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Je=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},et=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(L.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Je=(e,t)=>{e.adoptedStyleSheets.push(...t)},et=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(Kh){}L.setDefaultStrategy(Ye)}else L.setDefaultStrategy(Ze);function tt(e){const t=class extends e{constructor(){super(),We.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 je.registerBaseType(t),t}const ot=Object.assign(tt(HTMLElement),{from:function(e){return tt(e)},define:function(e,t){return i(e)?je.compose(e,t).define().type:je.compose(this,e).define().type},compose:function(e,t){return i(e)?je.compose(e,t):je.compose(this,e)}}),rt={horizontal:"horizontal",vertical:"vertical"};function it(...e){return e.every(e=>e instanceof HTMLElement)}const at={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var nt;function st(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(nt||(nt={}));let lt=0;function ct(e=""){return`${e}${lt++}`}class dt{}function ht(e){return e?"string"==typeof e?new ve(e):"inline"in e?e.inline():e:ve.empty}e([Ee({attribute:"aria-atomic"})],dt.prototype,"ariaAtomic",void 0),e([Ee({attribute:"aria-busy"})],dt.prototype,"ariaBusy",void 0),e([Ee({attribute:"aria-controls"})],dt.prototype,"ariaControls",void 0),e([Ee({attribute:"aria-current"})],dt.prototype,"ariaCurrent",void 0),e([Ee({attribute:"aria-describedby"})],dt.prototype,"ariaDescribedby",void 0),e([Ee({attribute:"aria-details"})],dt.prototype,"ariaDetails",void 0),e([Ee({attribute:"aria-disabled"})],dt.prototype,"ariaDisabled",void 0),e([Ee({attribute:"aria-errormessage"})],dt.prototype,"ariaErrormessage",void 0),e([Ee({attribute:"aria-flowto"})],dt.prototype,"ariaFlowto",void 0),e([Ee({attribute:"aria-haspopup"})],dt.prototype,"ariaHaspopup",void 0),e([Ee({attribute:"aria-hidden"})],dt.prototype,"ariaHidden",void 0),e([Ee({attribute:"aria-invalid"})],dt.prototype,"ariaInvalid",void 0),e([Ee({attribute:"aria-keyshortcuts"})],dt.prototype,"ariaKeyshortcuts",void 0),e([Ee({attribute:"aria-label"})],dt.prototype,"ariaLabel",void 0),e([Ee({attribute:"aria-labelledby"})],dt.prototype,"ariaLabelledby",void 0),e([Ee({attribute:"aria-live"})],dt.prototype,"ariaLive",void 0),e([Ee({attribute:"aria-owns"})],dt.prototype,"ariaOwns",void 0),e([Ee({attribute:"aria-relevant"})],dt.prototype,"ariaRelevant",void 0),e([Ee({attribute:"aria-roledescription"})],dt.prototype,"ariaRoledescription",void 0);class ut{}function pt(e){return xe`<slot name="end" ${we("end")}>${ht(e.end)}</slot>`.inline()}function gt(e){return xe`<slot name="start" ${we("start")}>${ht(e.start)}</slot>`.inline()}function bt(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}class ft extends ot{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=ct("accordion-"),this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}e([Ee({attribute:"heading-level",mode:"fromView",converter:Oe})],ft.prototype,"headinglevel",void 0),e([Ee({mode:"boolean"})],ft.prototype,"expanded",void 0),e([Ee({mode:"boolean"})],ft.prototype,"disabled",void 0),e([Ee],ft.prototype,"id",void 0),bt(ft,ut);const mt="single",vt="multi";class yt extends ot{constructor(){super(...arguments),this.expandmode=vt,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=>B.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof ft&&(e.addEventListener("click",this.activeItemChange),B.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)=>{B.getNotifier(e).unsubscribe(this,"disabled"),B.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 ft&&(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!==mt?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 ft&&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===mt}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 ft&&e.expandbutton.focus()}}e([Ee({attribute:"expand-mode"})],yt.prototype,"expandmode",void 0),e([C],yt.prototype,"slottedAccordionItems",void 0);class kt extends yt{}const xt=xe`<template><slot ${Ae({property:"slottedAccordionItems",filter:Te()})}></slot></template>`,$t=e=>{var t;return"rtl"===(null===(t=e.closest("[dir]"))||void 0===t?void 0:t.dir)?nt.rtl:nt.ltr};class wt 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 wt(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 Bt=wt.with(window.matchMedia("(forced-colors)"));wt.with(window.matchMedia("(prefers-color-scheme: dark)")),wt.with(window.matchMedia("(prefers-color-scheme: light)"));function Ct(e){return`:host([hidden]){display:none}:host{display:${e}}`}const St=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null===(t=e.nodeValue)||void 0===t?void 0:t.trim().length)},Pt=_`
2
+ ${Ct("flex")}
3
+
4
+ :host{flex-direction:column;width:100%;contain:content}`,Tt=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),It=kt.compose({name:Tt.prefix+"-accordion",template:xt,styles:Pt});var Ft=Object.defineProperty,At=Object.getOwnPropertyDescriptor,zt=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?At(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Ft(t,o,a),a};class Nt extends ft{constructor(){super(...arguments),this.block=!1}}zt([Ee],Nt.prototype,"size",2),zt([Ee({mode:"boolean"})],Nt.prototype,"block",2),zt([Ee({attribute:"expand-icon-position"})],Nt.prototype,"expandIconPosition",2);const Lt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},Ot={start:"start",end:"end"};function Dt(e){const t=e.parentElement;if(t)return t;{const t=e.getRootNode();if(t.host instanceof HTMLElement)return t.host}return null}Object.freeze({create(e){const t=[],o={};let r=null,i=!1;return{source:e,context:P.default,targets:o,get isBound(){return i},addBehaviorFactory(e,t){var o,r,i,a;const n=e;n.id=null!==(o=n.id)&&void 0!==o?o:K(),n.targetNodeId=null!==(r=n.targetNodeId)&&void 0!==r?r:K(),n.targetTagName=null!==(i=t.tagName)&&void 0!==i?i:null,n.policy=null!==(a=n.policy)&&void 0!==a?a:y.policy,this.addTarget(n.targetNodeId,t),this.addBehavior(n.createBehavior())},addTarget(e,t){o[e]=t},addBehavior(e){t.push(e),i&&e.bind(this)},onUnbind(e){null===r&&(r=[]),r.push(e)},connectedCallback(e){i||(i=!0,t.forEach(e=>e.bind(this)))},disconnectedCallback(e){i&&(i=!1,null!==r&&r.forEach(e=>e.unbind(this)))}}}});class Et{constructor(e){this.value=e,this.notifier=B.getNotifier(this),this.dependencies=new Set,this.binding=B.binding(e,this),this.binding.setMode(!1)}static getOrCreate(e){let t=Et.cache.get(e);return t||(t=new Et(e),Et.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)}}Et.cache=new WeakMap;class Rt{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&&B.getNotifier(this.evaluator).subscribe(this.subscriber)}dispose(){this.subscriber&&B.getNotifier(this.evaluator).unsubscribe(this.subscriber)}update(){return this.value=this.evaluator.evaluate(this.node,this.token),this}}class Mt{constructor(e,t,o,r){this.target=e,this.type=t,this.token=o,this.value=r}notify(){B.getNotifier(this.token).notify(this)}}class Ht{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=Ht.getAssignedTokensForNode(e),r=e.parent;do{const e=Ht.getAssignedTokensForNode(r);for(let i=0,a=e.length;i<a;i++){const a=e[i];!o.includes(a)&&Ht.isDerivedFor(r,a)&&t.set(a,r._derived.get(a))}o=Array.from(new Set(o.concat(e))),r=r.parent}while(null!==r);return t}static getLocalTokenValue(e,t){return Ht.isAssigned(e,t)?Ht.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(Ht.getAssignedTokensForNode(e));let o=e.parent;for(;null!==o;){const e=Ht.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=Ht.composeAssignedTokensForNode(e.parent),e.parent._children.delete(e));const i=Ht.composeAssignedTokensForNode(this),a=Ht.collectDerivedContext(this);e._parent=this,this._children.add(e);for(const o of i){let i=0;if(null!==r){const e=r.indexOf(o);-1!==e&&(i=1,r.splice(e,1))}e.dispatch(new Mt(this,i,o,null===(t=a.get(o))||void 0===t?void 0:t.evaluator.value))}if(null!==r&&r.length>0)for(const t of r)e.dispatch(new Mt(this,2,t,null===(o=a.get(t))||void 0===o?void 0:o.evaluator.value));Ht.notify()}removeChild(e){if(e.parent===this){const t=Ht.composeAssignedTokensForNode(this);e._parent=null,this._children.delete(e);for(const o of t)e.dispatch(new Mt(this,2,o));Ht.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=Ht.isAssigned(this,e)||Ht.isDerivedFor(this,e)?1:0,r=Ht.getLocalTokenValue(this,e);this._values.set(e,t),Ht.isDerivedFor(this,e)&&this.tearDownDerivedTokenValue(e);const i=Ht.isDerivedTokenValue(t),a=Ht.collectDerivedContext(this);let n;if(i){n=this.setupDerivedTokenValue(e,t,!0).value}else n=t;r!==n&&Ht.queueNotification(new Mt(this,o,e,t)),this.dispatch(new Mt(this,o,e,t)),a.forEach((e,t)=>{if(!Ht.isDerivedFor(this,t)){Ht.getLocalTokenValue(this,t)!==(e=this.setupDerivedTokenValue(t,e.evaluator.value)).value&&Ht.queueNotification(new Mt(this,1,t,e.evaluator.value)),this.dispatch(new Mt(this,0,t,e.evaluator.value))}}),Ht.notify()}getTokenValue(e){let t,o=this;for(;null!==o;){if(Ht.isDerivedFor(o,e)){t=o._derived.get(e).value;break}if(Ht.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(Ht.isAssigned(this,e)){const t=Ht.getLocalTokenValue(this,e);let o;this._values.delete(e),this.tearDownDerivedTokenValue(e);try{o=this.getTokenValue(e)}catch(e){o=void 0}Ht.queueNotification(new Mt(this,2,e)),t!==o&&this.dispatch(new Mt(this,2,e)),Ht.notify()}}dispatch(e){var t,o,r;if(this!==e.target){const{token:i}=e,a=Ht.isAssigned(this,i),n=a&&(null===(t=this._derived.get(i))||void 0===t?void 0:t.evaluator.dependencies.has(i));if(a&&!n)return;2===e.type&&!a&&Ht.isDerivedFor(this,i)&&(this.tearDownDerivedTokenValue(i),Ht.queueNotification(new Mt(this,2,i))),n&&(e=new Mt(this,1,i,null===(o=this._derived.get(i))||void 0===o?void 0:o.evaluator.value));const{value:s}=e;if(s&&Ht.isDerivedTokenValue(s)){const t=Et.getOrCreate(s).dependencies;let o=!1;for(const e of t)if(Ht.isAssigned(this,e)){o=!0;break}if(o){const t=null===(r=this._derived.get(i))||void 0===r?void 0:r.value,o=this.setupDerivedTokenValue(i,s);if(t!==o.value){const r=new Mt(this,void 0===t?0:1,i,o.evaluator.value);Ht.queueNotification(r),e=r}}}}this.collectLocalChangeRecords(e).forEach(e=>{Ht.queueNotification(e),this.dispatch(e)}),this.notifyChildren(e)}collectLocalChangeRecords(e){const t=new Map;for(const o of Ht.getOrCreateDependencyGraph(this,e.token))o.value!==o.update().value&&t.set(o.token,new Mt(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(Ht.isDerivedFor(this,e)){const t=this._derived.get(e);t.dispose(),this._derived.delete(e),t.evaluator.dependencies.forEach(e=>{Ht.getOrCreateDependencyGraph(this,e).delete(t)})}}setupDerivedTokenValue(e,t,o=!1){const r=new Rt(e,Et.getOrCreate(t),this,o?{handleChange:()=>{if(r.value!==r.update().value){const e=new Mt(this,1,r.token,r.evaluator.value);Ht.queueNotification(e),this.dispatch(e),Ht.notify()}}}:void 0);return this._derived.set(e,r),r.evaluator.dependencies.forEach(t=>{t!==e&&Ht.getOrCreateDependencyGraph(this,t).add(r)}),r}}Ht._notifications=[];class Vt{setProperty(e,t){k.enqueue(()=>this.target.setProperty(e,t))}removeProperty(e){k.enqueue(()=>this.target.removeProperty(e))}}class jt extends Vt{constructor(){super();const e=new CSSStyleSheet;this.target=e.cssRules[e.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,e]}}class _t extends Vt{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 Gt{constructor(e){this.store=new Map,this.target=null;const t=e.$fastController;this.style=document.createElement("style"),t.addStyles(this.style),B.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),k.enqueue(()=>{null!==this.target&&this.target.setProperty(e,t)})}removeProperty(e){this.store.delete(e),k.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}}e([C],Gt.prototype,"target",void 0);class qt{setProperty(e,t){qt.properties[e]=t;for(const o of qt.roots.values())o.setProperty(e,t)}removeProperty(e){delete qt.properties[e];for(const t of qt.roots.values())t.removeProperty(e)}static registerRoot(e){const{roots:t}=qt;if(!t.has(e)){t.add(e);for(const t in qt.properties)e.setProperty(t,qt.properties[t])}}static unregisterRoot(e){const{roots:t}=qt;if(t.has(e)){t.delete(e);for(const t in qt.properties)e.removeProperty(t)}}}qt.roots=new Set,qt.properties={};const Xt=new WeakMap,Wt=L.supportsAdoptedStyleSheets?class extends Vt{constructor(e){super();const t=new CSSStyleSheet;this.target=t.cssRules[t.insertRule(":host{}")].style,e.$fastController.addStyles(new L([t]))}}:Gt,Ut=Object.freeze({getOrCreate(e){if(Xt.has(e))return Xt.get(e);let t;return t=e instanceof Document?L.supportsAdoptedStyleSheets?new jt:new _t:new Wt(e),Xt.set(e,t),t}});class Yt{constructor(e){this.subscriberNotifier={handleChange:(e,t)=>{const o={target:t.target===Jt.defaultNode?"default":t.target.target,token:this};this.subscribers.notify(o)}},this.name=e.name,B.getNotifier(this).subscribe(this.subscriberNotifier)}get $value(){return this.default}get default(){return Jt.defaultNode.getTokenValue(this)}get subscribers(){return this._subscribers||(this._subscribers=new x(this)),this._subscribers}static isCSSDesignTokenConfiguration(e){return"string"==typeof e.cssCustomPropertyName}static create(e){return"string"==typeof e?new Kt({name:e,cssCustomPropertyName:e}):Yt.isCSSDesignTokenConfiguration(e)?new Kt(e):new Yt(e)}static withStrategy(e){Jt.withStrategy(e)}static registerDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.registerRoot(e)}static unregisterDefaultStyleTarget(e=document){(e instanceof ot||e instanceof Document)&&(e=Ut.getOrCreate(e)),qt.unregisterRoot(e)}getValueFor(e){return Jt.getOrCreate(e).getTokenValue(this)}setValueFor(e,t){Jt.getOrCreate(e).setTokenValue(this,this.normalizeValue(t))}deleteValueFor(e){return Jt.getOrCreate(e).deleteTokenValue(this),this}withDefault(e){return Jt.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 Yt&&(e=this.alias(e)),e}}let Kt=class extends Yt{constructor(e){super(e),this.cssReflector={handleChange:(e,t)=>{const o=t.target===Jt.defaultNode?Jt.rootStyleSheetTarget:t.target instanceof Jt?Ut.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})`,B.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 Qt;Kt=e([function(e){D.define(e)},function(e){ee.define(e,Qt)}],Kt);const Zt={contains:function(e,t){let o=t;for(;null!==o;){if(o===e)return!0;o=Dt(o)}return!1},parent(e){let t=Dt(e);for(;null!==t;){if(t instanceof ot)return t;t=Dt(t)}return null}};class Jt extends Ht{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&&Jt.withStrategy(Zt),this._strategy}connectedCallback(e){let t=Jt.findParent(e.source);if(null===t&&(t=Jt.defaultNode),t!==this.parent){const o=[];for(const r of t.children)r instanceof Jt&&Jt.strategy.contains(e.source,r.target)&&o.push(r);t.appendChild(this);for(const e of o)this.appendChild(e)}}disconnectedCallback(e){Jt.cache.delete(this.target),this.dispose()}static getOrCreate(e){let t=Jt.cache.get(e);return t||(t=new Jt(e),Jt.cache.set(e,t),e.$fastController.addBehavior(Jt.strategy),e.$fastController.addBehavior(t),t)}static withStrategy(e){this._strategy=e}static findParent(e){let t=Jt.strategy.parent(e);for(;null!==t;){const e=Jt.cache.get(t);if(e)return e;t=Jt.strategy.parent(t)}return null}lazyAttachToDefault(e){return(...t)=>(null===this.parent&&Jt.defaultNode.appendChild(this),e.apply(this,t))}}Jt.defaultNode=new Ht,Jt.rootStyleSheetTarget=new qt,Jt.cache=new WeakMap;const{create:eo}=Yt,to=eo("borderRadiusNone"),oo=eo("borderRadiusSmall"),ro=eo("borderRadiusMedium"),io=eo("borderRadiusLarge"),ao=eo("borderRadiusXLarge"),no=eo("borderRadiusCircular"),so=eo("fontSizeBase100"),lo=eo("fontSizeBase200"),co=eo("fontSizeBase300"),ho=eo("fontSizeBase400"),uo=eo("fontSizeBase500"),po=eo("fontSizeBase600"),go=eo("fontSizeHero700"),bo=eo("fontSizeHero800"),fo=eo("fontSizeHero900"),mo=eo("fontSizeHero1000"),vo=eo("lineHeightBase100"),yo=eo("lineHeightBase200"),ko=eo("lineHeightBase300"),xo=eo("lineHeightBase400"),$o=eo("lineHeightBase500"),wo=eo("lineHeightBase600"),Bo=eo("lineHeightHero700"),Co=eo("lineHeightHero800"),So=eo("lineHeightHero900"),Po=eo("lineHeightHero1000"),To=eo("fontFamilyBase"),Io=eo("fontFamilyMonospace"),Fo=eo("fontFamilyNumeric"),Ao=eo("fontWeightRegular"),zo=eo("fontWeightMedium"),No=eo("fontWeightSemibold"),Lo=eo("fontWeightBold"),Oo=eo("strokeWidthThin"),Do=eo("strokeWidthThick"),Eo=eo("strokeWidthThicker"),Ro=eo("strokeWidthThickest"),Mo=eo("spacingHorizontalNone"),Ho=eo("spacingHorizontalXXS"),Vo=eo("spacingHorizontalXS"),jo=eo("spacingHorizontalSNudge"),_o=eo("spacingHorizontalS"),Go=eo("spacingHorizontalMNudge"),qo=eo("spacingHorizontalM"),Xo=eo("spacingHorizontalL"),Wo=eo("spacingHorizontalXL"),Uo=eo("spacingHorizontalXXL"),Yo=eo("spacingHorizontalXXXL"),Ko=eo("spacingVerticalNone"),Qo=eo("spacingVerticalXXS"),Zo=eo("spacingVerticalXS"),Jo=eo("spacingVerticalSNudge"),er=eo("spacingVerticalS"),tr=eo("spacingVerticalMNudge"),or=eo("spacingVerticalM"),rr=eo("spacingVerticalL"),ir=eo("spacingVerticalXL"),ar=eo("spacingVerticalXXL"),nr=eo("spacingVerticalXXXL"),sr=eo("durationUltraFast"),lr=eo("durationFaster"),cr=eo("durationFast"),dr=eo("durationNormal"),hr=eo("durationSlow"),ur=eo("durationSlower"),pr=eo("durationUltraSlow"),gr=eo("curveAccelerateMax"),br=eo("curveAccelerateMid"),fr=eo("curveAccelerateMin"),mr=eo("curveDecelerateMax"),vr=eo("curveDecelerateMid"),yr=eo("curveDecelerateMin"),kr=eo("curveEasyEaseMax"),xr=eo("curveEasyEase"),$r=eo("curveLinear"),wr=eo("colorNeutralForeground1"),Br=eo("colorNeutralForeground1Hover"),Cr=eo("colorNeutralForeground1Pressed"),Sr=eo("colorNeutralForeground1Selected"),Pr=eo("colorNeutralForeground2"),Tr=eo("colorNeutralForeground2Hover"),Ir=eo("colorNeutralForeground2Pressed"),Fr=eo("colorNeutralForeground2Selected"),Ar=eo("colorNeutralForeground2BrandHover"),zr=eo("colorNeutralForeground2BrandPressed"),Nr=eo("colorNeutralForeground2BrandSelected"),Lr=eo("colorNeutralForeground3"),Or=eo("colorNeutralForeground3Hover"),Dr=eo("colorNeutralForeground3Pressed"),Er=eo("colorNeutralForeground3Selected"),Rr=eo("colorNeutralForeground3BrandHover"),Mr=eo("colorNeutralForeground3BrandPressed"),Hr=eo("colorNeutralForeground3BrandSelected"),Vr=eo("colorNeutralForeground4"),jr=eo("colorNeutralForegroundDisabled"),_r=eo("colorNeutralForegroundInvertedDisabled"),Gr=eo("colorBrandForegroundLink"),qr=eo("colorBrandForegroundLinkHover"),Xr=eo("colorBrandForegroundLinkPressed"),Wr=eo("colorBrandForegroundLinkSelected"),Ur=eo("colorNeutralForeground2Link"),Yr=eo("colorNeutralForeground2LinkHover"),Kr=eo("colorNeutralForeground2LinkPressed"),Qr=eo("colorNeutralForeground2LinkSelected"),Zr=eo("colorCompoundBrandForeground1"),Jr=eo("colorCompoundBrandForeground1Hover"),ei=eo("colorCompoundBrandForeground1Pressed"),ti=eo("colorBrandForeground1"),oi=eo("colorBrandForeground2"),ri=eo("colorNeutralForeground1Static"),ii=eo("colorNeutralForegroundStaticInverted"),ai=eo("colorNeutralForegroundInverted"),ni=eo("colorNeutralForegroundInvertedHover"),si=eo("colorNeutralForegroundInvertedPressed"),li=eo("colorNeutralForegroundInvertedSelected"),ci=eo("colorNeutralForegroundInverted2"),di=eo("colorNeutralForegroundOnBrand"),hi=eo("colorNeutralForegroundInvertedLink"),ui=eo("colorNeutralForegroundInvertedLinkHover"),pi=eo("colorNeutralForegroundInvertedLinkPressed"),gi=eo("colorNeutralForegroundInvertedLinkSelected"),bi=eo("colorBrandForegroundInverted"),fi=eo("colorBrandForegroundInvertedHover"),mi=eo("colorBrandForegroundInvertedPressed"),vi=eo("colorBrandForegroundOnLight"),yi=eo("colorBrandForegroundOnLightHover"),ki=eo("colorBrandForegroundOnLightPressed"),xi=eo("colorBrandForegroundOnLightSelected"),$i=eo("colorNeutralBackground1"),wi=eo("colorNeutralBackground1Hover"),Bi=eo("colorNeutralBackground1Pressed"),Ci=eo("colorNeutralBackground1Selected"),Si=eo("colorNeutralBackground2"),Pi=eo("colorNeutralBackground2Hover"),Ti=eo("colorNeutralBackground2Pressed"),Ii=eo("colorNeutralBackground2Selected"),Fi=eo("colorNeutralBackground3"),Ai=eo("colorNeutralBackground3Hover"),zi=eo("colorNeutralBackground3Pressed"),Ni=eo("colorNeutralBackground3Selected"),Li=eo("colorNeutralBackground4"),Oi=eo("colorNeutralBackground4Hover"),Di=eo("colorNeutralBackground4Pressed"),Ei=eo("colorNeutralBackground4Selected"),Ri=eo("colorNeutralBackground5"),Mi=eo("colorNeutralBackground5Hover"),Hi=eo("colorNeutralBackground5Pressed"),Vi=eo("colorNeutralBackground5Selected"),ji=eo("colorNeutralBackground6"),_i=eo("colorNeutralBackgroundInverted"),Gi=eo("colorNeutralBackgroundStatic"),qi=eo("colorSubtleBackground"),Xi=eo("colorSubtleBackgroundHover"),Wi=eo("colorSubtleBackgroundPressed"),Ui=eo("colorSubtleBackgroundSelected"),Yi=eo("colorSubtleBackgroundLightAlphaHover"),Ki=eo("colorSubtleBackgroundLightAlphaPressed"),Qi=eo("colorSubtleBackgroundLightAlphaSelected"),Zi=eo("colorSubtleBackgroundInverted"),Ji=eo("colorSubtleBackgroundInvertedHover"),ea=eo("colorSubtleBackgroundInvertedPressed"),ta=eo("colorSubtleBackgroundInvertedSelected"),oa=eo("colorTransparentBackground"),ra=eo("colorTransparentBackgroundHover"),ia=eo("colorTransparentBackgroundPressed"),aa=eo("colorTransparentBackgroundSelected"),na=eo("colorNeutralBackgroundDisabled"),sa=eo("colorNeutralBackgroundInvertedDisabled"),la=eo("colorNeutralStencil1"),ca=eo("colorNeutralStencil2"),da=eo("colorNeutralStencil1Alpha"),ha=eo("colorNeutralStencil2Alpha"),ua=eo("colorBackgroundOverlay"),pa=eo("colorScrollbarOverlay"),ga=eo("colorBrandBackground"),ba=eo("colorBrandBackgroundHover"),fa=eo("colorBrandBackgroundPressed"),ma=eo("colorBrandBackgroundSelected"),va=eo("colorCompoundBrandBackground"),ya=eo("colorCompoundBrandBackgroundHover"),ka=eo("colorCompoundBrandBackgroundPressed"),xa=eo("colorBrandBackgroundStatic"),$a=eo("colorBrandBackground2"),wa=eo("colorBrandBackgroundInverted"),Ba=eo("colorBrandBackgroundInvertedHover"),Ca=eo("colorBrandBackgroundInvertedPressed"),Sa=eo("colorBrandBackgroundInvertedSelected"),Pa=eo("colorNeutralStrokeAccessible"),Ta=eo("colorNeutralStrokeAccessibleHover"),Ia=eo("colorNeutralStrokeAccessiblePressed"),Fa=eo("colorNeutralStrokeAccessibleSelected"),Aa=eo("colorNeutralStroke1"),za=eo("colorNeutralStroke1Hover"),Na=eo("colorNeutralStroke1Pressed"),La=eo("colorNeutralStroke1Selected"),Oa=eo("colorNeutralStroke2"),Da=eo("colorNeutralStroke3"),Ea=eo("colorNeutralStrokeOnBrand"),Ra=eo("colorNeutralStrokeOnBrand2"),Ma=eo("colorNeutralStrokeOnBrand2Hover"),Ha=eo("colorNeutralStrokeOnBrand2Pressed"),Va=eo("colorNeutralStrokeOnBrand2Selected"),ja=eo("colorBrandStroke1"),_a=eo("colorBrandStroke2"),Ga=eo("colorCompoundBrandStroke"),qa=eo("colorCompoundBrandStrokeHover"),Xa=eo("colorCompoundBrandStrokePressed"),Wa=eo("colorNeutralStrokeDisabled"),Ua=eo("colorNeutralStrokeInvertedDisabled"),Ya=eo("colorTransparentStroke"),Ka=eo("colorTransparentStrokeInteractive"),Qa=eo("colorTransparentStrokeDisabled"),Za=eo("colorStrokeFocus1"),Ja=eo("colorStrokeFocus2"),en=eo("colorNeutralShadowAmbient"),tn=eo("colorNeutralShadowKey"),on=eo("colorNeutralShadowAmbientLighter"),rn=eo("colorNeutralShadowKeyLighter"),an=eo("colorNeutralShadowAmbientDarker"),nn=eo("colorNeutralShadowKeyDarker"),sn=eo("colorBrandShadowAmbient"),ln=eo("colorBrandShadowKey"),cn=eo("colorPaletteRedBackground1"),dn=eo("colorPaletteRedBackground2"),hn=eo("colorPaletteRedBackground3"),un=eo("colorPaletteRedForeground1"),pn=eo("colorPaletteRedForeground2"),gn=eo("colorPaletteRedForeground3"),bn=eo("colorPaletteRedBorderActive"),fn=eo("colorPaletteRedBorder1"),mn=eo("colorPaletteRedBorder2"),vn=eo("colorPaletteGreenBackground1"),yn=eo("colorPaletteGreenBackground2"),kn=eo("colorPaletteGreenBackground3"),xn=eo("colorPaletteGreenForeground1"),$n=eo("colorPaletteGreenForeground2"),wn=eo("colorPaletteGreenForeground3"),Bn=eo("colorPaletteGreenBorderActive"),Cn=eo("colorPaletteGreenBorder1"),Sn=eo("colorPaletteGreenBorder2"),Pn=eo("colorPaletteDarkOrangeBackground1"),Tn=eo("colorPaletteDarkOrangeBackground2"),In=eo("colorPaletteDarkOrangeBackground3"),Fn=eo("colorPaletteDarkOrangeForeground1"),An=eo("colorPaletteDarkOrangeForeground2"),zn=eo("colorPaletteDarkOrangeForeground3"),Nn=eo("colorPaletteDarkOrangeBorderActive"),Ln=eo("colorPaletteDarkOrangeBorder1"),On=eo("colorPaletteDarkOrangeBorder2"),Dn=eo("colorPaletteYellowBackground1"),En=eo("colorPaletteYellowBackground2"),Rn=eo("colorPaletteYellowBackground3"),Mn=eo("colorPaletteYellowForeground1"),Hn=eo("colorPaletteYellowForeground2"),Vn=eo("colorPaletteYellowForeground3"),jn=eo("colorPaletteYellowBorderActive"),_n=eo("colorPaletteYellowBorder1"),Gn=eo("colorPaletteYellowBorder2"),qn=eo("colorPaletteBerryBackground1"),Xn=eo("colorPaletteBerryBackground2"),Wn=eo("colorPaletteBerryBackground3"),Un=eo("colorPaletteBerryForeground1"),Yn=eo("colorPaletteBerryForeground2"),Kn=eo("colorPaletteBerryForeground3"),Qn=eo("colorPaletteBerryBorderActive"),Zn=eo("colorPaletteBerryBorder1"),Jn=eo("colorPaletteBerryBorder2"),es=eo("colorPaletteLightGreenBackground1"),ts=eo("colorPaletteLightGreenBackground2"),os=eo("colorPaletteLightGreenBackground3"),rs=eo("colorPaletteLightGreenForeground1"),is=eo("colorPaletteLightGreenForeground2"),as=eo("colorPaletteLightGreenForeground3"),ns=eo("colorPaletteLightGreenBorderActive"),ss=eo("colorPaletteLightGreenBorder1"),ls=eo("colorPaletteLightGreenBorder2"),cs=eo("colorPaletteMarigoldBackground1"),ds=eo("colorPaletteMarigoldBackground2"),hs=eo("colorPaletteMarigoldBackground3"),us=eo("colorPaletteMarigoldForeground1"),ps=eo("colorPaletteMarigoldForeground2"),gs=eo("colorPaletteMarigoldForeground3"),bs=eo("colorPaletteMarigoldBorderActive"),fs=eo("colorPaletteMarigoldBorder1"),ms=eo("colorPaletteMarigoldBorder2"),vs=eo("colorPaletteDarkRedBackground2"),ys=eo("colorPaletteDarkRedForeground2"),ks=eo("colorPaletteDarkRedBorderActive"),xs=eo("colorPaletteCranberryBackground2"),$s=eo("colorPaletteCranberryForeground2"),ws=eo("colorPaletteCranberryBorderActive"),Bs=eo("colorPalettePumpkinBackground2"),Cs=eo("colorPalettePumpkinForeground2"),Ss=eo("colorPalettePumpkinBorderActive"),Ps=eo("colorPalettePeachBackground2"),Ts=eo("colorPalettePeachForeground2"),Is=eo("colorPalettePeachBorderActive"),Fs=eo("colorPaletteGoldBackground2"),As=eo("colorPaletteGoldForeground2"),zs=eo("colorPaletteGoldBorderActive"),Ns=eo("colorPaletteBrassBackground2"),Ls=eo("colorPaletteBrassForeground2"),Os=eo("colorPaletteBrassBorderActive"),Ds=eo("colorPaletteBrownBackground2"),Es=eo("colorPaletteBrownForeground2"),Rs=eo("colorPaletteBrownBorderActive"),Ms=eo("colorPaletteForestBackground2"),Hs=eo("colorPaletteForestForeground2"),Vs=eo("colorPaletteForestBorderActive"),js=eo("colorPaletteSeafoamBackground2"),_s=eo("colorPaletteSeafoamForeground2"),Gs=eo("colorPaletteSeafoamBorderActive"),qs=eo("colorPaletteDarkGreenBackground2"),Xs=eo("colorPaletteDarkGreenForeground2"),Ws=eo("colorPaletteDarkGreenBorderActive"),Us=eo("colorPaletteLightTealBackground2"),Ys=eo("colorPaletteLightTealForeground2"),Ks=eo("colorPaletteLightTealBorderActive"),Qs=eo("colorPaletteTealBackground2"),Zs=eo("colorPaletteTealForeground2"),Js=eo("colorPaletteTealBorderActive"),el=eo("colorPaletteSteelBackground2"),tl=eo("colorPaletteSteelForeground2"),ol=eo("colorPaletteSteelBorderActive"),rl=eo("colorPaletteBlueBackground2"),il=eo("colorPaletteBlueForeground2"),al=eo("colorPaletteBlueBorderActive"),nl=eo("colorPaletteRoyalBlueBackground2"),sl=eo("colorPaletteRoyalBlueForeground2"),ll=eo("colorPaletteRoyalBlueBorderActive"),cl=eo("colorPaletteCornflowerBackground2"),dl=eo("colorPaletteCornflowerForeground2"),hl=eo("colorPaletteCornflowerBorderActive"),ul=eo("colorPaletteNavyBackground2"),pl=eo("colorPaletteNavyForeground2"),gl=eo("colorPaletteNavyBorderActive"),bl=eo("colorPaletteLavenderBackground2"),fl=eo("colorPaletteLavenderForeground2"),ml=eo("colorPaletteLavenderBorderActive"),vl=eo("colorPalettePurpleBackground2"),yl=eo("colorPalettePurpleForeground2"),kl=eo("colorPalettePurpleBorderActive"),xl=eo("colorPaletteGrapeBackground2"),$l=eo("colorPaletteGrapeForeground2"),wl=eo("colorPaletteGrapeBorderActive"),Bl=eo("colorPaletteLilacBackground2"),Cl=eo("colorPaletteLilacForeground2"),Sl=eo("colorPaletteLilacBorderActive"),Pl=eo("colorPalettePinkBackground2"),Tl=eo("colorPalettePinkForeground2"),Il=eo("colorPalettePinkBorderActive"),Fl=eo("colorPaletteMagentaBackground2"),Al=eo("colorPaletteMagentaForeground2"),zl=eo("colorPaletteMagentaBorderActive"),Nl=eo("colorPalettePlumBackground2"),Ll=eo("colorPalettePlumForeground2"),Ol=eo("colorPalettePlumBorderActive"),Dl=eo("colorPaletteBeigeBackground2"),El=eo("colorPaletteBeigeForeground2"),Rl=eo("colorPaletteBeigeBorderActive"),Ml=eo("colorPaletteMinkBackground2"),Hl=eo("colorPaletteMinkForeground2"),Vl=eo("colorPaletteMinkBorderActive"),jl=eo("colorPalettePlatinumBackground2"),_l=eo("colorPalettePlatinumForeground2"),Gl=eo("colorPalettePlatinumBorderActive"),ql=eo("colorPaletteAnchorBackground2"),Xl=eo("colorPaletteAnchorForeground2"),Wl=eo("colorPaletteAnchorBorderActive"),Ul=eo("colorPaletteRedForegroundInverted"),Yl=eo("colorPaletteGreenForegroundInverted"),Kl=eo("colorPaletteYellowForegroundInverted"),Ql=eo("shadow2"),Zl=eo("shadow4"),Jl=eo("shadow8"),ec=eo("shadow16"),tc=eo("shadow28"),oc=eo("shadow64"),rc=eo("shadow2Brand"),ic=eo("shadow4Brand"),ac=eo("shadow8Brand"),nc=eo("shadow16Brand"),sc=eo("shadow28Brand"),lc=eo("shadow64Brand");var cc=Object.freeze({__proto__:null,borderRadiusNone:to,borderRadiusSmall:oo,borderRadiusMedium:ro,borderRadiusLarge:io,borderRadiusXLarge:ao,borderRadiusCircular:no,fontSizeBase100:so,fontSizeBase200:lo,fontSizeBase300:co,fontSizeBase400:ho,fontSizeBase500:uo,fontSizeBase600:po,fontSizeHero700:go,fontSizeHero800:bo,fontSizeHero900:fo,fontSizeHero1000:mo,lineHeightBase100:vo,lineHeightBase200:yo,lineHeightBase300:ko,lineHeightBase400:xo,lineHeightBase500:$o,lineHeightBase600:wo,lineHeightHero700:Bo,lineHeightHero800:Co,lineHeightHero900:So,lineHeightHero1000:Po,fontFamilyBase:To,fontFamilyMonospace:Io,fontFamilyNumeric:Fo,fontWeightRegular:Ao,fontWeightMedium:zo,fontWeightSemibold:No,fontWeightBold:Lo,strokeWidthThin:Oo,strokeWidthThick:Do,strokeWidthThicker:Eo,strokeWidthThickest:Ro,spacingHorizontalNone:Mo,spacingHorizontalXXS:Ho,spacingHorizontalXS:Vo,spacingHorizontalSNudge:jo,spacingHorizontalS:_o,spacingHorizontalMNudge:Go,spacingHorizontalM:qo,spacingHorizontalL:Xo,spacingHorizontalXL:Wo,spacingHorizontalXXL:Uo,spacingHorizontalXXXL:Yo,spacingVerticalNone:Ko,spacingVerticalXXS:Qo,spacingVerticalXS:Zo,spacingVerticalSNudge:Jo,spacingVerticalS:er,spacingVerticalMNudge:tr,spacingVerticalM:or,spacingVerticalL:rr,spacingVerticalXL:ir,spacingVerticalXXL:ar,spacingVerticalXXXL:nr,durationUltraFast:sr,durationFaster:lr,durationFast:cr,durationNormal:dr,durationSlow:hr,durationSlower:ur,durationUltraSlow:pr,curveAccelerateMax:gr,curveAccelerateMid:br,curveAccelerateMin:fr,curveDecelerateMax:mr,curveDecelerateMid:vr,curveDecelerateMin:yr,curveEasyEaseMax:kr,curveEasyEase:xr,curveLinear:$r,colorNeutralForeground1:wr,colorNeutralForeground1Hover:Br,colorNeutralForeground1Pressed:Cr,colorNeutralForeground1Selected:Sr,colorNeutralForeground2:Pr,colorNeutralForeground2Hover:Tr,colorNeutralForeground2Pressed:Ir,colorNeutralForeground2Selected:Fr,colorNeutralForeground2BrandHover:Ar,colorNeutralForeground2BrandPressed:zr,colorNeutralForeground2BrandSelected:Nr,colorNeutralForeground3:Lr,colorNeutralForeground3Hover:Or,colorNeutralForeground3Pressed:Dr,colorNeutralForeground3Selected:Er,colorNeutralForeground3BrandHover:Rr,colorNeutralForeground3BrandPressed:Mr,colorNeutralForeground3BrandSelected:Hr,colorNeutralForeground4:Vr,colorNeutralForegroundDisabled:jr,colorNeutralForegroundInvertedDisabled:_r,colorBrandForegroundLink:Gr,colorBrandForegroundLinkHover:qr,colorBrandForegroundLinkPressed:Xr,colorBrandForegroundLinkSelected:Wr,colorNeutralForeground2Link:Ur,colorNeutralForeground2LinkHover:Yr,colorNeutralForeground2LinkPressed:Kr,colorNeutralForeground2LinkSelected:Qr,colorCompoundBrandForeground1:Zr,colorCompoundBrandForeground1Hover:Jr,colorCompoundBrandForeground1Pressed:ei,colorBrandForeground1:ti,colorBrandForeground2:oi,colorNeutralForeground1Static:ri,colorNeutralForegroundStaticInverted:ii,colorNeutralForegroundInverted:ai,colorNeutralForegroundInvertedHover:ni,colorNeutralForegroundInvertedPressed:si,colorNeutralForegroundInvertedSelected:li,colorNeutralForegroundInverted2:ci,colorNeutralForegroundOnBrand:di,colorNeutralForegroundInvertedLink:hi,colorNeutralForegroundInvertedLinkHover:ui,colorNeutralForegroundInvertedLinkPressed:pi,colorNeutralForegroundInvertedLinkSelected:gi,colorBrandForegroundInverted:bi,colorBrandForegroundInvertedHover:fi,colorBrandForegroundInvertedPressed:mi,colorBrandForegroundOnLight:vi,colorBrandForegroundOnLightHover:yi,colorBrandForegroundOnLightPressed:ki,colorBrandForegroundOnLightSelected:xi,colorNeutralBackground1:$i,colorNeutralBackground1Hover:wi,colorNeutralBackground1Pressed:Bi,colorNeutralBackground1Selected:Ci,colorNeutralBackground2:Si,colorNeutralBackground2Hover:Pi,colorNeutralBackground2Pressed:Ti,colorNeutralBackground2Selected:Ii,colorNeutralBackground3:Fi,colorNeutralBackground3Hover:Ai,colorNeutralBackground3Pressed:zi,colorNeutralBackground3Selected:Ni,colorNeutralBackground4:Li,colorNeutralBackground4Hover:Oi,colorNeutralBackground4Pressed:Di,colorNeutralBackground4Selected:Ei,colorNeutralBackground5:Ri,colorNeutralBackground5Hover:Mi,colorNeutralBackground5Pressed:Hi,colorNeutralBackground5Selected:Vi,colorNeutralBackground6:ji,colorNeutralBackgroundInverted:_i,colorNeutralBackgroundStatic:Gi,colorSubtleBackground:qi,colorSubtleBackgroundHover:Xi,colorSubtleBackgroundPressed:Wi,colorSubtleBackgroundSelected:Ui,colorSubtleBackgroundLightAlphaHover:Yi,colorSubtleBackgroundLightAlphaPressed:Ki,colorSubtleBackgroundLightAlphaSelected:Qi,colorSubtleBackgroundInverted:Zi,colorSubtleBackgroundInvertedHover:Ji,colorSubtleBackgroundInvertedPressed:ea,colorSubtleBackgroundInvertedSelected:ta,colorTransparentBackground:oa,colorTransparentBackgroundHover:ra,colorTransparentBackgroundPressed:ia,colorTransparentBackgroundSelected:aa,colorNeutralBackgroundDisabled:na,colorNeutralBackgroundInvertedDisabled:sa,colorNeutralStencil1:la,colorNeutralStencil2:ca,colorNeutralStencil1Alpha:da,colorNeutralStencil2Alpha:ha,colorBackgroundOverlay:ua,colorScrollbarOverlay:pa,colorBrandBackground:ga,colorBrandBackgroundHover:ba,colorBrandBackgroundPressed:fa,colorBrandBackgroundSelected:ma,colorCompoundBrandBackground:va,colorCompoundBrandBackgroundHover:ya,colorCompoundBrandBackgroundPressed:ka,colorBrandBackgroundStatic:xa,colorBrandBackground2:$a,colorBrandBackgroundInverted:wa,colorBrandBackgroundInvertedHover:Ba,colorBrandBackgroundInvertedPressed:Ca,colorBrandBackgroundInvertedSelected:Sa,colorNeutralStrokeAccessible:Pa,colorNeutralStrokeAccessibleHover:Ta,colorNeutralStrokeAccessiblePressed:Ia,colorNeutralStrokeAccessibleSelected:Fa,colorNeutralStroke1:Aa,colorNeutralStroke1Hover:za,colorNeutralStroke1Pressed:Na,colorNeutralStroke1Selected:La,colorNeutralStroke2:Oa,colorNeutralStroke3:Da,colorNeutralStrokeOnBrand:Ea,colorNeutralStrokeOnBrand2:Ra,colorNeutralStrokeOnBrand2Hover:Ma,colorNeutralStrokeOnBrand2Pressed:Ha,colorNeutralStrokeOnBrand2Selected:Va,colorBrandStroke1:ja,colorBrandStroke2:_a,colorCompoundBrandStroke:Ga,colorCompoundBrandStrokeHover:qa,colorCompoundBrandStrokePressed:Xa,colorNeutralStrokeDisabled:Wa,colorNeutralStrokeInvertedDisabled:Ua,colorTransparentStroke:Ya,colorTransparentStrokeInteractive:Ka,colorTransparentStrokeDisabled:Qa,colorStrokeFocus1:Za,colorStrokeFocus2:Ja,colorNeutralShadowAmbient:en,colorNeutralShadowKey:tn,colorNeutralShadowAmbientLighter:on,colorNeutralShadowKeyLighter:rn,colorNeutralShadowAmbientDarker:an,colorNeutralShadowKeyDarker:nn,colorBrandShadowAmbient:sn,colorBrandShadowKey:ln,colorPaletteRedBackground1:cn,colorPaletteRedBackground2:dn,colorPaletteRedBackground3:hn,colorPaletteRedForeground1:un,colorPaletteRedForeground2:pn,colorPaletteRedForeground3:gn,colorPaletteRedBorderActive:bn,colorPaletteRedBorder1:fn,colorPaletteRedBorder2:mn,colorPaletteGreenBackground1:vn,colorPaletteGreenBackground2:yn,colorPaletteGreenBackground3:kn,colorPaletteGreenForeground1:xn,colorPaletteGreenForeground2:$n,colorPaletteGreenForeground3:wn,colorPaletteGreenBorderActive:Bn,colorPaletteGreenBorder1:Cn,colorPaletteGreenBorder2:Sn,colorPaletteDarkOrangeBackground1:Pn,colorPaletteDarkOrangeBackground2:Tn,colorPaletteDarkOrangeBackground3:In,colorPaletteDarkOrangeForeground1:Fn,colorPaletteDarkOrangeForeground2:An,colorPaletteDarkOrangeForeground3:zn,colorPaletteDarkOrangeBorderActive:Nn,colorPaletteDarkOrangeBorder1:Ln,colorPaletteDarkOrangeBorder2:On,colorPaletteYellowBackground1:Dn,colorPaletteYellowBackground2:En,colorPaletteYellowBackground3:Rn,colorPaletteYellowForeground1:Mn,colorPaletteYellowForeground2:Hn,colorPaletteYellowForeground3:Vn,colorPaletteYellowBorderActive:jn,colorPaletteYellowBorder1:_n,colorPaletteYellowBorder2:Gn,colorPaletteBerryBackground1:qn,colorPaletteBerryBackground2:Xn,colorPaletteBerryBackground3:Wn,colorPaletteBerryForeground1:Un,colorPaletteBerryForeground2:Yn,colorPaletteBerryForeground3:Kn,colorPaletteBerryBorderActive:Qn,colorPaletteBerryBorder1:Zn,colorPaletteBerryBorder2:Jn,colorPaletteLightGreenBackground1:es,colorPaletteLightGreenBackground2:ts,colorPaletteLightGreenBackground3:os,colorPaletteLightGreenForeground1:rs,colorPaletteLightGreenForeground2:is,colorPaletteLightGreenForeground3:as,colorPaletteLightGreenBorderActive:ns,colorPaletteLightGreenBorder1:ss,colorPaletteLightGreenBorder2:ls,colorPaletteMarigoldBackground1:cs,colorPaletteMarigoldBackground2:ds,colorPaletteMarigoldBackground3:hs,colorPaletteMarigoldForeground1:us,colorPaletteMarigoldForeground2:ps,colorPaletteMarigoldForeground3:gs,colorPaletteMarigoldBorderActive:bs,colorPaletteMarigoldBorder1:fs,colorPaletteMarigoldBorder2:ms,colorPaletteDarkRedBackground2:vs,colorPaletteDarkRedForeground2:ys,colorPaletteDarkRedBorderActive:ks,colorPaletteCranberryBackground2:xs,colorPaletteCranberryForeground2:$s,colorPaletteCranberryBorderActive:ws,colorPalettePumpkinBackground2:Bs,colorPalettePumpkinForeground2:Cs,colorPalettePumpkinBorderActive:Ss,colorPalettePeachBackground2:Ps,colorPalettePeachForeground2:Ts,colorPalettePeachBorderActive:Is,colorPaletteGoldBackground2:Fs,colorPaletteGoldForeground2:As,colorPaletteGoldBorderActive:zs,colorPaletteBrassBackground2:Ns,colorPaletteBrassForeground2:Ls,colorPaletteBrassBorderActive:Os,colorPaletteBrownBackground2:Ds,colorPaletteBrownForeground2:Es,colorPaletteBrownBorderActive:Rs,colorPaletteForestBackground2:Ms,colorPaletteForestForeground2:Hs,colorPaletteForestBorderActive:Vs,colorPaletteSeafoamBackground2:js,colorPaletteSeafoamForeground2:_s,colorPaletteSeafoamBorderActive:Gs,colorPaletteDarkGreenBackground2:qs,colorPaletteDarkGreenForeground2:Xs,colorPaletteDarkGreenBorderActive:Ws,colorPaletteLightTealBackground2:Us,colorPaletteLightTealForeground2:Ys,colorPaletteLightTealBorderActive:Ks,colorPaletteTealBackground2:Qs,colorPaletteTealForeground2:Zs,colorPaletteTealBorderActive:Js,colorPaletteSteelBackground2:el,colorPaletteSteelForeground2:tl,colorPaletteSteelBorderActive:ol,colorPaletteBlueBackground2:rl,colorPaletteBlueForeground2:il,colorPaletteBlueBorderActive:al,colorPaletteRoyalBlueBackground2:nl,colorPaletteRoyalBlueForeground2:sl,colorPaletteRoyalBlueBorderActive:ll,colorPaletteCornflowerBackground2:cl,colorPaletteCornflowerForeground2:dl,colorPaletteCornflowerBorderActive:hl,colorPaletteNavyBackground2:ul,colorPaletteNavyForeground2:pl,colorPaletteNavyBorderActive:gl,colorPaletteLavenderBackground2:bl,colorPaletteLavenderForeground2:fl,colorPaletteLavenderBorderActive:ml,colorPalettePurpleBackground2:vl,colorPalettePurpleForeground2:yl,colorPalettePurpleBorderActive:kl,colorPaletteGrapeBackground2:xl,colorPaletteGrapeForeground2:$l,colorPaletteGrapeBorderActive:wl,colorPaletteLilacBackground2:Bl,colorPaletteLilacForeground2:Cl,colorPaletteLilacBorderActive:Sl,colorPalettePinkBackground2:Pl,colorPalettePinkForeground2:Tl,colorPalettePinkBorderActive:Il,colorPaletteMagentaBackground2:Fl,colorPaletteMagentaForeground2:Al,colorPaletteMagentaBorderActive:zl,colorPalettePlumBackground2:Nl,colorPalettePlumForeground2:Ll,colorPalettePlumBorderActive:Ol,colorPaletteBeigeBackground2:Dl,colorPaletteBeigeForeground2:El,colorPaletteBeigeBorderActive:Rl,colorPaletteMinkBackground2:Ml,colorPaletteMinkForeground2:Hl,colorPaletteMinkBorderActive:Vl,colorPalettePlatinumBackground2:jl,colorPalettePlatinumForeground2:_l,colorPalettePlatinumBorderActive:Gl,colorPaletteAnchorBackground2:ql,colorPaletteAnchorForeground2:Xl,colorPaletteAnchorBorderActive:Wl,colorPaletteRedForegroundInverted:Ul,colorPaletteGreenForegroundInverted:Yl,colorPaletteYellowForegroundInverted:Kl,shadow2:Ql,shadow4:Zl,shadow8:Jl,shadow16:ec,shadow28:tc,shadow64:oc,shadow2Brand:rc,shadow4Brand:ic,shadow8Brand:ac,shadow16Brand:nc,shadow28Brand:sc,shadow64Brand:lc});const dc=_`
5
+ ${Ct("block")}
6
+
7
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${qo} ${Go};border-radius:${ro};font-family:${To};font-size:${co};font-weight:${Ao};line-height:${ko};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:${wr};background:${oa};line-height:${ko};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:${oo}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${_o};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${qo}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${_o};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${oo};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}:host([disabled]) .button{color:${jr}}: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:${co};line-height:${ko}}:host([size='small']) .heading{font-size:${lo};line-height:${yo}}:host([size='large']) .heading{font-size:${ho};line-height:${xo}}:host([size='extra-large']) .heading{font-size:${uo};line-height:${$o}}: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}`,hc=function(e={}){return xe`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${we("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>${gt(e)} ${pt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${ht(e.expandedIcon)}</slot><slot name="collapsed-icon">${ht(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:xe.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:xe.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>')}),uc=Nt.compose({name:Tt.prefix+"-accordion-item",template:hc,styles:dc});class pc extends ot{}e([Ee],pc.prototype,"download",void 0),e([Ee],pc.prototype,"href",void 0),e([Ee],pc.prototype,"hreflang",void 0),e([Ee],pc.prototype,"ping",void 0),e([Ee],pc.prototype,"referrerpolicy",void 0),e([Ee],pc.prototype,"rel",void 0),e([Ee],pc.prototype,"target",void 0),e([Ee],pc.prototype,"type",void 0),e([C],pc.prototype,"defaultSlottedContent",void 0);class gc{}e([Ee({attribute:"aria-expanded"})],gc.prototype,"ariaExpanded",void 0),bt(gc,dt),bt(pc,ut,gc);var bc=Object.defineProperty,fc=Object.getOwnPropertyDescriptor,mc=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?fc(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&bc(t,o,a),a};class vc extends pc{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)}}mc([Ee],vc.prototype,"appearance",2),mc([Ee],vc.prototype,"shape",2),mc([Ee],vc.prototype,"size",2),mc([Ee({attribute:"icon-only",mode:"boolean"})],vc.prototype,"iconOnly",2),mc([Ee({mode:"boolean"})],vc.prototype,"disabled",2),mc([Ee({attribute:"disabled-focusable",mode:"boolean"})],vc.prototype,"disabledFocusable",2);const yc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},kc={circular:"circular",rounded:"rounded",square:"square"},xc={small:"small",medium:"medium",large:"large"},$c=yc,wc=kc,Bc=xc,Cc=function(e={}){return xe`<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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</a>`}(),Sc=_`
8
+ ${Ct("inline-flex")}
9
+
10
+ :host{--icon-spacing:${jo};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:${$i};color:${wr};border:${Oo} solid ${Aa};padding:0 ${qo};min-width:96px;border-radius:${ro};font-size:${co};font-family:${To};font-weight:${No};line-height:${ko};transition-duration:${lr};transition-property:background,border,color;transition-timing-function:${xr};cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:${wi};color:${Br};border-color:${za}}:host(:hover:active) .control{background-color:${Bi};border-color:${Na};color:${Cr};outline-style:none}:host .control:focus-visible{border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}@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:${Vo}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${_o};border-radius:${oo};font-size:${lo};line-height:${yo};font-weight:${Ao}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${io};padding:0 ${Xo};font-size:${ho};line-height:${xo}}: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:${no}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${to}}:host([appearance='primary']) .control{background-color:${ga};color:${di};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${ba}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${di}}:host([appearance='primary']:hover:active) .control{background-color:${fa}}:host([appearance='primary']) .control:focus-visible{border-color:${di};box-shadow:${Ql},0 0 0 2px ${Ja}}: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:${oa}}:host([appearance='outline']:hover) .control{background-color:${ra}}:host([appearance='outline']:hover:active) .control{background-color:${ia}}: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:${oa}}:host([appearance='subtle']) .control{background-color:${qi};color:${Pr};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${Xi};color:${Tr};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${Wi};color:${Ir};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:${oa};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${Ar}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${zr}}:host([appearance='transparent']) .control{background-color:${oa};color:${Pr}}:host([appearance='transparent']:hover) .control{background-color:${ra};color:${Ar}}:host([appearance='transparent']:hover:active) .control{background-color:${ia};color:${zr}}: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:${oa}}: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:${na};border-color:${Wa};color:${jr};cursor:not-allowed}`.withBehaviors(Bt(_`
12
+ :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),Pc=_`
13
+ ${Sc}
14
+
15
+ .content{text-align:center}`,Tc=vc.compose({name:Tt.prefix+"-anchor-button",template:Cc,styles:Pc,shadowOptions:{delegatesFocus:!0}}),Ic=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,Fc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,Ac=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zc=/\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 Lc(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(Ic,"")).replace(Fc,"")).replace(zc," ")).trim()}(e),Nc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&Ac.test(e)?"":function(e,t,o){let r="";const i=e.split(" ");return 0!==i.length&&(r+=i[0].charAt(0).toUpperCase()),o||(2===i.length?r+=i[1].charAt(0).toUpperCase():3===i.length&&(r+=i[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Oc={active:"active",inactive:"inactive"},Dc={circular:"circular",square:"square"},Ec={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Rc={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"},Mc={neutral:"neutral",brand:"brand",colorful:"colorful",...Rc},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};var Vc=Object.defineProperty,jc=Object.getOwnPropertyDescriptor,_c=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?jc(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Vc(t,o,a),a};const Gc=class extends ot{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Mc.colorful?Gc.colors[Xc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Gc.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:Lc(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let qc=Gc;qc.colors=Object.values(Rc),_c([Ee],qc.prototype,"name",2),_c([Ee],qc.prototype,"initials",2),_c([Ee({converter:Oe})],qc.prototype,"size",2),_c([Ee],qc.prototype,"shape",2),_c([Ee],qc.prototype,"active",2),_c([Ee],qc.prototype,"appearance",2),_c([Ee],qc.prototype,"color",2),_c([Ee({attribute:"color-id"})],qc.prototype,"colorId",2);const Xc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),i=o%8;t^=(r<<i)+(r>>8-i)}return t},Wc=xe`<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 Uc=xe`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Wc}</slot><slot name="badge"></slot></template>`,Yc=yr,Kc=kr,Qc=$r,Zc=_`
16
+ ${Ct("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${To};font-weight:${No};font-size:${co};border-radius:${no};color:${Lr};background-color:${ji};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:${no}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${Oo} ${$i}}: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 ${Do} ${$i}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${so};font-weight:${Ao}}: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:${lo}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${ho}}: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:${uo}}: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:${po}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ro}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${oo}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${io}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${ao}}:host([data-color='brand']){color:${ii};background-color:${xa}}:host([data-color='dark-red']){color:${ys};background-color:${vs}}:host([data-color='cranberry']){color:${$s};background-color:${xs}}:host([data-color='red']){color:${pn};background-color:${dn}}:host([data-color='pumpkin']){color:${Cs};background-color:${Bs}}:host([data-color='peach']){color:${Ts};background-color:${Ps}}:host([data-color='marigold']){color:${ps};background-color:${ds}}:host([data-color='gold']){color:${As};background-color:${Fs}}:host([data-color='brass']){color:${Ls};background-color:${Ns}}:host([data-color='brown']){color:${Es};background-color:${Ds}}:host([data-color='forest']){color:${Hs};background-color:${Ms}}:host([data-color='seafoam']){color:${_s};background-color:${js}}:host([data-color='dark-green']){color:${Xs};background-color:${qs}}:host([data-color='light-teal']){color:${Ys};background-color:${Us}}:host([data-color='teal']){color:${Zs};background-color:${Qs}}:host([data-color='steel']){color:${tl};background-color:${el}}:host([data-color='blue']){color:${il};background-color:${rl}}:host([data-color='royal-blue']){color:${sl};background-color:${nl}}:host([data-color='cornflower']){color:${dl};background-color:${cl}}:host([data-color='navy']){color:${pl};background-color:${ul}}:host([data-color='lavender']){color:${fl};background-color:${bl}}:host([data-color='purple']){color:${yl};background-color:${vl}}:host([data-color='grape']){color:${$l};background-color:${xl}}:host([data-color='lilac']){color:${Cl};background-color:${Bl}}:host([data-color='pink']){color:${Tl};background-color:${Pl}}:host([data-color='magenta']){color:${Al};background-color:${Fl}}:host([data-color='plum']){color:${Ll};background-color:${Nl}}:host([data-color='beige']){color:${El};background-color:${Dl}}:host([data-color='mink']){color:${Hl};background-color:${Ml}}:host([data-color='platinum']){color:${_l};background-color:${jl}}:host([data-color='anchor']){color:${Xl};background-color:${ql}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Kc},${Qc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Kc},${Qc}}:host([active])::before{box-shadow:${Jl};border-style:solid;border-color:${xa}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Do});border-width:${Do}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${Eo});border-width:${Eo}}: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 * ${Ro});border-width:${Ro}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Zl}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${ec}}: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:${tc}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${pr},${lr};transition-delay:${Yc},${Qc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${pr},${ur};transition-delay:${Yc},${Qc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,Jc=qc.compose({name:Tt.prefix+"-avatar",template:Uc,styles:Zc});function ed(e,...t){const o=ze.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});ze.locate(t).forEach(e=>o.push(e))})}const td={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},od={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},rd={circular:"circular",rounded:"rounded",square:"square"},id={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var ad=Object.defineProperty,nd=Object.getOwnPropertyDescriptor,sd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?nd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ad(t,o,a),a};class ld extends ot{constructor(){super(...arguments),this.appearance=td.filled,this.color=od.brand}}function cd(e={}){return xe` ${gt(e)}<slot>${ht(e.defaultContent)}</slot>${pt(e)} `}sd([Ee],ld.prototype,"appearance",2),sd([Ee],ld.prototype,"color",2),sd([Ee],ld.prototype,"shape",2),sd([Ee],ld.prototype,"size",2),ed(ld,ut);const dd=cd(),hd=Ho,ud=_.partial`
17
+ ${Ct("inline-flex")} :host {
3
18
  position: relative;
4
19
  box-sizing: border-box;
5
20
  align-items: center;
6
21
  justify-content: center;
7
- font-family: ${Et};
8
- font-weight: ${Ut};
9
- font-size: ${Nt};
10
- line-height: ${Ht};
22
+ font-family: ${To};
23
+ font-weight: ${No};
24
+ font-size: ${lo};
25
+ line-height: ${yo};
11
26
  min-width: 20px;
12
27
  height: 20px;
13
- padding-inline: calc(${or} + ${Pl});
14
- border-radius: ${St};
15
- border-color: ${ua};
16
- background-color: ${An};
17
- color: ${xo};
28
+ padding-inline: calc(${Vo} + ${hd});
29
+ border-radius: ${no};
30
+ border-color: ${Ya};
31
+ background-color: ${ga};
32
+ color: ${di};
33
+ contain: content;
18
34
  }
19
35
 
20
36
  ::slotted(svg) {
@@ -29,11 +45,11 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
29
45
  bottom: 0;
30
46
  right: 0;
31
47
  border-style: solid;
32
- border-width: ${Kt};
48
+ border-width: ${Oo};
33
49
  border-color: inherit;
34
50
  border-radius: inherit;
35
51
  }
36
- `,wl=O.partial`
52
+ `,pd=_.partial`
37
53
  :host([size='tiny']) {
38
54
  width: 6px;
39
55
  height: 6px;
@@ -59,9 +75,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
59
75
  :host([size='small']) {
60
76
  min-width: 16px;
61
77
  height: 16px;
62
- font-size: ${wt};
63
- line-height: ${Lt};
64
- padding-inline: calc(${rr} + ${Pl});
78
+ font-size: ${so};
79
+ line-height: ${vo};
80
+ padding-inline: calc(${Ho} + ${hd});
65
81
  }
66
82
  :host([size='small']) ::slotted(svg) {
67
83
  font-size: 12px;
@@ -69,9 +85,9 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
69
85
  :host([size='large']) {
70
86
  min-width: 24px;
71
87
  height: 24px;
72
- font-size: ${Nt};
73
- line-height: ${Ht};
74
- padding-inline: calc(${or} + ${Pl});
88
+ font-size: ${lo};
89
+ line-height: ${yo};
90
+ padding-inline: calc(${Vo} + ${hd});
75
91
  }
76
92
  :host([size='large']) ::slotted(svg) {
77
93
  font-size: 16px;
@@ -79,195 +95,254 @@ import{composedContains as e,composedParent as t}from"@microsoft/fast-element/ut
79
95
  :host([size='extra-large']) {
80
96
  min-width: 32px;
81
97
  height: 32px;
82
- font-size: ${Nt};
83
- line-height: ${Ht};
84
- padding-inline: calc(${nr} + ${Pl});
98
+ font-size: ${lo};
99
+ line-height: ${yo};
100
+ padding-inline: calc(${jo} + ${hd});
85
101
  }
86
102
  :host([size='extra-large']) ::slotted(svg) {
87
103
  font-size: 20px;
88
104
  }
89
- `,Nl=O.partial`
105
+ `,gd=_.partial`
90
106
  :host([color='danger']) {
91
- background-color: ${Fa};
92
- color: ${xo};
107
+ background-color: ${hn};
108
+ color: ${di};
93
109
  }
94
110
 
95
111
  :host([color='important']) {
96
- background-color: ${Rr};
97
- color: ${Ro};
112
+ background-color: ${wr};
113
+ color: ${$i};
98
114
  }
99
115
 
100
116
  :host([color='informative']) {
101
- background-color: ${tn};
102
- color: ${Qr};
117
+ background-color: ${Ri};
118
+ color: ${Lr};
103
119
  }
104
120
 
105
121
  :host([color='severe']) {
106
- background-color: ${Ea};
107
- color: ${xo};
122
+ background-color: ${In};
123
+ color: ${di};
108
124
  }
109
125
 
110
126
  :host([color='subtle']) {
111
- background-color: ${Ro};
112
- color: ${Rr};
127
+ background-color: ${$i};
128
+ color: ${wr};
113
129
  }
114
130
 
115
131
  :host([color='success']) {
116
- background-color: ${Ha};
117
- color: ${xo};
132
+ background-color: ${kn};
133
+ color: ${di};
118
134
  }
119
135
 
120
136
  :host([color='warning']) {
121
- background-color: ${Za};
122
- color: ${Rr};
137
+ background-color: ${Rn};
138
+ color: ${ri};
123
139
  }
124
- `,Fl=O.partial`
140
+ `,bd=_.partial`
125
141
  :host([appearance='ghost']) {
126
- color: ${An};
142
+ color: ${ti};
127
143
  background-color: initial;
128
144
  }
129
145
 
130
146
  :host([appearance='ghost'][color='danger']) {
131
- color: ${$a};
147
+ color: ${gn};
132
148
  }
133
149
 
134
150
  :host([appearance='ghost'][color='important']) {
135
- color: ${Rr};
151
+ color: ${wr};
136
152
  }
137
153
 
138
154
  :host([appearance='ghost'][color='informative']) {
139
- color: ${Qr};
155
+ color: ${Lr};
140
156
  }
141
157
 
142
158
  :host([appearance='ghost'][color='severe']) {
143
- color: ${Wa};
159
+ color: ${zn};
144
160
  }
145
161
 
146
162
  :host([appearance='ghost'][color='subtle']) {
147
- color: ${Po};
163
+ color: ${ai};
148
164
  }
149
165
 
150
166
  :host([appearance='ghost'][color='success']) {
151
- color: ${Va};
167
+ color: ${wn};
152
168
  }
153
169
 
154
170
  :host([appearance='ghost'][color='warning']) {
155
- color: ${ts};
171
+ color: ${Hn};
156
172
  }
157
- `,xl=O`
158
- :host([shape='square']){border-radius:${Bt}}:host([shape='rounded']){border-radius:${kt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mt}}${wl}
159
- ${Nl}
160
- ${Fl}
161
- ${O.partial`
173
+ `,fd=_.partial`
162
174
  :host([appearance='outline']) {
163
175
  border-color: currentColor;
164
- color: ${Bo};
176
+ color: ${ti};
165
177
  background-color: initial;
166
178
  }
167
179
 
168
180
  :host([appearance='outline'][color='danger']) {
169
- color: ${$a};
181
+ color: ${gn};
170
182
  }
171
183
 
172
184
  :host([appearance='outline'][color='important']) {
173
- color: ${Qr};
174
- border-color: ${Gn};
185
+ color: ${Lr};
186
+ border-color: ${Pa};
175
187
  }
176
188
 
177
189
  :host([appearance='outline'][color='informative']) {
178
- color: ${Qr};
179
- border-color: ${Kn};
190
+ color: ${Lr};
191
+ border-color: ${Oa};
180
192
  }
181
193
 
182
194
  :host([appearance='outline'][color='severe']) {
183
- color: ${Wa};
195
+ color: ${zn};
184
196
  }
185
197
 
186
198
  :host([appearance='outline'][color='subtle']) {
187
- color: ${yo};
199
+ color: ${ii};
188
200
  }
189
201
 
190
202
  :host([appearance='outline'][color='success']) {
191
- color: ${Ma};
203
+ color: ${$n};
192
204
  }
193
205
 
194
206
  :host([appearance='outline'][color='warning']) {
195
- color: ${ts};
207
+ color: ${Hn};
196
208
  }
197
- `}
198
- ${O.partial`
209
+ `,md=_.partial`
199
210
  :host([appearance='tint']) {
200
- background-color: ${Vn};
201
- color: ${mo};
202
- border-color: ${aa};
211
+ background-color: ${$a};
212
+ color: ${oi};
213
+ border-color: ${_a};
203
214
  }
204
215
 
205
216
  :host([appearance='tint'][color='danger']) {
206
- background-color: ${wa};
207
- color: ${xa};
208
- border-color: ${Ta};
217
+ background-color: ${cn};
218
+ color: ${un};
219
+ border-color: ${fn};
209
220
  }
210
221
 
211
222
  :host([appearance='tint'][color='important']) {
212
- background-color: ${Qr};
213
- color: ${Ro};
214
- border-color: ${ua};
223
+ background-color: ${Lr};
224
+ color: ${$i};
225
+ border-color: ${Ya};
215
226
  }
216
227
 
217
228
  :host([appearance='tint'][color='informative']) {
218
- background-color: ${Ko};
219
- color: ${Qr};
220
- border-color: ${Kn};
229
+ background-color: ${Li};
230
+ color: ${Lr};
231
+ border-color: ${Oa};
221
232
  }
222
233
 
223
234
  :host([appearance='tint'][color='severe']) {
224
- background-color: ${ja};
225
- color: ${Xa};
226
- border-color: ${Ua};
235
+ background-color: ${Pn};
236
+ color: ${Fn};
237
+ border-color: ${Ln};
227
238
  }
228
239
 
229
240
  :host([appearance='tint'][color='subtle']) {
230
- background-color: ${Ro};
231
- color: ${Qr};
232
- border-color: ${Kn};
241
+ background-color: ${$i};
242
+ color: ${Lr};
243
+ border-color: ${Oa};
233
244
  }
234
245
 
235
246
  :host([appearance='tint'][color='success']) {
236
- background-color: ${za};
237
- color: ${Da};
238
- border-color: ${_a};
247
+ background-color: ${vn};
248
+ color: ${xn};
249
+ border-color: ${Sn};
239
250
  }
240
251
 
241
252
  :host([appearance='tint'][color='warning']) {
242
- background-color: ${Ka};
243
- color: ${ts};
244
- border-color: ${ns};
245
- }
246
- `}
247
- ${Sl}
248
- `,Cl=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),$l=pt.compose({name:Cl.prefix+"-badge",template:vt,styles:xl});class Al extends Re{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}}r([Se],Al.prototype,"appearance",void 0),r([Se],Al.prototype,"color",void 0),r([Se],Al.prototype,"shape",void 0),r([Se],Al.prototype,"size",void 0),r([Se({converter:ye})],Al.prototype,"count",void 0),r([Se({attribute:"overflow-count",converter:ye})],Al.prototype,"overflowCount",void 0),r([Se({attribute:"show-zero",mode:"boolean"})],Al.prototype,"showZero",void 0),r([Se({mode:"boolean"})],Al.prototype,"dot",void 0),je(Al,_e);const Tl={filled:"filled",ghost:"ghost"},Ol={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},zl={circular:"circular",rounded:"rounded"},Ll={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const Hl=ft({defaultContent:pe`${e=>e.setCount()}`}),Dl=O`
249
- :host([shape='rounded']){border-radius:${kt}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${mt}}${wl}
250
- ${Nl}
251
- ${Fl}
252
- ${Sl}
253
-
254
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Ml=Al.compose({name:Cl.prefix+"-counter-badge",template:Hl,styles:Dl});class Vl extends lt{}r([Se],Vl.prototype,"thickness",void 0),r([Se],Vl.prototype,"shape",void 0),r([Se({attribute:"validation-state"})],Vl.prototype,"validationState",void 0);const Rl={medium:"medium",large:"large"},Il={rounded:"rounded",square:"square"},_l={success:"success",warning:"warning",error:"error"},jl=O`
255
- ${ct("flex")}
256
-
257
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${kt}}: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:${Fa}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
258
- to right,${Na} 0%,${Fa} 50%,${Na}
259
- )}:host([validation-state='warning']) .determinate{background-color:${Ea}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
260
- to right,${Ga} 0%,${Ea} 50%,${Ga}
261
- )}:host([validation-state='success']) .determinate{background-color:${Ha}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
262
- to right,${La} 0%,${Ha} 50%,${La}
263
- )}.progress{background-color:${an};border-radius:${kt};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Ln};border-radius:${kt};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
264
- to right,${Vn} 0%,${Ln} 50%,${Vn}
265
- );border-radius:${kt};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(
266
- to right,${Vn} 0%,${Ln} 50%,${Vn}
267
- );border-radius:${kt};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}}`,Gl=function(e={}){return pe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${be(e=>"number"==typeof e.value,pe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`)} ${be(e=>"number"!=typeof e.value,pe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${Ie(e.indeterminateIndicator1)} ${Ie(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>'}),El=Vl.compose({name:Cl.prefix+"-progress-bar",template:Gl,styles:jl});class Xl extends it{}r([Se],Xl.prototype,"size",void 0),r([Se],Xl.prototype,"appearance",void 0);const ql={primary:"primary",inverted:"inverted"},Wl={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Yl=function(e={}){return pe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${be(e=>"number"==typeof e.value,pe`<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>`)} ${be(e=>"number"!=typeof e.value,pe`<slot name="indeterminate">${Ie(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 '}),Ul=O`
268
- ${ct("flex")}
269
-
270
- :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:${aa};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${na};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:${ea}}.indeterminate-indicator-1{stroke:${na};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:${ea}}@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)}}`,Ql=Xl.compose({name:Cl.prefix+"-spinner",template:Yl,styles:Ul});class Kl extends Re{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}r([Se({mode:"boolean"})],Kl.prototype,"nowrap",void 0),r([Se({mode:"boolean"})],Kl.prototype,"truncate",void 0),r([Se({mode:"boolean"})],Kl.prototype,"italic",void 0),r([Se({mode:"boolean"})],Kl.prototype,"underline",void 0),r([Se({mode:"boolean"})],Kl.prototype,"strikethrough",void 0),r([Se({mode:"boolean"})],Kl.prototype,"block",void 0),r([Se],Kl.prototype,"size",void 0),r([Se],Kl.prototype,"font",void 0),r([Se],Kl.prototype,"weight",void 0),r([Se],Kl.prototype,"align",void 0);const Jl={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Zl={base:"base",numeric:"numeric",monospace:"monospace"},ec={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},tc={start:"start",end:"end",center:"center",justify:"justify"},rc=pe`<slot></slot>`,oc=O`
271
- ${ct("inline")}
272
-
273
- ::slotted(*){font-family:${Et};font-size:${Ft};line-height:${Dt};font-weight:${Wt};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:${wt};line-height:${Lt}}:host([size='200']) ::slotted(*){font-size:${Nt};line-height:${Ht}}:host([size='400']) ::slotted(*){font-size:${xt};line-height:${Mt}}:host([size='500']) ::slotted(*){font-size:${Ct};line-height:${Vt}}:host([size='600']) ::slotted(*){font-size:${$t};line-height:${Rt}}:host([size='700']) ::slotted(*){font-size:${At};line-height:${It}}:host([size='800']) ::slotted(*){font-size:${Tt};line-height:${_t}}:host([size='900']) ::slotted(*){font-size:${Ot};line-height:${jt}}:host([size='1000']) ::slotted(*){font-size:${zt};line-height:${Gt}}:host([font='monospace']) ::slotted(*){font-family:${Xt}}:host([font='numeric']) ::slotted(*){font-family:${qt}}:host([weight='medium']) ::slotted(*){font-weight:${Yt}}:host([weight='semibold']) ::slotted(*){font-weight:${Ut}}:host([weight='bold']) ::slotted(*){font-weight:${Qt}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,nc=Kl.compose({name:Cl.prefix+"-text",template:rc,styles:oc}),ac=Object.keys(yl),sc=e=>{for(const t of ac)yl[t].withDefault(e[t])};export{pt as Badge,dt as BadgeAppearance,ut as BadgeColor,$l as BadgeDefinition,ht as BadgeShape,gt as BadgeSize,xl as BadgeStyles,vt as BadgeTemplate,Al as CounterBadge,Tl as CounterBadgeAppearance,Ol as CounterBadgeColor,Ml as CounterBadgeDefinition,zl as CounterBadgeShape,Ll as CounterBadgeSize,Dl as CounterBadgeStyles,Hl as CounterBadgeTemplate,Vl as ProgressBar,El as ProgressBarDefinition,Il as ProgressBarShape,jl as ProgressBarStyles,Gl as ProgressBarTemplate,Rl as ProgressBarThickness,_l as ProgressBarValidationState,Xl as Spinner,ql as SpinnerAppearance,Ql as SpinnerDefinition,Wl as SpinnerSize,Ul as SpinnerStyles,Yl as SpinnerTemplate,Kl as Text,tc as TextAlign,nc as TextDefinition,Zl as TextFont,Jl as TextSize,oc as TextStyles,rc as TextTemplate,ec as TextWeight,St as borderRadiusCircular,yt as borderRadiusLarge,kt as borderRadiusMedium,Bt as borderRadiusNone,mt as borderRadiusSmall,Pt as borderRadiusXLarge,Cn as colorBackgroundOverlay,An as colorBrandBackground,Vn as colorBrandBackground2,Tn as colorBrandBackgroundHover,Rn as colorBrandBackgroundInverted,In as colorBrandBackgroundInvertedHover,_n as colorBrandBackgroundInvertedPressed,jn as colorBrandBackgroundInvertedSelected,On as colorBrandBackgroundPressed,zn as colorBrandBackgroundSelected,Mn as colorBrandBackgroundStatic,Bo as colorBrandForeground1,mo as colorBrandForeground2,Oo as colorBrandForegroundInverted,zo as colorBrandForegroundInvertedHover,Lo as colorBrandForegroundInvertedPressed,so as colorBrandForegroundLink,io as colorBrandForegroundLinkHover,lo as colorBrandForegroundLinkPressed,co as colorBrandForegroundLinkSelected,Ho as colorBrandForegroundOnLight,Do as colorBrandForegroundOnLightHover,Mo as colorBrandForegroundOnLightPressed,Vo as colorBrandForegroundOnLightSelected,Pa as colorBrandShadowAmbient,Sa as colorBrandShadowKey,na as colorBrandStroke1,aa as colorBrandStroke2,Ln as colorCompoundBrandBackground,Hn as colorCompoundBrandBackgroundHover,Dn as colorCompoundBrandBackgroundPressed,fo as colorCompoundBrandForeground1,vo as colorCompoundBrandForeground1Hover,bo as colorCompoundBrandForeground1Pressed,sa as colorCompoundBrandStroke,ia as colorCompoundBrandStrokeHover,la as colorCompoundBrandStrokePressed,Ro as colorNeutralBackground1,Io as colorNeutralBackground1Hover,_o as colorNeutralBackground1Pressed,jo as colorNeutralBackground1Selected,Go as colorNeutralBackground2,Eo as colorNeutralBackground2Hover,Xo as colorNeutralBackground2Pressed,qo as colorNeutralBackground2Selected,Wo as colorNeutralBackground3,Yo as colorNeutralBackground3Hover,Uo as colorNeutralBackground3Pressed,Qo as colorNeutralBackground3Selected,Ko as colorNeutralBackground4,Jo as colorNeutralBackground4Hover,Zo as colorNeutralBackground4Pressed,en as colorNeutralBackground4Selected,tn as colorNeutralBackground5,rn as colorNeutralBackground5Hover,on as colorNeutralBackground5Pressed,nn as colorNeutralBackground5Selected,an as colorNeutralBackground6,wn as colorNeutralBackgroundDisabled,sn as colorNeutralBackgroundInverted,Nn as colorNeutralBackgroundInvertedDisabled,ln as colorNeutralBackgroundStatic,Rr as colorNeutralForeground1,Ir as colorNeutralForeground1Hover,_r as colorNeutralForeground1Pressed,jr as colorNeutralForeground1Selected,ko as colorNeutralForeground1Static,Gr as colorNeutralForeground2,Wr as colorNeutralForeground2BrandHover,Yr as colorNeutralForeground2BrandPressed,Ur as colorNeutralForeground2BrandSelected,Er as colorNeutralForeground2Hover,uo as colorNeutralForeground2Link,ho as colorNeutralForeground2LinkHover,go as colorNeutralForeground2LinkPressed,po as colorNeutralForeground2LinkSelected,Xr as colorNeutralForeground2Pressed,qr as colorNeutralForeground2Selected,Qr as colorNeutralForeground3,eo as colorNeutralForeground3BrandHover,to as colorNeutralForeground3BrandPressed,ro as colorNeutralForeground3BrandSelected,Kr as colorNeutralForeground3Hover,Jr as colorNeutralForeground3Pressed,Zr as colorNeutralForeground3Selected,oo as colorNeutralForeground4,no as colorNeutralForegroundDisabled,Po as colorNeutralForegroundInverted,Fo as colorNeutralForegroundInverted2,ao as colorNeutralForegroundInvertedDisabled,So as colorNeutralForegroundInvertedHover,Co as colorNeutralForegroundInvertedLink,$o as colorNeutralForegroundInvertedLinkHover,Ao as colorNeutralForegroundInvertedLinkPressed,To as colorNeutralForegroundInvertedLinkSelected,wo as colorNeutralForegroundInvertedPressed,No as colorNeutralForegroundInvertedSelected,xo as colorNeutralForegroundOnBrand,yo as colorNeutralForegroundStaticInverted,va as colorNeutralShadowAmbient,ka as colorNeutralShadowAmbientDarker,Ba as colorNeutralShadowAmbientLighter,ba as colorNeutralShadowKey,ya as colorNeutralShadowKeyDarker,ma as colorNeutralShadowKeyLighter,Fn as colorNeutralStencil1,xn as colorNeutralStencil2,Wn as colorNeutralStroke1,Yn as colorNeutralStroke1Hover,Un as colorNeutralStroke1Pressed,Qn as colorNeutralStroke1Selected,Kn as colorNeutralStroke2,Jn as colorNeutralStroke3,Gn as colorNeutralStrokeAccessible,En as colorNeutralStrokeAccessibleHover,Xn as colorNeutralStrokeAccessiblePressed,qn as colorNeutralStrokeAccessibleSelected,ca as colorNeutralStrokeDisabled,da as colorNeutralStrokeInvertedDisabled,Zn as colorNeutralStrokeOnBrand,ea as colorNeutralStrokeOnBrand2,ta as colorNeutralStrokeOnBrand2Hover,ra as colorNeutralStrokeOnBrand2Pressed,oa as colorNeutralStrokeOnBrand2Selected,sl as colorPaletteAnchorBackground2,ll as colorPaletteAnchorBorderActive,il as colorPaletteAnchorForeground2,Ki as colorPaletteBeigeBackground2,Zi as colorPaletteBeigeBorderActive,Ji as colorPaletteBeigeForeground2,ss as colorPaletteBerryBackground1,is as colorPaletteBerryBackground2,ls as colorPaletteBerryBackground3,gs as colorPaletteBerryBorder1,ps as colorPaletteBerryBorder2,hs as colorPaletteBerryBorderActive,cs as colorPaletteBerryForeground1,ds as colorPaletteBerryForeground2,us as colorPaletteBerryForeground3,Bi as colorPaletteBlueBackground2,ki as colorPaletteBlueBorderActive,mi as colorPaletteBlueForeground2,Ys as colorPaletteBrassBackground2,Qs as colorPaletteBrassBorderActive,Us as colorPaletteBrassForeground2,Ks as colorPaletteBrownBackground2,Zs as colorPaletteBrownBorderActive,Js as colorPaletteBrownForeground2,wi as colorPaletteCornflowerBackground2,Fi as colorPaletteCornflowerBorderActive,Ni as colorPaletteCornflowerForeground2,Ds as colorPaletteCranberryBackground2,Vs as colorPaletteCranberryBorderActive,Ms as colorPaletteCranberryForeground2,si as colorPaletteDarkGreenBackground2,li as colorPaletteDarkGreenBorderActive,ii as colorPaletteDarkGreenForeground2,ja as colorPaletteDarkOrangeBackground1,Ga as colorPaletteDarkOrangeBackground2,Ea as colorPaletteDarkOrangeBackground3,Ua as colorPaletteDarkOrangeBorder1,Qa as colorPaletteDarkOrangeBorder2,Ya as colorPaletteDarkOrangeBorderActive,Xa as colorPaletteDarkOrangeForeground1,qa as colorPaletteDarkOrangeForeground2,Wa as colorPaletteDarkOrangeForeground3,zs as colorPaletteDarkRedBackground2,Hs as colorPaletteDarkRedBorderActive,Ls as colorPaletteDarkRedForeground2,ei as colorPaletteForestBackground2,ri as colorPaletteForestBorderActive,ti as colorPaletteForestForeground2,Xs as colorPaletteGoldBackground2,Ws as colorPaletteGoldBorderActive,qs as colorPaletteGoldForeground2,Di as colorPaletteGrapeBackground2,Vi as colorPaletteGrapeBorderActive,Mi as colorPaletteGrapeForeground2,za as colorPaletteGreenBackground1,La as colorPaletteGreenBackground2,Ha as colorPaletteGreenBackground3,Ia as colorPaletteGreenBorder1,_a as colorPaletteGreenBorder2,Ra as colorPaletteGreenBorderActive,Da as colorPaletteGreenForeground1,Ma as colorPaletteGreenForeground2,Va as colorPaletteGreenForeground3,Ai as colorPaletteLavenderBackground2,Oi as colorPaletteLavenderBorderActive,Ti as colorPaletteLavenderForeground2,fs as colorPaletteLightGreenBackground1,vs as colorPaletteLightGreenBackground2,bs as colorPaletteLightGreenBackground3,Ps as colorPaletteLightGreenBorder1,Ss as colorPaletteLightGreenBorder2,ys as colorPaletteLightGreenBorderActive,Bs as colorPaletteLightGreenForeground1,ms as colorPaletteLightGreenForeground2,ks as colorPaletteLightGreenForeground3,ci as colorPaletteLightTealBackground2,ui as colorPaletteLightTealBorderActive,di as colorPaletteLightTealForeground2,Ri as colorPaletteLilacBackground2,_i as colorPaletteLilacBorderActive,Ii as colorPaletteLilacForeground2,Xi as colorPaletteMagentaBackground2,Wi as colorPaletteMagentaBorderActive,qi as colorPaletteMagentaForeground2,ws as colorPaletteMarigoldBackground1,Ns as colorPaletteMarigoldBackground2,Fs as colorPaletteMarigoldBackground3,Ts as colorPaletteMarigoldBorder1,Os as colorPaletteMarigoldBorder2,As as colorPaletteMarigoldBorderActive,xs as colorPaletteMarigoldForeground1,Cs as colorPaletteMarigoldForeground2,$s as colorPaletteMarigoldForeground3,el as colorPaletteMinkBackground2,rl as colorPaletteMinkBorderActive,tl as colorPaletteMinkForeground2,xi as colorPaletteNavyBackground2,$i as colorPaletteNavyBorderActive,Ci as colorPaletteNavyForeground2,js as colorPalettePeachBackground2,Es as colorPalettePeachBorderActive,Gs as colorPalettePeachForeground2,ji as colorPalettePinkBackground2,Ei as colorPalettePinkBorderActive,Gi as colorPalettePinkForeground2,ol as colorPalettePlatinumBackground2,al as colorPalettePlatinumBorderActive,nl as colorPalettePlatinumForeground2,Yi as colorPalettePlumBackground2,Qi as colorPalettePlumBorderActive,Ui as colorPalettePlumForeground2,Rs as colorPalettePumpkinBackground2,_s as colorPalettePumpkinBorderActive,Is as colorPalettePumpkinForeground2,zi as colorPalettePurpleBackground2,Hi as colorPalettePurpleBorderActive,Li as colorPalettePurpleForeground2,wa as colorPaletteRedBackground1,Na as colorPaletteRedBackground2,Fa as colorPaletteRedBackground3,Ta as colorPaletteRedBorder1,Oa as colorPaletteRedBorder2,Aa as colorPaletteRedBorderActive,xa as colorPaletteRedForeground1,Ca as colorPaletteRedForeground2,$a as colorPaletteRedForeground3,yi as colorPaletteRoyalBlueBackground2,Si as colorPaletteRoyalBlueBorderActive,Pi as colorPaletteRoyalBlueForeground2,oi as colorPaletteSeafoamBackground2,ai as colorPaletteSeafoamBorderActive,ni as colorPaletteSeafoamForeground2,fi as colorPaletteSteelBackground2,bi as colorPaletteSteelBorderActive,vi as colorPaletteSteelForeground2,hi as colorPaletteTealBackground2,pi as colorPaletteTealBorderActive,gi as colorPaletteTealForeground2,Ka as colorPaletteYellowBackground1,Ja as colorPaletteYellowBackground2,Za as colorPaletteYellowBackground3,ns as colorPaletteYellowBorder1,as as colorPaletteYellowBorder2,os as colorPaletteYellowBorderActive,es as colorPaletteYellowForeground1,ts as colorPaletteYellowForeground2,rs as colorPaletteYellowForeground3,$n as colorScrollbarOverlay,pa as colorStrokeFocus1,fa as colorStrokeFocus2,cn as colorSubtleBackground,dn as colorSubtleBackgroundHover,vn as colorSubtleBackgroundInverted,bn as colorSubtleBackgroundInvertedHover,Bn as colorSubtleBackgroundInvertedPressed,mn as colorSubtleBackgroundInvertedSelected,gn as colorSubtleBackgroundLightAlphaHover,pn as colorSubtleBackgroundLightAlphaPressed,fn as colorSubtleBackgroundLightAlphaSelected,un as colorSubtleBackgroundPressed,hn as colorSubtleBackgroundSelected,kn as colorTransparentBackground,yn as colorTransparentBackgroundHover,Pn as colorTransparentBackgroundPressed,Sn as colorTransparentBackgroundSelected,ua as colorTransparentStroke,ga as colorTransparentStrokeDisabled,ha as colorTransparentStrokeInteractive,Ar as curveAccelerateMax,Tr as curveAccelerateMid,Or as curveAccelerateMin,zr as curveDecelerateMax,Lr as curveDecelerateMid,Hr as curveDecelerateMin,Mr as curveEasyEase,Dr as curveEasyEaseMax,Vr as curveLinear,Nr as durationFast,wr as durationFaster,Fr as durationNormal,xr as durationSlow,Cr as durationSlower,Sr as durationUltraFast,$r as durationUltraSlow,Et as fontFamilyBase,Xt as fontFamilyMonospace,qt as fontFamilyNumeric,wt as fontSizeBase100,Nt as fontSizeBase200,Ft as fontSizeBase300,xt as fontSizeBase400,Ct as fontSizeBase500,$t as fontSizeBase600,zt as fontSizeHero1000,At as fontSizeHero700,Tt as fontSizeHero800,Ot as fontSizeHero900,Qt as fontWeightBold,Yt as fontWeightMedium,Wt as fontWeightRegular,Ut as fontWeightSemibold,Lt as lineHeightBase100,Ht as lineHeightBase200,Dt as lineHeightBase300,Mt as lineHeightBase400,Vt as lineHeightBase500,Rt as lineHeightBase600,Gt as lineHeightHero1000,It as lineHeightHero700,_t as lineHeightHero800,jt as lineHeightHero900,sc as setTheme,hl as shadow16,Bl as shadow16Brand,cl as shadow2,gl as shadow28,ml as shadow28Brand,fl as shadow2Brand,dl as shadow4,vl as shadow4Brand,pl as shadow64,kl as shadow64Brand,ul as shadow8,bl as shadow8Brand,lr as spacingHorizontalL,ir as spacingHorizontalM,sr as spacingHorizontalMNudge,tr as spacingHorizontalNone,ar as spacingHorizontalS,nr as spacingHorizontalSNudge,cr as spacingHorizontalXL,or as spacingHorizontalXS,dr as spacingHorizontalXXL,rr as spacingHorizontalXXS,ur as spacingHorizontalXXXL,mr as spacingVerticalL,Br as spacingVerticalM,br as spacingVerticalMNudge,hr as spacingVerticalNone,vr as spacingVerticalS,fr as spacingVerticalSNudge,kr as spacingVerticalXL,pr as spacingVerticalXS,yr as spacingVerticalXXL,gr as spacingVerticalXXS,Pr as spacingVerticalXXXL,Jt as strokeWidthThick,Zt as strokeWidthThicker,er as strokeWidthThickest,Kt as strokeWidthThin};
253
+ background-color: ${Dn};
254
+ color: ${Hn};
255
+ border-color: ${_n};
256
+ }
257
+ `,vd=_`
258
+ :host([shape='square']){border-radius:${to}}:host([shape='rounded']){border-radius:${ro}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${oo}}${pd}
259
+ ${gd}
260
+ ${bd}
261
+ ${fd}
262
+ ${md}
263
+ ${ud}
264
+ `,yd=ld.compose({name:Tt.prefix+"-badge",template:dd,styles:vd}),kd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,xd=new WeakMap;function $d(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 kd}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 d}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),k.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),k.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!kd)return null;let e=xd.get(this);return e||(e=this.attachInternals(),xd.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 Ee({mode:"boolean"})(t.prototype,"disabled"),Ee({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Ee({attribute:"current-value"})(t.prototype,"currentValue"),Ee(t.prototype,"name"),Ee({mode:"boolean"})(t.prototype,"required"),C(t.prototype,"value"),t}function wd(e){class t extends($d(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 Ee({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Ee({attribute:"current-checked",converter:Ne})(o.prototype,"currentChecked"),C(o.prototype,"defaultChecked"),C(o.prototype,"checked"),o}class Bd extends ot{}class Cd extends($d(Bd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Sd="submit",Pd="reset";class Td extends Cd{constructor(){super(...arguments),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)||void 0===e||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===Sd&&this.addEventListener("click",this.handleSubmission),e===Sd&&this.removeEventListener("click",this.handleSubmission),t===Pd&&this.addEventListener("click",this.handleFormReset),e===Pd&&this.removeEventListener("click",this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type)}}e([Ee({mode:"boolean"})],Td.prototype,"autofocus",void 0),e([Ee({attribute:"form"})],Td.prototype,"formId",void 0),e([Ee],Td.prototype,"formaction",void 0),e([Ee],Td.prototype,"formenctype",void 0),e([Ee],Td.prototype,"formmethod",void 0),e([Ee({mode:"boolean"})],Td.prototype,"formnovalidate",void 0),e([Ee],Td.prototype,"formtarget",void 0),e([Ee],Td.prototype,"type",void 0),e([C],Td.prototype,"defaultSlottedContent",void 0);class Id{}function Fd(e={}){return xe`<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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot></span>${pt(e)}</button>`}e([Ee({attribute:"aria-expanded"})],Id.prototype,"ariaExpanded",void 0),e([Ee({attribute:"aria-pressed"})],Id.prototype,"ariaPressed",void 0),bt(Id,dt),bt(Td,ut,Id);var Ad=Object.defineProperty,zd=Object.getOwnPropertyDescriptor,Nd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?zd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Ad(t,o,a),a};class Ld extends Td{constructor(){super(...arguments),this.iconOnly=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{e&&this.disabledFocusable&&e.stopImmediatePropagation()}}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)}}Nd([Ee],Ld.prototype,"appearance",2),Nd([Ee],Ld.prototype,"shape",2),Nd([Ee],Ld.prototype,"size",2),Nd([Ee({attribute:"icon-only",mode:"boolean"})],Ld.prototype,"iconOnly",2),Nd([Ee({attribute:"disabled-focusable",mode:"boolean"})],Ld.prototype,"disabledFocusable",2);const Od=Fd(),Dd=Ld.compose({name:Tt.prefix+"-button",template:Od,styles:Sc,shadowOptions:{delegatesFocus:!0}});class Ed extends ot{}class Rd extends(wd(Ed)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Md extends Rd{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}}e([C],Md.prototype,"defaultSlottedNodes",void 0),e([C],Md.prototype,"indeterminate",void 0);var Hd=Object.defineProperty,Vd=Object.getOwnPropertyDescriptor,jd=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Vd(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Hd(t,o,a),a};class _d extends Md{}jd([Ee],_d.prototype,"shape",2),jd([Ee],_d.prototype,"size",2),jd([Ee({attribute:"label-position"})],_d.prototype,"labelPosition",2);const Gd={circular:"circular",square:"square"},qd={medium:"medium",large:"large"},Xd={before:"before",after:"after"},Wd=function(e={}){return xe`<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">${ht(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ht(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:xe.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:xe.partial('\n <div class="indeterminate-indicator"></div>\n')}),Ud=_`
265
+ ${Ct("inline-flex")}
266
+ :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${To};font-size:${co};line-height:${ko};color:${Lr};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ro};outline:none;border:2px solid ${Za};box-shadow:inset 0 0 0 1px ${Ja}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${er} ${_o};fill:currentcolor;height:16px;width:16px;border:${Oo} solid ${Pa};border-radius:${oo};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${_o};padding-bottom:${er};padding-top:${er}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${ai};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${oo};background-color:${Zr};opacity:0}:host(:hover){color:${Pr}}:host(:hover) .control{border-color:${Ta}}:host(:hover) .indeterminate-indicator{background-color:${Jr}}:host(:active) .control{border-color:${Ia}}:host(:active) .indeterminate-indicator{background-color:${ei}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${wr}}:host([aria-checked='true']) .control{background-color:${va}}:host([aria-checked='true']:hover) .control{border-color:${qa};background-color:${ya}}:host([aria-checked='true']:active) .control{background-color:${ka}}:host([aria-checked='mixed']:hover) .control{border-color:${qa}}: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:${Ga}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${Xa}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${_o} ${Vo};padding-top:${er};padding-bottom:${er}}: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:${no}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${ra};border-color:${Wa}}: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:${jr}}:host([disabled]) .indeterminate-indicator{background-color:${jr}}`,Yd=_d.compose({name:Tt.prefix+"-checkbox",template:Wd,styles:Ud});class Kd extends Ld{}const Qd=yc,Zd=kc,Jd=xc;const eh=function(e={}){return xe`<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}" ${we("control")}>${gt(e)}<span class="content" part="content"><slot ${Ae("defaultSlottedContent")}></slot><slot name="description"></slot></span>${pt(e)}</button>`}(),th=_`
267
+ ${Sc}
268
+
269
+ :host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${co};line-height:${ko}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Pr};line-height:100%;font-size:${lo};font-weight:${Ao}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Tr}}:host(:active) ::slotted([slot='description']){color:${Ir}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
270
+ ::slotted([slot='description']){color:${di}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
271
+ ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${Pr}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${Ar}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${zr}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
272
+ ::slotted([slot='description']){color:${jr}}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:${jo}}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:${Vo}}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:${_o}}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${ho};line-height:${xo}}:host([size='large']) ::slotted([slot='description']){font-size:${co}}`,oh=Kd.compose({name:Tt.prefix+"-compound-button",template:eh,styles:th,shadowOptions:{delegatesFocus:!0}});var rh=Object.defineProperty,ih=Object.getOwnPropertyDescriptor,ah=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?ih(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&rh(t,o,a),a};class nh extends ot{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}}ah([Ee],nh.prototype,"appearance",2),ah([Ee],nh.prototype,"color",2),ah([Ee],nh.prototype,"shape",2),ah([Ee],nh.prototype,"size",2),ah([Ee({converter:Oe})],nh.prototype,"count",2),ah([Ee({attribute:"overflow-count",converter:Oe})],nh.prototype,"overflowCount",2),ah([Ee({attribute:"show-zero",mode:"boolean"})],nh.prototype,"showZero",2),ah([Ee({mode:"boolean"})],nh.prototype,"dot",2),ed(nh,ut);const sh={filled:"filled",ghost:"ghost"},lh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},ch={circular:"circular",rounded:"rounded"},dh={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const hh=cd({defaultContent:xe`${e=>e.setCount()}`}),uh=_`
273
+ :host([shape='rounded']){border-radius:${ro}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${oo}}${pd}
274
+ ${gd}
275
+ ${bd}
276
+ ${ud}
277
+
278
+ :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,ph=nh.compose({name:Tt.prefix+"-counter-badge",template:hh,styles:uh}),gh={separator:"separator",presentation:"presentation"},bh=rt;class fh extends ot{constructor(){super(...arguments),this.role=gh.separator,this.orientation=bh.horizontal}}e([Ee],fh.prototype,"role",void 0),e([Ee],fh.prototype,"orientation",void 0);var mh=Object.defineProperty,vh=Object.getOwnPropertyDescriptor,yh=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?vh(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&mh(t,o,a),a};class kh extends fh{}yh([Ee({attribute:"align-content"})],kh.prototype,"alignContent",2),yh([Ee],kh.prototype,"appearance",2),yh([Ee({mode:"boolean"})],kh.prototype,"inset",2);const xh={center:"center",start:"start",end:"end"},$h={strong:"strong",brand:"brand",subtle:"subtle",default:"default"},wh=xe`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==gh.presentation?e.orientation:void 0}"><slot></slot></template>`,Bh=_`
279
+ ${Ct("flex")}
280
+
281
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${Oa};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${Oo}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Pr};font-family:${To};font-size:${lo};font-weight:${Ao};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:${Oo};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:${Aa}}:host([appearance='strong']) ::slotted(*){color:${wr}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${ja}}:host([appearance='brand']) ::slotted(*){color:${ti}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Da}}:host([appearance='subtle']) ::slotted(*){color:${Lr}}`.withBehaviors(Bt(_`
282
+ :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}`)),Ch=kh.compose({name:Tt.prefix+"-divider",template:wh,styles:Bh});var Sh=Object.defineProperty,Ph=Object.getOwnPropertyDescriptor,Th=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ph(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Sh(t,o,a),a};class Ih extends ot{}Th([Ee({mode:"boolean"})],Ih.prototype,"block",2),Th([Ee({mode:"boolean"})],Ih.prototype,"bordered",2),Th([Ee({mode:"boolean"})],Ih.prototype,"shadow",2),Th([Ee],Ih.prototype,"fit",2),Th([Ee],Ih.prototype,"shape",2);const Fh={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Ah={circular:"circular",rounded:"rounded",square:"square"},zh=xe`<slot></slot>`,Nh=_`
283
+ :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:${Oo} solid ${Oa}}: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:${Zl}}:host([shape='circular']) ::slotted(img){border-radius:${no}}:host([shape='rounded']) ::slotted(img){border-radius:${ro}}`,Lh=Ih.compose({name:Tt.prefix+"-image",template:zh,styles:Nh});var Oh=Object.defineProperty,Dh=Object.getOwnPropertyDescriptor,Eh=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Dh(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Oh(t,o,a),a};class Rh extends ot{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Eh([Ee],Rh.prototype,"size",2),Eh([Ee],Rh.prototype,"weight",2),Eh([Ee({mode:"boolean"})],Rh.prototype,"disabled",2),Eh([Ee({mode:"boolean"})],Rh.prototype,"required",2);const Mh=_`
284
+ ${Ct("flex")}
285
+
286
+ :host{font-family:${To};font-size:${co};line-height:${ko};font-weight:${Ao};color:${wr}}.asterisk{color:${un};margin-left:${Vo}}:host([size='small']){font-size:${lo};line-height:${yo}}:host([size='large']){font-size:${ho};line-height:${xo};font-weight:${No}}:host([weight='semibold']){font-weight:${No}}:host([disabled]),:host([disabled]) .asterisk{color:${jr}}`;const Hh=xe`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Vh=Rh.compose({name:Tt.prefix+"-label",template:Hh,styles:Mh});class jh extends Ld{}const _h=yc,Gh=kc,qh=xc,Xh=Fd({end:xe.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>')}),Wh=jh.compose({name:Tt.prefix+"-menu-button",template:Xh,styles:Sc,shadowOptions:{delegatesFocus:!0}}),Uh={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};function Yh(e){return e.split("-")[1]}function Kh(e){return"y"===e?"height":"width"}function Qh(e){return e.split("-")[0]}function Zh(e){return["top","bottom"].includes(Qh(e))?"x":"y"}function Jh(e,t,o){let{reference:r,floating:i}=e;const a=r.x+r.width/2-i.width/2,n=r.y+r.height/2-i.height/2,s=Zh(t),l=Kh(s),c=r[l]/2-i[l]/2,d="x"===s;let h;switch(Qh(t)){case"top":h={x:a,y:r.y-i.height};break;case"bottom":h={x:a,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:n};break;case"left":h={x:r.x-i.width,y:n};break;default:h={x:r.x,y:r.y}}switch(Yh(t)){case"start":h[s]-=c*(o&&d?-1:1);break;case"end":h[s]+=c*(o&&d?-1:1)}return h}function eu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function tu(e,t){var o;void 0===t&&(t={});const{x:r,y:i,platform:a,rects:n,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:h="floating",altBoundary:u=!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),b=s[u?"floating"===h?"reference":"floating":h],f=eu(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(b)))||o?b:b.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===h?{...n.floating,x:r,y:i}:n.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},k=eu(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:v,strategy:l}):m);return{top:(f.top-k.top+g.top)/y.y,bottom:(k.bottom-f.bottom+g.bottom)/y.y,left:(f.left-k.left+g.left)/y.x,right:(k.right-f.right+g.right)/y.x}}const ou=Math.min,ru=Math.max;function iu(e,t,o){return ru(e,ou(t,o))}["top","right","bottom","left"].reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const au={left:"right",right:"left",bottom:"top",top:"bottom"};function nu(e){return e.replace(/left|right|bottom|top/g,e=>au[e])}function su(e,t,o){void 0===o&&(o=!1);const r=Yh(e),i=Zh(e),a=Kh(i);let n="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(n=nu(n)),{main:n,cross:nu(n)}}const lu={start:"end",end:"start"};function cu(e){return e.replace(/start|end/g,e=>lu[e])}const du=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:i,rects:a,initialPlacement:n,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...b}=e,f=Qh(r),m=Qh(n)===n,v=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=h||(m||!g?[nu(n)]:function(e){const t=nu(e);return[cu(e),t,cu(t)]}(n));h||"none"===p||y.push(...function(e,t,o,r){const i=Yh(e);let a=function(e,t,o){const r=["left","right"],i=["right","left"],a=["top","bottom"],n=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:r:t?r:i;case"left":case"right":return t?a:n;default:return[]}}(Qh(e),"start"===o,r);return i&&(a=a.map(e=>e+"-"+i),t&&(a=a.concat(a.map(cu)))),a}(n,g,p,v));const k=[n,...y],x=await tu(t,b),$=[];let w=(null==(o=i.flip)?void 0:o.overflows)||[];if(c&&$.push(x[f]),d){const{main:e,cross:t}=su(r,a,v);$.push(x[e],x[t])}if(w=[...w,{placement:r,overflows:$}],!$.every(e=>e<=0)){var B,C;const e=((null==(B=i.flip)?void 0:B.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:w},reset:{placement:t}};let o=null==(C=w.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:C.placement;if(!o)switch(u){case"bestFit":{var S;const e=null==(S=w.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=n}if(r!==o)return{reset:{placement:o}}}return{}}}};const hu=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!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 tu(t,l),h=Zh(Qh(i)),u=function(e){return"x"===e?"y":"x"}(h);let p=c[h],g=c[u];if(a){const e="y"===h?"bottom":"right";p=iu(p+d["y"===h?"top":"left"],p,p-d[e])}if(n){const e="y"===u?"bottom":"right";g=iu(g+d["y"===u?"top":"left"],g,g-d[e])}const b=s.fn({...t,[h]:p,[u]:g});return{...b,data:{x:b.x-o,y:b.y-r}}}}},uu=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:i,elements:a}=t,{apply:n=(()=>{}),...s}=e,l=await tu(t,s),c=Qh(o),d=Yh(o),h="x"===Zh(o),{width:u,height:p}=r.floating;let g,b;"top"===c||"bottom"===c?(g=c,b=d===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=c,g="end"===d?"top":"bottom");const f=p-l[g],m=u-l[b];let v=f,y=m;if(h?y=ou(u-l.right-l.left,m):v=ou(p-l.bottom-l.top,f),!t.middlewareData.shift&&!d){const e=ru(l.left,0),t=ru(l.right,0),o=ru(l.top,0),r=ru(l.bottom,0);h?y=u-2*(0!==e||0!==t?e+t:ru(l.left,l.right)):v=p-2*(0!==o||0!==r?o+r:ru(l.top,l.bottom))}await n({...t,availableWidth:y,availableHeight:v});const k=await i.getDimensions(a.floating);return u!==k.width||p!==k.height?{reset:{rects:!0}}:{}}}};function pu(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function gu(e){return pu(e).getComputedStyle(e)}const bu=Math.min,fu=Math.max,mu=Math.round;function vu(e){const t=gu(e);let o=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,n=mu(o)!==i||mu(r)!==a;return n&&(o=i,r=a),{width:o,height:r,fallback:n}}function yu(e){return Bu(e)?(e.nodeName||"").toLowerCase():""}let ku;function xu(){if(ku)return ku;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ku=e.brands.map(e=>e.brand+"/"+e.version).join(" "),ku):navigator.userAgent}function $u(e){return e instanceof pu(e).HTMLElement}function wu(e){return e instanceof pu(e).Element}function Bu(e){return e instanceof pu(e).Node}function Cu(e){return"undefined"!=typeof ShadowRoot&&(e instanceof pu(e).ShadowRoot||e instanceof ShadowRoot)}function Su(e){const{overflow:t,overflowX:o,overflowY:r,display:i}=gu(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(i)}function Pu(e){return["table","td","th"].includes(yu(e))}function Tu(e){const t=/firefox/i.test(xu()),o=gu(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 Iu(){return/^((?!chrome|android).)*safari/i.test(xu())}function Fu(e){return["html","body","#document"].includes(yu(e))}function Au(e){return wu(e)?e:e.contextElement}const zu={x:1,y:1};function Nu(e){const t=Au(e);if(!$u(t))return zu;const o=t.getBoundingClientRect(),{width:r,height:i,fallback:a}=vu(t);let n=(a?mu(o.width):o.width)/r,s=(a?mu(o.height):o.height)/i;return n&&Number.isFinite(n)||(n=1),s&&Number.isFinite(s)||(s=1),{x:n,y:s}}function Lu(e,t,o,r){var i,a;void 0===t&&(t=!1),void 0===o&&(o=!1);const n=e.getBoundingClientRect(),s=Au(e);let l=zu;t&&(r?wu(r)&&(l=Nu(r)):l=Nu(e));const c=s?pu(s):window,d=Iu()&&o;let h=(n.left+(d&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,u=(n.top+(d&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,p=n.width/l.x,g=n.height/l.y;if(s){const e=pu(s),t=r&&wu(r)?pu(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=Nu(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,h*=e.x,u*=e.y,p*=e.x,g*=e.y,h+=t.x,u+=t.y,o=pu(o).frameElement}}return{width:p,height:g,top:u,right:h+p,bottom:u+g,left:h,x:h,y:u}}function Ou(e){return((Bu(e)?e.ownerDocument:e.document)||window.document).documentElement}function Du(e){return wu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Eu(e){return Lu(Ou(e)).left+Du(e).scrollLeft}function Ru(e){if("html"===yu(e))return e;const t=e.assignedSlot||e.parentNode||Cu(e)&&e.host||Ou(e);return Cu(t)?t.host:t}function Mu(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Ru(t);return Fu(o)?o.ownerDocument.body:$u(o)&&Su(o)?o:e(o)}(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),a=pu(r);return i?t.concat(a,a.visualViewport||[],Su(r)?r:[]):t.concat(r,Mu(r))}function Hu(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=pu(e),r=Ou(e),i=o.visualViewport;let a=r.clientWidth,n=r.clientHeight,s=0,l=0;if(i){a=i.width,n=i.height;const e=Iu();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:n,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=Ou(e),o=Du(e),r=e.ownerDocument.body,i=fu(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=fu(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let n=-o.scrollLeft+Eu(e);const s=-o.scrollTop;return"rtl"===gu(r).direction&&(n+=fu(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:s}}(Ou(e));else if(wu(t))r=function(e,t){const o=Lu(e,!0,"fixed"===t),r=o.top+e.clientTop,i=o.left+e.clientLeft,a=$u(e)?Nu(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,o);else{const o={...t};if(Iu()){var i,a;const t=pu(e);o.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,o.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}r=o}return eu(r)}function Vu(e,t){return $u(e)&&"fixed"!==gu(e).position?t?t(e):e.offsetParent:null}function ju(e,t){const o=pu(e);let r=Vu(e,t);for(;r&&Pu(r)&&"static"===gu(r).position;)r=Vu(r,t);return r&&("html"===yu(r)||"body"===yu(r)&&"static"===gu(r).position&&!Tu(r))?o:r||function(e){let t=Ru(e);for(;$u(t)&&!Fu(t);){if(Tu(t))return t;t=Ru(t)}return null}(e)||o}function _u(e,t,o){const r=$u(t),i=Ou(t),a=Lu(e,!0,"fixed"===o,t);let n={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==yu(t)||Su(i))&&(n=Du(t)),$u(t)){const e=Lu(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=Eu(i));return{x:a.left+n.scrollLeft-s.x,y:a.top+n.scrollTop-s.y,width:a.width,height:a.height}}const Gu={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:i}=e;const a=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Mu(e).filter(e=>wu(e)&&"body"!==yu(e)),i=null;const a="fixed"===gu(e).position;let n=a?Ru(e):e;for(;wu(n)&&!Fu(n);){const e=gu(n),t=Tu(n);(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:r=r.filter(e=>e!==n),n=Ru(n)}return t.set(e,r),r}(t,this._c):[].concat(o),r],n=a[0],s=a.reduce((e,o)=>{const r=Hu(t,o,i);return e.top=fu(r.top,e.top),e.right=bu(r.right,e.right),e.bottom=bu(r.bottom,e.bottom),e.left=fu(r.left,e.left),e},Hu(t,n,i));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 i=$u(o),a=Ou(o);if(o===a)return t;let n={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==r)&&(("body"!==yu(o)||Su(a))&&(n=Du(o)),$u(o))){const e=Lu(o);s=Nu(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-n.scrollLeft*s.x+l.x,y:t.y*s.y-n.scrollTop*s.y+l.y}},isElement:wu,getDimensions:function(e){return $u(e)?vu(e):e.getBoundingClientRect()},getOffsetParent:ju,getDocumentElement:Ou,getScale:Nu,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const i=this.getOffsetParent||ju,a=this.getDimensions;return{reference:_u(t,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===gu(e).direction};const qu=(e,t,o)=>{const r=new Map,i={platform:Gu,...o},a={...i.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=o,s=a.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let c=await n.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:h}=Jh(c,r,l),u=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:a,fn:b}=s[o],{x:f,y:m,data:v,reset:y}=await b({x:d,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:c,platform:n,elements:{reference:e,floating:t}});d=null!=f?f:d,h=null!=m?m:h,p={...p,[a]:{...p[a],...v}},y&&g<=50&&(g++,"object"==typeof y&&(y.placement&&(u=y.placement),y.rects&&(c=!0===y.rects?await n.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:d,y:h}=Jh(c,u,l))),o=-1)}return{x:d,y:h,placement:u,strategy:i,middlewareData:p}})(e,t,{...i,platform:a})};class Xu extends ot{constructor(){super(...arguments),this.role=Uh.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 Uh.menuitemcheckbox:this.checked=!this.checked;break;case Uh.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case Uh.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)||void 0===e||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null===(e=this.cleanup)||void 0===e||e.call(this),this.submenu&&this.expanded&&k.enqueue(()=>{this.cleanup=function(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:n=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||a?[...wu(e)?Mu(e):e.contextElement?Mu(e.contextElement):[],...Mu(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),a&&e.addEventListener("resize",o)});let d,h=null;if(n){let r=!0;h=new ResizeObserver(()=>{r||o(),r=!1}),wu(e)&&!s&&h.observe(e),wu(e)||!e.contextElement||s||h.observe(e.contextElement),h.observe(t)}let u=s?Lu(e):null;return s&&function t(){const r=Lu(e);!u||r.x===u.x&&r.y===u.y&&r.width===u.width&&r.height===u.height||o(),u=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),a&&e.removeEventListener("resize",o)}),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(d)}}(this,this.submenuContainer,()=>t(this,void 0,void 0,(function*(){const e=["left-start","right-start"],{x:t,y:o}=yield qu(this,this.submenuContainer,{middleware:[hu(),uu({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),du({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})))})}}e([Ee({mode:"boolean"})],Xu.prototype,"disabled",void 0),e([Ee({mode:"boolean"})],Xu.prototype,"expanded",void 0),e([Ee],Xu.prototype,"role",void 0),e([Ee({mode:"boolean"})],Xu.prototype,"checked",void 0),e([Ee({mode:"boolean"})],Xu.prototype,"hidden",void 0),e([C],Xu.prototype,"slottedSubmenu",void 0),e([C],Xu.prototype,"submenu",void 0),bt(Xu,ut);class Wu extends Xu{}const Uu=xe.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>'),Yu=function(e={}){return xe`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==Uh.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)}">${Se(e=>e.role===Uh.menuitemcheckbox,xe`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${ht(e.checkboxIndicator)}</slot></span></div>`)} ${Se(e=>e.role===Uh.menuitemradio,xe`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${ht(e.radioIndicator)}</slot></span></div>`)}</div>${gt(e)}<span class="content" part="content"><slot></slot></span>${pt(e)} ${Se(e=>e.hasSubmenu,xe`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${ht(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${we("submenuContainer")}><slot name="submenu" ${Ae({property:"slottedSubmenu",filter:Te("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:Uu,expandCollapseGlyph:xe.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:Uu}),Ku=_`
287
+ ${Ct("grid")}
288
+
289
+ :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${$i};font:${Ao} ${co} / ${ko} ${To};border-radius:${ro};color:${Pr};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${wi}}.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:${Pr}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${uo};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Lr};font:${Ao} ${lo} / ${yo} ${To};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:${Tr}}:host([icon]:hover) ::slotted([slot='start']){color:${Jr}}:host(:active){background-color:${Ci}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${Ir}}:host(:active) ::slotted([slot='start']){color:${ei}}:host([disabled]){background-color:${na}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${jr}}: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}`,Qu=Wu.compose({name:Tt.prefix+"-menu-item",template:Yu,styles:Ku});class Zu extends ot{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&it(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===Uh.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===Uh.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof Xu||it(e)&&e.getAttribute("role")in Zu.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),k.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),B.getNotifier(e).unsubscribe(this,"hidden")})}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(e=>B.getNotifier(e).subscribe(this,"hidden"));const t=e.filter(e=>!e.hasAttribute("hidden"));this.menuItems=t;const o=this.menuItems.filter(this.isMenuItemElement);o.length&&(this.focusIndex=0),o.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)})}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}}}Zu.focusableElementRoles=Uh,e([C],Zu.prototype,"items",void 0);class Ju extends Zu{setItems(){var e;super.setItems();const t=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==t||t.forEach((e,o)=>{const r=null==t?void 0:t.reduce((e,t)=>{const o=Ju.elementIndent(t);return Math.max(e,o)},0);e instanceof Wu&&e.setAttribute("data-indent",""+r)})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==Uh.menuitem?o?2:1:o?1:0}}const ep=xe`<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 ${Ae("items")}></slot></template>`,tp=_`
290
+ ${Ct("flex")}
291
+
292
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${$i};border:1px solid ${Ya};border-radius:${ro};box-shadow:${ec};padding:4px;row-gap:2px}`,op=Ju.compose({name:Tt.prefix+"-menu-list",template:ep,styles:tp});class rp extends ot{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)}}e([Ee({converter:Oe})],rp.prototype,"value",void 0),e([Ee({converter:Oe})],rp.prototype,"min",void 0),e([Ee({converter:Oe})],rp.prototype,"max",void 0),e([C],rp.prototype,"percentComplete",void 0);class ip extends rp{}var ap=Object.defineProperty,np=Object.getOwnPropertyDescriptor,sp=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?np(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&ap(t,o,a),a};class lp extends ip{constructor(){super(...arguments),this.validationState=null}}sp([Ee],lp.prototype,"thickness",2),sp([Ee],lp.prototype,"shape",2),sp([Ee({attribute:"validation-state"})],lp.prototype,"validationState",2);const cp={medium:"medium",large:"large"},dp={rounded:"rounded",square:"square"},hp={success:"success",warning:"warning",error:"error"},up=_`
293
+ ${Ct("flex")}
294
+
295
+ :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${ro};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:${hn}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
296
+ to right,${dn} 0%,${hn} 50%,${dn}
297
+ )}:host([validation-state='warning']) .determinate{background-color:${In}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
298
+ to right,${Tn} 0%,${In} 50%,${Tn}
299
+ )}:host([validation-state='success']) .determinate{background-color:${kn}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
300
+ to right,${yn} 0%,${kn} 50%,${yn}
301
+ )}.progress{background-color:${ji};border-radius:${ro};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${va};border-radius:${ro};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
302
+ to right,${$a} 0%,${va} 50%,${$a}
303
+ );border-radius:${ro};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(
304
+ to right,${$a} 0%,${va} 50%,${$a}
305
+ );border-radius:${ro};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(Bt(_`
306
+ .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}`)),pp=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,xe`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${ht(e.indeterminateIndicator1)} ${ht(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>'}),gp=lp.compose({name:Tt.prefix+"-progress-bar",template:pp,styles:up});class bp extends ot{}class fp extends(wd(bp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class mp extends fp{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)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?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)&&void 0!==t&&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?void 0:t.readOnly)||(this.checked=!0))}return!0}}e([C],mp.prototype,"name",void 0),e([C],mp.prototype,"defaultSlottedNodes",void 0);class vp extends mp{}const yp=_`
307
+ ${Ct("inline-grid")}
308
+
309
+ :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${Vo};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Lr});padding-inline-end:${_o};--control-border-color:${Pa};--checked-indicator-background-color:${Zr};--state-color:${Lr}}:host([disabled]){--control-border-color:${jr};--checked-indicator-background-color:${jr};--state-color:${jr}}.label{cursor:pointer;font-family:${To};font-size:${co};font-weight:${Ao};line-height:${ko}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Pa});border-radius:${no};display:flex;height:16px;justify-content:center;margin:${er} ${_o};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${no};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${Pr}}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}:host(:hover) .control{border-color:${Ta}}:host(:active) .control{border-color:${Ia}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Pa})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${Zr})}:host([aria-checked='true']:hover) .control{border-color:${qa}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${qa}}:host([aria-checked='true']:active) .control{border-color:${Xa}}:host([aria-checked='true']:active) .checked-indicator{background:${ei}}:host([disabled]){color:${jr};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${jr}}:host([disabled]) .checked-indicator{background:${jr}}`.withBehaviors(Bt(_`
310
+ :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}`)),kp=function(e={}){return xe`<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">${ht(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null===(t=e.defaultSlottedNodes)||void 0===t?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label></template>`}({checkedIndicator:xe`<div part="checked-indicator" class="checked-indicator"></div>`}),xp=vp.compose({name:Tt.prefix+"-radio",template:kp,styles:yp}),$p=rt;class wp extends ot{constructor(){super(...arguments),this.orientation=$p.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{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)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e;null===(e=this.previousElementSibling)||void 0===e||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,i=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===i&&r===i||i===t.length-1&&i===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=>{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 mp&&(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 at&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===nt.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===nt.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}disabledChanged(){}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{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)&&void 0!==e&&e}get isInsideFoundationToolbar(){var e;return!!(null===(e=this.parentToolbar)||void 0===e?void 0:e.$fastController)}connectedCallback(){super.connectedCallback(),this.direction=$t(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{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=>{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]}}}e([Ee({attribute:"readonly",mode:"boolean"})],wp.prototype,"readOnly",void 0),e([Ee({attribute:"disabled",mode:"boolean"})],wp.prototype,"disabled",void 0),e([Ee],wp.prototype,"name",void 0),e([Ee],wp.prototype,"value",void 0),e([Ee],wp.prototype,"orientation",void 0),e([C],wp.prototype,"childItems",void 0),e([C],wp.prototype,"slottedRadioButtons",void 0);var Bp=Object.defineProperty,Cp=Object.getOwnPropertyDescriptor;class Sp extends wp{constructor(){super(...arguments),this.stacked=!1}}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?Cp(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Bp(t,o,a)})([Ee({mode:"boolean"})],Sp.prototype,"stacked",2);const Pp=_`
311
+ ${Ct("flex")}
312
+
313
+ :host{align-items:flex-start;flex-direction:column;row-gap:${er}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${jr};--checked-indicator-background-color:${jr};--state-color:${jr}}::slotted([slot='label']){color:${wr};padding:${er} ${_o} ${er} ${Vo};font:${Ao} ${co} / ${ko} ${To};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:${_o}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${_o};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`,Tp=xe`<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===$p.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ae({property:"slottedRadioButtons",filter:Te("[role=radio]")})}></slot></div></template>`,Ip=Sp.compose({name:Tt.prefix+"-radio-group",template:Tp,styles:Pp});function Fp(e,t,o,r){let i=st(0,1,(e-t)/(o-t));return r===nt.rtl&&(i=1-i),i}class Ap extends ot{}class zp extends($d(Ap)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Np=rt,Lp="single-value";class Op extends zp{constructor(){super(...arguments),this.direction=nt.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=rt.horizontal,this.mode=Lp,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==nt.rtl&&this.orientation!==rt.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)=>{const t=(e?"remove":"add")+"EventListener";this[t]("keydown",this.keypressHandler),this[t]("mousedown",this.handleMouseDown),this.thumb[t]("mousedown",this.handleThumbMouseDown,{passive:!0}),this.thumb[t]("touchstart",this.handleThumbMouseDown,{passive:!0}),e&&(this.handleMouseDown(null),this.handleThumbMouseDown(null))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=(null!==e?"add":"remove")+"EventListener";window[t]("mouseup",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove,{passive:!0}),window[t]("touchmove",this.handleMouseMove,{passive:!0}),window[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===rt.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=>{const t=(null!==e?"add":"remove")+"EventListener";if((null===e||!this.disabled&&!this.readOnly)&&(window[t]("mouseup",this.handleWindowMouseUp),window.document[t]("mouseleave",this.handleWindowMouseUp),window[t]("mousemove",this.handleMouseMove),e)){this.setupTrackConstraints();const t=this.orientation===rt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}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=st(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=$t(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction)}disconnectedCallback(){this.setupListeners(!0)}increment(){const e=(this.direction!==nt.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!==nt.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-Fp(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===rt.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=Fp(e,this.orientation===rt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===rt.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}}e([Ee({attribute:"readonly",mode:"boolean"})],Op.prototype,"readOnly",void 0),e([C],Op.prototype,"direction",void 0),e([C],Op.prototype,"isDragging",void 0),e([C],Op.prototype,"position",void 0),e([C],Op.prototype,"trackWidth",void 0),e([C],Op.prototype,"trackMinWidth",void 0),e([C],Op.prototype,"trackHeight",void 0),e([C],Op.prototype,"trackLeft",void 0),e([C],Op.prototype,"trackMinHeight",void 0),e([C],Op.prototype,"valueTextFormatter",void 0),e([Ee({converter:Oe})],Op.prototype,"min",void 0),e([Ee({converter:Oe})],Op.prototype,"max",void 0),e([Ee({converter:Oe})],Op.prototype,"step",void 0),e([Ee],Op.prototype,"orientation",void 0),e([Ee],Op.prototype,"mode",void 0);var Dp=Object.defineProperty,Ep=Object.getOwnPropertyDescriptor;class Rp extends Op{handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}connectedCallback(){super.connectedCallback(),B.getNotifier(this).subscribe(this,"max"),B.getNotifier(this).subscribe(this,"min"),B.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),B.getNotifier(this).unsubscribe(this,"max"),B.getNotifier(this).unsubscribe(this,"min"),B.getNotifier(this).unsubscribe(this,"step")}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=_`
314
+ :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ep(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&Dp(t,o,a)})([Ee],Rp.prototype,"size",2);const Mp={small:"small",medium:"medium"},Hp=_`
315
+ ${Ct("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:${oo};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 ${Ja};outline:1px solid ${Za}}.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:${ga};border-radius:${no};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Aa}}.thumb-cursor:hover{background-color:${ya}}.thumb-cursor:active{background-color:${ka}}:host([disabled]) .thumb-cursor{background-color:${jr};box-shadow:inset 0 0 0 var(--thumb-padding) ${$i},0 0 0 1px ${Wa}}.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:${Pa};border-radius:${ro};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ro};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
316
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${$i} calc(var(--step-rate) - 1px),${$i} var(--step-rate)
317
+ )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${na}}: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:${va};position:absolute;height:100%;left:0;border-radius:${ro}}:host([disabled]) .track-start{background-color:${jr}}:host(:hover) .track-start{background-color:${ya}}:host([disabled]:hover) .track-start{background-color:${jr}}.track-start:active{background-color:${ka}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(Bt(_`
318
+ .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}`)),Vp=function(e={}){return xe`<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 ${we("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 ${we("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}"><slot name="thumb">${ht(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),jp=Rp.compose({name:Tt.prefix+"-slider",template:Vp,styles:Hp});class _p extends rp{}var Gp=Object.defineProperty,qp=Object.getOwnPropertyDescriptor,Xp=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?qp(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Gp(t,o,a),a};class Wp extends _p{}Xp([Ee],Wp.prototype,"size",2),Xp([Ee],Wp.prototype,"appearance",2);const Up={primary:"primary",inverted:"inverted"},Yp={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"},Kp=function(e={}){return xe`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${Se(e=>"number"==typeof e.value,xe`<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>`,xe`<slot name="indeterminate">${ht(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 '}),Qp=_`
319
+ ${Ct("flex")}
320
+
321
+ :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:${_a};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${ja};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:${Ra}}.indeterminate-indicator-1{stroke:${ja};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:${Ra}}@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)}}`,Zp=Wp.compose({name:Tt.prefix+"-spinner",template:Kp,styles:Qp});class Jp extends ot{}class eg extends(wd(Jp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class tg extends eg{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)}}e([Ee({attribute:"readonly",mode:"boolean"})],tg.prototype,"readOnly",void 0),e([C],tg.prototype,"defaultSlottedNodes",void 0);var og=Object.defineProperty,rg=Object.getOwnPropertyDescriptor;class ig extends tg{}((e,t,o,r)=>{for(var i,a=r>1?void 0:r?rg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);r&&a&&og(t,o,a)})([Ee({attribute:"label-position"})],ig.prototype,"labelPosition",2);const ag={above:"above",after:"after",before:"before"},ng=function(e={}){return xe`<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 ${Ae("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${ht(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),sg=_`
322
+ ${Ct("inline-flex")}
323
+
324
+ :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:${wr};line-height:${ko};font-size:${co};font-weight:${Ao};font-family:${To};padding:${Zo} ${Vo};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${Ho};box-sizing:border-box;width:40px;height:20px;background-color:${oa};border:1px solid ${Pa};border-radius:${no};outline:none;cursor:pointer;margin:${er} ${_o}}:host(:hover) .switch{background:none;border-color:${Ta}}:host(:active) .switch{border-color:${Ia}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${Wa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${va}}:host([aria-checked='true']:hover) .switch{background:${ya};border-color:${ya}}:host([aria-checked='true']:active) .switch{background:${ka};border-color:${ka}}:host([aria-checked='true'][disabled]) .switch{background:${na};border-color:${Wa}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${Lr};transition-duration:${dr};transition-timing-function:${xr};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${ai};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${ni}}:host([aria-checked='true']:active) .checked-indicator{background:${si}}:host(:hover) .checked-indicator{background-color:${Or}}:host(:active) .checked-indicator{background-color:${Dr}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${jr}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${jr}}:host(:focus-visible){border-color:${Ya};outline:${Do} solid ${Ya};box-shadow:${Zl},0 0 0 2px ${Ja}}`.withBehaviors(Bt(_`
325
+ .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}`)),lg=ig.compose({name:Tt.prefix+"-switch",template:ng,styles:sg}),cg=rt;class dg extends ot{constructor(){super(...arguments),this.orientation=cg.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.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],i=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",i),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=()=>{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")})},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)}},this.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}},this.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}},this.moveToTabByIndex=(e,t)=>{const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs(),this.setTabPanels())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"tab-"+ct()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:"panel-"+ct()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===cg.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=st(0,t.length-1,o+e),i=this.tabs.indexOf(t[r]);i>-1&&this.moveToTabByIndex(this.tabs,i)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}e([Ee],dg.prototype,"orientation",void 0),e([Ee],dg.prototype,"activeid",void 0),e([C],dg.prototype,"tabs",void 0),e([C],dg.prototype,"tabpanels",void 0),bt(dg,ut);const hg={subtle:"subtle",transparent:"transparent"},ug={small:"small",medium:"medium",large:"large"};var pg=Object.defineProperty,gg=Object.getOwnPropertyDescriptor,bg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?gg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&pg(t,o,a),a};class fg extends dg{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=hg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===cg.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===cg.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 i=this.tabs,a=this.activetab||i[0],n=null==a?void 0:a.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:n.x-s.x,y:n.y-s.y,height:n.height,width:n.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=_`
326
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=_`
327
+ :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()}}bg([Ee],fg.prototype,"appearance",2),bg([Ee({mode:"boolean"})],fg.prototype,"disabled",2),bg([Ee],fg.prototype,"size",2);const mg=function(e={}){return xe` ${gt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ae("tabs")}></slot></div>${pt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ae("tabpanels")}></slot></div>`}({}),vg=_`
328
+ ${Ct("grid")}
329
+
330
+ :host{box-sizing:border-box;font-family:${To};font-size:${co};line-height:${ko};color:${Pr};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${jr}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${jr}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${jr}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${jr}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ro}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${jr}}.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:${Xi};color:${Br};fill:${Jr}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${Wi};fill:${Wi};color:${wr}}:host([size='small']) ::slotted(fluent-tab){font-size:${co};line-height:${ko};padding:${Jo} ${jo}}:host([size='large']) ::slotted(fluent-tab){font-size:${ho};line-height:${xo};padding:${rr} ${Go}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${hr};transition-timing-function:${mr}}:host ::slotted(fluent-tab)::after{height:${Eo};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${Eo};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${Eo};border-radius:${no};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${Eo};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${Eo};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:${Eo}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Jo};padding-bottom:${Jo}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Qo};padding-bottom:${Qo}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${er};padding-bottom:${er}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${jo};left:${jo}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${Go};left:${Go}}: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:${Jo};bottom:${Jo}}: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:${er};bottom:${er}}: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:${tr};bottom:${tr}}`,yg=fg.compose({name:Tt.prefix+"-tabs",template:mg,styles:vg});class kg extends ot{}e([Ee({mode:"boolean"})],kg.prototype,"disabled",void 0),bt(kg,ut);class xg extends kg{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=_`
331
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}const $g=function(e={}){return xe`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${gt(e)}<span class="tab-content"><slot></slot></span>${pt(e)}</template>`}({}),wg=_`
332
+ ${Ct("inline-flex")}
333
+
334
+ :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${ko};font-family:${To};font-size:${co};color:${Pr};fill:currentcolor;grid-row:1;padding:${qo} ${Go};border-radius:${ro}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${wr};font-weight:${No}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${ko};font-weight:${No}}:host([aria-selected='true'])::after{background-color:${Ga};border-radius:${no};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${za};border-radius:${no};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${jr}}::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:${jr};color:${jr}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${oo};box-shadow:0 0 0 3px ${Ja};outline:1px solid ${Za}}`.withBehaviors(Bt(_`
335
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),Bg=xg.compose({name:Tt.prefix+"-tab",template:$g,styles:wg});class Cg extends ot{}class Sg extends Cg{}const Pg=xe`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Tg=_`
336
+ ${Ct("block")}
337
+
338
+ :host{box-sizing:border-box;padding:${qo} ${Go}}`,Ig=Sg.compose({name:Tt.prefix+"-tab-panel",template:Pg,styles:Tg});var Fg=Object.defineProperty,Ag=Object.getOwnPropertyDescriptor,zg=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Ag(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Fg(t,o,a),a};class Ng extends ot{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}zg([Ee({mode:"boolean"})],Ng.prototype,"nowrap",2),zg([Ee({mode:"boolean"})],Ng.prototype,"truncate",2),zg([Ee({mode:"boolean"})],Ng.prototype,"italic",2),zg([Ee({mode:"boolean"})],Ng.prototype,"underline",2),zg([Ee({mode:"boolean"})],Ng.prototype,"strikethrough",2),zg([Ee({mode:"boolean"})],Ng.prototype,"block",2),zg([Ee],Ng.prototype,"size",2),zg([Ee],Ng.prototype,"font",2),zg([Ee],Ng.prototype,"weight",2),zg([Ee],Ng.prototype,"align",2);const Lg={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},Og={base:"base",numeric:"numeric",monospace:"monospace"},Dg={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},Eg={start:"start",end:"end",center:"center",justify:"justify"},Rg=xe`<slot></slot>`,Mg=_`
339
+ ${Ct("inline")}
340
+
341
+ :host{contain:content}::slotted(*){font-family:${To};font-size:${co};line-height:${ko};font-weight:${Ao};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:${so};line-height:${vo}}:host([size='200']) ::slotted(*){font-size:${lo};line-height:${yo}}:host([size='400']) ::slotted(*){font-size:${ho};line-height:${xo}}:host([size='500']) ::slotted(*){font-size:${uo};line-height:${$o}}:host([size='600']) ::slotted(*){font-size:${po};line-height:${wo}}:host([size='700']) ::slotted(*){font-size:${go};line-height:${Bo}}:host([size='800']) ::slotted(*){font-size:${bo};line-height:${Co}}:host([size='900']) ::slotted(*){font-size:${fo};line-height:${So}}:host([size='1000']) ::slotted(*){font-size:${mo};line-height:${Po}}:host([font='monospace']) ::slotted(*){font-family:${Io}}:host([font='numeric']) ::slotted(*){font-family:${Fo}}:host([weight='medium']) ::slotted(*){font-weight:${zo}}:host([weight='semibold']) ::slotted(*){font-weight:${No}}:host([weight='bold']) ::slotted(*){font-weight:${Lo}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,Hg=Ng.compose({name:Tt.prefix+"-text",template:Rg,styles:Mg});class Vg extends ot{}class jg extends($d(Vg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const _g={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class Gg extends jg{constructor(){super(...arguments),this.type=_g.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&&k.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)}}e([Ee({attribute:"readonly",mode:"boolean"})],Gg.prototype,"readOnly",void 0),e([Ee({mode:"boolean"})],Gg.prototype,"autofocus",void 0),e([Ee],Gg.prototype,"placeholder",void 0),e([Ee],Gg.prototype,"type",void 0),e([Ee],Gg.prototype,"list",void 0),e([Ee({converter:Oe})],Gg.prototype,"maxlength",void 0),e([Ee({converter:Oe})],Gg.prototype,"minlength",void 0),e([Ee],Gg.prototype,"pattern",void 0),e([Ee({converter:Oe})],Gg.prototype,"size",void 0),e([Ee({mode:"boolean"})],Gg.prototype,"spellcheck",void 0),e([C],Gg.prototype,"defaultSlottedNodes",void 0);class qg{}bt(qg,dt),bt(Gg,ut,qg);var Xg=Object.defineProperty,Wg=Object.getOwnPropertyDescriptor,Ug=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?Wg(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&Xg(t,o,a),a};class Yg extends Gg{}Ug([Ee({attribute:"control-size"})],Yg.prototype,"controlSize",2),Ug([Ee],Yg.prototype,"appearance",2);const Kg={small:"small",medium:"medium",large:"large"},Qg={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Zg=function(e={}){return xe`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ae({property:"defaultSlottedNodes",filter:St})}></slot></label><div class="root" part="root">${gt(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}" ${we("control")} />${pt(e)}</div>`}(),Jg=_`
342
+ ${Ct("block")}
343
+
344
+ :host{font-family:${To};font-size:${co};font-weight:${Ao};line-height:${ko};max-width:400px}.label{display:flex;color:${wr};padding-bottom:${Zo};flex-shrink:0;padding-inline-end:${Vo}}.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 ${Go};border:${Oo} solid ${Aa};border-bottom-color:${Pa};border-radius:${ro};gap:${Ho}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ro});border-radius:0 0 ${ro} ${ro};border-bottom:2px solid ${Ga};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${sr};transition-delay:${br}}.control{width:100%;height:100%;box-sizing:border-box;color:${wr};border-radius:${ro};background:${oa};font-family:${To};font-weight:${Ao};font-size:${co};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${Vr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Lr};font-size:${uo}}:host ::slotted([slot='start']){padding-right:${Ho}}:host ::slotted([slot='end']){padding-left:${Ho};gap:${Vo}}:host(:hover) .root{border-color:${za};border-bottom-color:${Ta}}:host(:active) .root{border-color:${Na}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${dr};transition-delay:${vr}}:host(:focus-within:active) .root:after{border-bottom-color:${Xa}}:host([appearance='outline']:focus-within) .root{border:${Oo} solid ${Aa}}:host(:focus-within) .control{color:${wr}}:host([disabled]) .root{background:${oa};border:${Oo} solid ${Wa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${jr}}::selection{color:${ai};background-color:${_i}}:host([control-size='small']) .control{font-size:${lo};font-weight:${Ao};line-height:${yo}}:host([control-size='small']) .root{height:24px;gap:${Ho};padding:0 ${jo}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${ho}}:host([control-size='large']) .control{font-size:${ho};font-weight:${Ao};line-height:${xo}}:host([control-size='large']) .root{height:40px;gap:${_o};padding:0 ${qo}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${po}}:host([appearance='underline']) .root{background:${oa};border:0;border-radius:0;border-bottom:${Oo} solid ${Pa}}:host([appearance='underline']:hover) .root{border-bottom-color:${Ta}}:host([appearance='underline']:active) .root{border-bottom-color:${Ia}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${Ia}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Wa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${Oo} solid ${Ya};box-shadow:${Ql}}:host([appearance='filled-lighter']) .root{background:${$i}}:host([appearance='filled-darker']) .root{background:${Fi}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${Ka}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${Ka};background:${Fi}}`,eb=Yg.compose({name:Tt.prefix+"-text-input",template:Zg,styles:Jg});var tb=Object.defineProperty,ob=Object.getOwnPropertyDescriptor,rb=(e,t,o,r)=>{for(var i,a=r>1?void 0:r?ob(t,o):t,n=e.length-1;n>=0;n--)(i=e[n])&&(a=(r?i(t,o,a):i(a))||a);return r&&a&&tb(t,o,a),a};class ib extends Ld{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)}}rb([Ee({attribute:"checked",mode:"boolean"})],ib.prototype,"checkedAttribute",2),rb([C],ib.prototype,"defaultChecked",2),rb([C],ib.prototype,"checked",2),rb([Ee({attribute:"current-checked",mode:"boolean"})],ib.prototype,"currentChecked",2);const ab=yc,nb=kc,sb=xc,lb=Fd(),cb=_`
345
+ ${Sc}
346
+
347
+ :host([aria-pressed="true"]) .control{border-color:${Aa};background-color:${Ci};color:${wr};border-width:${Oo}}:host([aria-pressed='true']:hover) .control{border-color:${za};background-color:${wi}}:host([aria-pressed='true']:active) .control{border-color:${Na};background-color:${Bi}}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:${ma};color:${di}}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:${ba}}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:${fa}}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:${Ui};color:${Fr}}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:${Xi};color:${Tr}}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:${Wi};color:${Ir}}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:${aa}}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:${ra}}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:${ia}}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:${Nr}}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:${Ar}}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:${zr}}`.withBehaviors(Bt(_`
348
+ :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}`)),db=ib.compose({name:Tt.prefix+"-toggle-button",template:lb,styles:cb,shadowOptions:{delegatesFocus:!0}}),hb=Object.keys(cc),ub=e=>{for(const t of hb)cc[t].withDefault(e[t])},pb=(e,t)=>{for(const o of hb)cc[o].setValueFor(e,t[o])};export{kt as Accordion,Nt as AccordionItem,Ot as AccordionItemExpandIconPosition,Lt as AccordionItemSize,vc as AnchorButton,$c as AnchorButtonAppearance,Tc as AnchorButtonDefinition,wc as AnchorButtonShape,Bc as AnchorButtonSize,Cc as AnchorButtonTemplate,qc as Avatar,Oc as AvatarActive,Ec as AvatarAppearance,Mc as AvatarColor,Jc as AvatarDefinition,Rc as AvatarNamedColor,Dc as AvatarShape,Hc as AvatarSize,Zc as AvatarStyles,Uc as AvatarTemplate,ld as Badge,td as BadgeAppearance,od as BadgeColor,yd as BadgeDefinition,rd as BadgeShape,id as BadgeSize,vd as BadgeStyles,dd as BadgeTemplate,Ld as Button,yc as ButtonAppearance,Dd as ButtonDefinition,kc as ButtonShape,xc as ButtonSize,Sc as ButtonStyles,Od as ButtonTemplate,_d as Checkbox,Yd as CheckboxDefinition,Xd as CheckboxLabelPosition,Gd as CheckboxShape,qd as CheckboxSize,Ud as CheckboxStyles,Wd as CheckboxTemplate,Kd as CompoundButton,Qd as CompoundButtonAppearance,oh as CompoundButtonDefinition,Zd as CompoundButtonShape,Jd as CompoundButtonSize,th as CompoundButtonStyles,eh as CompoundButtonTemplate,nh as CounterBadge,sh as CounterBadgeAppearance,lh as CounterBadgeColor,ph as CounterBadgeDefinition,ch as CounterBadgeShape,dh as CounterBadgeSize,uh as CounterBadgeStyles,hh as CounterBadgeTemplate,kh as Divider,xh as DividerAlignContent,$h as DividerAppearance,Ch as DividerDefinition,bh as DividerOrientation,gh as DividerRole,Bh as DividerStyles,wh as DividerTemplate,Tt as FluentDesignSystem,Ih as Image,Lh as ImageDefinition,Fh as ImageFit,Ah as ImageShape,Nh as ImageStyles,zh as ImageTemplate,Rh as Label,Vh as LabelDefinition,Mh as LabelStyles,Hh as LabelTemplate,jh as MenuButton,_h as MenuButtonAppearance,Wh as MenuButtonDefinition,Gh as MenuButtonShape,qh as MenuButtonSize,Sc as MenuButtonStyles,Xh as MenuButtonTemplate,Wu as MenuItem,Qu as MenuItemDefinition,Uh as MenuItemRole,Ku as MenuItemStyles,Yu as MenuItemTemplate,Ju as MenuList,op as MenuListDefinition,tp as MenuListStyles,ep as MenuListTemplate,lp as ProgressBar,gp as ProgressBarDefinition,dp as ProgressBarShape,up as ProgressBarStyles,pp as ProgressBarTemplate,cp as ProgressBarThickness,hp as ProgressBarValidationState,vp as Radio,xp as RadioDefinition,Sp as RadioGroup,Ip as RadioGroupDefinition,$p as RadioGroupOrientation,Pp as RadioGroupStyles,Tp as RadioGroupTemplate,yp as RadioStyles,kp as RadioTemplate,Rp as Slider,jp as SliderDefinition,Np as SliderOrientation,Mp as SliderSize,Hp as SliderStyles,Vp as SliderTemplate,Wp as Spinner,Up as SpinnerAppearance,Zp as SpinnerDefinition,Yp as SpinnerSize,Qp as SpinnerStyles,Kp as SpinnerTemplate,ig as Switch,lg as SwitchDefinition,ag as SwitchLabelPosition,sg as SwitchStyles,ng as SwitchTemplate,xg as Tab,Bg as TabDefinition,Sg as TabPanel,Ig as TabPanelDefinition,Tg as TabPanelStyles,Pg as TabPanelTemplate,wg as TabStyles,$g as TabTemplate,fg as Tabs,hg as TabsAppearance,yg as TabsDefinition,cg as TabsOrientation,ug as TabsSize,vg as TabsStyles,mg as TabsTemplate,Ng as Text,Eg as TextAlign,Hg as TextDefinition,Og as TextFont,Yg as TextInput,Qg as TextInputAppearance,Kg as TextInputControlSize,eb as TextInputDefinition,Jg as TextInputStyles,Zg as TextInputTemplate,_g as TextInputType,Lg as TextSize,Mg as TextStyles,Rg as TextTemplate,Dg as TextWeight,ib as ToggleButton,ab as ToggleButtonAppearance,db as ToggleButtonDefinition,nb as ToggleButtonShape,sb as ToggleButtonSize,cb as ToggleButtonStyles,lb as ToggleButtonTemplate,It as accordionDefinition,uc as accordionItemDefinition,dc as accordionItemStyles,hc as accordionItemTemplate,Pt as accordionStyles,xt as accordionTemplate,no as borderRadiusCircular,io as borderRadiusLarge,ro as borderRadiusMedium,to as borderRadiusNone,oo as borderRadiusSmall,ao as borderRadiusXLarge,ua as colorBackgroundOverlay,ga as colorBrandBackground,$a as colorBrandBackground2,ba as colorBrandBackgroundHover,wa as colorBrandBackgroundInverted,Ba as colorBrandBackgroundInvertedHover,Ca as colorBrandBackgroundInvertedPressed,Sa as colorBrandBackgroundInvertedSelected,fa as colorBrandBackgroundPressed,ma as colorBrandBackgroundSelected,xa as colorBrandBackgroundStatic,ti as colorBrandForeground1,oi as colorBrandForeground2,bi as colorBrandForegroundInverted,fi as colorBrandForegroundInvertedHover,mi as colorBrandForegroundInvertedPressed,Gr as colorBrandForegroundLink,qr as colorBrandForegroundLinkHover,Xr as colorBrandForegroundLinkPressed,Wr as colorBrandForegroundLinkSelected,vi as colorBrandForegroundOnLight,yi as colorBrandForegroundOnLightHover,ki as colorBrandForegroundOnLightPressed,xi as colorBrandForegroundOnLightSelected,sn as colorBrandShadowAmbient,ln as colorBrandShadowKey,ja as colorBrandStroke1,_a as colorBrandStroke2,va as colorCompoundBrandBackground,ya as colorCompoundBrandBackgroundHover,ka as colorCompoundBrandBackgroundPressed,Zr as colorCompoundBrandForeground1,Jr as colorCompoundBrandForeground1Hover,ei as colorCompoundBrandForeground1Pressed,Ga as colorCompoundBrandStroke,qa as colorCompoundBrandStrokeHover,Xa as colorCompoundBrandStrokePressed,$i as colorNeutralBackground1,wi as colorNeutralBackground1Hover,Bi as colorNeutralBackground1Pressed,Ci as colorNeutralBackground1Selected,Si as colorNeutralBackground2,Pi as colorNeutralBackground2Hover,Ti as colorNeutralBackground2Pressed,Ii as colorNeutralBackground2Selected,Fi as colorNeutralBackground3,Ai as colorNeutralBackground3Hover,zi as colorNeutralBackground3Pressed,Ni as colorNeutralBackground3Selected,Li as colorNeutralBackground4,Oi as colorNeutralBackground4Hover,Di as colorNeutralBackground4Pressed,Ei as colorNeutralBackground4Selected,Ri as colorNeutralBackground5,Mi as colorNeutralBackground5Hover,Hi as colorNeutralBackground5Pressed,Vi as colorNeutralBackground5Selected,ji as colorNeutralBackground6,na as colorNeutralBackgroundDisabled,_i as colorNeutralBackgroundInverted,sa as colorNeutralBackgroundInvertedDisabled,Gi as colorNeutralBackgroundStatic,wr as colorNeutralForeground1,Br as colorNeutralForeground1Hover,Cr as colorNeutralForeground1Pressed,Sr as colorNeutralForeground1Selected,ri as colorNeutralForeground1Static,Pr as colorNeutralForeground2,Ar as colorNeutralForeground2BrandHover,zr as colorNeutralForeground2BrandPressed,Nr as colorNeutralForeground2BrandSelected,Tr as colorNeutralForeground2Hover,Ur as colorNeutralForeground2Link,Yr as colorNeutralForeground2LinkHover,Kr as colorNeutralForeground2LinkPressed,Qr as colorNeutralForeground2LinkSelected,Ir as colorNeutralForeground2Pressed,Fr as colorNeutralForeground2Selected,Lr as colorNeutralForeground3,Rr as colorNeutralForeground3BrandHover,Mr as colorNeutralForeground3BrandPressed,Hr as colorNeutralForeground3BrandSelected,Or as colorNeutralForeground3Hover,Dr as colorNeutralForeground3Pressed,Er as colorNeutralForeground3Selected,Vr as colorNeutralForeground4,jr as colorNeutralForegroundDisabled,ai as colorNeutralForegroundInverted,ci as colorNeutralForegroundInverted2,_r as colorNeutralForegroundInvertedDisabled,ni as colorNeutralForegroundInvertedHover,hi as colorNeutralForegroundInvertedLink,ui as colorNeutralForegroundInvertedLinkHover,pi as colorNeutralForegroundInvertedLinkPressed,gi as colorNeutralForegroundInvertedLinkSelected,si as colorNeutralForegroundInvertedPressed,li as colorNeutralForegroundInvertedSelected,di as colorNeutralForegroundOnBrand,ii as colorNeutralForegroundStaticInverted,en as colorNeutralShadowAmbient,an as colorNeutralShadowAmbientDarker,on as colorNeutralShadowAmbientLighter,tn as colorNeutralShadowKey,nn as colorNeutralShadowKeyDarker,rn as colorNeutralShadowKeyLighter,la as colorNeutralStencil1,da as colorNeutralStencil1Alpha,ca as colorNeutralStencil2,ha as colorNeutralStencil2Alpha,Aa as colorNeutralStroke1,za as colorNeutralStroke1Hover,Na as colorNeutralStroke1Pressed,La as colorNeutralStroke1Selected,Oa as colorNeutralStroke2,Da as colorNeutralStroke3,Pa as colorNeutralStrokeAccessible,Ta as colorNeutralStrokeAccessibleHover,Ia as colorNeutralStrokeAccessiblePressed,Fa as colorNeutralStrokeAccessibleSelected,Wa as colorNeutralStrokeDisabled,Ua as colorNeutralStrokeInvertedDisabled,Ea as colorNeutralStrokeOnBrand,Ra as colorNeutralStrokeOnBrand2,Ma as colorNeutralStrokeOnBrand2Hover,Ha as colorNeutralStrokeOnBrand2Pressed,Va as colorNeutralStrokeOnBrand2Selected,ql as colorPaletteAnchorBackground2,Wl as colorPaletteAnchorBorderActive,Xl as colorPaletteAnchorForeground2,Dl as colorPaletteBeigeBackground2,Rl as colorPaletteBeigeBorderActive,El as colorPaletteBeigeForeground2,qn as colorPaletteBerryBackground1,Xn as colorPaletteBerryBackground2,Wn as colorPaletteBerryBackground3,Zn as colorPaletteBerryBorder1,Jn as colorPaletteBerryBorder2,Qn as colorPaletteBerryBorderActive,Un as colorPaletteBerryForeground1,Yn as colorPaletteBerryForeground2,Kn as colorPaletteBerryForeground3,rl as colorPaletteBlueBackground2,al as colorPaletteBlueBorderActive,il as colorPaletteBlueForeground2,Ns as colorPaletteBrassBackground2,Os as colorPaletteBrassBorderActive,Ls as colorPaletteBrassForeground2,Ds as colorPaletteBrownBackground2,Rs as colorPaletteBrownBorderActive,Es as colorPaletteBrownForeground2,cl as colorPaletteCornflowerBackground2,hl as colorPaletteCornflowerBorderActive,dl as colorPaletteCornflowerForeground2,xs as colorPaletteCranberryBackground2,ws as colorPaletteCranberryBorderActive,$s as colorPaletteCranberryForeground2,qs as colorPaletteDarkGreenBackground2,Ws as colorPaletteDarkGreenBorderActive,Xs as colorPaletteDarkGreenForeground2,Pn as colorPaletteDarkOrangeBackground1,Tn as colorPaletteDarkOrangeBackground2,In as colorPaletteDarkOrangeBackground3,Ln as colorPaletteDarkOrangeBorder1,On as colorPaletteDarkOrangeBorder2,Nn as colorPaletteDarkOrangeBorderActive,Fn as colorPaletteDarkOrangeForeground1,An as colorPaletteDarkOrangeForeground2,zn as colorPaletteDarkOrangeForeground3,vs as colorPaletteDarkRedBackground2,ks as colorPaletteDarkRedBorderActive,ys as colorPaletteDarkRedForeground2,Ms as colorPaletteForestBackground2,Vs as colorPaletteForestBorderActive,Hs as colorPaletteForestForeground2,Fs as colorPaletteGoldBackground2,zs as colorPaletteGoldBorderActive,As as colorPaletteGoldForeground2,xl as colorPaletteGrapeBackground2,wl as colorPaletteGrapeBorderActive,$l as colorPaletteGrapeForeground2,vn as colorPaletteGreenBackground1,yn as colorPaletteGreenBackground2,kn as colorPaletteGreenBackground3,Cn as colorPaletteGreenBorder1,Sn as colorPaletteGreenBorder2,Bn as colorPaletteGreenBorderActive,xn as colorPaletteGreenForeground1,$n as colorPaletteGreenForeground2,wn as colorPaletteGreenForeground3,Yl as colorPaletteGreenForegroundInverted,bl as colorPaletteLavenderBackground2,ml as colorPaletteLavenderBorderActive,fl as colorPaletteLavenderForeground2,es as colorPaletteLightGreenBackground1,ts as colorPaletteLightGreenBackground2,os as colorPaletteLightGreenBackground3,ss as colorPaletteLightGreenBorder1,ls as colorPaletteLightGreenBorder2,ns as colorPaletteLightGreenBorderActive,rs as colorPaletteLightGreenForeground1,is as colorPaletteLightGreenForeground2,as as colorPaletteLightGreenForeground3,Us as colorPaletteLightTealBackground2,Ks as colorPaletteLightTealBorderActive,Ys as colorPaletteLightTealForeground2,Bl as colorPaletteLilacBackground2,Sl as colorPaletteLilacBorderActive,Cl as colorPaletteLilacForeground2,Fl as colorPaletteMagentaBackground2,zl as colorPaletteMagentaBorderActive,Al as colorPaletteMagentaForeground2,cs as colorPaletteMarigoldBackground1,ds as colorPaletteMarigoldBackground2,hs as colorPaletteMarigoldBackground3,fs as colorPaletteMarigoldBorder1,ms as colorPaletteMarigoldBorder2,bs as colorPaletteMarigoldBorderActive,us as colorPaletteMarigoldForeground1,ps as colorPaletteMarigoldForeground2,gs as colorPaletteMarigoldForeground3,Ml as colorPaletteMinkBackground2,Vl as colorPaletteMinkBorderActive,Hl as colorPaletteMinkForeground2,ul as colorPaletteNavyBackground2,gl as colorPaletteNavyBorderActive,pl as colorPaletteNavyForeground2,Ps as colorPalettePeachBackground2,Is as colorPalettePeachBorderActive,Ts as colorPalettePeachForeground2,Pl as colorPalettePinkBackground2,Il as colorPalettePinkBorderActive,Tl as colorPalettePinkForeground2,jl as colorPalettePlatinumBackground2,Gl as colorPalettePlatinumBorderActive,_l as colorPalettePlatinumForeground2,Nl as colorPalettePlumBackground2,Ol as colorPalettePlumBorderActive,Ll as colorPalettePlumForeground2,Bs as colorPalettePumpkinBackground2,Ss as colorPalettePumpkinBorderActive,Cs as colorPalettePumpkinForeground2,vl as colorPalettePurpleBackground2,kl as colorPalettePurpleBorderActive,yl as colorPalettePurpleForeground2,cn as colorPaletteRedBackground1,dn as colorPaletteRedBackground2,hn as colorPaletteRedBackground3,fn as colorPaletteRedBorder1,mn as colorPaletteRedBorder2,bn as colorPaletteRedBorderActive,un as colorPaletteRedForeground1,pn as colorPaletteRedForeground2,gn as colorPaletteRedForeground3,Ul as colorPaletteRedForegroundInverted,nl as colorPaletteRoyalBlueBackground2,ll as colorPaletteRoyalBlueBorderActive,sl as colorPaletteRoyalBlueForeground2,js as colorPaletteSeafoamBackground2,Gs as colorPaletteSeafoamBorderActive,_s as colorPaletteSeafoamForeground2,el as colorPaletteSteelBackground2,ol as colorPaletteSteelBorderActive,tl as colorPaletteSteelForeground2,Qs as colorPaletteTealBackground2,Js as colorPaletteTealBorderActive,Zs as colorPaletteTealForeground2,Dn as colorPaletteYellowBackground1,En as colorPaletteYellowBackground2,Rn as colorPaletteYellowBackground3,_n as colorPaletteYellowBorder1,Gn as colorPaletteYellowBorder2,jn as colorPaletteYellowBorderActive,Mn as colorPaletteYellowForeground1,Hn as colorPaletteYellowForeground2,Vn as colorPaletteYellowForeground3,Kl as colorPaletteYellowForegroundInverted,pa as colorScrollbarOverlay,Za as colorStrokeFocus1,Ja as colorStrokeFocus2,qi as colorSubtleBackground,Xi as colorSubtleBackgroundHover,Zi as colorSubtleBackgroundInverted,Ji as colorSubtleBackgroundInvertedHover,ea as colorSubtleBackgroundInvertedPressed,ta as colorSubtleBackgroundInvertedSelected,Yi as colorSubtleBackgroundLightAlphaHover,Ki as colorSubtleBackgroundLightAlphaPressed,Qi as colorSubtleBackgroundLightAlphaSelected,Wi as colorSubtleBackgroundPressed,Ui as colorSubtleBackgroundSelected,oa as colorTransparentBackground,ra as colorTransparentBackgroundHover,ia as colorTransparentBackgroundPressed,aa as colorTransparentBackgroundSelected,Ya as colorTransparentStroke,Qa as colorTransparentStrokeDisabled,Ka as colorTransparentStrokeInteractive,gr as curveAccelerateMax,br as curveAccelerateMid,fr as curveAccelerateMin,mr as curveDecelerateMax,vr as curveDecelerateMid,yr as curveDecelerateMin,xr as curveEasyEase,kr as curveEasyEaseMax,$r as curveLinear,cr as durationFast,lr as durationFaster,dr as durationNormal,hr as durationSlow,ur as durationSlower,sr as durationUltraFast,pr as durationUltraSlow,To as fontFamilyBase,Io as fontFamilyMonospace,Fo as fontFamilyNumeric,so as fontSizeBase100,lo as fontSizeBase200,co as fontSizeBase300,ho as fontSizeBase400,uo as fontSizeBase500,po as fontSizeBase600,mo as fontSizeHero1000,go as fontSizeHero700,bo as fontSizeHero800,fo as fontSizeHero900,Lo as fontWeightBold,zo as fontWeightMedium,Ao as fontWeightRegular,No as fontWeightSemibold,vo as lineHeightBase100,yo as lineHeightBase200,ko as lineHeightBase300,xo as lineHeightBase400,$o as lineHeightBase500,wo as lineHeightBase600,Po as lineHeightHero1000,Bo as lineHeightHero700,Co as lineHeightHero800,So as lineHeightHero900,ub as setTheme,pb as setThemeFor,ec as shadow16,nc as shadow16Brand,Ql as shadow2,tc as shadow28,sc as shadow28Brand,rc as shadow2Brand,Zl as shadow4,ic as shadow4Brand,oc as shadow64,lc as shadow64Brand,Jl as shadow8,ac as shadow8Brand,Xo as spacingHorizontalL,qo as spacingHorizontalM,Go as spacingHorizontalMNudge,Mo as spacingHorizontalNone,_o as spacingHorizontalS,jo as spacingHorizontalSNudge,Wo as spacingHorizontalXL,Vo as spacingHorizontalXS,Uo as spacingHorizontalXXL,Ho as spacingHorizontalXXS,Yo as spacingHorizontalXXXL,rr as spacingVerticalL,or as spacingVerticalM,tr as spacingVerticalMNudge,Ko as spacingVerticalNone,er as spacingVerticalS,Jo as spacingVerticalSNudge,ir as spacingVerticalXL,Zo as spacingVerticalXS,ar as spacingVerticalXXL,Qo as spacingVerticalXXS,nr as spacingVerticalXXXL,Do as strokeWidthThick,Eo as strokeWidthThicker,Ro as strokeWidthThickest,Oo as strokeWidthThin};