@uva-glass/component-library 3.57.4 → 3.57.5

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 (183) hide show
  1. package/dist/{DataTable-Guuh0GZc.js → DataTable-UslvEf3c.js} +3 -3
  2. package/dist/{DataTable-Guuh0GZc.js.map → DataTable-UslvEf3c.js.map} +1 -1
  3. package/dist/{Lexical.prod-Dy5aDppc.js → Lexical.prod-BlUfEvo-.js} +1461 -1476
  4. package/dist/{Lexical.prod-Dy5aDppc.js.map → Lexical.prod-BlUfEvo-.js.map} +1 -1
  5. package/dist/{LexicalClipboard.prod-CS8a49uL.js → LexicalClipboard.prod-DQbm50C_.js} +132 -131
  6. package/dist/LexicalClipboard.prod-DQbm50C_.js.map +1 -0
  7. package/dist/LexicalHtml.prod-Czkg35Fe.js +1129 -0
  8. package/dist/LexicalHtml.prod-Czkg35Fe.js.map +1 -0
  9. package/dist/{LexicalLink.prod-DzgwWhQM.js → LexicalLink.prod-6gI2ABQo.js} +141 -141
  10. package/dist/{LexicalLink.prod-DzgwWhQM.js.map → LexicalLink.prod-6gI2ABQo.js.map} +1 -1
  11. package/dist/{LexicalList.prod-icY8mpm6.js → LexicalList.prod-CMGvSM1c.js} +265 -265
  12. package/dist/{LexicalList.prod-icY8mpm6.js.map → LexicalList.prod-CMGvSM1c.js.map} +1 -1
  13. package/dist/LexicalSelection.prod-DS_R6Cl1.js +99 -0
  14. package/dist/LexicalSelection.prod-DS_R6Cl1.js.map +1 -0
  15. package/dist/{LexicalTable.prod-Bf0is-op.js → LexicalTable.prod-D3FUVxbr.js} +582 -582
  16. package/dist/LexicalTable.prod-D3FUVxbr.js.map +1 -0
  17. package/dist/LexicalUtils.prod-CNWf_0sq.js +164 -0
  18. package/dist/LexicalUtils.prod-CNWf_0sq.js.map +1 -0
  19. package/dist/{LinkContextMenu-C8ehPbP8.js → LinkContextMenu-59-rbxa2.js} +2 -2
  20. package/dist/{LinkContextMenu-C8ehPbP8.js.map → LinkContextMenu-59-rbxa2.js.map} +1 -1
  21. package/dist/{PasteHandlerPlugin-CSo_lOE8.js → PasteHandlerPlugin-CTzYRyAx.js} +9 -9
  22. package/dist/{PasteHandlerPlugin-CSo_lOE8.js.map → PasteHandlerPlugin-CTzYRyAx.js.map} +1 -1
  23. package/dist/{Slider-Czd2xAGf.js → Slider-CqYFsgRL.js} +3 -3
  24. package/dist/{Slider-Czd2xAGf.js.map → Slider-CqYFsgRL.js.map} +1 -1
  25. package/dist/{TableCellResizerPlugin-Bb2blXnq.js → TableCellResizerPlugin-D-fX5I3p.js} +12 -5
  26. package/dist/{TableCellResizerPlugin-Bb2blXnq.js.map → TableCellResizerPlugin-D-fX5I3p.js.map} +1 -1
  27. package/dist/{chunk-5WKL7XVT-CvOIS3NE.js → chunk-SNLGT2ZI--XVeLAcq.js} +2540 -2881
  28. package/dist/chunk-SNLGT2ZI--XVeLAcq.js.map +1 -0
  29. package/dist/{client-CXlG3hNo.js → client-CTHUtwUP.js} +4 -4
  30. package/dist/{client-CXlG3hNo.js.map → client-CTHUtwUP.js.map} +1 -1
  31. package/dist/components/Accordion/Accordion.test.js +15 -14
  32. package/dist/components/Accordion/Accordion.test.js.map +1 -1
  33. package/dist/components/AccordionCard/AccordionCard.test.js +20 -19
  34. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -1
  35. package/dist/components/ActionList/ActionList.test.js +26 -25
  36. package/dist/components/ActionList/ActionList.test.js.map +1 -1
  37. package/dist/components/AppStatusBar/AppStatusBar.test.js +6 -5
  38. package/dist/components/AppStatusBar/AppStatusBar.test.js.map +1 -1
  39. package/dist/components/Attention/Attention.test.js +5 -4
  40. package/dist/components/Attention/Attention.test.js.map +1 -1
  41. package/dist/components/Backdrop/Backdrop.test.js +5 -4
  42. package/dist/components/Backdrop/Backdrop.test.js.map +1 -1
  43. package/dist/components/Buttons/Button.stories.js +1 -1
  44. package/dist/components/Buttons/Button.test.js +20 -19
  45. package/dist/components/Buttons/Button.test.js.map +1 -1
  46. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  47. package/dist/components/Buttons/LinkButton.test.js +22 -21
  48. package/dist/components/Buttons/LinkButton.test.js.map +1 -1
  49. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  50. package/dist/components/Buttons/MenuButton.test.js +20 -19
  51. package/dist/components/Buttons/MenuButton.test.js.map +1 -1
  52. package/dist/components/Card/Card.test.js +5 -4
  53. package/dist/components/Card/Card.test.js.map +1 -1
  54. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  55. package/dist/components/Checkbox/Checkbox.test.js +9 -8
  56. package/dist/components/Checkbox/Checkbox.test.js.map +1 -1
  57. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  58. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js +16 -15
  59. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.test.js.map +1 -1
  60. package/dist/components/CheckboxTree/CheckboxTree.js +1 -1
  61. package/dist/components/CheckboxTree/CheckboxTree.stories.js +3 -3
  62. package/dist/components/CheckboxTree/index.js +1 -1
  63. package/dist/components/Chip/Chip.stories.js +1 -1
  64. package/dist/components/ControlsButton/ControlsButton.stories.js +1 -1
  65. package/dist/components/DataTable/DataTable.js +1 -1
  66. package/dist/components/DataTable/DataTable.stories.js +1 -1
  67. package/dist/components/DataTable/index.js +1 -1
  68. package/dist/components/Drawer/Drawer.stories.js +1 -1
  69. package/dist/components/FeedbackBar/FeedbackBar.test.js +8 -7
  70. package/dist/components/FeedbackBar/FeedbackBar.test.js.map +1 -1
  71. package/dist/components/FormInput/FormInput.js +1 -1
  72. package/dist/components/FormInput/FormInput.stories.js +2 -2
  73. package/dist/components/FormInput/index.js +1 -1
  74. package/dist/components/IconButton/IconButton.stories.js +1 -1
  75. package/dist/components/InputField/InputField.stories.js +1 -1
  76. package/dist/components/Label/Label.test.js +12 -11
  77. package/dist/components/Label/Label.test.js.map +1 -1
  78. package/dist/components/MetaDataBar/MetaDataBar.test.js +5 -4
  79. package/dist/components/MetaDataBar/MetaDataBar.test.js.map +1 -1
  80. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  81. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  82. package/dist/components/MultiSelect/MultiSelect.stories.js +2 -2
  83. package/dist/components/MultiSelect/components/MultiSelectHeader.js +1 -1
  84. package/dist/components/MultiSelect/index.js +1 -1
  85. package/dist/components/MultiSelectBox/MultiSelectBox.stories.js +1 -1
  86. package/dist/components/MultiSelectBox/MultiSelectBox.test.js +12 -11
  87. package/dist/components/MultiSelectBox/MultiSelectBox.test.js.map +1 -1
  88. package/dist/components/Notification/Notification.stories.js +1 -1
  89. package/dist/components/Notification/Notification.test.js +8 -7
  90. package/dist/components/Notification/Notification.test.js.map +1 -1
  91. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  92. package/dist/components/PeriodSelector/PeriodSelector.js +1 -1
  93. package/dist/components/PeriodSelector/PeriodSelector.stories.js +2 -2
  94. package/dist/components/PeriodSelector/index.js +1 -1
  95. package/dist/components/RadioGroup/RadioGroup.stories.js +1 -1
  96. package/dist/components/RadioGroup/Radiogroup.test.js +10 -9
  97. package/dist/components/RadioGroup/Radiogroup.test.js.map +1 -1
  98. package/dist/components/RadioTabSelector/RadioTabSelector.js +1 -1
  99. package/dist/components/RadioTabSelector/RadioTabSelector.stories.js +2 -2
  100. package/dist/components/RadioTabSelector/index.js +1 -1
  101. package/dist/components/RteEditor/EditorHeader/EditorHeader.js +1 -1
  102. package/dist/components/RteEditor/EditorHeader/index.js +1 -1
  103. package/dist/components/RteEditor/Plugins/BlockFormatPlugin/BlockFormatPlugin.js +4 -4
  104. package/dist/components/RteEditor/Plugins/CourseCataloguePlugin/CourseCataloguePlugin.js +20 -20
  105. package/dist/components/RteEditor/Plugins/HistoryPlugin/HistoryPlugin.js +1 -1
  106. package/dist/components/RteEditor/Plugins/HistoryPlugin/index.js +1 -1
  107. package/dist/components/RteEditor/Plugins/LinkPlugin/AddLinkForm/AddLinkFrom.js +1 -1
  108. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkContextMenu/LinkContextMenu.js +1 -1
  109. package/dist/components/RteEditor/Plugins/LinkPlugin/LinkPlugin.js +1 -1
  110. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js +7 -2
  111. package/dist/components/RteEditor/Plugins/LinkPlugin/helpers.js.map +1 -0
  112. package/dist/components/RteEditor/Plugins/LinkPlugin/index.js +1 -1
  113. package/dist/components/RteEditor/Plugins/ListPlugin/ListPlugin.js +12 -12
  114. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/PasteHandlerPlugin.js +1 -1
  115. package/dist/components/RteEditor/Plugins/PasteHandlerPlugin/index.js +1 -1
  116. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/TableCellResizerPlugin.js +1 -1
  117. package/dist/components/RteEditor/Plugins/TableCellResizerPlugin/index.js +1 -1
  118. package/dist/components/RteEditor/Plugins/TablePlugin/AddTableFrom.js +1 -1
  119. package/dist/components/RteEditor/Plugins/TablePlugin/TablePlugin.js +1 -1
  120. package/dist/components/RteEditor/Plugins/TablePlugin/helpers.js +2 -2
  121. package/dist/components/RteEditor/Plugins/TablePlugin/index.js +1 -1
  122. package/dist/components/RteEditor/Plugins/ToolbarPlugin/ToolbarPlugin.js +1 -1
  123. package/dist/components/RteEditor/Plugins/ToolbarPlugin/index.js +1 -1
  124. package/dist/components/RteEditor/Plugins/index.js +3 -3
  125. package/dist/components/RteEditor/RteEditor.js +1 -1
  126. package/dist/components/RteEditor/RteEditor.stories.js +1 -1
  127. package/dist/components/RteEditor/helpers.js +5 -5
  128. package/dist/components/RteEditor/index.js +1 -1
  129. package/dist/components/RteEditor/nodes/CourseCatalogueNode/CourseCatalogueNode.js +14 -14
  130. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js +20 -19
  131. package/dist/components/RteEditor/nodes/TableWrapperNode/TableWrapperNode.js.map +1 -1
  132. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  133. package/dist/components/SelectListbox/SelectProvider.js +2 -1
  134. package/dist/components/SelectListbox/SelectProvider.js.map +1 -1
  135. package/dist/components/Slider/Slider.js +1 -1
  136. package/dist/components/Slider/Slider.stories.js +1 -1
  137. package/dist/components/Slider/index.js +1 -1
  138. package/dist/components/Sortable/Sortable.stories.js +1 -1
  139. package/dist/components/Sortable/components/SortableItem.js +2 -2
  140. package/dist/components/Sortable/components/SortableItem.js.map +1 -1
  141. package/dist/components/StatusBadge/StatusBadge.test.js +7 -6
  142. package/dist/components/StatusBadge/StatusBadge.test.js.map +1 -1
  143. package/dist/components/TextArea/TextArea.stories.js +1 -1
  144. package/dist/components/TextArea/TextArea.test.js +14 -13
  145. package/dist/components/TextArea/TextArea.test.js.map +1 -1
  146. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  147. package/dist/components/VarIndicator/VarIndicator.stories.js +1 -1
  148. package/dist/components/VarIndicator/VarIndicator.test.js +26 -25
  149. package/dist/components/VarIndicator/VarIndicator.test.js.map +1 -1
  150. package/dist/components/hooks/useResponsive.js +1 -1
  151. package/dist/components/hooks/useResponsive.js.map +1 -1
  152. package/dist/components/index.js +3 -3
  153. package/dist/{components-CgBF6db6.js → components-D2rPfyIW.js} +438 -408
  154. package/dist/components-D2rPfyIW.js.map +1 -0
  155. package/dist/{dist-oLwM--0y.js → dist-CuwCMU7Y.js} +4 -4
  156. package/dist/{dist-oLwM--0y.js.map → dist-CuwCMU7Y.js.map} +1 -1
  157. package/dist/{react.esm-DwWzhs9e.js → dom.esm-S0SD0DBW.js} +938 -1029
  158. package/dist/dom.esm-S0SD0DBW.js.map +1 -0
  159. package/dist/{esm-BXzGXYWZ.js → esm-Bfz5h0_d.js} +5 -5
  160. package/dist/{esm-BXzGXYWZ.js.map → esm-Bfz5h0_d.js.map} +1 -1
  161. package/dist/index.js +3 -3
  162. package/dist/{react-18-BwdnKC48.js → react-18-yf-KbRra.js} +3 -3
  163. package/dist/{react-18-BwdnKC48.js.map → react-18-yf-KbRra.js.map} +1 -1
  164. package/dist/react.esm-D50lAl1F.js +226 -0
  165. package/dist/react.esm-D50lAl1F.js.map +1 -0
  166. package/dist/setupTests.js +1 -1
  167. package/dist/storybook__react.d.js +22 -22
  168. package/dist/storybook__react.d.js.map +1 -1
  169. package/dist/{test-Gtly6H2f.js → test-BjtC-Q32.js} +3684 -6919
  170. package/dist/test-BjtC-Q32.js.map +1 -0
  171. package/package.json +13 -13
  172. package/dist/LexicalClipboard.prod-CS8a49uL.js.map +0 -1
  173. package/dist/LexicalHtml.prod-BtzosUOH.js +0 -1611
  174. package/dist/LexicalHtml.prod-BtzosUOH.js.map +0 -1
  175. package/dist/LexicalTable.prod-Bf0is-op.js.map +0 -1
  176. package/dist/LexicalUtils.prod-CjGUKarD.js +0 -259
  177. package/dist/LexicalUtils.prod-CjGUKarD.js.map +0 -1
  178. package/dist/chunk-5WKL7XVT-CvOIS3NE.js.map +0 -1
  179. package/dist/components-CgBF6db6.js.map +0 -1
  180. package/dist/helpers-MMNO9vlK.js +0 -34
  181. package/dist/helpers-MMNO9vlK.js.map +0 -1
  182. package/dist/react.esm-DwWzhs9e.js.map +0 -1
  183. package/dist/test-Gtly6H2f.js.map +0 -1
package/dist/index.js CHANGED
@@ -17,10 +17,10 @@ import { t as h } from "./CheckboxButtonBar-OrJSqUTN.js";
17
17
  import { t as g } from "./Label-52ny6d06.js";
18
18
  import { t as _ } from "./FeedbackBox-BpOf_dxg.js";
19
19
  import { t as v } from "./ControlsButton-Byx4XQtB.js";
20
- import { d as y, f as b, h as x, m as S, n as C, t as w, u as T } from "./components-CgBF6db6.js";
20
+ import { d as y, f as b, h as x, m as S, n as C, t as w, u as T } from "./components-D2rPfyIW.js";
21
21
  import { t as E } from "./Chip-9XnXFhoJ.js";
22
22
  import { t as D } from "./CopyableText-BKsM-TuS.js";
23
- import { t as O } from "./DataTable-Guuh0GZc.js";
23
+ import { t as O } from "./DataTable-UslvEf3c.js";
24
24
  import { t as k } from "./Drawer-fUw0LEuj.js";
25
25
  import { t as A } from "./OverlayCloseButton-Dt6Yec8G.js";
26
26
  import { t as j } from "./EmptyStateDataDisplay-FBDAGO88.js";
@@ -53,7 +53,7 @@ import { t as re } from "./RadioGroup-DlQjMmpa.js";
53
53
  import { SearchField as ie } from "./components/SearchField/SearchField.js";
54
54
  import { SelectProvider as ae, useSelect as oe } from "./components/SelectListbox/SelectProvider.js";
55
55
  import { SelectListbox as se } from "./components/SelectListbox/SelectListbox.js";
56
- import { t as ce } from "./Slider-Czd2xAGf.js";
56
+ import { t as ce } from "./Slider-CqYFsgRL.js";
57
57
  import { Sortable as le } from "./components/Sortable/Sortable.js";
58
58
  import { t as ue } from "./StatusBage-hJmNPqtk.js";
59
59
  import { t as de } from "./StatusPill-vdqU92pW.js";
@@ -1,7 +1,7 @@
1
1
  import { i as e } from "./rolldown-runtime-CWhphoD1.js";
2
- import { t } from "./client-CXlG3hNo.js";
2
+ import { t } from "./client-CTHUtwUP.js";
3
3
  import * as n from "react";
4
- //#region node_modules/.pnpm/@storybook+react-dom-shim@10.4.6_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_874b09a4aa108b9a49da1fecd8292658/node_modules/@storybook/react-dom-shim/dist/react-18.js
4
+ //#region node_modules/.pnpm/@storybook+react-dom-shim@10.5.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_d8b9cafba111b6d670b43d8c326e8020/node_modules/@storybook/react-dom-shim/dist/react-18.js
5
5
  var r = /* @__PURE__ */ e(t(), 1), i = /* @__PURE__ */ new Map();
6
6
  function a() {
7
7
  return globalThis.IS_REACT_ACT_ENVIRONMENT;
@@ -40,4 +40,4 @@ var s = async (e, t, r) => {
40
40
  //#endregion
41
41
  export { s as renderElement, c as unmountElement };
42
42
 
43
- //# sourceMappingURL=react-18-BwdnKC48.js.map
43
+ //# sourceMappingURL=react-18-yf-KbRra.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-18-BwdnKC48.js","names":["React"],"sources":["../node_modules/.pnpm/@storybook+react-dom-shim@10.4.6_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_874b09a4aa108b9a49da1fecd8292658/node_modules/@storybook/react-dom-shim/dist/react-18.js"],"sourcesContent":["// src/react-18.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom/client\";\nvar nodes = /* @__PURE__ */ new Map();\nfunction getIsReactActEnvironment() {\n return globalThis.IS_REACT_ACT_ENVIRONMENT;\n}\nvar WithCallback = ({\n callback,\n children\n}) => {\n let once = React.useRef();\n return React.useLayoutEffect(() => {\n once.current !== callback && (once.current = callback, callback());\n }, [callback]), children;\n};\ntypeof Promise.withResolvers > \"u\" && (Promise.withResolvers = () => {\n let resolve = null, reject = null;\n return { promise: new Promise((res, rej) => {\n resolve = res, reject = rej;\n }), resolve, reject };\n});\nvar renderElement = async (node, el, rootOptions) => {\n let root = await getReactRoot(el, rootOptions);\n if (getIsReactActEnvironment()) {\n root.render(node);\n return;\n }\n let { promise, resolve } = Promise.withResolvers();\n return root.render(React.createElement(WithCallback, { callback: resolve }, node)), promise;\n}, unmountElement = (el, shouldUseNewRootApi) => {\n let root = nodes.get(el);\n root && (root.unmount(), nodes.delete(el));\n}, getReactRoot = async (el, rootOptions) => {\n let root = nodes.get(el);\n return root || (root = ReactDOM.createRoot(el, rootOptions), nodes.set(el, root)), root;\n};\nexport {\n renderElement,\n unmountElement\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;mCAGI,oBAAwB,IAAI,IAAI;AACpC,SAAS,IAA2B;CAClC,OAAO,WAAW;AACpB;AACA,IAAI,KAAgB,EAClB,aACA,kBACI;CACJ,IAAI,IAAOA,EAAM,OAAO;CACxB,OAAOA,EAAM,sBAAsB;EACjC,EAAK,YAAY,MAAa,EAAK,UAAU,GAAU,EAAS;CAClE,GAAG,CAAC,CAAQ,CAAC,GAAG;AAClB;AACA,OAAO,QAAQ,gBAAgB,QAAQ,QAAQ,sBAAsB;CACnE,IAAI,IAAU,MAAM,IAAS;CAC7B,OAAO;EAAE,SAAS,IAAI,SAAS,GAAK,MAAQ;GAC1C,IAAU,GAAK,IAAS;EAC1B,CAAC;EAAG;EAAS;CAAO;AACtB;AACA,IAAI,IAAgB,OAAO,GAAM,GAAI,MAAgB;CACnD,IAAI,IAAO,MAAM,EAAa,GAAI,CAAW;CAC7C,IAAI,EAAyB,GAAG;EAC9B,EAAK,OAAO,CAAI;EAChB;CACF;CACA,IAAI,EAAE,YAAS,eAAY,QAAQ,cAAc;CACjD,OAAO,EAAK,OAAOA,EAAM,cAAc,GAAc,EAAE,UAAU,EAAQ,GAAG,CAAI,CAAC,GAAG;AACtF,GAAG,KAAkB,GAAI,MAAwB;CAC/C,IAAI,IAAO,EAAM,IAAI,CAAE;CACvB,MAAS,EAAK,QAAQ,GAAG,EAAM,OAAO,CAAE;AAC1C,GAAG,IAAe,OAAO,GAAI,MAAgB;CAC3C,IAAI,IAAO,EAAM,IAAI,CAAE;CACvB,OAAO,MAAS,IAAA,EAAgB,WAAW,GAAI,CAAW,GAAG,EAAM,IAAI,GAAI,CAAI,IAAI;AACrF"}
1
+ {"version":3,"file":"react-18-yf-KbRra.js","names":["React"],"sources":["../node_modules/.pnpm/@storybook+react-dom-shim@10.5.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_d8b9cafba111b6d670b43d8c326e8020/node_modules/@storybook/react-dom-shim/dist/react-18.js"],"sourcesContent":["// src/react-18.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom/client\";\nvar nodes = /* @__PURE__ */ new Map();\nfunction getIsReactActEnvironment() {\n return globalThis.IS_REACT_ACT_ENVIRONMENT;\n}\nvar WithCallback = ({\n callback,\n children\n}) => {\n let once = React.useRef();\n return React.useLayoutEffect(() => {\n once.current !== callback && (once.current = callback, callback());\n }, [callback]), children;\n};\ntypeof Promise.withResolvers > \"u\" && (Promise.withResolvers = () => {\n let resolve = null, reject = null;\n return { promise: new Promise((res, rej) => {\n resolve = res, reject = rej;\n }), resolve, reject };\n});\nvar renderElement = async (node, el, rootOptions) => {\n let root = await getReactRoot(el, rootOptions);\n if (getIsReactActEnvironment()) {\n root.render(node);\n return;\n }\n let { promise, resolve } = Promise.withResolvers();\n return root.render(React.createElement(WithCallback, { callback: resolve }, node)), promise;\n}, unmountElement = (el, shouldUseNewRootApi) => {\n let root = nodes.get(el);\n root && (root.unmount(), nodes.delete(el));\n}, getReactRoot = async (el, rootOptions) => {\n let root = nodes.get(el);\n return root || (root = ReactDOM.createRoot(el, rootOptions), nodes.set(el, root)), root;\n};\nexport {\n renderElement,\n unmountElement\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;mCAGI,oBAAwB,IAAI,IAAI;AACpC,SAAS,IAA2B;CAClC,OAAO,WAAW;AACpB;AACA,IAAI,KAAgB,EAClB,aACA,kBACI;CACJ,IAAI,IAAOA,EAAM,OAAO;CACxB,OAAOA,EAAM,sBAAsB;EACjC,EAAK,YAAY,MAAa,EAAK,UAAU,GAAU,EAAS;CAClE,GAAG,CAAC,CAAQ,CAAC,GAAG;AAClB;AACA,OAAO,QAAQ,gBAAgB,QAAQ,QAAQ,sBAAsB;CACnE,IAAI,IAAU,MAAM,IAAS;CAC7B,OAAO;EAAE,SAAS,IAAI,SAAS,GAAK,MAAQ;GAC1C,IAAU,GAAK,IAAS;EAC1B,CAAC;EAAG;EAAS;CAAO;AACtB;AACA,IAAI,IAAgB,OAAO,GAAM,GAAI,MAAgB;CACnD,IAAI,IAAO,MAAM,EAAa,GAAI,CAAW;CAC7C,IAAI,EAAyB,GAAG;EAC9B,EAAK,OAAO,CAAI;EAChB;CACF;CACA,IAAI,EAAE,YAAS,eAAY,QAAQ,cAAc;CACjD,OAAO,EAAK,OAAOA,EAAM,cAAc,GAAc,EAAE,UAAU,EAAQ,GAAG,CAAI,CAAC,GAAG;AACtF,GAAG,KAAkB,GAAI,MAAwB;CAC/C,IAAI,IAAO,EAAM,IAAI,CAAE;CACvB,MAAS,EAAK,QAAQ,GAAG,EAAM,OAAO,CAAE;AAC1C,GAAG,IAAe,OAAO,GAAI,MAAgB;CAC3C,IAAI,IAAO,EAAM,IAAI,CAAE;CACvB,OAAO,MAAS,IAAA,EAAgB,WAAW,GAAI,CAAW,GAAG,EAAM,IAAI,GAAI,CAAI,IAAI;AACrF"}
@@ -0,0 +1,226 @@
1
+ import { i as e } from "./rolldown-runtime-CWhphoD1.js";
2
+ import { a as t, i as n, o as r, r as i, t as a } from "./dom.esm-S0SD0DBW.js";
3
+ import { t as o } from "./test-utils-BVa31HVj.js";
4
+ import { t as s } from "./client-CTHUtwUP.js";
5
+ import * as c from "react";
6
+ import l from "react-dom";
7
+ //#region node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.3_@type_11d2d49f5a29711711a9ee76b83cb539/node_modules/@testing-library/react/dist/@testing-library/react.esm.js
8
+ var u = /* @__PURE__ */ e(o()), d = /* @__PURE__ */ e(s()), f = typeof c.act == "function" ? c.act : u.act;
9
+ function p() {
10
+ /* istanbul ignore else */
11
+ if (typeof globalThis < "u") return globalThis;
12
+ /* istanbul ignore next */
13
+ if (typeof self < "u") return self;
14
+ /* istanbul ignore next */
15
+ if (typeof window < "u") return window;
16
+ /* istanbul ignore next */
17
+ if (typeof global < "u") return global;
18
+ /* istanbul ignore next */
19
+ throw Error("unable to locate global object");
20
+ }
21
+ function m(e) {
22
+ p().IS_REACT_ACT_ENVIRONMENT = e;
23
+ }
24
+ function h() {
25
+ return p().IS_REACT_ACT_ENVIRONMENT;
26
+ }
27
+ function g(e) {
28
+ return (t) => {
29
+ let n = h();
30
+ m(!0);
31
+ try {
32
+ let r = !1, i = e(() => {
33
+ let e = t();
34
+ return typeof e == "object" && e && typeof e.then == "function" && (r = !0), e;
35
+ });
36
+ if (r) {
37
+ let e = i;
38
+ return { then: (t, r) => {
39
+ e.then((e) => {
40
+ m(n), t(e);
41
+ }, (e) => {
42
+ m(n), r(e);
43
+ });
44
+ } };
45
+ } else return m(n), i;
46
+ } catch (e) {
47
+ throw m(n), e;
48
+ }
49
+ };
50
+ }
51
+ var _ = g(f), v = (...e) => i(...e);
52
+ Object.keys(i).forEach((e) => {
53
+ v[e] = (...t) => i[e](...t);
54
+ });
55
+ var y = v.mouseEnter, b = v.mouseLeave;
56
+ v.mouseEnter = (...e) => (y(...e), v.mouseOver(...e)), v.mouseLeave = (...e) => (b(...e), v.mouseOut(...e));
57
+ var x = v.pointerEnter, S = v.pointerLeave;
58
+ v.pointerEnter = (...e) => (x(...e), v.pointerOver(...e)), v.pointerLeave = (...e) => (S(...e), v.pointerOut(...e));
59
+ var C = v.select;
60
+ v.select = (e, t) => {
61
+ C(e, t), e.focus(), v.keyUp(e, t);
62
+ };
63
+ var w = v.blur, T = v.focus;
64
+ v.blur = (...e) => (v.focusOut(...e), w(...e)), v.focus = (...e) => (v.focusIn(...e), T(...e));
65
+ var E = { reactStrictMode: !1 };
66
+ function D() {
67
+ return {
68
+ ...n(),
69
+ ...E
70
+ };
71
+ }
72
+ function O() {
73
+ return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
74
+ }
75
+ a({
76
+ unstable_advanceTimersWrapper: (e) => _(e),
77
+ asyncWrapper: async (e) => {
78
+ let t = h();
79
+ m(!1);
80
+ try {
81
+ let t = await e();
82
+ return await new Promise((e) => {
83
+ setTimeout(() => {
84
+ e();
85
+ }, 0), O() && jest.advanceTimersByTime(0);
86
+ }), t;
87
+ } finally {
88
+ m(t);
89
+ }
90
+ },
91
+ eventWrapper: (e) => {
92
+ let t;
93
+ return _(() => {
94
+ t = e();
95
+ }), t;
96
+ }
97
+ });
98
+ var k = /* @__PURE__ */ new Set(), A = [];
99
+ function j(e, t) {
100
+ return t ?? D().reactStrictMode ? /*#__PURE__*/ c.createElement(c.StrictMode, null, e) : e;
101
+ }
102
+ function M(e, t) {
103
+ return t ? /*#__PURE__*/ c.createElement(t, null, e) : e;
104
+ }
105
+ function N(e, { hydrate: t, onCaughtError: n, onRecoverableError: r, ui: i, wrapper: a, reactStrictMode: o }) {
106
+ let s;
107
+ return t ? _(() => {
108
+ s = d.hydrateRoot(e, j(M(i, a), o), {
109
+ onCaughtError: n,
110
+ onRecoverableError: r
111
+ });
112
+ }) : s = d.createRoot(e, {
113
+ onCaughtError: n,
114
+ onRecoverableError: r
115
+ }), {
116
+ hydrate() {
117
+ /* istanbul ignore if */
118
+ if (!t) throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.");
119
+ },
120
+ render(e) {
121
+ s.render(e);
122
+ },
123
+ unmount() {
124
+ s.unmount();
125
+ }
126
+ };
127
+ }
128
+ function P(e) {
129
+ return {
130
+ hydrate(t) {
131
+ l.hydrate(t, e);
132
+ },
133
+ render(t) {
134
+ l.render(t, e);
135
+ },
136
+ unmount() {
137
+ l.unmountComponentAtNode(e);
138
+ }
139
+ };
140
+ }
141
+ function F(e, { baseElement: n, container: i, hydrate: a, queries: o, root: s, wrapper: c, reactStrictMode: l }) {
142
+ return _(() => {
143
+ a ? s.hydrate(j(M(e, c), l), i) : s.render(j(M(e, c), l), i);
144
+ }), {
145
+ container: i,
146
+ baseElement: n,
147
+ debug: (e = n, t, i) => Array.isArray(e) ? e.forEach((e) => console.log(r(e, t, i))) : console.log(r(e, t, i)),
148
+ unmount: () => {
149
+ _(() => {
150
+ s.unmount();
151
+ });
152
+ },
153
+ rerender: (e) => {
154
+ F(e, {
155
+ container: i,
156
+ baseElement: n,
157
+ root: s,
158
+ wrapper: c,
159
+ reactStrictMode: l
160
+ });
161
+ },
162
+ asFragment: () => {
163
+ /* istanbul ignore else (old jsdom limitation) */
164
+ if (typeof document.createRange == "function") return document.createRange().createContextualFragment(i.innerHTML);
165
+ {
166
+ let e = document.createElement("template");
167
+ return e.innerHTML = i.innerHTML, e.content;
168
+ }
169
+ },
170
+ ...t(n, o)
171
+ };
172
+ }
173
+ function I(e, { container: t, baseElement: n = t, legacyRoot: r = !1, onCaughtError: i, onUncaughtError: a, onRecoverableError: o, queries: s, hydrate: c = !1, wrapper: u, reactStrictMode: d } = {}) {
174
+ if (a !== void 0) throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");
175
+ if (r && typeof l.render != "function") {
176
+ let e = /* @__PURE__ */ Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");
177
+ throw Error.captureStackTrace(e, I), e;
178
+ }
179
+ n ||= document.body, t ||= n.appendChild(document.createElement("div"));
180
+ let f;
181
+ return k.has(t) ? A.forEach((e) => {
182
+ /* istanbul ignore else */
183
+ e.container === t && (f = e.root);
184
+ }) : (f = (r ? P : N)(t, {
185
+ hydrate: c,
186
+ onCaughtError: i,
187
+ onRecoverableError: o,
188
+ ui: e,
189
+ wrapper: u,
190
+ reactStrictMode: d
191
+ }), A.push({
192
+ container: t,
193
+ root: f
194
+ }), k.add(t)), F(e, {
195
+ container: t,
196
+ baseElement: n,
197
+ queries: s,
198
+ hydrate: c,
199
+ wrapper: u,
200
+ root: f,
201
+ reactStrictMode: d
202
+ });
203
+ }
204
+ function L() {
205
+ A.forEach(({ root: e, container: t }) => {
206
+ _(() => {
207
+ e.unmount();
208
+ }), t.parentNode === document.body && document.body.removeChild(t);
209
+ }), A.length = 0, k.clear();
210
+ }
211
+ if ((typeof process > "u" || !process.env?.RTL_SKIP_AUTO_CLEANUP) && (typeof afterEach == "function" ? afterEach(() => {
212
+ L();
213
+ }) : typeof teardown == "function" && teardown(() => {
214
+ L();
215
+ }), typeof beforeAll == "function" && typeof afterAll == "function")) {
216
+ let e = h();
217
+ beforeAll(() => {
218
+ e = h(), m(!0);
219
+ }), afterAll(() => {
220
+ m(e);
221
+ });
222
+ }
223
+ //#endregion
224
+ export { I as n, v as t };
225
+
226
+ //# sourceMappingURL=react.esm-D50lAl1F.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react.esm-D50lAl1F.js","names":["React","configure$1"],"sources":["../node_modules/.pnpm/@testing-library+react@16.3.2_@testing-library+dom@10.4.1_@types+react-dom@19.2.3_@type_11d2d49f5a29711711a9ee76b83cb539/node_modules/@testing-library/react/dist/@testing-library/react.esm.js"],"sourcesContent":["import * as React from 'react';\nimport * as DeprecatedReactTestUtils from 'react-dom/test-utils';\nimport ReactDOM from 'react-dom';\nimport * as ReactDOMClient from 'react-dom/client';\nimport { fireEvent as fireEvent$1, getConfig as getConfig$1, configure as configure$1, prettyDOM, getQueriesForElement } from '@testing-library/dom';\nexport * from '@testing-library/dom';\n\nconst reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;\nfunction getGlobalThis() {\n /* istanbul ignore else */\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n /* istanbul ignore next */\n if (typeof self !== 'undefined') {\n return self;\n }\n /* istanbul ignore next */\n if (typeof window !== 'undefined') {\n return window;\n }\n /* istanbul ignore next */\n if (typeof global !== 'undefined') {\n return global;\n }\n /* istanbul ignore next */\n throw new Error('unable to locate global object');\n}\nfunction setIsReactActEnvironment(isReactActEnvironment) {\n getGlobalThis().IS_REACT_ACT_ENVIRONMENT = isReactActEnvironment;\n}\nfunction getIsReactActEnvironment() {\n return getGlobalThis().IS_REACT_ACT_ENVIRONMENT;\n}\nfunction withGlobalActEnvironment(actImplementation) {\n return callback => {\n const previousActEnvironment = getIsReactActEnvironment();\n setIsReactActEnvironment(true);\n try {\n // The return value of `act` is always a thenable.\n let callbackNeedsToBeAwaited = false;\n const actResult = actImplementation(() => {\n const result = callback();\n if (result !== null && typeof result === 'object' && typeof result.then === 'function') {\n callbackNeedsToBeAwaited = true;\n }\n return result;\n });\n if (callbackNeedsToBeAwaited) {\n const thenable = actResult;\n return {\n then: (resolve, reject) => {\n thenable.then(returnValue => {\n setIsReactActEnvironment(previousActEnvironment);\n resolve(returnValue);\n }, error => {\n setIsReactActEnvironment(previousActEnvironment);\n reject(error);\n });\n }\n };\n } else {\n setIsReactActEnvironment(previousActEnvironment);\n return actResult;\n }\n } catch (error) {\n // Can't be a `finally {}` block since we don't know if we have to immediately restore IS_REACT_ACT_ENVIRONMENT\n // or if we have to await the callback first.\n setIsReactActEnvironment(previousActEnvironment);\n throw error;\n }\n };\n}\nconst act = withGlobalActEnvironment(reactAct);\n\n/* eslint no-console:0 */\n\n// react-testing-library's version of fireEvent will call\n// dom-testing-library's version of fireEvent. The reason\n// we make this distinction however is because we have\n// a few extra events that work a bit differently\nconst fireEvent = (...args) => fireEvent$1(...args);\nObject.keys(fireEvent$1).forEach(key => {\n fireEvent[key] = (...args) => fireEvent$1[key](...args);\n});\n\n// React event system tracks native mouseOver/mouseOut events for\n// running onMouseEnter/onMouseLeave handlers\n// @link https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/packages/react-dom/src/events/EnterLeaveEventPlugin.js#L24-L31\nconst mouseEnter = fireEvent.mouseEnter;\nconst mouseLeave = fireEvent.mouseLeave;\nfireEvent.mouseEnter = (...args) => {\n mouseEnter(...args);\n return fireEvent.mouseOver(...args);\n};\nfireEvent.mouseLeave = (...args) => {\n mouseLeave(...args);\n return fireEvent.mouseOut(...args);\n};\nconst pointerEnter = fireEvent.pointerEnter;\nconst pointerLeave = fireEvent.pointerLeave;\nfireEvent.pointerEnter = (...args) => {\n pointerEnter(...args);\n return fireEvent.pointerOver(...args);\n};\nfireEvent.pointerLeave = (...args) => {\n pointerLeave(...args);\n return fireEvent.pointerOut(...args);\n};\nconst select = fireEvent.select;\nfireEvent.select = (node, init) => {\n select(node, init);\n // React tracks this event only on focused inputs\n node.focus();\n\n // React creates this event when one of the following native events happens\n // - contextMenu\n // - mouseUp\n // - dragEnd\n // - keyUp\n // - keyDown\n // so we can use any here\n // @link https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/packages/react-dom/src/events/SelectEventPlugin.js#L203-L224\n fireEvent.keyUp(node, init);\n};\n\n// React event system tracks native focusout/focusin events for\n// running blur/focus handlers\n// @link https://github.com/facebook/react/pull/19186\nconst blur = fireEvent.blur;\nconst focus = fireEvent.focus;\nfireEvent.blur = (...args) => {\n fireEvent.focusOut(...args);\n return blur(...args);\n};\nfireEvent.focus = (...args) => {\n fireEvent.focusIn(...args);\n return focus(...args);\n};\n\nlet configForRTL = {\n reactStrictMode: false\n};\nfunction getConfig() {\n return {\n ...getConfig$1(),\n ...configForRTL\n };\n}\nfunction configure(newConfig) {\n if (typeof newConfig === 'function') {\n // Pass the existing config out to the provided function\n // and accept a delta in return\n newConfig = newConfig(getConfig());\n }\n const {\n reactStrictMode,\n ...configForDTL\n } = newConfig;\n configure$1(configForDTL);\n configForRTL = {\n ...configForRTL,\n reactStrictMode\n };\n}\n\nfunction jestFakeTimersAreEnabled() {\n /* istanbul ignore else */\n if (typeof jest !== 'undefined' && jest !== null) {\n return (\n // legacy timers\n setTimeout._isMockFunction === true ||\n // modern timers\n // eslint-disable-next-line prefer-object-has-own -- No Object.hasOwn in all target environments we support.\n Object.prototype.hasOwnProperty.call(setTimeout, 'clock')\n );\n } // istanbul ignore next\n\n return false;\n}\nconfigure$1({\n unstable_advanceTimersWrapper: cb => {\n return act(cb);\n },\n // We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT\n // But that's not necessarily how `asyncWrapper` is used since it's a public method.\n // Let's just hope nobody else is using it.\n asyncWrapper: async cb => {\n const previousActEnvironment = getIsReactActEnvironment();\n setIsReactActEnvironment(false);\n try {\n const result = await cb();\n // Drain microtask queue.\n // Otherwise we'll restore the previous act() environment, before we resolve the `waitFor` call.\n // The caller would have no chance to wrap the in-flight Promises in `act()`\n await new Promise(resolve => {\n setTimeout(() => {\n resolve();\n }, 0);\n if (jestFakeTimersAreEnabled()) {\n jest.advanceTimersByTime(0);\n }\n });\n return result;\n } finally {\n setIsReactActEnvironment(previousActEnvironment);\n }\n },\n eventWrapper: cb => {\n let result;\n act(() => {\n result = cb();\n });\n return result;\n }\n});\n\n// Ideally we'd just use a WeakMap where containers are keys and roots are values.\n// We use two variables so that we can bail out in constant time when we render with a new container (most common use case)\n/**\n * @type {Set<import('react-dom').Container>}\n */\nconst mountedContainers = new Set();\n/**\n * @type Array<{container: import('react-dom').Container, root: ReturnType<typeof createConcurrentRoot>}>\n */\nconst mountedRootEntries = [];\nfunction strictModeIfNeeded(innerElement, reactStrictMode) {\n return reactStrictMode ?? getConfig().reactStrictMode ? /*#__PURE__*/React.createElement(React.StrictMode, null, innerElement) : innerElement;\n}\nfunction wrapUiIfNeeded(innerElement, wrapperComponent) {\n return wrapperComponent ? /*#__PURE__*/React.createElement(wrapperComponent, null, innerElement) : innerElement;\n}\nfunction createConcurrentRoot(container, {\n hydrate,\n onCaughtError,\n onRecoverableError,\n ui,\n wrapper: WrapperComponent,\n reactStrictMode\n}) {\n let root;\n if (hydrate) {\n act(() => {\n root = ReactDOMClient.hydrateRoot(container, strictModeIfNeeded(wrapUiIfNeeded(ui, WrapperComponent), reactStrictMode), {\n onCaughtError,\n onRecoverableError\n });\n });\n } else {\n root = ReactDOMClient.createRoot(container, {\n onCaughtError,\n onRecoverableError\n });\n }\n return {\n hydrate() {\n /* istanbul ignore if */\n if (!hydrate) {\n throw new Error('Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.');\n }\n // Nothing to do since hydration happens when creating the root object.\n },\n render(element) {\n root.render(element);\n },\n unmount() {\n root.unmount();\n }\n };\n}\nfunction createLegacyRoot(container) {\n return {\n hydrate(element) {\n ReactDOM.hydrate(element, container);\n },\n render(element) {\n ReactDOM.render(element, container);\n },\n unmount() {\n ReactDOM.unmountComponentAtNode(container);\n }\n };\n}\nfunction renderRoot(ui, {\n baseElement,\n container,\n hydrate,\n queries,\n root,\n wrapper: WrapperComponent,\n reactStrictMode\n}) {\n act(() => {\n if (hydrate) {\n root.hydrate(strictModeIfNeeded(wrapUiIfNeeded(ui, WrapperComponent), reactStrictMode), container);\n } else {\n root.render(strictModeIfNeeded(wrapUiIfNeeded(ui, WrapperComponent), reactStrictMode), container);\n }\n });\n return {\n container,\n baseElement,\n debug: (el = baseElement, maxLength, options) => Array.isArray(el) ?\n // eslint-disable-next-line no-console\n el.forEach(e => console.log(prettyDOM(e, maxLength, options))) :\n // eslint-disable-next-line no-console,\n console.log(prettyDOM(el, maxLength, options)),\n unmount: () => {\n act(() => {\n root.unmount();\n });\n },\n rerender: rerenderUi => {\n renderRoot(rerenderUi, {\n container,\n baseElement,\n root,\n wrapper: WrapperComponent,\n reactStrictMode\n });\n // Intentionally do not return anything to avoid unnecessarily complicating the API.\n // folks can use all the same utilities we return in the first place that are bound to the container\n },\n asFragment: () => {\n /* istanbul ignore else (old jsdom limitation) */\n if (typeof document.createRange === 'function') {\n return document.createRange().createContextualFragment(container.innerHTML);\n } else {\n const template = document.createElement('template');\n template.innerHTML = container.innerHTML;\n return template.content;\n }\n },\n ...getQueriesForElement(baseElement, queries)\n };\n}\nfunction render(ui, {\n container,\n baseElement = container,\n legacyRoot = false,\n onCaughtError,\n onUncaughtError,\n onRecoverableError,\n queries,\n hydrate = false,\n wrapper,\n reactStrictMode\n} = {}) {\n if (onUncaughtError !== undefined) {\n throw new Error('onUncaughtError is not supported. The `render` call will already throw on uncaught errors.');\n }\n if (legacyRoot && typeof ReactDOM.render !== 'function') {\n const error = new Error('`legacyRoot: true` is not supported in this version of React. ' + 'If your app runs React 19 or later, you should remove this flag. ' + 'If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.');\n Error.captureStackTrace(error, render);\n throw error;\n }\n if (!baseElement) {\n // default to document.body instead of documentElement to avoid output of potentially-large\n // head elements (such as JSS style blocks) in debug output\n baseElement = document.body;\n }\n if (!container) {\n container = baseElement.appendChild(document.createElement('div'));\n }\n let root;\n // eslint-disable-next-line no-negated-condition -- we want to map the evolution of this over time. The root is created first. Only later is it re-used so we don't want to read the case that happens later first.\n if (!mountedContainers.has(container)) {\n const createRootImpl = legacyRoot ? createLegacyRoot : createConcurrentRoot;\n root = createRootImpl(container, {\n hydrate,\n onCaughtError,\n onRecoverableError,\n ui,\n wrapper,\n reactStrictMode\n });\n mountedRootEntries.push({\n container,\n root\n });\n // we'll add it to the mounted containers regardless of whether it's actually\n // added to document.body so the cleanup method works regardless of whether\n // they're passing us a custom container or not.\n mountedContainers.add(container);\n } else {\n mountedRootEntries.forEach(rootEntry => {\n // Else is unreachable since `mountedContainers` has the `container`.\n // Only reachable if one would accidentally add the container to `mountedContainers` but not the root to `mountedRootEntries`\n /* istanbul ignore else */\n if (rootEntry.container === container) {\n root = rootEntry.root;\n }\n });\n }\n return renderRoot(ui, {\n container,\n baseElement,\n queries,\n hydrate,\n wrapper,\n root,\n reactStrictMode\n });\n}\nfunction cleanup() {\n mountedRootEntries.forEach(({\n root,\n container\n }) => {\n act(() => {\n root.unmount();\n });\n if (container.parentNode === document.body) {\n document.body.removeChild(container);\n }\n });\n mountedRootEntries.length = 0;\n mountedContainers.clear();\n}\nfunction renderHook(renderCallback, options = {}) {\n const {\n initialProps,\n ...renderOptions\n } = options;\n if (renderOptions.legacyRoot && typeof ReactDOM.render !== 'function') {\n const error = new Error('`legacyRoot: true` is not supported in this version of React. ' + 'If your app runs React 19 or later, you should remove this flag. ' + 'If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.');\n Error.captureStackTrace(error, renderHook);\n throw error;\n }\n const result = /*#__PURE__*/React.createRef();\n function TestComponent({\n renderCallbackProps\n }) {\n const pendingResult = renderCallback(renderCallbackProps);\n React.useEffect(() => {\n result.current = pendingResult;\n });\n return null;\n }\n const {\n rerender: baseRerender,\n unmount\n } = render(/*#__PURE__*/React.createElement(TestComponent, {\n renderCallbackProps: initialProps\n }), renderOptions);\n function rerender(rerenderCallbackProps) {\n return baseRerender(/*#__PURE__*/React.createElement(TestComponent, {\n renderCallbackProps: rerenderCallbackProps\n }));\n }\n return {\n result,\n rerender,\n unmount\n };\n}\n\n/* eslint func-name-matching:0 */\n\n// if we're running in a test runner that supports afterEach\n// or teardown then we'll automatically run cleanup afterEach test\n// this ensures that tests run in isolation from each other\n// if you don't like this then either import the `pure` module\n// or set the RTL_SKIP_AUTO_CLEANUP env variable to 'true'.\nif (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {\n // ignore teardown() in code coverage because Jest does not support it\n /* istanbul ignore else */\n if (typeof afterEach === 'function') {\n afterEach(() => {\n cleanup();\n });\n } else if (typeof teardown === 'function') {\n // Block is guarded by `typeof` check.\n // eslint does not support `typeof` guards.\n // eslint-disable-next-line no-undef\n teardown(() => {\n cleanup();\n });\n }\n\n // No test setup with other test runners available\n /* istanbul ignore else */\n if (typeof beforeAll === 'function' && typeof afterAll === 'function') {\n // This matches the behavior of React < 18.\n let previousIsReactActEnvironment = getIsReactActEnvironment();\n beforeAll(() => {\n previousIsReactActEnvironment = getIsReactActEnvironment();\n setIsReactActEnvironment(true);\n });\n afterAll(() => {\n setIsReactActEnvironment(previousIsReactActEnvironment);\n });\n }\n}\n\nexport { act, cleanup, configure, fireEvent, getConfig, render, renderHook };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;4DAOM,IAAW,OAAOA,EAAM,OAAQ,aAAaA,EAAM,MAAA,EAA+B;AACxF,SAAS,IAAgB;;CAEvB,IAAI,OAAO,aAAe,KACxB,OAAO;;CAGT,IAAI,OAAO,OAAS,KAClB,OAAO;;CAGT,IAAI,OAAO,SAAW,KACpB,OAAO;;CAGT,IAAI,OAAO,SAAW,KACpB,OAAO;;CAGT,MAAU,MAAM,gCAAgC;AAClD;AACA,SAAS,EAAyB,GAAuB;CACvD,EAAc,CAAC,CAAC,2BAA2B;AAC7C;AACA,SAAS,IAA2B;CAClC,OAAO,EAAc,CAAC,CAAC;AACzB;AACA,SAAS,EAAyB,GAAmB;CACnD,QAAO,MAAY;EACjB,IAAM,IAAyB,EAAyB;EACxD,EAAyB,EAAI;EAC7B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,EAAQ;AACV,CAAC,GAKC,OAAO,aAAc,cAAc,OAAO,YAAa,aAAY;CAErE,IAAI,IAAgC,EAAyB;CAK7D,AAJA,gBAAgB;EAEd,AADA,IAAgC,EAAyB,GACzD,EAAyB,EAAI;CAC/B,CAAC,GACD,eAAe;EACb,EAAyB,CAA6B;CACxD,CAAC;AACH"}
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-CWhphoD1.js";
2
- import "./dist-oLwM--0y.js";
2
+ import "./dist-CuwCMU7Y.js";
3
3
  //#endregion
4
4
  //#region src/setupTests.ts
5
5
  var { TextEncoder: t } = (/* @__PURE__ */ e(((e, t) => {
@@ -1,9 +1,9 @@
1
1
  import { i as e } from "./rolldown-runtime-CWhphoD1.js";
2
- import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, s as m, t as h, u as g } from "./chunk-5WKL7XVT-CvOIS3NE.js";
3
- import { I as _, N as v, n as y } from "./test-Gtly6H2f.js";
2
+ import { _ as t, a as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, s as m, t as h, u as g } from "./chunk-SNLGT2ZI--XVeLAcq.js";
3
+ import { M as _, P as v, n as y } from "./test-BjtC-Q32.js";
4
4
  import * as b from "react";
5
5
  import x, { Component as S, Fragment as C, StrictMode as w, createElement as T, isValidElement as ee } from "react";
6
- //#region node_modules/.pnpm/@storybook+react@10.4.6_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2_84d540c92c3b7ca20f05f758d43af608/node_modules/@storybook/react/dist/_browser-chunks/chunk-DDIRQRCA.js
6
+ //#region node_modules/.pnpm/@storybook+react@10.5.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2_fe2d5d0c5f55af4370a98556a4af681c/node_modules/@storybook/react/dist/_browser-chunks/chunk-DDIRQRCA.js
7
7
  var te = (e, t) => d((t) => x.createElement(e, t), t), ne = Object.create, E = Object.defineProperty, D = Object.getOwnPropertyDescriptor, O = Object.getOwnPropertyNames, re = Object.getPrototypeOf, ie = Object.prototype.hasOwnProperty, k = (e, t) => function() {
8
8
  try {
9
9
  return t || (0, e[O(e)[0]])((t = { exports: {} }).exports, t), t.exports;
@@ -78,7 +78,7 @@ var M = async ({ disableAct: t = !1 } = {}) => {
78
78
  let { id: n, component: r } = t;
79
79
  if (!r) throw Error(`Unable to render story ${n} as the component annotation is missing from the default export`);
80
80
  return x.createElement(r, { ...e });
81
- }, { FRAMEWORK_OPTIONS: fe } = _, pe = class extends S {
81
+ }, { FRAMEWORK_OPTIONS: fe } = v, pe = class extends S {
82
82
  constructor() {
83
83
  super(...arguments), this.state = { hasError: !1 };
84
84
  }
@@ -104,7 +104,7 @@ var M = async ({ disableAct: t = !1 } = {}) => {
104
104
  e && await e(), ge = !1, N();
105
105
  };
106
106
  async function _e({ storyContext: e, unboundStoryFn: t, showMain: n, showException: r, forceRemount: i }, a) {
107
- let { renderElement: o, unmountElement: s } = await import("./react-18-BwdnKC48.js"), c = t, l = e.parameters.__isPortableStory ? x.createElement(c, { ...e }) : x.createElement(pe, {
107
+ let { renderElement: o, unmountElement: s } = await import("./react-18-yf-KbRra.js"), c = t, l = e.parameters.__isPortableStory ? x.createElement(c, { ...e }) : x.createElement(pe, {
108
108
  key: e.id,
109
109
  showMain: n,
110
110
  showException: r
@@ -134,7 +134,7 @@ var ve = (e) => async (t) => (t != null && (e.originalStoryFn = () => t), await
134
134
  if (n < 18 || n === 18 && r < 3) throw Error("React Server Components require React >= 18.3");
135
135
  return b.createElement(b.Suspense, null, e());
136
136
  }, (e, n) => {
137
- if (n.tags?.includes(t.TEST_FN) && !_.FEATURES?.experimentalTestSyntax) throw Error("To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax");
137
+ if (n.tags?.includes(t.TEST_FN) && !v.FEATURES?.experimentalTestSyntax) throw Error("To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax");
138
138
  return e();
139
139
  }], P = { renderer: "react" }, be = async () => {
140
140
  try {
@@ -166,7 +166,7 @@ function F() {
166
166
  return typeof jest < "u" && jest !== null ? setTimeout._isMockFunction === !0 || Object.prototype.hasOwnProperty.call(setTimeout, "clock") : !1;
167
167
  }
168
168
  //#endregion
169
- //#region node_modules/.pnpm/@storybook+react@10.4.6_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2_84d540c92c3b7ca20f05f758d43af608/node_modules/@storybook/react/dist/_browser-chunks/chunk-YG22CW4R.js
169
+ //#region node_modules/.pnpm/@storybook+react@10.5.0_@types+react-dom@19.2.3_@types+react@19.2.17__@types+react@19.2_fe2d5d0c5f55af4370a98556a4af681c/node_modules/@storybook/react/dist/_browser-chunks/chunk-B3FR4PBN.js
170
170
  var xe = k({ "../../../node_modules/@base2/pretty-print-object/dist/index.js"(e) {
171
171
  var t = e && e.__assign || function() {
172
172
  return t = Object.assign || function(e) {
@@ -581,7 +581,7 @@ ${U(n + 1, r.tabStop)}\$1`);
581
581
  if (!t && !r) throw Error(`The prop "${e}" has no value and no default: could not be formatted`);
582
582
  var c = t ? n : i, l = s.useBooleanShorthandSyntax, u = s.tabStop, d = Je(c, a, o, s), f = " ", p = `
583
583
  ${U(o + 1, u)}`, m = d.includes("\n");
584
- return l && d === "{false}" && !r ? (f = "", p = "") : l && d === "{true}" ? (f += `${e}`, p += `${e}`) : (f += `${e}=${d}`, p += `${e}=${d}`), {
584
+ return l && d === "{true}" ? (f += `${e}`, p += `${e}`) : (f += `${e}=${d}`, p += `${e}=${d}`), {
585
585
  attributeFormattedInline: f,
586
586
  attributeFormattedMultiline: p,
587
587
  isMultilineAttribute: m
@@ -689,7 +689,7 @@ ${U(w, g)}`), t || (_ += "\n", _ += U(w - 1, g)), _ += `</${o}>`;
689
689
  }), gt = (function(e, t) {
690
690
  return ht(e, !1, 0, t);
691
691
  }), _t = function(e) {
692
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.filterProps, r = n === void 0 ? [] : n, i = t.showDefaultProps, a = i === void 0 ? !0 : i, o = t.showFunctions, s = o === void 0 ? !1 : o, c = t.functionValue, l = t.tabStop, u = l === void 0 ? 2 : l, d = t.useBooleanShorthandSyntax, f = d === void 0 ? !0 : d, p = t.useFragmentShortSyntax, m = p === void 0 ? !0 : p, h = t.sortProps, g = h === void 0 ? !0 : h, _ = t.maxInlineAttributesLineLength, v = t.displayName;
692
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.filterProps, r = n === void 0 ? [] : n, i = t.showDefaultProps, a = i === void 0 || i, o = t.showFunctions, s = o !== void 0 && o, c = t.functionValue, l = t.tabStop, u = l === void 0 ? 2 : l, d = t.useBooleanShorthandSyntax, f = d === void 0 || d, p = t.useFragmentShortSyntax, m = p === void 0 || p, h = t.sortProps, g = h === void 0 || h, _ = t.maxInlineAttributesLineLength, v = t.displayName;
693
693
  if (!e) throw Error("react-element-to-jsx-string: Expected a ReactElement");
694
694
  var y = {
695
695
  filterProps: r,
@@ -971,7 +971,7 @@ ${U(w, g)}`), t || (_ += "\n", _ += U(w - 1, g)), _ += `</${o}>`;
971
971
  this.visitor = t, this.root = e, this.__worklist = [], this.__leavelist = [], this.__current = null, this.__state = null, this.__fallback = null, t.fallback === "iteration" ? this.__fallback = Object.keys : typeof t.fallback == "function" && (this.__fallback = t.fallback), this.__keys = i, t.keys && (this.__keys = Object.assign(Object.create(this.__keys), t.keys));
972
972
  };
973
973
  function p(e) {
974
- return e == null ? !1 : typeof e == "object" && typeof e.type == "string";
974
+ return typeof e == "object" && !!e && typeof e.type == "string";
975
975
  }
976
976
  function m(e, t) {
977
977
  return (e === n.ObjectExpression || e === n.ObjectPattern) && t === "properties";
@@ -2787,7 +2787,7 @@ ${U(w, g)}`), t || (_ += "\n", _ += U(w - 1, g)), _ += `</${o}>`;
2787
2787
  },
2788
2788
  ArrayExpression: function(e, t, r, i) {
2789
2789
  var a, o, c = this;
2790
- return e.elements.length ? (o = i ? !1 : e.elements.length > 1, a = ["[", o ? m : ""], V(function(t) {
2790
+ return e.elements.length ? (o = !i && e.elements.length > 1, a = ["[", o ? m : ""], V(function(t) {
2791
2791
  var r, i;
2792
2792
  for (r = 0, i = e.elements.length; r < i; ++r) e.elements[r] ? (a.push(o ? t : ""), a.push(c.generateExpression(e.elements[r], n.Assignment, A))) : (o && a.push(t), r + 1 === i && a.push(",")), r + 1 < i && a.push("," + (o ? m : h));
2793
2793
  }), o && !N(L(a).toString()) && a.push(m), a.push(o ? s : ""), a.push("]"), a) : "[]";
@@ -2955,7 +2955,7 @@ ${U(w, g)}`), t || (_ += "\n", _ += U(w - 1, g)), _ += `</${o}>`;
2955
2955
  }
2956
2956
  function Ae(t, n) {
2957
2957
  var r = me(), a, o;
2958
- return n == null ? (n = r, c = n.format.indent.style, s = he(c, n.format.indent.base)) : (typeof n.indent == "string" && (r.format.indent.style = n.indent), typeof n.base == "number" && (r.format.indent.base = n.base), n = ve(r, n), c = n.format.indent.style, s = typeof n.base == "string" ? n.base : he(c, n.format.indent.base)), l = n.format.json, u = n.format.renumber, d = l ? !1 : n.format.hexadecimal, f = l ? "double" : n.format.quotes, p = n.format.escapeless, m = n.format.newline, h = n.format.space, n.format.compact && (m = h = c = s = ""), g = n.format.parentheses, _ = n.format.semicolons, v = n.format.safeConcatenation, y = n.directive, x = l ? null : n.parse, S = n.sourceMap, C = n.sourceCode, w = n.format.preserveBlankLines && C !== null, b = n, S && (i = e.browser ? global.sourceMap.SourceNode : Nt().SourceNode), a = ke(t), S ? (o = a.toStringWithSourceMap({
2958
+ return n == null ? (n = r, c = n.format.indent.style, s = he(c, n.format.indent.base)) : (typeof n.indent == "string" && (r.format.indent.style = n.indent), typeof n.base == "number" && (r.format.indent.base = n.base), n = ve(r, n), c = n.format.indent.style, s = typeof n.base == "string" ? n.base : he(c, n.format.indent.base)), l = n.format.json, u = n.format.renumber, d = !l && n.format.hexadecimal, f = l ? "double" : n.format.quotes, p = n.format.escapeless, m = n.format.newline, h = n.format.space, n.format.compact && (m = h = c = s = ""), g = n.format.parentheses, _ = n.format.semicolons, v = n.format.safeConcatenation, y = n.directive, x = l ? null : n.parse, S = n.sourceMap, C = n.sourceCode, w = n.format.preserveBlankLines && C !== null, b = n, S && (i = e.browser ? global.sourceMap.SourceNode : Nt().SourceNode), a = ke(t), S ? (o = a.toStringWithSourceMap({
2959
2959
  file: n.file,
2960
2960
  sourceRoot: n.sourceMapRoot
2961
2961
  }), n.sourceContent && o.map.setSourceContent(n.sourceMap, n.sourceContent), n.sourceMapWithCode ? o : o.map.toString()) : (o = {
@@ -3741,7 +3741,7 @@ ${U(w, g)}`), t || (_ += "\n", _ += U(w - 1, g)), _ += `</${o}>`;
3741
3741
  }
3742
3742
  }
3743
3743
  function f(e, t) {
3744
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && s.test(String.fromCharCode(e)) : t === !1 ? !1 : d(e, l);
3744
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && s.test(String.fromCharCode(e)) : t !== !1 && d(e, l);
3745
3745
  }
3746
3746
  function p(e, t) {
3747
3747
  return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && c.test(String.fromCharCode(e)) : t === !1 ? !1 : d(e, l) || d(e, u);
@@ -6961,8 +6961,8 @@ var Er = (e) => ({ rows: Tr(e, "props") }), Dr = { docs: {
6961
6961
  } }, Or = [g];
6962
6962
  ae({}, {
6963
6963
  applyDecorators: () => zr,
6964
- decorators: () => Br,
6965
- parameters: () => Vr
6964
+ decorators: () => Hr,
6965
+ parameters: () => Ur
6966
6966
  });
6967
6967
  var kr = _t, Ar = (e) => e.charAt(0).toUpperCase() + e.slice(1), jr = (e) => (e.$$typeof || e).toString().replace(/^Symbol\((.*)\)$/, "$1").split(".").map((e) => e.split("_").map(Ar).join("")).join(".");
6968
6968
  function Mr(e) {
@@ -6977,12 +6977,12 @@ function Mr(e) {
6977
6977
  return Array.isArray(e) ? e.map(Mr) : e;
6978
6978
  }
6979
6979
  var Nr = (e, t) => {
6980
- if (typeof e > "u") return v.warn("Too many skip or undefined component"), null;
6980
+ if (typeof e > "u") return _.warn("Too many skip or undefined component"), null;
6981
6981
  let n = e, r = n.type;
6982
6982
  for (let e = 0; e < t?.skip; e += 1) {
6983
- if (typeof n > "u") return v.warn("Cannot skip undefined element"), null;
6984
- if (x.Children.count(n) > 1) return v.warn("Trying to skip an array of elements"), null;
6985
- typeof n.props.children > "u" ? (v.warn("Not enough children to skip elements."), typeof n.type == "function" && n.type.name === "" && (n = x.createElement(r, { ...n.props }))) : n = typeof n.props.children == "function" ? n.props.children() : n.props.children;
6983
+ if (typeof n > "u") return _.warn("Cannot skip undefined element"), null;
6984
+ if (x.Children.count(n) > 1) return _.warn("Trying to skip an array of elements"), null;
6985
+ typeof n.props.children > "u" ? (_.warn("Not enough children to skip elements."), typeof n.type == "function" && n.type.name === "" && (n = x.createElement(r, { ...n.props }))) : n = typeof n.props.children == "function" ? n.props.children() : n.props.children;
6986
6986
  }
6987
6987
  let i;
6988
6988
  i = typeof t?.displayName == "string" ? {
@@ -7027,7 +7027,7 @@ var Nr = (e, t) => {
7027
7027
  showDefaultProps: !1
7028
7028
  }, Fr = (e) => {
7029
7029
  let t = e?.parameters.docs?.source, n = e?.parameters.__isArgsStory;
7030
- return t?.type === m.DYNAMIC ? !1 : !n || t?.code || t?.type === m.CODE;
7030
+ return e?.parameters.__isPortableStory ? !0 : t?.type === m.DYNAMIC ? !1 : !n || t?.code || t?.type === m.CODE;
7031
7031
  }, Ir = (e) => e.type?.displayName === "MDXCreateElement" && !!e.props?.mdxType, Lr = (e) => {
7032
7032
  if (!Ir(e)) return e;
7033
7033
  let { mdxType: t, originalType: n, children: r, ...i } = e.props, a = [];
@@ -7046,8 +7046,8 @@ var Nr = (e, t) => {
7046
7046
  }, zr = (e, t) => {
7047
7047
  let n = t.findIndex((e) => e.originalFn === Rr);
7048
7048
  return te(e, n === -1 ? t : [...t.splice(n, 1), ...t]);
7049
- }, Br = "FEATURES" in globalThis && globalThis?.FEATURES?.experimentalCodeExamples ? [] : [Rr], Vr = { docs: { story: { inline: !0 } } }, { window: Hr } = _;
7050
- Hr && (Hr.STORYBOOK_ENV = "react"), h([
7049
+ }, Br = "FEATURES" in globalThis && globalThis?.FEATURES?.experimentalDocgenServer, Vr = "FEATURES" in globalThis && globalThis?.FEATURES?.experimentalCodeExamples, Hr = Br || Vr ? [] : [Rr], Ur = { docs: { story: { inline: !0 } } }, { window: Wr } = v;
7050
+ Wr && (Wr.STORYBOOK_ENV = "react"), h([
7051
7051
  A,
7052
7052
  Vt,
7053
7053
  { renderToCanvas: async (e, t) => {