@uva-glass/component-library 3.55.0 → 3.55.2

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 (923) hide show
  1. package/dist/Accordion-BpnBHYIx.js +69 -0
  2. package/dist/Accordion-BpnBHYIx.js.map +1 -0
  3. package/dist/AccordionCard-BXy-plB7.js +43 -0
  4. package/dist/AccordionCard-BXy-plB7.js.map +1 -0
  5. package/dist/ActionList-O9w1hqNg.js +95 -0
  6. package/dist/ActionList-O9w1hqNg.js.map +1 -0
  7. package/dist/AddCatalogueLinkForm-Cy6fPNvN.js +117 -0
  8. package/dist/AddCatalogueLinkForm-Cy6fPNvN.js.map +1 -0
  9. package/dist/AppStatusBar-Bca0KFDR.js +20 -0
  10. package/dist/AppStatusBar-Bca0KFDR.js.map +1 -0
  11. package/dist/Attention-Bq5UU9I8.js +13 -0
  12. package/dist/Attention-Bq5UU9I8.js.map +1 -0
  13. package/dist/Backdrop-D8AHeuBn.js +10 -0
  14. package/dist/Backdrop-D8AHeuBn.js.map +1 -0
  15. package/dist/Button.module-DJlNwQUj.js +16 -0
  16. package/dist/Button.module-DJlNwQUj.js.map +1 -0
  17. package/dist/ButtonGroup-DR80lTLz.js +21 -0
  18. package/dist/ButtonGroup-DR80lTLz.js.map +1 -0
  19. package/dist/Card-DMFyuTmy.js +32 -0
  20. package/dist/Card-DMFyuTmy.js.map +1 -0
  21. package/dist/Checkbox-D6-b_4dC.js +12 -0
  22. package/dist/Checkbox-D6-b_4dC.js.map +1 -0
  23. package/dist/CheckboxButtonBar-CalU0IYK.js +79 -0
  24. package/dist/CheckboxButtonBar-CalU0IYK.js.map +1 -0
  25. package/dist/Chip-DJHvFToV.js +22 -0
  26. package/dist/Chip-DJHvFToV.js.map +1 -0
  27. package/dist/ClipboardButton-geHjMl2J.js +43 -0
  28. package/dist/ClipboardButton-geHjMl2J.js.map +1 -0
  29. package/dist/Column-BwKEOOuL.js +84 -0
  30. package/dist/Column-BwKEOOuL.js.map +1 -0
  31. package/dist/Container-BLjtYDqq.js +31 -0
  32. package/dist/Container-BLjtYDqq.js.map +1 -0
  33. package/dist/ControlsButton-zemVxTlg.js +64 -0
  34. package/dist/ControlsButton-zemVxTlg.js.map +1 -0
  35. package/dist/CopyableText-DkyhZ6wk.js +57 -0
  36. package/dist/CopyableText-DkyhZ6wk.js.map +1 -0
  37. package/dist/Drawer-Ggofac6y.js +77 -0
  38. package/dist/Drawer-Ggofac6y.js.map +1 -0
  39. package/dist/EmptyStateDataDisplay-D0QiI8nE.js +46 -0
  40. package/dist/EmptyStateDataDisplay-D0QiI8nE.js.map +1 -0
  41. package/dist/ExpandableInfoPanel-CnBVVNlJ.js +58 -0
  42. package/dist/ExpandableInfoPanel-CnBVVNlJ.js.map +1 -0
  43. package/dist/FeedbackBar-ByKp32HE.js +43 -0
  44. package/dist/FeedbackBar-ByKp32HE.js.map +1 -0
  45. package/dist/FeedbackBox-Bu7uB9DP.js +29 -0
  46. package/dist/FeedbackBox-Bu7uB9DP.js.map +1 -0
  47. package/dist/FieldHint-D0HtbTnt.js +16 -0
  48. package/dist/FieldHint-D0HtbTnt.js.map +1 -0
  49. package/dist/Fieldset-CoNu_Owa.js +23 -0
  50. package/dist/Fieldset-CoNu_Owa.js.map +1 -0
  51. package/dist/Flyout-DEpzfZOC.js +18 -0
  52. package/dist/Flyout-DEpzfZOC.js.map +1 -0
  53. package/dist/FormField-BZSoQdp9.js +21 -0
  54. package/dist/FormField-BZSoQdp9.js.map +1 -0
  55. package/dist/HorizontalList-C22DaDz-.js +20 -0
  56. package/dist/HorizontalList-C22DaDz-.js.map +1 -0
  57. package/dist/IconButton-CWCMH9uf.js +24 -0
  58. package/dist/IconButton-CWCMH9uf.js.map +1 -0
  59. package/dist/InfoBanner-DyznQLGr.js +13 -0
  60. package/dist/InfoBanner-DyznQLGr.js.map +1 -0
  61. package/dist/InfoMessage-I-VlwxVc.js +19 -0
  62. package/dist/InfoMessage-I-VlwxVc.js.map +1 -0
  63. package/dist/Input-Bn-arMaC.js +25 -0
  64. package/dist/Input-Bn-arMaC.js.map +1 -0
  65. package/dist/InputField-BWAy19w9.js +51 -0
  66. package/dist/InputField-BWAy19w9.js.map +1 -0
  67. package/dist/Label-o0BcWTUS.js +21 -0
  68. package/dist/Label-o0BcWTUS.js.map +1 -0
  69. package/dist/Lexical.prod-DCGjHGxG.js +5235 -0
  70. package/dist/Lexical.prod-DCGjHGxG.js.map +1 -0
  71. package/dist/LexicalClipboard.prod-CGG14aoP.js +248 -0
  72. package/dist/LexicalClipboard.prod-CGG14aoP.js.map +1 -0
  73. package/dist/LexicalComposerContext.prod-Ca-YN_fj.js +22 -0
  74. package/dist/LexicalComposerContext.prod-Ca-YN_fj.js.map +1 -0
  75. package/dist/LexicalExtension.prod-DWt1IjPF.js +854 -0
  76. package/dist/LexicalExtension.prod-DWt1IjPF.js.map +1 -0
  77. package/dist/LexicalLink.prod-Dy1gE75H.js +665 -0
  78. package/dist/LexicalLink.prod-Dy1gE75H.js.map +1 -0
  79. package/dist/LexicalList.prod-D9R0L7cu.js +760 -0
  80. package/dist/LexicalList.prod-D9R0L7cu.js.map +1 -0
  81. package/dist/LexicalTable.prod-C2FP47Lm.js +1991 -0
  82. package/dist/LexicalTable.prod-C2FP47Lm.js.map +1 -0
  83. package/dist/LexicalUtils.prod-BzrjMu6t.js +242 -0
  84. package/dist/LexicalUtils.prod-BzrjMu6t.js.map +1 -0
  85. package/dist/LinkContextMenu-DZlKfbg1.js +101 -0
  86. package/dist/LinkContextMenu-DZlKfbg1.js.map +1 -0
  87. package/dist/MenuLink-Cm1yZO_5.js +21 -0
  88. package/dist/MenuLink-Cm1yZO_5.js.map +1 -0
  89. package/dist/MetaDataBar-C4QO9oBV.js +23 -0
  90. package/dist/MetaDataBar-C4QO9oBV.js.map +1 -0
  91. package/dist/MetaDataList-CAR1HTYs.js +24 -0
  92. package/dist/MetaDataList-CAR1HTYs.js.map +1 -0
  93. package/dist/ModalDialog-HUkDdAJ-.js +114 -0
  94. package/dist/ModalDialog-HUkDdAJ-.js.map +1 -0
  95. package/dist/MultiSelectBox-Cuh_o-A1.js +189 -0
  96. package/dist/MultiSelectBox-Cuh_o-A1.js.map +1 -0
  97. package/dist/MultiSelectItem-BF5xRjz5.js +36 -0
  98. package/dist/MultiSelectItem-BF5xRjz5.js.map +1 -0
  99. package/dist/Notification-CIhsHuF0.js +68 -0
  100. package/dist/Notification-CIhsHuF0.js.map +1 -0
  101. package/dist/OverlayCloseButton-rttFbAM_.js +22 -0
  102. package/dist/OverlayCloseButton-rttFbAM_.js.map +1 -0
  103. package/dist/OverlayStepBar-CjaoYdsh.js +45 -0
  104. package/dist/OverlayStepBar-CjaoYdsh.js.map +1 -0
  105. package/dist/PageOverlay-D_wG2oie.js +108 -0
  106. package/dist/PageOverlay-D_wG2oie.js.map +1 -0
  107. package/dist/PasteHandlerPlugin-DUdocSHB.js +235 -0
  108. package/dist/PasteHandlerPlugin-DUdocSHB.js.map +1 -0
  109. package/dist/Periods-BYETtB6R.js +40 -0
  110. package/dist/Periods-BYETtB6R.js.map +1 -0
  111. package/dist/ProgrammeCard-76gG7ksx.js +27 -0
  112. package/dist/ProgrammeCard-76gG7ksx.js.map +1 -0
  113. package/dist/RadioButton-Bto2p5B9.js +35 -0
  114. package/dist/RadioButton-Bto2p5B9.js.map +1 -0
  115. package/dist/RadioGroup-JeTjVp5B.js +50 -0
  116. package/dist/RadioGroup-JeTjVp5B.js.map +1 -0
  117. package/dist/Repeater-BhkTEUai.js +22 -0
  118. package/dist/Repeater-BhkTEUai.js.map +1 -0
  119. package/dist/RteEditor.module-Jk80F1FA.js +42 -0
  120. package/dist/RteEditor.module-Jk80F1FA.js.map +1 -0
  121. package/dist/SearchField.module-BgxjHaPG.js +19 -0
  122. package/dist/SearchField.module-BgxjHaPG.js.map +1 -0
  123. package/dist/SectionNotification-CQqwPTqP.js +14 -0
  124. package/dist/SectionNotification-CQqwPTqP.js.map +1 -0
  125. package/dist/SelectListbox.module-HaPs1CLD.js +30 -0
  126. package/dist/SelectListbox.module-HaPs1CLD.js.map +1 -0
  127. package/dist/Slider-BlLyrET9.js +102 -0
  128. package/dist/Slider-BlLyrET9.js.map +1 -0
  129. package/dist/Sortable.module-BTUOSbOU.js +27 -0
  130. package/dist/Sortable.module-BTUOSbOU.js.map +1 -0
  131. package/dist/SortableProvider-Dc7hwkb5.js +147 -0
  132. package/dist/SortableProvider-Dc7hwkb5.js.map +1 -0
  133. package/dist/Spinner-D8tWqg9j.js +31 -0
  134. package/dist/Spinner-D8tWqg9j.js.map +1 -0
  135. package/dist/StatusBage-DQDOF5-U.js +13 -0
  136. package/dist/StatusBage-DQDOF5-U.js.map +1 -0
  137. package/dist/StatusPill-DM7n3I4W.js +30 -0
  138. package/dist/StatusPill-DM7n3I4W.js.map +1 -0
  139. package/dist/TableCellContextMenu-D0IMQr3E.js +119 -0
  140. package/dist/TableCellContextMenu-D0IMQr3E.js.map +1 -0
  141. package/dist/TableCellResizerPlugin-BGolbi44.js +208 -0
  142. package/dist/TableCellResizerPlugin-BGolbi44.js.map +1 -0
  143. package/dist/TextArea-DqKIpOfT.js +68 -0
  144. package/dist/TextArea-DqKIpOfT.js.map +1 -0
  145. package/dist/ToggleSwitch-C7z7JVtx.js +51 -0
  146. package/dist/ToggleSwitch-C7z7JVtx.js.map +1 -0
  147. package/dist/Tooltip-BzB3jznk.js +80 -0
  148. package/dist/Tooltip-BzB3jznk.js.map +1 -0
  149. package/dist/VarIndicator-C-GueOZD.js +50 -0
  150. package/dist/VarIndicator-C-GueOZD.js.map +1 -0
  151. package/dist/WeekSelector.module-BLPrVYgn.js +18 -0
  152. package/dist/WeekSelector.module-BLPrVYgn.js.map +1 -0
  153. package/dist/__mocks__/svgrMock.js +12 -9
  154. package/dist/__mocks__/svgrMock.js.map +1 -1
  155. package/dist/assets/Accordion.css +1 -1
  156. package/dist/assets/AccordionCard.css +1 -1
  157. package/dist/assets/ActionList.css +1 -1
  158. package/dist/assets/AddCatalogueLinkForm.css +1 -1
  159. package/dist/assets/AppStatusBar.css +1 -1
  160. package/dist/assets/Attention.css +1 -1
  161. package/dist/assets/Backdrop.css +1 -1
  162. package/dist/assets/Backdrop2.css +1 -1
  163. package/dist/assets/Button.css +1 -1
  164. package/dist/assets/ButtonGroup.css +1 -1
  165. package/dist/assets/Card.css +1 -1
  166. package/dist/assets/Checkbox.css +1 -1
  167. package/dist/assets/CheckboxButtonBar.css +1 -1
  168. package/dist/assets/Chip.css +1 -1
  169. package/dist/assets/ClipboardButton.css +1 -1
  170. package/dist/assets/Column.css +1 -1
  171. package/dist/assets/Container.css +1 -1
  172. package/dist/assets/ControlsButton.css +1 -1
  173. package/dist/assets/CopyableText.css +1 -1
  174. package/dist/assets/Drawer.css +1 -1
  175. package/dist/assets/EmptyStateDataDisplay.css +1 -1
  176. package/dist/assets/ExpandableInfoPanel.css +1 -1
  177. package/dist/assets/FeedbackBar.css +1 -1
  178. package/dist/assets/FeedbackBox.css +1 -1
  179. package/dist/assets/Fieldset.css +1 -1
  180. package/dist/assets/Flyout.css +1 -1
  181. package/dist/assets/FormField.css +1 -1
  182. package/dist/assets/GridRow.css +1 -1
  183. package/dist/assets/HorizontalList.css +1 -1
  184. package/dist/assets/Icon.css +1 -1
  185. package/dist/assets/IconButton.css +1 -1
  186. package/dist/assets/InfoBanner.css +1 -1
  187. package/dist/assets/InfoMessage.css +1 -1
  188. package/dist/assets/Input.css +1 -1
  189. package/dist/assets/InputField.css +1 -1
  190. package/dist/assets/Label.css +1 -1
  191. package/dist/assets/LinkContextMenu.css +1 -1
  192. package/dist/assets/MenuLink.css +1 -1
  193. package/dist/assets/MenuLink2.css +1 -1
  194. package/dist/assets/MetaDataBar.css +1 -1
  195. package/dist/assets/MetaDataList.css +1 -1
  196. package/dist/assets/ModalDialog.css +1 -1
  197. package/dist/assets/MultiSelectBox.css +1 -1
  198. package/dist/assets/MultiSelectItem.css +1 -1
  199. package/dist/assets/Notification.css +1 -1
  200. package/dist/assets/OverlayCloseButton.css +1 -1
  201. package/dist/assets/OverlayStepBar.css +1 -1
  202. package/dist/assets/PageOverlay.css +1 -1
  203. package/dist/assets/Periods.css +1 -1
  204. package/dist/assets/ProgrammeCard.css +1 -1
  205. package/dist/assets/RadioButton.css +1 -1
  206. package/dist/assets/RadioButton2.css +1 -1
  207. package/dist/assets/RadioGroup.css +1 -1
  208. package/dist/assets/RteEditor.css +1 -1
  209. package/dist/assets/SearchField.css +1 -1
  210. package/dist/assets/SectionNotification.css +1 -1
  211. package/dist/assets/SelectListbox.css +1 -1
  212. package/dist/assets/Slider.css +1 -1
  213. package/dist/assets/Sortable.css +1 -1
  214. package/dist/assets/Spinner.css +1 -1
  215. package/dist/assets/StatusBage.css +1 -1
  216. package/dist/assets/StatusPill.css +1 -1
  217. package/dist/assets/TableCellContextMenu.css +1 -1
  218. package/dist/assets/TextArea.css +1 -1
  219. package/dist/assets/ToggleSwitch.css +1 -1
  220. package/dist/assets/Tooltip.css +1 -1
  221. package/dist/assets/VarIndicator.css +1 -1
  222. package/dist/assets/WeekSelector.css +1 -1
  223. package/dist/assets/components.css +1 -0
  224. package/dist/chunk-DeC0fbbY.js +23 -0
  225. package/dist/chunk-OPOZOKLO-CXKdjnjn.js +8448 -0
  226. package/dist/chunk-OPOZOKLO-CXKdjnjn.js.map +1 -0
  227. package/dist/client-C0JVBgoR.js +18953 -0
  228. package/dist/client-C0JVBgoR.js.map +1 -0
  229. package/dist/clsx-BD2qMUU1.js +18 -0
  230. package/dist/clsx-BD2qMUU1.js.map +1 -0
  231. package/dist/components/Accordion/Accordion.js +2 -94
  232. package/dist/components/Accordion/Accordion.stories.js +30 -32
  233. package/dist/components/Accordion/Accordion.stories.js.map +1 -1
  234. package/dist/components/Accordion/Accordion.test.js +49 -27
  235. package/dist/components/Accordion/Accordion.test.js.map +1 -1
  236. package/dist/components/Accordion/index.js +2 -5
  237. package/dist/components/AccordionCard/AccordionCard.js +2 -58
  238. package/dist/components/AccordionCard/AccordionCard.stories.js +31 -32
  239. package/dist/components/AccordionCard/AccordionCard.stories.js.map +1 -1
  240. package/dist/components/AccordionCard/AccordionCard.test.js +54 -31
  241. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
  242. package/dist/components/AccordionCard/index.js +2 -5
  243. package/dist/components/ActionList/ActionList.js +2 -83
  244. package/dist/components/ActionList/ActionList.stories.js +49 -38
  245. package/dist/components/ActionList/ActionList.stories.js.map +1 -1
  246. package/dist/components/ActionList/ActionList.test.js +97 -57
  247. package/dist/components/ActionList/ActionList.test.js.map +1 -1
  248. package/dist/components/ActionList/index.js +2 -5
  249. package/dist/components/AppStatusBar/AppStatusBar.js +2 -13
  250. package/dist/components/AppStatusBar/AppStatusBar.stories.js +25 -26
  251. package/dist/components/AppStatusBar/AppStatusBar.stories.js.map +1 -1
  252. package/dist/components/AppStatusBar/AppStatusBar.test.js +17 -8
  253. package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
  254. package/dist/components/AppStatusBar/index.js +2 -5
  255. package/dist/components/Attention/Attention.js +2 -12
  256. package/dist/components/Attention/Attention.stories.js +18 -16
  257. package/dist/components/Attention/Attention.stories.js.map +1 -1
  258. package/dist/components/Attention/Attention.test.js +14 -8
  259. package/dist/components/Attention/Attention.test.js.map +1 -1
  260. package/dist/components/Attention/index.js +2 -5
  261. package/dist/components/Backdrop/Backdrop.js +2 -8
  262. package/dist/components/Backdrop/Backdrop.stories.js +32 -28
  263. package/dist/components/Backdrop/Backdrop.stories.js.map +1 -1
  264. package/dist/components/Backdrop/Backdrop.test.js +13 -7
  265. package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
  266. package/dist/components/Backdrop/index.js +2 -5
  267. package/dist/components/ButtonGroup/ButtonGroup.js +2 -26
  268. package/dist/components/ButtonGroup/ButtonGroup.stories.js +29 -39
  269. package/dist/components/ButtonGroup/ButtonGroup.stories.js.map +1 -1
  270. package/dist/components/ButtonGroup/index.js +2 -5
  271. package/dist/components/Buttons/Button.js +16 -22
  272. package/dist/components/Buttons/Button.js.map +1 -1
  273. package/dist/components/Buttons/Button.stories.js +43 -56
  274. package/dist/components/Buttons/Button.stories.js.map +1 -1
  275. package/dist/components/Buttons/Button.test.js +60 -33
  276. package/dist/components/Buttons/Button.test.js.map +1 -1
  277. package/dist/components/Buttons/LinkButton.js +14 -11
  278. package/dist/components/Buttons/LinkButton.js.map +1 -1
  279. package/dist/components/Buttons/LinkButton.stories.js +41 -57
  280. package/dist/components/Buttons/LinkButton.stories.js.map +1 -1
  281. package/dist/components/Buttons/LinkButton.test.js +71 -65
  282. package/dist/components/Buttons/LinkButton.test.js.map +1 -1
  283. package/dist/components/Buttons/MenuButton.js +18 -15
  284. package/dist/components/Buttons/MenuButton.js.map +1 -1
  285. package/dist/components/Buttons/MenuButton.stories.js +45 -61
  286. package/dist/components/Buttons/MenuButton.stories.js.map +1 -1
  287. package/dist/components/Buttons/MenuButton.test.js +70 -64
  288. package/dist/components/Buttons/MenuButton.test.js.map +1 -1
  289. package/dist/components/Buttons/index.js +4 -9
  290. package/dist/components/Card/Card.js +2 -39
  291. package/dist/components/Card/Card.stories.js +42 -49
  292. package/dist/components/Card/Card.stories.js.map +1 -1
  293. package/dist/components/Card/Card.test.js +14 -8
  294. package/dist/components/Card/Card.test.js.map +1 -1
  295. package/dist/components/Card/index.js +2 -5
  296. package/dist/components/Checkbox/Checkbox.js +2 -9
  297. package/dist/components/Checkbox/Checkbox.stories.js +44 -41
  298. package/dist/components/Checkbox/Checkbox.stories.js.map +1 -1
  299. package/dist/components/Checkbox/Checkbox.test.js +21 -15
  300. package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
  301. package/dist/components/Checkbox/index.js +2 -5
  302. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js +2 -114
  303. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +277 -310
  304. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js.map +1 -1
  305. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +71 -85
  306. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
  307. package/dist/components/CheckboxButtonBar/index.js +2 -5
  308. package/dist/components/CheckboxTree/CheckboxTree.js +3 -172
  309. package/dist/components/CheckboxTree/CheckboxTree.stories.js +89 -139
  310. package/dist/components/CheckboxTree/CheckboxTree.stories.js.map +1 -1
  311. package/dist/components/CheckboxTree/index.js +3 -5
  312. package/dist/components/Chip/Chip.js +2 -14
  313. package/dist/components/Chip/Chip.stories.js +24 -28
  314. package/dist/components/Chip/Chip.stories.js.map +1 -1
  315. package/dist/components/Chip/index.js +2 -5
  316. package/dist/components/ControlsButton/ControlsButton.js +2 -82
  317. package/dist/components/ControlsButton/ControlsButton.stories.js +98 -122
  318. package/dist/components/ControlsButton/ControlsButton.stories.js.map +1 -1
  319. package/dist/components/ControlsButton/index.js +2 -5
  320. package/dist/components/CopyableText/CopyableText.js +2 -64
  321. package/dist/components/CopyableText/CopyableText.stories.js +36 -35
  322. package/dist/components/CopyableText/CopyableText.stories.js.map +1 -1
  323. package/dist/components/CopyableText/index.js +2 -5
  324. package/dist/components/Drawer/Drawer.js +2 -62
  325. package/dist/components/Drawer/Drawer.stories.js +49 -68
  326. package/dist/components/Drawer/Drawer.stories.js.map +1 -1
  327. package/dist/components/Drawer/index.js +2 -5
  328. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js +2 -50
  329. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js +17 -18
  330. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.stories.js.map +1 -1
  331. package/dist/components/EmptyStateDataDisplay/index.js +2 -5
  332. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js +2 -57
  333. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js +57 -50
  334. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.stories.js.map +1 -1
  335. package/dist/components/ExpandableInfoPanel/index.js +2 -5
  336. package/dist/components/FeedbackBar/FeedbackBar.js +2 -30
  337. package/dist/components/FeedbackBar/FeedbackBar.stories.js +30 -33
  338. package/dist/components/FeedbackBar/FeedbackBar.stories.js.map +1 -1
  339. package/dist/components/FeedbackBar/FeedbackBar.test.js +18 -12
  340. package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
  341. package/dist/components/FeedbackBar/index.js +2 -5
  342. package/dist/components/FeedbackBox/FeedbackBox.js +2 -31
  343. package/dist/components/FeedbackBox/FeedbackBox.stories.js +30 -34
  344. package/dist/components/FeedbackBox/FeedbackBox.stories.js.map +1 -1
  345. package/dist/components/FeedbackBox/index.js +2 -5
  346. package/dist/components/FieldHint/FieldHint.js +2 -15
  347. package/dist/components/FieldHint/FieldHint.stories.js +27 -35
  348. package/dist/components/FieldHint/FieldHint.stories.js.map +1 -1
  349. package/dist/components/FieldHint/index.js +2 -5
  350. package/dist/components/Fieldset/Fieldset.js +2 -32
  351. package/dist/components/Fieldset/Fieldset.stories.js +40 -46
  352. package/dist/components/Fieldset/Fieldset.stories.js.map +1 -1
  353. package/dist/components/Fieldset/index.js +2 -5
  354. package/dist/components/FormField/FormField.js +2 -23
  355. package/dist/components/FormField/FormField.stories.js +40 -45
  356. package/dist/components/FormField/FormField.stories.js.map +1 -1
  357. package/dist/components/FormField/index.js +2 -5
  358. package/dist/components/FormInput/FormInput.js +3 -79
  359. package/dist/components/FormInput/FormInput.stories.js +60 -40
  360. package/dist/components/FormInput/FormInput.stories.js.map +1 -1
  361. package/dist/components/FormInput/index.js +3 -5
  362. package/dist/components/GridRow/Column/Column.js +2 -7
  363. package/dist/components/GridRow/Column/index.js +2 -5
  364. package/dist/components/GridRow/GridRow.js +27 -38
  365. package/dist/components/GridRow/GridRow.js.map +1 -1
  366. package/dist/components/GridRow/GridRow.stories.js +198 -95
  367. package/dist/components/GridRow/GridRow.stories.js.map +1 -1
  368. package/dist/components/GridRow/index.js +2 -5
  369. package/dist/components/HorizontalList/HorizontalList.js +2 -13
  370. package/dist/components/HorizontalList/HorizontalList.stories.js +44 -46
  371. package/dist/components/HorizontalList/HorizontalList.stories.js.map +1 -1
  372. package/dist/components/HorizontalList/index.js +2 -5
  373. package/dist/components/Icon/Icon.js +16 -9
  374. package/dist/components/Icon/Icon.js.map +1 -1
  375. package/dist/components/Icon/Icon.stories.js +47 -50
  376. package/dist/components/Icon/Icon.stories.js.map +1 -1
  377. package/dist/components/Icon/icons/index.d.ts +24 -0
  378. package/dist/components/Icon/icons/index.js +2 -652
  379. package/dist/components/Icon/index.js +2 -5
  380. package/dist/components/IconButton/IconButton.js +2 -28
  381. package/dist/components/IconButton/IconButton.stories.js +55 -58
  382. package/dist/components/IconButton/IconButton.stories.js.map +1 -1
  383. package/dist/components/IconButton/index.js +2 -5
  384. package/dist/components/InfoBanner/InfoBanner.js +2 -12
  385. package/dist/components/InfoBanner/InfoBanner.stories.js +18 -22
  386. package/dist/components/InfoBanner/InfoBanner.stories.js.map +1 -1
  387. package/dist/components/InfoBanner/index.js +2 -5
  388. package/dist/components/InfoMessage/InfoMessage.js +2 -23
  389. package/dist/components/InfoMessage/InfoMessage.stories.js +21 -26
  390. package/dist/components/InfoMessage/InfoMessage.stories.js.map +1 -1
  391. package/dist/components/InfoMessage/index.js +2 -5
  392. package/dist/components/Input/Input.js +2 -28
  393. package/dist/components/Input/Input.stories.js +31 -50
  394. package/dist/components/Input/Input.stories.js.map +1 -1
  395. package/dist/components/Input/index.js +2 -5
  396. package/dist/components/InputField/InputField.js +2 -70
  397. package/dist/components/InputField/InputField.stories.js +81 -109
  398. package/dist/components/InputField/InputField.stories.js.map +1 -1
  399. package/dist/components/InputField/index.js +2 -5
  400. package/dist/components/Label/Label.js +2 -24
  401. package/dist/components/Label/Label.stories.js +26 -37
  402. package/dist/components/Label/Label.stories.js.map +1 -1
  403. package/dist/components/Label/Label.test.js +35 -20
  404. package/dist/components/Label/Label.test.js.map +1 -1
  405. package/dist/components/Label/index.js +2 -5
  406. package/dist/components/MenuLink/MenuLink.js +2 -25
  407. package/dist/components/MenuLink/MenuLink.stories.js +64 -27
  408. package/dist/components/MenuLink/MenuLink.stories.js.map +1 -1
  409. package/dist/components/MenuLink/index.js +2 -5
  410. package/dist/components/MetaDataBar/MetaDataBar.js +2 -13
  411. package/dist/components/MetaDataBar/MetaDataBar.stories.js +20 -20
  412. package/dist/components/MetaDataBar/MetaDataBar.stories.js.map +1 -1
  413. package/dist/components/MetaDataBar/MetaDataBar.test.js +26 -16
  414. package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
  415. package/dist/components/MetaDataBar/index.js +2 -5
  416. package/dist/components/MetaDataList/MetaDataList.js +2 -14
  417. package/dist/components/MetaDataList/MetaDataList.stories.js +21 -23
  418. package/dist/components/MetaDataList/MetaDataList.stories.js.map +1 -1
  419. package/dist/components/MetaDataList/index.js +2 -5
  420. package/dist/components/ModalDialog/ModalDialog.js +2 -130
  421. package/dist/components/ModalDialog/ModalDialog.stories.js +80 -93
  422. package/dist/components/ModalDialog/ModalDialog.stories.js.map +1 -1
  423. package/dist/components/ModalDialog/index.js +2 -5
  424. package/dist/components/MultiSelect/MultiSelect.js +3 -8
  425. package/dist/components/MultiSelect/MultiSelect.stories.js +83 -93
  426. package/dist/components/MultiSelect/MultiSelect.stories.js.map +1 -1
  427. package/dist/components/MultiSelect/components/MultiSelectHeader.js +3 -34
  428. package/dist/components/MultiSelect/components/MultiSelectItem.js +2 -9
  429. package/dist/components/MultiSelect/index.js +3 -5
  430. package/dist/components/MultiSelectBox/MultiSelectBox.js +2 -207
  431. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +101 -70
  432. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js.map +1 -1
  433. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +54 -29
  434. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  435. package/dist/components/MultiSelectBox/index.js +2 -5
  436. package/dist/components/Notification/Notification.js +2 -58
  437. package/dist/components/Notification/Notification.stories.js +43 -40
  438. package/dist/components/Notification/Notification.stories.js.map +1 -1
  439. package/dist/components/Notification/Notification.test.js +24 -10
  440. package/dist/components/Notification/Notification.test.js.map +1 -1
  441. package/dist/components/Notification/index.js +2 -5
  442. package/dist/components/OverlayCloseButton/OverlayCloseButton.js +2 -25
  443. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +30 -29
  444. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js.map +1 -1
  445. package/dist/components/OverlayCloseButton/index.js +2 -5
  446. package/dist/components/OverlayStepBar/OverlayStepBar.js +2 -57
  447. package/dist/components/OverlayStepBar/OverlayStepBar.stories.js +44 -49
  448. package/dist/components/OverlayStepBar/OverlayStepBar.stories.js.map +1 -1
  449. package/dist/components/OverlayStepBar/index.js +2 -5
  450. package/dist/components/PageOverlay/PageOverlay.js +2 -114
  451. package/dist/components/PageOverlay/PageOverlay.stories.js +155 -163
  452. package/dist/components/PageOverlay/PageOverlay.stories.js.map +1 -1
  453. package/dist/components/PageOverlay/index.js +2 -5
  454. package/dist/components/PeriodSelector/PeriodSelector.js +3 -96
  455. package/dist/components/PeriodSelector/PeriodSelector.stories.js +27 -24
  456. package/dist/components/PeriodSelector/PeriodSelector.stories.js.map +1 -1
  457. package/dist/components/PeriodSelector/index.js +3 -5
  458. package/dist/components/Periods/Periods.d.ts +1 -1
  459. package/dist/components/Periods/Periods.js +2 -46
  460. package/dist/components/Periods/Periods.stories.js +53 -60
  461. package/dist/components/Periods/Periods.stories.js.map +1 -1
  462. package/dist/components/Periods/index.js +2 -5
  463. package/dist/components/ProgrammeCard/ProgrammeCard.js +2 -29
  464. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +71 -80
  465. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js.map +1 -1
  466. package/dist/components/ProgrammeCard/index.js +2 -5
  467. package/dist/components/RadioButton/RadioButton.js +2 -26
  468. package/dist/components/RadioButton/RadioButton.stories.js +30 -40
  469. package/dist/components/RadioButton/RadioButton.stories.js.map +1 -1
  470. package/dist/components/RadioButton/index.js +2 -5
  471. package/dist/components/RadioGroup/RadioGroup.js +2 -52
  472. package/dist/components/RadioGroup/RadioGroup.stories.js +39 -46
  473. package/dist/components/RadioGroup/RadioGroup.stories.js.map +1 -1
  474. package/dist/components/RadioGroup/Radiogroup.test.js +46 -22
  475. package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
  476. package/dist/components/RadioGroup/index.js +2 -5
  477. package/dist/components/RadioTabSelector/RadioTabSelector.js +3 -94
  478. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +76 -74
  479. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js.map +1 -1
  480. package/dist/components/RadioTabSelector/index.js +3 -5
  481. package/dist/components/Repeater/Repeater.js +2 -19
  482. package/dist/components/Repeater/Repeater.stories.js +32 -42
  483. package/dist/components/Repeater/Repeater.stories.js.map +1 -1
  484. package/dist/components/Repeater/index.js +2 -5
  485. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +3 -43
  486. package/dist/components/RteEditor/EditorHeader/index.js +3 -5
  487. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +45 -47
  488. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js.map +1 -1
  489. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js +2 -5
  490. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js +2 -108
  491. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js +2 -5
  492. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +150 -194
  493. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js.map +1 -1
  494. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js +2 -5
  495. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +3 -81
  496. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +3 -5
  497. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +3 -38
  498. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +2 -95
  499. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +3 -217
  500. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +2 -12
  501. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +3 -5
  502. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +75 -83
  503. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js.map +1 -1
  504. package/dist/components/RteEditor/Plugins/ListPlugin/index.js +2 -5
  505. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +2 -31
  506. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +2 -5
  507. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +2 -14
  508. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +2 -5
  509. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +3 -36
  510. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js +2 -133
  511. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js +2 -5
  512. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +3 -42
  513. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +69 -92
  514. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js.map +1 -1
  515. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +4 -7
  516. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +3 -90
  517. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +3 -5
  518. package/dist/components/RteEditor/Plugins/index.js +7 -21
  519. package/dist/components/RteEditor/Providers/LanguageProvider.js +22 -17
  520. package/dist/components/RteEditor/Providers/LanguageProvider.js.map +1 -1
  521. package/dist/components/RteEditor/RteEditor.js +3 -871
  522. package/dist/components/RteEditor/RteEditor.stories.js +160 -207
  523. package/dist/components/RteEditor/RteEditor.stories.js.map +1 -1
  524. package/dist/components/RteEditor/UvaTheme/UvaTheme.js +41 -40
  525. package/dist/components/RteEditor/UvaTheme/UvaTheme.js.map +1 -1
  526. package/dist/components/RteEditor/UvaTheme/index.js +2 -5
  527. package/dist/components/RteEditor/helpers.js +33 -40
  528. package/dist/components/RteEditor/helpers.js.map +1 -1
  529. package/dist/components/RteEditor/hooks/components/Flyout.js +2 -11
  530. package/dist/components/RteEditor/hooks/useFlyout.js +35 -23
  531. package/dist/components/RteEditor/hooks/useFlyout.js.map +1 -1
  532. package/dist/components/RteEditor/hooks/useTranslation.js +9 -8
  533. package/dist/components/RteEditor/hooks/useTranslation.js.map +1 -1
  534. package/dist/components/RteEditor/index.js +3 -6
  535. package/dist/components/RteEditor/mockCatalogueSearchData.js +484 -484
  536. package/dist/components/RteEditor/mockCatalogueSearchData.js.map +1 -1
  537. package/dist/components/RteEditor/mockRteContent.js +6 -100
  538. package/dist/components/RteEditor/mockRteContent.js.map +1 -1
  539. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +98 -122
  540. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js.map +1 -1
  541. package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js +2 -11
  542. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +58 -72
  543. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -1
  544. package/dist/components/RteEditor/nodes/TableWrapperNode/index.js +2 -10
  545. package/dist/components/RteEditor/nodes/index.js +3 -18
  546. package/dist/components/RteEditor/translations.js +216 -215
  547. package/dist/components/RteEditor/translations.js.map +1 -1
  548. package/dist/components/SearchField/SearchField.js +104 -105
  549. package/dist/components/SearchField/SearchField.js.map +1 -1
  550. package/dist/components/SearchField/SearcheField.stories.js +89 -118
  551. package/dist/components/SearchField/SearcheField.stories.js.map +1 -1
  552. package/dist/components/SearchField/components/ResultOptionBox.js +19 -12
  553. package/dist/components/SearchField/components/ResultOptionBox.js.map +1 -1
  554. package/dist/components/SearchField/components/ResultsOption.js +50 -55
  555. package/dist/components/SearchField/components/ResultsOption.js.map +1 -1
  556. package/dist/components/SearchField/index.js +2 -5
  557. package/dist/components/SearchField/mockData.js +136 -135
  558. package/dist/components/SearchField/mockData.js.map +1 -1
  559. package/dist/components/SectionNotification/SectionNotification.js +2 -18
  560. package/dist/components/SectionNotification/SectionNotification.stories.js +21 -24
  561. package/dist/components/SectionNotification/SectionNotification.stories.js.map +1 -1
  562. package/dist/components/SectionNotification/index.js +2 -5
  563. package/dist/components/SelectListbox/SelectListBox.stories.js +3415 -248
  564. package/dist/components/SelectListbox/SelectListBox.stories.js.map +1 -1
  565. package/dist/components/SelectListbox/SelectListbox.js +45 -56
  566. package/dist/components/SelectListbox/SelectListbox.js.map +1 -1
  567. package/dist/components/SelectListbox/SelectProvider.js +42 -43
  568. package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
  569. package/dist/components/SelectListbox/components/SelectButton.js +63 -77
  570. package/dist/components/SelectListbox/components/SelectButton.js.map +1 -1
  571. package/dist/components/SelectListbox/components/SelectContainer.js +22 -21
  572. package/dist/components/SelectListbox/components/SelectContainer.js.map +1 -1
  573. package/dist/components/SelectListbox/components/SelectOption.js +69 -66
  574. package/dist/components/SelectListbox/components/SelectOption.js.map +1 -1
  575. package/dist/components/SelectListbox/components/SelectOptionBox.js +28 -30
  576. package/dist/components/SelectListbox/components/SelectOptionBox.js.map +1 -1
  577. package/dist/components/SelectListbox/index.js +2 -5
  578. package/dist/components/Slider/Slider.js +2 -113
  579. package/dist/components/Slider/Slider.stories.js +59 -38
  580. package/dist/components/Slider/Slider.stories.js.map +1 -1
  581. package/dist/components/Slider/index.js +2 -5
  582. package/dist/components/Sortable/Sortable.js +25 -41
  583. package/dist/components/Sortable/Sortable.js.map +1 -1
  584. package/dist/components/Sortable/Sortable.stories.js +79 -59
  585. package/dist/components/Sortable/Sortable.stories.js.map +1 -1
  586. package/dist/components/Sortable/SortableProvider.js +2 -10
  587. package/dist/components/Sortable/actions.js +24 -32
  588. package/dist/components/Sortable/actions.js.map +1 -1
  589. package/dist/components/Sortable/components/SortableContainer.js +2 -9
  590. package/dist/components/Sortable/components/SortableHandle.js +13 -9
  591. package/dist/components/Sortable/components/SortableHandle.js.map +1 -1
  592. package/dist/components/Sortable/components/SortableItem.js +103 -113
  593. package/dist/components/Sortable/components/SortableItem.js.map +1 -1
  594. package/dist/components/Sortable/constants.js +6 -14
  595. package/dist/components/Sortable/constants.js.map +1 -1
  596. package/dist/components/Sortable/index.js +1 -4
  597. package/dist/components/Sortable/sortableReducer.js +76 -90
  598. package/dist/components/Sortable/sortableReducer.js.map +1 -1
  599. package/dist/components/Spinner/Spinner.js +2 -22
  600. package/dist/components/Spinner/Spinner.stories.js +21 -26
  601. package/dist/components/Spinner/Spinner.stories.js.map +1 -1
  602. package/dist/components/Spinner/index.js +2 -5
  603. package/dist/components/StatusBadge/StatusBadge.stories.js +18 -21
  604. package/dist/components/StatusBadge/StatusBadge.stories.js.map +1 -1
  605. package/dist/components/StatusBadge/StatusBadge.test.js +19 -10
  606. package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
  607. package/dist/components/StatusBadge/StatusBage.js +2 -10
  608. package/dist/components/StatusBadge/index.js +2 -5
  609. package/dist/components/StatusPill/StatusPill.js +2 -35
  610. package/dist/components/StatusPill/StatusPill.stories.js +20 -20
  611. package/dist/components/StatusPill/StatusPill.stories.js.map +1 -1
  612. package/dist/components/StatusPill/index.js +2 -5
  613. package/dist/components/TextArea/TextArea.js +2 -65
  614. package/dist/components/TextArea/TextArea.stories.js +30 -31
  615. package/dist/components/TextArea/TextArea.stories.js.map +1 -1
  616. package/dist/components/TextArea/TextArea.test.js +38 -22
  617. package/dist/components/TextArea/TextArea.test.js.map +1 -1
  618. package/dist/components/TextArea/index.js +2 -5
  619. package/dist/components/ToggleSwitch/ToggleSwitch.js +2 -66
  620. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +20 -26
  621. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js.map +1 -1
  622. package/dist/components/ToggleSwitch/index.js +2 -5
  623. package/dist/components/Tooltip/Tooltip.js +2 -75
  624. package/dist/components/Tooltip/Tooltip.stories.js +27 -32
  625. package/dist/components/Tooltip/Tooltip.stories.js.map +1 -1
  626. package/dist/components/Tooltip/index.js +2 -5
  627. package/dist/components/VarIndicator/VarIndicator.js +2 -62
  628. package/dist/components/VarIndicator/VarIndicator.stories.js +31 -30
  629. package/dist/components/VarIndicator/VarIndicator.stories.js.map +1 -1
  630. package/dist/components/VarIndicator/VarIndicator.test.js +72 -54
  631. package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
  632. package/dist/components/VarIndicator/index.js +2 -5
  633. package/dist/components/WeekSelector/WeekSelector.js +89 -97
  634. package/dist/components/WeekSelector/WeekSelector.js.map +1 -1
  635. package/dist/components/WeekSelector/WeekSelector.stories.js +146 -191
  636. package/dist/components/WeekSelector/WeekSelector.stories.js.map +1 -1
  637. package/dist/components/WeekSelector/components/WeekSelectorButton.js +20 -22
  638. package/dist/components/WeekSelector/components/WeekSelectorButton.js.map +1 -1
  639. package/dist/components/WeekSelector/components/WeekSelectorOption.js +72 -85
  640. package/dist/components/WeekSelector/components/WeekSelectorOption.js.map +1 -1
  641. package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js +30 -17
  642. package/dist/components/WeekSelector/components/WeekSelectorOptionContainer.js.map +1 -1
  643. package/dist/components/WeekSelector/index.js +2 -5
  644. package/dist/components/WeekSelector/mockdata.js +470 -469
  645. package/dist/components/WeekSelector/mockdata.js.map +1 -1
  646. package/dist/components/hooks/useDebounce.js +17 -16
  647. package/dist/components/hooks/useDebounce.js.map +1 -1
  648. package/dist/components/hooks/useOnClickOutside.js +15 -14
  649. package/dist/components/hooks/useOnClickOutside.js.map +1 -1
  650. package/dist/components/hooks/usePositionedFloaters.js +66 -71
  651. package/dist/components/hooks/usePositionedFloaters.js.map +1 -1
  652. package/dist/components/hooks/useResponsive.js +36 -32
  653. package/dist/components/hooks/useResponsive.js.map +1 -1
  654. package/dist/components/index.js +64 -139
  655. package/dist/components-DVUYdcHS.js +1992 -0
  656. package/dist/components-DVUYdcHS.js.map +1 -0
  657. package/dist/dist-D6qYwmKD.js +2005 -0
  658. package/dist/dist-D6qYwmKD.js.map +1 -0
  659. package/dist/esm-Cmy7DlsJ.js +2781 -0
  660. package/dist/esm-Cmy7DlsJ.js.map +1 -0
  661. package/dist/helpers-DcFTH1J1.js +34 -0
  662. package/dist/helpers-DcFTH1J1.js.map +1 -0
  663. package/dist/icons-TRhI-4V6.js +2681 -0
  664. package/dist/icons-TRhI-4V6.js.map +1 -0
  665. package/dist/index.js +64 -139
  666. package/dist/lib-6BbFZdI7.js +5595 -0
  667. package/dist/lib-6BbFZdI7.js.map +1 -0
  668. package/dist/react-18-PI4Gvl2f.js +43 -0
  669. package/dist/react-18-PI4Gvl2f.js.map +1 -0
  670. package/dist/react.esm-Cev8dB-E.js +3297 -0
  671. package/dist/react.esm-Cev8dB-E.js.map +1 -0
  672. package/dist/setupTests.js +1226 -36
  673. package/dist/setupTests.js.map +1 -1
  674. package/dist/storyComponents/ClipboardButton/ClipboardButton.js +2 -45
  675. package/dist/storyComponents/ClipboardButton/index.js +2 -5
  676. package/dist/storyComponents/Container/Container.js +2 -40
  677. package/dist/storyComponents/Container/index.js +2 -5
  678. package/dist/storybook__react.d.js +6939 -7524
  679. package/dist/storybook__react.d.js.map +1 -1
  680. package/dist/test-CPFNM-bL.js +21586 -0
  681. package/dist/test-CPFNM-bL.js.map +1 -0
  682. package/dist/test-utils-BSs0eZfL.js +21 -0
  683. package/dist/test-utils-BSs0eZfL.js.map +1 -0
  684. package/dist/types/UserInterface.js +0 -2
  685. package/dist/vite-env.d.js +0 -2
  686. package/package.json +22 -22
  687. package/dist/Button.module-S1-6tV9o.js +0 -16
  688. package/dist/Button.module-S1-6tV9o.js.map +0 -1
  689. package/dist/Column-BL3dsYxn.js +0 -101
  690. package/dist/Column-BL3dsYxn.js.map +0 -1
  691. package/dist/Lexical.prod-o6Eq_uLx.js +0 -5202
  692. package/dist/Lexical.prod-o6Eq_uLx.js.map +0 -1
  693. package/dist/LexicalClipboard.prod-CnUrf2_p.js +0 -265
  694. package/dist/LexicalClipboard.prod-CnUrf2_p.js.map +0 -1
  695. package/dist/LexicalComposerContext.prod-DOyoZx0P.js +0 -22
  696. package/dist/LexicalComposerContext.prod-DOyoZx0P.js.map +0 -1
  697. package/dist/LexicalExtension.prod-CanXuzFO.js +0 -551
  698. package/dist/LexicalExtension.prod-CanXuzFO.js.map +0 -1
  699. package/dist/LexicalLink.prod-DAVbKER8.js +0 -561
  700. package/dist/LexicalLink.prod-DAVbKER8.js.map +0 -1
  701. package/dist/LexicalList.prod-C6cknPBV.js +0 -632
  702. package/dist/LexicalList.prod-C6cknPBV.js.map +0 -1
  703. package/dist/LexicalSelection.prod-B8GGrzJ3.js +0 -116
  704. package/dist/LexicalSelection.prod-B8GGrzJ3.js.map +0 -1
  705. package/dist/LexicalTable.prod-upbwOtcE.js +0 -1892
  706. package/dist/LexicalTable.prod-upbwOtcE.js.map +0 -1
  707. package/dist/LexicalUtils.prod-CF7x-KWm.js +0 -134
  708. package/dist/LexicalUtils.prod-CF7x-KWm.js.map +0 -1
  709. package/dist/MultiSelectItem-BzBmsKof.js +0 -24
  710. package/dist/MultiSelectItem-BzBmsKof.js.map +0 -1
  711. package/dist/RteEditor.module-CoTOIw5i.js +0 -41
  712. package/dist/RteEditor.module-CoTOIw5i.js.map +0 -1
  713. package/dist/SearchField.module-CMUEgX7d.js +0 -17
  714. package/dist/SearchField.module-CMUEgX7d.js.map +0 -1
  715. package/dist/SelectListbox.module-CXqMuXRB.js +0 -29
  716. package/dist/SelectListbox.module-CXqMuXRB.js.map +0 -1
  717. package/dist/Sortable.module-DCVXxKnw.js +0 -26
  718. package/dist/Sortable.module-DCVXxKnw.js.map +0 -1
  719. package/dist/SortableProvider-BbwlEPIr.js +0 -160
  720. package/dist/SortableProvider-BbwlEPIr.js.map +0 -1
  721. package/dist/TableCellResizerPlugin-qMtSAoKT.js +0 -248
  722. package/dist/TableCellResizerPlugin-qMtSAoKT.js.map +0 -1
  723. package/dist/TablePlugin-BRZcXq73.js +0 -308
  724. package/dist/TablePlugin-BRZcXq73.js.map +0 -1
  725. package/dist/WeekSelector.module-Clco7jTs.js +0 -17
  726. package/dist/WeekSelector.module-Clco7jTs.js.map +0 -1
  727. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -9
  728. package/dist/_commonjsHelpers-DaMA6jEr.js.map +0 -1
  729. package/dist/assets/CheckboxTree.css +0 -1
  730. package/dist/assets/EditorHeader.css +0 -1
  731. package/dist/assets/FormInput.css +0 -1
  732. package/dist/assets/PeriodSelector.css +0 -1
  733. package/dist/assets/RadioTabSelector.css +0 -1
  734. package/dist/assets/TablePlugin.css +0 -1
  735. package/dist/chunk-OPOZOKLO-nJkI9rUN.js +0 -4508
  736. package/dist/chunk-OPOZOKLO-nJkI9rUN.js.map +0 -1
  737. package/dist/client-D5eE1v54.js +0 -27222
  738. package/dist/client-D5eE1v54.js.map +0 -1
  739. package/dist/clsx-OuTLNxxd.js +0 -17
  740. package/dist/clsx-OuTLNxxd.js.map +0 -1
  741. package/dist/components/Accordion/Accordion.js.map +0 -1
  742. package/dist/components/Accordion/index.js.map +0 -1
  743. package/dist/components/AccordionCard/AccordionCard.js.map +0 -1
  744. package/dist/components/AccordionCard/index.js.map +0 -1
  745. package/dist/components/ActionList/ActionList.js.map +0 -1
  746. package/dist/components/ActionList/index.js.map +0 -1
  747. package/dist/components/AppStatusBar/AppStatusBar.js.map +0 -1
  748. package/dist/components/AppStatusBar/index.js.map +0 -1
  749. package/dist/components/Attention/Attention.js.map +0 -1
  750. package/dist/components/Attention/index.js.map +0 -1
  751. package/dist/components/Backdrop/Backdrop.js.map +0 -1
  752. package/dist/components/Backdrop/index.js.map +0 -1
  753. package/dist/components/ButtonGroup/ButtonGroup.js.map +0 -1
  754. package/dist/components/ButtonGroup/index.js.map +0 -1
  755. package/dist/components/Buttons/index.js.map +0 -1
  756. package/dist/components/Card/Card.js.map +0 -1
  757. package/dist/components/Card/index.js.map +0 -1
  758. package/dist/components/Checkbox/Checkbox.js.map +0 -1
  759. package/dist/components/Checkbox/index.js.map +0 -1
  760. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.js.map +0 -1
  761. package/dist/components/CheckboxButtonBar/index.js.map +0 -1
  762. package/dist/components/CheckboxTree/CheckboxTree.js.map +0 -1
  763. package/dist/components/CheckboxTree/index.js.map +0 -1
  764. package/dist/components/Chip/Chip.js.map +0 -1
  765. package/dist/components/Chip/index.js.map +0 -1
  766. package/dist/components/ControlsButton/ControlsButton.js.map +0 -1
  767. package/dist/components/ControlsButton/index.js.map +0 -1
  768. package/dist/components/CopyableText/CopyableText.js.map +0 -1
  769. package/dist/components/CopyableText/index.js.map +0 -1
  770. package/dist/components/Drawer/Drawer.js.map +0 -1
  771. package/dist/components/Drawer/index.js.map +0 -1
  772. package/dist/components/EmptyStateDataDisplay/EmptyStateDataDisplay.js.map +0 -1
  773. package/dist/components/EmptyStateDataDisplay/index.js.map +0 -1
  774. package/dist/components/ExpandableInfoPanel/ExpandableInfoPanel.js.map +0 -1
  775. package/dist/components/ExpandableInfoPanel/index.js.map +0 -1
  776. package/dist/components/FeedbackBar/FeedbackBar.js.map +0 -1
  777. package/dist/components/FeedbackBar/index.js.map +0 -1
  778. package/dist/components/FeedbackBox/FeedbackBox.js.map +0 -1
  779. package/dist/components/FeedbackBox/index.js.map +0 -1
  780. package/dist/components/FieldHint/FieldHint.js.map +0 -1
  781. package/dist/components/FieldHint/index.js.map +0 -1
  782. package/dist/components/Fieldset/Fieldset.js.map +0 -1
  783. package/dist/components/Fieldset/index.js.map +0 -1
  784. package/dist/components/FormField/FormField.js.map +0 -1
  785. package/dist/components/FormField/index.js.map +0 -1
  786. package/dist/components/FormInput/FormInput.js.map +0 -1
  787. package/dist/components/FormInput/index.js.map +0 -1
  788. package/dist/components/GridRow/Column/Column.js.map +0 -1
  789. package/dist/components/GridRow/Column/index.js.map +0 -1
  790. package/dist/components/GridRow/index.js.map +0 -1
  791. package/dist/components/HorizontalList/HorizontalList.js.map +0 -1
  792. package/dist/components/HorizontalList/index.js.map +0 -1
  793. package/dist/components/Icon/icons/index.js.map +0 -1
  794. package/dist/components/Icon/index.js.map +0 -1
  795. package/dist/components/IconButton/IconButton.js.map +0 -1
  796. package/dist/components/IconButton/index.js.map +0 -1
  797. package/dist/components/InfoBanner/InfoBanner.js.map +0 -1
  798. package/dist/components/InfoBanner/index.js.map +0 -1
  799. package/dist/components/InfoMessage/InfoMessage.js.map +0 -1
  800. package/dist/components/InfoMessage/index.js.map +0 -1
  801. package/dist/components/Input/Input.js.map +0 -1
  802. package/dist/components/Input/index.js.map +0 -1
  803. package/dist/components/InputField/InputField.js.map +0 -1
  804. package/dist/components/InputField/index.js.map +0 -1
  805. package/dist/components/Label/Label.js.map +0 -1
  806. package/dist/components/Label/index.js.map +0 -1
  807. package/dist/components/MenuLink/MenuLink.js.map +0 -1
  808. package/dist/components/MenuLink/index.js.map +0 -1
  809. package/dist/components/MetaDataBar/MetaDataBar.js.map +0 -1
  810. package/dist/components/MetaDataBar/index.js.map +0 -1
  811. package/dist/components/MetaDataList/MetaDataList.js.map +0 -1
  812. package/dist/components/MetaDataList/index.js.map +0 -1
  813. package/dist/components/ModalDialog/ModalDialog.js.map +0 -1
  814. package/dist/components/ModalDialog/index.js.map +0 -1
  815. package/dist/components/MultiSelect/MultiSelect.js.map +0 -1
  816. package/dist/components/MultiSelect/components/MultiSelectHeader.js.map +0 -1
  817. package/dist/components/MultiSelect/components/MultiSelectItem.js.map +0 -1
  818. package/dist/components/MultiSelect/index.js.map +0 -1
  819. package/dist/components/MultiSelectBox/MultiSelectBox.js.map +0 -1
  820. package/dist/components/MultiSelectBox/index.js.map +0 -1
  821. package/dist/components/Notification/Notification.js.map +0 -1
  822. package/dist/components/Notification/index.js.map +0 -1
  823. package/dist/components/OverlayCloseButton/OverlayCloseButton.js.map +0 -1
  824. package/dist/components/OverlayCloseButton/index.js.map +0 -1
  825. package/dist/components/OverlayStepBar/OverlayStepBar.js.map +0 -1
  826. package/dist/components/OverlayStepBar/index.js.map +0 -1
  827. package/dist/components/PageOverlay/PageOverlay.js.map +0 -1
  828. package/dist/components/PageOverlay/index.js.map +0 -1
  829. package/dist/components/PeriodSelector/PeriodSelector.js.map +0 -1
  830. package/dist/components/PeriodSelector/index.js.map +0 -1
  831. package/dist/components/Periods/Periods.js.map +0 -1
  832. package/dist/components/Periods/index.js.map +0 -1
  833. package/dist/components/ProgrammeCard/ProgrammeCard.js.map +0 -1
  834. package/dist/components/ProgrammeCard/index.js.map +0 -1
  835. package/dist/components/RadioButton/RadioButton.js.map +0 -1
  836. package/dist/components/RadioButton/index.js.map +0 -1
  837. package/dist/components/RadioGroup/RadioGroup.js.map +0 -1
  838. package/dist/components/RadioGroup/index.js.map +0 -1
  839. package/dist/components/RadioTabSelector/RadioTabSelector.js.map +0 -1
  840. package/dist/components/RadioTabSelector/index.js.map +0 -1
  841. package/dist/components/Repeater/Repeater.js.map +0 -1
  842. package/dist/components/Repeater/index.js.map +0 -1
  843. package/dist/components/RteEditor/EditorHeader/EditorHeader.js.map +0 -1
  844. package/dist/components/RteEditor/EditorHeader/index.js.map +0 -1
  845. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/index.js.map +0 -1
  846. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/AddCatalogueLinkForm.js.map +0 -1
  847. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/AddCatalogueLinkForm/index.js.map +0 -1
  848. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/index.js.map +0 -1
  849. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js.map +0 -1
  850. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js.map +0 -1
  851. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js.map +0 -1
  852. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js.map +0 -1
  853. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js.map +0 -1
  854. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js.map +0 -1
  855. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js.map +0 -1
  856. package/dist/components/RteEditor/Plugins/ListPlugin/index.js.map +0 -1
  857. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js.map +0 -1
  858. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js.map +0 -1
  859. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js.map +0 -1
  860. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js.map +0 -1
  861. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js.map +0 -1
  862. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/TableCellContextMenu.js.map +0 -1
  863. package/dist/components/RteEditor/Plugins/TablePlugin/TableCellContextMenu/index.js.map +0 -1
  864. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js.map +0 -1
  865. package/dist/components/RteEditor/Plugins/TablePlugin/index.js.map +0 -1
  866. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js.map +0 -1
  867. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js.map +0 -1
  868. package/dist/components/RteEditor/Plugins/index.js.map +0 -1
  869. package/dist/components/RteEditor/RteEditor.js.map +0 -1
  870. package/dist/components/RteEditor/UvaTheme/index.js.map +0 -1
  871. package/dist/components/RteEditor/hooks/components/Flyout.js.map +0 -1
  872. package/dist/components/RteEditor/index.js.map +0 -1
  873. package/dist/components/RteEditor/nodes/CourseCatalogueNode/index.js.map +0 -1
  874. package/dist/components/RteEditor/nodes/TableWrapperNode/index.js.map +0 -1
  875. package/dist/components/RteEditor/nodes/index.js.map +0 -1
  876. package/dist/components/SearchField/index.js.map +0 -1
  877. package/dist/components/SectionNotification/SectionNotification.js.map +0 -1
  878. package/dist/components/SectionNotification/index.js.map +0 -1
  879. package/dist/components/SelectListbox/index.js.map +0 -1
  880. package/dist/components/Slider/Slider.js.map +0 -1
  881. package/dist/components/Slider/index.js.map +0 -1
  882. package/dist/components/Sortable/SortableProvider.js.map +0 -1
  883. package/dist/components/Sortable/components/SortableContainer.js.map +0 -1
  884. package/dist/components/Sortable/index.js.map +0 -1
  885. package/dist/components/Spinner/Spinner.js.map +0 -1
  886. package/dist/components/Spinner/index.js.map +0 -1
  887. package/dist/components/StatusBadge/StatusBage.js.map +0 -1
  888. package/dist/components/StatusBadge/index.js.map +0 -1
  889. package/dist/components/StatusPill/StatusPill.js.map +0 -1
  890. package/dist/components/StatusPill/index.js.map +0 -1
  891. package/dist/components/TextArea/TextArea.js.map +0 -1
  892. package/dist/components/TextArea/index.js.map +0 -1
  893. package/dist/components/ToggleSwitch/ToggleSwitch.js.map +0 -1
  894. package/dist/components/ToggleSwitch/index.js.map +0 -1
  895. package/dist/components/Tooltip/Tooltip.js.map +0 -1
  896. package/dist/components/Tooltip/index.js.map +0 -1
  897. package/dist/components/VarIndicator/VarIndicator.js.map +0 -1
  898. package/dist/components/VarIndicator/index.js.map +0 -1
  899. package/dist/components/WeekSelector/index.js.map +0 -1
  900. package/dist/components/index.js.map +0 -1
  901. package/dist/index-B_q_4aBT.js +0 -24946
  902. package/dist/index-B_q_4aBT.js.map +0 -1
  903. package/dist/index-CULNJwuI.js +0 -2355
  904. package/dist/index-CULNJwuI.js.map +0 -1
  905. package/dist/index-D6WVIfcJ.js +0 -6039
  906. package/dist/index-D6WVIfcJ.js.map +0 -1
  907. package/dist/index-YdDr6J97.js +0 -3099
  908. package/dist/index-YdDr6J97.js.map +0 -1
  909. package/dist/index-yEhaxKq-.js +0 -238
  910. package/dist/index-yEhaxKq-.js.map +0 -1
  911. package/dist/index.js.map +0 -1
  912. package/dist/react-18-CxCoNkIN.js +0 -41
  913. package/dist/react-18-CxCoNkIN.js.map +0 -1
  914. package/dist/react.esm-C68fQMAi.js +0 -4237
  915. package/dist/react.esm-C68fQMAi.js.map +0 -1
  916. package/dist/storyComponents/ClipboardButton/ClipboardButton.js.map +0 -1
  917. package/dist/storyComponents/ClipboardButton/index.js.map +0 -1
  918. package/dist/storyComponents/Container/Container.js.map +0 -1
  919. package/dist/storyComponents/Container/index.js.map +0 -1
  920. package/dist/test-utils-BcpWLsLH.js +0 -56
  921. package/dist/test-utils-BcpWLsLH.js.map +0 -1
  922. package/dist/types/UserInterface.js.map +0 -1
  923. package/dist/vite-env.d.js.map +0 -1
@@ -0,0 +1,2005 @@
1
+ import { i as e, t } from "./chunk-DeC0fbbY.js";
2
+ import { t as n } from "./lib-6BbFZdI7.js";
3
+ //#region node_modules/min-indent/index.js
4
+ var r = /* @__PURE__ */ t(((e, t) => {
5
+ t.exports = (e) => {
6
+ let t = e.match(/^[ \t]*(?=\S)/gm);
7
+ return t ? t.reduce((e, t) => Math.min(e, t.length), Infinity) : 0;
8
+ };
9
+ })), i = /* @__PURE__ */ t(((e, t) => {
10
+ var n = r();
11
+ t.exports = (e) => {
12
+ let t = n(e);
13
+ if (t === 0) return e;
14
+ let r = RegExp(`^[ \\t]{${t}}`, "gm");
15
+ return e.replace(r, "");
16
+ };
17
+ })), a = /* @__PURE__ */ t(((e, t) => {
18
+ t.exports = (e, t = 1, n) => {
19
+ if (n = {
20
+ indent: " ",
21
+ includeEmptyLines: !1,
22
+ ...n
23
+ }, typeof e != "string") throw TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);
24
+ if (typeof t != "number") throw TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);
25
+ if (typeof n.indent != "string") throw TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n.indent}\``);
26
+ if (t === 0) return e;
27
+ let r = n.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
28
+ return e.replace(r, n.indent.repeat(t));
29
+ };
30
+ })), o = /* @__PURE__ */ t(((e, t) => {
31
+ var n = i(), r = a();
32
+ t.exports = (e, t = 0, i) => r(n(e), t, i);
33
+ })), s = class extends Error {
34
+ reason;
35
+ filename;
36
+ line;
37
+ column;
38
+ source;
39
+ constructor(e, t, n, r, i) {
40
+ super(`${e}:${n}:${r}: ${t}`), this.reason = t, this.filename = e, this.line = n, this.column = r, this.source = i;
41
+ }
42
+ }, c = class {
43
+ start;
44
+ end;
45
+ source;
46
+ constructor(e, t, n) {
47
+ this.start = e, this.end = t, this.source = n;
48
+ }
49
+ }, l;
50
+ (function(e) {
51
+ e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset = "charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes = "keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "starting-style", e.supports = "supports";
52
+ })(l ||= {});
53
+ var u = (e, t, n) => {
54
+ let r = n, i = 1e4;
55
+ do {
56
+ let n = t.map((t) => e.indexOf(t, r));
57
+ n.push(e.indexOf("\\", r));
58
+ let a = n.filter((e) => e !== -1);
59
+ if (a.length === 0) return -1;
60
+ let o = Math.min(...a);
61
+ if (e[o] !== "\\") return o;
62
+ r = o + 2, i--;
63
+ } while (i > 0);
64
+ throw Error("Too many escaping");
65
+ }, d = (e, t, n) => {
66
+ let r = n, i = 1e4;
67
+ do {
68
+ let n = t.map((t) => e.indexOf(t, r));
69
+ n.push(e.indexOf("(", r)), n.push(e.indexOf("\"", r)), n.push(e.indexOf("'", r)), n.push(e.indexOf("\\", r));
70
+ let a = n.filter((e) => e !== -1);
71
+ if (a.length === 0) return -1;
72
+ let o = Math.min(...a);
73
+ switch (e[o]) {
74
+ case "\\":
75
+ r = o + 2;
76
+ break;
77
+ case "(":
78
+ {
79
+ let t = d(e, [")"], o + 1);
80
+ if (t === -1) return -1;
81
+ r = t + 1;
82
+ }
83
+ break;
84
+ case "\"":
85
+ {
86
+ let t = u(e, ["\""], o + 1);
87
+ if (t === -1) return -1;
88
+ r = t + 1;
89
+ }
90
+ break;
91
+ case "'":
92
+ {
93
+ let t = u(e, ["'"], o + 1);
94
+ if (t === -1) return -1;
95
+ r = t + 1;
96
+ }
97
+ break;
98
+ default: return o;
99
+ }
100
+ i--;
101
+ } while (i > 0);
102
+ throw Error("Too many escaping");
103
+ }, f = /\/\*[^]*?(?:\*\/|$)/g;
104
+ function p(e) {
105
+ return e ? e.trim() : "";
106
+ }
107
+ function m(e, t) {
108
+ let n = e && typeof e.type == "string", r = n ? e : t;
109
+ for (let t in e) {
110
+ let n = e[t];
111
+ Array.isArray(n) ? n.forEach((e) => {
112
+ m(e, r);
113
+ }) : n && typeof n == "object" && m(n, r);
114
+ }
115
+ return n && Object.defineProperty(e, "parent", {
116
+ configurable: !0,
117
+ writable: !0,
118
+ enumerable: !1,
119
+ value: t || null
120
+ }), e;
121
+ }
122
+ var h = (e, t) => {
123
+ t ||= {};
124
+ let n = 1, r = 1;
125
+ function i() {
126
+ let e = {
127
+ line: n,
128
+ column: r
129
+ };
130
+ return (i) => (i.position = new c(e, {
131
+ line: n,
132
+ column: r
133
+ }, t?.source || ""), v(), i);
134
+ }
135
+ let a = [];
136
+ function o(i) {
137
+ let o = new s(t?.source || "", i, n, r, e);
138
+ if (!t?.silent) throw o;
139
+ a.push(o);
140
+ }
141
+ function u() {
142
+ let t = /^{\s*/.exec(e);
143
+ return !!t && (_(t), !0);
144
+ }
145
+ function h() {
146
+ let t = /^}/.exec(e);
147
+ return !!t && (_(t), !0);
148
+ }
149
+ function g() {
150
+ let t, n = [];
151
+ for (v(), y(n); e.length && e.charAt(0) !== "}" && (t = te() || ne(), t);) n.push(t), y(n);
152
+ return n;
153
+ }
154
+ function _(t) {
155
+ let i = t[0];
156
+ return function(e) {
157
+ let t = e.match(/\n/g);
158
+ t && (n += t.length);
159
+ let i = e.lastIndexOf("\n");
160
+ r = ~i ? e.length - i : r + e.length;
161
+ }(i), e = e.slice(i.length), t;
162
+ }
163
+ function v() {
164
+ let t = /^\s*/.exec(e);
165
+ t && _(t);
166
+ }
167
+ function y(e) {
168
+ e ||= [];
169
+ let t = b();
170
+ for (; t;) e.push(t), t = b();
171
+ return e;
172
+ }
173
+ function b() {
174
+ let t = i();
175
+ if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
176
+ let n = /^\/\*[^]*?\*\//.exec(e);
177
+ return n ? (_(n), t({
178
+ type: l.comment,
179
+ comment: n[0].slice(2, -2)
180
+ })) : o("End of comment missing");
181
+ }
182
+ function x() {
183
+ let t = /^([^{]+)/.exec(e);
184
+ if (t) return _(t), ((e, t) => {
185
+ let n = [], r = 0;
186
+ for (; r < e.length;) {
187
+ let i = d(e, t, r);
188
+ if (i === -1) return n.push(e.substring(r)), n;
189
+ n.push(e.substring(r, i)), r = i + 1;
190
+ }
191
+ return n;
192
+ })(p(t[0]).replace(f, ""), [","]).map((e) => p(e));
193
+ }
194
+ function S() {
195
+ let t = i(), n = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/.exec(e);
196
+ if (!n) return;
197
+ _(n);
198
+ let r = p(n[0]), a = /^:\s*/.exec(e);
199
+ if (!a) return o("property missing ':'");
200
+ _(a);
201
+ let s = "", c = d(e, [";", "}"]);
202
+ c !== -1 && (s = e.substring(0, c), _([s]), s = p(s).replace(f, ""));
203
+ let u = t({
204
+ type: l.declaration,
205
+ property: r.replace(f, ""),
206
+ value: s
207
+ }), m = /^[;\s]*/.exec(e);
208
+ return m && _(m), u;
209
+ }
210
+ function C() {
211
+ let e = [];
212
+ if (!u()) return o("missing '{'");
213
+ y(e);
214
+ let t = S();
215
+ for (; t;) e.push(t), y(e), t = S();
216
+ return h() ? e : o("missing '}'");
217
+ }
218
+ function w() {
219
+ let t = [], n = i(), r = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);
220
+ for (; r;) {
221
+ let n = _(r);
222
+ t.push(n[1]);
223
+ let i = /^,\s*/.exec(e);
224
+ i && _(i), r = /^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/.exec(e);
225
+ }
226
+ if (t.length) return n({
227
+ type: l.keyframe,
228
+ values: t,
229
+ declarations: C() || []
230
+ });
231
+ }
232
+ let T = D("import"), ee = D("charset"), E = D("namespace");
233
+ function D(t) {
234
+ let n = RegExp("^@" + t + "\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)");
235
+ return () => {
236
+ let r = i(), a = n.exec(e);
237
+ if (!a) return;
238
+ let o = _(a), s = { type: t };
239
+ return s[t] = o[1].trim(), r(s);
240
+ };
241
+ }
242
+ function te() {
243
+ if (e[0] === "@") return function() {
244
+ let t = i(), n = /^@([-\w]+)?keyframes\s*/.exec(e);
245
+ if (!n) return;
246
+ let r = _(n)[1], a = /^([-\w]+)\s*/.exec(e);
247
+ if (!a) return o("@keyframes missing name");
248
+ let s = _(a)[1];
249
+ if (!u()) return o("@keyframes missing '{'");
250
+ let c = y(), d = w();
251
+ for (; d;) c.push(d), c = c.concat(y()), d = w();
252
+ return h() ? t({
253
+ type: l.keyframes,
254
+ name: s,
255
+ vendor: r,
256
+ keyframes: c
257
+ }) : o("@keyframes missing '}'");
258
+ }() || function() {
259
+ let t = i(), n = /^@media *([^{]+)/.exec(e);
260
+ if (!n) return;
261
+ let r = p(_(n)[1]);
262
+ if (!u()) return o("@media missing '{'");
263
+ let a = y().concat(g());
264
+ return h() ? t({
265
+ type: l.media,
266
+ media: r,
267
+ rules: a
268
+ }) : o("@media missing '}'");
269
+ }() || function() {
270
+ let t = i(), n = /^@custom-media\s+(--\S+)\s+([^{;\s][^{;]*);/.exec(e);
271
+ if (!n) return;
272
+ let r = _(n);
273
+ return t({
274
+ type: l.customMedia,
275
+ name: p(r[1]),
276
+ media: p(r[2])
277
+ });
278
+ }() || function() {
279
+ let t = i(), n = /^@supports *([^{]+)/.exec(e);
280
+ if (!n) return;
281
+ let r = p(_(n)[1]);
282
+ if (!u()) return o("@supports missing '{'");
283
+ let a = y().concat(g());
284
+ return h() ? t({
285
+ type: l.supports,
286
+ supports: r,
287
+ rules: a
288
+ }) : o("@supports missing '}'");
289
+ }() || T() || ee() || E() || function() {
290
+ let t = i(), n = /^@([-\w]+)?document *([^{]+)/.exec(e);
291
+ if (!n) return;
292
+ let r = _(n), a = p(r[1]), s = p(r[2]);
293
+ if (!u()) return o("@document missing '{'");
294
+ let c = y().concat(g());
295
+ return h() ? t({
296
+ type: l.document,
297
+ document: s,
298
+ vendor: a,
299
+ rules: c
300
+ }) : o("@document missing '}'");
301
+ }() || function() {
302
+ let t = i(), n = /^@page */.exec(e);
303
+ if (!n) return;
304
+ _(n);
305
+ let r = x() || [];
306
+ if (!u()) return o("@page missing '{'");
307
+ let a = y(), s = S();
308
+ for (; s;) a.push(s), a = a.concat(y()), s = S();
309
+ return h() ? t({
310
+ type: l.page,
311
+ selectors: r,
312
+ declarations: a
313
+ }) : o("@page missing '}'");
314
+ }() || function() {
315
+ let t = i(), n = /^@host\s*/.exec(e);
316
+ if (!n) return;
317
+ if (_(n), !u()) return o("@host missing '{'");
318
+ let r = y().concat(g());
319
+ return h() ? t({
320
+ type: l.host,
321
+ rules: r
322
+ }) : o("@host missing '}'");
323
+ }() || function() {
324
+ let t = i(), n = /^@font-face\s*/.exec(e);
325
+ if (!n) return;
326
+ if (_(n), !u()) return o("@font-face missing '{'");
327
+ let r = y(), a = S();
328
+ for (; a;) r.push(a), r = r.concat(y()), a = S();
329
+ return h() ? t({
330
+ type: l.fontFace,
331
+ declarations: r
332
+ }) : o("@font-face missing '}'");
333
+ }() || function() {
334
+ let t = i(), n = /^@container *([^{]+)/.exec(e);
335
+ if (!n) return;
336
+ let r = p(_(n)[1]);
337
+ if (!u()) return o("@container missing '{'");
338
+ let a = y().concat(g());
339
+ return h() ? t({
340
+ type: l.container,
341
+ container: r,
342
+ rules: a
343
+ }) : o("@container missing '}'");
344
+ }() || function() {
345
+ let t = i(), n = /^@starting-style\s*/.exec(e);
346
+ if (!n) return;
347
+ if (_(n), !u()) return o("@starting-style missing '{'");
348
+ let r = y().concat(g());
349
+ return h() ? t({
350
+ type: l.startingStyle,
351
+ rules: r
352
+ }) : o("@starting-style missing '}'");
353
+ }() || function() {
354
+ let t = i(), n = /^@layer *([^{;@]+)/.exec(e);
355
+ if (!n) return;
356
+ let r = p(_(n)[1]);
357
+ if (!u()) {
358
+ let n = /^[;\s]*/.exec(e);
359
+ return n && _(n), t({
360
+ type: l.layer,
361
+ layer: r
362
+ });
363
+ }
364
+ let a = y().concat(g());
365
+ return h() ? t({
366
+ type: l.layer,
367
+ layer: r,
368
+ rules: a
369
+ }) : o("@layer missing '}'");
370
+ }();
371
+ }
372
+ function ne() {
373
+ let e = i(), t = x();
374
+ return t ? (y(), e({
375
+ type: l.rule,
376
+ selectors: t,
377
+ declarations: C() || []
378
+ })) : o("selector missing");
379
+ }
380
+ return m(function() {
381
+ let e = g();
382
+ return {
383
+ type: l.stylesheet,
384
+ stylesheet: {
385
+ source: t?.source,
386
+ rules: e,
387
+ parsingErrors: a
388
+ }
389
+ };
390
+ }());
391
+ }, g = Object.prototype.toString;
392
+ function _(e) {
393
+ return typeof e == "function" || g.call(e) === "[object Function]";
394
+ }
395
+ function v(e) {
396
+ var t = Number(e);
397
+ return isNaN(t) ? 0 : t === 0 || !isFinite(t) ? t : (t > 0 ? 1 : -1) * Math.floor(Math.abs(t));
398
+ }
399
+ var y = 2 ** 53 - 1;
400
+ function b(e) {
401
+ var t = v(e);
402
+ return Math.min(Math.max(t, 0), y);
403
+ }
404
+ function x(e, t) {
405
+ var n = Array, r = Object(e);
406
+ if (e == null) throw TypeError("Array.from requires an array-like object - not null or undefined");
407
+ if (t !== void 0 && !_(t)) throw TypeError("Array.from: when provided, the second argument must be a function");
408
+ for (var i = b(r.length), a = _(n) ? Object(new n(i)) : Array(i), o = 0, s; o < i;) s = r[o], t ? a[o] = t(s, o) : a[o] = s, o += 1;
409
+ return a.length = i, a;
410
+ }
411
+ //#endregion
412
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/polyfills/SetLike.mjs
413
+ function S(e) {
414
+ "@babel/helpers - typeof";
415
+ return S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
416
+ return typeof e;
417
+ } : function(e) {
418
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
419
+ }, S(e);
420
+ }
421
+ function C(e, t) {
422
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
423
+ }
424
+ function w(e, t) {
425
+ for (var n = 0; n < t.length; n++) {
426
+ var r = t[n];
427
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, E(r.key), r);
428
+ }
429
+ }
430
+ function T(e, t, n) {
431
+ return t && w(e.prototype, t), n && w(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
432
+ }
433
+ function ee(e, t, n) {
434
+ return t = E(t), t in e ? Object.defineProperty(e, t, {
435
+ value: n,
436
+ enumerable: !0,
437
+ configurable: !0,
438
+ writable: !0
439
+ }) : e[t] = n, e;
440
+ }
441
+ function E(e) {
442
+ var t = D(e, "string");
443
+ return S(t) === "symbol" ? t : String(t);
444
+ }
445
+ function D(e, t) {
446
+ if (S(e) !== "object" || e === null) return e;
447
+ var n = e[Symbol.toPrimitive];
448
+ if (n !== void 0) {
449
+ var r = n.call(e, t || "default");
450
+ if (S(r) !== "object") return r;
451
+ throw TypeError("@@toPrimitive must return a primitive value.");
452
+ }
453
+ return (t === "string" ? String : Number)(e);
454
+ }
455
+ var te = /* @__PURE__ */ function() {
456
+ function e() {
457
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
458
+ C(this, e), ee(this, "items", void 0), this.items = t;
459
+ }
460
+ return T(e, [
461
+ {
462
+ key: "add",
463
+ value: function(e) {
464
+ return this.has(e) === !1 && this.items.push(e), this;
465
+ }
466
+ },
467
+ {
468
+ key: "clear",
469
+ value: function() {
470
+ this.items = [];
471
+ }
472
+ },
473
+ {
474
+ key: "delete",
475
+ value: function(e) {
476
+ var t = this.items.length;
477
+ return this.items = this.items.filter(function(t) {
478
+ return t !== e;
479
+ }), t !== this.items.length;
480
+ }
481
+ },
482
+ {
483
+ key: "forEach",
484
+ value: function(e) {
485
+ var t = this;
486
+ this.items.forEach(function(n) {
487
+ e(n, n, t);
488
+ });
489
+ }
490
+ },
491
+ {
492
+ key: "has",
493
+ value: function(e) {
494
+ return this.items.indexOf(e) !== -1;
495
+ }
496
+ },
497
+ {
498
+ key: "size",
499
+ get: function() {
500
+ return this.items.length;
501
+ }
502
+ }
503
+ ]), e;
504
+ }(), ne = typeof Set > "u" ? Set : te;
505
+ //#endregion
506
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
507
+ function O(e) {
508
+ return e.localName ?? e.tagName.toLowerCase();
509
+ }
510
+ var re = {
511
+ article: "article",
512
+ aside: "complementary",
513
+ button: "button",
514
+ datalist: "listbox",
515
+ dd: "definition",
516
+ details: "group",
517
+ dialog: "dialog",
518
+ dt: "term",
519
+ fieldset: "group",
520
+ figure: "figure",
521
+ form: "form",
522
+ footer: "contentinfo",
523
+ h1: "heading",
524
+ h2: "heading",
525
+ h3: "heading",
526
+ h4: "heading",
527
+ h5: "heading",
528
+ h6: "heading",
529
+ header: "banner",
530
+ hr: "separator",
531
+ html: "document",
532
+ legend: "legend",
533
+ li: "listitem",
534
+ math: "math",
535
+ main: "main",
536
+ menu: "list",
537
+ nav: "navigation",
538
+ ol: "list",
539
+ optgroup: "group",
540
+ option: "option",
541
+ output: "status",
542
+ progress: "progressbar",
543
+ section: "region",
544
+ summary: "button",
545
+ table: "table",
546
+ tbody: "rowgroup",
547
+ textarea: "textbox",
548
+ tfoot: "rowgroup",
549
+ td: "cell",
550
+ th: "columnheader",
551
+ thead: "rowgroup",
552
+ tr: "row",
553
+ ul: "list"
554
+ }, ie = {
555
+ caption: new Set(["aria-label", "aria-labelledby"]),
556
+ code: new Set(["aria-label", "aria-labelledby"]),
557
+ deletion: new Set(["aria-label", "aria-labelledby"]),
558
+ emphasis: new Set(["aria-label", "aria-labelledby"]),
559
+ generic: new Set([
560
+ "aria-label",
561
+ "aria-labelledby",
562
+ "aria-roledescription"
563
+ ]),
564
+ insertion: new Set(["aria-label", "aria-labelledby"]),
565
+ none: new Set(["aria-label", "aria-labelledby"]),
566
+ paragraph: new Set(["aria-label", "aria-labelledby"]),
567
+ presentation: new Set(["aria-label", "aria-labelledby"]),
568
+ strong: new Set(["aria-label", "aria-labelledby"]),
569
+ subscript: new Set(["aria-label", "aria-labelledby"]),
570
+ superscript: new Set(["aria-label", "aria-labelledby"])
571
+ };
572
+ function ae(e, t) {
573
+ return [
574
+ "aria-atomic",
575
+ "aria-busy",
576
+ "aria-controls",
577
+ "aria-current",
578
+ "aria-description",
579
+ "aria-describedby",
580
+ "aria-details",
581
+ "aria-dropeffect",
582
+ "aria-flowto",
583
+ "aria-grabbed",
584
+ "aria-hidden",
585
+ "aria-keyshortcuts",
586
+ "aria-label",
587
+ "aria-labelledby",
588
+ "aria-live",
589
+ "aria-owns",
590
+ "aria-relevant",
591
+ "aria-roledescription"
592
+ ].some(function(n) {
593
+ var r;
594
+ return e.hasAttribute(n) && !((r = ie[t]) != null && r.has(n));
595
+ });
596
+ }
597
+ function oe(e, t) {
598
+ return ae(e, t);
599
+ }
600
+ function se(e) {
601
+ var t = le(e);
602
+ if (t === null || k.indexOf(t) !== -1) {
603
+ var n = ce(e);
604
+ if (k.indexOf(t || "") === -1 || oe(e, n || "")) return n;
605
+ }
606
+ return t;
607
+ }
608
+ function ce(e) {
609
+ var t = re[O(e)];
610
+ if (t !== void 0) return t;
611
+ switch (O(e)) {
612
+ case "a":
613
+ case "area":
614
+ case "link":
615
+ if (e.hasAttribute("href")) return "link";
616
+ break;
617
+ case "img": return e.getAttribute("alt") === "" && !oe(e, "img") ? "presentation" : "img";
618
+ case "input":
619
+ var n = e.type;
620
+ switch (n) {
621
+ case "button":
622
+ case "image":
623
+ case "reset":
624
+ case "submit": return "button";
625
+ case "checkbox":
626
+ case "radio": return n;
627
+ case "range": return "slider";
628
+ case "email":
629
+ case "tel":
630
+ case "text":
631
+ case "url": return e.hasAttribute("list") ? "combobox" : "textbox";
632
+ case "search": return e.hasAttribute("list") ? "combobox" : "searchbox";
633
+ case "number": return "spinbutton";
634
+ default: return null;
635
+ }
636
+ case "select": return e.hasAttribute("multiple") || e.size > 1 ? "listbox" : "combobox";
637
+ }
638
+ return null;
639
+ }
640
+ function le(e) {
641
+ var t = e.getAttribute("role");
642
+ if (t !== null) {
643
+ var n = t.trim().split(" ")[0];
644
+ if (n.length > 0) return n;
645
+ }
646
+ return null;
647
+ }
648
+ //#endregion
649
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/util.mjs
650
+ var k = ["presentation", "none"];
651
+ function A(e) {
652
+ return e !== null && e.nodeType === e.ELEMENT_NODE;
653
+ }
654
+ function ue(e) {
655
+ return A(e) && O(e) === "caption";
656
+ }
657
+ function j(e) {
658
+ return A(e) && O(e) === "input";
659
+ }
660
+ function de(e) {
661
+ return A(e) && O(e) === "optgroup";
662
+ }
663
+ function fe(e) {
664
+ return A(e) && O(e) === "select";
665
+ }
666
+ function pe(e) {
667
+ return A(e) && O(e) === "table";
668
+ }
669
+ function me(e) {
670
+ return A(e) && O(e) === "textarea";
671
+ }
672
+ function he(e) {
673
+ var t = (e.ownerDocument === null ? e : e.ownerDocument).defaultView;
674
+ if (t === null) throw TypeError("no window available");
675
+ return t;
676
+ }
677
+ function ge(e) {
678
+ return A(e) && O(e) === "fieldset";
679
+ }
680
+ function _e(e) {
681
+ return A(e) && O(e) === "legend";
682
+ }
683
+ function ve(e) {
684
+ return A(e) && O(e) === "slot";
685
+ }
686
+ function ye(e) {
687
+ return A(e) && e.ownerSVGElement !== void 0;
688
+ }
689
+ function be(e) {
690
+ return A(e) && O(e) === "svg";
691
+ }
692
+ function xe(e) {
693
+ return ye(e) && O(e) === "title";
694
+ }
695
+ function M(e, t) {
696
+ if (A(e) && e.hasAttribute(t)) {
697
+ var n = e.getAttribute(t).split(" "), r = e.getRootNode ? e.getRootNode() : e.ownerDocument;
698
+ return n.map(function(e) {
699
+ return r.getElementById(e);
700
+ }).filter(function(e) {
701
+ return e !== null;
702
+ });
703
+ }
704
+ return [];
705
+ }
706
+ function N(e, t) {
707
+ return A(e) ? t.indexOf(se(e)) !== -1 : !1;
708
+ }
709
+ //#endregion
710
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name-and-description.mjs
711
+ function Se(e) {
712
+ return e.trim().replace(/\s\s+/g, " ");
713
+ }
714
+ function Ce(e, t) {
715
+ if (!A(e)) return !1;
716
+ if (e.hasAttribute("hidden") || e.getAttribute("aria-hidden") === "true") return !0;
717
+ var n = t(e);
718
+ return n.getPropertyValue("display") === "none" || n.getPropertyValue("visibility") === "hidden";
719
+ }
720
+ function we(e) {
721
+ return N(e, [
722
+ "button",
723
+ "combobox",
724
+ "listbox",
725
+ "textbox"
726
+ ]) || P(e, "range");
727
+ }
728
+ function P(e, t) {
729
+ if (!A(e)) return !1;
730
+ switch (t) {
731
+ case "range": return N(e, [
732
+ "meter",
733
+ "progressbar",
734
+ "scrollbar",
735
+ "slider",
736
+ "spinbutton"
737
+ ]);
738
+ default: throw TypeError(`No knowledge about abstract role '${t}'. This is likely a bug :(`);
739
+ }
740
+ }
741
+ function F(e, t) {
742
+ var n = x(e.querySelectorAll(t));
743
+ return M(e, "aria-owns").forEach(function(e) {
744
+ n.push.apply(n, x(e.querySelectorAll(t)));
745
+ }), n;
746
+ }
747
+ function Te(e) {
748
+ return fe(e) ? e.selectedOptions || F(e, "[selected]") : F(e, "[aria-selected=\"true\"]");
749
+ }
750
+ function Ee(e) {
751
+ return N(e, k);
752
+ }
753
+ function De(e) {
754
+ return ue(e);
755
+ }
756
+ function Oe(e) {
757
+ return N(e, [
758
+ "button",
759
+ "cell",
760
+ "checkbox",
761
+ "columnheader",
762
+ "gridcell",
763
+ "heading",
764
+ "label",
765
+ "legend",
766
+ "link",
767
+ "menuitem",
768
+ "menuitemcheckbox",
769
+ "menuitemradio",
770
+ "option",
771
+ "radio",
772
+ "row",
773
+ "rowheader",
774
+ "switch",
775
+ "tab",
776
+ "tooltip",
777
+ "treeitem"
778
+ ]);
779
+ }
780
+ function ke(e) {
781
+ return !1;
782
+ }
783
+ function Ae(e) {
784
+ return j(e) || me(e) ? e.value : e.textContent || "";
785
+ }
786
+ function I(e) {
787
+ var t = e.getPropertyValue("content");
788
+ return /^["'].*["']$/.test(t) ? t.slice(1, -1) : "";
789
+ }
790
+ function je(e) {
791
+ var t = O(e);
792
+ return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t === "select" || t === "textarea";
793
+ }
794
+ function Me(e) {
795
+ if (je(e)) return e;
796
+ var t = null;
797
+ return e.childNodes.forEach(function(e) {
798
+ if (t === null && A(e)) {
799
+ var n = Me(e);
800
+ n !== null && (t = n);
801
+ }
802
+ }), t;
803
+ }
804
+ function Ne(e) {
805
+ if (e.control !== void 0) return e.control;
806
+ var t = e.getAttribute("for");
807
+ return t === null ? Me(e) : e.ownerDocument.getElementById(t);
808
+ }
809
+ function Pe(e) {
810
+ var t = e.labels;
811
+ if (t === null) return t;
812
+ if (t !== void 0) return x(t);
813
+ if (!je(e)) return null;
814
+ var n = e.ownerDocument;
815
+ return x(n.querySelectorAll("label")).filter(function(t) {
816
+ return Ne(t) === e;
817
+ });
818
+ }
819
+ function Fe(e) {
820
+ var t = e.assignedNodes();
821
+ return t.length === 0 ? x(e.childNodes) : t;
822
+ }
823
+ function Ie(e) {
824
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = new ne(), r = he(e), i = t.compute, a = i === void 0 ? "name" : i, o = t.computedStyleSupportsPseudoElements, s = o === void 0 ? t.getComputedStyle !== void 0 : o, c = t.getComputedStyle, l = c === void 0 ? r.getComputedStyle.bind(r) : c, u = t.hidden, d = u === void 0 ? !1 : u;
825
+ function f(e, t) {
826
+ var n = "";
827
+ if (A(e) && s && (n = `${I(l(e, "::before"))} ${n}`), (ve(e) ? Fe(e) : x(e.childNodes).concat(M(e, "aria-owns"))).forEach(function(e) {
828
+ var r = g(e, {
829
+ isEmbeddedInLabel: t.isEmbeddedInLabel,
830
+ isReferenced: !1,
831
+ recursion: !0
832
+ }), i = (A(e) ? l(e).getPropertyValue("display") : "inline") === "inline" ? "" : " ";
833
+ n += `${i}${r}${i}`;
834
+ }), A(e) && s) {
835
+ var r = I(l(e, "::after"));
836
+ n = `${n} ${r}`;
837
+ }
838
+ return n.trim();
839
+ }
840
+ function p(e, t) {
841
+ var r = e.getAttributeNode(t);
842
+ return r !== null && !n.has(r) && r.value.trim() !== "" ? (n.add(r), r.value) : null;
843
+ }
844
+ function m(e) {
845
+ return A(e) ? p(e, "title") : null;
846
+ }
847
+ function h(e) {
848
+ if (!A(e)) return null;
849
+ if (ge(e)) {
850
+ n.add(e);
851
+ for (var t = x(e.childNodes), r = 0; r < t.length; r += 1) {
852
+ var i = t[r];
853
+ if (_e(i)) return g(i, {
854
+ isEmbeddedInLabel: !1,
855
+ isReferenced: !1,
856
+ recursion: !1
857
+ });
858
+ }
859
+ } else if (pe(e)) {
860
+ n.add(e);
861
+ for (var a = x(e.childNodes), o = 0; o < a.length; o += 1) {
862
+ var s = a[o];
863
+ if (ue(s)) return g(s, {
864
+ isEmbeddedInLabel: !1,
865
+ isReferenced: !1,
866
+ recursion: !1
867
+ });
868
+ }
869
+ } else if (be(e)) {
870
+ n.add(e);
871
+ for (var c = x(e.childNodes), l = 0; l < c.length; l += 1) {
872
+ var u = c[l];
873
+ if (xe(u)) return u.textContent;
874
+ }
875
+ return null;
876
+ } else if (O(e) === "img" || O(e) === "area") {
877
+ var d = p(e, "alt");
878
+ if (d !== null) return d;
879
+ } else if (de(e)) {
880
+ var m = p(e, "label");
881
+ if (m !== null) return m;
882
+ }
883
+ if (j(e) && (e.type === "button" || e.type === "submit" || e.type === "reset")) {
884
+ var h = p(e, "value");
885
+ if (h !== null) return h;
886
+ if (e.type === "submit") return "Submit";
887
+ if (e.type === "reset") return "Reset";
888
+ }
889
+ var _ = Pe(e);
890
+ if (_ !== null && _.length !== 0) return n.add(e), x(_).map(function(e) {
891
+ return g(e, {
892
+ isEmbeddedInLabel: !0,
893
+ isReferenced: !1,
894
+ recursion: !0
895
+ });
896
+ }).filter(function(e) {
897
+ return e.length > 0;
898
+ }).join(" ");
899
+ if (j(e) && e.type === "image") {
900
+ var v = p(e, "alt");
901
+ if (v !== null) return v;
902
+ var y = p(e, "title");
903
+ return y === null ? "Submit Query" : y;
904
+ }
905
+ if (N(e, ["button"])) {
906
+ var b = f(e, {
907
+ isEmbeddedInLabel: !1,
908
+ isReferenced: !1
909
+ });
910
+ if (b !== "") return b;
911
+ }
912
+ return null;
913
+ }
914
+ function g(e, t) {
915
+ if (n.has(e)) return "";
916
+ if (!d && Ce(e, l) && !t.isReferenced) return n.add(e), "";
917
+ var r = A(e) ? e.getAttributeNode("aria-labelledby") : null, i = r !== null && !n.has(r) ? M(e, "aria-labelledby") : [];
918
+ if (a === "name" && !t.isReferenced && i.length > 0) return n.add(r), i.map(function(e) {
919
+ return g(e, {
920
+ isEmbeddedInLabel: t.isEmbeddedInLabel,
921
+ isReferenced: !0,
922
+ recursion: !1
923
+ });
924
+ }).join(" ");
925
+ var o = t.recursion && we(e) && a === "name";
926
+ if (!o) {
927
+ var s = (A(e) && e.getAttribute("aria-label") || "").trim();
928
+ if (s !== "" && a === "name") return n.add(e), s;
929
+ if (!Ee(e)) {
930
+ var c = h(e);
931
+ if (c !== null) return n.add(e), c;
932
+ }
933
+ }
934
+ if (N(e, ["menu"])) return n.add(e), "";
935
+ if (o || t.isEmbeddedInLabel || t.isReferenced) {
936
+ if (N(e, ["combobox", "listbox"])) {
937
+ n.add(e);
938
+ var u = Te(e);
939
+ return u.length === 0 ? j(e) ? e.value : "" : x(u).map(function(e) {
940
+ return g(e, {
941
+ isEmbeddedInLabel: t.isEmbeddedInLabel,
942
+ isReferenced: !1,
943
+ recursion: !0
944
+ });
945
+ }).join(" ");
946
+ }
947
+ if (P(e, "range")) return n.add(e), e.hasAttribute("aria-valuetext") ? e.getAttribute("aria-valuetext") : e.hasAttribute("aria-valuenow") ? e.getAttribute("aria-valuenow") : e.getAttribute("value") || "";
948
+ if (N(e, ["textbox"])) return n.add(e), Ae(e);
949
+ }
950
+ if (Oe(e) || A(e) && t.isReferenced || De(e) || ke(e)) {
951
+ var p = f(e, {
952
+ isEmbeddedInLabel: t.isEmbeddedInLabel,
953
+ isReferenced: !1
954
+ });
955
+ if (p !== "") return n.add(e), p;
956
+ }
957
+ if (e.nodeType === e.TEXT_NODE) return n.add(e), e.textContent || "";
958
+ if (t.recursion) return n.add(e), f(e, {
959
+ isEmbeddedInLabel: t.isEmbeddedInLabel,
960
+ isReferenced: !1
961
+ });
962
+ var _ = m(e);
963
+ return _ === null ? (n.add(e), "") : (n.add(e), _);
964
+ }
965
+ return Se(g(e, {
966
+ isEmbeddedInLabel: !1,
967
+ isReferenced: a === "description",
968
+ recursion: !1
969
+ }));
970
+ }
971
+ //#endregion
972
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-description.mjs
973
+ function L(e) {
974
+ "@babel/helpers - typeof";
975
+ return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
976
+ return typeof e;
977
+ } : function(e) {
978
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
979
+ }, L(e);
980
+ }
981
+ function Le(e, t) {
982
+ var n = Object.keys(e);
983
+ if (Object.getOwnPropertySymbols) {
984
+ var r = Object.getOwnPropertySymbols(e);
985
+ t && (r = r.filter(function(t) {
986
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
987
+ })), n.push.apply(n, r);
988
+ }
989
+ return n;
990
+ }
991
+ function Re(e) {
992
+ for (var t = 1; t < arguments.length; t++) {
993
+ var n = arguments[t] == null ? {} : arguments[t];
994
+ t % 2 ? Le(Object(n), !0).forEach(function(t) {
995
+ ze(e, t, n[t]);
996
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Le(Object(n)).forEach(function(t) {
997
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
998
+ });
999
+ }
1000
+ return e;
1001
+ }
1002
+ function ze(e, t, n) {
1003
+ return t = Be(t), t in e ? Object.defineProperty(e, t, {
1004
+ value: n,
1005
+ enumerable: !0,
1006
+ configurable: !0,
1007
+ writable: !0
1008
+ }) : e[t] = n, e;
1009
+ }
1010
+ function Be(e) {
1011
+ var t = Ve(e, "string");
1012
+ return L(t) === "symbol" ? t : String(t);
1013
+ }
1014
+ function Ve(e, t) {
1015
+ if (L(e) !== "object" || e === null) return e;
1016
+ var n = e[Symbol.toPrimitive];
1017
+ if (n !== void 0) {
1018
+ var r = n.call(e, t || "default");
1019
+ if (L(r) !== "object") return r;
1020
+ throw TypeError("@@toPrimitive must return a primitive value.");
1021
+ }
1022
+ return (t === "string" ? String : Number)(e);
1023
+ }
1024
+ function He(e) {
1025
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = M(e, "aria-describedby").map(function(e) {
1026
+ return Ie(e, Re(Re({}, t), {}, { compute: "description" }));
1027
+ }).join(" ");
1028
+ if (n === "") {
1029
+ var r = e.getAttribute("aria-description");
1030
+ n = r === null ? "" : r;
1031
+ }
1032
+ if (n === "") {
1033
+ var i = e.getAttribute("title");
1034
+ n = i === null ? "" : i;
1035
+ }
1036
+ return n;
1037
+ }
1038
+ //#endregion
1039
+ //#region node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/accessible-name.mjs
1040
+ function Ue(e) {
1041
+ return N(e, [
1042
+ "caption",
1043
+ "code",
1044
+ "deletion",
1045
+ "emphasis",
1046
+ "generic",
1047
+ "insertion",
1048
+ "none",
1049
+ "paragraph",
1050
+ "presentation",
1051
+ "strong",
1052
+ "subscript",
1053
+ "superscript"
1054
+ ]);
1055
+ }
1056
+ function We(e) {
1057
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1058
+ return Ue(e) ? "" : Ie(e, t);
1059
+ }
1060
+ //#endregion
1061
+ //#region node_modules/picocolors/picocolors.browser.js
1062
+ var Ge = /* @__PURE__ */ t(((e, t) => {
1063
+ var n = String, r = function() {
1064
+ return {
1065
+ isColorSupported: !1,
1066
+ reset: n,
1067
+ bold: n,
1068
+ dim: n,
1069
+ italic: n,
1070
+ underline: n,
1071
+ inverse: n,
1072
+ hidden: n,
1073
+ strikethrough: n,
1074
+ black: n,
1075
+ red: n,
1076
+ green: n,
1077
+ yellow: n,
1078
+ blue: n,
1079
+ magenta: n,
1080
+ cyan: n,
1081
+ white: n,
1082
+ gray: n,
1083
+ bgBlack: n,
1084
+ bgRed: n,
1085
+ bgGreen: n,
1086
+ bgYellow: n,
1087
+ bgBlue: n,
1088
+ bgMagenta: n,
1089
+ bgCyan: n,
1090
+ bgWhite: n,
1091
+ blackBright: n,
1092
+ redBright: n,
1093
+ greenBright: n,
1094
+ yellowBright: n,
1095
+ blueBright: n,
1096
+ magentaBright: n,
1097
+ cyanBright: n,
1098
+ whiteBright: n,
1099
+ bgBlackBright: n,
1100
+ bgRedBright: n,
1101
+ bgGreenBright: n,
1102
+ bgYellowBright: n,
1103
+ bgBlueBright: n,
1104
+ bgMagentaBright: n,
1105
+ bgCyanBright: n,
1106
+ bgWhiteBright: n
1107
+ };
1108
+ };
1109
+ t.exports = r(), t.exports.createColors = r;
1110
+ })), Ke = /* @__PURE__ */ t(((e, t) => {
1111
+ (function(n, r) {
1112
+ typeof e == "object" ? t.exports = r(n) : typeof define == "function" && define.amd ? define([], r.bind(n, n)) : r(n);
1113
+ })(typeof global < "u" ? global : e, function(e) {
1114
+ if (e.CSS && e.CSS.escape) return e.CSS.escape;
1115
+ var t = function(e) {
1116
+ if (arguments.length == 0) throw TypeError("`CSS.escape` requires an argument.");
1117
+ for (var t = String(e), n = t.length, r = -1, i, a = "", o = t.charCodeAt(0); ++r < n;) {
1118
+ if (i = t.charCodeAt(r), i == 0) {
1119
+ a += "�";
1120
+ continue;
1121
+ }
1122
+ if (i >= 1 && i <= 31 || i == 127 || r == 0 && i >= 48 && i <= 57 || r == 1 && i >= 48 && i <= 57 && o == 45) {
1123
+ a += "\\" + i.toString(16) + " ";
1124
+ continue;
1125
+ }
1126
+ if (r == 0 && n == 1 && i == 45) {
1127
+ a += "\\" + t.charAt(r);
1128
+ continue;
1129
+ }
1130
+ if (i >= 128 || i == 45 || i == 95 || i >= 48 && i <= 57 || i >= 65 && i <= 90 || i >= 97 && i <= 122) {
1131
+ a += t.charAt(r);
1132
+ continue;
1133
+ }
1134
+ a += "\\" + t.charAt(r);
1135
+ }
1136
+ return a;
1137
+ };
1138
+ return e.CSS ||= {}, e.CSS.escape = t, t;
1139
+ });
1140
+ })), qe = /* @__PURE__ */ e(o(), 1), R = n(), Je = /* @__PURE__ */ e(Ge(), 1), Ye = /* @__PURE__ */ e(Ke(), 1), Xe = class extends Error {
1141
+ constructor(e, t, n, r) {
1142
+ /* istanbul ignore next */
1143
+ super(), Error.captureStackTrace && Error.captureStackTrace(this, n);
1144
+ let i = "";
1145
+ try {
1146
+ i = r.utils.printWithType("Received", t, r.utils.printReceived);
1147
+ } catch {}
1148
+ this.message = [
1149
+ r.utils.matcherHint(`${r.isNot ? ".not" : ""}.${n.name}`, "received", ""),
1150
+ "",
1151
+ `${r.utils.RECEIVED_COLOR("received")} value must ${e}.`,
1152
+ i
1153
+ ].join("\n");
1154
+ }
1155
+ }, Ze = class extends Xe {
1156
+ constructor(...e) {
1157
+ super("be an HTMLElement or an SVGElement", ...e);
1158
+ }
1159
+ }, Qe = class extends Xe {
1160
+ constructor(...e) {
1161
+ super("be a Node", ...e);
1162
+ }
1163
+ };
1164
+ function $e(e, t, ...n) {
1165
+ if (!e || !e.ownerDocument || !e.ownerDocument.defaultView) throw new t(e, ...n);
1166
+ }
1167
+ function et(e, ...t) {
1168
+ if ($e(e, Qe, ...t), !(e instanceof e.ownerDocument.defaultView.Node)) throw new Qe(e, ...t);
1169
+ }
1170
+ function z(e, ...t) {
1171
+ $e(e, Ze, ...t);
1172
+ let n = e.ownerDocument.defaultView;
1173
+ if (!(e instanceof n.HTMLElement) && !(e instanceof n.SVGElement)) throw new Ze(e, ...t);
1174
+ }
1175
+ var tt = class extends Error {
1176
+ constructor(e, t, n) {
1177
+ super(), Error.captureStackTrace && Error.captureStackTrace(this, t), this.message = [
1178
+ e.message,
1179
+ "",
1180
+ n.utils.RECEIVED_COLOR("Failing css:"),
1181
+ n.utils.RECEIVED_COLOR(`${e.css}`)
1182
+ ].join("\n");
1183
+ }
1184
+ };
1185
+ function nt(e, ...t) {
1186
+ let n = h(`selector { ${e} }`, { silent: !0 }).stylesheet;
1187
+ if (n.parsingErrors && n.parsingErrors.length > 0) {
1188
+ let { reason: r, line: i } = n.parsingErrors[0];
1189
+ throw new tt({
1190
+ css: e,
1191
+ message: `Syntax error parsing expected css: ${r} on line: ${i}`
1192
+ }, ...t);
1193
+ }
1194
+ return n.rules[0].declarations.filter((e) => e.type === "declaration").reduce((e, { property: t, value: n }) => Object.assign(e, { [t]: n }), {});
1195
+ }
1196
+ function rt(e, t) {
1197
+ return typeof t == "string" ? t : e.utils.stringify(t);
1198
+ }
1199
+ function B(e, t, n, r, i, a) {
1200
+ return [
1201
+ `${t}\n`,
1202
+ `${n}:\n${e.utils.EXPECTED_COLOR((0, qe.default)(rt(e, r), 2))}`,
1203
+ `${i}:\n${e.utils.RECEIVED_COLOR((0, qe.default)(rt(e, a), 2))}`
1204
+ ].join("\n");
1205
+ }
1206
+ function it(e, t) {
1207
+ return t instanceof RegExp ? t.test(e) : e.includes(String(t));
1208
+ }
1209
+ function V(e, t) {
1210
+ console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`, t);
1211
+ }
1212
+ function H(e) {
1213
+ return e.replace(/\s+/g, " ").trim();
1214
+ }
1215
+ function U(e) {
1216
+ return e.tagName && e.tagName.toLowerCase();
1217
+ }
1218
+ function at({ multiple: e, options: t }) {
1219
+ let n = [...t].filter((e) => e.selected);
1220
+ if (e) return [...n].map((e) => e.value);
1221
+ if (n.length !== 0) return n[0].value;
1222
+ }
1223
+ function ot(e) {
1224
+ switch (e.type) {
1225
+ case "number": return e.value === "" ? null : Number(e.value);
1226
+ case "checkbox": return e.checked;
1227
+ default: return e.value;
1228
+ }
1229
+ }
1230
+ var st = [
1231
+ "meter",
1232
+ "progressbar",
1233
+ "slider",
1234
+ "spinbutton"
1235
+ ];
1236
+ function ct(e) {
1237
+ if (st.includes(e.getAttribute("role"))) return Number(e.getAttribute("aria-valuenow"));
1238
+ }
1239
+ function lt(e) {
1240
+ if (e) switch (e.tagName.toLowerCase()) {
1241
+ case "input": return ot(e);
1242
+ case "select": return at(e);
1243
+ default: return e.value ?? ct(e);
1244
+ }
1245
+ }
1246
+ function ut(e, { wordConnector: t = ", ", lastWordConnector: n = " and " } = {}) {
1247
+ return [e.slice(0, -1).join(t), e[e.length - 1]].join(e.length > 1 ? n : "");
1248
+ }
1249
+ function W(e, t) {
1250
+ return Array.isArray(e) && Array.isArray(t) ? [...new Set(e)].every((e) => new Set(t).has(e)) : e === t;
1251
+ }
1252
+ function G(e, t) {
1253
+ return V("toBeInTheDOM", "Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."), e && z(e, G, this), t && z(t, G, this), {
1254
+ pass: t ? t.contains(e) : !!e,
1255
+ message: () => [
1256
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeInTheDOM`, "element", ""),
1257
+ "",
1258
+ "Received:",
1259
+ ` ${this.utils.printReceived(e && e.cloneNode(!1))}`
1260
+ ].join("\n")
1261
+ };
1262
+ }
1263
+ function dt(e) {
1264
+ (e !== null || !this.isNot) && z(e, dt, this);
1265
+ let t = e === null ? !1 : e.ownerDocument === e.getRootNode({ composed: !0 }), n = () => `expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`, r = () => "element could not be found in the document";
1266
+ return {
1267
+ pass: t,
1268
+ message: () => [
1269
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeInTheDocument`, "element", ""),
1270
+ "",
1271
+ this.utils.RECEIVED_COLOR(this.isNot ? n() : r())
1272
+ ].join("\n")
1273
+ };
1274
+ }
1275
+ function ft(e) {
1276
+ return V("toBeEmpty", "Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."), z(e, ft, this), {
1277
+ pass: e.innerHTML === "",
1278
+ message: () => [
1279
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeEmpty`, "element", ""),
1280
+ "",
1281
+ "Received:",
1282
+ ` ${this.utils.printReceived(e.innerHTML)}`
1283
+ ].join("\n")
1284
+ };
1285
+ }
1286
+ function pt(e) {
1287
+ return z(e, pt, this), {
1288
+ pass: mt(e),
1289
+ message: () => [
1290
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeEmptyDOMElement`, "element", ""),
1291
+ "",
1292
+ "Received:",
1293
+ ` ${this.utils.printReceived(e.innerHTML)}`
1294
+ ].join("\n")
1295
+ };
1296
+ }
1297
+ function mt(e) {
1298
+ return [...e.childNodes].filter((e) => e.nodeType !== 8).length === 0;
1299
+ }
1300
+ function K(e, t) {
1301
+ return z(e, K, this), t !== null && z(t, K, this), {
1302
+ pass: e.contains(t),
1303
+ message: () => [
1304
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toContainElement`, "element", "element"),
1305
+ "",
1306
+ this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot ? "contains:" : "does not contain:"} ${this.utils.stringify(t && t.cloneNode(!1))}
1307
+ `)
1308
+ ].join("\n")
1309
+ };
1310
+ }
1311
+ function ht(e, t) {
1312
+ let n = e.ownerDocument.createElement("div");
1313
+ return n.innerHTML = t, n.innerHTML;
1314
+ }
1315
+ function gt(e, t) {
1316
+ if (z(e, gt, this), typeof t != "string") throw Error(`.toContainHTML() expects a string value, got ${t}`);
1317
+ return {
1318
+ pass: e.outerHTML.includes(ht(e, t)),
1319
+ message: () => [
1320
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toContainHTML`, "element", ""),
1321
+ "Expected:",
1322
+ ` ${this.utils.EXPECTED_COLOR(t)}`,
1323
+ "Received:",
1324
+ ` ${this.utils.printReceived(e.cloneNode(!0))}`
1325
+ ].join("\n")
1326
+ };
1327
+ }
1328
+ function _t(e, t, n = { normalizeWhitespace: !0 }) {
1329
+ et(e, _t, this);
1330
+ let r = n.normalizeWhitespace ? H(e.textContent) : e.textContent.replace(/\u00a0/g, " "), i = r !== "" && t === "";
1331
+ return {
1332
+ pass: !i && it(r, t),
1333
+ message: () => {
1334
+ let e = this.isNot ? "not to" : "to";
1335
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveTextContent`, "element", ""), i ? "Checking with empty string will always match, use .toBeEmptyDOMElement() instead" : `Expected element ${e} have text content`, t, "Received", r);
1336
+ }
1337
+ };
1338
+ }
1339
+ function q(e, t) {
1340
+ z(e, q, this);
1341
+ let n = He(e), r = arguments.length === 1, i = !1;
1342
+ return i = r ? n !== "" : t instanceof RegExp ? t.test(n) : this.equals(n, t), {
1343
+ pass: i,
1344
+ message: () => {
1345
+ let e = this.isNot ? "not to" : "to";
1346
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.${q.name}`, "element", ""), `Expected element ${e} have accessible description`, t, "Received", n);
1347
+ }
1348
+ };
1349
+ }
1350
+ var J = "aria-invalid", vt = ["false"];
1351
+ function yt(e, t) {
1352
+ z(e, yt, this);
1353
+ let n = this.isNot ? "not to" : "to", r = this.isNot ? ".not.toHaveAccessibleErrorMessage" : ".toHaveAccessibleErrorMessage", i = e.getAttribute("aria-errormessage");
1354
+ if (i && /\s+/.test(i)) return {
1355
+ pass: !1,
1356
+ message: () => B(this, this.utils.matcherHint(r, "element"), "Expected element's `aria-errormessage` attribute to be empty or a single, valid ID", "", "Received", `aria-errormessage="${i}"`)
1357
+ };
1358
+ let a = e.getAttribute(J);
1359
+ if (!e.hasAttribute(J) || vt.includes(a)) return {
1360
+ pass: !1,
1361
+ message: () => B(this, this.utils.matcherHint(r, "element"), "Expected element to be marked as invalid with attribute", `${J}="true"`, "Received", e.hasAttribute("aria-invalid") ? `${J}="${e.getAttribute(J)}` : null)
1362
+ };
1363
+ let o = H(e.ownerDocument.getElementById(i)?.textContent ?? "");
1364
+ return {
1365
+ pass: t === void 0 ? !!o : t instanceof RegExp ? t.test(o) : this.equals(o, t),
1366
+ message: () => B(this, this.utils.matcherHint(r, "element"), `Expected element ${n} have accessible error message`, t ?? "", "Received", o)
1367
+ };
1368
+ }
1369
+ var bt = Ct(R.elementRoles);
1370
+ function Y(e, t) {
1371
+ z(e, Y, this);
1372
+ let n = xt(e);
1373
+ return {
1374
+ pass: n.some((e) => e === t),
1375
+ message: () => {
1376
+ let e = this.isNot ? "not to" : "to";
1377
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.${Y.name}`, "element", ""), `Expected element ${e} have role`, t, "Received", n.join(", "));
1378
+ }
1379
+ };
1380
+ }
1381
+ function xt(e) {
1382
+ return e.hasAttribute("role") ? e.getAttribute("role").split(" ").filter(Boolean) : St(e);
1383
+ }
1384
+ function St(e) {
1385
+ for (let { match: t, roles: n } of bt) if (t(e)) return [...n];
1386
+ /* istanbul ignore next */
1387
+ return [];
1388
+ }
1389
+ function Ct(e) {
1390
+ function t({ name: e, attributes: t }) {
1391
+ return `${e}${t.map(({ name: e, value: t, constraints: n = [] }) => n.indexOf("undefined") === -1 ? t ? `[${e}="${t}"]` : `[${e}]` : `:not([${e}])`).join("")}`;
1392
+ }
1393
+ function n({ attributes: e = [] }) {
1394
+ return e.length;
1395
+ }
1396
+ function r({ specificity: e }, { specificity: t }) {
1397
+ return t - e;
1398
+ }
1399
+ function i(e) {
1400
+ let { attributes: n = [] } = e, r = n.findIndex((e) => e.value && e.name === "type" && e.value === "text");
1401
+ r >= 0 && (n = [...n.slice(0, r), ...n.slice(r + 1)]);
1402
+ let i = t({
1403
+ ...e,
1404
+ attributes: n
1405
+ });
1406
+ return (e) => r >= 0 && e.type !== "text" ? !1 : e.matches(i);
1407
+ }
1408
+ let a = [];
1409
+ for (let [t, r] of e.entries()) a = [...a, {
1410
+ match: i(t),
1411
+ roles: Array.from(r),
1412
+ specificity: n(t)
1413
+ }];
1414
+ return a.sort(r);
1415
+ }
1416
+ function X(e, t) {
1417
+ z(e, X, this);
1418
+ let n = We(e), r = arguments.length === 1, i = !1;
1419
+ return i = r ? n !== "" : t instanceof RegExp ? t.test(n) : this.equals(n, t), {
1420
+ pass: i,
1421
+ message: () => {
1422
+ let e = this.isNot ? "not to" : "to";
1423
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.${X.name}`, "element", ""), `Expected element ${e} have accessible name`, t, "Received", n);
1424
+ }
1425
+ };
1426
+ }
1427
+ function wt(e, t, n) {
1428
+ return n === void 0 ? t : `${t}=${e(n)}`;
1429
+ }
1430
+ function Tt(e, t, n) {
1431
+ return n === void 0 ? `element.hasAttribute(${e(t)})` : `element.getAttribute(${e(t)}) === ${e(n)}`;
1432
+ }
1433
+ function Et(e, t, n) {
1434
+ z(e, Et, this);
1435
+ let r = n !== void 0, i = e.hasAttribute(t), a = e.getAttribute(t);
1436
+ return {
1437
+ pass: r ? i && this.equals(a, n) : i,
1438
+ message: () => {
1439
+ let e = this.isNot ? "not to" : "to", o = i ? wt(this.utils.stringify, t, a) : null, s = this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveAttribute`, "element", this.utils.printExpected(t), {
1440
+ secondArgument: r ? this.utils.printExpected(n) : void 0,
1441
+ comment: Tt(this.utils.stringify, t, n)
1442
+ });
1443
+ return B(this, s, `Expected the element ${e} have attribute`, wt(this.utils.stringify, t, n), "Received", o);
1444
+ }
1445
+ };
1446
+ }
1447
+ function Dt(e) {
1448
+ let t = e.pop(), n, r;
1449
+ return typeof t == "object" && !(t instanceof RegExp) ? (n = e, r = t) : (n = e.concat(t), r = { exact: !1 }), {
1450
+ expectedClassNames: n,
1451
+ options: r
1452
+ };
1453
+ }
1454
+ function Ot(e) {
1455
+ return e ? e.split(/\s+/).filter((e) => e.length > 0) : [];
1456
+ }
1457
+ function kt(e, t) {
1458
+ return e.every((e) => typeof e == "string" ? t.includes(e) : t.some((t) => e.test(t)));
1459
+ }
1460
+ function At(e, ...t) {
1461
+ z(e, At, this);
1462
+ let { expectedClassNames: n, options: r } = Dt(t), i = Ot(e.getAttribute("class")), a = n.reduce((e, t) => e.concat(typeof t == "string" || !t ? Ot(t) : t), []), o = a.some((e) => e instanceof RegExp);
1463
+ if (r.exact && o) throw Error("Exact option does not support RegExp expected class names");
1464
+ return r.exact ? {
1465
+ pass: kt(a, i) && a.length === i.length,
1466
+ message: () => {
1467
+ let e = this.isNot ? "not to" : "to";
1468
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveClass`, "element", this.utils.printExpected(a.join(" "))), `Expected the element ${e} have EXACTLY defined classes`, a.join(" "), "Received", i.join(" "));
1469
+ }
1470
+ } : a.length > 0 ? {
1471
+ pass: kt(a, i),
1472
+ message: () => {
1473
+ let e = this.isNot ? "not to" : "to";
1474
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveClass`, "element", this.utils.printExpected(a.join(" "))), `Expected the element ${e} have class`, a.join(" "), "Received", i.join(" "));
1475
+ }
1476
+ } : {
1477
+ pass: this.isNot ? i.length > 0 : !1,
1478
+ message: () => this.isNot ? B(this, this.utils.matcherHint(".not.toHaveClass", "element", ""), "Expected the element to have classes", "(none)", "Received", i.join(" ")) : [this.utils.matcherHint(".toHaveClass", "element"), "At least one expected class must be provided."].join("\n")
1479
+ };
1480
+ }
1481
+ function jt(e, t) {
1482
+ let n = {}, r = e.createElement("div");
1483
+ return Object.keys(t).forEach((e) => {
1484
+ r.style[e] = t[e], n[e] = r.style[e];
1485
+ }), n;
1486
+ }
1487
+ function Mt(e, t) {
1488
+ return !!Object.keys(e).length && Object.entries(e).every(([e, n]) => {
1489
+ let r = e.startsWith("--"), i = [e];
1490
+ return r || i.push(e.toLowerCase()), i.some((e) => t[e] === n || t.getPropertyValue(e) === n);
1491
+ });
1492
+ }
1493
+ function Nt(e) {
1494
+ return Object.keys(e).sort().map((t) => `${t}: ${e[t]};`).join("\n");
1495
+ }
1496
+ function Pt(e, t, n) {
1497
+ let r = Array.from(n).filter((e) => t[e] !== void 0).reduce((e, t) => Object.assign(e, { [t]: n.getPropertyValue(t) }), {});
1498
+ return e(Nt(t), Nt(r)).replace(`${Je.default.red("+ Received")}\n`, "");
1499
+ }
1500
+ function Z(e, t) {
1501
+ z(e, Z, this);
1502
+ let n = typeof t == "object" ? t : nt(t, Z, this), { getComputedStyle: r } = e.ownerDocument.defaultView, i = jt(e.ownerDocument, n), a = r(e);
1503
+ return {
1504
+ pass: Mt(i, a),
1505
+ message: () => {
1506
+ let e = `${this.isNot ? ".not" : ""}.toHaveStyle`;
1507
+ return [this.utils.matcherHint(e, "element", ""), Pt(this.utils.diff, i, a)].join("\n\n");
1508
+ }
1509
+ };
1510
+ }
1511
+ function Ft(e) {
1512
+ return z(e, Ft, this), {
1513
+ pass: e.ownerDocument.activeElement === e,
1514
+ message: () => [
1515
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveFocus`, "element", ""),
1516
+ "",
1517
+ ...this.isNot ? ["Received element is focused:", ` ${this.utils.printReceived(e)}`] : [
1518
+ "Expected element with focus:",
1519
+ ` ${this.utils.printExpected(e)}`,
1520
+ "Received element with focus:",
1521
+ ` ${this.utils.printReceived(e.ownerDocument.activeElement)}`
1522
+ ]
1523
+ ].join("\n")
1524
+ };
1525
+ }
1526
+ function It(e) {
1527
+ let t = [...new Set(e.map((e) => e.type))];
1528
+ if (t.length !== 1) throw Error("Multiple form elements with the same name must be of the same type");
1529
+ switch (t[0]) {
1530
+ case "radio": {
1531
+ let t = e.find((e) => e.checked);
1532
+ return t ? t.value : void 0;
1533
+ }
1534
+ case "checkbox": return e.filter((e) => e.checked).map((e) => e.value);
1535
+ default: return e.map((e) => e.value);
1536
+ }
1537
+ }
1538
+ function Lt(e, t) {
1539
+ let n = [...e.querySelectorAll(`[name="${(0, Ye.default)(t)}"]`)];
1540
+ if (n.length !== 0) switch (n.length) {
1541
+ case 1: return lt(n[0]);
1542
+ default: return It(n);
1543
+ }
1544
+ }
1545
+ function Rt(e) {
1546
+ return /\[\]$/.test(e) ? e.slice(0, -2) : e;
1547
+ }
1548
+ function zt(e) {
1549
+ return Array.from(e.elements).map((e) => e.name).reduce((t, n) => ({
1550
+ ...t,
1551
+ [Rt(n)]: Lt(e, n)
1552
+ }), {});
1553
+ }
1554
+ function Bt(e, t) {
1555
+ if (z(e, Bt, this), !e.elements) throw Error("toHaveFormValues must be called on a form or a fieldset");
1556
+ let n = zt(e);
1557
+ return {
1558
+ pass: Object.entries(t).every(([e, t]) => W(n[e], t)),
1559
+ message: () => {
1560
+ let e = this.isNot ? "not to" : "to", r = `${this.isNot ? ".not" : ""}.toHaveFormValues`, i = Object.keys(n).filter((e) => t.hasOwnProperty(e)).reduce((e, t) => ({
1561
+ ...e,
1562
+ [t]: n[t]
1563
+ }), {});
1564
+ return [
1565
+ this.utils.matcherHint(r, "element", ""),
1566
+ `Expected the element ${e} have form values`,
1567
+ this.utils.diff(t, i)
1568
+ ].join("\n\n");
1569
+ }
1570
+ };
1571
+ }
1572
+ function Vt(e) {
1573
+ let { getComputedStyle: t } = e.ownerDocument.defaultView, { display: n, visibility: r, opacity: i } = t(e);
1574
+ return n !== "none" && r !== "hidden" && r !== "collapse" && i !== "0" && i !== 0;
1575
+ }
1576
+ function Ht(e, t) {
1577
+ let n;
1578
+ return n = t ? e.nodeName === "DETAILS" && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0 : e.nodeName === "DETAILS" ? e.hasAttribute("open") : !0, !e.hasAttribute("hidden") && n;
1579
+ }
1580
+ function Ut(e, t) {
1581
+ return Vt(e) && Ht(e, t) && (!e.parentElement || Ut(e.parentElement, e));
1582
+ }
1583
+ function Wt(e) {
1584
+ z(e, Wt, this);
1585
+ let t = e.ownerDocument === e.getRootNode({ composed: !0 }), n = t && Ut(e);
1586
+ return {
1587
+ pass: n,
1588
+ message: () => {
1589
+ let r = n ? "is" : "is not";
1590
+ return [
1591
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeVisible`, "element", ""),
1592
+ "",
1593
+ `Received element ${r} visible${t ? "" : " (element is not in the document)"}:`,
1594
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1595
+ ].join("\n");
1596
+ }
1597
+ };
1598
+ }
1599
+ var Gt = [
1600
+ "fieldset",
1601
+ "input",
1602
+ "select",
1603
+ "optgroup",
1604
+ "option",
1605
+ "button",
1606
+ "textarea"
1607
+ ];
1608
+ function Kt(e, t) {
1609
+ return U(e) === "legend" && U(t) === "fieldset" && e.isSameNode(Array.from(t.children).find((e) => U(e) === "legend"));
1610
+ }
1611
+ function qt(e, t) {
1612
+ return Xt(t) && !Kt(e, t);
1613
+ }
1614
+ function Jt(e) {
1615
+ return e.includes("-");
1616
+ }
1617
+ function Yt(e) {
1618
+ let t = U(e);
1619
+ return Gt.includes(t) || Jt(t);
1620
+ }
1621
+ function Xt(e) {
1622
+ return Yt(e) && e.hasAttribute("disabled");
1623
+ }
1624
+ function Zt(e) {
1625
+ let t = e.parentElement;
1626
+ return !!t && (qt(e, t) || Zt(t));
1627
+ }
1628
+ function Qt(e) {
1629
+ return Yt(e) && (Xt(e) || Zt(e));
1630
+ }
1631
+ function $t(e) {
1632
+ z(e, $t, this);
1633
+ let t = Qt(e);
1634
+ return {
1635
+ pass: t,
1636
+ message: () => {
1637
+ let n = t ? "is" : "is not";
1638
+ return [
1639
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeDisabled`, "element", ""),
1640
+ "",
1641
+ `Received element ${n} disabled:`,
1642
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1643
+ ].join("\n");
1644
+ }
1645
+ };
1646
+ }
1647
+ function en(e) {
1648
+ z(e, en, this);
1649
+ let t = !Qt(e);
1650
+ return {
1651
+ pass: t,
1652
+ message: () => {
1653
+ let n = t ? "is" : "is not";
1654
+ return [
1655
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeEnabled`, "element", ""),
1656
+ "",
1657
+ `Received element ${n} enabled:`,
1658
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1659
+ ].join("\n");
1660
+ }
1661
+ };
1662
+ }
1663
+ var tn = ["select", "textarea"], nn = [
1664
+ "input",
1665
+ "select",
1666
+ "textarea"
1667
+ ], rn = [
1668
+ "color",
1669
+ "hidden",
1670
+ "range",
1671
+ "submit",
1672
+ "image",
1673
+ "reset"
1674
+ ], an = [
1675
+ "checkbox",
1676
+ "combobox",
1677
+ "gridcell",
1678
+ "listbox",
1679
+ "radiogroup",
1680
+ "spinbutton",
1681
+ "textbox",
1682
+ "tree"
1683
+ ];
1684
+ function on(e) {
1685
+ return tn.includes(U(e)) && e.hasAttribute("required");
1686
+ }
1687
+ function sn(e) {
1688
+ return U(e) === "input" && e.hasAttribute("required") && (e.hasAttribute("type") && !rn.includes(e.getAttribute("type")) || !e.hasAttribute("type"));
1689
+ }
1690
+ function cn(e) {
1691
+ return e.hasAttribute("aria-required") && e.getAttribute("aria-required") === "true" && (nn.includes(U(e)) || e.hasAttribute("role") && an.includes(e.getAttribute("role")));
1692
+ }
1693
+ function ln(e) {
1694
+ z(e, ln, this);
1695
+ let t = on(e) || sn(e) || cn(e);
1696
+ return {
1697
+ pass: t,
1698
+ message: () => {
1699
+ let n = t ? "is" : "is not";
1700
+ return [
1701
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeRequired`, "element", ""),
1702
+ "",
1703
+ `Received element ${n} required:`,
1704
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1705
+ ].join("\n");
1706
+ }
1707
+ };
1708
+ }
1709
+ var un = [
1710
+ "form",
1711
+ "input",
1712
+ "select",
1713
+ "textarea"
1714
+ ];
1715
+ function dn(e) {
1716
+ return e.hasAttribute("aria-invalid") && e.getAttribute("aria-invalid") !== "false";
1717
+ }
1718
+ function fn(e) {
1719
+ return un.includes(U(e));
1720
+ }
1721
+ function pn(e) {
1722
+ let t = dn(e);
1723
+ return fn(e) ? t || !e.checkValidity() : t;
1724
+ }
1725
+ function mn(e) {
1726
+ z(e, mn, this);
1727
+ let t = pn(e);
1728
+ return {
1729
+ pass: t,
1730
+ message: () => {
1731
+ let n = t ? "is" : "is not";
1732
+ return [
1733
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeInvalid`, "element", ""),
1734
+ "",
1735
+ `Received element ${n} currently invalid:`,
1736
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1737
+ ].join("\n");
1738
+ }
1739
+ };
1740
+ }
1741
+ function hn(e) {
1742
+ z(e, hn, this);
1743
+ let t = !pn(e);
1744
+ return {
1745
+ pass: t,
1746
+ message: () => {
1747
+ let n = t ? "is" : "is not";
1748
+ return [
1749
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeValid`, "element", ""),
1750
+ "",
1751
+ `Received element ${n} currently valid:`,
1752
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1753
+ ].join("\n");
1754
+ }
1755
+ };
1756
+ }
1757
+ function gn(e, t) {
1758
+ if (z(e, gn, this), e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type)) throw Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");
1759
+ let n = lt(e), r = t !== void 0, i = t, a = n;
1760
+ return t == n && t !== n && (i = `${t} (${typeof t})`, a = `${n} (${typeof n})`), {
1761
+ pass: r ? W(n, t) : !!n,
1762
+ message: () => {
1763
+ let e = this.isNot ? "not to" : "to", n = this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveValue`, "element", t);
1764
+ return B(this, n, `Expected the element ${e} have value`, r ? i : "(any)", "Received", a);
1765
+ }
1766
+ };
1767
+ }
1768
+ function _n(e, t) {
1769
+ z(e, _n, this);
1770
+ let n = e.tagName.toLowerCase();
1771
+ if (![
1772
+ "select",
1773
+ "input",
1774
+ "textarea"
1775
+ ].includes(n)) throw Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");
1776
+ if (n === "input" && ["radio", "checkbox"].includes(e.type)) throw Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);
1777
+ let r = vn(n, e), i = yn(t), a = i.filter((e) => r.some((t) => e instanceof RegExp ? e.test(t) : this.equals(t, String(e)))).length, o = a === r.length, s = a === i.length;
1778
+ return {
1779
+ pass: o && s,
1780
+ message: () => B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveDisplayValue`, "element", ""), `Expected element ${this.isNot ? "not " : ""}to have display value`, t, "Received", r)
1781
+ };
1782
+ }
1783
+ function vn(e, t) {
1784
+ return e === "select" ? Array.from(t).filter((e) => e.selected).map((e) => e.textContent) : [t.value];
1785
+ }
1786
+ function yn(e) {
1787
+ return e instanceof Array ? e : [e];
1788
+ }
1789
+ function bn(e) {
1790
+ z(e, bn, this);
1791
+ let t = () => e.tagName.toLowerCase() === "input" && ["checkbox", "radio"].includes(e.type);
1792
+ if (!t() && !(Cn(e.getAttribute("role")) && ["true", "false"].includes(e.getAttribute("aria-checked")))) return {
1793
+ pass: !1,
1794
+ message: () => `only inputs with type="checkbox" or type="radio" or elements with ${xn()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`
1795
+ };
1796
+ let n = () => t() ? e.checked : e.getAttribute("aria-checked") === "true";
1797
+ return {
1798
+ pass: n(),
1799
+ message: () => {
1800
+ let t = n() ? "is" : "is not";
1801
+ return [
1802
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBeChecked`, "element", ""),
1803
+ "",
1804
+ `Received element ${t} checked:`,
1805
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1806
+ ].join("\n");
1807
+ }
1808
+ };
1809
+ }
1810
+ function xn() {
1811
+ return ut(Sn().map((e) => `role="${e}"`), { lastWordConnector: " or " });
1812
+ }
1813
+ function Sn() {
1814
+ return R.roles.keys().filter(Cn);
1815
+ }
1816
+ function Cn(e) {
1817
+ return R.roles.get(e)?.props["aria-checked"] !== void 0;
1818
+ }
1819
+ function wn(e) {
1820
+ z(e, wn, this);
1821
+ let t = () => e.tagName.toLowerCase() === "input" && e.type === "checkbox";
1822
+ if (!t() && e.getAttribute("role") !== "checkbox") return {
1823
+ pass: !1,
1824
+ message: () => "only inputs with type=\"checkbox\" or elements with role=\"checkbox\" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead"
1825
+ };
1826
+ let n = () => {
1827
+ let n = e.getAttribute("aria-checked") === "mixed";
1828
+ return t() && e.indeterminate || n;
1829
+ };
1830
+ return {
1831
+ pass: n(),
1832
+ message: () => {
1833
+ let t = n() ? "is" : "is not";
1834
+ return [
1835
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBePartiallyChecked`, "element", ""),
1836
+ "",
1837
+ `Received element ${t} partially checked:`,
1838
+ ` ${this.utils.printReceived(e.cloneNode(!1))}`
1839
+ ].join("\n");
1840
+ }
1841
+ };
1842
+ }
1843
+ function Tn(e, t) {
1844
+ V("toHaveDescription", "Please use toHaveAccessibleDescription."), z(e, Tn, this);
1845
+ let n = t !== void 0, r = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean), i = "";
1846
+ if (r.length > 0) {
1847
+ let t = e.ownerDocument;
1848
+ i = H(r.map((e) => t.getElementById(e)).filter(Boolean).map((e) => e.textContent).join(" "));
1849
+ }
1850
+ return {
1851
+ pass: n ? t instanceof RegExp ? t.test(i) : this.equals(i, t) : !!i,
1852
+ message: () => {
1853
+ let e = this.isNot ? "not to" : "to";
1854
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveDescription`, "element", ""), `Expected the element ${e} have description`, this.utils.printExpected(t), "Received", this.utils.printReceived(i));
1855
+ }
1856
+ };
1857
+ }
1858
+ function En(e, t) {
1859
+ if (V("toHaveErrorMessage", "Please use toHaveAccessibleErrorMessage."), z(e, En, this), !e.hasAttribute("aria-invalid") || e.getAttribute("aria-invalid") === "false") {
1860
+ let t = this.isNot ? ".not" : "";
1861
+ return {
1862
+ pass: !1,
1863
+ message: () => B(this, this.utils.matcherHint(`${t}.toHaveErrorMessage`, "element", ""), "Expected the element to have invalid state indicated by", "aria-invalid=\"true\"", "Received", e.hasAttribute("aria-invalid") ? `aria-invalid="${e.getAttribute("aria-invalid")}"` : this.utils.printReceived(""))
1864
+ };
1865
+ }
1866
+ let n = t !== void 0, r = (e.getAttribute("aria-errormessage") || "").split(/\s+/).filter(Boolean), i = "";
1867
+ if (r.length > 0) {
1868
+ let t = e.ownerDocument;
1869
+ i = H(r.map((e) => t.getElementById(e)).filter(Boolean).map((e) => e.textContent).join(" "));
1870
+ }
1871
+ return {
1872
+ pass: n ? t instanceof RegExp ? t.test(i) : this.equals(i, t) : !!i,
1873
+ message: () => {
1874
+ let e = this.isNot ? "not to" : "to";
1875
+ return B(this, this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveErrorMessage`, "element", ""), `Expected the element ${e} have error message`, this.utils.printExpected(t), "Received", this.utils.printReceived(i));
1876
+ }
1877
+ };
1878
+ }
1879
+ function Dn(e) {
1880
+ let t = e.ownerDocument.getSelection();
1881
+ if (["input", "textarea"].includes(e.tagName.toLowerCase())) return ["radio", "checkbox"].includes(e.type) ? "" : e.value.toString().substring(e.selectionStart, e.selectionEnd);
1882
+ if (t.anchorNode === null || t.focusNode === null) return "";
1883
+ let n = t.getRangeAt(0), r = e.ownerDocument.createRange();
1884
+ if (t.containsNode(e, !1)) r.selectNodeContents(e), t.removeAllRanges(), t.addRange(r);
1885
+ else if (!(e.contains(t.anchorNode) && e.contains(t.focusNode))) {
1886
+ let i = e === n.startContainer || e.contains(n.startContainer), a = e === n.endContainer || e.contains(n.endContainer);
1887
+ t.removeAllRanges(), (i || a) && (r.selectNodeContents(e), i && r.setStart(n.startContainer, n.startOffset), a && r.setEnd(n.endContainer, n.endOffset), t.addRange(r));
1888
+ }
1889
+ let i = t.toString();
1890
+ return t.removeAllRanges(), t.addRange(n), i;
1891
+ }
1892
+ function Q(e, t) {
1893
+ z(e, Q, this);
1894
+ let n = t !== void 0;
1895
+ if (n && typeof t != "string") throw Error("expected selection must be a string or undefined");
1896
+ let r = Dn(e);
1897
+ return {
1898
+ pass: n ? W(r, t) : !!r,
1899
+ message: () => {
1900
+ let e = this.isNot ? "not to" : "to", i = this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toHaveSelection`, "element", t);
1901
+ return B(this, i, `Expected the element ${e} have selection`, n ? t : "(any)", "Received", r);
1902
+ }
1903
+ };
1904
+ }
1905
+ function On(e) {
1906
+ z(e, On, this);
1907
+ let t = (e.getAttribute("role") || "").split(" ").map((e) => e.trim()), n = e.tagName.toLowerCase() === "button" || e.tagName.toLowerCase() === "input" && e.type === "button" || t.includes("button"), r = e.getAttribute("aria-pressed");
1908
+ return !n || !(r === "true" || r === "false") ? {
1909
+ pass: !1,
1910
+ message: () => "Only button or input with type=\"button\" or element with role=\"button\" and a valid aria-pressed attribute can be used with .toBePressed()"
1911
+ } : {
1912
+ pass: n && r === "true",
1913
+ message: () => {
1914
+ let e = this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBePressed`, "element", "");
1915
+ return B(this, e, "Expected element to have", `aria-pressed="${this.isNot ? "false" : "true"}"`, "Received", `aria-pressed="${r}"`);
1916
+ }
1917
+ };
1918
+ }
1919
+ function kn(e) {
1920
+ z(e, kn, this);
1921
+ let t = (e.getAttribute("role") || "").split(" ").map((e) => e.trim()), n = e.tagName.toLowerCase() === "button" || e.tagName.toLowerCase() === "input" && e.type === "button" || t.includes("button"), r = e.getAttribute("aria-pressed");
1922
+ return !n || !(r === "true" || r === "false" || r === "mixed") ? {
1923
+ pass: !1,
1924
+ message: () => "Only button or input with type=\"button\" or element with role=\"button\" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()"
1925
+ } : {
1926
+ pass: n && r === "mixed",
1927
+ message: () => {
1928
+ let e = this.isNot ? "not to" : "to", t = this.utils.matcherHint(`${this.isNot ? ".not" : ""}.toBePartiallyPressed`, "element", "");
1929
+ return B(this, t, `Expected element ${e} have`, "aria-pressed=\"mixed\"", "Received", `aria-pressed="${r}"`);
1930
+ }
1931
+ };
1932
+ }
1933
+ var An = 1, jn = 2, Mn = 4, Nn = 8, Pn = 16, Fn = 32, In = {
1934
+ [An]: "Node.DOCUMENT_POSITION_DISCONNECTED",
1935
+ [jn]: "Node.DOCUMENT_POSITION_PRECEDING",
1936
+ [Mn]: "Node.DOCUMENT_POSITION_FOLLOWING",
1937
+ [Nn]: "Node.DOCUMENT_POSITION_CONTAINS",
1938
+ [Pn]: "Node.DOCUMENT_POSITION_CONTAINED_BY",
1939
+ [Fn]: "Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"
1940
+ };
1941
+ function Ln(e) {
1942
+ return e in In ? `${In[e]} (${e})` : `Unknown document position (${e})`;
1943
+ }
1944
+ function Rn(e, t) {
1945
+ return function(n, r) {
1946
+ z(n, $, this), z(r, $, this);
1947
+ let i = n.compareDocumentPosition(r);
1948
+ return {
1949
+ pass: i === t,
1950
+ message: () => [
1951
+ this.utils.matcherHint(`${this.isNot ? ".not" : ""}.${e}`, "element", "secondElement"),
1952
+ "",
1953
+ `Received: ${Ln(i)}`
1954
+ ].join("\n")
1955
+ };
1956
+ };
1957
+ }
1958
+ function $(e, t) {
1959
+ return Rn("toAppearBefore", Mn).apply(this, [e, t]);
1960
+ }
1961
+ function zn(e, t) {
1962
+ return Rn("toAppearAfter", jn).apply(this, [e, t]);
1963
+ }
1964
+ var Bn = /* @__PURE__ */ Object.freeze({
1965
+ __proto__: null,
1966
+ toAppearAfter: zn,
1967
+ toAppearBefore: $,
1968
+ toBeChecked: bn,
1969
+ toBeDisabled: $t,
1970
+ toBeEmpty: ft,
1971
+ toBeEmptyDOMElement: pt,
1972
+ toBeEnabled: en,
1973
+ toBeInTheDOM: G,
1974
+ toBeInTheDocument: dt,
1975
+ toBeInvalid: mn,
1976
+ toBePartiallyChecked: wn,
1977
+ toBePartiallyPressed: kn,
1978
+ toBePressed: On,
1979
+ toBeRequired: ln,
1980
+ toBeValid: hn,
1981
+ toBeVisible: Wt,
1982
+ toContainElement: K,
1983
+ toContainHTML: gt,
1984
+ toHaveAccessibleDescription: q,
1985
+ toHaveAccessibleErrorMessage: yt,
1986
+ toHaveAccessibleName: X,
1987
+ toHaveAttribute: Et,
1988
+ toHaveClass: At,
1989
+ toHaveDescription: Tn,
1990
+ toHaveDisplayValue: _n,
1991
+ toHaveErrorMessage: En,
1992
+ toHaveFocus: Ft,
1993
+ toHaveFormValues: Bt,
1994
+ toHaveRole: Y,
1995
+ toHaveSelection: Q,
1996
+ toHaveStyle: Z,
1997
+ toHaveTextContent: _t,
1998
+ toHaveValue: gn
1999
+ });
2000
+ //#endregion
2001
+ //#region node_modules/@testing-library/jest-dom/dist/index.mjs
2002
+ expect.extend(Bn);
2003
+ //#endregion
2004
+
2005
+ //# sourceMappingURL=dist-D6qYwmKD.js.map