spell-ui 0.8.6 → 0.8.7

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 (722) hide show
  1. package/README-components.md +14 -6
  2. package/README-frameworks.md +22 -12
  3. package/README-migrating.md +7 -6
  4. package/README-runtime.md +14 -13
  5. package/README-site.md +11 -11
  6. package/README-themes.md +38 -11
  7. package/README.md +61 -73
  8. package/dist/Dragging-CMZoLEWQ.js +169 -0
  9. package/dist/Dragging-CMZoLEWQ.js.map +1 -0
  10. package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
  11. package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
  12. package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
  13. package/dist/PrefStore-Qv0e5y04.js.map +1 -0
  14. package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
  15. package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
  16. package/dist/SitePages-CciwREek.js +51 -0
  17. package/dist/SitePages-CciwREek.js.map +1 -0
  18. package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
  19. package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
  20. package/dist/ThemeDraft-B7NPif4d.js +805 -0
  21. package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
  22. package/dist/TreeMeasure-BVJeGb1L.js +42 -0
  23. package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
  24. package/dist/UIButton-DFEds67r.js +6 -0
  25. package/dist/UIButton-DFEds67r.js.map +1 -0
  26. package/dist/UIInput-BodVbUoQ.js +6 -0
  27. package/dist/UIInput-BodVbUoQ.js.map +1 -0
  28. package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
  29. package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
  30. package/dist/UILabel-DgJUBzB_.js +6 -0
  31. package/dist/UILabel-DgJUBzB_.js.map +1 -0
  32. package/dist/UIMenu-zdcAtwTa.js +42 -0
  33. package/dist/UIMenu-zdcAtwTa.js.map +1 -0
  34. package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
  35. package/dist/UIRuntime-KH309p5B.js.map +1 -0
  36. package/dist/_spell-element/DOMElement.d.ts +62 -5
  37. package/dist/_spell-element/MoveAndResize.d.ts +75 -0
  38. package/dist/_spell-element/UIComponent.d.ts +42 -0
  39. package/dist/_spell-element/elements.types.d.ts +47 -0
  40. package/dist/_spell-element/index.d.ts +1 -0
  41. package/dist/_spell-element/vocabulary.types.d.ts +34 -2
  42. package/dist/{runtime → _util}/Api.d.ts +14 -4
  43. package/dist/_util/Dragging.d.ts +148 -0
  44. package/dist/_util/ListSelection.d.ts +46 -0
  45. package/dist/{util → _util}/LoadOnce.d.ts +9 -1
  46. package/dist/_util/ReconnectingSocket.d.ts +51 -0
  47. package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
  48. package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
  49. package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
  50. package/dist/_util/dom.d.ts +10 -0
  51. package/dist/_util/fetching.d.ts +92 -0
  52. package/dist/_util/measures/Dimension.d.ts +63 -0
  53. package/dist/_util/measures/MeasureSystem.d.ts +66 -0
  54. package/dist/_util/measures/dimensions.generated.d.ts +16 -0
  55. package/dist/_util/persist/ColorScheme.d.ts +6 -0
  56. package/dist/_util/persist/ServerPlace.d.ts +42 -0
  57. package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
  58. package/dist/_util/persist/persist.types.d.ts +21 -2
  59. package/dist/_util/timing.d.ts +10 -1
  60. package/dist/api.js +8 -7
  61. package/dist/api.js.map +1 -1
  62. package/dist/components/ComponentDefinitions.d.ts +29 -0
  63. package/dist/components/components.es.d.ts +13 -0
  64. package/dist/components/components.types.d.ts +113 -8
  65. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  66. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  67. package/dist/components/ui-action/UIAction.en.d.ts +5 -1
  68. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  69. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  70. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  71. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  72. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  74. package/dist/components/ui-button/UIButton.d.ts +8 -3
  75. package/dist/components/ui-button/UIButton.en.d.ts +9 -4
  76. package/dist/components/ui-button/UIButton.es.d.ts +6 -0
  77. package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
  78. package/dist/components/ui-button/UIButtons.d.ts +1 -0
  79. package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
  80. package/dist/components/ui-button/UIOr.d.ts +1 -0
  81. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  82. package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
  83. package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
  84. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
  85. package/dist/components/ui-card/CardClicks.d.ts +40 -0
  86. package/dist/components/ui-card/UICard.d.ts +41 -0
  87. package/dist/components/ui-card/UICard.en.d.ts +49 -0
  88. package/dist/components/ui-card/UICard.es.d.ts +1 -0
  89. package/dist/components/ui-card/UICards.d.ts +31 -0
  90. package/dist/components/ui-card/UICards.en.d.ts +31 -0
  91. package/dist/components/ui-card/UICards.es.d.ts +8 -0
  92. package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
  95. package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
  97. package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
  98. package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
  99. package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  102. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  105. package/dist/components/ui-components/PackHotSwap.d.ts +13 -3
  106. package/dist/components/ui-components/UIComponents.d.ts +1 -0
  107. package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
  108. package/dist/components/ui-container/UIContainer.d.ts +11 -0
  109. package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
  112. package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
  113. package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
  114. package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
  115. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
  116. package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
  117. package/dist/components/ui-diagram/index.d.ts +8 -0
  118. package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
  119. package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
  120. package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
  121. package/dist/components/ui-dimension/index.d.ts +2 -0
  122. package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
  123. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  124. package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
  125. package/dist/components/ui-divider/UIDivider.d.ts +2 -0
  126. package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
  127. package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
  129. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
  130. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
  131. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  132. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  133. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  134. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  135. package/dist/components/ui-example/UIExample.en.d.ts +4 -2
  136. package/dist/components/ui-example/UIExample.es.d.ts +3 -2
  137. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  138. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  139. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  140. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  141. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  142. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  143. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  144. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  145. package/dist/components/ui-form/FormBinding.d.ts +13 -1
  146. package/dist/components/ui-form/FormFields.d.ts +4 -4
  147. package/dist/components/ui-form/UIField.d.ts +30 -3
  148. package/dist/components/ui-form/UIField.en.d.ts +9 -0
  149. package/dist/components/ui-form/UIField.es.d.ts +6 -0
  150. package/dist/components/ui-form/UIFields.d.ts +1 -0
  151. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  152. package/dist/components/ui-form/UIForm.d.ts +15 -0
  153. package/dist/components/ui-form/UIForm.en.d.ts +6 -0
  154. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  155. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  156. package/dist/components/ui-form/index.d.ts +2 -1
  157. package/dist/components/ui-grid/UIColumn.d.ts +1 -0
  158. package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
  159. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  160. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  161. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  162. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  163. package/dist/components/ui-icon/UIIcon.d.ts +3 -2
  164. package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
  165. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  166. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  167. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
  168. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
  169. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
  170. package/dist/components/ui-image/UIImage.d.ts +34 -0
  171. package/dist/components/ui-image/UIImage.en.d.ts +23 -0
  172. package/dist/components/ui-image/UIImage.es.d.ts +2 -0
  173. package/dist/components/ui-image/UIImages.d.ts +1 -0
  174. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  175. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  176. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  177. package/dist/components/ui-input/TextControl.d.ts +7 -0
  178. package/dist/components/ui-input/UIInput.d.ts +22 -3
  179. package/dist/components/ui-input/UIInput.en.d.ts +9 -2
  180. package/dist/components/ui-input/UIInput.es.d.ts +2 -0
  181. package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
  182. package/dist/components/ui-input/UITextarea.d.ts +20 -0
  183. package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
  184. package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
  185. package/dist/components/ui-item/UIItem.d.ts +27 -4
  186. package/dist/components/ui-item/UIItem.en.d.ts +5 -1
  187. package/dist/components/ui-items/UIItems.d.ts +1 -0
  188. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  189. package/dist/components/ui-json/JsonChild.d.ts +30 -0
  190. package/dist/components/ui-json/UIJson.d.ts +128 -0
  191. package/dist/components/ui-json/UIJson.en.d.ts +71 -0
  192. package/dist/components/ui-json/UIJson.es.d.ts +12 -0
  193. package/dist/components/ui-json/index.d.ts +3 -0
  194. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  195. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  196. package/dist/components/ui-label/UILabel.d.ts +2 -0
  197. package/dist/components/ui-label/UILabel.en.d.ts +2 -0
  198. package/dist/components/ui-label/UILabel.es.d.ts +1 -0
  199. package/dist/components/ui-label/UILabels.d.ts +1 -0
  200. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  201. package/dist/components/ui-list/UIList.d.ts +2 -0
  202. package/dist/components/ui-list/UIList.en.d.ts +2 -0
  203. package/dist/components/ui-list/UIList.es.d.ts +1 -0
  204. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  205. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  206. package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
  207. package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
  208. package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
  209. package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
  210. package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
  211. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
  212. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
  213. package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
  214. package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
  215. package/dist/components/ui-menu/TitleFit.d.ts +3 -0
  216. package/dist/components/ui-menu/UIMenu.d.ts +97 -4
  217. package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
  218. package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
  219. package/dist/components/ui-message/UIMessage.d.ts +2 -0
  220. package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
  221. package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
  222. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  223. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  224. package/dist/components/ui-nag/UINag.d.ts +1 -0
  225. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  226. package/dist/components/ui-page/UIPage.d.ts +15 -0
  227. package/dist/components/ui-page/UIPage.en.d.ts +15 -0
  228. package/dist/components/ui-page/UIPage.es.d.ts +1 -0
  229. package/dist/components/ui-panel/UIPanel.d.ts +6 -0
  230. package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
  231. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  232. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  233. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  234. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  235. package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
  236. package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
  237. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  238. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  239. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  240. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  241. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  242. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  244. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  246. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  247. package/dist/components/ui-parts/UIHeader.d.ts +3 -1
  248. package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
  249. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  250. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  251. package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
  252. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  253. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  254. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  255. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  256. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  257. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  258. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  259. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  260. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  261. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  262. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  263. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  264. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  265. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  266. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  267. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  268. package/dist/components/ui-popup/UIPopup.d.ts +30 -3
  269. package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
  270. package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
  271. package/dist/components/ui-progress/UIProgress.d.ts +2 -0
  272. package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
  273. package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
  274. package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
  275. package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
  276. package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
  277. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
  278. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  279. package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
  280. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
  281. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
  282. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
  283. package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
  284. package/dist/components/ui-property-editor/index.d.ts +1 -0
  285. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  286. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  287. package/dist/components/ui-rail/UIRail.d.ts +1 -0
  288. package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
  289. package/dist/components/ui-rating/UIRating.d.ts +6 -0
  290. package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
  291. package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
  292. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  293. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  294. package/dist/components/ui-root/UIRoot.d.ts +18 -3
  295. package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
  296. package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
  297. package/dist/components/ui-search/UISearch.d.ts +48 -7
  298. package/dist/components/ui-search/UISearch.en.d.ts +13 -1
  299. package/dist/components/ui-search/UISearch.es.d.ts +1 -0
  300. package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
  301. package/dist/components/ui-section/UISection.d.ts +22 -1
  302. package/dist/components/ui-section/UISection.en.d.ts +10 -0
  303. package/dist/components/ui-section/UISection.es.d.ts +1 -0
  304. package/dist/components/ui-section/UISections.d.ts +1 -0
  305. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  306. package/dist/components/ui-segment/UISegment.d.ts +2 -0
  307. package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
  308. package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
  309. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  310. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  311. package/dist/components/ui-select/UISelect.d.ts +6 -0
  312. package/dist/components/ui-select/UISelect.en.d.ts +6 -0
  313. package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
  314. package/dist/components/ui-shape/UIShape.d.ts +23 -2
  315. package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
  316. package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
  317. package/dist/components/ui-shape/UISide.d.ts +4 -0
  318. package/dist/components/ui-shape/UISide.en.d.ts +4 -0
  319. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  320. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  321. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  322. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  323. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  324. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  325. package/dist/components/ui-sides/UISides.d.ts +209 -0
  326. package/dist/components/ui-sides/UISides.en.d.ts +122 -0
  327. package/dist/components/ui-sides/UISides.es.d.ts +30 -0
  328. package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
  329. package/dist/components/ui-sides/index.d.ts +2 -0
  330. package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
  331. package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
  332. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
  333. package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
  334. package/dist/components/ui-site-nav/index.d.ts +1 -0
  335. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
  336. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
  337. package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
  338. package/dist/components/ui-site-tabs/index.d.ts +1 -0
  339. package/dist/components/ui-slider/UISlider.d.ts +7 -0
  340. package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
  341. package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
  342. package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
  343. package/dist/components/ui-space/UISpace.d.ts +1 -0
  344. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  345. package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
  346. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
  347. package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
  348. package/dist/components/ui-split-panel/index.d.ts +2 -0
  349. package/dist/components/ui-stack/UIStack.d.ts +31 -5
  350. package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
  351. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  352. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  353. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  354. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  355. package/dist/components/ui-step/UIStep.d.ts +1 -0
  356. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  357. package/dist/components/ui-step/UISteps.d.ts +1 -0
  358. package/dist/components/ui-step/UISteps.en.d.ts +1 -0
  359. package/dist/components/ui-sticky/UISticky.d.ts +4 -0
  360. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  361. package/dist/components/ui-tab/UITab.d.ts +8 -0
  362. package/dist/components/ui-tab/UITab.en.d.ts +1 -0
  363. package/dist/components/ui-tab/UITabs.d.ts +107 -16
  364. package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
  365. package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
  366. package/dist/components/ui-table/TableEditing.d.ts +77 -0
  367. package/dist/components/ui-table/UICell.d.ts +1 -0
  368. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  369. package/dist/components/ui-table/UITable.d.ts +145 -5
  370. package/dist/components/ui-table/UITable.en.d.ts +19 -0
  371. package/dist/components/ui-table/UITable.es.d.ts +3 -0
  372. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  373. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  374. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  375. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  376. package/dist/components/ui-text/UILink.d.ts +11 -0
  377. package/dist/components/ui-text/UILink.en.d.ts +4 -0
  378. package/dist/components/ui-text/UIText.d.ts +7 -0
  379. package/dist/components/ui-text/UIText.en.d.ts +7 -0
  380. package/dist/components/ui-text/UIText.es.d.ts +2 -0
  381. package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
  382. package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
  383. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  384. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  385. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
  386. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
  387. package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
  388. package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
  389. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  390. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  391. package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
  392. package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
  393. package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
  394. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
  395. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
  396. package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
  397. package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
  398. package/dist/components/ui-theme-menu/index.d.ts +2 -1
  399. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  400. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  401. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  402. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  403. package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
  404. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
  405. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
  406. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  407. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  408. package/dist/components/ui-tree/UITree.d.ts +162 -0
  409. package/dist/components/ui-tree/UITree.en.d.ts +88 -0
  410. package/dist/components/ui-tree/UITree.es.d.ts +35 -0
  411. package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
  412. package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
  413. package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
  414. package/dist/components/ui-tree/index.d.ts +3 -0
  415. package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
  416. package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
  417. package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
  418. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
  419. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
  420. package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
  421. package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
  422. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
  423. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
  424. package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
  425. package/dist/components/ui-tree-diagram/index.d.ts +4 -2
  426. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  427. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  428. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  429. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  430. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  431. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  432. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  433. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  434. package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
  435. package/dist/components.es-BOa_7gFF.js.map +1 -0
  436. package/dist/core.d.ts +3 -1
  437. package/dist/core.js +1082 -511
  438. package/dist/core.js.map +1 -1
  439. package/dist/crisp-VfYZlTph.js +6 -0
  440. package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
  441. package/dist/docs-components/index.d.ts +1 -0
  442. package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
  443. package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
  444. package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
  445. package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
  446. package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
  447. package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
  448. package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
  449. package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
  450. package/dist/elements/AddressParameter.d.ts +87 -0
  451. package/dist/elements/DOMFormControl.d.ts +5 -0
  452. package/dist/elements/FormComponent.d.ts +32 -0
  453. package/dist/elements/LoadableBody.d.ts +6 -1
  454. package/dist/elements/LoadableComponent.d.ts +10 -1
  455. package/dist/elements/RootSettings.d.ts +43 -6
  456. package/dist/elements/SpellUISettings.d.ts +1 -0
  457. package/dist/elements/StickyWatch.d.ts +20 -0
  458. package/dist/elements/elements.types.d.ts +15 -0
  459. package/dist/elements/index.d.ts +2 -0
  460. package/dist/forms.js +93 -63
  461. package/dist/forms.js.map +1 -1
  462. package/dist/fruity-BRVlgJZd.js +6 -0
  463. package/dist/fruity-BRVlgJZd.js.map +1 -0
  464. package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
  465. package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
  466. package/dist/glass-x9tbbwVq.js +6 -0
  467. package/dist/glass-x9tbbwVq.js.map +1 -0
  468. package/dist/glass.theme-24wY2wH9.js +6 -0
  469. package/dist/glass.theme-24wY2wH9.js.map +1 -0
  470. package/dist/hot.js +530 -24
  471. package/dist/hot.js.map +1 -1
  472. package/dist/index.d.ts +8 -0
  473. package/dist/index.js +91 -81
  474. package/dist/jsx.d.ts +21149 -10377
  475. package/dist/matrix-QY2gWbJ0.js +6 -0
  476. package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
  477. package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
  478. package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
  479. package/dist/midnight-BxlTQSfw.js +6 -0
  480. package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
  481. package/dist/mockup-83ELBuVr.js +6 -0
  482. package/dist/mockup-83ELBuVr.js.map +1 -0
  483. package/dist/mockup.theme-DmpBgGBl.js +6 -0
  484. package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
  485. package/dist/paper-M61nUilz.js +6 -0
  486. package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
  487. package/dist/persist.types-D2m6wD-S.js +9 -0
  488. package/dist/persist.types-D2m6wD-S.js.map +1 -0
  489. package/dist/pop-CxXfytjk.js +6 -0
  490. package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
  491. package/dist/runtime/DataTooltips.d.ts +75 -0
  492. package/dist/runtime/PropertyControls.d.ts +15 -1
  493. package/dist/runtime/Sources.d.ts +16 -4
  494. package/dist/runtime/Styles.d.ts +11 -0
  495. package/dist/runtime/Themes.d.ts +10 -4
  496. package/dist/runtime/UIRuntime.d.ts +4 -1
  497. package/dist/runtime/index.d.ts +1 -1
  498. package/dist/runtime/runtime.types.d.ts +18 -85
  499. package/dist/spell-By5Y3jKP.js +6 -0
  500. package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
  501. package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
  502. package/dist/spell.theme-DxGj7qHx.js.map +1 -0
  503. package/dist/styles/CodeThemeFile.d.ts +73 -0
  504. package/dist/styles/StyleGenerator.d.ts +6 -0
  505. package/dist/styles/styles.en.d.ts +141 -3
  506. package/dist/styles/styles.types.d.ts +2 -0
  507. package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
  508. package/dist/styles.en-CUUxNwHo.js.map +1 -0
  509. package/dist/styles.js +13 -13
  510. package/dist/styles.js.map +1 -1
  511. package/dist/ui-accordion.js +54 -53
  512. package/dist/ui-accordion.js.map +1 -1
  513. package/dist/ui-action.js +20 -19
  514. package/dist/ui-action.js.map +1 -1
  515. package/dist/ui-ad.js +5 -4
  516. package/dist/ui-ad.js.map +1 -1
  517. package/dist/ui-breadcrumbs.js +15 -13
  518. package/dist/ui-breadcrumbs.js.map +1 -1
  519. package/dist/ui-button.js +132 -125
  520. package/dist/ui-button.js.map +1 -1
  521. package/dist/ui-calendar.js +208 -206
  522. package/dist/ui-calendar.js.map +1 -1
  523. package/dist/ui-card.js +260 -98
  524. package/dist/ui-card.js.map +1 -1
  525. package/dist/ui-checkbox.js +95 -81
  526. package/dist/ui-checkbox.js.map +1 -1
  527. package/dist/ui-code.js +25 -24
  528. package/dist/ui-code.js.map +1 -1
  529. package/dist/ui-comment.js +14 -12
  530. package/dist/ui-comment.js.map +1 -1
  531. package/dist/ui-components.js +7 -6
  532. package/dist/ui-components.js.map +1 -1
  533. package/dist/ui-container.js +24 -12
  534. package/dist/ui-container.js.map +1 -1
  535. package/dist/ui-diagram.js +1328 -0
  536. package/dist/ui-diagram.js.map +1 -0
  537. package/dist/ui-dimension.js +779 -0
  538. package/dist/ui-dimension.js.map +1 -0
  539. package/dist/ui-dimmer.js +36 -34
  540. package/dist/ui-dimmer.js.map +1 -1
  541. package/dist/ui-divider.js +7 -5
  542. package/dist/ui-divider.js.map +1 -1
  543. package/dist/ui-dropdown.js +107 -105
  544. package/dist/ui-dropdown.js.map +1 -1
  545. package/dist/ui-embed.js +36 -35
  546. package/dist/ui-embed.js.map +1 -1
  547. package/dist/ui-emoji.js +10 -9
  548. package/dist/ui-emoji.js.map +1 -1
  549. package/dist/ui-example.js +63 -61
  550. package/dist/ui-example.js.map +1 -1
  551. package/dist/ui-feed.js +12 -10
  552. package/dist/ui-feed.js.map +1 -1
  553. package/dist/ui-flag.js +10 -9
  554. package/dist/ui-flag.js.map +1 -1
  555. package/dist/ui-flyout.js +7 -6
  556. package/dist/ui-flyout.js.map +1 -1
  557. package/dist/ui-form.js +244 -162
  558. package/dist/ui-form.js.map +1 -1
  559. package/dist/ui-grid.js +21 -18
  560. package/dist/ui-grid.js.map +1 -1
  561. package/dist/ui-icon-picker.js +46 -44
  562. package/dist/ui-icon-picker.js.map +1 -1
  563. package/dist/ui-icon.js +17 -14
  564. package/dist/ui-icon.js.map +1 -1
  565. package/dist/ui-image.js +93 -55
  566. package/dist/ui-image.js.map +1 -1
  567. package/dist/ui-include.js +18 -17
  568. package/dist/ui-include.js.map +1 -1
  569. package/dist/ui-input.js +154 -112
  570. package/dist/ui-input.js.map +1 -1
  571. package/dist/ui-item.js +152 -102
  572. package/dist/ui-item.js.map +1 -1
  573. package/dist/ui-items.js +9 -8
  574. package/dist/ui-items.js.map +1 -1
  575. package/dist/ui-json.js +115 -0
  576. package/dist/ui-json.js.map +1 -0
  577. package/dist/ui-keys.js +1 -1
  578. package/dist/ui-label.js +18 -15
  579. package/dist/ui-label.js.map +1 -1
  580. package/dist/ui-list.js +7 -5
  581. package/dist/ui-list.js.map +1 -1
  582. package/dist/ui-loader.js +7 -6
  583. package/dist/ui-loader.js.map +1 -1
  584. package/dist/ui-markdown.js +975 -83
  585. package/dist/ui-markdown.js.map +1 -1
  586. package/dist/ui-menu.js +329 -196
  587. package/dist/ui-menu.js.map +1 -1
  588. package/dist/ui-message.js +20 -18
  589. package/dist/ui-message.js.map +1 -1
  590. package/dist/ui-modal.js +46 -45
  591. package/dist/ui-modal.js.map +1 -1
  592. package/dist/ui-nag.js +19 -18
  593. package/dist/ui-nag.js.map +1 -1
  594. package/dist/ui-page.js +8 -7
  595. package/dist/ui-page.js.map +1 -1
  596. package/dist/ui-panel.js +28 -17
  597. package/dist/ui-panel.js.map +1 -1
  598. package/dist/ui-parts.js +66 -52
  599. package/dist/ui-parts.js.map +1 -1
  600. package/dist/ui-placeholder.js +21 -16
  601. package/dist/ui-placeholder.js.map +1 -1
  602. package/dist/ui-popup.js +113 -84
  603. package/dist/ui-popup.js.map +1 -1
  604. package/dist/ui-progress.js +9 -7
  605. package/dist/ui-progress.js.map +1 -1
  606. package/dist/ui-property-editor.js +706 -203
  607. package/dist/ui-property-editor.js.map +1 -1
  608. package/dist/ui-quote.js +5 -4
  609. package/dist/ui-quote.js.map +1 -1
  610. package/dist/ui-rail.js +5 -4
  611. package/dist/ui-rail.js.map +1 -1
  612. package/dist/ui-rating.js +31 -29
  613. package/dist/ui-rating.js.map +1 -1
  614. package/dist/ui-reveal.js +7 -6
  615. package/dist/ui-reveal.js.map +1 -1
  616. package/dist/ui-root.js +324 -158
  617. package/dist/ui-root.js.map +1 -1
  618. package/dist/ui-search.js +210 -168
  619. package/dist/ui-search.js.map +1 -1
  620. package/dist/ui-section.js +124 -92
  621. package/dist/ui-section.js.map +1 -1
  622. package/dist/ui-segment.js +15 -12
  623. package/dist/ui-segment.js.map +1 -1
  624. package/dist/ui-select.js +83 -81
  625. package/dist/ui-select.js.map +1 -1
  626. package/dist/ui-shape.js +86 -58
  627. package/dist/ui-shape.js.map +1 -1
  628. package/dist/ui-sidebar.js +59 -56
  629. package/dist/ui-sidebar.js.map +1 -1
  630. package/dist/ui-sides.js +325 -0
  631. package/dist/ui-sides.js.map +1 -0
  632. package/dist/ui-site-nav.js +329 -0
  633. package/dist/ui-site-nav.js.map +1 -0
  634. package/dist/ui-site-tabs.js +177 -0
  635. package/dist/ui-site-tabs.js.map +1 -0
  636. package/dist/ui-slider.js +84 -81
  637. package/dist/ui-slider.js.map +1 -1
  638. package/dist/ui-space.js +7 -6
  639. package/dist/ui-space.js.map +1 -1
  640. package/dist/ui-split-panel.js +298 -0
  641. package/dist/ui-split-panel.js.map +1 -0
  642. package/dist/ui-stack.js +47 -23
  643. package/dist/ui-stack.js.map +1 -1
  644. package/dist/ui-statistic.js +15 -13
  645. package/dist/ui-statistic.js.map +1 -1
  646. package/dist/ui-step.js +31 -29
  647. package/dist/ui-step.js.map +1 -1
  648. package/dist/ui-sticky.js +7 -6
  649. package/dist/ui-sticky.js.map +1 -1
  650. package/dist/ui-tab.js +230 -138
  651. package/dist/ui-tab.js.map +1 -1
  652. package/dist/ui-table.js +724 -162
  653. package/dist/ui-table.js.map +1 -1
  654. package/dist/ui-terms.js +12 -10
  655. package/dist/ui-terms.js.map +1 -1
  656. package/dist/ui-text.js +53 -28
  657. package/dist/ui-text.js.map +1 -1
  658. package/dist/ui-theme-editor.js +1018 -1545
  659. package/dist/ui-theme-editor.js.map +1 -1
  660. package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
  661. package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
  662. package/dist/ui-toast.js +45 -44
  663. package/dist/ui-toast.js.map +1 -1
  664. package/dist/ui-toc.js +75 -74
  665. package/dist/ui-toc.js.map +1 -1
  666. package/dist/ui-toolbar.js +51 -73
  667. package/dist/ui-toolbar.js.map +1 -1
  668. package/dist/ui-transition.js +12 -11
  669. package/dist/ui-transition.js.map +1 -1
  670. package/dist/ui-tree-diagram.js +676 -197
  671. package/dist/ui-tree-diagram.js.map +1 -1
  672. package/dist/ui-tree.js +625 -0
  673. package/dist/ui-tree.js.map +1 -0
  674. package/dist/ui-video.js +13 -11
  675. package/dist/ui-video.js.map +1 -1
  676. package/dist/ui-visibility.js +26 -25
  677. package/dist/ui-visibility.js.map +1 -1
  678. package/dist/ui-zoom.js +79 -78
  679. package/dist/ui-zoom.js.map +1 -1
  680. package/dist/util/TopLayerTip.d.ts +28 -0
  681. package/dist/util/index.d.ts +5 -2
  682. package/dist/vocabulary/DefaultValues.d.ts +34 -0
  683. package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
  684. package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
  685. package/dist/vocabulary/ValueSets.d.ts +18 -0
  686. package/dist/vocabulary/Vocabulary.d.ts +1 -0
  687. package/dist/vocabulary/defaults.generated.d.ts +6 -0
  688. package/dist/vocabulary/index.d.ts +1 -0
  689. package/package.json +1 -1
  690. package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
  691. package/dist/PrefStore-CeaTtjTz.js.map +0 -1
  692. package/dist/UIButton-XkfGqgh6.js +0 -6
  693. package/dist/UIButton-XkfGqgh6.js.map +0 -1
  694. package/dist/UIInput-BUudZstW.js +0 -6
  695. package/dist/UIInput-BUudZstW.js.map +0 -1
  696. package/dist/UIKeys-DJF2TIKE.js.map +0 -1
  697. package/dist/UILabel-C1jy3Yl8.js +0 -6
  698. package/dist/UILabel-C1jy3Yl8.js.map +0 -1
  699. package/dist/UIMenu-Btd-8V3A.js +0 -42
  700. package/dist/UIMenu-Btd-8V3A.js.map +0 -1
  701. package/dist/UIRuntime-BBuehGly.js.map +0 -1
  702. package/dist/components.es-DmLzT-Bq.js.map +0 -1
  703. package/dist/crisp-CoZRRDuQ.js +0 -6
  704. package/dist/fruity-CQFYeRlh.js +0 -6
  705. package/dist/fruity-CQFYeRlh.js.map +0 -1
  706. package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
  707. package/dist/glass-CAfW11kL.js +0 -6
  708. package/dist/glass-CAfW11kL.js.map +0 -1
  709. package/dist/glass.theme-DQcBbtCW.js +0 -6
  710. package/dist/glass.theme-DQcBbtCW.js.map +0 -1
  711. package/dist/matrix-CqA59hiF.js +0 -6
  712. package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
  713. package/dist/midnight-BnoVOrhC.js +0 -6
  714. package/dist/paper-CynH8ZuT.js +0 -6
  715. package/dist/persist.types-CsZxS8TG.js +0 -9
  716. package/dist/persist.types-CsZxS8TG.js.map +0 -1
  717. package/dist/pop-D2i9V_rG.js +0 -6
  718. package/dist/spell-BFtLICm7.js +0 -6
  719. package/dist/spell.theme-B7AU7SQX.js.map +0 -1
  720. package/dist/styles.en-RLpYiO5_.js.map +0 -1
  721. package/dist/ui-theme-menu-DyKZygpV.js +0 -921
  722. package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/core.js CHANGED
@@ -114,6 +114,18 @@ function flatParentFor(e) {
114
114
  let t = e.getRootNode();
115
115
  return t.nodeType === _.documentFragment && t.host ? t.host : void 0;
116
116
  }
117
+ function scrollIntoSight(e) {
118
+ let t = e.getBoundingClientRect(), n = scrollingBoxFor(e)?.getBoundingClientRect() ?? {
119
+ top: 0,
120
+ bottom: e.ownerDocument.defaultView?.innerHeight ?? 0
121
+ };
122
+ if (t.top >= n.top && t.bottom <= n.bottom) return;
123
+ let r = t.bottom > n.top && t.top < n.bottom;
124
+ e.scrollIntoView({ block: r ? "nearest" : "center" });
125
+ }
126
+ function scrollingBoxFor(e) {
127
+ for (let t = flatParentFor(e); t; t = flatParentFor(t)) if (t.scrollHeight > t.clientHeight && /auto|scroll/.test(getComputedStyle(t).overflowY)) return t;
128
+ }
117
129
  var _e = .8, ve = "(prefers-reduced-motion: reduce)";
118
130
  function scrollEnds(e) {
119
131
  return {
@@ -243,9 +255,12 @@ function after(e, t) {
243
255
  });
244
256
  return Object.assign(n, { cancel: () => cancel() });
245
257
  }
246
- function every(e, t) {
247
- let n = setInterval(t, e * 1e3);
248
- return () => clearInterval(n);
258
+ function every(e, t, { inBackground: n } = {}) {
259
+ let r = setInterval(t, e * 1e3);
260
+ return n && letNodeEnd(r), () => clearInterval(r);
261
+ }
262
+ function letNodeEnd(e) {
263
+ e.unref?.();
249
264
  }
250
265
  var Queued = class {
251
266
  when;
@@ -307,14 +322,20 @@ var Ce = [
307
322
  colSpan: "ariaColSpan",
308
323
  current: "ariaCurrent",
309
324
  disabled: "ariaDisabled",
325
+ expanded: "ariaExpanded",
310
326
  hidden: "ariaHidden",
311
327
  label: "ariaLabel",
312
328
  level: "ariaLevel",
313
329
  live: "ariaLive",
330
+ multiSelectable: "ariaMultiSelectable",
314
331
  roleDescription: "ariaRoleDescription",
315
332
  selected: "ariaSelected",
316
333
  valueMin: "ariaValueMin"
317
- }, Te = "ui-error", Ee = "errored", y = class SpellSolid {
334
+ }, Te = "ui-error", Ee = "errored", StaleCatalogError = class extends TypeError {};
335
+ StaleCatalogError.prototype.name = "StaleCatalogError";
336
+ //#endregion
337
+ //#region ../src/element/SpellSolid.ts
338
+ var y = class SpellSolid {
318
339
  static install(e) {
319
340
  SpellSolid.installed = e;
320
341
  for (let e of SpellSolid.waiting.splice(0)) e();
@@ -1018,23 +1039,23 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1018
1039
  let t = this.tagSetup?.elementDefinition;
1019
1040
  if (t) {
1020
1041
  for (let e of t.attributes) this.attributeValues[e.key] = t.startingValue(e);
1021
- this.visibleAttribute && (this.attributeValues[qe] = this.isVisibleInMarkup), this.captureUpgradeValues(t);
1042
+ this.visibleAttribute && (this.attributeValues[qe] = this.isVisibleInMarkup), this.captureUpgradeValues(t), DOMElement.unobserved(this.constructor).length && DOMElement.watchAttributes(this, "replay");
1022
1043
  } else Xe.get(this.constructor)?.pending.add(this), DOMElement.isPending(this) && this.setState(Je, !0);
1023
1044
  this.addEventListener("click", (e) => this.swallowClickWhileDisabled(e), { capture: !0 }), DOMElement.hotReloadHooks?.created(this);
1024
1045
  }
1025
1046
  connectedCallback() {
1026
1047
  if (DOMElement.isPending(this)) return;
1027
- this.settleVisible(), this.restoreUpgradeValues(), S.replay(this, this.tagSetup?.elementDefinition);
1048
+ this.settleVisible(), this.restoreUpgradeValues(), S.replay(this, this.tagSetup?.elementDefinition), this.followRootDefaults();
1028
1049
  let { connectedState: e } = this;
1029
1050
  e.isMounted || (e.isMounted = !0, S.readScriptApiAttributes(this, DOMElement, this.tagSetup?.elementDefinition), this.tagSetup?.mountComponent(this), this.handOverEarlyFormState()), this.component?.onConnect();
1030
1051
  }
1031
1052
  disconnectedCallback() {
1032
- this.component?.onDisconnect();
1053
+ this.stopFollowingRootDefaults(), this.component?.onDisconnect();
1033
1054
  }
1034
1055
  dispose() {
1035
1056
  let { connectedState: e } = this;
1036
1057
  if (!e.isMounted) return;
1037
- e.isMounted = !1, e.propertyChangedCallbacks.length = 0;
1058
+ e.isMounted = !1, this.stopFollowingRootDefaults(), e.propertyChangedCallbacks.length = 0;
1038
1059
  let t;
1039
1060
  for (; t = e.releaseCallbacks.pop();) t(this);
1040
1061
  }
@@ -1048,7 +1069,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1048
1069
  if (a && e === "hidden" && !o) return this.onHiddenAttributeChanged(n);
1049
1070
  if (o && !i.upgradeValues?.has(o.property)) {
1050
1071
  if (o === a) return this.onVisibleAttributeChanged(n);
1051
- this.setValue(o, r.convert(o, n), "attribute");
1072
+ this.setValue(o, r.convert(o, n), "attribute"), this.markOwnValue(o, n !== null);
1052
1073
  }
1053
1074
  }
1054
1075
  setAttribute(e, t) {
@@ -1067,7 +1088,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1067
1088
  }
1068
1089
  setValueNamed(e, t) {
1069
1090
  let { elementDefinition: n } = this.tagSetup, r = n.attribute(e);
1070
- this.setValue(r, n.convert(r, t), "property");
1091
+ this.setValue(r, n.convert(r, t), "property"), this.markOwnValue(r, t != null);
1071
1092
  }
1072
1093
  setValue(e, t, n) {
1073
1094
  if (n === "property" && e === this.visibleAttribute) return this.writeVisible(t === !0);
@@ -1123,7 +1144,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1123
1144
  for (let n of e.attributes) {
1124
1145
  if (!Object.hasOwn(this, n.property)) continue;
1125
1146
  let r = t[n.property];
1126
- delete t[n.property], (this.connectedState.upgradeValues ??= /* @__PURE__ */ new Map()).set(n.property, r), this.attributeValues[n.key] = e.convert(n, r);
1147
+ delete t[n.property], (this.connectedState.upgradeValues ??= /* @__PURE__ */ new Map()).set(n.property, r), r != null && (this.connectedState.ownValues ??= /* @__PURE__ */ new Set()).add(n.key), this.attributeValues[n.key] = e.convert(n, r);
1127
1148
  }
1128
1149
  }
1129
1150
  restoreUpgradeValues() {
@@ -1133,6 +1154,38 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1133
1154
  for (let [t, n] of e) this[t] = n;
1134
1155
  }
1135
1156
  }
1157
+ markOwnValue(e, t) {
1158
+ let { connectedState: n } = this;
1159
+ if (t) {
1160
+ (n.ownValues ??= /* @__PURE__ */ new Set()).add(e.key), n.defaultedValues?.delete(e.key);
1161
+ return;
1162
+ }
1163
+ if (!n.ownValues?.delete(e.key) || !this.isConnected) return;
1164
+ let r = DOMElement.defaultSettings;
1165
+ r && this.applyRootDefaults(p(() => r.for(this, this.tagSetup.elementDefinition)));
1166
+ }
1167
+ followRootDefaults() {
1168
+ let e = DOMElement.defaultSettings, { connectedState: t } = this, n = this.tagSetup?.elementDefinition;
1169
+ e && n && !t.stopDefaults && (this.applyRootDefaults(p(() => e.for(this, n))), t.stopDefaults = b.ownRoot((t) => (i(() => e.for(this, n), (e) => {
1170
+ this.applyRootDefaults(e);
1171
+ }), t)));
1172
+ }
1173
+ stopFollowingRootDefaults() {
1174
+ let { connectedState: e } = this;
1175
+ e.stopDefaults?.(), e.stopDefaults = void 0;
1176
+ }
1177
+ applyRootDefaults(e) {
1178
+ let { connectedState: t } = this, n = this.tagSetup.elementDefinition, r = this.visibleAttribute, i = t.ownValues, a = /* @__PURE__ */ new Map();
1179
+ for (let { attribute: t, value: o } of e) i?.has(t.key) || t === r || (a.set(t.key, t), this.storeIfChanged(t, n.convert(t, o)));
1180
+ for (let [e, r] of t.defaultedValues ?? []) a.has(e) || i?.has(e) || this.storeIfChanged(r, n.startingValue(r));
1181
+ t.defaultedValues = a.size ? a : void 0;
1182
+ }
1183
+ storeIfChanged(e, t) {
1184
+ Object.is(this.attributeValues[e.key], t) || this.storeValue(e, t, "default");
1185
+ }
1186
+ static get defaultSettings() {
1187
+ return y.isInstalled ? y.settings.defaults : void 0;
1188
+ }
1136
1189
  get renderRoot() {
1137
1190
  let { connectedState: e } = this;
1138
1191
  if (e.root) return e.root;
@@ -1191,7 +1244,7 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1191
1244
  return this.attributeValues[e.key];
1192
1245
  },
1193
1246
  set(t) {
1194
- this.setValue(e, this.tagSetup.elementDefinition.convert(e, t), "property");
1247
+ this.setValue(e, this.tagSetup.elementDefinition.convert(e, t), "property"), this.markOwnValue(e, t != null);
1195
1248
  },
1196
1249
  enumerable: !0,
1197
1250
  configurable: !0
@@ -1217,8 +1270,12 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1217
1270
  return !!t && !t.isAttached;
1218
1271
  }
1219
1272
  static attach(e, t, n) {
1220
- let r = Xe.get(e), i = DOMElement.observedAttributesFor(n.elementDefinition).filter((e) => !r.attributes.includes(e));
1221
- if (n.isAFormControl !== r.isAFormControl || i.length) throw TypeError(`<${r.tag}>: its root's catalog is stale (${i.length ? `no ${i.join(", ")}` : "form control"}); regenerate it (Spell UI's \`yarn gen:root\`, a pack's \`spell-pack build\`)`);
1273
+ let r = Xe.get(e), i = DOMElement.observedAttributesFor(n.elementDefinition).filter((e) => !r.attributes.includes(e)), a = n.isAFormControl !== r.isAFormControl;
1274
+ if (a || i.length) throw new StaleCatalogError(`<${r.tag}>: its root's catalog is stale (${i.length ? `no ${i.join(", ")}` : "form control"}); regenerate it (Spell UI's \`yarn gen:root\`, a pack's \`spell-pack build\`)`, { cause: {
1275
+ tag: r.tag,
1276
+ missing: i,
1277
+ isFormControlWrong: a
1278
+ } });
1222
1279
  t !== DOMElement && (Object.setPrototypeOf(e, t), Object.setPrototypeOf(e.prototype, t.prototype)), e.tagSetup = n, DOMElement.defineProperties(e), r.isAttached = !0;
1223
1280
  for (let e of r.pending) e.attachPending();
1224
1281
  r.pending.clear(), r.resolve();
@@ -1245,6 +1302,45 @@ var Ge = globalThis.HTMLElement ?? class {}, w = class DOMElement extends Ge {
1245
1302
  }
1246
1303
  this.setState(Je, !1), this.isConnected && this.connectedCallback();
1247
1304
  }
1305
+ static addAttributes(e, t, n) {
1306
+ let r = e.tagSetup.elementDefinition, i = new Set(t.elementDefinition.attributes.map(({ key: e }) => e)), a = r.attributes.filter(({ key: e }) => !i.has(e)).map(({ attribute: e }) => e);
1307
+ if (a.length) throw TypeError(`DOMElement.addAttributes(): <${r.tag}> would lose ${a.join(", ")}; only add`);
1308
+ let Probe = class extends Object.getPrototypeOf(e) {};
1309
+ Probe.tagSetup = t, DOMElement.defineProperties(Probe), DOMElement.observedByPlatform(e), DOMElement.removeProperties(e), e.tagSetup = t, DOMElement.defineProperties(e);
1310
+ let o = t.elementDefinition.attributes.filter(({ key: e }) => !r.attributes.some((t) => t.key === e));
1311
+ for (let e of n) {
1312
+ for (let n of o) {
1313
+ let r = e.getAttribute(n.attribute);
1314
+ e.attributeValues[n.key] = r === null ? t.elementDefinition.startingValue(n) : t.elementDefinition.convert(n, r);
1315
+ }
1316
+ DOMElement.watchAttributes(e);
1317
+ }
1318
+ }
1319
+ static observedByPlatform(e) {
1320
+ let t = Ze.get(e);
1321
+ return t || Ze.set(e, t = [...e.observedAttributes]), t;
1322
+ }
1323
+ static unobserved(e) {
1324
+ let t = Ze.get(e);
1325
+ return !t || !e.tagSetup ? [] : DOMElement.observedAttributesFor(e.tagSetup.elementDefinition).filter((e) => !t.includes(e));
1326
+ }
1327
+ static watchAttributes(e, t) {
1328
+ let n = DOMElement.unobserved(e.constructor);
1329
+ if (Qe.get(e)?.disconnect(), Qe.delete(e), !n.length) return;
1330
+ let r = new MutationObserver((t) => {
1331
+ for (let { attributeName: n, oldValue: r } of t) n && e.attributeChangedCallback(n, r, e.getAttribute(n));
1332
+ });
1333
+ r.observe(e, {
1334
+ attributes: !0,
1335
+ attributeFilter: n,
1336
+ attributeOldValue: !0
1337
+ }), Qe.set(e, r), t && queueMicrotask(() => {
1338
+ for (let t of n) {
1339
+ let n = e.getAttribute(t);
1340
+ n !== null && e.attributeChangedCallback(t, null, n);
1341
+ }
1342
+ });
1343
+ }
1248
1344
  static hotReloadHooks;
1249
1345
  };
1250
1346
  function className$1(e) {
@@ -1257,7 +1353,7 @@ var Ke = [
1257
1353
  "component",
1258
1354
  "ready",
1259
1355
  "connectedState"
1260
- ], qe = "visible", Je = "pending", Ye = "ready", Xe = /* @__PURE__ */ new WeakMap(), Ze = class OwnerContext {
1356
+ ], qe = "visible", Je = "pending", Ye = "ready", Xe = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap(), Qe = /* @__PURE__ */ new WeakMap(), $e = class OwnerContext {
1261
1357
  static find(e, t, n = {}) {
1262
1358
  let r = 0;
1263
1359
  for (let i = flatParentFor(e); i; i = flatParentFor(i)) {
@@ -1284,22 +1380,22 @@ var Ke = [
1284
1380
  static stem(e) {
1285
1381
  return e.slice(e.indexOf("-") + 1);
1286
1382
  }
1287
- }, Qe = Object.create, $e = Object.defineProperty, et = Object.getOwnPropertyDescriptor, __knownSymbol = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), __typeError = (e) => {
1383
+ }, et = Object.create, tt = Object.defineProperty, nt = Object.getOwnPropertyDescriptor, __knownSymbol = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), __typeError = (e) => {
1288
1384
  throw TypeError(e);
1289
- }, __defNormalProp = (e, t, n) => t in e ? $e(e, t, {
1385
+ }, __defNormalProp = (e, t, n) => t in e ? tt(e, t, {
1290
1386
  enumerable: !0,
1291
1387
  configurable: !0,
1292
1388
  writable: !0,
1293
1389
  value: n
1294
- }) : e[t] = n, __name = (e, t) => $e(e, "name", {
1390
+ }) : e[t] = n, __name = (e, t) => tt(e, "name", {
1295
1391
  value: t,
1296
1392
  configurable: !0
1297
1393
  }), __decoratorStart = (e) => [
1298
1394
  ,
1299
1395
  ,
1300
1396
  ,
1301
- Qe(e?.[__knownSymbol("metadata")] ?? null)
1302
- ], tt = [
1397
+ et(e?.[__knownSymbol("metadata")] ?? null)
1398
+ ], rt = [
1303
1399
  "class",
1304
1400
  "method",
1305
1401
  "getter",
@@ -1310,7 +1406,7 @@ var Ke = [
1310
1406
  "get",
1311
1407
  "set"
1312
1408
  ], __expectFn = (e) => e !== void 0 && typeof e != "function" ? __typeError("Function expected") : e, __decoratorContext = (e, t, n, r, i) => ({
1313
- kind: tt[e],
1409
+ kind: rt[e],
1314
1410
  name: t,
1315
1411
  metadata: r,
1316
1412
  addInitializer: (e) => n._ ? __typeError("Already initialized") : i.push(__expectFn(e || null))
@@ -1318,7 +1414,7 @@ var Ke = [
1318
1414
  for (var i = 0, a = e[t >> 1], o = a && a.length; i < o; i++) t & 1 ? a[i].call(n) : r = a[i].call(n, r);
1319
1415
  return r;
1320
1416
  }, __decorateElement = (e, t, n, r, i, a) => {
1321
- var o, s, c, l, u, d = t & 7, f = !!(t & 8), p = !!(t & 16), ee = d > 3 ? e.length + 1 : d ? f ? 1 : 2 : 0, te = tt[d + 5], ne = d > 3 && (e[ee - 1] = []), re = e[ee] || (e[ee] = []), m = d && (!p && !f && (i = i.prototype), d < 5 && (d > 3 || !p) && et(d < 4 ? i : {
1417
+ var o, s, c, l, u, d = t & 7, f = !!(t & 8), p = !!(t & 16), ee = d > 3 ? e.length + 1 : d ? f ? 1 : 2 : 0, te = rt[d + 5], ne = d > 3 && (e[ee - 1] = []), re = e[ee] || (e[ee] = []), m = d && (!p && !f && (i = i.prototype), d < 5 && (d > 3 || !p) && nt(d < 4 ? i : {
1322
1418
  get [n]() {
1323
1419
  return __privateGet(this, a);
1324
1420
  },
@@ -1331,15 +1427,15 @@ var Ke = [
1331
1427
  get: m.get,
1332
1428
  set: m.set
1333
1429
  } : i, l), c._ = 1, d ^ 4 || s === void 0 ? __expectFn(s) && (d > 4 ? ne.unshift(s) : d ? p ? a = s : m[te] = s : i = s) : typeof s != "object" || !s ? __typeError("Object expected") : (__expectFn(o = s.get) && (m.get = o), __expectFn(o = s.set) && (m.set = o), __expectFn(o = s.init) && ne.unshift(o));
1334
- return d || __decoratorMetadata(e, i), m && $e(i, n, m), p ? d ^ 4 ? a : m : i;
1335
- }, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n), nt, rt, T, it;
1430
+ return d || __decoratorMetadata(e, i), m && tt(i, n, m), p ? d ^ 4 ? a : m : i;
1431
+ }, __publicField = (e, t, n) => __defNormalProp(e, typeof t == "symbol" ? t : t + "", n), __accessCheck = (e, t, n) => t.has(e) || __typeError("Cannot " + n), __privateIn = (e, t) => Object(t) === t ? e.has(t) : __typeError("Cannot use the \"in\" operator on this value"), __privateGet = (e, t, n) => (__accessCheck(e, t, "read from private field"), n ? n.call(e) : t.get(e)), __privateAdd = (e, t, n) => t.has(e) ? __typeError("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), __privateSet = (e, t, n, r) => (__accessCheck(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), __privateMethod = (e, t, n) => (__accessCheck(e, t, "access private method"), n), it, at, T, ot;
1336
1432
  function isSameOwner(e, t) {
1337
1433
  return e?.owner === t?.owner && e?.ownerNoun === t?.ownerNoun && e?.depth === t?.depth;
1338
1434
  }
1339
- __name(isSameOwner, "isSameOwner"), rt = [state({ equals: isSameOwner })], nt = [onChange("ownerNoun", { writesDOMElement: !0 })];
1435
+ __name(isSameOwner, "isSameOwner"), at = [state({ equals: isSameOwner })], it = [onChange("ownerNoun", { writesDOMElement: !0 })];
1340
1436
  var E = class _PartContext {
1341
1437
  constructor({ domElement: e, noun: t, isDirect: n = !1, barrier: r = _PartContext.isBarrier }) {
1342
- __runInitializers(T, 5, this), __privateAdd(this, it, __runInitializers(T, 8, this)), __runInitializers(T, 11, this), __publicField(this, "domElement"), __publicField(this, "noun"), __publicField(this, "isDirect"), __publicField(this, "barrier"), __publicField(this, "hasConnected", !1), this.domElement = e, this.noun = t, this.isDirect = n, this.barrier = r, this.owner = this.resolve(), _PartContext.contexts.set(e, this), b.startEffects(this), d(() => (this.refresh(), () => {
1438
+ __runInitializers(T, 5, this), __privateAdd(this, ot, __runInitializers(T, 8, this)), __runInitializers(T, 11, this), __publicField(this, "domElement"), __publicField(this, "noun"), __publicField(this, "isDirect"), __publicField(this, "barrier"), __publicField(this, "hasConnected", !1), this.domElement = e, this.noun = t, this.isDirect = n, this.barrier = r, this.owner = this.resolve(), _PartContext.contexts.set(e, this), b.startEffects(this), d(() => (this.refresh(), () => {
1343
1439
  _PartContext.contexts.get(e) === this && _PartContext.contexts.delete(e);
1344
1440
  }));
1345
1441
  }
@@ -1348,7 +1444,7 @@ var E = class _PartContext {
1348
1444
  }
1349
1445
  onOwnerChanged(e) {
1350
1446
  if (!e) return;
1351
- let t = Ze.stateName(e);
1447
+ let t = $e.stateName(e);
1352
1448
  return this.domElement.setState(t, !0), () => this.domElement.setState(t, !1);
1353
1449
  }
1354
1450
  ownerComponent() {
@@ -1375,7 +1471,7 @@ var E = class _PartContext {
1375
1471
  }
1376
1472
  static ownerFor(e, t, n = _PartContext.isBarrier) {
1377
1473
  let r = _PartContext.owners.get(t);
1378
- if (r?.size) return p(() => Ze.find(e, _PartContext.lookupFor(t, r), { barrier: n }));
1474
+ if (r?.size) return p(() => $e.find(e, _PartContext.lookupFor(t, r), { barrier: n }));
1379
1475
  }
1380
1476
  static componentFor(e) {
1381
1477
  return e?.owner?.component;
@@ -1409,18 +1505,18 @@ var E = class _PartContext {
1409
1505
  } : t;
1410
1506
  }
1411
1507
  };
1412
- T = __decoratorStart(null), it = /* @__PURE__ */ new WeakMap(), __decorateElement(T, 4, "owner", rt, E, it), __decorateElement(T, 1, "onOwnerChanged", nt, E), __decoratorMetadata(T, E), __name(E, "PartContext"), __publicField(E, "owners", /* @__PURE__ */ new Map()), __publicField(E, "definedTags", /* @__PURE__ */ new Set()), __publicField(E, "partTags", /* @__PURE__ */ new Set()), __publicField(E, "conditionalTags", /* @__PURE__ */ new Set()), __publicField(E, "contexts", /* @__PURE__ */ new WeakMap()), __publicField(E, "lastAssigned", /* @__PURE__ */ new WeakMap());
1413
- var D = E, at = class ShadowEvents {
1508
+ T = __decoratorStart(null), ot = /* @__PURE__ */ new WeakMap(), __decorateElement(T, 4, "owner", at, E, ot), __decorateElement(T, 1, "onOwnerChanged", it, E), __decoratorMetadata(T, E), __name(E, "PartContext"), __publicField(E, "owners", /* @__PURE__ */ new Map()), __publicField(E, "definedTags", /* @__PURE__ */ new Set()), __publicField(E, "partTags", /* @__PURE__ */ new Set()), __publicField(E, "conditionalTags", /* @__PURE__ */ new Set()), __publicField(E, "contexts", /* @__PURE__ */ new WeakMap()), __publicField(E, "lastAssigned", /* @__PURE__ */ new WeakMap());
1509
+ var D = E, st = class ShadowEvents {
1414
1510
  static register(e) {
1415
- ct.has(e) || ShadowEvents.bridge(e);
1511
+ ut.has(e) || ShadowEvents.bridge(e);
1416
1512
  let t = ue(e, e);
1417
- t && (t.roots = (t.roots ?? 0) + 1, lt.set(e, t));
1513
+ t && (t.roots = (t.roots ?? 0) + 1, dt.set(e, t));
1418
1514
  }
1419
1515
  static unregister(e) {
1420
1516
  me(e);
1421
1517
  }
1422
1518
  static bridge(e) {
1423
- ct.add(e);
1519
+ ut.add(e);
1424
1520
  let t = e.addEventListener, n = e.removeEventListener, r = /* @__PURE__ */ new WeakMap(), i = e instanceof ShadowRoot;
1425
1521
  Object.defineProperties(e, {
1426
1522
  addEventListener: {
@@ -1441,7 +1537,7 @@ var D = E, at = class ShadowEvents {
1441
1537
  });
1442
1538
  function wrap(t) {
1443
1539
  return function(n) {
1444
- if (lt.get(e)?.handlers.get(n.type) !== t) return t.call(this, n);
1540
+ if (dt.get(e)?.handlers.get(n.type) !== t) return t.call(this, n);
1445
1541
  i && ShadowEvents.before(n, e);
1446
1542
  try {
1447
1543
  t.call(this, n);
@@ -1452,14 +1548,14 @@ var D = E, at = class ShadowEvents {
1452
1548
  }
1453
1549
  }
1454
1550
  static before(e, t) {
1455
- let n = e[ot];
1551
+ let n = e[ct];
1456
1552
  if (!n || n === !0) return;
1457
- let r = ut.get(e), i = r?.marker === n ? r.node : n;
1553
+ let r = ft.get(e), i = r?.marker === n ? r.node : n;
1458
1554
  if (i !== r?.node && t.contains(i)) return;
1459
1555
  let a = e.composedPath(), o = a.indexOf(i);
1460
1556
  if (o < 0) return;
1461
1557
  let s = a.slice(o + 1);
1462
- delete e[ot], Object.defineProperty(e, "composedPath", {
1558
+ delete e[ct], Object.defineProperty(e, "composedPath", {
1463
1559
  configurable: !0,
1464
1560
  value() {
1465
1561
  return ShadowEvents.unwalk(e, "composedPath"), s;
@@ -1467,23 +1563,23 @@ var D = E, at = class ShadowEvents {
1467
1563
  });
1468
1564
  }
1469
1565
  static after(e, t) {
1470
- if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[ot] !== t || e.cancelBubble) return;
1566
+ if (ShadowEvents.unwalk(e, "target", "currentTarget", "composedPath"), !(t instanceof ShadowRoot) || e[ct] !== t || e.cancelBubble) return;
1471
1567
  let n = t.host, r = !t.contains(e.target), i = t;
1472
- n[`${st}${e.type}`] !== void 0 && !ShadowEvents.bridgeWalksNext(e, t, n) && (ShadowEvents.runHandler(e, n), i = n);
1568
+ n[`${lt}${e.type}`] !== void 0 && !ShadowEvents.bridgeWalksNext(e, t, n) && (ShadowEvents.runHandler(e, n), i = n);
1473
1569
  let a = i === n && r ? ShadowEvents.parentOf(n) ?? !0 : n;
1474
- e[ot] = a, ut.set(e, {
1570
+ e[ct] = a, ft.set(e, {
1475
1571
  node: i,
1476
1572
  marker: a
1477
1573
  });
1478
1574
  }
1479
1575
  static bridgeWalksNext(e, t, n) {
1480
- let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i && ct.has(e));
1576
+ let r = e.composedPath(), i = r.indexOf(t) + 1, a = r.findIndex((e, t) => t > i && ut.has(e));
1481
1577
  if (a < 0) return !1;
1482
1578
  let o = ShadowEvents.parentOf(n), s = o ? oe(o) : void 0, c = s ? r.indexOf(s) : -1;
1483
1579
  return c < 0 || a <= c;
1484
1580
  }
1485
1581
  static runHandler(e, t) {
1486
- let n = `${st}${e.type}`, r = t[n];
1582
+ let n = `${lt}${e.type}`, r = t[n];
1487
1583
  if (!r || t.disabled) return;
1488
1584
  let i = t[`${n}Data`];
1489
1585
  Object.defineProperty(e, "target", {
@@ -1505,11 +1601,11 @@ var D = E, at = class ShadowEvents {
1505
1601
  static parentOf(e) {
1506
1602
  return e._$host ?? e.parentNode ?? e.host ?? null;
1507
1603
  }
1508
- }, ot = "_$SOLID_EVENT_OWNER", st = "_$$", ct = /* @__PURE__ */ new WeakSet(), lt = /* @__PURE__ */ new WeakMap(), ut = /* @__PURE__ */ new WeakMap(), dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt = [protoMerged], O, Nt, Pt, Ft, It, Lt;
1509
- jt = [cssState("linked")], At = [onChange("sharedFontSize", { writesDOMElement: !0 })], kt = [onChange("sharedTooltip", "sharedLabel", { writesDOMElement: !0 })], Ot = [on("click")], Dt = [state], Et = [state], Tt = [onChange("isReady")], wt = [untracked], Ct = [cssState("disabled")], St = [state], xt = [cssState("loading")], bt = [cssState("busy")], yt = [cssState("dimmed")], vt = [onChange("hasInertContent", "isDisabled", "showsLoader", "isReady", { writesDOMElement: !0 })], _t = [controlled("visible")], gt = [cssState("hidden")], ht = [cssState("hiding"), state], mt = [untracked], pt = [cssState("still")], ft = [onChange("isVisible", "isReady")], dt = [on("slotchange", { target: "renderRoot" })];
1604
+ }, ct = "_$SOLID_EVENT_OWNER", lt = "_$$", ut = /* @__PURE__ */ new WeakSet(), dt = /* @__PURE__ */ new WeakMap(), ft = /* @__PURE__ */ new WeakMap(), pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt = [protoMerged], O, zt, Bt, Vt, Ht, Ut;
1605
+ Lt = [cssState("linked")], It = [onChange("sharedFontSize", { writesDOMElement: !0 })], Ft = [cssState("shadow")], Pt = [onChange("sharedShadow", { writesDOMElement: !0 })], Nt = [onChange("sharedWidths", "isReady", { writesDOMElement: !0 })], Mt = [onChange("sharedTooltip", "sharedLabel", { writesDOMElement: !0 })], jt = [on("click")], At = [onChange("isConnected", "sharedMovable", "sharedResizable", { writesDOMElement: !0 })], kt = [state], Ot = [state], Dt = [onChange("isReady")], Et = [untracked], Tt = [cssState("disabled")], wt = [state], Ct = [cssState("loading")], St = [cssState("busy")], xt = [cssState("dimmed")], bt = [onChange("hasInertContent", "isDisabled", "showsLoader", "isReady", { writesDOMElement: !0 })], yt = [controlled("visible")], vt = [cssState("hidden")], _t = [cssState("hiding"), state], gt = [untracked], ht = [cssState("still")], mt = [onChange("isVisible", "isReady")], pt = [on("slotchange", { target: "renderRoot" })];
1510
1606
  var k = class _UIComponent {
1511
1607
  constructor(e, t) {
1512
- __runInitializers(O, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this, Nt, __runInitializers(O, 8, this, !1)), __runInitializers(O, 11, this), __privateAdd(this, Pt, __runInitializers(O, 12, this, !1)), __runInitializers(O, 15, this), __privateAdd(this, Ft, __runInitializers(O, 16, this, !1)), __runInitializers(O, 19, this), __privateAdd(this, It, __runInitializers(O, 20, this, !0)), __runInitializers(O, 23, this), __privateAdd(this, Lt, __runInitializers(O, 24, this, !1)), __runInitializers(O, 27, this), __publicField(this, "internalState"), this.domElement = e, this.elementDefinition = t, e.component = this, this.appContext = h ? null : _UIComponent.appContextFor(e), this.internalState = { classInput: t.classInput((e) => this.classValue(e)) }, this.isConnected = h || e.isConnected;
1608
+ __runInitializers(O, 5, this), __publicField(this, "elementDefinition"), __publicField(this, "domElement"), __publicField(this, "appContext"), __privateAdd(this, zt, __runInitializers(O, 8, this, !1)), __runInitializers(O, 11, this), __privateAdd(this, Bt, __runInitializers(O, 12, this, !1)), __runInitializers(O, 15, this), __privateAdd(this, Vt, __runInitializers(O, 16, this, !1)), __runInitializers(O, 19, this), __privateAdd(this, Ht, __runInitializers(O, 20, this, !0)), __runInitializers(O, 23, this), __privateAdd(this, Ut, __runInitializers(O, 24, this, !1)), __runInitializers(O, 27, this), __publicField(this, "internalState"), this.domElement = e, this.elementDefinition = t, e.component = this, this.appContext = h ? null : _UIComponent.appContextFor(e), this.internalState = { classInput: t.classInput((e) => this.classValue(e)) }, this.isConnected = h || e.isConnected;
1513
1609
  for (let [t, n] of Object.entries(this.elementSetup.aria)) e.internals[we[t]] = n;
1514
1610
  let { runtime: n } = y.settings;
1515
1611
  this.isReady = h || n.isLoaded, !h && (this.startListeners(), this.isReady || n.load().then(() => this.onRuntimeLoaded()));
@@ -1566,44 +1662,65 @@ var k = class _UIComponent {
1566
1662
  afterSolidUpdate(() => this.isConnected = e.isConnected);
1567
1663
  }
1568
1664
  get sharedLink() {
1569
- return this.sharedText(Bt);
1665
+ return this.sharedText(Kt);
1570
1666
  }
1571
1667
  get sharedTarget() {
1572
- return this.sharedText(Vt);
1668
+ return this.sharedText(qt);
1573
1669
  }
1574
1670
  get linkTo() {
1575
- let e = b.attributeValue(this, Bt);
1671
+ let e = b.attributeValue(this, Kt);
1576
1672
  return typeof e == "string" && e !== "" && !this.isMarkedDisabled ? e : void 0;
1577
1673
  }
1578
1674
  get linkTarget() {
1579
1675
  if (!this.linkTo) return;
1580
- let e = b.attributeValue(this, Vt);
1676
+ let e = b.attributeValue(this, qt);
1581
1677
  return typeof e == "string" && e !== "" ? e : void 0;
1582
1678
  }
1583
1679
  get fontStates() {
1584
- if (!this.elementDefinition.takesShared(Ht)) return {};
1585
- let e = new Set((this.sharedText(Ht) ?? "").split(/\s+/)), { values: t } = this.elementDefinition.attribute(Ht).spec, n = Array.isArray(t) ? t : [...e].filter((e) => !Ut.test(e));
1680
+ if (!this.elementDefinition.takesShared(Jt)) return {};
1681
+ let e = new Set((this.sharedText(Jt) ?? "").split(/\s+/)), { values: t } = this.elementDefinition.attribute(Jt).spec, n = Array.isArray(t) ? t : [...e].filter((e) => !Yt.test(e));
1586
1682
  return {
1587
- ...Object.fromEntries(n.filter(Boolean).map((t) => [`${Ht}-${t}`, e.has(t)])),
1588
- [Wt]: this.sharedFontSize !== void 0
1683
+ ...Object.fromEntries(n.filter(Boolean).map((t) => [`${Jt}-${t}`, e.has(t)])),
1684
+ [Xt]: this.sharedFontSize !== void 0
1589
1685
  };
1590
1686
  }
1591
1687
  get sharedFontSize() {
1592
- return this.sharedText(Ht)?.split(/\s+/).find((e) => Ut.test(e));
1688
+ return this.sharedText(Jt)?.split(/\s+/).find((e) => Yt.test(e));
1593
1689
  }
1594
1690
  onFontSizeChanged(e) {
1595
- let { style: t } = this.domElement, [, n, r] = e?.match(Ut) ?? [];
1596
- n ? t.setProperty(Gt, `${n}px`) : this.internalState.wroteFontSize && t.removeProperty(Gt), n && r ? t.setProperty(Kt, String(Number(r) / Number(n))) : this.internalState.wroteFontSize && t.removeProperty(Kt), this.internalState.wroteFontSize = !!n;
1691
+ let { style: t } = this.domElement, [, n, r] = e?.match(Yt) ?? [];
1692
+ n ? t.setProperty(Zt, `${n}px`) : this.internalState.wroteFontSize && t.removeProperty(Zt), n && r ? t.setProperty(Qt, String(Number(r) / Number(n))) : this.internalState.wroteFontSize && t.removeProperty(Qt), this.internalState.wroteFontSize = !!n;
1693
+ }
1694
+ get sharedShadow() {
1695
+ return this.sharedText($t);
1696
+ }
1697
+ onShadowChanged(e) {
1698
+ let { style: t } = this.domElement;
1699
+ e ? t.setProperty(en, `var(--ui-${e})`) : this.internalState.wroteShadow && t.removeProperty(en), this.internalState.wroteShadow = !!e;
1700
+ }
1701
+ get sharedWidths() {
1702
+ return Object.fromEntries(tn.map((e) => [e, this.sharedText(e)]));
1703
+ }
1704
+ onWidthsChanged(e, t) {
1705
+ if (h) return;
1706
+ let { domElement: n, internalState: r } = this, i = tn.some((t) => e[t] !== void 0);
1707
+ if (!i && !r.wroteWidths) return;
1708
+ for (let t of tn) {
1709
+ let r = e[t];
1710
+ r === void 0 ? n.style.removeProperty(`--_ui-${t}`) : n.style.setProperty(`--_ui-${t}`, r), n.setState(t, r !== void 0);
1711
+ }
1712
+ let a = i && t && getComputedStyle(n).display === "contents";
1713
+ n.setState(nn, a), r.wroteWidths = i;
1597
1714
  }
1598
1715
  get sharedTooltip() {
1599
- return this.sharedText(qt);
1716
+ return this.sharedText(rn);
1600
1717
  }
1601
1718
  get sharedLabel() {
1602
- return this.sharedText(Jt);
1719
+ return this.sharedText(cn);
1603
1720
  }
1604
1721
  onSharedWordsChanged(e, t) {
1605
1722
  let { domElement: n, internalState: r } = this;
1606
- e === void 0 ? r.wroteTitle && n.removeAttribute("title") : n.setAttribute("title", e), r.wroteTitle = e !== void 0, this.elementDefinition.takesShared(Jt) && (n.internals.ariaLabel = t ?? null);
1723
+ e === void 0 ? r.wroteTitle && n.removeAttribute("title") : n.setAttribute("title", e), r.wroteTitle = e !== void 0, this.elementDefinition.takesShared(cn) && (n.internals.ariaLabel = t ?? null);
1607
1724
  }
1608
1725
  onSharedLinkClick(e) {
1609
1726
  let t = this.sharedLink;
@@ -1614,16 +1731,31 @@ var k = class _UIComponent {
1614
1731
  }
1615
1732
  sharedText(e) {
1616
1733
  if (!this.elementDefinition.takesShared(e)) return;
1617
- let t = b.attributeValue(this, e);
1734
+ let t = b.attributeValue(this, camelCase(e));
1618
1735
  return typeof t == "string" && t !== "" ? t : void 0;
1619
1736
  }
1737
+ get sharedMovable() {
1738
+ return this.sharedWay(an);
1739
+ }
1740
+ get sharedResizable() {
1741
+ return this.sharedWay(sn);
1742
+ }
1743
+ moveAndResize(e, t, n) {
1744
+ if (e && !h && (t || n)) return En.start(this.domElement, {
1745
+ move: t,
1746
+ resize: n
1747
+ });
1748
+ }
1749
+ sharedWay(e) {
1750
+ if (this.elementDefinition.takesShared(e)) return En.wayOf(b.attributeValue(this, e));
1751
+ }
1620
1752
  followParent() {
1621
1753
  let { domElement: e, elementDefinition: t } = this;
1622
- if (h || !t.takesAttribute(Yt)) return;
1623
- let n = new mn({
1754
+ if (h || !t.takesAttribute(ln)) return;
1755
+ let n = new Nn({
1624
1756
  domElement: e,
1625
- attribute: t.localAttribute(Yt)
1626
- }), r = a(() => this.isConnected ? b.attributeValue(this, Yt) : void 0);
1757
+ attribute: t.localAttribute(ln)
1758
+ }), r = a(() => this.isConnected ? b.attributeValue(this, ln) : void 0);
1627
1759
  i(r, (e) => n.follow(e));
1628
1760
  }
1629
1761
  get hostLayout() {}
@@ -1648,7 +1780,7 @@ var k = class _UIComponent {
1648
1780
  return null;
1649
1781
  }
1650
1782
  static isRootTag(e) {
1651
- return e === zt || _UIComponent.rootTags.has(e);
1783
+ return e === Gt || _UIComponent.rootTags.has(e);
1652
1784
  }
1653
1785
  get attributes() {
1654
1786
  let { elementDefinition: e } = this;
@@ -1802,7 +1934,7 @@ var k = class _UIComponent {
1802
1934
  b.ownRoot((a) => {
1803
1935
  let o = r.renderRoot;
1804
1936
  r.addReleaseCallback(() => {
1805
- at.unregister(o), o.textContent = "", a();
1937
+ st.unregister(o), o.textContent = "", a();
1806
1938
  });
1807
1939
  let s = n({
1808
1940
  get children() {
@@ -1813,7 +1945,7 @@ var k = class _UIComponent {
1813
1945
  return f(null, () => _UIComponent.onError(r, t)) ? _UIComponent.renderFallback(r, t, i) : void 0;
1814
1946
  }, "fallback")
1815
1947
  });
1816
- r.clearServerContent(), at.register(o), ce(o, s);
1948
+ r.clearServerContent(), st.register(o), ce(o, s);
1817
1949
  });
1818
1950
  }
1819
1951
  static onError(e, t) {
@@ -1894,7 +2026,7 @@ var k = class _UIComponent {
1894
2026
  return this.prototype.vocabulary;
1895
2027
  }
1896
2028
  };
1897
- O = __decoratorStart(null), Nt = /* @__PURE__ */ new WeakMap(), Pt = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), __decorateElement(O, 2, "sharedLink", jt, k), __decorateElement(O, 1, "onFontSizeChanged", At, k), __decorateElement(O, 1, "onSharedWordsChanged", kt, k), __decorateElement(O, 1, "onSharedLinkClick", Ot, k), __decorateElement(O, 4, "isConnected", Dt, k, Nt), __decorateElement(O, 4, "isReady", Et, k, Pt), __decorateElement(O, 1, "onReadyChanged", Tt, k), __decorateElement(O, 1, "adoptStyleSheets", wt, k), __decorateElement(O, 2, "isMarkedDisabled", Ct, k), __decorateElement(O, 4, "formIsDisabled", St, k, Ft), __decorateElement(O, 2, "isMarkedLoading", xt, k), __decorateElement(O, 2, "showsLoader", bt, k), __decorateElement(O, 2, "hasInertContent", yt, k), __decorateElement(O, 1, "onSharedStatesChanged", vt, k), __decorateElement(O, 4, "isVisible", _t, k, It), __decorateElement(O, 2, "isHidden", gt, k), __decorateElement(O, 4, "isHiding", ht, k, Lt), __decorateElement(O, 2, "animationToRun", mt, k), __decorateElement(O, 2, "isStill", pt, k), __decorateElement(O, 1, "onVisibleOrReadyChanged", ft, k), __decorateElement(O, 1, "onSlotChangeForParts", dt, k), __decorateElement(O, 13, "elementSetup", Mt, k), __decoratorMetadata(O, k), __name(k, "UIComponent"), __publicField(k, "elementSetup", __runInitializers(O, 28, k, {
2029
+ O = __decoratorStart(null), zt = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap(), Vt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), __decorateElement(O, 2, "sharedLink", Lt, k), __decorateElement(O, 1, "onFontSizeChanged", It, k), __decorateElement(O, 2, "sharedShadow", Ft, k), __decorateElement(O, 1, "onShadowChanged", Pt, k), __decorateElement(O, 1, "onWidthsChanged", Nt, k), __decorateElement(O, 1, "onSharedWordsChanged", Mt, k), __decorateElement(O, 1, "onSharedLinkClick", jt, k), __decorateElement(O, 1, "moveAndResize", At, k), __decorateElement(O, 4, "isConnected", kt, k, zt), __decorateElement(O, 4, "isReady", Ot, k, Bt), __decorateElement(O, 1, "onReadyChanged", Dt, k), __decorateElement(O, 1, "adoptStyleSheets", Et, k), __decorateElement(O, 2, "isMarkedDisabled", Tt, k), __decorateElement(O, 4, "formIsDisabled", wt, k, Vt), __decorateElement(O, 2, "isMarkedLoading", Ct, k), __decorateElement(O, 2, "showsLoader", St, k), __decorateElement(O, 2, "hasInertContent", xt, k), __decorateElement(O, 1, "onSharedStatesChanged", bt, k), __decorateElement(O, 4, "isVisible", yt, k, Ht), __decorateElement(O, 2, "isHidden", vt, k), __decorateElement(O, 4, "isHiding", _t, k, Ut), __decorateElement(O, 2, "animationToRun", gt, k), __decorateElement(O, 2, "isStill", ht, k), __decorateElement(O, 1, "onVisibleOrReadyChanged", mt, k), __decorateElement(O, 1, "onSlotChangeForParts", pt, k), __decorateElement(O, 13, "elementSetup", Rt, k), __decoratorMetadata(O, k), __name(k, "UIComponent"), __publicField(k, "elementSetup", __runInitializers(O, 28, k, {
1898
2030
  styleSheets: {},
1899
2031
  cssStates: [],
1900
2032
  isAFormControl: !1,
@@ -1917,14 +2049,18 @@ O = __decoratorStart(null), Nt = /* @__PURE__ */ new WeakMap(), Pt = /* @__PURE_
1917
2049
  definitions: /* @__PURE__ */ new Map(),
1918
2050
  vocabularies: /* @__PURE__ */ new WeakSet()
1919
2051
  });
1920
- var Rt = k, zt = "ui-root", Bt = "link", Vt = "target", Ht = "font", Ut = /^(\d+(?:\.\d+)?)(?:\/(\d+(?:\.\d+)?))?$/, Wt = "font-size", Gt = "--ui-font-size", Kt = "--ui-line-height", qt = "tooltip", Jt = "label", Yt = "parent", Xt, Zt, Qt;
2052
+ var Wt = k, Gt = "ui-root", Kt = "link", qt = "target", Jt = "font", Yt = /^(\d+(?:\.\d+)?)(?:\/(\d+(?:\.\d+)?))?$/, Xt = "font-size", Zt = "--ui-font-size", Qt = "--ui-line-height", $t = "shadow", en = "--_ui-shadow-color", tn = [
2053
+ "width",
2054
+ "min-width",
2055
+ "max-width"
2056
+ ], nn = "sized-inside", rn = "tooltip", an = "movable", sn = "resizable", cn = "label", ln = "parent", un, dn, fn;
1921
2057
  function isSameSet(e, t) {
1922
2058
  return e.size === t.size && [...e].every((e) => t.has(e));
1923
2059
  }
1924
- __name(isSameSet, "isSameSet"), Xt = [state({ equals: isSameSet })];
1925
- var $t = class _SlotContent {
2060
+ __name(isSameSet, "isSameSet"), un = [state({ equals: isSameSet })];
2061
+ var pn = class _SlotContent {
1926
2062
  constructor(e) {
1927
- __privateAdd(this, Qt, __runInitializers(Zt, 8, this, /* @__PURE__ */ new Set())), __runInitializers(Zt, 11, this), __publicField(this, "domElement"), this.domElement = e, this.filledSlots = this.scan(), d(() => {
2063
+ __privateAdd(this, fn, __runInitializers(dn, 8, this, /* @__PURE__ */ new Set())), __runInitializers(dn, 11, this), __publicField(this, "domElement"), this.domElement = e, this.filledSlots = this.scan(), d(() => {
1928
2064
  let t = new MutationObserver(() => this.filledSlots = this.scan());
1929
2065
  return t.observe(e, {
1930
2066
  childList: !0,
@@ -1943,10 +2079,10 @@ var $t = class _SlotContent {
1943
2079
  return e;
1944
2080
  }
1945
2081
  };
1946
- Zt = __decoratorStart(null), Qt = /* @__PURE__ */ new WeakMap(), __decorateElement(Zt, 4, "filledSlots", Xt, $t, Qt), __decoratorMetadata(Zt, $t), __name($t, "SlotContent");
1947
- var en = $t, tn = [state], nn, rn, an = class _Disclosure {
2082
+ dn = __decoratorStart(null), fn = /* @__PURE__ */ new WeakMap(), __decorateElement(dn, 4, "filledSlots", un, pn, fn), __decoratorMetadata(dn, pn), __name(pn, "SlotContent");
2083
+ var mn = pn, hn = [state], gn, _n, vn = class _Disclosure {
1948
2084
  constructor(e = {}) {
1949
- this.setup = e, __privateAdd(this, rn, __runInitializers(nn, 8, this)), __runInitializers(nn, 11, this), __publicField(this, "toggle", /* @__PURE__ */ __name((e) => this.request(!p(() => this.isOpen), e), "toggle")), __publicField(this, "open", /* @__PURE__ */ __name((e) => this.request(!0, e), "open")), __publicField(this, "close", /* @__PURE__ */ __name((e) => this.request(!1, e), "close")), __publicField(this, "revealOnMatch", /* @__PURE__ */ __name((e) => {
2085
+ this.setup = e, __privateAdd(this, _n, __runInitializers(gn, 8, this)), __runInitializers(gn, 11, this), __publicField(this, "toggle", /* @__PURE__ */ __name((e) => this.request(!p(() => this.isOpen), e), "toggle")), __publicField(this, "open", /* @__PURE__ */ __name((e) => this.request(!0, e), "open")), __publicField(this, "close", /* @__PURE__ */ __name((e) => this.request(!1, e), "close")), __publicField(this, "revealOnMatch", /* @__PURE__ */ __name((e) => {
1950
2086
  e.addEventListener("beforematch", () => this.adopt(!0));
1951
2087
  }, "revealOnMatch"));
1952
2088
  }
@@ -1969,7 +2105,7 @@ var en = $t, tn = [state], nn, rn, an = class _Disclosure {
1969
2105
  let { setup: n } = this;
1970
2106
  if (n.canChange && !n.canChange(e)) return !1;
1971
2107
  let r = /* @__PURE__ */ __name(() => {
1972
- let r = this.send(e ? cn : ln, e, t);
2108
+ let r = this.send(e ? bn : xn, e, t);
1973
2109
  return r && n.beforeChange?.(e), r;
1974
2110
  }, "announce"), { component: i, member: a, memberMeans: o } = n, s;
1975
2111
  if (i && a && b.isControlled(i, a)) {
@@ -1980,11 +2116,11 @@ var en = $t, tn = [state], nn, rn, an = class _Disclosure {
1980
2116
  });
1981
2117
  }
1982
2118
  sendAfter(e, t) {
1983
- this.send(e ? un : dn, e, t, { after: !0 });
2119
+ this.send(e ? Sn : Cn, e, t, { after: !0 });
1984
2120
  }
1985
2121
  adopt(e, t) {
1986
2122
  p(() => {
1987
- e !== this.isOpen && (this.send(e ? cn : ln, e, t, { cancelable: !1 }), this.write(e), this.setup.onChange?.(e));
2123
+ e !== this.isOpen && (this.send(e ? bn : xn, e, t, { cancelable: !1 }), this.write(e), this.setup.onChange?.(e));
1988
2124
  });
1989
2125
  }
1990
2126
  write(e) {
@@ -1995,7 +2131,7 @@ var en = $t, tn = [state], nn, rn, an = class _Disclosure {
1995
2131
  return this.isOpen ? "true" : "false";
1996
2132
  }
1997
2133
  get hidden() {
1998
- return this.isOpen ? void 0 : fn;
2134
+ return this.isOpen ? void 0 : wn;
1999
2135
  }
2000
2136
  send(e, t, n, { cancelable: r, after: i } = {}) {
2001
2137
  let { component: a, detail: o, afterDetail: s } = this.setup;
@@ -2014,20 +2150,135 @@ var en = $t, tn = [state], nn, rn, an = class _Disclosure {
2014
2150
  return a.domElement.dispatchEvent(new CustomEvent(a.elementDefinition.event(e), l));
2015
2151
  }
2016
2152
  };
2017
- nn = __decoratorStart(null), rn = /* @__PURE__ */ new WeakMap(), __decorateElement(nn, 4, "toggled", tn, an, rn), __decoratorMetadata(nn, an), __name(an, "Disclosure");
2018
- var sn = an, cn = "ui-opening", ln = "ui-closing", un = "ui-opened", dn = "ui-closed", fn = "until-found", OwnControls = class {
2153
+ gn = __decoratorStart(null), _n = /* @__PURE__ */ new WeakMap(), __decorateElement(gn, 4, "toggled", hn, vn, _n), __decoratorMetadata(gn, vn), __name(vn, "Disclosure");
2154
+ var yn = vn, bn = "ui-opening", xn = "ui-closing", Sn = "ui-opened", Cn = "ui-closed", wn = "until-found", OwnControls = class {
2019
2155
  static isClicked(e, { upTo: t, before: n } = {}) {
2020
2156
  for (let r of e.composedPath()) {
2021
2157
  if (r === t) return !1;
2022
2158
  let e = r;
2023
2159
  if (e.matches) {
2024
2160
  if (n && e.matches(n)) return !1;
2025
- if (e.matches(pn)) return !0;
2161
+ if (e.matches(Tn)) return !0;
2026
2162
  }
2027
2163
  }
2028
2164
  return !1;
2029
2165
  }
2030
- }, pn = "a, button, input, select, textarea, label, details, summary, [contenteditable], [tabindex], [role=button], [role=link]", mn = class ParentLink {
2166
+ }, Tn = "a, button, input, select, textarea, label, details, summary, [contenteditable], [tabindex], [role=button], [role=link]", En = class MoveAndResize {
2167
+ element;
2168
+ move;
2169
+ resize;
2170
+ static wayOf(e) {
2171
+ if (e != null && e !== !1) return e === "" || e === !0 || e === "both" ? "both" : Dn.includes(e) ? e : void 0;
2172
+ }
2173
+ static start(e, { move: t, resize: n }) {
2174
+ return !t && !n ? () => {} : new MoveAndResize(e, t, n).stop;
2175
+ }
2176
+ constructor(e, t, n) {
2177
+ this.element = e, this.move = t, this.resize = n;
2178
+ let { style: r } = e;
2179
+ n && (r.resize = On[n], getComputedStyle(e).overflow === "visible" && (r.overflow = "auto")), t && (r.cursor = "grab", r.touchAction = kn[t], MoveAndResize.dragging()), e.addEventListener("pointerdown", this.onPress, { signal: this.listening.signal }), this.giveBackRemembered();
2180
+ }
2181
+ listening = new AbortController();
2182
+ moved = {
2183
+ x: 0,
2184
+ y: 0
2185
+ };
2186
+ stop = () => {
2187
+ this.listening.abort();
2188
+ let { style: e } = this.element;
2189
+ this.resize && (e.resize = "", e.overflow = ""), this.move && (e.cursor = "", e.touchAction = "");
2190
+ };
2191
+ onPress = (e) => {
2192
+ if (e.button === 0) {
2193
+ if (this.resize && this.isOnGrip(e)) {
2194
+ window.addEventListener("pointerup", () => void this.remember(), {
2195
+ once: !0,
2196
+ signal: this.listening.signal
2197
+ });
2198
+ return;
2199
+ }
2200
+ this.move && !this.isOnOwnControl(e) && this.startMove(e);
2201
+ }
2202
+ };
2203
+ async startMove(e) {
2204
+ let t = MoveAndResize.loadedDragging ?? await MoveAndResize.dragging(), n = { ...this.moved }, { clientX: r, clientY: i } = e, a = this.element.getBoundingClientRect(), o = this.element.parentElement?.getBoundingClientRect();
2205
+ new t(this.element, e, {
2206
+ follows: !1,
2207
+ placing: (e, t) => {
2208
+ let s = this.move === "vertically" ? 0 : e - r, c = this.move === "horizontally" ? 0 : t - i;
2209
+ o && (s = clamp$1(s, o.left - a.left, o.right - a.right), c = clamp$1(c, o.top - a.top, o.bottom - a.bottom)), this.placeAt({
2210
+ x: n.x + s,
2211
+ y: n.y + c
2212
+ });
2213
+ },
2214
+ onDrop: () => void this.remember(),
2215
+ onCancel: () => this.placeAt(n)
2216
+ });
2217
+ }
2218
+ placeAt(e) {
2219
+ this.moved = e, this.element.style.translate = e.x || e.y ? `${e.x}px ${e.y}px` : "";
2220
+ }
2221
+ isOnGrip({ clientX: e, clientY: t }) {
2222
+ let n = this.element.getBoundingClientRect();
2223
+ return e > n.right - An && t > n.bottom - An;
2224
+ }
2225
+ isOnOwnControl(e) {
2226
+ for (let t of e.composedPath()) {
2227
+ if (t === this.element) return !1;
2228
+ if (t instanceof Element && t.matches(jn)) return !0;
2229
+ }
2230
+ return !1;
2231
+ }
2232
+ async remember() {
2233
+ let e = this.key;
2234
+ if (!e) return;
2235
+ let t = {};
2236
+ if (this.move && (this.moved.x || this.moved.y) && (t.moved = this.moved), this.resize) {
2237
+ let { width: e, height: n } = this.element.style;
2238
+ e && (t.width = e), n && (t.height = n);
2239
+ }
2240
+ let n = await MoveAndResize.store();
2241
+ Object.keys(t).length ? n.set(e, t) : n.forget(e);
2242
+ }
2243
+ async giveBackRemembered() {
2244
+ let e = this.key;
2245
+ if (!e) return;
2246
+ let t = (await MoveAndResize.store()).get(e);
2247
+ t && !this.listening.signal.aborted && (this.move && t.moved && this.placeAt(t.moved), this.resize && (t.width && (this.element.style.width = t.width), t.height && (this.element.style.height = t.height)));
2248
+ }
2249
+ get key() {
2250
+ return this.element.id || void 0;
2251
+ }
2252
+ static async dragging() {
2253
+ return MoveAndResize.loadedDragging ??= (await import("./Dragging-CMZoLEWQ.js").then((e) => e.n)).Dragging, MoveAndResize.loadedDragging;
2254
+ }
2255
+ static loadedDragging;
2256
+ static async store() {
2257
+ if (!MoveAndResize.prefs) {
2258
+ let { PrefStore: e } = await import("./PrefStore-Qv0e5y04.js").then((e) => e.n);
2259
+ MoveAndResize.prefs ??= new e(Mn);
2260
+ }
2261
+ return MoveAndResize.prefs;
2262
+ }
2263
+ static prefs;
2264
+ };
2265
+ function clamp$1(e, t, n) {
2266
+ return Math.min(Math.max(e, Math.min(t, 0)), Math.max(n, 0));
2267
+ }
2268
+ t(clamp$1, "clamp");
2269
+ var Dn = [
2270
+ "both",
2271
+ "horizontally",
2272
+ "vertically"
2273
+ ], On = {
2274
+ both: "both",
2275
+ horizontally: "horizontal",
2276
+ vertically: "vertical"
2277
+ }, kn = {
2278
+ both: "none",
2279
+ horizontally: "pan-y",
2280
+ vertically: "pan-x"
2281
+ }, An = 16, jn = "a[href], button, input, select, textarea, label, summary, [contenteditable=''], [contenteditable='true'], [role='button'], [role='link'], [role='slider'], [role='textbox']", Mn = "ui-element", Nn = class ParentLink {
2031
2282
  domElement;
2032
2283
  attribute;
2033
2284
  constructor(e) {
@@ -2100,16 +2351,37 @@ function kb(e, { digits: t = 1 } = {}) {
2100
2351
  return `${(e / 1024).toFixed(t)} KB`;
2101
2352
  }
2102
2353
  //#endregion
2103
- //#region src/util/Warnings.ts
2104
- var Warnings = class {
2354
+ //#region src/util/TopLayerTip.ts
2355
+ var Pn = class TopLayerTip {
2356
+ static showIn(e, t, { showOnClick: n = !1 } = {}) {
2357
+ let isOnTrigger = (e) => e.composedPath().some((e) => e.matches?.(t)), r = !1, i = !1, update = () => {
2358
+ let t = e.querySelector(Fn);
2359
+ t && TopLayerTip.setShown(t, r || i);
2360
+ };
2361
+ e.addEventListener("pointerover", (e) => {
2362
+ r = isOnTrigger(e), update();
2363
+ }), e.addEventListener("pointerleave", () => {
2364
+ r = !1, update();
2365
+ }), e.addEventListener("focusin", (e) => {
2366
+ i = isOnTrigger(e) && (n || e.composedPath()[0].matches(":focus-visible")), update();
2367
+ }), e.addEventListener("focusout", () => {
2368
+ i = !1, update();
2369
+ }), e.addEventListener("keydown", (e) => {
2370
+ e.key === "Escape" && (r || i) && (r = i = !1, update());
2371
+ });
2372
+ }
2373
+ static setShown(e, t) {
2374
+ e.isConnected && "popover" in e && t !== e.matches(":popover-open") && (e.popover ||= "manual", t ? e.showPopover() : e.hidePopover());
2375
+ }
2376
+ }, Fn = "[role=\"tooltip\"]", Warnings = class {
2105
2377
  static warn(e, t, ...n) {
2106
- console.warn(`${hn} ${e}: ${t}`, ...n);
2378
+ console.warn(`${In} ${e}: ${t}`, ...n);
2107
2379
  }
2108
2380
  static error(e, t, ...n) {
2109
- console.error(`${hn} ${e}: ${t}`, ...n);
2381
+ console.error(`${In} ${e}: ${t}`, ...n);
2110
2382
  }
2111
2383
  static devWarn(e, t, ...n) {}
2112
- }, hn = "[spell-ui]", gn = class LoadOnce {
2384
+ }, In = "[spell-ui]", Ln = class LoadOnce {
2113
2385
  failures;
2114
2386
  loads = /* @__PURE__ */ new Map();
2115
2387
  constructor({ failures: e = "kept" } = {}) {
@@ -2135,6 +2407,16 @@ var Warnings = class {
2135
2407
  forget(e) {
2136
2408
  e === void 0 ? this.loads.clear() : this.loads.delete(e);
2137
2409
  }
2410
+ static abortable(e, t) {
2411
+ return t.aborted ? Promise.reject(t.reason) : new Promise((n, r) => {
2412
+ let onAbort = () => r(t.reason);
2413
+ t.addEventListener("abort", onAbort, { once: !0 }), e.then((e) => {
2414
+ t.removeEventListener("abort", onAbort), n(e);
2415
+ }, (e) => {
2416
+ t.removeEventListener("abort", onAbort), r(e);
2417
+ });
2418
+ });
2419
+ }
2138
2420
  static start(e) {
2139
2421
  try {
2140
2422
  return e();
@@ -2145,8 +2427,23 @@ var Warnings = class {
2145
2427
  forgetsNow() {
2146
2428
  return this.failures === "forgotten" || typeof navigator < "u" && navigator.onLine === !1;
2147
2429
  }
2148
- }, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn = [proto], A;
2149
- En = [proto], Tn = [proto], wn = [proto], Cn = [proto], Sn = [proto], xn = [proto], bn = [proto], yn = [proto], vn = [proto], _n = [proto];
2430
+ }, ListSelection = class {
2431
+ pivot;
2432
+ run = [];
2433
+ clicked(e, { items: t, selected: n, keys: r }) {
2434
+ return r.shiftKey && t && this.pivot !== void 0 && t.includes(this.pivot) ? this.runTo(e, t, n) : (this.run = [], r.metaKey || r.ctrlKey || r.shiftKey && !t ? this.toggled(e, n) : (this.pivot = e, [e]));
2435
+ }
2436
+ runTo(e, t, n) {
2437
+ let [r, i] = [t.indexOf(this.pivot), t.indexOf(e)].sort((e, t) => e - t), a = t.slice(r, i + 1), o = n.filter((e) => !this.run.includes(e) && !a.includes(e));
2438
+ return this.run = a, [...o, ...a];
2439
+ }
2440
+ toggled(e, t) {
2441
+ if (!t.includes(e)) return this.pivot = e, [...t, e];
2442
+ let n = t.filter((t) => t !== e);
2443
+ return this.pivot === e && (this.pivot = n.at(-1)), n;
2444
+ }
2445
+ }, Rn, zn, Bn, Vn, Hn, Un, Wn, Gn, Kn, qn, Jn = [proto], A;
2446
+ qn = [proto], Kn = [proto], Gn = [proto], Wn = [proto], Un = [proto], Hn = [proto], Vn = [proto], Bn = [proto], zn = [proto], Rn = [proto];
2150
2447
  var j = class _ValueSets {
2151
2448
  static get(e) {
2152
2449
  return typeof e == "string" ? _ValueSets.prototype[e] ?? [] : e;
@@ -2170,20 +2467,28 @@ var j = class _ValueSets {
2170
2467
  }), _ValueSets[e] = r;
2171
2468
  }
2172
2469
  static setFor(e) {
2173
- let t = kn;
2470
+ let t = Xn;
2174
2471
  return e.values ?? t[e.kind];
2175
2472
  }
2473
+ static kindSetFor(e) {
2474
+ return Xn[e.kind];
2475
+ }
2476
+ static iconsFor(e) {
2477
+ if (e.icons) return e.icons;
2478
+ let t = _ValueSets.setFor(e);
2479
+ if (typeof t == "string") return _ValueSets.iconsBySet[t];
2480
+ }
2176
2481
  static columns(e) {
2177
2482
  let t;
2178
2483
  if (typeof e == "number") t = e;
2179
2484
  else {
2180
- let n = e.trim(), r = An.exec(n), i = jn.exec(n);
2181
- t = r ? On * Number(r[1]) / Number(r[2]) : i ? On * Number(i[1]) / 100 : Mn.test(n) ? Number(n) : _ValueSets.wordColumns().get(n.toLowerCase()) ?? NaN;
2485
+ let n = e.trim(), r = Zn.exec(n), i = Qn.exec(n);
2486
+ t = r ? Yn * Number(r[1]) / Number(r[2]) : i ? Yn * Number(i[1]) / 100 : $n.test(n) ? Number(n) : _ValueSets.wordColumns().get(n.toLowerCase()) ?? NaN;
2182
2487
  }
2183
- return Number.isFinite(t) && t > 0 && t < On + .5 ? t : void 0;
2488
+ return Number.isFinite(t) && t > 0 && t < Yn + .5 ? t : void 0;
2184
2489
  }
2185
2490
  static isColumnCount(e) {
2186
- return Number.isInteger(e) && e >= 1 && e <= On;
2491
+ return Number.isInteger(e) && e >= 1 && e <= Yn;
2187
2492
  }
2188
2493
  static lookup(e) {
2189
2494
  let t = _ValueSets.sets.get(e);
@@ -2192,12 +2497,12 @@ var j = class _ValueSets {
2192
2497
  static wordColumns() {
2193
2498
  if (!_ValueSets.words) {
2194
2499
  _ValueSets.words = /* @__PURE__ */ new Map();
2195
- for (let e = 1; e <= On; e++) _ValueSets.words.set(numberToWord(e), e);
2500
+ for (let e = 1; e <= Yn; e++) _ValueSets.words.set(numberToWord(e), e);
2196
2501
  }
2197
2502
  return _ValueSets.words;
2198
2503
  }
2199
2504
  };
2200
- A = __decoratorStart(null), __decorateElement(A, 13, "hues", Dn, j), __decorateElement(A, 13, "sizes", En, j), __decorateElement(A, 13, "positions", Tn, j), __decorateElement(A, 13, "attachments", wn, j), __decorateElement(A, 13, "alignments", Cn, j), __decorateElement(A, 13, "verticalAlignments", Sn, j), __decorateElement(A, 13, "floats", xn, j), __decorateElement(A, 13, "widths", bn, j), __decorateElement(A, 13, "devices", yn, j), __decorateElement(A, 13, "booleans", vn, j), __decorateElement(A, 13, "topics", _n, j), __decoratorMetadata(A, j), __name(j, "ValueSets"), __publicField(j, "hues", __runInitializers(A, 8, j, [
2505
+ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Jn, j), __decorateElement(A, 13, "sizes", qn, j), __decorateElement(A, 13, "positions", Kn, j), __decorateElement(A, 13, "attachments", Gn, j), __decorateElement(A, 13, "alignments", Wn, j), __decorateElement(A, 13, "verticalAlignments", Un, j), __decorateElement(A, 13, "floats", Hn, j), __decorateElement(A, 13, "widths", Vn, j), __decorateElement(A, 13, "devices", Bn, j), __decorateElement(A, 13, "booleans", zn, j), __decorateElement(A, 13, "topics", Rn, j), __decoratorMetadata(A, j), __name(j, "ValueSets"), __publicField(j, "hues", __runInitializers(A, 8, j, [
2201
2506
  "primary",
2202
2507
  "secondary",
2203
2508
  "red",
@@ -2283,20 +2588,42 @@ A = __decoratorStart(null), __decorateElement(A, 13, "hues", Dn, j), __decorateE
2283
2588
  "false",
2284
2589
  "yes",
2285
2590
  "no"
2286
- ])), __runInitializers(A, 47, j), __publicField(j, "topics", __runInitializers(A, 48, j, /* @__PURE__ */ "basic.layout.containers.navigation.menus.forms.inputs.controls.buttons.selection.date & time.text.typography.media.images.icons.data display.lists.tables.cards.feedback.messages.notifications.overlays.dialogs.popups.loading.progress.status.animation.social.content parts.documentation.elements.collections.views.modules".split("."))), __runInitializers(A, 51, j), __publicField(j, "sets", /* @__PURE__ */ new WeakMap()), __publicField(j, "words");
2287
- var M = j, On = 16, kn = {
2591
+ ])), __runInitializers(A, 47, j), __publicField(j, "topics", __runInitializers(A, 48, j, /* @__PURE__ */ "basic.layout.containers.navigation.menus.forms.inputs.controls.buttons.selection.date & time.text.typography.media.images.icons.data display.lists.tables.cards.feedback.messages.notifications.overlays.dialogs.popups.loading.progress.status.animation.social.content parts.documentation.elements.collections.views.modules".split("."))), __runInitializers(A, 51, j), __publicField(j, "iconsBySet", {
2592
+ alignments: {
2593
+ left: "align left",
2594
+ center: "align center",
2595
+ right: "align right",
2596
+ justified: "align justify"
2597
+ },
2598
+ verticalAlignments: {
2599
+ top: "arrow up",
2600
+ middle: "arrows alternate vertical",
2601
+ bottom: "arrow down"
2602
+ },
2603
+ floats: {
2604
+ left: "arrow left",
2605
+ right: "arrow right"
2606
+ },
2607
+ attachments: {
2608
+ top: "caret up",
2609
+ bottom: "caret down",
2610
+ left: "caret left",
2611
+ right: "caret right"
2612
+ }
2613
+ }), __publicField(j, "sets", /* @__PURE__ */ new WeakMap()), __publicField(j, "words");
2614
+ var M = j, Yn = 16, Xn = {
2288
2615
  color: "hues",
2289
2616
  size: "sizes",
2290
2617
  textAlign: "alignments",
2291
2618
  verticalAlign: "verticalAlignments",
2292
2619
  multiple: "devices",
2293
2620
  boolean: "booleans"
2294
- }, An = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, jn = /^(\d+(?:\.\d+)?)\s*%$/, Mn = /^\d+(?:\.\d+)?$/, N = class Converters {
2621
+ }, Zn = /^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/, Qn = /^(\d+(?:\.\d+)?)\s*%$/, $n = /^\d+(?:\.\d+)?$/, N = class Converters {
2295
2622
  static boolean(e, t) {
2296
2623
  if (e == null) return !1;
2297
2624
  if (typeof e == "boolean") return e;
2298
2625
  let n = e.trim().toLowerCase();
2299
- return Nn.has(n) || n === t ? !0 : !Fn.has(n);
2626
+ return er.has(n) || n === t ? !0 : !nr.has(n);
2300
2627
  }
2301
2628
  static booleanToAttribute(e) {
2302
2629
  return e ? "" : null;
@@ -2304,18 +2631,18 @@ var M = j, On = 16, kn = {
2304
2631
  static keyOrValue(e, t, n = {}) {
2305
2632
  if (e == null || typeof e == "boolean") return e ?? !1;
2306
2633
  let r = e.trim().toLowerCase();
2307
- return Nn.has(r) || r === n.attribute ? !0 : Fn.has(r) ? !1 : t ? Converters.enumValue(r, t, n) ?? !0 : r;
2634
+ return er.has(r) || r === n.attribute ? !0 : nr.has(r) ? !1 : t ? Converters.enumValue(r, t, n) ?? !0 : r;
2308
2635
  }
2309
2636
  static icon(e, t) {
2310
2637
  if (e == null || e === !1) return;
2311
2638
  let n = typeof e == "string" ? e.trim() : e === !0 ? "" : typeof e == "number" ? `${e}` : void 0;
2312
2639
  if (n === void 0) return;
2313
2640
  let r = n.toLowerCase();
2314
- if (!Pn.has(r)) return Nn.has(r) ? typeof t == "string" ? t : "" : n;
2641
+ if (!tr.has(r)) return er.has(r) ? typeof t == "string" ? t : "" : n;
2315
2642
  }
2316
2643
  static enumValue(e, t, n = {}) {
2317
2644
  if (e == null) return;
2318
- let r = e.trim().toLowerCase().replace(Ln, " ");
2645
+ let r = e.trim().toLowerCase().replace(ir, " ");
2319
2646
  if (M.has(t, r)) return r;
2320
2647
  if (r === "") return;
2321
2648
  let i = M.suggest(t, r), a = n.tag ? `<${n.tag} ${n.attribute ?? ""}>` : n.attribute ?? "value";
@@ -2332,7 +2659,7 @@ var M = j, On = 16, kn = {
2332
2659
  if (typeof e != "string") return e;
2333
2660
  let t = e.trim();
2334
2661
  if (t !== "") {
2335
- if (!Rn.includes(t[0])) return e;
2662
+ if (!ar.includes(t[0])) return e;
2336
2663
  try {
2337
2664
  return JSON.parse(t);
2338
2665
  } catch (t) {
@@ -2342,139 +2669,142 @@ var M = j, On = 16, kn = {
2342
2669
  }
2343
2670
  }
2344
2671
  static list(e) {
2345
- return e == null ? [] : typeof e == "string" ? e.split(In).filter(Boolean) : [...e];
2672
+ return e == null ? [] : typeof e == "string" ? e.split(rr).filter(Boolean) : [...e];
2346
2673
  }
2347
- }, Nn = /* @__PURE__ */ new Set([
2674
+ }, er = /* @__PURE__ */ new Set([
2348
2675
  "",
2349
2676
  "true",
2350
2677
  "yes"
2351
- ]), Pn = /* @__PURE__ */ new Set(["false", "no"]), Fn = /* @__PURE__ */ new Set([...Pn, "0"]), In = /[\s,]+/, Ln = /\s+/g, Rn = "[{\"", zn = /* @__PURE__ */ e({
2352
- ACTIVE: () => zr,
2353
- ANIMATING: () => Hr,
2354
- APPEARANCE: () => Yr,
2355
- AnimationLookup: () => yr,
2356
- Animations: () => pr,
2357
- AttentionAnimations: () => dr,
2678
+ ]), tr = /* @__PURE__ */ new Set(["false", "no"]), nr = /* @__PURE__ */ new Set([...tr, "0"]), rr = /[\s,]+/, ir = /\s+/g, ar = "[{\"", or = /* @__PURE__ */ e({
2679
+ ACTIVE: () => ci,
2680
+ ANIMATING: () => di,
2681
+ APPEARANCE: () => vi,
2682
+ AnimationLookup: () => Hr,
2683
+ Animations: () => Fr,
2684
+ AttentionAnimations: () => Nr,
2358
2685
  BAR: () => "bar",
2359
- BASIC: () => ii,
2360
- BOTTOM: () => Rr,
2361
- BUTTON: () => Gr,
2362
- BreadcrumbDividerTokens: () => tr,
2363
- CLOSE: () => Ir,
2364
- CLOSE_CLASS: () => oi,
2365
- CLOSE_ICON: () => si,
2686
+ BASIC: () => Di,
2687
+ BOTTOM: () => si,
2688
+ BUTTON: () => mi,
2689
+ BreadcrumbDividerTokens: () => Sr,
2690
+ CLOSE: () => ai,
2691
+ CLOSE_CLASS: () => ki,
2692
+ CLOSE_ICON: () => Ai,
2366
2693
  CLOSE_TEXT: () => "×",
2367
- CODE_SPAN: () => ji,
2694
+ CODE_SPAN: () => ta,
2368
2695
  COLOR_CLASS_PREFIX: () => "ui-",
2369
- CONTENT: () => Kr,
2370
- DEFAULT_ANIMATION: () => _r,
2371
- DESCRIPTION: () => Xr,
2372
- DIGITS: () => fi,
2373
- DISABLED: () => Br,
2374
- DISABLED_STATE: () => Pr,
2375
- FIELD_HOST_STATE: () => ir,
2376
- FLUID: () => ai,
2377
- Flags: () => Bn,
2378
- FontFaces: () => mr,
2379
- FontFamilies: () => hr,
2380
- FontWords: () => gr,
2381
- FormControlAttributes: () => pi,
2382
- FormControlStates: () => mi,
2383
- FormStates: () => li,
2384
- GRID_CONTAINER_NAME: () => Jn,
2385
- HEADER: () => qr,
2386
- HEADING: () => Jr,
2696
+ CONTENT: () => hi,
2697
+ DEFAULT_ANIMATION: () => Br,
2698
+ DESCRIPTION: () => yi,
2699
+ DIGITS: () => Fi,
2700
+ DISABLED: () => li,
2701
+ DISABLED_STATE: () => ri,
2702
+ FIELD_HOST_STATE: () => Tr,
2703
+ FLUID: () => Oi,
2704
+ Flags: () => sr,
2705
+ FontFaces: () => Lr,
2706
+ FontFamilies: () => Rr,
2707
+ FontWords: () => zr,
2708
+ FormControlAttributes: () => Ii,
2709
+ FormControlStates: () => Li,
2710
+ FormStates: () => Mi,
2711
+ GRID_CONTAINER_NAME: () => hr,
2712
+ HEADER: () => gi,
2713
+ HEADING: () => _i,
2387
2714
  HeadingLevels: () => HeadingLevels,
2388
- ICON: () => Zr,
2389
- ICON_CLASS: () => Qr,
2390
- IMAGE: () => $r,
2715
+ ICON: () => bi,
2716
+ ICON_CLASS: () => xi,
2717
+ IMAGE: () => Si,
2391
2718
  IN: () => "in",
2392
- ITEM: () => ei,
2393
- InputOwnerTokens: () => rr,
2394
- ItemAlignments: () => er,
2395
- Key: () => Nr,
2396
- LABEL: () => ti,
2397
- LEFT: () => Lr,
2398
- MESSAGE: () => ni,
2399
- MOTION_PROPERTY: () => vr,
2400
- MenuAppearances: () => $n,
2401
- ModalActionSelectors: () => cr,
2719
+ ITEM: () => Ci,
2720
+ InputOwnerTokens: () => wr,
2721
+ ItemAlignments: () => xr,
2722
+ Key: () => ni,
2723
+ LABEL: () => wi,
2724
+ LEFT: () => oi,
2725
+ MESSAGE: () => Ti,
2726
+ MOTION_PROPERTY: () => Vr,
2727
+ MenuAppearances: () => br,
2728
+ ModalActionSelectors: () => Ar,
2402
2729
  ModalActions: () => ModalActions,
2403
- NO_ANIMATION: () => fr,
2404
- ORDERED: () => Fr,
2730
+ NO_ANIMATION: () => Pr,
2731
+ ORDERED: () => ii,
2405
2732
  OUT: () => "out",
2406
2733
  PART_STATIC_CLASS_PREFIX: () => "in-",
2407
- PLACEHOLDER_HOST_STATE: () => nr,
2408
- PUSHABLE_HOST_STATE: () => Tr,
2409
- PUSHER_HOST_STATE: () => Cr,
2410
- PartOwnerTokens: () => Gn,
2734
+ PLACEHOLDER_HOST_STATE: () => Cr,
2735
+ PUSHABLE_HOST_STATE: () => Jr,
2736
+ PUSHER_HOST_STATE: () => Kr,
2737
+ PartOwnerTokens: () => fr,
2411
2738
  PopupTrigger: () => P,
2412
- PopupTriggers: () => sr,
2413
- PusherTokens: () => Er,
2414
- REQUIRED_RULE: () => ui,
2415
- SELECTED: () => Vr,
2416
- SIDEBAR_HOST_STATE: () => wr,
2417
- SIDE_HOST_STATE: () => jr,
2418
- STACK_WITH_CLASS: () => Zn,
2419
- STACK_WITH_TOKEN: () => Xn,
2420
- STATIC_CONTROL: () => Kn,
2421
- STATIC_ROOT: () => qn,
2739
+ PopupTriggers: () => kr,
2740
+ PosterSizes: () => Ir,
2741
+ PusherTokens: () => Yr,
2742
+ REQUIRED_RULE: () => Ni,
2743
+ SELECTED: () => ui,
2744
+ SIDEBAR_HOST_STATE: () => qr,
2745
+ SIDE_HOST_STATE: () => ei,
2746
+ STACK_WITH_CLASS: () => vr,
2747
+ STACK_WITH_TOKEN: () => _r,
2748
+ STATIC_CONTROL: () => pr,
2749
+ STATIC_ROOT: () => mr,
2422
2750
  SearchMatch: () => F,
2423
- SearchMatches: () => lr,
2424
- SectionTitle: () => Mr,
2425
- ShapeCommands: () => Ar,
2426
- ShapeFlips: () => kr,
2427
- SourceAttributes: () => gi,
2428
- SourceBodyAttributes: () => Si,
2429
- SourceBodyEvents: () => Ci,
2430
- SourceBodyParts: () => wi,
2431
- SourceBodyStates: () => Ti,
2432
- SourceEvents: () => _i,
2433
- SourceFailureTexts: () => bi,
2434
- SourceLoadModes: () => hi,
2435
- SourceParts: () => vi,
2436
- SourceStates: () => yi,
2437
- SourceTexts: () => xi,
2438
- SpaceSteps: () => Qn,
2439
- SpecialFlags: () => Vn,
2751
+ SearchMatches: () => jr,
2752
+ SectionTitle: () => ti,
2753
+ ShapeCommands: () => $r,
2754
+ ShapeFlips: () => Qr,
2755
+ SourceAttributes: () => zi,
2756
+ SourceBodyAttributes: () => Gi,
2757
+ SourceBodyEvents: () => Ki,
2758
+ SourceBodyParts: () => qi,
2759
+ SourceBodyStates: () => Ji,
2760
+ SourceEvents: () => Bi,
2761
+ SourceFailureTexts: () => Ui,
2762
+ SourceLoadModes: () => Ri,
2763
+ SourceParts: () => Vi,
2764
+ SourceStates: () => Hi,
2765
+ SourceTexts: () => Wi,
2766
+ SpaceSteps: () => yr,
2767
+ SpecialFlags: () => cr,
2440
2768
  StackClasses: () => StackClasses,
2441
- StackWithValues: () => Yn,
2442
- TABLE_SORT_KEY: () => or,
2443
- TABLE_SORT_OPT_OUT: () => ar,
2444
- TEXT: () => ri,
2445
- TITLE: () => Wr,
2769
+ StackWithValues: () => gr,
2770
+ TABLE_SORT_KEY: () => Or,
2771
+ TABLE_SORT_OPT_OUT: () => Dr,
2772
+ TEXT: () => Ei,
2773
+ THEME_APPLIED_EVENT: () => ea,
2774
+ TITLE: () => pi,
2446
2775
  TOP: () => "top",
2447
- ThemeCorners: () => Oi,
2448
- ThemeDepths: () => ki,
2449
- ThemeFonts: () => Di,
2450
- ThemeGlasses: () => Ai,
2451
- ThemeHues: () => Ei,
2776
+ TableCellTypes: () => Er,
2777
+ ThemeCorners: () => Zi,
2778
+ ThemeDepths: () => Qi,
2779
+ ThemeFonts: () => Xi,
2780
+ ThemeGlasses: () => $i,
2781
+ ThemeHues: () => Yi,
2452
2782
  ThemeNames: () => ThemeNames,
2453
- TocMarks: () => Mi,
2454
- ToggleCommands: () => Sr,
2455
- TransitionCommands: () => xr,
2456
- VISIBLE: () => Ur,
2457
- VISUALLY_HIDDEN: () => ci,
2458
- VisibilityAnimations: () => ur,
2459
- WHITESPACE: () => di,
2783
+ TocMarks: () => na,
2784
+ ToggleCommands: () => Gr,
2785
+ TransitionCommands: () => Wr,
2786
+ VISIBLE: () => fi,
2787
+ VISUALLY_HIDDEN: () => ji,
2788
+ VisibilityAnimations: () => Mr,
2789
+ WHITESPACE: () => Pi,
2460
2790
  WordWidthClasses: () => WordWidthClasses,
2461
- WordWidths: () => Dr
2462
- }), Bn = class Flags {
2791
+ WordWidths: () => Xr
2792
+ }), sr = class Flags {
2463
2793
  static emojiFor(e) {
2464
2794
  let t = e.toLowerCase();
2465
- return Flags.isSpecial(t) ? Vn[t] : Hn.test(t) ? String.fromCodePoint(...Array.from(t, (e) => Un + e.charCodeAt(0) - Wn)) : "";
2795
+ return Flags.isSpecial(t) ? cr[t] : lr.test(t) ? String.fromCodePoint(...Array.from(t, (e) => ur + e.charCodeAt(0) - dr)) : "";
2466
2796
  }
2467
2797
  static isSpecial(e) {
2468
- return Object.hasOwn(Vn, e);
2798
+ return Object.hasOwn(cr, e);
2469
2799
  }
2470
- }, Vn = {
2800
+ }, cr = {
2471
2801
  rainbow: "🏳️‍🌈",
2472
2802
  transgender: "🏳️‍⚧️",
2473
2803
  pirate: "🏴‍☠️",
2474
2804
  "gb-eng": "🏴󠁧󠁢󠁥󠁮󠁧󠁿",
2475
2805
  "gb-sct": "🏴󠁧󠁢󠁳󠁣󠁴󠁿",
2476
2806
  "gb-wls": "🏴󠁧󠁢󠁷󠁬󠁳󠁿"
2477
- }, Hn = /^[a-z]{2}$/, Un = 127462, Wn = 97, Gn = {
2807
+ }, lr = /^[a-z]{2}$/, ur = 127462, dr = 97, fr = {
2478
2808
  inverted: "--ui-inverted",
2479
2809
  cardLayout: "--_ui-card-layout",
2480
2810
  cardLeading: "--_ui-card-leading",
@@ -2497,57 +2827,65 @@ var M = j, On = 16, kn = {
2497
2827
  headerLayout: "--_ui-header-layout",
2498
2828
  labelLayout: "--_ui-label-layout",
2499
2829
  part: "--_ui-part"
2500
- }, Kn = "data-ui-control", qn = "data-ui", Jn = "ui-grid", Yn = ["container", "page"], Xn = "--ui-stack-with", Zn = "stack-with-", StackClasses = class {
2830
+ }, pr = "data-ui-control", mr = "data-ui", hr = "ui-grid", gr = ["container", "page"], _r = "--ui-stack-with", vr = "stack-with-", StackClasses = class {
2501
2831
  static classFor(e) {
2502
- return e ? `${Zn}${e}` : void 0;
2832
+ return e ? `${vr}${e}` : void 0;
2503
2833
  }
2504
- }, Qn = {
2834
+ }, yr = {
2505
2835
  none: "0",
2506
2836
  xs: "var(--ui-space-xs)",
2507
2837
  sm: "var(--ui-space-s)",
2508
2838
  md: "var(--ui-space-m)",
2509
2839
  lg: "var(--ui-space-l)",
2510
2840
  xl: "var(--ui-space-xl)"
2511
- }, $n = [
2841
+ }, br = [
2512
2842
  "tabular",
2513
2843
  "pointing",
2514
2844
  "secondary",
2515
2845
  "text",
2516
2846
  "segmented"
2517
- ], er = [
2847
+ ], xr = [
2518
2848
  "fluid",
2519
2849
  "left",
2520
2850
  "center",
2521
2851
  "right"
2522
- ], tr = {
2852
+ ], Sr = {
2523
2853
  text: "--ui-breadcrumb-divider",
2524
2854
  icon: "--ui-breadcrumb-divider-icon",
2525
2855
  layout: "--_ui-breadcrumb-divider-layout"
2526
- }, nr = "placeholder", rr = {
2856
+ }, Cr = "placeholder", wr = {
2527
2857
  width: "--_ui-input-owner-width",
2858
+ weight: "--_ui-input-owner-weight",
2528
2859
  color: "--_ui-field-state-color",
2529
2860
  background: "--_ui-field-state-background",
2530
2861
  border: "--_ui-field-state-border"
2531
- }, ir = "field", ar = {
2862
+ }, Tr = "field", Er = [
2863
+ "text",
2864
+ "number",
2865
+ "date",
2866
+ "yes-no",
2867
+ "choice",
2868
+ "link"
2869
+ ], Dr = {
2532
2870
  attribute: "data-sortable",
2533
2871
  value: "false"
2534
- }, or = "data-key", P = {
2872
+ }, Or = "data-key", P = {
2535
2873
  hover: "hover",
2536
2874
  focus: "focus",
2537
2875
  click: "click",
2538
2876
  manual: "manual"
2539
- }, sr = [
2877
+ }, kr = [
2540
2878
  P.hover,
2541
2879
  P.focus,
2542
2880
  P.click,
2543
2881
  P.manual
2544
- ], cr = {
2882
+ ], Ar = {
2545
2883
  approve: ".approve, .ok, .positive, [color=\"positive\"], [positive]:not([positive=\"false\"], [positive=\"no\"])",
2546
2884
  deny: ".deny, .cancel, .negative, [color=\"negative\"], [negative]:not([negative=\"false\"], [negative=\"no\"])"
2547
2885
  }, ModalActions = class {
2548
2886
  static of(e) {
2549
- if (e.matches(cr.approve)) return "approve";
2550
- if (e.matches(cr.deny)) return "deny";
2887
+ if (e.matches(Ar.approve)) return "approve";
2888
+ if (e.matches(Ar.deny)) return "deny";
2551
2889
  }
2552
2890
  static *lightPath(e, t) {
2553
2891
  let n = t.getRootNode();
@@ -2563,26 +2901,38 @@ var M = j, On = 16, kn = {
2563
2901
  prefix: "prefix",
2564
2902
  some: "some",
2565
2903
  all: "all"
2566
- }, lr = [
2904
+ }, jr = [
2567
2905
  F.exact,
2568
2906
  F.fuzzy,
2569
2907
  F.prefix,
2570
2908
  F.some,
2571
2909
  F.all
2572
- ], ur = /* @__PURE__ */ "fade.fade up.fade down.fade left.fade right.scale.zoom.drop.browse.browse right.fly.fly up.fly down.fly left.fly right.slide.slide up.slide down.slide left.slide right.swing.swing up.swing down.swing left.swing right.horizontal flip.vertical flip".split("."), dr = [
2910
+ ], Mr = /* @__PURE__ */ "fade.fade up.fade down.fade left.fade right.scale.zoom.drop.browse.browse right.fly.fly up.fly down.fly left.fly right.slide.slide up.slide down.slide left.slide right.swing.swing up.swing down.swing left.swing right.horizontal flip.vertical flip".split("."), Nr = [
2573
2911
  "flash",
2574
2912
  "shake",
2575
2913
  "bounce",
2576
2914
  "tada",
2577
2915
  "pulse",
2578
2916
  "jiggle",
2579
- "glow"
2580
- ], fr = "none", pr = [
2581
- ...ur,
2582
- ...dr,
2583
- fr
2584
- ], mr = [
2917
+ "glow",
2918
+ "coin"
2919
+ ], Pr = "none", Fr = [
2920
+ ...Mr,
2921
+ ...Nr,
2922
+ Pr
2923
+ ], Ir = [
2924
+ "mini",
2925
+ "tiny",
2926
+ "small",
2927
+ "medium",
2928
+ "large",
2929
+ "big",
2930
+ "huge",
2931
+ "massive",
2932
+ "poster"
2933
+ ], Lr = [
2585
2934
  "bold",
2935
+ "heavy",
2586
2936
  "italic",
2587
2937
  "underline",
2588
2938
  "strikethrough",
@@ -2592,37 +2942,37 @@ var M = j, On = 16, kn = {
2592
2942
  "superscript",
2593
2943
  "all-caps",
2594
2944
  "title-caps"
2595
- ], hr = [
2945
+ ], Rr = [
2596
2946
  "headline",
2597
2947
  "subhead",
2598
2948
  "serif",
2599
2949
  "sans-serif",
2600
2950
  "typewriter"
2601
- ], gr = [...mr, ...hr], _r = "fade", vr = "--ui-motion", yr = class AnimationLookup {
2951
+ ], zr = [...Lr, ...Rr], Br = "fade", Vr = "--ui-motion", Hr = class AnimationLookup {
2602
2952
  static fomanticNameFor(e) {
2603
2953
  let t = e.trim().replace(/\s+/g, " ");
2604
- return pr.includes(t) ? t : pr.find((e) => AnimationLookup.runtimeNameFor(e) === t);
2954
+ return Fr.includes(t) ? t : Fr.find((e) => AnimationLookup.runtimeNameFor(e) === t);
2605
2955
  }
2606
2956
  static runtimeNameFor(e) {
2607
- return br[e] ?? e.replace(/ /g, "-");
2957
+ return Ur[e] ?? e.replace(/ /g, "-");
2608
2958
  }
2609
2959
  static isAttention(e) {
2610
- return dr.includes(e);
2960
+ return Nr.includes(e);
2611
2961
  }
2612
2962
  static keyframesBeside(e, t) {
2613
2963
  if (e !== "none" && e !== t) return AnimationLookup.isAttention(e) ? void 0 : AnimationLookup.runtimeNameFor(e);
2614
2964
  }
2615
- }, br = {
2965
+ }, Ur = {
2616
2966
  "horizontal flip": "flip-horizontal",
2617
2967
  "vertical flip": "flip-vertical",
2618
2968
  slide: "slide-down",
2619
2969
  swing: "swing-down"
2620
- }, xr = {
2970
+ }, Wr = {
2621
2971
  show: "--show",
2622
2972
  close: "--close",
2623
2973
  toggle: "--toggle",
2624
2974
  transition: "--transition"
2625
- }, Sr = class ToggleCommands {
2975
+ }, Gr = class ToggleCommands {
2626
2976
  static show = "--show";
2627
2977
  static close = "--close";
2628
2978
  static toggle = "--toggle";
@@ -2631,38 +2981,38 @@ var M = j, On = 16, kn = {
2631
2981
  if (n === ToggleCommands.show || n === ToggleCommands.toggle && !t) return "show";
2632
2982
  if (n === ToggleCommands.close || n === ToggleCommands.toggle) return "close";
2633
2983
  }
2634
- }, Cr = "pusher", wr = "sidebar", Tr = "pushable", Er = {
2984
+ }, Kr = "pusher", qr = "sidebar", Jr = "pushable", Yr = {
2635
2985
  transform: "--_ui-pusher-transform",
2636
2986
  origin: "--_ui-pusher-origin",
2637
2987
  dimmed: "--_ui-pusher-dimmed",
2638
2988
  blurring: "--_ui-pusher-blurring"
2639
- }, Dr = [
2989
+ }, Xr = [
2640
2990
  "very thin",
2641
2991
  "thin",
2642
2992
  "wide",
2643
2993
  "very wide"
2644
2994
  ], WordWidthClasses = class {
2645
2995
  static classFor(e) {
2646
- let t = typeof e == "string" ? e.trim().replace(Or, " ") : void 0;
2647
- return Dr.find((e) => e === t);
2996
+ let t = typeof e == "string" ? e.trim().replace(Zr, " ") : void 0;
2997
+ return Xr.find((e) => e === t);
2648
2998
  }
2649
- }, Or = /[\s-]+/g, kr = [
2999
+ }, Zr = /[\s-]+/g, Qr = [
2650
3000
  "up",
2651
3001
  "down",
2652
3002
  "left",
2653
3003
  "right",
2654
3004
  "over",
2655
3005
  "back"
2656
- ], Ar = {
3006
+ ], $r = {
2657
3007
  next: "--next",
2658
3008
  previous: "--previous",
2659
3009
  flip: "--flip-"
2660
- }, jr = "side", Mr = { textOf(e) {
3010
+ }, ei = "side", ti = { textOf(e) {
2661
3011
  let t = e.getAttribute("label");
2662
3012
  if (t) return t;
2663
3013
  let n = [...e.children].find((e) => e.getAttribute("slot") === "label");
2664
3014
  return n ? n.textContent ?? void 0 : void 0;
2665
- } }, Nr = {
3015
+ } }, ni = {
2666
3016
  arrowUp: "ArrowUp",
2667
3017
  arrowDown: "ArrowDown",
2668
3018
  arrowLeft: "ArrowLeft",
@@ -2677,12 +3027,12 @@ var M = j, On = 16, kn = {
2677
3027
  tab: "Tab",
2678
3028
  backspace: "Backspace",
2679
3029
  delete: "Delete"
2680
- }, Pr = ":state(disabled)", Fr = "ordered", Ir = "close", Lr = "left", Rr = "bottom", zr = "active", Br = "disabled", Vr = "selected", Hr = "animating", Ur = "visible", Wr = "title", Gr = "button", Kr = "content", qr = "header", Jr = "heading", Yr = "appearance", Xr = "description", Zr = "icon", Qr = "icon", $r = "image", ei = "item", ti = "label", ni = "message", ri = "text", ii = "basic", ai = "fluid", oi = "close icon", si = "xmark", ci = "ui-visually-hidden-force", li = [
3030
+ }, ri = ":state(disabled)", ii = "ordered", ai = "close", oi = "left", si = "bottom", ci = "active", li = "disabled", ui = "selected", di = "animating", fi = "visible", pi = "title", mi = "button", hi = "content", gi = "header", _i = "heading", vi = "appearance", yi = "description", bi = "icon", xi = "icon", Si = "image", Ci = "item", wi = "label", Ti = "message", Ei = "text", Di = "basic", Oi = "fluid", ki = "close icon", Ai = "xmark", ji = "ui-visually-hidden-force", Mi = [
2681
3031
  "error",
2682
3032
  "info",
2683
3033
  "success",
2684
3034
  "warning"
2685
- ], ui = "notEmpty", di = /\s+/, fi = /^\d+(\.\d+)?$/, pi = {
3035
+ ], Ni = "notEmpty", Pi = /\s+/, Fi = /^\d+(\.\d+)?$/, Ii = {
2686
3036
  name: {
2687
3037
  name: "name",
2688
3038
  group: "name",
@@ -2708,8 +3058,14 @@ var M = j, On = 16, kn = {
2708
3058
  group: "form",
2709
3059
  kind: "string",
2710
3060
  description: "Hint shown while empty."
3061
+ },
3062
+ parameter: {
3063
+ name: "parameter",
3064
+ group: "form",
3065
+ kind: "string",
3066
+ description: "Keep the value in the page's address, as this query parameter (`parameter=\"s\"` => `?s=van+gogh`): each change it settles on is a new history entry, so Back and Forward step through them, and a page opened on the address starts with that value. Other parameters are kept; an empty value takes its own out."
2711
3067
  }
2712
- }, mi = {
3068
+ }, Li = {
2713
3069
  readonly: {
2714
3070
  name: "readonly",
2715
3071
  description: "`readonly`: can't be changed."
@@ -2718,21 +3074,21 @@ var M = j, On = 16, kn = {
2718
3074
  name: "invalid",
2719
3075
  description: "Fails validation, once a person has interacted (`:user-invalid` semantics)."
2720
3076
  }
2721
- }, hi = [
3077
+ }, Ri = [
2722
3078
  "eager",
2723
3079
  "visible",
2724
3080
  "idle"
2725
- ], gi = [{
3081
+ ], zi = [{
2726
3082
  name: "source",
2727
3083
  kind: "string",
2728
3084
  description: "URL of the file to show, relative to the page; same origin only (another site's URL shows an error). Changing it loads the new file. Without it, the element shows its own content."
2729
3085
  }, {
2730
3086
  name: "load",
2731
3087
  kind: "enum",
2732
- values: hi,
3088
+ values: Ri,
2733
3089
  default: "eager",
2734
3090
  description: "When to fetch `source`: `eager` (at once), `visible` (once scrolled into view) or `idle` (when the browser has nothing else to do). Like Astro's `client:visible` / `client:idle`."
2735
- }], _i = [
3091
+ }], Bi = [
2736
3092
  {
2737
3093
  name: "ui-loaded",
2738
3094
  detail: "{ source?: string, content: string }",
@@ -2760,13 +3116,13 @@ var M = j, On = 16, kn = {
2760
3116
  cancelable: !0,
2761
3117
  description: "Loading, showing or saving failed; `kind` says why. Load and render failures show an error message unless cancelled; save failures keep the content as it is."
2762
3118
  }
2763
- ], vi = [{
3119
+ ], Vi = [{
2764
3120
  name: "loader",
2765
3121
  description: "The `<ui-loader>` shown while `source` loads."
2766
3122
  }, {
2767
3123
  name: "error",
2768
3124
  description: "The `<ui-message>` shown when loading or showing failed."
2769
- }], yi = [
3125
+ }], Hi = [
2770
3126
  {
2771
3127
  name: "loading",
2772
3128
  description: "Fetching `source`."
@@ -2783,7 +3139,7 @@ var M = j, On = 16, kn = {
2783
3139
  name: "dirty",
2784
3140
  description: "`content` changed since it was loaded or saved."
2785
3141
  }
2786
- ], bi = [
3142
+ ], Ui = [
2787
3143
  {
2788
3144
  key: "sourceLoadError",
2789
3145
  text: "Couldn't load {source}.",
@@ -2804,11 +3160,11 @@ var M = j, On = 16, kn = {
2804
3160
  text: "Couldn't show {source}.",
2805
3161
  description: "The text arrived, but couldn't be shown."
2806
3162
  }
2807
- ], xi = [{
3163
+ ], Wi = [{
2808
3164
  key: "sourceLoading",
2809
3165
  text: "Loading {source}",
2810
3166
  description: "Accessible name of the loader."
2811
- }, ...bi], Si = [{
3167
+ }, ...Ui], Gi = [{
2812
3168
  name: "source",
2813
3169
  kind: "string",
2814
3170
  description: "URL of an HTML file whose `<body>` is the content, fetched the first time it opens (at once when it starts open); same origin only. Any content already there is a placeholder the file replaces. `load()` fetches it now, `reload()` again."
@@ -2817,7 +3173,7 @@ var M = j, On = 16, kn = {
2817
3173
  kind: "string",
2818
3174
  replaces: ["select"],
2819
3175
  description: "With `source`: a CSS selector; only its first match in the file becomes the content. Its old name was `select`."
2820
- }], Ci = [
3176
+ }], Ki = [
2821
3177
  {
2822
3178
  name: "ui-loading",
2823
3179
  detail: "{ source: string }",
@@ -2834,16 +3190,16 @@ var M = j, On = 16, kn = {
2834
3190
  cancelable: !0,
2835
3191
  description: "The `source` file couldn't be loaded or shown; `kind` says why. An error line shows in the content unless cancelled; opening it again tries again."
2836
3192
  }
2837
- ], wi = [{
3193
+ ], qi = [{
2838
3194
  name: "error",
2839
3195
  description: "With `source`: the line saying the file couldn't be loaded."
2840
- }], Ti = [{
3196
+ }], Ji = [{
2841
3197
  name: "loaded",
2842
3198
  description: "With `source`: the file's body is in place."
2843
3199
  }, {
2844
3200
  name: "error",
2845
3201
  description: "With `source`: the file couldn't be loaded or shown."
2846
- }], Ei = [
3202
+ }], Yi = [
2847
3203
  "red",
2848
3204
  "orange",
2849
3205
  "yellow",
@@ -2857,7 +3213,7 @@ var M = j, On = 16, kn = {
2857
3213
  "brown",
2858
3214
  "grey",
2859
3215
  "black"
2860
- ], Di = [
3216
+ ], Xi = [
2861
3217
  "system",
2862
3218
  "rounded",
2863
3219
  "serif",
@@ -2865,20 +3221,20 @@ var M = j, On = 16, kn = {
2865
3221
  "humanist",
2866
3222
  "verdana",
2867
3223
  "mono"
2868
- ], Oi = [
3224
+ ], Zi = [
2869
3225
  "sharp",
2870
3226
  "soft",
2871
3227
  "round",
2872
3228
  "pill"
2873
- ], ki = [
3229
+ ], Qi = [
2874
3230
  "flat",
2875
3231
  "soft",
2876
3232
  "lifted"
2877
- ], Ai = [
3233
+ ], $i = [
2878
3234
  "clear",
2879
3235
  "frosted",
2880
3236
  "solid"
2881
- ], ThemeNames = class {
3237
+ ], ea = "ui-theme-applied", ThemeNames = class {
2882
3238
  static titleOf(e) {
2883
3239
  return e.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
2884
3240
  }
@@ -2893,10 +3249,10 @@ var M = j, On = 16, kn = {
2893
3249
  static attributeFor(e) {
2894
3250
  return String(Math.min(6, Math.max(1, Math.round(e))));
2895
3251
  }
2896
- }, ji = /`([^`]+)`/g, Mi = {
3252
+ }, ta = /`([^`]+)`/g, na = {
2897
3253
  entry: "data-toc",
2898
3254
  group: "data-toc-group"
2899
- }, Ni = {
3255
+ }, ra = {
2900
3256
  lang: "es",
2901
3257
  attributes: {
2902
3258
  disabled: "desactivado",
@@ -2906,11 +3262,18 @@ var M = j, On = 16, kn = {
2906
3262
  link: "enlace",
2907
3263
  target: "destino",
2908
3264
  font: "letra",
3265
+ shadow: "sombra",
3266
+ width: "ancho",
3267
+ "min-width": "ancho-min",
3268
+ "max-width": "ancho-max",
2909
3269
  tooltip: "ayuda",
2910
- label: "etiqueta"
3270
+ label: "etiqueta",
3271
+ movable: "movible",
3272
+ resizable: "redimensionable"
2911
3273
  },
2912
3274
  values: { font: {
2913
3275
  bold: "negrita",
3276
+ heavy: "extranegrita",
2914
3277
  italic: "cursiva",
2915
3278
  underline: "subrayado",
2916
3279
  strikethrough: "tachado",
@@ -2937,29 +3300,29 @@ var M = j, On = 16, kn = {
2937
3300
  return SharedVocabulary.withShared(e).shared.has(t);
2938
3301
  }
2939
3302
  static translated(e, t) {
2940
- return Fi.get(e)?.attributes[t];
3303
+ return aa.get(e)?.attributes[t];
2941
3304
  }
2942
3305
  static translatedValues(e, t) {
2943
- return Fi.get(e)?.values?.[t];
3306
+ return aa.get(e)?.values?.[t];
2944
3307
  }
2945
3308
  static get attributeNames() {
2946
- return Pi.map(({ name: e }) => e);
3309
+ return ia.map(({ name: e }) => e);
2947
3310
  }
2948
3311
  static isSharedAttribute(e) {
2949
- return Pi.some((t) => t.name === e);
3312
+ return ia.some((t) => t.name === e);
2950
3313
  }
2951
3314
  static withShared(e) {
2952
3315
  let t = SharedVocabulary.cache.get(e);
2953
3316
  if (t) return t;
2954
- let n = new Set(e.attributes.map(({ name: e }) => e)), r = Pi.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
3317
+ let n = new Set(e.attributes.map(({ name: e }) => e)), r = ia.filter(({ name: e }) => !n.has(e)), i = new Set(e.states.map(({ name: e }) => e));
2955
3318
  return t = {
2956
3319
  attributes: r.length ? [...e.attributes, ...r] : e.attributes,
2957
- states: [...e.states, ...Ii.filter(({ name: e }) => !i.has(e))],
3320
+ states: [...e.states, ...oa.filter(({ name: e }) => !i.has(e))],
2958
3321
  shared: new Set(r.map(({ name: e }) => e))
2959
3322
  }, SharedVocabulary.cache.set(e, t), t;
2960
3323
  }
2961
3324
  static cache = /* @__PURE__ */ new WeakMap();
2962
- }, Pi = [
3325
+ }, ia = [
2963
3326
  {
2964
3327
  name: "disabled",
2965
3328
  kind: "boolean",
@@ -2978,7 +3341,7 @@ var M = j, On = 16, kn = {
2978
3341
  {
2979
3342
  name: "animation",
2980
3343
  kind: "enum",
2981
- values: pr,
3344
+ values: Fr,
2982
3345
  description: "How it shows and hides (Fomantic's names: `fade up`, `scale`, `fly down` ...); default its family's, else `fade`. `none` turns motion off for it and everything inside it, as the person's reduced-motion setting does; an element inside can't turn it back on."
2983
3346
  },
2984
3347
  {
@@ -2998,8 +3361,33 @@ var M = j, On = 16, kn = {
2998
3361
  name: "font",
2999
3362
  group: "appearance",
3000
3363
  kind: "multiple",
3001
- values: gr,
3002
- description: "How its letters look, several words at once: `bold`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font=\"bold italic\"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font=\"bold serif 10/20\"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone."
3364
+ values: zr,
3365
+ description: "How its letters look, several words at once: `bold`, `heavy`, `italic`, `underline`, `strikethrough`, `code`, `highlight`, `subscript`, `superscript`, `all-caps`, `title-caps` (`font=\"bold italic\"`); a family from the theme, `headline`, `subhead`, `serif`, `sans-serif` or `typewriter`; and a size in pixels, `14`, or with its line height, `10/20` (`font=\"bold serif 10/20\"`). `<ui-text>` draws each face as its HTML element (`<strong>`, `<em>` ...), so screen readers hear it, and takes each word as a bare attribute too (`<ui-text bold serif>`); every other element shows the look alone."
3366
+ },
3367
+ {
3368
+ name: "shadow",
3369
+ group: "appearance",
3370
+ kind: "enum",
3371
+ values: "hues",
3372
+ description: "A hard shadow behind its letters, down and to the right, in a hue: `shadow=\"yellow\"`, a sticker's look for a logo or a title. Its size follows the letters (0.06em)."
3373
+ },
3374
+ {
3375
+ name: "width",
3376
+ group: "layout",
3377
+ kind: "string",
3378
+ description: "Its box's own width where it sits, any CSS length: `width=\"10em\"`, `\"50%\"`. In a row it keeps that width, never squeezed. A family with a width of its own keeps it: a container's centres its box, an image's is its size in pixels, a column's counts columns."
3379
+ },
3380
+ {
3381
+ name: "min-width",
3382
+ group: "layout",
3383
+ kind: "string",
3384
+ description: "The narrowest its box gets, any CSS length: `min-width=\"16em\"`. A `fluid` element in a row grows from there into the room left; the row wraps it onto a line of its own before it gets any narrower."
3385
+ },
3386
+ {
3387
+ name: "max-width",
3388
+ group: "layout",
3389
+ kind: "string",
3390
+ description: "The widest its box gets, any CSS length: `max-width=\"36em\"`, so a bar or a field stops growing on a wide screen. A family with a `max-width` of its own (`<ui-zoom>`) keeps it."
3003
3391
  },
3004
3392
  {
3005
3393
  name: "tooltip",
@@ -3012,8 +3400,20 @@ var M = j, On = 16, kn = {
3012
3400
  group: "content",
3013
3401
  kind: "string",
3014
3402
  description: "Its name for screen readers (`aria-label`), where it has no words of its own. A family whose `label` is something else (a field's, a statistic's) keeps its own."
3403
+ },
3404
+ {
3405
+ name: "movable",
3406
+ group: "behaviour",
3407
+ kind: "string",
3408
+ description: "People can drag it to a new place inside its container: bare or `both`, `horizontally` or `vertically` for one way only. A press on a control of its own inside (a button, a field) stays that control's. With an `id`, where each person put it is remembered."
3409
+ },
3410
+ {
3411
+ name: "resizable",
3412
+ group: "behaviour",
3413
+ kind: "string",
3414
+ description: "People can drag its corner to resize it: bare or `both`, `horizontally` or `vertically`. Limit it with plain CSS (`max-width: 50%`, `min-height: 4em`). With an `id`, the size each person gave it is remembered. A family with a `resizable` of its own keeps it (`<ui-segment resizable>` drags its height)."
3015
3415
  }
3016
- ], Fi = /* @__PURE__ */ new Map([[Ni.lang, Ni]]), Ii = [
3416
+ ], aa = /* @__PURE__ */ new Map([[ra.lang, ra]]), oa = [
3017
3417
  {
3018
3418
  name: "disabled",
3019
3419
  description: "`disabled` is set (or, on a form control, a `<fieldset disabled>` around it)."
@@ -3050,8 +3450,8 @@ var M = j, On = 16, kn = {
3050
3450
  name: "ready",
3051
3451
  description: "Ready to go: drawn with its styles (its `ready` promise has resolved)."
3052
3452
  }
3053
- ], Li, Ri = [proto], L;
3054
- Li = [proto];
3453
+ ], sa, ca = [proto], L;
3454
+ sa = [proto];
3055
3455
  var R = class _Vocabulary {
3056
3456
  constructor() {
3057
3457
  __publicField(this, "vocabularies", /* @__PURE__ */ new Map()), __publicField(this, "localized", /* @__PURE__ */ new Map()), __publicField(this, "dictionaries", /* @__PURE__ */ new Map()), __publicField(this, "languages", []), __publicField(this, "components", /* @__PURE__ */ new Map());
@@ -3219,8 +3619,8 @@ var R = class _Vocabulary {
3219
3619
  static resolveValues({ spec: e, tag: t, dictionary: n, isShared: r }) {
3220
3620
  let i = M.setFor(e);
3221
3621
  if (!i) return;
3222
- let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = typeof i == "string" ? n.values?.[i] : r ? I.translatedValues(n.lang, e.name) : void 0, c = n.components?.[t]?.values?.[e.name], l = r ? void 0 : n.words;
3223
- add(M.get(i), s), e.kind === "keyOrValueAndKey" && add(M.get("booleans"), n.values?.booleans);
3622
+ let a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = M.kindSetFor(e), c = typeof i == "string" ? n.values?.[i] : r ? I.translatedValues(n.lang, e.name) : s && n.values?.[s], l = n.components?.[t]?.values?.[e.name], u = r ? void 0 : n.words;
3623
+ add(M.get(i), c), e.kind === "keyOrValueAndKey" && add(M.get("booleans"), n.values?.booleans);
3224
3624
  for (let [e, t] of [...a]) {
3225
3625
  let n = withoutAccents(e);
3226
3626
  a.has(n) || a.set(n, t);
@@ -3232,7 +3632,7 @@ var R = class _Vocabulary {
3232
3632
  function add(n, r) {
3233
3633
  for (let i of n) {
3234
3634
  if (o.has(i)) continue;
3235
- let n = c?.[i] ?? r?.[i] ?? l?.[i] ?? i;
3635
+ let n = l?.[i] ?? r?.[i] ?? u?.[i] ?? i;
3236
3636
  _Vocabulary.claim({
3237
3637
  map: a,
3238
3638
  name: n,
@@ -3253,7 +3653,7 @@ var R = class _Vocabulary {
3253
3653
  if (e.kind !== "multiple") return t.get(r) ?? n;
3254
3654
  let i = r.split(/\s+/), a = [];
3255
3655
  for (let e = 0; e < i.length;) {
3256
- let n = Math.min(Vi, i.length - e);
3656
+ let n = Math.min(da, i.length - e);
3257
3657
  for (; n > 1 && !t.has(i.slice(e, e + n).join(" ")); n--);
3258
3658
  let r = i.slice(e, e + n).join(" ");
3259
3659
  a.push(t.get(r) ?? r), e += n;
@@ -3265,29 +3665,60 @@ var R = class _Vocabulary {
3265
3665
  return t < 0 ? e : e.slice(t + 1);
3266
3666
  }
3267
3667
  static eventName(e, t, n) {
3268
- return n === void 0 ? e.startsWith(Bi) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
3668
+ return n === void 0 ? e.startsWith(ua) ? `${t}-${_Vocabulary.stem(e)}` : e : `${t}-${n}`;
3269
3669
  }
3270
3670
  };
3271
- L = __decoratorStart(null), __decorateElement(L, 13, "prefix", Ri, R), __decorateElement(L, 13, "dictionary", Li, R), __decoratorMetadata(L, R), __name(R, "Vocabulary"), __publicField(R, "prefix", __runInitializers(L, 8, R, "ui")), __runInitializers(L, 11, R), __publicField(R, "dictionary", __runInitializers(L, 12, R, { lang: "en" })), __runInitializers(L, 15, R);
3272
- var zi = R, Bi = "ui-", Vi = 3, Hi = "0.8.6", z = Symbol.for("spell-ui:runtime"), Ui = Hi, Wi = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", Gi = {
3273
- none: "none",
3274
- contents: "contents"
3275
- }, Ki = "page", qi = "ui-scroll-locked", Ji = "ui-app-stylesheet", Yi = "utilities", Xi = /* @__PURE__ */ "fade.fade-up.fade-down.fade-left.fade-right.scale.zoom.drop.browse.browse-right.fly.fly-up.fly-down.fly-left.fly-right.slide-up.slide-down.slide-left.slide-right.swing-up.swing-down.swing-left.swing-right.flip-horizontal.flip-vertical.flash.shake.bounce.tada.pulse.jiggle.glow".split("."), Zi = {
3276
- close: "Close",
3277
- cancel: "Cancel",
3278
- ok: "OK",
3279
- noResults: "No results found.",
3280
- addItem: "Add {value}",
3281
- loading: "Loading…",
3282
- today: "Today",
3283
- clear: "Clear",
3284
- removeValue: "Remove {value}",
3285
- selectAll: "Select all",
3286
- more: "More",
3287
- less: "Less",
3288
- required: "Required",
3289
- invalid: "Invalid value"
3290
- }, Qi = "temporal-polyfill";
3671
+ L = __decoratorStart(null), __decorateElement(L, 13, "prefix", ca, R), __decorateElement(L, 13, "dictionary", sa, R), __decoratorMetadata(L, R), __name(R, "Vocabulary"), __publicField(R, "prefix", __runInitializers(L, 8, R, "ui")), __runInitializers(L, 11, R), __publicField(R, "dictionary", __runInitializers(L, 12, R, { lang: "en" })), __runInitializers(L, 15, R);
3672
+ var la = R, ua = "ui-", da = 3, fa = class DefaultValues {
3673
+ static isContent(e) {
3674
+ return pa.includes(e.name) || e.group !== void 0 && ma.includes(e.group) || e.kind === "json";
3675
+ }
3676
+ static problemWith(e, t) {
3677
+ if (typeof t == "boolean") return DefaultValues.isOnOrOff(e) ? void 0 : { takes: "no-boolean" };
3678
+ if (typeof t == "number") return;
3679
+ if (typeof t != "string") return { takes: "text" };
3680
+ let n = t.trim().toLowerCase().replace(_a, " ");
3681
+ if (DefaultValues.isOnOrOff(e)) return M.has("booleans", n) || n === "" ? void 0 : { takes: "boolean" };
3682
+ if (e.kind === "number") return Number.isNaN(Number(n)) ? { takes: "number" } : void 0;
3683
+ let r = DefaultValues.setOf(e);
3684
+ if (r && n !== "" && !M.has(r, n) && !(e.kind === "keyOrValueAndKey" && M.has("booleans", n)) && !(e.kind === "multiple" && n.split(" ").every((e) => M.has(r, e)))) return {
3685
+ takes: "values",
3686
+ values: M.get(r),
3687
+ guess: M.suggest(r, n)
3688
+ };
3689
+ }
3690
+ static isOnOrOff(e) {
3691
+ return ha.includes(e.kind);
3692
+ }
3693
+ static setOf(e) {
3694
+ return ga.includes(e.kind) ? M.setFor(e) : void 0;
3695
+ }
3696
+ static textOf(e) {
3697
+ switch (e.takes) {
3698
+ case "no-boolean": return "takes no true / false";
3699
+ case "boolean": return "takes true or false";
3700
+ case "number": return "takes a number";
3701
+ case "text": return "isn't text, a number or true / false";
3702
+ case "values": return `isn't one of its values${e.guess ? `; did you mean ${JSON.stringify(e.guess)}?` : ""}`;
3703
+ }
3704
+ }
3705
+ }, pa = [
3706
+ "label",
3707
+ "value",
3708
+ "text"
3709
+ ], ma = ["name", "content"], ha = ["keyOnly", "boolean"], ga = [
3710
+ "size",
3711
+ "color",
3712
+ "valueOnly",
3713
+ "enum",
3714
+ "valueAndKey",
3715
+ "keyOrValueAndKey",
3716
+ "textAlign",
3717
+ "verticalAlign",
3718
+ "multiple"
3719
+ ], _a = /\s+/g, va = "0.8.7";
3720
+ //#endregion
3721
+ //#region ../src/util/fetching.ts
3291
3722
  async function fetchOk(e, t, n) {
3292
3723
  let r;
3293
3724
  try {
@@ -3323,7 +3754,27 @@ var ApiError = class extends Error {
3323
3754
  }
3324
3755
  };
3325
3756
  ApiError.prototype.name = "ApiError";
3326
- var $i = [
3757
+ //#endregion
3758
+ //#region src/runtime/runtime.types.ts
3759
+ var z = Symbol.for("spell-ui:runtime"), ya = va, ba = "@layer ui.reset, ui.tokens, ui.base, ui.components, ui.utilities, ui.theme, ui.app;", xa = {
3760
+ none: "none",
3761
+ contents: "contents"
3762
+ }, Sa = "page", Ca = "ui-scroll-locked", wa = "ui-app-stylesheet", Ta = "utilities", Ea = /* @__PURE__ */ "fade.fade-up.fade-down.fade-left.fade-right.scale.zoom.drop.browse.browse-right.fly.fly-up.fly-down.fly-left.fly-right.slide-up.slide-down.slide-left.slide-right.swing-up.swing-down.swing-left.swing-right.flip-horizontal.flip-vertical.flash.shake.bounce.tada.pulse.jiggle.glow.coin".split("."), Da = {
3763
+ close: "Close",
3764
+ cancel: "Cancel",
3765
+ ok: "OK",
3766
+ noResults: "No results found.",
3767
+ addItem: "Add {value}",
3768
+ loading: "Loading…",
3769
+ today: "Today",
3770
+ clear: "Clear",
3771
+ removeValue: "Remove {value}",
3772
+ selectAll: "Select all",
3773
+ more: "More",
3774
+ less: "Less",
3775
+ required: "Required",
3776
+ invalid: "Invalid value"
3777
+ }, Oa = "temporal-polyfill", ka = [
3327
3778
  "load",
3328
3779
  "cross-origin",
3329
3780
  "file-protocol",
@@ -3342,20 +3793,20 @@ var $i = [
3342
3793
  return e instanceof SourceError && e.kind || t;
3343
3794
  }
3344
3795
  static isKind(e) {
3345
- return $i.includes(e);
3796
+ return ka.includes(e);
3346
3797
  }
3347
3798
  };
3348
3799
  B.prototype.name = "SourceError";
3349
- var ea = "ui-languages-changed", ta = {
3800
+ var Aa = "ui-languages-changed", ja = {
3350
3801
  up: "up",
3351
3802
  down: "down",
3352
3803
  static: "static"
3353
- }, na;
3804
+ }, Ma;
3354
3805
  function load() {
3355
3806
  let e = pageRuntime();
3356
- return e ? e.load() : (na ??= import("./UIRuntime-BBuehGly.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
3357
- throw na = void 0, e;
3358
- }), na);
3807
+ return e ? e.load() : (Ma ??= import("./UIRuntime-KH309p5B.js").then(({ UIRuntime: e }) => e.instance.load(), (e) => {
3808
+ throw Ma = void 0, e;
3809
+ }), Ma);
3359
3810
  }
3360
3811
  var V = new Proxy({}, {
3361
3812
  get(e, t) {
@@ -3382,7 +3833,7 @@ function notLoaded(e) {
3382
3833
  }
3383
3834
  //#endregion
3384
3835
  //#region src/elements/ClassBuilder.ts
3385
- var ra = [proto], ia, H = class _ClassBuilder {
3836
+ var Na = [proto], Pa, H = class _ClassBuilder {
3386
3837
  constructor(e) {
3387
3838
  __publicField(this, "vocabulary"), __publicField(this, "specs"), __publicField(this, "keys"), this.vocabulary = e, this.specs = [
3388
3839
  ...byKind("size"),
@@ -3443,14 +3894,14 @@ var ra = [proto], ia, H = class _ClassBuilder {
3443
3894
  return t.extra && a.push(t.extra), a.push(t.noun ?? this.vocabulary.noun), a.join(" ");
3444
3895
  }
3445
3896
  pushClasses(e, t, n) {
3446
- let r = n.kind === "multiple" ? t.trim().split(oa) : [t];
3897
+ let r = n.kind === "multiple" ? t.trim().split(Va) : [t];
3447
3898
  for (let t of r) {
3448
3899
  let r = n.classes[t] ?? t;
3449
3900
  r && e.push(r);
3450
3901
  }
3451
3902
  }
3452
3903
  pushMultiple(e, t, n) {
3453
- let r = t.trim().split(oa);
3904
+ let r = t.trim().split(Va);
3454
3905
  for (let t = 0; t < r.length; t++) {
3455
3906
  let i = r[t];
3456
3907
  i = i === "large" && r[t + 1] === "screen" ? `${i} ${r[++t]}` : i.replace("-", " "), r[t + 1] === "vertically" && (i = `${i} ${r[++t]}`), e.push(`${i} ${n}`);
@@ -3477,7 +3928,7 @@ var ra = [proto], ia, H = class _ClassBuilder {
3477
3928
  if (Array.isArray(e)) return e.map((e) => _ClassBuilder.text(e) ?? "").join(" ");
3478
3929
  }
3479
3930
  };
3480
- ia = __decoratorStart(null), __decorateElement(ia, 13, "grammar", ra, H), __decoratorMetadata(ia, H), __name(H, "ClassBuilder"), __publicField(H, "grammar", __runInitializers(ia, 8, H, {
3931
+ Pa = __decoratorStart(null), __decorateElement(Pa, 13, "grammar", Na, H), __decoratorMetadata(Pa, H), __name(H, "ClassBuilder"), __publicField(H, "grammar", __runInitializers(Pa, 8, H, {
3481
3932
  ui: "ui",
3482
3933
  medium: "medium",
3483
3934
  aligned: "aligned",
@@ -3485,8 +3936,54 @@ ia = __decoratorStart(null), __decorateElement(ia, 13, "grammar", ra, H), __deco
3485
3936
  wide: "wide",
3486
3937
  equal: "equal",
3487
3938
  equalWidth: "equal width"
3488
- })), __runInitializers(ia, 11, H);
3489
- var aa = H, SpellUISettings = class {
3939
+ })), __runInitializers(Pa, 11, H);
3940
+ var Fa = H, Ia = [state], La, Ra, U = class _RootSettings {
3941
+ static set(e, t) {
3942
+ _RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
3943
+ }
3944
+ static delete(e) {
3945
+ _RootSettings.byRoot.delete(e) && (_RootSettings.generation += 1);
3946
+ }
3947
+ static nearest(e, t) {
3948
+ for (let n = e; n; n = flatParentFor(n)) {
3949
+ let e = _RootSettings.byRoot.get(n)?.[t];
3950
+ if (e !== void 0) return e;
3951
+ }
3952
+ }
3953
+ static reset() {
3954
+ _RootSettings.byRoot = /* @__PURE__ */ new WeakMap(), _RootSettings.warned = /* @__PURE__ */ new WeakMap(), _RootSettings.generation += 1;
3955
+ }
3956
+ static defaultsFor(e, t) {
3957
+ _RootSettings.generation;
3958
+ let n = /* @__PURE__ */ new Set([t.vocabulary.tag, t.tag]), r = /* @__PURE__ */ new Map();
3959
+ for (let i = e; i; i = flatParentFor(i)) {
3960
+ let e = _RootSettings.byRoot.get(i)?.defaults;
3961
+ if (e) for (let a of n) for (let [n, o] of Object.entries(e[a] ?? {})) {
3962
+ let e = _RootSettings.checkedDefault(i, t, a, n, o);
3963
+ e && !r.has(e.key) && r.set(e.key, {
3964
+ attribute: e,
3965
+ value: o
3966
+ });
3967
+ }
3968
+ }
3969
+ return r.size ? [...r.values()] : Ba;
3970
+ }
3971
+ static checkedDefault(e, t, n, r, i) {
3972
+ let a = t.takesAttribute(r) ? t.attribute(r) : t.attributeNamed(r), o = a ? fa.isContent(a.spec) ? `${r} is what each <${n}> shows, not how it looks: it takes no default` : _RootSettings.problemWithValue(a.spec, i) : `<${n}> has no attribute ${JSON.stringify(r)}`;
3973
+ if (!o) return a;
3974
+ _RootSettings.warnOnce(e, `defaults: <${n} ${r}=${JSON.stringify(i)}>: ${o}; left out`);
3975
+ }
3976
+ static problemWithValue(e, t) {
3977
+ let n = fa.problemWith(e, t);
3978
+ return n && fa.textOf(n);
3979
+ }
3980
+ static warnOnce(e, t) {
3981
+ let n = _RootSettings.warned.get(e);
3982
+ n || _RootSettings.warned.set(e, n = /* @__PURE__ */ new Set()), !n.has(t) && (n.add(t), Warnings.warn("<ui-root>", t, e));
3983
+ }
3984
+ };
3985
+ La = __decoratorStart(null), Ra = /* @__PURE__ */ new WeakMap(), __decorateElement(La, 12, "generation", Ia, U, Ra), __decoratorMetadata(La, U), __name(U, "RootSettings"), __privateAdd(U, Ra, __runInitializers(La, 8, U, 0)), __runInitializers(La, 11, U), __publicField(U, "byRoot", /* @__PURE__ */ new WeakMap()), __publicField(U, "warned", /* @__PURE__ */ new WeakMap());
3986
+ var za = U, Ba = Object.freeze([]), SpellUISettings = class {
3490
3987
  static settings = {
3491
3988
  runtime: {
3492
3989
  get isLoaded() {
@@ -3495,8 +3992,8 @@ var aa = H, SpellUISettings = class {
3495
3992
  load: () => V.load()
3496
3993
  },
3497
3994
  words: {
3498
- names: () => new zi(),
3499
- classes: (e) => new aa(e),
3995
+ names: () => new la(),
3996
+ classes: (e) => new Fa(e),
3500
3997
  attributesFor: (e) => I.attributesFor(e),
3501
3998
  takesShared: (e, t) => I.takesShared(e, t),
3502
3999
  converters: N,
@@ -3514,26 +4011,27 @@ var aa = H, SpellUISettings = class {
3514
4011
  },
3515
4012
  focus: { moveOutOf: (e) => V.focus.moveOutOf(e) },
3516
4013
  motion: {
3517
- defaultAnimation: _r,
3518
- property: vr,
4014
+ defaultAnimation: Br,
4015
+ property: Vr,
3519
4016
  get isReduced() {
3520
4017
  return V.browser.isReducedMotion;
3521
4018
  },
3522
- isAttention: (e) => yr.isAttention(e),
4019
+ isAttention: (e) => Hr.isAttention(e),
3523
4020
  reveal: (e) => V.transitions.reveal(e),
3524
4021
  animate: (e, t, n) => V.transitions.animate({
3525
4022
  element: e,
3526
- name: yr.runtimeNameFor(t),
4023
+ name: Hr.runtimeNameFor(t),
3527
4024
  direction: n ? "in" : "out"
3528
4025
  })
3529
4026
  },
3530
- warn: (e, t, ...n) => Warnings.warn(e, t, ...n)
4027
+ warn: (e, t, ...n) => Warnings.warn(e, t, ...n),
4028
+ defaults: { for: (e, t) => za.defaultsFor(e, t) }
3531
4029
  };
3532
4030
  };
3533
4031
  y.install(SpellUISettings.settings);
3534
4032
  //#endregion
3535
4033
  //#region src/elements/elements.types.ts
3536
- var oa = /\s+/, sa = ["value", "length"];
4034
+ var Va = /\s+/, Ha = ["value", "length"];
3537
4035
  function markedPieces(e, t) {
3538
4036
  let n = [], r = 0;
3539
4037
  for (let [i, a] of t) i > r && n.push({
@@ -3548,23 +4046,23 @@ function markedPieces(e, t) {
3548
4046
  isMarked: !1
3549
4047
  }), n;
3550
4048
  }
3551
- var ca = ["text", "value"], U = {
4049
+ var Ua = ["text", "value"], W = {
3552
4050
  idle: "idle",
3553
4051
  loading: "loading",
3554
4052
  loaded: "loaded",
3555
4053
  error: "error"
3556
- }, la = "ui-loader", ua = "ui-message", da = [
4054
+ }, Wa = "ui-loader", Ga = "ui-message", Ka = [
3557
4055
  "href",
3558
4056
  "src",
3559
4057
  "action",
3560
4058
  "poster",
3561
4059
  "source"
3562
- ], fa = da.map((e) => `[${e}]`).join(","), pa = "data-ui-include-", ma = 8, ha = {
4060
+ ], qa = Ka.map((e) => `[${e}]`).join(","), Ja = "data-ui-include-", Ya = 8, Xa = {
3563
4061
  load: "sourceLoadError",
3564
4062
  "cross-origin": "sourceCrossOrigin",
3565
4063
  "file-protocol": "sourceFileProtocol",
3566
4064
  render: "sourceRenderError"
3567
- }, ga = 300, _a = "source", W = {
4065
+ }, Za = 300, Qa = "source", G = {
3568
4066
  load: "ui-loaded",
3569
4067
  loading: "ui-loading",
3570
4068
  loaded: "ui-loaded",
@@ -3572,12 +4070,12 @@ var ca = ["text", "value"], U = {
3572
4070
  save: "ui-saving",
3573
4071
  saved: "ui-saved",
3574
4072
  error: Te
3575
- }, va = ["top", "bottom"], ya = /* @__PURE__ */ new Set([
4073
+ }, $a = ["top", "bottom"], eo = /* @__PURE__ */ new Set([
3576
4074
  "auto",
3577
4075
  "scroll",
3578
4076
  "overlay",
3579
4077
  "hidden"
3580
- ]), ba = .5, xa = .5, Sa = class Shorthand {
4078
+ ]), to = .5, no = .5, ro = class Shorthand {
3581
4079
  static resolve(e, t, n = {}) {
3582
4080
  if (e == null || typeof e == "boolean") return;
3583
4081
  let r;
@@ -3601,7 +4099,7 @@ var ca = ["text", "value"], U = {
3601
4099
  }
3602
4100
  static mergeClasses(...e) {
3603
4101
  let t = /* @__PURE__ */ new Set();
3604
- for (let n of e) if (n) for (let e of n.split(oa)) e && t.add(e);
4102
+ for (let n of e) if (n) for (let e of n.split(Va)) e && t.add(e);
3605
4103
  return t.size ? [...t].join(" ") : void 0;
3606
4104
  }
3607
4105
  static mergeStyles(...e) {
@@ -3619,11 +4117,11 @@ var ca = ["text", "value"], U = {
3619
4117
  src: (e) => ({ src: e }),
3620
4118
  type: (e) => ({ type: e })
3621
4119
  };
3622
- }, Ca, wa, Ta, Ea = [proto], G;
3623
- Ta = [proto], wa = [proto], Ca = [lazy];
3624
- var K = class _NativeFallback {
4120
+ }, io, ao, oo, so = [proto], K;
4121
+ oo = [proto], ao = [proto], io = [lazy];
4122
+ var q = class _NativeFallback {
3625
4123
  constructor({ domElement: e, root: t, error: n, internals: r }) {
3626
- __runInitializers(G, 5, this), __publicField(this, "domElement"), __publicField(this, "root"), __publicField(this, "error"), __publicField(this, "internals"), __publicField(this, "formInternals"), __publicField(this, "disposers", []), this.domElement = e, this.root = t, this.error = n, this.internals = r, this.formInternals = e.constructor.formAssociated ? r : void 0;
4124
+ __runInitializers(K, 5, this), __publicField(this, "domElement"), __publicField(this, "root"), __publicField(this, "error"), __publicField(this, "internals"), __publicField(this, "formInternals"), __publicField(this, "disposers", []), this.domElement = e, this.root = t, this.error = n, this.internals = r, this.formInternals = e.constructor.formAssociated ? r : void 0;
3627
4125
  let { vocabularies: i } = this;
3628
4126
  i.length && (this.vocabulary = i.find(({ tag: t }) => t === e.localName) ?? i[0]);
3629
4127
  }
@@ -3656,7 +4154,7 @@ var K = class _NativeFallback {
3656
4154
  return this.builder.build(t, { extra: e });
3657
4155
  }
3658
4156
  get builder() {
3659
- return new aa(this.vocabulary);
4157
+ return new Fa(this.vocabulary);
3660
4158
  }
3661
4159
  form() {
3662
4160
  return this.formInternals?.form ?? this.domElement.closest("form") ?? void 0;
@@ -3686,10 +4184,10 @@ var K = class _NativeFallback {
3686
4184
  decorate(e, t, ...n) {
3687
4185
  this.vocabulary.parts.some((e) => e.name === t) || Warnings.devWarn(`<${this.vocabulary.tag}> fallback`, `"${t}" is not a part in its vocabulary`), e.setAttribute("part", [t, ...n].join(" "));
3688
4186
  for (let { name: t, value: n } of this.domElement.attributes) t.startsWith("aria-") && e.setAttribute(t, n);
3689
- return this.vocabulary.attributes.find((e) => e.name === Oa)?.kind === "keyOnly" && N.boolean(this.domElement.getAttribute(Oa), Oa) && e.setAttribute("aria-busy", "true"), e;
4187
+ return this.vocabulary.attributes.find((e) => e.name === lo)?.kind === "keyOnly" && N.boolean(this.domElement.getAttribute(lo), lo) && e.setAttribute("aria-busy", "true"), e;
3690
4188
  }
3691
4189
  nameFromPlaceholder(e) {
3692
- let t = this.domElement.getAttribute(ka);
4190
+ let t = this.domElement.getAttribute(uo);
3693
4191
  !e.hasAttribute("aria-label") && t && e.setAttribute("aria-label", t);
3694
4192
  }
3695
4193
  send(e, t) {
@@ -3708,7 +4206,7 @@ var K = class _NativeFallback {
3708
4206
  if (e != null && e !== !1) return e === !0 ? "" : String(e);
3709
4207
  }
3710
4208
  };
3711
- G = __decoratorStart(null), __decorateElement(G, 2, "builder", Ca, K), __decorateElement(G, 13, "vocabulary", Ea, K), __decorateElement(G, 13, "vocabularies", Ta, K), __decorateElement(G, 13, "degraded", wa, K), __decoratorMetadata(G, K), __name(K, "NativeFallback"), __publicField(K, "vocabulary", __runInitializers(G, 8, K, {
4209
+ K = __decoratorStart(null), __decorateElement(K, 2, "builder", io, q), __decorateElement(K, 13, "vocabulary", so, q), __decorateElement(K, 13, "vocabularies", oo, q), __decorateElement(K, 13, "degraded", ao, q), __decoratorMetadata(K, q), __name(q, "NativeFallback"), __publicField(q, "vocabulary", __runInitializers(K, 8, q, {
3712
4210
  tag: "",
3713
4211
  noun: "",
3714
4212
  attributes: [],
@@ -3717,8 +4215,8 @@ G = __decoratorStart(null), __decorateElement(G, 2, "builder", Ca, K), __decorat
3717
4215
  parts: [],
3718
4216
  states: [],
3719
4217
  texts: []
3720
- })), __runInitializers(G, 11, K), __publicField(K, "vocabularies", __runInitializers(G, 12, K, [])), __runInitializers(G, 15, K), __publicField(K, "degraded", __runInitializers(G, 16, K, [])), __runInitializers(G, 19, K);
3721
- var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
4218
+ })), __runInitializers(K, 11, q), __publicField(q, "vocabularies", __runInitializers(K, 12, q, [])), __runInitializers(K, 15, q), __publicField(q, "degraded", __runInitializers(K, 16, q, [])), __runInitializers(K, 19, q);
4219
+ var co = q, lo = "loading", uo = "placeholder", fo = class StickyWatch {
3722
4220
  stuckTo;
3723
4221
  onReport;
3724
4222
  box;
@@ -3744,12 +4242,17 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3744
4242
  let c = new ResizeObserver(() => {
3745
4243
  this.stuckTo && this.scrollRoot && StickyWatch.reserve(this.scrollRoot);
3746
4244
  });
3747
- return c.observe(a), () => {
3748
- s.disconnect(), c.disconnect();
4245
+ return c.observe(a), a.addEventListener("mousedown", this.onPress, { capture: !0 }), () => {
4246
+ s.disconnect(), c.disconnect(), a.removeEventListener("mousedown", this.onPress, { capture: !0 });
3749
4247
  };
3750
4248
  }
4249
+ onPress = (e) => {
4250
+ if (!this.stuckTo || e.button !== 0 || e.defaultPrevented) return;
4251
+ let t = StickyWatch.pressedControl(e);
4252
+ t && (e.preventDefault(), t.focus({ preventScroll: !0 }));
4253
+ };
3751
4254
  reset() {
3752
- this.report(ja);
4255
+ this.report(ho);
3753
4256
  }
3754
4257
  measure(e, t, n) {
3755
4258
  let { domElement: r, top: i, bottom: a, box: o } = e, s = StickyWatch.area(t, r.ownerDocument), c = s.top + n.offset, l = s.bottom - (n.bottomOffset ?? 0), u = o.getBoundingClientRect(), d, f = !1;
@@ -3773,7 +4276,7 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3773
4276
  this.stuckTo ? (t || StickyWatch.stuckIn.set(e, t = /* @__PURE__ */ new Set()), t.add(this)) : t && (t.delete(this), t.size || StickyWatch.stuckIn.delete(e)), StickyWatch.reserve(e);
3774
4277
  }
3775
4278
  static reserve(e) {
3776
- let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * ba, i = e.clientWidth * ba, a = 0, o = 0;
4279
+ let t = e.ownerDocument, n = StickyWatch.area(e === t.documentElement ? void 0 : e, t), r = (n.bottom - n.top) * to, i = e.clientWidth * to, a = 0, o = 0;
3777
4280
  for (let t of StickyWatch.stuckIn.get(e) ?? []) {
3778
4281
  let e = t.box?.getBoundingClientRect();
3779
4282
  !e || e.height > r || e.width < i || (t.stuckTo === "top" ? a = Math.max(a, e.bottom - n.top) : t.stuckTo === "bottom" && (o = Math.max(o, n.bottom - e.top)));
@@ -3784,6 +4287,15 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3784
4287
  let r = n > 0 ? `${Math.ceil(n)}px` : "";
3785
4288
  e.style.getPropertyValue(t) !== r && (r ? e.style.setProperty(t, r) : e.style.removeProperty(t));
3786
4289
  }
4290
+ static pressedControl(e) {
4291
+ for (let t of e.composedPath()) {
4292
+ if (t === e.currentTarget) return;
4293
+ if (t instanceof HTMLElement) {
4294
+ if (t.shadowRoot?.delegatesFocus) return t.shadowRoot.querySelector(mo) || t.matches(":disabled") ? void 0 : t;
4295
+ if (t.matches(po)) return t.matches(mo) || t.matches(":disabled") ? void 0 : t;
4296
+ }
4297
+ }
4298
+ }
3787
4299
  static area(e, t) {
3788
4300
  if (!e) return {
3789
4301
  top: 0,
@@ -3800,21 +4312,21 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3800
4312
  for (; n;) {
3801
4313
  let e = flatParentFor(n);
3802
4314
  if (!e || e === t.body || e === t.documentElement) return;
3803
- if (ya.has(getComputedStyle(e).overflowY)) return e;
4315
+ if (eo.has(getComputedStyle(e).overflowY)) return e;
3804
4316
  n = e;
3805
4317
  }
3806
4318
  }
3807
4319
  static stuckIn = /* @__PURE__ */ new Map();
3808
- }, ja = {
4320
+ }, po = "button, input, select, textarea, a[href], summary, [tabindex], [contenteditable]", mo = "input:not([type='button'], [type='submit'], [type='reset'], [type='checkbox'], [type='radio']), select, textarea, [contenteditable]:not([contenteditable='false'])", ho = {
3809
4321
  edge: void 0,
3810
4322
  isBound: !1
3811
- }, Ma = [
4323
+ }, go = [
3812
4324
  "fa7-free",
3813
4325
  "fa7-brands",
3814
4326
  "fomantic"
3815
- ], Na = "fa7-free", Pa = "pack.js", Fa = ":", Ia = class IconName {
4327
+ ], _o = "fa7-free", vo = "pack.js", yo = ":", bo = class IconName {
3816
4328
  static normalize(e) {
3817
- return e.toLowerCase().replace(Ra, " ").trim();
4329
+ return e.toLowerCase().replace(So, " ").trim();
3818
4330
  }
3819
4331
  static fromKey(e) {
3820
4332
  return IconName.normalize(IconName.fileOf(e));
@@ -3852,7 +4364,7 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3852
4364
  let a = [];
3853
4365
  for (let t of e) {
3854
4366
  let e = IconName.rankOf(n(t), r(t), i);
3855
- e < La && a.push({
4367
+ e < xo && a.push({
3856
4368
  item: t,
3857
4369
  rank: e
3858
4370
  });
@@ -3860,22 +4372,22 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3860
4372
  return a.sort((e, t) => e.rank - t.rank).map((e) => e.item);
3861
4373
  }
3862
4374
  static rankOf(e, t, n) {
3863
- let r = La;
4375
+ let r = xo;
3864
4376
  for (let t of e) {
3865
4377
  if (t === n) return 0;
3866
4378
  t.startsWith(n) ? r = Math.min(r, 1) : t.includes(n) && (r = Math.min(r, 2));
3867
4379
  }
3868
- return r < La ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : La;
4380
+ return r < xo ? r : t.some((e) => IconName.normalize(e).includes(n)) ? 3 : xo;
3869
4381
  }
3870
- }, La = 4, Ra = /[\s_-]+/g, za = class BuiltInPacks {
4382
+ }, xo = 4, So = /[\s_-]+/g, Co = class BuiltInPacks {
3871
4383
  static base = import.meta.url;
3872
4384
  static has(e) {
3873
- return Ma.includes(e);
4385
+ return go.includes(e);
3874
4386
  }
3875
4387
  static url(e, t = BuiltInPacks.base) {
3876
- return new URL(`icon-packs/${e}/${Pa}`, t).href;
4388
+ return new URL(`icon-packs/${e}/${vo}`, t).href;
3877
4389
  }
3878
- }, Ba = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-header-font-weight);line-height:var(--_ui-header-line-height);text-transform:none;border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:pointer;transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:pointer;background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:pointer}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:pointer;font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", Va = /* @__PURE__ */ pe("<slot>"), Ha, Ua, Wa, q = class _PartComponent extends (Ua = Rt, Ha = [protoMerged], Ua) {
4390
+ }, wo = "@layer ui.components.parts.types{:host{display:contents}.content{--_ui-part:content}.header{--_ui-part:header;--_link-icon-gap:.35em}.description{--_ui-part:description}.meta{--_ui-part:meta}.extra{--_ui-part:extra}.actions{--_ui-part:actions}.title{--_ui-part:title}.summary{--_ui-part:summary}.date{--_ui-part:date}.author{--_ui-part:author}.avatar{--_ui-part:avatar}.detail{--_ui-part:detail}.value{--_ui-part:value}.avatar:not(.images) img,.avatar:not(.images) ::slotted(img){object-fit:cover;width:100%;height:100%;display:block}.ui.header{--_ui-header-color:var(--ui-header-color,var(--ui-text-dark));--_ui-header-font-weight:var(--ui-header-font-weight,var(--ui-font-weight-bold));--_ui-header-line-height:var(--ui-header-line-height,var(--ui-line-height-heading));--_ui-header-offset:var(--ui-header-offset,calc((var(--ui-line-height-heading) - 1) * .5em));--_ui-header-margin-top:var(--ui-header-margin-top,calc(var(--ui-font-size) * 2));--_ui-header-margin-bottom:var(--ui-header-margin-bottom,var(--ui-font-size));--_ui-header-icon-size:var(--ui-header-icon-size,1.5em);--_ui-header-icon-margin:var(--ui-header-icon-margin,calc(var(--ui-font-size) * .75));--_ui-header-image-width:var(--ui-header-image-width,2.5em);--_ui-header-sub-color:var(--ui-header-sub-color,var(--ui-text-muted));--_ui-header-sub-font-size:var(--ui-header-sub-font-size,clamp(calc(var(--ui-font-size) * .92857), .78em, calc(var(--ui-font-size) * 1.42857)));--_ui-header-sub-margin:var(--ui-header-sub-margin,0);--_ui-header-sub-heading-ratio:var(--ui-header-sub-heading-ratio,.85714);--_ui-header-sub-heading-color:var(--ui-header-sub-heading-color,inherit);--_ui-header-icon-header-size:var(--ui-header-icon-header-size,3em);--_ui-header-icon-header-margin:var(--ui-header-icon-header-margin,calc(var(--ui-font-size) * .5));--_ui-header-dividing-padding:var(--ui-header-dividing-padding,.21428em);--_ui-header-dividing-border:var(--ui-header-dividing-border,var(--ui-border-width) solid var(--ui-border-color));--_ui-header-colored-border-width:var(--ui-header-colored-border-width,2px);--_ui-header-block-background:var(--ui-header-block-background,var(--ui-surface-strong));--_ui-header-block-border:var(--ui-header-block-border,var(--ui-border-width) solid var(--ui-border-color-strong));--_ui-header-block-padding:var(--ui-header-block-padding,.78571em 1em);--_ui-header-attached-background:var(--ui-header-attached-background,var(--ui-surface));--_ui-header-floated-margin:var(--ui-header-floated-margin,.5em);--_ui-header-disabled-opacity:var(--ui-header-disabled-opacity,var(--ui-disabled-opacity));--_ui-header-size-mini:var(--ui-header-size-mini,.85714);--_ui-header-size-tiny:var(--ui-header-size-tiny,1);--_ui-header-size-small:var(--ui-header-size-small,1.07142);--_ui-header-size-medium:var(--ui-header-size-medium,1.28571);--_ui-header-size-large:var(--ui-header-size-large,1.71428);--_ui-header-size-big:var(--ui-header-size-big,1.85714);--_ui-header-size-huge:var(--ui-header-size-huge,2);--_ui-header-size-massive:var(--ui-header-size-massive,2.28571);--_ui-header-poster-min:var(--ui-header-poster-min,2.4em);--_ui-header-poster-grow:var(--ui-header-poster-grow,7vw);--_ui-header-poster-max:var(--ui-header-poster-max,4em);--_ui-header-h1:var(--ui-header-h1,2);--_ui-header-h2:var(--ui-header-h2,1.71428);--_ui-header-h3:var(--ui-header-h3,1.28571);--_ui-header-h4:var(--ui-header-h4,1.07142);--_ui-header-h5:var(--ui-header-h5,1);--_ui-header-h6:var(--ui-header-h6,.85714);--ui-size-mini:calc(var(--_ui-header-size-mini) / var(--_ui-header-size-medium));--ui-size-tiny:calc(var(--_ui-header-size-tiny) / var(--_ui-header-size-medium));--ui-size-small:calc(var(--_ui-header-size-small) / var(--_ui-header-size-medium));--ui-size-large:calc(var(--_ui-header-size-large) / var(--_ui-header-size-medium));--ui-size-big:calc(var(--_ui-header-size-big) / var(--_ui-header-size-medium));--ui-size-huge:calc(var(--_ui-header-size-huge) / var(--_ui-header-size-medium));--ui-size-massive:calc(var(--_ui-header-size-massive) / var(--_ui-header-size-medium));--_ui-header-layout:text;--_ui-icon-owner-size:var(--_ui-header-icon-size);--_ui-icon-owner-margin:0 var(--_ui-header-icon-margin) 0 0;--_ui-icon-owner-align:middle;--_ui-icon-owner-display:inline-flex;box-sizing:border-box;margin:var(--_header-margin-top,calc(var(--_ui-header-margin-top) - var(--_ui-header-offset))) 0 var(--_header-margin-bottom,var(--_ui-header-margin-bottom));color:var(--ui-color-header,var(--_ui-header-color));font-family:var(--ui-font-family-heading);font-size:calc(var(--_header-base,1em * var(--_ui-header-size-medium)) * var(--ui-scale,1));font-weight:var(--_ui-font-weight,var(--_ui-header-font-weight));line-height:var(--_ui-header-line-height);text-transform:var(--_ui-font-case,none);border:none;padding:0;display:block}.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster){--ui-scale:1}.ui.header>slot{--ui-scale:initial}.ui.poster.header{font-size:clamp(var(--_ui-header-poster-min), var(--_ui-header-poster-grow), var(--_ui-header-poster-max));line-height:1}.ui.header:first-child{--_header-margin-top:calc(var(--_ui-header-offset) * -1)}.ui.header:last-child{--_header-margin-bottom:0}:host(:not(:first-child))>.ui.header{--_header-margin-top:initial}:host(:not(:last-child))>.ui.header{--_header-margin-bottom:initial}a.ui.header:hover{color:var(--ui-color-hover,var(--ui-link-hover))}h1.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h1))}h2.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h2))}h3.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h3))}h4.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h4))}h5.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h5))}h6.ui.header:not(.mini,.tiny,.small,.medium,.large,.big,.huge,.massive,.poster,.sub){--_header-base:calc(var(--ui-font-size) * var(--_ui-header-h6))}.ui.header>img,.ui.header ::slotted(img){width:var(--_ui-header-image-width);height:auto;margin-top:calc(var(--_ui-header-offset) * -1);vertical-align:middle;margin-inline-end:var(--_ui-header-icon-margin);display:inline-block}.ui.sub.header{--_header-base:calc(1em * var(--_ui-header-sub-heading-ratio));--_header-margin-bottom:.14285em;color:var(--ui-color-header,var(--_ui-header-sub-heading-color));text-transform:uppercase;padding:0}.ui.icon.header{--_ui-header-layout:icon;--_ui-icon-owner-size:var(--_ui-header-icon-header-size);--_ui-icon-owner-display:flex;--_ui-icon-owner-margin:0 auto var(--_ui-header-icon-header-margin);--_ui-icon-owner-align:baseline;margin-top:var(--_ui-header-margin-top);text-align:center;display:inline-block}.ui.icon.header>img,.ui.icon.header ::slotted(img){margin:0 auto var(--_ui-header-icon-header-margin);display:block}.ui.icon.header:first-child{margin-top:0}:host(:not(:first-child))>.ui.icon.header{margin-top:var(--_ui-header-margin-top)}.ui.icon.header:after{content:\"\";clear:both;visibility:hidden;height:0;display:block}}@layer ui.components.parts.content{:host(:state(in-header))>.content,.in-header.content{vertical-align:top;display:inline-block}:host(:state(in-header):not(:first-child))>.content,.in-header.content:not(:first-child){vertical-align:middle}:host(:state(in-header))>.header,.in-header.header{margin:var(--_ui-header-sub-margin,var(--ui-header-sub-margin,0));color:var(--_ui-header-sub-color,var(--ui-header-sub-color,var(--ui-text-muted)));font-size:var(--_ui-header-sub-font-size,var(--ui-header-sub-font-size,1em));font-weight:var(--ui-font-weight-normal);padding:0;line-height:1.2em;display:block}:host(:state(in-card))>.content,.in-card.content{padding:var(--ui-card-content-padding,1em);border:none;border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal));box-shadow:none;background:0 0;border-radius:0;flex-grow:1;margin:0;font-size:1em}:host(:state(in-card):first-child)>.content,.in-card.content:first-child{border-top:none}@container style(--_ui-card-leading:1){:host(:state(in-card):first-child)>.content{border-top:var(--ui-border-width) solid var(--ui-card-divider-color,var(--ui-border-color-internal))}}:host(:state(in-card))>.content:after,.in-card.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-card))>.header,.in-card.header{margin-top:calc((1 - var(--ui-line-height)) * .5em);color:var(--ui-card-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-card-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);display:block}:host(:state(in-card))>a.header,a.in-card.header{text-decoration:none}:host(:state(in-card))>a.header:hover,a.in-card.header:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.meta,.in-card.meta{color:var(--ui-card-meta-color,var(--ui-text-light));font-size:1em}:host(:state(in-card))>.meta>::slotted(*),.in-card.meta>*{margin-inline-end:var(--ui-card-meta-spacing,.3em)}:host(:state(in-card))>.meta>::slotted(:last-child),.in-card.meta>:last-child{margin-inline-end:0}:host(:state(in-card))>.meta>::slotted(a),.in-card.meta>a{color:var(--ui-text-light);text-decoration:none}:host(:state(in-card))>.meta>::slotted(a:hover),.in-card.meta>a:hover{color:var(--ui-text-color)}:host(:state(in-card))>.description,.in-card.description{clear:both;color:var(--ui-card-description-color,oklch(from var(--ui-ink) l c h / .68))}:host(:state(in-card):not(:first-child))>.description,.in-card.description:not(:first-child){margin-top:var(--ui-card-description-distance,.5em)}:host(:state(in-card))>.extra,.in-card.extra{width:auto;max-width:100%;min-height:0;padding:var(--ui-card-extra-padding,.75em 1em);border-top:var(--ui-border-width) solid var(--ui-card-extra-divider,oklch(from var(--ui-ink) l c h / .05));box-shadow:none;color:var(--ui-card-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;flex-grow:0;margin:0;position:static}:host(:state(in-card))>.extra>::slotted(a),.in-card.extra>a{color:var(--ui-text-unselected);text-decoration:none}:host(:state(in-card))>.extra>::slotted(a:hover),.in-card.extra>a:hover{color:var(--ui-link-hover)}:host(:state(in-card))>.avatar,.in-card.avatar{width:var(--ui-card-avatar-size,2em);height:var(--ui-card-avatar-size,2em);border-radius:var(--ui-radius-circle);vertical-align:middle;display:inline-block;overflow:hidden}:host(:state(in-item))>.content,.in-item.content{box-shadow:none;color:var(--ui-item-content-color,var(--ui-text-color));background:0 0;border:none;border-radius:0;flex:auto;margin:0;padding:0;font-size:1em;display:block}:host(:state(in-item))>.content:after,.in-item.content:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}:host(:state(in-item))>.header,.in-item.header{margin:calc((1 - var(--ui-line-height)) * .5em) 0 0;color:var(--ui-item-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-item-header-font-size,1.28571em);font-weight:var(--ui-font-weight-bold);display:inline-block}:host(:state(in-item))>a.header:hover,a.in-item.header:hover{color:var(--ui-link-hover)}:host(:state(in-item))>.description,.in-item.description{max-width:none;margin-top:var(--ui-item-description-distance,.6em);color:var(--ui-item-description-color,var(--ui-text-color));font-size:1em;line-height:var(--ui-line-height)}:host(:state(in-item))>.meta,.in-item.meta{color:var(--ui-item-meta-color,var(--ui-text-muted));margin:.5em 0;font-size:1em;line-height:1em}:host(:state(in-item))>.meta>::slotted(*),.in-item.meta>*{margin-inline-end:var(--ui-item-meta-spacing,.3em)}:host(:state(in-item))>.meta>::slotted(:last-child),.in-item.meta>:last-child{margin-inline-end:0}:host(:state(in-item))>.extra,.in-item.extra{width:100%;box-shadow:none;color:var(--ui-item-extra-color,var(--ui-text-light));transition:color var(--ui-duration-fast) var(--ui-ease);background:0 0;border-top:none;margin:.5em 0 0;padding:0;display:block;position:relative}:host(:state(in-item))>.extra>::slotted(*),.in-item.extra>*{margin:.25em .5em .25em 0}:host(:state(in-item))>.extra:after,.in-item.extra:after{content:\" \";clear:both;visibility:hidden;height:0;display:block;overflow:hidden}:host(:state(in-item))>.avatar,.in-item.avatar{border-radius:var(--ui-radius-circle);display:inline-block;overflow:hidden}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p),:is(.in-card,.in-item).description>p{margin:0 0 .5em}:host(:is(:state(in-card),:state(in-item)))>.description>::slotted(p:last-child),:is(.in-card,.in-item).description>p:last-child{margin-bottom:0}:host(:state(in-feed))>.content,.in-feed.content{text-align:start;overflow-wrap:break-word;flex:auto;align-self:stretch;display:block}:host(:state(in-feed):not(:first-child))>.content,.in-feed.content:not(:first-child){margin:.5em 0 .35714em 1.14285em}:host(:state(in-feed))>.summary,.in-feed.summary{color:var(--ui-feed-summary-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:1em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:-.5em 0 0;padding:0}:host(:state(in-feed))>.author,.in-feed.author{font-weight:var(--ui-font-weight-bold);vertical-align:baseline;margin-inline-end:0;display:inline-block}:host(:state(in-feed))>a.author,a.in-feed.author{color:var(--ui-feed-author-color,var(--ui-link))}:host(:state(in-feed))>a.author:hover,a.in-feed.author:hover{color:var(--ui-link-hover)}:host(:state(in-feed))>.extra,.in-feed.extra{color:var(--ui-feed-extra-color,var(--ui-text-color));background:0 0;margin:.5em 0 0;padding:0}:host(:state(in-feed))>.extra.text,.in-feed.extra.text{max-width:var(--ui-feed-extra-text-width,500px);font-size:1em;line-height:var(--ui-line-height);border-inline-start:none;padding:0}:host(:state(in-feed))>.meta,.in-feed.meta{box-shadow:none;color:var(--ui-feed-meta-color,var(--ui-text-muted));background:0 0;border:none;border-radius:0;margin:.5em 0 0;padding:0;font-size:.85714em;display:inline-block}:host(:state(in-feed))>.meta>::slotted(*),.in-feed.meta>*{margin-inline-start:.75em;position:relative}:host(:state(in-feed))>.meta>::slotted(:first-child),.in-feed.meta>:first-child{margin-inline-start:0}:host(:state(in-feed))>.meta>::slotted(a),.in-feed.meta>a{color:var(--ui-feed-meta-action-color,var(--ui-text-light));cursor:var(--ui-control-cursor);transition:color var(--ui-duration-fast) var(--ui-ease)}:host(:state(in-feed))>.meta>::slotted(a:hover),.in-feed.meta>a:hover{color:var(--ui-text-selected)}:host(:state(in-comment))>.avatar,.in-comment.avatar{float:left;width:var(--ui-comment-avatar-width,2.5em);height:auto;margin:.2em 0 0;display:block}:host(:state(in-comment))>.avatar img,:host(:state(in-comment))>.avatar ::slotted(img),.in-comment.avatar img{border-radius:var(--ui-radius-s);margin:0 auto}:host(:state(in-comment))>.content,.in-comment.content{display:block}:host(:state(in-comment):not(:first-child))>.content,.in-comment.content:not(:first-child){margin-inline-start:var(--ui-comment-content-margin,3.5em)}:host(:state(in-comment))>.content:is(:hover,:focus-within),.in-comment.content:is(:hover,:focus-within){--_ui-comment-hover:1}:host(:state(in-comment))>.author,.in-comment.author{color:var(--ui-comment-author-color,var(--ui-text-color));font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-comment))>a.author:hover,a.in-comment.author:hover{color:var(--ui-link-hover)}:host(:state(in-comment))>.meta,.in-comment.meta{color:var(--ui-comment-meta-color,var(--ui-text-light));margin-inline-start:.5em;font-size:.875em;display:inline-block}:host(:state(in-comment))>.meta>::slotted(*),.in-comment.meta>*{margin:0 .5em 0 0;display:inline-block}:host(:state(in-comment))>.meta>::slotted(:last-child),.in-comment.meta>:last-child{margin-inline-end:0}:host(:state(in-comment))>.description,.in-comment.description{color:var(--ui-comment-text-color,var(--ui-text-color));overflow-wrap:break-word;margin:.25em 0 .5em;font-size:1em;line-height:1.3}:host(:state(in-comment))>.actions,.in-comment.actions{font-size:.875em}:host(:state(in-comment))>.actions>::slotted(:is(a,button)),.in-comment.actions>:is(a,button){color:var(--ui-comment-action-color,var(--ui-text-unselected));font:inherit;cursor:var(--ui-control-cursor);background:0 0;border:none;margin:0 .75em 0 0;padding:0;display:inline-block}:host(:state(in-comment))>.actions>::slotted(:is(a,button):last-child),.in-comment.actions>:is(a,button):last-child{margin-inline-end:0}:host(:state(in-comment))>.actions>::slotted(:is(a,button):is(:hover,.active)),.in-comment.actions>:is(a,button):is(:hover,.active){color:var(--ui-text-hovered)}:host(:state(in-modal))>.header,.in-modal.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-header-background,var(--ui-surface));box-shadow:none;color:var(--_ui-modal-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--_ui-modal-header-size,1.42857em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:.875em 1.05em;display:block}:host(:state(in-modal))>.content,.in-modal.content{width:100%;padding:var(--ui-modal-content-padding,1.5em);background:var(--_ui-modal-content-background,var(--ui-surface));font-size:1em;line-height:1.4;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:row;display:flex}:host(:state(in-modal))>.content.scrolling,.in-modal.content.scrolling{max-height:var(--ui-modal-scrolling-height,calc(80dvh - 10em));overscroll-behavior:none;overflow:auto}:host(:state(in-modal))>.description,.in-modal.description{flex:1 0 auto;align-self:start;min-width:0;display:block}:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:auto;min-width:auto;flex:auto;padding-inline-start:var(--ui-modal-description-distance,2em)}:host(:state(in-modal))>.actions,.in-modal.actions{padding:var(--ui-modal-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-modal-actions-background,var(--ui-surface-muted));text-align:right}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-inline-start:var(--ui-modal-button-distance,.75em)}:host(:state(in-modal):first-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):first-child{border-start-start-radius:var(--_ui-modal-radius,var(--ui-radius));border-start-end-radius:var(--_ui-modal-radius,var(--ui-radius))}:host(:state(in-modal):last-child)>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions):last-child{border-end-end-radius:var(--_ui-modal-radius,var(--ui-radius));border-end-start-radius:var(--_ui-modal-radius,var(--ui-radius))}@media (width<768px){:host(:state(in-modal))>.header,.in-modal.header{padding:.525em .7em}:host(:state(in-modal))>.content,.in-modal.content{padding:1em;display:block}:host(:state(in-modal))>.content.image,.in-modal.content.image{flex-direction:column}:host(:state(in-modal))>.description,.in-modal.description,:host(:state(in-modal):not(:first-child))>.description,.in-modal.description:not(:first-child){width:100%;margin:0;padding:1em 0;display:block}:host(:state(in-modal))>.actions,.in-modal.actions{padding:1em 1em 0}:host(:state(in-modal))>.actions>::slotted(*),.in-modal.actions>*{margin-bottom:1em}}:host(:state(in-flyout))>.header,.in-flyout.header{border-bottom:var(--ui-border-width) solid var(--ui-border-color);background:var(--ui-flyout-header-background,var(--_ui-flyout-background,var(--ui-surface)));color:var(--_ui-flyout-header-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:var(--ui-flyout-header-size,1.28571em);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-heading);margin:0;padding:1.25em 1.5em;display:block}:host(:state(in-flyout))>.content,.in-flyout.content{box-sizing:border-box;width:100%;padding:var(--ui-flyout-content-padding,1.5em);background:var(--ui-flyout-content-background,var(--_ui-flyout-background,var(--ui-surface)));flex:1 0 auto;font-size:1em;line-height:1.4;display:block}:host(:state(in-flyout))>.actions,.in-flyout.actions{padding:var(--ui-flyout-actions-padding,1em);border-top:var(--ui-border-width) solid var(--ui-border-color);background:var(--_ui-flyout-actions-background,var(--ui-surface-muted));text-align:right;flex:none}:host(:state(in-flyout))>.actions>::slotted(*),.in-flyout.actions>*{margin-inline-start:var(--ui-flyout-button-distance,.75em)}:host(:state(in-message))>.header,.in-message.header{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--ui-color-header,inherit);font-family:var(--ui-font-family-heading);font-size:var(--_ui-message-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);display:block}:host(:state(in-list))>.content,.in-list.content{color:var(--_ui-list-content-color,var(--ui-text-color));line-height:1.14285em}:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}img.image+.in-list.content{width:auto;display:inline-block}:host(:state(in-list))>.header,.in-list.header{color:var(--_ui-list-header-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-bold);margin:0;display:block}:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-link);cursor:var(--ui-control-cursor)}:host(:state(in-list))>a.header:hover,a.in-list.header:hover{color:var(--ui-link-hover)}:host(:state(in-list))>.description,.in-list.description{color:var(--_ui-list-description-color,oklch(from var(--ui-ink) l c h / .7));display:block}:host(:state(in-menu))>.header,.in-menu.header{font-size:1em;font-weight:var(--ui-font-weight-bold);margin:0 0 .5em;display:block}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-statistic-value-color,var(--ui-ink)));font-family:var(--ui-font-family);font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 4));font-weight:var(--ui-font-weight-normal);text-align:center;text-transform:uppercase;line-height:1em}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:2em;font-size:var(--_ui-statistic-text-value-size,calc(var(--ui-font-size) * 2));font-weight:var(--ui-font-weight-bold);line-height:1em}:host(:state(in-statistic))>.label,.in-statistic.label{color:var(--ui-statistic-label-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold);text-align:center;text-transform:uppercase;margin:0;padding:0;display:block}:host(:state(in-statistic))>.value ::slotted(img),.in-statistic.value img{max-height:calc(var(--ui-font-size) * 3);vertical-align:baseline}:host(:state(in-statistic))>.value,.in-statistic.value{--_ui-icon-owner-margin:0;--_ui-icon-owner-opacity:1}:host(:state(in-step))>.content,.in-step.content{margin:var(--_ui-step-content-margin,0);padding:var(--_ui-step-content-padding,0);flex:0 auto;align-self:center;display:block}:host(:state(in-step))>.title,.in-step.title{width:100%;font-family:var(--ui-font-family-heading);font-size:var(--ui-step-title-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);line-height:1.14285em}:host(:state(in-step))>.description,.in-step.description{width:100%;color:var(--ui-step-description-color,var(--ui-text-color));font-size:var(--ui-step-description-font-size,.92857em);font-weight:var(--ui-font-weight-normal);line-height:1.14285em}:host(:state(in-step):not(:first-child))>.description,.in-step.description:not(:first-child){margin-top:var(--_ui-step-description-distance,.25em)}:host(:state(in-accordion))>.title,.in-accordion.title{padding:var(--_ui-accordion-title-padding,.5em 0);color:var(--_ui-accordion-title-color,var(--ui-text-color));font-family:var(--ui-font-family-heading);cursor:var(--ui-control-cursor);font-size:1em;line-height:1;list-style:none}:host(:state(in-accordion))>.content,.in-accordion.content{padding:var(--_ui-accordion-content-padding,.5em 0 1em)}:host(:state(in-accordion):last-child)>.content,.in-accordion.content:last-child{padding-bottom:0}:host(:state(in-popup))>.header,.in-popup.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size,1.14285em);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2}:host(:state(in-popup):not(:first-child))>.content,.in-popup.content:not(:first-child){padding-top:var(--_ui-popup-header-distance,.5em)}:host(:state(in-toast))>.header,.in-toast.header{color:inherit;font-weight:var(--ui-font-weight-bold);margin:0}:host(:state(in-toast))>.actions,.in-toast.actions{border-top:var(--ui-border-width) solid var(--ui-toast-actions-border,oklch(from var(--ui-shadow-ink) l c h / .2));background:var(--ui-toast-actions-background,oklch(from var(--ui-ink-on-dark) l c h / .25));text-align:right;margin:.5em -1em -1em;padding:.5em .5em .75em}:host(:state(in-search))>.title,.in-search.title{margin:calc((1 - var(--ui-line-height-heading)) * .5em) 0 0;color:var(--_ui-search-title-color,var(--ui-text-dark));font-family:var(--ui-font-family-heading);font-size:1em;font-weight:var(--ui-font-weight-bold)}:host(:state(in-search))>.description,.in-search.description{color:var(--_ui-search-description-color,var(--ui-text-light));margin-top:0;font-size:.92857em}:host(:state(in-search))>.value,.in-search.value{float:right;color:var(--_ui-search-price-color,var(--ui-green-text))}:host(:state(in-label))>.detail,.in-label.detail{--_ui-icon-owner-margin:0 .25em 0 0;font-weight:var(--_ui-label-detail-weight,var(--ui-font-weight-bold));opacity:var(--_ui-label-detail-opacity,1);vertical-align:top;margin-inline-start:var(--_ui-label-detail-distance,1em);display:inline-block}}@layer ui.components.parts.variations{.ui.dividing.header{padding-bottom:var(--_ui-header-dividing-padding);border-bottom:var(--_ui-header-dividing-border);border-bottom-color:var(--ui-color,var(--ui-border-color));box-shadow:inset 0 calc(var(--ui-border-width) - var(--_ui-header-colored-border-width)) 0 0 var(--ui-color,transparent)}.ui.block.header{padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);border-radius:var(--ui-radius);background:var(--_ui-header-block-background);box-shadow:none}.ui.block.header:not(h1,h2,h3,h4,h5,h6){--_header-base:var(--ui-font-size)}.ui.attached.header{margin:0 calc(var(--ui-border-width) * -1);padding:var(--_ui-header-block-padding);border:var(--_ui-header-block-border);background:var(--_ui-header-attached-background);box-shadow:none;border-radius:0}.ui.attached.block.header{background:var(--_ui-header-block-background)}.ui.attached:not(.top).header{border-top:none}.ui[class*=top\\ attached].header{border-radius:var(--ui-radius) var(--ui-radius) 0 0}.ui[class*=bottom\\ attached].header{border-radius:0 0 var(--ui-radius) var(--ui-radius)}.ui.seamless.attached:not(.bottom).header{border-bottom:none}.ui.attached.header:not(h1,h2,h3,h4,h5,h6){--_header-base:1em}.ui.inverted.header{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui[class*=left\\ aligned].header{text-align:left}.ui[class*=right\\ aligned].header{text-align:right}.ui:is(.centered,[class*=center\\ aligned]).header{text-align:center}.ui.justified.header{text-align:justify}.ui.justified.header:after{content:\"\";width:100%;display:inline-block}.ui.icon.header:is(.centered,[class*=aligned],.justified){margin-inline:auto;display:block}.ui:is(.floated,[class*=left\\ floated]).header{float:left;margin-top:0;margin-inline-end:var(--_ui-header-floated-margin)}.ui[class*=right\\ floated].header{float:right;margin-top:0;margin-inline-start:var(--_ui-header-floated-margin)}.ui.fitted.header{padding:0}@container style(--_ui-header-layout:icon){:host(:state(in-header))>.content,.in-header.content{padding:0;display:block}}@container style(--_ui-card-layout:horizontal){:host(:state(in-card))>.content,.in-card.content{border-top:none;flex-basis:1px}:host(:state(in-card))>.extra,.in-card.extra{flex-basis:100%}}@container style(--_ui-item-media:1){:host(:state(in-item))>.content{width:auto;min-width:0;align-self:start;padding-inline-start:var(--_ui-item-content-distance,1.5em)}}@container style(--_ui-item-layout:stacked){:host(:state(in-item):not(:first-child))>.content,.in-item.content:not(:first-child){padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-layout:stacked) and style(--_ui-item-media:1){:host(:state(in-item))>.content{padding:var(--ui-item-content-distance-mobile,1.5em) 0 0;display:block}}@container style(--_ui-item-state:hover){:host(:state(in-item))>.header,.in-item.header{color:var(--ui-link-hover)}}@container style(--ui-inverted:1){:host(:state(in-card))>a.header,a.in-card.header,:host(:state(in-item))>a.header,a.in-item.header,:host(:state(in-list))>a.header,a.in-list.header{color:var(--ui-text-inverted-color)}:host(:state(in-statistic))>.value,.in-statistic.value{color:var(--ui-color,var(--ui-ink-on-dark))}}@container style(--_ui-comments-minimal:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:0;transition:opacity var(--ui-duration-normal) var(--ui-ease) .1s;position:absolute;top:0;left:auto;right:0}}@container style(--_ui-comments-minimal:1) and style(--_ui-comment-hover:1){:host(:state(in-comment))>.actions,.in-comment.actions{opacity:1}}@container style(--_ui-modal-basic:1){:host(:state(in-modal))>:is(.header,.content,.actions),.in-modal:is(.header,.content,.actions){background-color:#0000;border:none}:host(:state(in-modal))>.header,.in-modal.header{color:var(--ui-ink-on-dark)}}@container style(--_ui-message-layout:icon){:host(:state(in-message))>.content,.in-message.content{vertical-align:middle;flex:auto;padding-inline-start:0;display:block}}@container style(--_ui-event-label:1){:host(:state(in-feed))>.content{margin:.5em 0 .35714em 1.14285em}}.content[class*=left\\ floated]{float:left}.content[class*=right\\ floated]{float:right}.content[class*=left\\ aligned]{text-align:left}.content[class*=center\\ aligned]{text-align:center}.content[class*=right\\ aligned]{text-align:right}.content.justified{text-align:justify}:host(:state(in-item))>.content[class*=top\\ aligned],.in-item.content[class*=top\\ aligned]{align-self:flex-start}:host(:state(in-item))>.content[class*=middle\\ aligned],.in-item.content[class*=middle\\ aligned]{align-self:center}:host(:state(in-item))>.content[class*=bottom\\ aligned],.in-item.content[class*=bottom\\ aligned]{align-self:flex-end}:host(:state(in-list))>.content[class*=top\\ aligned],.in-list.content[class*=top\\ aligned]{vertical-align:top}:host(:state(in-list))>.content[class*=middle\\ aligned],.in-list.content[class*=middle\\ aligned]{vertical-align:middle}:host(:state(in-list))>.content[class*=bottom\\ aligned],.in-list.content[class*=bottom\\ aligned]{vertical-align:bottom}@container style(--_ui-item-media:1){:host(:state(in-list))>.content{width:100%;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:table-cell}}@container style(--_ui-item-media:image){:host(:state(in-list))>.content{width:auto;padding:0 0 0 var(--_ui-list-content-distance,.5em);vertical-align:var(--_ui-list-align,top);display:inline-block}}@container style(--_ui-list-layout:horizontal){:host(:state(in-list))>.content,.in-list.content,:host(:state(in-list):not(:first-child))>.content,.in-list.content:not(:first-child){width:auto;vertical-align:var(--_ui-list-align,middle);display:inline-block}}@container style(--_ui-statistic-layout:horizontal){:host(:state(in-statistic))>.value,.in-statistic.value{font-size:var(--_ui-statistic-value-size,calc(var(--ui-font-size) * 3));vertical-align:middle;display:inline-block}:host(:state(in-statistic))>.value.text,.in-statistic.value.text{min-height:0}:host(:state(in-statistic))>.label,.in-statistic.label{vertical-align:middle;margin:0 0 0 .75em;display:inline-block}}@container style(--_ui-step-layout:stacked){:host(:state(in-step))>.content,.in-step.content{text-align:center}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title,.in-accordion.title{border-top:var(--ui-border-width) solid var(--ui-border-color);color:var(--ui-text-unselected);font-weight:var(--ui-font-weight-bold);transition:background var(--ui-duration-fast) var(--ui-ease), color var(--ui-duration-fast) var(--ui-ease);margin:0;padding:.75em 1em}:host(:state(in-accordion):first-child)>.title,.in-accordion.title:first-child{border-top:none}:host(:state(in-accordion))>.content,.in-accordion.content{margin:0;padding:.5em 1em 1.5em}}@container style(--_ui-label-layout:image){:host(:state(in-label))>.detail,.in-label.detail{border-radius:0 var(--ui-radius) var(--ui-radius) 0;background:var(--_ui-label-detail-background,var(--ui-label-detail-background,oklch(from var(--ui-shadow-ink) l c h / .1)));opacity:1;margin:-.5833em -.833em -.5833em .5em;padding:.5833em .833em}}@container style(--_ui-part:summary){:host(:state(in-feed))>.date,.in-feed.date{color:var(--ui-feed-date-color,var(--ui-text-light));font-size:.85714em;font-style:normal;font-weight:var(--ui-font-weight-normal);margin:0 0 0 .5em;padding:0;display:inline-block}}}@layer ui.components.parts.states{.ui.disabled.header{opacity:var(--_ui-header-disabled-opacity)}@container style(--_ui-step-state:active){:host(:state(in-step))>.title,.in-step.title{color:var(--_ui-step-active-title-color,var(--ui-link))}}@container style(--_ui-step-state:disabled){:host(:state(in-step))>:is(.title,.description),.in-step:is(.title,.description){color:var(--ui-text-disabled)}}@container style(--_ui-accordion-style:styled){:host(:state(in-accordion))>.title:hover,.in-accordion.title:hover{color:var(--ui-text-color)}}@container style(--_ui-accordion-style:styled) and style(--_ui-accordion-open:1){:host(:state(in-accordion))>.title,.in-accordion.title{color:var(--ui-text-selected)}}@container style(--_ui-search-result:active){:host(:state(in-search))>:is(.title,.description),.in-search:is(.title,.description){color:var(--ui-text-dark)}}}", To = /* @__PURE__ */ pe("<slot>"), Eo, Do, Oo, J = class _PartComponent extends (Do = Wt, Eo = [protoMerged], Do) {
3879
4391
  constructor() {
3880
4392
  super(...arguments), __publicField(this, "context", new D({
3881
4393
  domElement: this.domElement,
@@ -3917,40 +4429,22 @@ var Da = K, Oa = "loading", ka = "placeholder", Aa = class StickyWatch {
3917
4429
  get rootDatetime() {}
3918
4430
  get rootTabIndex() {}
3919
4431
  content() {
3920
- var e = Va();
4432
+ var e = To();
3921
4433
  return e._$owner = se(), e;
3922
4434
  }
3923
4435
  };
3924
- Wa = __decoratorStart(Ua), __decorateElement(Wa, 13, "elementSetup", Ha, q), __decoratorMetadata(Wa, q), __name(q, "PartComponent"), __publicField(q, "elementSetup", __runInitializers(Wa, 8, q, {
3925
- styleSheets: { parts: Ba },
4436
+ Oo = __decoratorStart(Do), __decorateElement(Oo, 13, "elementSetup", Eo, J), __decoratorMetadata(Oo, J), __name(J, "PartComponent"), __publicField(J, "elementSetup", __runInitializers(Oo, 8, J, {
4437
+ styleSheets: { parts: wo },
3926
4438
  isAPart: !0
3927
- })), __runInitializers(Wa, 11, q);
3928
- var Ga = q, Ka = [state], qa, Ja, J = class _RootSettings {
3929
- static set(e, t) {
3930
- _RootSettings.byRoot.set(e, t), _RootSettings.generation += 1;
3931
- }
3932
- static delete(e) {
3933
- _RootSettings.byRoot.delete(e) && (_RootSettings.generation += 1);
3934
- }
3935
- static nearest(e, t) {
3936
- for (let n = e; n; n = flatParentFor(n)) {
3937
- let e = _RootSettings.byRoot.get(n)?.[t];
3938
- if (e !== void 0) return e;
3939
- }
3940
- }
3941
- static reset() {
3942
- _RootSettings.byRoot = /* @__PURE__ */ new WeakMap(), _RootSettings.generation += 1;
3943
- }
3944
- };
3945
- qa = __decoratorStart(null), Ja = /* @__PURE__ */ new WeakMap(), __decorateElement(qa, 12, "generation", Ka, J, Ja), __decoratorMetadata(qa, J), __name(J, "RootSettings"), __privateAdd(J, Ja, __runInitializers(qa, 8, J, 0)), __runInitializers(qa, 11, J), __publicField(J, "byRoot", /* @__PURE__ */ new WeakMap());
3946
- var Ya = J, Xa, Za = [state], Y, Qa;
3947
- Xa = [derived];
3948
- var $a = class _IconGlyph {
4439
+ })), __runInitializers(Oo, 11, J);
4440
+ var ko = J, Ao, jo = [state], Y, Mo;
4441
+ Ao = [derived];
4442
+ var No = class _IconGlyph {
3949
4443
  constructor({ owner: e, name: t }) {
3950
- __runInitializers(Y, 5, this), __privateAdd(this, Qa, __runInitializers(Y, 8, this)), __runInitializers(Y, 11, this), __publicField(this, "owner"), __publicField(this, "name"), __publicField(this, "request", 0), this.owner = e, this.name = t, !h && (this.svgTemplate = p(() => _IconGlyph.peek(e.domElement, t())), i(() => ({
4444
+ __runInitializers(Y, 5, this), __privateAdd(this, Mo, __runInitializers(Y, 8, this)), __runInitializers(Y, 11, this), __publicField(this, "owner"), __publicField(this, "name"), __publicField(this, "request", 0), this.owner = e, this.name = t, !h && (this.svgTemplate = p(() => _IconGlyph.peek(e.domElement, t())), i(() => ({
3951
4445
  name: t(),
3952
4446
  connected: e.isConnected,
3953
- generation: Ya.generation
4447
+ generation: za.generation
3954
4448
  }), ({ name: e, connected: t }) => {
3955
4449
  (t || !this.request) && this.load(e);
3956
4450
  }));
@@ -3965,7 +4459,7 @@ var $a = class _IconGlyph {
3965
4459
  this.request === t && (this.svgTemplate = n);
3966
4460
  }
3967
4461
  static packsFor(e, t) {
3968
- return Ya.nearest(e, "icons") ?? t;
4462
+ return za.nearest(e, "icons") ?? t;
3969
4463
  }
3970
4464
  static draw(e) {
3971
4465
  let t = e.cloneNode(!0);
@@ -3975,21 +4469,21 @@ var $a = class _IconGlyph {
3975
4469
  let n = globalThis[z]?.icons;
3976
4470
  if (!t || !n || !_IconGlyph.serverMarkup) return;
3977
4471
  let r = _IconGlyph.serverMarkup(_IconGlyph.packsFor(e, n), t);
3978
- if (r) return fe([r.replace(to, "<svg aria-hidden=\"true\"")]);
4472
+ if (r) return fe([r.replace(Fo, "<svg aria-hidden=\"true\"")]);
3979
4473
  }
3980
4474
  static peek(e, t) {
3981
4475
  let n = globalThis[z]?.icons;
3982
4476
  return t && n ? _IconGlyph.packsFor(e, n).peek(t) : void 0;
3983
4477
  }
3984
4478
  };
3985
- Y = __decoratorStart(null), Qa = /* @__PURE__ */ new WeakMap(), __decorateElement(Y, 4, "svgTemplate", Za, $a, Qa), __decorateElement(Y, 2, "svg", Xa, $a), __decoratorMetadata(Y, $a), __name($a, "IconGlyph"), __publicField($a, "serverMarkup");
3986
- var eo = $a, to = /<svg\b/, no = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
4479
+ Y = __decoratorStart(null), Mo = /* @__PURE__ */ new WeakMap(), __decorateElement(Y, 4, "svgTemplate", jo, No, Mo), __decorateElement(Y, 2, "svg", Ao, No), __decoratorMetadata(Y, No), __name(No, "IconGlyph"), __publicField(No, "serverMarkup");
4480
+ var Po = No, Fo = /<svg\b/, Io = /* @__PURE__ */ pe("<button type=button>"), CloseButton = class {
3987
4481
  props;
3988
4482
  glyph;
3989
4483
  constructor(e) {
3990
- this.props = e, this.glyph = new eo({
4484
+ this.props = e, this.glyph = new Po({
3991
4485
  owner: e.owner,
3992
- name: () => e.shows() ? si : void 0
4486
+ name: () => e.shows() ? Ai : void 0
3993
4487
  });
3994
4488
  }
3995
4489
  draw() {
@@ -3999,9 +4493,9 @@ var eo = $a, to = /<svg\b/, no = /* @__PURE__ */ pe("<button type=button>"), Clo
3999
4493
  return e();
4000
4494
  },
4001
4495
  get children() {
4002
- var e = no();
4496
+ var e = Io();
4003
4497
  return ne(e, "click", i, !0), de(e, "part", n), ce(e, () => a.glyph.svg), ae(() => ({
4004
- e: le(oi),
4498
+ e: le(ki),
4005
4499
  t: t()
4006
4500
  }), ({ e: t, t: n }, r) => {
4007
4501
  re(e, t, r?.e), n !== r?.t && de(e, "aria-label", n);
@@ -4013,16 +4507,70 @@ var eo = $a, to = /<svg\b/, no = /* @__PURE__ */ pe("<button type=button>"), Clo
4013
4507
  ie(["click"]);
4014
4508
  //#endregion
4015
4509
  //#region src/elements/ClipboardCopy.ts
4016
- var ro = [state], io, ao, oo = class _ClipboardCopy {
4017
- constructor({ seconds: e = co } = {}) {
4018
- __privateAdd(this, ao, __runInitializers(io, 8, this, !1)), __runInitializers(io, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
4510
+ var Lo = [state], Ro, zo, Bo = class _ClipboardCopy {
4511
+ constructor({ seconds: e = Ho } = {}) {
4512
+ __privateAdd(this, zo, __runInitializers(Ro, 8, this, !1)), __runInitializers(Ro, 11, this), __publicField(this, "seconds"), __publicField(this, "copiedTimer"), this.seconds = e;
4019
4513
  }
4020
4514
  async copy(e) {
4021
4515
  return await copyText(e) ? (this.isCopied = !0, this.copiedTimer?.cancel(), this.copiedTimer = after(this.seconds, () => this.isCopied = !1), !0) : !1;
4022
4516
  }
4023
4517
  };
4024
- io = __decoratorStart(null), ao = /* @__PURE__ */ new WeakMap(), __decorateElement(io, 4, "isCopied", ro, oo, ao), __decoratorMetadata(io, oo), __name(oo, "ClipboardCopy");
4025
- var so = oo, co = 2, PopoverPanel = class extends sn {
4518
+ Ro = __decoratorStart(null), zo = /* @__PURE__ */ new WeakMap(), __decorateElement(Ro, 4, "isCopied", Lo, Bo, zo), __decoratorMetadata(Ro, Bo), __name(Bo, "ClipboardCopy");
4519
+ var Vo = Bo, Ho = 2, Uo = class AddressParameter {
4520
+ constructor(e) {
4521
+ this.props = e;
4522
+ }
4523
+ props;
4524
+ hasOpened = !1;
4525
+ isShowing = !1;
4526
+ startingText;
4527
+ follow(e) {
4528
+ if (!e) return;
4529
+ let t = new AbortController(), onNavigate = (t) => this.showAddress(e, t), n = "hash" in e ? Go : Wo;
4530
+ for (let e of n) this.view.addEventListener(e, onNavigate, { signal: t.signal });
4531
+ let r = soon(() => {
4532
+ this.showAddress(e), this.hasOpened = !0;
4533
+ });
4534
+ return () => {
4535
+ r(), t.abort(), this.hasOpened = !1;
4536
+ };
4537
+ }
4538
+ record(e) {
4539
+ e && !this.isShowing && this.hasOpened && afterSolidUpdate(() => {
4540
+ let { history: t, location: n } = this.view, r = AddressParameter.hrefWith(n, e, this.props.read());
4541
+ r !== n.href && t.pushState(t.state, "", r);
4542
+ });
4543
+ }
4544
+ showAddress(e, t) {
4545
+ let n = AddressParameter.textIn(this.view.location, e);
4546
+ if (t || (this.startingText = this.props.read()), n === void 0 && !t) return;
4547
+ let r = n ?? this.startingText;
4548
+ if ((r ?? "") !== (this.props.read() ?? "")) {
4549
+ this.isShowing = !0;
4550
+ try {
4551
+ this.props.show(r, t);
4552
+ } finally {
4553
+ this.isShowing = !1;
4554
+ }
4555
+ }
4556
+ }
4557
+ get view() {
4558
+ return this.props.domElement.ownerDocument.defaultView ?? window;
4559
+ }
4560
+ static textIn(e, t) {
4561
+ if ("parameter" in t) return new URLSearchParams(e.search).get(t.parameter) ?? void 0;
4562
+ let n = e.hash.slice(1);
4563
+ if (n) try {
4564
+ return decodeURIComponent(n);
4565
+ } catch {
4566
+ return n;
4567
+ }
4568
+ }
4569
+ static hrefWith(e, t, n) {
4570
+ let r = new URL(e.href);
4571
+ return "hash" in t ? r.hash = n ? encodeURIComponent(n) : "" : n ? r.searchParams.set(t.parameter, n) : r.searchParams.delete(t.parameter), r.href;
4572
+ }
4573
+ }, Wo = ["popstate"], Go = ["hashchange", "popstate"], PopoverPanel = class extends yn {
4026
4574
  panelSetup;
4027
4575
  constructor(e) {
4028
4576
  super(e), this.panelSetup = e;
@@ -4039,10 +4587,10 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4039
4587
  overlayEntry;
4040
4588
  follow(e, t) {
4041
4589
  if (!t || !e || !e.popover) return;
4042
- e.matches(lo) || e.showPopover();
4590
+ e.matches(Ko) || e.showPopover();
4043
4591
  let { overlay: n } = this;
4044
4592
  return V.overlays.open(n), () => {
4045
- e.matches(lo) && e.hidePopover(), V.overlays.close(n);
4593
+ e.matches(Ko) && e.hidePopover(), V.overlays.close(n);
4046
4594
  };
4047
4595
  }
4048
4596
  get anchorStyle() {
@@ -4055,7 +4603,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4055
4603
  return this.anchorId ??= `--${V.ids.next(this.panelSetup.component.vocabulary.tag)}`;
4056
4604
  }
4057
4605
  anchorId;
4058
- }, lo = ":popover-open", uo = class DOMLoadableElement extends w {
4606
+ }, Ko = ":popover-open", qo = class DOMLoadableElement extends w {
4059
4607
  get content() {
4060
4608
  return this.component?.content ?? this.pendingContent ?? "";
4061
4609
  }
@@ -4103,13 +4651,13 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4103
4651
  reject: t
4104
4652
  };
4105
4653
  }
4106
- }, fo, po, mo, ho, go, _o, vo, yo, bo, xo, So, Co, wo, To, Eo, Do, Oo, ko, Ao, X, jo, Mo, No, Po, Fo, Io, Z = class _LoadableComponent extends (Ao = Rt, ko = [protoMerged], Oo = [proto], Do = [watches({
4654
+ }, Jo, Yo, Xo, Zo, Qo, $o, es, ts, ns, rs, is, as, os, ss, cs, ls, us, ds, fs, ps, X, ms, hs, gs, _s, vs, ys, Z = class _LoadableComponent extends (ps = Wt, fs = [protoMerged], ds = [proto], us = [watches({
4107
4655
  childList: !0,
4108
4656
  characterData: !0,
4109
4657
  subtree: !0
4110
- })], Eo = [state], To = [state], wo = [state], Co = [cssState("loading")], So = [onChange("source", "loadingPolicy", "isConnected")], xo = [untracked], bo = [untracked], yo = [state], vo = [cssState("error")], _o = [untracked], go = [cssState("saving"), state], ho = [cssState("dirty"), state], mo = [untracked], po = [lazy], fo = [lazy], Ao) {
4658
+ })], ls = [state], cs = [state], ss = [onChange("inlineText", { defer: !0 })], os = [state], as = [cssState("loading")], is = [onChange("source", "loadingPolicy", "isConnected")], rs = [untracked], ns = [untracked], ts = [state], es = [cssState("error")], $o = [untracked], Qo = [cssState("saving"), state], Zo = [cssState("dirty"), state], Xo = [untracked], Yo = [lazy], Jo = [lazy], ps) {
4111
4659
  constructor() {
4112
- super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, jo, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, Mo, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, No, __runInitializers(X, 16, this, U.idle)), __runInitializers(X, 19, this), __publicField(this, "contentSource"), __publicField(this, "fetchedSource"), __publicField(this, "isFresh", !1), __publicField(this, "stopLoading"), __privateAdd(this, Po, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, Fo, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, Io, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
4660
+ super(...arguments), __runInitializers(X, 5, this), __privateAdd(this, ms, __runInitializers(X, 8, this)), __runInitializers(X, 11, this), __privateAdd(this, hs, __runInitializers(X, 12, this, this.domElement.takePendingContent())), __runInitializers(X, 15, this), __privateAdd(this, gs, __runInitializers(X, 16, this, W.idle)), __runInitializers(X, 19, this), __publicField(this, "contentSource"), __publicField(this, "fetchedSource"), __publicField(this, "isFresh", !1), __publicField(this, "stopLoading"), __privateAdd(this, _s, __runInitializers(X, 20, this)), __runInitializers(X, 23, this), __privateAdd(this, vs, __runInitializers(X, 24, this, !1)), __runInitializers(X, 27, this), __privateAdd(this, ys, __runInitializers(X, 28, this, this.wasEdited !== void 0)), __runInitializers(X, 31, this), __publicField(this, "lastETag");
4113
4661
  }
4114
4662
  get inlineText() {
4115
4663
  return h || !this.wantsInlineContent ? "" : _LoadableComponent.inlineTextOf(this.domElement);
@@ -4122,10 +4670,13 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4122
4670
  return p(() => this.textToShow);
4123
4671
  }
4124
4672
  set content(e) {
4125
- e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(W.change, { content: e }));
4673
+ e !== this.content && (this.wasEdited = e, this.isDirty = !0, this.sendSourceEvent(G.change, { content: e }));
4674
+ }
4675
+ onInlineTextChanged() {
4676
+ this.wasEdited !== void 0 && !this.isDirty && !this.source && (this.wasEdited = void 0);
4126
4677
  }
4127
4678
  get isLoading() {
4128
- return this.loadStatus === U.loading;
4679
+ return this.loadStatus === W.loading;
4129
4680
  }
4130
4681
  get loadingPolicy() {
4131
4682
  return this.load ?? "eager";
@@ -4138,7 +4689,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4138
4689
  scheduleLoad(e, t) {
4139
4690
  let n = this.domElement;
4140
4691
  if (e !== this.contentSource && (this.contentSource = e, this.dropEdits(), n.beginLoad()), !e) {
4141
- this.loadStatus = U.loaded, this.loadError = void 0, afterSolidUpdate(() => this.onLoaded(this.textToShow));
4692
+ this.loadStatus = W.loaded, this.loadError = void 0, afterSolidUpdate(() => this.onLoaded(this.textToShow));
4142
4693
  return;
4143
4694
  }
4144
4695
  if (e === this.fetchedSource && !this.isFresh) return;
@@ -4158,7 +4709,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4158
4709
  }));
4159
4710
  });
4160
4711
  else if (t === "idle" && typeof requestIdleCallback == "function") {
4161
- let e = requestIdleCallback(a);
4712
+ let e = requestIdleCallback(a, { timeout: xs });
4162
4713
  i = /* @__PURE__ */ __name(() => cancelIdleCallback(e), "undo");
4163
4714
  } else a();
4164
4715
  return () => {
@@ -4166,7 +4717,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4166
4717
  };
4167
4718
  }
4168
4719
  async fetchSource(e, t) {
4169
- this.loadStatus = U.loading, this.loadError = void 0;
4720
+ this.loadStatus = W.loading, this.loadError = void 0;
4170
4721
  let n = this.isFresh;
4171
4722
  this.isFresh = !1;
4172
4723
  try {
@@ -4174,7 +4725,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4174
4725
  signal: t,
4175
4726
  fresh: n
4176
4727
  });
4177
- this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus = U.loaded, this.onLoaded(r.text);
4728
+ this.fetchedSource = e, this.fetchedText = r.text, this.lastETag = r.etag, this.loadStatus = W.loaded, this.onLoaded(r.text);
4178
4729
  } catch (e) {
4179
4730
  if (t.aborted) return;
4180
4731
  this.onLoadError(e);
@@ -4182,7 +4733,7 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4182
4733
  }
4183
4734
  onLoaded(e) {
4184
4735
  let t = this.wasEdited ?? e;
4185
- this.domElement.endLoad(t), this.sendSourceEvent(W.load, {
4736
+ this.domElement.endLoad(t), this.sendSourceEvent(G.load, {
4186
4737
  source: this.source || void 0,
4187
4738
  content: t
4188
4739
  });
@@ -4192,19 +4743,19 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4192
4743
  return this.dropEdits(), t ? (this.stopLoading?.(), e.beginLoad(), this.isFresh = !0, this.fetchedSource = void 0, this.stopLoading = this.scheduleLoad(t, "eager"), e.loaded) : e.loaded;
4193
4744
  }
4194
4745
  get hasError() {
4195
- return this.loadStatus === U.error;
4746
+ return this.loadStatus === W.error;
4196
4747
  }
4197
4748
  get errorText() {
4198
4749
  let e = this.loadError;
4199
4750
  if (!e) return;
4200
- let t = ha[e.kind] ?? ha.load;
4751
+ let t = Xa[e.kind] ?? Xa.load;
4201
4752
  return this.translationForKey(t, { source: this.source ?? "" });
4202
4753
  }
4203
4754
  onLoadError(e, t = "load") {
4204
4755
  let n = B.kindFor(e, t);
4205
- this.loadStatus = U.error, this.domElement.failLoad(e);
4756
+ this.loadStatus = W.error, this.domElement.failLoad(e);
4206
4757
  let r = this.source || void 0;
4207
- this.sendSourceEvent(W.error, {
4758
+ this.sendSourceEvent(G.error, {
4208
4759
  kind: n,
4209
4760
  source: r,
4210
4761
  error: e
@@ -4216,27 +4767,32 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4216
4767
  async save(e) {
4217
4768
  e !== void 0 && (this.content = e);
4218
4769
  let { content: t, lastETag: n } = this, r = this.source || void 0;
4219
- if (!this.sendSourceEvent(W.save, {
4770
+ if (!this.sendSourceEvent(G.save, {
4220
4771
  source: r,
4221
4772
  content: t,
4222
4773
  etag: n
4223
4774
  })) return !1;
4224
- if (!r) return this.isDirty = !1, this.sendSourceEvent(W.saved, { source: r }), !0;
4775
+ let i = r || this.wantsInlineContent ? await V.load() : void 0;
4776
+ if (!r && !i?.sources.inlineSaver) return this.isDirty = !1, this.sendSourceEvent(G.saved, { source: r }), !0;
4225
4777
  this.isSaving = !0;
4226
4778
  try {
4227
- let e = await (await V.load()).sources.save({
4779
+ let e = i.sources, a = _LoadableComponent.inlineTextOf(this.domElement), o = r ? await e.save({
4228
4780
  url: r,
4229
4781
  text: t,
4230
4782
  etag: n,
4231
4783
  fragment: this.saveFragment()
4784
+ }) : await e.saveInline({
4785
+ element: this.domElement,
4786
+ before: a,
4787
+ text: t
4232
4788
  });
4233
- return this.lastETag = e.etag, this.isDirty = !1, this.sendSourceEvent(W.saved, {
4789
+ return this.lastETag = o.etag, this.content === t && (this.isDirty = !1), this.sendSourceEvent(G.saved, {
4234
4790
  source: r,
4235
- etag: e.etag
4791
+ etag: o.etag
4236
4792
  }), !0;
4237
4793
  } catch (e) {
4238
4794
  let t = B.kindFor(e, "save");
4239
- return this.sendSourceEvent(W.error, {
4795
+ return this.sendSourceEvent(G.error, {
4240
4796
  kind: t,
4241
4797
  source: r,
4242
4798
  error: e
@@ -4261,19 +4817,19 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4261
4817
  return e.setAttribute("aria-label", this.translationForKey("sourceLoading", { source: this.source ?? "" })), e;
4262
4818
  }
4263
4819
  get loaderElement() {
4264
- return this.statusElement(la, "loader");
4820
+ return this.statusElement(Wa, "loader");
4265
4821
  }
4266
4822
  errorMessage() {
4267
4823
  let e = this.errorElement;
4268
4824
  return e.textContent = this.errorText ?? "", e;
4269
4825
  }
4270
4826
  get errorElement() {
4271
- return this.statusElement(ua, "error");
4827
+ return this.statusElement(Ga, "error");
4272
4828
  }
4273
4829
  statusElement(e, t) {
4274
4830
  let n = this.domElement.ownerDocument.createElement(e);
4275
4831
  n.setAttribute("part", this.partForName(t));
4276
- for (let [t, r] of Object.entries(Ro[e])) n.setAttribute(t, r);
4832
+ for (let [t, r] of Object.entries(Ss[e])) n.setAttribute(t, r);
4277
4833
  return n;
4278
4834
  }
4279
4835
  checkSource(e) {}
@@ -4304,15 +4860,15 @@ var so = oo, co = 2, PopoverPanel = class extends sn {
4304
4860
  return !Number.isFinite(n) || n === 0 ? t.join("\n") : t.map((e) => e.slice(Math.min(n, e.length - e.trimStart().length))).join("\n");
4305
4861
  }
4306
4862
  };
4307
- X = __decoratorStart(Ao), jo = /* @__PURE__ */ new WeakMap(), Mo = /* @__PURE__ */ new WeakMap(), No = /* @__PURE__ */ new WeakMap(), Po = /* @__PURE__ */ new WeakMap(), Fo = /* @__PURE__ */ new WeakMap(), Io = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", Do, Z), __decorateElement(X, 4, "fetchedText", Eo, Z, jo), __decorateElement(X, 4, "wasEdited", To, Z, Mo), __decorateElement(X, 4, "loadStatus", wo, Z, No), __decorateElement(X, 2, "isLoading", Co, Z), __decorateElement(X, 1, "onSourceChanged", So, Z), __decorateElement(X, 1, "onLoaded", xo, Z), __decorateElement(X, 1, "reload", bo, Z), __decorateElement(X, 4, "loadError", yo, Z, Po), __decorateElement(X, 2, "hasError", vo, Z), __decorateElement(X, 1, "onLoadError", _o, Z), __decorateElement(X, 4, "isSaving", go, Z, Fo), __decorateElement(X, 4, "isDirty", ho, Z, Io), __decorateElement(X, 1, "save", mo, Z), __decorateElement(X, 2, "loaderElement", po, Z), __decorateElement(X, 2, "errorElement", fo, Z), __decorateElement(X, 13, "elementSetup", ko, Z), __decorateElement(X, 13, "wantsInlineContent", Oo, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: uo })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
4308
- var Lo = Z, Ro = {
4309
- [la]: {
4863
+ X = __decoratorStart(ps), ms = /* @__PURE__ */ new WeakMap(), hs = /* @__PURE__ */ new WeakMap(), gs = /* @__PURE__ */ new WeakMap(), _s = /* @__PURE__ */ new WeakMap(), vs = /* @__PURE__ */ new WeakMap(), ys = /* @__PURE__ */ new WeakMap(), __decorateElement(X, 2, "inlineText", us, Z), __decorateElement(X, 4, "fetchedText", ls, Z, ms), __decorateElement(X, 4, "wasEdited", cs, Z, hs), __decorateElement(X, 1, "onInlineTextChanged", ss, Z), __decorateElement(X, 4, "loadStatus", os, Z, gs), __decorateElement(X, 2, "isLoading", as, Z), __decorateElement(X, 1, "onSourceChanged", is, Z), __decorateElement(X, 1, "onLoaded", rs, Z), __decorateElement(X, 1, "reload", ns, Z), __decorateElement(X, 4, "loadError", ts, Z, _s), __decorateElement(X, 2, "hasError", es, Z), __decorateElement(X, 1, "onLoadError", $o, Z), __decorateElement(X, 4, "isSaving", Qo, Z, vs), __decorateElement(X, 4, "isDirty", Zo, Z, ys), __decorateElement(X, 1, "save", Xo, Z), __decorateElement(X, 2, "loaderElement", Yo, Z), __decorateElement(X, 2, "errorElement", Jo, Z), __decorateElement(X, 13, "elementSetup", fs, Z), __decorateElement(X, 13, "wantsInlineContent", ds, Z), __decoratorMetadata(X, Z), __name(Z, "LoadableComponent"), __publicField(Z, "elementSetup", __runInitializers(X, 32, Z, { DOMElement: qo })), __runInitializers(X, 35, Z), __publicField(Z, "wantsInlineContent", __runInitializers(X, 36, Z, !0)), __runInitializers(X, 39, Z);
4864
+ var bs = Z, xs = 2e3, Ss = {
4865
+ [Wa]: {
4310
4866
  visible: "",
4311
4867
  inline: "",
4312
4868
  centered: ""
4313
4869
  },
4314
- [ua]: { state: "error" }
4315
- }, zo = class SourceMarkup {
4870
+ [Ga]: { state: "error" }
4871
+ }, Cs = class SourceMarkup {
4316
4872
  static parse(e, { page: t, source: n, select: r }) {
4317
4873
  let i = new DOMParser().parseFromString(e, "text/html"), a;
4318
4874
  if (r) {
@@ -4334,7 +4890,7 @@ var Lo = Z, Ro = {
4334
4890
  }
4335
4891
  static rewriteUrls(e, t, n) {
4336
4892
  let r = new URL(t, n.baseURI);
4337
- for (let t of e.querySelectorAll(fa)) for (let e of da) {
4893
+ for (let t of e.querySelectorAll(qa)) for (let e of Ka) {
4338
4894
  let i = t.getAttribute(e);
4339
4895
  if (i === null || i.startsWith("#")) continue;
4340
4896
  let a;
@@ -4343,13 +4899,13 @@ var Lo = Z, Ro = {
4343
4899
  } catch {
4344
4900
  continue;
4345
4901
  }
4346
- a !== new URL(i, n.baseURI).href && (t.setAttribute(pa + e, i), t.setAttribute(e, a));
4902
+ a !== new URL(i, n.baseURI).href && (t.setAttribute(Ja + e, i), t.setAttribute(e, a));
4347
4903
  }
4348
4904
  }
4349
4905
  static restoreUrls(e) {
4350
- for (let t of e.querySelectorAll("*")) for (let e of da) {
4351
- let n = t.getAttribute(pa + e);
4352
- n !== null && (t.setAttribute(e, n), t.removeAttribute(pa + e));
4906
+ for (let t of e.querySelectorAll("*")) for (let e of Ka) {
4907
+ let n = t.getAttribute(Ja + e);
4908
+ n !== null && (t.setAttribute(e, n), t.removeAttribute(Ja + e));
4353
4909
  }
4354
4910
  }
4355
4911
  static checkNesting(e, t, n) {
@@ -4357,7 +4913,7 @@ var Lo = Z, Ro = {
4357
4913
  for (let o = SourceMarkup.parentFor(e); o; o = SourceMarkup.parentFor(o)) {
4358
4914
  if (!n(o)) continue;
4359
4915
  a++;
4360
- let e = o.getAttribute(_a);
4916
+ let e = o.getAttribute(Qa);
4361
4917
  if (e && new URL(e, r).href === i) throw new B(`SourceMarkup.checkNesting(): ${t} includes itself; point \`source\` elsewhere`, { cause: { kind: "render" } });
4362
4918
  }
4363
4919
  if (a >= 8) throw new B(`SourceMarkup.checkNesting(): ${t} is nested more than 8 sources deep; look for a cycle`, { cause: { kind: "render" } });
@@ -4367,19 +4923,19 @@ var Lo = Z, Ro = {
4367
4923
  if (t?.nodeType === _.element) return t;
4368
4924
  if (t?.nodeType === _.documentFragment) return t.host;
4369
4925
  }
4370
- }, Bo, Vo, Ho, Uo, Wo, Go = [state], Q, Ko, qo, Jo, Yo;
4371
- Wo = [state], Uo = [state], Ho = [state], Vo = [untracked], Bo = [untracked];
4926
+ }, ws, Ts, Es, Ds, Os, ks = [state], Q, As, js, Ms, Ns;
4927
+ Os = [state], Ds = [state], Es = [state], Ts = [untracked], ws = [untracked];
4372
4928
  var $ = class _LoadableBody {
4373
4929
  constructor(e) {
4374
- __runInitializers(Q, 5, this), __privateAdd(this, Ko, __runInitializers(Q, 8, this, U.idle)), __runInitializers(Q, 11, this), __privateAdd(this, qo, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, Jo, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, Yo, __runInitializers(Q, 20, this, !1)), __runInitializers(Q, 23, this), __publicField(this, "owner"), __publicField(this, "pending"), __publicField(this, "pendingKey"), __publicField(this, "generation", 0), __publicField(this, "inserted", []), this.owner = e;
4930
+ __runInitializers(Q, 5, this), __privateAdd(this, As, __runInitializers(Q, 8, this, W.idle)), __runInitializers(Q, 11, this), __privateAdd(this, js, __runInitializers(Q, 12, this, !1)), __runInitializers(Q, 15, this), __privateAdd(this, Ms, __runInitializers(Q, 16, this)), __runInitializers(Q, 19, this), __privateAdd(this, Ns, __runInitializers(Q, 20, this, !1)), __runInitializers(Q, 23, this), __publicField(this, "owner"), __publicField(this, "pending"), __publicField(this, "pendingKey"), __publicField(this, "generation", 0), __publicField(this, "aborter"), __publicField(this, "inserted", []), this.owner = e;
4375
4931
  }
4376
4932
  get isVeiled() {
4377
4933
  if (this.hasShownABody) return !1;
4378
4934
  let e = this.loadStatus;
4379
- return (e === U.idle || e === U.loading) && !this.isOverdue;
4935
+ return (e === W.idle || e === W.loading) && !this.isOverdue;
4380
4936
  }
4381
4937
  get isBusy() {
4382
- return this.loadStatus === U.loading && this.isOverdue;
4938
+ return this.loadStatus === W.loading && this.isOverdue;
4383
4939
  }
4384
4940
  load() {
4385
4941
  let e = this.owner.source();
@@ -4401,7 +4957,7 @@ var $ = class _LoadableBody {
4401
4957
  }
4402
4958
  start(e) {
4403
4959
  let t = ++this.generation;
4404
- this.pendingKey = _LoadableBody.key(e.source, e.select), this.loadStatus = U.loading, this.loadError = void 0, this.owner.send(W.loading, { source: e.source }), this.isOverdue = !1;
4960
+ this.pendingKey = _LoadableBody.key(e.source, e.select), this.loadStatus = W.loading, this.loadError = void 0, this.owner.send(G.loading, { source: e.source }), this.isOverdue = !1;
4405
4961
  let n = after(300 / 1e3, () => {
4406
4962
  t === this.generation && (this.isOverdue = !0);
4407
4963
  }), r = this.fetch(e, t).finally(() => n.cancel());
@@ -4412,22 +4968,28 @@ var $ = class _LoadableBody {
4412
4968
  async fetch({ source: e, select: t, fresh: n }, r) {
4413
4969
  let { domElement: i } = this.owner;
4414
4970
  try {
4415
- zo.checkNesting(i, e, (e) => e.hasAttribute(_a));
4416
- let a = await (await V.load()).sources.load(e, { fresh: n });
4971
+ Cs.checkNesting(i, e, (e) => e.hasAttribute(Qa));
4972
+ let a = await this.textOf(e, n);
4417
4973
  if (r !== this.generation) return;
4418
- this.insert(zo.parse(a.text, {
4974
+ this.insert(Cs.parse(a, {
4419
4975
  page: i.ownerDocument,
4420
4976
  source: e,
4421
4977
  select: t
4422
- })), this.loadStatus = U.loaded, this.owner.send(W.loaded, {
4978
+ })), this.loadStatus = W.loaded, this.owner.send(G.loaded, {
4423
4979
  source: e,
4424
- content: a.text
4980
+ content: a
4425
4981
  });
4426
4982
  } catch (t) {
4427
4983
  if (r !== this.generation) return;
4428
4984
  throw this.fail(e, t), t;
4429
4985
  }
4430
4986
  }
4987
+ async textOf(e, t) {
4988
+ return this.aborter?.abort(), this.aborter = new AbortController(), this.owner.loadText?.(e, {
4989
+ fresh: t,
4990
+ signal: this.aborter.signal
4991
+ }) || (await (await V.load()).sources.load(e, { fresh: t })).text;
4992
+ }
4431
4993
  insert(e) {
4432
4994
  let t = this.owner.target();
4433
4995
  for (let e of this.inserted) e.remove();
@@ -4436,8 +4998,8 @@ var $ = class _LoadableBody {
4436
4998
  }
4437
4999
  fail(e, t) {
4438
5000
  let n = B.kindFor(t, "load");
4439
- this.loadStatus = U.error;
4440
- let r = this.owner.send(W.error, {
5001
+ this.loadStatus = W.error;
5002
+ let r = this.owner.send(G.error, {
4441
5003
  kind: n,
4442
5004
  source: e,
4443
5005
  error: t
@@ -4454,97 +5016,103 @@ var $ = class _LoadableBody {
4454
5016
  return !(e.nodeType === _.element && e.hasAttribute("slot"));
4455
5017
  }
4456
5018
  };
4457
- Q = __decoratorStart(null), Ko = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), Jo = /* @__PURE__ */ new WeakMap(), Yo = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", Go, $, Ko), __decorateElement(Q, 4, "isOverdue", Wo, $, qo), __decorateElement(Q, 4, "loadError", Uo, $, Jo), __decorateElement(Q, 4, "hasShownABody", Ho, $, Yo), __decorateElement(Q, 1, "load", Vo, $), __decorateElement(Q, 1, "reload", Bo, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
4458
- var Xo = $, DOMLoadableBodyElement = class extends w {
5019
+ Q = __decoratorStart(null), As = /* @__PURE__ */ new WeakMap(), js = /* @__PURE__ */ new WeakMap(), Ms = /* @__PURE__ */ new WeakMap(), Ns = /* @__PURE__ */ new WeakMap(), __decorateElement(Q, 4, "loadStatus", ks, $, As), __decorateElement(Q, 4, "isOverdue", Os, $, js), __decorateElement(Q, 4, "loadError", Ds, $, Ms), __decorateElement(Q, 4, "hasShownABody", Es, $, Ns), __decorateElement(Q, 1, "load", Ts, $), __decorateElement(Q, 1, "reload", ws, $), __decoratorMetadata(Q, $), __name($, "LoadableBody");
5020
+ var Ps = $, DOMLoadableBodyElement = class extends w {
4459
5021
  load() {
4460
5022
  return this.component?.loadBody() ?? Promise.resolve();
4461
5023
  }
4462
5024
  reload() {
4463
5025
  return this.component?.reloadBody() ?? Promise.resolve();
4464
5026
  }
4465
- }, Zo = /* @__PURE__ */ e({
4466
- APP_STYLESHEET_ID: () => Ji,
5027
+ }, Fs = /* @__PURE__ */ e({
5028
+ APP_STYLESHEET_ID: () => wa,
4467
5029
  ATTRIBUTE_GROUPS: () => Ce,
4468
- AnimationNames: () => Xi,
5030
+ AddressParameter: () => Uo,
5031
+ AnimationNames: () => Ea,
4469
5032
  ApiError: () => ApiError,
4470
5033
  AriaNames: () => we,
4471
- BuiltInIconPacks: () => Ma,
4472
- BuiltInPacks: () => za,
4473
- CODE_LANGUAGES_EVENT: () => ea,
5034
+ BuiltInIconPacks: () => go,
5035
+ BuiltInPacks: () => Co,
5036
+ CODE_LANGUAGES_EVENT: () => Aa,
4474
5037
  Cell: () => Cell,
4475
- ClassBuilder: () => aa,
4476
- ClipboardCopy: () => so,
5038
+ ClassBuilder: () => Fa,
5039
+ ClipboardCopy: () => Vo,
4477
5040
  CloseButton: () => CloseButton,
4478
5041
  Converters: () => N,
4479
- CssDisplay: () => Gi,
4480
- DEFAULT_ICON_PACK: () => Na,
5042
+ CssDisplay: () => xa,
5043
+ DEFAULT_ICON_PACK: () => _o,
4481
5044
  DOMElement: () => w,
4482
5045
  DOMLoadableBodyElement: () => DOMLoadableBodyElement,
4483
- DOMLoadableElement: () => uo,
4484
- Disclosure: () => sn,
4485
- E: () => Zo,
4486
- EN_STRINGS: () => Zi,
5046
+ DOMLoadableElement: () => qo,
5047
+ DefaultValues: () => fa,
5048
+ Disclosure: () => yn,
5049
+ E: () => Fs,
5050
+ EN_STRINGS: () => Da,
4487
5051
  ERRORED_STATE: () => Ee,
4488
5052
  ERROR_EVENT: () => Te,
4489
5053
  ElementDefinition: () => Re,
4490
- ICON_PACK_INDEX: () => Pa,
5054
+ ICON_PACK_INDEX: () => vo,
4491
5055
  ICON_PREFIX_SEPARATOR: () => ":",
4492
- IconGlyph: () => eo,
4493
- IconName: () => Ia,
4494
- LAYER_ORDER: () => Wi,
4495
- LoadOnce: () => gn,
4496
- LoadableBody: () => Xo,
4497
- LoadableComponent: () => Lo,
5056
+ IconGlyph: () => Po,
5057
+ IconName: () => bo,
5058
+ LAYER_ORDER: () => ba,
5059
+ ListSelection: () => ListSelection,
5060
+ LoadOnce: () => Ln,
5061
+ LoadableBody: () => Ps,
5062
+ LoadableComponent: () => bs,
4498
5063
  MAX_DEPTH: () => 8,
4499
- MenuSearchFields: () => ca,
5064
+ MenuSearchFields: () => Ua,
5065
+ MoveAndResize: () => En,
4500
5066
  NO_ANIMATION: () => v,
4501
- NativeFallback: () => Da,
5067
+ NativeFallback: () => co,
4502
5068
  NodeType: () => _,
4503
- ORIGINAL_PREFIX: () => pa,
5069
+ ORIGINAL_PREFIX: () => Ja,
4504
5070
  OwnControls: () => OwnControls,
4505
- OwnerContext: () => Ze,
4506
- PAGE_SCOPE: () => Ki,
4507
- ParentLink: () => mn,
4508
- PartComponent: () => Ga,
5071
+ OwnerContext: () => $e,
5072
+ PAGE_SCOPE: () => Sa,
5073
+ ParentLink: () => Nn,
5074
+ PartComponent: () => ko,
4509
5075
  PartContext: () => D,
4510
5076
  PopoverPanel: () => PopoverPanel,
4511
5077
  Queued: () => Queued,
4512
5078
  RUNTIME_KEY: () => z,
4513
- RUNTIME_VERSION: () => Ui,
4514
- RangeMeasures: () => sa,
5079
+ RUNTIME_VERSION: () => ya,
5080
+ RangeMeasures: () => Ha,
4515
5081
  Reactive: () => b,
4516
- RootSettings: () => Ya,
4517
- SCROLL_LOCK_CLASS: () => qi,
4518
- SOURCE_ATTRIBUTE: () => _a,
5082
+ RootSettings: () => za,
5083
+ SCROLL_LOCK_CLASS: () => Ca,
5084
+ SOURCE_ATTRIBUTE: () => Qa,
4519
5085
  SOURCE_BODY_HOLD_MS: () => 300,
4520
- SOURCE_FAILURE_KEYS: () => ha,
4521
- SOURCE_LOADER_TAG: () => la,
4522
- SOURCE_MESSAGE_TAG: () => ua,
4523
- STICKY_MAX_RESERVE: () => ba,
4524
- STICKY_SCROLLING: () => ya,
4525
- STICKY_SLACK: () => xa,
5086
+ SOURCE_FAILURE_KEYS: () => Xa,
5087
+ SOURCE_LOADER_TAG: () => Wa,
5088
+ SOURCE_MESSAGE_TAG: () => Ga,
5089
+ STICKY_MAX_RESERVE: () => to,
5090
+ STICKY_SCROLLING: () => eo,
5091
+ STICKY_SLACK: () => no,
4526
5092
  SharedVocabulary: () => I,
4527
- Shorthand: () => Sa,
4528
- SlotContent: () => en,
5093
+ Shorthand: () => ro,
5094
+ SlotContent: () => mn,
4529
5095
  SourceError: () => B,
4530
- SourceErrorKinds: () => $i,
4531
- SourceEvent: () => W,
4532
- SourceMarkup: () => zo,
4533
- SourceStatus: () => U,
5096
+ SourceErrorKinds: () => ka,
5097
+ SourceEvent: () => G,
5098
+ SourceMarkup: () => Cs,
5099
+ SourceStatus: () => W,
4534
5100
  SpellSolid: () => y,
4535
- StickyWatch: () => Aa,
4536
- StickyWatchEdges: () => va,
4537
- TEMPORAL_POLYFILL: () => Qi,
5101
+ StaleCatalogError: () => StaleCatalogError,
5102
+ StickyWatch: () => fo,
5103
+ StickyWatchEdges: () => $a,
5104
+ TEMPORAL_POLYFILL: () => Oa,
5105
+ TopLayerTip: () => Pn,
4538
5106
  UI: () => V,
4539
- UIComponent: () => Rt,
4540
- UIT: () => zn,
4541
- URL_ATTRIBUTES: () => da,
4542
- URL_SELECTOR: () => fa,
4543
- UTILITIES_SHEET: () => Yi,
5107
+ UIComponent: () => Wt,
5108
+ UIT: () => or,
5109
+ URL_ATTRIBUTES: () => Ka,
5110
+ URL_SELECTOR: () => qa,
5111
+ UTILITIES_SHEET: () => Ta,
4544
5112
  ValueSets: () => M,
4545
- VisibilityDirection: () => ta,
4546
- Vocabulary: () => zi,
4547
- WHITESPACE: () => oa,
5113
+ VisibilityDirection: () => ja,
5114
+ Vocabulary: () => la,
5115
+ WHITESPACE: () => Va,
4548
5116
  Warnings: () => Warnings,
4549
5117
  after: () => after,
4550
5118
  afterSolidUpdate: () => afterSolidUpdate,
@@ -4576,6 +5144,7 @@ var Xo = $, DOMLoadableBodyElement = class extends w {
4576
5144
  kb: () => kb,
4577
5145
  kebabCase: () => kebabCase,
4578
5146
  lazy: () => lazy,
5147
+ letNodeEnd: () => letNodeEnd,
4579
5148
  levenshtein: () => levenshtein,
4580
5149
  loadUI: () => load,
4581
5150
  markedPieces: () => markedPieces,
@@ -4589,6 +5158,8 @@ var Xo = $, DOMLoadableBodyElement = class extends w {
4589
5158
  resets: () => resets,
4590
5159
  scrollByRow: () => scrollByRow,
4591
5160
  scrollEnds: () => scrollEnds,
5161
+ scrollIntoSight: () => scrollIntoSight,
5162
+ scrollingBoxFor: () => scrollingBoxFor,
4592
5163
  slug: () => slug,
4593
5164
  soon: () => soon,
4594
5165
  state: () => state,
@@ -4602,6 +5173,6 @@ var Xo = $, DOMLoadableBodyElement = class extends w {
4602
5173
  withoutAccents: () => withoutAccents
4603
5174
  });
4604
5175
  //#endregion
4605
- export { qn as $, Zr as A, Ji as APP_STYLESHEET_ID, Ce as ATTRIBUTE_GROUPS, Xi as AnimationNames, ApiError, we as AriaNames, xr as At, ModalActions as B, __publicField as Bt, Ma as BuiltInIconPacks, za as BuiltInPacks, pi as C, ea as CODE_LANGUAGES_EVENT, Cell, aa as ClassBuilder, so as ClipboardCopy, CloseButton, N as Converters, Gi as CssDisplay, ki as Ct, qr as D, Na as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, uo as DOMLoadableElement, sn as Disclosure, ThemeNames as Dt, Zo as E, Zi as EN_STRINGS, Ee as ERRORED_STATE, Te as ERROR_EVENT, Re as ElementDefinition, Ei as Et, Nr as F, __decorateElement as Ft, P as G, nr as H, ti as I, Pa as ICON_PACK_INDEX, Fa as ICON_PREFIX_SEPARATOR, eo as IconGlyph, Ia as IconName, __decoratorMetadata as It, ui as J, sr as K, Lr as L, Wi as LAYER_ORDER, gn as LoadOnce, Xo as LoadableBody, Lo as LoadableComponent, __decoratorStart as Lt, $r as M, ma as MAX_DEPTH, ca as MenuSearchFields, ci as Mt, ei as N, v as NO_ANIMATION, Da as NativeFallback, _ as NodeType, di as Nt, Jr as O, pa as ORIGINAL_PREFIX, Mi as Ot, OwnControls, Ze as OwnerContext, er as P, Ki as PAGE_SCOPE, mn as ParentLink, Ga as PartComponent, D as PartContext, PopoverPanel, WordWidthClasses as Pt, Kn as Q, Queued, ni as R, z as RUNTIME_KEY, Ui as RUNTIME_VERSION, sa as RangeMeasures, b as Reactive, Ya as RootSettings, __name as Rt, gr as S, qi as SCROLL_LOCK_CLASS, _a as SOURCE_ATTRIBUTE, ga as SOURCE_BODY_HOLD_MS, ha as SOURCE_FAILURE_KEYS, la as SOURCE_LOADER_TAG, ua as SOURCE_MESSAGE_TAG, ba as STICKY_MAX_RESERVE, ya as STICKY_SCROLLING, xa as STICKY_SLACK, I as SharedVocabulary, Sa as Shorthand, en as SlotContent, B as SourceError, $i as SourceErrorKinds, W as SourceEvent, zo as SourceMarkup, U as SourceStatus, y as SpellSolid, Oi as St, Aa as StickyWatch, va as StickyWatchEdges, li as T, Qi as TEMPORAL_POLYFILL, Ai as Tt, Tr as U, V as UI, Rt as UIComponent, zn as UIT, da as URL_ATTRIBUTES, fa as URL_SELECTOR, Yi as UTILITIES_SHEET, fr as V, M as ValueSets, ta as VisibilityDirection, zi as Vocabulary, __runInitializers as Vt, Gn as W, oa as WHITESPACE, Warnings, wr as X, Vr as Y, Xn as Z, ir as _, Yn as _t, yr as a, after, afterSolidUpdate, answerOf, aria, gi as at, mr as b, beforeNextPaint, ri as bt, byDocumentOrder, Gr as c, camelCase, clamp, closestAcrossShadow, controlled, copyText, cssState, wi as ct, ji as d, dedent, derived, bi as dt, escapeHTML, escapeRegExp, F as et, every, Kr as f, fetchOk, fetchText, flatParentFor, forget, vi as ft, Pr as g, getSuperHierarchy, StackClasses as gt, Br as h, hasDescriptor, hasOwnProp, Qn as ht, Yr as i, indented, isBrowser, isSameList, kr as it, Qr as j, Ur as jt, HeadingLevels as k, kb, kebabCase, Sr as kt, tr as l, lazy, levenshtein, load as loadUI, Ti as lt, fi as m, markedPieces, xi as mt, zr as n, nextFrame, Mr as nt, numberToWord, ii as o, on, onChange, once, Si as ot, Xr as p, proto, protoMerged, yi as pt, Er as q, Hr as r, resets, Ar as rt, Rr as s, scrollByRow, scrollEnds, slug, soon, Ci as st, state, suggest, Ba as t, lr as tt, Ir as u, untracked, _i as ut, ai as v, or as vt, mi as w, waitUntil, watches, whenDefined, whileConnected, within, withoutAccents, Di as wt, hr as x, Wr as xt, Bn as y, ar as yt, $n as z, __privateAdd as zt };
5176
+ export { pr as $, bi as A, wa as APP_STYLESHEET_ID, Ce as ATTRIBUTE_GROUPS, Uo as AddressParameter, Ea as AnimationNames, ApiError, we as AriaNames, na as At, ModalActions as B, __name as Bt, go as BuiltInIconPacks, Co as BuiltInPacks, Ii as C, Aa as CODE_LANGUAGES_EVENT, Cell, Fa as ClassBuilder, Vo as ClipboardCopy, CloseButton, N as Converters, xa as CssDisplay, pi as Ct, gi as D, _o as DEFAULT_ICON_PACK, w as DOMElement, DOMLoadableBodyElement, qo as DOMLoadableElement, fa as DefaultValues, yn as Disclosure, $i as Dt, Fs as E, Da as EN_STRINGS, Ee as ERRORED_STATE, Te as ERROR_EVENT, Re as ElementDefinition, Xi as Et, ni as F, Pi as Ft, P as G, Cr as H, __publicField as Ht, wi as I, vo as ICON_PACK_INDEX, yo as ICON_PREFIX_SEPARATOR, Po as IconGlyph, bo as IconName, WordWidthClasses as It, Yr as J, kr as K, oi as L, ba as LAYER_ORDER, ListSelection, Ln as LoadOnce, Ps as LoadableBody, bs as LoadableComponent, __decorateElement as Lt, Si as M, Ya as MAX_DEPTH, Ua as MenuSearchFields, En as MoveAndResize, Wr as Mt, Ci as N, v as NO_ANIMATION, co as NativeFallback, _ as NodeType, fi as Nt, _i as O, Ja as ORIGINAL_PREFIX, Yi as Ot, OwnControls, $e as OwnerContext, xr as P, Sa as PAGE_SCOPE, Nn as ParentLink, ko as PartComponent, D as PartContext, PopoverPanel, ji as Pt, _r as Q, Queued, Ti as R, z as RUNTIME_KEY, ya as RUNTIME_VERSION, Ha as RangeMeasures, b as Reactive, za as RootSettings, __decoratorMetadata as Rt, zr as S, Ca as SCROLL_LOCK_CLASS, Qa as SOURCE_ATTRIBUTE, Za as SOURCE_BODY_HOLD_MS, Xa as SOURCE_FAILURE_KEYS, Wa as SOURCE_LOADER_TAG, Ga as SOURCE_MESSAGE_TAG, to as STICKY_MAX_RESERVE, eo as STICKY_SCROLLING, no as STICKY_SLACK, I as SharedVocabulary, ro as Shorthand, mn as SlotContent, B as SourceError, ka as SourceErrorKinds, G as SourceEvent, Cs as SourceMarkup, W as SourceStatus, y as SpellSolid, ea as St, StaleCatalogError, fo as StickyWatch, $a as StickyWatchEdges, Mi as T, Oa as TEMPORAL_POLYFILL, Pn as TopLayerTip, Qi as Tt, Jr as U, V as UI, Wt as UIComponent, or as UIT, Ka as URL_ATTRIBUTES, qa as URL_SELECTOR, Ta as UTILITIES_SHEET, __runInitializers as Ut, Pr as V, M as ValueSets, ja as VisibilityDirection, la as Vocabulary, __privateAdd as Vt, fr as W, Va as WHITESPACE, Warnings, ui as X, Ni as Y, qr as Z, Tr as _, StackClasses as _t, Hr as a, after, afterSolidUpdate, answerOf, aria, Qr as at, Lr as b, beforeNextPaint, Dr as bt, byDocumentOrder, mi as c, camelCase, clamp, closestAcrossShadow, controlled, copyText, cssState, Ki as ct, ta as d, dedent, derived, Bi as dt, escapeHTML, escapeRegExp, mr as et, every, hi as f, fetchOk, fetchText, flatParentFor, forget, Ui as ft, ri as g, getSuperHierarchy, yr as gt, li as h, hasDescriptor, hasOwnProp, Wi as ht, vi as i, indented, isBrowser, isSameList, $r as it, xi as j, Gr as jt, HeadingLevels as k, kb, kebabCase, ThemeNames as kt, Sr as l, lazy, letNodeEnd, levenshtein, load as loadUI, qi as lt, Fi as m, markedPieces, Hi as mt, ci as n, nextFrame, jr as nt, numberToWord, Di as o, on, onChange, once, zi as ot, yi as p, proto, protoMerged, Vi as pt, Ir as q, di as r, resets, ti as rt, si as s, scrollByRow, scrollEnds, scrollIntoSight, scrollingBoxFor, slug, soon, Gi as st, state, suggest, wo as t, F as tt, ai as u, untracked, Ji as ut, Oi as v, gr as vt, Li as w, waitUntil, watches, whenDefined, whileConnected, within, withoutAccents, Zi as wt, Rr as x, Ei as xt, sr as y, Or as yt, br as z, __decoratorStart as zt };
4606
5177
 
4607
5178
  //# sourceMappingURL=core.js.map