@office-iss/react-native-win32 0.67.0 → 0.68.0-preview.3

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 (619) hide show
  1. package/.eslintignore +2 -1
  2. package/.flowconfig +6 -2
  3. package/CHANGELOG.json +366 -41
  4. package/CHANGELOG.md +136 -24
  5. package/IntegrationTests/AccessibilityManagerTest.js +1 -1
  6. package/IntegrationTests/AppEventsTest.js +2 -1
  7. package/IntegrationTests/AsyncStorageTest.js +8 -6
  8. package/IntegrationTests/GlobalEvalWithSourceUrlTest.js +1 -1
  9. package/IntegrationTests/ImageCachePolicyTest.js +1 -1
  10. package/IntegrationTests/ImageSnapshotTest.js +1 -1
  11. package/IntegrationTests/IntegrationTestHarnessTest.js +8 -6
  12. package/IntegrationTests/IntegrationTestsApp.js +3 -9
  13. package/IntegrationTests/LayoutEventsTest.js +1 -1
  14. package/IntegrationTests/LoggingTestModule.js +8 -8
  15. package/IntegrationTests/PromiseTest.js +1 -1
  16. package/IntegrationTests/PropertiesUpdateTest.js +1 -1
  17. package/IntegrationTests/RCTRootViewIntegrationTestApp.js +3 -9
  18. package/IntegrationTests/ReactContentSizeUpdateTest.js +1 -1
  19. package/IntegrationTests/SimpleSnapshotTest.js +1 -1
  20. package/IntegrationTests/SizeFlexibilityUpdateTest.js +1 -1
  21. package/IntegrationTests/SyncMethodTest.js +1 -1
  22. package/IntegrationTests/TimersTest.js +1 -1
  23. package/IntegrationTests/WebSocketTest.js +2 -2
  24. package/IntegrationTests/launchWebSocketServer.command +1 -1
  25. package/IntegrationTests/websocket_integration_test_server.js +1 -1
  26. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +4 -4
  27. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +1 -1
  28. package/Libraries/Alert/Alert.js +4 -4
  29. package/Libraries/Alert/Alert.win32.js +3 -3
  30. package/Libraries/Alert/NativeAlertManager.js +1 -1
  31. package/Libraries/Alert/RCTAlertManager.android.js +2 -2
  32. package/Libraries/Alert/RCTAlertManager.ios.js +1 -1
  33. package/Libraries/Animated/Animated.js +1 -1
  34. package/Libraries/Animated/AnimatedEvent.js +11 -6
  35. package/Libraries/Animated/AnimatedImplementation.js +116 -85
  36. package/Libraries/Animated/AnimatedMock.js +65 -22
  37. package/Libraries/{Components/Touchable/__mocks__/ensureComponentIsNative.js → Animated/AnimatedPlatformConfig.js} +3 -2
  38. package/Libraries/Animated/AnimatedWeb.js +1 -1
  39. package/Libraries/Animated/Easing.js +38 -40
  40. package/Libraries/Animated/NativeAnimatedHelper.js +24 -21
  41. package/Libraries/Animated/NativeAnimatedModule.js +1 -1
  42. package/Libraries/Animated/NativeAnimatedTurboModule.js +1 -1
  43. package/Libraries/Animated/SpringConfig.js +11 -11
  44. package/Libraries/Animated/animations/Animation.js +6 -4
  45. package/Libraries/Animated/animations/DecayAnimation.js +6 -1
  46. package/Libraries/Animated/animations/SpringAnimation.js +16 -1
  47. package/Libraries/Animated/animations/TimingAnimation.js +15 -2
  48. package/Libraries/Animated/bezier.js +20 -9
  49. package/Libraries/Animated/components/AnimatedFlatList.js +1 -1
  50. package/Libraries/Animated/components/AnimatedImage.js +1 -1
  51. package/Libraries/Animated/components/AnimatedScrollView.js +1 -1
  52. package/Libraries/Animated/components/AnimatedSectionList.js +1 -1
  53. package/Libraries/Animated/components/AnimatedText.js +1 -1
  54. package/Libraries/Animated/components/AnimatedView.js +1 -1
  55. package/Libraries/Animated/createAnimatedComponent.js +4 -4
  56. package/Libraries/Animated/createAnimatedComponentInjection.js +1 -1
  57. package/Libraries/Animated/createAnimatedComponent_EXPERIMENTAL.js +1 -1
  58. package/Libraries/Animated/nodes/AnimatedAddition.js +6 -5
  59. package/Libraries/Animated/nodes/AnimatedColor.js +266 -0
  60. package/Libraries/Animated/nodes/AnimatedDiffClamp.js +5 -4
  61. package/Libraries/Animated/nodes/AnimatedDivision.js +6 -5
  62. package/Libraries/Animated/nodes/AnimatedInterpolation.js +8 -6
  63. package/Libraries/Animated/nodes/AnimatedModulo.js +5 -4
  64. package/Libraries/Animated/nodes/AnimatedMultiplication.js +6 -5
  65. package/Libraries/Animated/nodes/AnimatedNode.js +31 -18
  66. package/Libraries/Animated/nodes/AnimatedProps.js +12 -4
  67. package/Libraries/Animated/nodes/AnimatedStyle.js +9 -7
  68. package/Libraries/Animated/nodes/AnimatedSubtraction.js +6 -5
  69. package/Libraries/Animated/nodes/AnimatedTracking.js +8 -6
  70. package/Libraries/Animated/nodes/AnimatedTransform.js +6 -4
  71. package/Libraries/Animated/nodes/AnimatedValue.js +21 -12
  72. package/Libraries/Animated/nodes/AnimatedValueXY.js +14 -14
  73. package/Libraries/Animated/nodes/AnimatedWithChildren.js +6 -5
  74. package/Libraries/Animated/useAnimatedProps.js +1 -1
  75. package/Libraries/AppState/AppState.js +9 -8
  76. package/Libraries/AppState/NativeAppState.js +1 -1
  77. package/Libraries/BatchedBridge/BatchedBridge.js +1 -1
  78. package/Libraries/BatchedBridge/MessageQueue.js +7 -9
  79. package/Libraries/BatchedBridge/NativeModules.js +1 -1
  80. package/Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js +1 -1
  81. package/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js +3 -3
  82. package/Libraries/Blob/Blob.js +1 -1
  83. package/Libraries/Blob/BlobManager.js +1 -1
  84. package/Libraries/Blob/BlobRegistry.js +1 -1
  85. package/Libraries/Blob/BlobTypes.js +1 -1
  86. package/Libraries/Blob/File.js +1 -1
  87. package/Libraries/Blob/FileReader.js +1 -1
  88. package/Libraries/Blob/NativeBlobModule.js +1 -1
  89. package/Libraries/Blob/NativeFileReaderModule.js +1 -1
  90. package/Libraries/Blob/URL.js +26 -21
  91. package/Libraries/Blob/__mocks__/BlobModule.js +1 -1
  92. package/Libraries/Blob/__mocks__/FileReaderModule.js +1 -1
  93. package/Libraries/BugReporting/BugReporting.js +1 -1
  94. package/Libraries/BugReporting/NativeBugReporting.js +1 -1
  95. package/Libraries/BugReporting/dumpReactTree.js +1 -1
  96. package/Libraries/BugReporting/getReactData.js +15 -6
  97. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +89 -29
  98. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +95 -35
  99. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js +4 -1
  100. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js +5 -1
  101. package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.android.js +1 -1
  102. package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.ios.js +1 -1
  103. package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.win32.js +1 -1
  104. package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +1 -1
  105. package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +5 -5
  106. package/Libraries/Components/Button.js +1 -1
  107. package/Libraries/Components/Clipboard/Clipboard.js +1 -1
  108. package/Libraries/Components/Clipboard/NativeClipboard.js +1 -1
  109. package/Libraries/Components/DatePicker/DatePickerIOS.android.js +1 -1
  110. package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +18 -2
  111. package/Libraries/Components/DatePicker/DatePickerIOS.win32.js +1 -1
  112. package/Libraries/Components/DatePicker/RCTDatePickerNativeComponent.js +1 -1
  113. package/Libraries/Components/DatePickerAndroid/NativeDatePickerAndroid.js +1 -1
  114. package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +3 -3
  115. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +5 -4
  116. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +1 -1
  117. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +1 -1
  118. package/Libraries/Components/Keyboard/Keyboard.js +7 -6
  119. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +11 -6
  120. package/Libraries/Components/Keyboard/NativeKeyboardObserver.js +1 -1
  121. package/Libraries/Components/MaskedView/MaskedViewIOS.android.js +1 -1
  122. package/Libraries/Components/MaskedView/MaskedViewIOS.ios.js +1 -1
  123. package/Libraries/Components/MaskedView/MaskedViewIOS.win32.js +1 -1
  124. package/Libraries/Components/MaskedView/RCTMaskedViewNativeComponent.js +1 -1
  125. package/Libraries/Components/Pressable/Pressable.js +38 -2
  126. package/Libraries/Components/Pressable/Pressable.win32.js +1 -1
  127. package/Libraries/Components/Pressable/useAndroidRippleForView.js +1 -1
  128. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +6 -5
  129. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js +1 -1
  130. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +1 -1
  131. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +1 -1
  132. package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js +1 -1
  133. package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js +3 -2
  134. package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.win32.js +1 -1
  135. package/Libraries/Components/ProgressViewIOS/RCTProgressViewNativeComponent.js +1 -1
  136. package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +1 -2
  137. package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +1 -1
  138. package/Libraries/Components/RefreshControl/RefreshControl.js +3 -8
  139. package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +3 -4
  140. package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +1 -1
  141. package/Libraries/Components/SafeAreaView/SafeAreaView.js +3 -3
  142. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +3 -3
  143. package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +3 -1
  144. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +16 -6
  145. package/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js +4 -6
  146. package/Libraries/Components/ScrollView/ScrollView.js +22 -15
  147. package/Libraries/Components/ScrollView/ScrollViewCommands.js +1 -1
  148. package/Libraries/Components/ScrollView/ScrollViewContext.js +1 -1
  149. package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +135 -71
  150. package/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js +2 -1
  151. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +2 -2
  152. package/Libraries/Components/ScrollView/ScrollViewViewConfig.js +2 -1
  153. package/Libraries/Components/ScrollView/processDecelerationRate.js +1 -1
  154. package/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js +1 -1
  155. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js +1 -1
  156. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js +3 -9
  157. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.js +1 -1
  158. package/Libraries/Components/Slider/Slider.js +1 -1
  159. package/Libraries/Components/Slider/SliderNativeComponent.js +3 -3
  160. package/Libraries/Components/Sound/NativeSoundManager.js +1 -1
  161. package/Libraries/Components/Sound/SoundManager.js +2 -2
  162. package/Libraries/Components/StaticRenderer.js +1 -1
  163. package/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js +1 -1
  164. package/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js +1 -1
  165. package/Libraries/Components/StatusBar/StatusBar.js +1 -1
  166. package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +1 -1
  167. package/Libraries/Components/Switch/Switch.js +1 -1
  168. package/Libraries/Components/Switch/SwitchNativeComponent.js +1 -1
  169. package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +175 -14
  170. package/Libraries/Components/TextInput/InputAccessoryView.js +1 -1
  171. package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +1 -1
  172. package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +10 -5
  173. package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +6 -5
  174. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +32 -11
  175. package/Libraries/Components/TextInput/TextInput.js +131 -31
  176. package/Libraries/Components/TextInput/TextInputNativeCommands.js +1 -1
  177. package/Libraries/Components/TextInput/TextInputState.js +1 -1
  178. package/Libraries/Components/TextInput/TextInputState.win32.js +1 -1
  179. package/Libraries/Components/ToastAndroid/NativeToastAndroid.js +1 -1
  180. package/Libraries/Components/ToastAndroid/ToastAndroid.android.js +4 -4
  181. package/Libraries/Components/ToastAndroid/ToastAndroid.ios.js +4 -4
  182. package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +4 -4
  183. package/Libraries/Components/Touchable/BoundingDimensions.js +3 -3
  184. package/Libraries/Components/Touchable/PooledClass.js +12 -12
  185. package/Libraries/Components/Touchable/Position.js +2 -2
  186. package/Libraries/Components/Touchable/Touchable.js +27 -40
  187. package/Libraries/Components/Touchable/TouchableBounce.js +3 -6
  188. package/Libraries/Components/Touchable/TouchableHighlight.js +3 -6
  189. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +5 -12
  190. package/Libraries/Components/Touchable/TouchableOpacity.js +3 -7
  191. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +3 -6
  192. package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +1 -1
  193. package/Libraries/Components/UnimplementedViews/UnimplementedView.js +1 -1
  194. package/Libraries/Components/View/ReactNativeStyleAttributes.js +1 -1
  195. package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -1
  196. package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +1 -1
  197. package/Libraries/Components/View/ReactNativeViewViewConfig.js +13 -2
  198. package/Libraries/Components/View/ReactNativeViewViewConfig.win32.js +13 -2
  199. package/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js +1 -1
  200. package/Libraries/Components/View/View.js +1 -1
  201. package/Libraries/Components/View/View.win32.js +2 -2
  202. package/Libraries/Components/View/ViewAccessibility.js +1 -1
  203. package/Libraries/Components/View/ViewNativeComponent.js +4 -5
  204. package/Libraries/Components/View/ViewPropTypes.js +38 -31
  205. package/Libraries/Components/View/ViewPropTypes.win32.js +38 -31
  206. package/Libraries/Core/Devtools/getDevServer.js +1 -1
  207. package/Libraries/Core/Devtools/openFileInEditor.js +1 -1
  208. package/Libraries/Core/Devtools/openURLInBrowser.js +1 -1
  209. package/Libraries/Core/Devtools/parseErrorStack.js +1 -1
  210. package/Libraries/Core/Devtools/parseHermesStack.js +3 -2
  211. package/Libraries/Core/Devtools/symbolicateStackTrace.js +1 -1
  212. package/Libraries/Core/ExceptionsManager.js +3 -3
  213. package/Libraries/Core/ExtendedError.js +1 -1
  214. package/Libraries/Core/InitializeCore.js +1 -3
  215. package/Libraries/Core/NativeExceptionsManager.js +3 -4
  216. package/Libraries/Core/ReactFiberErrorDialog.js +1 -1
  217. package/Libraries/Core/ReactNativeVersion.js +4 -4
  218. package/Libraries/Core/ReactNativeVersionCheck.js +12 -2
  219. package/Libraries/Core/ReactNativeVersionCheck.win32.js +12 -2
  220. package/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js +1 -1
  221. package/Libraries/Core/Timers/JSTimers.js +35 -42
  222. package/Libraries/Core/Timers/NativeTiming.js +1 -1
  223. package/Libraries/Core/Timers/immediateShim.js +1 -1
  224. package/Libraries/Core/Timers/queueMicrotask.js +1 -1
  225. package/Libraries/Core/__mocks__/ErrorUtils.js +1 -1
  226. package/Libraries/Core/checkNativeVersion.js +1 -1
  227. package/Libraries/Core/polyfillPromise.js +1 -1
  228. package/Libraries/Core/setUpAlert.js +2 -2
  229. package/Libraries/Core/setUpBatchedBridge.js +15 -3
  230. package/Libraries/Core/setUpDeveloperTools.js +2 -2
  231. package/Libraries/Core/setUpErrorHandling.js +2 -2
  232. package/Libraries/Core/setUpGlobals.js +1 -1
  233. package/Libraries/Core/setUpNavigator.js +1 -1
  234. package/Libraries/Core/setUpPerformance.js +2 -2
  235. package/Libraries/Core/setUpReactDevTools.js +1 -1
  236. package/Libraries/Core/setUpReactRefresh.js +1 -1
  237. package/Libraries/Core/setUpRegeneratorRuntime.js +2 -2
  238. package/Libraries/Core/setUpSegmentFetcher.js +5 -5
  239. package/Libraries/Core/setUpSystrace.js +1 -1
  240. package/Libraries/Core/setUpTimers.js +12 -2
  241. package/Libraries/Core/setUpXHR.js +1 -1
  242. package/Libraries/EventEmitter/NativeEventEmitter.js +3 -2
  243. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +1 -1
  244. package/Libraries/EventEmitter/RCTEventEmitter.js +1 -1
  245. package/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +1 -1
  246. package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +3 -2
  247. package/Libraries/HeapCapture/HeapCapture.js +2 -2
  248. package/Libraries/HeapCapture/NativeJSCHeapCapture.js +1 -1
  249. package/Libraries/Image/AssetRegistry.js +1 -1
  250. package/Libraries/Image/AssetSourceResolver.js +3 -5
  251. package/Libraries/Image/AssetUtils.js +1 -1
  252. package/Libraries/Image/Image.android.js +38 -30
  253. package/Libraries/Image/Image.ios.js +17 -20
  254. package/Libraries/Image/Image.win32.js +19 -22
  255. package/Libraries/Image/ImageAnalyticsTagContext.js +3 -4
  256. package/Libraries/Image/ImageBackground.js +11 -2
  257. package/Libraries/Image/ImageInjection.js +1 -1
  258. package/Libraries/Image/ImagePickerIOS.js +7 -7
  259. package/Libraries/Image/ImageProps.js +18 -18
  260. package/Libraries/Image/ImageResizeMode.js +1 -1
  261. package/Libraries/Image/ImageSource.js +1 -1
  262. package/Libraries/Image/ImageViewNativeComponent.js +96 -61
  263. package/Libraries/Image/NativeImageEditor.js +1 -1
  264. package/Libraries/Image/NativeImageLoaderAndroid.js +2 -4
  265. package/Libraries/Image/NativeImageLoaderIOS.js +1 -1
  266. package/Libraries/Image/NativeImageLoaderWin32.js +1 -1
  267. package/Libraries/Image/NativeImagePickerIOS.js +1 -1
  268. package/Libraries/Image/NativeImageStoreAndroid.js +1 -1
  269. package/Libraries/Image/NativeImageStoreIOS.js +1 -1
  270. package/Libraries/Image/RelativeImageStub.js +1 -1
  271. package/Libraries/Image/TextInlineImageNativeComponent.js +14 -74
  272. package/Libraries/Image/nativeImageSource.js +3 -3
  273. package/Libraries/Image/resolveAssetSource.js +1 -1
  274. package/Libraries/Image/resolveAssetSource.win32.js +1 -1
  275. package/Libraries/Inspector/BorderBox.js +1 -1
  276. package/Libraries/Inspector/BoxInspector.js +1 -1
  277. package/Libraries/Inspector/ElementBox.js +1 -1
  278. package/Libraries/Inspector/ElementProperties.js +1 -1
  279. package/Libraries/Inspector/Inspector.js +2 -2
  280. package/Libraries/Inspector/Inspector.win32.js +7 -7
  281. package/Libraries/Inspector/InspectorOverlay.js +1 -1
  282. package/Libraries/Inspector/InspectorOverlay.win32.js +1 -1
  283. package/Libraries/Inspector/InspectorPanel.js +1 -1
  284. package/Libraries/Inspector/NetworkOverlay.js +3 -6
  285. package/Libraries/Inspector/PerformanceOverlay.js +1 -1
  286. package/Libraries/Inspector/StyleInspector.js +1 -1
  287. package/Libraries/Inspector/resolveBoxStyle.js +1 -1
  288. package/Libraries/Interaction/Batchinator.js +1 -1
  289. package/Libraries/Interaction/BridgeSpyStallHandler.js +2 -2
  290. package/Libraries/Interaction/FrameRateLogger.js +3 -3
  291. package/Libraries/Interaction/InteractionManager.js +3 -5
  292. package/Libraries/Interaction/InteractionStallDebugger.js +1 -1
  293. package/Libraries/Interaction/JSEventLoopWatchdog.js +5 -5
  294. package/Libraries/Interaction/NativeFrameRateLogger.js +1 -1
  295. package/Libraries/Interaction/PanResponder.js +4 -5
  296. package/Libraries/Interaction/TaskQueue.js +1 -1
  297. package/Libraries/Interaction/TouchHistoryMath.js +8 -8
  298. package/Libraries/JSInspector/InspectorAgent.js +1 -1
  299. package/Libraries/JSInspector/JSInspector.js +1 -1
  300. package/Libraries/JSInspector/NetworkAgent.js +2 -7
  301. package/Libraries/LayoutAnimation/LayoutAnimation.js +4 -4
  302. package/Libraries/Linking/Linking.js +8 -8
  303. package/Libraries/Linking/NativeIntentAndroid.js +1 -1
  304. package/Libraries/Linking/NativeLinkingManager.js +1 -1
  305. package/Libraries/Lists/CellRenderMask.js +1 -1
  306. package/Libraries/Lists/FillRateHelper.js +5 -4
  307. package/Libraries/Lists/FlatList.js +4 -5
  308. package/Libraries/Lists/SectionList.js +4 -4
  309. package/Libraries/Lists/SectionListModern.js +4 -4
  310. package/Libraries/Lists/ViewabilityHelper.js +5 -11
  311. package/Libraries/Lists/VirtualizeUtils.js +3 -7
  312. package/Libraries/Lists/VirtualizedList.js +23 -33
  313. package/Libraries/Lists/VirtualizedListContext.js +3 -4
  314. package/Libraries/Lists/VirtualizedSectionList.js +54 -63
  315. package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +1 -1
  316. package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +1 -1
  317. package/Libraries/Lists/__tests__/CellRenderMask-test.js +1 -1
  318. package/Libraries/Lists/__tests__/{FillRateHelper-test.js → FillRateHelper-test.windows.js} +8 -8
  319. package/Libraries/Lists/__tests__/{FlatList-test.js → FlatList-test.windows.js} +3 -3
  320. package/Libraries/Lists/__tests__/{SectionList-test.js → SectionList-test.windows.js} +15 -15
  321. package/Libraries/Lists/__tests__/ViewabilityHelper-test.js +15 -15
  322. package/Libraries/Lists/__tests__/{VirtualizeUtils-test.js → VirtualizeUtils-test.windows.js} +19 -22
  323. package/Libraries/Lists/__tests__/{VirtualizedList-test.js → VirtualizedList-test.windows.js} +32 -32
  324. package/Libraries/Lists/__tests__/{VirtualizedSectionList-test.js → VirtualizedSectionList-test.windows.js} +15 -15
  325. package/Libraries/LogBox/Data/LogBoxData.js +2 -2
  326. package/Libraries/LogBox/Data/LogBoxLog.js +1 -1
  327. package/Libraries/LogBox/Data/LogBoxSymbolication.js +1 -1
  328. package/Libraries/LogBox/Data/parseLogBoxLog.js +13 -24
  329. package/Libraries/LogBox/LogBox.js +4 -4
  330. package/Libraries/LogBox/LogBoxInspectorContainer.js +1 -1
  331. package/Libraries/LogBox/LogBoxNotificationContainer.js +1 -1
  332. package/Libraries/LogBox/UI/AnsiHighlight.js +10 -5
  333. package/Libraries/LogBox/UI/LogBoxButton.js +1 -1
  334. package/Libraries/LogBox/UI/LogBoxInspector.js +4 -2
  335. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +1 -1
  336. package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +1 -1
  337. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +1 -1
  338. package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +1 -1
  339. package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +1 -1
  340. package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +2 -2
  341. package/Libraries/LogBox/UI/LogBoxInspectorSection.js +1 -1
  342. package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +1 -2
  343. package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +2 -2
  344. package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js +2 -2
  345. package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +4 -2
  346. package/Libraries/LogBox/UI/LogBoxMessage.js +7 -3
  347. package/Libraries/LogBox/UI/LogBoxNotification.js +7 -4
  348. package/Libraries/LogBox/UI/LogBoxStyle.js +1 -1
  349. package/Libraries/LogBox/UI/LogBoxStyle.win32.js +1 -1
  350. package/Libraries/Modal/Modal.js +15 -14
  351. package/Libraries/Modal/ModalInjection.js +1 -1
  352. package/Libraries/Modal/NativeModalManager.js +1 -1
  353. package/Libraries/Modal/RCTModalHostViewNativeComponent.js +12 -12
  354. package/Libraries/NativeComponent/NativeComponentRegistry.js +30 -33
  355. package/Libraries/NativeComponent/NativeComponentRegistryUnstable.js +27 -0
  356. package/Libraries/NativeComponent/StaticViewConfigValidator.js +198 -0
  357. package/Libraries/NativeComponent/ViewConfig.js +1 -1
  358. package/Libraries/NativeModules/specs/NativeAnimationsDebugModule.js +1 -1
  359. package/Libraries/NativeModules/specs/NativeDevMenu.js +1 -1
  360. package/Libraries/NativeModules/specs/NativeDevSettings.js +1 -1
  361. package/Libraries/NativeModules/specs/NativeDeviceEventManager.js +1 -1
  362. package/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js +1 -1
  363. package/Libraries/NativeModules/specs/NativeLogBox.js +1 -1
  364. package/Libraries/NativeModules/specs/NativeRedBox.js +1 -1
  365. package/Libraries/NativeModules/specs/NativeSourceCode.js +1 -1
  366. package/Libraries/Network/FormData.js +1 -1
  367. package/Libraries/Network/NativeNetworkingAndroid.js +1 -1
  368. package/Libraries/Network/NativeNetworkingIOS.js +1 -1
  369. package/Libraries/Network/RCTNetworking.android.js +1 -1
  370. package/Libraries/Network/RCTNetworking.ios.js +1 -1
  371. package/Libraries/Network/RCTNetworking.win32.js +2 -2
  372. package/Libraries/Network/XHRInterceptor.js +6 -7
  373. package/Libraries/Network/XMLHttpRequest.js +44 -8
  374. package/Libraries/Network/convertRequestBody.js +1 -1
  375. package/Libraries/Network/fetch.js +1 -1
  376. package/Libraries/NewAppScreen/components/Colors.js +1 -1
  377. package/Libraries/NewAppScreen/components/DebugInstructions.js +1 -1
  378. package/Libraries/NewAppScreen/components/Header.js +1 -1
  379. package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
  380. package/Libraries/NewAppScreen/components/LearnMoreLinks.js +1 -1
  381. package/Libraries/NewAppScreen/components/ReloadInstructions.js +1 -1
  382. package/Libraries/NewAppScreen/index.js +1 -1
  383. package/Libraries/Performance/NativeJSCSamplingProfiler.js +1 -1
  384. package/Libraries/Performance/PureComponentDebug.js +1 -1
  385. package/Libraries/Performance/QuickPerformanceLogger.js +18 -1
  386. package/Libraries/Performance/SamplingProfiler.js +4 -4
  387. package/Libraries/Performance/Systrace.js +9 -2
  388. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +7 -2
  389. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +20 -9
  390. package/Libraries/Pressability/HoverState.js +1 -1
  391. package/Libraries/Pressability/HoverState.win32.js +1 -1
  392. package/Libraries/Pressability/Pressability.js +3 -3
  393. package/Libraries/Pressability/Pressability.win32.js +14 -14
  394. package/Libraries/Pressability/PressabilityDebug.js +15 -12
  395. package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +5 -3
  396. package/Libraries/Pressability/PressabilityTypes.js +1 -1
  397. package/Libraries/Pressability/usePressability.js +1 -1
  398. package/Libraries/Promise.js +1 -1
  399. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +1 -1
  400. package/Libraries/PushNotificationIOS/PushNotificationIOS.js +33 -32
  401. package/Libraries/ReactNative/AppContainer.js +3 -3
  402. package/Libraries/ReactNative/AppRegistry.js +15 -13
  403. package/Libraries/ReactNative/DisplayMode.js +1 -1
  404. package/Libraries/ReactNative/DummyUIManager.js +13 -6
  405. package/Libraries/ReactNative/FabricUIManager.js +1 -1
  406. package/Libraries/ReactNative/HeadlessJsTaskError.js +1 -1
  407. package/Libraries/ReactNative/I18nManager.js +3 -6
  408. package/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js +1 -1
  409. package/Libraries/ReactNative/NativeI18nManager.js +1 -1
  410. package/Libraries/ReactNative/NativeUIManager.js +1 -1
  411. package/Libraries/ReactNative/PaperUIManager.js +3 -4
  412. package/Libraries/ReactNative/PaperUIManager.win32.js +8 -9
  413. package/Libraries/ReactNative/ReactFabricInternals.js +1 -1
  414. package/Libraries/ReactNative/RootTag.js +3 -4
  415. package/Libraries/ReactNative/UIManager.js +5 -7
  416. package/Libraries/ReactNative/UIManagerInjection.js +4 -2
  417. package/Libraries/ReactNative/UIManagerProperties.js +1 -1
  418. package/Libraries/ReactNative/getCachedComponentWithDebugName.js +4 -2
  419. package/Libraries/ReactNative/getNativeComponentAttributes.js +21 -9
  420. package/Libraries/ReactNative/renderApplication.js +1 -1
  421. package/Libraries/ReactNative/requireNativeComponent.js +1 -1
  422. package/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js +1 -1
  423. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +1 -1
  424. package/Libraries/Reliability/UserFlow.js +1 -1
  425. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +1134 -426
  426. package/Libraries/Renderer/implementations/ReactFabric-dev.js +1 -1
  427. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +265 -236
  428. package/Libraries/Renderer/implementations/ReactFabric-prod.js +1 -1
  429. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +538 -302
  430. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +1 -1
  431. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +1084 -463
  432. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +1 -1
  433. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +251 -224
  434. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +1 -1
  435. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +519 -281
  436. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +1 -1
  437. package/Libraries/Renderer/shims/ReactFabric.js +2 -2
  438. package/Libraries/Renderer/shims/ReactFeatureFlags.js +2 -2
  439. package/Libraries/Renderer/shims/ReactNative.js +2 -2
  440. package/Libraries/Renderer/shims/ReactNativeTypes.js +2 -2
  441. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +2 -4
  442. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -2
  443. package/Libraries/Settings/NativeSettingsManager.js +1 -1
  444. package/Libraries/Settings/Settings.android.js +1 -1
  445. package/Libraries/Settings/Settings.ios.js +1 -1
  446. package/Libraries/Share/NativeShareModule.js +1 -1
  447. package/Libraries/Share/Share.js +1 -1
  448. package/Libraries/Storage/AsyncStorage.js +34 -35
  449. package/Libraries/Storage/NativeAsyncLocalStorage.js +1 -1
  450. package/Libraries/Storage/NativeAsyncSQLiteDBStorage.js +1 -1
  451. package/Libraries/StyleSheet/EdgeInsetsPropType.js +1 -1
  452. package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +1 -1
  453. package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +1 -1
  454. package/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js +1 -1
  455. package/Libraries/StyleSheet/PlatformColorValueTypesIOS.js +1 -1
  456. package/Libraries/StyleSheet/PointPropType.js +1 -1
  457. package/Libraries/StyleSheet/Rect.js +1 -1
  458. package/Libraries/StyleSheet/StyleSheet.js +3 -2
  459. package/Libraries/StyleSheet/StyleSheet.win32.js +3 -2
  460. package/Libraries/StyleSheet/StyleSheetTypes.js +2 -2
  461. package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +1 -1
  462. package/Libraries/StyleSheet/flattenStyle.js +1 -1
  463. package/Libraries/StyleSheet/normalizeColor.js +1 -1
  464. package/Libraries/StyleSheet/processColor.js +3 -3
  465. package/Libraries/StyleSheet/processColorArray.js +1 -1
  466. package/Libraries/StyleSheet/processTransform.js +21 -2
  467. package/Libraries/StyleSheet/setNormalizedColorAlpha.js +1 -1
  468. package/Libraries/StyleSheet/splitLayoutProps.js +2 -4
  469. package/Libraries/Text/Text.js +11 -12
  470. package/Libraries/Text/TextAncestor.js +1 -1
  471. package/Libraries/Text/TextNativeComponent.js +10 -8
  472. package/Libraries/Text/TextNativeComponent.win32.js +9 -7
  473. package/Libraries/Text/TextProps.js +19 -19
  474. package/Libraries/TurboModule/RCTExport.js +1 -1
  475. package/Libraries/TurboModule/TurboModuleRegistry.js +1 -1
  476. package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +1 -1
  477. package/Libraries/Types/CodegenTypes.js +1 -1
  478. package/Libraries/Types/CoreEventTypes.js +1 -1
  479. package/Libraries/Types/CoreEventTypes.win32.js +1 -1
  480. package/Libraries/Types/RootTagTypes.js +1 -1
  481. package/Libraries/UTFSequence.js +1 -1
  482. package/Libraries/Utilities/Appearance.js +7 -6
  483. package/Libraries/Utilities/BackHandler.android.js +5 -5
  484. package/Libraries/Utilities/BackHandler.ios.js +1 -1
  485. package/Libraries/Utilities/BackHandler.win32.js +5 -5
  486. package/Libraries/Utilities/DebugEnvironment.js +1 -1
  487. package/Libraries/Utilities/DevSettings.js +1 -1
  488. package/Libraries/Utilities/DeviceInfo.js +1 -1
  489. package/Libraries/Utilities/Dimensions.js +1 -1
  490. package/Libraries/Utilities/FeatureDetection.js +1 -1
  491. package/Libraries/Utilities/GlobalPerformanceLogger.js +1 -1
  492. package/Libraries/Utilities/HMRClient.js +3 -3
  493. package/Libraries/Utilities/HMRClientProdShim.js +1 -1
  494. package/Libraries/Utilities/JSDevSupportModule.js +4 -5
  495. package/Libraries/Utilities/LoadingView.android.js +1 -1
  496. package/Libraries/Utilities/LoadingView.ios.js +1 -1
  497. package/Libraries/Utilities/LoadingView.js +1 -1
  498. package/Libraries/Utilities/MatrixMath.js +20 -20
  499. package/Libraries/Utilities/NativeAppearance.js +1 -1
  500. package/Libraries/Utilities/NativeDevLoadingView.js +1 -1
  501. package/Libraries/Utilities/NativeDevSplitBundleLoader.js +1 -1
  502. package/Libraries/Utilities/NativeDeviceInfo.js +1 -1
  503. package/Libraries/Utilities/NativeJSDevSupport.js +1 -1
  504. package/Libraries/Utilities/NativePlatformConstantsAndroid.js +1 -1
  505. package/Libraries/Utilities/NativePlatformConstantsIOS.js +1 -1
  506. package/Libraries/Utilities/PerformanceLoggerContext.js +3 -4
  507. package/Libraries/Utilities/PixelRatio.js +1 -1
  508. package/Libraries/Utilities/Platform.android.js +1 -1
  509. package/Libraries/Utilities/Platform.ios.js +1 -1
  510. package/Libraries/Utilities/PolyfillFunctions.js +1 -1
  511. package/Libraries/Utilities/RCTLog.js +1 -1
  512. package/Libraries/Utilities/ReactNativeTestTools.js +8 -12
  513. package/Libraries/Utilities/SceneTracker.js +5 -4
  514. package/Libraries/Utilities/__mocks__/BackHandler.js +4 -4
  515. package/Libraries/Utilities/__mocks__/GlobalPerformanceLogger.js +1 -1
  516. package/Libraries/Utilities/__mocks__/PixelRatio.js +1 -1
  517. package/Libraries/Utilities/binaryToBase64.js +1 -1
  518. package/Libraries/Utilities/buildStyleInterpolator.js +10 -10
  519. package/Libraries/Utilities/clamp.js +1 -1
  520. package/Libraries/Utilities/codegenNativeCommands.js +1 -1
  521. package/Libraries/Utilities/codegenNativeComponent.js +4 -3
  522. package/Libraries/Utilities/createPerformanceLogger.js +1 -1
  523. package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +3 -3
  524. package/Libraries/Utilities/defineLazyObjectProperty.js +1 -1
  525. package/Libraries/Utilities/deprecatedPropType.js +1 -1
  526. package/Libraries/Utilities/differ/deepDiffer.js +2 -2
  527. package/Libraries/Utilities/differ/insetsDiffer.js +2 -2
  528. package/Libraries/Utilities/differ/matricesDiffer.js +6 -2
  529. package/Libraries/Utilities/differ/pointsDiffer.js +2 -2
  530. package/Libraries/Utilities/differ/sizesDiffer.js +11 -5
  531. package/Libraries/Utilities/dismissKeyboard.js +1 -1
  532. package/Libraries/Utilities/groupByEveryN.js +1 -1
  533. package/Libraries/Utilities/infoLog.js +1 -1
  534. package/Libraries/Utilities/logError.js +2 -2
  535. package/Libraries/Utilities/mapWithSeparator.js +1 -1
  536. package/Libraries/Utilities/mergeIntoFast.js +2 -2
  537. package/Libraries/Utilities/setAndForwardRef.js +1 -1
  538. package/Libraries/Utilities/stringifySafe.js +1 -1
  539. package/Libraries/Utilities/truncate.js +2 -2
  540. package/Libraries/Utilities/useColorScheme.js +1 -1
  541. package/Libraries/Utilities/useMergeRefs.js +1 -1
  542. package/Libraries/Utilities/useRefEffect.js +1 -1
  543. package/Libraries/Utilities/useWindowDimensions.js +6 -2
  544. package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +4 -2
  545. package/Libraries/Utilities/warnOnce.js +1 -1
  546. package/Libraries/Vibration/NativeVibration.js +1 -1
  547. package/Libraries/Vibration/Vibration.js +6 -6
  548. package/Libraries/WebSocket/NativeWebSocketModule.js +1 -1
  549. package/Libraries/WebSocket/WebSocket.js +1 -1
  550. package/Libraries/WebSocket/WebSocketEvent.js +1 -1
  551. package/Libraries/WebSocket/WebSocketInterceptor.js +7 -7
  552. package/Libraries/WebSocket/__mocks__/event-target-shim.js +1 -1
  553. package/Libraries/YellowBox/YellowBoxDeprecated.js +1 -1
  554. package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +1 -1
  555. package/Libraries/promiseRejectionTrackingOptions.js +2 -2
  556. package/Libraries/vendor/core/ErrorUtils.js +1 -1
  557. package/Libraries/vendor/emitter/EventEmitter.js +1 -1
  558. package/Libraries/vendor/emitter/EventSubscription.js +1 -1
  559. package/Libraries/vendor/emitter/_EmitterSubscription.js +3 -2
  560. package/Libraries/vendor/emitter/_EventEmitter.js +3 -2
  561. package/Libraries/vendor/emitter/_EventSubscription.js +3 -2
  562. package/Libraries/vendor/emitter/_EventSubscriptionVendor.js +2 -2
  563. package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +1 -1
  564. package/flow/HermesInternalType.js +1 -1
  565. package/flow/Position.js +1 -1
  566. package/flow/Promise.js +1 -1
  567. package/flow/Stringish.js +1 -1
  568. package/flow/console.js +1 -1
  569. package/flow/global.js +2 -6
  570. package/flow/jest.js +1 -1
  571. package/flow/use-subscription.js +1 -1
  572. package/flow-typed/npm/glob_v7.x.x.js +79 -0
  573. package/index.js +26 -17
  574. package/index.win32.js +26 -20
  575. package/interface.js +1 -1
  576. package/jest/MockNativeMethods.js +1 -1
  577. package/jest/assetFileTransformer.js +3 -3
  578. package/jest/mockComponent.js +1 -1
  579. package/jest/mockModal.js +3 -3
  580. package/jest/mockNativeComponent.js +5 -1
  581. package/jest/mockScrollView.js +1 -1
  582. package/jest/preprocessor.js +3 -3
  583. package/jest/renderer.js +1 -1
  584. package/jest/setup.js +5 -4
  585. package/overrides.json +68 -68
  586. package/package.json +27 -25
  587. package/rn-get-polyfills.js +1 -1
  588. package/rntypes/globals.d.ts +6 -5
  589. package/rntypes/index.d.ts +89 -312
  590. package/rntypes/legacy-properties.d.ts +0 -28
  591. package/src/rntypes/globals.d.ts +6 -5
  592. package/src/rntypes/index.d.ts +89 -312
  593. package/src/rntypes/legacy-properties.d.ts +0 -28
  594. package/Libraries/Components/TextInput/AndroidTextInputViewConfig.js +0 -116
  595. package/Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js +0 -76
  596. package/Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js +0 -28
  597. package/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.android.js +0 -131
  598. package/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.ios.js +0 -82
  599. package/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.win32.js +0 -82
  600. package/Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js +0 -40
  601. package/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes.js +0 -76
  602. package/Libraries/DeprecatedPropTypes/DeprecatedLayoutPropTypes.js +0 -233
  603. package/Libraries/DeprecatedPropTypes/DeprecatedPointPropType.js +0 -24
  604. package/Libraries/DeprecatedPropTypes/DeprecatedShadowPropTypesIOS.js +0 -30
  605. package/Libraries/DeprecatedPropTypes/DeprecatedStyleSheetPropType.js +0 -32
  606. package/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js +0 -622
  607. package/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js +0 -158
  608. package/Libraries/DeprecatedPropTypes/DeprecatedTextStylePropTypes.js +0 -157
  609. package/Libraries/DeprecatedPropTypes/DeprecatedTransformPropTypes.js +0 -99
  610. package/Libraries/DeprecatedPropTypes/DeprecatedViewAccessibility.js +0 -46
  611. package/Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes.js +0 -408
  612. package/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js +0 -68
  613. package/Libraries/DeprecatedPropTypes/deprecatedCreateStrictShapeTypeChecker.js +0 -86
  614. package/flow-typed/npm/prop-types_v15.x.x.js +0 -42
  615. package/src/Libraries/Lists/__tests__/__snapshots__/FlatList-test.js.snap +0 -427
  616. package/src/Libraries/Lists/__tests__/__snapshots__/SectionList-test.js.snap +0 -391
  617. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizeUtils-test.js.snap +0 -3
  618. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap +0 -4634
  619. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap +0 -1153
@@ -7,7 +7,7 @@
7
7
  * @noflow
8
8
  * @nolint
9
9
  * @preventMunge
10
- * @generated SignedSource<<0641813b146d4710c4029f156d65891e>>
10
+ * @generated SignedSource<<d101378706adbbc7947ba5d167b46aab>>
11
11
  */
12
12
 
13
13
  "use strict";
@@ -927,7 +927,7 @@ eventPluginOrder = Array.prototype.slice.call([
927
927
  "ReactNativeBridgeEventPlugin"
928
928
  ]);
929
929
  recomputePluginOrdering();
930
- var injectedNamesToPlugins$jscomp$inline_219 = {
930
+ var injectedNamesToPlugins$jscomp$inline_220 = {
931
931
  ResponderEventPlugin: ResponderEventPlugin,
932
932
  ReactNativeBridgeEventPlugin: {
933
933
  eventTypes: {},
@@ -962,33 +962,33 @@ var injectedNamesToPlugins$jscomp$inline_219 = {
962
962
  }
963
963
  }
964
964
  },
965
- isOrderingDirty$jscomp$inline_220 = !1,
966
- pluginName$jscomp$inline_221;
967
- for (pluginName$jscomp$inline_221 in injectedNamesToPlugins$jscomp$inline_219)
965
+ isOrderingDirty$jscomp$inline_221 = !1,
966
+ pluginName$jscomp$inline_222;
967
+ for (pluginName$jscomp$inline_222 in injectedNamesToPlugins$jscomp$inline_220)
968
968
  if (
969
- injectedNamesToPlugins$jscomp$inline_219.hasOwnProperty(
970
- pluginName$jscomp$inline_221
969
+ injectedNamesToPlugins$jscomp$inline_220.hasOwnProperty(
970
+ pluginName$jscomp$inline_222
971
971
  )
972
972
  ) {
973
- var pluginModule$jscomp$inline_222 =
974
- injectedNamesToPlugins$jscomp$inline_219[pluginName$jscomp$inline_221];
973
+ var pluginModule$jscomp$inline_223 =
974
+ injectedNamesToPlugins$jscomp$inline_220[pluginName$jscomp$inline_222];
975
975
  if (
976
- !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_221) ||
977
- namesToPlugins[pluginName$jscomp$inline_221] !==
978
- pluginModule$jscomp$inline_222
976
+ !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_222) ||
977
+ namesToPlugins[pluginName$jscomp$inline_222] !==
978
+ pluginModule$jscomp$inline_223
979
979
  ) {
980
- if (namesToPlugins[pluginName$jscomp$inline_221])
980
+ if (namesToPlugins[pluginName$jscomp$inline_222])
981
981
  throw Error(
982
982
  "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
983
- (pluginName$jscomp$inline_221 + "`.")
983
+ (pluginName$jscomp$inline_222 + "`.")
984
984
  );
985
985
  namesToPlugins[
986
- pluginName$jscomp$inline_221
987
- ] = pluginModule$jscomp$inline_222;
988
- isOrderingDirty$jscomp$inline_220 = !0;
986
+ pluginName$jscomp$inline_222
987
+ ] = pluginModule$jscomp$inline_223;
988
+ isOrderingDirty$jscomp$inline_221 = !0;
989
989
  }
990
990
  }
991
- isOrderingDirty$jscomp$inline_220 && recomputePluginOrdering();
991
+ isOrderingDirty$jscomp$inline_221 && recomputePluginOrdering();
992
992
  function getInstanceFromInstance(instanceHandle) {
993
993
  return instanceHandle;
994
994
  }
@@ -1619,6 +1619,19 @@ function onCommitRoot(root) {
1619
1619
  );
1620
1620
  } catch (err) {}
1621
1621
  }
1622
+ function injectProfilingHooks() {}
1623
+ function getLaneLabelMap() {
1624
+ for (var map = new Map(), lane = 1, index$3 = 0; 31 > index$3; index$3++)
1625
+ map.set(lane, void 0), (lane *= 2);
1626
+ return map;
1627
+ }
1628
+ var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
1629
+ log = Math.log,
1630
+ LN2 = Math.LN2;
1631
+ function clz32Fallback(x) {
1632
+ x >>>= 0;
1633
+ return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;
1634
+ }
1622
1635
  var nextTransitionLane = 64,
1623
1636
  nextRetryLane = 4194304;
1624
1637
  function getHighestPriorityLanes(lanes) {
@@ -1784,30 +1797,24 @@ function markRootFinished(root, remainingLanes) {
1784
1797
  remainingLanes = root.entanglements;
1785
1798
  var eventTimes = root.eventTimes;
1786
1799
  for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {
1787
- var index$7 = 31 - clz32(noLongerPendingLanes),
1788
- lane = 1 << index$7;
1789
- remainingLanes[index$7] = 0;
1790
- eventTimes[index$7] = -1;
1791
- root[index$7] = -1;
1800
+ var index$8 = 31 - clz32(noLongerPendingLanes),
1801
+ lane = 1 << index$8;
1802
+ remainingLanes[index$8] = 0;
1803
+ eventTimes[index$8] = -1;
1804
+ root[index$8] = -1;
1792
1805
  noLongerPendingLanes &= ~lane;
1793
1806
  }
1794
1807
  }
1795
1808
  function markRootEntangled(root, entangledLanes) {
1796
1809
  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
1797
1810
  for (root = root.entanglements; rootEntangledLanes; ) {
1798
- var index$8 = 31 - clz32(rootEntangledLanes),
1799
- lane = 1 << index$8;
1800
- (lane & entangledLanes) | (root[index$8] & entangledLanes) &&
1801
- (root[index$8] |= entangledLanes);
1811
+ var index$9 = 31 - clz32(rootEntangledLanes),
1812
+ lane = 1 << index$9;
1813
+ (lane & entangledLanes) | (root[index$9] & entangledLanes) &&
1814
+ (root[index$9] |= entangledLanes);
1802
1815
  rootEntangledLanes &= ~lane;
1803
1816
  }
1804
1817
  }
1805
- var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,
1806
- log = Math.log,
1807
- LN2 = Math.LN2;
1808
- function clz32Fallback(lanes) {
1809
- return 0 === lanes ? 32 : (31 - ((log(lanes) / LN2) | 0)) | 0;
1810
- }
1811
1818
  var currentUpdatePriority = 0;
1812
1819
  function lanesToEventPriority(lanes) {
1813
1820
  lanes &= -lanes;
@@ -1819,11 +1826,6 @@ function lanesToEventPriority(lanes) {
1819
1826
  : 4
1820
1827
  : 1;
1821
1828
  }
1822
- function shim() {
1823
- throw Error(
1824
- "The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
1825
- );
1826
- }
1827
1829
  function shim$1() {
1828
1830
  throw Error(
1829
1831
  "The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue."
@@ -2128,12 +2130,14 @@ function shallowEqual(objA, objB) {
2128
2130
  var keysA = Object.keys(objA),
2129
2131
  keysB = Object.keys(objB);
2130
2132
  if (keysA.length !== keysB.length) return !1;
2131
- for (keysB = 0; keysB < keysA.length; keysB++)
2133
+ for (keysB = 0; keysB < keysA.length; keysB++) {
2134
+ var currentKey = keysA[keysB];
2132
2135
  if (
2133
- !hasOwnProperty.call(objB, keysA[keysB]) ||
2134
- !objectIs(objA[keysA[keysB]], objB[keysA[keysB]])
2136
+ !hasOwnProperty.call(objB, currentKey) ||
2137
+ !objectIs(objA[currentKey], objB[currentKey])
2135
2138
  )
2136
2139
  return !1;
2140
+ }
2137
2141
  return !0;
2138
2142
  }
2139
2143
  function describeFiber(fiber) {
@@ -2631,6 +2635,26 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) {
2631
2635
  "function" === typeof instance.componentDidMount &&
2632
2636
  (workInProgress.flags |= 4);
2633
2637
  }
2638
+ var forkStack = [],
2639
+ forkStackIndex = 0,
2640
+ treeForkProvider = null,
2641
+ idStack = [],
2642
+ idStackIndex = 0,
2643
+ treeContextProvider = null;
2644
+ function popTreeContext(workInProgress) {
2645
+ for (; workInProgress === treeForkProvider; )
2646
+ (treeForkProvider = forkStack[--forkStackIndex]),
2647
+ (forkStack[forkStackIndex] = null),
2648
+ --forkStackIndex,
2649
+ (forkStack[forkStackIndex] = null);
2650
+ for (; workInProgress === treeContextProvider; )
2651
+ (treeContextProvider = idStack[--idStackIndex]),
2652
+ (idStack[idStackIndex] = null),
2653
+ --idStackIndex,
2654
+ (idStack[idStackIndex] = null),
2655
+ --idStackIndex,
2656
+ (idStack[idStackIndex] = null);
2657
+ }
2634
2658
  function coerceRef(returnFiber, current, element) {
2635
2659
  returnFiber = element.ref;
2636
2660
  if (
@@ -2725,7 +2749,8 @@ function ChildReconciler(shouldTrackSideEffects) {
2725
2749
  }
2726
2750
  function placeChild(newFiber, lastPlacedIndex, newIndex) {
2727
2751
  newFiber.index = newIndex;
2728
- if (!shouldTrackSideEffects) return lastPlacedIndex;
2752
+ if (!shouldTrackSideEffects)
2753
+ return (newFiber.flags |= 1048576), lastPlacedIndex;
2729
2754
  newIndex = newFiber.alternate;
2730
2755
  if (null !== newIndex)
2731
2756
  return (
@@ -2816,7 +2841,10 @@ function ChildReconciler(shouldTrackSideEffects) {
2816
2841
  return current;
2817
2842
  }
2818
2843
  function createChild(returnFiber, newChild, lanes) {
2819
- if ("string" === typeof newChild || "number" === typeof newChild)
2844
+ if (
2845
+ ("string" === typeof newChild && "" !== newChild) ||
2846
+ "number" === typeof newChild
2847
+ )
2820
2848
  return (
2821
2849
  (newChild = createFiberFromText(
2822
2850
  "" + newChild,
@@ -2870,7 +2898,10 @@ function ChildReconciler(shouldTrackSideEffects) {
2870
2898
  }
2871
2899
  function updateSlot(returnFiber, oldFiber, newChild, lanes) {
2872
2900
  var key = null !== oldFiber ? oldFiber.key : null;
2873
- if ("string" === typeof newChild || "number" === typeof newChild)
2901
+ if (
2902
+ ("string" === typeof newChild && "" !== newChild) ||
2903
+ "number" === typeof newChild
2904
+ )
2874
2905
  return null !== key
2875
2906
  ? null
2876
2907
  : updateTextNode(returnFiber, oldFiber, "" + newChild, lanes);
@@ -2900,7 +2931,10 @@ function ChildReconciler(shouldTrackSideEffects) {
2900
2931
  newChild,
2901
2932
  lanes
2902
2933
  ) {
2903
- if ("string" === typeof newChild || "number" === typeof newChild)
2934
+ if (
2935
+ ("string" === typeof newChild && "" !== newChild) ||
2936
+ "number" === typeof newChild
2937
+ )
2904
2938
  return (
2905
2939
  (existingChildren = existingChildren.get(newIdx) || null),
2906
2940
  updateTextNode(returnFiber, existingChildren, "" + newChild, lanes)
@@ -3226,7 +3260,8 @@ function ChildReconciler(shouldTrackSideEffects) {
3226
3260
  );
3227
3261
  throwOnInvalidObjectType(returnFiber, newChild);
3228
3262
  }
3229
- return "string" === typeof newChild || "number" === typeof newChild
3263
+ return ("string" === typeof newChild && "" !== newChild) ||
3264
+ "number" === typeof newChild
3230
3265
  ? ((newChild = "" + newChild),
3231
3266
  null !== currentFirstChild && 6 === currentFirstChild.tag
3232
3267
  ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),
@@ -3329,7 +3364,8 @@ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,
3329
3364
  currentHook = null,
3330
3365
  workInProgressHook = null,
3331
3366
  didScheduleRenderPhaseUpdate = !1,
3332
- didScheduleRenderPhaseUpdateDuringThisPass = !1;
3367
+ didScheduleRenderPhaseUpdateDuringThisPass = !1,
3368
+ globalClientIdCounter = 0;
3333
3369
  function throwInvalidHookError() {
3334
3370
  throw Error(
3335
3371
  "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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."
@@ -3752,7 +3788,7 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
3752
3788
  hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);
3753
3789
  }
3754
3790
  function mountEffect(create, deps) {
3755
- return mountEffectImpl(4196352, 8, create, deps);
3791
+ return mountEffectImpl(8390656, 8, create, deps);
3756
3792
  }
3757
3793
  function updateEffect(create, deps) {
3758
3794
  return updateEffectImpl(2048, 8, create, deps);
@@ -3832,6 +3868,9 @@ function startTransition(setPending, callback) {
3832
3868
  (ReactCurrentBatchConfig$1.transition = prevTransition);
3833
3869
  }
3834
3870
  }
3871
+ function updateId() {
3872
+ return updateWorkInProgressHook().memoizedState;
3873
+ }
3835
3874
  function dispatchReducerAction(fiber, queue, action) {
3836
3875
  var lane = requestUpdateLane(fiber);
3837
3876
  action = {
@@ -3939,7 +3978,7 @@ var ContextOnlyDispatcher = {
3939
3978
  useTransition: throwInvalidHookError,
3940
3979
  useMutableSource: throwInvalidHookError,
3941
3980
  useSyncExternalStore: throwInvalidHookError,
3942
- useOpaqueIdentifier: throwInvalidHookError,
3981
+ useId: throwInvalidHookError,
3943
3982
  unstable_isNewReconciler: !1
3944
3983
  },
3945
3984
  HooksDispatcherOnMount = {
@@ -4037,8 +4076,12 @@ var ContextOnlyDispatcher = {
4037
4076
  return useMutableSource(hook, source, getSnapshot, subscribe);
4038
4077
  },
4039
4078
  useSyncExternalStore: mountSyncExternalStore,
4040
- useOpaqueIdentifier: function() {
4041
- throw Error("Not yet implemented");
4079
+ useId: function() {
4080
+ var hook = mountWorkInProgressHook(),
4081
+ identifierPrefix = workInProgressRoot.identifierPrefix,
4082
+ globalClientId = globalClientIdCounter++;
4083
+ identifierPrefix = identifierPrefix + "r:" + globalClientId.toString(32);
4084
+ return (hook.memoizedState = identifierPrefix);
4042
4085
  },
4043
4086
  unstable_isNewReconciler: !1
4044
4087
  },
@@ -4121,9 +4164,7 @@ var ContextOnlyDispatcher = {
4121
4164
  }
4122
4165
  return nextSnapshot;
4123
4166
  },
4124
- useOpaqueIdentifier: function() {
4125
- return updateReducer(basicStateReducer)[0];
4126
- },
4167
+ useId: updateId,
4127
4168
  unstable_isNewReconciler: !1
4128
4169
  },
4129
4170
  HooksDispatcherOnRerender = {
@@ -4166,9 +4207,7 @@ var ContextOnlyDispatcher = {
4166
4207
  },
4167
4208
  useMutableSource: updateMutableSource,
4168
4209
  useSyncExternalStore: mountSyncExternalStore,
4169
- useOpaqueIdentifier: function() {
4170
- return rerenderReducer(basicStateReducer)[0];
4171
- },
4210
+ useId: updateId,
4172
4211
  unstable_isNewReconciler: !1
4173
4212
  };
4174
4213
  function createCapturedValue(value, source) {
@@ -4415,14 +4454,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
4415
4454
  break;
4416
4455
  case "collapsed":
4417
4456
  lastTailNode = renderState.tail;
4418
- for (var lastTailNode$35 = null; null !== lastTailNode; )
4419
- null !== lastTailNode.alternate && (lastTailNode$35 = lastTailNode),
4457
+ for (var lastTailNode$36 = null; null !== lastTailNode; )
4458
+ null !== lastTailNode.alternate && (lastTailNode$36 = lastTailNode),
4420
4459
  (lastTailNode = lastTailNode.sibling);
4421
- null === lastTailNode$35
4460
+ null === lastTailNode$36
4422
4461
  ? hasRenderedATailFallback || null === renderState.tail
4423
4462
  ? (renderState.tail = null)
4424
4463
  : (renderState.tail.sibling = null)
4425
- : (lastTailNode$35.sibling = null);
4464
+ : (lastTailNode$36.sibling = null);
4426
4465
  }
4427
4466
  }
4428
4467
  function bubbleProperties(completedWork) {
@@ -4432,19 +4471,19 @@ function bubbleProperties(completedWork) {
4432
4471
  newChildLanes = 0,
4433
4472
  subtreeFlags = 0;
4434
4473
  if (didBailout)
4435
- for (var child$36 = completedWork.child; null !== child$36; )
4436
- (newChildLanes |= child$36.lanes | child$36.childLanes),
4437
- (subtreeFlags |= child$36.subtreeFlags & 7340032),
4438
- (subtreeFlags |= child$36.flags & 7340032),
4439
- (child$36.return = completedWork),
4440
- (child$36 = child$36.sibling);
4474
+ for (var child$37 = completedWork.child; null !== child$37; )
4475
+ (newChildLanes |= child$37.lanes | child$37.childLanes),
4476
+ (subtreeFlags |= child$37.subtreeFlags & 14680064),
4477
+ (subtreeFlags |= child$37.flags & 14680064),
4478
+ (child$37.return = completedWork),
4479
+ (child$37 = child$37.sibling);
4441
4480
  else
4442
- for (child$36 = completedWork.child; null !== child$36; )
4443
- (newChildLanes |= child$36.lanes | child$36.childLanes),
4444
- (subtreeFlags |= child$36.subtreeFlags),
4445
- (subtreeFlags |= child$36.flags),
4446
- (child$36.return = completedWork),
4447
- (child$36 = child$36.sibling);
4481
+ for (child$37 = completedWork.child; null !== child$37; )
4482
+ (newChildLanes |= child$37.lanes | child$37.childLanes),
4483
+ (subtreeFlags |= child$37.subtreeFlags),
4484
+ (subtreeFlags |= child$37.flags),
4485
+ (child$37.return = completedWork),
4486
+ (child$37 = child$37.sibling);
4448
4487
  completedWork.subtreeFlags |= subtreeFlags;
4449
4488
  completedWork.childLanes = newChildLanes;
4450
4489
  return didBailout;
@@ -4476,6 +4515,7 @@ function completeSuspendedOffscreenHostContainer(current, workInProgress) {
4476
4515
  }
4477
4516
  function completeWork(current, workInProgress, renderLanes) {
4478
4517
  var newProps = workInProgress.pendingProps;
4518
+ popTreeContext(workInProgress);
4479
4519
  switch (workInProgress.tag) {
4480
4520
  case 2:
4481
4521
  case 16:
@@ -4583,11 +4623,7 @@ function completeWork(current, workInProgress, renderLanes) {
4583
4623
  !renderLanes &&
4584
4624
  ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1))
4585
4625
  )
4586
- if (
4587
- (null === current &&
4588
- !0 !== workInProgress.memoizedProps.unstable_avoidThisFallback) ||
4589
- 0 !== (suspenseStackCursor.current & 1)
4590
- )
4626
+ if (null === current || 0 !== (suspenseStackCursor.current & 1))
4591
4627
  0 === workInProgressRootExitStatus &&
4592
4628
  (workInProgressRootExitStatus = 3);
4593
4629
  else {
@@ -4599,7 +4635,7 @@ function completeWork(current, workInProgress, renderLanes) {
4599
4635
  workInProgressRootExitStatus = 4;
4600
4636
  null === workInProgressRoot ||
4601
4637
  (0 === (workInProgressRootSkippedLanes & 268435455) &&
4602
- 0 === (workInProgressRootUpdatedLanes & 268435455)) ||
4638
+ 0 === (workInProgressRootInterleavedUpdatedLanes & 268435455)) ||
4603
4639
  markRootSuspended$1(
4604
4640
  workInProgressRoot,
4605
4641
  workInProgressRootRenderLanes
@@ -4654,7 +4690,7 @@ function completeWork(current, workInProgress, renderLanes) {
4654
4690
  for (newProps = workInProgress.child; null !== newProps; )
4655
4691
  (renderLanes = newProps),
4656
4692
  (type = current),
4657
- (renderLanes.flags &= 7340034),
4693
+ (renderLanes.flags &= 14680066),
4658
4694
  (renderedTail = renderLanes.alternate),
4659
4695
  null === renderedTail
4660
4696
  ? ((renderLanes.childLanes = 0),
@@ -5270,7 +5306,7 @@ function pushHostRootContext(workInProgress) {
5270
5306
  pushTopLevelContextObject(workInProgress, root.context, !1);
5271
5307
  pushHostContainer(workInProgress, root.containerInfo);
5272
5308
  }
5273
- var SUSPENDED_MARKER = { dehydrated: null, retryLane: 0 };
5309
+ var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 };
5274
5310
  function mountSuspenseOffscreenState(renderLanes) {
5275
5311
  return { baseLanes: renderLanes, cachePool: null };
5276
5312
  }
@@ -5284,11 +5320,9 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
5284
5320
  null !== current && null === current.memoizedState
5285
5321
  ? !1
5286
5322
  : 0 !== (suspenseContext & 2));
5287
- JSCompiler_temp
5288
- ? ((showFallback = !0), (workInProgress.flags &= -129))
5289
- : (null !== current && null === current.memoizedState) ||
5290
- !0 === nextProps.unstable_avoidThisFallback ||
5291
- (suspenseContext |= 1);
5323
+ if (JSCompiler_temp) (showFallback = !0), (workInProgress.flags &= -129);
5324
+ else if (null === current || null !== current.memoizedState)
5325
+ suspenseContext |= 1;
5292
5326
  push(suspenseStackCursor, suspenseContext & 1);
5293
5327
  if (null === current) {
5294
5328
  current = nextProps.children;
@@ -5495,7 +5529,7 @@ function updateSuspenseFallbackChildren(
5495
5529
  primaryChildren
5496
5530
  ))),
5497
5531
  (current.subtreeFlags =
5498
- currentPrimaryChildFragment.subtreeFlags & 7340032));
5532
+ currentPrimaryChildFragment.subtreeFlags & 14680064));
5499
5533
  null !== currentFallbackChildFragment
5500
5534
  ? (fallbackChildren = createWorkInProgress(
5501
5535
  currentFallbackChildFragment,
@@ -5719,6 +5753,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
5719
5753
  return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);
5720
5754
  }
5721
5755
  function unwindWork(workInProgress) {
5756
+ popTreeContext(workInProgress);
5722
5757
  switch (workInProgress.tag) {
5723
5758
  case 1:
5724
5759
  isContextProvider(workInProgress.type) && popContext();
@@ -5776,6 +5811,13 @@ function safelyDetachRef(current, nearestMountedAncestor) {
5776
5811
  }
5777
5812
  else ref.current = null;
5778
5813
  }
5814
+ function safelyCallDestroy(current, nearestMountedAncestor, destroy) {
5815
+ try {
5816
+ destroy();
5817
+ } catch (error) {
5818
+ captureCommitPhaseError(current, nearestMountedAncestor, error);
5819
+ }
5820
+ }
5779
5821
  var shouldFireAfterActiveInstanceBlur = !1;
5780
5822
  function commitBeforeMutationEffects(root, firstChild) {
5781
5823
  for (nextEffect = firstChild; null !== nextEffect; )
@@ -5840,7 +5882,7 @@ function commitBeforeMutationEffects(root, firstChild) {
5840
5882
  function commitHookEffectListUnmount(
5841
5883
  flags,
5842
5884
  finishedWork,
5843
- nearestMountedAncestor$jscomp$0
5885
+ nearestMountedAncestor
5844
5886
  ) {
5845
5887
  var updateQueue = finishedWork.updateQueue;
5846
5888
  updateQueue = null !== updateQueue ? updateQueue.lastEffect : null;
@@ -5850,29 +5892,22 @@ function commitHookEffectListUnmount(
5850
5892
  if ((effect.tag & flags) === flags) {
5851
5893
  var destroy = effect.destroy;
5852
5894
  effect.destroy = void 0;
5853
- if (void 0 !== destroy) {
5854
- var current = finishedWork,
5855
- nearestMountedAncestor = nearestMountedAncestor$jscomp$0;
5856
- try {
5857
- destroy();
5858
- } catch (error) {
5859
- captureCommitPhaseError(current, nearestMountedAncestor, error);
5860
- }
5861
- }
5895
+ void 0 !== destroy &&
5896
+ safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy);
5862
5897
  }
5863
5898
  effect = effect.next;
5864
5899
  } while (effect !== updateQueue);
5865
5900
  }
5866
5901
  }
5867
- function commitHookEffectListMount(tag, finishedWork) {
5902
+ function commitHookEffectListMount(flags, finishedWork) {
5868
5903
  finishedWork = finishedWork.updateQueue;
5869
5904
  finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;
5870
5905
  if (null !== finishedWork) {
5871
5906
  var effect = (finishedWork = finishedWork.next);
5872
5907
  do {
5873
- if ((effect.tag & tag) === tag) {
5874
- var create$80 = effect.create;
5875
- effect.destroy = create$80();
5908
+ if ((effect.tag & flags) === flags) {
5909
+ var create$81 = effect.create;
5910
+ effect.destroy = create$81();
5876
5911
  }
5877
5912
  effect = effect.next;
5878
5913
  } while (effect !== finishedWork);
@@ -5977,22 +6012,11 @@ function commitMutationEffects(root, firstChild) {
5977
6012
  var _effect = effect,
5978
6013
  destroy = _effect.destroy,
5979
6014
  tag = _effect.tag;
5980
- if (
5981
- void 0 !== destroy &&
5982
- (0 !== (tag & 2) || 0 !== (tag & 4))
5983
- ) {
5984
- _effect = current;
5985
- var nearestMountedAncestor = root;
5986
- try {
5987
- destroy();
5988
- } catch (error) {
5989
- captureCommitPhaseError(
5990
- _effect,
5991
- nearestMountedAncestor,
5992
- error
5993
- );
5994
- }
5995
- }
6015
+ void 0 !== destroy &&
6016
+ (0 !== (tag & 2)
6017
+ ? safelyCallDestroy(current, root, destroy)
6018
+ : 0 !== (tag & 4) &&
6019
+ safelyCallDestroy(current, root, destroy));
5996
6020
  effect = effect.next;
5997
6021
  } while (effect !== firstEffect);
5998
6022
  }
@@ -6060,8 +6084,8 @@ function commitMutationEffects(root, firstChild) {
6060
6084
  switch (root.tag) {
6061
6085
  case 13:
6062
6086
  if (null !== root.memoizedState) {
6063
- var current$84 = root.alternate;
6064
- if (null === current$84 || null === current$84.memoizedState)
6087
+ var current$85 = root.alternate;
6088
+ if (null === current$85 || null === current$85.memoizedState)
6065
6089
  globalMostRecentFallbackTime = now();
6066
6090
  }
6067
6091
  }
@@ -6138,8 +6162,8 @@ function commitLayoutEffects(finishedWork) {
6138
6162
  commitUpdateQueue(firstChild, updateQueue, instance);
6139
6163
  break;
6140
6164
  case 3:
6141
- var updateQueue$81 = firstChild.updateQueue;
6142
- if (null !== updateQueue$81) {
6165
+ var updateQueue$82 = firstChild.updateQueue;
6166
+ if (null !== updateQueue$82) {
6143
6167
  current = null;
6144
6168
  if (null !== firstChild.child)
6145
6169
  switch (firstChild.child.tag) {
@@ -6149,11 +6173,14 @@ function commitLayoutEffects(finishedWork) {
6149
6173
  case 1:
6150
6174
  current = firstChild.child.stateNode;
6151
6175
  }
6152
- commitUpdateQueue(firstChild, updateQueue$81, current);
6176
+ commitUpdateQueue(firstChild, updateQueue$82, current);
6153
6177
  }
6154
6178
  break;
6155
6179
  case 5:
6156
- null === current && firstChild.flags & 4 && shim();
6180
+ if (null === current && firstChild.flags & 4)
6181
+ throw Error(
6182
+ "The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue."
6183
+ );
6157
6184
  break;
6158
6185
  case 6:
6159
6186
  break;
@@ -6222,7 +6249,8 @@ var ceil = Math.ceil,
6222
6249
  workInProgressRootExitStatus = 0,
6223
6250
  workInProgressRootFatalError = null,
6224
6251
  workInProgressRootSkippedLanes = 0,
6225
- workInProgressRootUpdatedLanes = 0,
6252
+ workInProgressRootInterleavedUpdatedLanes = 0,
6253
+ workInProgressRootRenderPhaseUpdatedLanes = 0,
6226
6254
  workInProgressRootPingedLanes = 0,
6227
6255
  globalMostRecentFallbackTime = 0,
6228
6256
  workInProgressRootRenderTargetTime = Infinity,
@@ -6282,16 +6310,19 @@ function scheduleUpdateOnFiber(fiber, lane, eventTime) {
6282
6310
  var root = markUpdateLaneFromFiberToRoot(fiber, lane);
6283
6311
  if (null === root) return null;
6284
6312
  markRootUpdated(root, lane, eventTime);
6285
- root === workInProgressRoot &&
6286
- (0 === (executionContext & 2) && (workInProgressRootUpdatedLanes |= lane),
6287
- 4 === workInProgressRootExitStatus &&
6288
- markRootSuspended$1(root, workInProgressRootRenderLanes));
6289
- ensureRootIsScheduled(root, eventTime);
6290
- 1 === lane &&
6291
- 0 === executionContext &&
6292
- 0 === (fiber.mode & 1) &&
6293
- ((workInProgressRootRenderTargetTime = now() + 500),
6294
- includesLegacySyncCallbacks && flushSyncCallbacks());
6313
+ 0 !== (executionContext & 2) && root === workInProgressRoot
6314
+ ? (workInProgressRootRenderPhaseUpdatedLanes |= lane)
6315
+ : (root === workInProgressRoot &&
6316
+ (0 === (executionContext & 2) &&
6317
+ (workInProgressRootInterleavedUpdatedLanes |= lane),
6318
+ 4 === workInProgressRootExitStatus &&
6319
+ markRootSuspended$1(root, workInProgressRootRenderLanes)),
6320
+ ensureRootIsScheduled(root, eventTime),
6321
+ 1 === lane &&
6322
+ 0 === executionContext &&
6323
+ 0 === (fiber.mode & 1) &&
6324
+ ((workInProgressRootRenderTargetTime = now() + 500),
6325
+ includesLegacySyncCallbacks && flushSyncCallbacks()));
6295
6326
  return root;
6296
6327
  }
6297
6328
  function markUpdateLaneFromFiberToRoot(sourceFiber, lane) {
@@ -6317,12 +6348,12 @@ function ensureRootIsScheduled(root, currentTime) {
6317
6348
  0 < lanes;
6318
6349
 
6319
6350
  ) {
6320
- var index$5 = 31 - clz32(lanes),
6321
- lane = 1 << index$5,
6322
- expirationTime = expirationTimes[index$5];
6351
+ var index$6 = 31 - clz32(lanes),
6352
+ lane = 1 << index$6,
6353
+ expirationTime = expirationTimes[index$6];
6323
6354
  if (-1 === expirationTime) {
6324
6355
  if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
6325
- expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
6356
+ expirationTimes[index$6] = computeExpirationTime(lane, currentTime);
6326
6357
  } else expirationTime <= currentTime && (root.expiredLanes |= lane);
6327
6358
  lanes &= ~lane;
6328
6359
  }
@@ -6491,10 +6522,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6491
6522
  if ((lanes & 4194240) === lanes) break;
6492
6523
  didTimeout = root.eventTimes;
6493
6524
  for (prevExecutionContext = -1; 0 < lanes; ) {
6494
- var index$4 = 31 - clz32(lanes);
6495
- prevDispatcher = 1 << index$4;
6496
- index$4 = didTimeout[index$4];
6497
- index$4 > prevExecutionContext && (prevExecutionContext = index$4);
6525
+ var index$5 = 31 - clz32(lanes);
6526
+ prevDispatcher = 1 << index$5;
6527
+ index$5 = didTimeout[index$5];
6528
+ index$5 > prevExecutionContext && (prevExecutionContext = index$5);
6498
6529
  lanes &= ~prevDispatcher;
6499
6530
  }
6500
6531
  lanes = prevExecutionContext;
@@ -6537,10 +6568,16 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
6537
6568
  function recoverFromConcurrentError(root, errorRetryLanes) {
6538
6569
  var prevExecutionContext = executionContext;
6539
6570
  executionContext |= 8;
6540
- root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
6541
- root = renderRootSync(root, errorRetryLanes);
6571
+ root.isDehydrated && (root.isDehydrated = !1);
6572
+ for (
6573
+ var exitStatus, i = 0;
6574
+ 50 > i &&
6575
+ ((exitStatus = renderRootSync(root, errorRetryLanes)),
6576
+ 2 === exitStatus && 0 !== workInProgressRootRenderPhaseUpdatedLanes);
6577
+ i++
6578
+ );
6542
6579
  executionContext = prevExecutionContext;
6543
- return root;
6580
+ return exitStatus;
6544
6581
  }
6545
6582
  function isRenderConsistentWithExternalStores(finishedWork) {
6546
6583
  for (var node = finishedWork; ; ) {
@@ -6578,13 +6615,13 @@ function isRenderConsistentWithExternalStores(finishedWork) {
6578
6615
  }
6579
6616
  function markRootSuspended$1(root, suspendedLanes) {
6580
6617
  suspendedLanes &= ~workInProgressRootPingedLanes;
6581
- suspendedLanes &= ~workInProgressRootUpdatedLanes;
6618
+ suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
6582
6619
  root.suspendedLanes |= suspendedLanes;
6583
6620
  root.pingedLanes &= ~suspendedLanes;
6584
6621
  for (root = root.expirationTimes; 0 < suspendedLanes; ) {
6585
- var index$6 = 31 - clz32(suspendedLanes),
6586
- lane = 1 << index$6;
6587
- root[index$6] = -1;
6622
+ var index$7 = 31 - clz32(suspendedLanes),
6623
+ lane = 1 << index$7;
6624
+ root[index$7] = -1;
6588
6625
  suspendedLanes &= ~lane;
6589
6626
  }
6590
6627
  }
@@ -6596,13 +6633,10 @@ function performSyncWorkOnRoot(root) {
6596
6633
  if (0 === (lanes & 1)) return ensureRootIsScheduled(root, now()), null;
6597
6634
  var exitStatus = renderRootSync(root, lanes);
6598
6635
  if (0 !== root.tag && 2 === exitStatus) {
6599
- var prevExecutionContext = executionContext;
6600
- executionContext |= 8;
6601
- root.isDehydrated && ((root.isDehydrated = !1), shim(root.containerInfo));
6602
6636
  var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);
6603
6637
  0 !== errorRetryLanes &&
6604
- ((lanes = errorRetryLanes), (exitStatus = renderRootSync(root, lanes)));
6605
- executionContext = prevExecutionContext;
6638
+ ((lanes = errorRetryLanes),
6639
+ (exitStatus = recoverFromConcurrentError(root, errorRetryLanes)));
6606
6640
  }
6607
6641
  if (1 === exitStatus)
6608
6642
  throw ((exitStatus = workInProgressRootFatalError),
@@ -6629,6 +6663,7 @@ function prepareFreshStack(root, lanes) {
6629
6663
  if (null !== workInProgress)
6630
6664
  for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {
6631
6665
  var interruptedWork = timeoutHandle;
6666
+ popTreeContext(interruptedWork);
6632
6667
  switch (interruptedWork.tag) {
6633
6668
  case 1:
6634
6669
  interruptedWork = interruptedWork.type.childContextTypes;
@@ -6668,7 +6703,7 @@ function prepareFreshStack(root, lanes) {
6668
6703
  workInProgressRootRenderLanes = subtreeRenderLanes = lanes;
6669
6704
  workInProgressRootExitStatus = 0;
6670
6705
  workInProgressRootFatalError = null;
6671
- workInProgressRootPingedLanes = workInProgressRootUpdatedLanes = workInProgressRootSkippedLanes = 0;
6706
+ workInProgressRootPingedLanes = workInProgressRootRenderPhaseUpdatedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0;
6672
6707
  if (null !== interleavedQueues) {
6673
6708
  for (root = 0; root < interleavedQueues.length; root++)
6674
6709
  if (
@@ -6747,83 +6782,73 @@ function handleError(root$jscomp$0, thrownValue) {
6747
6782
  }
6748
6783
  b: {
6749
6784
  sourceFiber$jscomp$0 = returnFiber;
6750
- var sourceFiber$jscomp$1 = sourceFiber,
6751
- rootRenderLanes = thrownValue,
6752
- hasInvisibleParentBoundary =
6753
- 0 !== (suspenseStackCursor.current & 1),
6754
- node = sourceFiber$jscomp$0;
6755
6785
  do {
6756
6786
  var JSCompiler_temp;
6757
- if ((JSCompiler_temp = 13 === node.tag)) {
6758
- var nextState = node.memoizedState;
6787
+ if ((JSCompiler_temp = 13 === sourceFiber$jscomp$0.tag)) {
6788
+ var nextState = sourceFiber$jscomp$0.memoizedState;
6759
6789
  JSCompiler_temp =
6760
6790
  null !== nextState
6761
6791
  ? null !== nextState.dehydrated
6762
6792
  ? !0
6763
6793
  : !1
6764
- : !0 !== node.memoizedProps.unstable_avoidThisFallback
6765
- ? !0
6766
- : hasInvisibleParentBoundary
6767
- ? !1
6768
6794
  : !0;
6769
6795
  }
6770
6796
  if (JSCompiler_temp) {
6771
- if (0 === (node.mode & 1)) {
6772
- if (node === sourceFiber$jscomp$0) node.flags |= 65536;
6773
- else {
6774
- node.flags |= 128;
6775
- sourceFiber$jscomp$1.flags |= 131072;
6776
- sourceFiber$jscomp$1.flags &= -52805;
6777
- if (
6778
- enablePersistentOffscreenHostContainer &&
6779
- null === node.alternate
6780
- ) {
6781
- var offscreenContainer = node.child.child;
6782
- if (null !== offscreenContainer) {
6783
- var containerProps = getOffscreenContainerProps(
6784
- "hidden",
6785
- offscreenContainer.memoizedProps.children
6786
- );
6787
- offscreenContainer.pendingProps = containerProps;
6788
- offscreenContainer.memoizedProps = containerProps;
6789
- }
6790
- }
6791
- if (1 === sourceFiber$jscomp$1.tag)
6792
- if (null === sourceFiber$jscomp$1.alternate)
6793
- sourceFiber$jscomp$1.tag = 17;
6794
- else {
6795
- var update = createUpdate(-1, 1);
6796
- update.tag = 2;
6797
- enqueueUpdate(sourceFiber$jscomp$1, update);
6798
- }
6799
- sourceFiber$jscomp$1.lanes |= 1;
6800
- }
6801
- var suspenseBoundary = node;
6802
- break b;
6803
- }
6804
- node.flags |= 65536;
6805
- node.lanes = rootRenderLanes;
6806
- suspenseBoundary = node;
6797
+ var suspenseBoundary = sourceFiber$jscomp$0;
6807
6798
  break b;
6808
6799
  }
6809
- node = node.return;
6810
- } while (null !== node);
6800
+ sourceFiber$jscomp$0 = sourceFiber$jscomp$0.return;
6801
+ } while (null !== sourceFiber$jscomp$0);
6811
6802
  suspenseBoundary = null;
6812
6803
  }
6813
6804
  if (null !== suspenseBoundary) {
6814
- value = void 0;
6815
- sourceFiber = suspenseBoundary;
6816
- if (sourceFiber.mode & 1) {
6805
+ suspenseBoundary.flags &= -257;
6806
+ value = suspenseBoundary;
6807
+ sourceFiber$jscomp$0 = thrownValue;
6808
+ if (0 === (value.mode & 1))
6809
+ if (value === returnFiber) value.flags |= 65536;
6810
+ else {
6811
+ value.flags |= 128;
6812
+ sourceFiber.flags |= 131072;
6813
+ sourceFiber.flags &= -52805;
6814
+ if (
6815
+ enablePersistentOffscreenHostContainer &&
6816
+ null === value.alternate
6817
+ ) {
6818
+ var offscreenContainer = value.child.child;
6819
+ if (null !== offscreenContainer) {
6820
+ var containerProps = getOffscreenContainerProps(
6821
+ "hidden",
6822
+ offscreenContainer.memoizedProps.children
6823
+ );
6824
+ offscreenContainer.pendingProps = containerProps;
6825
+ offscreenContainer.memoizedProps = containerProps;
6826
+ }
6827
+ }
6828
+ if (1 === sourceFiber.tag)
6829
+ if (null === sourceFiber.alternate) sourceFiber.tag = 17;
6830
+ else {
6831
+ var update = createUpdate(-1, 1);
6832
+ update.tag = 2;
6833
+ enqueueUpdate(sourceFiber, update);
6834
+ }
6835
+ sourceFiber.lanes |= 1;
6836
+ }
6837
+ else (value.flags |= 65536), (value.lanes = sourceFiber$jscomp$0);
6838
+ sourceFiber = void 0;
6839
+ value = suspenseBoundary;
6840
+ if (value.mode & 1) {
6817
6841
  var pingCache = root.pingCache;
6818
6842
  null === pingCache
6819
6843
  ? ((pingCache = root.pingCache = new PossiblyWeakMap()),
6820
- (value = new Set()),
6821
- pingCache.set(wakeable, value))
6822
- : ((value = pingCache.get(wakeable)),
6823
- void 0 === value &&
6824
- ((value = new Set()), pingCache.set(wakeable, value)));
6825
- if (!value.has(thrownValue)) {
6826
- value.add(thrownValue);
6844
+ (sourceFiber = new Set()),
6845
+ pingCache.set(wakeable, sourceFiber))
6846
+ : ((sourceFiber = pingCache.get(wakeable)),
6847
+ void 0 === sourceFiber &&
6848
+ ((sourceFiber = new Set()),
6849
+ pingCache.set(wakeable, sourceFiber)));
6850
+ if (!sourceFiber.has(thrownValue)) {
6851
+ sourceFiber.add(thrownValue);
6827
6852
  var ping = pingSuspendedRoot.bind(
6828
6853
  null,
6829
6854
  root,
@@ -6833,11 +6858,11 @@ function handleError(root$jscomp$0, thrownValue) {
6833
6858
  wakeable.then(ping, ping);
6834
6859
  }
6835
6860
  }
6836
- var wakeables = sourceFiber.updateQueue;
6861
+ var wakeables = value.updateQueue;
6837
6862
  if (null === wakeables) {
6838
6863
  var updateQueue = new Set();
6839
6864
  updateQueue.add(wakeable);
6840
- sourceFiber.updateQueue = updateQueue;
6865
+ value.updateQueue = updateQueue;
6841
6866
  } else wakeables.add(wakeable);
6842
6867
  break a;
6843
6868
  } else
@@ -6879,12 +6904,12 @@ function handleError(root$jscomp$0, thrownValue) {
6879
6904
  root.flags |= 65536;
6880
6905
  thrownValue &= -thrownValue;
6881
6906
  root.lanes |= thrownValue;
6882
- var update$31 = createClassErrorUpdate(
6907
+ var update$32 = createClassErrorUpdate(
6883
6908
  root,
6884
6909
  wakeable,
6885
6910
  thrownValue
6886
6911
  );
6887
- enqueueCapturedUpdate(root, update$31);
6912
+ enqueueCapturedUpdate(root, update$32);
6888
6913
  break a;
6889
6914
  }
6890
6915
  }
@@ -7784,7 +7809,7 @@ function createWorkInProgress(current, pendingProps) {
7784
7809
  (workInProgress.flags = 0),
7785
7810
  (workInProgress.subtreeFlags = 0),
7786
7811
  (workInProgress.deletions = null));
7787
- workInProgress.flags = current.flags & 7340032;
7812
+ workInProgress.flags = current.flags & 14680064;
7788
7813
  workInProgress.childLanes = current.childLanes;
7789
7814
  workInProgress.lanes = current.lanes;
7790
7815
  workInProgress.child = current.child;
@@ -7924,7 +7949,7 @@ function createFiberFromPortal(portal, mode, lanes) {
7924
7949
  };
7925
7950
  return mode;
7926
7951
  }
7927
- function FiberRootNode(containerInfo, tag, hydrate) {
7952
+ function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix) {
7928
7953
  this.tag = tag;
7929
7954
  this.containerInfo = containerInfo;
7930
7955
  this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
@@ -7937,6 +7962,7 @@ function FiberRootNode(containerInfo, tag, hydrate) {
7937
7962
  this.expirationTimes = createLaneMap(-1);
7938
7963
  this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
7939
7964
  this.entanglements = createLaneMap(0);
7965
+ this.identifierPrefix = identifierPrefix;
7940
7966
  }
7941
7967
  function createPortal(children, containerInfo, implementation) {
7942
7968
  var key =
@@ -8140,10 +8166,10 @@ batchedUpdatesImpl = function(fn, a) {
8140
8166
  }
8141
8167
  };
8142
8168
  var roots = new Map(),
8143
- devToolsConfig$jscomp$inline_935 = {
8169
+ devToolsConfig$jscomp$inline_926 = {
8144
8170
  findFiberByHostInstance: getInstanceFromInstance,
8145
8171
  bundleType: 0,
8146
- version: "18.0.0-afcb9cdc9-20211008",
8172
+ version: "18.0.0-rc.0-51947a14b-20220113",
8147
8173
  rendererPackageName: "react-native-renderer",
8148
8174
  rendererConfig: {
8149
8175
  getInspectorDataForViewTag: function() {
@@ -8158,11 +8184,11 @@ var roots = new Map(),
8158
8184
  }.bind(null, findNodeHandle)
8159
8185
  }
8160
8186
  };
8161
- var internals$jscomp$inline_1189 = {
8162
- bundleType: devToolsConfig$jscomp$inline_935.bundleType,
8163
- version: devToolsConfig$jscomp$inline_935.version,
8164
- rendererPackageName: devToolsConfig$jscomp$inline_935.rendererPackageName,
8165
- rendererConfig: devToolsConfig$jscomp$inline_935.rendererConfig,
8187
+ var internals$jscomp$inline_1179 = {
8188
+ bundleType: devToolsConfig$jscomp$inline_926.bundleType,
8189
+ version: devToolsConfig$jscomp$inline_926.version,
8190
+ rendererPackageName: devToolsConfig$jscomp$inline_926.rendererPackageName,
8191
+ rendererConfig: devToolsConfig$jscomp$inline_926.rendererConfig,
8166
8192
  overrideHookState: null,
8167
8193
  overrideHookStateDeletePath: null,
8168
8194
  overrideHookStateRenamePath: null,
@@ -8178,26 +8204,29 @@ var internals$jscomp$inline_1189 = {
8178
8204
  return null === fiber ? null : fiber.stateNode;
8179
8205
  },
8180
8206
  findFiberByHostInstance:
8181
- devToolsConfig$jscomp$inline_935.findFiberByHostInstance ||
8207
+ devToolsConfig$jscomp$inline_926.findFiberByHostInstance ||
8182
8208
  emptyFindFiberByHostInstance,
8183
8209
  findHostInstancesForRefresh: null,
8184
8210
  scheduleRefresh: null,
8185
8211
  scheduleRoot: null,
8186
8212
  setRefreshHandler: null,
8187
8213
  getCurrentFiber: null,
8188
- reconcilerVersion: "18.0.0-afcb9cdc9-20211008"
8214
+ reconcilerVersion: "18.0.0-rc.0-51947a14b-20220113"
8189
8215
  };
8190
8216
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
8191
- var hook$jscomp$inline_1190 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8217
+ var hook$jscomp$inline_1180 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
8192
8218
  if (
8193
- !hook$jscomp$inline_1190.isDisabled &&
8194
- hook$jscomp$inline_1190.supportsFiber
8219
+ !hook$jscomp$inline_1180.isDisabled &&
8220
+ hook$jscomp$inline_1180.supportsFiber
8195
8221
  )
8196
8222
  try {
8197
- (rendererID = hook$jscomp$inline_1190.inject(
8198
- internals$jscomp$inline_1189
8223
+ (rendererID = hook$jscomp$inline_1180.inject(
8224
+ Object.assign({}, internals$jscomp$inline_1179, {
8225
+ getLaneLabelMap: getLaneLabelMap,
8226
+ injectProfilingHooks: injectProfilingHooks
8227
+ })
8199
8228
  )),
8200
- (injectedHook = hook$jscomp$inline_1190);
8229
+ (injectedHook = hook$jscomp$inline_1180);
8201
8230
  } catch (err) {}
8202
8231
  }
8203
8232
  exports.createPortal = function(children, containerTag) {
@@ -8237,7 +8266,7 @@ exports.render = function(element, containerTag, callback, concurrentRoot) {
8237
8266
  var root = roots.get(containerTag);
8238
8267
  root ||
8239
8268
  ((root = concurrentRoot ? 1 : 0),
8240
- (concurrentRoot = new FiberRootNode(containerTag, root, !1)),
8269
+ (concurrentRoot = new FiberRootNode(containerTag, root, !1, "")),
8241
8270
  (root = createFiber(3, null, null, 1 === root ? 1 : 0)),
8242
8271
  (concurrentRoot.current = root),
8243
8272
  (root.stateNode = concurrentRoot),