@ntbjs/react-components 1.3.0-rc.9 → 2.0.0-rc.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 (504) hide show
  1. package/.eslintrc +7 -8
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js +84 -0
  3. package/cjs/_virtual/index.js +7 -0
  4. package/cjs/_virtual/index2.js +7 -0
  5. package/cjs/_virtual/index3.js +7 -0
  6. package/cjs/_virtual/index4.js +7 -0
  7. package/cjs/_virtual/react-dom.development.js +7 -0
  8. package/cjs/_virtual/react-dom.production.js +7 -0
  9. package/cjs/_virtual/react-is.development.js +7 -0
  10. package/cjs/_virtual/react-is.production.min.js +7 -0
  11. package/cjs/_virtual/react.development.js +7 -0
  12. package/cjs/_virtual/react.production.js +7 -0
  13. package/cjs/components/data/Alert/Alert.js +81 -0
  14. package/cjs/components/data/Alert/Alert.styled.js +72 -0
  15. package/cjs/components/data/Alert/data/Alert/index.js +9 -0
  16. package/cjs/components/data/Badge/Badge.js +93 -0
  17. package/cjs/components/data/Badge/Badge.styled.js +156 -0
  18. package/cjs/components/data/Badge/data/Badge/index.js +9 -0
  19. package/cjs/components/data/Popover/Popover.js +102 -0
  20. package/cjs/components/data/Popover/Popover.styled.js +159 -0
  21. package/cjs/components/data/Popover/data/Popover/index.js +9 -0
  22. package/cjs/components/data/Tab/Tab.js +31 -0
  23. package/cjs/components/data/Tab/Tab.styled.js +22 -0
  24. package/cjs/components/data/Tab/data/Tab/index.js +9 -0
  25. package/cjs/components/data/Tabs/Tabs.js +91 -0
  26. package/cjs/components/data/Tabs/Tabs.styled.js +97 -0
  27. package/cjs/components/data/Tabs/data/Tabs/index.js +9 -0
  28. package/cjs/components/data/Tooltip/Tooltip.js +50 -0
  29. package/cjs/components/data/Tooltip/Tooltip.styled.js +38 -0
  30. package/cjs/components/data/Tooltip/data/Tooltip/index.js +9 -0
  31. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +42 -0
  32. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +79 -0
  33. package/cjs/components/data/data/index.js +21 -0
  34. package/cjs/components/inputs/ActionButton/ActionButton.js +42 -0
  35. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +66 -0
  36. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +9 -0
  37. package/cjs/components/inputs/Button/Button.js +188 -0
  38. package/cjs/components/inputs/Button/Button.styled.js +294 -0
  39. package/cjs/components/inputs/Button/inputs/Button/index.js +9 -0
  40. package/cjs/components/inputs/Checkbox/Checkbox.js +102 -0
  41. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +145 -0
  42. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +9 -0
  43. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +268 -0
  44. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +352 -0
  45. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +9 -0
  46. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +178 -0
  47. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +258 -0
  48. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +9 -0
  49. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +187 -0
  50. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +352 -0
  51. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +9 -0
  52. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +253 -0
  53. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +89 -0
  54. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +185 -0
  55. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +122 -0
  56. package/cjs/components/inputs/MultiSelect/MultiSelect.js +251 -0
  57. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +279 -0
  58. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +9 -0
  59. package/cjs/components/inputs/Radio/Radio.js +67 -0
  60. package/cjs/components/inputs/Radio/Radio.styled.js +93 -0
  61. package/cjs/components/inputs/Radio/inputs/Radio/index.js +9 -0
  62. package/cjs/components/inputs/Switch/Switch.js +69 -0
  63. package/cjs/components/inputs/Switch/Switch.styled.js +123 -0
  64. package/cjs/components/inputs/Switch/inputs/Switch/index.js +9 -0
  65. package/cjs/components/inputs/TextArea/TextArea.js +186 -0
  66. package/cjs/components/inputs/TextArea/TextArea.styled.js +455 -0
  67. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +9 -0
  68. package/cjs/components/inputs/TextInput/TextInput.js +147 -0
  69. package/cjs/components/inputs/TextInput/TextInput.styled.js +276 -0
  70. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +9 -0
  71. package/cjs/components/inputs/inputs/index.js +33 -0
  72. package/cjs/components/layout/InputGroup/InputGroup.js +26 -0
  73. package/cjs/components/layout/InputGroup/InputGroup.styled.js +18 -0
  74. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +9 -0
  75. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +29 -0
  76. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +21 -0
  77. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +9 -0
  78. package/cjs/components/layout/layout/index.js +11 -0
  79. package/cjs/components/widgets/AssetAction/AssetAction.js +106 -0
  80. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +58 -0
  81. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +35 -0
  82. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +24 -0
  83. package/cjs/components/widgets/AssetGallery/AssetGallery.js +102 -0
  84. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +392 -0
  85. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +43 -0
  86. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +402 -0
  87. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +338 -0
  88. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +396 -0
  89. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +328 -0
  90. package/cjs/components/widgets/AssetGallery/asset.propType.js +58 -0
  91. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +9 -0
  92. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +50 -0
  93. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +96 -0
  94. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +9 -0
  95. package/cjs/components/widgets/ContextMenu/ContextMenu.js +28 -0
  96. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +19 -0
  97. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +50 -0
  98. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +93 -0
  99. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +9 -0
  100. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +28 -0
  101. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +30 -0
  102. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +9 -0
  103. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +9 -0
  104. package/cjs/components/widgets/InfoCard/InfoCard.js +39 -0
  105. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +110 -0
  106. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +9 -0
  107. package/cjs/components/widgets/Instructions/Instructions.js +217 -0
  108. package/cjs/components/widgets/Instructions/Instructions.styled.js +47 -0
  109. package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +9 -0
  110. package/cjs/components/widgets/ProgressBar/ProgressBar.js +58 -0
  111. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +154 -0
  112. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +9 -0
  113. package/cjs/components/widgets/SummaryCard/SummaryCard.js +92 -0
  114. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +142 -0
  115. package/cjs/components/widgets/widgets/index.js +25 -0
  116. package/cjs/hooks/useEventListner.js +26 -0
  117. package/cjs/hooks/useIsomorphicLayoutEffect.js +11 -0
  118. package/cjs/hooks/useOnClickOutside.js +17 -0
  119. package/cjs/icons/arrow-back.svg.js +20 -0
  120. package/cjs/icons/arrow-forward.svg.js +20 -0
  121. package/cjs/icons/check-rectangle-filled.svg.js +20 -0
  122. package/cjs/icons/close.svg.js +20 -0
  123. package/cjs/icons/edit-note.svg.js +20 -0
  124. package/cjs/icons/expand-more.svg.js +20 -0
  125. package/cjs/icons/headset.svg.js +20 -0
  126. package/cjs/icons/layers.svg.js +20 -0
  127. package/cjs/icons/link.svg.js +20 -0
  128. package/cjs/icons/play.svg.js +20 -0
  129. package/cjs/icons/search.svg.js +20 -0
  130. package/cjs/icons/star-filled.svg.js +20 -0
  131. package/cjs/icons/star.svg.js +20 -0
  132. package/cjs/icons/triangle-right.svg.js +20 -0
  133. package/cjs/icons/verification.svg.js +20 -0
  134. package/cjs/icons/warning-circle.svg.js +20 -0
  135. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
  136. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +9 -0
  137. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +11 -0
  138. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +10 -0
  139. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +9 -0
  140. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +19 -0
  141. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
  142. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
  143. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +15 -0
  144. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +11 -0
  145. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +20 -0
  146. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
  147. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +9 -0
  148. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +33 -0
  149. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +9 -0
  150. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +9 -0
  151. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
  152. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
  153. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
  154. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
  155. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +11 -0
  156. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +14 -0
  157. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +13 -0
  158. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +14 -0
  159. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +18 -0
  160. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +13 -0
  161. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
  162. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
  163. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +445 -0
  164. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +59 -0
  165. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +13 -0
  166. package/cjs/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +116 -0
  167. package/cjs/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +63 -0
  168. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +240 -0
  169. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +144 -0
  170. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +56 -0
  171. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +14 -0
  172. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +51 -0
  173. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +907 -0
  174. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +374 -0
  175. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +128 -0
  176. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +165 -0
  177. package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +46 -0
  178. package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +41 -0
  179. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +24 -0
  180. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +55 -0
  181. package/cjs/node_modules/object-assign/index.js +94 -0
  182. package/cjs/node_modules/prop-types/checkPropTypes.js +110 -0
  183. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +69 -0
  184. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +621 -0
  185. package/cjs/node_modules/prop-types/index.js +33 -0
  186. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +16 -0
  187. package/cjs/node_modules/prop-types/lib/has.js +7 -0
  188. package/cjs/node_modules/react/cjs/react.development.js +1246 -0
  189. package/cjs/node_modules/react/cjs/react.production.js +552 -0
  190. package/cjs/node_modules/react/index.js +19 -0
  191. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +432 -0
  192. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +218 -0
  193. package/cjs/node_modules/react-dom/index.js +44 -0
  194. package/cjs/node_modules/react-is/cjs/react-is.development.js +228 -0
  195. package/cjs/node_modules/react-is/cjs/react-is.production.min.js +22 -0
  196. package/cjs/node_modules/react-is/index.js +13 -0
  197. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +6 -0
  198. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +23 -0
  199. package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +2653 -0
  200. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +1426 -0
  201. package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +101 -0
  202. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +78 -0
  203. package/cjs/node_modules/style-inject/dist/style-inject.es.js +32 -0
  204. package/cjs/node_modules/stylis/src/Enum.js +24 -0
  205. package/cjs/node_modules/stylis/src/Middleware.js +37 -0
  206. package/cjs/node_modules/stylis/src/Parser.js +201 -0
  207. package/cjs/node_modules/stylis/src/Serializer.js +43 -0
  208. package/cjs/node_modules/stylis/src/Tokenizer.js +243 -0
  209. package/cjs/node_modules/stylis/src/Utility.js +134 -0
  210. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +6 -0
  211. package/cjs/node_modules/tippy.js/dist/tippy.css.js +6 -0
  212. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +10 -0
  213. package/{ssr → cjs/ssr/ssr}/index.js +1 -3
  214. package/cjs/styles/utils/colors.scss.js +11 -0
  215. package/cjs/utils/dateTime.js +20 -0
  216. package/cjs/utils/defaultTheme.js +52 -0
  217. package/doctor-storybook.log +20 -0
  218. package/esm/_virtual/_rollupPluginBabelHelpers.js +74 -0
  219. package/esm/_virtual/index.js +3 -0
  220. package/esm/_virtual/index2.js +3 -0
  221. package/esm/_virtual/index3.js +3 -0
  222. package/esm/_virtual/index4.js +3 -0
  223. package/esm/_virtual/react-dom.development.js +3 -0
  224. package/esm/_virtual/react-dom.production.js +3 -0
  225. package/esm/_virtual/react-is.development.js +3 -0
  226. package/esm/_virtual/react-is.production.min.js +3 -0
  227. package/esm/_virtual/react.development.js +3 -0
  228. package/esm/_virtual/react.production.js +3 -0
  229. package/esm/components/data/Alert/Alert.js +77 -0
  230. package/esm/components/data/Alert/Alert.styled.js +63 -0
  231. package/esm/components/data/Alert/data/Alert/index.js +1 -0
  232. package/esm/components/data/Badge/Badge.js +89 -0
  233. package/esm/components/data/Badge/Badge.styled.js +145 -0
  234. package/esm/components/data/Badge/data/Badge/index.js +1 -0
  235. package/esm/components/data/Popover/Popover.js +94 -0
  236. package/esm/components/data/Popover/Popover.styled.js +150 -0
  237. package/esm/components/data/Popover/data/Popover/index.js +1 -0
  238. package/esm/components/data/Tab/Tab.js +27 -0
  239. package/esm/components/data/Tab/Tab.styled.js +14 -0
  240. package/esm/components/data/Tab/data/Tab/index.js +1 -0
  241. package/esm/components/data/Tabs/Tabs.js +87 -0
  242. package/esm/components/data/Tabs/Tabs.styled.js +85 -0
  243. package/esm/components/data/Tabs/data/Tabs/index.js +1 -0
  244. package/esm/components/data/Tooltip/Tooltip.js +46 -0
  245. package/esm/components/data/Tooltip/Tooltip.styled.js +29 -0
  246. package/esm/components/data/Tooltip/data/Tooltip/index.js +1 -0
  247. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +38 -0
  248. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +69 -0
  249. package/esm/components/data/data/index.js +7 -0
  250. package/esm/components/inputs/ActionButton/ActionButton.js +38 -0
  251. package/esm/components/inputs/ActionButton/ActionButton.styled.js +58 -0
  252. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +1 -0
  253. package/esm/components/inputs/Button/Button.js +184 -0
  254. package/esm/components/inputs/Button/Button.styled.js +277 -0
  255. package/esm/components/inputs/Button/inputs/Button/index.js +1 -0
  256. package/esm/components/inputs/Checkbox/Checkbox.js +98 -0
  257. package/esm/components/inputs/Checkbox/Checkbox.styled.js +132 -0
  258. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +1 -0
  259. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +264 -0
  260. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +324 -0
  261. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +1 -0
  262. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +174 -0
  263. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +245 -0
  264. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +1 -0
  265. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +183 -0
  266. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +335 -0
  267. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +1 -0
  268. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +247 -0
  269. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +75 -0
  270. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +181 -0
  271. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +104 -0
  272. package/esm/components/inputs/MultiSelect/MultiSelect.js +247 -0
  273. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +251 -0
  274. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +1 -0
  275. package/esm/components/inputs/Radio/Radio.js +63 -0
  276. package/esm/components/inputs/Radio/Radio.styled.js +84 -0
  277. package/esm/components/inputs/Radio/inputs/Radio/index.js +1 -0
  278. package/esm/components/inputs/Switch/Switch.js +65 -0
  279. package/esm/components/inputs/Switch/Switch.styled.js +110 -0
  280. package/esm/components/inputs/Switch/inputs/Switch/index.js +1 -0
  281. package/esm/components/inputs/TextArea/TextArea.js +182 -0
  282. package/esm/components/inputs/TextArea/TextArea.styled.js +437 -0
  283. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +1 -0
  284. package/esm/components/inputs/TextInput/TextInput.js +143 -0
  285. package/esm/components/inputs/TextInput/TextInput.styled.js +261 -0
  286. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +1 -0
  287. package/esm/components/inputs/inputs/index.js +13 -0
  288. package/esm/components/layout/InputGroup/InputGroup.js +22 -0
  289. package/esm/components/layout/InputGroup/InputGroup.styled.js +10 -0
  290. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +1 -0
  291. package/esm/components/layout/SectionSeparator/SectionSeparator.js +25 -0
  292. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +13 -0
  293. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +1 -0
  294. package/esm/components/layout/layout/index.js +2 -0
  295. package/esm/components/widgets/AssetAction/AssetAction.js +102 -0
  296. package/esm/components/widgets/AssetAction/AssetAction.styled.js +46 -0
  297. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +31 -0
  298. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +16 -0
  299. package/esm/components/widgets/AssetGallery/AssetGallery.js +98 -0
  300. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +384 -0
  301. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +33 -0
  302. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +398 -0
  303. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +311 -0
  304. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +392 -0
  305. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +302 -0
  306. package/esm/components/widgets/AssetGallery/asset.propType.js +53 -0
  307. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +1 -0
  308. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +46 -0
  309. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +84 -0
  310. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +1 -0
  311. package/esm/components/widgets/ContextMenu/ContextMenu.js +24 -0
  312. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +11 -0
  313. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +46 -0
  314. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +83 -0
  315. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +1 -0
  316. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +24 -0
  317. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +22 -0
  318. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +1 -0
  319. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +1 -0
  320. package/esm/components/widgets/InfoCard/InfoCard.js +35 -0
  321. package/esm/components/widgets/InfoCard/InfoCard.styled.js +94 -0
  322. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +1 -0
  323. package/esm/components/widgets/Instructions/Instructions.js +213 -0
  324. package/esm/components/widgets/Instructions/Instructions.styled.js +36 -0
  325. package/esm/components/widgets/Instructions/widgets/Instructions/index.js +1 -0
  326. package/esm/components/widgets/ProgressBar/ProgressBar.js +54 -0
  327. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +137 -0
  328. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +1 -0
  329. package/esm/components/widgets/SummaryCard/SummaryCard.js +88 -0
  330. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +124 -0
  331. package/esm/components/widgets/widgets/index.js +9 -0
  332. package/esm/hooks/useEventListner.js +22 -0
  333. package/esm/hooks/useIsomorphicLayoutEffect.js +7 -0
  334. package/esm/hooks/useOnClickOutside.js +13 -0
  335. package/esm/icons/arrow-back.svg.js +16 -0
  336. package/esm/icons/arrow-forward.svg.js +16 -0
  337. package/esm/icons/check-rectangle-filled.svg.js +16 -0
  338. package/esm/icons/close.svg.js +16 -0
  339. package/esm/icons/edit-note.svg.js +16 -0
  340. package/esm/icons/expand-more.svg.js +16 -0
  341. package/esm/icons/headset.svg.js +16 -0
  342. package/esm/icons/layers.svg.js +16 -0
  343. package/esm/icons/link.svg.js +16 -0
  344. package/esm/icons/play.svg.js +16 -0
  345. package/esm/icons/search.svg.js +16 -0
  346. package/esm/icons/star-filled.svg.js +16 -0
  347. package/esm/icons/star.svg.js +16 -0
  348. package/esm/icons/triangle-right.svg.js +16 -0
  349. package/esm/icons/verification.svg.js +16 -0
  350. package/esm/icons/warning-circle.svg.js +16 -0
  351. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +7 -0
  352. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
  353. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
  354. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +6 -0
  355. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
  356. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
  357. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
  358. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
  359. package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +11 -0
  360. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +7 -0
  361. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +16 -0
  362. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +10 -0
  363. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +5 -0
  364. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
  365. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
  366. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +5 -0
  367. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
  368. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +15 -0
  369. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +11 -0
  370. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +10 -0
  371. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +7 -0
  372. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
  373. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +9 -0
  374. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
  375. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
  376. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
  377. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
  378. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
  379. package/esm/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +441 -0
  380. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +55 -0
  381. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
  382. package/esm/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +107 -0
  383. package/esm/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +56 -0
  384. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +236 -0
  385. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +140 -0
  386. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +52 -0
  387. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +10 -0
  388. package/esm/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +45 -0
  389. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +894 -0
  390. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +370 -0
  391. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +110 -0
  392. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +138 -0
  393. package/{useMergedRefs-b6d2f8fc.js → esm/node_modules/@restart/hooks/esm/useMergedRefs.js} +4 -5
  394. package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +37 -0
  395. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
  396. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +51 -0
  397. package/esm/node_modules/object-assign/index.js +90 -0
  398. package/esm/node_modules/prop-types/checkPropTypes.js +106 -0
  399. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
  400. package/{index-39bc450c.js → esm/node_modules/prop-types/factoryWithTypeCheckers.js} +46 -514
  401. package/esm/node_modules/prop-types/index.js +29 -0
  402. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
  403. package/esm/node_modules/prop-types/lib/has.js +3 -0
  404. package/esm/node_modules/react/cjs/react.development.js +1244 -0
  405. package/esm/node_modules/react/cjs/react.production.js +547 -0
  406. package/esm/node_modules/react/index.js +15 -0
  407. package/esm/node_modules/react-dom/cjs/react-dom.development.js +427 -0
  408. package/esm/node_modules/react-dom/cjs/react-dom.production.js +213 -0
  409. package/esm/node_modules/react-dom/index.js +42 -0
  410. package/esm/node_modules/react-is/cjs/react-is.development.js +223 -0
  411. package/esm/node_modules/react-is/cjs/react-is.production.min.js +17 -0
  412. package/esm/node_modules/react-is/index.js +11 -0
  413. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +4 -0
  414. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +19 -0
  415. package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +2644 -0
  416. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +1385 -0
  417. package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +97 -0
  418. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +74 -0
  419. package/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
  420. package/esm/node_modules/stylis/src/Enum.js +12 -0
  421. package/esm/node_modules/stylis/src/Middleware.js +32 -0
  422. package/esm/node_modules/stylis/src/Parser.js +193 -0
  423. package/esm/node_modules/stylis/src/Serializer.js +38 -0
  424. package/esm/node_modules/stylis/src/Tokenizer.js +223 -0
  425. package/esm/node_modules/stylis/src/Utility.js +117 -0
  426. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +4 -0
  427. package/esm/node_modules/tippy.js/dist/tippy.css.js +4 -0
  428. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +6 -0
  429. package/esm/ssr/ssr/index.js +1 -0
  430. package/esm/styles/utils/colors.scss.js +7 -0
  431. package/esm/utils/dateTime.js +16 -0
  432. package/esm/utils/defaultTheme.js +47 -0
  433. package/icons/arrow-forward.svg +3 -0
  434. package/icons/index.js +2 -0
  435. package/migration-storybook.log +392 -0
  436. package/package.json +59 -21
  437. package/styles/all.scss +3 -3
  438. package/styles/config.scss +3 -0
  439. package/styles/utils/colors.scss +1 -1
  440. package/styles/utils/theme.scss +2 -0
  441. package/ActionButton-15b418c5.js +0 -62
  442. package/Alert-e9f818d6.js +0 -118
  443. package/AssetGallery-66cb0dab.js +0 -1925
  444. package/AssetPreviewTopBar-21b7e172.js +0 -100
  445. package/AsyncSelect-368b5068.js +0 -28
  446. package/Badge-72b369a6.js +0 -222
  447. package/Button-34ce13c6.js +0 -265
  448. package/Checkbox-d77eed5d.js +0 -141
  449. package/CompactAutocompleteSelect-72d523e3.js +0 -452
  450. package/CompactStarRating-bf45f620.js +0 -340
  451. package/CompactTextInput-0b1979f1.js +0 -350
  452. package/ContextMenu-f69599d5.js +0 -33
  453. package/ContextMenuItem-9c5c4c9f.js +0 -111
  454. package/InputGroup-e30507cb.js +0 -29
  455. package/Instructions-42d2bc58.js +0 -264
  456. package/MultiLevelCheckboxSelect-acaac96b.js +0 -699
  457. package/MultiSelect-ecb48e03.js +0 -378
  458. package/Popover-a76d0fe5.js +0 -147
  459. package/Radio-7d5f630d.js +0 -87
  460. package/SectionSeparator-2a1c720b.js +0 -38
  461. package/Switch-006abdbd.js +0 -108
  462. package/Tab-87287c6e.js +0 -36
  463. package/Tabs-8e4de5a5.js +0 -152
  464. package/TextArea-76231a3b.js +0 -376
  465. package/TextInput-a440374c.js +0 -237
  466. package/Tooltip-298f0547.js +0 -62
  467. package/VerificationStatusIcon-d596165f.js +0 -122
  468. package/close-ebf2f3cf.js +0 -41
  469. package/data/Alert/index.js +0 -12
  470. package/data/Badge/index.js +0 -11
  471. package/data/Popover/index.js +0 -16
  472. package/data/Tab/index.js +0 -11
  473. package/data/Tabs/index.js +0 -13
  474. package/data/Tooltip/index.js +0 -13
  475. package/data/index.js +0 -30
  476. package/defaultTheme-fcd45bd0.js +0 -339
  477. package/edit-note-c47d292e.js +0 -41
  478. package/expand-more-94585605.js +0 -41
  479. package/inputs/ActionButton/index.js +0 -12
  480. package/inputs/AsyncSelect/index.js +0 -11
  481. package/inputs/Button/index.js +0 -19
  482. package/inputs/Checkbox/index.js +0 -13
  483. package/inputs/CompactAutocompleteSelect/index.js +0 -30
  484. package/inputs/CompactStarRating/index.js +0 -23
  485. package/inputs/CompactTextInput/index.js +0 -25
  486. package/inputs/MultiSelect/index.js +0 -17
  487. package/inputs/Radio/index.js +0 -13
  488. package/inputs/Switch/index.js +0 -13
  489. package/inputs/TextArea/index.js +0 -26
  490. package/inputs/TextInput/index.js +0 -15
  491. package/inputs/index.js +0 -62
  492. package/layout/InputGroup/index.js +0 -11
  493. package/layout/SectionSeparator/index.js +0 -11
  494. package/layout/index.js +0 -15
  495. package/react-select-creatable.esm-2f23d6c6.js +0 -7709
  496. package/shift-away-subtle-45129125.js +0 -9
  497. package/warning-circle-24522402.js +0 -41
  498. package/widgets/AssetGallery/index.js +0 -52
  499. package/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -12
  500. package/widgets/ContextMenu/ContextMenuItem/index.js +0 -11
  501. package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -33
  502. package/widgets/ContextMenu/index.js +0 -11
  503. package/widgets/Instructions/index.js +0 -35
  504. package/widgets/index.js +0 -60
@@ -0,0 +1,1244 @@
1
+ import { r as react_development } from '../../../_virtual/react.development.js';
2
+
3
+ /**
4
+ * @license React
5
+ * react.development.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+
13
+ (function (module, exports) {
14
+ "production" !== process.env.NODE_ENV &&
15
+ (function () {
16
+ function defineDeprecationWarning(methodName, info) {
17
+ Object.defineProperty(Component.prototype, methodName, {
18
+ get: function () {
19
+ console.warn(
20
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
21
+ info[0],
22
+ info[1]
23
+ );
24
+ }
25
+ });
26
+ }
27
+ function getIteratorFn(maybeIterable) {
28
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
29
+ return null;
30
+ maybeIterable =
31
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
32
+ maybeIterable["@@iterator"];
33
+ return "function" === typeof maybeIterable ? maybeIterable : null;
34
+ }
35
+ function warnNoop(publicInstance, callerName) {
36
+ publicInstance =
37
+ ((publicInstance = publicInstance.constructor) &&
38
+ (publicInstance.displayName || publicInstance.name)) ||
39
+ "ReactClass";
40
+ var warningKey = publicInstance + "." + callerName;
41
+ didWarnStateUpdateForUnmountedComponent[warningKey] ||
42
+ (console.error(
43
+ "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
44
+ callerName,
45
+ publicInstance
46
+ ),
47
+ (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
48
+ }
49
+ function Component(props, context, updater) {
50
+ this.props = props;
51
+ this.context = context;
52
+ this.refs = emptyObject;
53
+ this.updater = updater || ReactNoopUpdateQueue;
54
+ }
55
+ function ComponentDummy() {}
56
+ function PureComponent(props, context, updater) {
57
+ this.props = props;
58
+ this.context = context;
59
+ this.refs = emptyObject;
60
+ this.updater = updater || ReactNoopUpdateQueue;
61
+ }
62
+ function testStringCoercion(value) {
63
+ return "" + value;
64
+ }
65
+ function checkKeyStringCoercion(value) {
66
+ try {
67
+ testStringCoercion(value);
68
+ var JSCompiler_inline_result = !1;
69
+ } catch (e) {
70
+ JSCompiler_inline_result = !0;
71
+ }
72
+ if (JSCompiler_inline_result) {
73
+ JSCompiler_inline_result = console;
74
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
75
+ var JSCompiler_inline_result$jscomp$0 =
76
+ ("function" === typeof Symbol &&
77
+ Symbol.toStringTag &&
78
+ value[Symbol.toStringTag]) ||
79
+ value.constructor.name ||
80
+ "Object";
81
+ JSCompiler_temp_const.call(
82
+ JSCompiler_inline_result,
83
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
84
+ JSCompiler_inline_result$jscomp$0
85
+ );
86
+ return testStringCoercion(value);
87
+ }
88
+ }
89
+ function getComponentNameFromType(type) {
90
+ if (null == type) return null;
91
+ if ("function" === typeof type)
92
+ return type.$$typeof === REACT_CLIENT_REFERENCE
93
+ ? null
94
+ : type.displayName || type.name || null;
95
+ if ("string" === typeof type) return type;
96
+ switch (type) {
97
+ case REACT_FRAGMENT_TYPE:
98
+ return "Fragment";
99
+ case REACT_PROFILER_TYPE:
100
+ return "Profiler";
101
+ case REACT_STRICT_MODE_TYPE:
102
+ return "StrictMode";
103
+ case REACT_SUSPENSE_TYPE:
104
+ return "Suspense";
105
+ case REACT_SUSPENSE_LIST_TYPE:
106
+ return "SuspenseList";
107
+ case REACT_ACTIVITY_TYPE:
108
+ return "Activity";
109
+ }
110
+ if ("object" === typeof type)
111
+ switch (
112
+ ("number" === typeof type.tag &&
113
+ console.error(
114
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
115
+ ),
116
+ type.$$typeof)
117
+ ) {
118
+ case REACT_PORTAL_TYPE:
119
+ return "Portal";
120
+ case REACT_CONTEXT_TYPE:
121
+ return (type.displayName || "Context") + ".Provider";
122
+ case REACT_CONSUMER_TYPE:
123
+ return (type._context.displayName || "Context") + ".Consumer";
124
+ case REACT_FORWARD_REF_TYPE:
125
+ var innerType = type.render;
126
+ type = type.displayName;
127
+ type ||
128
+ ((type = innerType.displayName || innerType.name || ""),
129
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
130
+ return type;
131
+ case REACT_MEMO_TYPE:
132
+ return (
133
+ (innerType = type.displayName || null),
134
+ null !== innerType
135
+ ? innerType
136
+ : getComponentNameFromType(type.type) || "Memo"
137
+ );
138
+ case REACT_LAZY_TYPE:
139
+ innerType = type._payload;
140
+ type = type._init;
141
+ try {
142
+ return getComponentNameFromType(type(innerType));
143
+ } catch (x) {}
144
+ }
145
+ return null;
146
+ }
147
+ function getTaskName(type) {
148
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
149
+ if (
150
+ "object" === typeof type &&
151
+ null !== type &&
152
+ type.$$typeof === REACT_LAZY_TYPE
153
+ )
154
+ return "<...>";
155
+ try {
156
+ var name = getComponentNameFromType(type);
157
+ return name ? "<" + name + ">" : "<...>";
158
+ } catch (x) {
159
+ return "<...>";
160
+ }
161
+ }
162
+ function getOwner() {
163
+ var dispatcher = ReactSharedInternals.A;
164
+ return null === dispatcher ? null : dispatcher.getOwner();
165
+ }
166
+ function UnknownOwner() {
167
+ return Error("react-stack-top-frame");
168
+ }
169
+ function hasValidKey(config) {
170
+ if (hasOwnProperty.call(config, "key")) {
171
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
172
+ if (getter && getter.isReactWarning) return !1;
173
+ }
174
+ return void 0 !== config.key;
175
+ }
176
+ function defineKeyPropWarningGetter(props, displayName) {
177
+ function warnAboutAccessingKey() {
178
+ specialPropKeyWarningShown ||
179
+ ((specialPropKeyWarningShown = !0),
180
+ console.error(
181
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
182
+ displayName
183
+ ));
184
+ }
185
+ warnAboutAccessingKey.isReactWarning = !0;
186
+ Object.defineProperty(props, "key", {
187
+ get: warnAboutAccessingKey,
188
+ configurable: !0
189
+ });
190
+ }
191
+ function elementRefGetterWithDeprecationWarning() {
192
+ var componentName = getComponentNameFromType(this.type);
193
+ didWarnAboutElementRef[componentName] ||
194
+ ((didWarnAboutElementRef[componentName] = !0),
195
+ console.error(
196
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
197
+ ));
198
+ componentName = this.props.ref;
199
+ return void 0 !== componentName ? componentName : null;
200
+ }
201
+ function ReactElement(
202
+ type,
203
+ key,
204
+ self,
205
+ source,
206
+ owner,
207
+ props,
208
+ debugStack,
209
+ debugTask
210
+ ) {
211
+ self = props.ref;
212
+ type = {
213
+ $$typeof: REACT_ELEMENT_TYPE,
214
+ type: type,
215
+ key: key,
216
+ props: props,
217
+ _owner: owner
218
+ };
219
+ null !== (void 0 !== self ? self : null)
220
+ ? Object.defineProperty(type, "ref", {
221
+ enumerable: !1,
222
+ get: elementRefGetterWithDeprecationWarning
223
+ })
224
+ : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
225
+ type._store = {};
226
+ Object.defineProperty(type._store, "validated", {
227
+ configurable: !1,
228
+ enumerable: !1,
229
+ writable: !0,
230
+ value: 0
231
+ });
232
+ Object.defineProperty(type, "_debugInfo", {
233
+ configurable: !1,
234
+ enumerable: !1,
235
+ writable: !0,
236
+ value: null
237
+ });
238
+ Object.defineProperty(type, "_debugStack", {
239
+ configurable: !1,
240
+ enumerable: !1,
241
+ writable: !0,
242
+ value: debugStack
243
+ });
244
+ Object.defineProperty(type, "_debugTask", {
245
+ configurable: !1,
246
+ enumerable: !1,
247
+ writable: !0,
248
+ value: debugTask
249
+ });
250
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
251
+ return type;
252
+ }
253
+ function cloneAndReplaceKey(oldElement, newKey) {
254
+ newKey = ReactElement(
255
+ oldElement.type,
256
+ newKey,
257
+ void 0,
258
+ void 0,
259
+ oldElement._owner,
260
+ oldElement.props,
261
+ oldElement._debugStack,
262
+ oldElement._debugTask
263
+ );
264
+ oldElement._store &&
265
+ (newKey._store.validated = oldElement._store.validated);
266
+ return newKey;
267
+ }
268
+ function isValidElement(object) {
269
+ return (
270
+ "object" === typeof object &&
271
+ null !== object &&
272
+ object.$$typeof === REACT_ELEMENT_TYPE
273
+ );
274
+ }
275
+ function escape(key) {
276
+ var escaperLookup = { "=": "=0", ":": "=2" };
277
+ return (
278
+ "$" +
279
+ key.replace(/[=:]/g, function (match) {
280
+ return escaperLookup[match];
281
+ })
282
+ );
283
+ }
284
+ function getElementKey(element, index) {
285
+ return "object" === typeof element &&
286
+ null !== element &&
287
+ null != element.key
288
+ ? (checkKeyStringCoercion(element.key), escape("" + element.key))
289
+ : index.toString(36);
290
+ }
291
+ function noop$1() {}
292
+ function resolveThenable(thenable) {
293
+ switch (thenable.status) {
294
+ case "fulfilled":
295
+ return thenable.value;
296
+ case "rejected":
297
+ throw thenable.reason;
298
+ default:
299
+ switch (
300
+ ("string" === typeof thenable.status
301
+ ? thenable.then(noop$1, noop$1)
302
+ : ((thenable.status = "pending"),
303
+ thenable.then(
304
+ function (fulfilledValue) {
305
+ "pending" === thenable.status &&
306
+ ((thenable.status = "fulfilled"),
307
+ (thenable.value = fulfilledValue));
308
+ },
309
+ function (error) {
310
+ "pending" === thenable.status &&
311
+ ((thenable.status = "rejected"),
312
+ (thenable.reason = error));
313
+ }
314
+ )),
315
+ thenable.status)
316
+ ) {
317
+ case "fulfilled":
318
+ return thenable.value;
319
+ case "rejected":
320
+ throw thenable.reason;
321
+ }
322
+ }
323
+ throw thenable;
324
+ }
325
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
326
+ var type = typeof children;
327
+ if ("undefined" === type || "boolean" === type) children = null;
328
+ var invokeCallback = !1;
329
+ if (null === children) invokeCallback = !0;
330
+ else
331
+ switch (type) {
332
+ case "bigint":
333
+ case "string":
334
+ case "number":
335
+ invokeCallback = !0;
336
+ break;
337
+ case "object":
338
+ switch (children.$$typeof) {
339
+ case REACT_ELEMENT_TYPE:
340
+ case REACT_PORTAL_TYPE:
341
+ invokeCallback = !0;
342
+ break;
343
+ case REACT_LAZY_TYPE:
344
+ return (
345
+ (invokeCallback = children._init),
346
+ mapIntoArray(
347
+ invokeCallback(children._payload),
348
+ array,
349
+ escapedPrefix,
350
+ nameSoFar,
351
+ callback
352
+ )
353
+ );
354
+ }
355
+ }
356
+ if (invokeCallback) {
357
+ invokeCallback = children;
358
+ callback = callback(invokeCallback);
359
+ var childKey =
360
+ "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
361
+ isArrayImpl(callback)
362
+ ? ((escapedPrefix = ""),
363
+ null != childKey &&
364
+ (escapedPrefix =
365
+ childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
366
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
367
+ return c;
368
+ }))
369
+ : null != callback &&
370
+ (isValidElement(callback) &&
371
+ (null != callback.key &&
372
+ ((invokeCallback && invokeCallback.key === callback.key) ||
373
+ checkKeyStringCoercion(callback.key)),
374
+ (escapedPrefix = cloneAndReplaceKey(
375
+ callback,
376
+ escapedPrefix +
377
+ (null == callback.key ||
378
+ (invokeCallback && invokeCallback.key === callback.key)
379
+ ? ""
380
+ : ("" + callback.key).replace(
381
+ userProvidedKeyEscapeRegex,
382
+ "$&/"
383
+ ) + "/") +
384
+ childKey
385
+ )),
386
+ "" !== nameSoFar &&
387
+ null != invokeCallback &&
388
+ isValidElement(invokeCallback) &&
389
+ null == invokeCallback.key &&
390
+ invokeCallback._store &&
391
+ !invokeCallback._store.validated &&
392
+ (escapedPrefix._store.validated = 2),
393
+ (callback = escapedPrefix)),
394
+ array.push(callback));
395
+ return 1;
396
+ }
397
+ invokeCallback = 0;
398
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
399
+ if (isArrayImpl(children))
400
+ for (var i = 0; i < children.length; i++)
401
+ (nameSoFar = children[i]),
402
+ (type = childKey + getElementKey(nameSoFar, i)),
403
+ (invokeCallback += mapIntoArray(
404
+ nameSoFar,
405
+ array,
406
+ escapedPrefix,
407
+ type,
408
+ callback
409
+ ));
410
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
411
+ for (
412
+ i === children.entries &&
413
+ (didWarnAboutMaps ||
414
+ console.warn(
415
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
416
+ ),
417
+ (didWarnAboutMaps = !0)),
418
+ children = i.call(children),
419
+ i = 0;
420
+ !(nameSoFar = children.next()).done;
421
+
422
+ )
423
+ (nameSoFar = nameSoFar.value),
424
+ (type = childKey + getElementKey(nameSoFar, i++)),
425
+ (invokeCallback += mapIntoArray(
426
+ nameSoFar,
427
+ array,
428
+ escapedPrefix,
429
+ type,
430
+ callback
431
+ ));
432
+ else if ("object" === type) {
433
+ if ("function" === typeof children.then)
434
+ return mapIntoArray(
435
+ resolveThenable(children),
436
+ array,
437
+ escapedPrefix,
438
+ nameSoFar,
439
+ callback
440
+ );
441
+ array = String(children);
442
+ throw Error(
443
+ "Objects are not valid as a React child (found: " +
444
+ ("[object Object]" === array
445
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
446
+ : array) +
447
+ "). If you meant to render a collection of children, use an array instead."
448
+ );
449
+ }
450
+ return invokeCallback;
451
+ }
452
+ function mapChildren(children, func, context) {
453
+ if (null == children) return children;
454
+ var result = [],
455
+ count = 0;
456
+ mapIntoArray(children, result, "", "", function (child) {
457
+ return func.call(context, child, count++);
458
+ });
459
+ return result;
460
+ }
461
+ function lazyInitializer(payload) {
462
+ if (-1 === payload._status) {
463
+ var ctor = payload._result;
464
+ ctor = ctor();
465
+ ctor.then(
466
+ function (moduleObject) {
467
+ if (0 === payload._status || -1 === payload._status)
468
+ (payload._status = 1), (payload._result = moduleObject);
469
+ },
470
+ function (error) {
471
+ if (0 === payload._status || -1 === payload._status)
472
+ (payload._status = 2), (payload._result = error);
473
+ }
474
+ );
475
+ -1 === payload._status &&
476
+ ((payload._status = 0), (payload._result = ctor));
477
+ }
478
+ if (1 === payload._status)
479
+ return (
480
+ (ctor = payload._result),
481
+ void 0 === ctor &&
482
+ console.error(
483
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
484
+ ctor
485
+ ),
486
+ "default" in ctor ||
487
+ console.error(
488
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
489
+ ctor
490
+ ),
491
+ ctor.default
492
+ );
493
+ throw payload._result;
494
+ }
495
+ function resolveDispatcher() {
496
+ var dispatcher = ReactSharedInternals.H;
497
+ null === dispatcher &&
498
+ console.error(
499
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
500
+ );
501
+ return dispatcher;
502
+ }
503
+ function noop() {}
504
+ function enqueueTask(task) {
505
+ if (null === enqueueTaskImpl)
506
+ try {
507
+ var requireString = ("require" + Math.random()).slice(0, 7);
508
+ enqueueTaskImpl = (module && module[requireString]).call(
509
+ module,
510
+ "timers"
511
+ ).setImmediate;
512
+ } catch (_err) {
513
+ enqueueTaskImpl = function (callback) {
514
+ !1 === didWarnAboutMessageChannel &&
515
+ ((didWarnAboutMessageChannel = !0),
516
+ "undefined" === typeof MessageChannel &&
517
+ console.error(
518
+ "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
519
+ ));
520
+ var channel = new MessageChannel();
521
+ channel.port1.onmessage = callback;
522
+ channel.port2.postMessage(void 0);
523
+ };
524
+ }
525
+ return enqueueTaskImpl(task);
526
+ }
527
+ function aggregateErrors(errors) {
528
+ return 1 < errors.length && "function" === typeof AggregateError
529
+ ? new AggregateError(errors)
530
+ : errors[0];
531
+ }
532
+ function popActScope(prevActQueue, prevActScopeDepth) {
533
+ prevActScopeDepth !== actScopeDepth - 1 &&
534
+ console.error(
535
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
536
+ );
537
+ actScopeDepth = prevActScopeDepth;
538
+ }
539
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
540
+ var queue = ReactSharedInternals.actQueue;
541
+ if (null !== queue)
542
+ if (0 !== queue.length)
543
+ try {
544
+ flushActQueue(queue);
545
+ enqueueTask(function () {
546
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
547
+ });
548
+ return;
549
+ } catch (error) {
550
+ ReactSharedInternals.thrownErrors.push(error);
551
+ }
552
+ else ReactSharedInternals.actQueue = null;
553
+ 0 < ReactSharedInternals.thrownErrors.length
554
+ ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
555
+ (ReactSharedInternals.thrownErrors.length = 0),
556
+ reject(queue))
557
+ : resolve(returnValue);
558
+ }
559
+ function flushActQueue(queue) {
560
+ if (!isFlushing) {
561
+ isFlushing = !0;
562
+ var i = 0;
563
+ try {
564
+ for (; i < queue.length; i++) {
565
+ var callback = queue[i];
566
+ do {
567
+ ReactSharedInternals.didUsePromise = !1;
568
+ var continuation = callback(!1);
569
+ if (null !== continuation) {
570
+ if (ReactSharedInternals.didUsePromise) {
571
+ queue[i] = callback;
572
+ queue.splice(0, i);
573
+ return;
574
+ }
575
+ callback = continuation;
576
+ } else break;
577
+ } while (1);
578
+ }
579
+ queue.length = 0;
580
+ } catch (error) {
581
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
582
+ } finally {
583
+ isFlushing = !1;
584
+ }
585
+ }
586
+ }
587
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
588
+ "function" ===
589
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
590
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
591
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
592
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
593
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
594
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
595
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
596
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
597
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
598
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
599
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
600
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
601
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
602
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
603
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
604
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
605
+ didWarnStateUpdateForUnmountedComponent = {},
606
+ ReactNoopUpdateQueue = {
607
+ isMounted: function () {
608
+ return !1;
609
+ },
610
+ enqueueForceUpdate: function (publicInstance) {
611
+ warnNoop(publicInstance, "forceUpdate");
612
+ },
613
+ enqueueReplaceState: function (publicInstance) {
614
+ warnNoop(publicInstance, "replaceState");
615
+ },
616
+ enqueueSetState: function (publicInstance) {
617
+ warnNoop(publicInstance, "setState");
618
+ }
619
+ },
620
+ assign = Object.assign,
621
+ emptyObject = {};
622
+ Object.freeze(emptyObject);
623
+ Component.prototype.isReactComponent = {};
624
+ Component.prototype.setState = function (partialState, callback) {
625
+ if (
626
+ "object" !== typeof partialState &&
627
+ "function" !== typeof partialState &&
628
+ null != partialState
629
+ )
630
+ throw Error(
631
+ "takes an object of state variables to update or a function which returns an object of state variables."
632
+ );
633
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
634
+ };
635
+ Component.prototype.forceUpdate = function (callback) {
636
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
637
+ };
638
+ var deprecatedAPIs = {
639
+ isMounted: [
640
+ "isMounted",
641
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
642
+ ],
643
+ replaceState: [
644
+ "replaceState",
645
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
646
+ ]
647
+ },
648
+ fnName;
649
+ for (fnName in deprecatedAPIs)
650
+ deprecatedAPIs.hasOwnProperty(fnName) &&
651
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
652
+ ComponentDummy.prototype = Component.prototype;
653
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
654
+ deprecatedAPIs.constructor = PureComponent;
655
+ assign(deprecatedAPIs, Component.prototype);
656
+ deprecatedAPIs.isPureReactComponent = !0;
657
+ var isArrayImpl = Array.isArray,
658
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
659
+ ReactSharedInternals = {
660
+ H: null,
661
+ A: null,
662
+ T: null,
663
+ S: null,
664
+ V: null,
665
+ actQueue: null,
666
+ isBatchingLegacy: !1,
667
+ didScheduleLegacyUpdate: !1,
668
+ didUsePromise: !1,
669
+ thrownErrors: [],
670
+ getCurrentStack: null,
671
+ recentlyCreatedOwnerStacks: 0
672
+ },
673
+ hasOwnProperty = Object.prototype.hasOwnProperty,
674
+ createTask = console.createTask
675
+ ? console.createTask
676
+ : function () {
677
+ return null;
678
+ };
679
+ deprecatedAPIs = {
680
+ "react-stack-bottom-frame": function (callStackForError) {
681
+ return callStackForError();
682
+ }
683
+ };
684
+ var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
685
+ var didWarnAboutElementRef = {};
686
+ var unknownOwnerDebugStack = deprecatedAPIs[
687
+ "react-stack-bottom-frame"
688
+ ].bind(deprecatedAPIs, UnknownOwner)();
689
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
690
+ var didWarnAboutMaps = !1,
691
+ userProvidedKeyEscapeRegex = /\/+/g,
692
+ reportGlobalError =
693
+ "function" === typeof reportError
694
+ ? reportError
695
+ : function (error) {
696
+ if (
697
+ "object" === typeof window &&
698
+ "function" === typeof window.ErrorEvent
699
+ ) {
700
+ var event = new window.ErrorEvent("error", {
701
+ bubbles: !0,
702
+ cancelable: !0,
703
+ message:
704
+ "object" === typeof error &&
705
+ null !== error &&
706
+ "string" === typeof error.message
707
+ ? String(error.message)
708
+ : String(error),
709
+ error: error
710
+ });
711
+ if (!window.dispatchEvent(event)) return;
712
+ } else if (
713
+ "object" === typeof process &&
714
+ "function" === typeof process.emit
715
+ ) {
716
+ process.emit("uncaughtException", error);
717
+ return;
718
+ }
719
+ console.error(error);
720
+ },
721
+ didWarnAboutMessageChannel = !1,
722
+ enqueueTaskImpl = null,
723
+ actScopeDepth = 0,
724
+ didWarnNoAwaitAct = !1,
725
+ isFlushing = !1,
726
+ queueSeveralMicrotasks =
727
+ "function" === typeof queueMicrotask
728
+ ? function (callback) {
729
+ queueMicrotask(function () {
730
+ return queueMicrotask(callback);
731
+ });
732
+ }
733
+ : enqueueTask;
734
+ deprecatedAPIs = Object.freeze({
735
+ __proto__: null,
736
+ c: function (size) {
737
+ return resolveDispatcher().useMemoCache(size);
738
+ }
739
+ });
740
+ exports.Children = {
741
+ map: mapChildren,
742
+ forEach: function (children, forEachFunc, forEachContext) {
743
+ mapChildren(
744
+ children,
745
+ function () {
746
+ forEachFunc.apply(this, arguments);
747
+ },
748
+ forEachContext
749
+ );
750
+ },
751
+ count: function (children) {
752
+ var n = 0;
753
+ mapChildren(children, function () {
754
+ n++;
755
+ });
756
+ return n;
757
+ },
758
+ toArray: function (children) {
759
+ return (
760
+ mapChildren(children, function (child) {
761
+ return child;
762
+ }) || []
763
+ );
764
+ },
765
+ only: function (children) {
766
+ if (!isValidElement(children))
767
+ throw Error(
768
+ "React.Children.only expected to receive a single React element child."
769
+ );
770
+ return children;
771
+ }
772
+ };
773
+ exports.Component = Component;
774
+ exports.Fragment = REACT_FRAGMENT_TYPE;
775
+ exports.Profiler = REACT_PROFILER_TYPE;
776
+ exports.PureComponent = PureComponent;
777
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
778
+ exports.Suspense = REACT_SUSPENSE_TYPE;
779
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
780
+ ReactSharedInternals;
781
+ exports.__COMPILER_RUNTIME = deprecatedAPIs;
782
+ exports.act = function (callback) {
783
+ var prevActQueue = ReactSharedInternals.actQueue,
784
+ prevActScopeDepth = actScopeDepth;
785
+ actScopeDepth++;
786
+ var queue = (ReactSharedInternals.actQueue =
787
+ null !== prevActQueue ? prevActQueue : []),
788
+ didAwaitActCall = !1;
789
+ try {
790
+ var result = callback();
791
+ } catch (error) {
792
+ ReactSharedInternals.thrownErrors.push(error);
793
+ }
794
+ if (0 < ReactSharedInternals.thrownErrors.length)
795
+ throw (
796
+ (popActScope(prevActQueue, prevActScopeDepth),
797
+ (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
798
+ (ReactSharedInternals.thrownErrors.length = 0),
799
+ callback)
800
+ );
801
+ if (
802
+ null !== result &&
803
+ "object" === typeof result &&
804
+ "function" === typeof result.then
805
+ ) {
806
+ var thenable = result;
807
+ queueSeveralMicrotasks(function () {
808
+ didAwaitActCall ||
809
+ didWarnNoAwaitAct ||
810
+ ((didWarnNoAwaitAct = !0),
811
+ console.error(
812
+ "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
813
+ ));
814
+ });
815
+ return {
816
+ then: function (resolve, reject) {
817
+ didAwaitActCall = !0;
818
+ thenable.then(
819
+ function (returnValue) {
820
+ popActScope(prevActQueue, prevActScopeDepth);
821
+ if (0 === prevActScopeDepth) {
822
+ try {
823
+ flushActQueue(queue),
824
+ enqueueTask(function () {
825
+ return recursivelyFlushAsyncActWork(
826
+ returnValue,
827
+ resolve,
828
+ reject
829
+ );
830
+ });
831
+ } catch (error$0) {
832
+ ReactSharedInternals.thrownErrors.push(error$0);
833
+ }
834
+ if (0 < ReactSharedInternals.thrownErrors.length) {
835
+ var _thrownError = aggregateErrors(
836
+ ReactSharedInternals.thrownErrors
837
+ );
838
+ ReactSharedInternals.thrownErrors.length = 0;
839
+ reject(_thrownError);
840
+ }
841
+ } else resolve(returnValue);
842
+ },
843
+ function (error) {
844
+ popActScope(prevActQueue, prevActScopeDepth);
845
+ 0 < ReactSharedInternals.thrownErrors.length
846
+ ? ((error = aggregateErrors(
847
+ ReactSharedInternals.thrownErrors
848
+ )),
849
+ (ReactSharedInternals.thrownErrors.length = 0),
850
+ reject(error))
851
+ : reject(error);
852
+ }
853
+ );
854
+ }
855
+ };
856
+ }
857
+ var returnValue$jscomp$0 = result;
858
+ popActScope(prevActQueue, prevActScopeDepth);
859
+ 0 === prevActScopeDepth &&
860
+ (flushActQueue(queue),
861
+ 0 !== queue.length &&
862
+ queueSeveralMicrotasks(function () {
863
+ didAwaitActCall ||
864
+ didWarnNoAwaitAct ||
865
+ ((didWarnNoAwaitAct = !0),
866
+ console.error(
867
+ "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
868
+ ));
869
+ }),
870
+ (ReactSharedInternals.actQueue = null));
871
+ if (0 < ReactSharedInternals.thrownErrors.length)
872
+ throw (
873
+ ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
874
+ (ReactSharedInternals.thrownErrors.length = 0),
875
+ callback)
876
+ );
877
+ return {
878
+ then: function (resolve, reject) {
879
+ didAwaitActCall = !0;
880
+ 0 === prevActScopeDepth
881
+ ? ((ReactSharedInternals.actQueue = queue),
882
+ enqueueTask(function () {
883
+ return recursivelyFlushAsyncActWork(
884
+ returnValue$jscomp$0,
885
+ resolve,
886
+ reject
887
+ );
888
+ }))
889
+ : resolve(returnValue$jscomp$0);
890
+ }
891
+ };
892
+ };
893
+ exports.cache = function (fn) {
894
+ return function () {
895
+ return fn.apply(null, arguments);
896
+ };
897
+ };
898
+ exports.captureOwnerStack = function () {
899
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
900
+ return null === getCurrentStack ? null : getCurrentStack();
901
+ };
902
+ exports.cloneElement = function (element, config, children) {
903
+ if (null === element || void 0 === element)
904
+ throw Error(
905
+ "The argument must be a React element, but you passed " +
906
+ element +
907
+ "."
908
+ );
909
+ var props = assign({}, element.props),
910
+ key = element.key,
911
+ owner = element._owner;
912
+ if (null != config) {
913
+ var JSCompiler_inline_result;
914
+ a: {
915
+ if (
916
+ hasOwnProperty.call(config, "ref") &&
917
+ (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
918
+ config,
919
+ "ref"
920
+ ).get) &&
921
+ JSCompiler_inline_result.isReactWarning
922
+ ) {
923
+ JSCompiler_inline_result = !1;
924
+ break a;
925
+ }
926
+ JSCompiler_inline_result = void 0 !== config.ref;
927
+ }
928
+ JSCompiler_inline_result && (owner = getOwner());
929
+ hasValidKey(config) &&
930
+ (checkKeyStringCoercion(config.key), (key = "" + config.key));
931
+ for (propName in config)
932
+ !hasOwnProperty.call(config, propName) ||
933
+ "key" === propName ||
934
+ "__self" === propName ||
935
+ "__source" === propName ||
936
+ ("ref" === propName && void 0 === config.ref) ||
937
+ (props[propName] = config[propName]);
938
+ }
939
+ var propName = arguments.length - 2;
940
+ if (1 === propName) props.children = children;
941
+ else if (1 < propName) {
942
+ JSCompiler_inline_result = Array(propName);
943
+ for (var i = 0; i < propName; i++)
944
+ JSCompiler_inline_result[i] = arguments[i + 2];
945
+ props.children = JSCompiler_inline_result;
946
+ }
947
+ props = ReactElement(
948
+ element.type,
949
+ key,
950
+ void 0,
951
+ void 0,
952
+ owner,
953
+ props,
954
+ element._debugStack,
955
+ element._debugTask
956
+ );
957
+ for (key = 2; key < arguments.length; key++)
958
+ (owner = arguments[key]),
959
+ isValidElement(owner) && owner._store && (owner._store.validated = 1);
960
+ return props;
961
+ };
962
+ exports.createContext = function (defaultValue) {
963
+ defaultValue = {
964
+ $$typeof: REACT_CONTEXT_TYPE,
965
+ _currentValue: defaultValue,
966
+ _currentValue2: defaultValue,
967
+ _threadCount: 0,
968
+ Provider: null,
969
+ Consumer: null
970
+ };
971
+ defaultValue.Provider = defaultValue;
972
+ defaultValue.Consumer = {
973
+ $$typeof: REACT_CONSUMER_TYPE,
974
+ _context: defaultValue
975
+ };
976
+ defaultValue._currentRenderer = null;
977
+ defaultValue._currentRenderer2 = null;
978
+ return defaultValue;
979
+ };
980
+ exports.createElement = function (type, config, children) {
981
+ for (var i = 2; i < arguments.length; i++) {
982
+ var node = arguments[i];
983
+ isValidElement(node) && node._store && (node._store.validated = 1);
984
+ }
985
+ i = {};
986
+ node = null;
987
+ if (null != config)
988
+ for (propName in (didWarnAboutOldJSXRuntime ||
989
+ !("__self" in config) ||
990
+ "key" in config ||
991
+ ((didWarnAboutOldJSXRuntime = !0),
992
+ console.warn(
993
+ "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
994
+ )),
995
+ hasValidKey(config) &&
996
+ (checkKeyStringCoercion(config.key), (node = "" + config.key)),
997
+ config))
998
+ hasOwnProperty.call(config, propName) &&
999
+ "key" !== propName &&
1000
+ "__self" !== propName &&
1001
+ "__source" !== propName &&
1002
+ (i[propName] = config[propName]);
1003
+ var childrenLength = arguments.length - 2;
1004
+ if (1 === childrenLength) i.children = children;
1005
+ else if (1 < childrenLength) {
1006
+ for (
1007
+ var childArray = Array(childrenLength), _i = 0;
1008
+ _i < childrenLength;
1009
+ _i++
1010
+ )
1011
+ childArray[_i] = arguments[_i + 2];
1012
+ Object.freeze && Object.freeze(childArray);
1013
+ i.children = childArray;
1014
+ }
1015
+ if (type && type.defaultProps)
1016
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
1017
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1018
+ node &&
1019
+ defineKeyPropWarningGetter(
1020
+ i,
1021
+ "function" === typeof type
1022
+ ? type.displayName || type.name || "Unknown"
1023
+ : type
1024
+ );
1025
+ var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1026
+ return ReactElement(
1027
+ type,
1028
+ node,
1029
+ void 0,
1030
+ void 0,
1031
+ getOwner(),
1032
+ i,
1033
+ propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1034
+ propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1035
+ );
1036
+ };
1037
+ exports.createRef = function () {
1038
+ var refObject = { current: null };
1039
+ Object.seal(refObject);
1040
+ return refObject;
1041
+ };
1042
+ exports.forwardRef = function (render) {
1043
+ null != render && render.$$typeof === REACT_MEMO_TYPE
1044
+ ? console.error(
1045
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1046
+ )
1047
+ : "function" !== typeof render
1048
+ ? console.error(
1049
+ "forwardRef requires a render function but was given %s.",
1050
+ null === render ? "null" : typeof render
1051
+ )
1052
+ : 0 !== render.length &&
1053
+ 2 !== render.length &&
1054
+ console.error(
1055
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1056
+ 1 === render.length
1057
+ ? "Did you forget to use the ref parameter?"
1058
+ : "Any additional parameter will be undefined."
1059
+ );
1060
+ null != render &&
1061
+ null != render.defaultProps &&
1062
+ console.error(
1063
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1064
+ );
1065
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1066
+ ownName;
1067
+ Object.defineProperty(elementType, "displayName", {
1068
+ enumerable: !1,
1069
+ configurable: !0,
1070
+ get: function () {
1071
+ return ownName;
1072
+ },
1073
+ set: function (name) {
1074
+ ownName = name;
1075
+ render.name ||
1076
+ render.displayName ||
1077
+ (Object.defineProperty(render, "name", { value: name }),
1078
+ (render.displayName = name));
1079
+ }
1080
+ });
1081
+ return elementType;
1082
+ };
1083
+ exports.isValidElement = isValidElement;
1084
+ exports.lazy = function (ctor) {
1085
+ return {
1086
+ $$typeof: REACT_LAZY_TYPE,
1087
+ _payload: { _status: -1, _result: ctor },
1088
+ _init: lazyInitializer
1089
+ };
1090
+ };
1091
+ exports.memo = function (type, compare) {
1092
+ null == type &&
1093
+ console.error(
1094
+ "memo: The first argument must be a component. Instead received: %s",
1095
+ null === type ? "null" : typeof type
1096
+ );
1097
+ compare = {
1098
+ $$typeof: REACT_MEMO_TYPE,
1099
+ type: type,
1100
+ compare: void 0 === compare ? null : compare
1101
+ };
1102
+ var ownName;
1103
+ Object.defineProperty(compare, "displayName", {
1104
+ enumerable: !1,
1105
+ configurable: !0,
1106
+ get: function () {
1107
+ return ownName;
1108
+ },
1109
+ set: function (name) {
1110
+ ownName = name;
1111
+ type.name ||
1112
+ type.displayName ||
1113
+ (Object.defineProperty(type, "name", { value: name }),
1114
+ (type.displayName = name));
1115
+ }
1116
+ });
1117
+ return compare;
1118
+ };
1119
+ exports.startTransition = function (scope) {
1120
+ var prevTransition = ReactSharedInternals.T,
1121
+ currentTransition = {};
1122
+ ReactSharedInternals.T = currentTransition;
1123
+ currentTransition._updatedFibers = new Set();
1124
+ try {
1125
+ var returnValue = scope(),
1126
+ onStartTransitionFinish = ReactSharedInternals.S;
1127
+ null !== onStartTransitionFinish &&
1128
+ onStartTransitionFinish(currentTransition, returnValue);
1129
+ "object" === typeof returnValue &&
1130
+ null !== returnValue &&
1131
+ "function" === typeof returnValue.then &&
1132
+ returnValue.then(noop, reportGlobalError);
1133
+ } catch (error) {
1134
+ reportGlobalError(error);
1135
+ } finally {
1136
+ null === prevTransition &&
1137
+ currentTransition._updatedFibers &&
1138
+ ((scope = currentTransition._updatedFibers.size),
1139
+ currentTransition._updatedFibers.clear(),
1140
+ 10 < scope &&
1141
+ console.warn(
1142
+ "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1143
+ )),
1144
+ (ReactSharedInternals.T = prevTransition);
1145
+ }
1146
+ };
1147
+ exports.unstable_useCacheRefresh = function () {
1148
+ return resolveDispatcher().useCacheRefresh();
1149
+ };
1150
+ exports.use = function (usable) {
1151
+ return resolveDispatcher().use(usable);
1152
+ };
1153
+ exports.useActionState = function (action, initialState, permalink) {
1154
+ return resolveDispatcher().useActionState(
1155
+ action,
1156
+ initialState,
1157
+ permalink
1158
+ );
1159
+ };
1160
+ exports.useCallback = function (callback, deps) {
1161
+ return resolveDispatcher().useCallback(callback, deps);
1162
+ };
1163
+ exports.useContext = function (Context) {
1164
+ var dispatcher = resolveDispatcher();
1165
+ Context.$$typeof === REACT_CONSUMER_TYPE &&
1166
+ console.error(
1167
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1168
+ );
1169
+ return dispatcher.useContext(Context);
1170
+ };
1171
+ exports.useDebugValue = function (value, formatterFn) {
1172
+ return resolveDispatcher().useDebugValue(value, formatterFn);
1173
+ };
1174
+ exports.useDeferredValue = function (value, initialValue) {
1175
+ return resolveDispatcher().useDeferredValue(value, initialValue);
1176
+ };
1177
+ exports.useEffect = function (create, createDeps, update) {
1178
+ null == create &&
1179
+ console.warn(
1180
+ "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1181
+ );
1182
+ var dispatcher = resolveDispatcher();
1183
+ if ("function" === typeof update)
1184
+ throw Error(
1185
+ "useEffect CRUD overload is not enabled in this build of React."
1186
+ );
1187
+ return dispatcher.useEffect(create, createDeps);
1188
+ };
1189
+ exports.useId = function () {
1190
+ return resolveDispatcher().useId();
1191
+ };
1192
+ exports.useImperativeHandle = function (ref, create, deps) {
1193
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
1194
+ };
1195
+ exports.useInsertionEffect = function (create, deps) {
1196
+ null == create &&
1197
+ console.warn(
1198
+ "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1199
+ );
1200
+ return resolveDispatcher().useInsertionEffect(create, deps);
1201
+ };
1202
+ exports.useLayoutEffect = function (create, deps) {
1203
+ null == create &&
1204
+ console.warn(
1205
+ "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1206
+ );
1207
+ return resolveDispatcher().useLayoutEffect(create, deps);
1208
+ };
1209
+ exports.useMemo = function (create, deps) {
1210
+ return resolveDispatcher().useMemo(create, deps);
1211
+ };
1212
+ exports.useOptimistic = function (passthrough, reducer) {
1213
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
1214
+ };
1215
+ exports.useReducer = function (reducer, initialArg, init) {
1216
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
1217
+ };
1218
+ exports.useRef = function (initialValue) {
1219
+ return resolveDispatcher().useRef(initialValue);
1220
+ };
1221
+ exports.useState = function (initialState) {
1222
+ return resolveDispatcher().useState(initialState);
1223
+ };
1224
+ exports.useSyncExternalStore = function (
1225
+ subscribe,
1226
+ getSnapshot,
1227
+ getServerSnapshot
1228
+ ) {
1229
+ return resolveDispatcher().useSyncExternalStore(
1230
+ subscribe,
1231
+ getSnapshot,
1232
+ getServerSnapshot
1233
+ );
1234
+ };
1235
+ exports.useTransition = function () {
1236
+ return resolveDispatcher().useTransition();
1237
+ };
1238
+ exports.version = "19.1.0";
1239
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1240
+ "function" ===
1241
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
1242
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1243
+ })();
1244
+ }(react_development, react_development.exports));