@ntbjs/react-components 2.0.0-rc.13 → 2.0.0-rc.26

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