@fluentui/web-components 3.0.0-beta.13 → 3.0.0-beta.130

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 (1217) hide show
  1. package/CHANGELOG.md +1278 -103
  2. package/README.md +57 -16
  3. package/custom-elements.json +29644 -0
  4. package/dist/esm/accordion/accordion.bench.d.ts +3 -0
  5. package/dist/esm/accordion/accordion.bench.js +30 -0
  6. package/dist/esm/accordion/accordion.bench.js.map +1 -0
  7. package/dist/esm/accordion/accordion.d.ts +76 -0
  8. package/dist/esm/accordion/accordion.js +54 -99
  9. package/dist/esm/accordion/accordion.js.map +1 -1
  10. package/dist/esm/accordion/accordion.options.d.ts +14 -0
  11. package/dist/esm/accordion/accordion.options.js +1 -1
  12. package/dist/esm/accordion/accordion.template.d.ts +7 -0
  13. package/dist/esm/accordion/accordion.template.js.map +1 -1
  14. package/dist/esm/accordion/index.d.ts +5 -0
  15. package/dist/esm/accordion/index.js +2 -1
  16. package/dist/esm/accordion/index.js.map +1 -1
  17. package/dist/esm/accordion-item/accordion-item.base.d.ts +59 -0
  18. package/dist/esm/accordion-item/accordion-item.base.js +77 -0
  19. package/dist/esm/accordion-item/accordion-item.base.js.map +1 -0
  20. package/dist/esm/accordion-item/accordion-item.bench.d.ts +3 -0
  21. package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
  22. package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
  23. package/dist/esm/accordion-item/accordion-item.d.ts +57 -0
  24. package/dist/esm/accordion-item/accordion-item.js +9 -84
  25. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  26. package/dist/esm/accordion-item/accordion-item.options.d.ts +27 -0
  27. package/dist/esm/accordion-item/accordion-item.options.js +1 -1
  28. package/dist/esm/accordion-item/accordion-item.options.js.map +1 -1
  29. package/dist/esm/accordion-item/accordion-item.styles.js +35 -58
  30. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  31. package/dist/esm/accordion-item/accordion-item.template.d.ts +8 -0
  32. package/dist/esm/accordion-item/accordion-item.template.js +24 -43
  33. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  34. package/dist/esm/accordion-item/index.d.ts +7 -0
  35. package/dist/esm/accordion-item/index.js +3 -2
  36. package/dist/esm/accordion-item/index.js.map +1 -1
  37. package/dist/esm/anchor-button/anchor-button.base.d.ts +144 -0
  38. package/dist/esm/anchor-button/anchor-button.base.js +147 -0
  39. package/dist/esm/anchor-button/anchor-button.base.js.map +1 -0
  40. package/dist/esm/anchor-button/anchor-button.bench.d.ts +3 -0
  41. package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
  42. package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
  43. package/dist/esm/anchor-button/anchor-button.d.ts +84 -0
  44. package/dist/esm/anchor-button/anchor-button.definition.js +0 -3
  45. package/dist/esm/anchor-button/anchor-button.definition.js.map +1 -1
  46. package/dist/esm/anchor-button/anchor-button.js +38 -112
  47. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  48. package/dist/esm/anchor-button/anchor-button.options.d.ts +84 -0
  49. package/dist/esm/anchor-button/anchor-button.options.js +15 -0
  50. package/dist/esm/anchor-button/anchor-button.options.js.map +1 -1
  51. package/dist/esm/anchor-button/anchor-button.styles.js +9 -253
  52. package/dist/esm/anchor-button/anchor-button.styles.js.map +1 -1
  53. package/dist/esm/anchor-button/anchor-button.template.d.ts +12 -0
  54. package/dist/esm/anchor-button/anchor-button.template.js +7 -35
  55. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  56. package/dist/esm/anchor-button/index.d.ts +7 -0
  57. package/dist/esm/anchor-button/index.js +5 -3
  58. package/dist/esm/anchor-button/index.js.map +1 -1
  59. package/dist/esm/avatar/avatar.base.d.ts +30 -0
  60. package/dist/esm/avatar/avatar.base.js +25 -0
  61. package/dist/esm/avatar/avatar.base.js.map +1 -0
  62. package/dist/esm/avatar/avatar.bench.d.ts +3 -0
  63. package/dist/esm/avatar/avatar.bench.js +10 -0
  64. package/dist/esm/avatar/avatar.bench.js.map +1 -0
  65. package/dist/esm/avatar/avatar.d.ts +98 -0
  66. package/dist/esm/avatar/avatar.js +57 -51
  67. package/dist/esm/avatar/avatar.js.map +1 -1
  68. package/dist/esm/avatar/avatar.options.d.ts +142 -0
  69. package/dist/esm/avatar/avatar.template.d.ts +8 -0
  70. package/dist/esm/avatar/avatar.template.js +2 -4
  71. package/dist/esm/avatar/avatar.template.js.map +1 -1
  72. package/dist/esm/avatar/index.d.ts +6 -0
  73. package/dist/esm/avatar/index.js +3 -2
  74. package/dist/esm/avatar/index.js.map +1 -1
  75. package/dist/esm/badge/badge.bench.d.ts +3 -0
  76. package/dist/esm/badge/badge.bench.js +11 -0
  77. package/dist/esm/badge/badge.bench.js.map +1 -0
  78. package/dist/esm/badge/badge.d.ts +51 -0
  79. package/dist/esm/badge/badge.js +3 -7
  80. package/dist/esm/badge/badge.js.map +1 -1
  81. package/dist/esm/badge/badge.options.d.ts +74 -0
  82. package/dist/esm/badge/badge.styles.js +13 -8
  83. package/dist/esm/badge/badge.styles.js.map +1 -1
  84. package/dist/esm/badge/badge.template.d.ts +9 -0
  85. package/dist/esm/badge/badge.template.js.map +1 -1
  86. package/dist/esm/badge/index.d.ts +5 -0
  87. package/dist/esm/badge/index.js +2 -2
  88. package/dist/esm/badge/index.js.map +1 -1
  89. package/dist/esm/button/button.base.d.ts +235 -0
  90. package/dist/esm/button/button.base.js +297 -0
  91. package/dist/esm/button/button.base.js.map +1 -0
  92. package/dist/esm/button/button.bench.d.ts +3 -0
  93. package/dist/esm/button/button.bench.js +11 -0
  94. package/dist/esm/button/button.bench.js.map +1 -0
  95. package/dist/esm/button/button.d.ts +53 -0
  96. package/dist/esm/button/button.js +9 -273
  97. package/dist/esm/button/button.js.map +1 -1
  98. package/dist/esm/button/button.options.d.ts +82 -0
  99. package/dist/esm/button/button.options.js +0 -1
  100. package/dist/esm/button/button.options.js.map +1 -1
  101. package/dist/esm/button/button.styles.d.ts +10 -0
  102. package/dist/esm/button/button.styles.js +69 -49
  103. package/dist/esm/button/button.styles.js.map +1 -1
  104. package/dist/esm/button/button.template.d.ts +15 -0
  105. package/dist/esm/button/button.template.js +0 -1
  106. package/dist/esm/button/button.template.js.map +1 -1
  107. package/dist/esm/button/index.d.ts +7 -0
  108. package/dist/esm/button/index.js +5 -4
  109. package/dist/esm/button/index.js.map +1 -1
  110. package/dist/esm/checkbox/checkbox.base.d.ts +297 -0
  111. package/dist/esm/checkbox/checkbox.base.js +388 -0
  112. package/dist/esm/checkbox/checkbox.base.js.map +1 -0
  113. package/dist/esm/checkbox/checkbox.bench.d.ts +3 -0
  114. package/dist/esm/checkbox/checkbox.bench.js +11 -0
  115. package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
  116. package/dist/esm/checkbox/checkbox.d.ts +62 -0
  117. package/dist/esm/checkbox/checkbox.definition.js +1 -1
  118. package/dist/esm/checkbox/checkbox.definition.js.map +1 -1
  119. package/dist/esm/checkbox/checkbox.js +43 -58
  120. package/dist/esm/checkbox/checkbox.js.map +1 -1
  121. package/dist/esm/checkbox/checkbox.options.d.ts +31 -0
  122. package/dist/esm/checkbox/checkbox.options.js +0 -8
  123. package/dist/esm/checkbox/checkbox.options.js.map +1 -1
  124. package/dist/esm/checkbox/checkbox.styles.js +136 -123
  125. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  126. package/dist/esm/checkbox/checkbox.template.d.ts +13 -0
  127. package/dist/esm/checkbox/checkbox.template.js +22 -34
  128. package/dist/esm/checkbox/checkbox.template.js.map +1 -1
  129. package/dist/esm/checkbox/index.d.ts +7 -0
  130. package/dist/esm/checkbox/index.js +4 -3
  131. package/dist/esm/checkbox/index.js.map +1 -1
  132. package/dist/esm/compound-button/compound-button.bench.d.ts +3 -0
  133. package/dist/esm/compound-button/compound-button.bench.js +15 -0
  134. package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
  135. package/dist/esm/compound-button/compound-button.d.ts +10 -0
  136. package/dist/esm/compound-button/compound-button.js +3 -0
  137. package/dist/esm/compound-button/compound-button.js.map +1 -1
  138. package/dist/esm/compound-button/compound-button.options.d.ts +46 -0
  139. package/dist/esm/compound-button/compound-button.styles.js +11 -7
  140. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  141. package/dist/esm/compound-button/compound-button.template.d.ts +13 -0
  142. package/dist/esm/compound-button/compound-button.template.js +1 -1
  143. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  144. package/dist/esm/compound-button/index.d.ts +5 -0
  145. package/dist/esm/compound-button/index.js +2 -2
  146. package/dist/esm/compound-button/index.js.map +1 -1
  147. package/dist/esm/counter-badge/counter-badge.bench.d.ts +3 -0
  148. package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
  149. package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
  150. package/dist/esm/counter-badge/counter-badge.d.ts +99 -0
  151. package/dist/esm/counter-badge/counter-badge.js +11 -9
  152. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  153. package/dist/esm/counter-badge/counter-badge.options.d.ts +69 -0
  154. package/dist/esm/counter-badge/counter-badge.styles.js +2 -5
  155. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  156. package/dist/esm/counter-badge/counter-badge.template.d.ts +7 -0
  157. package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
  158. package/dist/esm/counter-badge/index.d.ts +5 -0
  159. package/dist/esm/counter-badge/index.js +2 -2
  160. package/dist/esm/counter-badge/index.js.map +1 -1
  161. package/dist/esm/dialog/dialog.bench.d.ts +3 -0
  162. package/dist/esm/dialog/dialog.bench.js +11 -0
  163. package/dist/esm/dialog/dialog.bench.js.map +1 -0
  164. package/dist/esm/dialog/dialog.d.ts +63 -0
  165. package/dist/esm/dialog/dialog.js +51 -307
  166. package/dist/esm/dialog/dialog.js.map +1 -1
  167. package/dist/esm/dialog/dialog.options.d.ts +21 -0
  168. package/dist/esm/dialog/dialog.options.js +15 -1
  169. package/dist/esm/dialog/dialog.options.js.map +1 -1
  170. package/dist/esm/dialog/dialog.styles.js +75 -85
  171. package/dist/esm/dialog/dialog.styles.js.map +1 -1
  172. package/dist/esm/dialog/dialog.template.d.ts +7 -0
  173. package/dist/esm/dialog/dialog.template.js +13 -54
  174. package/dist/esm/dialog/dialog.template.js.map +1 -1
  175. package/dist/esm/dialog/index.d.ts +5 -0
  176. package/dist/esm/dialog/index.js +2 -1
  177. package/dist/esm/dialog/index.js.map +1 -1
  178. package/dist/esm/dialog-body/define.js +4 -0
  179. package/dist/esm/dialog-body/define.js.map +1 -0
  180. package/dist/esm/dialog-body/dialog-body.bench.d.ts +3 -0
  181. package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
  182. package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
  183. package/dist/esm/dialog-body/dialog-body.d.ts +18 -0
  184. package/dist/esm/dialog-body/dialog-body.definition.d.ts +9 -0
  185. package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
  186. package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
  187. package/dist/esm/dialog-body/dialog-body.js +28 -0
  188. package/dist/esm/dialog-body/dialog-body.js.map +1 -0
  189. package/dist/esm/dialog-body/dialog-body.styles.d.ts +4 -0
  190. package/dist/esm/dialog-body/dialog-body.styles.js +95 -0
  191. package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
  192. package/dist/esm/dialog-body/dialog-body.template.d.ts +6 -0
  193. package/dist/esm/dialog-body/dialog-body.template.js +17 -0
  194. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
  195. package/dist/esm/dialog-body/index.d.ts +4 -0
  196. package/dist/esm/dialog-body/index.js +5 -0
  197. package/dist/esm/dialog-body/index.js.map +1 -0
  198. package/dist/esm/divider/divider.base.d.ts +49 -0
  199. package/dist/esm/divider/divider.base.js +61 -0
  200. package/dist/esm/divider/divider.base.js.map +1 -0
  201. package/dist/esm/divider/divider.bench.d.ts +3 -0
  202. package/dist/esm/divider/divider.bench.js +10 -0
  203. package/dist/esm/divider/divider.bench.js.map +1 -0
  204. package/dist/esm/divider/divider.d.ts +30 -0
  205. package/dist/esm/divider/divider.js +9 -37
  206. package/dist/esm/divider/divider.js.map +1 -1
  207. package/dist/esm/divider/divider.options.d.ts +61 -0
  208. package/dist/esm/divider/divider.options.js +0 -1
  209. package/dist/esm/divider/divider.options.js.map +1 -1
  210. package/dist/esm/divider/divider.styles.js +3 -5
  211. package/dist/esm/divider/divider.styles.js.map +1 -1
  212. package/dist/esm/divider/divider.template.d.ts +8 -0
  213. package/dist/esm/divider/divider.template.js +1 -9
  214. package/dist/esm/divider/divider.template.js.map +1 -1
  215. package/dist/esm/divider/index.d.ts +6 -0
  216. package/dist/esm/divider/index.js +3 -2
  217. package/dist/esm/divider/index.js.map +1 -1
  218. package/dist/esm/drawer/define.js +4 -0
  219. package/dist/esm/drawer/define.js.map +1 -0
  220. package/dist/esm/drawer/drawer.d.ts +110 -0
  221. package/dist/esm/drawer/drawer.definition.d.ts +8 -0
  222. package/dist/esm/drawer/drawer.definition.js +16 -0
  223. package/dist/esm/drawer/drawer.definition.js.map +1 -0
  224. package/dist/esm/drawer/drawer.js +185 -0
  225. package/dist/esm/drawer/drawer.js.map +1 -0
  226. package/dist/esm/drawer/drawer.options.d.ts +40 -0
  227. package/dist/esm/drawer/drawer.options.js +25 -0
  228. package/dist/esm/drawer/drawer.options.js.map +1 -0
  229. package/dist/esm/drawer/drawer.styles.d.ts +4 -0
  230. package/dist/esm/drawer/drawer.styles.js +138 -0
  231. package/dist/esm/drawer/drawer.styles.js.map +1 -0
  232. package/dist/esm/drawer/drawer.template.d.ts +8 -0
  233. package/dist/esm/drawer/drawer.template.js +25 -0
  234. package/dist/esm/drawer/drawer.template.js.map +1 -0
  235. package/dist/esm/drawer/index.d.ts +5 -0
  236. package/dist/esm/drawer/index.js +6 -0
  237. package/dist/esm/drawer/index.js.map +1 -0
  238. package/dist/esm/drawer-body/define.js +4 -0
  239. package/dist/esm/drawer-body/define.js.map +1 -0
  240. package/dist/esm/drawer-body/drawer-body.d.ts +30 -0
  241. package/dist/esm/drawer-body/drawer-body.definition.d.ts +8 -0
  242. package/dist/esm/drawer-body/drawer-body.definition.js +16 -0
  243. package/dist/esm/drawer-body/drawer-body.definition.js.map +1 -0
  244. package/dist/esm/drawer-body/drawer-body.js +40 -0
  245. package/dist/esm/drawer-body/drawer-body.js.map +1 -0
  246. package/dist/esm/drawer-body/drawer-body.styles.d.ts +4 -0
  247. package/dist/esm/drawer-body/drawer-body.styles.js +37 -0
  248. package/dist/esm/drawer-body/drawer-body.styles.js.map +1 -0
  249. package/dist/esm/drawer-body/drawer-body.template.d.ts +8 -0
  250. package/dist/esm/drawer-body/drawer-body.template.js +21 -0
  251. package/dist/esm/drawer-body/drawer-body.template.js.map +1 -0
  252. package/dist/esm/drawer-body/index.d.ts +4 -0
  253. package/dist/esm/drawer-body/index.js +5 -0
  254. package/dist/esm/drawer-body/index.js.map +1 -0
  255. package/dist/esm/dropdown/define.js +4 -0
  256. package/dist/esm/dropdown/define.js.map +1 -0
  257. package/dist/esm/dropdown/dropdown.base.d.ts +493 -0
  258. package/dist/esm/dropdown/dropdown.base.js +833 -0
  259. package/dist/esm/dropdown/dropdown.base.js.map +1 -0
  260. package/dist/esm/dropdown/dropdown.d.ts +30 -0
  261. package/dist/esm/dropdown/dropdown.definition.d.ts +9 -0
  262. package/dist/esm/dropdown/dropdown.definition.js +17 -0
  263. package/dist/esm/dropdown/dropdown.definition.js.map +1 -0
  264. package/dist/esm/dropdown/dropdown.js +35 -0
  265. package/dist/esm/dropdown/dropdown.js.map +1 -0
  266. package/dist/esm/dropdown/dropdown.options.d.ts +53 -0
  267. package/dist/esm/dropdown/dropdown.options.js +43 -0
  268. package/dist/esm/dropdown/dropdown.options.js.map +1 -0
  269. package/dist/esm/dropdown/dropdown.styles.d.ts +6 -0
  270. package/dist/esm/dropdown/dropdown.styles.js +216 -0
  271. package/dist/esm/dropdown/dropdown.styles.js.map +1 -0
  272. package/dist/esm/dropdown/dropdown.template.d.ts +38 -0
  273. package/dist/esm/dropdown/dropdown.template.js +94 -0
  274. package/dist/esm/dropdown/dropdown.template.js.map +1 -0
  275. package/dist/esm/dropdown/index.d.ts +6 -0
  276. package/dist/esm/dropdown/index.js +7 -0
  277. package/dist/esm/dropdown/index.js.map +1 -0
  278. package/dist/esm/field/define.js +4 -0
  279. package/dist/esm/field/define.js.map +1 -0
  280. package/dist/esm/field/field.base.d.ts +123 -0
  281. package/dist/esm/field/field.base.js +200 -0
  282. package/dist/esm/field/field.base.js.map +1 -0
  283. package/dist/esm/field/field.bench.d.ts +3 -0
  284. package/dist/esm/field/field.bench.js +10 -0
  285. package/dist/esm/field/field.bench.js.map +1 -0
  286. package/dist/esm/field/field.d.ts +20 -0
  287. package/dist/esm/field/field.definition.d.ts +9 -0
  288. package/dist/esm/field/field.definition.js +20 -0
  289. package/dist/esm/field/field.definition.js.map +1 -0
  290. package/dist/esm/field/field.js +29 -0
  291. package/dist/esm/field/field.js.map +1 -0
  292. package/dist/esm/field/field.options.d.ts +43 -0
  293. package/dist/esm/field/field.options.js +27 -0
  294. package/dist/esm/field/field.options.js.map +1 -0
  295. package/dist/esm/field/field.styles.d.ts +6 -0
  296. package/dist/esm/field/field.styles.js +133 -0
  297. package/dist/esm/field/field.styles.js.map +1 -0
  298. package/dist/esm/field/field.template.d.ts +6 -0
  299. package/dist/esm/field/field.template.js +18 -0
  300. package/dist/esm/field/field.template.js.map +1 -0
  301. package/dist/esm/field/index.d.ts +7 -0
  302. package/dist/esm/field/index.js +7 -0
  303. package/dist/esm/field/index.js.map +1 -0
  304. package/dist/esm/image/image.bench.d.ts +3 -0
  305. package/dist/esm/image/image.bench.js +14 -0
  306. package/dist/esm/image/image.bench.js.map +1 -0
  307. package/dist/esm/image/image.d.ts +51 -0
  308. package/dist/esm/image/image.js +4 -6
  309. package/dist/esm/image/image.js.map +1 -1
  310. package/dist/esm/image/image.options.d.ts +26 -0
  311. package/dist/esm/image/image.options.js +0 -1
  312. package/dist/esm/image/image.options.js.map +1 -1
  313. package/dist/esm/image/image.template.d.ts +7 -0
  314. package/dist/esm/image/image.template.js.map +1 -1
  315. package/dist/esm/image/index.d.ts +5 -0
  316. package/dist/esm/image/index.js +2 -2
  317. package/dist/esm/image/index.js.map +1 -1
  318. package/dist/esm/index-rollup.d.ts +44 -0
  319. package/dist/esm/index-rollup.js +44 -1
  320. package/dist/esm/index-rollup.js.map +1 -1
  321. package/dist/esm/index.d.ts +65 -0
  322. package/dist/esm/index.js +52 -34
  323. package/dist/esm/index.js.map +1 -1
  324. package/dist/esm/label/index.d.ts +5 -0
  325. package/dist/esm/label/index.js +2 -1
  326. package/dist/esm/label/index.js.map +1 -1
  327. package/dist/esm/label/label.bench.d.ts +3 -0
  328. package/dist/esm/label/label.bench.js +11 -0
  329. package/dist/esm/label/label.bench.js.map +1 -0
  330. package/dist/esm/label/label.d.ts +43 -0
  331. package/dist/esm/label/label.js +4 -6
  332. package/dist/esm/label/label.js.map +1 -1
  333. package/dist/esm/label/label.options.d.ts +26 -0
  334. package/dist/esm/label/label.styles.js +12 -6
  335. package/dist/esm/label/label.styles.js.map +1 -1
  336. package/dist/esm/label/label.template.d.ts +8 -0
  337. package/dist/esm/label/label.template.js +1 -1
  338. package/dist/esm/label/label.template.js.map +1 -1
  339. package/dist/esm/link/define.js +4 -0
  340. package/dist/esm/link/define.js.map +1 -0
  341. package/dist/esm/link/index.d.ts +5 -0
  342. package/dist/esm/link/index.js +6 -0
  343. package/dist/esm/link/index.js.map +1 -0
  344. package/dist/esm/link/link.bench.d.ts +3 -0
  345. package/dist/esm/link/link.bench.js +11 -0
  346. package/dist/esm/link/link.bench.js.map +1 -0
  347. package/dist/esm/link/link.d.ts +35 -0
  348. package/dist/esm/link/link.definition.d.ts +7 -0
  349. package/dist/esm/link/link.definition.js +15 -0
  350. package/dist/esm/link/link.definition.js.map +1 -0
  351. package/dist/esm/link/link.js +38 -0
  352. package/dist/esm/link/link.js.map +1 -0
  353. package/dist/esm/link/link.options.d.ts +52 -0
  354. package/dist/esm/link/link.options.js +21 -0
  355. package/dist/esm/link/link.options.js.map +1 -0
  356. package/dist/esm/link/link.styles.js +71 -0
  357. package/dist/esm/link/link.styles.js.map +1 -0
  358. package/dist/esm/link/link.template.d.ts +12 -0
  359. package/dist/esm/link/link.template.js +22 -0
  360. package/dist/esm/link/link.template.js.map +1 -0
  361. package/dist/esm/listbox/define.js +4 -0
  362. package/dist/esm/listbox/define.js.map +1 -0
  363. package/dist/esm/listbox/index.d.ts +5 -0
  364. package/dist/esm/listbox/index.js +6 -0
  365. package/dist/esm/listbox/index.js.map +1 -0
  366. package/dist/esm/listbox/listbox.d.ts +124 -0
  367. package/dist/esm/listbox/listbox.definition.d.ts +9 -0
  368. package/dist/esm/listbox/listbox.definition.js +17 -0
  369. package/dist/esm/listbox/listbox.definition.js.map +1 -0
  370. package/dist/esm/listbox/listbox.js +192 -0
  371. package/dist/esm/listbox/listbox.js.map +1 -0
  372. package/dist/esm/listbox/listbox.options.d.ts +10 -0
  373. package/dist/esm/listbox/listbox.options.js +15 -0
  374. package/dist/esm/listbox/listbox.options.js.map +1 -0
  375. package/dist/esm/listbox/listbox.styles.d.ts +6 -0
  376. package/dist/esm/listbox/listbox.styles.js +62 -0
  377. package/dist/esm/listbox/listbox.styles.js.map +1 -0
  378. package/dist/esm/listbox/listbox.template.d.ts +16 -0
  379. package/dist/esm/listbox/listbox.template.js +26 -0
  380. package/dist/esm/listbox/listbox.template.js.map +1 -0
  381. package/dist/esm/menu/index.d.ts +4 -0
  382. package/dist/esm/menu/index.js +1 -1
  383. package/dist/esm/menu/index.js.map +1 -1
  384. package/dist/esm/menu/menu.bench.d.ts +3 -0
  385. package/dist/esm/menu/menu.bench.js +31 -0
  386. package/dist/esm/menu/menu.bench.js.map +1 -0
  387. package/dist/esm/menu/menu.d.ts +226 -0
  388. package/dist/esm/menu/menu.js +149 -183
  389. package/dist/esm/menu/menu.js.map +1 -1
  390. package/dist/esm/menu/menu.styles.js +53 -9
  391. package/dist/esm/menu/menu.styles.js.map +1 -1
  392. package/dist/esm/menu/menu.template.d.ts +4 -0
  393. package/dist/esm/menu/menu.template.js +3 -9
  394. package/dist/esm/menu/menu.template.js.map +1 -1
  395. package/dist/esm/menu-button/index.d.ts +6 -0
  396. package/dist/esm/menu-button/index.js +3 -3
  397. package/dist/esm/menu-button/index.js.map +1 -1
  398. package/dist/esm/menu-button/menu-button.bench.d.ts +3 -0
  399. package/dist/esm/menu-button/menu-button.bench.js +11 -0
  400. package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
  401. package/dist/esm/menu-button/menu-button.d.ts +10 -0
  402. package/dist/esm/menu-button/menu-button.js +3 -0
  403. package/dist/esm/menu-button/menu-button.js.map +1 -1
  404. package/dist/esm/menu-button/menu-button.options.d.ts +46 -0
  405. package/dist/esm/menu-button/menu-button.template.d.ts +7 -0
  406. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  407. package/dist/esm/menu-item/index.d.ts +6 -0
  408. package/dist/esm/menu-item/index.js +4 -3
  409. package/dist/esm/menu-item/index.js.map +1 -1
  410. package/dist/esm/menu-item/menu-item.bench.d.ts +3 -0
  411. package/dist/esm/menu-item/menu-item.bench.js +11 -0
  412. package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
  413. package/dist/esm/menu-item/menu-item.d.ts +145 -0
  414. package/dist/esm/menu-item/menu-item.js +103 -127
  415. package/dist/esm/menu-item/menu-item.js.map +1 -1
  416. package/dist/esm/menu-item/menu-item.options.d.ts +40 -0
  417. package/dist/esm/menu-item/menu-item.options.js +14 -0
  418. package/dist/esm/menu-item/menu-item.options.js.map +1 -1
  419. package/dist/esm/menu-item/menu-item.styles.js +98 -122
  420. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  421. package/dist/esm/menu-item/menu-item.template.js +15 -50
  422. package/dist/esm/menu-item/menu-item.template.js.map +1 -1
  423. package/dist/esm/menu-list/index.d.ts +4 -0
  424. package/dist/esm/menu-list/index.js +1 -1
  425. package/dist/esm/menu-list/index.js.map +1 -1
  426. package/dist/esm/menu-list/menu-list.bench.d.ts +3 -0
  427. package/dist/esm/menu-list/menu-list.bench.js +21 -0
  428. package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
  429. package/dist/esm/menu-list/menu-list.d.ts +80 -0
  430. package/dist/esm/menu-list/menu-list.js +36 -72
  431. package/dist/esm/menu-list/menu-list.js.map +1 -1
  432. package/dist/esm/menu-list/menu-list.template.d.ts +4 -0
  433. package/dist/esm/menu-list/menu-list.template.js +0 -1
  434. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  435. package/dist/esm/message-bar/define.js +4 -0
  436. package/dist/esm/message-bar/define.js.map +1 -0
  437. package/dist/esm/message-bar/index.d.ts +5 -0
  438. package/dist/esm/message-bar/index.js +6 -0
  439. package/dist/esm/message-bar/index.js.map +1 -0
  440. package/dist/esm/message-bar/message-bar.bench.d.ts +3 -0
  441. package/dist/esm/message-bar/message-bar.bench.js +56 -0
  442. package/dist/esm/message-bar/message-bar.bench.js.map +1 -0
  443. package/dist/esm/message-bar/message-bar.d.ts +50 -0
  444. package/dist/esm/message-bar/message-bar.definition.d.ts +9 -0
  445. package/dist/esm/message-bar/message-bar.definition.js +20 -0
  446. package/dist/esm/message-bar/message-bar.definition.js.map +1 -0
  447. package/dist/esm/message-bar/message-bar.js +41 -0
  448. package/dist/esm/message-bar/message-bar.js.map +1 -0
  449. package/dist/esm/message-bar/message-bar.options.d.ts +30 -0
  450. package/dist/esm/message-bar/message-bar.options.js +27 -0
  451. package/dist/esm/message-bar/message-bar.options.js.map +1 -0
  452. package/dist/esm/message-bar/message-bar.styles.d.ts +7 -0
  453. package/dist/esm/message-bar/message-bar.styles.js +107 -0
  454. package/dist/esm/message-bar/message-bar.styles.js.map +1 -0
  455. package/dist/esm/message-bar/message-bar.template.d.ts +14 -0
  456. package/dist/esm/message-bar/message-bar.template.js +25 -0
  457. package/dist/esm/message-bar/message-bar.template.js.map +1 -0
  458. package/dist/esm/option/define.js +4 -0
  459. package/dist/esm/option/define.js.map +1 -0
  460. package/dist/esm/option/index.d.ts +5 -0
  461. package/dist/esm/option/index.js +6 -0
  462. package/dist/esm/option/index.js.map +1 -0
  463. package/dist/esm/option/option.d.ts +262 -0
  464. package/dist/esm/option/option.definition.d.ts +9 -0
  465. package/dist/esm/option/option.definition.js +17 -0
  466. package/dist/esm/option/option.definition.js.map +1 -0
  467. package/dist/esm/option/option.js +299 -0
  468. package/dist/esm/option/option.js.map +1 -0
  469. package/dist/esm/option/option.options.d.ts +20 -0
  470. package/dist/esm/option/option.options.js +15 -0
  471. package/dist/esm/option/option.options.js.map +1 -0
  472. package/dist/esm/option/option.styles.d.ts +6 -0
  473. package/dist/esm/option/option.styles.js +133 -0
  474. package/dist/esm/option/option.styles.js.map +1 -0
  475. package/dist/esm/option/option.template.d.ts +16 -0
  476. package/dist/esm/option/option.template.js +42 -0
  477. package/dist/esm/option/option.template.js.map +1 -0
  478. package/dist/esm/patterns/aria-globals.js +1 -6
  479. package/dist/esm/patterns/aria-globals.js.map +1 -1
  480. package/dist/esm/patterns/start-end.d.ts +58 -0
  481. package/dist/esm/patterns/start-end.js +12 -0
  482. package/dist/esm/patterns/start-end.js.map +1 -1
  483. package/dist/esm/progress-bar/index.d.ts +6 -0
  484. package/dist/esm/progress-bar/index.js +3 -2
  485. package/dist/esm/progress-bar/index.js.map +1 -1
  486. package/dist/esm/progress-bar/progress-bar.base.d.ts +72 -0
  487. package/dist/esm/progress-bar/progress-bar.base.js +101 -0
  488. package/dist/esm/progress-bar/progress-bar.base.js.map +1 -0
  489. package/dist/esm/progress-bar/progress-bar.bench.d.ts +3 -0
  490. package/dist/esm/progress-bar/progress-bar.bench.js +10 -0
  491. package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
  492. package/dist/esm/progress-bar/progress-bar.d.ts +25 -0
  493. package/dist/esm/progress-bar/progress-bar.js +6 -27
  494. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  495. package/dist/esm/progress-bar/progress-bar.options.d.ts +41 -0
  496. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  497. package/dist/esm/progress-bar/progress-bar.styles.js +58 -126
  498. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  499. package/dist/esm/progress-bar/progress-bar.template.d.ts +4 -0
  500. package/dist/esm/progress-bar/progress-bar.template.js +4 -28
  501. package/dist/esm/progress-bar/progress-bar.template.js.map +1 -1
  502. package/dist/esm/radio/index.d.ts +5 -0
  503. package/dist/esm/radio/index.js +1 -1
  504. package/dist/esm/radio/index.js.map +1 -1
  505. package/dist/esm/radio/radio.bench.d.ts +3 -0
  506. package/dist/esm/radio/radio.bench.js +11 -0
  507. package/dist/esm/radio/radio.bench.js.map +1 -0
  508. package/dist/esm/radio/radio.d.ts +62 -0
  509. package/dist/esm/radio/radio.js +52 -76
  510. package/dist/esm/radio/radio.js.map +1 -1
  511. package/dist/esm/radio/radio.options.d.ts +14 -0
  512. package/dist/esm/radio/radio.options.js +2 -0
  513. package/dist/esm/radio/radio.options.js.map +1 -0
  514. package/dist/esm/radio/radio.styles.d.ts +6 -0
  515. package/dist/esm/radio/radio.styles.js +95 -88
  516. package/dist/esm/radio/radio.styles.js.map +1 -1
  517. package/dist/esm/radio/radio.template.d.ts +16 -0
  518. package/dist/esm/radio/radio.template.js +21 -24
  519. package/dist/esm/radio/radio.template.js.map +1 -1
  520. package/dist/esm/radio-group/index.d.ts +5 -0
  521. package/dist/esm/radio-group/index.js +2 -1
  522. package/dist/esm/radio-group/index.js.map +1 -1
  523. package/dist/esm/radio-group/radio-group.bench.d.ts +3 -0
  524. package/dist/esm/radio-group/radio-group.bench.js +21 -0
  525. package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
  526. package/dist/esm/radio-group/radio-group.d.ts +268 -0
  527. package/dist/esm/radio-group/radio-group.js +423 -319
  528. package/dist/esm/radio-group/radio-group.js.map +1 -1
  529. package/dist/esm/radio-group/radio-group.options.d.ts +14 -0
  530. package/dist/esm/radio-group/radio-group.styles.js +30 -32
  531. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  532. package/dist/esm/radio-group/radio-group.template.d.ts +4 -0
  533. package/dist/esm/radio-group/radio-group.template.js +6 -21
  534. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  535. package/dist/esm/rating-display/define.d.ts +1 -0
  536. package/dist/esm/rating-display/define.js +4 -0
  537. package/dist/esm/rating-display/define.js.map +1 -0
  538. package/dist/esm/rating-display/index.d.ts +6 -0
  539. package/dist/esm/rating-display/index.js +7 -0
  540. package/dist/esm/rating-display/index.js.map +1 -0
  541. package/dist/esm/rating-display/rating-display.base.d.ts +77 -0
  542. package/dist/esm/rating-display/rating-display.base.js +109 -0
  543. package/dist/esm/rating-display/rating-display.base.js.map +1 -0
  544. package/dist/esm/rating-display/rating-display.d.ts +38 -0
  545. package/dist/esm/rating-display/rating-display.definition.d.ts +9 -0
  546. package/dist/esm/rating-display/rating-display.definition.js +17 -0
  547. package/dist/esm/rating-display/rating-display.definition.js.map +1 -0
  548. package/dist/esm/rating-display/rating-display.js +34 -0
  549. package/dist/esm/rating-display/rating-display.js.map +1 -0
  550. package/dist/esm/rating-display/rating-display.options.d.ts +29 -0
  551. package/dist/esm/rating-display/rating-display.options.js +19 -0
  552. package/dist/esm/rating-display/rating-display.options.js.map +1 -0
  553. package/dist/esm/rating-display/rating-display.styles.d.ts +6 -0
  554. package/dist/esm/rating-display/rating-display.styles.js +150 -0
  555. package/dist/esm/rating-display/rating-display.styles.js.map +1 -0
  556. package/dist/esm/rating-display/rating-display.template.d.ts +17 -0
  557. package/dist/esm/rating-display/rating-display.template.js +30 -0
  558. package/dist/esm/rating-display/rating-display.template.js.map +1 -0
  559. package/dist/esm/slider/define.d.ts +1 -0
  560. package/dist/esm/slider/index.d.ts +6 -0
  561. package/dist/esm/slider/index.js +2 -2
  562. package/dist/esm/slider/index.js.map +1 -1
  563. package/dist/esm/slider/slider-utilities.js.map +1 -1
  564. package/dist/esm/slider/slider.bench.d.ts +3 -0
  565. package/dist/esm/slider/slider.bench.js +10 -0
  566. package/dist/esm/slider/slider.bench.js.map +1 -0
  567. package/dist/esm/slider/slider.d.ts +358 -0
  568. package/dist/esm/slider/slider.js +436 -243
  569. package/dist/esm/slider/slider.js.map +1 -1
  570. package/dist/esm/slider/slider.options.d.ts +56 -0
  571. package/dist/esm/slider/slider.styles.js +120 -128
  572. package/dist/esm/slider/slider.styles.js.map +1 -1
  573. package/dist/esm/slider/slider.template.d.ts +5 -0
  574. package/dist/esm/slider/slider.template.js +12 -29
  575. package/dist/esm/slider/slider.template.js.map +1 -1
  576. package/dist/esm/spinner/define.d.ts +1 -0
  577. package/dist/esm/spinner/index.d.ts +6 -0
  578. package/dist/esm/spinner/index.js +3 -2
  579. package/dist/esm/spinner/index.js.map +1 -1
  580. package/dist/esm/spinner/spinner.base.d.ts +14 -0
  581. package/dist/esm/spinner/spinner.base.js +18 -0
  582. package/dist/esm/spinner/spinner.base.js.map +1 -0
  583. package/dist/esm/spinner/spinner.bench.d.ts +3 -0
  584. package/dist/esm/spinner/spinner.bench.js +10 -0
  585. package/dist/esm/spinner/spinner.bench.js.map +1 -0
  586. package/dist/esm/spinner/spinner.d.ts +27 -0
  587. package/dist/esm/spinner/spinner.js +8 -9
  588. package/dist/esm/spinner/spinner.js.map +1 -1
  589. package/dist/esm/spinner/spinner.options.d.ts +32 -0
  590. package/dist/esm/spinner/spinner.styles.js +115 -54
  591. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  592. package/dist/esm/spinner/spinner.template.d.ts +2 -0
  593. package/dist/esm/spinner/spinner.template.js +16 -47
  594. package/dist/esm/spinner/spinner.template.js.map +1 -1
  595. package/dist/esm/styles/partials/badge.partials.js +4 -5
  596. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  597. package/dist/esm/styles/partials/index.d.ts +2 -0
  598. package/dist/esm/styles/partials/index.js +1 -0
  599. package/dist/esm/styles/partials/index.js.map +1 -1
  600. package/dist/esm/styles/partials/typography.partials.d.ts +18 -0
  601. package/dist/esm/styles/partials/typography.partials.js +105 -0
  602. package/dist/esm/styles/partials/typography.partials.js.map +1 -0
  603. package/dist/esm/styles/states/index.d.ts +139 -0
  604. package/dist/esm/styles/states/index.js +141 -0
  605. package/dist/esm/styles/states/index.js.map +1 -0
  606. package/dist/esm/switch/define.d.ts +1 -0
  607. package/dist/esm/switch/index.d.ts +6 -0
  608. package/dist/esm/switch/index.js +2 -2
  609. package/dist/esm/switch/index.js.map +1 -1
  610. package/dist/esm/switch/switch.bench.d.ts +3 -0
  611. package/dist/esm/switch/switch.bench.js +11 -0
  612. package/dist/esm/switch/switch.bench.js.map +1 -0
  613. package/dist/esm/switch/switch.d.ts +15 -0
  614. package/dist/esm/switch/switch.js +10 -54
  615. package/dist/esm/switch/switch.js.map +1 -1
  616. package/dist/esm/switch/switch.options.d.ts +15 -0
  617. package/dist/esm/switch/switch.styles.js +40 -56
  618. package/dist/esm/switch/switch.styles.js.map +1 -1
  619. package/dist/esm/switch/switch.template.d.ts +4 -0
  620. package/dist/esm/switch/switch.template.js +5 -16
  621. package/dist/esm/switch/switch.template.js.map +1 -1
  622. package/dist/esm/tab/define.d.ts +1 -0
  623. package/dist/esm/tab/index.d.ts +6 -0
  624. package/dist/esm/tab/index.js +4 -3
  625. package/dist/esm/tab/index.js.map +1 -1
  626. package/dist/esm/tab/tab.bench.d.ts +3 -0
  627. package/dist/esm/tab/tab.bench.js +11 -0
  628. package/dist/esm/tab/tab.bench.js.map +1 -0
  629. package/dist/esm/tab/tab.d.ts +26 -0
  630. package/dist/esm/tab/tab.js +4 -7
  631. package/dist/esm/tab/tab.js.map +1 -1
  632. package/dist/esm/tab/tab.options.d.ts +10 -0
  633. package/dist/esm/tab/tab.options.js +15 -0
  634. package/dist/esm/tab/tab.options.js.map +1 -0
  635. package/dist/esm/tab/tab.styles.js +12 -7
  636. package/dist/esm/tab/tab.styles.js.map +1 -1
  637. package/dist/esm/tab/tab.template.d.ts +4 -0
  638. package/dist/esm/tab/tab.template.js.map +1 -1
  639. package/dist/esm/tab-panel/define.d.ts +1 -0
  640. package/dist/esm/tab-panel/define.js +3 -0
  641. package/dist/esm/tab-panel/define.js.map +1 -1
  642. package/dist/esm/tab-panel/index.d.ts +4 -0
  643. package/dist/esm/tab-panel/index.js +1 -1
  644. package/dist/esm/tab-panel/index.js.map +1 -1
  645. package/dist/esm/tab-panel/tab-panel.bench.d.ts +3 -0
  646. package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
  647. package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
  648. package/dist/esm/tab-panel/tab-panel.d.ts +8 -0
  649. package/dist/esm/tab-panel/tab-panel.definition.d.ts +5 -0
  650. package/dist/esm/tab-panel/tab-panel.definition.js +3 -0
  651. package/dist/esm/tab-panel/tab-panel.definition.js.map +1 -1
  652. package/dist/esm/tab-panel/tab-panel.js +5 -0
  653. package/dist/esm/tab-panel/tab-panel.js.map +1 -1
  654. package/dist/esm/tab-panel/tab-panel.template.d.ts +7 -0
  655. package/dist/esm/tab-panel/tab-panel.template.js +3 -0
  656. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  657. package/dist/esm/tablist/define.d.ts +1 -0
  658. package/dist/esm/tablist/define.js +4 -0
  659. package/dist/esm/tablist/define.js.map +1 -0
  660. package/dist/esm/tablist/index.d.ts +6 -0
  661. package/dist/esm/tablist/index.js +7 -0
  662. package/dist/esm/tablist/index.js.map +1 -0
  663. package/dist/esm/tablist/tablist.base.d.ts +106 -0
  664. package/dist/esm/tablist/tablist.base.js +272 -0
  665. package/dist/esm/tablist/tablist.base.js.map +1 -0
  666. package/dist/esm/tablist/tablist.bench.d.ts +3 -0
  667. package/dist/esm/tablist/tablist.bench.js +21 -0
  668. package/dist/esm/tablist/tablist.bench.js.map +1 -0
  669. package/dist/esm/tablist/tablist.d.ts +94 -0
  670. package/dist/esm/tablist/tablist.definition.d.ts +7 -0
  671. package/dist/esm/tablist/tablist.definition.js +15 -0
  672. package/dist/esm/tablist/tablist.definition.js.map +1 -0
  673. package/dist/esm/tablist/tablist.js +161 -0
  674. package/dist/esm/tablist/tablist.js.map +1 -0
  675. package/dist/esm/tablist/tablist.options.d.ts +41 -0
  676. package/dist/esm/tablist/tablist.options.js +24 -0
  677. package/dist/esm/tablist/tablist.options.js.map +1 -0
  678. package/dist/esm/tablist/tablist.styles.d.ts +4 -0
  679. package/dist/esm/tablist/tablist.styles.js +193 -0
  680. package/dist/esm/tablist/tablist.styles.js.map +1 -0
  681. package/dist/esm/tablist/tablist.template.d.ts +5 -0
  682. package/dist/esm/tablist/tablist.template.js +10 -0
  683. package/dist/esm/tablist/tablist.template.js.map +1 -0
  684. package/dist/esm/tabs/define.d.ts +1 -0
  685. package/dist/esm/tabs/define.js +3 -0
  686. package/dist/esm/tabs/define.js.map +1 -1
  687. package/dist/esm/tabs/index.d.ts +6 -0
  688. package/dist/esm/tabs/index.js +4 -4
  689. package/dist/esm/tabs/index.js.map +1 -1
  690. package/dist/esm/tabs/tabs.base.d.ts +90 -0
  691. package/dist/esm/tabs/tabs.base.js +279 -0
  692. package/dist/esm/tabs/tabs.base.js.map +1 -0
  693. package/dist/esm/tabs/tabs.bench.d.ts +3 -0
  694. package/dist/esm/tabs/tabs.bench.js +32 -0
  695. package/dist/esm/tabs/tabs.bench.js.map +1 -0
  696. package/dist/esm/tabs/tabs.d.ts +100 -0
  697. package/dist/esm/tabs/tabs.definition.d.ts +5 -0
  698. package/dist/esm/tabs/tabs.definition.js +3 -0
  699. package/dist/esm/tabs/tabs.definition.js.map +1 -1
  700. package/dist/esm/tabs/tabs.js +44 -300
  701. package/dist/esm/tabs/tabs.js.map +1 -1
  702. package/dist/esm/tabs/tabs.options.d.ts +32 -0
  703. package/dist/esm/tabs/tabs.styles.d.ts +1 -0
  704. package/dist/esm/tabs/tabs.template.d.ts +8 -0
  705. package/dist/esm/tabs/tabs.template.js +3 -0
  706. package/dist/esm/tabs/tabs.template.js.map +1 -1
  707. package/dist/esm/text/define.d.ts +1 -0
  708. package/dist/esm/text/index.d.ts +5 -0
  709. package/dist/esm/text/index.js +2 -2
  710. package/dist/esm/text/index.js.map +1 -1
  711. package/dist/esm/text/text.bench.d.ts +3 -0
  712. package/dist/esm/text/text.bench.js +13 -0
  713. package/dist/esm/text/text.bench.js.map +1 -0
  714. package/dist/esm/text/text.d.ts +100 -0
  715. package/dist/esm/text/text.js +10 -6
  716. package/dist/esm/text/text.js.map +1 -1
  717. package/dist/esm/text/text.options.d.ts +67 -0
  718. package/dist/esm/text/text.styles.js +33 -32
  719. package/dist/esm/text/text.styles.js.map +1 -1
  720. package/dist/esm/text/text.template.d.ts +6 -0
  721. package/dist/esm/text/text.template.js.map +1 -1
  722. package/dist/esm/text-input/define.d.ts +1 -0
  723. package/dist/esm/text-input/index.d.ts +7 -0
  724. package/dist/esm/text-input/index.js +5 -4
  725. package/dist/esm/text-input/index.js.map +1 -1
  726. package/dist/esm/text-input/text-input.base.d.ts +402 -0
  727. package/dist/esm/text-input/text-input.base.js +423 -0
  728. package/dist/esm/text-input/text-input.base.js.map +1 -0
  729. package/dist/esm/text-input/text-input.bench.d.ts +3 -0
  730. package/dist/esm/text-input/text-input.bench.js +10 -0
  731. package/dist/esm/text-input/text-input.bench.js.map +1 -0
  732. package/dist/esm/text-input/text-input.d.ts +38 -0
  733. package/dist/esm/text-input/text-input.definition.d.ts +9 -0
  734. package/dist/esm/text-input/text-input.definition.js +5 -3
  735. package/dist/esm/text-input/text-input.definition.js.map +1 -1
  736. package/dist/esm/text-input/text-input.js +16 -174
  737. package/dist/esm/text-input/text-input.js.map +1 -1
  738. package/dist/esm/text-input/text-input.options.d.ts +51 -0
  739. package/dist/esm/text-input/text-input.options.js +26 -19
  740. package/dist/esm/text-input/text-input.options.js.map +1 -1
  741. package/dist/esm/text-input/text-input.styles.d.ts +7 -0
  742. package/dist/esm/text-input/text-input.styles.js +22 -12
  743. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  744. package/dist/esm/text-input/text-input.template.d.ts +13 -0
  745. package/dist/esm/text-input/text-input.template.js +45 -55
  746. package/dist/esm/text-input/text-input.template.js.map +1 -1
  747. package/dist/esm/textarea/define.d.ts +1 -0
  748. package/dist/esm/textarea/define.js +4 -0
  749. package/dist/esm/textarea/define.js.map +1 -0
  750. package/dist/esm/textarea/index.d.ts +6 -0
  751. package/dist/esm/textarea/index.js +7 -0
  752. package/dist/esm/textarea/index.js.map +1 -0
  753. package/dist/esm/textarea/textarea.base.d.ts +348 -0
  754. package/dist/esm/textarea/textarea.base.js +502 -0
  755. package/dist/esm/textarea/textarea.base.js.map +1 -0
  756. package/dist/esm/textarea/textarea.bench.d.ts +3 -0
  757. package/dist/esm/textarea/textarea.bench.js +10 -0
  758. package/dist/esm/textarea/textarea.bench.js.map +1 -0
  759. package/dist/esm/textarea/textarea.d.ts +47 -0
  760. package/dist/esm/textarea/textarea.definition.d.ts +9 -0
  761. package/dist/esm/textarea/textarea.definition.js +20 -0
  762. package/dist/esm/textarea/textarea.definition.js.map +1 -0
  763. package/dist/esm/textarea/textarea.js +73 -0
  764. package/dist/esm/textarea/textarea.js.map +1 -0
  765. package/dist/esm/textarea/textarea.options.d.ts +49 -0
  766. package/dist/esm/textarea/textarea.options.js +48 -0
  767. package/dist/esm/textarea/textarea.options.js.map +1 -0
  768. package/dist/esm/textarea/textarea.styles.d.ts +7 -0
  769. package/dist/esm/textarea/textarea.styles.js +268 -0
  770. package/dist/esm/textarea/textarea.styles.js.map +1 -0
  771. package/dist/esm/textarea/textarea.template.d.ts +12 -0
  772. package/dist/esm/textarea/textarea.template.js +42 -0
  773. package/dist/esm/textarea/textarea.template.js.map +1 -0
  774. package/dist/esm/theme/design-tokens.d.ts +2220 -0
  775. package/dist/esm/theme/design-tokens.js +1837 -1
  776. package/dist/esm/theme/design-tokens.js.map +1 -1
  777. package/dist/esm/theme/index.d.ts +2 -0
  778. package/dist/esm/theme/index.js.map +1 -1
  779. package/dist/esm/theme/set-theme.d.ts +29 -0
  780. package/dist/esm/theme/set-theme.global.bench.d.ts +3 -0
  781. package/dist/esm/theme/set-theme.global.bench.js +25 -0
  782. package/dist/esm/theme/set-theme.global.bench.js.map +1 -0
  783. package/dist/esm/theme/set-theme.js +185 -12
  784. package/dist/esm/theme/set-theme.js.map +1 -1
  785. package/dist/esm/theme/set-theme.local.bench.d.ts +3 -0
  786. package/dist/esm/theme/set-theme.local.bench.js +27 -0
  787. package/dist/esm/theme/set-theme.local.bench.js.map +1 -0
  788. package/dist/esm/theme/set-theme.shadow.bench.d.ts +3 -0
  789. package/dist/esm/theme/set-theme.shadow.bench.js +29 -0
  790. package/dist/esm/theme/set-theme.shadow.bench.js.map +1 -0
  791. package/dist/esm/toggle-button/define.d.ts +1 -0
  792. package/dist/esm/toggle-button/index.d.ts +6 -0
  793. package/dist/esm/toggle-button/index.js +4 -4
  794. package/dist/esm/toggle-button/index.js.map +1 -1
  795. package/dist/esm/toggle-button/toggle-button.bench.d.ts +3 -0
  796. package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
  797. package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
  798. package/dist/esm/toggle-button/toggle-button.d.ts +53 -0
  799. package/dist/esm/toggle-button/toggle-button.js +5 -7
  800. package/dist/esm/toggle-button/toggle-button.js.map +1 -1
  801. package/dist/esm/toggle-button/toggle-button.options.d.ts +46 -0
  802. package/dist/esm/toggle-button/toggle-button.styles.js +26 -23
  803. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  804. package/dist/esm/toggle-button/toggle-button.template.d.ts +7 -0
  805. package/dist/esm/tooltip/define.d.ts +1 -0
  806. package/dist/esm/tooltip/define.js +4 -0
  807. package/dist/esm/tooltip/define.js.map +1 -0
  808. package/dist/esm/tooltip/index.d.ts +5 -0
  809. package/dist/esm/tooltip/index.js +6 -0
  810. package/dist/esm/tooltip/index.js.map +1 -0
  811. package/dist/esm/tooltip/tooltip.d.ts +98 -0
  812. package/dist/esm/tooltip/tooltip.definition.d.ts +9 -0
  813. package/dist/esm/tooltip/tooltip.definition.js +17 -0
  814. package/dist/esm/tooltip/tooltip.definition.js.map +1 -0
  815. package/dist/esm/tooltip/tooltip.js +202 -0
  816. package/dist/esm/tooltip/tooltip.js.map +1 -0
  817. package/dist/esm/tooltip/tooltip.options.d.ts +24 -0
  818. package/dist/esm/tooltip/tooltip.options.js +19 -0
  819. package/dist/esm/tooltip/tooltip.options.js.map +1 -0
  820. package/dist/esm/tooltip/tooltip.styles.d.ts +5 -0
  821. package/dist/esm/tooltip/tooltip.styles.js +96 -0
  822. package/dist/esm/tooltip/tooltip.styles.js.map +1 -0
  823. package/dist/esm/tooltip/tooltip.template.d.ts +6 -0
  824. package/dist/esm/tooltip/tooltip.template.js +11 -0
  825. package/dist/esm/tooltip/tooltip.template.js.map +1 -0
  826. package/dist/esm/tree/define.d.ts +1 -0
  827. package/dist/esm/tree/define.js +4 -0
  828. package/dist/esm/tree/define.js.map +1 -0
  829. package/dist/esm/tree/index.d.ts +5 -0
  830. package/dist/esm/tree/index.js +6 -0
  831. package/dist/esm/tree/index.js.map +1 -0
  832. package/dist/esm/tree/tree.base.d.ts +74 -0
  833. package/dist/esm/tree/tree.base.js +237 -0
  834. package/dist/esm/tree/tree.base.js.map +1 -0
  835. package/dist/esm/tree/tree.bench.d.ts +3 -0
  836. package/dist/esm/tree/tree.bench.js +10 -0
  837. package/dist/esm/tree/tree.bench.js.map +1 -0
  838. package/dist/esm/tree/tree.d.ts +34 -0
  839. package/dist/esm/tree/tree.definition.d.ts +8 -0
  840. package/dist/esm/tree/tree.definition.js +16 -0
  841. package/dist/esm/tree/tree.definition.js.map +1 -0
  842. package/dist/esm/tree/tree.js +61 -0
  843. package/dist/esm/tree/tree.js.map +1 -0
  844. package/dist/esm/tree/tree.styles.d.ts +1 -0
  845. package/dist/esm/tree/tree.styles.js +10 -0
  846. package/dist/esm/tree/tree.styles.js.map +1 -0
  847. package/dist/esm/tree/tree.template.d.ts +2 -0
  848. package/dist/esm/tree/tree.template.js +14 -0
  849. package/dist/esm/tree/tree.template.js.map +1 -0
  850. package/dist/esm/tree-item/define.d.ts +1 -0
  851. package/dist/esm/tree-item/define.js +4 -0
  852. package/dist/esm/tree-item/define.js.map +1 -0
  853. package/dist/esm/tree-item/index.d.ts +6 -0
  854. package/dist/esm/tree-item/index.js +6 -0
  855. package/dist/esm/tree-item/index.js.map +1 -0
  856. package/dist/esm/tree-item/tree-item.base.d.ts +88 -0
  857. package/dist/esm/tree-item/tree-item.base.js +160 -0
  858. package/dist/esm/tree-item/tree-item.base.js.map +1 -0
  859. package/dist/esm/tree-item/tree-item.bench.d.ts +3 -0
  860. package/dist/esm/tree-item/tree-item.bench.js +10 -0
  861. package/dist/esm/tree-item/tree-item.bench.js.map +1 -0
  862. package/dist/esm/tree-item/tree-item.d.ts +44 -0
  863. package/dist/esm/tree-item/tree-item.definition.d.ts +8 -0
  864. package/dist/esm/tree-item/tree-item.definition.js +16 -0
  865. package/dist/esm/tree-item/tree-item.definition.js.map +1 -0
  866. package/dist/esm/tree-item/tree-item.js +71 -0
  867. package/dist/esm/tree-item/tree-item.js.map +1 -0
  868. package/dist/esm/tree-item/tree-item.options.d.ts +22 -0
  869. package/dist/esm/tree-item/tree-item.options.js +24 -0
  870. package/dist/esm/tree-item/tree-item.options.js.map +1 -0
  871. package/dist/esm/tree-item/tree-item.styles.d.ts +1 -0
  872. package/dist/esm/tree-item/tree-item.styles.js +162 -0
  873. package/dist/esm/tree-item/tree-item.styles.js.map +1 -0
  874. package/dist/esm/tree-item/tree-item.template.d.ts +2 -0
  875. package/dist/esm/tree-item/tree-item.template.js +29 -0
  876. package/dist/esm/tree-item/tree-item.template.js.map +1 -0
  877. package/dist/esm/tsdoc-metadata.json +11 -0
  878. package/dist/esm/utils/apply-mixins.js.map +1 -1
  879. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.d.ts +124 -0
  880. package/dist/esm/utils/behaviors/match-media-stylesheet-behavior.js.map +1 -1
  881. package/dist/esm/utils/benchmark-wrapper.js.map +1 -1
  882. package/dist/esm/utils/converters.d.ts +17 -0
  883. package/dist/esm/utils/converters.js +26 -0
  884. package/dist/esm/utils/converters.js.map +1 -0
  885. package/dist/esm/utils/direction.js +1 -2
  886. package/dist/esm/utils/direction.js.map +1 -1
  887. package/dist/esm/utils/display.d.ts +17 -0
  888. package/dist/esm/utils/element-internals.d.ts +54 -0
  889. package/dist/esm/utils/element-internals.js +93 -0
  890. package/dist/esm/utils/element-internals.js.map +1 -0
  891. package/dist/esm/utils/focusable-element.d.ts +3 -0
  892. package/dist/esm/utils/focusable-element.js +10 -0
  893. package/dist/esm/utils/focusable-element.js.map +1 -0
  894. package/dist/esm/utils/get-initials.js +2 -2
  895. package/dist/esm/utils/get-initials.js.map +1 -1
  896. package/dist/esm/utils/index.d.ts +8 -0
  897. package/dist/esm/utils/index.js +2 -0
  898. package/dist/esm/utils/index.js.map +1 -1
  899. package/dist/esm/utils/language.d.ts +9 -0
  900. package/dist/esm/utils/language.js +12 -0
  901. package/dist/esm/utils/language.js.map +1 -0
  902. package/dist/esm/utils/request-idle-callback.d.ts +41 -0
  903. package/dist/esm/utils/request-idle-callback.js +72 -0
  904. package/dist/esm/utils/request-idle-callback.js.map +1 -0
  905. package/dist/esm/utils/root-active-element.d.ts +1 -0
  906. package/dist/esm/utils/root-active-element.js +9 -0
  907. package/dist/esm/utils/root-active-element.js.map +1 -0
  908. package/dist/esm/utils/support.d.ts +15 -0
  909. package/dist/esm/utils/support.js +16 -0
  910. package/dist/esm/utils/support.js.map +1 -0
  911. package/dist/esm/utils/template-helpers.d.ts +15 -0
  912. package/dist/esm/utils/template-helpers.js +1 -1
  913. package/dist/esm/utils/template-helpers.js.map +1 -1
  914. package/dist/esm/utils/typings.d.ts +6 -0
  915. package/dist/esm/utils/unique-id.d.ts +9 -0
  916. package/dist/esm/utils/unique-id.js +14 -0
  917. package/dist/esm/utils/unique-id.js.map +1 -0
  918. package/dist/esm/utils/whitespace-filter.js +1 -1
  919. package/dist/esm/utils/whitespace-filter.js.map +1 -1
  920. package/dist/web-components.d.ts +7878 -2235
  921. package/dist/web-components.js +10095 -6219
  922. package/dist/web-components.min.js +425 -200
  923. package/package.json +60 -174
  924. package/dist/dts/accordion/accordion.d.ts +0 -51
  925. package/dist/dts/accordion/accordion.options.d.ts +0 -14
  926. package/dist/dts/accordion/accordion.template.d.ts +0 -7
  927. package/dist/dts/accordion/index.d.ts +0 -4
  928. package/dist/dts/accordion-item/accordion-item.d.ts +0 -108
  929. package/dist/dts/accordion-item/accordion-item.options.d.ts +0 -27
  930. package/dist/dts/accordion-item/accordion-item.template.d.ts +0 -8
  931. package/dist/dts/accordion-item/index.d.ts +0 -5
  932. package/dist/dts/anchor-button/anchor-button.d.ts +0 -176
  933. package/dist/dts/anchor-button/anchor-button.options.d.ts +0 -64
  934. package/dist/dts/anchor-button/anchor-button.template.d.ts +0 -12
  935. package/dist/dts/anchor-button/index.d.ts +0 -4
  936. package/dist/dts/avatar/avatar.d.ts +0 -97
  937. package/dist/dts/avatar/avatar.options.d.ts +0 -142
  938. package/dist/dts/avatar/avatar.template.d.ts +0 -8
  939. package/dist/dts/avatar/index.d.ts +0 -5
  940. package/dist/dts/badge/badge.d.ts +0 -49
  941. package/dist/dts/badge/badge.options.d.ts +0 -74
  942. package/dist/dts/badge/badge.template.d.ts +0 -9
  943. package/dist/dts/badge/index.d.ts +0 -5
  944. package/dist/dts/button/button.d.ts +0 -276
  945. package/dist/dts/button/button.options.d.ts +0 -83
  946. package/dist/dts/button/button.styles.d.ts +0 -6
  947. package/dist/dts/button/button.template.d.ts +0 -15
  948. package/dist/dts/button/index.d.ts +0 -5
  949. package/dist/dts/checkbox/checkbox.d.ts +0 -78
  950. package/dist/dts/checkbox/checkbox.form-associated.d.ts +0 -14
  951. package/dist/dts/checkbox/checkbox.options.d.ts +0 -28
  952. package/dist/dts/checkbox/checkbox.template.d.ts +0 -12
  953. package/dist/dts/checkbox/index.d.ts +0 -5
  954. package/dist/dts/compound-button/compound-button.d.ts +0 -7
  955. package/dist/dts/compound-button/compound-button.options.d.ts +0 -51
  956. package/dist/dts/compound-button/compound-button.template.d.ts +0 -13
  957. package/dist/dts/compound-button/index.d.ts +0 -5
  958. package/dist/dts/counter-badge/counter-badge.d.ts +0 -90
  959. package/dist/dts/counter-badge/counter-badge.options.d.ts +0 -69
  960. package/dist/dts/counter-badge/counter-badge.template.d.ts +0 -7
  961. package/dist/dts/counter-badge/index.d.ts +0 -5
  962. package/dist/dts/dialog/dialog.d.ts +0 -192
  963. package/dist/dts/dialog/dialog.options.d.ts +0 -11
  964. package/dist/dts/dialog/dialog.template.d.ts +0 -7
  965. package/dist/dts/dialog/index.d.ts +0 -4
  966. package/dist/dts/divider/divider.d.ts +0 -47
  967. package/dist/dts/divider/divider.options.d.ts +0 -65
  968. package/dist/dts/divider/divider.template.d.ts +0 -8
  969. package/dist/dts/divider/index.d.ts +0 -5
  970. package/dist/dts/form-associated/form-associated.d.ts +0 -104
  971. package/dist/dts/helpers.tests.d.ts +0 -8
  972. package/dist/dts/image/image.d.ts +0 -48
  973. package/dist/dts/image/image.options.d.ts +0 -27
  974. package/dist/dts/image/image.template.d.ts +0 -7
  975. package/dist/dts/image/index.d.ts +0 -5
  976. package/dist/dts/index-rollup.d.ts +0 -1
  977. package/dist/dts/index.d.ts +0 -34
  978. package/dist/dts/label/index.d.ts +0 -4
  979. package/dist/dts/label/label.d.ts +0 -42
  980. package/dist/dts/label/label.options.d.ts +0 -26
  981. package/dist/dts/label/label.template.d.ts +0 -8
  982. package/dist/dts/menu/index.d.ts +0 -4
  983. package/dist/dts/menu/menu.d.ts +0 -194
  984. package/dist/dts/menu/menu.template.d.ts +0 -4
  985. package/dist/dts/menu-button/index.d.ts +0 -5
  986. package/dist/dts/menu-button/menu-button.d.ts +0 -7
  987. package/dist/dts/menu-button/menu-button.options.d.ts +0 -47
  988. package/dist/dts/menu-button/menu-button.template.d.ts +0 -7
  989. package/dist/dts/menu-item/index.d.ts +0 -4
  990. package/dist/dts/menu-item/menu-item.d.ts +0 -166
  991. package/dist/dts/menu-item/menu-item.options.d.ts +0 -30
  992. package/dist/dts/menu-list/index.d.ts +0 -4
  993. package/dist/dts/menu-list/menu-list.d.ts +0 -76
  994. package/dist/dts/menu-list/menu-list.template.d.ts +0 -4
  995. package/dist/dts/patterns/start-end.d.ts +0 -44
  996. package/dist/dts/progress-bar/base-progress.d.ts +0 -41
  997. package/dist/dts/progress-bar/index.d.ts +0 -5
  998. package/dist/dts/progress-bar/progress-bar.d.ts +0 -37
  999. package/dist/dts/progress-bar/progress-bar.options.d.ts +0 -50
  1000. package/dist/dts/progress-bar/progress-bar.template.d.ts +0 -5
  1001. package/dist/dts/progress-ring/progress-ring.d.ts +0 -15
  1002. package/dist/dts/progress-ring/progress-ring.options.d.ts +0 -9
  1003. package/dist/dts/radio/index.d.ts +0 -4
  1004. package/dist/dts/radio/radio.d.ts +0 -58
  1005. package/dist/dts/radio/radio.form-associated.d.ts +0 -14
  1006. package/dist/dts/radio/radio.styles.d.ts +0 -4
  1007. package/dist/dts/radio/radio.template.d.ts +0 -4
  1008. package/dist/dts/radio-group/index.d.ts +0 -4
  1009. package/dist/dts/radio-group/radio-group.d.ts +0 -104
  1010. package/dist/dts/radio-group/radio-group.options.d.ts +0 -17
  1011. package/dist/dts/radio-group/radio-group.template.d.ts +0 -4
  1012. package/dist/dts/slider/index.d.ts +0 -5
  1013. package/dist/dts/slider/slider.d.ts +0 -214
  1014. package/dist/dts/slider/slider.form-associated.d.ts +0 -14
  1015. package/dist/dts/slider/slider.options.d.ts +0 -56
  1016. package/dist/dts/slider/slider.template.d.ts +0 -5
  1017. package/dist/dts/spinner/index.d.ts +0 -5
  1018. package/dist/dts/spinner/spinner.d.ts +0 -25
  1019. package/dist/dts/spinner/spinner.options.d.ts +0 -32
  1020. package/dist/dts/spinner/spinner.template.d.ts +0 -5
  1021. package/dist/dts/styles/partials/index.d.ts +0 -1
  1022. package/dist/dts/switch/index.d.ts +0 -5
  1023. package/dist/dts/switch/switch.d.ts +0 -45
  1024. package/dist/dts/switch/switch.form-associated.d.ts +0 -14
  1025. package/dist/dts/switch/switch.options.d.ts +0 -15
  1026. package/dist/dts/switch/switch.template.d.ts +0 -4
  1027. package/dist/dts/tab/index.d.ts +0 -4
  1028. package/dist/dts/tab/tab.d.ts +0 -23
  1029. package/dist/dts/tab/tab.template.d.ts +0 -4
  1030. package/dist/dts/tab-panel/index.d.ts +0 -4
  1031. package/dist/dts/tab-panel/tab-panel.d.ts +0 -3
  1032. package/dist/dts/tab-panel/tab-panel.definition.d.ts +0 -2
  1033. package/dist/dts/tab-panel/tab-panel.template.d.ts +0 -4
  1034. package/dist/dts/tabs/index.d.ts +0 -5
  1035. package/dist/dts/tabs/tabs.d.ts +0 -173
  1036. package/dist/dts/tabs/tabs.definition.d.ts +0 -2
  1037. package/dist/dts/tabs/tabs.options.d.ts +0 -32
  1038. package/dist/dts/tabs/tabs.template.d.ts +0 -5
  1039. package/dist/dts/text/index.d.ts +0 -5
  1040. package/dist/dts/text/text.d.ts +0 -91
  1041. package/dist/dts/text/text.options.d.ts +0 -67
  1042. package/dist/dts/text/text.template.d.ts +0 -6
  1043. package/dist/dts/text-input/index.d.ts +0 -5
  1044. package/dist/dts/text-input/text-field.form-associated.d.ts +0 -14
  1045. package/dist/dts/text-input/text-input.d.ts +0 -154
  1046. package/dist/dts/text-input/text-input.definition.d.ts +0 -10
  1047. package/dist/dts/text-input/text-input.options.d.ts +0 -61
  1048. package/dist/dts/text-input/text-input.styles.d.ts +0 -4
  1049. package/dist/dts/text-input/text-input.template.d.ts +0 -7
  1050. package/dist/dts/theme/design-tokens.d.ts +0 -384
  1051. package/dist/dts/theme/index.d.ts +0 -2
  1052. package/dist/dts/theme/set-theme.d.ts +0 -7
  1053. package/dist/dts/toggle-button/index.d.ts +0 -5
  1054. package/dist/dts/toggle-button/toggle-button.d.ts +0 -51
  1055. package/dist/dts/toggle-button/toggle-button.options.d.ts +0 -47
  1056. package/dist/dts/toggle-button/toggle-button.template.d.ts +0 -7
  1057. package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +0 -124
  1058. package/dist/dts/utils/display.d.ts +0 -17
  1059. package/dist/dts/utils/index.d.ts +0 -6
  1060. package/dist/dts/utils/template-helpers.d.ts +0 -16
  1061. package/dist/dts/utils/typings.d.ts +0 -6
  1062. package/dist/esm/checkbox/checkbox.form-associated.js +0 -14
  1063. package/dist/esm/checkbox/checkbox.form-associated.js.map +0 -1
  1064. package/dist/esm/form-associated/form-associated.js +0 -458
  1065. package/dist/esm/form-associated/form-associated.js.map +0 -1
  1066. package/dist/esm/helpers.tests.js +0 -29
  1067. package/dist/esm/helpers.tests.js.map +0 -1
  1068. package/dist/esm/progress-bar/base-progress.js +0 -61
  1069. package/dist/esm/progress-bar/base-progress.js.map +0 -1
  1070. package/dist/esm/progress-ring/progress-ring.js +0 -16
  1071. package/dist/esm/progress-ring/progress-ring.js.map +0 -1
  1072. package/dist/esm/progress-ring/progress-ring.options.js +0 -2
  1073. package/dist/esm/progress-ring/progress-ring.options.js.map +0 -1
  1074. package/dist/esm/radio/radio.form-associated.js +0 -14
  1075. package/dist/esm/radio/radio.form-associated.js.map +0 -1
  1076. package/dist/esm/slider/slider.form-associated.js +0 -14
  1077. package/dist/esm/slider/slider.form-associated.js.map +0 -1
  1078. package/dist/esm/switch/switch.form-associated.js +0 -14
  1079. package/dist/esm/switch/switch.form-associated.js.map +0 -1
  1080. package/dist/esm/text-input/text-field.form-associated.js +0 -14
  1081. package/dist/esm/text-input/text-field.form-associated.js.map +0 -1
  1082. package/dist/fluent-web-components.api.json +0 -27852
  1083. package/dist/storybook/108.78b731e00015540915a8.manager.bundle.js +0 -1
  1084. package/dist/storybook/108.b31ec3a1.iframe.bundle.js +0 -1
  1085. package/dist/storybook/289.703b1698.iframe.bundle.js +0 -2
  1086. package/dist/storybook/289.703b1698.iframe.bundle.js.LICENSE.txt +0 -51
  1087. package/dist/storybook/316.bc4aabd3.iframe.bundle.js +0 -2
  1088. package/dist/storybook/316.bc4aabd3.iframe.bundle.js.LICENSE.txt +0 -17
  1089. package/dist/storybook/401.7edec720.iframe.bundle.js +0 -2
  1090. package/dist/storybook/401.7edec720.iframe.bundle.js.LICENSE.txt +0 -12
  1091. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js +0 -2
  1092. package/dist/storybook/401.c9bdfaf0dda8b194127f.manager.bundle.js.LICENSE.txt +0 -12
  1093. package/dist/storybook/491.77b24750.iframe.bundle.js +0 -1
  1094. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js +0 -2
  1095. package/dist/storybook/591.f5bf0d78d2f203de19f5.manager.bundle.js.LICENSE.txt +0 -94
  1096. package/dist/storybook/709.22096ad4.iframe.bundle.js +0 -2
  1097. package/dist/storybook/709.22096ad4.iframe.bundle.js.LICENSE.txt +0 -8
  1098. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js +0 -2
  1099. package/dist/storybook/709.b131e33993a6b94d7ad8.manager.bundle.js.LICENSE.txt +0 -8
  1100. package/dist/storybook/721.46fa9f53.iframe.bundle.js +0 -2
  1101. package/dist/storybook/721.46fa9f53.iframe.bundle.js.LICENSE.txt +0 -31
  1102. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js +0 -2
  1103. package/dist/storybook/721.c225c101a0a55a8f98eb.manager.bundle.js.LICENSE.txt +0 -31
  1104. package/dist/storybook/858.da40ed98.iframe.bundle.js +0 -1
  1105. package/dist/storybook/858.e08e25a6901d2e21e9d8.manager.bundle.js +0 -1
  1106. package/dist/storybook/950.674e7934b4a26a022608.manager.bundle.js +0 -1
  1107. package/dist/storybook/954.630c5748.iframe.bundle.js +0 -1
  1108. package/dist/storybook/954.7f985e2fdf9f15a7748b.manager.bundle.js +0 -1
  1109. package/dist/storybook/SegoeUI-VF.ttf +0 -0
  1110. package/dist/storybook/favicon.ico +0 -0
  1111. package/dist/storybook/favicon.png +0 -0
  1112. package/dist/storybook/iframe.html +0 -364
  1113. package/dist/storybook/index.html +0 -165
  1114. package/dist/storybook/main.5d7b916dc1e37293b1d8.manager.bundle.js +0 -1
  1115. package/dist/storybook/main.e73a6496.iframe.bundle.js +0 -2
  1116. package/dist/storybook/main.e73a6496.iframe.bundle.js.LICENSE.txt +0 -1
  1117. package/dist/storybook/project.json +0 -1
  1118. package/dist/storybook/runtime~main.5d918fe7.iframe.bundle.js +0 -1
  1119. package/dist/storybook/runtime~main.dbf00b470fe610082919.manager.bundle.js +0 -1
  1120. package/dist/storybook/shell.css +0 -83
  1121. package/dist/storybook/theme-switch.ts +0 -13
  1122. package/docs/api-report.md +0 -2999
  1123. package/playwright.config.ts +0 -24
  1124. package/tensile.config.js +0 -22
  1125. /package/dist/{dts → esm}/accordion/accordion.definition.d.ts +0 -0
  1126. /package/dist/{dts → esm}/accordion/accordion.styles.d.ts +0 -0
  1127. /package/dist/{dts → esm}/accordion/define.d.ts +0 -0
  1128. /package/dist/{dts → esm}/accordion-item/accordion-item.definition.d.ts +0 -0
  1129. /package/dist/{dts → esm}/accordion-item/accordion-item.styles.d.ts +0 -0
  1130. /package/dist/{dts → esm}/accordion-item/define.d.ts +0 -0
  1131. /package/dist/{dts → esm}/anchor-button/anchor-button.definition.d.ts +0 -0
  1132. /package/dist/{dts → esm}/anchor-button/anchor-button.styles.d.ts +0 -0
  1133. /package/dist/{dts → esm}/anchor-button/define.d.ts +0 -0
  1134. /package/dist/{dts → esm}/avatar/avatar.definition.d.ts +0 -0
  1135. /package/dist/{dts → esm}/avatar/avatar.styles.d.ts +0 -0
  1136. /package/dist/{dts → esm}/avatar/define.d.ts +0 -0
  1137. /package/dist/{dts → esm}/badge/badge.definition.d.ts +0 -0
  1138. /package/dist/{dts → esm}/badge/badge.styles.d.ts +0 -0
  1139. /package/dist/{dts → esm}/badge/define.d.ts +0 -0
  1140. /package/dist/{dts → esm}/button/button.definition.d.ts +0 -0
  1141. /package/dist/{dts → esm}/button/define.d.ts +0 -0
  1142. /package/dist/{dts → esm}/checkbox/checkbox.definition.d.ts +0 -0
  1143. /package/dist/{dts → esm}/checkbox/checkbox.styles.d.ts +0 -0
  1144. /package/dist/{dts → esm}/checkbox/define.d.ts +0 -0
  1145. /package/dist/{dts → esm}/compound-button/compound-button.definition.d.ts +0 -0
  1146. /package/dist/{dts → esm}/compound-button/compound-button.styles.d.ts +0 -0
  1147. /package/dist/{dts → esm}/compound-button/define.d.ts +0 -0
  1148. /package/dist/{dts → esm}/counter-badge/counter-badge.definition.d.ts +0 -0
  1149. /package/dist/{dts → esm}/counter-badge/counter-badge.styles.d.ts +0 -0
  1150. /package/dist/{dts → esm}/counter-badge/define.d.ts +0 -0
  1151. /package/dist/{dts/divider → esm/dialog}/define.d.ts +0 -0
  1152. /package/dist/{dts → esm}/dialog/dialog.definition.d.ts +0 -0
  1153. /package/dist/{dts → esm}/dialog/dialog.styles.d.ts +0 -0
  1154. /package/dist/{dts/dialog → esm/dialog-body}/define.d.ts +0 -0
  1155. /package/dist/{dts/image → esm/divider}/define.d.ts +0 -0
  1156. /package/dist/{dts → esm}/divider/divider.definition.d.ts +0 -0
  1157. /package/dist/{dts → esm}/divider/divider.styles.d.ts +0 -0
  1158. /package/dist/{dts/menu-button → esm/drawer}/define.d.ts +0 -0
  1159. /package/dist/{dts/label → esm/drawer-body}/define.d.ts +0 -0
  1160. /package/dist/{dts/menu-item → esm/dropdown}/define.d.ts +0 -0
  1161. /package/dist/{dts/menu-list → esm/field}/define.d.ts +0 -0
  1162. /package/dist/{dts → esm}/fluent-design-system.d.ts +0 -0
  1163. /package/dist/{dts/menu → esm/image}/define.d.ts +0 -0
  1164. /package/dist/{dts → esm}/image/image.definition.d.ts +0 -0
  1165. /package/dist/{dts → esm}/image/image.styles.d.ts +0 -0
  1166. /package/dist/{dts/progress-bar → esm/label}/define.d.ts +0 -0
  1167. /package/dist/{dts → esm}/label/label.definition.d.ts +0 -0
  1168. /package/dist/{dts → esm}/label/label.styles.d.ts +0 -0
  1169. /package/dist/{dts/radio-group → esm/link}/define.d.ts +0 -0
  1170. /package/dist/{dts/spinner/spinner.styles.d.ts → esm/link/link.styles.d.ts} +0 -0
  1171. /package/dist/{dts/radio → esm/listbox}/define.d.ts +0 -0
  1172. /package/dist/{dts/tab-panel → esm/menu}/define.d.ts +0 -0
  1173. /package/dist/{dts → esm}/menu/menu.definition.d.ts +0 -0
  1174. /package/dist/{dts → esm}/menu/menu.styles.d.ts +0 -0
  1175. /package/dist/{dts/slider → esm/menu-button}/define.d.ts +0 -0
  1176. /package/dist/{dts → esm}/menu-button/menu-button.definition.d.ts +0 -0
  1177. /package/dist/{dts/spinner → esm/menu-item}/define.d.ts +0 -0
  1178. /package/dist/{dts → esm}/menu-item/menu-item.definition.d.ts +0 -0
  1179. /package/dist/{dts → esm}/menu-item/menu-item.styles.d.ts +0 -0
  1180. /package/dist/{dts → esm}/menu-item/menu-item.template.d.ts +0 -0
  1181. /package/dist/{dts/switch → esm/menu-list}/define.d.ts +0 -0
  1182. /package/dist/{dts → esm}/menu-list/menu-list.definition.d.ts +0 -0
  1183. /package/dist/{dts → esm}/menu-list/menu-list.styles.d.ts +0 -0
  1184. /package/dist/{dts/tab → esm/message-bar}/define.d.ts +0 -0
  1185. /package/dist/{dts/tabs → esm/option}/define.d.ts +0 -0
  1186. /package/dist/{dts → esm}/patterns/aria-globals.d.ts +0 -0
  1187. /package/dist/{dts → esm}/patterns/index.d.ts +0 -0
  1188. /package/dist/{dts/text-input → esm/progress-bar}/define.d.ts +0 -0
  1189. /package/dist/{dts → esm}/progress-bar/progress-bar.definition.d.ts +0 -0
  1190. /package/dist/{dts → esm}/progress-bar/progress-bar.styles.d.ts +0 -0
  1191. /package/dist/{dts/toggle-button → esm/radio}/define.d.ts +0 -0
  1192. /package/dist/{dts → esm}/radio/radio.definition.d.ts +0 -0
  1193. /package/dist/{dts/text → esm/radio-group}/define.d.ts +0 -0
  1194. /package/dist/{dts → esm}/radio-group/radio-group.definition.d.ts +0 -0
  1195. /package/dist/{dts → esm}/radio-group/radio-group.styles.d.ts +0 -0
  1196. /package/dist/{dts → esm}/slider/slider-utilities.d.ts +0 -0
  1197. /package/dist/{dts → esm}/slider/slider.definition.d.ts +0 -0
  1198. /package/dist/{dts → esm}/slider/slider.styles.d.ts +0 -0
  1199. /package/dist/{dts → esm}/spinner/spinner.definition.d.ts +0 -0
  1200. /package/dist/{dts/switch/switch.styles.d.ts → esm/spinner/spinner.styles.d.ts} +0 -0
  1201. /package/dist/{dts → esm}/styles/index.d.ts +0 -0
  1202. /package/dist/{dts → esm}/styles/partials/badge.partials.d.ts +0 -0
  1203. /package/dist/{dts → esm}/switch/switch.definition.d.ts +0 -0
  1204. /package/dist/{dts/tab-panel/tab-panel.styles.d.ts → esm/switch/switch.styles.d.ts} +0 -0
  1205. /package/dist/{dts → esm}/tab/tab.definition.d.ts +0 -0
  1206. /package/dist/{dts/tabs/tabs.styles.d.ts → esm/tab/tab.styles.d.ts} +0 -0
  1207. /package/dist/{dts/tab/tab.styles.d.ts → esm/tab-panel/tab-panel.styles.d.ts} +0 -0
  1208. /package/dist/{dts → esm}/text/text.definition.d.ts +0 -0
  1209. /package/dist/{dts → esm}/text/text.styles.d.ts +0 -0
  1210. /package/dist/{dts → esm}/toggle-button/toggle-button.definition.d.ts +0 -0
  1211. /package/dist/{dts → esm}/toggle-button/toggle-button.styles.d.ts +0 -0
  1212. /package/dist/{dts → esm}/utils/apply-mixins.d.ts +0 -0
  1213. /package/dist/{dts → esm}/utils/benchmark-dependencies/tokens.d.ts +0 -0
  1214. /package/dist/{dts → esm}/utils/benchmark-wrapper.d.ts +0 -0
  1215. /package/dist/{dts → esm}/utils/direction.d.ts +0 -0
  1216. /package/dist/{dts → esm}/utils/get-initials.d.ts +0 -0
  1217. /package/dist/{dts → esm}/utils/whitespace-filter.d.ts +0 -0
@@ -1,32 +1,64 @@
1
- let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-kernel");else{const t=document.getElementsByTagName("script");e=t[t.length-1].getAttribute("fast-kernel")}}catch(qu){e="isolate"}let t;switch(e){case"share":t=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":t=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const e="-"+Math.random().toString(36).substring(2,8);t=Object.freeze({updateQueue:"1.2"+e,observable:"2.2"+e,contextEvent:"3.2"+e,elementRegistry:"4.2"+e})}const o=e=>"function"==typeof e,r=e=>"string"==typeof e,a=()=>{};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(){if("undefined"==typeof globalThis)if(void 0!==n)n.globalThis=n;else if("undefined"!=typeof self)self.globalThis=self;else if("undefined"!=typeof window)window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}}();const i={configurable:!1,enumerable:!1,writable:!1};void 0===globalThis.FAST&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},i));const s=globalThis.FAST;if(void 0===s.getById){const e=Object.create(null);Reflect.defineProperty(s,"getById",Object.assign({value(t,o){let r=e[t];return void 0===r&&(r=o?e[t]=o():null),r}},i))}void 0===s.error&&Object.assign(s,{warn(){},error:e=>new Error("Error "+e),addMessages(){}});const l=Object.freeze([]);function c(){const e=new Map;return Object.freeze({register:t=>!e.has(t.type)&&(e.set(t.type,t),!0),getByType:t=>e.get(t),getForInstance(t){if(null!=t)return e.get(t.constructor)}})}function d(){const e=new WeakMap;return function(t){let o=e.get(t);if(void 0===o){let r=Reflect.getPrototypeOf(t);for(;void 0===o&&null!==r;)o=e.get(r),r=Reflect.getPrototypeOf(r);o=void 0===o?[]:o.slice(0),e.set(t,o)}return o}}function u(e){e.prototype.toJSON=a}const h=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),p=e=>e,g=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:p}):{createHTML:p};let v=Object.freeze({createHTML:e=>g.createHTML(e),protect:(e,t,o,r)=>r});const b=v,m=Object.freeze({get policy(){return v},setPolicy(e){if(v!==b)throw s.error(1201);v=e},setAttribute(e,t,o){null==o?e.removeAttribute(t):e.setAttribute(t,o)},setBooleanAttribute(e,t,o){o?e.setAttribute(t,""):e.removeAttribute(t)}}),f=s.getById(t.updateQueue,()=>{const e=[],t=[],o=globalThis.requestAnimationFrame;let r=!0;function a(){if(t.length)throw t.shift()}function n(o){try{o.call()}catch(o){if(!r)throw e.length=0,o;t.push(o),setTimeout(a,0)}}function i(){let t=0;for(;t<e.length;)if(n(e[t]),t++,t>1024){for(let o=0,r=e.length-t;o<r;o++)e[o]=e[o+t];e.length-=t,t=0}e.length=0}function s(t){e.push(t),e.length<2&&(r?o(i):i())}return Object.freeze({enqueue:s,next:()=>new Promise(s),process:i,setMode:e=>r=e})});class k{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return void 0===this.spillover?this.sub1===e||this.sub2===e:-1!==this.spillover.indexOf(e)}subscribe(e){const t=this.spillover;if(void 0===t){if(this.has(e))return;if(void 0===this.sub1)return void(this.sub1=e);if(void 0===this.sub2)return void(this.sub2=e);this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else{-1===t.indexOf(e)&&t.push(e)}}unsubscribe(e){const t=this.spillover;if(void 0===t)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const o=t.indexOf(e);-1!==o&&t.splice(o,1)}}notify(e){const t=this.spillover,o=this.subject;if(void 0===t){const t=this.sub1,r=this.sub2;void 0!==t&&t.handleChange(o,e),void 0!==r&&r.handleChange(o,e)}else for(let r=0,a=t.length;r<a;++r)t[r].handleChange(o,e)}}class y{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,o;null===(t=this.subscribers[e])||void 0===t||t.notify(e),null===(o=this.subjectSubscribers)||void 0===o||o.notify(e)}subscribe(e,t){var o,r;let a;a=t?null!==(o=this.subscribers[t])&&void 0!==o?o:this.subscribers[t]=new k(this.subject):null!==(r=this.subjectSubscribers)&&void 0!==r?r:this.subjectSubscribers=new k(this.subject),a.subscribe(e)}unsubscribe(e,t){var o,r;t?null===(o=this.subscribers[t])||void 0===o||o.unsubscribe(e):null===(r=this.subjectSubscribers)||void 0===r||r.unsubscribe(e)}}const x=Object.freeze({unknown:void 0,coupled:1}),$=s.getById(t.observable,()=>{const e=f.enqueue,t=/(:|&&|\|\||if|\?\.)/,a=new WeakMap;let n=void 0,i=e=>{throw s.error(1101)};function l(e){var t;let o=null!==(t=e.$fastController)&&void 0!==t?t:a.get(e);return void 0===o&&(Array.isArray(e)?o=i(e):a.set(e,o=new y(e))),o}const c=d();class h{constructor(e){this.name=e,this.field="_"+e,this.callback=e+"Changed"}getValue(e){return void 0!==n&&n.watch(e,this.name),e[this.field]}setValue(e,t){const r=this.field,a=e[r];if(a!==t){e[r]=t;const n=e[this.callback];o(n)&&n.call(e,a,t),l(e).notify(this.name)}}}class p extends k{constructor(e,t,o=!1){super(e,t),this.expression=e,this.isVolatileBinding=o,this.needsRefresh=!0,this.needsQueue=!0,this.isAsync=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}setMode(e){this.isAsync=this.needsQueue=e}bind(e){this.controller=e;const t=this.observe(e.source,e.context);return!e.isBound&&this.requiresUnbind(e)&&e.onUnbind(this),t}requiresUnbind(e){return e.sourceLifetime!==x.coupled||this.first!==this.last||this.first.propertySource!==e.source}unbind(e){this.dispose()}observe(e,t){this.needsRefresh&&null!==this.last&&this.dispose();const o=n;let r;n=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;try{r=this.expression(e,t)}finally{n=o}return r}disconnect(){this.dispose()}dispose(){if(null!==this.last){let e=this.first;for(;void 0!==e;)e.notifier.unsubscribe(this,e.propertyName),e=e.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(e,t){const o=this.last,r=l(e),a=null===o?this.first:{};if(a.propertySource=e,a.propertyName=t,a.notifier=r,r.subscribe(this,t),null!==o){if(!this.needsRefresh){let t;n=void 0,t=o.propertySource[o.propertyName],n=this,e===t&&(this.needsRefresh=!0)}o.next=a}this.last=a}handleChange(){this.needsQueue?(this.needsQueue=!1,e(this)):this.isAsync||this.call()}call(){null!==this.last&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let e=this.first;for(;void 0!==e;)yield e,e=e.next}}return u(p),Object.freeze({setArrayObserverFactory(e){i=e},getNotifier:l,track(e,t){n&&n.watch(e,t)},trackVolatile(){n&&(n.needsRefresh=!0)},notify(e,t){l(e).notify(t)},defineProperty(e,t){r(t)&&(t=new h(t)),c(e).push(t),Reflect.defineProperty(e,t.name,{enumerable:!0,get(){return t.getValue(this)},set(e){t.setValue(this,e)}})},getAccessors:c,binding(e,t,o=this.isVolatileBinding(e)){return new p(e,t,o)},isVolatileBinding:e=>t.test(e.toString())})});function B(e,t){$.defineProperty(e,t)}const w=s.getById(t.contextEvent,()=>{let e=null;return{get:()=>e,set(t){e=t}}}),P=Object.freeze({default:{index:0,length:0,get event(){return P.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent:()=>w.get(),setEvent(e){w.set(e)}});class S{constructor(e,t,o=!1){this.evaluate=e,this.policy=t,this.isVolatile=o}}class F extends S{createObserver(e){return $.binding(this.evaluate,e,this.isVolatile)}}function C(e,t,o=$.isVolatileBinding(e)){return new F(e,t,o)}class N extends S{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}function I(e,t){return new N(e,t)}let A;u(N);class T{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(e=>e instanceof T?e.behaviors:null).reduce((e,t)=>null===t?e:null===e?t:e.concat(t),null)}get strategy(){return null===this._strategy&&this.withStrategy(A),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 T?e(t.styles):[t]).reduce((e,t)=>e.concat(t),[])}(this.styles)),this}static setDefaultStrategy(e){A=e}static normalize(e){return void 0===e?void 0:Array.isArray(e)?new T(e):e instanceof T?e:new T([e])}}T.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const z=c(),L=Object.freeze({getForInstance:z.getForInstance,getByType:z.getByType,define:e=>(z.register({type:e}),e)});function O(e,t,o){t.source.style.setProperty(e.targetAspect,o.bind(t))}class H{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const o=e.source;if(!o.$cssBindings){o.$cssBindings=new Map;const e=o.setAttribute;o.setAttribute=(t,r)=>{e.call(o,t,r),"style"===t&&o.$cssBindings.forEach((e,t)=>O(t,e.controller,e.observer))}}const r=null!==(t=e[this.targetAspect])&&void 0!==t?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){O(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){O(this,t.controller,t)}}L.define(H);const D=""+Math.random().toString(36).substring(2,8);let E=0;const M=()=>`--v${D}${++E}`;function R(e,t){const r=[];let a="";const n=[],i=e=>{n.push(e)};for(let n=0,s=e.length-1;n<s;++n){a+=e[n];let s=t[n];o(s)?s=new H(C(s),M()).createCSS(i):s instanceof S?s=new H(s,M()).createCSS(i):void 0!==L.getForInstance(s)&&(s=s.createCSS(i)),s instanceof T||s instanceof CSSStyleSheet?(""!==a.trim()&&(r.push(a),a=""),r.push(s)):a+=s}return a+=e[e.length-1],""!==a.trim()&&r.push(a),{styles:r,behaviors:n}}const j=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t),a=new T(o);return r.length?a.withBehaviors(...r):a};class V{constructor(e,t){this.behaviors=t,this.css="";const o=e.reduce((e,t)=>(r(t)?this.css+=t:e.push(t),e),[]);o.length&&(this.styles=new T(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)}}L.define(V),j.partial=(e,...t)=>{const{styles:o,behaviors:r}=R(e,t);return new V(o,r)};const _="fast-"+Math.random().toString(36).substring(2,8),G=_+"{",X="}"+_,q=X.length;let W=0;const Y=()=>`${_}-${++W}`,K=Object.freeze({interpolation:e=>`${G}${e}${X}`,attribute:e=>`${Y()}="${G}${e}${X}"`,comment:e=>`\x3c!--${G}${e}${X}--\x3e`}),U=Object.freeze({parse(e,t){const o=e.split(G);if(1===o.length)return null;const r=[];for(let e=0,a=o.length;e<a;++e){const a=o[e],n=a.indexOf(X);let i;if(-1===n)i=a;else{const e=a.substring(0,n);r.push(t[e]),i=a.substring(n+q)}""!==i&&r.push(i)}return r}}),Q=c(),Z=Object.freeze({getForInstance:Q.getForInstance,getByType:Q.getByType,define:(e,t)=>((t=t||{}).type=e,Q.register(t),e),assignAspect(e,t){if(t)switch(e.sourceAspect=t,t[0]){case":":e.targetAspect=t.substring(1),e.aspectType="classList"===e.targetAspect?h.tokenList:h.property;break;case"?":e.targetAspect=t.substring(1),e.aspectType=h.booleanAttribute;break;case"@":e.targetAspect=t.substring(1),e.aspectType=h.event;break;default:e.targetAspect=t,e.aspectType=h.attribute}else e.aspectType=h.content}});class J{constructor(e){this.options=e}createHTML(e){return K.attribute(e(this))}createBehavior(){return this}}u(J);const ee={[h.attribute]:m.setAttribute,[h.booleanAttribute]:m.setBooleanAttribute,[h.property]:(e,t,o)=>e[t]=o,[h.content]:function(e,t,o,r){if(null==o&&(o=""),o.create){e.textContent="";let t=e.$fastView;void 0===t?t=o.create():e.$fastTemplate!==o&&(t.isComposed&&(t.remove(),t.unbind()),t=o.create()),t.isComposed?t.needsBindOnly&&(t.needsBindOnly=!1,t.bind(r.source,r.context)):(t.isComposed=!0,t.bind(r.source,r.context),t.insertBefore(e),e.$fastView=t,e.$fastTemplate=o)}else{const t=e.$fastView;void 0!==t&&t.isComposed&&(t.isComposed=!1,t.remove(),t.needsBindOnly?t.needsBindOnly=!1:t.unbind()),e.textContent=o}},[h.tokenList]:function(e,t,o){var r;const a=this.id+"-t",n=null!==(r=e[a])&&void 0!==r?r:e[a]={v:0,cv:Object.create(null)},i=n.cv;let s=n.v;const l=e[t];if(null!=o&&o.length){const e=o.split(/\s+/);for(let t=0,o=e.length;t<o;++t){const o=e[t];""!==o&&(i[o]=s,l.add(o))}}if(n.v=s+1,0!==s){s-=1;for(const e in i)i[e]===s&&l.remove(e)}},[h.event]:()=>{}};class te{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=h.content}createHTML(e){return K.interpolation(e(this))}createBehavior(){var e;if(null===this.updateTarget){const t=ee[this.aspectType],o=null!==(e=this.dataBinding.policy)&&void 0!==e?e:this.policy;if(!t)throw s.error(1205);this.data=this.id+"-d",this.updateTarget=o.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const o=e.targets[this.targetNodeId];switch(this.aspectType){case h.event:o[this.data]=e,o.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case h.content:e.onUnbind(this);default:const r=null!==(t=o[this.data])&&void 0!==t?t:o[this.data]=this.dataBinding.createObserver(this,this);r.target=o,r.controller=e,this.updateTarget(o,this.targetAspect,r.bind(e),e)}}unbind(e){const t=e.targets[this.targetNodeId].$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){P.setEvent(e);const o=this.dataBinding.evaluate(t.source,t.context);P.setEvent(null),!0!==o&&e.preventDefault()}}handleChange(e,t){const o=t.target,r=t.controller;this.updateTarget(o,this.targetAspect,t.bind(r),r)}}function oe(e,t){const o=e.parentNode;let r,a=e;for(;a!==t;)r=a.nextSibling,o.removeChild(a),a=r;o.removeChild(t)}Z.define(te,{aspected:!0});class re{constructor(e,t,o){this.fragment=e,this.factories=t,this.targets=o,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=x.unknown,this.context=this,this.index=0,this.length=0,this.firstChild=e.firstChild,this.lastChild=e.lastChild}get event(){return P.getEvent()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}eventDetail(){return this.event.detail}eventTarget(){return this.event.target}appendTo(e){e.appendChild(this.fragment)}insertBefore(e){if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const o=e.parentNode;let r,a=this.firstChild;for(;a!==t;)r=a.nextSibling,o.insertBefore(a,e),a=r;o.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let o,r=this.firstChild;for(;r!==t;)o=r.nextSibling,e.appendChild(r),r=o;e.appendChild(t)}dispose(){oe(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let o=this.behaviors;if(null===o){this.source=e,this.context=t,this.behaviors=o=new Array(this.factories.length);const r=this.factories;for(let e=0,t=r.length;e<t;++e){const t=r[e].createBehavior();t.bind(this),o[e]=t}}else{null!==this.source&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let e=0,t=o.length;e<t;++e)o[e].bind(this)}this.isBound=!0}unbind(){this.isBound&&null!==this.source&&(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,o=e.length;t<o;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(0!==e.length){oe(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,o=e.length;t<o;++t)e[t].unbind()}}}u(re),$.defineProperty(re.prototype,"index"),$.defineProperty(re.prototype,"length");const ae=(e,t)=>`${e}.${t}`,ne={},ie={index:0,node:null};function se(e){e.startsWith("fast-")||s.warn(1204,{name:e})}const le=new Proxy(document.createElement("div"),{get(e,t){se(t);const r=Reflect.get(e,t);return o(r)?r.bind(e):r},set:(e,t,o)=>(se(t),Reflect.set(e,t,o))});class ce{constructor(e,t,o){this.fragment=e,this.directives=t,this.policy=o,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,o,r,a){var n,i;this.nodeIds.has(o)||(this.nodeIds.add(o),this.addTargetDescriptor(t,o,r)),e.id=null!==(n=e.id)&&void 0!==n?n:Y(),e.targetNodeId=o,e.targetTagName=a,e.policy=null!==(i=e.policy)&&void 0!==i?i:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,o){const r=this.descriptors;if("r"===t||"h"===t||r[t])return;if(!r[e]){const t=e.lastIndexOf("."),o=e.substring(0,t),r=parseInt(e.substring(t+1));this.addTargetDescriptor(o,e,r)}let a=ne[t];if(!a){const r="_"+t;ne[t]=a={get(){var t;return null!==(t=this[r])&&void 0!==t?t:this[r]=this[e].childNodes[o]}}}r[t]=a}createView(e){const t=this.fragment.cloneNode(!0),o=Object.create(this.proto);o.r=t,o.h=null!=e?e:le;for(const e of this.nodeIds)o[e];return new re(t,this.factories,o)}}function de(e,t,o,r,a,n=!1){const i=o.attributes,s=e.directives;for(let l=0,c=i.length;l<c;++l){const d=i[l],u=d.value,h=U.parse(u,s);let p=null;null===h?n&&(p=new te(I(()=>u,e.policy)),Z.assignAspect(p,d.name)):p=pe.aggregate(h,e.policy),null!==p&&(o.removeAttributeNode(d),l--,c--,e.addFactory(p,t,r,a,o.tagName))}}function ue(e,t,o){let r=0,a=t.firstChild;for(;a;){const t=he(e,o,a,r);a=t.node,r=t.index}}function he(e,t,o,a){const n=ae(t,a);switch(o.nodeType){case 1:de(e,t,o,n,a),ue(e,o,n);break;case 3:return function(e,t,o,a,n){const i=U.parse(t.textContent,e.directives);if(null===i)return ie.node=t.nextSibling,ie.index=n+1,ie;let s,l=s=t;for(let t=0,c=i.length;t<c;++t){const c=i[t];0!==t&&(n++,a=ae(o,n),s=l.parentNode.insertBefore(document.createTextNode(""),l.nextSibling)),r(c)?s.textContent=c:(s.textContent=" ",Z.assignAspect(c),e.addFactory(c,o,a,n,null)),l=s}return ie.index=n+1,ie.node=l.nextSibling,ie}(e,o,t,n,a);case 8:const i=U.parse(o.data,e.directives);null!==i&&e.addFactory(pe.aggregate(i),t,n,a,null)}return ie.index=a+1,ie.node=o.nextSibling,ie}const pe={compile(e,t,o=m.policy){let a;if(r(e)){a=document.createElement("TEMPLATE"),a.innerHTML=o.createHTML(e);const t=a.content.firstElementChild;null!==t&&"TEMPLATE"===t.tagName&&(a=t)}else a=e;a.content.firstChild||a.content.lastChild||a.content.appendChild(document.createComment(""));const n=document.adoptNode(a.content),i=new ce(n,t,o);var s,l;return de(i,"",a,"h",0,!0),s=n.firstChild,l=t,(s&&8==s.nodeType&&null!==U.parse(s.data,l)||1===n.childNodes.length&&Object.keys(t).length>0)&&n.insertBefore(document.createComment(""),n.firstChild),ue(i,n,"r"),ie.node=null,i.freeze()},setDefaultStrategy(e){this.compile=e},aggregate(e,t=m.policy){if(1===e.length)return e[0];let o,a,n=!1,i=void 0;const s=e.length,l=e.map(e=>r(e)?()=>e:(o=e.sourceAspect||o,a=e.dataBinding||a,n=n||e.dataBinding.isVolatile,i=i||e.dataBinding.policy,e.dataBinding.evaluate));a.evaluate=(e,t)=>{let o="";for(let r=0;r<s;++r)o+=l[r](e,t);return o},a.isVolatile=n,a.policy=null!=i?i:t;const c=new te(a);return Z.assignAspect(c,o),c}},ge=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,ve=Object.create(null);class be{constructor(e,t=ve){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const o in t)e(t[o]);return this.html}}function me(e,t,o,r=Z.getForInstance(e)){if(r.aspected){const o=ge.exec(t);null!==o&&Z.assignAspect(e,o[2])}return e.createHTML(o)}be.empty=new be(""),Z.define(be);class fe{constructor(e,t={},o){this.policy=o,this.result=null,this.html=e,this.factories=t}create(e){return null===this.result&&(this.result=pe.compile(this.html,this.factories,this.policy)),this.result.createView(e)}inline(){return new be(r(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw s.error(1208);if(this.policy)throw s.error(1207);return this.policy=e,this}render(e,t,o){const r=this.create(o);return r.bind(e),r.appendTo(t),r}static create(e,t,r){let a="";const n=Object.create(null),i=e=>{var t;const o=null!==(t=e.id)&&void 0!==t?t:e.id=Y();return n[o]=e,o};for(let r=0,n=e.length-1;r<n;++r){const n=e[r];let s,l=t[r];if(a+=n,o(l))l=new te(C(l));else if(l instanceof S)l=new te(l);else if(!(s=Z.getForInstance(l))){const e=l;l=new te(I(()=>e))}a+=me(l,n,i,s)}return new fe(a+e[e.length-1],n,r)}}u(fe);const ke=(e,...t)=>{if(Array.isArray(e)&&Array.isArray(e.raw))return fe.create(e,t);throw s.error(1206)};ke.partial=e=>new be(e);class ye extends J{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Z.define(ye);const xe=e=>new ye(e),$e=()=>null;function Be(e){return void 0===e?$e:o(e)?e:()=>e}function we(e,t,r){const a=o(e)?e:()=>e,n=Be(t),i=Be(r);return(e,t)=>a(e,t)?n(e,t):i(e,t)}const Pe=e=>1===e.nodeType,Se=e=>e?t=>1===t.nodeType&&t.matches(e):Pe;class Fe extends J{get id(){return this._id}set id(e){this._id=e,this._controllerProperty=e+"-c"}bind(e){const t=e.targets[this.targetNodeId];t[this._controllerProperty]=e,this.updateTarget(e.source,this.computeNodes(t)),this.observe(t),e.onUnbind(this)}unbind(e){const t=e.targets[this.targetNodeId];this.updateTarget(e.source,l),this.disconnect(t),t[this._controllerProperty]=null}getSource(e){return e[this._controllerProperty].source}updateTarget(e,t){e[this.options.property]=t}computeNodes(e){let t=this.getNodes(e);return"filter"in this.options&&(t=t.filter(this.options.filter)),t}}class Ce extends Fe{observe(e){e.addEventListener("slotchange",this)}disconnect(e){e.removeEventListener("slotchange",this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}function Ne(e){return r(e)&&(e={property:e}),new Ce(e)}Z.define(Ce);const Ie=Object.freeze({locate:d()}),Ae={toView:e=>e?"true":"false",fromView:e=>null!=e&&"false"!==e&&!1!==e&&0!==e};function Te(e){if(null==e)return null;const t=1*e;return isNaN(t)?null:t}const ze={toView(e){const t=Te(e);return t?t.toString():t},fromView:Te};class Le{constructor(e,t,o=t.toLowerCase(),r="reflect",a){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=o,this.mode=r,this.converter=a,this.fieldName="_"+t,this.callbackName=t+"Changed",this.hasCallback=this.callbackName in e.prototype,"boolean"===r&&void 0===a&&(this.converter=Ae)}setValue(e,t){const o=e[this.fieldName],r=this.converter;void 0!==r&&(t=r.fromView(t)),o!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](o,t),e.$fastController.notify(this.name))}getValue(e){return $.track(e,this.name),e[this.fieldName]}onAttributeChangedCallback(e,t){this.guards.has(e)||(this.guards.add(e),this.setValue(e,t),this.guards.delete(e))}tryReflectToAttribute(e){const t=this.mode,o=this.guards;o.has(e)||"fromView"===t||f.enqueue(()=>{o.add(e);const r=e[this.fieldName];switch(t){case"reflect":const t=this.converter;m.setAttribute(e,this.attribute,void 0!==t?t.toView(r):r);break;case"boolean":m.setBooleanAttribute(e,this.attribute,r)}o.delete(e)})}static collect(e,...t){const o=[];t.push(Ie.locate(e));for(let a=0,n=t.length;a<n;++a){const n=t[a];if(void 0!==n)for(let t=0,a=n.length;t<a;++t){const a=n[t];r(a)?o.push(new Le(e,a)):o.push(new Le(e,a.property,a.attribute,a.mode,a.converter))}}return o}}function Oe(e,t){let o;function r(e,t){arguments.length>1&&(o.property=t),Ie.locate(e.constructor).push(o)}return arguments.length>1?(o={},void r(e,t)):(o=void 0===e?{}:e,r)}const He={mode:"open"},De={},Ee=new Set,Me=s.getById(t.elementRegistry,()=>c());class Re{constructor(e,t=e.definition){var o;this.platformDefined=!1,r(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=null!==(o=t.registry)&&void 0!==o?o:customElements;const a=e.prototype,n=Le.collect(e,t.attributes),i=new Array(n.length),s={},l={};for(let e=0,t=n.length;e<t;++e){const t=n[e];i[e]=t.attribute,s[t.name]=t,l[t.attribute]=t,$.defineProperty(a,t)}Reflect.defineProperty(e,"observedAttributes",{value:i,enumerable:!0}),this.attributes=n,this.propertyLookup=s,this.attributeLookup=l,this.shadowOptions=void 0===t.shadowOptions?He:null===t.shadowOptions?void 0:Object.assign(Object.assign({},He),t.shadowOptions),this.elementOptions=void 0===t.elementOptions?De:Object.assign(Object.assign({},De),t.elementOptions),this.styles=T.normalize(t.styles),Me.register(this)}get isDefined(){return this.platformDefined}define(e=this.registry){const t=this.type;return e.get(this.name)||(this.platformDefined=!0,e.define(this.name,t,this.elementOptions)),this}static compose(e,t){return Ee.has(e)||Me.getByType(e)?new Re(class extends e{},t):new Re(e,t)}static registerBaseType(e){Ee.add(e)}}Re.getByType=Me.getByType,Re.getForInstance=Me.getForInstance;const je={bubbles:!0,composed:!0,cancelable:!0},Ve=new WeakMap;function _e(e){var t,o;return null!==(o=null!==(t=e.shadowRoot)&&void 0!==t?t:Ve.get(e))&&void 0!==o?o:null}let Ge;class Xe extends y{constructor(e,t){super(e),this.boundObservables=null,this.needsInitialization=!0,this.hasExistingShadowRoot=!1,this._template=null,this.stage=3,this.guardBehaviorConnection=!1,this.behaviors=null,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const o=t.shadowOptions;if(void 0!==o){let t=e.shadowRoot;t?this.hasExistingShadowRoot=!0:(t=e.attachShadow(o),"closed"===o.mode&&Ve.set(e,t))}const r=$.getAccessors(e);if(r.length>0){const t=this.boundObservables=Object.create(null);for(let o=0,a=r.length;o<a;++o){const a=r[o].name,n=e[a];void 0!==n&&(delete e[a],t[a]=n)}}}get isConnected(){return $.track(this,"isConnected"),1===this.stage}get context(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.context)&&void 0!==t?t:P.default}get isBound(){var e,t;return null!==(t=null===(e=this.view)||void 0===e?void 0:e.isBound)&&void 0!==t&&t}get sourceLifetime(){var e;return null===(e=this.view)||void 0===e?void 0:e.sourceLifetime}get template(){var e;if(null===this._template){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=null!==(e=t.template)&&void 0!==e?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(null===this._mainStyles){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=null!==(e=t.styles)&&void 0!==e?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(null!==this._mainStyles&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;null===(t=this.view)||void 0===t||t.onUnbind(e)}addBehavior(e){var t,o;const r=null!==(t=this.behaviors)&&void 0!==t?t:this.behaviors=new Map,a=null!==(o=r.get(e))&&void 0!==o?o:0;0===a?(r.set(e,1),e.addedCallback&&e.addedCallback(this),!e.connectedCallback||this.guardBehaviorConnection||1!==this.stage&&0!==this.stage||e.connectedCallback(this)):r.set(e,a+1)}removeBehavior(e,t=!1){const o=this.behaviors;if(null===o)return;const r=o.get(e);void 0!==r&&(1===r||t?(o.delete(e),e.disconnectedCallback&&3!==this.stage&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):o.set(e,r-1))}addStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:this.source).append(e)}else if(!e.isAttachedTo(o)){const t=e.behaviors;if(e.addStylesTo(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.addBehavior(t[e])}}removeStyles(e){var t;if(!e)return;const o=this.source;if(e instanceof HTMLElement){(null!==(t=_e(o))&&void 0!==t?t:o).removeChild(e)}else if(e.isAttachedTo(o)){const t=e.behaviors;if(e.removeStylesFrom(o),null!==t)for(let e=0,o=t.length;e<o;++e)this.removeBehavior(t[e])}}connect(){if(3!==this.stage)return;if(this.stage=0,null!==this.boundObservables){const e=this.source,t=this.boundObservables,o=Object.keys(t);for(let r=0,a=o.length;r<a;++r){const a=o[r];e[a]=t[a]}this.boundObservables=null}const e=this.behaviors;if(null!==e){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):null!==this.view&&this.view.bind(this.source),this.stage=1,$.notify(this,"isConnected")}disconnect(){if(1!==this.stage)return;this.stage=2,$.notify(this,"isConnected"),null!==this.view&&this.view.unbind();const e=this.behaviors;if(null!==e)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.stage=3}onAttributeChangedCallback(e,t,o){const r=this.definition.attributeLookup[e];void 0!==r&&r.onAttributeChangedCallback(this.source,o)}emit(e,t,o){return 1===this.stage&&this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},je),o)))}renderTemplate(e){var t;const o=this.source,r=null!==(t=_e(o))&&void 0!==t?t:o;if(null!==this.view)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let e=r.firstChild;null!==e;e=r.firstChild)r.removeChild(e)}e&&(this.view=e.render(o,r,o),this.view.sourceLifetime=x.coupled)}static forCustomElement(e){const t=e.$fastController;if(void 0!==t)return t;const o=Re.getForInstance(e);if(void 0===o)throw s.error(1401);return e.$fastController=new Ge(e,o)}static setStrategy(e){Ge=e}}function qe(e){var t;return"adoptedStyleSheets"in e?e:null!==(t=_e(e))&&void 0!==t?t:e.getRootNode()}u(Xe),Xe.setStrategy(Xe);class We{constructor(e){const t=We.styleSheetCache;this.sheets=e.map(e=>{if(e instanceof CSSStyleSheet)return e;let o=t.get(e);return void 0===o&&(o=new CSSStyleSheet,o.replaceSync(e),t.set(e,o)),o})}addStylesTo(e){Qe(qe(e),this.sheets)}removeStylesFrom(e){Ze(qe(e),this.sheets)}}We.styleSheetCache=new Map;let Ye=0;function Ke(e){return e===document?document.body:e}class Ue{constructor(e){this.styles=e,this.styleClass="fast-"+ ++Ye}addStylesTo(e){e=Ke(qe(e));const t=this.styles,o=this.styleClass;for(let r=0;r<t.length;r++){const a=document.createElement("style");a.innerHTML=t[r],a.className=o,e.append(a)}}removeStylesFrom(e){const t=(e=Ke(qe(e))).querySelectorAll("."+this.styleClass);for(let o=0,r=t.length;o<r;++o)e.removeChild(t[o])}}let Qe=(e,t)=>{e.adoptedStyleSheets=[...e.adoptedStyleSheets,...t]},Ze=(e,t)=>{e.adoptedStyleSheets=e.adoptedStyleSheets.filter(e=>-1===t.indexOf(e))};if(T.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qe=(e,t)=>{e.adoptedStyleSheets.push(...t)},Ze=(e,t)=>{for(const o of t){const t=e.adoptedStyleSheets.indexOf(o);-1!==t&&e.adoptedStyleSheets.splice(t,1)}}}catch(qu){}T.setDefaultStrategy(We)}else T.setDefaultStrategy(Ue);function Je(e){const t=class extends e{constructor(){super(),Xe.forCustomElement(this)}$emit(e,t,o){return this.$fastController.emit(e,t,o)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(e,t,o){this.$fastController.onAttributeChangedCallback(e,t,o)}};return Re.registerBaseType(t),t}const et=Object.assign(Je(HTMLElement),{from:function(e){return Je(e)},define:function(e,t){return o(e)?Re.compose(e,t).define().type:Re.compose(this,e).define().type},compose:function(e,t){return o(e)?Re.compose(e,t):Re.compose(this,e)}}),tt={horizontal:"horizontal",vertical:"vertical"};function ot(...e){return e.every(e=>e instanceof HTMLElement)}const rt={ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight",ArrowUp:"ArrowUp"};var at;function nt(e,t,o){return Math.min(Math.max(o,e),t)}!function(e){e.ltr="ltr",e.rtl="rtl"}(at||(at={}));let it=0;function st(e=""){return`${e}${it++}`}var lt=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,dt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ct(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&lt(t,o,n),n};class ut{}dt([Oe({attribute:"aria-atomic"})],ut.prototype,"ariaAtomic",2),dt([Oe({attribute:"aria-busy"})],ut.prototype,"ariaBusy",2),dt([Oe({attribute:"aria-controls"})],ut.prototype,"ariaControls",2),dt([Oe({attribute:"aria-current"})],ut.prototype,"ariaCurrent",2),dt([Oe({attribute:"aria-describedby"})],ut.prototype,"ariaDescribedby",2),dt([Oe({attribute:"aria-details"})],ut.prototype,"ariaDetails",2),dt([Oe({attribute:"aria-disabled"})],ut.prototype,"ariaDisabled",2),dt([Oe({attribute:"aria-errormessage"})],ut.prototype,"ariaErrormessage",2),dt([Oe({attribute:"aria-flowto"})],ut.prototype,"ariaFlowto",2),dt([Oe({attribute:"aria-haspopup"})],ut.prototype,"ariaHaspopup",2),dt([Oe({attribute:"aria-hidden"})],ut.prototype,"ariaHidden",2),dt([Oe({attribute:"aria-invalid"})],ut.prototype,"ariaInvalid",2),dt([Oe({attribute:"aria-keyshortcuts"})],ut.prototype,"ariaKeyshortcuts",2),dt([Oe({attribute:"aria-label"})],ut.prototype,"ariaLabel",2),dt([Oe({attribute:"aria-labelledby"})],ut.prototype,"ariaLabelledby",2),dt([Oe({attribute:"aria-live"})],ut.prototype,"ariaLive",2),dt([Oe({attribute:"aria-owns"})],ut.prototype,"ariaOwns",2),dt([Oe({attribute:"aria-relevant"})],ut.prototype,"ariaRelevant",2),dt([Oe({attribute:"aria-roledescription"})],ut.prototype,"ariaRoledescription",2);const ht=e=>{var t;return"rtl"===(null==(t=e.closest("[dir]"))?void 0:t.dir)?at.rtl:at.ltr};function pt(e){return e?"string"==typeof e?new be(e):"inline"in e?e.inline():e:be.empty}const gt=e=>{var t;return e.nodeType!==Node.TEXT_NODE||!!(null==(t=e.nodeValue)?void 0:t.trim().length)},vt=":host([hidden]){display:none}";function bt(e){return`${vt}:host{display:${e}}`}class mt{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)}}class ft extends mt{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new ft(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 kt=ft.with(window.matchMedia("(forced-colors)")),yt=ft.with(window.matchMedia("(prefers-color-scheme: dark)")),xt=ft.with(window.matchMedia("(prefers-color-scheme: light)"));class $t{}function Bt(e){return ke`<slot name="end" ${xe("end")}>${pt(e.end)}</slot>`.inline()}function wt(e){return ke`<slot name="start" ${xe("start")}>${pt(e.start)}</slot>`.inline()}function Pt(e,...t){const o=Ie.locate(e);t.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(o=>{"constructor"!==o&&Object.defineProperty(e.prototype,o,Object.getOwnPropertyDescriptor(t.prototype,o))});Ie.locate(t).forEach(e=>o.push(e))})}var St=Object.defineProperty,Ft=Object.getOwnPropertyDescriptor,Ct=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ft(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&St(t,o,n),n};class Nt extends et{constructor(){super(...arguments),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=st("accordion-"),this.block=!1,this.clickHandler=e=>{this.disabled||this.$emit("click",e)}}}Ct([Oe({attribute:"heading-level",mode:"fromView",converter:ze})],Nt.prototype,"headinglevel",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"expanded",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"disabled",2),Ct([Oe],Nt.prototype,"id",2),Ct([Oe],Nt.prototype,"size",2),Ct([Oe({mode:"boolean"})],Nt.prototype,"block",2),Ct([Oe({attribute:"expand-icon-position"})],Nt.prototype,"expandIconPosition",2),Pt(Nt,$t);const It="single",At="multi";var Tt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Lt=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?zt(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Tt(t,o,n),n};class Ot extends et{constructor(){super(...arguments),this.expandmode=At,this.activeItemIndex=0,this.change=()=>{this.$emit("change",this.activeid)},this.setItems=()=>{if(0===this.slottedAccordionItems.length)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(e=>$.getNotifier(e).subscribe(this,"disabled")),this.accordionItems=e.filter(e=>!e.hasAttribute("disabled")),this.accordionIds=this.getItemIds(),this.accordionItems.forEach((e,t)=>{e instanceof Nt&&(e.addEventListener("click",this.activeItemChange),e.addEventListener("keydown",this.handleItemKeyDown),e.addEventListener("focus",this.handleItemFocus),$.getNotifier(e).subscribe(this,"expanded"));const o=this.accordionIds[t];e.setAttribute("id","string"!=typeof o?"accordion-"+(t+1):o),this.activeid=this.accordionIds[this.activeItemIndex]}),this.isSingleExpandMode()){const e=this.findExpandedItem();this.setSingleExpandMode(e)}},this.removeItemListeners=e=>{e.forEach((e,t)=>{$.getNotifier(e).unsubscribe(this,"disabled"),$.getNotifier(e).unsubscribe(this,"expanded"),e.removeEventListener("click",this.activeItemChange),e.removeEventListener("keydown",this.handleItemKeyDown),e.removeEventListener("focus",this.handleItemFocus)})},this.activeItemChange=e=>{e.defaultPrevented||e.target!==e.currentTarget||(e.preventDefault(),this.handleExpandedChange(e.target))},this.handleExpandedChange=e=>{e instanceof Nt&&(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!==It?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 Nt&&e.expanded))?e:this.accordionItems[0]}setSingleExpandMode(e){if(0===this.accordionItems.length)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((e,t)=>{e instanceof Nt&&(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===It}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 Nt&&e.expandbutton.focus()}}Lt([Oe({attribute:"expand-mode"})],Ot.prototype,"expandmode",2),Lt([B],Ot.prototype,"slottedAccordionItems",2);const Ht=ke`<template><slot ${Ne({property:"slottedAccordionItems",filter:Se()})}></slot></template>`,Dt=j`
2
- ${bt("flex")}
3
-
4
- :host{flex-direction:column;width:100%;contain:content}`,Et=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements}),Mt=Ot.compose({name:Et.prefix+"-accordion",template:Ht,styles:Dt}),Rt={small:"small",medium:"medium",large:"large",extraLarge:"extra-large"},jt={start:"start",end:"end"},Vt="var(--colorNeutralForeground1)",_t="var(--colorNeutralForeground1Hover)",Gt="var(--colorNeutralForeground1Pressed)",Xt="var(--colorNeutralForeground1Selected)",qt="var(--colorNeutralForeground2)",Wt="var(--colorNeutralForeground2Hover)",Yt="var(--colorNeutralForeground2Pressed)",Kt="var(--colorNeutralForeground2Selected)",Ut="var(--colorNeutralForeground2BrandHover)",Qt="var(--colorNeutralForeground2BrandPressed)",Zt="var(--colorNeutralForeground2BrandSelected)",Jt="var(--colorNeutralForeground3)",eo="var(--colorNeutralForeground3Hover)",to="var(--colorNeutralForeground3Pressed)",oo="var(--colorNeutralForeground3Selected)",ro="var(--colorNeutralForeground3BrandHover)",ao="var(--colorNeutralForeground3BrandPressed)",no="var(--colorNeutralForeground3BrandSelected)",io="var(--colorNeutralForeground4)",so="var(--colorNeutralForegroundDisabled)",lo="var(--colorBrandForegroundLink)",co="var(--colorBrandForegroundLinkHover)",uo="var(--colorBrandForegroundLinkPressed)",ho="var(--colorBrandForegroundLinkSelected)",po="var(--colorNeutralForeground2Link)",go="var(--colorNeutralForeground2LinkHover)",vo="var(--colorNeutralForeground2LinkPressed)",bo="var(--colorNeutralForeground2LinkSelected)",mo="var(--colorCompoundBrandForeground1)",fo="var(--colorCompoundBrandForeground1Hover)",ko="var(--colorCompoundBrandForeground1Pressed)",yo="var(--colorNeutralForegroundOnBrand)",xo="var(--colorNeutralForegroundInverted)",$o="var(--colorNeutralForegroundInvertedHover)",Bo="var(--colorNeutralForegroundInvertedPressed)",wo="var(--colorNeutralForegroundInvertedSelected)",Po="var(--colorNeutralForegroundInverted2)",So="var(--colorNeutralForegroundStaticInverted)",Fo="var(--colorNeutralForegroundInvertedLink)",Co="var(--colorNeutralForegroundInvertedLinkHover)",No="var(--colorNeutralForegroundInvertedLinkPressed)",Io="var(--colorNeutralForegroundInvertedLinkSelected)",Ao="var(--colorNeutralForegroundInvertedDisabled)",To="var(--colorBrandForeground1)",zo="var(--colorBrandForeground2)",Lo="var(--colorNeutralForeground1Static)",Oo="var(--colorBrandForegroundInverted)",Ho="var(--colorBrandForegroundInvertedHover)",Do="var(--colorBrandForegroundInvertedPressed)",Eo="var(--colorBrandForegroundOnLight)",Mo="var(--colorBrandForegroundOnLightHover)",Ro="var(--colorBrandForegroundOnLightPressed)",jo="var(--colorBrandForegroundOnLightSelected)",Vo="var(--colorNeutralBackground1)",_o="var(--colorNeutralBackground1Hover)",Go="var(--colorNeutralBackground1Pressed)",Xo="var(--colorNeutralBackground1Selected)",qo="var(--colorNeutralBackground2)",Wo="var(--colorNeutralBackground2Hover)",Yo="var(--colorNeutralBackground2Pressed)",Ko="var(--colorNeutralBackground2Selected)",Uo="var(--colorNeutralBackground3)",Qo="var(--colorNeutralBackground3Hover)",Zo="var(--colorNeutralBackground3Pressed)",Jo="var(--colorNeutralBackground3Selected)",er="var(--colorNeutralBackground4)",tr="var(--colorNeutralBackground4Hover)",or="var(--colorNeutralBackground4Pressed)",rr="var(--colorNeutralBackground4Selected)",ar="var(--colorNeutralBackground5)",nr="var(--colorNeutralBackground5Hover)",ir="var(--colorNeutralBackground5Pressed)",sr="var(--colorNeutralBackground5Selected)",lr="var(--colorNeutralBackground6)",cr="var(--colorNeutralBackgroundStatic)",dr="var(--colorNeutralBackgroundInverted)",ur="var(--colorSubtleBackground)",hr="var(--colorSubtleBackgroundHover)",pr="var(--colorSubtleBackgroundPressed)",gr="var(--colorSubtleBackgroundSelected)",vr="var(--colorSubtleBackgroundLightAlphaHover)",br="var(--colorSubtleBackgroundLightAlphaPressed)",mr="var(--colorSubtleBackgroundLightAlphaSelected)",fr="var(--colorSubtleBackgroundInverted)",kr="var(--colorSubtleBackgroundInvertedHover)",yr="var(--colorSubtleBackgroundInvertedPressed)",xr="var(--colorSubtleBackgroundInvertedSelected)",$r="var(--colorTransparentBackground)",Br="var(--colorTransparentBackgroundHover)",wr="var(--colorTransparentBackgroundPressed)",Pr="var(--colorTransparentBackgroundSelected)",Sr="var(--colorNeutralBackgroundDisabled)",Fr="var(--colorNeutralBackgroundInvertedDisabled)",Cr="var(--colorNeutralStencil1)",Nr="var(--colorNeutralStencil2)",Ir="var(--colorNeutralStencil1Alpha)",Ar="var(--colorNeutralStencil2Alpha)",Tr="var(--colorBackgroundOverlay)",zr="var(--colorScrollbarOverlay)",Lr="var(--colorBrandBackground)",Or="var(--colorBrandBackgroundHover)",Hr="var(--colorBrandBackgroundPressed)",Dr="var(--colorBrandBackgroundSelected)",Er="var(--colorCompoundBrandBackground)",Mr="var(--colorCompoundBrandBackgroundHover)",Rr="var(--colorCompoundBrandBackgroundPressed)",jr="var(--colorBrandBackgroundStatic)",Vr="var(--colorBrandBackground2)",_r="var(--colorBrandBackgroundInverted)",Gr="var(--colorBrandBackgroundInvertedHover)",Xr="var(--colorBrandBackgroundInvertedPressed)",qr="var(--colorBrandBackgroundInvertedSelected)",Wr="var(--colorNeutralStrokeAccessible)",Yr="var(--colorNeutralStrokeAccessibleHover)",Kr="var(--colorNeutralStrokeAccessiblePressed)",Ur="var(--colorNeutralStrokeAccessibleSelected)",Qr="var(--colorNeutralStroke1)",Zr="var(--colorNeutralStroke1Hover)",Jr="var(--colorNeutralStroke1Pressed)",ea="var(--colorNeutralStroke1Selected)",ta="var(--colorNeutralStroke2)",oa="var(--colorNeutralStroke3)",ra="var(--colorNeutralStrokeOnBrand)",aa="var(--colorNeutralStrokeOnBrand2)",na="var(--colorNeutralStrokeOnBrand2Hover)",ia="var(--colorNeutralStrokeOnBrand2Pressed)",sa="var(--colorNeutralStrokeOnBrand2Selected)",la="var(--colorBrandStroke1)",ca="var(--colorBrandStroke2)",da="var(--colorCompoundBrandStroke)",ua="var(--colorCompoundBrandStrokeHover)",ha="var(--colorCompoundBrandStrokePressed)",pa="var(--colorNeutralStrokeDisabled)",ga="var(--colorNeutralStrokeInvertedDisabled)",va="var(--colorTransparentStroke)",ba="var(--colorTransparentStrokeInteractive)",ma="var(--colorTransparentStrokeDisabled)",fa="var(--colorStrokeFocus1)",ka="var(--colorStrokeFocus2)",ya="var(--colorNeutralShadowAmbient)",xa="var(--colorNeutralShadowKey)",$a="var(--colorNeutralShadowAmbientLighter)",Ba="var(--colorNeutralShadowKeyLighter)",wa="var(--colorNeutralShadowAmbientDarker)",Pa="var(--colorNeutralShadowKeyDarker)",Sa="var(--colorBrandShadowAmbient)",Fa="var(--colorBrandShadowKey)",Ca="var(--colorPaletteRedBackground1)",Na="var(--colorPaletteRedBackground2)",Ia="var(--colorPaletteRedBackground3)",Aa="var(--colorPaletteRedBorderActive)",Ta="var(--colorPaletteRedBorder1)",za="var(--colorPaletteRedBorder2)",La="var(--colorPaletteRedForeground1)",Oa="var(--colorPaletteRedForeground2)",Ha="var(--colorPaletteRedForeground3)",Da="var(--colorPaletteRedForegroundInverted)",Ea="var(--colorPaletteGreenBackground1)",Ma="var(--colorPaletteGreenBackground2)",Ra="var(--colorPaletteGreenBackground3)",ja="var(--colorPaletteGreenBorderActive)",Va="var(--colorPaletteGreenBorder1)",_a="var(--colorPaletteGreenBorder2)",Ga="var(--colorPaletteGreenForeground1)",Xa="var(--colorPaletteGreenForeground2)",qa="var(--colorPaletteGreenForeground3)",Wa="var(--colorPaletteGreenForegroundInverted)",Ya="var(--colorPaletteDarkOrangeBackground1)",Ka="var(--colorPaletteDarkOrangeBackground2)",Ua="var(--colorPaletteDarkOrangeBackground3)",Qa="var(--colorPaletteDarkOrangeBorderActive)",Za="var(--colorPaletteDarkOrangeBorder1)",Ja="var(--colorPaletteDarkOrangeBorder2)",en="var(--colorPaletteDarkOrangeForeground1)",tn="var(--colorPaletteDarkOrangeForeground2)",on="var(--colorPaletteDarkOrangeForeground3)",rn="var(--colorPaletteYellowBackground1)",an="var(--colorPaletteYellowBackground2)",nn="var(--colorPaletteYellowBackground3)",sn="var(--colorPaletteYellowBorderActive)",ln="var(--colorPaletteYellowBorder1)",cn="var(--colorPaletteYellowBorder2)",dn="var(--colorPaletteYellowForeground1)",un="var(--colorPaletteYellowForeground2)",hn="var(--colorPaletteYellowForeground3)",pn="var(--colorPaletteYellowForegroundInverted)",gn="var(--colorPaletteBerryBackground1)",vn="var(--colorPaletteBerryBackground2)",bn="var(--colorPaletteBerryBackground3)",mn="var(--colorPaletteBerryBorderActive)",fn="var(--colorPaletteBerryBorder1)",kn="var(--colorPaletteBerryBorder2)",yn="var(--colorPaletteBerryForeground1)",xn="var(--colorPaletteBerryForeground2)",$n="var(--colorPaletteBerryForeground3)",Bn="var(--colorPaletteMarigoldBackground1)",wn="var(--colorPaletteMarigoldBackground2)",Pn="var(--colorPaletteMarigoldBackground3)",Sn="var(--colorPaletteMarigoldBorderActive)",Fn="var(--colorPaletteMarigoldBorder1)",Cn="var(--colorPaletteMarigoldBorder2)",Nn="var(--colorPaletteMarigoldForeground1)",In="var(--colorPaletteMarigoldForeground2)",An="var(--colorPaletteMarigoldForeground3)",Tn="var(--colorPaletteLightGreenBackground1)",zn="var(--colorPaletteLightGreenBackground2)",Ln="var(--colorPaletteLightGreenBackground3)",On="var(--colorPaletteLightGreenBorderActive)",Hn="var(--colorPaletteLightGreenBorder1)",Dn="var(--colorPaletteLightGreenBorder2)",En="var(--colorPaletteLightGreenForeground1)",Mn="var(--colorPaletteLightGreenForeground2)",Rn="var(--colorPaletteLightGreenForeground3)",jn="var(--colorPaletteAnchorBackground2)",Vn="var(--colorPaletteAnchorBorderActive)",_n="var(--colorPaletteAnchorForeground2)",Gn="var(--colorPaletteBeigeBackground2)",Xn="var(--colorPaletteBeigeBorderActive)",qn="var(--colorPaletteBeigeForeground2)",Wn="var(--colorPaletteBlueBackground2)",Yn="var(--colorPaletteBlueBorderActive)",Kn="var(--colorPaletteBlueForeground2)",Un="var(--colorPaletteBrassBackground2)",Qn="var(--colorPaletteBrassBorderActive)",Zn="var(--colorPaletteBrassForeground2)",Jn="var(--colorPaletteBrownBackground2)",ei="var(--colorPaletteBrownBorderActive)",ti="var(--colorPaletteBrownForeground2)",oi="var(--colorPaletteCornflowerBackground2)",ri="var(--colorPaletteCornflowerBorderActive)",ai="var(--colorPaletteCornflowerForeground2)",ni="var(--colorPaletteCranberryBackground2)",ii="var(--colorPaletteCranberryBorderActive)",si="var(--colorPaletteCranberryForeground2)",li="var(--colorPaletteDarkGreenBackground2)",ci="var(--colorPaletteDarkGreenBorderActive)",di="var(--colorPaletteDarkGreenForeground2)",ui="var(--colorPaletteDarkRedBackground2)",hi="var(--colorPaletteDarkRedBorderActive)",pi="var(--colorPaletteDarkRedForeground2)",gi="var(--colorPaletteForestBackground2)",vi="var(--colorPaletteForestBorderActive)",bi="var(--colorPaletteForestForeground2)",mi="var(--colorPaletteGoldBackground2)",fi="var(--colorPaletteGoldBorderActive)",ki="var(--colorPaletteGoldForeground2)",yi="var(--colorPaletteGrapeBackground2)",xi="var(--colorPaletteGrapeBorderActive)",$i="var(--colorPaletteGrapeForeground2)",Bi="var(--colorPaletteLavenderBackground2)",wi="var(--colorPaletteLavenderBorderActive)",Pi="var(--colorPaletteLavenderForeground2)",Si="var(--colorPaletteLightTealBackground2)",Fi="var(--colorPaletteLightTealBorderActive)",Ci="var(--colorPaletteLightTealForeground2)",Ni="var(--colorPaletteLilacBackground2)",Ii="var(--colorPaletteLilacBorderActive)",Ai="var(--colorPaletteLilacForeground2)",Ti="var(--colorPaletteMagentaBackground2)",zi="var(--colorPaletteMagentaBorderActive)",Li="var(--colorPaletteMagentaForeground2)",Oi="var(--colorPaletteMinkBackground2)",Hi="var(--colorPaletteMinkBorderActive)",Di="var(--colorPaletteMinkForeground2)",Ei="var(--colorPaletteNavyBackground2)",Mi="var(--colorPaletteNavyBorderActive)",Ri="var(--colorPaletteNavyForeground2)",ji="var(--colorPalettePeachBackground2)",Vi="var(--colorPalettePeachBorderActive)",_i="var(--colorPalettePeachForeground2)",Gi="var(--colorPalettePinkBackground2)",Xi="var(--colorPalettePinkBorderActive)",qi="var(--colorPalettePinkForeground2)",Wi="var(--colorPalettePlatinumBackground2)",Yi="var(--colorPalettePlatinumBorderActive)",Ki="var(--colorPalettePlatinumForeground2)",Ui="var(--colorPalettePlumBackground2)",Qi="var(--colorPalettePlumBorderActive)",Zi="var(--colorPalettePlumForeground2)",Ji="var(--colorPalettePumpkinBackground2)",es="var(--colorPalettePumpkinBorderActive)",ts="var(--colorPalettePumpkinForeground2)",os="var(--colorPalettePurpleBackground2)",rs="var(--colorPalettePurpleBorderActive)",as="var(--colorPalettePurpleForeground2)",ns="var(--colorPaletteRoyalBlueBackground2)",is="var(--colorPaletteRoyalBlueBorderActive)",ss="var(--colorPaletteRoyalBlueForeground2)",ls="var(--colorPaletteSeafoamBackground2)",cs="var(--colorPaletteSeafoamBorderActive)",ds="var(--colorPaletteSeafoamForeground2)",us="var(--colorPaletteSteelBackground2)",hs="var(--colorPaletteSteelBorderActive)",ps="var(--colorPaletteSteelForeground2)",gs="var(--colorPaletteTealBackground2)",vs="var(--colorPaletteTealBorderActive)",bs="var(--colorPaletteTealForeground2)",ms="var(--borderRadiusNone)",fs="var(--borderRadiusSmall)",ks="var(--borderRadiusMedium)",ys="var(--borderRadiusLarge)",xs="var(--borderRadiusXLarge)",$s="var(--borderRadiusCircular)",Bs="var(--fontFamilyBase)",ws="var(--fontFamilyMonospace)",Ps="var(--fontFamilyNumeric)",Ss="var(--fontSizeBase100)",Fs="var(--fontSizeBase200)",Cs="var(--fontSizeBase300)",Ns="var(--fontSizeBase400)",Is="var(--fontSizeBase500)",As="var(--fontSizeBase600)",Ts="var(--fontSizeHero700)",zs="var(--fontSizeHero800)",Ls="var(--fontSizeHero900)",Os="var(--fontSizeHero1000)",Hs="var(--fontWeightRegular)",Ds="var(--fontWeightMedium)",Es="var(--fontWeightSemibold)",Ms="var(--fontWeightBold)",Rs="var(--lineHeightBase100)",js="var(--lineHeightBase200)",Vs="var(--lineHeightBase300)",_s="var(--lineHeightBase400)",Gs="var(--lineHeightBase500)",Xs="var(--lineHeightBase600)",qs="var(--lineHeightHero700)",Ws="var(--lineHeightHero800)",Ys="var(--lineHeightHero900)",Ks="var(--lineHeightHero1000)",Us="var(--shadow2)",Qs="var(--shadow4)",Zs="var(--shadow8)",Js="var(--shadow16)",el="var(--shadow28)",tl="var(--shadow64)",ol="var(--shadow2Brand)",rl="var(--shadow4Brand)",al="var(--shadow8Brand)",nl="var(--shadow16Brand)",il="var(--shadow28Brand)",sl="var(--shadow64Brand)",ll="var(--strokeWidthThin)",cl="var(--strokeWidthThick)",dl="var(--strokeWidthThicker)",ul="var(--strokeWidthThickest)",hl="var(--spacingHorizontalNone)",pl="var(--spacingHorizontalXXS)",gl="var(--spacingHorizontalXS)",vl="var(--spacingHorizontalSNudge)",bl="var(--spacingHorizontalS)",ml="var(--spacingHorizontalMNudge)",fl="var(--spacingHorizontalM)",kl="var(--spacingHorizontalL)",yl="var(--spacingHorizontalXL)",xl="var(--spacingHorizontalXXL)",$l="var(--spacingHorizontalXXXL)",Bl="var(--spacingVerticalNone)",wl="var(--spacingVerticalXXS)",Pl="var(--spacingVerticalXS)",Sl="var(--spacingVerticalSNudge)",Fl="var(--spacingVerticalS)",Cl="var(--spacingVerticalMNudge)",Nl="var(--spacingVerticalM)",Il="var(--spacingVerticalL)",Al="var(--spacingVerticalXL)",Tl="var(--spacingVerticalXXL)",zl="var(--spacingVerticalXXXL)",Ll="var(--durationUltraFast)",Ol="var(--durationFaster)",Hl="var(--durationFast)",Dl="var(--durationNormal)",El="var(--durationSlow)",Ml="var(--durationSlower)",Rl="var(--durationUltraSlow)",jl="var(--curveAccelerateMax)",Vl="var(--curveAccelerateMid)",_l="var(--curveAccelerateMin)",Gl="var(--curveDecelerateMax)",Xl="var(--curveDecelerateMid)",ql="var(--curveDecelerateMin)",Wl="var(--curveEasyEaseMax)",Yl="var(--curveEasyEase)",Kl="var(--curveLinear)";var Ul=Object.freeze({__proto__:null,colorNeutralForeground1:Vt,colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:qt,colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:Jt,colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:so,colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:yo,colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:Vo,colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:$r,colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:Lr,colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:Er,colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:Vr,colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralStrokeAccessible:Wr,colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:Qr,colorNeutralStroke1Hover:Zr,colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:ta,colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:pa,colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:va,colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorStrokeFocus1:fa,colorStrokeFocus2:ka,colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",borderRadiusNone:ms,borderRadiusSmall:fs,borderRadiusMedium:ks,borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:$s,fontFamilyBase:Bs,fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:Ss,fontSizeBase200:Fs,fontSizeBase300:Cs,fontSizeBase400:Ns,fontSizeBase500:Is,fontSizeBase600:As,fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:Hs,fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:Es,fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:js,lineHeightBase300:Vs,lineHeightBase400:_s,lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:Us,shadow4:Qs,shadow8:Zs,shadow16:Js,shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:ll,strokeWidthThick:cl,strokeWidthThicker:dl,strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:pl,spacingHorizontalXS:gl,spacingHorizontalSNudge:vl,spacingHorizontalS:bl,spacingHorizontalMNudge:ml,spacingHorizontalM:fl,spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:Sl,spacingVerticalS:Fl,spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:Ol,durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:Rl,curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:Yl,curveLinear:"var(--curveLinear)"});const Ql=j`
5
- ${bt("block")}
6
-
7
- :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${fl} ${ml};border-radius:${ks};font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs};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:${Vt};background:${$r};line-height:${Vs};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:${fs}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${bl};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${fl}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${bl};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${fs};outline:none;border:2px solid ${fa};box-shadow:inset 0 0 0 1px ${ka}}:host([disabled]) .button{color:${so}}: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:${Cs};line-height:${Vs}}:host([size='small']) .heading{font-size:${Fs};line-height:${js}}:host([size='large']) .heading{font-size:${Ns};line-height:${_s}}:host([size='extra-large']) .heading{font-size:${Is};line-height:${"var(--lineHeightBase500)"}}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;const Zl=function(e={}){return ke`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${xe("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}" @click="${(e,t)=>e.clickHandler(t.event)}"><span class="heading-content" part="heading-content"><slot name="heading"></slot></span></button>${wt(e)} ${Bt(e)}<span class="icon" part="icon" aria-hidden="true"><slot name="expanded-icon">${pt(e.expandedIcon)}</slot><slot name="collapsed-icon">${pt(e.collapsedIcon)}</slot><span></div><div class="region" part="region" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}({collapsedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-collapsed-icon"\n>\n <path\n d="M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z"\n fill="currentColor"\n />\n</svg>'),expandedIcon:ke.partial('<svg\n width="20"\n height="20"\n viewBox="0 0 20 20"\n fill="none"\n xmlns="http://www.w3.org/2000/svg"\n class="default-expanded-icon"\n>\n <path\n d="M15.794 7.73271C16.0797 8.03263 16.0681 8.50737 15.7682 8.79306L10.5178 13.7944C10.2281 14.0703 9.77285 14.0703 9.48318 13.7944L4.23271 8.79306C3.93279 8.50737 3.92125 8.03263 4.20694 7.73271C4.49264 7.43279 4.96737 7.42125 5.26729 7.70694L10.0005 12.2155L14.7336 7.70694C15.0336 7.42125 15.5083 7.43279 15.794 7.73271Z"\n fill="currentColor"\n />\n</svg>')}),Jl=Nt.compose({name:Et.prefix+"-accordion-item",template:Zl,styles:Ql});var ec=Object.defineProperty,tc=Object.getOwnPropertyDescriptor,oc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?tc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&ec(t,o,n),n};class rc extends et{constructor(){super(...arguments),this.iconOnly=!1,this.disabled=!1,this.disabledFocusable=!1,this.handleDisabledFocusableClick=e=>{(e&&this.disabled||this.disabledFocusable)&&e.stopImmediatePropagation()}}disabledChanged(e,t){this.disabled?(this.setAttribute("aria-disabled","true"),this.setAttribute("tabindex","-1")):(this.removeAttribute("aria-disabled"),this.removeAttribute("tabindex"))}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.disabledFocusable?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled"))}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleDisabledFocusableClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleDisabledFocusableClick)}}oc([Oe],rc.prototype,"download",2),oc([Oe],rc.prototype,"href",2),oc([Oe],rc.prototype,"hreflang",2),oc([Oe],rc.prototype,"ping",2),oc([Oe],rc.prototype,"referrerpolicy",2),oc([Oe],rc.prototype,"rel",2),oc([Oe],rc.prototype,"target",2),oc([Oe],rc.prototype,"type",2),oc([B],rc.prototype,"defaultSlottedContent",2),oc([Oe],rc.prototype,"appearance",2),oc([Oe],rc.prototype,"shape",2),oc([Oe],rc.prototype,"size",2),oc([Oe({attribute:"icon-only",mode:"boolean"})],rc.prototype,"iconOnly",2),oc([Oe({mode:"boolean"})],rc.prototype,"disabled",2),oc([Oe({attribute:"disabled-focusable",mode:"boolean"})],rc.prototype,"disabledFocusable",2);class ac{}oc([Oe({attribute:"aria-expanded"})],ac.prototype,"ariaExpanded",2),Pt(ac,ut),Pt(rc,$t,ac);const nc={primary:"primary",outline:"outline",subtle:"subtle",secondary:"secondary",transparent:"transparent"},ic={circular:"circular",rounded:"rounded",square:"square"},sc={small:"small",medium:"medium",large:"large"},lc={submit:"submit",reset:"reset",button:"button"},cc={blank:"_blank",self:"_self",parent:"_parent",top:"_top"},dc=nc,uc=ic,hc=sc,pc={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"};const gc=function(e={}){return ke`<a class="control" part="control" download="${e=>e.download}" href="${e=>e.href}" hreflang="${e=>e.hreflang}" ping="${e=>e.ping}" referrerpolicy="${e=>e.referrerpolicy}" rel="${e=>e.rel}" target="${e=>e.target}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-expanded="${e=>e.ariaExpanded}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")}>${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${Bt(e)}</a>`}(),vc=j`
8
- ${bt("inline-flex")}
9
-
10
- :host{--icon-spacing:${vl};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:${Vo};color:${Vt};border:${ll} solid ${Qr};padding:0 ${fl};min-width:96px;border-radius:${ks};font-size:${Cs};font-family:${Bs};font-weight:${Es};line-height:${Vs};transition-duration:${Ol};transition-property:background,border,color;transition-timing-function:${Yl};cursor:pointer}.content{display:inherit;text-align:center}:host(:hover) .control{background-color:${"var(--colorNeutralBackground1Hover)"};color:${"var(--colorNeutralForeground1Hover)"};border-color:${Zr}}:host(:hover:active) .control{background-color:${"var(--colorNeutralBackground1Pressed)"};border-color:${"var(--colorNeutralStroke1Pressed)"};color:${"var(--colorNeutralForeground1Pressed)"};outline-style:none}:host .control:focus-visible{border-color:${va};outline:${cl}) solid ${va};box-shadow:${Qs},0 0 0 2px ${ka}}@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:${gl}}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 ${bl};border-radius:${fs};font-size:${Fs};line-height:${js};font-weight:${Hs}}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:${"var(--borderRadiusLarge)"};padding:0 ${"var(--spacingHorizontalL)"};font-size:${Ns};line-height:${_s}}: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:${$s}}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:${ms}}:host([appearance='primary']) .control{background-color:${Lr};color:${yo};border-color:transparent}:host([appearance='primary']:hover) .control{background-color:${"var(--colorBrandBackgroundHover)"}}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:${yo}}:host([appearance='primary']:hover:active) .control{background-color:${"var(--colorBrandBackgroundPressed)"}}:host([appearance='primary']) .control:focus-visible{border-color:${yo};box-shadow:${Us},0 0 0 2px ${ka}}: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:${$r}}:host([appearance='outline']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"}}:host([appearance='outline']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:${$r}}:host([appearance='subtle']) .control{background-color:${"var(--colorSubtleBackground)"};color:${qt};border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"};border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:${$r};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control{background-color:${$r};color:${qt}}:host([appearance='transparent']:hover) .control{background-color:${"var(--colorTransparentBackgroundHover)"};color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:hover:active) .control{background-color:${"var(--colorTransparentBackgroundPressed)"};color:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:${$r}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
11
- .control{background-color:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa};color:${so};cursor:not-allowed}`.withBehaviors(kt(j`
12
- :host([appearance='transparent']:hover) .control{border-color:Highlight}`)),bc=rc.compose({name:Et.prefix+"-anchor-button",template:gc,styles:vc,shadowOptions:{delegatesFocus:!0}}),mc=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,fc=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,kc=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,yc=/\s+/g,xc=/[\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 $c(e,t,o){return e?(e=function(e){return e=(e=(e=(e=e.replace(mc,"")).replace(fc,"")).replace(yc," ")).trim()}(e),xc.test(e)||!(null==o?void 0:o.allowPhoneInitials)&&kc.test(e)?"":function(e,t,o){let r="";const a=e.split(" ");return 0!==a.length&&(r+=a[0].charAt(0).toUpperCase()),o||(2===a.length?r+=a[1].charAt(0).toUpperCase():3===a.length&&(r+=a[2].charAt(0).toUpperCase())),t&&r.length>1?r.charAt(1)+r.charAt(0):r}(e,t,null==o?void 0:o.firstInitialOnly)):""}const Bc={active:"active",inactive:"inactive"},wc={circular:"circular",square:"square"},Pc={ring:"ring",shadow:"shadow",ringShadow:"ring-shadow"},Sc={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"},Fc={neutral:"neutral",brand:"brand",colorful:"colorful",...Sc},Cc={_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 Nc=Object.defineProperty,Ic=Object.getOwnPropertyDescriptor,Ac=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Ic(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Nc(t,o,n),n};const Tc=class extends et{constructor(){super(...arguments),this.color="neutral"}generateColor(){var e,t;if(this.color)return this.color===Fc.colorful?Tc.colors[Lc(null!=(t=null!=(e=this.colorId)?e:this.name)?t:"")%Tc.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:$c(this.name,"rtl"===window.getComputedStyle(this).direction,{firstInitialOnly:o<=16})}};let zc=Tc;zc.colors=Object.values(Sc),Ac([Oe],zc.prototype,"name",2),Ac([Oe],zc.prototype,"initials",2),Ac([Oe({converter:ze})],zc.prototype,"size",2),Ac([Oe],zc.prototype,"shape",2),Ac([Oe],zc.prototype,"active",2),Ac([Oe],zc.prototype,"appearance",2),Ac([Oe],zc.prototype,"color",2),Ac([Oe({attribute:"color-id"})],zc.prototype,"colorId",2);const Lc=e=>{let t=0;for(let o=e.length-1;o>=0;o--){const r=e.charCodeAt(o),a=o%8;t^=(r<<a)+(r>>8-a)}return t},Oc=ke`<svg width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="default-icon" fill="currentcolor" aria-hidden="true"><path d="M10 2a4 4 0 100 8 4 4 0 000-8zM7 6a3 3 0 116 0 3 3 0 01-6 0zm-2 5a2 2 0 00-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0010 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0017 13a2 2 0 00-2-2H5zm-1 2a1 1 0 011-1h10a1 1 0 011 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0110 17a8.16 8.16 0 01-4.33-1.05A3.36 3.36 0 014 13z"></path></svg>`;const Hc=ke`<template role="img" data-color=${e=>e.generateColor()}><slot>${e=>e.name||e.initials?e.generateInitials():Oc}</slot><slot name="badge"></slot></template>`,Dc="var(--curveDecelerateMin)",Ec="var(--curveEasyEaseMax)",Mc="var(--curveLinear)",Rc=j`
13
- ${bt("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${Bs};font-weight:${Es};font-size:${Cs};border-radius:${$s};color:${Jt};background-color:${"var(--colorNeutralBackground6)"};contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:${$s}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${ll}) ${Vo}}: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 ${cl}) ${Vo}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Ss};font-weight:${Hs}}: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:${Fs}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${Ns}}: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:${Is}}: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:${As}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${ks}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${fs}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${"var(--borderRadiusLarge)"}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${"var(--borderRadiusXLarge)"}}:host([data-color='brand']){color:${"var(--colorNeutralForegroundStaticInverted)"};background-color:${"var(--colorBrandBackgroundStatic)"}}:host([data-color='dark-red']){color:${"var(--colorPaletteDarkRedForeground2)"};background-color:${"var(--colorPaletteDarkRedBackground2)"}}:host([data-color='cranberry']){color:${"var(--colorPaletteCranberryForeground2)"};background-color:${"var(--colorPaletteCranberryBackground2)"}}:host([data-color='red']){color:${"var(--colorPaletteRedForeground2)"};background-color:${"var(--colorPaletteRedBackground2)"}}:host([data-color='pumpkin']){color:${"var(--colorPalettePumpkinForeground2)"};background-color:${"var(--colorPalettePumpkinBackground2)"}}:host([data-color='peach']){color:${"var(--colorPalettePeachForeground2)"};background-color:${"var(--colorPalettePeachBackground2)"}}:host([data-color='marigold']){color:${"var(--colorPaletteMarigoldForeground2)"};background-color:${"var(--colorPaletteMarigoldBackground2)"}}:host([data-color='gold']){color:${"var(--colorPaletteGoldForeground2)"};background-color:${"var(--colorPaletteGoldBackground2)"}}:host([data-color='brass']){color:${"var(--colorPaletteBrassForeground2)"};background-color:${"var(--colorPaletteBrassBackground2)"}}:host([data-color='brown']){color:${"var(--colorPaletteBrownForeground2)"};background-color:${"var(--colorPaletteBrownBackground2)"}}:host([data-color='forest']){color:${"var(--colorPaletteForestForeground2)"};background-color:${"var(--colorPaletteForestBackground2)"}}:host([data-color='seafoam']){color:${"var(--colorPaletteSeafoamForeground2)"};background-color:${"var(--colorPaletteSeafoamBackground2)"}}:host([data-color='dark-green']){color:${"var(--colorPaletteDarkGreenForeground2)"};background-color:${"var(--colorPaletteDarkGreenBackground2)"}}:host([data-color='light-teal']){color:${"var(--colorPaletteLightTealForeground2)"};background-color:${"var(--colorPaletteLightTealBackground2)"}}:host([data-color='teal']){color:${"var(--colorPaletteTealForeground2)"};background-color:${"var(--colorPaletteTealBackground2)"}}:host([data-color='steel']){color:${"var(--colorPaletteSteelForeground2)"};background-color:${"var(--colorPaletteSteelBackground2)"}}:host([data-color='blue']){color:${"var(--colorPaletteBlueForeground2)"};background-color:${"var(--colorPaletteBlueBackground2)"}}:host([data-color='royal-blue']){color:${"var(--colorPaletteRoyalBlueForeground2)"};background-color:${"var(--colorPaletteRoyalBlueBackground2)"}}:host([data-color='cornflower']){color:${"var(--colorPaletteCornflowerForeground2)"};background-color:${"var(--colorPaletteCornflowerBackground2)"}}:host([data-color='navy']){color:${"var(--colorPaletteNavyForeground2)"};background-color:${"var(--colorPaletteNavyBackground2)"}}:host([data-color='lavender']){color:${"var(--colorPaletteLavenderForeground2)"};background-color:${"var(--colorPaletteLavenderBackground2)"}}:host([data-color='purple']){color:${"var(--colorPalettePurpleForeground2)"};background-color:${"var(--colorPalettePurpleBackground2)"}}:host([data-color='grape']){color:${"var(--colorPaletteGrapeForeground2)"};background-color:${"var(--colorPaletteGrapeBackground2)"}}:host([data-color='lilac']){color:${"var(--colorPaletteLilacForeground2)"};background-color:${"var(--colorPaletteLilacBackground2)"}}:host([data-color='pink']){color:${"var(--colorPalettePinkForeground2)"};background-color:${"var(--colorPalettePinkBackground2)"}}:host([data-color='magenta']){color:${"var(--colorPaletteMagentaForeground2)"};background-color:${"var(--colorPaletteMagentaBackground2)"}}:host([data-color='plum']){color:${"var(--colorPalettePlumForeground2)"};background-color:${"var(--colorPalettePlumBackground2)"}}:host([data-color='beige']){color:${"var(--colorPaletteBeigeForeground2)"};background-color:${"var(--colorPaletteBeigeBackground2)"}}:host([data-color='mink']){color:${"var(--colorPaletteMinkForeground2)"};background-color:${"var(--colorPaletteMinkBackground2)"}}:host([data-color='platinum']){color:${"var(--colorPalettePlatinumForeground2)"};background-color:${"var(--colorPalettePlatinumBackground2)"}}:host([data-color='anchor']){color:${"var(--colorPaletteAnchorForeground2)"};background-color:${"var(--colorPaletteAnchorBackground2)"}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${Rl},${Ol};transition-delay:${Ec},${Mc}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${Rl}),${"var(--durationSlower)"};transition-delay:${Ec}),${Mc})}:host([active])::before{box-shadow:${Zs};border-style:solid;border-color:${"var(--colorBrandBackgroundStatic)"}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${cl});border-width:${cl}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${dl});border-width:${dl}}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${"var(--strokeWidthThickest)"});border-width:${"var(--strokeWidthThickest)"}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${Qs}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${Js}}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:${"var(--shadow28)"}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${Rl},${Ol};transition-delay:${Dc},${Mc}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${Rl},${"var(--durationSlower)"};transition-delay:${Dc},${Mc}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,jc=zc.compose({name:Et.prefix+"-avatar",template:Hc,styles:Rc}),Vc={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},_c={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Gc={circular:"circular",rounded:"rounded",square:"square"},Xc={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};var qc=Object.defineProperty,Wc=Object.getOwnPropertyDescriptor,Yc=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Wc(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&qc(t,o,n),n};class Kc extends et{constructor(){super(...arguments),this.appearance=Vc.filled,this.color=_c.brand}}function Uc(e={}){return ke` ${wt(e)}<slot>${pt(e.defaultContent)}</slot>${Bt(e)} `}Yc([Oe],Kc.prototype,"appearance",2),Yc([Oe],Kc.prototype,"color",2),Yc([Oe],Kc.prototype,"shape",2),Yc([Oe],Kc.prototype,"size",2),Pt(Kc,$t);const Qc=Uc(),Zc=pl,Jc=j.partial`
14
- ${bt("inline-flex")} :host {
1
+ const p=Object.freeze({prefix:"fluent",shadowRootMode:"open",registry:customElements});let Ho;const is="fast-kernel";try{if(document.currentScript)Ho=document.currentScript.getAttribute(is);else{const o=document.getElementsByTagName("script");Ho=o[o.length-1].getAttribute(is)}}catch{Ho="isolate"}let dt;switch(Ho){case"share":dt=Object.freeze({updateQueue:1,observable:2,contextEvent:3,elementRegistry:4});break;case"share-v2":dt=Object.freeze({updateQueue:1.2,observable:2.2,contextEvent:3.2,elementRegistry:4.2});break;default:const o=`-${Math.random().toString(36).substring(2,8)}`;dt=Object.freeze({updateQueue:`1.2${o}`,observable:`2.2${o}`,contextEvent:`3.2${o}`,elementRegistry:`4.2${o}`});break}const Ot=o=>typeof o=="function",Ge=o=>typeof o=="string",Ba=()=>{};var Xi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){if(!(typeof globalThis<"u"))if(typeof Xi<"u")Xi.globalThis=Xi;else if(typeof self<"u")self.globalThis=self;else if(typeof window<"u")window.globalThis=window;else{const e=new Function("return this")();e.globalThis=e}})();const rs={configurable:!1,enumerable:!1,writable:!1};globalThis.FAST===void 0&&Reflect.defineProperty(globalThis,"FAST",Object.assign({value:Object.create(null)},rs));const oe=globalThis.FAST;if(oe.getById===void 0){const o=Object.create(null);Reflect.defineProperty(oe,"getById",Object.assign({value(e,t){let i=o[e];return i===void 0&&(i=t?o[e]=t():null),i}},rs))}oe.error===void 0&&Object.assign(oe,{warn(){},error(o){return new Error(`Error ${o}`)},addMessages(){}});const Oa=Object.freeze([]);function Ki(){const o=new Map;return Object.freeze({register(e){return o.has(e.type)?!1:(o.set(e.type,e),!0)},getByType(e){return o.get(e)},getForInstance(e){if(e!=null)return o.get(e.constructor)}})}function ss(){const o=new WeakMap;return function(e){let t=o.get(e);if(t===void 0){let i=Reflect.getPrototypeOf(e);for(;t===void 0&&i!==null;)t=o.get(i),i=Reflect.getPrototypeOf(i);t=t===void 0?[]:t.slice(0),o.set(e,t)}return t}}function ht(o){o.prototype.toJSON=Ba}const Q=Object.freeze({none:0,attribute:1,booleanAttribute:2,property:3,content:4,tokenList:5,event:6}),ns=o=>o,_a=globalThis.trustedTypes?globalThis.trustedTypes.createPolicy("fast-html",{createHTML:ns}):{createHTML:ns};let Vo=Object.freeze({createHTML(o){return _a.createHTML(o)},protect(o,e,t,i){return i}});const Aa=Vo,ut=Object.freeze({get policy(){return Vo},setPolicy(o){if(Vo!==Aa)throw oe.error(1201);Vo=o},setAttribute(o,e,t){t==null?o.removeAttribute(e):o.setAttribute(e,t)},setBooleanAttribute(o,e,t){t?o.setAttribute(e,""):o.removeAttribute(e)}}),ie=oe.getById(dt.updateQueue,()=>{const o=[],e=[],t=globalThis.requestAnimationFrame;let i=!0;function r(){if(e.length)throw e.shift()}function s(h){try{h.call()}catch(d){if(i)e.push(d),setTimeout(r,0);else throw o.length=0,d}}function n(){let d=0;for(;d<o.length;)if(s(o[d]),d++,d>1024){for(let l=0,f=o.length-d;l<f;l++)o[l]=o[l+d];o.length-=d,d=0}o.length=0}function c(h){o.push(h),o.length<2&&(i?t(n):n())}return Object.freeze({enqueue:c,next:()=>new Promise(c),process:n,setMode:h=>i=h})});class Yi{constructor(e,t){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.subject=e,this.sub1=t}has(e){return this.spillover===void 0?this.sub1===e||this.sub2===e:this.spillover.indexOf(e)!==-1}subscribe(e){const t=this.spillover;if(t===void 0){if(this.has(e))return;if(this.sub1===void 0){this.sub1=e;return}if(this.sub2===void 0){this.sub2=e;return}this.spillover=[this.sub1,this.sub2,e],this.sub1=void 0,this.sub2=void 0}else t.indexOf(e)===-1&&t.push(e)}unsubscribe(e){const t=this.spillover;if(t===void 0)this.sub1===e?this.sub1=void 0:this.sub2===e&&(this.sub2=void 0);else{const i=t.indexOf(e);i!==-1&&t.splice(i,1)}}notify(e){const t=this.spillover,i=this.subject;if(t===void 0){const r=this.sub1,s=this.sub2;r!==void 0&&r.handleChange(i,e),s!==void 0&&s.handleChange(i,e)}else for(let r=0,s=t.length;r<s;++r)t[r].handleChange(i,e)}}class as{constructor(e){this.subscribers={},this.subjectSubscribers=null,this.subject=e}notify(e){var t,i;(t=this.subscribers[e])===null||t===void 0||t.notify(e),(i=this.subjectSubscribers)===null||i===void 0||i.notify(e)}subscribe(e,t){var i,r;let s;t?s=(i=this.subscribers[t])!==null&&i!==void 0?i:this.subscribers[t]=new Yi(this.subject):s=(r=this.subjectSubscribers)!==null&&r!==void 0?r:this.subjectSubscribers=new Yi(this.subject),s.subscribe(e)}unsubscribe(e,t){var i,r;t?(i=this.subscribers[t])===null||i===void 0||i.unsubscribe(e):(r=this.subjectSubscribers)===null||r===void 0||r.unsubscribe(e)}}const Lo=Object.freeze({unknown:void 0,coupled:1}),m=oe.getById(dt.observable,()=>{const o=ie.enqueue,e=/(:|&&|\|\||if|\?\.)/,t=new WeakMap;let i,r=d=>{throw oe.error(1101)};function s(d){var l;let f=(l=d.$fastController)!==null&&l!==void 0?l:t.get(d);return f===void 0&&(Array.isArray(d)?f=r(d):t.set(d,f=new as(d))),f}const n=ss();class c{constructor(l){this.name=l,this.field=`_${l}`,this.callback=`${l}Changed`}getValue(l){return i!==void 0&&i.watch(l,this.name),l[this.field]}setValue(l,f){const w=this.field,pe=l[w];if(pe!==f){l[w]=f;const et=l[this.callback];Ot(et)&&et.call(l,pe,f),s(l).notify(this.name)}}}class h extends Yi{constructor(l,f,w=!1){super(l,f),this.expression=l,this.isVolatileBinding=w,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(l){this.isAsync=this.needsQueue=l}bind(l){this.controller=l;const f=this.observe(l.source,l.context);return!l.isBound&&this.requiresUnbind(l)&&l.onUnbind(this),f}requiresUnbind(l){return l.sourceLifetime!==Lo.coupled||this.first!==this.last||this.first.propertySource!==l.source}unbind(l){this.dispose()}observe(l,f){this.needsRefresh&&this.last!==null&&this.dispose();const w=i;i=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;let pe;try{pe=this.expression(l,f)}finally{i=w}return pe}disconnect(){this.dispose()}dispose(){if(this.last!==null){let l=this.first;for(;l!==void 0;)l.notifier.unsubscribe(this,l.propertyName),l=l.next;this.last=null,this.needsRefresh=this.needsQueue=this.isAsync}}watch(l,f){const w=this.last,pe=s(l),et=w===null?this.first:{};if(et.propertySource=l,et.propertyName=f,et.notifier=pe,pe.subscribe(this,f),w!==null){if(!this.needsRefresh){let os;i=void 0,os=w.propertySource[w.propertyName],i=this,l===os&&(this.needsRefresh=!0)}w.next=et}this.last=et}handleChange(){this.needsQueue?(this.needsQueue=!1,o(this)):this.isAsync||this.call()}call(){this.last!==null&&(this.needsQueue=this.isAsync,this.notify(this))}*records(){let l=this.first;for(;l!==void 0;)yield l,l=l.next}}return ht(h),Object.freeze({setArrayObserverFactory(d){r=d},getNotifier:s,track(d,l){i&&i.watch(d,l)},trackVolatile(){i&&(i.needsRefresh=!0)},notify(d,l){s(d).notify(l)},defineProperty(d,l){Ge(l)&&(l=new c(l)),n(d).push(l),Reflect.defineProperty(d,l.name,{enumerable:!0,get(){return l.getValue(this)},set(f){l.setValue(this,f)}})},getAccessors:n,binding(d,l,f=this.isVolatileBinding(d)){return new h(d,l,f)},isVolatileBinding(d){return e.test(d.toString())}})});function g(o,e){m.defineProperty(o,e)}function ls(o,e,t){return Object.assign({},t,{get(){return m.trackVolatile(),t.get.apply(this)}})}const cs=oe.getById(dt.contextEvent,()=>{let o=null;return{get(){return o},set(e){o=e}}}),_t=Object.freeze({default:{index:0,length:0,get event(){return _t.getEvent()},eventDetail(){return this.event.detail},eventTarget(){return this.event.target}},getEvent(){return cs.get()},setEvent(o){cs.set(o)}});class jo{constructor(e,t,i=!1){this.evaluate=e,this.policy=t,this.isVolatile=i}}class Ea extends jo{createObserver(e){return m.binding(this.evaluate,e,this.isVolatile)}}function Qi(o,e,t=m.isVolatileBinding(o)){return new Ea(o,e,t)}class ds extends jo{createObserver(){return this}bind(e){return this.evaluate(e.source,e.context)}}ht(ds);function hs(o,e){return new ds(o,e)}let us;function ps(o){return o.map(e=>e instanceof we?ps(e.styles):[e]).reduce((e,t)=>e.concat(t),[])}class we{constructor(e){this.styles=e,this.targets=new WeakSet,this._strategy=null,this.behaviors=e.map(t=>t instanceof we?t.behaviors:null).reduce((t,i)=>i===null?t:t===null?i:t.concat(i),null)}get strategy(){return this._strategy===null&&this.withStrategy(us),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=this.behaviors===null?e:this.behaviors.concat(e),this}withStrategy(e){return this._strategy=new e(ps(this.styles)),this}static setDefaultStrategy(e){us=e}static normalize(e){return e===void 0?void 0:Array.isArray(e)?new we(e):e instanceof we?e:new we([e])}}we.supportsAdoptedStyleSheets=Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype;const Zi=Ki(),Ji=Object.freeze({getForInstance:Zi.getForInstance,getByType:Zi.getByType,define(o){return Zi.register({type:o}),o}});function er(o,e,t){e.source.style.setProperty(o.targetAspect,t.bind(e))}class tr{constructor(e,t){this.dataBinding=e,this.targetAspect=t}createCSS(e){return e(this),`var(${this.targetAspect})`}addedCallback(e){var t;const i=e.source;if(!i.$cssBindings){i.$cssBindings=new Map;const s=i.setAttribute;i.setAttribute=(n,c)=>{s.call(i,n,c),n==="style"&&i.$cssBindings.forEach((h,d)=>er(d,h.controller,h.observer))}}const r=(t=e[this.targetAspect])!==null&&t!==void 0?t:e[this.targetAspect]=this.dataBinding.createObserver(this,this);r.controller=e,e.source.$cssBindings.set(this,{controller:e,observer:r})}connectedCallback(e){er(this,e,e[this.targetAspect])}removedCallback(e){e.source.$cssBindings&&e.source.$cssBindings.delete(this)}handleChange(e,t){er(this,t.controller,t)}}Ji.define(tr);const Na=`${Math.random().toString(36).substring(2,8)}`;let Fa=0;const bs=()=>`--v${Na}${++Fa}`;function gs(o,e){const t=[];let i="";const r=[],s=n=>{r.push(n)};for(let n=0,c=o.length-1;n<c;++n){i+=o[n];let h=e[n];Ot(h)?h=new tr(Qi(h),bs()).createCSS(s):h instanceof jo?h=new tr(h,bs()).createCSS(s):Ji.getForInstance(h)!==void 0&&(h=h.createCSS(s)),h instanceof we||h instanceof CSSStyleSheet?(i.trim()!==""&&(t.push(i),i=""),t.push(h)):i+=h}return i+=o[o.length-1],i.trim()!==""&&t.push(i),{styles:t,behaviors:r}}const u=(o,...e)=>{const{styles:t,behaviors:i}=gs(o,e),r=new we(t);return i.length?r.withBehaviors(...i):r};class fs{constructor(e,t){this.behaviors=t,this.css="";const i=e.reduce((r,s)=>(Ge(s)?this.css+=s:r.push(s),r),[]);i.length&&(this.styles=new we(i))}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)}}Ji.define(fs),u.partial=(o,...e)=>{const{styles:t,behaviors:i}=gs(o,e);return new fs(t,i)};const ms=/fe-b\$\$start\$\$(\d+)\$\$(.+)\$\$fe-b/,vs=/fe-b\$\$end\$\$(\d+)\$\$(.+)\$\$fe-b/,$s=/fe-repeat\$\$start\$\$(\d+)\$\$fe-repeat/,ys=/fe-repeat\$\$end\$\$(\d+)\$\$fe-repeat/,xs=/^(?:.{0,1000})fe-eb\$\$start\$\$(.+?)\$\$fe-eb/,ks=/fe-eb\$\$end\$\$(.{0,1000})\$\$fe-eb(?:.{0,1000})$/;function ws(o){return o&&o.nodeType===Node.COMMENT_NODE}const Ne=Object.freeze({attributeMarkerName:"data-fe-b",attributeBindingSeparator:" ",contentBindingStartMarker(o,e){return`fe-b$$start$$${o}$$${e}$$fe-b`},contentBindingEndMarker(o,e){return`fe-b$$end$$${o}$$${e}$$fe-b`},repeatStartMarker(o){return`fe-repeat$$start$$${o}$$fe-repeat`},repeatEndMarker(o){return`fe-repeat$$end$$${o}$$fe-repeat`},isContentBindingStartMarker(o){return ms.test(o)},isContentBindingEndMarker(o){return vs.test(o)},isRepeatViewStartMarker(o){return $s.test(o)},isRepeatViewEndMarker(o){return ys.test(o)},isElementBoundaryStartMarker(o){return ws(o)&&xs.test(o.data.trim())},isElementBoundaryEndMarker(o){return ws(o)&&ks.test(o.data)},parseAttributeBinding(o){const e=o.getAttribute(this.attributeMarkerName);return e===null?e:e.split(this.attributeBindingSeparator).map(t=>parseInt(t))},parseContentBindingStartMarker(o){return Is(ms,o)},parseContentBindingEndMarker(o){return Is(vs,o)},parseRepeatStartMarker(o){return Cs($s,o)},parseRepeatEndMarker(o){return Cs(ys,o)},parseElementBoundaryStartMarker(o){return Ss(xs,o.trim())},parseElementBoundaryEndMarker(o){return Ss(ks,o)}});function Cs(o,e){const t=o.exec(e);return t===null?t:parseInt(t[1])}function Ss(o,e){const t=o.exec(e);return t===null?t:t[1]}function Is(o,e){const t=o.exec(e);return t===null?t:[parseInt(t[1]),t[2]]}const Ro=Symbol.for("fe-hydration");function qo(o){return o[Ro]===Ro}const or=`fast-${Math.random().toString(36).substring(2,8)}`,Wo=`${or}{`,no=`}${or}`,Ma=no.length;let Da=0;const ao=()=>`${or}-${++Da}`,Ps=Object.freeze({interpolation:o=>`${Wo}${o}${no}`,attribute:o=>`${ao()}="${Wo}${o}${no}"`,comment:o=>`<!--${Wo}${o}${no}-->`}),Go=Object.freeze({parse(o,e){const t=o.split(Wo);if(t.length===1)return null;const i=[];for(let r=0,s=t.length;r<s;++r){const n=t[r],c=n.indexOf(no);let h;if(c===-1)h=n;else{const d=n.substring(0,c);i.push(e[d]),h=n.substring(c+Ma)}h!==""&&i.push(h)}return i}}),ir=Ki(),Fe=Object.freeze({getForInstance:ir.getForInstance,getByType:ir.getByType,define(o,e){return e=e||{},e.type=o,ir.register(e),o},assignAspect(o,e){if(!e){o.aspectType=Q.content;return}switch(o.sourceAspect=e,e[0]){case":":o.targetAspect=e.substring(1),o.aspectType=o.targetAspect==="classList"?Q.tokenList:Q.property;break;case"?":o.targetAspect=e.substring(1),o.aspectType=Q.booleanAttribute;break;case"@":o.targetAspect=e.substring(1),o.aspectType=Q.event;break;default:o.targetAspect=e,o.aspectType=Q.attribute;break}}});class rr{constructor(e){this.options=e}createHTML(e){return Ps.attribute(e(this))}createBehavior(){return this}}ht(rr);class zs extends Error{constructor(e,t,i){super(e),this.factories=t,this.node=i}}function sr(o){return o.nodeType===Node.COMMENT_NODE}function Ts(o){return o.nodeType===Node.TEXT_NODE}function Bs(o,e){const t=document.createRange();return t.setStart(o,0),t.setEnd(e,sr(e)||Ts(e)?e.data.length:e.childNodes.length),t}function Ha(o){return o instanceof DocumentFragment&&"mode"in o}function Va(o,e,t){const i=Bs(o,e),r=i.commonAncestorContainer,s=document.createTreeWalker(r,NodeFilter.SHOW_ELEMENT+NodeFilter.SHOW_COMMENT+NodeFilter.SHOW_TEXT,{acceptNode(d){return i.comparePoint(d,0)===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),n={},c={};let h=s.currentNode=o;for(;h!==null;){switch(h.nodeType){case Node.ELEMENT_NODE:{La(h,t,n);break}case Node.COMMENT_NODE:{ja(h,s,t,n,c);break}}h=s.nextNode()}return i.detach(),{targets:n,boundaries:c}}function La(o,e,t){const i=Ne.parseAttributeBinding(o);if(i!==null){for(const r of i){if(!e[r])throw new zs(`HydrationView was unable to successfully target factory on ${o.nodeName} inside ${o.getRootNode().host.nodeName}. This likely indicates a template mismatch between SSR rendering and hydration.`,e,o);Uo(e[r],o,t)}o.removeAttribute(Ne.attributeMarkerName)}}function ja(o,e,t,i,r){if(Ne.isElementBoundaryStartMarker(o)){Ra(o,e);return}if(Ne.isContentBindingStartMarker(o.data)){const s=Ne.parseContentBindingStartMarker(o.data);if(s===null)return;const[n,c]=s,h=t[n],d=[];let l=e.nextSibling();o.data="";const f=l;for(;l!==null;){if(sr(l)){const w=Ne.parseContentBindingEndMarker(l.data);if(w&&w[1]===c)break}d.push(l),l=e.nextSibling()}if(l===null){const w=o.getRootNode();throw new Error(`Error hydrating Comment node inside "${Ha(w)?w.host.nodeName:w.nodeName}".`)}if(l.data="",d.length===1&&Ts(d[0]))Uo(h,d[0],i);else{l!==f&&l.previousSibling!==null&&(r[h.targetNodeId]={first:f,last:l.previousSibling});const w=l.parentNode.insertBefore(document.createTextNode(""),l);Uo(h,w,i)}}}function Ra(o,e){const t=Ne.parseElementBoundaryStartMarker(o.data);let i=e.nextSibling();for(;i!==null;){if(sr(i)){const r=Ne.parseElementBoundaryEndMarker(i.data);if(r&&r===t)break}i=e.nextSibling()}}function Uo(o,e,t){if(o.targetNodeId===void 0)throw new Error("Factory could not be target to the node");t[o.targetNodeId]=e}var Os;function nr(o,e){const t=o.parentNode;let i=o,r;for(;i!==e;){if(r=i.nextSibling,!r)throw new Error(`Unmatched first/last child inside "${e.getRootNode().host.nodeName}".`);t.removeChild(i),i=r}t.removeChild(e)}class _s{constructor(){this.index=0,this.length=0}get event(){return _t.getEvent()}get isEven(){return this.index%2===0}get isOdd(){return this.index%2!==0}get isFirst(){return this.index===0}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}}class Xo extends _s{constructor(e,t,i){super(),this.fragment=e,this.factories=t,this.targets=i,this.behaviors=null,this.unbindables=[],this.source=null,this.isBound=!1,this.sourceLifetime=Lo.unknown,this.context=this,this.firstChild=e.firstChild,this.lastChild=e.lastChild}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 i=e.parentNode;let r=this.firstChild,s;for(;r!==t;)s=r.nextSibling,i.insertBefore(r,e),r=s;i.insertBefore(t,e)}}remove(){const e=this.fragment,t=this.lastChild;let i=this.firstChild,r;for(;i!==t;)r=i.nextSibling,e.appendChild(i),i=r;e.appendChild(t)}dispose(){nr(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}bind(e,t=this){if(this.source===e)return;let i=this.behaviors;if(i===null){this.source=e,this.context=t,this.behaviors=i=new Array(this.factories.length);const r=this.factories;for(let s=0,n=r.length;s<n;++s){const c=r[s].createBehavior();c.bind(this),i[s]=c}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let r=0,s=i.length;r<s;++r)i[r].bind(this)}this.isBound=!0}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,i=e.length;t<i;++t)e[t].unbind(this);e.length=0}static disposeContiguousBatch(e){if(e.length!==0){nr(e[0].firstChild,e[e.length-1].lastChild);for(let t=0,i=e.length;t<i;++t)e[t].unbind()}}}ht(Xo),m.defineProperty(Xo.prototype,"index"),m.defineProperty(Xo.prototype,"length");const At={unhydrated:"unhydrated",hydrating:"hydrating",hydrated:"hydrated"};class qa extends Error{constructor(e,t,i,r){super(e),this.factory=t,this.fragment=i,this.templateString=r}}class Wa extends _s{constructor(e,t,i,r){super(),this.firstChild=e,this.lastChild=t,this.sourceTemplate=i,this.hostBindingTarget=r,this[Os]=Ro,this.context=this,this.source=null,this.isBound=!1,this.sourceLifetime=Lo.unknown,this.unbindables=[],this.fragment=null,this.behaviors=null,this._hydrationStage=At.unhydrated,this._bindingViewBoundaries={},this._targets={},this.factories=i.compile().factories}get hydrationStage(){return this._hydrationStage}get targets(){return this._targets}get bindingViewBoundaries(){return this._bindingViewBoundaries}insertBefore(e){if(this.fragment!==null)if(this.fragment.hasChildNodes())e.parentNode.insertBefore(this.fragment,e);else{const t=this.lastChild;if(e.previousSibling===t)return;const i=e.parentNode;let r=this.firstChild,s;for(;r!==t;)s=r.nextSibling,i.insertBefore(r,e),r=s;i.insertBefore(t,e)}}appendTo(e){this.fragment!==null&&e.appendChild(this.fragment)}remove(){const e=this.fragment||(this.fragment=document.createDocumentFragment()),t=this.lastChild;let i=this.firstChild,r;for(;i!==t;){if(r=i.nextSibling,!r)throw new Error(`Unmatched first/last child inside "${t.getRootNode().host.nodeName}".`);e.appendChild(i),i=r}e.appendChild(t)}bind(e,t=this){var i,r;if(this.hydrationStage!==At.hydrated&&(this._hydrationStage=At.hydrating),this.source===e)return;let s=this.behaviors;if(s===null){this.source=e,this.context=t;try{const{targets:c,boundaries:h}=Va(this.firstChild,this.lastChild,this.factories);this._targets=c,this._bindingViewBoundaries=h}catch(c){if(c instanceof zs){let h=this.sourceTemplate.html;typeof h!="string"&&(h=h.innerHTML),c.templateString=h}throw c}this.behaviors=s=new Array(this.factories.length);const n=this.factories;for(let c=0,h=n.length;c<h;++c){const d=n[c];if(d.targetNodeId==="h"&&this.hostBindingTarget&&Uo(d,this.hostBindingTarget,this._targets),d.targetNodeId in this.targets){const l=d.createBehavior();l.bind(this),s[c]=l}else{let l=this.sourceTemplate.html;throw typeof l!="string"&&(l=l.innerHTML),new qa(`HydrationView was unable to successfully target bindings inside "${(r=((i=this.firstChild)===null||i===void 0?void 0:i.getRootNode()).host)===null||r===void 0?void 0:r.nodeName}".`,d,Bs(this.firstChild,this.lastChild).cloneContents(),l)}}}else{this.source!==null&&this.evaluateUnbindables(),this.isBound=!1,this.source=e,this.context=t;for(let n=0,c=s.length;n<c;++n)s[n].bind(this)}this.isBound=!0,this._hydrationStage=At.hydrated}unbind(){!this.isBound||this.source===null||(this.evaluateUnbindables(),this.source=null,this.context=this,this.isBound=!1)}dispose(){nr(this.firstChild,this.lastChild),this.unbind()}onUnbind(e){this.unbindables.push(e)}evaluateUnbindables(){const e=this.unbindables;for(let t=0,i=e.length;t<i;++t)e[t].unbind(this);e.length=0}}Os=Ro,ht(Wa);function Ga(o){return o.create!==void 0}function Ua(o,e,t,i){if(t==null&&(t=""),Ga(t)){o.textContent="";let r=o.$fastView;if(r===void 0)if(qo(i)&&qo(t)&&i.bindingViewBoundaries[this.targetNodeId]!==void 0&&i.hydrationStage!==At.hydrated){const s=i.bindingViewBoundaries[this.targetNodeId];r=t.hydrate(s.first,s.last)}else r=t.create();else o.$fastTemplate!==t&&(r.isComposed&&(r.remove(),r.unbind()),r=t.create());r.isComposed?r.needsBindOnly&&(r.needsBindOnly=!1,r.bind(i.source,i.context)):(r.isComposed=!0,r.bind(i.source,i.context),r.insertBefore(o),o.$fastView=r,o.$fastTemplate=t)}else{const r=o.$fastView;r!==void 0&&r.isComposed&&(r.isComposed=!1,r.remove(),r.needsBindOnly?r.needsBindOnly=!1:r.unbind()),o.textContent=t}}function Xa(o,e,t){var i;const r=`${this.id}-t`,s=(i=o[r])!==null&&i!==void 0?i:o[r]={v:0,cv:Object.create(null)},n=s.cv;let c=s.v;const h=o[e];if(t!=null&&t.length){const d=t.split(/\s+/);for(let l=0,f=d.length;l<f;++l){const w=d[l];w!==""&&(n[w]=c,h.add(w))}}if(s.v=c+1,c!==0){c-=1;for(const d in n)n[d]===c&&h.remove(d)}}const Ka={[Q.attribute]:ut.setAttribute,[Q.booleanAttribute]:ut.setBooleanAttribute,[Q.property]:(o,e,t)=>o[e]=t,[Q.content]:Ua,[Q.tokenList]:Xa,[Q.event]:()=>{}};class Et{constructor(e){this.dataBinding=e,this.updateTarget=null,this.aspectType=Q.content}createHTML(e){return Ps.interpolation(e(this))}createBehavior(){var e;if(this.updateTarget===null){const t=Ka[this.aspectType],i=(e=this.dataBinding.policy)!==null&&e!==void 0?e:this.policy;if(!t)throw oe.error(1205);this.data=`${this.id}-d`,this.updateTarget=i.protect(this.targetTagName,this.aspectType,this.targetAspect,t)}return this}bind(e){var t;const i=e.targets[this.targetNodeId],r=qo(e)&&e.hydrationStage&&e.hydrationStage!==At.hydrated;switch(this.aspectType){case Q.event:i[this.data]=e,i.addEventListener(this.targetAspect,this,this.dataBinding.options);break;case Q.content:e.onUnbind(this);default:const s=(t=i[this.data])!==null&&t!==void 0?t:i[this.data]=this.dataBinding.createObserver(this,this);if(s.target=i,s.controller=e,r&&(this.aspectType===Q.attribute||this.aspectType===Q.booleanAttribute)){s.bind(e);break}this.updateTarget(i,this.targetAspect,s.bind(e),e);break}}unbind(e){const i=e.targets[this.targetNodeId].$fastView;i!==void 0&&i.isComposed&&(i.unbind(),i.needsBindOnly=!0)}handleEvent(e){const t=e.currentTarget[this.data];if(t.isBound){_t.setEvent(e);const i=this.dataBinding.evaluate(t.source,t.context);_t.setEvent(null),i!==!0&&e.preventDefault()}}handleChange(e,t){const i=t.target,r=t.controller;this.updateTarget(i,this.targetAspect,t.bind(r),r)}}Fe.define(Et,{aspected:!0});const As=(o,e)=>`${o}.${e}`,Es={},Me={index:0,node:null};function Ns(o){o.startsWith("fast-")||oe.warn(1204,{name:o})}const Ya=new Proxy(document.createElement("div"),{get(o,e){Ns(e);const t=Reflect.get(o,e);return Ot(t)?t.bind(o):t},set(o,e,t){return Ns(e),Reflect.set(o,e,t)}});class Qa{constructor(e,t,i){this.fragment=e,this.directives=t,this.policy=i,this.proto=null,this.nodeIds=new Set,this.descriptors={},this.factories=[]}addFactory(e,t,i,r,s){var n,c;this.nodeIds.has(i)||(this.nodeIds.add(i),this.addTargetDescriptor(t,i,r)),e.id=(n=e.id)!==null&&n!==void 0?n:ao(),e.targetNodeId=i,e.targetTagName=s,e.policy=(c=e.policy)!==null&&c!==void 0?c:this.policy,this.factories.push(e)}freeze(){return this.proto=Object.create(null,this.descriptors),this}addTargetDescriptor(e,t,i){const r=this.descriptors;if(t==="r"||t==="h"||r[t])return;if(!r[e]){const n=e.lastIndexOf("."),c=e.substring(0,n),h=parseInt(e.substring(n+1));this.addTargetDescriptor(c,e,h)}let s=Es[t];if(!s){const n=`_${t}`;Es[t]=s={get(){var c;return(c=this[n])!==null&&c!==void 0?c:this[n]=this[e].childNodes[i]}}}r[t]=s}createView(e){const t=this.fragment.cloneNode(!0),i=Object.create(this.proto);i.r=t,i.h=e??Ya;for(const r of this.nodeIds)i[r];return new Xo(t,this.factories,i)}}function Fs(o,e,t,i,r,s=!1){const n=t.attributes,c=o.directives;for(let h=0,d=n.length;h<d;++h){const l=n[h],f=l.value,w=Go.parse(f,c);let pe=null;w===null?s&&(pe=new Et(hs(()=>f,o.policy)),Fe.assignAspect(pe,l.name)):pe=ar.aggregate(w,o.policy),pe!==null&&(t.removeAttributeNode(l),h--,d--,o.addFactory(pe,e,i,r,t.tagName))}}function Za(o,e,t,i,r){const s=Go.parse(e.textContent,o.directives);if(s===null)return Me.node=e.nextSibling,Me.index=r+1,Me;let n,c=n=e;for(let h=0,d=s.length;h<d;++h){const l=s[h];h!==0&&(r++,i=As(t,r),n=c.parentNode.insertBefore(document.createTextNode(""),c.nextSibling)),Ge(l)?n.textContent=l:(n.textContent=" ",Fe.assignAspect(l),o.addFactory(l,t,i,r,null)),c=n}return Me.index=r+1,Me.node=c.nextSibling,Me}function Ms(o,e,t){let i=0,r=e.firstChild;for(;r;){const s=Ja(o,t,r,i);r=s.node,i=s.index}}function Ja(o,e,t,i){const r=As(e,i);switch(t.nodeType){case 1:Fs(o,e,t,r,i),Ms(o,t,r);break;case 3:return Za(o,t,e,r,i);case 8:const s=Go.parse(t.data,o.directives);s!==null&&o.addFactory(ar.aggregate(s),e,r,i,null);break}return Me.index=i+1,Me.node=t.nextSibling,Me}function el(o,e){return o&&o.nodeType==8&&Go.parse(o.data,e)!==null}const Ds="TEMPLATE",ar={compile(o,e,t=ut.policy){let i;if(Ge(o)){i=document.createElement(Ds),i.innerHTML=t.createHTML(o);const n=i.content.firstElementChild;n!==null&&n.tagName===Ds&&(i=n)}else i=o;!i.content.firstChild&&!i.content.lastChild&&i.content.appendChild(document.createComment(""));const r=document.adoptNode(i.content),s=new Qa(r,e,t);return Fs(s,"",i,"h",0,!0),(el(r.firstChild,e)||r.childNodes.length===1&&Object.keys(e).length>0)&&r.insertBefore(document.createComment(""),r.firstChild),Ms(s,r,"r"),Me.node=null,s.freeze()},setDefaultStrategy(o){this.compile=o},aggregate(o,e=ut.policy){if(o.length===1)return o[0];let t,i=!1,r;const s=o.length,n=o.map(d=>Ge(d)?()=>d:(t=d.sourceAspect||t,i=i||d.dataBinding.isVolatile,r=r||d.dataBinding.policy,d.dataBinding.evaluate)),c=(d,l)=>{let f="";for(let w=0;w<s;++w)f+=n[w](d,l);return f},h=new Et(Qi(c,r??e,i));return Fe.assignAspect(h,t),h}},tl=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,ol=Object.create(null);class pt{constructor(e,t=ol){this.html=e,this.factories=t}createHTML(e){const t=this.factories;for(const i in t)e(t[i]);return this.html}}pt.empty=new pt(""),Fe.define(pt);function il(o,e,t,i=Fe.getForInstance(o)){if(i.aspected){const r=tl.exec(e);r!==null&&Fe.assignAspect(o,r[2])}return o.createHTML(t)}class Wi{constructor(e,t={},i){this.policy=i,this.result=null,this.html=e,this.factories=t}compile(){return this.result===null&&(this.result=ar.compile(this.html,this.factories,this.policy)),this.result}create(e){return this.compile().createView(e)}inline(){return new pt(Ge(this.html)?this.html:this.html.innerHTML,this.factories)}withPolicy(e){if(this.result)throw oe.error(1208);if(this.policy)throw oe.error(1207);return this.policy=e,this}render(e,t,i){const r=this.create(i);return r.bind(e),r.appendTo(t),r}static create(e,t,i){let r="";const s=Object.create(null),n=c=>{var h;const d=(h=c.id)!==null&&h!==void 0?h:c.id=ao();return s[d]=c,d};for(let c=0,h=e.length-1;c<h;++c){const d=e[c];let l=t[c],f;if(r+=d,Ot(l))l=new Et(Qi(l));else if(l instanceof jo)l=new Et(l);else if(!(f=Fe.getForInstance(l))){const w=l;l=new Et(hs(()=>w))}r+=il(l,d,n,f)}return new Wi(r+e[e.length-1],s,i)}}ht(Wi);const b=(o,...e)=>{if(Array.isArray(o)&&Array.isArray(o.raw))return Wi.create(o,e);throw oe.error(1206)};b.partial=o=>new pt(o);class Hs extends rr{bind(e){e.source[this.options]=e.targets[this.targetNodeId]}}Fe.define(Hs);const E=o=>new Hs(o),rl=o=>o.nodeType===1,lo=o=>o?e=>e.nodeType===1&&e.matches(o):rl;class sl extends rr{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,Oa),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}}const Vs="slotchange";class Ls extends sl{observe(e){e.addEventListener(Vs,this)}disconnect(e){e.removeEventListener(Vs,this)}getNodes(e){return e.assignedNodes(this.options)}handleEvent(e){const t=e.currentTarget;this.updateTarget(this.getSource(t),this.computeNodes(t))}}Fe.define(Ls);function G(o){return Ge(o)&&(o={property:o}),new Ls(o)}const js="boolean",Rs="reflect",Ko=Object.freeze({locate:ss()}),nl={toView(o){return o?"true":"false"},fromView(o){return!(o==null||o==="false"||o===!1||o===0)}};function qs(o){if(o==null)return null;const e=o*1;return isNaN(e)?null:e}const re={toView(o){const e=qs(o);return e&&e.toString()},fromView:qs};class Gi{constructor(e,t,i=t.toLowerCase(),r=Rs,s){this.guards=new Set,this.Owner=e,this.name=t,this.attribute=i,this.mode=r,this.converter=s,this.fieldName=`_${t}`,this.callbackName=`${t}Changed`,this.hasCallback=this.callbackName in e.prototype,r===js&&s===void 0&&(this.converter=nl)}setValue(e,t){const i=e[this.fieldName],r=this.converter;r!==void 0&&(t=r.fromView(t)),i!==t&&(e[this.fieldName]=t,this.tryReflectToAttribute(e),this.hasCallback&&e[this.callbackName](i,t),e.$fastController.notify(this.name))}getValue(e){return m.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,i=this.guards;i.has(e)||t==="fromView"||ie.enqueue(()=>{i.add(e);const r=e[this.fieldName];switch(t){case Rs:const s=this.converter;ut.setAttribute(e,this.attribute,s!==void 0?s.toView(r):r);break;case js:ut.setBooleanAttribute(e,this.attribute,r);break}i.delete(e)})}static collect(e,...t){const i=[];t.push(Ko.locate(e));for(let r=0,s=t.length;r<s;++r){const n=t[r];if(n!==void 0)for(let c=0,h=n.length;c<h;++c){const d=n[c];Ge(d)?i.push(new Gi(e,d)):i.push(new Gi(e,d.property,d.attribute,d.mode,d.converter))}}return i}}function a(o,e){let t;function i(r,s){arguments.length>1&&(t.property=s),Ko.locate(r.constructor).push(t)}if(arguments.length>1){t={},i(o,e);return}return t=o===void 0?{}:o,i}const Ws={mode:"open"},Gs={},Us=new Set,Yo=oe.getById(dt.elementRegistry,()=>Ki());class Ee{constructor(e,t=e.definition){var i;this.platformDefined=!1,Ge(t)&&(t={name:t}),this.type=e,this.name=t.name,this.template=t.template,this.registry=(i=t.registry)!==null&&i!==void 0?i:customElements;const r=e.prototype,s=Gi.collect(e,t.attributes),n=new Array(s.length),c={},h={};for(let d=0,l=s.length;d<l;++d){const f=s[d];n[d]=f.attribute,c[f.name]=f,h[f.attribute]=f,m.defineProperty(r,f)}Reflect.defineProperty(e,"observedAttributes",{value:n,enumerable:!0}),this.attributes=s,this.propertyLookup=c,this.attributeLookup=h,this.shadowOptions=t.shadowOptions===void 0?Ws:t.shadowOptions===null?void 0:Object.assign(Object.assign({},Ws),t.shadowOptions),this.elementOptions=t.elementOptions===void 0?Gs:Object.assign(Object.assign({},Gs),t.elementOptions),this.styles=we.normalize(t.styles),Yo.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 Us.has(e)||Yo.getByType(e)?new Ee(class extends e{},t):new Ee(e,t)}static registerBaseType(e){Us.add(e)}}Ee.getByType=Yo.getByType,Ee.getForInstance=Yo.getForInstance;class al extends MutationObserver{constructor(e){function t(i){this.callback.call(null,i.filter(r=>this.observedNodes.has(r.target)))}super(t),this.callback=e,this.observedNodes=new Set}observe(e,t){this.observedNodes.add(e),super.observe(e,t)}unobserve(e){this.observedNodes.delete(e),this.observedNodes.size<1&&this.disconnect()}}Object.freeze({create(o){const e=[],t={};let i=null,r=!1;return{source:o,context:_t.default,targets:t,get isBound(){return r},addBehaviorFactory(s,n){var c,h,d,l;const f=s;f.id=(c=f.id)!==null&&c!==void 0?c:ao(),f.targetNodeId=(h=f.targetNodeId)!==null&&h!==void 0?h:ao(),f.targetTagName=(d=n.tagName)!==null&&d!==void 0?d:null,f.policy=(l=f.policy)!==null&&l!==void 0?l:ut.policy,this.addTarget(f.targetNodeId,n),this.addBehavior(f.createBehavior())},addTarget(s,n){t[s]=n},addBehavior(s){e.push(s),r&&s.bind(this)},onUnbind(s){i===null&&(i=[]),i.push(s)},connectedCallback(s){r||(r=!0,e.forEach(n=>n.bind(this)))},disconnectedCallback(s){r&&(r=!1,i!==null&&i.forEach(n=>n.unbind(this)))}}}});const ll={bubbles:!0,composed:!0,cancelable:!0},Qo="isConnected",Xs=new WeakMap;function co(o){var e,t;return(t=(e=o.shadowRoot)!==null&&e!==void 0?e:Xs.get(o))!==null&&t!==void 0?t:null}let Ks;class Nt extends as{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.behaviorsConnected=!1,this._mainStyles=null,this.$fastController=this,this.view=null,this.source=e,this.definition=t;const i=t.shadowOptions;if(i!==void 0){let s=e.shadowRoot;s?this.hasExistingShadowRoot=!0:(s=e.attachShadow(i),i.mode==="closed"&&Xs.set(e,s))}const r=m.getAccessors(e);if(r.length>0){const s=this.boundObservables=Object.create(null);for(let n=0,c=r.length;n<c;++n){const h=r[n].name,d=e[h];d!==void 0&&(delete e[h],s[h]=d)}}}get isConnected(){return m.track(this,Qo),this.stage===1}get context(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.context)!==null&&t!==void 0?t:_t.default}get isBound(){var e,t;return(t=(e=this.view)===null||e===void 0?void 0:e.isBound)!==null&&t!==void 0?t:!1}get sourceLifetime(){var e;return(e=this.view)===null||e===void 0?void 0:e.sourceLifetime}get template(){var e;if(this._template===null){const t=this.definition;this.source.resolveTemplate?this._template=this.source.resolveTemplate():t.template&&(this._template=(e=t.template)!==null&&e!==void 0?e:null)}return this._template}set template(e){this._template!==e&&(this._template=e,this.needsInitialization||this.renderTemplate(e))}get mainStyles(){var e;if(this._mainStyles===null){const t=this.definition;this.source.resolveStyles?this._mainStyles=this.source.resolveStyles():t.styles&&(this._mainStyles=(e=t.styles)!==null&&e!==void 0?e:null)}return this._mainStyles}set mainStyles(e){this._mainStyles!==e&&(this._mainStyles!==null&&this.removeStyles(this._mainStyles),this._mainStyles=e,this.needsInitialization||this.addStyles(e))}onUnbind(e){var t;(t=this.view)===null||t===void 0||t.onUnbind(e)}addBehavior(e){var t,i;const r=(t=this.behaviors)!==null&&t!==void 0?t:this.behaviors=new Map,s=(i=r.get(e))!==null&&i!==void 0?i:0;s===0?(r.set(e,1),e.addedCallback&&e.addedCallback(this),e.connectedCallback&&!this.guardBehaviorConnection&&(this.stage===1||this.stage===0)&&e.connectedCallback(this)):r.set(e,s+1)}removeBehavior(e,t=!1){const i=this.behaviors;if(i===null)return;const r=i.get(e);r!==void 0&&(r===1||t?(i.delete(e),e.disconnectedCallback&&this.stage!==3&&e.disconnectedCallback(this),e.removedCallback&&e.removedCallback(this)):i.set(e,r-1))}addStyles(e){var t;if(!e)return;const i=this.source;if(e instanceof HTMLElement)((t=co(i))!==null&&t!==void 0?t:this.source).append(e);else if(!e.isAttachedTo(i)){const r=e.behaviors;if(e.addStylesTo(i),r!==null)for(let s=0,n=r.length;s<n;++s)this.addBehavior(r[s])}}removeStyles(e){var t;if(!e)return;const i=this.source;if(e instanceof HTMLElement)((t=co(i))!==null&&t!==void 0?t:i).removeChild(e);else if(e.isAttachedTo(i)){const r=e.behaviors;if(e.removeStylesFrom(i),r!==null)for(let s=0,n=r.length;s<n;++s)this.removeBehavior(r[s])}}connect(){this.stage===3&&(this.stage=0,this.bindObservables(),this.connectBehaviors(),this.needsInitialization?(this.renderTemplate(this.template),this.addStyles(this.mainStyles),this.needsInitialization=!1):this.view!==null&&this.view.bind(this.source),this.stage=1,m.notify(this,Qo))}bindObservables(){if(this.boundObservables!==null){const e=this.source,t=this.boundObservables,i=Object.keys(t);for(let r=0,s=i.length;r<s;++r){const n=i[r];e[n]=t[n]}this.boundObservables=null}}connectBehaviors(){if(this.behaviorsConnected===!1){const e=this.behaviors;if(e!==null){this.guardBehaviorConnection=!0;for(const t of e.keys())t.connectedCallback&&t.connectedCallback(this);this.guardBehaviorConnection=!1}this.behaviorsConnected=!0}}disconnectBehaviors(){if(this.behaviorsConnected===!0){const e=this.behaviors;if(e!==null)for(const t of e.keys())t.disconnectedCallback&&t.disconnectedCallback(this);this.behaviorsConnected=!1}}disconnect(){this.stage===1&&(this.stage=2,m.notify(this,Qo),this.view!==null&&this.view.unbind(),this.disconnectBehaviors(),this.stage=3)}onAttributeChangedCallback(e,t,i){const r=this.definition.attributeLookup[e];r!==void 0&&r.onAttributeChangedCallback(this.source,i)}emit(e,t,i){return this.stage===1?this.source.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({detail:t},ll),i))):!1}renderTemplate(e){var t;const i=this.source,r=(t=co(i))!==null&&t!==void 0?t:i;if(this.view!==null)this.view.dispose(),this.view=null;else if(!this.needsInitialization||this.hasExistingShadowRoot){this.hasExistingShadowRoot=!1;for(let s=r.firstChild;s!==null;s=r.firstChild)r.removeChild(s)}e&&(this.view=e.render(i,r,i),this.view.sourceLifetime=Lo.coupled)}static forCustomElement(e){const t=e.$fastController;if(t!==void 0)return t;const i=Ee.getForInstance(e);if(i===void 0)throw oe.error(1401);return e.$fastController=new Ks(e,i)}static setStrategy(e){Ks=e}}ht(Nt),Nt.setStrategy(Nt);function Zo(o){var e;return"adoptedStyleSheets"in o?o:(e=co(o))!==null&&e!==void 0?e:o.getRootNode()}class Ui{constructor(e){const t=Ui.styleSheetCache;this.sheets=e.map(i=>{if(i instanceof CSSStyleSheet)return i;let r=t.get(i);return r===void 0&&(r=new CSSStyleSheet,r.replaceSync(i),t.set(i,r)),r})}addStylesTo(e){Qs(Zo(e),this.sheets)}removeStylesFrom(e){Zs(Zo(e),this.sheets)}}Ui.styleSheetCache=new Map;let cl=0;const dl=()=>`fast-${++cl}`;function Ys(o){return o===document?document.body:o}class hl{constructor(e){this.styles=e,this.styleClass=dl()}addStylesTo(e){e=Ys(Zo(e));const t=this.styles,i=this.styleClass;for(let r=0;r<t.length;r++){const s=document.createElement("style");s.innerHTML=t[r],s.className=i,e.append(s)}}removeStylesFrom(e){e=Ys(Zo(e));const t=e.querySelectorAll(`.${this.styleClass}`);for(let i=0,r=t.length;i<r;++i)e.removeChild(t[i])}}let Qs=(o,e)=>{o.adoptedStyleSheets=[...o.adoptedStyleSheets,...e]},Zs=(o,e)=>{o.adoptedStyleSheets=o.adoptedStyleSheets.filter(t=>e.indexOf(t)===-1)};if(we.supportsAdoptedStyleSheets){try{document.adoptedStyleSheets.push(),document.adoptedStyleSheets.splice(),Qs=(o,e)=>{o.adoptedStyleSheets.push(...e)},Zs=(o,e)=>{for(const t of e){const i=o.adoptedStyleSheets.indexOf(t);i!==-1&&o.adoptedStyleSheets.splice(i,1)}}}catch{}we.setDefaultStrategy(Ui)}else we.setDefaultStrategy(hl);const Js="defer-hydration",en="needs-hydration";class Bt extends Nt{static hydrationObserverHandler(e){for(const t of e)Bt.hydrationObserver.unobserve(t.target),t.target.$fastController.connect()}connect(){var e,t;if(this.needsHydration===void 0&&(this.needsHydration=this.source.getAttribute(en)!==null),this.source.hasAttribute(Js)){Bt.hydrationObserver.observe(this.source,{attributeFilter:[Js]});return}if(!this.needsHydration){super.connect();return}if(this.stage!==3)return;this.stage=0,this.bindObservables(),this.connectBehaviors();const i=this.source,r=(e=co(i))!==null&&e!==void 0?e:i;if(this.template)if(qo(this.template)){let s=r.firstChild,n=r.lastChild;i.shadowRoot===null&&(Ne.isElementBoundaryStartMarker(s)&&(s.data="",s=s.nextSibling),Ne.isElementBoundaryEndMarker(n)&&(n.data="",n=n.previousSibling)),this.view=this.template.hydrate(s,n,i),(t=this.view)===null||t===void 0||t.bind(this.source)}else this.renderTemplate(this.template);this.addStyles(this.mainStyles),this.stage=1,this.source.removeAttribute(en),this.needsInitialization=this.needsHydration=!1,m.notify(this,Qo)}disconnect(){super.disconnect(),Bt.hydrationObserver.unobserve(this.source)}static install(){Nt.setStrategy(Bt)}}Bt.hydrationObserver=new al(Bt.hydrationObserverHandler);function tn(o){const e=class extends o{constructor(){super(),Nt.forCustomElement(this)}$emit(t,i,r){return this.$fastController.emit(t,i,r)}connectedCallback(){this.$fastController.connect()}disconnectedCallback(){this.$fastController.disconnect()}attributeChangedCallback(t,i,r){this.$fastController.onAttributeChangedCallback(t,i,r)}};return Ee.registerBaseType(e),e}function ul(o,e){return Ot(o)?Ee.compose(o,e):Ee.compose(this,o)}function pl(o,e){return Ot(o)?Ee.compose(o,e).define().type:Ee.compose(this,o).define().type}function bl(o){return tn(o)}const $=Object.assign(tn(HTMLElement),{from:bl,define:pl,compose:ul});var gl=Object.defineProperty,fl=Object.getOwnPropertyDescriptor,j=(o,e,t,i)=>{for(var r=i>1?void 0:i?fl(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&gl(e,t,r),r};class R{}j([a({attribute:"aria-atomic"})],R.prototype,"ariaAtomic",2),j([a({attribute:"aria-busy"})],R.prototype,"ariaBusy",2),j([a({attribute:"aria-controls"})],R.prototype,"ariaControls",2),j([a({attribute:"aria-current"})],R.prototype,"ariaCurrent",2),j([a({attribute:"aria-describedby"})],R.prototype,"ariaDescribedby",2),j([a({attribute:"aria-details"})],R.prototype,"ariaDetails",2),j([a({attribute:"aria-disabled"})],R.prototype,"ariaDisabled",2),j([a({attribute:"aria-errormessage"})],R.prototype,"ariaErrormessage",2),j([a({attribute:"aria-flowto"})],R.prototype,"ariaFlowto",2),j([a({attribute:"aria-haspopup"})],R.prototype,"ariaHaspopup",2),j([a({attribute:"aria-hidden"})],R.prototype,"ariaHidden",2),j([a({attribute:"aria-invalid"})],R.prototype,"ariaInvalid",2),j([a({attribute:"aria-keyshortcuts"})],R.prototype,"ariaKeyshortcuts",2),j([a({attribute:"aria-label"})],R.prototype,"ariaLabel",2),j([a({attribute:"aria-labelledby"})],R.prototype,"ariaLabelledby",2),j([a({attribute:"aria-live"})],R.prototype,"ariaLive",2),j([a({attribute:"aria-owns"})],R.prototype,"ariaOwns",2),j([a({attribute:"aria-relevant"})],R.prototype,"ariaRelevant",2),j([a({attribute:"aria-roledescription"})],R.prototype,"ariaRoledescription",2);const lr={fromView(o){const e=parseFloat(o);return Number.isNaN(e)?"":e.toString()},toView(o){const e=parseFloat(o);return Number.isNaN(e)?void 0:e.toString()}},be={horizontal:"horizontal",vertical:"vertical"};function ml(o,e){let t=o.length;for(;t--;)if(e(o[t],t,o))return t;return-1}function cr(...o){return o.every(e=>e instanceof HTMLElement)}const ho="ArrowDown",uo="ArrowLeft",po="ArrowRight",bo="ArrowUp",go="End",fo="Enter",vl="Escape",mo="Home",Jo=" ",$l="Tab";var De;(function(o){o.ltr="ltr",o.rtl="rtl"})(De||(De={}));function yl(o,e,t){return t<o?e:t>e?o:t}function dr(o,e,t){return Math.min(Math.max(t,o),e)}let xl=0;function Ft(o=""){return`${o}${xl++}`}const ei=o=>o.closest("[dir]")?.dir==="rtl"?De.rtl:De.ltr;function ge(o){return o?typeof o=="string"?new pt(o):"inline"in o?o.inline():o:pt.empty}const on=o=>o.nodeType!==Node.TEXT_NODE||!!o.nodeValue?.trim().length,kl=":host([hidden]){display:none}";function k(o){return`${kl}:host{display:${o}}`}class wl{constructor(e){this.listenerCache=new WeakMap,this.query=e}connectedCallback(e){const{query:t}=this;let i=this.listenerCache.get(e);i||(i=this.constructListener(e),this.listenerCache.set(e,i)),i.bind(t)(),t.addEventListener("change",i)}disconnectedCallback(e){const t=this.listenerCache.get(e);t&&this.query.removeEventListener("change",t)}}class Do extends wl{constructor(e,t){super(e),this.styles=t}static with(e){return t=>new Do(e,t)}constructListener(e){let t=!1;const i=this.styles;return function(){const{matches:s}=this;s&&!t?(e.addStyles(i),t=s):!s&&t&&(e.removeStyles(i),t=s)}}removedCallback(e){e.removeStyles(this.styles)}}const U=Do.with(window.matchMedia("(forced-colors)"));Do.with(window.matchMedia("(prefers-color-scheme: dark)")),Do.with(window.matchMedia("(prefers-color-scheme: light)"));const ti=CSS.supports("anchor-name: --a"),Cl="anchor"in HTMLElement.prototype,rn=CSS.supports("selector(:state(g))");class Ue{}function tt(o){return b`<slot name="end" ${E("end")}>${ge(o.end)}</slot>`.inline()}function He(o){return b`<slot name="start" ${E("start")}>${ge(o.start)}</slot>`.inline()}function Xe(o,...e){const t=Ko.locate(o);e.forEach(i=>{Object.getOwnPropertyNames(i.prototype).forEach(s=>{s!=="constructor"&&Object.defineProperty(o.prototype,s,Object.getOwnPropertyDescriptor(i.prototype,s))}),Ko.locate(i).forEach(s=>t.push(s))})}var Sl=Object.defineProperty,Il=Object.getOwnPropertyDescriptor,oi=(o,e,t,i)=>{for(var r=i>1?void 0:i?Il(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Sl(e,t,r),r};class ot extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.headinglevel=2,this.expanded=!1,this.disabled=!1,this.id=Ft("accordion-")}}oi([a({attribute:"heading-level",mode:"fromView",converter:re})],ot.prototype,"headinglevel",2),oi([a({mode:"boolean"})],ot.prototype,"expanded",2),oi([a({mode:"boolean"})],ot.prototype,"disabled",2),oi([a],ot.prototype,"id",2);var Pl=Object.defineProperty,zl=Object.getOwnPropertyDescriptor,hr=(o,e,t,i)=>{for(var r=i>1?void 0:i?zl(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Pl(e,t,r),r};class vo extends ot{constructor(){super(...arguments),this.block=!1}}hr([a],vo.prototype,"size",2),hr([a({attribute:"marker-position"})],vo.prototype,"markerPosition",2),hr([a({mode:"boolean"})],vo.prototype,"block",2),Xe(vo,Ue);const T="var(--colorNeutralForeground1)",ur="var(--colorNeutralForeground1Hover)",Tl="var(--colorNeutralForeground1Pressed)",Ie="var(--colorNeutralForeground2)",Mt="var(--colorNeutralForeground2Hover)",Dt="var(--colorNeutralForeground2Pressed)",ii="var(--colorNeutralForeground2Selected)",ri="var(--colorNeutralForeground2BrandHover)",si="var(--colorNeutralForeground2BrandPressed)",Bl="var(--colorNeutralForeground2BrandSelected)",Z="var(--colorNeutralForeground3)",Ol="var(--colorNeutralForeground3Hover)",_l="var(--colorNeutralForeground3Pressed)",Al="var(--colorNeutralForeground3Selected)",pr="var(--colorNeutralForeground4)",S="var(--colorNeutralForegroundDisabled)",El="var(--colorBrandForegroundLink)",Nl="var(--colorBrandForegroundLinkHover)",Fl="var(--colorBrandForegroundLinkPressed)",Ml="var(--colorNeutralForeground2Link)",Dl="var(--colorNeutralForeground2LinkHover)",Hl="var(--colorNeutralForeground2LinkPressed)",sn="var(--colorCompoundBrandForeground1Hover)",Vl="var(--colorCompoundBrandForeground1Pressed)",Ke="var(--colorNeutralForegroundOnBrand)",bt="var(--colorNeutralForegroundInverted)",Ll="var(--colorNeutralForegroundInvertedHover)",jl="var(--colorNeutralForegroundInvertedPressed)",nn="var(--colorNeutralForegroundStaticInverted)",ni="var(--colorBrandForeground1)",Rl="var(--colorBrandForeground2)",ql="var(--colorNeutralForeground1Static)",I="var(--colorNeutralBackground1)",ai="var(--colorNeutralBackground1Hover)",br="var(--colorNeutralBackground1Pressed)",an="var(--colorNeutralBackground1Selected)",$o="var(--colorNeutralBackground3)",Wl="var(--colorNeutralBackground4)",Gl="var(--colorNeutralBackground5)",yo="var(--colorNeutralBackground6)",ln="var(--colorNeutralBackgroundInverted)",cn="var(--colorSubtleBackground)",xo="var(--colorSubtleBackgroundHover)",gt="var(--colorSubtleBackgroundPressed)",dn="var(--colorSubtleBackgroundSelected)",Ul="var(--colorSubtleBackgroundLightAlphaHover)",Xl="var(--colorSubtleBackgroundLightAlphaPressed)",Kl="var(--colorSubtleBackgroundLightAlphaSelected)",fe="var(--colorTransparentBackground)",li="var(--colorTransparentBackgroundHover)",ci="var(--colorTransparentBackgroundPressed)",hn="var(--colorTransparentBackgroundSelected)",it="var(--colorNeutralBackgroundDisabled)",gr="var(--colorBackgroundOverlay)",un="var(--colorBrandBackground)",pn="var(--colorBrandBackgroundHover)",bn="var(--colorBrandBackgroundPressed)",Yl="var(--colorBrandBackgroundSelected)",ft="var(--colorCompoundBrandBackground)",Ht="var(--colorCompoundBrandBackgroundHover)",Vt="var(--colorCompoundBrandBackgroundPressed)",gn="var(--colorBrandBackgroundStatic)",fn="var(--colorBrandBackground2)",Ve="var(--colorNeutralStrokeAccessible)",mt="var(--colorNeutralStrokeAccessibleHover)",vt="var(--colorNeutralStrokeAccessiblePressed)",Le="var(--colorNeutralStroke1)",Lt="var(--colorNeutralStroke1Hover)",ko="var(--colorNeutralStroke1Pressed)",wo="var(--colorNeutralStroke2)",Ql="var(--colorNeutralStroke3)",Zl="var(--colorNeutralStrokeOnBrand2)",mn="var(--colorBrandStroke1)",vn="var(--colorBrandStroke2)",$t="var(--colorCompoundBrandStroke)",Jl="var(--colorCompoundBrandStrokeHover)",$n="var(--colorCompoundBrandStrokePressed)",Ce="var(--colorNeutralStrokeDisabled)",X="var(--colorTransparentStroke)",fr="var(--colorTransparentStrokeInteractive)",di="var(--colorStrokeFocus1)",me="var(--colorStrokeFocus2)",ec="var(--colorNeutralShadowAmbient)",tc="var(--colorNeutralShadowKey)",yn="var(--colorPaletteRedBackground1)",oc="var(--colorPaletteRedBackground2)",xn="var(--colorPaletteRedBackground3)",kn="var(--colorPaletteRedBorder1)",mr="var(--colorPaletteRedBorder2)",vr="var(--colorPaletteRedForeground1)",ic="var(--colorPaletteRedForeground2)",wn="var(--colorPaletteRedForeground3)",Cn="var(--colorPaletteGreenBackground1)",Sn="var(--colorPaletteGreenBackground3)",rc="var(--colorPaletteGreenBorder1)",sc="var(--colorPaletteGreenBorder2)",nc="var(--colorPaletteGreenForeground1)",ac="var(--colorPaletteGreenForeground2)",lc="var(--colorPaletteGreenForeground3)",In="var(--colorPaletteDarkOrangeBackground1)",Pn="var(--colorPaletteDarkOrangeBackground3)",zn="var(--colorPaletteDarkOrangeBorder1)",cc="var(--colorPaletteDarkOrangeForeground1)",Tn="var(--colorPaletteDarkOrangeForeground3)",dc="var(--colorPaletteYellowBackground1)",hc="var(--colorPaletteYellowBackground3)",uc="var(--colorPaletteYellowBorder1)",$r="var(--colorPaletteYellowForeground2)",Bn="var(--colorPaletteMarigoldBackground2)",pc="var(--colorPaletteMarigoldBorderActive)",bc="var(--colorPaletteMarigoldForeground2)",gc="var(--colorPaletteAnchorBackground2)",fc="var(--colorPaletteAnchorForeground2)",mc="var(--colorPaletteBeigeBackground2)",vc="var(--colorPaletteBeigeForeground2)",$c="var(--colorPaletteBlueBackground2)",yc="var(--colorPaletteBlueForeground2)",xc="var(--colorPaletteBrassBackground2)",kc="var(--colorPaletteBrassForeground2)",wc="var(--colorPaletteBrownBackground2)",Cc="var(--colorPaletteBrownForeground2)",Sc="var(--colorPaletteCornflowerBackground2)",Ic="var(--colorPaletteCornflowerForeground2)",Pc="var(--colorPaletteCranberryBackground2)",zc="var(--colorPaletteCranberryForeground2)",Tc="var(--colorPaletteDarkGreenBackground2)",Bc="var(--colorPaletteDarkGreenForeground2)",Oc="var(--colorPaletteDarkRedBackground2)",_c="var(--colorPaletteDarkRedForeground2)",Ac="var(--colorPaletteForestBackground2)",Ec="var(--colorPaletteForestForeground2)",Nc="var(--colorPaletteGoldBackground2)",Fc="var(--colorPaletteGoldForeground2)",Mc="var(--colorPaletteGrapeBackground2)",Dc="var(--colorPaletteGrapeForeground2)",Hc="var(--colorPaletteLavenderBackground2)",Vc="var(--colorPaletteLavenderForeground2)",Lc="var(--colorPaletteLightTealBackground2)",jc="var(--colorPaletteLightTealForeground2)",Rc="var(--colorPaletteLilacBackground2)",qc="var(--colorPaletteLilacForeground2)",Wc="var(--colorPaletteMagentaBackground2)",Gc="var(--colorPaletteMagentaForeground2)",Uc="var(--colorPaletteMinkBackground2)",Xc="var(--colorPaletteMinkForeground2)",Kc="var(--colorPaletteNavyBackground2)",Yc="var(--colorPaletteNavyForeground2)",Qc="var(--colorPalettePeachBackground2)",Zc="var(--colorPalettePeachForeground2)",Jc="var(--colorPalettePinkBackground2)",ed="var(--colorPalettePinkForeground2)",td="var(--colorPalettePlatinumBackground2)",od="var(--colorPalettePlatinumForeground2)",id="var(--colorPalettePlumBackground2)",rd="var(--colorPalettePlumForeground2)",sd="var(--colorPalettePumpkinBackground2)",nd="var(--colorPalettePumpkinForeground2)",ad="var(--colorPalettePurpleBackground2)",ld="var(--colorPalettePurpleForeground2)",cd="var(--colorPaletteRoyalBlueBackground2)",dd="var(--colorPaletteRoyalBlueForeground2)",hd="var(--colorPaletteSeafoamBackground2)",ud="var(--colorPaletteSeafoamForeground2)",pd="var(--colorPaletteSteelBackground2)",bd="var(--colorPaletteSteelForeground2)",gd="var(--colorPaletteTealBackground2)",fd="var(--colorPaletteTealForeground2)",hi="var(--borderRadiusNone)",Be="var(--borderRadiusSmall)",C="var(--borderRadiusMedium)",On="var(--borderRadiusLarge)",_n="var(--borderRadiusXLarge)",ve="var(--borderRadiusCircular)",v="var(--fontFamilyBase)",md="var(--fontFamilyMonospace)",vd="var(--fontFamilyNumeric)",Co="var(--fontSizeBase100)",F="var(--fontSizeBase200)",B="var(--fontSizeBase300)",he="var(--fontSizeBase400)",jt="var(--fontSizeBase500)",ui="var(--fontSizeBase600)",An="var(--fontSizeHero700)",En="var(--fontSizeHero800)",Nn="var(--fontSizeHero900)",Fn="var(--fontSizeHero1000)",_="var(--fontWeightRegular)",$d="var(--fontWeightMedium)",D="var(--fontWeightSemibold)",pi="var(--fontWeightBold)",bi="var(--lineHeightBase100)",q="var(--lineHeightBase200)",A="var(--lineHeightBase300)",$e="var(--lineHeightBase400)",gi="var(--lineHeightBase500)",Mn="var(--lineHeightBase600)",Dn="var(--lineHeightHero700)",Hn="var(--lineHeightHero800)",Vn="var(--lineHeightHero900)",Ln="var(--lineHeightHero1000)",yr="var(--shadow2)",fi="var(--shadow4)",yd="var(--shadow8)",xr="var(--shadow16)",xd="var(--shadow28)",jn="var(--shadow64)",P="var(--strokeWidthThin)",ye="var(--strokeWidthThick)",se="var(--strokeWidthThicker)",kr="var(--strokeWidthThickest)",H="var(--spacingHorizontalXXS)",ne="var(--spacingHorizontalXS)",J="var(--spacingHorizontalSNudge)",Oe="var(--spacingHorizontalS)",ae="var(--spacingHorizontalMNudge)",le="var(--spacingHorizontalM)",kd="var(--spacingHorizontalL)",wd="var(--spacingHorizontalXL)",wr="var(--spacingHorizontalXXL)",Cr="var(--spacingVerticalNone)",Rt="var(--spacingVerticalXXS)",qt="var(--spacingVerticalXS)",je="var(--spacingVerticalSNudge)",V="var(--spacingVerticalS)",Wt="var(--spacingVerticalMNudge)",Cd="var(--spacingVerticalM)",mi="var(--spacingVerticalL)",yt="var(--spacingVerticalXXL)",Sd="var(--spacingVerticalXXXL)",Sr="var(--durationUltraFast)",vi="var(--durationFaster)",$i="var(--durationNormal)",Ir="var(--durationGentle)",Rn="var(--durationSlow)",qn="var(--durationSlower)",yi="var(--durationUltraSlow)",Id="var(--curveAccelerateMax)",xt="var(--curveAccelerateMid)",Pd="var(--curveAccelerateMin)",Pr="var(--curveDecelerateMax)",kt="var(--curveDecelerateMid)",zd="var(--curveDecelerateMin)",Wn="var(--curveEasyEaseMax)",xi="var(--curveEasyEase)",zr="var(--curveLinear)",Td=u`
2
+ ${k("block")}
3
+
4
+ :host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;padding-inline:${le} ${ae};border-radius:${C};font-family:${v};font-size:${B};font-weight:${_};line-height:${A};grid-template-columns:auto auto 1fr auto}.button{appearance:none;background:${fe};border:none;box-sizing:border-box;color:${T};cursor:pointer;font:inherit;grid-column:auto / span 2;grid-row:1;height:44px;outline:none;padding:0;text-align:start}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Be}}:where(.default-marker-collapsed,.default-marker-expanded),::slotted(:is([slot='marker-collapsed'],[slot='marker-expanded'])){display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-inline-end:${Oe};grid-column:1 / span 1;grid-row:1}.content{margin:0 ${le}}::slotted([slot='start']){display:flex;justify-content:center;align-items:center;padding-right:${Oe};grid-column:2 / span 1;grid-row:1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${Be};outline:none;border:2px solid ${di};box-shadow:inset 0 0 0 1px ${me}}:host([disabled]) .button{color:${S}}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .content{display:block}:host([expanded]) .default-marker-collapsed,:host([expanded]) ::slotted([slot='marker-collapsed']),:host(:not([expanded])) :is(.default-marker-expanded,.content),:host(:not([expanded])) ::slotted([slot='marker-expanded']){display:none}:host([expanded]) ::slotted([slot='marker-expanded']),:host(:not([expanded])) ::slotted([slot='marker-collapsed']){display:flex}.heading{font-size:${B};line-height:${A}}:host([size='small']) .heading{font-size:${F};line-height:${q}}:host([size='large']) .heading{font-size:${he};line-height:${$e}}:host([size='extra-large']) .heading{font-size:${jt};line-height:${gi}}:host([marker-position='end']) ::slotted([slot='start']){grid-column:1 / span 1}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:4 / span 1;padding-inline-start:${Oe};padding-inline-end:0}:host([marker-position='end']) .button{grid-column:2 / span 3}:host([block]){max-width:100%}:host([marker-position='end']) .heading{grid-template-columns:auto auto 28px;padding-inline:${le}}:host([marker-position='end']:has([slot='start'])) .heading{padding-inline:${ae} ${le}}:host([block][marker-position='end']) .heading{grid-template-columns:auto 1fr}:host([marker-position='end']) :is(.default-marker-collapsed,.default-marker-expanded){grid-column:5 / span 1}`,Bd=b.partial(`<svg
5
+ width="20"
6
+ height="20"
7
+ viewBox="0 0 20 20"
8
+ fill="none"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ class="default-marker-collapsed"
11
+ aria-hidden="true"
12
+ >
13
+ <path
14
+ 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"
15
+ fill="currentColor"
16
+ />
17
+ </svg>`),Od=b.partial(`<svg
18
+ width="20"
19
+ height="20"
20
+ viewBox="0 0 20 20"
21
+ fill="none"
22
+ xmlns="http://www.w3.org/2000/svg"
23
+ class="default-marker-expanded"
24
+ aria-hidden="true"
25
+ >
26
+ <path
27
+ 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"
28
+ fill="currentColor"
29
+ />
30
+ </svg>`);function _d(o={}){return b`<div class="heading" part="heading" role="heading" aria-level="${e=>e.headinglevel}"><button class="button" part="button" ${E("expandbutton")} ?disabled="${e=>e.disabled?"true":void 0}" aria-expanded="${e=>e.expanded}" aria-controls="${e=>e.id}-panel" id="${e=>e.id}"><slot name="heading"></slot></button>${He(o)}<slot name="marker-expanded">${ge(o.expandedIcon)}</slot><slot name="marker-collapsed">${ge(o.collapsedIcon)}</slot></div><div class="content" part="content" id="${e=>e.id}-panel" role="region" aria-labelledby="${e=>e.id}"><slot></slot></div>`}const Ad=_d({collapsedIcon:Bd,expandedIcon:Od}),Ed=vo.compose({name:`${p.prefix}-accordion-item`,template:Ad,styles:Td});Ed.define(p.registry);const Tr={single:"single",multi:"multi"};var Nd=Object.defineProperty,Fd=Object.getOwnPropertyDescriptor,Gn=(o,e,t,i)=>{for(var r=i>1?void 0:i?Fd(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Nd(e,t,r),r};class Br extends ${constructor(){super(...arguments),this.expandmode=Tr.multi,this.activeItemIndex=0,this.setItems=()=>{if(this.slottedAccordionItems.length===0)return;const e=Array.from(this.children);if(this.removeItemListeners(e),e.forEach(t=>m.getNotifier(t).subscribe(this,"disabled")),this.accordionItems=e.filter(t=>!t.hasAttribute("disabled")),this.accordionItems.forEach((t,i)=>{t.addEventListener("click",this.expandedChangedHandler),m.getNotifier(t).subscribe(this,"expanded")}),this.isSingleExpandMode()){const t=this.findExpandedItem();this.setSingleExpandMode(t)}},this.removeItemListeners=e=>{e.forEach((t,i)=>{m.getNotifier(t).unsubscribe(this,"disabled"),m.getNotifier(t).unsubscribe(this,"expanded"),t.removeEventListener("click",this.expandedChangedHandler)})},this.expandedChangedHandler=e=>{const t=e.target;t instanceof ot&&(this.isSingleExpandMode()?this.setSingleExpandMode(t):(t.expanded=!t.expanded,this.activeItemIndex=this.accordionItems.indexOf(t)),this.$emit("change"))}}expandmodeChanged(e,t){if(!this.$fastController.isConnected)return;const i=this.findExpandedItem();if(i){if(t===Tr.single){this.setSingleExpandMode(i);return}i?.expandbutton.removeAttribute("aria-disabled")}}slottedAccordionItemsChanged(e,t){this.$fastController.isConnected&&this.setItems()}handleChange(e,t){t==="disabled"?this.setItems():t==="expanded"&&e.expanded&&this.isSingleExpandMode()&&this.setSingleExpandMode(e)}findExpandedItem(){return this.accordionItems.length===0?null:this.accordionItems.find(e=>e instanceof ot&&e.expanded)??this.accordionItems[0]}isSingleExpandMode(){return this.expandmode===Tr.single}setSingleExpandMode(e){if(this.accordionItems.length===0)return;const t=Array.from(this.accordionItems);this.activeItemIndex=t.indexOf(e),t.forEach((i,r)=>{i instanceof ot&&(this.activeItemIndex===r?(i.expanded=!0,i.expandbutton.setAttribute("aria-disabled","true")):(i.expanded=!1,i.hasAttribute("disabled")||i.expandbutton.removeAttribute("aria-disabled")))})}}Gn([a({attribute:"expand-mode"})],Br.prototype,"expandmode",2),Gn([g],Br.prototype,"slottedAccordionItems",2);const Md=u`
31
+ ${k("flex")}
32
+
33
+ :host{flex-direction:column;width:100%;contain:content}`;function Dd(){return b`<template><slot ${G({property:"slottedAccordionItems",filter:lo()})}></slot></template>`}const Hd=Dd(),Vd=Br.compose({name:`${p.prefix}-accordion`,template:Hd,styles:Md});Vd.define(p.registry);const Un=new Map;function z(o){return Un.get(o)??Un.set(o,rn?`:state(${o})`:`[state--${o}]`).get(o)}function y(o,e,t){if(!(!e||!o)){if(!rn){o.shadowRoot.host.toggleAttribute(`state--${e}`,t);return}if(t??!o.states.has(e)){o.states.add(e);return}o.states.delete(e)}}const Or=new WeakMap;function Xn(o,e){if(!o||!e)return!1;if(Or.has(o))return Or.get(o).has(e);const t=new Set(Object.values(o));return Or.set(o,t),t.has(e)}function wt(o,e="",t="",i,r=""){y(o,`${r}${e}`,!1),(!i||Xn(i,t))&&y(o,`${r}${t}`,!0)}const Ld={primary:"primary",outline:"outline",subtle:"subtle",transparent:"transparent"},jd={circular:"circular",rounded:"rounded",square:"square"},Rd={small:"small",medium:"medium",large:"large"},ki={submit:"submit",reset:"reset",button:"button"},qd=Ld,Wd=jd,Gd=Rd,Ud={download:"download",href:"href",hreflang:"hreflang",ping:"ping",referrerpolicy:"referrerpolicy",rel:"rel",target:"target",type:"type"};var Xd=Object.defineProperty,Kd=Object.getOwnPropertyDescriptor,rt=(o,e,t,i)=>{for(var r=i>1?void 0:i?Kd(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Xd(e,t,r),r};class Re extends ${constructor(){super(),this.isMac=navigator.userAgent.includes("Mac"),this.elementInternals=this.attachInternals(),this.internalProxyAnchor=this.createProxyElement(),this.elementInternals.role="link"}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),Object.keys(this.$fastController.definition.attributeLookup).forEach(e=>{this.handleChange(this,e)}),this.append(this.internalProxyAnchor)}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}handleChange(e,t){if(t in Ud){const i=this.$fastController.definition.attributeLookup[t]?.attribute;i&&this.handleProxyAttributeChange(i,this[t])}}clickHandler(e){if(this.href){const t=this.isMac?e.metaKey:e.ctrlKey;this.handleNavigation(t)}return!0}keydownHandler(e){if(this.href&&e.key===fo){const t=this.isMac&&e.metaKey||e.ctrlKey;this.handleNavigation(t);return}return!0}handleNavigation(e){e?window.open(this.href,"_blank"):this.internalProxyAnchor.click()}handleProxyAttributeChange(e,t){t?this.internalProxyAnchor.setAttribute(e,t):this.internalProxyAnchor.removeAttribute(e)}createProxyElement(){const e=this.internalProxyAnchor??document.createElement("a");return e.ariaHidden="true",e.tabIndex=-1,e}}rt([a],Re.prototype,"download",2),rt([a],Re.prototype,"href",2),rt([a],Re.prototype,"hreflang",2),rt([a],Re.prototype,"ping",2),rt([a],Re.prototype,"referrerpolicy",2),rt([a],Re.prototype,"rel",2),rt([a],Re.prototype,"target",2),rt([a],Re.prototype,"type",2);var Yd=Object.defineProperty,Qd=Object.getOwnPropertyDescriptor,wi=(o,e,t,i)=>{for(var r=i>1?void 0:i?Qd(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Yd(e,t,r),r};class Gt extends Re{constructor(){super(...arguments),this.iconOnly=!1}appearanceChanged(e,t){wt(this.elementInternals,e,t,qd)}shapeChanged(e,t){wt(this.elementInternals,e,t,Wd)}sizeChanged(e,t){wt(this.elementInternals,e,t,Gd)}iconOnlyChanged(e,t){y(this.elementInternals,"icon",!!t)}}wi([a],Gt.prototype,"appearance",2),wi([a],Gt.prototype,"shape",2),wi([a],Gt.prototype,"size",2),wi([a({attribute:"icon-only",mode:"boolean"})],Gt.prototype,"iconOnly",2),Xe(Gt,Ue);const Kn=u`
34
+ ${k("inline-flex")}
35
+
36
+ :host{--icon-spacing:${J};position:relative;contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${I};color:${T};border:${P} solid ${Le};padding:0 ${le};min-width:96px;border-radius:${C};font-size:${B};font-family:${v};font-weight:${D};line-height:${A};transition-duration:${vi};transition-property:background,border,color;transition-timing-function:${xi};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${ai};color:${ur};border-color:${Lt}}:host(:hover:active){background-color:${br};border-color:${ko};color:${Tl};outline-style:none}:host(:focus-visible){border-color:${X};outline:${ye} solid ${X};box-shadow:${fi},0 0 0 2px ${me}}@media screen and (prefers-reduced-motion:reduce){:host{transition-duration:0.01ms}}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}::slotted([slot='end']),[slot='end']{flex-shrink:0;margin-inline-start:var(--icon-spacing)}:host([icon-only]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${ne};min-height:24px;min-width:64px;padding:0 ${Oe};border-radius:${Be};font-size:${F};line-height:${q};font-weight:${_}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${On};padding:0 ${kd};font-size:${he};line-height:${$e}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host(:is([shape='circular'],[shape='circular']:focus-visible)){border-radius:${ve}}:host(:is([shape='square'],[shape='square']:focus-visible)){border-radius:${hi}}:host([appearance='primary']){background-color:${un};color:${Ke};border-color:transparent}:host([appearance='primary']:hover){background-color:${pn}}:host([appearance='primary']:is(:hover,:hover:active):not(:focus-visible)){border-color:transparent}:host([appearance='primary']:is(:hover,:hover:active)){color:${Ke}}:host([appearance='primary']:hover:active){background-color:${bn}}:host([appearance='primary']:focus-visible){border-color:${Ke};box-shadow:${yr},0 0 0 2px ${me}}:host([appearance='outline']){background-color:${fe}}:host([appearance='outline']:hover){background-color:${li}}:host([appearance='outline']:hover:active){background-color:${ci}}:host([appearance='subtle']){background-color:${cn};color:${Ie};border-color:transparent}:host([appearance='subtle']:hover){background-color:${xo};color:${Mt};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${gt};color:${Dt};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${ri}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${si}}:host([appearance='transparent']){background-color:${fe};color:${Ie}}:host([appearance='transparent']:hover){background-color:${li};color:${ri}}:host([appearance='transparent']:hover:active){background-color:${ci};color:${si}}:host(:is([appearance='transparent'],[appearance='transparent']:is(:hover,:active))){border-color:transparent}`,Ci=u`
37
+ ${Kn}
38
+
39
+ :host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover),:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable]):hover:active){background-color:${it};border-color:${Ce};color:${S};cursor:not-allowed}:host([appearance='primary']:is(:disabled,[disabled-focusable])),:host([appearance='primary']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent}:host([appearance='outline']:is(:disabled,[disabled-focusable])),:host([appearance='outline']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${fe}}:host([appearance='subtle']:is(:disabled,[disabled-focusable])),:host([appearance='subtle']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){background-color:${fe};border-color:transparent}:host([appearance='transparent']:is(:disabled,[disabled-focusable])),:host([appearance='transparent']:is(:disabled,[disabled-focusable]):is(:hover,:hover:active)){border-color:transparent;background-color:${fe}}`.withBehaviors(U(u`
40
+ :host{background-color:ButtonFace;color:ButtonText}:host(:is(:hover,:focus-visible)){border-color:Highlight !important}:host([appearance='primary']:not(:is(:hover,:focus-visible))){background-color:Highlight;color:HighlightText;forced-color-adjust:none}:host(:is(:disabled,[disabled-focusable],[appearance]:disabled,[appearance][disabled-focusable])){background-color:ButtonFace;color:GrayText;border-color:ButtonText}`)),Zd=u`
41
+ ${Kn}
42
+
43
+ ::slotted(a){position:absolute;inset:0}`.withBehaviors(U(u`
44
+ :host{border-color:LinkText;color:LinkText}`));function Jd(o={}){return b`<template tabindex="0" @click="${(e,t)=>e.clickHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}">${He(o)}<span class="content" part="content"><slot></slot></span>${tt(o)}</template>`}const eh=Jd(),th=Gt.compose({name:`${p.prefix}-anchor-button`,template:eh,styles:Zd});th.define(p.registry);const oh=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,ih=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,rh=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,sh=/\s+/g,nh=/[\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 ah(o,e,t){let i="";const r=o.split(" ");return r.length!==0&&(i+=r[0].charAt(0).toUpperCase()),t||(r.length===2?i+=r[1].charAt(0).toUpperCase():r.length===3&&(i+=r[2].charAt(0).toUpperCase())),e&&i.length>1?i.charAt(1)+i.charAt(0):i}function lh(o){return o=o.replace(oh,""),o=o.replace(ih,""),o=o.replace(sh," "),o=o.trim(),o}function ch(o,e,t){return!o||(o=lh(o),nh.test(o)||!t?.allowPhoneInitials&&rh.test(o))?"":ah(o,e,t?.firstInitialOnly)}var dh=Object.defineProperty,hh=Object.getOwnPropertyDescriptor,Yn=(o,e,t,i)=>{for(var r=i>1?void 0:i?hh(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&dh(e,t,r),r};class _r extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="img"}}Yn([a],_r.prototype,"name",2),Yn([a],_r.prototype,"initials",2);const Qn={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"},Zn={neutral:"neutral",brand:"brand",colorful:"colorful",...Qn};var uh=Object.defineProperty,ph=Object.getOwnPropertyDescriptor,Ut=(o,e,t,i)=>{for(var r=i>1?void 0:i?ph(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&uh(e,t,r),r};const st=class es extends _r{handleChange(e,t){switch(t){case"color":case"colorId":this.generateColor();break}}generateInitials(){if(!this.name&&!this.initials)return;const e=this.size??32;return this.initials??ch(this.name,window.getComputedStyle(this).direction==="rtl",{firstInitialOnly:e<=16})}generateColor(){const e=this.color===Zn.colorful;this.currentColor,this.currentColor=e&&this.colorId?this.colorId:e?es.colors[gh(this.name??"")%es.colors.length]:this.color??Zn.neutral,this.setAttribute("data-color",this.currentColor)}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this),this.generateColor()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this)}};st.colors=Object.values(Qn),Ut([a],st.prototype,"active",2),Ut([a],st.prototype,"shape",2),Ut([a],st.prototype,"appearance",2),Ut([a({converter:re})],st.prototype,"size",2),Ut([a],st.prototype,"color",2),Ut([a({attribute:"color-id"})],st.prototype,"colorId",2);let bh=st;const gh=o=>{let e=0;for(let t=o.length-1;t>=0;t--){const i=o.charCodeAt(t),r=t%8;e^=(i<<r)+(i>>8-r)}return e},nt={fastOutSlowInMax:Pr,fastOutSlowInMid:kt,fastOutSlowInMin:zd,slowOutFastInMax:Id,slowOutFastInMid:xt,slowOutFastInMin:Pd,fastEase:Wn,normalEase:xi,nullEasing:zr},fh=u`
45
+ ${k("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${v};font-weight:${D};font-size:${B};border-radius:${ve};color:${Z};background-color:${yo};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:${ve}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${P}) ${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 ${ye}) ${I}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${Co};font-weight:${_}}: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:${F}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${he}}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:${jt}}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:${ui}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${C}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${Be}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${On}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${_n}}:host([data-color='brand']){color:${nn};background-color:${gn}}:host([data-color='dark-red']){color:${_c};background-color:${Oc}}:host([data-color='cranberry']){color:${zc};background-color:${Pc}}:host([data-color='red']){color:${ic};background-color:${oc}}:host([data-color='pumpkin']){color:${nd};background-color:${sd}}:host([data-color='peach']){color:${Zc};background-color:${Qc}}:host([data-color='marigold']){color:${bc};background-color:${Bn}}:host([data-color='gold']){color:${Fc};background-color:${Nc}}:host([data-color='brass']){color:${kc};background-color:${xc}}:host([data-color='brown']){color:${Cc};background-color:${wc}}:host([data-color='forest']){color:${Ec};background-color:${Ac}}:host([data-color='seafoam']){color:${ud};background-color:${hd}}:host([data-color='dark-green']){color:${Bc};background-color:${Tc}}:host([data-color='light-teal']){color:${jc};background-color:${Lc}}:host([data-color='teal']){color:${fd};background-color:${gd}}:host([data-color='steel']){color:${bd};background-color:${pd}}:host([data-color='blue']){color:${yc};background-color:${$c}}:host([data-color='royal-blue']){color:${dd};background-color:${cd}}:host([data-color='cornflower']){color:${Ic};background-color:${Sc}}:host([data-color='navy']){color:${Yc};background-color:${Kc}}:host([data-color='lavender']){color:${Vc};background-color:${Hc}}:host([data-color='purple']){color:${ld};background-color:${ad}}:host([data-color='grape']){color:${Dc};background-color:${Mc}}:host([data-color='lilac']){color:${qc};background-color:${Rc}}:host([data-color='pink']){color:${ed};background-color:${Jc}}:host([data-color='magenta']){color:${Gc};background-color:${Wc}}:host([data-color='plum']){color:${rd};background-color:${id}}:host([data-color='beige']){color:${vc};background-color:${mc}}:host([data-color='mink']){color:${Xc};background-color:${Uc}}:host([data-color='platinum']){color:${od};background-color:${td}}:host([data-color='anchor']){color:${fc};background-color:${gc}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${yi},${vi};transition-delay:${nt.fastEase},${nt.nullEasing}}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:${yi}),${qn};transition-delay:${nt.fastEase}),${nt.nullEasing})}:host([active])::before{box-shadow:${yd};border-style:solid;border-color:${gn}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${ye});border-width:${ye}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${se});border-width:${se}}: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 * ${kr});border-width:${kr}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${fi}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${xr}}: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:${xd}}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:${yi},${vi};transition-delay:${nt.fastOutSlowInMin},${nt.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${yi},${qn};transition-delay:${nt.fastOutSlowInMin},${nt.nullEasing}}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`,mh=b`<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>`;function vh(){return b`<slot>${o=>o.name||o.initials?o.generateInitials():mh}</slot><slot name="badge"></slot>`}const $h=vh(),yh=bh.compose({name:`${p.prefix}-avatar`,template:$h,styles:fh});yh.define(p.registry);const xh={filled:"filled",ghost:"ghost",outline:"outline",tint:"tint"},kh={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"};var wh=Object.defineProperty,Ch=Object.getOwnPropertyDescriptor,Si=(o,e,t,i)=>{for(var r=i>1?void 0:i?Ch(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&wh(e,t,r),r};class Xt extends ${constructor(){super(...arguments),this.appearance=xh.filled,this.color=kh.brand}}Si([a],Xt.prototype,"appearance",2),Si([a],Xt.prototype,"color",2),Si([a],Xt.prototype,"shape",2),Si([a],Xt.prototype,"size",2),Xe(Xt,Ue);const Jn=u.partial`
46
+ ${k("inline-flex")} :host {
15
47
  position: relative;
16
48
  box-sizing: border-box;
17
49
  align-items: center;
18
50
  justify-content: center;
19
- font-family: ${Bs};
20
- font-weight: ${Es};
21
- font-size: ${Fs};
22
- line-height: ${js};
51
+ font-family: ${v};
52
+ font-weight: ${D};
53
+ font-size: ${F};
54
+ line-height: ${q};
23
55
  min-width: 20px;
24
56
  height: 20px;
25
- padding-inline: calc(${gl} + ${Zc});
26
- border-radius: ${$s};
27
- border-color: ${va};
28
- background-color: ${Lr};
29
- color: ${yo};
57
+ padding-inline: calc(${ne} + ${H});
58
+ border-radius: ${ve};
59
+ border-color: ${X};
60
+ background-color: ${un};
61
+ color: ${Ke};
30
62
  contain: content;
31
63
  }
32
64
 
@@ -42,11 +74,11 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
42
74
  bottom: 0;
43
75
  right: 0;
44
76
  border-style: solid;
45
- border-width: ${ll};
77
+ border-width: ${P};
46
78
  border-color: inherit;
47
79
  border-radius: inherit;
48
80
  }
49
- `,ed=j.partial`
81
+ `,ea=u.partial`
50
82
  :host([size='tiny']) {
51
83
  width: 6px;
52
84
  height: 6px;
@@ -72,9 +104,9 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
72
104
  :host([size='small']) {
73
105
  min-width: 16px;
74
106
  height: 16px;
75
- font-size: ${Ss};
76
- line-height: ${"var(--lineHeightBase100)"};
77
- padding-inline: calc(${pl} + ${Zc});
107
+ font-size: ${Co};
108
+ line-height: ${bi};
109
+ padding-inline: calc(${H} + ${H});
78
110
  }
79
111
  :host([size='small']) ::slotted(svg) {
80
112
  font-size: 12px;
@@ -82,9 +114,9 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
82
114
  :host([size='large']) {
83
115
  min-width: 24px;
84
116
  height: 24px;
85
- font-size: ${Fs};
86
- line-height: ${js};
87
- padding-inline: calc(${gl} + ${Zc});
117
+ font-size: ${F};
118
+ line-height: ${q};
119
+ padding-inline: calc(${ne} + ${H});
88
120
  }
89
121
  :host([size='large']) ::slotted(svg) {
90
122
  font-size: 16px;
@@ -92,267 +124,460 @@ let e;try{if(document.currentScript)e=document.currentScript.getAttribute("fast-
92
124
  :host([size='extra-large']) {
93
125
  min-width: 32px;
94
126
  height: 32px;
95
- font-size: ${Fs};
96
- line-height: ${js};
97
- padding-inline: calc(${vl} + ${Zc});
127
+ font-size: ${F};
128
+ line-height: ${q};
129
+ padding-inline: calc(${J} + ${H});
98
130
  }
99
131
  :host([size='extra-large']) ::slotted(svg) {
100
132
  font-size: 20px;
101
133
  }
102
- `,td=j.partial`
134
+ `,ta=u.partial`
103
135
  :host([color='danger']) {
104
- background-color: ${"var(--colorPaletteRedBackground3)"};
105
- color: ${yo};
136
+ background-color: ${xn};
137
+ color: ${Ke};
106
138
  }
107
139
 
108
140
  :host([color='important']) {
109
- background-color: ${Vt};
110
- color: ${Vo};
141
+ background-color: ${T};
142
+ color: ${I};
111
143
  }
112
144
 
113
145
  :host([color='informative']) {
114
- background-color: ${"var(--colorNeutralBackground5)"};
115
- color: ${Jt};
146
+ background-color: ${Gl};
147
+ color: ${Z};
116
148
  }
117
149
 
118
150
  :host([color='severe']) {
119
- background-color: ${"var(--colorPaletteDarkOrangeBackground3)"};
120
- color: ${yo};
151
+ background-color: ${Pn};
152
+ color: ${Ke};
121
153
  }
122
154
 
123
155
  :host([color='subtle']) {
124
- background-color: ${Vo};
125
- color: ${Vt};
156
+ background-color: ${I};
157
+ color: ${T};
126
158
  }
127
159
 
128
160
  :host([color='success']) {
129
- background-color: ${"var(--colorPaletteGreenBackground3)"};
130
- color: ${yo};
161
+ background-color: ${Sn};
162
+ color: ${Ke};
131
163
  }
132
164
 
133
165
  :host([color='warning']) {
134
- background-color: ${"var(--colorPaletteYellowBackground3)"};
135
- color: ${"var(--colorNeutralForeground1Static)"};
166
+ background-color: ${hc};
167
+ color: ${ql};
136
168
  }
137
- `,od=j.partial`
169
+ `,oa=u.partial`
138
170
  :host([appearance='ghost']) {
139
- color: ${"var(--colorBrandForeground1)"};
171
+ color: ${ni};
140
172
  background-color: initial;
141
173
  }
142
174
 
143
175
  :host([appearance='ghost'][color='danger']) {
144
- color: ${"var(--colorPaletteRedForeground3)"};
176
+ color: ${wn};
145
177
  }
146
178
 
147
179
  :host([appearance='ghost'][color='important']) {
148
- color: ${Vt};
180
+ color: ${T};
149
181
  }
150
182
 
151
183
  :host([appearance='ghost'][color='informative']) {
152
- color: ${Jt};
184
+ color: ${Z};
153
185
  }
154
186
 
155
187
  :host([appearance='ghost'][color='severe']) {
156
- color: ${"var(--colorPaletteDarkOrangeForeground3)"};
188
+ color: ${Tn};
157
189
  }
158
190
 
159
191
  :host([appearance='ghost'][color='subtle']) {
160
- color: ${"var(--colorNeutralForegroundInverted)"};
192
+ color: ${bt};
161
193
  }
162
194
 
163
195
  :host([appearance='ghost'][color='success']) {
164
- color: ${"var(--colorPaletteGreenForeground3)"};
196
+ color: ${lc};
165
197
  }
166
198
 
167
199
  :host([appearance='ghost'][color='warning']) {
168
- color: ${"var(--colorPaletteYellowForeground2)"};
200
+ color: ${$r};
169
201
  }
170
- `,rd=j.partial`
202
+ `,Sh=u.partial`
171
203
  :host([appearance='outline']) {
172
204
  border-color: currentColor;
173
- color: ${"var(--colorBrandForeground1)"};
205
+ color: ${ni};
174
206
  background-color: initial;
175
207
  }
176
208
 
177
209
  :host([appearance='outline'][color='danger']) {
178
- color: ${"var(--colorPaletteRedForeground3)"};
210
+ color: ${wn};
179
211
  }
180
212
 
181
213
  :host([appearance='outline'][color='important']) {
182
- color: ${Jt};
183
- border-color: ${Wr};
214
+ color: ${Z};
215
+ border-color: ${Ve};
184
216
  }
185
217
 
186
218
  :host([appearance='outline'][color='informative']) {
187
- color: ${Jt};
188
- border-color: ${ta};
219
+ color: ${Z};
220
+ border-color: ${wo};
189
221
  }
190
222
 
191
223
  :host([appearance='outline'][color='severe']) {
192
- color: ${"var(--colorPaletteDarkOrangeForeground3)"};
224
+ color: ${Tn};
193
225
  }
194
226
 
195
227
  :host([appearance='outline'][color='subtle']) {
196
- color: ${"var(--colorNeutralForegroundStaticInverted)"};
228
+ color: ${nn};
197
229
  }
198
230
 
199
231
  :host([appearance='outline'][color='success']) {
200
- color: ${"var(--colorPaletteGreenForeground2)"};
232
+ color: ${ac};
201
233
  }
202
234
 
203
235
  :host([appearance='outline'][color='warning']) {
204
- color: ${"var(--colorPaletteYellowForeground2)"};
236
+ color: ${$r};
205
237
  }
206
- `,ad=j.partial`
238
+ `,Ih=u.partial`
207
239
  :host([appearance='tint']) {
208
- background-color: ${Vr};
209
- color: ${"var(--colorBrandForeground2)"};
210
- border-color: ${"var(--colorBrandStroke2)"};
240
+ background-color: ${fn};
241
+ color: ${Rl};
242
+ border-color: ${vn};
211
243
  }
212
244
 
213
245
  :host([appearance='tint'][color='danger']) {
214
- background-color: ${"var(--colorPaletteRedBackground1)"};
215
- color: ${"var(--colorPaletteRedForeground1)"};
216
- border-color: ${"var(--colorPaletteRedBorder1)"};
246
+ background-color: ${yn};
247
+ color: ${vr};
248
+ border-color: ${kn};
217
249
  }
218
250
 
219
251
  :host([appearance='tint'][color='important']) {
220
- background-color: ${Jt};
221
- color: ${Vo};
222
- border-color: ${va};
252
+ background-color: ${Z};
253
+ color: ${I};
254
+ border-color: ${X};
223
255
  }
224
256
 
225
257
  :host([appearance='tint'][color='informative']) {
226
- background-color: ${"var(--colorNeutralBackground4)"};
227
- color: ${Jt};
228
- border-color: ${ta};
258
+ background-color: ${Wl};
259
+ color: ${Z};
260
+ border-color: ${wo};
229
261
  }
230
262
 
231
263
  :host([appearance='tint'][color='severe']) {
232
- background-color: ${"var(--colorPaletteDarkOrangeBackground1)"};
233
- color: ${"var(--colorPaletteDarkOrangeForeground1)"};
234
- border-color: ${"var(--colorPaletteDarkOrangeBorder1)"};
264
+ background-color: ${In};
265
+ color: ${cc};
266
+ border-color: ${zn};
235
267
  }
236
268
 
237
269
  :host([appearance='tint'][color='subtle']) {
238
- background-color: ${Vo};
239
- color: ${Jt};
240
- border-color: ${ta};
270
+ background-color: ${I};
271
+ color: ${Z};
272
+ border-color: ${wo};
241
273
  }
242
274
 
243
275
  :host([appearance='tint'][color='success']) {
244
- background-color: ${"var(--colorPaletteGreenBackground1)"};
245
- color: ${"var(--colorPaletteGreenForeground1)"};
246
- border-color: ${"var(--colorPaletteGreenBorder2)"};
276
+ background-color: ${Cn};
277
+ color: ${nc};
278
+ border-color: ${sc};
247
279
  }
248
280
 
249
281
  :host([appearance='tint'][color='warning']) {
250
- background-color: ${"var(--colorPaletteYellowBackground1)"};
251
- color: ${"var(--colorPaletteYellowForeground2)"};
252
- border-color: ${"var(--colorPaletteYellowBorder1)"};
253
- }
254
- `,nd=j`
255
- :host([shape='square']){border-radius:${ms}}:host([shape='rounded']){border-radius:${ks}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${fs}}${ed}
256
- ${td}
257
- ${od}
258
- ${rd}
259
- ${ad}
260
- ${Jc}
261
- `,id=Kc.compose({name:Et.prefix+"-badge",template:Qc,styles:nd});var sd=Object.defineProperty,ld=Object.getOwnPropertyDescriptor,cd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?ld(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&sd(t,o,n),n};class dd extends et{constructor(){super(),this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.iconOnly=!1,this.elementInternals.role="button"}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=""+!!t)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){var o,r,a;t!==lc.submit&&(null==(o=this.formSubmissionFallbackControl)||o.remove(),null==(a=null==(r=this.shadowRoot)?void 0:r.querySelector('slot[name="internal"]'))||a.remove())}clickHandler(e){if(!e||!this.disabledFocusable)return this.press(),!0;e.stopImmediatePropagation()}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=""+!!this.disabledFocusable}createAndInsertFormSubmissionFallbackControl(){var e,t,o,r,a,n,i,s;const l=null!=(e=this.formSubmissionFallbackControlSlot)?e:document.createElement("slot");l.setAttribute("name","internal"),null==(t=this.shadowRoot)||t.appendChild(l),this.formSubmissionFallbackControlSlot=l;const c=null!=(o=this.formSubmissionFallbackControl)?o:document.createElement("button");c.style.display="none",c.setAttribute("type","submit"),c.setAttribute("slot","internal"),this.formNoValidate&&c.toggleAttribute("formnovalidate",!0),(null==(r=this.elementInternals.form)?void 0:r.id)&&c.setAttribute("form",this.elementInternals.form.id),this.name&&c.setAttribute("name",this.name),this.value&&c.setAttribute("value",this.value),this.formAction&&c.setAttribute("formaction",null!=(a=this.formAction)?a:""),this.formEnctype&&c.setAttribute("formenctype",null!=(n=this.formEnctype)?n:""),this.formMethod&&c.setAttribute("formmethod",null!=(i=this.formMethod)?i:""),this.formTarget&&c.setAttribute("formtarget",null!=(s=this.formTarget)?s:""),this.append(c),this.formSubmissionFallbackControl=c}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable)e.stopImmediatePropagation();else{if("Enter"!==e.key&&" "!==e.key)return!0;this.press()}}press(){switch(this.type){case lc.reset:this.resetForm();break;case lc.submit:this.submitForm()}}resetForm(){var e;null==(e=this.elementInternals.form)||e.reset()}submitForm(){var e;if(this.elementInternals.form&&!this.disabled&&this.type===lc.submit)if(this.name||this.formAction||this.formEnctype||this.form||this.formMethod||this.formNoValidate||this.formTarget)try{this.elementInternals.setFormValue(null!=(e=this.value)?e:""),this.elementInternals.form.requestSubmit(this)}catch(e){this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}else this.elementInternals.form.requestSubmit()}}function ud(e={}){return ke`<template tabindex="${e=>e.disabled?-1:0}" @click="${(e,t)=>e.clickHandler(t.event)}" @keypress="${(e,t)=>e.keypressHandler(t.event)}">${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot></span>${Bt(e)}</template>`}dd.formAssociated=!0,cd([Oe],dd.prototype,"appearance",2),cd([Oe({mode:"boolean"})],dd.prototype,"autofocus",2),cd([B],dd.prototype,"defaultSlottedContent",2),cd([Oe({mode:"boolean"})],dd.prototype,"disabled",2),cd([Oe({attribute:"disabled-focusable",mode:"boolean"})],dd.prototype,"disabledFocusable",2),cd([Oe({attribute:"formaction"})],dd.prototype,"formAction",2),cd([Oe({attribute:"form"})],dd.prototype,"formAttribute",2),cd([Oe({attribute:"formenctype"})],dd.prototype,"formEnctype",2),cd([Oe({attribute:"formmethod"})],dd.prototype,"formMethod",2),cd([Oe({attribute:"formnovalidate",mode:"boolean"})],dd.prototype,"formNoValidate",2),cd([Oe({attribute:"formtarget"})],dd.prototype,"formTarget",2),cd([Oe({attribute:"icon-only",mode:"boolean"})],dd.prototype,"iconOnly",2),cd([Oe],dd.prototype,"name",2),cd([Oe],dd.prototype,"shape",2),cd([Oe],dd.prototype,"size",2),cd([Oe],dd.prototype,"type",2),cd([Oe],dd.prototype,"value",2),Pt(dd,$t);const hd=ud(),pd=j`
262
- ${bt("inline-flex")}
263
-
264
- :host{--icon-spacing:${vl};contain:layout style;vertical-align:middle;align-items:center;box-sizing:border-box;justify-content:center;text-align:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:${Vo};color:${Vt};border:${ll} solid ${Qr};padding:0 ${fl};min-width:96px;border-radius:${ks};font-size:${Cs};font-family:${Bs};font-weight:${Es};line-height:${Vs};transition-duration:${Ol};transition-property:background,border,color;transition-timing-function:${Yl};cursor:pointer;user-select:none}.content{display:inherit}:host(:hover){background-color:${"var(--colorNeutralBackground1Hover)"};color:${"var(--colorNeutralForeground1Hover)"};border-color:${Zr}}:host(:hover:active){background-color:${"var(--colorNeutralBackground1Pressed)"};border-color:${"var(--colorNeutralStroke1Pressed)"};color:${"var(--colorNeutralForeground1Pressed)"};outline-style:none}:host(:focus-visible){border-color:${va};outline:${cl}) solid ${va};box-shadow:${Qs},0 0 0 2px ${ka}}@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]){min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:${gl};min-height:24px;min-width:64px;padding:0 ${bl};border-radius:${fs};font-size:${Fs};line-height:${js};font-weight:${Hs}}:host([size='small'][icon-only]){min-width:24px;max-width:24px}:host([size='large']){min-height:40px;border-radius:${"var(--borderRadiusLarge)"};padding:0 ${"var(--spacingHorizontalL)"};font-size:${Ns};line-height:${_s}}:host([size='large'][icon-only]){min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']),:host([shape='circular']:focus-visible){border-radius:${$s}}:host([shape='square']),:host([shape='square']:focus-visible){border-radius:${ms}}:host([appearance='primary']){background-color:${Lr};color:${yo};border-color:transparent}:host([appearance='primary']:hover){background-color:${"var(--colorBrandBackgroundHover)"}}:host([appearance='primary']:hover),:host([appearance='primary']:hover:active){border-color:transparent;color:${yo}}:host([appearance='primary']:hover:active){background-color:${"var(--colorBrandBackgroundPressed)"}}:host([appearance='primary']:focus-visible){border-color:${yo};box-shadow:${Us},0 0 0 2px ${ka}}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover),:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active){border-color:transparent}:host([appearance='outline']){background-color:${$r}}:host([appearance='outline']:hover){background-color:${"var(--colorTransparentBackgroundHover)"}}:host([appearance='outline']:hover:active){background-color:${"var(--colorTransparentBackgroundPressed)"}}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover),:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active){background-color:${$r}}:host([appearance='subtle']){background-color:${"var(--colorSubtleBackground)"};color:${qt};border-color:transparent}:host([appearance='subtle']:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"};border-color:transparent}:host([appearance='subtle']:hover:active){background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"};border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover),:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active){background-color:${$r};border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']){background-color:${$r};color:${qt}}:host([appearance='transparent']:hover){background-color:${"var(--colorTransparentBackgroundHover)"};color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:hover:active){background-color:${"var(--colorTransparentBackgroundPressed)"};color:${"var(--colorNeutralForeground2BrandPressed)"}}:host([appearance='transparent']),:host([appearance='transparent']:hover),:host([appearance='transparent']:hover:active){border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover),:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active){border-color:transparent;background-color:${$r}}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])),:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover),:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active){background-color:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa};color:${so};cursor:not-allowed}`.withBehaviors(kt(j`
265
- :host([appearance='transparent']:hover){border-color:Highlight}`)),gd=dd.compose({name:Et.prefix+"-button",template:hd,styles:pd}),vd="ElementInternals"in window&&"setFormValue"in window.ElementInternals.prototype,bd=new WeakMap;function md(e){const t=class extends e{constructor(...e){super(...e),this.dirtyValue=!1,this.initialValue="",this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return vd}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels));if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const e=this.proxy.labels,t=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),o=e?t.concat(Array.from(e)):t;return Object.freeze(o)}return l}valueChanged(e,t){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),f.enqueue(()=>this.classList.toggle("disabled",this.disabled))}nameChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(e,t){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),f.enqueue(()=>this.classList.toggle("required",this.required)),this.validate()}get elementInternals(){if(!vd)return null;let e=bd.get(this);return e||(e=this.attachInternals(),bd.set(this,e)),e}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach(e=>this.proxy.removeEventListener(e,this.stopPropagation)),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(e,t,o){this.elementInternals?this.elementInternals.setValidity(e,t,o):"string"==typeof t&&this.proxy.setCustomValidity(t)}formDisabledCallback(e){this.disabled=e}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var e;this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach(e=>this.proxy.addEventListener(e,this.stopPropagation)),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot","form-associated-proxy"),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name","form-associated-proxy")),null==(e=this.shadowRoot)||e.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var e;this.removeChild(this.proxy),null==(e=this.shadowRoot)||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){switch(e.key){case"Enter":if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]");null==e||e.click()}}}stopPropagation(e){e.stopPropagation()}};return Oe({mode:"boolean"})(t.prototype,"disabled"),Oe({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),Oe({attribute:"current-value"})(t.prototype,"currentValue"),Oe(t.prototype,"name"),Oe({mode:"boolean"})(t.prototype,"required"),B(t.prototype,"value"),t}function fd(e){class t extends(md(e)){}class o extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null;this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return Oe({attribute:"checked",mode:"boolean"})(o.prototype,"checkedAttribute"),Oe({attribute:"current-checked",converter:Ae})(o.prototype,"currentChecked"),B(o.prototype,"defaultChecked"),B(o.prototype,"checked"),o}class kd extends et{}class yd extends(fd(kd)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var xd=Object.defineProperty,$d=Object.getOwnPropertyDescriptor,Bd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?$d(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&xd(t,o,n),n};class wd extends yd{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}}Bd([Oe],wd.prototype,"shape",2),Bd([Oe],wd.prototype,"size",2),Bd([Oe({attribute:"label-position"})],wd.prototype,"labelPosition",2),Bd([B],wd.prototype,"defaultSlottedNodes",2),Bd([B],wd.prototype,"indeterminate",2);const Pd={circular:"circular",square:"square"},Sd={medium:"medium",large:"large"},Fd={before:"before",after:"after"};const Cd=function(e={}){return ke`<template role="checkbox" aria-checked="${e=>e.indeterminate?"mixed":e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot><slot name="indeterminate-indicator">${pt(e.indeterminateIndicator)}</slot></div><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label></template>`}({checkedIndicator:ke.partial('\n <div class="checked-indicator">\n <svg fill="currentColor"\n aria-hidden="true"\n width="1em"\n height="1em"\n viewBox="0 0 12 12"\n xmlns="http://www.w3.org/2000/svg">\n <path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z" fill="currentColor">\n </path>\n </svg>\n </div>\n'),indeterminateIndicator:ke.partial('\n <div class="indeterminate-indicator"></div>\n')}),Nd=j`
266
- ${bt("inline-flex")}
267
- :host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:${Bs};font-size:${Cs};line-height:${Vs};color:${Jt};position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${ks};outline:none;border:2px solid ${fa};box-shadow:inset 0 0 0 1px ${ka}}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:${Fl} ${bl};fill:currentcolor;height:16px;width:16px;border:${ll} solid ${Wr};border-radius:${fs};outline:none}.label{align-self:center;cursor:inherit;padding-inline:${bl};padding-bottom:${Fl};padding-top:${Fl}}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:${"var(--colorNeutralForegroundInverted)"};font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:${fs};background-color:${"var(--colorCompoundBrandForeground1)"};opacity:0}:host(:hover){color:${qt}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:hover) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host(:active) .indeterminate-indicator{background-color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:${Vt}}:host([aria-checked='true']) .control{background-color:${Er}}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"};background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .control{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='mixed']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:${"var(--colorCompoundBrandStroke)"}}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:${bl} ${gl};padding-top:${Fl};padding-bottom:${Fl}}: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:${$s}}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:${"var(--colorTransparentBackgroundHover)"};border-color:${pa}}: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:${so}}:host([disabled]) .indeterminate-indicator{background-color:${so}}`,Id=wd.compose({name:Et.prefix+"-checkbox",template:Cd,styles:Nd});class Ad extends dd{}const Td=nc,zd=ic,Ld=sc;const Od=function(e={}){return ke`<template ?disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?-1:0}">${wt(e)}<span class="content" part="content"><slot ${Ne("defaultSlottedContent")}></slot><slot name="description"></slot></span>${Bt(e)}</template>`}(),Hd=j`
268
- ${pd}
269
-
270
- :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${Cs};line-height:${Vs}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${qt};line-height:100%;font-size:${Fs};font-weight:${Hs}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Hover)"}}:host(:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2Pressed)"}}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
271
- ::slotted([slot='description']){color:${yo}}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
272
- ::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:${qt}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandHover)"}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${"var(--colorNeutralForeground2BrandPressed)"}}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
273
- ::slotted([slot='description']){color:${so}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${vl}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${gl}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${bl}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${Ns};line-height:${_s}}:host([size='large']) ::slotted([slot='description']){font-size:${Cs}}`,Dd=Ad.compose({name:Et.prefix+"-compound-button",template:Od,styles:Hd});var Ed=Object.defineProperty,Md=Object.getOwnPropertyDescriptor,Rd=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Md(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Ed(t,o,n),n};class jd extends et{constructor(){super(...arguments),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){var e;const t=null!=(e=this.count)?e:0;if((0!==t||this.showZero)&&!this.dot)return t>this.overflowCount?this.overflowCount+"+":""+t}}Rd([Oe],jd.prototype,"appearance",2),Rd([Oe],jd.prototype,"color",2),Rd([Oe],jd.prototype,"shape",2),Rd([Oe],jd.prototype,"size",2),Rd([Oe({converter:ze})],jd.prototype,"count",2),Rd([Oe({attribute:"overflow-count",converter:ze})],jd.prototype,"overflowCount",2),Rd([Oe({attribute:"show-zero",mode:"boolean"})],jd.prototype,"showZero",2),Rd([Oe({mode:"boolean"})],jd.prototype,"dot",2),Pt(jd,$t);const Vd={filled:"filled",ghost:"ghost"},_d={brand:"brand",danger:"danger",important:"important",informative:"informative",severe:"severe",subtle:"subtle",success:"success",warning:"warning"},Gd={circular:"circular",rounded:"rounded"},Xd={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large"};const qd=Uc({defaultContent:ke`${e=>e.setCount()}`}),Wd=j`
274
- :host([shape='rounded']){border-radius:${ks}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${fs}}${ed}
275
- ${td}
276
- ${od}
277
- ${Jc}
278
-
279
- :host([dot]),:host([dot][appearance][size]){min-width:auto;width:6px;height:6px;padding:0}`,Yd=jd.compose({name:Et.prefix+"-counter-badge",template:qd,styles:Wd});
280
- /*!
281
- * tabbable 6.2.0
282
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
283
- */
284
- var Kd=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Ud="undefined"==typeof Element,Qd=Ud?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Zd=!Ud&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Jd=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,o=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===o||"true"===o}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex},eu=function(e){return"INPUT"===e.tagName},tu=function(e){return function(e){return eu(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,o=e.form||Zd(e),r=function(e){return o.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var a=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]}(t,e.form);return!a||a===e}(e)},ou=function(e){var t=e.getBoundingClientRect(),o=t.width,r=t.height;return 0===o&&0===r},ru=function(e,t){var o=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=Qd.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Qd.call(a,"details:not([open]) *"))return!0;if(o&&"full"!==o&&"legacy-full"!==o){if("non-zero-area"===o)return ou(e)}else{if("function"==typeof r){for(var n=e;e;){var i=e.parentElement,s=Zd(e);if(i&&!i.shadowRoot&&!0===r(i))return ou(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=n}if(function(e){var t,o,r,a,n=e&&Zd(e),i=null===(t=n)||void 0===t?void 0:t.host,s=!1;if(n&&n!==e)for(s=!!(null!==(o=i)&&void 0!==o&&null!==(r=o.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!s&&i;){var l,c,d;s=!(null===(c=i=null===(l=n=Zd(i))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(i))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==o)return!0}return!1},au=function(e,t){return!(t.disabled||function e(t,o){var r;void 0===o&&(o=!0);var a=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===a||"true"===a||o&&t&&e(t.parentNode)}(t)||function(e){return eu(e)&&"hidden"===e.type}(t)||ru(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var o=0;o<t.children.length;o++){var r=t.children.item(o);if("LEGEND"===r.tagName)return!!Qd.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},nu=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Qd.call(e,Kd)&&function(e,t){return!(tu(t)||Jd(t)<0||!au(e,t))}(t,e)};const iu="modal",su="non-modal",lu="alert";var cu=Object.defineProperty,du=Object.getOwnPropertyDescriptor,uu=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?du(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&cu(t,o,n),n};const hu=class extends et{constructor(){super(...arguments),this.isTrappingFocus=!1,this.titleAction=[],this.modalType=iu,this.open=!1,this.noTitleAction=!1,this.trapFocus=!1,this.onOpenChangeEvent=(e=!1)=>{this.$emit("onOpenChange",{open:this.dialog.open,dismissed:e})},this.handleKeydown=e=>{if(!e.defaultPrevented)switch(e.key){case"Escape":this.modalType!==lu&&(this.hide(!0),this.$emit("dismiss"));break;default:return!0}},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.dialog.open)switch(e.key){case"Tab":this.handleTabKeyDown(e)}},this.handleTabKeyDown=e=>{if(!this.trapFocus||!this.dialog.open)return;const t=this.getTabQueueBounds();if(1===t.length)return t[0].focus(),void e.preventDefault();e.shiftKey&&e.target===t[0]?(t[t.length-1].focus(),e.preventDefault()):e.shiftKey||e.target!==t[t.length-1]||(t[0].focus(),e.preventDefault())},this.getTabQueueBounds=()=>hu.reduceTabbableItems([],this),this.focusFirstElement=()=>{const e=this.getTabQueueBounds();e.length>0?e[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=e=>this.isTrappingFocus&&!this.contains(e),this.shouldTrapFocus=()=>this.trapFocus&&this.dialog.open,this.handleDocumentFocus=e=>{!e.defaultPrevented&&this.shouldForceFocus(e.target)&&(this.focusFirstElement(),e.preventDefault())},this.updateTrapFocus=e=>{const t=void 0===e?this.shouldTrapFocus():e;t&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),f.enqueue(()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()})):!t&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),f.enqueue(()=>{this.updateTrapFocus(),this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1)}openChanged(e,t){t!==e&&(t&&!e?this.show():!t&&e&&this.hide())}modalTypeChanged(e,t){t!==e&&(this.trapFocus=t==lu||t==iu)}setComponent(){this.modalType==iu||this.modalType==lu?this.trapFocus=!0:this.trapFocus=!1}show(){f.enqueue(()=>{this.modalType===lu||this.modalType===iu?(this.dialog.showModal(),this.open=!0,this.updateTrapFocus(!0)):this.modalType===su&&(this.dialog.show(),this.open=!0),this.onOpenChangeEvent()})}hide(e=!1){this.dialog.close(),this.open=!1,this.onOpenChangeEvent(e)}dismiss(){this.modalType!==lu&&this.hide(!0)}handleClick(e){return e.preventDefault(),this.dialog.open&&this.modalType!==lu&&e.target===this.dialog&&this.dismiss(),!0}static reduceTabbableItems(e,t){return"-1"===t.getAttribute("tabindex")?e:nu(t)||hu.isFocusableFastElement(t)&&hu.hasTabbableShadow(t)?(e.push(t),e):Array.from(t.children).reduce((e,t)=>hu.reduceTabbableItems(e,t),e)}static isFocusableFastElement(e){var t,o;return!!(null==(o=null==(t=e.$fastController)?void 0:t.definition.shadowOptions)?void 0:o.delegatesFocus)}static hasTabbableShadow(e){var t,o;return Array.from(null!=(o=null==(t=e.shadowRoot)?void 0:t.querySelectorAll("*"))?o:[]).some(e=>nu(e))}};let pu=hu;uu([B],pu.prototype,"dialog",2),uu([B],pu.prototype,"titleAction",2),uu([B],pu.prototype,"defaultTitleAction",2),uu([Oe({attribute:"aria-describedby"})],pu.prototype,"ariaDescribedby",2),uu([Oe({attribute:"aria-labelledby"})],pu.prototype,"ariaLabelledby",2),uu([Oe({attribute:"modal-type"})],pu.prototype,"modalType",2),uu([Oe({mode:"boolean"})],pu.prototype,"open",2),uu([Oe({mode:"boolean",attribute:"no-title-action"})],pu.prototype,"noTitleAction",2);const gu=ke.partial('\n <svg\n fill="currentColor"\n aria-hidden="true"\n width="20"\n height="20"\n viewBox="0 0 20 20"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"\n fill="currentColor"\n ></path>\n </svg>'),vu=ke`<template ?open="${e=>e.open}"><dialog role="${e=>e.modalType===lu?"alertdialog":"dialog"}" modal-type="${e=>e.modalType}" class="dialog" part="dialog" aria-modal="${e=>e.modalType===iu||e.modalType===lu?"true":void 0}" aria-describedby="${e=>e.ariaDescribedby}" aria-labelledby="${e=>e.ariaLabelledby}" aria-label="${e=>e.ariaLabel}" @keydown="${(e,t)=>e.handleKeydown(t.event)}" @click="${(e,t)=>e.handleClick(t.event)}" ${xe("dialog")}><div class="root" part="root"><div class="title" part="title"><slot name="title"></slot><slot ${Ne({property:"titleAction",filter:Se()})} name="title-action"></slot>${we(e=>e.modalType===su&&0===e.titleAction.length&&!e.noTitleAction,ke`<fluent-button tabindex="0" part="title-action" class="title-action" appearance="transparent" icon-only @click=${e=>e.dismiss()} ${xe("defaultTitleAction")}>${gu}</fluent-button>`)}</div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></div></dialog></template>`,bu=j`
285
- ${bt("flex")}
286
-
287
- :host{--dialog-backdrop:${"var(--colorBackgroundOverlay)"}}dialog{background:${Vo};border:${ll} solid ${va};z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:${"var(--borderRadiusXLarge)"};box-shadow:${"var(--shadow64)"};max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:${"var(--spacingVerticalXXL)"} ${"var(--spacingHorizontalXXL)"}}.title{font-size:${Is};line-height:${"var(--lineHeightBase500)"};font-weight:${Es};font-family:${Bs};color:${Vt};margin-bottom:${Fl};display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:${Vt};font-size:${Cs};line-height:${Vs};font-weight:${Hs};font-family:${Bs};overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:${Fl};padding-top:${"var(--spacingVerticalXXL)"};justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:${bl};padding-top:${Fl};box-sizing:border-box}}`,mu=pu.compose({name:Et.prefix+"-dialog",template:vu,styles:bu}),fu={separator:"separator",presentation:"presentation"},ku=tt,yu={center:"center",start:"start",end:"end"},xu={strong:"strong",brand:"brand",subtle:"subtle",default:"default"};var $u=Object.defineProperty,Bu=Object.getOwnPropertyDescriptor,wu=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Bu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&$u(t,o,n),n};class Pu extends et{constructor(){super(...arguments),this.role=fu.separator,this.orientation=ku.horizontal}}wu([Oe],Pu.prototype,"role",2),wu([Oe],Pu.prototype,"orientation",2),wu([Oe({attribute:"align-content"})],Pu.prototype,"alignContent",2),wu([Oe],Pu.prototype,"appearance",2),wu([Oe({mode:"boolean"})],Pu.prototype,"inset",2);const Su=ke`<template role="${e=>e.role}" aria-orientation="${e=>e.role!==fu.presentation?e.orientation:void 0}"><slot></slot></template>`,Fu=j`
288
- ${bt("flex")}
289
-
290
- :host{contain:content}:host::after,:host::before{align-self:center;background:${ta};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${ll}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${qt};font-family:${Bs};font-size:${Fs};font-weight:${Hs};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:${ll};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:${Qr}}:host([appearance='strong']) ::slotted(*){color:${Vt}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${"var(--colorBrandStroke1)"}}:host([appearance='brand']) ::slotted(*){color:${"var(--colorBrandForeground1)"}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${"var(--colorNeutralStroke3)"}}:host([appearance='subtle']) ::slotted(*){color:${Jt}}`.withBehaviors(kt(j`
291
- :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}`)),Cu=Pu.compose({name:Et.prefix+"-divider",template:Su,styles:Fu});var Nu=Object.defineProperty,Iu=Object.getOwnPropertyDescriptor,Au=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Iu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Nu(t,o,n),n};class Tu extends et{}Au([Oe({mode:"boolean"})],Tu.prototype,"block",2),Au([Oe({mode:"boolean"})],Tu.prototype,"bordered",2),Au([Oe({mode:"boolean"})],Tu.prototype,"shadow",2),Au([Oe],Tu.prototype,"fit",2),Au([Oe],Tu.prototype,"shape",2);const zu={none:"none",center:"center",contain:"contain",cover:"cover",default:"default"},Lu={circular:"circular",rounded:"rounded",square:"square"},Ou=ke`<slot></slot>`,Hu=j`
292
- :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:${ll} solid ${ta}}: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:${Qs}}:host([shape='circular']) ::slotted(img){border-radius:${$s}}:host([shape='rounded']) ::slotted(img){border-radius:${ks}}`,Du=Tu.compose({name:Et.prefix+"-image",template:Ou,styles:Hu});var Eu=Object.defineProperty,Mu=Object.getOwnPropertyDescriptor,Ru=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Mu(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Eu(t,o,n),n};class ju extends et{constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Ru([Oe],ju.prototype,"size",2),Ru([Oe],ju.prototype,"weight",2),Ru([Oe({mode:"boolean"})],ju.prototype,"disabled",2),Ru([Oe({mode:"boolean"})],ju.prototype,"required",2);const Vu=j`
293
- ${bt("flex")}
294
-
295
- :host{font-family:${Bs};font-size:${Cs};line-height:${Vs};font-weight:${Hs};color:${Vt}}.asterisk{color:${"var(--colorPaletteRedForeground1)"};margin-left:${gl}}:host([size='small']){font-size:${Fs};line-height:${js}}:host([size='large']){font-size:${Ns};line-height:${_s};font-weight:${Es}}:host([weight='semibold']){font-weight:${Es}}:host([disabled]),:host([disabled]) .asterisk{color:${so}}`;const _u=ke`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${e=>!e.required}">*</span>`,Gu=ju.compose({name:Et.prefix+"-label",template:_u,styles:Vu});function Xu(e){return e.split("-")[1]}function qu(e){return"y"===e?"height":"width"}function Wu(e){return e.split("-")[0]}function Yu(e){return["top","bottom"].includes(Wu(e))?"x":"y"}function Ku(e,t,o){let{reference:r,floating:a}=e;const n=r.x+r.width/2-a.width/2,i=r.y+r.height/2-a.height/2,s=Yu(t),l=qu(s),c=r[l]/2-a[l]/2,d="x"===s;let u;switch(Wu(t)){case"top":u={x:n,y:r.y-a.height};break;case"bottom":u={x:n,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-a.width,y:i};break;default:u={x:r.x,y:r.y}}switch(Xu(t)){case"start":u[s]-=c*(o&&d?-1:1);break;case"end":u[s]+=c*(o&&d?-1:1)}return u}function Uu(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Qu(e,t){var o;void 0===t&&(t={});const{x:r,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=t,g=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(p),v=s[h?"floating"===u?"reference":"floating":u],b=Uu(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(v)))||o?v:v.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{...i.floating,x:r,y:a}:i.reference,f=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),k=await(null==n.isElement?void 0:n.isElement(f))&&await(null==n.getScale?void 0:n.getScale(f))||{x:1,y:1},y=Uu(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:m,offsetParent:f,strategy:l}):m);return{top:(b.top-y.top+g.top)/k.y,bottom:(y.bottom-b.bottom+g.bottom)/k.y,left:(b.left-y.left+g.left)/k.x,right:(y.right-b.right+g.right)/k.x}}const Zu=Math.min,Ju=Math.max;function eh(e,t,o){return Ju(e,Zu(t,o))}const th=["top","right","bottom","left"];th.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const oh={left:"right",right:"left",bottom:"top",top:"bottom"};function rh(e){return e.replace(/left|right|bottom|top/g,e=>oh[e])}function ah(e,t,o){void 0===o&&(o=!1);const r=Xu(e),a=Yu(e),n=qu(a);let i="x"===a?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=rh(i)),{main:i,cross:rh(i)}}const nh={start:"end",end:"start"};function ih(e){return e.replace(/start|end/g,e=>nh[e])}const sh=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var o;const{placement:r,middlewareData:a,rects:n,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:g=!0,...v}=e,b=Wu(r),m=Wu(i)===i,f=await(null==s.isRTL?void 0:s.isRTL(l.floating)),k=u||(m||!g?[rh(i)]:function(e){const t=rh(e);return[ih(e),t,ih(t)]}(i));u||"none"===p||k.push(...function(e,t,o,r){const a=Xu(e);let n=function(e,t,o){const r=["left","right"],a=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:r:t?r:a;case"left":case"right":return t?n:i;default:return[]}}(Wu(e),"start"===o,r);return a&&(n=n.map(e=>e+"-"+a),t&&(n=n.concat(n.map(ih)))),n}(i,g,p,f));const y=[i,...k],x=await Qu(t,v),$=[];let B=(null==(o=a.flip)?void 0:o.overflows)||[];if(c&&$.push(x[b]),d){const{main:e,cross:t}=ah(r,n,f);$.push(x[e],x[t])}if(B=[...B,{placement:r,overflows:$}],!$.every(e=>e<=0)){var w,P;const e=((null==(w=a.flip)?void 0:w.index)||0)+1,t=y[e];if(t)return{data:{index:e,overflows:B},reset:{placement:t}};let o=null==(P=B.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!o)switch(h){case"bestFit":{var S;const e=null==(S=B.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:S[0];e&&(o=e);break}case"initialPlacement":o=i}if(r!==o)return{reset:{placement:o}}}return{}}}};function lh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ch(e){return th.some(t=>e[t]>=0)}const dh=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{strategy:o="referenceHidden",...r}=e,{rects:a}=t;switch(o){case"referenceHidden":{const e=lh(await Qu(t,{...r,elementContext:"reference"}),a.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ch(e)}}}case"escaped":{const e=lh(await Qu(t,{...r,altBoundary:!0}),a.floating);return{data:{escapedOffsets:e,escaped:ch(e)}}}default:return{}}}}};const uh=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:r,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:o}=e;return{x:t,y:o}}},...l}=e,c={x:o,y:r},d=await Qu(t,l),u=Yu(Wu(a)),h=function(e){return"x"===e?"y":"x"}(u);let p=c[u],g=c[h];if(n){const e="y"===u?"bottom":"right";p=eh(p+d["y"===u?"top":"left"],p,p-d[e])}if(i){const e="y"===h?"bottom":"right";g=eh(g+d["y"===h?"top":"left"],g,g-d[e])}const v=s.fn({...t,[u]:p,[h]:g});return{...v,data:{x:v.x-o,y:v.y-r}}}}},hh=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:r,platform:a,elements:n}=t,{apply:i=(()=>{}),...s}=e,l=await Qu(t,s),c=Wu(o),d=Xu(o),u="x"===Yu(o),{width:h,height:p}=r.floating;let g,v;"top"===c||"bottom"===c?(g=c,v=d===(await(null==a.isRTL?void 0:a.isRTL(n.floating))?"start":"end")?"left":"right"):(v=c,g="end"===d?"top":"bottom");const b=p-l[g],m=h-l[v];let f=b,k=m;if(u?k=Zu(h-l.right-l.left,m):f=Zu(p-l.bottom-l.top,b),!t.middlewareData.shift&&!d){const e=Ju(l.left,0),t=Ju(l.right,0),o=Ju(l.top,0),r=Ju(l.bottom,0);u?k=h-2*(0!==e||0!==t?e+t:Ju(l.left,l.right)):f=p-2*(0!==o||0!==r?o+r:Ju(l.top,l.bottom))}await i({...t,availableWidth:k,availableHeight:f});const y=await a.getDimensions(n.floating);return h!==y.width||p!==y.height?{reset:{rects:!0}}:{}}}};function ph(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function gh(e){return ph(e).getComputedStyle(e)}const vh=Math.min,bh=Math.max,mh=Math.round;function fh(e){const t=gh(e);let o=parseFloat(t.width),r=parseFloat(t.height);const a=e.offsetWidth,n=e.offsetHeight,i=mh(o)!==a||mh(r)!==n;return i&&(o=a,r=n),{width:o,height:r,fallback:i}}function kh(e){return wh(e)?(e.nodeName||"").toLowerCase():""}let yh;function xh(){if(yh)return yh;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(yh=e.brands.map(e=>e.brand+"/"+e.version).join(" "),yh):navigator.userAgent}function $h(e){return e instanceof ph(e).HTMLElement}function Bh(e){return e instanceof ph(e).Element}function wh(e){return e instanceof ph(e).Node}function Ph(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ph(e).ShadowRoot||e instanceof ShadowRoot)}function Sh(e){const{overflow:t,overflowX:o,overflowY:r,display:a}=gh(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function Fh(e){return["table","td","th"].includes(kh(e))}function Ch(e){const t=/firefox/i.test(xh()),o=gh(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 Nh(){return/^((?!chrome|android).)*safari/i.test(xh())}function Ih(e){return["html","body","#document"].includes(kh(e))}function Ah(e){return Bh(e)?e:e.contextElement}const Th={x:1,y:1};function zh(e){const t=Ah(e);if(!$h(t))return Th;const o=t.getBoundingClientRect(),{width:r,height:a,fallback:n}=fh(t);let i=(n?mh(o.width):o.width)/r,s=(n?mh(o.height):o.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function Lh(e,t,o,r){var a,n;void 0===t&&(t=!1),void 0===o&&(o=!1);const i=e.getBoundingClientRect(),s=Ah(e);let l=Th;t&&(r?Bh(r)&&(l=zh(r)):l=zh(e));const c=s?ph(s):window,d=Nh()&&o;let u=(i.left+(d&&(null==(a=c.visualViewport)?void 0:a.offsetLeft)||0))/l.x,h=(i.top+(d&&(null==(n=c.visualViewport)?void 0:n.offsetTop)||0))/l.y,p=i.width/l.x,g=i.height/l.y;if(s){const e=ph(s),t=r&&Bh(r)?ph(r):r;let o=e.frameElement;for(;o&&r&&t!==e;){const e=zh(o),t=o.getBoundingClientRect(),r=getComputedStyle(o);t.x+=(o.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(o.clientTop+parseFloat(r.paddingTop))*e.y,u*=e.x,h*=e.y,p*=e.x,g*=e.y,u+=t.x,h+=t.y,o=ph(o).frameElement}}return{width:p,height:g,top:h,right:u+p,bottom:h+g,left:u,x:u,y:h}}function Oh(e){return((wh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hh(e){return Bh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Dh(e){return Lh(Oh(e)).left+Hh(e).scrollLeft}function Eh(e){if("html"===kh(e))return e;const t=e.assignedSlot||e.parentNode||Ph(e)&&e.host||Oh(e);return Ph(t)?t.host:t}function Mh(e,t){var o;void 0===t&&(t=[]);const r=function e(t){const o=Eh(t);return Ih(o)?o.ownerDocument.body:$h(o)&&Sh(o)?o:e(o)}(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),n=ph(r);return a?t.concat(n,n.visualViewport||[],Sh(r)?r:[]):t.concat(r,Mh(r))}function Rh(e,t,o){let r;if("viewport"===t)r=function(e,t){const o=ph(e),r=Oh(e),a=o.visualViewport;let n=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=Nh();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:n,height:i,x:s,y:l}}(e,o);else if("document"===t)r=function(e){const t=Oh(e),o=Hh(e),r=e.ownerDocument.body,a=bh(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),n=bh(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+Dh(e);const s=-o.scrollTop;return"rtl"===gh(r).direction&&(i+=bh(t.clientWidth,r.clientWidth)-a),{width:a,height:n,x:i,y:s}}(Oh(e));else if(Bh(t))r=function(e,t){const o=Lh(e,!0,"fixed"===t),r=o.top+e.clientTop,a=o.left+e.clientLeft,n=$h(e)?zh(e):{x:1,y:1};return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:r*n.y}}(t,o);else{const o={...t};if(Nh()){var a,n;const t=ph(e);o.x-=(null==(a=t.visualViewport)?void 0:a.offsetLeft)||0,o.y-=(null==(n=t.visualViewport)?void 0:n.offsetTop)||0}r=o}return Uu(r)}function jh(e,t){return $h(e)&&"fixed"!==gh(e).position?t?t(e):e.offsetParent:null}function Vh(e,t){const o=ph(e);let r=jh(e,t);for(;r&&Fh(r)&&"static"===gh(r).position;)r=jh(r,t);return r&&("html"===kh(r)||"body"===kh(r)&&"static"===gh(r).position&&!Ch(r))?o:r||function(e){let t=Eh(e);for(;$h(t)&&!Ih(t);){if(Ch(t))return t;t=Eh(t)}return null}(e)||o}function _h(e,t,o){const r=$h(t),a=Oh(t),n=Lh(e,!0,"fixed"===o,t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(r||!r&&"fixed"!==o)if(("body"!==kh(t)||Sh(a))&&(i=Hh(t)),$h(t)){const e=Lh(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else a&&(s.x=Dh(a));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const Gh={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:r,strategy:a}=e;const n=[..."clippingAncestors"===o?function(e,t){const o=t.get(e);if(o)return o;let r=Mh(e).filter(e=>Bh(e)&&"body"!==kh(e)),a=null;const n="fixed"===gh(e).position;let i=n?Eh(e):e;for(;Bh(i)&&!Ih(i);){const e=gh(i),t=Ch(i);(n?t||a:t||"static"!==e.position||!a||!["absolute","fixed"].includes(a.position))?a=e:r=r.filter(e=>e!==i),i=Eh(i)}return t.set(e,r),r}(t,this._c):[].concat(o),r],i=n[0],s=n.reduce((e,o)=>{const r=Rh(t,o,a);return e.top=bh(r.top,e.top),e.right=vh(r.right,e.right),e.bottom=vh(r.bottom,e.bottom),e.left=bh(r.left,e.left),e},Rh(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:r}=e;const a=$h(o),n=Oh(o);if(o===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((a||!a&&"fixed"!==r)&&(("body"!==kh(o)||Sh(n))&&(i=Hh(o)),$h(o))){const e=Lh(o);s=zh(o),l.x=e.x+o.clientLeft,l.y=e.y+o.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:Bh,getDimensions:function(e){return $h(e)?fh(e):e.getBoundingClientRect()},getOffsetParent:Vh,getDocumentElement:Oh,getScale:zh,async getElementRects(e){let{reference:t,floating:o,strategy:r}=e;const a=this.getOffsetParent||Vh,n=this.getDimensions;return{reference:_h(t,await a(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===gh(e).direction};function Xh(e,t,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:n=!0,elementResize:i=!0,animationFrame:s=!1}=r,l=a&&!s,c=l||n?[...Bh(e)?Mh(e):e.contextElement?Mh(e.contextElement):[],...Mh(t)]:[];c.forEach(e=>{l&&e.addEventListener("scroll",o,{passive:!0}),n&&e.addEventListener("resize",o)});let d,u=null;if(i){let r=!0;u=new ResizeObserver(()=>{r||o(),r=!1}),Bh(e)&&!s&&u.observe(e),Bh(e)||!e.contextElement||s||u.observe(e.contextElement),u.observe(t)}let h=s?Lh(e):null;return s&&function t(){const r=Lh(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||o(),h=r,d=requestAnimationFrame(t)}(),o(),()=>{var e;c.forEach(e=>{l&&e.removeEventListener("scroll",o),n&&e.removeEventListener("resize",o)}),null==(e=u)||e.disconnect(),u=null,s&&cancelAnimationFrame(d)}}const qh=(e,t,o)=>{const r=new Map,a={platform:Gh,...o},n={...a.platform,_c:r};return(async(e,t,o)=>{const{placement:r="bottom",strategy:a="absolute",middleware:n=[],platform:i}=o,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=Ku(c,r,l),h=r,p={},g=0;for(let o=0;o<s.length;o++){const{name:n,fn:v}=s[o],{x:b,y:m,data:f,reset:k}=await v({x:d,y:u,initialPlacement:r,placement:h,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=b?b:d,u=null!=m?m:u,p={...p,[n]:{...p[n],...f}},k&&g<=50&&(g++,"object"==typeof k&&(k.placement&&(h=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):k.rects),({x:d,y:u}=Ku(c,h,l))),o=-1)}return{x:d,y:u,placement:h,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})};var Wh=Object.defineProperty,Yh=Object.getOwnPropertyDescriptor,Kh=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Yh(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Wh(t,o,n),n};class Uh extends et{constructor(){super(...arguments),this.openOnHover=!1,this.openOnContext=!1,this.closeOnScroll=!1,this.persistOnItemClick=!1,this.open=!1,this.slottedMenuList=[],this.slottedTriggers=[],this.toggleMenu=()=>{this.open?this.closeMenu():this.openMenu()},this.closeMenu=()=>{this.open=!1,this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu)},this.openMenu=e=>{this.open=!0,e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.setPositioningTask=()=>{this.setPositioning()},this.handleTriggerKeydown=e=>{if(e.defaultPrevented)return;switch(e.key){case" ":case"Enter":e.preventDefault(),this.toggleMenu(),this.open&&this.focusMenuList();break;default:return!0}},this.handleDocumentClick=e=>{!e||e.composedPath().includes(this._menuList)||e.composedPath().includes(this._trigger)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),f.enqueue(()=>this.setComponent())}disconnectedCallback(){var e;super.disconnectedCallback(),null==(e=this.cleanup)||e.call(this),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",""+this.open),this.addListeners())}focusMenuList(){this.open&&this._menuList&&f.enqueue(()=>{this._menuList.focus()})}focusTrigger(){!this.open&&this._trigger&&f.enqueue(()=>{this._trigger.focus()})}openChanged(e,t){var o;this.$fastController.isConnected&&this._trigger instanceof HTMLElement&&(this._trigger.setAttribute("aria-expanded",""+this.open),this._menuList&&this.open&&f.enqueue(this.setPositioningTask)),null==(o=this.cleanup)||o.call(this),this.$emit("onOpenChange",{open:t})}openOnHoverChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):null==(r=this._trigger)||r.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){var o,r;t?null==(r=this._menuList)||r.removeEventListener("click",this.closeMenu):null==(o=this._menuList)||o.addEventListener("click",this.closeMenu)}openOnContextChanged(e,t){var o,r;t?null==(o=this._trigger)||o.addEventListener("contextmenu",this.openMenu):null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}setPositioning(){this.$fastController.isConnected&&this._menuList&&this.open&&this._trigger&&(this.cleanup=Xh(this,this.positioningContainer,async()=>{var e,t;const{middlewareData:o,x:r,y:a}=await qh(this._trigger,this.positioningContainer,{placement:"bottom",strategy:"fixed",middleware:[sh(),hh({apply:({availableHeight:e,rects:t})=>{var o;(null==(o=this.positioningContainer)?void 0:o.style)&&Object.assign(this.positioningContainer.style,{maxHeight:e+"px",width:t.reference.width+"px"})}}),dh()]});(null==(e=o.hide)?void 0:e.referenceHidden)?this.open=!1:(null==(t=this.positioningContainer)?void 0:t.style)&&Object.assign(this.positioningContainer.style,{position:"fixed",top:"0",left:"0",transform:`translate(${r}px, ${a}px)`})}))}addListeners(){var e,t,o,r,a;document.addEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.addEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.addEventListener("click",this.closeMenu),this.openOnHover?null==(o=this._trigger)||o.addEventListener("mouseover",this.openMenu):this.openOnContext?null==(r=this._trigger)||r.addEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.addEventListener("click",this.toggleMenu)}removeListeners(){var e,t,o,r,a;document.removeEventListener("click",this.handleDocumentClick),null==(e=this._trigger)||e.removeEventListener("keydown",this.handleTriggerKeydown),this.persistOnItemClick||null==(t=this._menuList)||t.removeEventListener("click",this.closeMenu),this.openOnHover&&(null==(o=this._trigger)||o.removeEventListener("mouseover",this.openMenu)),this.openOnContext?null==(r=this._trigger)||r.removeEventListener("contextmenu",this.openMenu):null==(a=this._trigger)||a.removeEventListener("click",this.toggleMenu)}handleMenuKeydown(e){if(e.defaultPrevented)return;switch(e.key){case"Escape":e.preventDefault(),this.open&&(this.closeMenu(),this.focusTrigger());break;case"Tab":this.open&&this.closeMenu(),e.shiftKey&&this.focusTrigger();default:return!0}}}Kh([B,Oe({attribute:"open-on-hover",mode:"boolean"})],Uh.prototype,"openOnHover",2),Kh([B,Oe({attribute:"open-on-context",mode:"boolean"})],Uh.prototype,"openOnContext",2),Kh([B,Oe({attribute:"close-on-scroll",mode:"boolean"})],Uh.prototype,"closeOnScroll",2),Kh([B,Oe({attribute:"persist-on-item-click",mode:"boolean"})],Uh.prototype,"persistOnItemClick",2),Kh([B,Oe({mode:"boolean"})],Uh.prototype,"open",2),Kh([B],Uh.prototype,"slottedMenuList",2),Kh([B],Uh.prototype,"slottedTriggers",2);const Qh=ke`<template ?open-on-hover="${e=>e.openOnHover}" ?open-on-context="${e=>e.openOnContext}" ?close-on-scroll="${e=>e.closeOnScroll}" ?persist-on-item-click="${e=>e.persistOnItemClick}" @keydown="${(e,t)=>e.handleMenuKeydown(t.event)}"><slot name="trigger" ${Ne({property:"slottedTriggers",filter:Se()})}></slot><span ${xe("positioningContainer")} part="positioning-container" class="positioning-container" ?hidden="${e=>!e.open}"><slot ${Ne({property:"slottedMenuList",filter:Se()})}></slot></span></template>`,Zh=j`
296
- :host{position:relative;z-index:var(--z-index-menu,1)}.positioning-container{position:fixed;top:0;left:0;transform:translate(0,0)}`,Jh=Uh.compose({name:Et.prefix+"-menu",template:Qh,styles:Zh});class ep extends dd{}const tp=nc,op=ic,rp=sc,ap=ud({end:ke.partial('\n <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">\n <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>\n </svg>\n ')}),np=ep.compose({name:Et.prefix+"-menu-button",template:ap,styles:pd}),ip={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"},sp={[ip.menuitem]:"menuitem",[ip.menuitemcheckbox]:"menuitemcheckbox",[ip.menuitemradio]:"menuitemradio"};var lp=Object.defineProperty,cp=Object.getOwnPropertyDescriptor,dp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?cp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&lp(t,o,n),n};class up extends et{constructor(){super(...arguments),this.role=ip.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 ip.menuitemcheckbox:this.checked=!this.checked;break;case ip.menuitem:if(this.hasSubmenu){this.expandAndFocus();break}this.$emit("change");break;case ip.menuitemradio:this.checked||(this.checked=!0)}}}expandedChanged(e,t){this.$fastController.isConnected&&(t&&this.submenu&&this.updateSubmenu(),this.$emit("expanded-change",this,{bubbles:!1}))}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}get hasSubmenu(){return!!this.submenu}slottedSubmenuChanged(e,t){t.length&&(this.submenu=t[0],this.updateSubmenu())}disconnectedCallback(){var e;null==(e=this.cleanup)||e.call(this),super.disconnectedCallback()}updateSubmenu(){var e;null==(e=this.cleanup)||e.call(this),this.submenu&&this.expanded&&f.enqueue(()=>{this.cleanup=Xh(this,this.submenuContainer,async()=>{const e=["left-start","right-start"],{x:t,y:o}=await qh(this,this.submenuContainer,{middleware:[uh(),hh({apply:({availableWidth:t,rects:o})=>{t<o.floating.width&&e.push("bottom-end","top-end")}}),sh({fallbackPlacements:e})],placement:"right-start",strategy:"fixed"});Object.assign(this.submenuContainer.style,{left:t+"px",position:"fixed",top:o+"px"}),this.submenuLoaded()})})}}dp([Oe({mode:"boolean"})],up.prototype,"disabled",2),dp([Oe({mode:"boolean"})],up.prototype,"expanded",2),dp([Oe],up.prototype,"role",2),dp([Oe({mode:"boolean"})],up.prototype,"checked",2),dp([Oe({mode:"boolean"})],up.prototype,"hidden",2),dp([B],up.prototype,"slottedSubmenu",2),dp([B],up.prototype,"submenu",2),Pt(up,$t);const hp=ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 014.9 12L2.22 9.28a.75.75 0 111.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 011.06.04z" fill="currentColor"></path></svg>');const pp=function(e={}){return ke`<template aria-haspopup="${e=>e.hasSubmenu?"menu":void 0}" aria-checked="${e=>e.role!==ip.menuitem?e.checked:void 0}" aria-disabled="${e=>e.disabled}" aria-expanded="${e=>e.expanded}" @keydown="${(e,t)=>e.handleMenuItemKeyDown(t.event)}" @click="${(e,t)=>e.handleMenuItemClick(t.event)}" @mouseover="${(e,t)=>e.handleMouseOver(t.event)}" @mouseout="${(e,t)=>e.handleMouseOut(t.event)}">${we(e=>e.role===ip.menuitemcheckbox,ke`<div part="input-container" class="input-container"><span part="checkbox" class="checkbox"><slot name="checkbox-indicator">${pt(e.checkboxIndicator)}</slot></span></div>`)} ${we(e=>e.role===ip.menuitemradio,ke`<div part="input-container" class="input-container"><span part="radio" class="radio"><slot name="radio-indicator">${pt(e.radioIndicator)}</slot></span></div>`)}</div>${wt(e)}<span class="content" part="content"><slot></slot></span>${Bt(e)} ${we(e=>e.hasSubmenu,ke`<div part="expand-collapse-glyph-container" class="expand-collapse-glyph-container"><span part="expand-collapse" class="expand-collapse"><slot name="expand-collapse-indicator">${pt(e.expandCollapseGlyph)}</slot></span></div>`)}<span ?hidden="${e=>!e.expanded}" class="submenu-container" part="submenu-container" ${xe("submenuContainer")}><slot name="submenu" ${Ne({property:"slottedSubmenu",filter:Se("[role='menu']")})}></slot></span></template>`}({checkboxIndicator:hp,expandCollapseGlyph:ke.partial('<svg fill="currentColor" class="___12fm75w f1w7gpdv fez10in fg4l7m0" aria-hidden="true" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.74 3.2a.75.75 0 00-.04 1.06L9.23 8 5.7 11.74a.75.75 0 101.1 1.02l4-4.25a.75.75 0 000-1.02l-4-4.25a.75.75 0 00-1.06-.04z" fill="currentColor"></path></svg>'),radioIndicator:hp}),gp=j`
297
- ${bt("grid")}
298
-
299
- :host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:${Vo};font:${Hs} ${Cs} / ${Vs} ${Bs};border-radius:${ks};color:${qt};padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:${"var(--colorNeutralBackground1Hover)"}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:${qt}}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:${Is};width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:${Jt};font:${Hs} ${Fs} / ${js} ${Bs};white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:${"var(--colorNeutralForeground2Hover)"}}:host([icon]:hover) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Hover)"}}:host(:active){background-color:${"var(--colorNeutralBackground1Selected)"}}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:${"var(--colorNeutralForeground2Pressed)"}}:host(:active) ::slotted([slot='start']){color:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:${so}}: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}`,vp=up.compose({name:Et.prefix+"-menu-item",template:pp,styles:gp});var bp=Object.defineProperty,mp=Object.getOwnPropertyDescriptor;const fp=class extends et{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&ot(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem();const e=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target;void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return;e.preventDefault();const t=e.target;null===this.expandedItem||t!==this.expandedItem||!1!==t.expanded?t.expanded&&(null!==this.expandedItem&&this.expandedItem!==t&&(this.expandedItem.expanded=!1),this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.expandedItem=t,this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0")):this.expandedItem=null},this.changeHandler=e=>{if(void 0===this.menuItems)return;const t=e.target,o=this.menuItems.indexOf(t);if(-1!==o&&"menuitemradio"===t.role&&!0===t.checked){for(let e=o-1;e>=0;--e){const t=this.menuItems[e],o=t.getAttribute("role");if(o===ip.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===ip.menuitemradio&&(e.checked=!1),"separator"===o)break}}},this.isMenuItemElement=e=>e instanceof up||ot(e)&&e.getAttribute("role")in fp.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e)}itemsChanged(e,t){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),f.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(e){if(!e.defaultPrevented&&void 0!==this.menuItems)switch(e.key){case"ArrowDown":return void this.setFocus(this.focusIndex+1,1);case"ArrowUp":return void this.setFocus(this.focusIndex-1,-1);case"End":return void this.setFocus(this.menuItems.length-1,-1);case"Home":return void this.setFocus(0,1);default:return!0}}removeItemListeners(e=this.items){e.forEach(e=>{e.removeEventListener("focus",this.handleItemFocus),e.removeEventListener("expanded-changed",this.handleExpandedChanged),$.getNotifier(e).unsubscribe(this,"hidden")})}static elementIndent(e){const t=e.getAttribute("role"),o=e.querySelector("[slot=start]");return t&&t!==ip.menuitem?o?2:1:o?1:0}setItems(){var e;const t=Array.from(this.children);this.removeItemListeners(t),t.forEach(e=>$.getNotifier(e).subscribe(this,"hidden"));const o=t.filter(e=>!e.hasAttribute("hidden"));this.menuItems=o;const r=this.menuItems.filter(this.isMenuItemElement);r.length&&(this.focusIndex=0),r.forEach((e,t)=>{e.setAttribute("tabindex",0===t?"0":"-1"),e.addEventListener("expanded-change",this.handleExpandedChanged),e.addEventListener("focus",this.handleItemFocus)});const a=null==(e=this.menuItems)?void 0:e.filter(this.isMenuItemElement);null==a||a.forEach((e,t)=>{const o=null==a?void 0:a.reduce((e,t)=>{const o=fp.elementIndent(t);return Math.max(e,o)},0);e instanceof up&&e.setAttribute("data-indent",""+o)})}handleChange(e,t){"hidden"===t&&this.setItems()}setFocus(e,t){if(void 0!==this.menuItems)for(;e>=0&&e<this.menuItems.length;){const o=this.menuItems[e];if(this.isFocusableElement(o)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,o.setAttribute("tabindex","0"),o.focus();break}e+=t}}};let kp=fp;kp.focusableElementRoles=ip,((e,t,o,r)=>{for(var a,n=r>1?void 0:r?mp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&bp(t,o,n)})([B],kp.prototype,"items",2);const yp=ke`<template slot="${e=>e.slot?e.slot:e.isNestedMenu()?"submenu":void 0}" role="menu" @keydown="${(e,t)=>e.handleMenuKeyDown(t.event)}" @focusout="${(e,t)=>e.handleFocusOut(t.event)}"><slot ${Ne("items")}></slot></template>`,xp=j`
300
- ${bt("flex")}
301
-
302
- :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${Vo};border:1px solid ${va};border-radius:${ks};box-shadow:${Js};padding:4px;row-gap:2px}`,$p=kp.compose({name:Et.prefix+"-menu-list",template:yp,styles:xp});var Bp=Object.defineProperty,wp=Object.getOwnPropertyDescriptor,Pp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?wp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Bp(t,o,n),n};class Sp extends et{constructor(){super(...arguments),this.percentComplete=0}valueChanged(){this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){const e="number"==typeof this.min?this.min:0,t="number"==typeof this.max?this.max:100,o="number"==typeof this.value?this.value:0,r=t-e;this.percentComplete=0===r?0:Math.fround((o-e)/r*100)}}Pp([Oe({converter:ze})],Sp.prototype,"value",2),Pp([Oe({converter:ze})],Sp.prototype,"min",2),Pp([Oe({converter:ze})],Sp.prototype,"max",2),Pp([B],Sp.prototype,"percentComplete",2);var Fp=Object.defineProperty,Cp=Object.getOwnPropertyDescriptor,Np=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Cp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Fp(t,o,n),n};class Ip extends Sp{constructor(){super(...arguments),this.validationState=null}}Np([Oe],Ip.prototype,"thickness",2),Np([Oe],Ip.prototype,"shape",2),Np([Oe({attribute:"validation-state"})],Ip.prototype,"validationState",2);const Ap={medium:"medium",large:"large"},Tp={rounded:"rounded",square:"square"},zp={success:"success",warning:"warning",error:"error"},Lp=j`
303
- ${bt("flex")}
304
-
305
- :host{align-items:center;height:2px;overflow-x:hidden;border-radius:${ks};contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:${"var(--colorPaletteRedBackground3)"}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
306
- to right,${"var(--colorPaletteRedBackground2)"} 0%,${"var(--colorPaletteRedBackground3)"} 50%,${"var(--colorPaletteRedBackground2)"}
307
- )}:host([validation-state='warning']) .determinate{background-color:${"var(--colorPaletteDarkOrangeBackground3)"}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
308
- to right,${"var(--colorPaletteDarkOrangeBackground2)"} 0%,${"var(--colorPaletteDarkOrangeBackground3)"} 50%,${"var(--colorPaletteDarkOrangeBackground2)"}
309
- )}:host([validation-state='success']) .determinate{background-color:${"var(--colorPaletteGreenBackground3)"}}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
310
- to right,${"var(--colorPaletteGreenBackground2)"} 0%,${"var(--colorPaletteGreenBackground3)"} 50%,${"var(--colorPaletteGreenBackground2)"}
311
- )}.progress{background-color:${"var(--colorNeutralBackground6)"};border-radius:${ks};width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:${Er};border-radius:${ks};height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
312
- to right,${Vr} 0%,${Er} 50%,${Vr}
313
- );border-radius:${ks};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(
314
- to right,${Vr} 0%,${Er} 50%,${Vr}
315
- );border-radius:${ks};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(kt(j`
316
- .progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`));const Op=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ke`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${e=>e.percentComplete}%"></div></div>`,ke`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${pt(e.indeterminateIndicator1)} ${pt(e.indeterminateIndicator2)}</slot></div>`)}</template>`}({indeterminateIndicator1:'<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>',indeterminateIndicator2:'<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>'}),Hp=Ip.compose({name:Et.prefix+"-progress-bar",template:Op,styles:Lp});class Dp extends et{}class Ep extends(fd(Dp)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Mp=Object.defineProperty,Rp=Object.getOwnPropertyDescriptor,jp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Rp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Mp(t,o,n),n};class Vp extends Ep{constructor(){super(),this.initialValue="on",this.proxy.setAttribute("type","radio")}get radioGroup(){return this.closest("[role=radiogroup]")}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!=(e=this.defaultChecked)&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null==(e=this.parentElement)?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!=(t=this.defaultChecked)&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.radioGroup}keypressHandler(e){var t;switch(e.key){case" ":return void(this.checked||(null==(t=this.radioGroup)?void 0:t.readOnly)||(this.checked=!0))}return!0}}jp([B],Vp.prototype,"name",2),jp([B],Vp.prototype,"defaultSlottedNodes",2);const _p=j`
317
- ${bt("inline-grid")}
318
-
319
- :host{grid-auto-flow:column;grid-template-columns:max-content;gap:${gl};align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,${Jt});padding-inline-end:${bl};--control-border-color:${Wr};--checked-indicator-background-color:${"var(--colorCompoundBrandForeground1)"};--state-color:${Jt}}:host([disabled]){--control-border-color:${so};--checked-indicator-background-color:${so};--state-color:${so}}.label{cursor:pointer;font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs}}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,${Wr});border-radius:${$s};display:flex;height:16px;justify-content:center;margin:${Fl} ${bl};position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:${$s};height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:${qt}}:host(:focus-visible){border-radius:${fs};box-shadow:0 0 0 3px ${ka};outline:1px solid ${fa}}:host(:hover) .control{border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .control{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,${Wr})}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,${"var(--colorCompoundBrandForeground1)"})}:host([aria-checked='true']:hover) .control{border-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:hover) .checked-indicator{background-color:${"var(--colorCompoundBrandStrokeHover)"}}:host([aria-checked='true']:active) .control{border-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorCompoundBrandForeground1Pressed)"}}:host([disabled]){color:${so};pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:${so}}:host([disabled]) .checked-indicator{background:${so}}`.withBehaviors(kt(j`
320
- :host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`));const Gp=function(e={}){return ke`<template role="radio" aria-checked="${e=>e.checked}" aria-required="${e=>e.required}" aria-disabled="${e=>e.disabled}" @keypress="${(e,t)=>e.keypressHandler(t.event)}"><div part="control" class="control"><slot name="checked-indicator">${pt(e.checkedIndicator)}</slot></div><label part="label" class="${e=>{var t;return["label",!(null==(t=e.defaultSlottedNodes)?void 0:t.length)&&"label__hidden"].filter(Boolean).join(" ")}}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label></template>`}({checkedIndicator:ke`<div part="checked-indicator" class="checked-indicator"></div>`}),Xp=Vp.compose({name:Et.prefix+"-radio",template:Gp,styles:_p}),qp=tt;var Wp=Object.defineProperty,Yp=Object.getOwnPropertyDescriptor,Kp=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Yp(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Wp(t,o,n),n};class Up extends et{constructor(){super(...arguments),this.stacked=!1,this.orientation=qp.horizontal,this.radioChangeHandler=e=>{const t=e.target;t.checked&&(this.slottedRadioButtons.forEach(e=>{e instanceof Vp&&e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))}),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const o=e[t];this.isInsideToolbar||(o.setAttribute("tabindex","0"),o.checked=!0,this.selectedRadio=o),this.focusedRadio=o,o.focus()},this.moveRightOffGroup=()=>{var e;null==(e=this.nextElementSibling)||e.focus()},this.moveLeftOffGroup=()=>{var e;null==(e=this.previousElementSibling)||e.focus()},this.focusOutHandler=e=>{const t=this.slottedRadioButtons,o=e.target,r=null!==o?t.indexOf(o):0,a=this.focusedRadio?t.indexOf(this.focusedRadio):-1;return(0===a&&r===a||a===t.length-1&&a===r)&&(this.selectedRadio?(this.focusedRadio=this.selectedRadio,this.isInsideFoundationToolbar||(this.selectedRadio.setAttribute("tabindex","0"),t.forEach(e=>{e!==this.selectedRadio&&e.setAttribute("tabindex","-1")}))):(this.focusedRadio=t[0],this.focusedRadio.setAttribute("tabindex","0"),t.forEach(e=>{o instanceof Vp&&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 Vp&&(t.checked=!0,t.setAttribute("tabindex","0"),this.selectedRadio=t,this.focusedRadio=t)},this.shouldMoveOffGroupToTheRight=(e,t,o)=>e===t.length&&this.isInsideToolbar&&"ArrowRight"===o,this.shouldMoveOffGroupToTheLeft=(e,t)=>(this.focusedRadio?e.indexOf(this.focusedRadio)-1:0)<0&&this.isInsideToolbar&&"ArrowLeft"===t,this.checkFocusedRadio=()=>{null===this.focusedRadio||this.focusedRadio.checked||(this.focusedRadio.checked=!0,this.focusedRadio.setAttribute("tabindex","0"),this.focusedRadio.focus(),this.selectedRadio=this.focusedRadio)},this.moveRight=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)+1:1,this.shouldMoveOffGroupToTheRight(o,t,e.key))this.moveRightOffGroup();else for(o===t.length&&(o=0);o<t.length&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;if(o+1>=t.length){if(this.isInsideToolbar)break;o=0}else o+=1}},this.moveLeft=e=>{const t=this.slottedRadioButtons;let o=0;if(o=this.focusedRadio?t.indexOf(this.focusedRadio)-1:0,o=o<0?t.length-1:o,this.shouldMoveOffGroupToTheLeft(t,e.key))this.moveLeftOffGroup();else for(;o>=0&&t.length>1;){if(!t[o].disabled){this.moveToRadioByIndex(t,o);break}if(this.focusedRadio&&o===t.indexOf(this.focusedRadio))break;o-1<0?o=t.length-1:o-=1}},this.keydownHandler=e=>{const t=e.key;if(t in rt&&(this.isInsideFoundationToolbar||this.disabled))return!0;switch(t){case"Enter":this.checkFocusedRadio();break;case"ArrowRight":case"ArrowDown":this.direction===at.ltr?this.moveRight(e):this.moveLeft(e);break;case"ArrowLeft":case"ArrowUp":this.direction===at.ltr?this.moveLeft(e):this.moveRight(e);break;default:return!0}}}nameChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e.setAttribute("name",this.name)})}valueChanged(){this.slottedRadioButtons&&this.slottedRadioButtons.forEach(e=>{e instanceof Vp&&e.value===this.value&&(e.checked=!0,this.selectedRadio=e)}),this.$emit("change")}slottedRadioButtonsChanged(e,t){this.slottedRadioButtons&&this.slottedRadioButtons.length>0&&this.setupRadioButtons()}get parentToolbar(){return this.closest('[role="toolbar"]')}get isInsideToolbar(){var e;return null!=(e=this.parentToolbar)&&e}get isInsideFoundationToolbar(){var e;return!!(null==(e=this.parentToolbar)?void 0:e.hasOwnProperty("$fastController"))}connectedCallback(){super.connectedCallback(),this.direction=ht(this),this.setupRadioButtons()}disconnectedCallback(){this.slottedRadioButtons.forEach(e=>{e instanceof Vp&&e.removeEventListener("change",this.radioChangeHandler)})}setupRadioButtons(){const e=this.slottedRadioButtons.filter(e=>e.hasAttribute("checked")),t=e?e.length:0;if(t>1){e[t-1].checked=!0}let o=!1;if(this.slottedRadioButtons.forEach(e=>{e instanceof Vp&&(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]}}}Kp([Oe({mode:"boolean"})],Up.prototype,"stacked",2),Kp([Oe({attribute:"readonly",mode:"boolean"})],Up.prototype,"readOnly",2),Kp([Oe({attribute:"disabled",mode:"boolean"})],Up.prototype,"disabled",2),Kp([Oe],Up.prototype,"name",2),Kp([Oe],Up.prototype,"value",2),Kp([Oe],Up.prototype,"orientation",2),Kp([B],Up.prototype,"childItems",2),Kp([B],Up.prototype,"slottedRadioButtons",2);const Qp=j`
321
- ${bt("flex")}
322
-
323
- :host{align-items:flex-start;flex-direction:column;row-gap:${Fl}}:host([disabled]) ::slotted([role='radio']){--control-border-color:${so};--checked-indicator-background-color:${so};--state-color:${so}}::slotted([slot='label']){color:${Vt};padding:${Fl} ${bl} ${Fl} ${gl};font:${Hs} ${Cs} / ${Vs} ${Bs};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:${bl}}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:${bl};height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;const Zp=ke`<template role="radiogroup" tabindex="${e=>e.disabled?-1:void 0}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" aria-orientation="${e=>e.orientation}" @click="${(e,t)=>e.clickHandler(t.event)}" @mousedown="${(e,t)=>e.handleDisabledClick(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @focusout="${(e,t)=>e.focusOutHandler(t.event)}"><slot name="label"></slot><div class="positioning-region ${e=>e.orientation===qp.horizontal?"horizontal":"vertical"}" part="positioning-region"><slot ${Ne({property:"slottedRadioButtons",filter:Se("[role=radio]")})}></slot></div></template>`,Jp=Up.compose({name:Et.prefix+"-radio-group",template:Zp,styles:Qp}),eg={small:"small",medium:"medium"},tg=tt,og={singleValue:"single-value"};class rg extends et{}class ag extends(md(rg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function ng(e,t,o,r){let a=nt(0,1,(e-t)/(o-t));return r===at.rtl&&(a=1-a),a}var ig=Object.defineProperty,sg=Object.getOwnPropertyDescriptor,lg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?sg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&ig(t,o,n),n};class cg extends ag{constructor(){super(...arguments),this.direction=at.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>null,this.min=0,this.max=10,this.orientation=tt.horizontal,this.mode=og.singleValue,this.keypressHandler=e=>{if(!this.readOnly&&!this.disabled)if("Home"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.min:this.value=""+this.max;else if("End"===e.key)e.preventDefault(),this.direction!==at.rtl&&this.orientation!==tt.vertical?this.value=""+this.max:this.value=""+this.min;else if(!e.shiftKey)switch(e.key){case"ArrowRight":case"ArrowUp":e.preventDefault(),this.increment();break;case"ArrowLeft":case"ArrowDown":e.preventDefault(),this.decrement()}},this.setupTrackConstraints=()=>{const e=this.track.getBoundingClientRect();this.trackWidth=this.track.clientWidth,this.trackMinWidth=this.track.clientLeft,this.trackHeight=e.top,this.trackMinHeight=e.bottom,this.trackLeft=this.getBoundingClientRect().left,0===this.trackWidth&&(this.trackWidth=1)},this.setupListeners=(e=!1)=>{this.addEventListener("keydown",this.keypressHandler),this.addEventListener("mousedown",this.handleMouseDown),e&&(this.removeEventListener("keydown",this.keypressHandler),this.removeEventListener("mousedown",this.handleMouseDown))},this.initialValue="",this.handleThumbMouseDown=e=>{const t=null!==e?window.addEventListener:window.removeEventListener;t("mouseup",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove,{passive:!0}),t("touchmove",this.handleMouseMove,{passive:!0}),t("touchend",this.handleWindowMouseUp),this.isDragging=null!==e},this.handleMouseMove=e=>{if(this.readOnly||this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,o=this.orientation===tt.horizontal?t.pageX-document.documentElement.scrollLeft-this.trackLeft:t.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(o)},this.handleWindowMouseUp=e=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handleMouseDown(null),this.handleThumbMouseDown(null)},this.handleMouseDown=e=>{if(null===e||!this.disabled&&!this.readOnly){const t=null!==e?window.addEventListener:window.removeEventListener,o=null!==e?document.addEventListener:document.removeEventListener;if(t("mouseup",this.handleWindowMouseUp),o("mouseleave",this.handleWindowMouseUp),t("mousemove",this.handleMouseMove),e){this.setupTrackConstraints();const t=this.orientation===tt.horizontal?e.pageX-document.documentElement.scrollLeft-this.trackLeft:e.pageY-document.documentElement.scrollTop;this.value=""+this.calculateNewValue(t)}}}}handleChange(e,t){switch(t){case"min":case"max":case"step":this.handleStepStyles()}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.max-this.min)/this.step);void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=j`
324
- :host{--step-rate:${e}%;color:blue}`,this.$fastController.addStyles(this.stepStyles)}else void 0!==this.stepStyles&&this.$fastController.removeStyles(this.stepStyles)}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(e){this.value=e.toString()}valueChanged(e,t){if(this.$fastController.isConnected){const o=parseFloat(t),r=nt(this.min,this.max,this.convertToConstrainedValue(o)).toString();if(r!==t)return void(this.value=r);super.valueChanged(e,t),this.setThumbPositionForOrientation(this.direction),this.$emit("change")}}minChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.min=""+this.min),this.validate()}maxChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.max=""+this.max),this.validate()}stepChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.step=""+this.step),this.updateStepMultiplier(),this.validate()}orientationChanged(){this.$fastController.isConnected&&this.setThumbPositionForOrientation(this.direction)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","range"),this.direction=ht(this),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupListeners(),this.setupDefaultValue(),this.setThumbPositionForOrientation(this.direction),$.getNotifier(this).subscribe(this,"max"),$.getNotifier(this).subscribe(this,"min"),$.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),this.setupListeners(!0),$.getNotifier(this).unsubscribe(this,"max"),$.getNotifier(this).unsubscribe(this,"min"),$.getNotifier(this).unsubscribe(this,"step")}increment(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)+Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t<Number(this.max)?""+t:""+this.max;this.value=o}decrement(){const e=(this.direction!==at.rtl&&this.orientation,Number(this.value)-Number(this.stepValue)),t=this.convertToConstrainedValue(e),o=t>Number(this.min)?""+t:""+this.min;this.value=o}get stepValue(){return void 0===this.step?1:this.step}setThumbPositionForOrientation(e){const t=100*(1-ng(Number(this.value),Number(this.min),Number(this.max),e));this.orientation===tt.horizontal?this.position=this.isDragging?`right: ${t}%; transition: none;`:`right: ${t}%; transition: all 0.2s ease;`:this.position=this.isDragging?`top: ${t}%; transition: none;`:`top: ${t}%; transition: all 0.2s ease;`}updateStepMultiplier(){const e=this.stepValue+"",t=this.stepValue%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return""+this.convertToConstrainedValue((this.max+this.min)/2)}setupDefaultValue(){if("string"==typeof this.value)if(0===this.value.length)this.initialValue=this.midpoint;else{const e=parseFloat(this.value);!Number.isNaN(e)&&(e<this.min||e>this.max)&&(this.value=this.midpoint)}}calculateNewValue(e){this.setupTrackConstraints();const t=ng(e,this.orientation===tt.horizontal?this.trackMinWidth:this.trackMinHeight,this.orientation===tt.horizontal?this.trackWidth:this.trackHeight,this.direction),o=(this.max-this.min)*t+this.min;return this.convertToConstrainedValue(o)}convertToConstrainedValue(e){isNaN(e)&&(e=this.min);let t=e-this.min;const o=t-Math.round(t/this.stepValue)*(this.stepMultiplier*this.stepValue)/this.stepMultiplier;return t=o>=Number(this.stepValue)/2?t-o+Number(this.stepValue):t-o,t+this.min}}lg([Oe],cg.prototype,"size",2),lg([Oe({attribute:"readonly",mode:"boolean"})],cg.prototype,"readOnly",2),lg([B],cg.prototype,"direction",2),lg([B],cg.prototype,"isDragging",2),lg([B],cg.prototype,"position",2),lg([B],cg.prototype,"trackWidth",2),lg([B],cg.prototype,"trackMinWidth",2),lg([B],cg.prototype,"trackHeight",2),lg([B],cg.prototype,"trackLeft",2),lg([B],cg.prototype,"trackMinHeight",2),lg([B],cg.prototype,"valueTextFormatter",2),lg([Oe({converter:ze})],cg.prototype,"min",2),lg([Oe({converter:ze})],cg.prototype,"max",2),lg([Oe({converter:ze})],cg.prototype,"step",2),lg([Oe],cg.prototype,"orientation",2),lg([Oe],cg.prototype,"mode",2);const dg=j`
325
- ${bt("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:${fs};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 ${ka};outline:1px solid ${fa}}.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:${Lr};border-radius:${$s};box-shadow:inset 0 0 0 var(--thumb-padding) ${Vo},0 0 0 1px ${Qr}}.thumb-cursor:hover{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}.thumb-cursor:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([disabled]) .thumb-cursor{background-color:${so};box-shadow:inset 0 0 0 var(--thumb-padding) ${Vo},0 0 0 1px ${pa}}.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:${Wr};border-radius:${ks};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${ks};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
326
- var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${Vo} calc(var(--step-rate) - 1px),${Vo} var(--step-rate)
327
- )}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${"var(--colorNeutralBackgroundDisabled)"}}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:${Er};position:absolute;height:100%;left:0;border-radius:${ks}}:host([disabled]) .track-start{background-color:${so}}:host(:hover) .track-start{background-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([disabled]:hover) .track-start{background-color:${so}}.track-start:active{background-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(kt(j`
328
- .track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`));const ug=function(e={}){return ke`<template role="slider" tabindex="${e=>e.disabled?null:0}" aria-valuetext="${e=>e.valueTextFormatter(e.value)}" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}" aria-disabled="${e=>!!e.disabled||void 0}" aria-readonly="${e=>!!e.readOnly||void 0}" aria-orientation="${e=>e.orientation}" class="${e=>e.orientation}"><div part="positioning-region" class="positioning-region"><div ${xe("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${e=>e.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${xe("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}" @mousedown="${(e,t)=>e.handleThumbMouseDown(t.event)}" @touchstart="${(e,t)=>e.handleThumbMouseDown(t.event)}"><slot name="thumb">${pt(e.thumb)}</slot></div></div></template>`}({thumb:'<div class="thumb-cursor" tabindex="0"></div>'}),hg=cg.compose({name:Et.prefix+"-slider",template:ug,styles:dg});class pg extends Sp{}var gg=Object.defineProperty,vg=Object.getOwnPropertyDescriptor,bg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?vg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&gg(t,o,n),n};class mg extends pg{}bg([Oe],mg.prototype,"size",2),bg([Oe],mg.prototype,"appearance",2);const fg={primary:"primary",inverted:"inverted"},kg={tiny:"tiny",extraSmall:"extra-small",small:"small",medium:"medium",large:"large",extraLarge:"extra-large",huge:"huge"};const yg=function(e={}){return ke`<template role="progressbar" aria-valuenow="${e=>e.value}" aria-valuemin="${e=>e.min}" aria-valuemax="${e=>e.max}">${we(e=>"number"==typeof e.value,ke`<svg class="progress" part="progress" viewBox="0 0 16 16" slot="determinate"><circle class="background" part="background" cx="8px" cy="8px" r="7px"></circle><circle class="determinate" part="determinate" style="stroke-dasharray: ${e=>44*e.percentComplete/100}px ${44}px" cx="8px" cy="8px" r="7px"></circle></svg>`,ke`<slot name="indeterminate">${pt(e.indeterminateIndicator)}</slot>`)}</template>`}({indeterminateIndicator:'\n <svg class="progress" part="progress" viewBox="0 0 16 16">\n <circle\n class="background"\n part="background"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n <circle\n class="indeterminate-indicator-1"\n part="indeterminate-indicator-1"\n cx="8px"\n cy="8px"\n r="7px"\n ></circle>\n </svg>\n '}),xg=j`
329
- ${bt("flex")}
330
-
331
- :host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:${"var(--colorBrandStroke2)"};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}.indeterminate-indicator-1{stroke:${"var(--colorBrandStroke1)"};fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:${"var(--colorNeutralStrokeOnBrand2)"}}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`,$g=mg.compose({name:Et.prefix+"-spinner",template:yg,styles:xg});class Bg extends et{}class wg extends(fd(Bg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var Pg=Object.defineProperty,Sg=Object.getOwnPropertyDescriptor,Fg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Sg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Pg(t,o,n),n};class Cg extends wg{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)}}Fg([Oe({attribute:"label-position"})],Cg.prototype,"labelPosition",2),Fg([Oe({attribute:"readonly",mode:"boolean"})],Cg.prototype,"readOnly",2),Fg([B],Cg.prototype,"defaultSlottedNodes",2);const Ng={above:"above",after:"after",before:"before"};const Ig=function(e={}){return ke`<template role="switch" aria-checked="${e=>e.checked}" aria-disabled="${e=>e.disabled}" aria-readonly="${e=>e.readOnly}" tabindex="${e=>e.disabled?null:0}" @keypress="${(e,t)=>e.keypressHandler(t.event)}" @click="${(e,t)=>e.clickHandler(t.event)}"><label part="label" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne("defaultSlottedNodes")}></slot></label><div part="switch" class="switch"><slot name="switch">${pt(e.switch)}</slot></div></template>`}({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Ag=j`
332
- ${bt("inline-flex")}
333
-
334
- :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:${Vt};line-height:${Vs};font-size:${Cs};font-weight:${Hs};font-family:${Bs};padding:${"var(--spacingVerticalXS)"} ${gl};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${pl};box-sizing:border-box;width:40px;height:20px;background-color:${$r};border:1px solid ${Wr};border-radius:${$s};outline:none;cursor:pointer;margin:${Fl} ${bl}}:host(:hover) .switch{background:none;border-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .switch{border-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${pa};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${Er}}:host([aria-checked='true']:hover) .switch{background:${"var(--colorCompoundBrandBackgroundHover)"};border-color:${"var(--colorCompoundBrandBackgroundHover)"}}:host([aria-checked='true']:active) .switch{background:${"var(--colorCompoundBrandBackgroundPressed)"};border-color:${"var(--colorCompoundBrandBackgroundPressed)"}}:host([aria-checked='true'][disabled]) .switch{background:${"var(--colorNeutralBackgroundDisabled)"};border-color:${pa}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Jt};transition-duration:${"var(--durationNormal)"};transition-timing-function:${Yl};transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:${"var(--colorNeutralForegroundInverted)"};margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedHover)"}}:host([aria-checked='true']:active) .checked-indicator{background:${"var(--colorNeutralForegroundInvertedPressed)"}}:host(:hover) .checked-indicator{background-color:${"var(--colorNeutralForeground3Hover)"}}:host(:active) .checked-indicator{background-color:${"var(--colorNeutralForeground3Pressed)"}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${so}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${so}}:host(:focus-visible){border-color:${va};outline:${cl} solid ${va};box-shadow:${Qs},0 0 0 2px ${ka}}`.withBehaviors(kt(j`
335
- .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}`)),Tg=Cg.compose({name:Et.prefix+"-switch",template:Ig,styles:Ag}),zg={subtle:"subtle",transparent:"transparent"},Lg={small:"small",medium:"medium",large:"large"},Og=tt;var Hg=Object.defineProperty,Dg=Object.getOwnPropertyDescriptor,Eg=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Dg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&Hg(t,o,n),n};class Mg extends et{constructor(){super(...arguments),this.orientation=Og.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case"ArrowLeft":e.preventDefault(),this.adjustBackward(e);break;case"ArrowRight":e.preventDefault(),this.adjustForward(e)}else switch(e.key){case"ArrowUp":e.preventDefault(),this.adjustBackward(e);break;case"ArrowDown":e.preventDefault(),this.adjustForward(e)}switch(e.key){case"Home":e.preventDefault(),this.adjust(-this.activeTabIndex);break;case"End":e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(t=>t.id===e),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const e=this.isHorizontal()?"gridColumn":"gridRow";this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((t,o)=>{if("tab"===t.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(t),r=this.tabIds[o],a=this.tabpanelIds[o];t.setAttribute("id",r),t.setAttribute("aria-selected",e?"true":"false"),t.setAttribute("aria-controls",a),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",e?"0":"-1"),e&&(this.activetab=t,this.activeid=r)}t.style.gridColumn="",t.style.gridRow="",t.style[e]=""+(o+1),this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((e,t)=>{const o=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",o),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"tab-"+st()})}getTabPanelIds(){return this.tabpanels.map(e=>{var t;return null!=(t=e.getAttribute("id"))?t:"panel-"+st()})}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Og.horizontal}adjust(e){const t=this.tabs.filter(e=>this.isFocusableElement(e)),o=t.indexOf(this.activetab),r=nt(0,t.length-1,o+e),a=this.tabs.indexOf(t[r]);a>-1&&this.moveToTabByIndex(this.tabs,a)}adjustForward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)+1:1,o===t.length&&(o=0);o<t.length&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}if(this.activetab&&o===t.indexOf(this.activetab))break;o+1>=t.length?o=0:o+=1}}adjustBackward(e){const t=this.tabs;let o=0;for(o=this.activetab?t.indexOf(this.activetab)-1:0,o=o<0?t.length-1:o;o>=0&&t.length>1;){if(this.isFocusableElement(t[o])){this.moveToTabByIndex(t,o);break}o-1<0?o=t.length-1:o-=1}}moveToTabByIndex(e,t){const o=e[t];this.activetab=o,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,o.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Eg([Oe],Mg.prototype,"orientation",2),Eg([Oe],Mg.prototype,"activeid",2),Eg([B],Mg.prototype,"tabs",2),Eg([B],Mg.prototype,"tabpanels",2);class Rg extends Mg{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=zg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Og.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Og.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setTabScaleCSSVar(),this.setTabOffsetCSSVar()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){var e,t,o,r;if(this.tabs&&this.tabs.length>0){const a=this.tabs,n=this.activetab||a[0],i=null==n?void 0:n.getBoundingClientRect(),s=this.getBoundingClientRect();this.activeTabData={x:i.x-s.x,y:i.y-s.y,height:i.height,width:i.width},(null==(e=this.previousActiveTabData)?void 0:e.x)!==(null==(t=this.activeTabData)?void 0:t.x)&&(null==(o=this.previousActiveTabData)?void 0:o.y)!==(null==(r=this.activeTabData)?void 0:r.y)&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=j`
336
- :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=j`
337
- :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()}}Eg([Oe],Rg.prototype,"appearance",2),Eg([Oe({mode:"boolean"})],Rg.prototype,"disabled",2),Eg([Oe],Rg.prototype,"size",2),Pt(Rg,$t);const jg=function(e={}){return ke` ${wt(e)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${Ne("tabs")}></slot></div>${Bt(e)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${Ne("tabpanels")}></slot></div>`}({}),Vg=j`
338
- ${bt("grid")}
339
-
340
- :host{box-sizing:border-box;font-family:${Bs};font-size:${Cs};line-height:${Vs};color:${qt};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${so}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${so}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${so}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${so}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${ks}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${so}}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground1Hover)"};fill:${"var(--colorCompoundBrandForeground1Hover)"}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${"var(--colorSubtleBackgroundPressed)"};fill:${"var(--colorSubtleBackgroundPressed)"};color:${Vt}}:host([size='small']) ::slotted(fluent-tab){font-size:${Cs};line-height:${Vs};padding:${Sl} ${vl}}:host([size='large']) ::slotted(fluent-tab){font-size:${Ns};line-height:${_s};padding:${"var(--spacingVerticalL)"} ${ml}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${"var(--durationSlow)"};transition-timing-function:${"var(--curveDecelerateMax)"}}:host ::slotted(fluent-tab)::after{height:${dl};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${dl};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${dl};border-radius:${$s};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${dl};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${dl};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:${dl}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${Sl};padding-bottom:${Sl}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${"var(--spacingVerticalXXS)"};padding-bottom:${"var(--spacingVerticalXXS)"}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${Fl};padding-bottom:${Fl}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${vl};left:${vl}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${ml};left:${ml}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${ml};left:${ml}}: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:${Sl};bottom:${Sl}}: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:${Fl};bottom:${Fl}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:${"var(--spacingVerticalMNudge)"};bottom:${"var(--spacingVerticalMNudge)"}}`,_g=Rg.compose({name:Et.prefix+"-tabs",template:jg,styles:Vg});var Gg=Object.defineProperty,Xg=Object.getOwnPropertyDescriptor;class qg extends et{connectedCallback(){super.connectedCallback(),void 0!==this.styles&&this.$fastController.removeStyles(this.styles),this.styles=j`
341
- :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}((e,t,o,r)=>{for(var a,n=r>1?void 0:r?Xg(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);r&&n&&Gg(t,o,n)})([Oe({mode:"boolean"})],qg.prototype,"disabled",2),Pt(qg,$t);const Wg=function(e={}){return ke`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${wt(e)}<span class="tab-content"><slot></slot></span>${Bt(e)}</template>`}({}),Yg=j`
342
- ${bt("inline-flex")}
343
-
344
- :host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${Vs};font-family:${Bs};font-size:${Cs};color:${qt};fill:currentcolor;grid-row:1;padding:${fl} ${ml};border-radius:${ks}}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${Vt};font-weight:${Es}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${Vs};font-weight:${Es}}:host([aria-selected='true'])::after{background-color:${"var(--colorCompoundBrandStroke)"};border-radius:${$s};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Zr};border-radius:${$s};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${so}}::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:${so};color:${so}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${fs};box-shadow:0 0 0 3px ${ka};outline:1px solid ${fa}}`.withBehaviors(kt(j`
345
- :host([aria-selected='true'])::after{background-color:Highlight}`)),Kg=qg.compose({name:Et.prefix+"-tab",template:Wg,styles:Yg});class Ug extends et{}const Qg=ke`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`,Zg=j`
346
- ${bt("block")}
347
-
348
- :host{box-sizing:border-box;padding:${fl} ${ml}}`,Jg=Ug.compose({name:Et.prefix+"-tab-panel",template:Qg,styles:Zg});var ev=Object.defineProperty,tv=Object.getOwnPropertyDescriptor,ov=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?tv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&ev(t,o,n),n};class rv extends et{constructor(){super(...arguments),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}ov([Oe({mode:"boolean"})],rv.prototype,"nowrap",2),ov([Oe({mode:"boolean"})],rv.prototype,"truncate",2),ov([Oe({mode:"boolean"})],rv.prototype,"italic",2),ov([Oe({mode:"boolean"})],rv.prototype,"underline",2),ov([Oe({mode:"boolean"})],rv.prototype,"strikethrough",2),ov([Oe({mode:"boolean"})],rv.prototype,"block",2),ov([Oe],rv.prototype,"size",2),ov([Oe],rv.prototype,"font",2),ov([Oe],rv.prototype,"weight",2),ov([Oe],rv.prototype,"align",2);const av={_100:"100",_200:"200",_300:"300",_400:"400",_500:"500",_600:"600",_700:"700",_800:"800",_900:"900",_1000:"1000"},nv={base:"base",numeric:"numeric",monospace:"monospace"},iv={medium:"medium",regular:"regular",semibold:"semibold",bold:"bold"},sv={start:"start",end:"end",center:"center",justify:"justify"},lv=ke`<slot></slot>`,cv=j`
349
- ${bt("inline")}
350
-
351
- :host{contain:content}::slotted(*){font-family:${Bs};font-size:${Cs};line-height:${Vs};font-weight:${Hs};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:${Ss};line-height:${"var(--lineHeightBase100)"}}:host([size='200']) ::slotted(*){font-size:${Fs};line-height:${js}}:host([size='400']) ::slotted(*){font-size:${Ns};line-height:${_s}}:host([size='500']) ::slotted(*){font-size:${Is};line-height:${"var(--lineHeightBase500)"}}:host([size='600']) ::slotted(*){font-size:${As};line-height:${"var(--lineHeightBase600)"}}:host([size='700']) ::slotted(*){font-size:${"var(--fontSizeHero700)"};line-height:${"var(--lineHeightHero700)"}}:host([size='800']) ::slotted(*){font-size:${"var(--fontSizeHero800)"};line-height:${"var(--lineHeightHero800)"}}:host([size='900']) ::slotted(*){font-size:${"var(--fontSizeHero900)"};line-height:${"var(--lineHeightHero900)"}}:host([size='1000']) ::slotted(*){font-size:${"var(--fontSizeHero1000)"};line-height:${"var(--lineHeightHero1000)"}}:host([font='monospace']) ::slotted(*){font-family:${"var(--fontFamilyMonospace)"}}:host([font='numeric']) ::slotted(*){font-family:${"var(--fontFamilyNumeric)"}}:host([weight='medium']) ::slotted(*){font-weight:${"var(--fontWeightMedium)"}}:host([weight='semibold']) ::slotted(*){font-weight:${Es}}:host([weight='bold']) ::slotted(*){font-weight:${"var(--fontWeightBold)"}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`,dv=rv.compose({name:Et.prefix+"-text",template:lv,styles:cv}),uv={small:"small",medium:"medium",large:"large"},hv={outline:"outline",underline:"underline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},pv={email:"email",password:"password",tel:"tel",text:"text",url:"url"};class gv extends et{}class vv extends(md(gv)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}var bv=Object.defineProperty,mv=Object.getOwnPropertyDescriptor,fv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?mv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&bv(t,o,n),n};class kv extends vv{constructor(){super(...arguments),this.type=pv.text}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&f.enqueue(()=>{this.focus()})}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}fv([Oe({attribute:"control-size"})],kv.prototype,"controlSize",2),fv([Oe],kv.prototype,"appearance",2),fv([Oe({attribute:"readonly",mode:"boolean"})],kv.prototype,"readOnly",2),fv([Oe({mode:"boolean"})],kv.prototype,"autofocus",2),fv([Oe],kv.prototype,"placeholder",2),fv([Oe],kv.prototype,"type",2),fv([Oe],kv.prototype,"list",2),fv([Oe({converter:ze})],kv.prototype,"maxlength",2),fv([Oe({converter:ze})],kv.prototype,"minlength",2),fv([Oe],kv.prototype,"pattern",2),fv([Oe({converter:ze})],kv.prototype,"size",2),fv([Oe({mode:"boolean"})],kv.prototype,"spellcheck",2),fv([B],kv.prototype,"defaultSlottedNodes",2);class yv{}Pt(yv,ut),Pt(kv,$t,yv);const xv=function(e={}){return ke`<label part="label" for="control" class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"><slot ${Ne({property:"defaultSlottedNodes",filter:gt})}></slot></label><div class="root" part="root">${wt(e)}<input class="control" part="control" id="control" @input="${e=>e.handleTextInput()}" @change="${e=>e.handleChange()}" ?autofocus="${e=>e.autofocus}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" name="${e=>e.name}" minlength="${e=>e.minlength}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" ?spellcheck="${e=>e.spellcheck}" :value="${e=>e.value}" type="${e=>e.type}" aria-atomic="${e=>e.ariaAtomic}" aria-busy="${e=>e.ariaBusy}" aria-controls="${e=>e.ariaControls}" aria-current="${e=>e.ariaCurrent}" aria-describedby="${e=>e.ariaDescribedby}" aria-details="${e=>e.ariaDetails}" aria-disabled="${e=>e.ariaDisabled}" aria-errormessage="${e=>e.ariaErrormessage}" aria-flowto="${e=>e.ariaFlowto}" aria-haspopup="${e=>e.ariaHaspopup}" aria-hidden="${e=>e.ariaHidden}" aria-invalid="${e=>e.ariaInvalid}" aria-keyshortcuts="${e=>e.ariaKeyshortcuts}" aria-label="${e=>e.ariaLabel}" aria-labelledby="${e=>e.ariaLabelledby}" aria-live="${e=>e.ariaLive}" aria-owns="${e=>e.ariaOwns}" aria-relevant="${e=>e.ariaRelevant}" aria-roledescription="${e=>e.ariaRoledescription}" ${xe("control")} />${Bt(e)}</div>`}(),$v=j`
352
- ${bt("block")}
353
-
354
- :host{font-family:${Bs};font-size:${Cs};font-weight:${Hs};line-height:${Vs};max-width:400px}.label{display:flex;color:${Vt};padding-bottom:${"var(--spacingVerticalXS)"};flex-shrink:0;padding-inline-end:${gl}}.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 ${ml};border:${ll} solid ${Qr};border-bottom-color:${Wr};border-radius:${ks};gap:${pl}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${ks});border-radius:0 0 ${ks} ${ks};border-bottom:2px solid ${"var(--colorCompoundBrandStroke)"};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${"var(--durationUltraFast)"};transition-delay:${"var(--curveAccelerateMid)"}}.control{width:100%;height:100%;box-sizing:border-box;color:${Vt};border-radius:${ks};background:${$r};font-family:${Bs};font-weight:${Hs};font-size:${Cs};border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${"var(--colorNeutralForeground4)"}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Jt};font-size:${Is}}:host ::slotted([slot='start']){padding-right:${pl}}:host ::slotted([slot='end']){padding-left:${pl};gap:${gl}}:host(:hover) .root{border-color:${Zr};border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host(:active) .root{border-color:${"var(--colorNeutralStroke1Pressed)"}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${"var(--durationNormal)"};transition-delay:${"var(--curveDecelerateMid)"}}:host(:focus-within:active) .root:after{border-bottom-color:${"var(--colorCompoundBrandStrokePressed)"}}:host([appearance='outline']:focus-within) .root{border:${ll} solid ${Qr}}:host(:focus-within) .control{color:${Vt}}:host([disabled]) .root{background:${$r};border:${ll} solid ${pa}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${so}}::selection{color:${"var(--colorNeutralForegroundInverted)"};background-color:${"var(--colorNeutralBackgroundInverted)"}}:host([control-size='small']) .control{font-size:${Fs};font-weight:${Hs};line-height:${js}}:host([control-size='small']) .root{height:24px;gap:${pl};padding:0 ${vl}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${Ns}}:host([control-size='large']) .control{font-size:${Ns};font-weight:${Hs};line-height:${_s}}:host([control-size='large']) .root{height:40px;gap:${bl};padding:0 ${fl}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${As}}:host([appearance='underline']) .root{background:${$r};border:0;border-radius:0;border-bottom:${ll} solid ${Wr}}:host([appearance='underline']:hover) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessibleHover)"}}:host([appearance='underline']:active) .root{border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${"var(--colorNeutralStrokeAccessiblePressed)"}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${pa}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${ll} solid ${va};box-shadow:${Us}}:host([appearance='filled-lighter']) .root{background:${Vo}}:host([appearance='filled-darker']) .root{background:${"var(--colorNeutralBackground3)"}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${"var(--colorTransparentStrokeInteractive)"}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${"var(--colorTransparentStrokeInteractive)"};background:${"var(--colorNeutralBackground3)"}}`,Bv=kv.compose({name:Et.prefix+"-text-input",template:xv,styles:$v});var wv=Object.defineProperty,Pv=Object.getOwnPropertyDescriptor,Sv=(e,t,o,r)=>{for(var a,n=r>1?void 0:r?Pv(t,o):t,i=e.length-1;i>=0;i--)(a=e[i])&&(n=(r?a(t,o,n):a(n))||n);return r&&n&&wv(t,o,n),n};class Fv extends dd{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const e=""+(this.mixed?"mixed":!!this.pressed);this.elementInternals.ariaPressed=e,this.setAttribute("aria-pressed",e)}}}Sv([Oe({mode:"boolean"})],Fv.prototype,"pressed",2),Sv([Oe({mode:"boolean"})],Fv.prototype,"mixed",2);const Cv=nc,Nv=ic,Iv=sc,Av=ud(),Tv=j`
355
- ${pd}
356
-
357
- :host([aria-pressed='true']){border-color:${Qr};background-color:${"var(--colorNeutralBackground1Selected)"};color:${Vt};border-width:${ll}}:host([aria-pressed='true']:hover){border-color:${Zr};background-color:${"var(--colorNeutralBackground1Hover)"}}:host([aria-pressed='true']:active){border-color:${"var(--colorNeutralStroke1Pressed)"};background-color:${"var(--colorNeutralBackground1Pressed)"}}:host([aria-pressed='true'][appearance='primary']){border-color:transparent;background-color:${"var(--colorBrandBackgroundSelected)"};color:${yo}}:host([aria-pressed='true'][appearance='primary']:hover){background-color:${"var(--colorBrandBackgroundHover)"}}:host([aria-pressed='true'][appearance='primary']:active){background-color:${"var(--colorBrandBackgroundPressed)"}}:host([aria-pressed='true'][appearance='subtle']){border-color:transparent;background-color:${"var(--colorSubtleBackgroundSelected)"};color:${"var(--colorNeutralForeground2Selected)"}}:host([aria-pressed='true'][appearance='subtle']:hover){background-color:${"var(--colorSubtleBackgroundHover)"};color:${"var(--colorNeutralForeground2Hover)"}}:host([aria-pressed='true'][appearance='subtle']:active){background-color:${"var(--colorSubtleBackgroundPressed)"};color:${"var(--colorNeutralForeground2Pressed)"}}:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background-color:${"var(--colorTransparentBackgroundSelected)"}}:host([aria-pressed='true'][appearance='outline']:hover),:host([aria-pressed='true'][appearance='transparent']:hover){background-color:${"var(--colorTransparentBackgroundHover)"}}:host([aria-pressed='true'][appearance='outline']:active),:host([aria-pressed='true'][appearance='transparent']:active){background-color:${"var(--colorTransparentBackgroundPressed)"}}:host([aria-pressed='true'][appearance='transparent']){border-color:transparent;color:${"var(--colorNeutralForeground2BrandSelected)"}}:host([aria-pressed='true'][appearance='transparent']:hover){color:${"var(--colorNeutralForeground2BrandHover)"}}:host([aria-pressed='true'][appearance='transparent']:active){color:${"var(--colorNeutralForeground2BrandPressed)"}}`.withBehaviors(kt(j`
358
- :host([aria-pressed='true']),:host([aria-pressed='true'][appearance='primary']),:host([aria-pressed='true'][appearance='subtle']),:host([aria-pressed='true'][appearance='outline']),:host([aria-pressed='true'][appearance='transparent']){background:SelectedItem;color:SelectedItemText}`)),zv=Fv.compose({name:Et.prefix+"-toggle-button",template:Av,styles:Tv}),Lv=Object.keys(Ul),Ov=e=>{for(const t of Lv)document.body.style.setProperty("--"+t,e[t])},Hv=(e,t)=>{for(const o of Lv)e.style.setProperty("--"+o,t[o])};export{Ot as Accordion,Nt as AccordionItem,jt as AccordionItemExpandIconPosition,Rt as AccordionItemSize,rc as AnchorButton,dc as AnchorButtonAppearance,bc as AnchorButtonDefinition,uc as AnchorButtonShape,hc as AnchorButtonSize,gc as AnchorButtonTemplate,pc as AnchorTarget,zc as Avatar,Bc as AvatarActive,Pc as AvatarAppearance,Fc as AvatarColor,jc as AvatarDefinition,Sc as AvatarNamedColor,wc as AvatarShape,Cc as AvatarSize,Rc as AvatarStyles,Hc as AvatarTemplate,Kc as Badge,Vc as BadgeAppearance,_c as BadgeColor,id as BadgeDefinition,Gc as BadgeShape,Xc as BadgeSize,nd as BadgeStyles,Qc as BadgeTemplate,Mg as BaseTabs,dd as Button,nc as ButtonAppearance,gd as ButtonDefinition,cc as ButtonFormTarget,ic as ButtonShape,sc as ButtonSize,pd as ButtonStyles,hd as ButtonTemplate,lc as ButtonType,wd as Checkbox,Id as CheckboxDefinition,Fd as CheckboxLabelPosition,Pd as CheckboxShape,Sd as CheckboxSize,Nd as CheckboxStyles,Cd as CheckboxTemplate,Ad as CompoundButton,Td as CompoundButtonAppearance,Dd as CompoundButtonDefinition,zd as CompoundButtonShape,Ld as CompoundButtonSize,Hd as CompoundButtonStyles,Od as CompoundButtonTemplate,jd as CounterBadge,Vd as CounterBadgeAppearance,_d as CounterBadgeColor,Yd as CounterBadgeDefinition,Gd as CounterBadgeShape,Xd as CounterBadgeSize,Wd as CounterBadgeStyles,qd as CounterBadgeTemplate,ac as DelegatesARIALink,yv as DelegatesARIATextbox,pu as Dialog,mu as DialogDefinition,bu as DialogStyles,vu as DialogTemplate,Pu as Divider,yu as DividerAlignContent,xu as DividerAppearance,Cu as DividerDefinition,ku as DividerOrientation,fu as DividerRole,Fu as DividerStyles,Su as DividerTemplate,Et as FluentDesignSystem,Tu as Image,Du as ImageDefinition,zu as ImageFit,Lu as ImageShape,Hu as ImageStyles,Ou as ImageTemplate,ju as Label,Gu as LabelDefinition,Vu as LabelStyles,_u as LabelTemplate,mt as MatchMediaBehavior,ft as MatchMediaStyleSheetBehavior,Uh as Menu,ep as MenuButton,tp as MenuButtonAppearance,np as MenuButtonDefinition,op as MenuButtonShape,rp as MenuButtonSize,pd as MenuButtonStyles,ap as MenuButtonTemplate,Jh as MenuDefinition,up as MenuItem,vp as MenuItemDefinition,ip as MenuItemRole,gp as MenuItemStyles,pp as MenuItemTemplate,kp as MenuList,$p as MenuListDefinition,xp as MenuListStyles,yp as MenuListTemplate,Zh as MenuStyles,Qh as MenuTemplate,Ip as ProgressBar,Hp as ProgressBarDefinition,Tp as ProgressBarShape,Lp as ProgressBarStyles,Op as ProgressBarTemplate,Ap as ProgressBarThickness,zp as ProgressBarValidationState,Vp as Radio,Xp as RadioDefinition,Up as RadioGroup,Jp as RadioGroupDefinition,Qp as RadioGroupStyles,Zp as RadioGroupTemplate,_p as RadioStyles,Gp as RadioTemplate,cg as Slider,hg as SliderDefinition,og as SliderMode,tg as SliderOrientation,eg as SliderSize,dg as SliderStyles,ug as SliderTemplate,mg as Spinner,fg as SpinnerAppearance,$g as SpinnerDefinition,kg as SpinnerSize,xg as SpinnerStyles,yg as SpinnerTemplate,Cg as Switch,Tg as SwitchDefinition,Ng as SwitchLabelPosition,Ag as SwitchStyles,Ig as SwitchTemplate,qg as Tab,Kg as TabDefinition,Ug as TabPanel,Jg as TabPanelDefinition,Zg as TabPanelStyles,Qg as TabPanelTemplate,Yg as TabStyles,Wg as TabTemplate,Rg as Tabs,zg as TabsAppearance,_g as TabsDefinition,Og as TabsOrientation,Lg as TabsSize,Vg as TabsStyles,jg as TabsTemplate,rv as Text,sv as TextAlign,dv as TextDefinition,pv as TextFieldType,nv as TextFont,kv as TextInput,hv as TextInputAppearance,uv as TextInputControlSize,Bv as TextInputDefinition,$v as TextInputStyles,xv as TextInputTemplate,av as TextSize,cv as TextStyles,lv as TextTemplate,iv as TextWeight,Fv as ToggleButton,Cv as ToggleButtonAppearance,zv as ToggleButtonDefinition,Nv as ToggleButtonShape,Iv as ToggleButtonSize,Tv as ToggleButtonStyles,Av as ToggleButtonTemplate,Mt as accordionDefinition,Jl as accordionItemDefinition,Ql as accordionItemStyles,Zl as accordionItemTemplate,Dt as accordionStyles,Ht as accordionTemplate,$s as borderRadiusCircular,ys as borderRadiusLarge,ks as borderRadiusMedium,ms as borderRadiusNone,fs as borderRadiusSmall,xs as borderRadiusXLarge,Tr as colorBackgroundOverlay,Lr as colorBrandBackground,Vr as colorBrandBackground2,Or as colorBrandBackgroundHover,_r as colorBrandBackgroundInverted,Gr as colorBrandBackgroundInvertedHover,Xr as colorBrandBackgroundInvertedPressed,qr as colorBrandBackgroundInvertedSelected,Hr as colorBrandBackgroundPressed,Dr as colorBrandBackgroundSelected,jr as colorBrandBackgroundStatic,To as colorBrandForeground1,zo as colorBrandForeground2,Oo as colorBrandForegroundInverted,Ho as colorBrandForegroundInvertedHover,Do as colorBrandForegroundInvertedPressed,lo as colorBrandForegroundLink,co as colorBrandForegroundLinkHover,uo as colorBrandForegroundLinkPressed,ho as colorBrandForegroundLinkSelected,Eo as colorBrandForegroundOnLight,Mo as colorBrandForegroundOnLightHover,Ro as colorBrandForegroundOnLightPressed,jo as colorBrandForegroundOnLightSelected,Sa as colorBrandShadowAmbient,Fa as colorBrandShadowKey,la as colorBrandStroke1,ca as colorBrandStroke2,Er as colorCompoundBrandBackground,Mr as colorCompoundBrandBackgroundHover,Rr as colorCompoundBrandBackgroundPressed,mo as colorCompoundBrandForeground1,fo as colorCompoundBrandForeground1Hover,ko as colorCompoundBrandForeground1Pressed,da as colorCompoundBrandStroke,ua as colorCompoundBrandStrokeHover,ha as colorCompoundBrandStrokePressed,Vo as colorNeutralBackground1,_o as colorNeutralBackground1Hover,Go as colorNeutralBackground1Pressed,Xo as colorNeutralBackground1Selected,qo as colorNeutralBackground2,Wo as colorNeutralBackground2Hover,Yo as colorNeutralBackground2Pressed,Ko as colorNeutralBackground2Selected,Uo as colorNeutralBackground3,Qo as colorNeutralBackground3Hover,Zo as colorNeutralBackground3Pressed,Jo as colorNeutralBackground3Selected,er as colorNeutralBackground4,tr as colorNeutralBackground4Hover,or as colorNeutralBackground4Pressed,rr as colorNeutralBackground4Selected,ar as colorNeutralBackground5,nr as colorNeutralBackground5Hover,ir as colorNeutralBackground5Pressed,sr as colorNeutralBackground5Selected,lr as colorNeutralBackground6,Sr as colorNeutralBackgroundDisabled,dr as colorNeutralBackgroundInverted,Fr as colorNeutralBackgroundInvertedDisabled,cr as colorNeutralBackgroundStatic,Vt as colorNeutralForeground1,_t as colorNeutralForeground1Hover,Gt as colorNeutralForeground1Pressed,Xt as colorNeutralForeground1Selected,Lo as colorNeutralForeground1Static,qt as colorNeutralForeground2,Ut as colorNeutralForeground2BrandHover,Qt as colorNeutralForeground2BrandPressed,Zt as colorNeutralForeground2BrandSelected,Wt as colorNeutralForeground2Hover,po as colorNeutralForeground2Link,go as colorNeutralForeground2LinkHover,vo as colorNeutralForeground2LinkPressed,bo as colorNeutralForeground2LinkSelected,Yt as colorNeutralForeground2Pressed,Kt as colorNeutralForeground2Selected,Jt as colorNeutralForeground3,ro as colorNeutralForeground3BrandHover,ao as colorNeutralForeground3BrandPressed,no as colorNeutralForeground3BrandSelected,eo as colorNeutralForeground3Hover,to as colorNeutralForeground3Pressed,oo as colorNeutralForeground3Selected,io as colorNeutralForeground4,so as colorNeutralForegroundDisabled,xo as colorNeutralForegroundInverted,Po as colorNeutralForegroundInverted2,Ao as colorNeutralForegroundInvertedDisabled,$o as colorNeutralForegroundInvertedHover,Fo as colorNeutralForegroundInvertedLink,Co as colorNeutralForegroundInvertedLinkHover,No as colorNeutralForegroundInvertedLinkPressed,Io as colorNeutralForegroundInvertedLinkSelected,Bo as colorNeutralForegroundInvertedPressed,wo as colorNeutralForegroundInvertedSelected,yo as colorNeutralForegroundOnBrand,So as colorNeutralForegroundStaticInverted,ya as colorNeutralShadowAmbient,wa as colorNeutralShadowAmbientDarker,$a as colorNeutralShadowAmbientLighter,xa as colorNeutralShadowKey,Pa as colorNeutralShadowKeyDarker,Ba as colorNeutralShadowKeyLighter,Cr as colorNeutralStencil1,Ir as colorNeutralStencil1Alpha,Nr as colorNeutralStencil2,Ar as colorNeutralStencil2Alpha,Qr as colorNeutralStroke1,Zr as colorNeutralStroke1Hover,Jr as colorNeutralStroke1Pressed,ea as colorNeutralStroke1Selected,ta as colorNeutralStroke2,oa as colorNeutralStroke3,Wr as colorNeutralStrokeAccessible,Yr as colorNeutralStrokeAccessibleHover,Kr as colorNeutralStrokeAccessiblePressed,Ur as colorNeutralStrokeAccessibleSelected,pa as colorNeutralStrokeDisabled,ga as colorNeutralStrokeInvertedDisabled,ra as colorNeutralStrokeOnBrand,aa as colorNeutralStrokeOnBrand2,na as colorNeutralStrokeOnBrand2Hover,ia as colorNeutralStrokeOnBrand2Pressed,sa as colorNeutralStrokeOnBrand2Selected,jn as colorPaletteAnchorBackground2,Vn as colorPaletteAnchorBorderActive,_n as colorPaletteAnchorForeground2,Gn as colorPaletteBeigeBackground2,Xn as colorPaletteBeigeBorderActive,qn as colorPaletteBeigeForeground2,gn as colorPaletteBerryBackground1,vn as colorPaletteBerryBackground2,bn as colorPaletteBerryBackground3,fn as colorPaletteBerryBorder1,kn as colorPaletteBerryBorder2,mn as colorPaletteBerryBorderActive,yn as colorPaletteBerryForeground1,xn as colorPaletteBerryForeground2,$n as colorPaletteBerryForeground3,Wn as colorPaletteBlueBackground2,Yn as colorPaletteBlueBorderActive,Kn as colorPaletteBlueForeground2,Un as colorPaletteBrassBackground2,Qn as colorPaletteBrassBorderActive,Zn as colorPaletteBrassForeground2,Jn as colorPaletteBrownBackground2,ei as colorPaletteBrownBorderActive,ti as colorPaletteBrownForeground2,oi as colorPaletteCornflowerBackground2,ri as colorPaletteCornflowerBorderActive,ai as colorPaletteCornflowerForeground2,ni as colorPaletteCranberryBackground2,ii as colorPaletteCranberryBorderActive,si as colorPaletteCranberryForeground2,li as colorPaletteDarkGreenBackground2,ci as colorPaletteDarkGreenBorderActive,di as colorPaletteDarkGreenForeground2,Ya as colorPaletteDarkOrangeBackground1,Ka as colorPaletteDarkOrangeBackground2,Ua as colorPaletteDarkOrangeBackground3,Za as colorPaletteDarkOrangeBorder1,Ja as colorPaletteDarkOrangeBorder2,Qa as colorPaletteDarkOrangeBorderActive,en as colorPaletteDarkOrangeForeground1,tn as colorPaletteDarkOrangeForeground2,on as colorPaletteDarkOrangeForeground3,ui as colorPaletteDarkRedBackground2,hi as colorPaletteDarkRedBorderActive,pi as colorPaletteDarkRedForeground2,gi as colorPaletteForestBackground2,vi as colorPaletteForestBorderActive,bi as colorPaletteForestForeground2,mi as colorPaletteGoldBackground2,fi as colorPaletteGoldBorderActive,ki as colorPaletteGoldForeground2,yi as colorPaletteGrapeBackground2,xi as colorPaletteGrapeBorderActive,$i as colorPaletteGrapeForeground2,Ea as colorPaletteGreenBackground1,Ma as colorPaletteGreenBackground2,Ra as colorPaletteGreenBackground3,Va as colorPaletteGreenBorder1,_a as colorPaletteGreenBorder2,ja as colorPaletteGreenBorderActive,Ga as colorPaletteGreenForeground1,Xa as colorPaletteGreenForeground2,qa as colorPaletteGreenForeground3,Wa as colorPaletteGreenForegroundInverted,Bi as colorPaletteLavenderBackground2,wi as colorPaletteLavenderBorderActive,Pi as colorPaletteLavenderForeground2,Tn as colorPaletteLightGreenBackground1,zn as colorPaletteLightGreenBackground2,Ln as colorPaletteLightGreenBackground3,Hn as colorPaletteLightGreenBorder1,Dn as colorPaletteLightGreenBorder2,On as colorPaletteLightGreenBorderActive,En as colorPaletteLightGreenForeground1,Mn as colorPaletteLightGreenForeground2,Rn as colorPaletteLightGreenForeground3,Si as colorPaletteLightTealBackground2,Fi as colorPaletteLightTealBorderActive,Ci as colorPaletteLightTealForeground2,Ni as colorPaletteLilacBackground2,Ii as colorPaletteLilacBorderActive,Ai as colorPaletteLilacForeground2,Ti as colorPaletteMagentaBackground2,zi as colorPaletteMagentaBorderActive,Li as colorPaletteMagentaForeground2,Bn as colorPaletteMarigoldBackground1,wn as colorPaletteMarigoldBackground2,Pn as colorPaletteMarigoldBackground3,Fn as colorPaletteMarigoldBorder1,Cn as colorPaletteMarigoldBorder2,Sn as colorPaletteMarigoldBorderActive,Nn as colorPaletteMarigoldForeground1,In as colorPaletteMarigoldForeground2,An as colorPaletteMarigoldForeground3,Oi as colorPaletteMinkBackground2,Hi as colorPaletteMinkBorderActive,Di as colorPaletteMinkForeground2,Ei as colorPaletteNavyBackground2,Mi as colorPaletteNavyBorderActive,Ri as colorPaletteNavyForeground2,ji as colorPalettePeachBackground2,Vi as colorPalettePeachBorderActive,_i as colorPalettePeachForeground2,Gi as colorPalettePinkBackground2,Xi as colorPalettePinkBorderActive,qi as colorPalettePinkForeground2,Wi as colorPalettePlatinumBackground2,Yi as colorPalettePlatinumBorderActive,Ki as colorPalettePlatinumForeground2,Ui as colorPalettePlumBackground2,Qi as colorPalettePlumBorderActive,Zi as colorPalettePlumForeground2,Ji as colorPalettePumpkinBackground2,es as colorPalettePumpkinBorderActive,ts as colorPalettePumpkinForeground2,os as colorPalettePurpleBackground2,rs as colorPalettePurpleBorderActive,as as colorPalettePurpleForeground2,Ca as colorPaletteRedBackground1,Na as colorPaletteRedBackground2,Ia as colorPaletteRedBackground3,Ta as colorPaletteRedBorder1,za as colorPaletteRedBorder2,Aa as colorPaletteRedBorderActive,La as colorPaletteRedForeground1,Oa as colorPaletteRedForeground2,Ha as colorPaletteRedForeground3,Da as colorPaletteRedForegroundInverted,ns as colorPaletteRoyalBlueBackground2,is as colorPaletteRoyalBlueBorderActive,ss as colorPaletteRoyalBlueForeground2,ls as colorPaletteSeafoamBackground2,cs as colorPaletteSeafoamBorderActive,ds as colorPaletteSeafoamForeground2,us as colorPaletteSteelBackground2,hs as colorPaletteSteelBorderActive,ps as colorPaletteSteelForeground2,gs as colorPaletteTealBackground2,vs as colorPaletteTealBorderActive,bs as colorPaletteTealForeground2,rn as colorPaletteYellowBackground1,an as colorPaletteYellowBackground2,nn as colorPaletteYellowBackground3,ln as colorPaletteYellowBorder1,cn as colorPaletteYellowBorder2,sn as colorPaletteYellowBorderActive,dn as colorPaletteYellowForeground1,un as colorPaletteYellowForeground2,hn as colorPaletteYellowForeground3,pn as colorPaletteYellowForegroundInverted,zr as colorScrollbarOverlay,fa as colorStrokeFocus1,ka as colorStrokeFocus2,ur as colorSubtleBackground,hr as colorSubtleBackgroundHover,fr as colorSubtleBackgroundInverted,kr as colorSubtleBackgroundInvertedHover,yr as colorSubtleBackgroundInvertedPressed,xr as colorSubtleBackgroundInvertedSelected,vr as colorSubtleBackgroundLightAlphaHover,br as colorSubtleBackgroundLightAlphaPressed,mr as colorSubtleBackgroundLightAlphaSelected,pr as colorSubtleBackgroundPressed,gr as colorSubtleBackgroundSelected,$r as colorTransparentBackground,Br as colorTransparentBackgroundHover,wr as colorTransparentBackgroundPressed,Pr as colorTransparentBackgroundSelected,va as colorTransparentStroke,ma as colorTransparentStrokeDisabled,ba as colorTransparentStrokeInteractive,jl as curveAccelerateMax,Vl as curveAccelerateMid,_l as curveAccelerateMin,Gl as curveDecelerateMax,Xl as curveDecelerateMid,ql as curveDecelerateMin,Yl as curveEasyEase,Wl as curveEasyEaseMax,Kl as curveLinear,yt as darkModeStylesheetBehavior,bt as display,Hl as durationFast,Ol as durationFaster,Dl as durationNormal,El as durationSlow,Ml as durationSlower,Ll as durationUltraFast,Rl as durationUltraSlow,Bs as fontFamilyBase,ws as fontFamilyMonospace,Ps as fontFamilyNumeric,Ss as fontSizeBase100,Fs as fontSizeBase200,Cs as fontSizeBase300,Ns as fontSizeBase400,Is as fontSizeBase500,As as fontSizeBase600,Os as fontSizeHero1000,Ts as fontSizeHero700,zs as fontSizeHero800,Ls as fontSizeHero900,Ms as fontWeightBold,Ds as fontWeightMedium,Hs as fontWeightRegular,Es as fontWeightSemibold,kt as forcedColorsStylesheetBehavior,ht as getDirection,vt as hidden,xt as lightModeStylesheetBehavior,Rs as lineHeightBase100,js as lineHeightBase200,Vs as lineHeightBase300,_s as lineHeightBase400,Gs as lineHeightBase500,Xs as lineHeightBase600,Ks as lineHeightHero1000,qs as lineHeightHero700,Ws as lineHeightHero800,Ys as lineHeightHero900,sp as roleForMenuItem,Ov as setTheme,Hv as setThemeFor,Js as shadow16,nl as shadow16Brand,Us as shadow2,el as shadow28,il as shadow28Brand,ol as shadow2Brand,Qs as shadow4,rl as shadow4Brand,tl as shadow64,sl as shadow64Brand,Zs as shadow8,al as shadow8Brand,kl as spacingHorizontalL,fl as spacingHorizontalM,ml as spacingHorizontalMNudge,hl as spacingHorizontalNone,bl as spacingHorizontalS,vl as spacingHorizontalSNudge,yl as spacingHorizontalXL,gl as spacingHorizontalXS,xl as spacingHorizontalXXL,pl as spacingHorizontalXXS,$l as spacingHorizontalXXXL,Il as spacingVerticalL,Nl as spacingVerticalM,Cl as spacingVerticalMNudge,Bl as spacingVerticalNone,Fl as spacingVerticalS,Sl as spacingVerticalSNudge,Al as spacingVerticalXL,Pl as spacingVerticalXS,Tl as spacingVerticalXXL,wl as spacingVerticalXXS,zl as spacingVerticalXXXL,cl as strokeWidthThick,dl as strokeWidthThicker,ul as strokeWidthThickest,ll as strokeWidthThin};
282
+ background-color: ${dc};
283
+ color: ${$r};
284
+ border-color: ${uc};
285
+ }
286
+ `,ia=u.partial`
287
+ font-family: ${v};
288
+ font-size: ${B};
289
+ line-height: ${A};
290
+ font-weight: ${_};
291
+ `;u.partial`
292
+ font-family: ${v};
293
+ font-size: ${B};
294
+ line-height: ${A};
295
+ font-weight: ${D};
296
+ `,u.partial`
297
+ font-family: ${v};
298
+ font-size: ${B};
299
+ line-height: ${A};
300
+ font-weight: ${pi};
301
+ `;const Ph=u.partial`
302
+ font-family: ${v};
303
+ font-size: ${he};
304
+ line-height: ${$e};
305
+ font-weight: ${_};
306
+ `,ra=u.partial`
307
+ font-family: ${v};
308
+ font-size: ${F};
309
+ line-height: ${q};
310
+ font-weight: ${_};
311
+ `;u.partial`
312
+ font-family: ${v};
313
+ font-size: ${F};
314
+ line-height: ${q};
315
+ font-weight: ${D};
316
+ `,u.partial`
317
+ font-family: ${v};
318
+ font-size: ${F};
319
+ line-height: ${q};
320
+ font-weight: ${pi};
321
+ `,u.partial`
322
+ font-family: ${v};
323
+ font-size: ${Co};
324
+ line-height: ${bi};
325
+ font-weight: ${_};
326
+ `,u.partial`
327
+ font-family: ${v};
328
+ font-size: ${Co};
329
+ line-height: ${bi};
330
+ font-weight: ${D};
331
+ `;const zh=u.partial`
332
+ font-family: ${v};
333
+ font-size: ${jt};
334
+ line-height: ${gi};
335
+ font-weight: ${D};
336
+ `;u.partial`
337
+ font-family: ${v};
338
+ font-size: ${he};
339
+ line-height: ${$e};
340
+ font-weight: ${D};
341
+ `,u.partial`
342
+ font-family: ${v};
343
+ font-size: ${he};
344
+ line-height: ${$e};
345
+ font-weight: ${pi};
346
+ `,u.partial`
347
+ font-family: ${v};
348
+ font-size: ${En};
349
+ line-height: ${Hn};
350
+ font-weight: ${D};
351
+ `,u.partial`
352
+ font-family: ${v};
353
+ font-size: ${An};
354
+ line-height: ${Dn};
355
+ font-weight: ${D};
356
+ `,u.partial`
357
+ font-family: ${v};
358
+ font-size: ${ui};
359
+ line-height: ${Mn};
360
+ font-weight: ${D};
361
+ `,u.partial`
362
+ font-family: ${v};
363
+ font-size: ${Nn};
364
+ line-height: ${Vn};
365
+ font-weight: ${D};
366
+ `,u.partial`
367
+ font-family: ${v};
368
+ font-size: ${Fn};
369
+ line-height: ${Ln};
370
+ font-weight: ${D};
371
+ `;const Th=u`
372
+ :host([shape='square']){border-radius:${hi}}:host([shape='rounded']){border-radius:${C}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Be}}${Ih}
373
+ ${Sh}
374
+ ${oa}
375
+ ${ta}
376
+ ${ea}
377
+ ${Jn}
378
+ `.withBehaviors(U(u`
379
+ :host,:host([appearance='outline']),:host([appearance='tint']){border-color:CanvasText}`));function sa(o={}){return b` ${He(o)}<slot>${ge(o.defaultContent)}</slot>${tt(o)} `}const Bh=sa(),Oh=Xt.compose({name:`${p.prefix}-badge`,template:Bh,styles:Th});Oh.define(p.registry);var _h=Object.defineProperty,Ah=Object.getOwnPropertyDescriptor,Se=(o,e,t,i)=>{for(var r=i>1?void 0:i?Ah(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&_h(e,t,r),r};class ue extends ${constructor(){super(),this.disabled=!1,this.disabledFocusable=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="button"}disabledChanged(){this.$fastController.isConnected&&(this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0)}disabledFocusableChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=`${!!t}`)}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}typeChanged(e,t){t!==ki.submit&&(this.formSubmissionFallbackControl?.remove(),this.shadowRoot?.querySelector('slot[name="internal"]')?.remove())}clickHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}return this.press(),!0}connectedCallback(){super.connectedCallback(),this.elementInternals.ariaDisabled=`${!!this.disabledFocusable}`,this.disabledChanged()}createAndInsertFormSubmissionFallbackControl(){const e=this.formSubmissionFallbackControlSlot??document.createElement("slot");e.setAttribute("name","internal"),this.shadowRoot?.appendChild(e),this.formSubmissionFallbackControlSlot=e;const t=this.formSubmissionFallbackControl??document.createElement("button");t.style.display="none",t.setAttribute("type","submit"),t.setAttribute("slot","internal"),this.formNoValidate&&t.toggleAttribute("formnovalidate",!0),this.elementInternals.form?.id&&t.setAttribute("form",this.elementInternals.form.id),this.name&&t.setAttribute("name",this.name),this.value&&t.setAttribute("value",this.value),this.formAction&&t.setAttribute("formaction",this.formAction??""),this.formEnctype&&t.setAttribute("formenctype",this.formEnctype??""),this.formMethod&&t.setAttribute("formmethod",this.formMethod??""),this.formTarget&&t.setAttribute("formtarget",this.formTarget??""),this.append(t),this.formSubmissionFallbackControl=t}formDisabledCallback(e){this.disabled=e}keypressHandler(e){if(e&&this.disabledFocusable){e.stopImmediatePropagation();return}if(e.key===fo||e.key===Jo){this.click();return}return!0}press(){switch(this.type){case ki.reset:{this.resetForm();break}case ki.submit:{this.submitForm();break}}}resetForm(){this.elementInternals.form?.reset()}submitForm(){if(!(!this.elementInternals.form||this.disabled||this.type!==ki.submit)){if(!this.name&&!this.formAction&&!this.formEnctype&&!this.formAttribute&&!this.formMethod&&!this.formNoValidate&&!this.formTarget){this.elementInternals.form.requestSubmit();return}try{this.elementInternals.setFormValue(this.value??""),this.elementInternals.form.requestSubmit(this)}catch{this.createAndInsertFormSubmissionFallbackControl(),this.elementInternals.setFormValue(null),this.elementInternals.form.requestSubmit(this.formSubmissionFallbackControl)}}}}ue.formAssociated=!0,Se([a({mode:"boolean"})],ue.prototype,"autofocus",2),Se([g],ue.prototype,"defaultSlottedContent",2),Se([a({mode:"boolean"})],ue.prototype,"disabled",2),Se([a({attribute:"disabled-focusable",mode:"boolean"})],ue.prototype,"disabledFocusable",2),Se([a({attribute:"formaction"})],ue.prototype,"formAction",2),Se([a({attribute:"form"})],ue.prototype,"formAttribute",2),Se([a({attribute:"formenctype"})],ue.prototype,"formEnctype",2),Se([a({attribute:"formmethod"})],ue.prototype,"formMethod",2),Se([a({attribute:"formnovalidate",mode:"boolean"})],ue.prototype,"formNoValidate",2),Se([a({attribute:"formtarget"})],ue.prototype,"formTarget",2),Se([a],ue.prototype,"name",2),Se([a],ue.prototype,"type",2),Se([a],ue.prototype,"value",2);var Eh=Object.defineProperty,Nh=Object.getOwnPropertyDescriptor,Ii=(o,e,t,i)=>{for(var r=i>1?void 0:i?Nh(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Eh(e,t,r),r};class Ye extends ue{constructor(){super(...arguments),this.iconOnly=!1}}Ii([a],Ye.prototype,"appearance",2),Ii([a],Ye.prototype,"shape",2),Ii([a],Ye.prototype,"size",2),Ii([a({attribute:"icon-only",mode:"boolean"})],Ye.prototype,"iconOnly",2),Xe(Ye,Ue);function Ar(o={}){return b`<template @click="${(e,t)=>e.clickHandler(t.event)}" @keypress="${(e,t)=>e.keypressHandler(t.event)}">${He(o)}<span class="content" part="content"><slot ${G("defaultSlottedContent")}></slot></span>${tt(o)}</template>`}const Fh=Ar(),Mh=Ye.compose({name:`${p.prefix}-button`,template:Fh,styles:Ci});Mh.define(p.registry);var Dh=Object.defineProperty,Hh=Object.getOwnPropertyDescriptor,at=(o,e,t,i)=>{for(var r=i>1?void 0:i?Hh(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Dh(e,t,r),r};class Pe extends ${constructor(){super(...arguments),this.initialValue="on",this._keydownPressed=!1,this.dirtyChecked=!1,this.elementInternals=this.attachInternals(),this._validationFallbackMessage="",this._value=this.initialValue}get checked(){return m.track(this,"checked"),!!this._checked}set checked(e){this._checked=e,this.setFormValue(e?this.value:null),this.setValidity(),this.setAriaChecked(),y(this.elementInternals,"checked",e),m.notify(this,"checked")}disabledChanged(e,t){this.disabled?this.removeAttribute("tabindex"):this.tabIndex=Number(this.getAttribute("tabindex")??0)<0?-1:0,this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled)}disabledAttributeChanged(e,t){this.disabled=!!t}initialCheckedChanged(e,t){this.dirtyChecked||(this.checked=!!t)}initialValueChanged(e,t){this._value=t}requiredChanged(e,t){this.$fastController.isConnected&&(this.setValidity(),this.elementInternals.ariaRequired=this.required?"true":"false")}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="checkbox",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.track(this,"value"),this._value}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;this.dirtyChecked=!0;const t=this.checked;return this.toggleChecked(),t!==this.checked&&(this.$emit("change"),this.$emit("input")),!0}connectedCallback(){super.connectedCallback(),this.disabled=!!this.disabledAttribute,this.setAriaChecked(),this.setValidity()}inputHandler(e){return this.setFormValue(this.value),this.setValidity(),!0}keydownHandler(e){if(e.key!==" ")return!0;this._keydownPressed=!0}keyupHandler(e){if(!this._keydownPressed||e.key!==" ")return!0;this._keydownPressed=!1,this.click()}formResetCallback(){this.checked=this.initialChecked??!1,this.dirtyChecked=!1,this.setValidity()}reportValidity(){return this.elementInternals.reportValidity()}setAriaChecked(e=this.checked){this.elementInternals.ariaChecked=e?"true":"false"}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.setValidity()}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:!!this.required&&!this.checked,...e},t??this.validationMessage,i)}}toggleChecked(e=!this.checked){this.checked=e}}Pe.formAssociated=!0,at([a({mode:"boolean"})],Pe.prototype,"autofocus",2),at([g],Pe.prototype,"disabled",2),at([a({attribute:"disabled",mode:"boolean"})],Pe.prototype,"disabledAttribute",2),at([a({attribute:"form"})],Pe.prototype,"formAttribute",2),at([a({attribute:"checked",mode:"boolean"})],Pe.prototype,"initialChecked",2),at([a({attribute:"value",mode:"fromView"})],Pe.prototype,"initialValue",2),at([a],Pe.prototype,"name",2),at([a({mode:"boolean"})],Pe.prototype,"required",2);var Vh=Object.defineProperty,Lh=Object.getOwnPropertyDescriptor,Er=(o,e,t,i)=>{for(var r=i>1?void 0:i?Lh(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Vh(e,t,r),r};class Pi extends Pe{indeterminateChanged(e,t){this.setAriaChecked(),y(this.elementInternals,"indeterminate",t)}constructor(){super(),this.elementInternals.role="checkbox"}setAriaChecked(e=this.checked){if(this.indeterminate){this.elementInternals.ariaChecked="mixed";return}super.setAriaChecked(e)}toggleChecked(e=!this.checked){this.indeterminate=!1,super.toggleChecked(e)}}Er([g],Pi.prototype,"indeterminate",2),Er([a],Pi.prototype,"shape",2),Er([a],Pi.prototype,"size",2);const jh=z("active"),Rh=z("bad-input"),x=z("checked"),qh=z("custom-error"),Wh=z("description"),xe=z("disabled");z("error");const Gh=z("flip-block"),Uh=z("focus-visible");z("has-message");const Ct=z("indeterminate"),Kt=z("multiple"),Xh=z("open"),Kh=z("pattern-mismatch"),Yh=z("placeholder-shown"),M=z("pressed"),Qh=z("range-overflow"),Zh=z("range-underflow"),Jh=z("required"),Nr=z("selected"),eu=z("step-mismatch"),zi=z("submenu"),tu=z("too-long"),ou=z("too-short"),iu=z("type-mismatch"),ru=z("user-invalid"),su=z("valid"),nu=z("value-missing"),au=u`
380
+ ${k("inline-flex")}
381
+
382
+ :host{--size:16px;background-color:${I};border-radius:${Be};border:${P} solid ${Ve};box-sizing:border-box;cursor:pointer;position:relative;width:var(--size)}:host,.indeterminate-indicator,.checked-indicator{aspect-ratio:1}:host(:hover){border-color:${mt}}:host(:active){border-color:${vt}}:host(${x}:hover){background-color:${Ht};border-color:${Jl}}:host(${x}:active){background-color:${Vt};border-color:${$n}}:host(:focus-visible){outline:none}:host(:not([slot='input']))::after{content:'';position:absolute;inset:-8px;box-sizing:border-box;outline:none;border:${ye} solid ${X};border-radius:${C}}:host(:not([slot='input']):focus-visible)::after{border-color:${me}}.indeterminate-indicator,.checked-indicator{color:${bt};inset:0;margin:auto;position:absolute}::slotted([slot='checked-indicator']),.checked-indicator{fill:currentColor;display:inline-flex;flex:1 0 auto;width:12px}:host(:not(${x})) *:is(::slotted([slot='checked-indicator']),.checked-indicator){display:none}:host(${x}),:host(${Ct}){border-color:${$t}}:host(${x}),:host(${Ct}) .indeterminate-indicator{background-color:${ft}}:host(${Ct}) .indeterminate-indicator{border-radius:${Be};position:absolute;width:calc(var(--size) / 2);inset:0}:host([size='large']){--size:20px}:host([size='large']) ::slotted([slot='checked-indicator']),:host([size='large']) .checked-indicator{width:16px}:host([shape='circular']),:host([shape='circular']) .indeterminate-indicator{border-radius:${ve}}:host([disabled]),:host([disabled]${x}){background-color:${it};border-color:${Ce}}:host([disabled]){cursor:unset}:host([disabled]${Ct}) .indeterminate-indicator{background-color:${Ce}}:host([disabled]${x}) .checked-indicator{color:${Ce}}`.withBehaviors(U(u`
383
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not([disabled]):hover),:host(${x}:not([disabled]):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.indeterminate-indicator,.checked-indicator{color:HighlightText}:host(${x}),:host(${Ct}) .indeterminate-indicator{background-color:FieldText}:host(${x}:not([disabled]):hover),:host(${Ct}:not([disabled]):hover) .indeterminate-indicator{background-color:Highlight}:host([disabled]){border-color:GrayText}:host([disabled]${Ct}) .indeterminate-indicator{background-color:GrayText}:host([disabled]),:host([disabled]${x}) .checked-indicator{color:GrayText}`)),lu=b.partial(`
384
+ <svg
385
+ fill="currentColor"
386
+ aria-hidden="true"
387
+ class="checked-indicator"
388
+ width="1em"
389
+ height="1em"
390
+ viewBox="0 0 12 12"
391
+ xmlns="http://www.w3.org/2000/svg">
392
+ <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"></path>
393
+ </svg>
394
+ `),cu=b.partial(`
395
+ <span class="indeterminate-indicator"></span>
396
+ `);function du(o={}){return b`<template @click="${(e,t)=>e.clickHandler(t.event)}" @input="${(e,t)=>e.inputHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @keyup="${(e,t)=>e.keyupHandler(t.event)}"><slot name="checked-indicator">${ge(o.checkedIndicator)}</slot><slot name="indeterminate-indicator">${ge(o.indeterminateIndicator)}</slot></template>`}const hu=du({checkedIndicator:lu,indeterminateIndicator:cu}),uu=Pi.compose({name:`${p.prefix}-checkbox`,template:hu,styles:au});uu.define(p.registry);class pu extends Ye{}const bu=u`
397
+ ${Ci}
398
+
399
+ :host,:host(:is([size])){gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:${B};line-height:${A}}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:${Ie};line-height:100%;font-size:${F};font-weight:${_}}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:${Mt}}:host(:active) ::slotted([slot='description']){color:${Dt}}:host(:is([appearance='primary'],[appearance='primary']:is(:hover,:active))) ::slotted([slot='description']){color:${Ke}}:host(:is([appearance='transparent'],[appearance='subtle'],[appearance='subtle']:is(:hover,:active)))
400
+ ::slotted([slot='description']){color:${Ie}}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:${ri}}:host([appearance='transparent']:active) ::slotted([slot='description']){color:${si}}:host(:is(:disabled,:disabled[appearance],[disabled-focusable],[disabled-focusable][appearance]))
401
+ ::slotted([slot='description']){color:${S}}:host([size='small']){padding:8px;padding-bottom:10px}:host([icon-only]){min-width:52px;max-width:52px;padding:${J}}:host([icon-only][size='small']){min-width:48px;max-width:48px;padding:${ne}}:host([icon-only][size='large']){min-width:56px;max-width:56px;padding:${Oe}}:host([size='large']){padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:${he};line-height:${$e}}:host([size='large']) ::slotted([slot='description']){font-size:${B}}`.withBehaviors(U(u`
402
+ :host([appearance='primary']:not(:hover,:focus-visible,:disabled,[disabled-focusable]))
403
+ ::slotted([slot='description']){color:HighlightText}`));function gu(o={}){return b`<template ?disabled="${e=>e.disabled}" tabindex="${e=>e.disabled?null:e.tabIndex??0}">${He(o)}<span class="content" part="content"><slot ${G("defaultSlottedContent")}></slot><slot name="description"></slot></span>${tt(o)}</template>`}const fu=gu(),mu=pu.compose({name:`${p.prefix}-compound-button`,template:fu,styles:bu});mu.define(p.registry);var vu=Object.defineProperty,$u=Object.getOwnPropertyDescriptor,lt=(o,e,t,i)=>{for(var r=i>1?void 0:i?$u(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&vu(e,t,r),r};class qe extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.count=0,this.overflowCount=99,this.showZero=!1,this.dot=!1}countChanged(){this.setCount()}overflowCountChanged(){this.setCount()}setCount(){const e=this.count??0;if((e!==0||this.showZero)&&!this.dot)return e>this.overflowCount?`${this.overflowCount}+`:`${e}`}}lt([a],qe.prototype,"appearance",2),lt([a],qe.prototype,"color",2),lt([a],qe.prototype,"shape",2),lt([a],qe.prototype,"size",2),lt([a({converter:re})],qe.prototype,"count",2),lt([a({attribute:"overflow-count",converter:re})],qe.prototype,"overflowCount",2),lt([a({attribute:"show-zero",mode:"boolean"})],qe.prototype,"showZero",2),lt([a({mode:"boolean"})],qe.prototype,"dot",2),Xe(qe,Ue);const yu=u`
404
+ :host([shape='rounded']){border-radius:${C}}:host([shape='rounded']:is([size='tiny'],[size='extra-small'],[size='small'])){border-radius:${Be}}${ea}
405
+ ${ta}
406
+ ${oa}
407
+ ${Jn}
408
+
409
+ :host(:is([dot],[dot][appearance][size])){min-width:auto;width:6px;height:6px;padding:0}`;function xu(o={}){return sa({defaultContent:b`${e=>e.setCount()}`})}const ku=xu(),wu=qe.compose({name:`${p.prefix}-counter-badge`,template:ku,styles:yu});wu.define(p.registry);const St={modal:"modal",nonModal:"non-modal",alert:"alert"};function na(o,e="-dialog"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}var Cu=Object.defineProperty,Su=Object.getOwnPropertyDescriptor,Ti=(o,e,t,i)=>{for(var r=i>1?void 0:i?Su(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Cu(e,t,r),r};class So extends ${constructor(){super(...arguments),this.type=St.modal,this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})},this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})}}typeChanged(e,t){this.dialog&&(t===St.alert?this.dialog.setAttribute("role","alertdialog"):this.dialog.removeAttribute("role"),t!==St.nonModal?this.dialog.setAttribute("aria-modal","true"):this.dialog.removeAttribute("aria-modal"))}connectedCallback(){super.connectedCallback(),this.typeChanged(void 0,this.type)}show(){ie.enqueue(()=>{this.emitBeforeToggle(),this.type===St.alert||this.type===St.modal?this.dialog.showModal():this.type===St.nonModal&&this.dialog.show(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return this.dialog.open&&this.type!==St.alert&&e.target===this.dialog&&this.hide(),!0}}Ti([g],So.prototype,"dialog",2),Ti([a({attribute:"aria-describedby"})],So.prototype,"ariaDescribedby",2),Ti([a({attribute:"aria-labelledby"})],So.prototype,"ariaLabelledby",2),Ti([a],So.prototype,"type",2);const Iu=b`<dialog class="dialog" part="dialog" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" @click="${(o,e)=>o.clickHandler(e.event)}" @cancel="${o=>o.hide()}" ${E("dialog")}><slot></slot></dialog>`,Pu=u`
410
+ @layer base{:host{--dialog-backdrop:${gr};--dialog-starting-scale:0.85}::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}dialog{background:${I};border-radius:${_n};border:none;box-shadow:${jn};color:${T};max-height:100vh;padding:0;width:100%;max-width:600px}:host([type='non-modal']) dialog{inset:0;position:fixed;z-index:2;overflow:auto}@supports (max-height:1dvh){dialog{max-height:100dvh}}}@layer animations{@media (prefers-reduced-motion:no-preference){dialog,::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ir};transition-timing-function:${kt};opacity:0}::backdrop{transition-timing-function:${zr}}[open],[open]::backdrop{opacity:1}dialog:not([open]){scale:var(--dialog-starting-scale);transition-timing-function:${xt}}}@starting-style{[open],[open]::backdrop{opacity:0}dialog{scale:var(--dialog-starting-scale)}}}`.withBehaviors(U(u`
411
+ @layer base{dialog{border:${P} solid ${X}}}`)),zu=So.compose({name:`${p.prefix}-dialog`,template:Iu,styles:Pu});zu.define(p.registry);class Tu extends ${clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;na(t)&&t.hide()}return!0}}const Bu=b`<template><div class="title" part="title"><slot name="title"></slot><slot name="title-action"></slot><slot name="close" @click="${(o,e)=>o.clickHandler(e.event)}"></slot></div><div class="content" part="content"><slot></slot></div><div class="actions" part="actions"><slot name="action"></slot></div></template>`,Ou=u`
412
+ ${k("grid")}
413
+
414
+ :host{background:${I};box-sizing:border-box;gap:${V};padding:${yt} ${wr};container:dialog-body / inline-size}.title{box-sizing:border-box;align-items:flex-start;background:${I};color:${T};column-gap:8px;display:flex;font-family:${v};font-size:${jt};font-weight:${D};inset-block-start:0;justify-content:space-between;line-height:${gi};margin-block-end:calc(${V} * -1);margin-block-start:calc(${yt} * -1);padding-block-end:${V};padding-block-start:${yt}}.content{box-sizing:border-box;color:${T};font-family:${v};font-size:${B};font-weight:${_};line-height:${A};min-height:32px}.actions{box-sizing:border-box;background:${I};display:flex;flex-direction:column;gap:${V};inset-block-end:0;margin-block-end:calc(${yt} * -1);padding-block-end:${yt};padding-block-start:${mi}}::slotted([slot='title-action']){margin-inline-start:auto}::slotted([slot='title']){font:inherit;padding:0;margin:0}:not(:has(:is([slot='title'],[slot='title-action']))) .title{justify-content:end}@container (min-width:480px){.actions{align-items:center;flex-direction:row;justify-content:flex-end;margin-block-start:calc(${V} * -1);padding-block-start:${V}}}@media (min-height:480px){.title{position:sticky;z-index:1}.actions{position:sticky;z-index:2}`,_u=Tu.compose({name:`${p.prefix}-dialog-body`,template:Bu,styles:Ou});_u.define(p.registry);const Io={separator:"separator",presentation:"presentation"},aa=be;var Au=Object.defineProperty,Eu=Object.getOwnPropertyDescriptor,la=(o,e,t,i)=>{for(var r=i>1?void 0:i?Eu(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Au(e,t,r),r};class Fr extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??Io.separator,this.role!==Io.presentation&&(this.elementInternals.ariaOrientation=this.orientation??aa.horizontal)}roleChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.role=`${t??Io.separator}`),t===Io.presentation&&(this.elementInternals.ariaOrientation=null)}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.role!==Io.presentation?t??null:null,wt(this.elementInternals,e,t,aa)}}la([a],Fr.prototype,"role",2),la([a],Fr.prototype,"orientation",2);var Nu=Object.defineProperty,Fu=Object.getOwnPropertyDescriptor,Mr=(o,e,t,i)=>{for(var r=i>1?void 0:i?Fu(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Nu(e,t,r),r};class Bi extends Fr{}Mr([a({attribute:"align-content"})],Bi.prototype,"alignContent",2),Mr([a],Bi.prototype,"appearance",2),Mr([a({mode:"boolean"})],Bi.prototype,"inset",2);function Mu(){return b`<slot></slot>`}const Du=Mu(),Hu=u`
415
+ ${k("flex")}
416
+
417
+ :host{contain:content}:host::after,:host::before{align-self:center;background:${wo};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${P}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${Ie};font-family:${v};font-size:${F};font-weight:${_};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']){align-items:center;flex-direction:column;height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}: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:${P};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:${Le}}:host([appearance='strong']) ::slotted(*){color:${T}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${mn}}:host([appearance='brand']) ::slotted(*){color:${ni}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${Ql}}:host([appearance='subtle']) ::slotted(*){color:${Z}}`.withBehaviors(U(u`
418
+ :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}`)),Vu=Bi.compose({name:`${p.prefix}-divider`,template:Du,styles:Hu});Vu.define(p.registry);const Lu={start:"start",end:"end"},ju={small:"small",medium:"medium",large:"large",full:"full"},Po={nonModal:"non-modal",modal:"modal",inline:"inline"};var Ru=Object.defineProperty,qu=Object.getOwnPropertyDescriptor,Yt=(o,e,t,i)=>{for(var r=i>1?void 0:i?qu(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Ru(e,t,r),r};class It extends ${constructor(){super(...arguments),this.type=Po.modal,this.position=Lu.start,this.size=ju.medium,this.emitToggle=()=>{this.$emit("toggle",{oldState:this.dialog.open?"closed":"open",newState:this.dialog.open?"open":"closed"})},this.emitBeforeToggle=()=>{this.$emit("beforetoggle",{oldState:this.dialog.open?"open":"closed",newState:this.dialog.open?"closed":"open"})}}typeChanged(){this.dialog&&(this.updateDialogRole(),this.type===Po.modal?this.dialog.setAttribute("aria-modal","true"):this.dialog.removeAttribute("aria-modal"))}connectedCallback(){super.connectedCallback(),this.typeChanged(),this.observeRoleAttr()}disconnectedCallback(){super.disconnectedCallback(),this.roleAttrObserver.disconnect()}show(){ie.enqueue(()=>{this.emitBeforeToggle(),this.type===Po.inline||this.type===Po.nonModal?this.dialog.show():this.dialog.showModal(),this.emitToggle()})}hide(){this.emitBeforeToggle(),this.dialog.close(),this.emitToggle()}clickHandler(e){return e.preventDefault(),this.dialog.open&&e.target===this.dialog&&this.hide(),!0}cancelHandler(){this.hide()}observeRoleAttr(){this.roleAttrObserver||(this.roleAttrObserver=new MutationObserver(()=>{this.updateDialogRole()}),this.roleAttrObserver.observe(this,{attributes:!0,attributeFilter:["role"]}))}updateDialogRole(){console.log(this.role),this.dialog&&(this.dialog.role=this.type===Po.modal?"dialog":this.role)}}Yt([a],It.prototype,"type",2),Yt([a({attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),Yt([a({attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),Yt([a],It.prototype,"position",2),Yt([a({attribute:"size"})],It.prototype,"size",2),Yt([g],It.prototype,"dialog",2);const Wu=u`
419
+ ${k("block")}
420
+
421
+ :host{--dialog-backdrop:${gr}}:host([type='non-modal']) dialog[open]::backdrop{display:none}:host([type='non-modal']) dialog{position:fixed;top:0;bottom:0}:host([type='inline']){height:100%;width:fit-content}:host([type='inline']) dialog[open]{box-shadow:none;position:relative}:host([size='small']) dialog{width:320px;max-width:320px}:host([size='large']) dialog{width:940px;max-width:940px}:host([size='full']) dialog{width:100%;max-width:100%}:host([position='end']) dialog{margin-inline-start:auto;margin-inline-end:0}dialog{box-sizing:border-box;z-index:var(--drawer-elevation,1000);font-size:${B};line-height:${A};font-family:${v};font-weight:${_};color:${T};max-width:var(--drawer-width,592px);max-height:100vh;height:100%;margin-inline-start:0;margin-inline-end:auto;border-inline-end-color:${X};border-inline-start-color:var(--drawer-separator,${X});outline:none;top:0;bottom:0;width:var(--drawer-width,592px);border-radius:0;padding:0;max-width:var(--drawer-width,592px);box-shadow:${jn};border:${P} solid ${X};background:${I}}dialog::backdrop{background:var(--dialog-backdrop)}@layer animations{@media (prefers-reduced-motion:no-preference){dialog{transition:display allow-discrete,opacity,overlay allow-discrete,transform;transition-duration:${Ir};transition-timing-function:${kt}}:host dialog:not([open]){transform:translateX(-100%);transition-timing-function:${xt}}:host([position='end']) dialog:not([open]){transform:translateX(100%);transition-timing-function:${xt}}dialog[open]{transform:translateX(0)}dialog::backdrop{transition:display allow-discrete,opacity,overlay allow-discrete,scale;transition-duration:${Ir};transition-timing-function:${kt};background:var(--dialog-backdrop,${gr});opacity:0}dialog[open]::backdrop{opacity:1}dialog::backdrop{transition-timing-function:${zr}}}@starting-style{dialog[open]{transform:translateX(-100%)}:host([position='end']) dialog[open]{transform:translateX(100%)}dialog[open]::backdrop{opacity:0}}}`;function Gu(){return b`<dialog class="dialog" part="dialog" aria-describedby="${o=>o.ariaDescribedby}" aria-labelledby="${o=>o.ariaLabelledby}" aria-label="${o=>o.ariaLabel}" size="${o=>o.size}" position="${o=>o.position}" @click="${(o,e)=>o.clickHandler(e.event)}" @cancel="${o=>o.cancelHandler()}" ${E("dialog")}><slot></slot></dialog>`}const Uu=Gu(),Xu=It.compose({name:`${p.prefix}-drawer`,template:Uu,styles:Wu});Xu.define(p.registry);class Ku extends ${clickHandler(e){if(!e.defaultPrevented){const t=this.parentElement;na(t,"-drawer")&&t.hide()}return!0}}const Yu=u`
422
+ ${k("grid")}
423
+ :host{box-sizing:border-box;grid-template-rows:min-content auto min-content;position:relative;height:100%;padding:${wd};max-height:100svh}.header{display:flex;justify-content:space-between;align-items:center;${zh}}.footer{display:flex;justify-content:flex-start;gap:${le}}::slotted([slot='title']){font:inherit;padding:0;margin:0}`;function Qu(){return b`<div class="header" part="header"><slot name="title"></slot><slot name="close" @click="${(o,e)=>o.clickHandler(e.event)}"></slot></div><div class="content" part="content"><slot></slot></div><div class="footer" part="footer"><slot name="footer"></slot></div>`}const Zu=Qu(),Ju=Ku.compose({name:`${p.prefix}-drawer-body`,template:Zu,styles:Yu});Ju.define(p.registry);function ca(o,e="-listbox"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function Oi(o,e="-option"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}function da(o){return o.closest("[lang]")?.lang??"en"}let ep=0;function Qt(o="id-"){const e=`${o}${ep++}`;return document.getElementById(e)?Qt(o):e}function tp(o,e){if("requestIdleCallback"in globalThis)return globalThis.requestIdleCallback(o,e);const t=Date.now();return setTimeout(()=>{o({didTimeout:e?.timeout?Date.now()-t>=e.timeout:!1,timeRemaining:()=>0})},1)}function op(o){"cancelIdleCallback"in globalThis?globalThis.cancelIdleCallback(o):clearTimeout(o)}function ha(o,e,t){let i;const s=`${t?.shallow??!1?":scope > ":""}:not(:defined)`,n=t?.timeout??50,c=h=>{if(i&&(op(i),i=void 0),!o.querySelector(s)||h&&h.timeRemaining()<=0){e();return}i=tp(c,{timeout:n})};c()}const ip={filledDarker:"filled-darker",filledLighter:"filled-lighter",outline:"outline",transparent:"transparent"},Dr={combobox:"combobox",dropdown:"dropdown",select:"select"},rp=b`<svg class="chevron-down-20-regular" role="button" slot="indicator" viewBox="0 0 20 20" ${E("indicator")}><path d="M15.85 7.65a.5.5 0 0 1 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.16a.5.5 0 0 1 .7 0" fill="currentColor" /></svg>`,sp=b`<input @input="${(o,e)=>o.inputHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-labelledby="${o=>o.ariaLabelledBy}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" placeholder="${o=>o.placeholder}" role="combobox" ?disabled="${o=>o.disabled}" type="${o=>o.type}" value="${o=>o.valueAttribute}" slot="control" ${E("control")} />`,np=b`<button aria-activedescendant="${o=>o.activeDescendant}" aria-controls="${o=>o.listbox?.id??null}" aria-expanded="${o=>o.open}" aria-haspopup="listbox" role="combobox" ?disabled="${o=>o.disabled}" type="button" slot="control" ${E("control")}>${o=>o.displayValue}</button>`;function ap(o={}){return b`<template @click="${(e,t)=>e.clickHandler(t.event)}" @focusout="${(e,t)=>e.focusoutHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"><div class="control"><slot name="control" ${E("controlSlot")}></slot><slot name="indicator" ${E("indicatorSlot")}>${ge(o.indicator)}</slot></div><slot @slotchange="${(e,t)=>e.slotchangeHandler(t.event)}"></slot></template>`}const lp=ap({indicator:rp});var cp=Object.defineProperty,dp=Object.getOwnPropertyDescriptor,K=(o,e,t,i)=>{for(var r=i>1?void 0:i?dp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&cp(e,t,r),r};const L=class so extends ${constructor(){super(),this.activeIndex=0,this.id=Qt("dropdown-"),this.required=!1,this.type=Dr.dropdown,this.valueAttribute="",this.repositionListbox=()=>{this.frameId&&cancelAnimationFrame(this.frameId),this.frameId=requestAnimationFrame(()=>{const e=this.getBoundingClientRect(),t=window.innerWidth-e.right,i=e.left;this.listbox.style.minWidth=`${e.width}px`,this.listbox.style.top=`${e.top}px`,i+e.width>window.innerWidth||ei(this)==="rtl"&&t-e.width>0?(this.listbox.style.right=`${t}px`,this.listbox.style.left="unset"):(this.listbox.style.left=`${i}px`,this.listbox.style.right="unset")})},this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation",ie.enqueue(()=>{this.insertControl()})}get activeDescendant(){if(this.open)return this.enabledOptions[this.activeIndex]?.id}activeIndexChanged(e,t){if(typeof t=="number"){const i=this.matches(":has(:focus-visible)")?t:-1;this.enabledOptions.forEach((r,s)=>{r.active=s===i}),this.open&&this.enabledOptions[i]?.scrollIntoView({block:"nearest"})}}controlChanged(e,t){t&&(t.id=t.id||Qt("input-"))}disabledChanged(e,t){ie.enqueue(()=>{this.options.forEach(i=>{i.disabled=i.disabledAttribute||this.disabled})})}get displayValue(){if(!this.$fastController.isConnected||!this.control||this.isCombobox&&this.multiple)return y(this.elementInternals,"placeholder-shown",!1),"";this.listFormatter=this.listFormatter??new Intl.ListFormat(da(this),{type:"conjunction",style:"narrow"});const e=this.listFormatter.format(this.selectedOptions.map(t=>t.text));return y(this.elementInternals,"placeholder-shown",!e),this.isCombobox?e:e||this.placeholder}listboxChanged(e,t){if(e&&m.getNotifier(this).unsubscribe(e),t){t.dropdown=this,t.popover="manual",t.tabIndex=-1;const i=m.getNotifier(this);i.subscribe(t);for(const r of["disabled","multiple"])i.notify(r);if(ie.enqueue(()=>{this.enabledOptions.filter(r=>r.defaultSelected).forEach((r,s)=>{r.selected=this.multiple||s===0}),this.setValidity()}),ti){const r=Qt("--dropdown-anchor-");this.style.setProperty("anchor-name",r),this.listbox.style.setProperty("position-anchor",r)}}}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),this.value=null}nameChanged(e,t){ie.enqueue(()=>{this.options.forEach(i=>{i.name=t})})}openChanged(e,t){y(this.elementInternals,"open",t),this.elementInternals.ariaExpanded=t?"true":"false",this.activeIndex=this.selectedIndex??-1,ti||this.anchorPositionFallback(t)}typeChanged(e,t){this.$fastController.isConnected&&this.insertControl()}get enabledOptions(){return this.listbox?.enabledOptions??[]}get freeformOption(){return this.enabledOptions.find(e=>e.freeform)}get isCombobox(){return this.type===Dr.combobox}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get options(){return this.listbox?.options??[]}get selectedIndex(){return this.enabledOptions.findIndex(e=>e.selected)??-1}get selectedOptions(){return this.listbox?.selectedOptions??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.name="validation-message-fallback",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return!this.disabled&&this.required&&this.listbox.selectedOptions.length===0?this._validationFallbackMessage:""}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledOptions.find(e=>e.selected)?.value??null}set value(e){this.multiple||(this.selectOption(this.enabledOptions.findIndex(t=>t.value===e)),m.track(this,"value"))}get willValidate(){return this.elementInternals.willValidate}changeHandler(e){if(this===e.target)return!0;const t=this.isCombobox?this.enabledOptions.findIndex(i=>i.text===this.control.value):this.enabledOptions.indexOf(e.target);return this.selectOption(t,!0),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){if(this.disabled)return;const t=e.target;if(this.focus(),t===this.control&&!this.isCombobox)return this.listbox.togglePopover(),!0;if(!this.open)return this.listbox.showPopover(),!0;if(Oi(t)){if(t.disabled)return;this.selectOption(this.enabledOptions.indexOf(t),!0),this.multiple||(this.isCombobox&&(this.control.value=t.text,this.updateFreeformOption()),this.listbox.hidePopover())}return!0}filterOptions(e,t=this.enabledOptions){return this.listCollator||(this.listCollator=new Intl.Collator(da(this),{usage:"search",sensitivity:"base"})),t.filter(i=>this.listCollator.compare(i.text.substring(0,Math.min(i.text.length,e.length)),e)===0)}focus(e){this.disabled||this.control.focus(e)}focusoutHandler(e){const t=e.relatedTarget;return this.open&&!this.contains(t)&&this.listbox.togglePopover(),!0}formResetCallback(){this.enabledOptions.forEach((e,t)=>{if(this.multiple){e.selected=!!e.defaultSelected;return}if(!e.defaultSelected){e.selected=!1;return}this.selectOption(t)}),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledOptions.length||0){return t===0?-1:(e+t)%t}inputHandler(e){this.open||this.listbox.showPopover(),this.updateFreeformOption();const t=this.control.value,i=this.enabledOptions.indexOf(this.filterOptions(t)[0]??null);return this.activeIndex=i,!0}insertControl(){if(this.controlSlot?.assignedNodes().forEach(e=>this.removeChild(e)),this.type===Dr.combobox){sp.render(this,this);return}np.render(this,this)}keydownHandler(e){let t=0;switch(e.key){case"ArrowUp":{e.preventDefault(),t=-1;break}case"ArrowDown":{e.preventDefault(),t=1;break}case" ":{if(this.isCombobox)break;e.preventDefault()}case"Enter":case"Tab":{if(this.open){if(this.selectOption(this.activeIndex,!0),this.multiple)break;return this.listbox.hidePopover(),e.key==="Tab"}this.listbox.showPopover();break}case"Escape":{this.activeIndex=this.multiple?0:this.selectedIndex,this.listbox.hidePopover();break}}if(!t)return!0;if(!this.open){this.listbox.showPopover();return}let i=this.activeIndex;i+=t;let r=this.getEnabledIndexInBounds(i);return r===0&&this.freeformOption?.hidden&&(r=this.getEnabledIndexInBounds(i+t)),this.activeIndex=r,!0}mousedownHandler(e){if(!(this.disabled||e.target===this.control&&!this.isCombobox))return!Oi(e.target)}reportValidity(){return this.elementInternals.reportValidity()}selectOption(e=this.selectedIndex,t=!1){this.listbox.selectOption(e),this.control.value=this.displayValue,this.setValidity(),this.updateFreeformOption(),t&&this.$emit("change")}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}const r=this.required&&this.listbox.selectedOptions.length===0;this.elementInternals.setValidity({valueMissing:r,...e},t??this.validationMessage,i??this.control)}}slotchangeHandler(e){const t=e.target;ha(this,()=>{const i=t.assignedElements().find(r=>ca(r));i&&(this.listbox=i)})}updateFreeformOption(e=this.control.value){if(this.freeformOption){if(e===""||this.filterOptions(e,this.enabledOptions.filter(t=>!t.freeform)).length){this.freeformOption.value="",this.freeformOption.selected=!1,this.freeformOption.hidden=!0;return}this.freeformOption.value=e,this.freeformOption.hidden=!1}}disconnectedCallback(){so.AnchorPositionFallbackObserver?.disconnect(),this.debounceController?.abort(),super.disconnectedCallback()}anchorPositionFallback(e){if(so.AnchorPositionFallbackObserver||(so.AnchorPositionFallbackObserver=new IntersectionObserver(t=>{t.forEach(({boundingClientRect:i,isIntersecting:r,target:s})=>{if(ca(s)){if(i.bottom>window.innerHeight){y(s.elementInternals,"flip-block",!0);return}i.top<0&&y(s.elementInternals,"flip-block",!1)}})},{threshold:1})),e){this.debounceController=new AbortController,so.AnchorPositionFallbackObserver.observe(this.listbox),window.addEventListener("scroll",this.repositionListbox,{passive:!0,capture:!0,signal:this.debounceController.signal}),window.addEventListener("resize",this.repositionListbox,{passive:!0,signal:this.debounceController.signal}),this.repositionListbox();return}so.AnchorPositionFallbackObserver.unobserve(this.listbox),this.debounceController?.abort(),this.frameId&&(cancelAnimationFrame(this.frameId),this.frameId=void 0)}};L.formAssociated=!0,K([ls],L.prototype,"activeDescendant",1),K([g],L.prototype,"activeIndex",2),K([a({attribute:"aria-labelledby",mode:"fromView"})],L.prototype,"ariaLabelledBy",2),K([g],L.prototype,"control",2),K([a({mode:"boolean"})],L.prototype,"disabled",2),K([ls],L.prototype,"displayValue",1),K([a({attribute:"id"})],L.prototype,"id",2),K([g],L.prototype,"indicator",2),K([g],L.prototype,"indicatorSlot",2),K([a({attribute:"value",mode:"fromView"})],L.prototype,"initialValue",2),K([g],L.prototype,"listbox",2),K([a({mode:"boolean"})],L.prototype,"multiple",2),K([a],L.prototype,"name",2),K([g],L.prototype,"open",2),K([a],L.prototype,"placeholder",2),K([a({mode:"boolean"})],L.prototype,"required",2),K([a],L.prototype,"type",2),K([a({attribute:"value"})],L.prototype,"valueAttribute",2);let hp=L;var up=Object.defineProperty,pp=Object.getOwnPropertyDescriptor,ua=(o,e,t,i)=>{for(var r=i>1?void 0:i?pp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&up(e,t,r),r};class Hr extends hp{constructor(){super(...arguments),this.appearance=ip.outline}}ua([a],Hr.prototype,"appearance",2),ua([a],Hr.prototype,"size",2);const bp=u`
424
+ ${k("inline-flex")}
425
+
426
+ :host{anchor-name:--dropdown-trigger;box-sizing:border-box;color:${T};cursor:pointer}:host(${Yh}){color:${pr}}.control{appearance:none;background-color:${I};border-radius:${C};border:${P} solid ${X};box-shadow:inset 0 0 0 ${P} var(--control-border-color);box-sizing:border-box;color:inherit;column-gap:${H};display:inline-flex;justify-content:space-between;min-width:160px;overflow:hidden;padding:${je} ${ae};position:relative;text-align:start;width:100%;z-index:1;${ia}}:host([size='small']) .control{column-gap:${H};padding:${qt} ${J};${ra}}:host([size='large']) .control{column-gap:${Oe};padding:${V} ${le};${Ph}}::slotted(:is(input,button)){all:unset;flex:1 1 auto}::slotted(button){cursor:pointer}::slotted(input){cursor:text}:where(slot[name='indicator'] > *,::slotted([slot='indicator'])){all:unset;align-items:center;appearance:none;aspect-ratio:1;color:${Z};display:inline-flex;justify-content:center;width:20px}:host([size='small']) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:16px}:host([size='large']) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){width:24px}.control::after,.control::before{content:'' / '';inset:auto 0 0;pointer-events:none;position:absolute}.control::before{height:${P}}.control::after{background-color:${$t};height:${ye};scale:0 1;transition:scale ${Sr} ${kt}}:host(:where(:focus-within)) .control{border-radius:${C};box-shadow:inset 0 0 0 1px ${di};outline:${ye} solid ${me}}:host(:where(${Xh},:focus-within)) .control::after{scale:1 1;transition-duration:${$i};transition-timing-function:${xt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control::before{background-color:${Ve}}:host([appearance='transparent']) .control{--control-border-color:${fr};background-color:${fe};border-radius:${hi}}:host([appearance='outline']) .control{--control-border-color:${Le}}:host([appearance='outline']) .control:hover{--control-border-color:${Lt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:hover::before{background-color:${mt}}:host([appearance='outline']) .control:hover::after{background-color:${Ht}}:host([appearance='outline']) .control:active{--control-border-color:${ko}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::before{background-color:${vt}}:host(:where([appearance='outline'],[appearance='transparent'])) .control:active::after{background-color:${Vt}}:host([appearance='filled-darker']) .control{background-color:${$o}}:host(:where([appearance='filled-lighter'],[appearance='filled-darker'])) .control{--control-border-color:${X}}:host(:disabled),:host(:disabled) ::slotted(:where(button,input)){cursor:not-allowed}:host(:disabled) .control::before,:host(:disabled) .control::after{content:none}:host(:disabled) .control:is(*,:active,:hover),:host(:disabled) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){--control-border-color:${Ce};background-color:${it};color:${S}}::slotted([popover]:not(:popover-open)){display:none}@supports not (anchor-name:--anchor){:host{--listbox-max-height:50vh;--margin-offset:calc(${A} + (${je} * 2) + ${P})}:host([size='small']){--margin-offset:calc(${q} + (${qt} * 2) + ${P})}:host([size='large']){--margin-offset:calc(${$e} + (${V} * 2) + ${P})}}@media (forced-colors:active){:host(:disabled) .control{border-color:GrayText}:host(:disabled) :where(slot[name='indicator'] > *,::slotted([slot='indicator'])){color:GrayText}`,gp=Hr.compose({name:`${p.prefix}-dropdown`,template:lp,styles:bp});gp.define(p.registry);const fp={above:"above",after:"after",before:"before"},ze={badInput:"bad-input",customError:"custom-error",patternMismatch:"pattern-mismatch",rangeOverflow:"range-overflow",rangeUnderflow:"range-underflow",stepMismatch:"step-mismatch",tooLong:"too-long",tooShort:"too-short",typeMismatch:"type-mismatch",valueMissing:"value-missing",valid:"valid"};var mp=Object.defineProperty,vp=Object.getOwnPropertyDescriptor,_i=(o,e,t,i)=>{for(var r=i>1?void 0:i?vp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&mp(e,t,r),r};class zo extends ${constructor(){super(),this.labelSlot=[],this.elementInternals=this.attachInternals(),this.elementInternals.role="presentation"}labelSlotChanged(e,t){t&&this.input&&(this.setLabelProperties(),this.setStates())}messageSlotChanged(e,t){y(this.elementInternals,"has-message",!!t.length)}slottedInputsChanged(e,t){const i=t?.filter(r=>r.nodeType===Node.ELEMENT_NODE)??[];i?.length&&(this.input=i?.[0])}inputChanged(e,t){t&&(this.setStates(),this.setLabelProperties(),this.slottedInputObserver.observe(this.input,{attributes:!0,attributeFilter:["disabled","required","readonly"],subtree:!0}))}changeHandler(e){return this.setStates(),this.setValidationStates(),!0}clickHandler(e){return this===e.target&&this.input.click(),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("invalid",this.invalidHandler,{capture:!0}),this.slottedInputObserver=new MutationObserver(()=>{this.setStates()})}disconnectedCallback(){this.slottedInputObserver.disconnect(),this.removeEventListener("invalid",this.invalidHandler,{capture:!0}),super.disconnectedCallback()}focusinHandler(e){return this.matches(":focus-within:has(> :focus-visible)")&&y(this.elementInternals,"focus-visible",!0),!0}focusoutHandler(e){return y(this.elementInternals,"focus-visible",!1),!0}invalidHandler(e){this.messageSlot.length&&e.preventDefault(),this.setValidationStates()}setLabelProperties(){this.$fastController.isConnected&&(this.input.id=this.input.id||Ft("input"),this.labelSlot?.forEach(e=>{e instanceof HTMLLabelElement&&(e.htmlFor=e.htmlFor||this.input.id,e.id=e.id||`${this.input.id}--label`,this.input.setAttribute("aria-labelledby",e.id))}))}setStates(){this.elementInternals&&this.input&&(y(this.elementInternals,"disabled",!!this.input.disabled),y(this.elementInternals,"readonly",!!this.input.readOnly),y(this.elementInternals,"required",!!this.input.required),y(this.elementInternals,"checked",!!this.input.checked))}setValidationStates(){if(this.input?.validity)for(const[e,t]of Object.entries(ze))y(this.elementInternals,t,this.input.validity[e])}}_i([g],zo.prototype,"labelSlot",2),_i([g],zo.prototype,"messageSlot",2),_i([g],zo.prototype,"slottedInputs",2),_i([g],zo.prototype,"input",2);var $p=Object.defineProperty,yp=Object.getOwnPropertyDescriptor,xp=(o,e,t,i)=>{for(var r=i>1?void 0:i?yp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&$p(e,t,r),r};class pa extends zo{constructor(){super(...arguments),this.labelPosition=fp.above}}xp([a({attribute:"label-position"})],pa.prototype,"labelPosition",2);const kp=u`
427
+ ${k("inline-grid")}
428
+
429
+ :host{color:${T};align-items:center;gap:0 ${le};justify-items:start}:has([slot='message']){color:${T};row-gap:${V}}:not(::slotted([slot='label'])){gap:0}:host([label-position='before']){grid-template-areas:'label input' 'label message'}:host([label-position='after']){gap:0;grid-template-areas:'input label' 'message message';grid-template-columns:auto 1fr}:host([label-position='after']) ::slotted([slot='input']){margin-inline-end:${le}}:host([label-position='above']){grid-template-areas:'label' 'input' 'message';row-gap:${Rt}}:host([label-position='below']){grid-template-areas:'input' 'label' 'message';justify-items:center}:host([label-position='below']) ::slotted([slot='label']){margin-block-start:${Cd}}:host(${Jh}) ::slotted([slot='label'])::after{content:'*' / '';color:${vr};margin-inline-start:${ne}}::slotted([slot='input']){grid-area:input}::slotted([slot='message']){color:${Z};font-family:${v};font-size:${F};font-weight:${_};grid-area:message;line-height:${q};margin-block-start:${Rt}}:host(${Uh}:focus-within){border-radius:${C};outline:${ye} solid ${me}}::slotted(label),::slotted([slot='label']){cursor:inherit;display:inline-flex;font-family:${v};font-size:${B};font-weight:${_};grid-area:label;line-height:${A};justify-self:stretch;user-select:none}:host([size='small']) ::slotted(label){font-size:${F};line-height:${q}}:host([size='large']) ::slotted(label){font-size:${he};line-height:${$e}}:host([size='large']) ::slotted(label),:host([weight='semibold']) ::slotted(label){font-weight:${D}}:host(${xe}){cursor:default}::slotted([flag]){display:none}:host(${Rh}) ::slotted([flag='${ze.badInput}']),:host(${qh}) ::slotted([flag='${ze.customError}']),:host(${Kh}) ::slotted([flag='${ze.patternMismatch}']),:host(${Qh}) ::slotted([flag='${ze.rangeOverflow}']),:host(${Zh}) ::slotted([flag='${ze.rangeUnderflow}']),:host(${eu}) ::slotted([flag='${ze.stepMismatch}']),:host(${tu}) ::slotted([flag='${ze.tooLong}']),:host(${ou}) ::slotted([flag='${ze.tooShort}']),:host(${iu}) ::slotted([flag='${ze.typeMismatch}']),:host(${nu}) ::slotted([flag='${ze.valueMissing}']),:host(${su}) ::slotted([flag='${ze.valid}']){display:block}`,wp=b`<template @click="${(o,e)=>o.clickHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" @focusin="${(o,e)=>o.focusinHandler(e.event)}" @focusout="${(o,e)=>o.focusoutHandler(e.event)}"><slot name="label" part="label" ${G("labelSlot")}></slot><slot name="input" part="input" ${G("slottedInputs")}></slot><slot name="message" part="message" ${G({property:"messageSlot",filter:lo("[flag]")})}></slot></template>`,Cp=pa.compose({name:`${p.prefix}-field`,template:wp,styles:kp,shadowOptions:{delegatesFocus:!0}});Cp.define(p.registry);var Sp=Object.defineProperty,Ip=Object.getOwnPropertyDescriptor,To=(o,e,t,i)=>{for(var r=i>1?void 0:i?Ip(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Sp(e,t,r),r};class Zt extends ${}To([a({mode:"boolean"})],Zt.prototype,"block",2),To([a({mode:"boolean"})],Zt.prototype,"bordered",2),To([a({mode:"boolean"})],Zt.prototype,"shadow",2),To([a],Zt.prototype,"fit",2),To([a],Zt.prototype,"shape",2);const Pp=b`<slot></slot>`,zp=u`
430
+ :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:${P} solid ${wo}}: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:${fi}}:host([shape='circular']) ::slotted(img){border-radius:${ve}}:host([shape='rounded']) ::slotted(img){border-radius:${C}}`,Tp=Zt.compose({name:`${p.prefix}-image`,template:Pp,styles:zp});Tp.define(p.registry);var Bp=Object.defineProperty,Op=Object.getOwnPropertyDescriptor,Ai=(o,e,t,i)=>{for(var r=i>1?void 0:i?Op(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Bp(e,t,r),r};class Bo extends ${constructor(){super(...arguments),this.disabled=!1,this.required=!1}}Ai([a],Bo.prototype,"size",2),Ai([a],Bo.prototype,"weight",2),Ai([a({mode:"boolean"})],Bo.prototype,"disabled",2),Ai([a({mode:"boolean"})],Bo.prototype,"required",2);const _p=u`
431
+ ${k("inline-flex")}
432
+
433
+ :host{color:${T};cursor:pointer;font-family:${v};font-size:${B};font-weight:${_};line-height:${A};user-select:none}.asterisk{color:${vr};margin-inline-start:${ne}}:host([size='small']){font-size:${F};line-height:${q}}:host([size='large']){font-size:${he};line-height:${$e}}:host(:is([size='large'],[weight='semibold'])){font-weight:${D}}:host([disabled]),:host([disabled]) .asterisk{color:${S}}`;function Ap(){return b`<slot></slot><span part="asterisk" class="asterisk" aria-hidden="true" ?hidden="${o=>!o.required}">*</span>`}const Ep=Ap(),Np=Bo.compose({name:`${p.prefix}-label`,template:Ep,styles:_p});Np.define(p.registry);var Fp=Object.defineProperty,Mp=Object.getOwnPropertyDescriptor,ba=(o,e,t,i)=>{for(var r=i>1?void 0:i?Mp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Fp(e,t,r),r};class Vr extends Re{constructor(){super(...arguments),this.inline=!1}}ba([a],Vr.prototype,"appearance",2),ba([a({mode:"boolean"})],Vr.prototype,"inline",2);const Dp=u`
434
+ ${k("inline")}
435
+
436
+ :host{position:relative;box-sizing:border-box;background-color:transparent;color:${El};cursor:pointer;font-family:${v};font-size:${B};font-weight:${_};overflow:inherit;text-align:start;text-decoration:none;text-decoration-thickness:${P};text-overflow:inherit;user-select:text}:host(:is(:hover,:focus-visible)){outline:none;text-decoration-line:underline}@media (hover:hover){:host(:hover){color:${Nl}}:host(:active){color:${Fl}}:host([appearance='subtle']:hover){color:${Dl}}:host([appearance='subtle']:active){color:${Hl}}}:host([appearance='subtle']){color:${Ml}}:host-context(:is(h1,h2,h3,h4,h5,h6,p,fluent-text)),:host([inline]){font:inherit;text-decoration:underline}:host(:not([href])){color:inherit;text-decoration:none}::slotted(a){position:absolute;inset:0}`.withBehaviors(U(u`
437
+ :host{color:LinkText}`));function Hp(){return b`<template tabindex="0" @click="${(o,e)=>o.clickHandler(e.event)}" @keydown="${(o,e)=>o.keydownHandler(e.event)}"><slot></slot></template>`}const Vp=Hp(),Lp=Vr.compose({name:`${p.prefix}-link`,template:Vp,styles:Dp});Lp.define(p.registry);var jp=Object.defineProperty,Rp=Object.getOwnPropertyDescriptor,Oo=(o,e,t,i)=>{for(var r=i>1?void 0:i?Rp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&jp(e,t,r),r};class Jt extends ${constructor(){super(),this.id=Qt("listbox-"),this.elementInternals=this.attachInternals(),this.elementInternals.role="listbox"}multipleChanged(e,t){this.elementInternals.ariaMultiSelectable=t?"true":"false",y(this.elementInternals,"multiple",t),ie.enqueue(()=>{this.options.forEach(i=>{i.multiple=!!t})})}optionsChanged(e,t){t?.forEach((i,r)=>{i.elementInternals.ariaPosInSet=`${r+1}`,i.elementInternals.ariaSetSize=`${t.length}`})}beforetoggleHandler(e){if(!this.dropdown)return!0;if(this.dropdown.disabled){this.dropdown.open=!1;return}return this.dropdown.open=e.newState==="open",!0}get enabledOptions(){return this.options?.filter(e=>!e.disabled)??[]}get selectedOptions(){return this.options?.filter(e=>e.selected)??[]}clickHandler(e){if(this.dropdown)return!0;const t=e.target;return Oi(t)&&this.selectOption(this.enabledOptions.indexOf(t)),!0}handleChange(e,t){if(t==="multiple"){this.multiple=e.multiple;return}}selectOption(e=this.selectedIndex){let t=this.selectedIndex;if(!this.multiple)this.enabledOptions.forEach((i,r)=>{const s=r===e;i.selected=s,s&&(t=r)});else{const i=this.enabledOptions[e];i&&(i.selected=!i.selected),t=e}this.selectedIndex=t}slotchangeHandler(e){const t=e.target;ha(this,()=>{const i=t.assignedElements().filter(r=>Oi(r));this.options=i})}}Oo([a({attribute:"id",mode:"fromView"})],Jt.prototype,"id",2),Oo([g],Jt.prototype,"multiple",2),Oo([g],Jt.prototype,"options",2),Oo([g],Jt.prototype,"selectedIndex",2),Oo([g],Jt.prototype,"dropdown",2);const qp=u`
438
+ ${k("inline-flex")}
439
+
440
+ :host{background-color:${I};border-radius:${C};border:${P} solid ${X};box-shadow:${xr};box-sizing:border-box;flex-direction:column;margin:0;min-width:160px;padding:${ne};row-gap:${H};width:auto}:host([popover]){inset:unset;overflow:auto}@supports (anchor-name:--anchor){:host([popover]){position:absolute;margin-block-start:0;max-height:var(--listbox-max-height,calc(50vh - anchor-size(self-block)));min-width:anchor-size(width);position-anchor:--dropdown;position-area:block-end span-inline-end;position-try-fallbacks:flip-inline,flip-block,--flip-block,block-start}@position-try --flip-block{bottom:anchor(top);top:unset}}@supports not (anchor-name:--anchor){:host([popover]){margin-block-start:var(--margin-offset,0);max-height:var(--listbox-max-height,50vh);position:fixed}:host([popover]${Gh}){margin-block-start:revert;translate:0 -100%}}`;function Wp(){return b`<template id="${o=>o.id}" @beforetoggle="${(o,e)=>o.beforetoggleHandler(e.event)}" @click="${(o,e)=>o.clickHandler(e.event)}"><slot @slotchange="${(o,e)=>o.slotchangeHandler(e.event)}"></slot></template>`}const Gp=Wp(),Up=Jt.compose({name:`${p.prefix}-listbox`,template:Gp,styles:qp});Up.define(p.registry);class Xp extends Ye{}const Kp=Ar({end:b.partial(`
441
+ <svg slot="end" fill="currentColor" aria-hidden="true" width="1em" height="1em" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
442
+ <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>
443
+ </svg>
444
+ `)}),Yp=Xp.compose({name:`${p.prefix}-menu-button`,template:Kp,styles:Ci});Yp.define(p.registry);const ee={menuitem:"menuitem",menuitemcheckbox:"menuitemcheckbox",menuitemradio:"menuitemradio"};ee.menuitem+"",ee.menuitemcheckbox+"",ee.menuitemradio+"";function Qp(o,e="-menu-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}var Zp=Object.defineProperty,Jp=Object.getOwnPropertyDescriptor,eo=(o,e,t,i)=>{for(var r=i>1?void 0:i?Jp(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Zp(e,t,r),r};class Qe extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.role=ee.menuitem,this.checked=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1;switch(e.key){case fo:case Jo:return this.invoke(),!1;case po:return this.disabled||(this.submenu?.togglePopover(!0),this.submenu?.focus()),!1;case uo:return this.parentElement?.hasAttribute("popover")&&(this.parentElement.togglePopover(!1),this.parentElement.parentElement?.focus()),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.handleMouseOver=e=>(this.disabled||this.submenu?.togglePopover(!0),!1),this.handleMouseOut=e=>(this.contains(document.activeElement)||this.submenu?.togglePopover(!1),!1),this.toggleHandler=e=>{e instanceof ToggleEvent&&e.newState==="open"&&(this.setAttribute("tabindex","-1"),this.elementInternals.ariaExpanded="true",this.setSubmenuPosition()),e instanceof ToggleEvent&&e.newState==="closed"&&(this.elementInternals.ariaExpanded="false",this.setAttribute("tabindex","0"))},this.invoke=()=>{if(!this.disabled)switch(this.role){case ee.menuitemcheckbox:this.checked=!this.checked;break;case ee.menuitem:if(this.submenu){this.submenu.togglePopover(!0),this.submenu.focus();break}this.$emit("change");break;case ee.menuitemradio:this.checked||(this.checked=!0);break}},this.setSubmenuPosition=()=>{if(!CSS.supports("anchor-name","--anchor")&&this.submenu){const e=this.getBoundingClientRect(),t=this.submenu.getBoundingClientRect(),i=getComputedStyle(this).direction==="ltr"?"right":"left";if(e.width+t.width>window.innerWidth*.75){this.submenu.style.translate="0 -100%";return}if(e[i]+t.width>window.innerWidth){this.submenu.style.translate="-100% 0";return}this.submenu.style.translate=`${e.width-8}px 0`}}}disabledChanged(e,t){this.elementInternals.ariaDisabled=t?`${t}`:null,y(this.elementInternals,"disabled",t)}roleChanged(e,t){this.elementInternals.role=t??ee.menuitem}checkedChanged(e,t){const i=this.role!==ee.menuitem;this.elementInternals.ariaChecked=i?`${!!t}`:null,y(this.elementInternals,"checked",i?t:!1),this.$fastController.isConnected&&this.$emit("change",t,{bubbles:!0})}slottedSubmenuChanged(e,t){this.submenu?.removeEventListener("toggle",this.toggleHandler),t.length?(this.submenu=t[0],this.submenu.toggleAttribute("popover",!0),this.submenu.addEventListener("toggle",this.toggleHandler),this.elementInternals.ariaHasPopup="menu",y(this.elementInternals,"submenu",!0)):(this.elementInternals.ariaHasPopup=null,y(this.elementInternals,"submenu",!1))}connectedCallback(){super.connectedCallback(),this.elementInternals.role=this.role??ee.menuitem,this.elementInternals.ariaChecked=this.role!==ee.menuitem?`${!!this.checked}`:null}}eo([a({mode:"boolean"})],Qe.prototype,"disabled",2),eo([a],Qe.prototype,"role",2),eo([a({mode:"boolean"})],Qe.prototype,"checked",2),eo([a({mode:"boolean"})],Qe.prototype,"hidden",2),eo([g],Qe.prototype,"slottedSubmenu",2),eo([g],Qe.prototype,"submenu",2),Xe(Qe,Ue);const eb=u`
445
+ ${k("grid")}
446
+
447
+ :host{--indent:0;align-items:center;background:${I};border-radius:${C};color:${Ie};contain:layout;cursor:pointer;flex-shrink:0;font:${_} ${B} / ${A} ${v};grid-gap:4px;grid-template-columns:20px 20px auto 20px;height:32px;overflow:visible;padding:0 10px}:host(:hover){background:${ai};color:${Mt}}:host(:active){background-color:${an};color:${Dt}}:host(:active) ::slotted([slot='start']){color:${Vl}}:host(${xe}){background-color:${it};color:${S}}:host(${xe}) ::slotted([slot='start']),:host(${xe}) ::slotted([slot='end']){color:${S}}:host(:focus-visible){border-radius:${C};outline:2px solid ${me}}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}:host(:not(${x})) .indicator,:host(:not(${x})) ::slotted([slot='indicator']),:host(:not(${zi})) .submenu-glyph,:host(:not(${zi})) ::slotted([slot='submenu-glyph']){display:none}::slotted([slot='end']){color:${Z};font:${_} ${F} / ${q} ${v};white-space:nowrap}:host([data-indent='1']){--indent:1}:host([data-indent='2']){--indent:2;grid-template-columns:20px 20px auto auto}:host(${zi}){grid-template-columns:20px auto auto 20px}:host([data-indent='2']${zi}){grid-template-columns:20px 20px auto auto 20px}.indicator,::slotted([slot='indicator']){grid-column:1 / span 1;width:20px}::slotted([slot='start']){display:inline-flex;grid-column:calc(var(--indent)) / span 1}.content{grid-column:calc(var(--indent) + 1) / span 1}::slotted([slot='end']){grid-column:calc(var(--indent) + 2) / span 1;justify-self:end}.submenu-glyph,::slotted([slot='submenu-glyph']){grid-column:-2 / span 1;justify-self:end}@layer popover{:host{anchor-name:--menu-trigger;position:relative}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position:absolute;position-anchor:--menu-trigger;position-area:inline-end span-block-end;position-try-fallbacks:flip-inline,block-start,block-end;z-index:1}::slotted([popover]:not(:popover-open)){display:none}::slotted([popover]:popover-open){inset:unset}@supports not (anchor-name:--menu-trigger){::slotted([popover]){align-self:start}}}`.withBehaviors(U(u`
448
+ :host(${xe}),:host(${xe}) ::slotted([slot='start']),:host(${xe}) ::slotted([slot='end']){color:GrayText}`)),tb=b.partial('<svg class="indicator" fill="currentColor" 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>'),ob=b.partial('<svg class="submenu-glyph" fill="currentColor" 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>');function ib(o={}){return b`<template @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)}" @toggle="${(e,t)=>e.toggleHandler(t.event)}"><slot name="indicator">${ge(o.indicator)}</slot>${He(o)}<div part="content" class="content"><slot></slot></div>${tt(o)}<slot name="submenu-glyph">${ge(o.submenuGlyph)}</slot><slot name="submenu" ${G({property:"slottedSubmenu"})}></slot></template>`}const rb=ib({indicator:tb,submenuGlyph:ob}),sb=Qe.compose({name:`${p.prefix}-menu-item`,template:rb,styles:eb});sb.define(p.registry);var nb=Object.defineProperty,ab=Object.getOwnPropertyDescriptor,lb=(o,e,t,i)=>{for(var r=i>1?void 0:i?ab(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&nb(e,t,r),r};const Lr=class ts extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.focusIndex=-1,this.isNestedMenu=()=>this.parentElement!==null&&cr(this.parentElement)&&this.parentElement.getAttribute("role")==="menuitem",this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&this.menuItems!==void 0){const t=this.menuItems.findIndex(this.isFocusableElement);this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=e=>{const t=e.target;this.menuItems!==void 0&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.changedMenuItemHandler=e=>{if(this.menuItems===void 0)return;const t=e.target,i=this.menuItems.indexOf(t);if(i!==-1&&t.role==="menuitemradio"&&t.checked===!0){for(let s=i-1;s>=0;--s){const n=this.menuItems[s],c=n.getAttribute("role");if(c===ee.menuitemradio&&(n.checked=!1),c==="separator")break}const r=this.menuItems.length-1;for(let s=i+1;s<=r;++s){const n=this.menuItems[s],c=n.getAttribute("role");if(c===ee.menuitemradio&&(n.checked=!1),c==="separator")break}}},this.isMenuItemElement=e=>Qp(e)||cr(e)&&e.getAttribute("role")in ts.focusableElementRoles,this.isFocusableElement=e=>this.isMenuItemElement(e),this.elementInternals.role="menu"}itemsChanged(e,t){this.$fastController.isConnected&&this.menuItems!==void 0&&this.setItems()}connectedCallback(){super.connectedCallback(),ie.enqueue(()=>{this.setItems()}),this.addEventListener("change",this.changedMenuItemHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changedMenuItemHandler)}focus(){this.setFocus(0,1)}handleMenuKeyDown(e){if(!(e.defaultPrevented||this.menuItems===void 0))switch(e.key){case ho:this.setFocus(this.focusIndex+1,1);return;case bo:this.setFocus(this.focusIndex-1,-1);return;case go:this.setFocus(this.menuItems.length-1,-1);return;case mo:this.setFocus(0,1);return;default:return!0}}removeItemListeners(e=this.items){e.forEach(t=>{t.removeEventListener("focus",this.handleItemFocus),m.getNotifier(t).unsubscribe(this,"hidden")})}static elementIndent(e){const t=e.getAttribute("role"),i=e.querySelector("[slot=start]");return t&&t!==ee.menuitem?i?2:1:i?1:0}setItems(){const e=Array.from(this.children);this.removeItemListeners(e),e.forEach(n=>m.getNotifier(n).subscribe(this,"hidden"));const t=e.filter(n=>!n.hasAttribute("hidden"));this.menuItems=t;const i=this.menuItems.filter(this.isMenuItemElement);i.length&&(this.focusIndex=0),i.forEach((n,c)=>{n.setAttribute("tabindex",c===0?"0":"-1"),n.addEventListener("focus",this.handleItemFocus)});const r=this.menuItems?.filter(this.isMenuItemElement),s=r?.reduce((n,c)=>{const h=ts.elementIndent(c);return Math.max(n,h)},0);r?.forEach(n=>{n.dataset.indent=`${s}`})}handleChange(e,t){t==="hidden"&&this.setItems()}setFocus(e,t){if(this.menuItems!==void 0)for(;e>=0&&e<this.menuItems.length;){const i=this.menuItems[e];if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,i.setAttribute("tabindex","0"),i.focus();break}e+=t}}};Lr.focusableElementRoles=ee,lb([g],Lr.prototype,"items",2);let cb=Lr;const db=u`
449
+ ${k("flex")}
450
+
451
+ :host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:${I};border:1px solid ${X};border-radius:${C};box-shadow:${xr};padding:4px;row-gap:2px}`;function hb(){return b`<template slot="${o=>o.slot?o.slot:o.isNestedMenu()?"submenu":void 0}" @keydown="${(o,e)=>o.handleMenuKeyDown(e.event)}" @focusout="${(o,e)=>o.handleFocusOut(e.event)}"><slot ${G("items")}></slot></template>`}const ub=hb(),pb=cb.compose({name:`${p.prefix}-menu-list`,template:ub,styles:db});pb.define(p.registry);var bb=Object.defineProperty,gb=Object.getOwnPropertyDescriptor,ct=(o,e,t,i)=>{for(var r=i>1?void 0:i?gb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&bb(e,t,r),r};class Ze extends ${constructor(){super(...arguments),this.slottedMenuList=[],this.slottedTriggers=[],this._open=!1,this.toggleMenu=()=>{this._menuList?.togglePopover(!this._open)},this.closeMenu=e=>{e?.target instanceof Qe&&(e.target.getAttribute("role")===ee.menuitemcheckbox||e.target.getAttribute("role")===ee.menuitemradio)||(this._menuList?.togglePopover(!1),this.closeOnScroll&&document.removeEventListener("scroll",this.closeMenu))},this.openMenu=e=>{this._menuList?.togglePopover(!0),e&&this.openOnContext&&e.preventDefault(),this.closeOnScroll&&document.addEventListener("scroll",this.closeMenu)},this.toggleHandler=e=>{if(e.type==="toggle"&&e.newState){const t=e.newState==="open";this._trigger?.setAttribute("aria-expanded",`${t}`),this._open=t,this._open&&this.focusMenuList()}},this.triggerKeydownHandler=e=>{if(e.defaultPrevented)return;switch(e.key){case Jo:case fo:e.preventDefault(),this.toggleMenu();break;default:return!0}},this.documentClickHandler=e=>{e.composedPath().some(t=>t===this._trigger||t===this._menuList)||this.closeMenu()}}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>{this.setComponent()})}disconnectedCallback(){super.disconnectedCallback(),this.removeListeners()}setComponent(){this.$fastController.isConnected&&this.slottedMenuList.length&&this.slottedTriggers.length&&(this._trigger=this.slottedTriggers[0],this._menuList=this.slottedMenuList[0],this._trigger.setAttribute("aria-haspopup","true"),this._trigger.setAttribute("aria-expanded",`${this._open}`),this._menuList.setAttribute("popover",this.openOnContext?"manual":""),this.addListeners())}focusMenuList(){ie.enqueue(()=>{this._menuList.focus()})}focusTrigger(){ie.enqueue(()=>{this._trigger.focus()})}openOnHoverChanged(e,t){t?this._trigger?.addEventListener("mouseover",this.openMenu):this._trigger?.removeEventListener("mouseover",this.openMenu)}persistOnItemClickChanged(e,t){t?this._menuList?.removeEventListener("change",this.closeMenu):this._menuList?.addEventListener("change",this.closeMenu)}openOnContextChanged(e,t){t?this._trigger?.addEventListener("contextmenu",this.openMenu):this._trigger?.removeEventListener("contextmenu",this.openMenu)}closeOnScrollChanged(e,t){t?document.addEventListener("scroll",this.closeMenu):document.removeEventListener("scroll",this.closeMenu)}addListeners(){this._menuList?.addEventListener("toggle",this.toggleHandler),this._trigger?.addEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.addEventListener("change",this.closeMenu),this.openOnHover?this._trigger?.addEventListener("mouseover",this.openMenu):this.openOnContext?(this._trigger?.addEventListener("contextmenu",this.openMenu),document.addEventListener("click",this.documentClickHandler)):this._trigger?.addEventListener("click",this.toggleMenu)}removeListeners(){this._menuList?.removeEventListener("toggle",this.toggleHandler),this._trigger?.removeEventListener("keydown",this.triggerKeydownHandler),this.persistOnItemClick||this._menuList?.removeEventListener("change",this.closeMenu),this.openOnHover&&this._trigger?.removeEventListener("mouseover",this.openMenu),this.openOnContext?(this._trigger?.removeEventListener("contextmenu",this.openMenu),document.removeEventListener("click",this.documentClickHandler)):this._trigger?.removeEventListener("click",this.toggleMenu)}menuKeydownHandler(e){if(e.defaultPrevented)return;switch(e.key){case vl:e.preventDefault(),this._open&&(this.closeMenu(),this.focusTrigger());break;case $l:if(this._open&&this.closeMenu(),e.shiftKey&&e.composedPath()[0]!==this._trigger&&e.composedPath()[0].assignedSlot!==this.primaryAction)this.focusTrigger();else if(e.shiftKey)return!0;default:return!0}}}ct([a({attribute:"open-on-hover",mode:"boolean"})],Ze.prototype,"openOnHover",2),ct([a({attribute:"open-on-context",mode:"boolean"})],Ze.prototype,"openOnContext",2),ct([a({attribute:"close-on-scroll",mode:"boolean"})],Ze.prototype,"closeOnScroll",2),ct([a({attribute:"persist-on-item-click",mode:"boolean"})],Ze.prototype,"persistOnItemClick",2),ct([a({mode:"boolean"})],Ze.prototype,"split",2),ct([g],Ze.prototype,"slottedMenuList",2),ct([g],Ze.prototype,"slottedTriggers",2),ct([g],Ze.prototype,"primaryAction",2);const fb=u`
452
+ ${k("inline-block")}
453
+
454
+ ::slotted([slot='trigger']){anchor-name:--menu-trigger}::slotted([popover]){margin:0;max-height:var(--menu-max-height,auto);position-anchor:--menu-trigger;position-area:block-end span-inline-end;position-try-fallbacks:flip-block;position:absolute;z-index:1}:host([split]) ::slotted([popover]){position-area:block-end span-inline-start}::slotted([popover]:popover-open){inset:unset}::slotted([popover]:not(:popover-open)){display:none}:host([split]){display:inline-flex}:host([split]) ::slotted([slot='primary-action']){border-inline-end:${P} solid ${Le};border-start-end-radius:0;border-end-end-radius:0}:host([split]) ::slotted([slot='primary-action']:focus-visible){z-index:1}:host([split]) ::slotted([slot='primary-action'][appearance='primary']){border-inline-end:${P} solid white}:host([split]) ::slotted([slot='trigger']){border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}`;function mb(){return b`<template ?open-on-hover="${o=>o.openOnHover}" ?open-on-context="${o=>o.openOnContext}" ?close-on-scroll="${o=>o.closeOnScroll}" ?persist-on-item-click="${o=>o.persistOnItemClick}" @keydown="${(o,e)=>o.menuKeydownHandler(e.event)}"><slot name="primary-action" ${E("primaryAction")}></slot><slot name="trigger" ${G({property:"slottedTriggers",filter:lo()})}></slot><slot ${G({property:"slottedMenuList",filter:lo()})}></slot></template>`}const vb=mb(),$b=Ze.compose({name:`${p.prefix}-menu`,template:vb,styles:fb});$b.define(p.registry);var yb=Object.defineProperty,xb=Object.getOwnPropertyDescriptor,jr=(o,e,t,i)=>{for(var r=i>1?void 0:i?xb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&yb(e,t,r),r};class Ei extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.dismissMessageBar=()=>{this.$emit("dismiss",{})},this.elementInternals.role="status"}}jr([a],Ei.prototype,"shape",2),jr([a],Ei.prototype,"layout",2),jr([a],Ei.prototype,"intent",2);const kb=u`
455
+ :host{display:grid;box-sizing:border-box;font-family:${v};font-size:${F};line-height:${q};width:100%;background:${$o};border:1px solid ${Le};padding-inline:${le};border-radius:${C};min-height:36px;align-items:center;grid-template:'icon body actions dismiss' / auto 1fr auto auto;contain:layout style paint}:host([shape='square']){border-radius:0}:host([intent='success']){background-color:${Cn};border-color:${rc}}:host([intent='warning']){background-color:${In};border-color:${zn}}:host([intent='error']){background-color:${yn};border-color:${kn}}:host([layout='multiline']){grid-template-areas:'icon body dismiss'
456
+ 'actions actions actions';grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;padding-block:${Wt};padding-inline:${le}}.content{grid-area:body;max-width:520px;padding-block:${Wt};padding-inline:0}:host([layout='multiline']) .content{padding:0}::slotted([slot='icon']){display:flex;grid-area:icon;flex-direction:column;align-items:center;color:${Z};margin-inline-end:${Oe}}:host([layout='multiline']) ::slotted([slot='icon']){align-items:start;height:100%}::slotted([slot='dismiss']){grid-area:dismiss}.actions{grid-area:actions;display:flex;justify-self:end;margin-inline-end:${Oe};gap:${Oe}}:host([layout='multiline']) .actions{margin-block-start:${Wt};margin-inline-end:0}:host([layout='multiline']) ::slotted([slot='dismiss']){align-items:start;height:100%;padding-block-start:${V}}::slotted(*){font-size:inherit}`;function wb(){return b`<slot name="icon"></slot><div class="content"><slot></slot></div><div class="actions"><slot name="actions"></slot></div><slot name="dismiss"></slot>`}const Cb=wb(),Sb=Ei.compose({name:`${p.prefix}-message-bar`,template:Cb,styles:kb,shadowOptions:{mode:p.shadowRootMode}});Sb.define(p.registry);var Ib=Object.defineProperty,Pb=Object.getOwnPropertyDescriptor,ke=(o,e,t,i)=>{for(var r=i>1?void 0:i?Pb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Ib(e,t,r),r};class ce extends ${constructor(){super(),this.active=!1,this.id=Qt("option-"),this.initialValue="",this.multiple=!1,this.elementInternals=this.attachInternals(),this._value=this.initialValue,this.elementInternals.role="option"}activeChanged(e,t){y(this.elementInternals,"active",t)}currentSelectedChanged(e,t){this.selected=!!t}defaultSelectedChanged(e,t){this.selected=!!t}descriptionSlotChanged(e,t){y(this.elementInternals,"description",!!t?.length)}disabledChanged(e,t){this.elementInternals.ariaDisabled=this.disabled?"true":"false",y(this.elementInternals,"disabled",this.disabled),this.setFormValue(!this.disabled&&this.selected?this.value:null)}disabledAttributeChanged(e,t){this.disabled=!!t}initialValueChanged(e,t){this._value=t}multipleChanged(e,t){y(this.elementInternals,"multiple",t),this.selected=!1}get form(){return this.elementInternals.form}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}get selected(){return m.track(this,"selected"),!!this.currentSelected}set selected(e){this.currentSelected=e,ie.enqueue(()=>{this.$fastController.isConnected&&(this.setFormValue(e?this.value:null),this.elementInternals.ariaSelected=e?"true":"false",y(this.elementInternals,"selected",e))}),m.notify(this,"selected")}get text(){return this.freeform?this.value.replace(/\s+/g," ").trim():(this.textAttribute??this.textContent)?.replace(/\s+/g," ").trim()??""}get value(){return m.track(this,"value"),this._value??this.text}set value(e){this._value=e,this.$fastController.isConnected&&(this.setFormValue(this.selected?e:null),this.freeformOutputs?.forEach(t=>{t.value=e}),m.notify(this,"value"))}connectedCallback(){super.connectedCallback(),this.freeform&&(this.value="",this.hidden=!0,this.selected=!1)}setFormValue(e,t){if(this.disabled){this.elementInternals.setFormValue(null);return}this.elementInternals.setFormValue(e,e??t)}toggleSelected(e=!this.selected){this.selected=e}}ce.formAssociated=!0,ke([g],ce.prototype,"active",2),ke([a({attribute:"current-selected",mode:"boolean"})],ce.prototype,"currentSelected",2),ke([a({attribute:"selected",mode:"boolean"})],ce.prototype,"defaultSelected",2),ke([g],ce.prototype,"descriptionSlot",2),ke([g],ce.prototype,"disabled",2),ke([a({attribute:"disabled",mode:"boolean"})],ce.prototype,"disabledAttribute",2),ke([a({attribute:"form"})],ce.prototype,"formAttribute",2),ke([a({mode:"boolean"})],ce.prototype,"freeform",2),ke([a({attribute:"id"})],ce.prototype,"id",2),ke([a({attribute:"value",mode:"fromView"})],ce.prototype,"initialValue",2),ke([g],ce.prototype,"multiple",2),ke([a],ce.prototype,"name",2),ke([g],ce.prototype,"start",2),ke([a({attribute:"text",mode:"fromView"})],ce.prototype,"textAttribute",2);const zb=u`
457
+ ${k("inline-grid")}
458
+
459
+ :host{-webkit-tap-highlight-color:transparent;${ia}
460
+ align-items:center;background-color:${I};border-radius:${C};box-sizing:border-box;color:${Ie};column-gap:${ne};cursor:pointer;grid-template-areas:'indicator start content';grid-template-columns:auto auto 1fr;min-height:32px;padding:${J};text-align:start}.content{grid-area:content;line-height:1}::slotted([slot='start']){grid-area:start}:host(:hover){background-color:${ai};color:${Mt}}:host(:active){background-color:${br};color:${Dt}}:host(:disabled){background-color:${I};color:${S};cursor:default}.checkmark-16-filled{fill:currentColor;width:16px}slot[name='checked-indicator'] > *,::slotted([slot='checked-indicator']){aspect-ratio:1;flex:0 0 auto;grid-area:indicator;visibility:hidden}:host(${Nr}) :is(slot[name='checked-indicator'] > *,::slotted([slot='checked-indicator'])){visibility:visible}:host(${Kt}) .checkmark-16-filled,:host(:not(${Kt})) .checkmark-12-regular{display:none}:host(${Kt}) .checkmark-12-regular{background-color:${I};border-radius:${Be};border:${P} solid ${Ve};box-sizing:border-box;cursor:pointer;fill:transparent;position:relative;visibility:visible;width:16px}:host(${Kt}${Nr}) .checkmark-12-regular{background-color:${ft};border-color:${$t};fill:${bt}}:host(:disabled${Kt}) .checkmark-12-regular{border-color:${Ce}}:host(:disabled${Kt}${Nr}) .checkmark-12-regular{background-color:${it}}:host(${jh}){border:${ye} solid ${me}}@supports (selector(:host(:has(*)))){:host(:has([slot='start']:not([size='16']))){column-gap:${J}}}:host(${Wh}){column-gap:${J};grid-template-areas:'indicator start content'
461
+ 'indicator start description'}::slotted([slot='description']){color:${Z};grid-area:description;${ra}}@media (forced-colors:active){:host(:disabled){color:GrayText}}`,Tb=b.partial(`
462
+ <svg aria-hidden="true" class="checkmark-16-filled" viewBox="0 0 16 16">
463
+ <path
464
+ d="M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032"
465
+ />
466
+ </svg>
467
+ <svg aria-hidden="true" class="checkmark-12-regular" viewBox="0 0 12 12">
468
+ <path
469
+ d="M9.854 3.146a.5.5 0 0 1 0 .708l-4.5 4.5a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L5 7.293l4.146-4.147a.5.5 0 0 1 .708 0"
470
+ />
471
+ </svg>
472
+ `);function Bb(o={}){return b`<slot name="checked-indicator">${ge(o.checkedIndicator)}</slot>${He(o)}<div class="content" part="content"><slot ${G({property:"freeformOutputs",filter:lo("output")})}></slot></div><div class="description" part="description"><slot name="description" ${G("descriptionSlot")}></slot></div>`}const Ob=Bb({checkedIndicator:Tb}),_b=ce.compose({name:`${p.prefix}-option`,template:Ob,styles:zb});_b.define(p.registry);const Ab={success:"success",warning:"warning",error:"error"};var Eb=Object.defineProperty,Nb=Object.getOwnPropertyDescriptor,_o=(o,e,t,i)=>{for(var r=i>1?void 0:i?Nb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Eb(e,t,r),r};class to extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.validationState=null,this.elementInternals.role="progressbar"}validationStateChanged(e,t){wt(this.elementInternals,e,t,Ab)}valueChanged(e,t){this.elementInternals.ariaValueNow=typeof t=="number"?`${t}`:null,this.setIndicatorWidth()}minChanged(e,t){this.elementInternals.ariaValueMin=typeof t=="number"?`${t}`:null,this.setIndicatorWidth()}maxChanged(e,t){this.elementInternals.ariaValueMax=typeof t=="number"?`${t}`:null,this.setIndicatorWidth()}connectedCallback(){super.connectedCallback(),this.setIndicatorWidth()}setIndicatorWidth(){if(!this.$fastController.isConnected||CSS.supports("width: attr(value type(<number>))"))return;if(typeof this.value!="number"){this.indicator.style.removeProperty("width");return}const e=this.min??0,t=this.max??100,i=this.value??0,r=t-e,s=r===0?0:Math.fround((i-e)/r*100);this.indicator.style.setProperty("width",`${s}%`)}}_o([g],to.prototype,"indicator",2),_o([a({attribute:"validation-state"})],to.prototype,"validationState",2),_o([a({converter:re})],to.prototype,"value",2),_o([a({converter:re})],to.prototype,"min",2),_o([a({converter:re})],to.prototype,"max",2);var Fb=Object.defineProperty,Mb=Object.getOwnPropertyDescriptor,ga=(o,e,t,i)=>{for(var r=i>1?void 0:i?Mb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Fb(e,t,r),r};class Rr extends to{}ga([a],Rr.prototype,"thickness",2),ga([a],Rr.prototype,"shape",2);const Db=u`
473
+ ${k("block")}
474
+
475
+ :host{width:100%;height:2px;overflow-x:hidden;background-color:${yo};border-radius:${C};contain:content;@supports (width:attr(value type(<number>))){--max:attr(max type(<number>),100);--min:attr(min type(<number>),0);--value:attr(value type(<number>),0);--indicator-width:clamp(0%,calc((var(--value) - var(--min)) / (var(--max) - var(--min)) * 100%),100%)}}:host([thickness='large']){height:4px}:host([shape='square']){border-radius:${hi}}.indicator{background-color:${ft};border-radius:inherit;height:100%}:host([value]) .indicator{transition:all 0.2s ease-in-out;@supports (width:attr(value type(<number>))){width:var(--indicator-width)}}:host(:not([value])) .indicator{position:relative;width:33%;background-image:linear-gradient(
476
+ to right,${yo} 0%,${fe} 50%,${yo} 100%
477
+ );animation-name:indeterminate;animation-duration:3s;animation-timing-function:linear;animation-iteration-count:infinite}:host([validation-state='error']) .indicator{background-color:${xn}}:host([validation-state='warning']) .indicator{background-color:${Pn}}:host([validation-state='success']) .indicator{background-color:${Sn}}@layer animations{@media (prefers-reduced-motion:no-preference){:host([value]){transition:none}:host(:not([value])) .indicator{animation-duration:0.01ms;animation-iteration-count:1}}}@keyframes indeterminate{0%{inset-inline-start:-33%}100%{inset-inline-start:100%}}`.withBehaviors(U(u`
478
+ :host{background-color:CanvasText}.indicator,:host(:is([validation-state='success'],[validation-state='warning'],[validation-state='error'])) .indicator{background-color:Highlight}`));function Hb(){return b`<div class="indicator" part="indicator" ${E("indicator")}></div>`}const Vb=Hb(),Lb=Rr.compose({name:`${p.prefix}-progress-bar`,template:Vb,styles:Db});Lb.define(p.registry);class fa extends Pe{constructor(){super(),this.elementInternals.role="radio"}disabledChanged(e,t){super.disabledChanged(e,t),this.$emit("disabled",t,{bubbles:!0})}requiredChanged(){}setFormValue(){}setValidity(){this.elementInternals.setValidity({})}toggleChecked(e=!0){super.toggleChecked(e)}}function ma(o){const e=o.getRootNode();return e instanceof ShadowRoot?e.activeElement:document.activeElement}const va=be;var jb=Object.defineProperty,Rb=Object.getOwnPropertyDescriptor,Pt=(o,e,t,i)=>{for(var r=i>1?void 0:i?Rb(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&jb(e,t,r),r};class Je extends ${constructor(){super(),this.dirtyState=!1,this.disabled=!1,this.elementInternals=this.attachInternals(),this.elementInternals.role="radiogroup",this.elementInternals.ariaOrientation=this.orientation??va.horizontal}checkedIndexChanged(e,t){this.enabledRadios&&this.checkRadio(t)}disabledChanged(e,t){this.$fastController.isConnected&&(this.checkedIndex=-1,this.radios?.forEach(i=>{i.disabled=!!i.disabledAttribute||!!this.disabled}),this.restrictFocus())}initialValueChanged(e,t){this.value=t??""}nameChanged(e,t){this.isConnected&&t&&this.radios?.forEach(i=>{i.name=this.name})}orientationChanged(e,t){this.elementInternals.ariaOrientation=this.orientation??va.horizontal}radiosChanged(e,t){const i=t?.length;if(!i)return;!this.name&&t.every(n=>n.name===t[0].name)&&(this.name=t[0].name);const r=ml(this.enabledRadios,n=>n.initialChecked);t.forEach((n,c)=>{n.ariaPosInSet=`${c+1}`,n.ariaSetSize=`${i}`,this.initialValue&&!this.dirtyState?n.checked=n.value===this.initialValue:n.checked=c===r,n.name=this.name??n.name,n.disabled=!!this.disabled||!!n.disabledAttribute}),!this.dirtyState&&this.initialValue&&(this.value=this.initialValue),(!this.value||this.value&&typeof this.checkedIndex!="number"&&r>=0)&&(this.checkedIndex=r);const s=t.map(n=>n.id).join(" ").trim();s&&this.setAttribute("aria-owns",s),ie.enqueue(()=>{this.restrictFocus()})}requiredChanged(e,t){this.elementInternals.ariaRequired=t?"true":null,this.setValidity()}get enabledRadios(){return this.disabled?[]:this.radios?.filter(e=>!e.disabled)??[]}get validationMessage(){if(this.elementInternals.validationMessage)return this.elementInternals.validationMessage;if(this.enabledRadios?.[0]?.validationMessage)return this.enabledRadios[0].validationMessage;if(!this._validationFallbackMessage){const e=document.createElement("input");e.type="radio",e.required=!0,e.checked=!1,this._validationFallbackMessage=e.validationMessage}return this._validationFallbackMessage}get validity(){return this.elementInternals.validity}get value(){return m.notify(this,"value"),this.enabledRadios.find(e=>e.checked)?.value??null}set value(e){const t=this.enabledRadios.findIndex(i=>i.value===e);this.checkedIndex=t,this.$fastController.isConnected&&(this.setFormValue(e),this.setValidity()),m.track(this,"value")}changeHandler(e){if(this===e.target)return!0;this.dirtyState=!0;const t=this.enabledRadios.indexOf(e.target);return this.checkRadio(t),this.radios?.filter(i=>i.disabled)?.forEach(i=>{i.checked=!1}),!0}checkRadio(e=this.checkedIndex,t=!1){let i=this.checkedIndex;this.enabledRadios.forEach((r,s)=>{const n=s===e;r.checked=n,n&&(i=s,t&&r.$emit("change"))}),this.checkedIndex=i,this.setFormValue(this.value),this.setValidity()}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return this===e.target&&this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus(),!0}focus(){this.enabledRadios[Math.max(0,this.checkedIndex)]?.focus()}focusinHandler(e){return this.disabled||this.enabledRadios.forEach(t=>{t.tabIndex=0}),!0}focusoutHandler(e){return this.radios?.includes(e.relatedTarget)&&this.radios?.some(t=>t.checked)&&this.restrictFocus(),!0}formResetCallback(){this.dirtyState=!1,this.checkedIndex=-1,this.setFormValue(this.value),this.setValidity()}getEnabledIndexInBounds(e,t=this.enabledRadios.length){return t===0?-1:(e+t)%t}keydownHandler(e){const t=ei(this)==="rtl",i=this.enabledRadios.findIndex(n=>n===ma(this))??this.checkedIndex;let r=0;switch(e.key){case"ArrowLeft":{r=t?1:-1;break}case"ArrowUp":{r=-1;break}case"ArrowRight":{r=t?-1:1;break}case"ArrowDown":{r=1;break}case"Tab":{this.restrictFocus();break}case" ":{this.checkRadio();break}}if(!r)return!0;const s=i+r;this.checkRadio(this.getEnabledIndexInBounds(s),!0),this.enabledRadios[this.checkedIndex]?.focus()}disabledRadioHandler(e){e.detail===!0&&e.target.checked&&(this.checkedIndex=-1)}reportValidity(){return this.elementInternals.reportValidity()}restrictFocus(){let e=Math.max(this.checkedIndex,0);const t=this.enabledRadios.indexOf(ma(this));t!==-1&&(e=t),e=this.getEnabledIndexInBounds(e),this.enabledRadios.forEach((i,r)=>{i.tabIndex=r===e?0:-1})}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled||!this.required){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({valueMissing:this.required&&!this.value,...e},t??this.validationMessage,i??this.enabledRadios[0])}}slotchangeHandler(e){ie.enqueue(()=>{this.radios=[...this.querySelectorAll("*")].filter(t=>t instanceof fa)})}}Je.formAssociated=!0,Pt([g],Je.prototype,"checkedIndex",2),Pt([a({attribute:"disabled",mode:"boolean"})],Je.prototype,"disabled",2),Pt([a({attribute:"value",mode:"fromView"})],Je.prototype,"initialValue",2),Pt([a],Je.prototype,"name",2),Pt([a],Je.prototype,"orientation",2),Pt([g],Je.prototype,"radios",2),Pt([a({mode:"boolean"})],Je.prototype,"required",2);const qb=u`
479
+ ${k("flex")}
480
+
481
+ :host{-webkit-tap-highlight-color:transparent;cursor:pointer;gap:${mi}}:host([orientation='vertical']){flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']){flex-direction:row}::slotted(*){color:${Z}}::slotted(:hover){color:${Ie}}::slotted(:active){color:${T}}::slotted(${xe}){color:${S}}::slotted(${x}){color:${T}}:host([slot='input']){margin:${V} ${Oe}}`;function Wb(){return b`<template @disabled="${(o,e)=>o.disabledRadioHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}" @click="${(o,e)=>o.clickHandler(e.event)}" @focusin="${(o,e)=>o.focusinHandler(e.event)}" @focusout="${(o,e)=>o.focusoutHandler(e.event)}" @keydown="${(o,e)=>o.keydownHandler(e.event)}"><slot @slotchange="${(o,e)=>o.slotchangeHandler(e.event)}"></slot></template>`}const Gb=Wb(),Ub=Je.compose({name:`${p.prefix}-radio-group`,template:Gb,styles:qb});Ub.define(p.registry);const Xb=u`
482
+ ${k("inline-flex")}
483
+
484
+ :host{--size:16px;aspect-ratio:1;background-color:${I};border:${P} solid ${Ve};border-radius:${ve};box-sizing:border-box;position:relative;width:var(--size)}:host([size='large']){--size:20px}.checked-indicator{aspect-ratio:1;border-radius:${ve};color:${bt};inset:0;margin:auto;position:absolute;width:calc(var(--size) * 0.625)}:host(:not([slot='input']))::after{content:'' / '';position:absolute;display:block;inset:-8px;box-sizing:border-box;outline:none;border:${ye} solid ${X};border-radius:${C}}:host(:not([slot='input']):focus-visible)::after{border-color:${me}}:host(:hover){border-color:${mt}}:host(${x}){border-color:${$t}}:host(${x}) .checked-indicator{background-color:${ft}}:host(${x}:hover) .checked-indicator{background-color:${Ht}}:host(:active){border-color:${vt}}:host(${x}:active) .checked-indicator{background-color:${Vt}}:host(:focus-visible){outline:none}:host(${xe}){background-color:${it};border-color:${Ce}}:host(${x}${xe}) .checked-indicator{background-color:${Ce}}`.withBehaviors(U(u`
485
+ :host{border-color:FieldText}:host(:not([slot='input']:focus-visible))::after{border-color:Canvas}:host(:not(${xe}):hover),:host(:not([slot='input']):focus-visible)::after{border-color:Highlight}.checked-indicator{color:HighlightText}:host(${x}) .checked-indicator{background-color:FieldText}:host(${x}:not(${xe}):hover) .checked-indicator{background-color:Highlight}:host(${xe}){border-color:GrayText;color:GrayText}:host(${xe}${x}) .checked-indicator{background-color:GrayText}`)),Kb=b.partial(`
486
+ <span part="checked-indicator" class="checked-indicator" role="presentation"></span>
487
+ `);function Yb(o={}){return b`<template @click="${(e,t)=>e.clickHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @keyup="${(e,t)=>e.keyupHandler(t.event)}"><slot name="checked-indicator">${ge(o.checkedIndicator)}</slot></template>`}const Qb=Yb({checkedIndicator:Kb}),Zb=fa.compose({name:`${p.prefix}-radio`,template:Qb,styles:Xb});Zb.define(p.registry);var Jb=Object.defineProperty,eg=Object.getOwnPropertyDescriptor,Ni=(o,e,t,i)=>{for(var r=i>1?void 0:i?eg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Jb(e,t,r),r};const tg=CSS.supports("width: attr(value type(<number>))"),oo={max:"--_attr-max",value:"--_attr-value",maskImageFilled:"--_mask-image-filled",maskImageOutlined:"--_mask-image-outlined"};function Fi(o){return o?["data:image/svg+xml",encodeURIComponent(o.replace(/\n/g,"").replace(/\s+/g," "))].join(","):""}class Ao extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.defaultCustomIconViewBox="0 0 20 20",this.elementInternals.role="img",this.numberFormatter=new Intl.NumberFormat}maxChanged(){this.setCustomPropertyValue("max")}valueChanged(){this.setCustomPropertyValue("value")}connectedCallback(){super.connectedCallback(),this.setCustomPropertyValue("value"),this.setCustomPropertyValue("max")}get formattedCount(){return this.count?this.numberFormatter.format(this.count):""}handleSlotChange(){const e=this.iconSlot.assignedElements()?.find(t=>t.nodeName.toLowerCase()==="svg");this.renderSlottedIcon(e??null)}renderSlottedIcon(e){if(!e){this.display.style.removeProperty(oo.maskImageFilled),this.display.style.removeProperty(oo.maskImageOutlined);return}const t=e.innerHTML,i=e.getAttribute("viewBox")??this.iconViewBox??this.defaultCustomIconViewBox,r=`
488
+ <svg
489
+ viewBox="${i}"
490
+ xmlns="http://www.w3.org/2000/svg"
491
+ >${t}</svg>`,s=`
492
+ <svg
493
+ viewBox="${i}"
494
+ xmlns="http://www.w3.org/2000/svg"
495
+ fill="none"
496
+ stroke="black"
497
+ stroke-width="2"
498
+ >${t}</svg>`;this.display.style.setProperty(oo.maskImageFilled,`url(${Fi(r)})`),this.display.style.setProperty(oo.maskImageOutlined,`url(${Fi(s)})`)}setCustomPropertyValue(e){if(!this.display||tg)return;const t=this[e];typeof t!="number"||Number.isNaN(t)?this.display.style.removeProperty(oo[e]):this.display.style.setProperty(oo[e],`${t}`)}}Ni([a({converter:re})],Ao.prototype,"count",2),Ni([a({attribute:"icon-view-box"})],Ao.prototype,"iconViewBox",2),Ni([a({converter:re})],Ao.prototype,"max",2),Ni([a({converter:re})],Ao.prototype,"value",2);var og=Object.defineProperty,ig=Object.getOwnPropertyDescriptor,qr=(o,e,t,i)=>{for(var r=i>1?void 0:i?ig(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&og(e,t,r),r};class Mi extends Ao{constructor(){super(...arguments),this.compact=!1}}qr([a],Mi.prototype,"color",2),qr([a],Mi.prototype,"size",2),qr([a({mode:"boolean"})],Mi.prototype,"compact",2);const $a='<path d="M5.28347 1.54605C5.57692 0.951448 6.42479 0.951449 6.71825 1.54605L7.82997 3.79866L10.3159 4.15988C10.9721 4.25523 11.2341 5.0616 10.7592 5.52443L8.96043 7.27785L9.38507 9.7537C9.49716 10.4072 8.81122 10.9056 8.22431 10.597L6.00086 9.4281L3.7774 10.597C3.19049 10.9056 2.50455 10.4072 2.61664 9.7537L3.04128 7.27784L1.24246 5.52443C0.767651 5.0616 1.02966 4.25523 1.68584 4.15988L4.17174 3.79865L5.28347 1.54605Z" />',rg=`
499
+ <svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">${$a}</svg>
500
+ `,sg=`
501
+ <svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"
502
+ fill="none" stroke="black" stroke-width="2"
503
+ >${$a}</svg>
504
+ `;function ng(){return b`<div ${E("display")} class="display" aria-hidden="true"></div><slot name="icon" ${E("iconSlot")} @slotchange="${o=>o.handleSlotChange()}"></slot><slot name="value"><span class="value-label" aria-hidden="true">${o=>o.value}</span></slot><slot name="count"><span class="count-label" aria-hidden="true">${o=>o.formattedCount}</span></slot>`}const ag=ng(),lg=u`
505
+ ${k("inline-flex")}
506
+
507
+ :host{--_icon-size:16px;--_icon-gradient-degree:90deg;--_icon-color-value:${pc};--_icon-color-empty:${Bn};--_default-value:0;--_default-max:5;--_mask-image-filled:url(${Fi(rg)});--_mask-image-outlined:url(${Fi(sg)});--_mask-position-x:left;align-items:center;color:${T};font-family:${v};font-size:${F};line-height:${q};contain:layout style;user-select:none}:host(:dir(rtl)){--_icon-gradient-degree:-90deg;--_mask-position-x:right}:host([size='small']){--_icon-size:12px}:host([size='large']){--_icon-size:20px;font-size:${B};line-height:${A}}::slotted([slot='icon']){display:none}:host([color='neutral']){--_icon-color-value:${T};--_icon-color-empty:${yo}}:host([color='brand']){--_icon-color-value:${ni};--_icon-color-empty:${fn}}@supports (width:attr(value type(<number>))){:host{--_attr-value:attr(value type(<number>));--_attr-max:attr(max type(<number>))}}:host([compact]) .display{--_max:1}.display{--_value:max(0,round(var(--_attr-value,var(--_default-value)) * 2) / 2);--_max:max(1,var(--_attr-max,var(--_default-max)));--_mask-inline-size:calc(var(--_icon-size) + ${H});--_icon-gradient-stop-visual-adjustment:0px;--_icon-gradient-stop:calc(
508
+ var(--_mask-inline-size) * var(--_value) - var(--_icon-gradient-stop-visual-adjustment)
509
+ );background-image:linear-gradient(
510
+ var(--_icon-gradient-degree),var(--_icon-color-value) var(--_icon-gradient-stop),var(--_icon-color-empty) calc(var(--_icon-gradient-stop) + 0.5px)
511
+ );block-size:var(--_icon-size);display:grid;inline-size:calc(var(--_max) * var(--_mask-inline-size) - ${H} / 2);mask-image:var(--_mask-image-filled);mask-repeat:repeat no-repeat;mask-size:var(--_mask-inline-size) var(--_icon-size);mask-position:var(--_mask-position-x) center}.value-label,::slotted([slot='value']){display:block;margin-inline-start:${ne};font-weight:${D}}:host([size='small']) .value-label,:host([size='small']) ::slotted([slot='value']){margin-inline-start:${H}}:host([size='large']) .value-label,:host([size='large']) ::slotted([slot='value']){margin-inline-start:${J}}:host(:not([count])) .count-label{display:none}.count-label::before,::slotted([slot='count'])::before{content:'·';margin-inline:${ne}}:host([size='small']) .count-label::before,:host([size='small']) ::slotted([slot='count'])::before{margin-inline:${H}}:host([size='large']) .count-label::before,:host([size='large']) ::slotted([slot='count'])::before{margin-inline:${J}}`.withBehaviors(U(u`
512
+ .display{--_icon-color-value:CanvasText;--_icon-color-empty:Canvas;--_icon-gradient-stop-visual-adjustment:0.5px;forced-color-adjust:none}.display::before{background-color:var(--_icon-color-value);content:'';grid-area:1 / 1 / -1 / -1;mask:inherit;mask-image:var(--_mask-image-outlined)}`)),cg=Mi.compose({name:`${p.prefix}-rating-display`,template:ag,styles:lg});cg.define(p.registry);const dg=be,hg={singleValue:"single-value"};function ya(o,e,t,i){let r=dr(0,1,(o-e)/(t-e));return i===De.rtl&&(r=1-r),r}var ug=Object.defineProperty,pg=Object.getOwnPropertyDescriptor,te=(o,e,t,i)=>{for(var r=i>1?void 0:i?pg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&ug(e,t,r),r};class W extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.direction=De.ltr,this.isDragging=!1,this.trackWidth=0,this.trackMinWidth=0,this.trackHeight=0,this.trackLeft=0,this.trackMinHeight=0,this.valueTextFormatter=()=>"",this.disabled=!1,this.min="",this.max="",this.step="",this.mode=hg.singleValue,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,this.trackWidth===0&&(this.trackWidth=1)},this.handleThumbPointerDown=e=>{const t=e!==null?window.addEventListener:window.removeEventListener;return t("pointerup",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove,{passive:!0}),t("touchmove",this.handlePointerMove,{passive:!0}),t("touchend",this.handleWindowPointerUp),this.isDragging=e!==null,!0},this.handlePointerMove=e=>{if(this.disabled||e.defaultPrevented)return;const t=window.TouchEvent&&e instanceof TouchEvent?e.touches[0]:e,i=this.thumb.getBoundingClientRect().width,r=this.orientation===be.vertical?t.pageY-document.documentElement.scrollTop:t.pageX-document.documentElement.scrollLeft-this.trackLeft-i/2;this.value=`${this.calculateNewValue(r)}`},this.handleWindowPointerUp=()=>{this.stopDragging()},this.stopDragging=()=>{this.isDragging=!1,this.handlePointerDown(null),this.handleThumbPointerDown(null)},this.handlePointerDown=e=>{if(e===null||!this.disabled){const t=e!==null?window.addEventListener:window.removeEventListener,i=e!==null?document.addEventListener:document.removeEventListener;t("pointerup",this.handleWindowPointerUp),i("mouseleave",this.handleWindowPointerUp),t("pointermove",this.handlePointerMove);const r=this.thumb.getBoundingClientRect().width;if(e){this.setupTrackConstraints();const s=this.orientation===be.vertical?e.pageY-document.documentElement.scrollTop:e.pageX-document.documentElement.scrollLeft-this.trackLeft-r/2;this.value=`${this.calculateNewValue(s)}`}}return!0},this.elementInternals.role="slider",this.elementInternals.ariaOrientation=this.orientation??dg.horizontal}get labels(){return Object.freeze(Array.from(this.elementInternals.labels))}handleChange(e,t){switch(t){case"min":case"max":this.setSliderPosition();case"step":this.handleStepStyles();break}}handleStepStyles(){if(this.step){const e=100/Math.floor((this.maxAsNumber-this.minAsNumber)/this.stepAsNumber);this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles),this.stepStyles=u`
513
+ :host{--step-rate:${e}%}`,this.$fastController.addStyles(this.stepStyles)}else this.stepStyles!==void 0&&this.$fastController.removeStyles(this.stepStyles)}initialValueChanged(e,t){this.$fastController.isConnected?this.value=t:this._value=t}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage}get willValidate(){return this.elementInternals.willValidate}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.setValidity({customError:!!e},e)}setValidity(e,t,i){if(this.$fastController.isConnected){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity({customError:!!t,...e},t??this.validationMessage,i)}}get value(){return m.track(this,"value"),this._value?.toString()??""}set value(e){if(!this.$fastController.isConnected){this._value=e.toString();return}const t=parseFloat(e),i=dr(this.minAsNumber,this.maxAsNumber,this.convertToConstrainedValue(t)).toString();if(i!==e){this.value=i;return}this._value=e.toString(),this.elementInternals.ariaValueNow=this._value,this.elementInternals.ariaValueText=this.valueTextFormatter(this._value),this.setSliderPosition(),this.$emit("change"),this.setFormValue(e),m.notify(this,"value")}formResetCallback(){this.value=this.initialValue??this.midpoint}formDisabledCallback(e){this.setDisabledSideEffect(e)}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}directionChanged(){this.setSliderPosition()}get valueAsNumber(){return parseFloat(this.value)}set valueAsNumber(e){this.value=e.toString()}valueTextFormatterChanged(){typeof this.valueTextFormatter=="function"?this.elementInternals.ariaValueText=this.valueTextFormatter(this._value):this.elementInternals.ariaValueText=""}disabledChanged(){this.setDisabledSideEffect(this.disabled)}minChanged(){this.elementInternals.ariaValueMin=`${this.minAsNumber}`,this.$fastController.isConnected&&this.minAsNumber>this.valueAsNumber&&(this.value=this.min)}get minAsNumber(){if(this.min!==void 0){const e=parseFloat(this.min);if(!Number.isNaN(e))return e}return 0}maxChanged(){this.elementInternals.ariaValueMax=`${this.maxAsNumber}`,this.$fastController.isConnected&&this.maxAsNumber<this.valueAsNumber&&(this.value=this.max)}get maxAsNumber(){if(this.max!==void 0){const e=parseFloat(this.max);if(!Number.isNaN(e))return e}return 100}stepChanged(){this.updateStepMultiplier(),this.$fastController.isConnected&&(this.value=this._value)}get stepAsNumber(){if(this.step!==void 0){const e=parseFloat(this.step);if(!Number.isNaN(e)&&e>0)return e}return 1}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??be.horizontal,this.$fastController.isConnected&&this.setSliderPosition()}connectedCallback(){super.connectedCallback(),this.direction=ei(this),this.setDisabledSideEffect(this.disabled),this.updateStepMultiplier(),this.setupTrackConstraints(),this.setupDefaultValue(),this.setSliderPosition(),m.getNotifier(this).subscribe(this,"max"),m.getNotifier(this).subscribe(this,"min"),m.getNotifier(this).subscribe(this,"step"),this.handleStepStyles()}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"max"),m.getNotifier(this).unsubscribe(this,"min"),m.getNotifier(this).unsubscribe(this,"step")}increment(){const e=this.direction!==De.rtl?Number(this.value)+this.stepAsNumber:Number(this.value)-this.stepAsNumber,t=this.convertToConstrainedValue(e),i=t<this.maxAsNumber?`${t}`:`${this.maxAsNumber}`;this.value=i}decrement(){const e=this.direction!==De.rtl?Number(this.value)-Number(this.stepAsNumber):Number(this.value)+Number(this.stepAsNumber),t=this.convertToConstrainedValue(e),i=t>this.minAsNumber?`${t}`:`${this.minAsNumber}`;this.value=i}handleKeydown(e){if(this.disabled)return!0;switch(e.key){case mo:e.preventDefault(),this.value=this.direction!==De.rtl&&this.orientation!==be.vertical?`${this.minAsNumber}`:`${this.maxAsNumber}`;break;case go:e.preventDefault(),this.value=this.direction!==De.rtl&&this.orientation!==be.vertical?`${this.maxAsNumber}`:`${this.minAsNumber}`;break;case po:case bo:e.shiftKey||(e.preventDefault(),this.increment());break;case uo:case ho:e.shiftKey||(e.preventDefault(),this.decrement());break}return!0}setSliderPosition(){const t=ya(parseFloat(this.value),this.minAsNumber,this.maxAsNumber,this.orientation===be.vertical?void 0:this.direction)*100;this.position=`--slider-thumb: ${t}%; --slider-progress: ${t}%`}updateStepMultiplier(){const e=this.stepAsNumber+"",t=this.stepAsNumber%1?e.length-e.indexOf(".")-1:0;this.stepMultiplier=Math.pow(10,t)}get midpoint(){return`${this.convertToConstrainedValue((this.maxAsNumber+this.minAsNumber)/2)}`}setupDefaultValue(){this._value||(this.value=this.initialValue??this.midpoint),!Number.isNaN(this.valueAsNumber)&&(this.valueAsNumber<this.minAsNumber||this.valueAsNumber>this.maxAsNumber)&&(this.value=this.midpoint),this.elementInternals.ariaValueNow=this.value}calculateNewValue(e){this.setupTrackConstraints();const t=ya(e,this.orientation===be.vertical?this.trackMinHeight:this.trackMinWidth,this.orientation===be.vertical?this.trackHeight:this.trackWidth,this.orientation===be.vertical?void 0:this.direction),i=(this.maxAsNumber-this.minAsNumber)*t+this.minAsNumber;return this.convertToConstrainedValue(i)}convertToConstrainedValue(e){isNaN(e)&&(e=this.minAsNumber);let t=e-this.minAsNumber;const i=Math.round(t/this.stepAsNumber),r=t-i*(this.stepMultiplier*this.stepAsNumber)/this.stepMultiplier;return t=r>=Number(this.stepAsNumber)/2?t-r+Number(this.stepAsNumber):t-r,t+this.minAsNumber}setDisabledSideEffect(e){this.$fastController.isConnected&&(this.elementInternals.ariaDisabled=e.toString(),this.tabIndex=e?-1:0)}}W.formAssociated=!0,te([a],W.prototype,"size",2),te([a({attribute:"value",mode:"fromView"})],W.prototype,"initialValue",2),te([g],W.prototype,"direction",2),te([g],W.prototype,"isDragging",2),te([g],W.prototype,"position",2),te([g],W.prototype,"trackWidth",2),te([g],W.prototype,"trackMinWidth",2),te([g],W.prototype,"trackHeight",2),te([g],W.prototype,"trackLeft",2),te([g],W.prototype,"trackMinHeight",2),te([g],W.prototype,"valueTextFormatter",2),te([a({mode:"boolean"})],W.prototype,"disabled",2),te([a({converter:lr})],W.prototype,"min",2),te([a({converter:lr})],W.prototype,"max",2),te([a({converter:lr})],W.prototype,"step",2),te([a],W.prototype,"orientation",2),te([a],W.prototype,"mode",2);const bg=u`
514
+ ${k("inline-grid")}
515
+
516
+ :host{--thumb-size:20px;--track-margin-inline:calc(var(--thumb-size) / 2);--track-size:4px;--track-overhang:calc(var(--track-size) / -2);--rail-color:${ft};--track-color:${Ve};--slider-direction:90deg;--border-radius:${C};--step-marker-inset:var(--track-overhang) -1px;position:relative;align-items:center;justify-content:center;box-sizing:border-box;outline:none;user-select:none;touch-action:none;min-width:120px;min-height:32px;grid-template-rows:1fr var(--thumb-size) 1fr;grid-template-columns:var(--track-margin-inline) 1fr var(--track-margin-inline)}:host(:hover){--rail-color:${Ht}}:host(:active){--rail-color:${Vt}}:host(:disabled){--rail-color:${S};--track-color:${it}}:host(:not(:disabled)){cursor:pointer}:host(:dir(rtl)){--slider-direction:-90deg}:host([size='small']){--thumb-size:16px;--track-overhang:-1px;--track-size:2px;--border-radius:${Be}}:host([orientation='vertical']){--slider-direction:0deg;--step-marker-inset:-1px var(--track-overhang);min-height:120px;grid-template-rows:var(--track-margin-inline) 1fr var(--track-margin-inline);grid-template-columns:1fr var(--thumb-size) 1fr;width:unset;min-width:32px;justify-items:center}:host(:not([slot='input']):focus-visible){box-shadow:0 0 0 2pt ${me};outline:1px solid ${di}}:host:after,.track{height:var(--track-size);width:100%}:host:after{background-image:linear-gradient(
517
+ var(--slider-direction),var(--rail-color) 0%,var(--rail-color) 50%,var(--track-color) 50.1%,var(--track-color) 100%
518
+ );border-radius:var(--border-radius);content:'';grid-row:1 / -1;grid-column:1 / -1}.track{position:relative;background-color:var(--track-color);grid-row:2 / 2;grid-column:2 / 2;forced-color-adjust:none;overflow:hidden}:host([orientation='vertical'])::after,:host([orientation='vertical']) .track{height:100%;width:var(--track-size)}.track::before{content:'';position:absolute;height:100%;border-radius:inherit;inset-inline-start:0;width:var(--slider-progress)}:host(:dir(rtl)) .track::before{width:calc(100% - var(--slider-progress))}:host([orientation='vertical']) .track::before{width:100%;bottom:0;height:var(--slider-progress)}:host([step]) .track::after{content:'';position:absolute;border-radius:inherit;inset:var(--step-marker-inset);background-image:repeating-linear-gradient(
519
+ var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${I} calc(var(--step-rate) - 1px),${I} var(--step-rate)
520
+ )}.thumb-container{position:absolute;grid-row:2 / 2;grid-column:2 / 2;transform:translateX(-50%);left:var(--slider-thumb)}:host([orientation='vertical']) .thumb-container{transform:translateY(50%);left:unset;bottom:var(--slider-thumb)}:host(:not(:active)) :is(.thumb-container,.track::before){transition:all 0.2s ease}.thumb{width:var(--thumb-size);height:var(--thumb-size);border-radius:${ve};box-shadow:0 0 0 calc(var(--thumb-size) * 0.2) ${I} inset;border:calc(var(--thumb-size) * 0.05) solid ${Le};box-sizing:border-box}.thumb,.track::before{background-color:var(--rail-color)}`.withBehaviors(U(u`
521
+ .track:hover,.track:active,.track{background:WindowText}.thumb:hover,.thumb:active,.thumb{background:ButtonText}:host(:hover) .track::before,:host(:active) .track::before,.track::before{background:Highlight}`));function gg(o={}){return b`<template @pointerdown="${(e,t)=>e.handlePointerDown(t.event)}" @keydown="${(e,t)=>e.handleKeydown(t.event)}"><div ${E("track")} part="track-container" class="track" style="${e=>e.position}"></div><div ${E("thumb")} part="thumb-container" class="thumb-container" style="${e=>e.position}" @pointerdown="${(e,t)=>e.handleThumbPointerDown(t.event)}"><slot name="thumb">${ge(o.thumb)}</slot></div></template>`}const fg=gg({thumb:'<div class="thumb"></div>'}),mg=W.compose({name:`${p.prefix}-slider`,template:fg,styles:bg});mg.define(p.registry);class vg extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.elementInternals.role="progressbar"}}var $g=Object.defineProperty,yg=Object.getOwnPropertyDescriptor,xa=(o,e,t,i)=>{for(var r=i>1?void 0:i?yg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&$g(e,t,r),r};class Wr extends vg{}xa([a],Wr.prototype,"size",2),xa([a],Wr.prototype,"appearance",2);const xg=u`
522
+ ${k("inline-flex")}
523
+
524
+ :host{--duration:1.5s;--indicatorSize:${se};--size:32px;height:var(--size);width:var(--size);contain:strict;content-visibility:auto}:host([size='tiny']){--indicatorSize:${ye};--size:20px}:host([size='extra-small']){--indicatorSize:${ye};--size:24px}:host([size='small']){--indicatorSize:${ye};--size:28px}:host([size='large']){--indicatorSize:${se};--size:36px}:host([size='extra-large']){--indicatorSize:${se};--size:40px}:host([size='huge']){--indicatorSize:${kr};--size:44px}.progress,.background,.spinner,.start,.end,.indicator{position:absolute;inset:0}.progress,.spinner,.indicator{animation:none var(--duration) infinite ${xi}}.progress{animation-timing-function:linear;animation-name:spin-linear}.background{border:var(--indicatorSize) solid ${vn};border-radius:50%}:host([appearance='inverted']) .background{border-color:rgba(255,255,255,0.2)}.spinner{animation-name:spin-swing}.start{overflow:hidden;right:50%}.end{overflow:hidden;left:50%}.indicator{color:${mn};box-sizing:border-box;border-radius:50%;border:var(--indicatorSize) solid transparent;border-block-start-color:currentcolor;border-right-color:currentcolor}:host([appearance='inverted']) .indicator{color:${Zl}}.start .indicator{rotate:135deg;inset:0 -100% 0 0;animation-name:spin-start}.end .indicator{rotate:135deg;inset:0 0 0 -100%;animation-name:spin-end}@keyframes spin-linear{100%{transform:rotate(360deg)}}@keyframes spin-swing{0%{transform:rotate(-135deg)}50%{transform:rotate(0deg)}100%{transform:rotate(225deg)}}@keyframes spin-start{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-80deg)}}@keyframes spin-end{0%,100%{transform:rotate(0deg)}50%{transform:rotate(70deg)}}`.withBehaviors(U(u`
525
+ .background{display:none}.indicator{border-color:Canvas;border-block-start-color:Highlight;border-right-color:Highlight}`)),kg=b`<slot name="indicator"><div class="background"></div><div class="progress"><div class="spinner"><div class="start"><div class="indicator"></div></div><div class="end"><div class="indicator"></div></div></div></div></slot>`,wg=Wr.compose({name:`${p.prefix}-spinner`,template:kg,styles:xg});wg.define(p.registry);class Cg extends Pe{constructor(){super(),this.elementInternals.role="switch"}}function Sg(o={}){return b`<template @click="${(e,t)=>e.clickHandler(t.event)}" @input="${(e,t)=>e.inputHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}" @keyup="${(e,t)=>e.keyupHandler(t.event)}"><slot name="switch">${ge(o.switch)}</slot></template>`}const Ig=Sg({switch:'<span class="checked-indicator" part="checked-indicator"></span>'}),Pg=u`
526
+ ${k("inline-flex")}
527
+
528
+ :host{box-sizing:border-box;align-items:center;flex-direction:row;outline:none;user-select:none;contain:content;padding:0 ${H};width:40px;height:20px;background-color:${fe};border:1px solid ${Ve};border-radius:${ve}}:host(:enabled){cursor:pointer}:host(:hover){background:none;border-color:${mt}}:host(:active){border-color:${vt}}:host(:disabled),:host([readonly]){border:1px solid ${Ce};background-color:none;pointer:default}:host(${x}){background:${ft};border-color:${ft}}:host(${x}:hover){background:${Ht};border-color:${Ht}}:host(${x}:active){background:${Vt};border-color:${Vt}}:host(${x}:disabled){background:${it};border-color:${Ce}}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:${Z};transition-duration:${$i};transition-timing-function:${xi};transition-property:margin-inline-start}:host(${x}) .checked-indicator{background-color:${bt};margin-inline-start:calc(100% - 14px)}:host(${x}:hover) .checked-indicator{background:${Ll}}:host(${x}:active) .checked-indicator{background:${jl}}:host(:hover) .checked-indicator{background-color:${Ol}}:host(:active) .checked-indicator{background-color:${_l}}:host(:disabled) .checked-indicator,:host([readonly]) .checked-indicator{background:${S}}:host(${x}:disabled) .checked-indicator{background:${S}}:host(:focus-visible){outline:none}:host(:not([slot='input']):focus-visible){border-color:${X};outline:${ye} solid ${X};outline-offset:1px;box-shadow:${fi},0 0 0 2px ${me}}`.withBehaviors(U(u`
529
+ :host{border-color:InactiveBorder}:host(${x}),:host(${x}:active),:host(${x}:hover){background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host(${x}) .checked-indicator,:host(${x}:hover) .checked-indicator,:host(${x}:active) .checked-indicator{background-color:ButtonFace}:host(:disabled) .checked-indicator,:host(${x}:disabled) .checked-indicator{background-color:GrayText}`)),zg=Cg.compose({name:`${p.prefix}-switch`,template:Ig,styles:Pg});zg.define(p.registry);class Tg extends ${}function Bg(){return b`<template slot="tabpanel" role="tabpanel"><slot></slot></template>`}const Og=Bg(),_g=u`
530
+ ${k("block")}
531
+
532
+ :host{box-sizing:border-box;padding:${le} ${ae}}`,Ag=Tg.compose({name:`${p.prefix}-tab-panel`,template:Og,styles:_g});Ag.define(p.registry);var Eg=Object.defineProperty,Ng=Object.getOwnPropertyDescriptor,Fg=(o,e,t,i)=>{for(var r=i>1?void 0:i?Ng(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Eg(e,t,r),r};class Gr extends ${connectedCallback(){super.connectedCallback(),this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=u`
533
+ :host{--textContent:'${this.textContent}'}`,this.$fastController.addStyles(this.styles)}}Fg([a({mode:"boolean"})],Gr.prototype,"disabled",2),Xe(Gr,Ue);function Mg(o={}){return b`<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">${He(o)}<span class="tab-content"><slot></slot></span>${tt(o)}</template>`}const Dg=Mg({}),Hg=u`
534
+ ${k("inline-flex")}
535
+
536
+ :host{position:relative;flex-direction:row;align-items:center;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:${A};font-family:${v};font-size:${B};color:${Ie};fill:currentcolor;grid-row:1;padding:${le} ${ae};border-radius:${C};gap:4px}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:${T};font-weight:${D}}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:${A};font-weight:${D}}:host([aria-selected='true'])::after{background-color:${$t};border-radius:${ve};content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:${Lt};border-radius:${ve};content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:${S}}::slotted([slot='start']),::slotted([slot='end']){display:flex}:host([disabled]){cursor:not-allowed;fill:${S};color:${S}}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:${Be};box-shadow:0 0 0 3px ${me};outline:1px solid ${di}}:host([data-hasIndent]){display:grid;grid-template-columns:20px 1fr auto}:host([data-hasIndent]) .tab-content{grid-column:2}`.withBehaviors(U(u`
537
+ :host([aria-selected='true'])::after{background-color:Highlight}`)),Vg=Gr.compose({name:`${p.prefix}-tab`,template:Dg,styles:Hg});Vg.define(p.registry);const Lg={subtle:"subtle",transparent:"transparent"},Di=be;var jg=Object.defineProperty,Rg=Object.getOwnPropertyDescriptor,Hi=(o,e,t,i)=>{for(var r=i>1?void 0:i?Rg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&jg(e,t,r),r};class Eo extends ${constructor(){super(...arguments),this.orientation=Di.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>e.getAttribute("aria-disabled")==="true",this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.handleTabClick=e=>{const t=e.currentTarget;t.nodeType===1&&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 uo:e.preventDefault(),this.adjustBackward(e);break;case po:e.preventDefault(),this.adjustForward(e);break}else switch(e.key){case bo:e.preventDefault(),this.adjustBackward(e);break;case ho:e.preventDefault(),this.adjustForward(e);break}switch(e.key){case mo:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case go:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1);break}}}orientationChanged(){this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex(i=>i.id===e),this.setTabs())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs())}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){const e="gridColumn",t="gridRow",i=this.isHorizontal()?e:t;this.activeTabIndex=this.getActiveIndex(),this.tabs.forEach((r,s)=>{if(r.slot==="tab"){const n=this.activeTabIndex===s&&this.isFocusableElement(r),c=this.tabIds[s],h=this.tabpanelIds[s];r.setAttribute("id",c),r.setAttribute("aria-selected",n?"true":"false"),r.setAttribute("aria-controls",h),r.addEventListener("click",this.handleTabClick),r.addEventListener("keydown",this.handleTabKeyDown),r.setAttribute("tabindex",n?"0":"-1"),n&&(this.activetab=r,this.activeid=c)}r.style[e]="",r.style[t]="",r.style[i]=`${s+1}`,this.isHorizontal()?r.classList.remove("vertical"):r.classList.add("vertical")}),this.setTabPanels()}setTabPanels(){this.tabpanels.forEach((e,t)=>{const i=this.tabIds[t],r=this.tabpanelIds[t];e.setAttribute("id",r),e.setAttribute("aria-labelledby",i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")})}getTabIds(){return this.tabs.map(e=>e.getAttribute("id")??`tab-${Ft()}`)}getTabPanelIds(){return this.tabpanels.map(e=>e.getAttribute("id")??`panel-${Ft()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===Di.horizontal}adjust(e){const t=this.tabs.filter(n=>this.isFocusableElement(n)),i=t.indexOf(this.activetab),r=dr(0,t.length-1,i+e),s=this.tabs.indexOf(t[r]);s>-1&&this.moveToTabByIndex(this.tabs,s)}adjustForward(e){const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;)if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}else{if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}}adjustBackward(e){const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;)if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}else i-1<0?i=t.length-1:i-=1}moveToTabByIndex(e,t){const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}Hi([a],Eo.prototype,"orientation",2),Hi([a],Eo.prototype,"activeid",2),Hi([g],Eo.prototype,"tabs",2),Hi([g],Eo.prototype,"tabpanels",2);var qg=Object.defineProperty,Wg=Object.getOwnPropertyDescriptor,Ur=(o,e,t,i)=>{for(var r=i>1?void 0:i?Wg(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&qg(e,t,r),r};class No extends Eo{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=Lg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===Di.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===Di.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")}getTabPositionData(e){const t=e.getBoundingClientRect(),i=this.getBoundingClientRect();return{x:t.x-i.x,y:t.y-i.y,height:t.height,width:t.width}}setTabData(){if(this.tabs&&this.tabs.length>0){const e=this.tabs,t=this.activetab||e[0];this.activeTabData=this.getTabPositionData(t),this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setTabOffsetCSSVar(){this.styles=u`
538
+ :host{--tabIndicatorOffset:${this.activeTabOffset.toString()}px}`,this.$fastController.addStyles(this.styles)}setTabScaleCSSVar(){this.styles=u`
539
+ :host{--tabIndicatorScale:${this.activeTabScale.toString()}}`,this.$fastController.addStyles(this.styles)}activeidChanged(e,t){if(e&&this.tabs){const i=this.tabs.find(r=>r.id===e);i&&(this.previousActiveTabData=this.getTabPositionData(i))}super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}}Ur([a],No.prototype,"appearance",2),Ur([a({mode:"boolean"})],No.prototype,"disabled",2),Ur([a],No.prototype,"size",2),Xe(No,Ue);function Gg(o={}){return b` ${He(o)}<div class="tablist" part="tablist" role="tablist"><slot name="tab" ${G("tabs")}></slot></div>${tt(o)}<div class="tabpanel" part="tabpanel"><slot name="tabpanel" ${G("tabpanels")}></slot></div>`}const Ug=Gg({}),Xg=u`
540
+ ${k("grid")}
541
+
542
+ :host{box-sizing:border-box;font-family:${v};font-size:${B};line-height:${A};color:${Ie};grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:${S}}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:${S}}:host([disabled]) ::slotted(fluent-tab:after){background-color:${S}}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:${S}}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:${C}}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:${S}}.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:${xo};color:${ur};fill:${sn}}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:${gt};fill:${gt};color:${T}}:host([size='small']) ::slotted(fluent-tab){font-size:${B};line-height:${A};padding:${je} ${J}}:host([size='large']) ::slotted(fluent-tab){font-size:${he};line-height:${$e};padding:${mi} ${ae}}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:${Rn};transition-timing-function:${Pr}}:host ::slotted(fluent-tab)::after{height:${se};margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:${se};height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:${se};border-radius:${ve};content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:${se};margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:${se};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:${se}}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:${je};padding-bottom:${je}}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:${Rt};padding-bottom:${Rt}}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:${V};padding-bottom:${V}}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:${J};left:${J}}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:${ae};left:${ae}}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:${ae};left:${ae}}: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:${je};bottom:${je}}: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:${V};bottom:${V}}: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:${Wt};bottom:${Wt}}`,Kg=No.compose({name:`${p.prefix}-tabs`,template:Ug,styles:Xg});Kg.define(p.registry);const Yg=o=>o.getAttribute("aria-disabled")==="true",Qg=o=>o.hasAttribute("hidden"),Vi=o=>!Yg(o)&&!Qg(o);function Zg(o,e="-tab"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}const Jg={subtle:"subtle",transparent:"transparent"},zt=be;var ef=Object.defineProperty,tf=Object.getOwnPropertyDescriptor,Fo=(o,e,t,i)=>{for(var r=i>1?void 0:i?tf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&ef(e,t,r),r};class io extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.disabled=!1,this.orientation=zt.horizontal,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.tabPanelMap=new WeakMap,this.change=()=>{this.$emit("change",this.activetab)},this.handleTabClick=e=>{const t=e.currentTarget;t.nodeType===Node.ELEMENT_NODE&&Vi(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{const t=ei(this);switch(e.key){case uo:if(!this.isHorizontal())return;e.preventDefault(),this.adjust(t==="ltr"?-1:1);break;case po:if(!this.isHorizontal())return;e.preventDefault(),this.adjust(t==="ltr"?1:-1);break;case bo:if(this.isHorizontal())return;e.preventDefault(),this.adjust(-1);break;case ho:if(this.isHorizontal())return;e.preventDefault(),this.adjust(1);break;case mo:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case go:e.preventDefault(),this.adjust(this.tabs.filter(i=>Vi(i)).length-this.activeTabIndex-1);break}}}disabledChanged(e,t){y(this.elementInternals,"disabled",t),this.$fastController.isConnected&&this.setTabs()}orientationChanged(e,t){this.elementInternals.ariaOrientation=t??zt.horizontal,wt(this.elementInternals,e,t,zt),this.$fastController.isConnected&&this.setTabs()}activeidChanged(e,t){if(this.$fastController.isConnected&&this.tabs.length>0){if(this.prevActiveTabIndex=this.tabs.findIndex(i=>i.id===e),this.setTabs(),e){const i=this.tabs[this.prevActiveTabIndex],r=this.tabPanelMap.get(i);r&&(r.hidden=!0)}if(t&&this.activetab){const i=this.tabPanelMap.get(this.activetab);i&&(i.hidden=!1)}e!==t&&this.change()}}slottedTabsChanged(e,t){this.tabs=t?.filter(i=>Zg(i))??[]}tabsChanged(){if(this.$fastController.isConnected&&this.tabs.length>0){this.tabIds=this.getTabIds(),this.setTabs();for(const e of this.tabs){const t=e.getAttribute("aria-controls")??"",r=this.getRootNode().getElementById(t);t&&r&&(r.role??(r.role="tabpanel"),r.hidden=this.activeid!==e.id,this.tabPanelMap.set(e,r))}}}getActiveIndex(){return this.activeid!==void 0?this.tabIds.indexOf(this.activeid)===-1?0:this.tabIds.indexOf(this.activeid):0}setTabs(){this.activeTabIndex=this.getActiveIndex();const e=this.tabs.some(t=>!!t.querySelector("[slot='start']"));this.tabs.forEach((t,i)=>{if(t.slot==="tab"){const r=this.activeTabIndex===i&&Vi(t),s=this.tabIds[i];console.log("disabled",this.disabled),t.disabled||(this.disabled?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")),t.setAttribute("id",s),t.setAttribute("aria-selected",r?"true":"false"),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",r&&!this.disabled?"0":"-1"),r&&(this.activetab=t,this.activeid=s),e&&this.orientation===zt.vertical&&t.setAttribute("data-hasIndent","")}})}getTabIds(){return this.tabs.map(e=>e.getAttribute("id")??`tab-${Ft()}`)}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab())}isHorizontal(){return this.orientation===zt.horizontal}adjust(e){const t=this.tabs.filter(n=>Vi(n)),i=t.indexOf(this.activetab),r=yl(0,t.length-1,i+e),s=this.tabs.indexOf(t[r]);s>-1&&this.activateTabByIndex(this.tabs,s)}activateTabByIndex(e,t){const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.activeTabIndex=this.getActiveIndex()}}Fo([a({mode:"boolean"})],io.prototype,"disabled",2),Fo([a],io.prototype,"orientation",2),Fo([a],io.prototype,"activeid",2),Fo([g],io.prototype,"slottedTabs",2),Fo([g],io.prototype,"tabs",2);var of=Object.defineProperty,rf=Object.getOwnPropertyDescriptor,ka=(o,e,t,i)=>{for(var r=i>1?void 0:i?rf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&of(e,t,r),r};class Xr extends io{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=Jg.transparent}calculateAnimationProperties(e){this.activeTabOffset=this.getTabPosition(e),this.activeTabScale=this.getTabScale(e)}getTabPosition(e){return this.orientation===zt.horizontal?this.previousActiveTabData.x-(e.getBoundingClientRect().x-this.getBoundingClientRect().x):this.previousActiveTabData.y-(e.getBoundingClientRect().y-this.getBoundingClientRect().y)}getTabScale(e){return this.orientation===zt.horizontal?this.previousActiveTabData.width/e.getBoundingClientRect().width:this.previousActiveTabData.height/e.getBoundingClientRect().height}applyUpdatedCSSValues(e){this.calculateAnimationProperties(e),this.setAnimationVars()}animationLoop(e){e.setAttribute("data-animate","false"),this.applyUpdatedCSSValues(e),this.previousActiveTabData=this.activeTabData,this.applyUpdatedCSSValues(e),e.setAttribute("data-animate","true")}setTabData(){if(this.tabs&&this.tabs.length>0){const e=this.tabs,i=(this.activetab||e[0])?.getBoundingClientRect(),r=this.getBoundingClientRect();this.activeTabData={x:i.x-r.x,y:i.y-r.y,height:i.height,width:i.width},this.previousActiveTabData?.x!==this.activeTabData?.x&&this.previousActiveTabData?.y!==this.activeTabData?.y&&(this.previousActiveTabData=this.activeTabData)}}setAnimationVars(){this.style.setProperty("--tabIndicatorOffset",`${this.activeTabOffset}px`),this.style.setProperty("--tabIndicatorScale",`${this.activeTabScale}`)}activeidChanged(e,t){super.activeidChanged(e,t),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}tabsChanged(){super.tabsChanged(),this.setTabData(),this.activetab&&this.animationLoop(this.activetab)}}ka([a],Xr.prototype,"appearance",2),ka([a],Xr.prototype,"size",2);const sf=b`<template role="tablist"><slot name="tab" ${G("slottedTabs")}></slot></template>`,nf=u`
543
+ ${k("flex")}
544
+
545
+ :host{--tabPaddingInline:inherit;--tabPaddingBlock:inherit;--tabIndicatorInsetInline:0;--tabIndicatorInsetBlock:0;box-sizing:border-box;color:${Ie};flex-direction:row}:host([orientation='vertical']){flex-direction:column}:host([orientation='vertical']) ::slotted([role='tab']){justify-content:flex-start}:host ::slotted([slot='tab'][data-animate='true'])::after{transition-property:transform;transition-duration:${Rn};transition-timing-function:${Pr}}:host ::slotted([slot='tab'])::after{height:${se};margin-block-start:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted([slot='tab'])::after{width:${se};height:unset;margin-block-start:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted([slot='tab'])::before{height:${se};border-radius:${ve};content:'';inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock);position:absolute;margin-top:auto}:host ::slotted([slot='tab'])::before{inset-inline:var(--tabIndicatorInsetInline);inset-block:var(--tabIndicatorInsetBlock)}:host ::slotted([slot='tab'][aria-selected='true'])::before{background-color:${S}}:host ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:${se};margin-block-start:auto;transform-origin:left}:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab'][aria-selected='false']:hover)::after{height:unset;width:${se};margin-inline-end:auto;transform-origin:top}:host(:where([size='small'],[size='large'])) ::slotted([slot='tab']){padding-inline:var(--tabPaddingInline);padding-block:var(--tabPaddingBlock)}:host([size='small']) ::slotted([slot='tab']){--tabPaddingBlock:${je};--tabPaddingInline:${J};font-size:${B};line-height:${A}}:host([size='large']) ::slotted([slot='tab']){--tabPaddingBlock:${mi};--tabPaddingInline:${ae};font-size:${he};line-height:${$e}}:host ::slotted([slot='tab'])::after,:host ::slotted([slot='tab'])::before,:host ::slotted([slot='tab']:hover)::after{inset-inline:var(--tabIndicatorInsetInline)}:host ::slotted([slot='tab']){--tabIndicatorInsetInline:${ae}}:host([size='small']) ::slotted([slot='tab']){--tabIndicatorInsetInline:${J}}:host([size='large']) ::slotted([slot='tab']){--tabIndicatorInsetInline:${ae}}:host([orientation='vertical']) ::slotted([slot='tab']){padding-block:var(--tabPaddingBlock)}:host([orientation='vertical']) ::slotted([slot='tab']){--tabPaddingBlock:${V}}:host([orientation='vertical'][size='small']) ::slotted([slot='tab']){--tabPaddingBlock:${Rt}}:host([orientation='vertical'][size='large']) ::slotted([slot='tab']){--tabPaddingBlock:${V}}:host([orientation='vertical']) ::slotted([slot='tab'])::after,:host([orientation='vertical']) ::slotted([slot='tab'])::before,:host([orientation='vertical']) ::slotted([slot='tab']:hover)::after{inset-inline:0;inset-block:var(--tabIndicatorInsetBlock)}:host([orientation='vertical']){--tabIndicatorInsetBlock:${V}}:host([orientation='vertical'][size='small']){--tabIndicatorInsetBlock:${je}}:host([orientation='vertical'][size='large']){--tabIndicatorInsetBlock:${Wt}}:host([disabled]){cursor:not-allowed;color:${S}}:host([disabled]) ::slotted([slot='tab']){pointer-events:none;cursor:not-allowed;color:${S}}:host([disabled]) ::slotted([slot='tab']:after){background-color:${S}}:host([disabled]) ::slotted([slot='tab'][aria-selected='true'])::after{background-color:${S}}:host([disabled]) ::slotted([slot='tab']:hover):before{content:unset}:host([appearance='subtle']) ::slotted([slot='tab']:hover){background-color:${xo};color:${ur};fill:${sn}}:host([appearance='subtle']) ::slotted([slot='tab']:active){background-color:${gt};fill:${gt};color:${T}}`,af=Xr.compose({name:`${p.prefix}-tablist`,template:sf,styles:nf});af.define(p.registry);const lf={outline:"outline",filledLighter:"filled-lighter",filledDarker:"filled-darker"},Li={none:"none",both:"both",horizontal:"horizontal",vertical:"vertical"};var cf=Object.defineProperty,df=Object.getOwnPropertyDescriptor,de=(o,e,t,i)=>{for(var r=i>1?void 0:i?df(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&cf(e,t,r),r};class Y extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.filteredLabelSlottedNodes=[],this.labelSlottedNodes=[],this.userInteracted=!1,this.preConnectControlEl=document.createElement("textarea"),this.autoResize=!1,this.disabled=!1,this.displayShadow=!1,this.readOnly=!1,this.required=!1,this.resize=Li.none,this.spellcheck=!1}defaultSlottedNodesChanged(){const e=this.getContent();this.defaultValue=e,this.value=e}labelSlottedNodesChanged(){this.filteredLabelSlottedNodes=this.labelSlottedNodes.filter(on),this.labelEl&&(this.labelEl.hidden=!this.filteredLabelSlottedNodes.length),this.filteredLabelSlottedNodes.forEach(e=>{e.disabled=this.disabled,e.required=this.required})}autoResizeChanged(){this.maybeCreateAutoSizerEl(),y(this.elementInternals,"auto-resize",this.autoResize)}disabledChanged(){this.setDisabledSideEffect(this.disabled)}get form(){return this.elementInternals.form}get labels(){return this.elementInternals.labels}readOnlyChanged(){this.elementInternals.ariaReadOnly=`${!!this.readOnly}`}requiredChanged(){this.elementInternals.ariaRequired=`${!!this.required}`,this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(e=>e.required=this.required)}resizeChanged(e,t){wt(this.elementInternals,e,t,Li,"resize-"),y(this.elementInternals,"resize",Xn(Li,t)&&t!==Li.none)}get textLength(){return this.controlEl.textLength}get type(){return"textarea"}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.controlEl.validationMessage}get willValidate(){return this.elementInternals.willValidate}get defaultValue(){return this.controlEl?.defaultValue??this.preConnectControlEl.defaultValue}set defaultValue(e){const t=this.controlEl??this.preConnectControlEl;t.defaultValue=e,this.controlEl&&!this.userInteracted&&(this.controlEl.value=e)}get value(){return this.controlEl?.value??this.preConnectControlEl.value}set value(e){const t=this.controlEl??this.preConnectControlEl;t.value=e,this.setFormValue(e),this.setValidity()}connectedCallback(){super.connectedCallback(),this.setDefaultValue(),this.maybeCreateAutoSizerEl(),this.bindEvents(),this.observeControlElAttrs()}disconnectedCallback(){super.disconnectedCallback(),this.autoSizerObserver?.disconnect(),this.controlElAttrObserver?.disconnect()}formResetCallback(){this.value=this.defaultValue}formDisabledCallback(e){this.setDisabledSideEffect(e),this.setValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}checkValidity(){return this.elementInternals.checkValidity()}reportValidity(){return this.elementInternals.reportValidity()}setCustomValidity(e){this.elementInternals.setValidity({customError:!!e},e?e.toString():void 0),this.reportValidity()}setValidity(e,t,i){this.$fastController.isConnected&&(this.disabled||this.readOnly?this.elementInternals.setValidity({}):this.elementInternals.setValidity(e??this.controlEl.validity,t??this.controlEl.validationMessage,i??this.controlEl),this.userInteracted&&this.toggleUserValidityState())}select(){this.controlEl.select()}setDefaultValue(){this.defaultValue=this.innerHTML.trim()||this.preConnectControlEl.defaultValue||"",this.value=this.preConnectControlEl.value||this.defaultValue,this.setFormValue(this.value),this.setValidity(),this.preConnectControlEl=null}bindEvents(){this.controlEl.addEventListener("input",()=>this.userInteracted=!0,{once:!0})}getContent(){return this.defaultSlottedNodes.map(e=>{switch(e.nodeType){case Node.ELEMENT_NODE:return e.outerHTML;case Node.TEXT_NODE:return e.textContent.trim();default:return""}}).join("")||""}observeControlElAttrs(){this.controlElAttrObserver=new MutationObserver(()=>{this.setValidity()}),this.controlElAttrObserver.observe(this.controlEl,{attributes:!0,attributeFilter:["disabled","required","readonly","maxlength","minlength"]})}setDisabledSideEffect(e){this.elementInternals.ariaDisabled=`${e}`,this.controlEl&&(this.controlEl.disabled=e),this.filteredLabelSlottedNodes?.length&&this.filteredLabelSlottedNodes.forEach(t=>t.disabled=this.disabled)}toggleUserValidityState(){y(this.elementInternals,"user-invalid",!this.validity.valid),y(this.elementInternals,"user-valid",this.validity.valid)}maybeCreateAutoSizerEl(){if(!CSS.supports("field-sizing: content")){if(!this.autoResize){this.autoSizerEl?.remove(),this.autoSizerObserver?.disconnect();return}this.autoSizerEl||(this.autoSizerEl=document.createElement("div"),this.autoSizerEl.classList.add("auto-sizer"),this.autoSizerEl.ariaHidden="true"),this.shadowRoot.prepend(this.autoSizerEl),this.autoSizerObserver||(this.autoSizerObserver=new ResizeObserver((e,t)=>{const i=window.getComputedStyle(this).writingMode.startsWith("horizontal")?"height":"width";this.style.getPropertyValue(i)!==""&&(this.autoSizerEl?.remove(),t.disconnect())})),this.autoSizerObserver.observe(this)}}handleControlInput(){this.autoResize&&this.autoSizerEl&&(this.autoSizerEl.textContent=this.value+" "),this.setFormValue(this.value),this.setValidity()}handleControlChange(){this.toggleUserValidityState(),this.$emit("change")}handleControlSelect(){this.$emit("select")}}Y.formAssociated=!0,de([g],Y.prototype,"defaultSlottedNodes",2),de([g],Y.prototype,"labelSlottedNodes",2),de([a],Y.prototype,"autocomplete",2),de([a({attribute:"auto-resize",mode:"boolean"})],Y.prototype,"autoResize",2),de([a({attribute:"dirname"})],Y.prototype,"dirName",2),de([a({mode:"boolean"})],Y.prototype,"disabled",2),de([a({attribute:"display-shadow",mode:"boolean"})],Y.prototype,"displayShadow",2),de([a({attribute:"form"})],Y.prototype,"initialForm",2),de([a({attribute:"maxlength",converter:re})],Y.prototype,"maxLength",2),de([a({attribute:"minlength",converter:re})],Y.prototype,"minLength",2),de([a],Y.prototype,"name",2),de([a],Y.prototype,"placeholder",2),de([a({attribute:"readonly",mode:"boolean"})],Y.prototype,"readOnly",2),de([a({mode:"boolean"})],Y.prototype,"required",2),de([a({mode:"fromView"})],Y.prototype,"resize",2),de([a({mode:"boolean"})],Y.prototype,"spellcheck",2);var hf=Object.defineProperty,uf=Object.getOwnPropertyDescriptor,Kr=(o,e,t,i)=>{for(var r=i>1?void 0:i?uf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&hf(e,t,r),r};class ji extends Y{constructor(){super(...arguments),this.appearance=lf.outline,this.block=!1}labelSlottedNodesChanged(){super.labelSlottedNodesChanged(),this.labelSlottedNodes.forEach(e=>{e.size=this.size})}handleChange(e,t){switch(t){case"size":this.labelSlottedNodes.forEach(i=>{i.size=this.size});break}}connectedCallback(){super.connectedCallback(),m.getNotifier(this).subscribe(this,"size")}disconnectedCallback(){super.disconnectedCallback(),m.getNotifier(this).unsubscribe(this,"size")}}Kr([a({mode:"fromView"})],ji.prototype,"appearance",2),Kr([a({mode:"boolean"})],ji.prototype,"block",2),Kr([a],ji.prototype,"size",2);const pf=u`
546
+ ${k("inline-block")}
547
+
548
+ :host{--font-size:${B};--line-height:${A};--padding-inline:${ae};--padding-block:${je};--min-block-size:52px;--block-size:var(--min-block-size);--inline-size:18rem;--border-width:${P};--control-padding-inline:${H};--color:${T};--background-color:${I};--border-color:${Le};--border-block-end-color:${Ve};--placeholder-color:${pr};--focus-indicator-color:${$t};--box-shadow:none;--contain-size:size;--resize:none;color:var(--color);font-family:${v};font-size:var(--font-size);font-weight:${_};line-height:var(--line-height);position:relative}:host(:hover){--border-color:${Lt};--border-block-end-color:${mt}}:host(:active){--border-color:${ko};--border-block-end-color:${vt}}:host(:focus-within){outline:none}:host([block]:not([hidden])){display:block}:host([size='small']){--font-size:${F};--line-height:${q};--min-block-size:40px;--padding-block:${qt};--padding-inline:${J};--control-padding-inline:${H}}:host([size='large']){--font-size:${he};--line-height:${$e};--min-block-size:64px;--padding-block:${V};--padding-inline:${le};--control-padding-inline:${J}}:host([resize='both']:not(:disabled)){--resize:both}:host([resize='horizontal']:not(:disabled)){--resize:horizontal}:host([resize='vertical']:not(:disabled)){--resize:vertical}:host([auto-resize]){--block-size:auto;--contain-size:inline-size}:host([appearance='filled-darker']){--background-color:${$o};--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-lighter']){--border-color:var(--background-color);--border-block-end-color:var(--border-color)}:host([appearance='filled-darker'][display-shadow]),:host([appearance='filled-lighter'][display-shadow]){--box-shadow:${yr}}:host(${ru}){--border-color:${mr};--border-block-end-color:${mr}}:host(:disabled){--color:${S};--background-color:${fe};--border-color:${Ce};--border-block-end-color:var(--border-color);--box-shadow:none;--placeholder-color:${S};cursor:no-drop;user-select:none}.root{background-color:var(--background-color);border:var(--border-width) solid var(--border-color);border-block-end-color:var(--border-block-end-color);border-radius:${C};box-sizing:border-box;box-shadow:var(--box-shadow);contain:paint layout style var(--contain-size);display:grid;grid-template:1fr / 1fr;inline-size:var(--inline-size);min-block-size:var(--min-block-size);block-size:var(--block-size);overflow:hidden;padding:var(--padding-block) var(--padding-inline);position:relative;resize:var(--resize)}:host([block]) .root{inline-size:auto}.root::after{border-bottom:2px solid var(--focus-indicator-color);border-radius:0 0 ${C} ${C};box-sizing:border-box;clip-path:inset(calc(100% - 2px) 1px 0px);content:'';height:max(2px,${C});inset:auto -1px 0;position:absolute;transform:scaleX(0);transition-delay:${xt};transition-duration:${Sr};transition-property:transform}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${$i};transition-delay:${kt}}:host([readonly]) .root::after,:host(:disabled) .root::after{content:none}label{color:var(--color);display:flex;inline-size:fit-content;padding-block-end:${qt};padding-inline-end:${ne}}:host(:empty) label,label[hidden]{display:none}.auto-sizer,.control{box-sizing:border-box;font:inherit;grid-column:1 / -1;grid-row:1 / -1;letter-space:inherit;padding:0 var(--control-padding-inline)}.auto-sizer{display:none;padding-block-end:2px;pointer-events:none;visibility:hidden;white-space:pre-wrap}:host([auto-resize]) .auto-sizer{display:block}.control{appearance:none;background-color:transparent;border:0;color:inherit;field-sizing:content;max-block-size:100%;outline:0;resize:none;text-align:inherit}.control:disabled{cursor:inherit}.control::placeholder{color:var(--placeholder-color)}::selection{color:${bt};background-color:${ln}}`.withBehaviors(U(u`
549
+ :host{--border-color:FieldText;--border-block-end-color:FieldText;--focus-indicator-color:Highlight;--placeholder-color:FieldText}:host(:hover),:host(:active),:host(:focus-within){--border-color:Highlight;--border-block-end-color:Highlight}:host(:disabled){--color:GrayText;--border-color:GrayText;--border-block-end-color:GrayText;--placeholder-color:GrayText}`));function bf(){return b`<template><label ${E("labelEl")} for="control" part="label"><slot name="label" ${G("labelSlottedNodes")}></slot></label><div class="root" part="root"><textarea ${E("controlEl")} id="control" class="control" part="control" ?required="${o=>o.required}" ?disabled="${o=>o.disabled}" ?readonly="${o=>o.readOnly}" ?spellcheck="${o=>o.spellcheck}" autocomplete="${o=>o.autocomplete}" maxlength="${o=>o.maxLength}" minlength="${o=>o.minLength}" placeholder="${o=>o.placeholder}" @change="${o=>o.handleControlChange()}" @select="${o=>o.handleControlSelect()}" @input="${o=>o.handleControlInput()}"></textarea></div><div hidden><slot ${G("defaultSlottedNodes")}></slot></div></template>`}const gf=bf(),ff=ji.compose({name:`${p.prefix}-textarea`,template:gf,styles:pf,shadowOptions:{delegatesFocus:!0}});ff.define(p.registry);const mf={email:"email",password:"password",tel:"tel",text:"text",url:"url"},vf=["date","datetime-local","email","month","number","password","search","tel","text","time","url","week"];var $f=Object.defineProperty,yf=Object.getOwnPropertyDescriptor,N=(o,e,t,i)=>{for(var r=i>1?void 0:i?yf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&$f(e,t,r),r};class O extends ${constructor(){super(...arguments),this.type=mf.text,this.dirtyValue=!1,this.elementInternals=this.attachInternals()}currentValueChanged(e,t){this.value=t}defaultSlottedNodesChanged(e,t){this.$fastController.isConnected&&(this.controlLabel.hidden=!t?.length)}initialValueChanged(){this.dirtyValue||(this.value=this.initialValue)}readOnlyChanged(){this.$fastController.isConnected&&(this.elementInternals.ariaReadOnly=`${!!this.readOnly}`)}requiredChanged(e,t){this.$fastController.isConnected&&(this.elementInternals.ariaRequired=`${!!t}`)}controlChanged(e,t){this.setValidity()}get validity(){return this.elementInternals.validity}get validationMessage(){return this.elementInternals.validationMessage||this.control.validationMessage}get value(){return m.track(this,"value"),this.currentValue}set value(e){this.currentValue=e,this.$fastController.isConnected&&(this.control.value=e??"",this.setFormValue(e),this.setValidity(),m.notify(this,"value"))}get willValidate(){return this.elementInternals.willValidate}get form(){return this.elementInternals.form}beforeinputHandler(e){return e.inputType==="insertLineBreak"&&this.implicitSubmit(),!0}changeHandler(e){return this.setValidity(),this.$emit("change",e,{bubbles:!0,composed:!0}),!0}checkValidity(){return this.elementInternals.checkValidity()}clickHandler(e){return e.target===this&&this.control?.click(),!0}connectedCallback(){super.connectedCallback(),this.setFormValue(this.value),this.setValidity()}focusinHandler(e){return e.target===this&&this.control?.focus(),!0}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}implicitSubmit(){if(!this.elementInternals.form)return;if(this.elementInternals.form.elements.length===1){this.elementInternals.form.requestSubmit();return}const e=[...this.elementInternals.form.elements],t=e.find(r=>r.getAttribute("type")==="submit");if(t){t.click();return}e.filter(r=>vf.includes(r.getAttribute("type")??"")).length>1||this.elementInternals.form.requestSubmit()}inputHandler(e){return this.dirtyValue=!0,this.value=this.control.value,!0}keydownHandler(e){return e.key==="Enter"&&this.implicitSubmit(),!0}select(){this.control.select(),this.$emit("select")}setCustomValidity(e){this.elementInternals.setValidity({customError:!0},e),this.reportValidity()}reportValidity(){return this.elementInternals.reportValidity()}setFormValue(e,t){this.elementInternals.setFormValue(e,e??t)}setValidity(e,t,i){if(this.$fastController.isConnected&&this.control){if(this.disabled){this.elementInternals.setValidity({});return}this.elementInternals.setValidity(e??this.control.validity,t??this.validationMessage,i??this.control)}}}O.formAssociated=!0,N([a],O.prototype,"autocomplete",2),N([a({mode:"boolean"})],O.prototype,"autofocus",2),N([a({attribute:"current-value"})],O.prototype,"currentValue",2),N([g],O.prototype,"defaultSlottedNodes",2),N([a],O.prototype,"dirname",2),N([a({mode:"boolean"})],O.prototype,"disabled",2),N([a({attribute:"form"})],O.prototype,"formAttribute",2),N([a({attribute:"value",mode:"fromView"})],O.prototype,"initialValue",2),N([a],O.prototype,"list",2),N([a({converter:re})],O.prototype,"maxlength",2),N([a({converter:re})],O.prototype,"minlength",2),N([a({mode:"boolean"})],O.prototype,"multiple",2),N([a],O.prototype,"name",2),N([a],O.prototype,"pattern",2),N([a],O.prototype,"placeholder",2),N([a({attribute:"readonly",mode:"boolean"})],O.prototype,"readOnly",2),N([a({mode:"boolean"})],O.prototype,"required",2),N([a({converter:re})],O.prototype,"size",2),N([a({converter:{fromView:o=>typeof o=="string"?["true",""].includes(o.trim().toLowerCase()):null,toView:o=>o.toString()}})],O.prototype,"spellcheck",2),N([a],O.prototype,"type",2),N([g],O.prototype,"control",2),N([g],O.prototype,"controlLabel",2);var xf=Object.defineProperty,kf=Object.getOwnPropertyDescriptor,wa=(o,e,t,i)=>{for(var r=i>1?void 0:i?kf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&xf(e,t,r),r};class Ri extends O{}wa([a],Ri.prototype,"appearance",2),wa([a({attribute:"control-size"})],Ri.prototype,"controlSize",2),Xe(Ri,Ue);const wf=u`
550
+ ${k("block")}
551
+
552
+ :host{font-family:${v};font-size:${B};font-weight:${_};line-height:${A};max-width:400px}.label{display:flex;color:${T};padding-bottom:${qt};flex-shrink:0;padding-inline-end:${ne}}.label[hidden],:host(:empty) .label{display:none}.root{align-items:center;background-color:${I};border:${P} solid ${Le};border-bottom-color:${Ve};border-radius:${C};box-sizing:border-box;height:32px;display:inline-flex;flex-direction:row;gap:${H};padding:0 ${ae};position:relative;width:100%}:has(.control:user-invalid){border-color:${mr}}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,${C});border-radius:0 0 ${C} ${C};border-bottom:2px solid ${$t};clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:${Sr};transition-delay:${xt}}.control{width:100%;height:100%;box-sizing:border-box;color:${T};border-radius:${C};background:${fe};font-family:${v};font-weight:${_};font-size:${B};border:none;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:${pr}}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:${Z};font-size:${jt}}:host ::slotted([slot='start']){padding-right:${H}}:host ::slotted([slot='end']){padding-left:${H};gap:${ne}}:host(:hover) .root{border-color:${Lt};border-bottom-color:${mt}}:host(:active) .root{border-color:${ko}}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:${$i};transition-delay:${kt}}:host(:focus-within:active) .root:after{border-bottom-color:${$n}}:host([appearance='outline']:focus-within) .root{border:${P} solid ${Le}}:host(:focus-within) .control{color:${T}}:host([disabled]) .root{background:${fe};border:${P} solid ${Ce}}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:${S}}::selection{color:${bt};background-color:${ln}}:host([control-size='small']) .control{font-size:${F};font-weight:${_};line-height:${q}}:host([control-size='small']) .root{height:24px;gap:${H};padding:0 ${J}}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:${he}}:host([control-size='large']) .control{font-size:${he};font-weight:${_};line-height:${$e}}:host([control-size='large']) .root{height:40px;gap:${Oe};padding:0 ${le}}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:${ui}}:host([appearance='underline']) .root{background:${fe};border:0;border-radius:0;border-bottom:${P} solid ${Ve}}:host([appearance='underline']:hover) .root{border-bottom-color:${mt}}:host([appearance='underline']:active) .root{border-bottom-color:${vt}}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:${vt}}:host([appearance='underline'][disabled]) .root{border-bottom-color:${Ce}}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:${P} solid ${X};box-shadow:${yr}}:host([appearance='filled-lighter']) .root{background:${I}}:host([appearance='filled-darker']) .root{background:${$o}}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:${fr}}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:${fr};background:${$o}}`;function Cf(o={}){return b`<template @beforeinput="${(e,t)=>e.beforeinputHandler(t.event)}" @focusin="${(e,t)=>e.focusinHandler(t.event)}" @keydown="${(e,t)=>e.keydownHandler(t.event)}"><label part="label" for="control" class="label" ${E("controlLabel")}><slot ${G({property:"defaultSlottedNodes",filter:on})}></slot></label><div class="root" part="root">${He(o)}<input class="control" part="control" id="control" @change="${(e,t)=>e.changeHandler(t.event)}" @input="${(e,t)=>e.inputHandler(t.event)}" ?autofocus="${e=>e.autofocus}" autocomplete="${e=>e.autocomplete}" ?disabled="${e=>e.disabled}" list="${e=>e.list}" maxlength="${e=>e.maxlength}" minlength="${e=>e.minlength}" ?multiple="${e=>e.multiple}" name="${e=>e.name}" pattern="${e=>e.pattern}" placeholder="${e=>e.placeholder}" ?readonly="${e=>e.readOnly}" ?required="${e=>e.required}" size="${e=>e.size}" spellcheck="${e=>e.spellcheck}" type="${e=>e.type}" value="${e=>e.initialValue}" ${E("control")} />${tt(o)}</div></template>`}const Sf=Cf(),If=Ri.compose({name:`${p.prefix}-text-input`,template:Sf,styles:wf,shadowOptions:{delegatesFocus:!0}});If.define(p.registry);var Pf=Object.defineProperty,zf=Object.getOwnPropertyDescriptor,We=(o,e,t,i)=>{for(var r=i>1?void 0:i?zf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Pf(e,t,r),r};class _e extends ${constructor(){super(...arguments),this.elementInternals=this.attachInternals(),this.nowrap=!1,this.truncate=!1,this.italic=!1,this.underline=!1,this.strikethrough=!1,this.block=!1}}We([a({mode:"boolean"})],_e.prototype,"nowrap",2),We([a({mode:"boolean"})],_e.prototype,"truncate",2),We([a({mode:"boolean"})],_e.prototype,"italic",2),We([a({mode:"boolean"})],_e.prototype,"underline",2),We([a({mode:"boolean"})],_e.prototype,"strikethrough",2),We([a({mode:"boolean"})],_e.prototype,"block",2),We([a],_e.prototype,"size",2),We([a],_e.prototype,"font",2),We([a],_e.prototype,"weight",2),We([a],_e.prototype,"align",2);const Tf=u`
553
+ ${k("inline")}
554
+
555
+ :host{font-family:${v};font-size:${B};line-height:${A};font-weight:${_};text-align:start}:host([nowrap]),:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]),:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]){display:block}:host([italic]){font-style:italic}:host([underline]){text-decoration-line:underline}:host([strikethrough]){text-decoration-line:line-through}:host([underline][strikethrough]){text-decoration-line:line-through underline}:host([size='100']){font-size:${Co};line-height:${bi}}:host([size='200']){font-size:${F};line-height:${q}}:host([size='400']){font-size:${he};line-height:${$e}}:host([size='500']){font-size:${jt};line-height:${gi}}:host([size='600']){font-size:${ui};line-height:${Mn}}:host([size='700']){font-size:${An};line-height:${Dn}}:host([size='800']){font-size:${En};line-height:${Hn}}:host([size='900']){font-size:${Nn};line-height:${Vn}}:host([size='1000']){font-size:${Fn};line-height:${Ln}}:host([font='monospace']){font-family:${md}}:host([font='numeric']){font-family:${vd}}:host([weight='medium']){font-weight:${$d}}:host([weight='semibold']){font-weight:${D}}:host([weight='bold']){font-weight:${pi}}:host([align='center']){text-align:center}:host([align='end']){text-align:end}:host([align='justify']){text-align:justify}::slotted(*){font:inherit;line-height:inherit;text-decoration-line:inherit;text-align:inherit;text-decoration-line:inherit;margin:0}`,Bf=b`<slot></slot>`,Of=_e.compose({name:`${p.prefix}-text`,template:Bf,styles:Tf});Of.define(p.registry);var _f=Object.defineProperty,Af=Object.getOwnPropertyDescriptor,Ca=(o,e,t,i)=>{for(var r=i>1?void 0:i?Af(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&_f(e,t,r),r};class Yr extends Ye{pressedChanged(){this.setPressedState()}mixedChanged(){this.setPressedState()}press(){this.pressed=!this.pressed}connectedCallback(){super.connectedCallback(),this.setPressedState()}setPressedState(){if(this.$fastController.isConnected){const e=`${this.mixed?"mixed":!!this.pressed}`;this.elementInternals.ariaPressed=e,y(this.elementInternals,"pressed",!!this.pressed||!!this.mixed)}}}Ca([a({mode:"boolean"})],Yr.prototype,"pressed",2),Ca([a({mode:"boolean"})],Yr.prototype,"mixed",2);const Ef=u`
556
+ ${Ci}
557
+
558
+ :host(${M}){border-color:${Le};background-color:${an};color:${T};border-width:${P}}:host(${M}:hover){border-color:${Lt};background-color:${ai}}:host(${M}:active){border-color:${ko};background-color:${br}}:host(${M}[appearance='primary']:not(:focus-visible)){border-color:transparent}:host(${M}[appearance='primary']){background-color:${Yl};color:${Ke}}:host(${M}[appearance='primary']:hover){background-color:${pn}}:host(${M}[appearance='primary']:active){background-color:${bn}}:host(${M}[appearance='subtle']){border-color:transparent;background-color:${dn};color:${ii}}:host(${M}[appearance='subtle']:hover){background-color:${xo};color:${Mt}}:host(${M}[appearance='subtle']:active){background-color:${gt};color:${Dt}}:host(${M}[appearance='outline']),:host(${M}[appearance='transparent']){background-color:${hn}}:host(${M}[appearance='outline']:hover),:host(${M}[appearance='transparent']:hover){background-color:${li}}:host(${M}[appearance='outline']:active),:host(${M}[appearance='transparent']:active){background-color:${ci}}:host(${M}[appearance='transparent']){border-color:transparent;color:${Bl}}:host(${M}[appearance='transparent']:hover){color:${ri}}:host(${M}[appearance='transparent']:active){color:${si}}`.withBehaviors(U(u`
559
+ :host(${M}),:host(
560
+ ${M}:is([appearance='primary'],[appearance='subtle'],[appearance='outline'],[appearance='transparent'])
561
+ ){background:SelectedItem;color:SelectedItemText}`)),Nf=Ar(),Ff=Yr.compose({name:`${p.prefix}-toggle-button`,template:Nf,styles:Ef});Ff.define(p.registry);var Mf=Object.defineProperty,Df=Object.getOwnPropertyDescriptor,qi=(o,e,t,i)=>{for(var r=i>1?void 0:i?Df(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Mf(e,t,r),r};class Mo extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.id=Ft("tooltip-"),this.defaultDelay=250,this.anchor="",this.anchorPositioningStyleElement=null,this.mouseenterAnchorHandler=()=>this.showTooltip(this.delay),this.mouseleaveAnchorHandler=()=>this.hideTooltip(this.delay),this.focusAnchorHandler=()=>this.showTooltip(0),this.blurAnchorHandler=()=>this.hideTooltip(0),this.elementInternals.role="tooltip"}positioningChanged(){ti||this.setFallbackStyles()}get anchorElement(){const e=this.getRootNode();return(e instanceof ShadowRoot?e:document).getElementById(this.anchor??"")}connectedCallback(){if(super.connectedCallback(),!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`,t=this.anchorElement.getAttribute("aria-describedby");if(this.anchorElement.setAttribute("aria-describedby",t?`${t} ${this.id}`:this.id),this.anchorElement.addEventListener("focus",this.focusAnchorHandler),this.anchorElement.addEventListener("blur",this.blurAnchorHandler),this.anchorElement.addEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement.addEventListener("mouseleave",this.mouseleaveAnchorHandler),ti){Cl||(this.anchorElement.style.anchorName=e,this.style.positionAnchor=e);return}ie.enqueue(()=>this.setFallbackStyles())}disconnectedCallback(){super.disconnectedCallback(),this.anchorElement?.removeEventListener("focus",this.focusAnchorHandler),this.anchorElement?.removeEventListener("blur",this.blurAnchorHandler),this.anchorElement?.removeEventListener("mouseenter",this.mouseenterAnchorHandler),this.anchorElement?.removeEventListener("mouseleave",this.mouseleaveAnchorHandler)}showTooltip(e=this.defaultDelay){setTimeout(()=>{this.setAttribute("aria-hidden","false"),this.showPopover()},e)}hideTooltip(e=this.defaultDelay){setTimeout(()=>{if(this.matches(":hover")||this.anchorElement?.matches(":hover")){this.hideTooltip(e);return}this.setAttribute("aria-hidden","true"),this.hidePopover()},e)}setFallbackStyles(){if(!this.anchorElement)return;const e=this.anchorElement.style.anchorName||`--${this.anchor}`;this.anchorPositioningStyleElement||(this.anchorPositioningStyleElement=document.createElement("style"),document.head.append(this.anchorPositioningStyleElement));let[t,i]=this.positioning?.split("-")??[];i||((t==="above"||t==="below")&&(i="centerX"),(t==="before"||t==="after")&&(i="centerY"));const r={above:"bottom: anchor(top);",below:"top: anchor(bottom);",before:"right: anchor(left);",after:"left: anchor(right);"},s=r[t]??r.above,n={start:"left: anchor(left);",end:"right: anchor(right);",top:"top: anchor(top);",bottom:"bottom: anchor(bottom);",centerX:"left: anchor(center); translate: -50% 0;",centerY:"top: anchor(center); translate: 0 -50%;"},c=n[i]??n.centerX;this.anchorPositioningStyleElement.textContent=`
562
+ #${this.anchor} {
563
+ anchor-name: ${e};
564
+ }
565
+ #${this.id} {
566
+ inset: unset;
567
+ position-anchor: ${e};
568
+ position: absolute;
569
+ ${s}
570
+ ${c}
571
+ }
572
+ `,window.CSS_ANCHOR_POLYFILL&&window.CSS_ANCHOR_POLYFILL.call({element:this.anchorPositioningStyleElement})}}qi([a],Mo.prototype,"id",2),qi([a({converter:re})],Mo.prototype,"delay",2),qi([a],Mo.prototype,"positioning",2),qi([a],Mo.prototype,"anchor",2);const Te={"above-start":"block-start span-inline-end",above:"block-start","above-end":"block-start span-inline-start","below-start":"block-end span-inline-end",below:"block-end","below-end":"block-end span-inline-start","before-top":"inline-start span-block-end",before:"inline-start","before-bottom":"inline-start span-block-start","after-top":"inline-end span-block-end",after:"inline-end","after-bottom":"inline-end span-block-start"},Hf=u`
573
+ ${k("inline-flex")}
574
+
575
+ :host(:not(:popover-open)){display:none}:host{--position-area:block-start;--position-try-options:flip-block;--block-offset:${qt};--inline-offset:${ne};background:${I};border-radius:${C};border:1px solid ${X};box-sizing:border-box;color:${T};display:inline-flex;filter:drop-shadow(0 0 2px ${ec}) drop-shadow(0 4px 8px ${tc});font-family:${v};font-size:${F};inset:unset;line-height:${q};margin:unset;max-width:240px;overflow:visible;padding:4px ${ae} 6px;position:absolute;position-area:var(--position-area);position-try-options:var(--position-try-options);width:auto;z-index:1}@supports (inset-area:block-start){:host{inset-area:var(--position-area);position-try-fallbacks:var(--position-try-options)}}:host(:is([positioning^='above'],[positioning^='below'],:not([positioning]))){margin-block:var(--block-offset)}:host(:is([positioning^='before'],[positioning^='after'])){margin-inline:var(--inline-offset);--position-try-options:flip-inline}:host([positioning='above-start']){--position-area:${Te["above-start"]}}:host([positioning='above']){--position-area:${Te.above}}:host([positioning='above-end']){--position-area:${Te["above-end"]}}:host([positioning='below-start']){--position-area:${Te["below-start"]}}:host([positioning='below']){--position-area:${Te.below}}:host([positioning='below-end']){--position-area:${Te["below-end"]}}:host([positioning='before-top']){--position-area:${Te["before-top"]}}:host([positioning='before']){--position-area:${Te.before}}:host([positioning='before-bottom']){--position-area:${Te["before-bottom"]}}:host([positioning='after-top']){--position-area:${Te["after-top"]}}:host([positioning='after']){--position-area:${Te.after}}:host([positioning='after-bottom']){--position-area:${Te["after-bottom"]}}`,Vf=b`<template popover aria-hidden="true"><slot></slot></template>`,Lf=Mo.compose({name:`${p.prefix}-tooltip`,template:Vf,styles:Hf});Lf.define(p.registry);const Sa={subtle:"subtle",subtleAlpha:"subtle-alpha",transparent:"transparent"},Ia={small:"small",medium:"medium"};function Ae(o,e="-tree-item"){return o?.nodeType!==Node.ELEMENT_NODE?!1:o.tagName.toLowerCase().endsWith(e)}var jf=Object.defineProperty,Rf=Object.getOwnPropertyDescriptor,Pa=(o,e,t,i)=>{for(var r=i>1?void 0:i?Rf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&jf(e,t,r),r};class Qr extends ${constructor(){super(),this.currentSelected=null,this.currentFocused=null,this.elementInternals=this.attachInternals(),this.childTreeItems=[],this.elementInternals.role="tree"}childTreeItemsChanged(){this.updateCurrentSelected()}updateCurrentSelected(){const e=this.querySelector("[selected]");this.currentSelected=e,(this.currentFocused===null||!this.contains(this.currentFocused))&&(this.currentFocused=this.getValidFocusableItem())}keydownHandler(e){if(e.defaultPrevented)return;const t=e.target;if(!Ae(t)||this.childTreeItems.length<1)return!0;const i=this.getVisibleNodes();switch(e.key){case mo:{i.length&&i[0].focus();return}case go:{i.length&&i[i.length-1].focus();return}case uo:{t?.childTreeItems?.length&&t.expanded?t.expanded=!1:Ae(t.parentElement)&&t.parentElement.focus();return}case po:{t?.childTreeItems?.length&&(t.expanded?this.focusNextNode(1,t):t.expanded=!0);return}case ho:{this.focusNextNode(1,t);return}case bo:{this.focusNextNode(-1,t);return}case fo:{this.clickHandler(e);return}case Jo:{t.selected=!0;return}}return!0}focusHandler(e){if(!(this.childTreeItems.length<1)){if(e.target===this){this.currentFocused=this.getValidFocusableItem(),this.currentFocused&&this.currentFocused.tabIndex<0&&(this.currentFocused.tabIndex=0),this.currentFocused?.focus();return}this.contains(e.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=e.target)}}blurHandler(e){e.target instanceof HTMLElement&&(e.relatedTarget===null||!this.contains(e.relatedTarget))&&this.setAttribute("tabindex","0")}clickHandler(e){if(e.defaultPrevented)return;if(!Ae(e.target))return!0;const t=e.target;t.toggleExpansion(),t.selected=!0}changeHandler(e){if(e.defaultPrevented)return;if(!Ae(e.target))return!0;const t=e.target;t.selected?(this.currentSelected&&this.currentSelected!==t&&Ae(this.currentSelected)&&(this.currentSelected.selected=!1),this.currentSelected=t):!t.selected&&this.currentSelected===t&&(this.currentSelected=null)}getValidFocusableItem(){const e=this.getVisibleNodes();let t=e.findIndex(i=>i.selected);return t===-1&&(t=e.findIndex(i=>Ae(i))),t!==-1?e[t]:null}getVisibleNodes(){return Array.from(this.querySelectorAll("*")).filter(e=>Ae(e)&&e.offsetParent!==null)}focusNextNode(e,t){const i=this.getVisibleNodes();if(!i.length)return;const r=i[i.indexOf(t)+e];cr(r)&&r.focus()}handleDefaultSlotChange(){this.childTreeItems=this.defaultSlot.assignedElements().filter(e=>Ae(e))}}Pa([g],Qr.prototype,"currentSelected",2),Pa([g],Qr.prototype,"childTreeItems",2);var qf=Object.defineProperty,Wf=Object.getOwnPropertyDescriptor,za=(o,e,t,i)=>{for(var r=i>1?void 0:i?Wf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&qf(e,t,r),r};class Zr extends Qr{constructor(){super(...arguments),this.size=Ia.small,this.appearance=Sa.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}za([a],Zr.prototype,"size",2),za([a],Zr.prototype,"appearance",2);const Gf=u`
576
+ ${k("block")}
577
+
578
+ :host{outline:none}`,Uf=b`<template tabindex="0" @click="${(o,e)=>o.clickHandler(e.event)}" @focusin="${(o,e)=>o.focusHandler(e.event)}" @focusout="${(o,e)=>o.blurHandler(e.event)}" @keydown="${(o,e)=>o.keydownHandler(e.event)}" @change="${(o,e)=>o.changeHandler(e.event)}"><slot ${E("defaultSlot")} @slotchange="${o=>o.handleDefaultSlotChange()}"></slot></template>`,Xf=Zr.compose({name:`${p.prefix}-tree`,template:Uf,styles:Gf});Xf.define(p.registry);var Kf=Object.defineProperty,Yf=Object.getOwnPropertyDescriptor,ro=(o,e,t,i)=>{for(var r=i>1?void 0:i?Yf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Kf(e,t,r),r};class Tt extends ${constructor(){super(),this.elementInternals=this.attachInternals(),this.expanded=!1,this.selected=!1,this.empty=!1,this.childTreeItems=[],this.elementInternals.role="treeitem"}expandedChanged(e,t){this.$emit("toggle",{oldState:e?"open":"closed",newState:t?"open":"closed"}),y(this.elementInternals,"expanded",t),this.childTreeItems&&this.childTreeItems.length>0&&(this.elementInternals.ariaExpanded=t?"true":"false")}selectedChanged(e,t){this.updateTabindexBySelected(),this.$emit("change"),y(this.elementInternals,"selected",t),this.elementInternals.ariaSelected=t?"true":"false"}dataIndentChanged(e,t){this.styles!==void 0&&this.$fastController.removeStyles(this.styles),this.styles=u`
579
+ :host{--indent:${t}}`,this.$fastController.addStyles(this.styles)}childTreeItemsChanged(){this.empty=this.childTreeItems?.length===0,this.updateChildTreeItems()}connectedCallback(){super.connectedCallback(),this.updateTabindexBySelected()}updateChildTreeItems(){this.childTreeItems?.length&&(this.expanded||(this.expanded=Array.from(this.querySelectorAll("[selected]")).some(e=>Ae(e))),this.childTreeItems.forEach(e=>{this.setIndent(e)}))}setIndent(e){const t=this.dataIndent??0;e.dataIndent=t+1}toggleExpansion(){this.childTreeItems?.length&&(this.expanded=!this.expanded)}get isNestedItem(){return Ae(this.parentElement)}updateTabindexBySelected(){this.$fastController.isConnected&&(this.tabIndex=this.selected?0:-1)}handleItemSlotChange(){this.childTreeItems=this.itemSlot.assignedElements().filter(e=>Ae(e))}}ro([g],Tt.prototype,"itemSlot",2),ro([a({mode:"boolean"})],Tt.prototype,"expanded",2),ro([a({mode:"boolean"})],Tt.prototype,"selected",2),ro([a({mode:"boolean"})],Tt.prototype,"empty",2),ro([a({attribute:"data-indent"})],Tt.prototype,"dataIndent",2),ro([g],Tt.prototype,"childTreeItems",2);var Qf=Object.defineProperty,Zf=Object.getOwnPropertyDescriptor,Ta=(o,e,t,i)=>{for(var r=i>1?void 0:i?Zf(e,t):e,s=o.length-1,n;s>=0;s--)(n=o[s])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&Qf(e,t,r),r};class Jr extends Tt{constructor(){super(...arguments),this.size=Ia.small,this.appearance=Sa.subtle}sizeChanged(){this.updateSizeAndAppearance()}appearanceChanged(){this.updateSizeAndAppearance()}childTreeItemsChanged(){super.childTreeItemsChanged(),this.updateSizeAndAppearance()}updateSizeAndAppearance(){this.childTreeItems?.length&&this.childTreeItems.forEach(e=>{e.size=this.size,e.appearance=this.appearance})}}Ta([a],Jr.prototype,"size",2),Ta([a],Jr.prototype,"appearance",2);const Jf=u`
580
+ ${k("block")}
581
+
582
+ :host{outline:none;font-size:${B};line-height:${A}}:host(:focus-visible) .positioning-region{box-shadow:${Cr} ${Cr} ${Cr} ${Rt}
583
+ ${me} inset}.positioning-region{display:flex;align-items:center;justify-content:space-between;cursor:pointer;height:${Sd};padding-inline-start:calc(var(--indent) * ${wr});padding-inline-end:${V};border-radius:${C};background-color:${cn};color:${Ie};gap:${ne}}@media (prefers-contrast:more){:host(:focus-visible) .positioning-region{outline:1px solid ${me}}}.content{display:flex;align-items:center;gap:${ne}}.chevron{display:flex;align-items:center;flex-shrink:0;justify-content:center;width:${wr};height:${yt};transition:transform ${vi} ${Wn};transform:rotate(0deg)}.chevron:dir(rtl){transform:rotate(180deg)}.chevron svg{inline-size:12px;block-size:12px}.aside{display:flex;align-items:center}.positioning-region:hover{background-color:${xo};color:${Mt}}.positioning-region:active{background-color:${gt};color:${Dt}}::slotted([slot='start']),::slotted([slot='end']),::slotted(:not([slot])){display:flex;align-items:center;min-width:0}::slotted([slot='start']){flex-shrink:0}::slotted(:not([slot])){padding-inline:${H}}.items{display:none}:host([expanded]) .items{display:block}:host([empty]) .chevron,:host([empty]) .items{visibility:hidden}:host([selected]) .positioning-region{background-color:${dn};color:${ii}}:host([selected]) .content,:host([selected]) .chevron{color:${Al}}:host([size='small']) .positioning-region{height:${yt};padding-inline-start:calc(var(--indent) * ${le})}:host([appearance='subtle-alpha']) .positioning-region:hover{background-color:${Ul}}:host([appearance='subtle-alpha']) .positioning-region:active{background-color:${Xl}}:host([appearance='subtle-alpha'][selected]) .positioning-region{background-color:${Kl};color:${ii}}:host([appearance='transparent']) .positioning-region{background-color:${fe}}:host([appearance='transparent']) .positioning-region:hover{background-color:${li}}:host([appearance='transparent']) .positioning-region:active{background-color:${ci}}:host([appearance='transparent'][selected]) .positioning-region{background-color:${hn};color:${ii}}:host([expanded]) .chevron{transform:rotate(90deg)}`,em=b`<svg viewBox="0 0 12 12" fill="currentColor"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>`,tm=b`<template slot="${o=>o.isNestedItem?"item":void 0}"><div class="positioning-region" part="positioning-region"><div class="content" part="content"><span class="chevron" part="chevron" aria-hidden="true"><slot name="chevron">${em}</slot></span><slot name="start"></slot><slot></slot><slot name="end"></slot></div><div class="aside" part="aside"><slot name="aside"></slot></div></div><div role="group" class="items" part="items"><slot name="item" ${E("itemSlot")} @slotchange="${o=>o.handleItemSlotChange()}"></slot></div></template>`,om=Jr.compose({name:`${p.prefix}-tree-item`,template:tm,styles:Jf});om.define(p.registry);