From 7ba01f90bc2e0f9caa80c9f930b694798a4633ca Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:23:25 +0000 Subject: [PATCH 1/6] Update `react@experimental` --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 29420145b35f..f78de7aa9892 100644 --- a/package.json +++ b/package.json @@ -230,13 +230,13 @@ "react-builtin": "npm:react@19.2.0-canary-040f8286-20250402", "react-dom": "19.0.0", "react-dom-builtin": "npm:react-dom@19.2.0-canary-040f8286-20250402", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-040f8286-20250402", - "react-experimental-builtin": "npm:react@0.0.0-experimental-040f8286-20250402", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-540cd652-20250403", + "react-experimental-builtin": "npm:react@0.0.0-experimental-540cd652-20250403", "react-is-builtin": "npm:react-is@19.2.0-canary-040f8286-20250402", "react-server-dom-turbopack": "19.2.0-canary-040f8286-20250402", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-040f8286-20250402", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403", "react-server-dom-webpack": "19.2.0-canary-040f8286-20250402", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-040f8286-20250402", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-540cd652-20250403", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -247,7 +247,7 @@ "sass": "1.54.0", "satori": "0.12.2", "scheduler-builtin": "npm:scheduler@0.27.0-canary-040f8286-20250402", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-040f8286-20250402", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-540cd652-20250403", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", From 26d275a29b0a910c69d5f7c2c8fc61d8e0b62ec0 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:23:26 +0000 Subject: [PATCH 2/6] Update `react` --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index f78de7aa9892..060a4548865b 100644 --- a/package.json +++ b/package.json @@ -227,15 +227,15 @@ "pretty-ms": "7.0.0", "random-seed": "0.3.0", "react": "19.0.0", - "react-builtin": "npm:react@19.2.0-canary-040f8286-20250402", + "react-builtin": "npm:react@19.2.0-canary-540cd652-20250403", "react-dom": "19.0.0", - "react-dom-builtin": "npm:react-dom@19.2.0-canary-040f8286-20250402", + "react-dom-builtin": "npm:react-dom@19.2.0-canary-540cd652-20250403", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-540cd652-20250403", "react-experimental-builtin": "npm:react@0.0.0-experimental-540cd652-20250403", - "react-is-builtin": "npm:react-is@19.2.0-canary-040f8286-20250402", - "react-server-dom-turbopack": "19.2.0-canary-040f8286-20250402", + "react-is-builtin": "npm:react-is@19.2.0-canary-540cd652-20250403", + "react-server-dom-turbopack": "19.2.0-canary-540cd652-20250403", "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403", - "react-server-dom-webpack": "19.2.0-canary-040f8286-20250402", + "react-server-dom-webpack": "19.2.0-canary-540cd652-20250403", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-540cd652-20250403", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", @@ -246,7 +246,7 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.12.2", - "scheduler-builtin": "npm:scheduler@0.27.0-canary-040f8286-20250402", + "scheduler-builtin": "npm:scheduler@0.27.0-canary-540cd652-20250403", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-540cd652-20250403", "seedrandom": "3.0.5", "semver": "7.3.7", @@ -290,10 +290,10 @@ "@types/react": "19.0.8", "@types/react-dom": "19.0.3", "jest-snapshot": "30.0.0-alpha.6", - "react": "19.2.0-canary-040f8286-20250402", - "react-dom": "19.2.0-canary-040f8286-20250402", - "react-is": "19.2.0-canary-040f8286-20250402", - "scheduler": "0.27.0-canary-040f8286-20250402" + "react": "19.2.0-canary-540cd652-20250403", + "react-dom": "19.2.0-canary-540cd652-20250403", + "react-is": "19.2.0-canary-540cd652-20250403", + "scheduler": "0.27.0-canary-540cd652-20250403" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch", From 4e2bd02db2fbbf4b0da95548125292555f3354d3 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:23:26 +0000 Subject: [PATCH 3/6] Updated peer dependency references in apps From 940f89e15b639691cf1a9b2fd67aca8ca005c796 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:23:26 +0000 Subject: [PATCH 4/6] Updated peer dependency references in libraries From 5d1482a0fac642ee06ef4c96ebc5030549666066 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:23:41 +0000 Subject: [PATCH 5/6] Update lockfile --- pnpm-lock.yaml | 458 ++++++++++++++++++++++++------------------------- 1 file changed, 229 insertions(+), 229 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04fbfe4e8288..b6c73c2fca38 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,10 +16,10 @@ overrides: '@types/react': 19.0.8 '@types/react-dom': 19.0.3 jest-snapshot: 30.0.0-alpha.6 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 - react-is: 19.2.0-canary-040f8286-20250402 - scheduler: 0.27.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 + react-is: 19.2.0-canary-540cd652-20250403 + scheduler: 0.27.0-canary-540cd652-20250403 patchedDependencies: stacktrace-parser@0.1.10: @@ -71,7 +71,7 @@ importers: version: 11.11.0 '@emotion/react': specifier: 11.11.1 - version: 11.11.1(@types/react@19.0.8)(react@19.2.0-canary-040f8286-20250402) + version: 11.11.1(@types/react@19.0.8)(react@19.2.0-canary-540cd652-20250403) '@fullhuman/postcss-purgecss': specifier: 1.3.0 version: 1.3.0 @@ -83,7 +83,7 @@ importers: version: 2.2.1(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) '@mdx-js/react': specifier: 2.2.1 - version: 2.2.1(react@19.2.0-canary-040f8286-20250402) + version: 2.2.1(react@19.2.0-canary-540cd652-20250403) '@next/bundle-analyzer': specifier: workspace:* version: link:packages/next-bundle-analyzer @@ -149,7 +149,7 @@ importers: version: 6.1.2(@jest/globals@29.7.0)(@types/jest@29.5.5)(jest@29.7.0(@types/node@20.17.6)(babel-plugin-macros@3.1.0))(vitest@3.0.4(@types/node@20.17.6)(sass@1.54.0)(tsx@4.19.2)) '@testing-library/react': specifier: ^15.0.5 - version: 15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + version: 15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) '@types/busboy': specifier: 1.5.3 version: 1.5.3 @@ -472,44 +472,44 @@ importers: specifier: 0.3.0 version: 0.3.0 react: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402 + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403 react-builtin: - specifier: npm:react@19.2.0-canary-040f8286-20250402 - version: react@19.2.0-canary-040f8286-20250402 + specifier: npm:react@19.2.0-canary-540cd652-20250403 + version: react@19.2.0-canary-540cd652-20250403 react-dom: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) react-dom-builtin: - specifier: npm:react-dom@19.2.0-canary-040f8286-20250402 - version: react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + specifier: npm:react-dom@19.2.0-canary-540cd652-20250403 + version: react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) react-dom-experimental-builtin: - specifier: npm:react-dom@0.0.0-experimental-040f8286-20250402 - version: react-dom@0.0.0-experimental-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + specifier: npm:react-dom@0.0.0-experimental-540cd652-20250403 + version: react-dom@0.0.0-experimental-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) react-experimental-builtin: - specifier: npm:react@0.0.0-experimental-040f8286-20250402 - version: react@0.0.0-experimental-040f8286-20250402 + specifier: npm:react@0.0.0-experimental-540cd652-20250403 + version: react@0.0.0-experimental-540cd652-20250403 react-is-builtin: - specifier: npm:react-is@19.2.0-canary-040f8286-20250402 - version: react-is@19.2.0-canary-040f8286-20250402 + specifier: npm:react-is@19.2.0-canary-540cd652-20250403 + version: react-is@19.2.0-canary-540cd652-20250403 react-server-dom-turbopack: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) react-server-dom-turbopack-experimental: - specifier: npm:react-server-dom-turbopack@0.0.0-experimental-040f8286-20250402 - version: react-server-dom-turbopack@0.0.0-experimental-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + specifier: npm:react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403 + version: react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) react-server-dom-webpack: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) react-server-dom-webpack-experimental: - specifier: npm:react-server-dom-webpack@0.0.0-experimental-040f8286-20250402 - version: react-server-dom-webpack@0.0.0-experimental-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) + specifier: npm:react-server-dom-webpack@0.0.0-experimental-540cd652-20250403 + version: react-server-dom-webpack@0.0.0-experimental-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) react-ssr-prepass: specifier: 1.0.8 - version: 1.0.8(react-is@19.2.0-canary-63779030-20250328)(react@19.2.0-canary-040f8286-20250402) + version: 1.0.8(react-is@19.2.0-canary-63779030-20250328)(react@19.2.0-canary-540cd652-20250403) react-virtualized: specifier: 9.22.3 - version: 9.22.3(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + version: 9.22.3(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) relay-compiler: specifier: 13.0.2 version: 13.0.2 @@ -532,11 +532,11 @@ importers: specifier: 0.12.2 version: 0.12.2 scheduler-builtin: - specifier: npm:scheduler@0.27.0-canary-040f8286-20250402 - version: scheduler@0.27.0-canary-040f8286-20250402 + specifier: npm:scheduler@0.27.0-canary-540cd652-20250403 + version: scheduler@0.27.0-canary-540cd652-20250403 scheduler-experimental-builtin: - specifier: npm:scheduler@0.0.0-experimental-040f8286-20250402 - version: scheduler@0.0.0-experimental-040f8286-20250402 + specifier: npm:scheduler@0.0.0-experimental-540cd652-20250403 + version: scheduler@0.0.0-experimental-540cd652-20250403 seedrandom: specifier: 3.0.5 version: 3.0.5 @@ -551,16 +551,16 @@ importers: version: 6.0.0 styled-components: specifier: 6.0.0-rc.3 - version: 6.0.0-rc.3(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + version: 6.0.0-rc.3(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-040f8286-20250402) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-540cd652-20250403) styled-jsx-plugin-postcss: specifier: 3.0.2 version: 3.0.2 swr: specifier: ^2.2.4 - version: 2.2.4(react@19.2.0-canary-040f8286-20250402) + version: 2.2.4(react@19.2.0-canary-540cd652-20250403) tailwindcss: specifier: 3.2.7 version: 3.2.7(postcss@8.4.31) @@ -911,17 +911,17 @@ importers: specifier: 8.4.31 version: 8.4.31 react: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402 + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403 react-dom: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) sass: specifier: ^1.3.0 version: 1.77.8 styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-040f8286-20250402) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-540cd652-20250403) optionalDependencies: sharp: specifier: ^0.33.5 @@ -1052,13 +1052,13 @@ importers: version: 1.0.5(@swc/helpers@0.5.15)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)) '@storybook/blocks': specifier: 8.6.0 - version: 8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3)) + version: 8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3)) '@storybook/react': specifier: 8.6.0 - version: 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + version: 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) '@storybook/react-webpack5': specifier: 8.6.0 - version: 8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + version: 8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) '@storybook/test': specifier: 8.6.0 version: 8.6.0(storybook@8.6.0(prettier@3.3.3)) @@ -1535,7 +1535,7 @@ importers: version: 1.0.35 unistore: specifier: 3.4.1 - version: 3.4.1(react@19.2.0-canary-040f8286-20250402) + version: 3.4.1(react@19.2.0-canary-540cd652-20250403) util: specifier: 0.12.4 version: 0.12.4 @@ -1708,8 +1708,8 @@ importers: packages/third-parties: dependencies: react: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402 + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403 third-party-capital: specifier: 1.0.20 version: 1.0.20 @@ -1772,14 +1772,14 @@ importers: specifier: 29.5.0 version: 29.5.0 react: - specifier: 19.2.0-canary-040f8286-20250402 - version: 19.2.0-canary-040f8286-20250402 + specifier: 19.2.0-canary-540cd652-20250403 + version: 19.2.0-canary-540cd652-20250403 react-test-renderer: specifier: 18.2.0 - version: 18.2.0(react@19.2.0-canary-040f8286-20250402) + version: 18.2.0(react@19.2.0-canary-540cd652-20250403) styled-jsx: specifier: ^5.1.2 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-040f8286-20250402) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-540cd652-20250403) turbopack/packages/devlow-bench: dependencies: @@ -3518,7 +3518,7 @@ packages: resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -3535,7 +3535,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -4034,14 +4034,14 @@ packages: '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 '@floating-ui/react@0.26.16': resolution: {integrity: sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 '@floating-ui/utils@0.2.2': resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} @@ -4729,13 +4729,13 @@ packages: resolution: {integrity: sha512-l9ypojKN3PjwO1CSLIsqxi7mA25+7w+xc71Q+JuCCREI0tuGwkZsKbIOpuTATIJOjPh8ycLiW7QxX1LYsRTq6w==} peerDependencies: '@mantine/hooks': 7.10.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 '@mantine/hooks@7.11.2': resolution: {integrity: sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@mapbox/node-pre-gyp@1.0.5': resolution: {integrity: sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==} @@ -4752,13 +4752,13 @@ packages: '@mdx-js/react@2.2.1': resolution: {integrity: sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@mdx-js/react@3.1.0': resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@module-federation/error-codes@0.11.1': resolution: {integrity: sha512-N1cs1qwrO8cU/OzfnBbr+3FaVbrJk6QEAsQ8H+YxGRrh/kHsR2BKpZCX79jTG27oDbz45FLjQ98YucMMXC24EA==} @@ -5440,8 +5440,8 @@ packages: '@storybook/blocks@8.6.0': resolution: {integrity: sha512-3PNxlB5Ooj8CIhttbDxeV6kW7ui+2GEdTngtqhnsUHVjzeTKpilsk2lviOeUzqlyq5FDK+rhpZ3L3DJ9pDvioA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 storybook: ^8.6.0 peerDependenciesMeta: react: @@ -5491,8 +5491,8 @@ packages: resolution: {integrity: sha512-Nz/UzeYQdUZUhacrPyfkiiysSjydyjgg/p0P9HxB4p/WaJUUjMAcaoaLgy3EXx61zZJ3iD36WPuDkZs5QYrA0A==} engines: {node: '>=14.0.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 '@storybook/instrumenter@8.6.0': resolution: {integrity: sha512-eEY/Hfa3Vj5Nv4vHRHlSqjoyW6oAKNK3rKIXfL/eawQwb7rKhzijDLG5YBH44Hh7dEPIqUp0LEdgpyIY7GXezg==} @@ -5508,8 +5508,8 @@ packages: resolution: {integrity: sha512-04T86VG0UJtiozgZkTR5sY1qM3E0Rgwqwllvyy7kFFdkV+Sv/VsPjW9sC38s9C8FtCYRL8pJZz81ey3oylpIMA==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 storybook: ^8.6.0 typescript: '*' peerDependenciesMeta: @@ -5530,16 +5530,16 @@ packages: '@storybook/react-dom-shim@8.6.0': resolution: {integrity: sha512-5Y+vMHhcx0xnaNsLQMbkmjc3zkDn/fGBNsiLH2e4POvW3ZQvOxjoyxAsEQaKwLtFgsdCFSd2tR89F6ItYrA2JQ==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 storybook: ^8.6.0 '@storybook/react-webpack5@8.6.0': resolution: {integrity: sha512-2L9CYDPn1OL0B8K5EU/Wpo9Slg8f0vkYPaPioQnmcK3Q4SJR4JAuDVWHUtNdxhaPOkHIy887Tfrf6BEC/blMaQ==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 storybook: ^8.6.0 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5551,8 +5551,8 @@ packages: engines: {node: '>=18.0.0'} peerDependencies: '@storybook/test': 8.6.0 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 storybook: ^8.6.0 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5788,8 +5788,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -11882,7 +11882,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -14366,23 +14366,23 @@ packages: resolution: {integrity: sha512-APPU8HB2uZnpl6Vt/+0AFoVYgSRtfiP6FLrZgPPTDmqSb2R4qZRbgd0A3VzIFxDt5e+Fozjx79WjLWnF69DK8g==} engines: {node: '>=16.14.0'} - react-dom@0.0.0-experimental-040f8286-20250402: - resolution: {integrity: sha512-M4LK4RZUkpyfIvGIf2EM75pz9UVI120y6zrD+2rHH3W7MHgT3Z8IZlVHz8rkb7X41E6jRrbufguLVvbpMg8Z0g==} + react-dom@0.0.0-experimental-540cd652-20250403: + resolution: {integrity: sha512-wi92k1RQnwIzV6CbMC5D+b3WwJijga1x23QL0+qPuvbnP4d7UxEMfKnykr6xwbW2gG3QIKU9otSJgdIMnlAYew==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 - react-dom@19.2.0-canary-040f8286-20250402: - resolution: {integrity: sha512-UZxhSMYI+s/6x5xBNMYeetksY921BLQ1+2HmJeqzntEnPKJKAFUU8t4GaRmA1DJmz6hIqHLSVq/wbq5XYxg5SQ==} + react-dom@19.2.0-canary-540cd652-20250403: + resolution: {integrity: sha512-VZCXRi5G1E8wvWYprjYwKahmF6nfY9rUEvfxzcpD78vGGLiGDD25HHxJWuFhd7P6nJI7v1Pgs174K4Uk/DjVsg==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-dom@19.2.0-canary-63779030-20250328: resolution: {integrity: sha512-/e/O3T8cpDd+0/B0hDgMoO5mdo3fg9tFAHTnbz6XvlbMVmo99lYjLHeDh3RV69zX9RjzOJ85ae0DQljPai6How==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 - react-is@19.2.0-canary-040f8286-20250402: - resolution: {integrity: sha512-lft5UDi/+NzmXPHwpNH8FOXNMj5pKmeCFsXQthJBReBiVCOqPFarSIWJffxUBYVoVfskA6PAVtV6uDjdYwEv8g==} + react-is@19.2.0-canary-540cd652-20250403: + resolution: {integrity: sha512-OpEf0Qjxo9DR+uuwlpUCL4cTNty5rW1ZoyktMXPhzv5J6uLwPbY3rvMqJ32VYvEf+GNMmFvOD2//NjD3rz/Ezw==} react-is@19.2.0-canary-63779030-20250328: resolution: {integrity: sha512-6E4T+Me/8xdv8Vv2SY4NTYbB+HmoyJok+Pt2DkYP70A5PddR38EL4EUKiBhtwyBNPx+oWpVNVaYWM04yT9Ytcg==} @@ -14393,8 +14393,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -14405,7 +14405,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -14415,58 +14415,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-040f8286-20250402: - resolution: {integrity: sha512-axwxWNrxc9BczZ1eigM0x80rjsZ0NIp+lpKNg9eOYPPBQDscSqBLPLhOMgiM99tHxsXOBPq3SCuAO+GdiOfVkQ==} + react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403: + resolution: {integrity: sha512-4Ta0lMKcevofXZbt9PrqfXeeWiX4ZPvFaUKTJyormp16eyUC/f9LpguDUipsIGDtUyneGAZwJwmFut5QLeNBCQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 - react-server-dom-turbopack@19.2.0-canary-040f8286-20250402: - resolution: {integrity: sha512-rTvKHa9h4dk0m/7ecnqsrrvoCYtH18xKPWH2soae1x9ePs91PI9ch5KN1s0QfmFeOXcT6GFVZ6Q9j0nrmbb+6g==} + react-server-dom-turbopack@19.2.0-canary-540cd652-20250403: + resolution: {integrity: sha512-/9VtIYZMpWVckgA1TvUTCHNlsGSeC3od7rlEltEexmSH1HfLqg1o+82BBaGdnd9jvwY3bnqjq0UBXLIEnigvew==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 - react-server-dom-webpack@0.0.0-experimental-040f8286-20250402: - resolution: {integrity: sha512-EF+sJG4C6RUwCDilKE2pdH0dL22q8mZdbcaaxHSyx2QZy8pTJUcYK6LqFH/CYenFH6pu7Z2kx/vXWJGWE+Bs7A==} + react-server-dom-webpack@0.0.0-experimental-540cd652-20250403: + resolution: {integrity: sha512-CdjJW1clN/vs9V+57JEDBc6+4lFzwmvdYz4OAntF8PpgQutHN6UhF+G+Pd4nuYk8z0AHLZ8DG0SS1E/lAQODlg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 webpack: 5.98.0 - react-server-dom-webpack@19.2.0-canary-040f8286-20250402: - resolution: {integrity: sha512-np5cEYker5Uzyr6QsY+oCh17DSWjfYNuyPPH8C1dQTYqKDd29/2sutoyPR3m9pA+4xvd1mxcyOgp0o6sqRa/bw==} + react-server-dom-webpack@19.2.0-canary-540cd652-20250403: + resolution: {integrity: sha512-M57tD2FUiIQzlkqZnIkz1i5QeHYLVz/q0tmqK9gm4p6K74zaLlFnJHn4SmGK5/aQvv/pvEvpsce+RN+dPkvlFA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 webpack: 5.98.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-is: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-is: 19.2.0-canary-540cd652-20250403 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -14474,26 +14474,26 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 - react@0.0.0-experimental-040f8286-20250402: - resolution: {integrity: sha512-6JNUq2f7UAq9Mo7lRpW13931sajmdjO2fNiWtgJLxAqmfzX5Xxlrg5p2W61xdvm3LM6llU5SohR3/hlhBKRmYA==} + react@0.0.0-experimental-540cd652-20250403: + resolution: {integrity: sha512-CcuJh6ddw6qnIk5NoErY8CCGEXNLUquRWEojCAwZ9e5pk4kQSFBhxswWC8s2E2hrGm8tGvkrkCLQoPrPW9zhPA==} engines: {node: '>=0.10.0'} - react@19.2.0-canary-040f8286-20250402: - resolution: {integrity: sha512-+yF1HPV+N1DXYtcKQVowDB1CbFSb3bfnSGN7MYFl5UQjpDdn1ZYR0+zlpCfhYtZc0jJBb+P7UaI18RTDJsK1Lw==} + react@19.2.0-canary-540cd652-20250403: + resolution: {integrity: sha512-DUKVbr5rNtmumko5qv/vk0zqsYN6JxEBqPA+2rXWMur4byTk+xdy9p7ear03J7i+zTd3KV5RqDoDWYrTtzfQnA==} engines: {node: '>=0.10.0'} react@19.2.0-canary-63779030-20250328: @@ -15042,11 +15042,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-040f8286-20250402: - resolution: {integrity: sha512-ca+iYWcXvo0+YXBbiY4OcD/VlXQ5d8FhyMfBsCmqtogwdtlwrQiOcUeP6BOBQ+JX0C8XicbHUBAFPcvK5Im4qQ==} + scheduler@0.0.0-experimental-540cd652-20250403: + resolution: {integrity: sha512-q2wfU1FTkhAqA5cZAoy3HoMWwByjeq7p7ekNs9Ew3jI7K5NqqXwW0ELiUsknJVdpa8H1lb/0zOQGPJZ2LvytwA==} - scheduler@0.27.0-canary-040f8286-20250402: - resolution: {integrity: sha512-ckYdA6h/A7RbsPUeRUZ7xT4eb/siS/08vOFWdw/Cr6e3MO3+jk5tTuNEU5cBfFTTss8zZBnBEf/QEDNTzqn6uw==} + scheduler@0.27.0-canary-540cd652-20250403: + resolution: {integrity: sha512-v1Fz7vQAy9mJDd2en5aLu79YY9omeR37BxfL8VjnXALTIWr9/54W16+2QNnrDuol+mB889FkzbBwbnY0oWzggQ==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -15687,8 +15687,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -15702,7 +15702,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@babel/core': optional: true @@ -15786,7 +15786,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -16583,7 +16583,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -16591,13 +16591,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -16606,7 +16606,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -16616,7 +16616,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 peerDependenciesMeta: '@types/react': optional: true @@ -16624,7 +16624,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -19437,17 +19437,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(@types/react@19.0.8)(react@19.2.0-canary-040f8286-20250402)': + '@emotion/react@11.11.1(@types/react@19.0.8)(react@19.2.0-canary-540cd652-20250403)': dependencies: '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.2.0-canary-040f8286-20250402) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.2.0-canary-540cd652-20250403) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 optionalDependencies: '@types/react': 19.0.8 transitivePeerDependencies: @@ -19465,9 +19465,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.2.0-canary-040f8286-20250402)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.2.0-canary-540cd652-20250403)': dependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@emotion/utils@1.2.1': {} @@ -21011,11 +21011,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.2.0-canary-040f8286-20250402)': + '@mdx-js/react@2.2.1(react@19.2.0-canary-540cd652-20250403)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@mdx-js/react@2.2.1(react@19.2.0-canary-63779030-20250328)': dependencies: @@ -21023,11 +21023,11 @@ snapshots: '@types/react': 19.0.8 react: 19.2.0-canary-63779030-20250328 - '@mdx-js/react@3.1.0(@types/react@19.0.8)(react@19.2.0-canary-040f8286-20250402)': + '@mdx-js/react@3.1.0(@types/react@19.0.8)(react@19.2.0-canary-540cd652-20250403)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.0.8 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 '@module-federation/error-codes@0.11.1': {} @@ -21751,12 +21751,12 @@ snapshots: '@storybook/addon-docs@8.6.0(@types/react@19.0.8)(storybook@8.6.0(prettier@3.3.3))': dependencies: - '@mdx-js/react': 3.1.0(@types/react@19.0.8)(react@19.2.0-canary-040f8286-20250402) - '@storybook/blocks': 8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3)) + '@mdx-js/react': 3.1.0(@types/react@19.0.8)(react@19.2.0-canary-540cd652-20250403) + '@storybook/blocks': 8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3)) '@storybook/csf-plugin': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3)) - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3)) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) storybook: 8.6.0(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: @@ -21821,14 +21821,14 @@ snapshots: - '@swc/helpers' - webpack - '@storybook/blocks@8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))': + '@storybook/blocks@8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))': dependencies: - '@storybook/icons': 1.3.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402) + '@storybook/icons': 1.3.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403) storybook: 8.6.0(prettier@3.3.3) ts-dedent: 2.2.0 optionalDependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) '@storybook/builder-webpack5@8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: @@ -21907,10 +21907,10 @@ snapshots: '@storybook/global@5.0.0': {} - '@storybook/icons@1.3.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)': + '@storybook/icons@1.3.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)': dependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) '@storybook/instrumenter@8.6.0(storybook@8.6.0(prettier@3.3.3))': dependencies: @@ -21922,17 +21922,17 @@ snapshots: dependencies: storybook: 8.6.0(prettier@3.3.3) - '@storybook/preset-react-webpack@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/preset-react-webpack@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)) '@types/semver': 7.5.6 find-up: 5.0.0 magic-string: 0.30.17 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-docgen: 7.1.0 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) resolve: 1.22.8 semver: 7.6.3 storybook: 8.6.0(prettier@3.3.3) @@ -21966,19 +21966,19 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))': + '@storybook/react-dom-shim@8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))': dependencies: - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) storybook: 8.6.0(prettier@3.3.3) - '@storybook/react-webpack5@8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/react-webpack5@8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.3.0(@swc/helpers@0.5.15))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - '@storybook/preset-react-webpack': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + '@storybook/preset-react-webpack': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) storybook: 8.6.0(prettier@3.3.3) optionalDependencies: typescript: 5.8.2 @@ -21991,16 +21991,16 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/react@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/components': 8.6.0(storybook@8.6.0(prettier@3.3.3)) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.6.0(storybook@8.6.0(prettier@3.3.3)) '@storybook/preview-api': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(storybook@8.6.0(prettier@3.3.3)) + '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(storybook@8.6.0(prettier@3.3.3)) '@storybook/theming': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) storybook: 8.6.0(prettier@3.3.3) optionalDependencies: '@storybook/test': 8.6.0(storybook@8.6.0(prettier@3.3.3)) @@ -22274,13 +22274,13 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)': + '@testing-library/react@15.0.7(@types/react@19.0.8)(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': 19.0.3(@types/react@19.0.8) - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) optionalDependencies: '@types/react': 19.0.8 @@ -27978,7 +27978,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 homedir-polyfill@1.0.3: dependencies: @@ -32867,25 +32867,25 @@ snapshots: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 pretty-format@30.0.0-alpha.6: dependencies: '@jest/schemas': 30.0.0-alpha.6 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 pretty-ms@7.0.0: dependencies: @@ -32948,7 +32948,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.2.0-canary-040f8286-20250402 + react-is: 19.2.0-canary-540cd652-20250403 property-information@5.6.0: dependencies: @@ -33155,22 +33155,22 @@ snapshots: transitivePeerDependencies: - supports-color - react-dom@0.0.0-experimental-040f8286-20250402(react@19.2.0-canary-040f8286-20250402): + react-dom@0.0.0-experimental-540cd652-20250403(react@19.2.0-canary-540cd652-20250403): dependencies: - react: 19.2.0-canary-040f8286-20250402 - scheduler: 0.27.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + scheduler: 0.27.0-canary-540cd652-20250403 - react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402): + react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403): dependencies: - react: 19.2.0-canary-040f8286-20250402 - scheduler: 0.27.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + scheduler: 0.27.0-canary-540cd652-20250403 react-dom@19.2.0-canary-63779030-20250328(react@19.2.0-canary-63779030-20250328): dependencies: react: 19.2.0-canary-63779030-20250328 - scheduler: 0.27.0-canary-040f8286-20250402 + scheduler: 0.27.0-canary-540cd652-20250403 - react-is@19.2.0-canary-040f8286-20250402: {} + react-is@19.2.0-canary-540cd652-20250403: {} react-is@19.2.0-canary-63779030-20250328: {} @@ -33203,48 +33203,48 @@ snapshots: optionalDependencies: '@types/react': 19.0.8 - react-server-dom-turbopack@0.0.0-experimental-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402): + react-server-dom-turbopack@0.0.0-experimental-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) - react-server-dom-turbopack@19.2.0-canary-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402): + react-server-dom-turbopack@19.2.0-canary-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) - react-server-dom-webpack@0.0.0-experimental-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): + react-server-dom-webpack@0.0.0-experimental-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) webpack: 5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.2.0-canary-040f8286-20250402(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): + react-server-dom-webpack@19.2.0-canary-540cd652-20250403(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403)(webpack@5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) webpack: 5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.2.0-canary-040f8286-20250402): + react-shallow-renderer@16.15.0(react@19.2.0-canary-540cd652-20250403): dependencies: object-assign: 4.1.1 - react: 19.2.0-canary-040f8286-20250402 - react-is: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-is: 19.2.0-canary-540cd652-20250403 - react-ssr-prepass@1.0.8(react-is@19.2.0-canary-63779030-20250328)(react@19.2.0-canary-040f8286-20250402): + react-ssr-prepass@1.0.8(react-is@19.2.0-canary-63779030-20250328)(react@19.2.0-canary-540cd652-20250403): dependencies: object-is: 1.0.2 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 react-is: 19.2.0-canary-63779030-20250328 react-style-singleton@2.2.1(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328): @@ -33256,12 +33256,12 @@ snapshots: optionalDependencies: '@types/react': 19.0.8 - react-test-renderer@18.2.0(react@19.2.0-canary-040f8286-20250402): + react-test-renderer@18.2.0(react@19.2.0-canary-540cd652-20250403): dependencies: - react: 19.2.0-canary-040f8286-20250402 - react-is: 19.2.0-canary-040f8286-20250402 - react-shallow-renderer: 16.15.0(react@19.2.0-canary-040f8286-20250402) - scheduler: 0.27.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 + react-is: 19.2.0-canary-540cd652-20250403 + react-shallow-renderer: 16.15.0(react@19.2.0-canary-540cd652-20250403) + scheduler: 0.27.0-canary-540cd652-20250403 react-textarea-autosize@8.5.3(@types/react@19.0.8)(react@19.2.0-canary-63779030-20250328): dependencies: @@ -33272,20 +33272,20 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402): + react-virtualized@9.22.3(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403): dependencies: '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-040f8286-20250402: {} + react@0.0.0-experimental-540cd652-20250403: {} - react@19.2.0-canary-040f8286-20250402: {} + react@19.2.0-canary-540cd652-20250403: {} react@19.2.0-canary-63779030-20250328: {} @@ -34045,9 +34045,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-040f8286-20250402: {} + scheduler@0.0.0-experimental-540cd652-20250403: {} - scheduler@0.27.0-canary-040f8286-20250402: {} + scheduler@0.27.0-canary-540cd652-20250403: {} schema-utils@2.7.1: dependencies: @@ -34804,7 +34804,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402))(react@19.2.0-canary-040f8286-20250402): + styled-components@6.0.0-rc.3(react-dom@19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403))(react@19.2.0-canary-540cd652-20250403): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -34819,8 +34819,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.2.0-canary-040f8286-20250402 - react-dom: 19.2.0-canary-040f8286-20250402(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + react-dom: 19.2.0-canary-540cd652-20250403(react@19.2.0-canary-540cd652-20250403) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -34832,10 +34832,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-040f8286-20250402): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-540cd652-20250403): dependencies: client-only: 0.0.1 - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -34931,11 +34931,11 @@ snapshots: '@swc/counter': 0.1.3 webpack: 5.98.0(@swc/core@1.9.3(@swc/helpers@0.5.15))(esbuild@0.24.2) - swr@2.2.4(react@19.2.0-canary-040f8286-20250402): + swr@2.2.4(react@19.2.0-canary-540cd652-20250403): dependencies: client-only: 0.0.1 - react: 19.2.0-canary-040f8286-20250402 - use-sync-external-store: 1.2.0(react@19.2.0-canary-040f8286-20250402) + react: 19.2.0-canary-540cd652-20250403 + use-sync-external-store: 1.2.0(react@19.2.0-canary-540cd652-20250403) symbol-observable@1.0.1: {} @@ -35734,9 +35734,9 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - unistore@3.4.1(react@19.2.0-canary-040f8286-20250402): + unistore@3.4.1(react@19.2.0-canary-540cd652-20250403): optionalDependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 universal-github-app-jwt@1.1.1: dependencies: @@ -35862,9 +35862,9 @@ snapshots: optionalDependencies: '@types/react': 19.0.8 - use-sync-external-store@1.2.0(react@19.2.0-canary-040f8286-20250402): + use-sync-external-store@1.2.0(react@19.2.0-canary-540cd652-20250403): dependencies: - react: 19.2.0-canary-040f8286-20250402 + react: 19.2.0-canary-540cd652-20250403 util-deprecate@1.0.2: {} From 42b05778f5c8112062feb5dbb75ecf4336ed13b1 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Fri, 4 Apr 2025 16:24:31 +0000 Subject: [PATCH 6/6] ncc-compiled --- .../cjs/react-dom-client.development.js | 731 +++++++++++------ .../cjs/react-dom-client.production.js | 10 +- .../cjs/react-dom-profiling.development.js | 731 +++++++++++------ .../cjs/react-dom-profiling.profiling.js | 763 +++++++++++------- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom-unstable_testing.development.js | 731 +++++++++++------ .../react-dom-unstable_testing.production.js | 10 +- .../cjs/react-dom.development.js | 2 +- .../cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../react-dom-experimental/package.json | 4 +- .../cjs/react-dom-client.development.js | 431 +++++----- .../cjs/react-dom-client.production.js | 10 +- .../cjs/react-dom-profiling.development.js | 431 +++++----- .../cjs/react-dom-profiling.profiling.js | 196 +++-- ...t-dom-server-legacy.browser.development.js | 2 +- ...ct-dom-server-legacy.browser.production.js | 2 +- ...eact-dom-server-legacy.node.development.js | 2 +- ...react-dom-server-legacy.node.production.js | 2 +- .../react-dom-server.browser.development.js | 6 +- .../react-dom-server.browser.production.js | 6 +- .../cjs/react-dom-server.bun.production.js | 6 +- .../cjs/react-dom-server.edge.development.js | 6 +- .../cjs/react-dom-server.edge.production.js | 6 +- .../cjs/react-dom-server.node.development.js | 6 +- .../cjs/react-dom-server.node.production.js | 6 +- .../react-dom/cjs/react-dom.development.js | 2 +- .../react-dom/cjs/react-dom.production.js | 2 +- .../cjs/react-dom.react-server.development.js | 2 +- .../cjs/react-dom.react-server.production.js | 2 +- .../next/src/compiled/react-dom/package.json | 4 +- .../cjs/react.development.js | 2 +- .../cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/react-is/package.json | 2 +- ...om-turbopack-client.browser.development.js | 4 +- .../package.json | 4 +- ...om-turbopack-client.browser.development.js | 4 +- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-client.browser.development.js | 4 +- .../package.json | 4 +- ...-dom-webpack-client.browser.development.js | 4 +- .../react-server-dom-webpack/package.json | 4 +- .../compiled/react/cjs/react.development.js | 2 +- .../compiled/react/cjs/react.production.js | 2 +- .../cjs/react.react-server.development.js | 2 +- .../cjs/react.react-server.production.js | 2 +- .../next/src/compiled/unistore/unistore.js | 2 +- 60 files changed, 2646 insertions(+), 1574 deletions(-) diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 180dd80b2254..9066e8596d5e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -4671,6 +4671,16 @@ ? "Idle" : "Other"; } + function logComponentTrigger(fiber, startTime, endTime, trigger) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "warning"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(trigger, reusableComponentOptions)); + } + function logComponentReappeared(fiber, startTime, endTime) { + logComponentTrigger(fiber, startTime, endTime, "Reconnect"); + } function logComponentRender(fiber, startTime, endTime, wasHydrated) { var name = getComponentNameFromFiber(fiber); if (null !== name && supportsUserTiming) { @@ -4864,7 +4874,7 @@ ((reusableLaneDevToolDetails.color = "secondary-light"), (reusableLaneOptions.start = startTime), (reusableLaneOptions.end = endTime), - performance.measure("Suspended", reusableLaneOptions)); + performance.measure("Suspended on CSS", reusableLaneOptions)); } function logCommitErrored(startTime, endTime, errors, passive) { if (supportsUserTiming) { @@ -5198,12 +5208,19 @@ function pushComponentEffectStart() { var prevEffectStart = componentEffectStartTime; componentEffectStartTime = -1.1; - componentEffectDuration = -0; return prevEffectStart; } function popComponentEffectStart(prevEffectStart) { 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); } + function pushComponentEffectDuration() { + var prevEffectDuration = componentEffectDuration; + componentEffectDuration = -0; + return prevEffectDuration; + } + function popComponentEffectDuration(prevEffectDuration) { + 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration); + } function pushComponentEffectErrors() { var prevErrors = componentEffectErrors; componentEffectErrors = null; @@ -10178,33 +10195,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2845; - var JSCompiler_object_inline_stack_2844 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2890; + var JSCompiler_object_inline_stack_2889 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2842 = !1; + var JSCompiler_object_inline_message_2887 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2845 = didSuspend) || - (JSCompiler_object_inline_componentStack_2845 = + (JSCompiler_object_inline_componentStack_2890 = didSuspend) || + (JSCompiler_object_inline_componentStack_2890 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2845 && - ((JSCompiler_object_inline_message_2842 = !0), + JSCompiler_object_inline_componentStack_2890 && + ((JSCompiler_object_inline_message_2887 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2845 = + JSCompiler_object_inline_componentStack_2890 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2842 + JSCompiler_object_inline_message_2887 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2843 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2888 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2843)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2888)) { c: { - var instance = JSCompiler_object_inline_digest_2843; + var instance = JSCompiler_object_inline_digest_2888; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -10246,87 +10263,87 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2843 + JSCompiler_object_inline_digest_2888 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2843 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2888 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2843 && - ((JSCompiler_object_inline_digest_2843 = - JSCompiler_object_inline_digest_2843.dehydrated), - null !== JSCompiler_object_inline_digest_2843) + null !== JSCompiler_object_inline_digest_2888 && + ((JSCompiler_object_inline_digest_2888 = + JSCompiler_object_inline_digest_2888.dehydrated), + null !== JSCompiler_object_inline_digest_2888) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2843) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2888) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2843 = - JSCompiler_object_inline_stack_2844.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2844.fallback; - if (JSCompiler_object_inline_message_2842) + JSCompiler_object_inline_digest_2888 = + JSCompiler_object_inline_stack_2889.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2889.fallback; + if (JSCompiler_object_inline_message_2887) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2844 = + (JSCompiler_object_inline_stack_2889 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2843, + JSCompiler_object_inline_digest_2888, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2842 = workInProgress.child), - (JSCompiler_object_inline_message_2842.memoizedState = + (JSCompiler_object_inline_message_2887 = workInProgress.child), + (JSCompiler_object_inline_message_2887.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2842.childLanes = + (JSCompiler_object_inline_message_2887.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2845, + JSCompiler_object_inline_componentStack_2890, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2844.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2889.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2844 = + (JSCompiler_object_inline_stack_2889 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2843, + JSCompiler_object_inline_digest_2888, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2842 = workInProgress.child), - (JSCompiler_object_inline_message_2842.memoizedState = + (JSCompiler_object_inline_message_2887 = workInProgress.child), + (JSCompiler_object_inline_message_2887.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2842.childLanes = + (JSCompiler_object_inline_message_2887.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2845, + JSCompiler_object_inline_componentStack_2890, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2843 + JSCompiler_object_inline_digest_2888 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2843 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2843) + ((JSCompiler_object_inline_digest_2888 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2888) ) { if (didSuspend) workInProgress.flags & 256 @@ -10343,94 +10360,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2842 = - JSCompiler_object_inline_stack_2844.fallback), - (JSCompiler_object_inline_digest_2843 = workInProgress.mode), - (JSCompiler_object_inline_stack_2844 = + (JSCompiler_object_inline_message_2887 = + JSCompiler_object_inline_stack_2889.fallback), + (JSCompiler_object_inline_digest_2888 = workInProgress.mode), + (JSCompiler_object_inline_stack_2889 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2844.children + children: JSCompiler_object_inline_stack_2889.children }, - JSCompiler_object_inline_digest_2843 + JSCompiler_object_inline_digest_2888 )), - (JSCompiler_object_inline_message_2842 = + (JSCompiler_object_inline_message_2887 = createFiberFromFragment( - JSCompiler_object_inline_message_2842, - JSCompiler_object_inline_digest_2843, + JSCompiler_object_inline_message_2887, + JSCompiler_object_inline_digest_2888, renderLanes, null )), - (JSCompiler_object_inline_message_2842.flags |= 2), - (JSCompiler_object_inline_stack_2844.return = workInProgress), - (JSCompiler_object_inline_message_2842.return = workInProgress), - (JSCompiler_object_inline_stack_2844.sibling = - JSCompiler_object_inline_message_2842), - (workInProgress.child = JSCompiler_object_inline_stack_2844), + (JSCompiler_object_inline_message_2887.flags |= 2), + (JSCompiler_object_inline_stack_2889.return = workInProgress), + (JSCompiler_object_inline_message_2887.return = workInProgress), + (JSCompiler_object_inline_stack_2889.sibling = + JSCompiler_object_inline_message_2887), + (workInProgress.child = JSCompiler_object_inline_stack_2889), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2844 = workInProgress.child), - (JSCompiler_object_inline_stack_2844.memoizedState = + (JSCompiler_object_inline_stack_2889 = workInProgress.child), + (JSCompiler_object_inline_stack_2889.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2844.childLanes = + (JSCompiler_object_inline_stack_2889.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2845, + JSCompiler_object_inline_componentStack_2890, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2842)); + (workInProgress = JSCompiler_object_inline_message_2887)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2843)) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2888)) ) { - JSCompiler_object_inline_componentStack_2845 = - JSCompiler_object_inline_digest_2843.nextSibling && - JSCompiler_object_inline_digest_2843.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2845) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2845.dgst; - var message = JSCompiler_object_inline_componentStack_2845.msg; - instance = JSCompiler_object_inline_componentStack_2845.stck; + JSCompiler_object_inline_componentStack_2890 = + JSCompiler_object_inline_digest_2888.nextSibling && + JSCompiler_object_inline_digest_2888.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2890) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2890.dgst; + var message = JSCompiler_object_inline_componentStack_2890.msg; + instance = JSCompiler_object_inline_componentStack_2890.stck; var componentStack = - JSCompiler_object_inline_componentStack_2845.cstck; + JSCompiler_object_inline_componentStack_2890.cstck; } - JSCompiler_object_inline_message_2842 = message; - JSCompiler_object_inline_digest_2843 = JSCompiler_temp; - JSCompiler_object_inline_stack_2844 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2845 = + JSCompiler_object_inline_message_2887 = message; + JSCompiler_object_inline_digest_2888 = JSCompiler_temp; + JSCompiler_object_inline_stack_2889 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2890 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2843 && - ((JSCompiler_object_inline_componentStack_2845 = - JSCompiler_object_inline_message_2842 - ? Error(JSCompiler_object_inline_message_2842) + "POSTPONE" !== JSCompiler_object_inline_digest_2888 && + ((JSCompiler_object_inline_componentStack_2890 = + JSCompiler_object_inline_message_2887 + ? Error(JSCompiler_object_inline_message_2887) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_2845.stack = - JSCompiler_object_inline_stack_2844 || ""), - (JSCompiler_object_inline_componentStack_2845.digest = - JSCompiler_object_inline_digest_2843), - (JSCompiler_object_inline_stack_2844 = + (JSCompiler_object_inline_componentStack_2890.stack = + JSCompiler_object_inline_stack_2889 || ""), + (JSCompiler_object_inline_componentStack_2890.digest = + JSCompiler_object_inline_digest_2888), + (JSCompiler_object_inline_stack_2889 = void 0 === JSCompiler_temp ? null : JSCompiler_temp), - (JSCompiler_object_inline_message_2842 = { - value: JSCompiler_object_inline_componentStack_2845, + (JSCompiler_object_inline_message_2887 = { + value: JSCompiler_object_inline_componentStack_2890, source: null, - stack: JSCompiler_object_inline_stack_2844 + stack: JSCompiler_object_inline_stack_2889 }), - "string" === typeof JSCompiler_object_inline_stack_2844 && + "string" === typeof JSCompiler_object_inline_stack_2889 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2845, - JSCompiler_object_inline_message_2842 + JSCompiler_object_inline_componentStack_2890, + JSCompiler_object_inline_message_2887 ), - queueHydrationError(JSCompiler_object_inline_message_2842)); + queueHydrationError(JSCompiler_object_inline_message_2887)); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10444,44 +10461,44 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2845 = + (JSCompiler_object_inline_componentStack_2890 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2845) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2890) ) { - JSCompiler_object_inline_componentStack_2845 = workInProgressRoot; + JSCompiler_object_inline_componentStack_2890 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_2845 && - ((JSCompiler_object_inline_stack_2844 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2844 = - 0 !== (JSCompiler_object_inline_stack_2844 & 42) + null !== JSCompiler_object_inline_componentStack_2890 && + ((JSCompiler_object_inline_stack_2889 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2889 = + 0 !== (JSCompiler_object_inline_stack_2889 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 )), - (JSCompiler_object_inline_stack_2844 = + (JSCompiler_object_inline_stack_2889 = 0 !== - (JSCompiler_object_inline_stack_2844 & - (JSCompiler_object_inline_componentStack_2845.suspendedLanes | + (JSCompiler_object_inline_stack_2889 & + (JSCompiler_object_inline_componentStack_2890.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2844), - 0 !== JSCompiler_object_inline_stack_2844 && - JSCompiler_object_inline_stack_2844 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2889), + 0 !== JSCompiler_object_inline_stack_2889 && + JSCompiler_object_inline_stack_2889 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2844), + ((prevState.retryLane = JSCompiler_object_inline_stack_2889), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2845, + JSCompiler_object_inline_componentStack_2890, current, - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 ), SelectiveHydrationException) ); - JSCompiler_object_inline_digest_2843.data === + JSCompiler_object_inline_digest_2888.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10489,14 +10506,14 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2843.data === + JSCompiler_object_inline_digest_2888.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2843.nextSibling + JSCompiler_object_inline_digest_2888.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10514,54 +10531,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2844.children + JSCompiler_object_inline_stack_2889.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2842) + if (JSCompiler_object_inline_message_2887) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2842 = - JSCompiler_object_inline_stack_2844.fallback), - (JSCompiler_object_inline_digest_2843 = workInProgress.mode), + (JSCompiler_object_inline_message_2887 = + JSCompiler_object_inline_stack_2889.fallback), + (JSCompiler_object_inline_digest_2888 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2844 = createWorkInProgress( + (JSCompiler_object_inline_stack_2889 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2844.children + children: JSCompiler_object_inline_stack_2889.children } )), - (JSCompiler_object_inline_stack_2844.subtreeFlags = + (JSCompiler_object_inline_stack_2889.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_message_2842 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2887 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2842 + JSCompiler_object_inline_message_2887 )) - : ((JSCompiler_object_inline_message_2842 = createFiberFromFragment( - JSCompiler_object_inline_message_2842, - JSCompiler_object_inline_digest_2843, + : ((JSCompiler_object_inline_message_2887 = createFiberFromFragment( + JSCompiler_object_inline_message_2887, + JSCompiler_object_inline_digest_2888, renderLanes, null )), - (JSCompiler_object_inline_message_2842.flags |= 2)), - (JSCompiler_object_inline_message_2842.return = workInProgress), - (JSCompiler_object_inline_stack_2844.return = workInProgress), - (JSCompiler_object_inline_stack_2844.sibling = - JSCompiler_object_inline_message_2842), - (workInProgress.child = JSCompiler_object_inline_stack_2844), - (JSCompiler_object_inline_stack_2844 = - JSCompiler_object_inline_message_2842), - (JSCompiler_object_inline_message_2842 = workInProgress.child), - (JSCompiler_object_inline_digest_2843 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2843 - ? (JSCompiler_object_inline_digest_2843 = + (JSCompiler_object_inline_message_2887.flags |= 2)), + (JSCompiler_object_inline_message_2887.return = workInProgress), + (JSCompiler_object_inline_stack_2889.return = workInProgress), + (JSCompiler_object_inline_stack_2889.sibling = + JSCompiler_object_inline_message_2887), + (workInProgress.child = JSCompiler_object_inline_stack_2889), + (JSCompiler_object_inline_stack_2889 = + JSCompiler_object_inline_message_2887), + (JSCompiler_object_inline_message_2887 = workInProgress.child), + (JSCompiler_object_inline_digest_2888 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2888 + ? (JSCompiler_object_inline_digest_2888 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2843.cachePool), + JSCompiler_object_inline_digest_2888.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10569,38 +10586,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2843 = { + (JSCompiler_object_inline_digest_2888 = { baseLanes: - JSCompiler_object_inline_digest_2843.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2888.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2842.memoizedState = - JSCompiler_object_inline_digest_2843), - (JSCompiler_object_inline_message_2842.childLanes = + (JSCompiler_object_inline_message_2887.memoizedState = + JSCompiler_object_inline_digest_2888), + (JSCompiler_object_inline_message_2887.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2845, + JSCompiler_object_inline_componentStack_2890, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2844 + JSCompiler_object_inline_stack_2889 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2844.children + children: JSCompiler_object_inline_stack_2889.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2845 = + ((JSCompiler_object_inline_componentStack_2890 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2845 + null === JSCompiler_object_inline_componentStack_2890 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2845.push(current)); + : JSCompiler_object_inline_componentStack_2890.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13689,6 +13706,18 @@ mountedNamedViewTransitions.delete(name); } } + function isHydratingParent(current, finishedWork) { + return 13 === finishedWork.tag + ? ((current = current.memoizedState), + (finishedWork = finishedWork.memoizedState), + null !== current && + null !== current.dehydrated && + (null === finishedWork || null === finishedWork.dehydrated)) + : 3 === finishedWork.tag + ? current.memoizedState.isDehydrated && + 0 === (finishedWork.flags & 256) + : !1; + } function commitBeforeMutationEffects(root, firstChild, committedLanes) { root = root.containerInfo; eventsEnabled = _enabled; @@ -13912,6 +13941,7 @@ } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -14085,11 +14115,20 @@ offscreenSubtreeIsHidden = flags; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden - ? recursivelyTraverseReappearLayoutEffects( + ? (recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772) - ) + ), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevProps; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; @@ -14108,15 +14147,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function detachFiberAfterEffects(fiber) { @@ -14171,6 +14225,9 @@ err )); } + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -14183,8 +14240,8 @@ deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && - ((deletedFiber = deletedFiber.stateNode), - deletedFiber.parentNode.removeChild(deletedFiber)); + ((finishedRoot = deletedFiber.stateNode), + finishedRoot.parentNode.removeChild(finishedRoot)); break; case 27: offscreenSubtreeWasHidden || @@ -14367,6 +14424,20 @@ deletedFiber ); } + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -14439,6 +14510,7 @@ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -14468,6 +14540,17 @@ commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); @@ -14480,6 +14563,7 @@ } function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), current = finishedWork.alternate, flags = finishedWork.flags; @@ -14823,6 +14907,19 @@ recursivelyTraverseMutationEffects(root, finishedWork, lanes); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; + wasHidden && + !hoistableRoot && + !prevOffscreenSubtreeIsHidden && + !prevOffscreenSubtreeWasHidden && + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + ); commitReconciliationEffects(finishedWork); if (flags & 8192) a: for ( @@ -14830,12 +14927,22 @@ root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, - hoistableRoot && - (null === current || - wasHidden || - offscreenSubtreeIsHidden || - offscreenSubtreeWasHidden || - recursivelyTraverseDisappearLayoutEffects(finishedWork)), + !hoistableRoot || + null === current || + wasHidden || + offscreenSubtreeIsHidden || + offscreenSubtreeWasHidden || + (recursivelyTraverseDisappearLayoutEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )), current = null, root = finishedWork; ; @@ -14941,15 +15048,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function commitReconciliationEffects(finishedWork) { @@ -15055,6 +15177,7 @@ } function disappearLayoutEffects(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15119,6 +15242,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { @@ -15133,6 +15257,7 @@ includeWorkInProgressEffects ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -15283,6 +15408,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReappearLayoutEffects( @@ -15361,6 +15487,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; @@ -15419,7 +15546,7 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(), + var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; inHydratedSubtree = null !== finishedWork.alternate && @@ -15443,12 +15570,13 @@ committedTransitions !== committedLanes && (retainCache(committedTransitions), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { - isViewTransitionEligible = pushNestedEffectDurations(); + flags = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15457,9 +15585,8 @@ endTime ); finishedRoot = finishedWork.stateNode; - finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations( - isViewTransitionEligible - ); + finishedRoot.passiveEffectDuration += + bubbleNestedEffectDurations(flags); try { runWithFiberInDEV( finishedWork, @@ -15482,29 +15609,30 @@ ); break; case 13: - isViewTransitionEligible = inHydratedSubtree; - flags = + flags = inHydratedSubtree; + isViewTransitionEligible = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - prevEffectDuration = finishedWork.memoizedState; - null === flags || - null === flags.dehydrated || - (null !== prevEffectDuration && - null !== prevEffectDuration.dehydrated) + prevProfilerEffectDuration = finishedWork.memoizedState; + null === isViewTransitionEligible || + null === isViewTransitionEligible.dehydrated || + (null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.dehydrated) ? (inHydratedSubtree = !1) - : ((prevEffectDuration = finishedWork.deletions), - null !== prevEffectDuration && - 0 < prevEffectDuration.length && - 18 === prevEffectDuration[0].tag + : ((prevProfilerEffectDuration = finishedWork.deletions), + null !== prevProfilerEffectDuration && + 0 < prevProfilerEffectDuration.length && + 18 === prevProfilerEffectDuration[0].tag ? ((inHydratedSubtree = !1), - (flags = flags.hydrationErrors), - null !== flags && + (isViewTransitionEligible = + isViewTransitionEligible.hydrationErrors), + null !== isViewTransitionEligible && logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime, - flags + isViewTransitionEligible )) : (inHydratedSubtree = !0)); recursivelyTraversePassiveMountEffects( @@ -15514,19 +15642,20 @@ committedTransitions, endTime ); - inHydratedSubtree = isViewTransitionEligible; + inHydratedSubtree = flags; break; case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; - wasInHydratedSubtree = finishedWork.alternate; + wasInHydratedSubtree = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState ? (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null === wasInHydratedSubtree.memoizedState && - restoreEnterOrExitViewTransitions(wasInHydratedSubtree), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + null !== prevProfilerEffectDuration && + null === prevProfilerEffectDuration.memoizedState && + restoreEnterOrExitViewTransitions(prevProfilerEffectDuration), + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15542,10 +15671,11 @@ endTime )) : (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null !== wasInHydratedSubtree.memoizedState && + null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(finishedWork), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15553,7 +15683,7 @@ committedTransitions, endTime ) - : ((prevEffectDuration._visibility |= + : ((wasInHydratedSubtree._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -15562,10 +15692,28 @@ committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256), endTime - ))); + ), + (finishedWork.mode & ProfileMode) === NoMode || + inHydratedSubtree || + ((finishedRoot = finishedWork.actualStartTime), + 0.05 < endTime - finishedRoot && + logComponentReappeared( + finishedWork, + finishedRoot, + endTime + ), + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < + componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )))); flags & 2048 && commitOffscreenPassiveMountEffects( - wasInHydratedSubtree, + prevProfilerEffectDuration, finishedWork ); break; @@ -15582,12 +15730,9 @@ break; case 30: isViewTransitionEligible && - ((isViewTransitionEligible = finishedWork.alternate), - null !== isViewTransitionEligible && - (restoreViewTransitionOnHostInstances( - isViewTransitionEligible.child, - !0 - ), + ((flags = finishedWork.alternate), + null !== flags && + (restoreViewTransitionOnHostInstances(flags.child, !0), restoreViewTransitionOnHostInstances(finishedWork.child, !0))); recursivelyTraversePassiveMountEffects( finishedRoot, @@ -15606,18 +15751,43 @@ endTime ); } - (finishedWork.mode & ProfileMode) !== NoMode && + if ((finishedWork.mode & ProfileMode) !== NoMode) { + if ( + (finishedRoot = + !inHydratedSubtree && + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate) + ) + (committedLanes = finishedWork.actualStartTime), + 0.05 < endTime - committedLanes && + logComponentTrigger( + finishedWork, + committedLanes, + endTime, + "Mount" + ); 0 <= componentEffectStartTime && - 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + 0 <= componentEffectEndTime && + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + finishedRoot && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + )); + } popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReconnectPassiveEffects( @@ -15653,6 +15823,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && @@ -15750,6 +15921,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseAtomicPassiveEffects( @@ -15892,12 +16064,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -15908,6 +16092,7 @@ } function commitPassiveUnmountOnFiber(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15922,25 +16107,36 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + popNestedEffectDurations(prevProfilerEffectDuration); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= + ? ((prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected), - recursivelyTraverseDisconnectPassiveEffects(finishedWork)) + recursivelyTraverseDisconnectPassiveEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: @@ -15958,6 +16154,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { @@ -15965,12 +16162,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -15979,6 +16188,9 @@ (parentFiber = parentFiber.sibling); } function disconnectPassiveEffect(finishedWork) { + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: case 11: @@ -15999,6 +16211,20 @@ default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, @@ -16009,6 +16235,7 @@ current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (current.tag) { case 0: @@ -16043,6 +16270,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; current = fiber.child; if (null !== current) (current.return = fiber), (nextEffect = current); @@ -16050,18 +16278,18 @@ a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { current = nextEffect; prevEffectStart = current.sibling; - prevEffectErrors = current.return; + prevEffectDuration = current.return; detachFiberAfterEffects(current); if (current === fiber) { nextEffect = null; break a; } if (null !== prevEffectStart) { - prevEffectStart.return = prevEffectErrors; + prevEffectStart.return = prevEffectDuration; nextEffect = prevEffectStart; break a; } - nextEffect = prevEffectErrors; + nextEffect = prevEffectDuration; } } } @@ -16829,7 +17057,7 @@ default: if (((startTime = yieldStartTime), supportsUserTiming)) { var yieldDuration = yieldEndTime - startTime; - 1 > yieldDuration || + 3 > yieldDuration || ((reusableComponentDevToolDetails.color = 5 > yieldDuration ? "primary-light" @@ -17318,7 +17546,11 @@ (reusableLaneOptions.start = previousRenderStartTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), performance.measure( - isSpawnedUpdate ? "Cascade" : "Blocked", + isSpawnedUpdate + ? "Cascading Update" + : 5 < renderStartTime$jscomp$0 - previousRenderStartTime + ? "Update Blocked" + : "Update", reusableLaneOptions ))); blockingSuspendedTime = blockingUpdateTime = -1.1; @@ -17381,7 +17613,12 @@ ((reusableLaneDevToolDetails.color = "primary-light"), (reusableLaneOptions.start = endTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), - performance.measure("Blocked", reusableLaneOptions))), + performance.measure( + 5 < renderStartTime$jscomp$0 - endTime + ? "Update Blocked" + : "Update", + reusableLaneOptions + ))), (transitionSuspendedTime = transitionUpdateTime = transitionStartTime = @@ -28911,11 +29148,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28952,10 +29189,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29097,7 +29334,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index 24b455c473f4..f3b5ceceed49 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -18204,14 +18204,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version; if ( - "19.2.0-experimental-040f8286-20250402" !== + "19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion$jscomp$inline_2003 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2003, - "19.2.0-experimental-040f8286-20250402" + "19.2.0-experimental-540cd652-20250403" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -18233,10 +18233,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2620 = { bundleType: 0, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2621 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18340,4 +18340,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 9cc0de5ca0db..d83de1b9d23d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -4679,6 +4679,16 @@ ? "Idle" : "Other"; } + function logComponentTrigger(fiber, startTime, endTime, trigger) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "warning"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(trigger, reusableComponentOptions)); + } + function logComponentReappeared(fiber, startTime, endTime) { + logComponentTrigger(fiber, startTime, endTime, "Reconnect"); + } function logComponentRender(fiber, startTime, endTime, wasHydrated) { var name = getComponentNameFromFiber(fiber); if (null !== name && supportsUserTiming) { @@ -4872,7 +4882,7 @@ ((reusableLaneDevToolDetails.color = "secondary-light"), (reusableLaneOptions.start = startTime), (reusableLaneOptions.end = endTime), - performance.measure("Suspended", reusableLaneOptions)); + performance.measure("Suspended on CSS", reusableLaneOptions)); } function logCommitErrored(startTime, endTime, errors, passive) { if (supportsUserTiming) { @@ -5206,12 +5216,19 @@ function pushComponentEffectStart() { var prevEffectStart = componentEffectStartTime; componentEffectStartTime = -1.1; - componentEffectDuration = -0; return prevEffectStart; } function popComponentEffectStart(prevEffectStart) { 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); } + function pushComponentEffectDuration() { + var prevEffectDuration = componentEffectDuration; + componentEffectDuration = -0; + return prevEffectDuration; + } + function popComponentEffectDuration(prevEffectDuration) { + 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration); + } function pushComponentEffectErrors() { var prevErrors = componentEffectErrors; componentEffectErrors = null; @@ -10186,33 +10203,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2850; - var JSCompiler_object_inline_stack_2849 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2895; + var JSCompiler_object_inline_stack_2894 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2847 = !1; + var JSCompiler_object_inline_message_2892 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2850 = didSuspend) || - (JSCompiler_object_inline_componentStack_2850 = + (JSCompiler_object_inline_componentStack_2895 = didSuspend) || + (JSCompiler_object_inline_componentStack_2895 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2850 && - ((JSCompiler_object_inline_message_2847 = !0), + JSCompiler_object_inline_componentStack_2895 && + ((JSCompiler_object_inline_message_2892 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2850 = + JSCompiler_object_inline_componentStack_2895 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2847 + JSCompiler_object_inline_message_2892 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2848 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2893 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2848)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2893)) { c: { - var instance = JSCompiler_object_inline_digest_2848; + var instance = JSCompiler_object_inline_digest_2893; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -10254,87 +10271,87 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2848 + JSCompiler_object_inline_digest_2893 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2848 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2893 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2848 && - ((JSCompiler_object_inline_digest_2848 = - JSCompiler_object_inline_digest_2848.dehydrated), - null !== JSCompiler_object_inline_digest_2848) + null !== JSCompiler_object_inline_digest_2893 && + ((JSCompiler_object_inline_digest_2893 = + JSCompiler_object_inline_digest_2893.dehydrated), + null !== JSCompiler_object_inline_digest_2893) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2848) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2893) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2848 = - JSCompiler_object_inline_stack_2849.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2849.fallback; - if (JSCompiler_object_inline_message_2847) + JSCompiler_object_inline_digest_2893 = + JSCompiler_object_inline_stack_2894.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2894.fallback; + if (JSCompiler_object_inline_message_2892) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2849 = + (JSCompiler_object_inline_stack_2894 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2848, + JSCompiler_object_inline_digest_2893, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2847 = workInProgress.child), - (JSCompiler_object_inline_message_2847.memoizedState = + (JSCompiler_object_inline_message_2892 = workInProgress.child), + (JSCompiler_object_inline_message_2892.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2847.childLanes = + (JSCompiler_object_inline_message_2892.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2850, + JSCompiler_object_inline_componentStack_2895, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2849.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2894.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2849 = + (JSCompiler_object_inline_stack_2894 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2848, + JSCompiler_object_inline_digest_2893, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2847 = workInProgress.child), - (JSCompiler_object_inline_message_2847.memoizedState = + (JSCompiler_object_inline_message_2892 = workInProgress.child), + (JSCompiler_object_inline_message_2892.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2847.childLanes = + (JSCompiler_object_inline_message_2892.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2850, + JSCompiler_object_inline_componentStack_2895, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2848 + JSCompiler_object_inline_digest_2893 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2848 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2848) + ((JSCompiler_object_inline_digest_2893 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2893) ) { if (didSuspend) workInProgress.flags & 256 @@ -10351,94 +10368,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2847 = - JSCompiler_object_inline_stack_2849.fallback), - (JSCompiler_object_inline_digest_2848 = workInProgress.mode), - (JSCompiler_object_inline_stack_2849 = + (JSCompiler_object_inline_message_2892 = + JSCompiler_object_inline_stack_2894.fallback), + (JSCompiler_object_inline_digest_2893 = workInProgress.mode), + (JSCompiler_object_inline_stack_2894 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2849.children + children: JSCompiler_object_inline_stack_2894.children }, - JSCompiler_object_inline_digest_2848 + JSCompiler_object_inline_digest_2893 )), - (JSCompiler_object_inline_message_2847 = + (JSCompiler_object_inline_message_2892 = createFiberFromFragment( - JSCompiler_object_inline_message_2847, - JSCompiler_object_inline_digest_2848, + JSCompiler_object_inline_message_2892, + JSCompiler_object_inline_digest_2893, renderLanes, null )), - (JSCompiler_object_inline_message_2847.flags |= 2), - (JSCompiler_object_inline_stack_2849.return = workInProgress), - (JSCompiler_object_inline_message_2847.return = workInProgress), - (JSCompiler_object_inline_stack_2849.sibling = - JSCompiler_object_inline_message_2847), - (workInProgress.child = JSCompiler_object_inline_stack_2849), + (JSCompiler_object_inline_message_2892.flags |= 2), + (JSCompiler_object_inline_stack_2894.return = workInProgress), + (JSCompiler_object_inline_message_2892.return = workInProgress), + (JSCompiler_object_inline_stack_2894.sibling = + JSCompiler_object_inline_message_2892), + (workInProgress.child = JSCompiler_object_inline_stack_2894), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2849 = workInProgress.child), - (JSCompiler_object_inline_stack_2849.memoizedState = + (JSCompiler_object_inline_stack_2894 = workInProgress.child), + (JSCompiler_object_inline_stack_2894.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2849.childLanes = + (JSCompiler_object_inline_stack_2894.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2850, + JSCompiler_object_inline_componentStack_2895, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2847)); + (workInProgress = JSCompiler_object_inline_message_2892)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2848)) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2893)) ) { - JSCompiler_object_inline_componentStack_2850 = - JSCompiler_object_inline_digest_2848.nextSibling && - JSCompiler_object_inline_digest_2848.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2850) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2850.dgst; - var message = JSCompiler_object_inline_componentStack_2850.msg; - instance = JSCompiler_object_inline_componentStack_2850.stck; + JSCompiler_object_inline_componentStack_2895 = + JSCompiler_object_inline_digest_2893.nextSibling && + JSCompiler_object_inline_digest_2893.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2895) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2895.dgst; + var message = JSCompiler_object_inline_componentStack_2895.msg; + instance = JSCompiler_object_inline_componentStack_2895.stck; var componentStack = - JSCompiler_object_inline_componentStack_2850.cstck; + JSCompiler_object_inline_componentStack_2895.cstck; } - JSCompiler_object_inline_message_2847 = message; - JSCompiler_object_inline_digest_2848 = JSCompiler_temp; - JSCompiler_object_inline_stack_2849 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2850 = + JSCompiler_object_inline_message_2892 = message; + JSCompiler_object_inline_digest_2893 = JSCompiler_temp; + JSCompiler_object_inline_stack_2894 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2895 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2848 && - ((JSCompiler_object_inline_componentStack_2850 = - JSCompiler_object_inline_message_2847 - ? Error(JSCompiler_object_inline_message_2847) + "POSTPONE" !== JSCompiler_object_inline_digest_2893 && + ((JSCompiler_object_inline_componentStack_2895 = + JSCompiler_object_inline_message_2892 + ? Error(JSCompiler_object_inline_message_2892) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_2850.stack = - JSCompiler_object_inline_stack_2849 || ""), - (JSCompiler_object_inline_componentStack_2850.digest = - JSCompiler_object_inline_digest_2848), - (JSCompiler_object_inline_stack_2849 = + (JSCompiler_object_inline_componentStack_2895.stack = + JSCompiler_object_inline_stack_2894 || ""), + (JSCompiler_object_inline_componentStack_2895.digest = + JSCompiler_object_inline_digest_2893), + (JSCompiler_object_inline_stack_2894 = void 0 === JSCompiler_temp ? null : JSCompiler_temp), - (JSCompiler_object_inline_message_2847 = { - value: JSCompiler_object_inline_componentStack_2850, + (JSCompiler_object_inline_message_2892 = { + value: JSCompiler_object_inline_componentStack_2895, source: null, - stack: JSCompiler_object_inline_stack_2849 + stack: JSCompiler_object_inline_stack_2894 }), - "string" === typeof JSCompiler_object_inline_stack_2849 && + "string" === typeof JSCompiler_object_inline_stack_2894 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2850, - JSCompiler_object_inline_message_2847 + JSCompiler_object_inline_componentStack_2895, + JSCompiler_object_inline_message_2892 ), - queueHydrationError(JSCompiler_object_inline_message_2847)); + queueHydrationError(JSCompiler_object_inline_message_2892)); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10452,44 +10469,44 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2850 = + (JSCompiler_object_inline_componentStack_2895 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2850) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2895) ) { - JSCompiler_object_inline_componentStack_2850 = workInProgressRoot; + JSCompiler_object_inline_componentStack_2895 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_2850 && - ((JSCompiler_object_inline_stack_2849 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2849 = - 0 !== (JSCompiler_object_inline_stack_2849 & 42) + null !== JSCompiler_object_inline_componentStack_2895 && + ((JSCompiler_object_inline_stack_2894 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2894 = + 0 !== (JSCompiler_object_inline_stack_2894 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 )), - (JSCompiler_object_inline_stack_2849 = + (JSCompiler_object_inline_stack_2894 = 0 !== - (JSCompiler_object_inline_stack_2849 & - (JSCompiler_object_inline_componentStack_2850.suspendedLanes | + (JSCompiler_object_inline_stack_2894 & + (JSCompiler_object_inline_componentStack_2895.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2849), - 0 !== JSCompiler_object_inline_stack_2849 && - JSCompiler_object_inline_stack_2849 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2894), + 0 !== JSCompiler_object_inline_stack_2894 && + JSCompiler_object_inline_stack_2894 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2849), + ((prevState.retryLane = JSCompiler_object_inline_stack_2894), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2850, + JSCompiler_object_inline_componentStack_2895, current, - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 ), SelectiveHydrationException) ); - JSCompiler_object_inline_digest_2848.data === + JSCompiler_object_inline_digest_2893.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10497,14 +10514,14 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2848.data === + JSCompiler_object_inline_digest_2893.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2848.nextSibling + JSCompiler_object_inline_digest_2893.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10522,54 +10539,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2849.children + JSCompiler_object_inline_stack_2894.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2847) + if (JSCompiler_object_inline_message_2892) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2847 = - JSCompiler_object_inline_stack_2849.fallback), - (JSCompiler_object_inline_digest_2848 = workInProgress.mode), + (JSCompiler_object_inline_message_2892 = + JSCompiler_object_inline_stack_2894.fallback), + (JSCompiler_object_inline_digest_2893 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2849 = createWorkInProgress( + (JSCompiler_object_inline_stack_2894 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2849.children + children: JSCompiler_object_inline_stack_2894.children } )), - (JSCompiler_object_inline_stack_2849.subtreeFlags = + (JSCompiler_object_inline_stack_2894.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_message_2847 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2892 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2847 + JSCompiler_object_inline_message_2892 )) - : ((JSCompiler_object_inline_message_2847 = createFiberFromFragment( - JSCompiler_object_inline_message_2847, - JSCompiler_object_inline_digest_2848, + : ((JSCompiler_object_inline_message_2892 = createFiberFromFragment( + JSCompiler_object_inline_message_2892, + JSCompiler_object_inline_digest_2893, renderLanes, null )), - (JSCompiler_object_inline_message_2847.flags |= 2)), - (JSCompiler_object_inline_message_2847.return = workInProgress), - (JSCompiler_object_inline_stack_2849.return = workInProgress), - (JSCompiler_object_inline_stack_2849.sibling = - JSCompiler_object_inline_message_2847), - (workInProgress.child = JSCompiler_object_inline_stack_2849), - (JSCompiler_object_inline_stack_2849 = - JSCompiler_object_inline_message_2847), - (JSCompiler_object_inline_message_2847 = workInProgress.child), - (JSCompiler_object_inline_digest_2848 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2848 - ? (JSCompiler_object_inline_digest_2848 = + (JSCompiler_object_inline_message_2892.flags |= 2)), + (JSCompiler_object_inline_message_2892.return = workInProgress), + (JSCompiler_object_inline_stack_2894.return = workInProgress), + (JSCompiler_object_inline_stack_2894.sibling = + JSCompiler_object_inline_message_2892), + (workInProgress.child = JSCompiler_object_inline_stack_2894), + (JSCompiler_object_inline_stack_2894 = + JSCompiler_object_inline_message_2892), + (JSCompiler_object_inline_message_2892 = workInProgress.child), + (JSCompiler_object_inline_digest_2893 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2893 + ? (JSCompiler_object_inline_digest_2893 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2848.cachePool), + JSCompiler_object_inline_digest_2893.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10577,38 +10594,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2848 = { + (JSCompiler_object_inline_digest_2893 = { baseLanes: - JSCompiler_object_inline_digest_2848.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2893.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2847.memoizedState = - JSCompiler_object_inline_digest_2848), - (JSCompiler_object_inline_message_2847.childLanes = + (JSCompiler_object_inline_message_2892.memoizedState = + JSCompiler_object_inline_digest_2893), + (JSCompiler_object_inline_message_2892.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2850, + JSCompiler_object_inline_componentStack_2895, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2849 + JSCompiler_object_inline_stack_2894 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2849.children + children: JSCompiler_object_inline_stack_2894.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2850 = + ((JSCompiler_object_inline_componentStack_2895 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2850 + null === JSCompiler_object_inline_componentStack_2895 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2850.push(current)); + : JSCompiler_object_inline_componentStack_2895.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13697,6 +13714,18 @@ mountedNamedViewTransitions.delete(name); } } + function isHydratingParent(current, finishedWork) { + return 13 === finishedWork.tag + ? ((current = current.memoizedState), + (finishedWork = finishedWork.memoizedState), + null !== current && + null !== current.dehydrated && + (null === finishedWork || null === finishedWork.dehydrated)) + : 3 === finishedWork.tag + ? current.memoizedState.isDehydrated && + 0 === (finishedWork.flags & 256) + : !1; + } function commitBeforeMutationEffects(root, firstChild, committedLanes) { root = root.containerInfo; eventsEnabled = _enabled; @@ -13920,6 +13949,7 @@ } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -14093,11 +14123,20 @@ offscreenSubtreeIsHidden = flags; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden - ? recursivelyTraverseReappearLayoutEffects( + ? (recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772) - ) + ), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevProps; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; @@ -14116,15 +14155,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function detachFiberAfterEffects(fiber) { @@ -14179,6 +14233,9 @@ err )); } + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -14191,8 +14248,8 @@ deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && - ((deletedFiber = deletedFiber.stateNode), - deletedFiber.parentNode.removeChild(deletedFiber)); + ((finishedRoot = deletedFiber.stateNode), + finishedRoot.parentNode.removeChild(finishedRoot)); break; case 27: offscreenSubtreeWasHidden || @@ -14375,6 +14432,20 @@ deletedFiber ); } + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -14447,6 +14518,7 @@ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -14476,6 +14548,17 @@ commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); @@ -14488,6 +14571,7 @@ } function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), current = finishedWork.alternate, flags = finishedWork.flags; @@ -14831,6 +14915,19 @@ recursivelyTraverseMutationEffects(root, finishedWork, lanes); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; + wasHidden && + !hoistableRoot && + !prevOffscreenSubtreeIsHidden && + !prevOffscreenSubtreeWasHidden && + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + ); commitReconciliationEffects(finishedWork); if (flags & 8192) a: for ( @@ -14838,12 +14935,22 @@ root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, - hoistableRoot && - (null === current || - wasHidden || - offscreenSubtreeIsHidden || - offscreenSubtreeWasHidden || - recursivelyTraverseDisappearLayoutEffects(finishedWork)), + !hoistableRoot || + null === current || + wasHidden || + offscreenSubtreeIsHidden || + offscreenSubtreeWasHidden || + (recursivelyTraverseDisappearLayoutEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )), current = null, root = finishedWork; ; @@ -14949,15 +15056,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function commitReconciliationEffects(finishedWork) { @@ -15063,6 +15185,7 @@ } function disappearLayoutEffects(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15127,6 +15250,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { @@ -15141,6 +15265,7 @@ includeWorkInProgressEffects ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -15291,6 +15416,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReappearLayoutEffects( @@ -15369,6 +15495,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; @@ -15427,7 +15554,7 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(), + var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; inHydratedSubtree = null !== finishedWork.alternate && @@ -15451,12 +15578,13 @@ committedTransitions !== committedLanes && (retainCache(committedTransitions), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { - isViewTransitionEligible = pushNestedEffectDurations(); + flags = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15465,9 +15593,8 @@ endTime ); finishedRoot = finishedWork.stateNode; - finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations( - isViewTransitionEligible - ); + finishedRoot.passiveEffectDuration += + bubbleNestedEffectDurations(flags); try { runWithFiberInDEV( finishedWork, @@ -15490,29 +15617,30 @@ ); break; case 13: - isViewTransitionEligible = inHydratedSubtree; - flags = + flags = inHydratedSubtree; + isViewTransitionEligible = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - prevEffectDuration = finishedWork.memoizedState; - null === flags || - null === flags.dehydrated || - (null !== prevEffectDuration && - null !== prevEffectDuration.dehydrated) + prevProfilerEffectDuration = finishedWork.memoizedState; + null === isViewTransitionEligible || + null === isViewTransitionEligible.dehydrated || + (null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.dehydrated) ? (inHydratedSubtree = !1) - : ((prevEffectDuration = finishedWork.deletions), - null !== prevEffectDuration && - 0 < prevEffectDuration.length && - 18 === prevEffectDuration[0].tag + : ((prevProfilerEffectDuration = finishedWork.deletions), + null !== prevProfilerEffectDuration && + 0 < prevProfilerEffectDuration.length && + 18 === prevProfilerEffectDuration[0].tag ? ((inHydratedSubtree = !1), - (flags = flags.hydrationErrors), - null !== flags && + (isViewTransitionEligible = + isViewTransitionEligible.hydrationErrors), + null !== isViewTransitionEligible && logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime, - flags + isViewTransitionEligible )) : (inHydratedSubtree = !0)); recursivelyTraversePassiveMountEffects( @@ -15522,19 +15650,20 @@ committedTransitions, endTime ); - inHydratedSubtree = isViewTransitionEligible; + inHydratedSubtree = flags; break; case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; - wasInHydratedSubtree = finishedWork.alternate; + wasInHydratedSubtree = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState ? (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null === wasInHydratedSubtree.memoizedState && - restoreEnterOrExitViewTransitions(wasInHydratedSubtree), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + null !== prevProfilerEffectDuration && + null === prevProfilerEffectDuration.memoizedState && + restoreEnterOrExitViewTransitions(prevProfilerEffectDuration), + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15550,10 +15679,11 @@ endTime )) : (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null !== wasInHydratedSubtree.memoizedState && + null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(finishedWork), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15561,7 +15691,7 @@ committedTransitions, endTime ) - : ((prevEffectDuration._visibility |= + : ((wasInHydratedSubtree._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -15570,10 +15700,28 @@ committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256), endTime - ))); + ), + (finishedWork.mode & ProfileMode) === NoMode || + inHydratedSubtree || + ((finishedRoot = finishedWork.actualStartTime), + 0.05 < endTime - finishedRoot && + logComponentReappeared( + finishedWork, + finishedRoot, + endTime + ), + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < + componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )))); flags & 2048 && commitOffscreenPassiveMountEffects( - wasInHydratedSubtree, + prevProfilerEffectDuration, finishedWork ); break; @@ -15590,12 +15738,9 @@ break; case 30: isViewTransitionEligible && - ((isViewTransitionEligible = finishedWork.alternate), - null !== isViewTransitionEligible && - (restoreViewTransitionOnHostInstances( - isViewTransitionEligible.child, - !0 - ), + ((flags = finishedWork.alternate), + null !== flags && + (restoreViewTransitionOnHostInstances(flags.child, !0), restoreViewTransitionOnHostInstances(finishedWork.child, !0))); recursivelyTraversePassiveMountEffects( finishedRoot, @@ -15614,18 +15759,43 @@ endTime ); } - (finishedWork.mode & ProfileMode) !== NoMode && + if ((finishedWork.mode & ProfileMode) !== NoMode) { + if ( + (finishedRoot = + !inHydratedSubtree && + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate) + ) + (committedLanes = finishedWork.actualStartTime), + 0.05 < endTime - committedLanes && + logComponentTrigger( + finishedWork, + committedLanes, + endTime, + "Mount" + ); 0 <= componentEffectStartTime && - 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + 0 <= componentEffectEndTime && + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + finishedRoot && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + )); + } popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReconnectPassiveEffects( @@ -15661,6 +15831,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && @@ -15758,6 +15929,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseAtomicPassiveEffects( @@ -15900,12 +16072,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -15916,6 +16100,7 @@ } function commitPassiveUnmountOnFiber(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15930,25 +16115,36 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + popNestedEffectDurations(prevProfilerEffectDuration); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= + ? ((prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected), - recursivelyTraverseDisconnectPassiveEffects(finishedWork)) + recursivelyTraverseDisconnectPassiveEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: @@ -15966,6 +16162,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { @@ -15973,12 +16170,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -15987,6 +16196,9 @@ (parentFiber = parentFiber.sibling); } function disconnectPassiveEffect(finishedWork) { + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: case 11: @@ -16007,6 +16219,20 @@ default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, @@ -16017,6 +16243,7 @@ current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (current.tag) { case 0: @@ -16051,6 +16278,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; current = fiber.child; if (null !== current) (current.return = fiber), (nextEffect = current); @@ -16058,18 +16286,18 @@ a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { current = nextEffect; prevEffectStart = current.sibling; - prevEffectErrors = current.return; + prevEffectDuration = current.return; detachFiberAfterEffects(current); if (current === fiber) { nextEffect = null; break a; } if (null !== prevEffectStart) { - prevEffectStart.return = prevEffectErrors; + prevEffectStart.return = prevEffectDuration; nextEffect = prevEffectStart; break a; } - nextEffect = prevEffectErrors; + nextEffect = prevEffectDuration; } } } @@ -16837,7 +17065,7 @@ default: if (((startTime = yieldStartTime), supportsUserTiming)) { var yieldDuration = yieldEndTime - startTime; - 1 > yieldDuration || + 3 > yieldDuration || ((reusableComponentDevToolDetails.color = 5 > yieldDuration ? "primary-light" @@ -17326,7 +17554,11 @@ (reusableLaneOptions.start = previousRenderStartTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), performance.measure( - isSpawnedUpdate ? "Cascade" : "Blocked", + isSpawnedUpdate + ? "Cascading Update" + : 5 < renderStartTime$jscomp$0 - previousRenderStartTime + ? "Update Blocked" + : "Update", reusableLaneOptions ))); blockingSuspendedTime = blockingUpdateTime = -1.1; @@ -17389,7 +17621,12 @@ ((reusableLaneDevToolDetails.color = "primary-light"), (reusableLaneOptions.start = endTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), - performance.measure("Blocked", reusableLaneOptions))), + performance.measure( + 5 < renderStartTime$jscomp$0 - endTime + ? "Update Blocked" + : "Update", + reusableLaneOptions + ))), (transitionSuspendedTime = transitionUpdateTime = transitionStartTime = @@ -28964,11 +29201,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29005,10 +29242,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29480,7 +29717,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index ee3f28abbe52..8dcc759cba14 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -3095,6 +3095,16 @@ var blockingLaneMarker = { } } }; +function logComponentTrigger(fiber, startTime, endTime, trigger) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "warning"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(trigger, reusableComponentOptions)); +} +function logComponentReappeared(fiber, startTime, endTime) { + logComponentTrigger(fiber, startTime, endTime, "Reconnect"); +} function logComponentRender(fiber, startTime, endTime, wasHydrated) { var name = getComponentNameFromFiber(fiber); if (null !== name && supportsUserTiming) { @@ -3224,7 +3234,7 @@ function logSuspendedCommitPhase(startTime, endTime) { ((reusableLaneDevToolDetails.color = "secondary-light"), (reusableLaneOptions.start = startTime), (reusableLaneOptions.end = endTime), - performance.measure("Suspended", reusableLaneOptions)); + performance.measure("Suspended on CSS", reusableLaneOptions)); } function logCommitErrored(startTime, endTime, errors, passive) { supportsUserTiming && @@ -3542,12 +3552,19 @@ function resetComponentEffectTimers() { function pushComponentEffectStart() { var prevEffectStart = componentEffectStartTime; componentEffectStartTime = -1.1; - componentEffectDuration = -0; return prevEffectStart; } function popComponentEffectStart(prevEffectStart) { 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); } +function pushComponentEffectDuration() { + var prevEffectDuration = componentEffectDuration; + componentEffectDuration = -0; + return prevEffectDuration; +} +function popComponentEffectDuration(prevEffectDuration) { + 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration); +} function pushComponentEffectErrors() { var prevErrors = componentEffectErrors; componentEffectErrors = null; @@ -10211,6 +10228,17 @@ var offscreenSubtreeIsHidden = !1, inProgressRoot = null, viewTransitionContextChanged$1 = !1, rootViewTransitionAffected = !1; +function isHydratingParent(current, finishedWork) { + return 13 === finishedWork.tag + ? ((current = current.memoizedState), + (finishedWork = finishedWork.memoizedState), + null !== current && + null !== current.dehydrated && + (null === finishedWork || null === finishedWork.dehydrated)) + : 3 === finishedWork.tag + ? current.memoizedState.isDehydrated && 0 === (finishedWork.flags & 256) + : !1; +} function commitBeforeMutationEffects(root, firstChild, committedLanes) { root = root.containerInfo; eventsEnabled = _enabled; @@ -10434,6 +10462,7 @@ function commitBeforeMutationEffects_complete( } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -10575,11 +10604,20 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden; offscreenSubtreeIsHidden = flags; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden - ? recursivelyTraverseReappearLayoutEffects( + ? (recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772) - ) + ), + 0 !== (finishedWork.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevProps; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; @@ -10597,15 +10635,27 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function detachFiberAfterEffects(fiber) { @@ -10647,6 +10697,9 @@ function commitDeletionEffectsOnFiber( try { injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); } catch (err) {} + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -10659,8 +10712,8 @@ function commitDeletionEffectsOnFiber( deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && - ((deletedFiber = deletedFiber.stateNode), - deletedFiber.parentNode.removeChild(deletedFiber)); + ((finishedRoot = deletedFiber.stateNode), + finishedRoot.parentNode.removeChild(finishedRoot)); break; case 27: offscreenSubtreeWasHidden || @@ -10823,6 +10876,20 @@ function commitDeletionEffectsOnFiber( deletedFiber ); } + 0 !== (deletedFiber.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -10880,6 +10947,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) { var childToDelete = deletions[i], root = root$jscomp$0, returnFiber = parentFiber, + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -10906,6 +10974,17 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) { commitDeletionEffectsOnFiber(root, returnFiber, childToDelete); hostParent = null; hostParentIsContainer = !1; + 0 !== (childToDelete.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); root = childToDelete.alternate; null !== root && (root.return = null); childToDelete.return = null; @@ -10918,6 +10997,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) { var currentHoistableRoot = null; function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), current = finishedWork.alternate, flags = finishedWork.flags; @@ -11219,6 +11299,19 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { recursivelyTraverseMutationEffects(root, finishedWork, lanes); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; + wasHidden && + !hoistableRoot && + !prevOffscreenSubtreeIsHidden && + !prevOffscreenSubtreeWasHidden && + 0 !== (finishedWork.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + ); commitReconciliationEffects(finishedWork); if (flags & 8192) a: for ( @@ -11226,12 +11319,22 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { root._visibility = hoistableRoot ? root._visibility & -2 : root._visibility | 1, - hoistableRoot && - (null === current || - wasHidden || - offscreenSubtreeIsHidden || - offscreenSubtreeWasHidden || - recursivelyTraverseDisappearLayoutEffects(finishedWork)), + !hoistableRoot || + null === current || + wasHidden || + offscreenSubtreeIsHidden || + offscreenSubtreeWasHidden || + (recursivelyTraverseDisappearLayoutEffects(finishedWork), + 0 !== (finishedWork.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )), current = null, root = finishedWork; ; @@ -11327,15 +11430,27 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) { 0 !== (finishedWork.mode & 2) && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent(finishedWork.return.alternate, finishedWork.return) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function commitReconciliationEffects(finishedWork) { @@ -11496,6 +11611,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedWork = parentFiber, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -11550,6 +11666,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) { componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; parentFiber = parentFiber.sibling; } @@ -11566,6 +11683,7 @@ function recursivelyTraverseReappearLayoutEffects( finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -11712,6 +11830,7 @@ function recursivelyTraverseReappearLayoutEffects( componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; parentFiber = parentFiber.sibling; } @@ -11776,6 +11895,7 @@ function commitPassiveMountOnFiber( endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; isViewTransitionEligible && @@ -11831,7 +11951,7 @@ function commitPassiveMountOnFiber( ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(), + var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; inHydratedSubtree = null !== finishedWork.alternate && @@ -11855,12 +11975,13 @@ function commitPassiveMountOnFiber( committedTransitions !== committedLanes && (committedTransitions.refCount++, null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { - isViewTransitionEligible = pushNestedEffectDurations(); + flags = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -11869,13 +11990,12 @@ function commitPassiveMountOnFiber( endTime ); finishedRoot = finishedWork.stateNode; - finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations( - isViewTransitionEligible - ); + finishedRoot.passiveEffectDuration += + bubbleNestedEffectDurations(flags); try { - prevEffectDuration = finishedWork.memoizedProps; - wasInHydratedSubtree = prevEffectDuration.id; - var onPostCommit = prevEffectDuration.onPostCommit, + prevProfilerEffectDuration = finishedWork.memoizedProps; + wasInHydratedSubtree = prevProfilerEffectDuration.id; + var onPostCommit = prevProfilerEffectDuration.onPostCommit, phase = null === finishedWork.alternate ? "mount" : "update"; currentUpdateIsNested && (phase = "nested-update"); "function" === typeof onPostCommit && @@ -11898,22 +12018,23 @@ function commitPassiveMountOnFiber( ); break; case 13: - isViewTransitionEligible = inHydratedSubtree; - flags = + flags = inHydratedSubtree; + isViewTransitionEligible = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - prevEffectDuration = finishedWork.memoizedState; - null === flags || - null === flags.dehydrated || - (null !== prevEffectDuration && null !== prevEffectDuration.dehydrated) + prevProfilerEffectDuration = finishedWork.memoizedState; + null === isViewTransitionEligible || + null === isViewTransitionEligible.dehydrated || + (null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.dehydrated) ? (inHydratedSubtree = !1) - : ((prevEffectDuration = finishedWork.deletions), - null !== prevEffectDuration && - 0 < prevEffectDuration.length && - 18 === prevEffectDuration[0].tag + : ((prevProfilerEffectDuration = finishedWork.deletions), + null !== prevProfilerEffectDuration && + 0 < prevProfilerEffectDuration.length && + 18 === prevProfilerEffectDuration[0].tag ? ((inHydratedSubtree = !1), - null !== flags.hydrationErrors && + null !== isViewTransitionEligible.hydrationErrors && logComponentErrored( finishedWork, finishedWork.actualStartTime, @@ -11927,19 +12048,19 @@ function commitPassiveMountOnFiber( committedTransitions, endTime ); - inHydratedSubtree = isViewTransitionEligible; + inHydratedSubtree = flags; break; case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; - wasInHydratedSubtree = finishedWork.alternate; + wasInHydratedSubtree = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState ? (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null === wasInHydratedSubtree.memoizedState && - restoreEnterOrExitViewTransitions(wasInHydratedSubtree), - prevEffectDuration._visibility & 2 + null !== prevProfilerEffectDuration && + null === prevProfilerEffectDuration.memoizedState && + restoreEnterOrExitViewTransitions(prevProfilerEffectDuration), + wasInHydratedSubtree._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -11955,10 +12076,10 @@ function commitPassiveMountOnFiber( endTime )) : (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null !== wasInHydratedSubtree.memoizedState && + null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(finishedWork), - prevEffectDuration._visibility & 2 + wasInHydratedSubtree._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -11966,7 +12087,7 @@ function commitPassiveMountOnFiber( committedTransitions, endTime ) - : ((prevEffectDuration._visibility |= 2), + : ((wasInHydratedSubtree._visibility |= 2), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -11974,9 +12095,25 @@ function commitPassiveMountOnFiber( committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256), endTime - ))); + ), + 0 === (finishedWork.mode & 2) || + inHydratedSubtree || + ((finishedRoot = finishedWork.actualStartTime), + 0.05 < endTime - finishedRoot && + logComponentReappeared(finishedWork, finishedRoot, endTime), + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )))); flags & 2048 && - commitOffscreenPassiveMountEffects(wasInHydratedSubtree, finishedWork); + commitOffscreenPassiveMountEffects( + prevProfilerEffectDuration, + finishedWork + ); break; case 24: recursivelyTraversePassiveMountEffects( @@ -11991,12 +12128,9 @@ function commitPassiveMountOnFiber( break; case 30: isViewTransitionEligible && - ((isViewTransitionEligible = finishedWork.alternate), - null !== isViewTransitionEligible && - (restoreViewTransitionOnHostInstances( - isViewTransitionEligible.child, - !0 - ), + ((flags = finishedWork.alternate), + null !== flags && + (restoreViewTransitionOnHostInstances(flags.child, !0), restoreViewTransitionOnHostInstances(finishedWork.child, !0))); recursivelyTraversePassiveMountEffects( finishedRoot, @@ -12015,18 +12149,38 @@ function commitPassiveMountOnFiber( endTime ); } - 0 !== (finishedWork.mode & 2) && + if (0 !== (finishedWork.mode & 2)) { + if ( + (finishedRoot = + !inHydratedSubtree && + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate) + ) + (committedLanes = finishedWork.actualStartTime), + 0.05 < endTime - committedLanes && + logComponentTrigger(finishedWork, committedLanes, endTime, "Mount"); 0 <= componentEffectStartTime && - 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + 0 <= componentEffectEndTime && + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + finishedRoot && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + )); + } popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReconnectPassiveEffects( @@ -12047,6 +12201,7 @@ function recursivelyTraverseReconnectPassiveEffects( endTime = null !== parentFiber ? parentFiber.actualStartTime : endTime$jscomp$0, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); 0 !== (child.mode & 2) && 0 < child.actualStartTime && @@ -12141,6 +12296,7 @@ function recursivelyTraverseReconnectPassiveEffects( componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; child = parentFiber; } @@ -12281,12 +12437,24 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + 0 !== (childToDelete.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -12297,6 +12465,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } function commitPassiveUnmountOnFiber(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -12307,24 +12476,35 @@ function commitPassiveUnmountOnFiber(finishedWork) { commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & 2 && + prevProfilerEffectDuration._visibility & 2 && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= -3), - recursivelyTraverseDisconnectPassiveEffects(finishedWork)) + ? ((prevProfilerEffectDuration._visibility &= -3), + recursivelyTraverseDisconnectPassiveEffects(finishedWork), + 0 !== (finishedWork.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: @@ -12342,6 +12522,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { @@ -12349,17 +12530,32 @@ function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + 0 !== (childToDelete.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } for (parentFiber = parentFiber.child; null !== parentFiber; ) { deletions = parentFiber; + i = pushComponentEffectStart(); + childToDelete = pushComponentEffectDuration(); + prevEffectStart = pushComponentEffectErrors(); switch (deletions.tag) { case 0: case 11: @@ -12368,14 +12564,28 @@ function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { recursivelyTraverseDisconnectPassiveEffects(deletions); break; case 22: - i = deletions.stateNode; - i._visibility & 2 && - ((i._visibility &= -3), + var instance = deletions.stateNode; + instance._visibility & 2 && + ((instance._visibility &= -3), recursivelyTraverseDisconnectPassiveEffects(deletions)); break; default: recursivelyTraverseDisconnectPassiveEffects(deletions); } + 0 !== (deletions.mode & 2) && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + deletions, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(i); + popComponentEffectDuration(childToDelete); + componentEffectErrors = prevEffectStart; parentFiber = parentFiber.sibling; } } @@ -12387,6 +12597,7 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( var fiber = nextEffect, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (fiber.tag) { case 0: @@ -12416,6 +12627,7 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; prevEffectStart = fiber.child; if (null !== prevEffectStart) @@ -12423,19 +12635,19 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( else a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { prevEffectStart = nextEffect; - prevEffectErrors = prevEffectStart.sibling; - nearestMountedAncestor = prevEffectStart.return; + prevEffectDuration = prevEffectStart.sibling; + prevEffectErrors = prevEffectStart.return; detachFiberAfterEffects(prevEffectStart); if (prevEffectStart === fiber) { nextEffect = null; break a; } - if (null !== prevEffectErrors) { - prevEffectErrors.return = nearestMountedAncestor; - nextEffect = prevEffectErrors; + if (null !== prevEffectDuration) { + prevEffectDuration.return = prevEffectErrors; + nextEffect = prevEffectDuration; break a; } - nextEffect = nearestMountedAncestor; + nextEffect = prevEffectErrors; } } } @@ -12751,7 +12963,7 @@ function recursivelyInsertClones( if (null === nextPhase) recursivelyInsertNewFiber(deletions, i, parentViewTransition, 5); else { - var nextPhase$196 = deletions.flags; + var nextPhase$198 = deletions.flags; switch (deletions.tag) { case 26: recursivelyInsertClones( @@ -12777,16 +12989,16 @@ function recursivelyInsertClones( (setTextContent(clone, ""), (viewTransitionMutationContext = !0))) : (clone = clone.cloneNode(!1)); - if (nextPhase$196 & 4) { - nextPhase$196 = clone; + if (nextPhase$198 & 4) { + nextPhase$198 = clone; var newProps = deletions.memoizedProps; updateProperties( - nextPhase$196, + nextPhase$198, deletions.type, nextPhase.memoizedProps, newProps ); - nextPhase$196[internalPropsKey] = newProps; + nextPhase$198[internalPropsKey] = newProps; } 1 === visitPhase || 2 === visitPhase ? (recursivelyInsertClones(deletions, clone, null, 3), @@ -12805,7 +13017,7 @@ function recursivelyInsertClones( if (null === parentViewTransition) throw Error(formatProdErrorMessage(162)); parentViewTransition = parentViewTransition.cloneNode(!1); - nextPhase$196 & 4 && + nextPhase$198 & 4 && ((parentViewTransition.nodeValue = nextPhase.memoizedProps), (viewTransitionMutationContext = !0)); appendChild(i, parentViewTransition); @@ -12818,7 +13030,7 @@ function recursivelyInsertClones( case 22: null === deletions.memoizedState ? ((nextPhase = - 0 === visitPhase && 0 !== (nextPhase$196 & 8192) + 0 === visitPhase && 0 !== (nextPhase$198 & 8192) ? 1 : visitPhase), recursivelyInsertClones( @@ -12836,8 +13048,8 @@ function recursivelyInsertClones( parentViewTransition = pushMutationContext(); clone = deletions.stateNode; clone.clones = null; - nextPhase$196 = 1 === visitPhase ? 2 : visitPhase; - recursivelyInsertClones(deletions, i, clone, nextPhase$196); + nextPhase$198 = 1 === visitPhase ? 2 : visitPhase; + recursivelyInsertClones(deletions, i, clone, nextPhase$198); viewTransitionMutationContext && (deletions.flags |= 4); 1 === visitPhase ? applyExitViewTransition(deletions) @@ -13105,7 +13317,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) { default: if (((startTime = yieldStartTime), supportsUserTiming)) { var yieldDuration = yieldEndTime - startTime; - 1 > yieldDuration || + 3 > yieldDuration || ((reusableComponentDevToolDetails.color = 5 > yieldDuration ? "primary-light" @@ -13545,7 +13757,11 @@ function prepareFreshStack(root, lanes) { (reusableLaneOptions.start = previousRenderStartTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), performance.measure( - isSpawnedUpdate ? "Cascade" : "Blocked", + isSpawnedUpdate + ? "Cascading Update" + : 5 < renderStartTime$jscomp$0 - previousRenderStartTime + ? "Update Blocked" + : "Update", reusableLaneOptions ))); blockingSuspendedTime = blockingUpdateTime = -1.1; @@ -13603,7 +13819,10 @@ function prepareFreshStack(root, lanes) { ((reusableLaneDevToolDetails.color = "primary-light"), (reusableLaneOptions.start = endTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), - performance.measure("Blocked", reusableLaneOptions))), + performance.measure( + 5 < renderStartTime$jscomp$0 - endTime ? "Update Blocked" : "Update", + reusableLaneOptions + ))), (transitionSuspendedTime = transitionUpdateTime = transitionStartTime = @@ -13764,8 +13983,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; - } catch (thrownValue$203) { - handleThrow(root, thrownValue$203); + } catch (thrownValue$205) { + handleThrow(root, thrownValue$205); } while (1); lanes && root.shellSuspendCounter++; @@ -13886,8 +14105,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$205) { - handleThrow(root, thrownValue$205); + } catch (thrownValue$207) { + handleThrow(root, thrownValue$207); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -14583,26 +14802,26 @@ function commitGestureOnRoot(root, finishedWork) { } var rotate = computedStyle.rotate; if ("none" !== rotate && "" !== rotate) { - var parts$280 = rotate.split(" "); + var parts$282 = rotate.split(" "); transform = - 1 === parts$280.length - ? "rotate(" + parts$280[0] + ") " + transform - : 2 === parts$280.length + 1 === parts$282.length + ? "rotate(" + parts$282[0] + ") " + transform + : 2 === parts$282.length ? "rotate" + - parts$280[0].toUpperCase() + + parts$282[0].toUpperCase() + "(" + - parts$280[1] + + parts$282[1] + ") " + transform - : "rotate3d(" + parts$280.join(", ") + ") " + transform; + : "rotate3d(" + parts$282.join(", ") + ") " + transform; } var translate = computedStyle.translate; if ("none" !== translate && "" !== translate) { - var parts$281 = translate.split(" "); + var parts$283 = translate.split(" "); transform = - (3 === parts$281.length ? "translate3d" : "translate") + + (3 === parts$283.length ? "translate3d" : "translate") + "(" + - parts$281.join(", ") + + parts$283.join(", ") + ") " + transform; } @@ -14964,14 +15183,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$211 = firstScheduledRoot; null !== root$211; ) { + for (var root$213 = firstScheduledRoot; null !== root$213; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$211.pendingLanes; + var pendingLanes = root$213.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$211.suspendedLanes, - pingedLanes = root$211.pingedLanes; + var suspendedLanes = root$213.suspendedLanes, + pingedLanes = root$213.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -14985,21 +15204,21 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$211, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$213, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$211, - root$211 === workInProgressRoot ? JSCompiler_inline_result : 0, - null !== root$211.cancelPendingCommit || - -1 !== root$211.timeoutHandle + root$213, + root$213 === workInProgressRoot ? JSCompiler_inline_result : 0, + null !== root$213.cancelPendingCommit || + -1 !== root$213.timeoutHandle )), (0 === (JSCompiler_inline_result & 3) && 64 !== JSCompiler_inline_result) || - checkIfRootIsPrerendering(root$211, JSCompiler_inline_result) || + checkIfRootIsPrerendering(root$213, JSCompiler_inline_result) || ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$211, JSCompiler_inline_result)); - root$211 = root$211.next; + performSyncWorkOnRoot(root$213, JSCompiler_inline_result)); + root$213 = root$213.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -15284,20 +15503,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1839 = 0; - i$jscomp$inline_1839 < simpleEventPluginEvents.length; - i$jscomp$inline_1839++ + var i$jscomp$inline_1877 = 0; + i$jscomp$inline_1877 < simpleEventPluginEvents.length; + i$jscomp$inline_1877++ ) { - var eventName$jscomp$inline_1840 = - simpleEventPluginEvents[i$jscomp$inline_1839], - domEventName$jscomp$inline_1841 = - eventName$jscomp$inline_1840.toLowerCase(), - capitalizedEvent$jscomp$inline_1842 = - eventName$jscomp$inline_1840[0].toUpperCase() + - eventName$jscomp$inline_1840.slice(1); + var eventName$jscomp$inline_1878 = + simpleEventPluginEvents[i$jscomp$inline_1877], + domEventName$jscomp$inline_1879 = + eventName$jscomp$inline_1878.toLowerCase(), + capitalizedEvent$jscomp$inline_1880 = + eventName$jscomp$inline_1878[0].toUpperCase() + + eventName$jscomp$inline_1878.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1841, - "on" + capitalizedEvent$jscomp$inline_1842 + domEventName$jscomp$inline_1879, + "on" + capitalizedEvent$jscomp$inline_1880 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16545,34 +16764,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$225 = props[hasSrc]; - if (null != propValue$225) + var propValue$227 = props[hasSrc]; + if (null != propValue$227) switch (hasSrc) { case "name": - hasSrcSet = propValue$225; + hasSrcSet = propValue$227; break; case "type": - propValue = propValue$225; + propValue = propValue$227; break; case "checked": - checked = propValue$225; + checked = propValue$227; break; case "defaultChecked": - defaultChecked = propValue$225; + defaultChecked = propValue$227; break; case "value": - propKey = propValue$225; + propKey = propValue$227; break; case "defaultValue": - defaultValue = propValue$225; + defaultValue = propValue$227; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$225) + if (null != propValue$227) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$225, props, null); + setProp(domElement, tag, hasSrc, propValue$227, props, null); } } initInput( @@ -16711,14 +16930,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$225 in props) - props.hasOwnProperty(propValue$225) && - ((hasSrc = props[propValue$225]), + for (propValue$227 in props) + props.hasOwnProperty(propValue$227) && + ((hasSrc = props[propValue$227]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$225, + propValue$227, hasSrc, props, void 0 @@ -16766,14 +16985,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$242 in nextProps) { - var propKey = nextProps[propKey$242]; - lastProp = lastProps[propKey$242]; + for (var propKey$244 in nextProps) { + var propKey = nextProps[propKey$244]; + lastProp = lastProps[propKey$244]; if ( - nextProps.hasOwnProperty(propKey$242) && + nextProps.hasOwnProperty(propKey$244) && (null != propKey || null != lastProp) ) - switch (propKey$242) { + switch (propKey$244) { case "type": propKey !== lastProp && (viewTransitionMutationContext = !0); type = propKey; @@ -16808,7 +17027,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$242, + propKey$244, propKey, nextProps, lastProp @@ -16827,7 +17046,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$242 = null; + propKey = value = defaultValue = propKey$244 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -16859,7 +17078,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { switch (name) { case "value": type !== lastDefaultValue && (viewTransitionMutationContext = !0); - propKey$242 = type; + propKey$244 = type; break; case "defaultValue": type !== lastDefaultValue && (viewTransitionMutationContext = !0); @@ -16882,15 +17101,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$242 - ? updateOptions(domElement, !!lastProps, propKey$242, !1) + null != propKey$244 + ? updateOptions(domElement, !!lastProps, propKey$244, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$242 = null; + propKey = propKey$244 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -16915,7 +17134,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { switch (value) { case "value": name !== type && (viewTransitionMutationContext = !0); - propKey$242 = name; + propKey$244 = name; break; case "defaultValue": name !== type && (viewTransitionMutationContext = !0); @@ -16930,17 +17149,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$242, propKey); + updateTextarea(domElement, propKey$244, propKey); return; case "option": - for (var propKey$258 in lastProps) + for (var propKey$260 in lastProps) if ( - ((propKey$242 = lastProps[propKey$258]), - lastProps.hasOwnProperty(propKey$258) && - null != propKey$242 && - !nextProps.hasOwnProperty(propKey$258)) + ((propKey$244 = lastProps[propKey$260]), + lastProps.hasOwnProperty(propKey$260) && + null != propKey$244 && + !nextProps.hasOwnProperty(propKey$260)) ) - switch (propKey$258) { + switch (propKey$260) { case "selected": domElement.selected = !1; break; @@ -16948,34 +17167,34 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$258, + propKey$260, null, nextProps, - propKey$242 + propKey$244 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$242 = nextProps[lastDefaultValue]), + ((propKey$244 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$242 !== propKey && - (null != propKey$242 || null != propKey)) + propKey$244 !== propKey && + (null != propKey$244 || null != propKey)) ) switch (lastDefaultValue) { case "selected": - propKey$242 !== propKey && (viewTransitionMutationContext = !0); + propKey$244 !== propKey && (viewTransitionMutationContext = !0); domElement.selected = - propKey$242 && - "function" !== typeof propKey$242 && - "symbol" !== typeof propKey$242; + propKey$244 && + "function" !== typeof propKey$244 && + "symbol" !== typeof propKey$244; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$242, + propKey$244, nextProps, propKey ); @@ -16996,24 +17215,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$263 in lastProps) - (propKey$242 = lastProps[propKey$263]), - lastProps.hasOwnProperty(propKey$263) && - null != propKey$242 && - !nextProps.hasOwnProperty(propKey$263) && - setProp(domElement, tag, propKey$263, null, nextProps, propKey$242); + for (var propKey$265 in lastProps) + (propKey$244 = lastProps[propKey$265]), + lastProps.hasOwnProperty(propKey$265) && + null != propKey$244 && + !nextProps.hasOwnProperty(propKey$265) && + setProp(domElement, tag, propKey$265, null, nextProps, propKey$244); for (checked in nextProps) if ( - ((propKey$242 = nextProps[checked]), + ((propKey$244 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$242 !== propKey && - (null != propKey$242 || null != propKey)) + propKey$244 !== propKey && + (null != propKey$244 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$242) + if (null != propKey$244) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -17021,7 +17240,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$242, + propKey$244, nextProps, propKey ); @@ -17029,49 +17248,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$268 in lastProps) - (propKey$242 = lastProps[propKey$268]), - lastProps.hasOwnProperty(propKey$268) && - void 0 !== propKey$242 && - !nextProps.hasOwnProperty(propKey$268) && + for (var propKey$270 in lastProps) + (propKey$244 = lastProps[propKey$270]), + lastProps.hasOwnProperty(propKey$270) && + void 0 !== propKey$244 && + !nextProps.hasOwnProperty(propKey$270) && setPropOnCustomElement( domElement, tag, - propKey$268, + propKey$270, void 0, nextProps, - propKey$242 + propKey$244 ); for (defaultChecked in nextProps) - (propKey$242 = nextProps[defaultChecked]), + (propKey$244 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$242 === propKey || - (void 0 === propKey$242 && void 0 === propKey) || + propKey$244 === propKey || + (void 0 === propKey$244 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$242, + propKey$244, nextProps, propKey ); return; } } - for (var propKey$273 in lastProps) - (propKey$242 = lastProps[propKey$273]), - lastProps.hasOwnProperty(propKey$273) && - null != propKey$242 && - !nextProps.hasOwnProperty(propKey$273) && - setProp(domElement, tag, propKey$273, null, nextProps, propKey$242); + for (var propKey$275 in lastProps) + (propKey$244 = lastProps[propKey$275]), + lastProps.hasOwnProperty(propKey$275) && + null != propKey$244 && + !nextProps.hasOwnProperty(propKey$275) && + setProp(domElement, tag, propKey$275, null, nextProps, propKey$244); for (lastProp in nextProps) - (propKey$242 = nextProps[lastProp]), + (propKey$244 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$242 === propKey || - (null == propKey$242 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$242, nextProps, propKey); + propKey$244 === propKey || + (null == propKey$244 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$244, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -17582,20 +17801,20 @@ function startGestureTransition( ))) : (isExitGroupAnim = !0); } - var timing$285 = pseudoElement.getTiming(); + var timing$287 = pseudoElement.getTiming(); anim = rangeEnd - - (("number" === typeof timing$285.duration - ? timing$285.duration + (("number" === typeof timing$287.duration + ? timing$287.duration : 0) + - timing$285.delay) * + timing$287.delay) * longestDuration; - groupName = rangeEnd - timing$285.delay * longestDuration; + groupName = rangeEnd - timing$287.delay * longestDuration; if ( - "reverse" === timing$285.direction || - "alternate-reverse" === timing$285.direction + "reverse" === timing$287.direction || + "alternate-reverse" === timing$287.direction ) - (timing$285 = anim), (anim = groupName), (groupName = timing$285); + (timing$287 = anim), (anim = groupName), (groupName = timing$287); animateGesture( pseudoElement.getKeyframes(), pseudoElement.target, @@ -18408,26 +18627,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$290 = getResourcesFromRoot( + var styles$292 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$291 = styles$290.get(type); - resource$291 || + resource$293 = styles$292.get(type); + resource$293 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$291 = { + (resource$293 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$290.set(type, resource$291), - (styles$290 = JSCompiler_inline_result.querySelector( + styles$292.set(type, resource$293), + (styles$292 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$290._p && - ((resource$291.instance = styles$290), - (resource$291.state.loading = 5)), + !styles$292._p && + ((resource$293.instance = styles$292), + (resource$293.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -18440,16 +18659,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$290 || + styles$292 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$291.state + resource$293.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$291; + return resource$293; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -18546,37 +18765,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$296 = hoistableRoot.querySelector( + var instance$298 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$296) + if (instance$298) return ( (resource.state.loading |= 4), - (resource.instance = instance$296), - markNodeAsHoistable(instance$296), - instance$296 + (resource.instance = instance$298), + markNodeAsHoistable(instance$298), + instance$298 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$296 = ( + instance$298 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$296); - var linkInstance = instance$296; + markNodeAsHoistable(instance$298); + var linkInstance = instance$298; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$296, "link", instance); + setInitialProperties(instance$298, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$296, props.precedence, hoistableRoot); - return (resource.instance = instance$296); + insertStylesheet(instance$298, props.precedence, hoistableRoot); + return (resource.instance = instance$298); case "script": - instance$296 = getScriptKey(props.src); + instance$298 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$296) + getScriptSelectorFromKey(instance$298) )) ) return ( @@ -18585,7 +18804,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$296))) + if ((styleProps = preloadPropsMap.get(instance$298))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -19626,16 +19845,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2151 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2189 = React.version; if ( - "19.2.0-experimental-040f8286-20250402" !== - isomorphicReactPackageVersion$jscomp$inline_2151 + "19.2.0-experimental-540cd652-20250403" !== + isomorphicReactPackageVersion$jscomp$inline_2189 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2151, - "19.2.0-experimental-040f8286-20250402" + isomorphicReactPackageVersion$jscomp$inline_2189, + "19.2.0-experimental-540cd652-20250403" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19655,24 +19874,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2761 = { +var internals$jscomp$inline_2816 = { bundleType: 0, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2762 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2817 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2762.isDisabled && - hook$jscomp$inline_2762.supportsFiber + !hook$jscomp$inline_2817.isDisabled && + hook$jscomp$inline_2817.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2762.inject( - internals$jscomp$inline_2761 + (rendererID = hook$jscomp$inline_2817.inject( + internals$jscomp$inline_2816 )), - (injectedHook = hook$jscomp$inline_2762); + (injectedHook = hook$jscomp$inline_2817); } catch (err) {} } function noop() {} @@ -19925,7 +20144,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 881680e634b5..87e522bdf5ff 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -9621,5 +9621,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index d65b81fdbfbc..4d49956ce07e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -6351,4 +6351,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 1cd975162475..74ec841c3646 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -9621,5 +9621,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index 2fc6a38388e0..2e56f2503687 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -6445,4 +6445,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index 31c30252bdd8..95eb85367c4d 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -8517,11 +8517,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -10319,5 +10319,5 @@ startWork(request); }); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index 0cee8de7e30e..83067cae2e8c 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -6892,12 +6892,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.2.0-experimental-040f8286-20250402" + "19.2.0-experimental-540cd652-20250403" ) ); } @@ -7152,4 +7152,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index 3158e4dc88c3..996c27ea7e39 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -6370,13 +6370,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_818 = React.version; if ( - "19.2.0-experimental-040f8286-20250402" !== + "19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion$jscomp$inline_818 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_818 + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6467,4 +6467,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index 0f6ef27e2178..1b89f45594b7 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -8540,11 +8540,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -10349,5 +10349,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index bc47cf84ee2c..c4b64ec512e9 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -7001,11 +7001,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -7270,4 +7270,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index 44ddc8612bb3..f9a738144fb4 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -8404,11 +8404,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -10199,5 +10199,5 @@ } }; }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index b8aa8e76b5ee..94c7b9a5f758 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -6880,11 +6880,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -7135,4 +7135,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index 7cb975b3f3b3..8f8c059ec2f4 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -4712,6 +4712,16 @@ ? "Idle" : "Other"; } + function logComponentTrigger(fiber, startTime, endTime, trigger) { + supportsUserTiming && + ((reusableComponentDevToolDetails.color = "warning"), + (reusableComponentOptions.start = startTime), + (reusableComponentOptions.end = endTime), + performance.measure(trigger, reusableComponentOptions)); + } + function logComponentReappeared(fiber, startTime, endTime) { + logComponentTrigger(fiber, startTime, endTime, "Reconnect"); + } function logComponentRender(fiber, startTime, endTime, wasHydrated) { var name = getComponentNameFromFiber(fiber); if (null !== name && supportsUserTiming) { @@ -4905,7 +4915,7 @@ ((reusableLaneDevToolDetails.color = "secondary-light"), (reusableLaneOptions.start = startTime), (reusableLaneOptions.end = endTime), - performance.measure("Suspended", reusableLaneOptions)); + performance.measure("Suspended on CSS", reusableLaneOptions)); } function logCommitErrored(startTime, endTime, errors, passive) { if (supportsUserTiming) { @@ -5239,12 +5249,19 @@ function pushComponentEffectStart() { var prevEffectStart = componentEffectStartTime; componentEffectStartTime = -1.1; - componentEffectDuration = -0; return prevEffectStart; } function popComponentEffectStart(prevEffectStart) { 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); } + function pushComponentEffectDuration() { + var prevEffectDuration = componentEffectDuration; + componentEffectDuration = -0; + return prevEffectDuration; + } + function popComponentEffectDuration(prevEffectDuration) { + 0 <= prevEffectDuration && (componentEffectDuration = prevEffectDuration); + } function pushComponentEffectErrors() { var prevErrors = componentEffectErrors; componentEffectErrors = null; @@ -10219,33 +10236,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2879; - var JSCompiler_object_inline_stack_2878 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2924; + var JSCompiler_object_inline_stack_2923 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2876 = !1; + var JSCompiler_object_inline_message_2921 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2879 = didSuspend) || - (JSCompiler_object_inline_componentStack_2879 = + (JSCompiler_object_inline_componentStack_2924 = didSuspend) || + (JSCompiler_object_inline_componentStack_2924 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2879 && - ((JSCompiler_object_inline_message_2876 = !0), + JSCompiler_object_inline_componentStack_2924 && + ((JSCompiler_object_inline_message_2921 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2879 = + JSCompiler_object_inline_componentStack_2924 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2876 + JSCompiler_object_inline_message_2921 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2877 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2922 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2877)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2922)) { c: { - var instance = JSCompiler_object_inline_digest_2877; + var instance = JSCompiler_object_inline_digest_2922; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -10287,87 +10304,87 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2877 + JSCompiler_object_inline_digest_2922 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2877 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2922 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2877 && - ((JSCompiler_object_inline_digest_2877 = - JSCompiler_object_inline_digest_2877.dehydrated), - null !== JSCompiler_object_inline_digest_2877) + null !== JSCompiler_object_inline_digest_2922 && + ((JSCompiler_object_inline_digest_2922 = + JSCompiler_object_inline_digest_2922.dehydrated), + null !== JSCompiler_object_inline_digest_2922) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2877) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2922) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2877 = - JSCompiler_object_inline_stack_2878.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2878.fallback; - if (JSCompiler_object_inline_message_2876) + JSCompiler_object_inline_digest_2922 = + JSCompiler_object_inline_stack_2923.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2923.fallback; + if (JSCompiler_object_inline_message_2921) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2878 = + (JSCompiler_object_inline_stack_2923 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2877, + JSCompiler_object_inline_digest_2922, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2876 = workInProgress.child), - (JSCompiler_object_inline_message_2876.memoizedState = + (JSCompiler_object_inline_message_2921 = workInProgress.child), + (JSCompiler_object_inline_message_2921.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2876.childLanes = + (JSCompiler_object_inline_message_2921.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2879, + JSCompiler_object_inline_componentStack_2924, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2878.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2923.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2878 = + (JSCompiler_object_inline_stack_2923 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2877, + JSCompiler_object_inline_digest_2922, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2876 = workInProgress.child), - (JSCompiler_object_inline_message_2876.memoizedState = + (JSCompiler_object_inline_message_2921 = workInProgress.child), + (JSCompiler_object_inline_message_2921.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2876.childLanes = + (JSCompiler_object_inline_message_2921.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2879, + JSCompiler_object_inline_componentStack_2924, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2877 + JSCompiler_object_inline_digest_2922 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2877 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2877) + ((JSCompiler_object_inline_digest_2922 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2922) ) { if (didSuspend) workInProgress.flags & 256 @@ -10384,94 +10401,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2876 = - JSCompiler_object_inline_stack_2878.fallback), - (JSCompiler_object_inline_digest_2877 = workInProgress.mode), - (JSCompiler_object_inline_stack_2878 = + (JSCompiler_object_inline_message_2921 = + JSCompiler_object_inline_stack_2923.fallback), + (JSCompiler_object_inline_digest_2922 = workInProgress.mode), + (JSCompiler_object_inline_stack_2923 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2878.children + children: JSCompiler_object_inline_stack_2923.children }, - JSCompiler_object_inline_digest_2877 + JSCompiler_object_inline_digest_2922 )), - (JSCompiler_object_inline_message_2876 = + (JSCompiler_object_inline_message_2921 = createFiberFromFragment( - JSCompiler_object_inline_message_2876, - JSCompiler_object_inline_digest_2877, + JSCompiler_object_inline_message_2921, + JSCompiler_object_inline_digest_2922, renderLanes, null )), - (JSCompiler_object_inline_message_2876.flags |= 2), - (JSCompiler_object_inline_stack_2878.return = workInProgress), - (JSCompiler_object_inline_message_2876.return = workInProgress), - (JSCompiler_object_inline_stack_2878.sibling = - JSCompiler_object_inline_message_2876), - (workInProgress.child = JSCompiler_object_inline_stack_2878), + (JSCompiler_object_inline_message_2921.flags |= 2), + (JSCompiler_object_inline_stack_2923.return = workInProgress), + (JSCompiler_object_inline_message_2921.return = workInProgress), + (JSCompiler_object_inline_stack_2923.sibling = + JSCompiler_object_inline_message_2921), + (workInProgress.child = JSCompiler_object_inline_stack_2923), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2878 = workInProgress.child), - (JSCompiler_object_inline_stack_2878.memoizedState = + (JSCompiler_object_inline_stack_2923 = workInProgress.child), + (JSCompiler_object_inline_stack_2923.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2878.childLanes = + (JSCompiler_object_inline_stack_2923.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2879, + JSCompiler_object_inline_componentStack_2924, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2876)); + (workInProgress = JSCompiler_object_inline_message_2921)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2877)) + isSuspenseInstanceFallback(JSCompiler_object_inline_digest_2922)) ) { - JSCompiler_object_inline_componentStack_2879 = - JSCompiler_object_inline_digest_2877.nextSibling && - JSCompiler_object_inline_digest_2877.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2879) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2879.dgst; - var message = JSCompiler_object_inline_componentStack_2879.msg; - instance = JSCompiler_object_inline_componentStack_2879.stck; + JSCompiler_object_inline_componentStack_2924 = + JSCompiler_object_inline_digest_2922.nextSibling && + JSCompiler_object_inline_digest_2922.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2924) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2924.dgst; + var message = JSCompiler_object_inline_componentStack_2924.msg; + instance = JSCompiler_object_inline_componentStack_2924.stck; var componentStack = - JSCompiler_object_inline_componentStack_2879.cstck; + JSCompiler_object_inline_componentStack_2924.cstck; } - JSCompiler_object_inline_message_2876 = message; - JSCompiler_object_inline_digest_2877 = JSCompiler_temp; - JSCompiler_object_inline_stack_2878 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2879 = + JSCompiler_object_inline_message_2921 = message; + JSCompiler_object_inline_digest_2922 = JSCompiler_temp; + JSCompiler_object_inline_stack_2923 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2924 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2877 && - ((JSCompiler_object_inline_componentStack_2879 = - JSCompiler_object_inline_message_2876 - ? Error(JSCompiler_object_inline_message_2876) + "POSTPONE" !== JSCompiler_object_inline_digest_2922 && + ((JSCompiler_object_inline_componentStack_2924 = + JSCompiler_object_inline_message_2921 + ? Error(JSCompiler_object_inline_message_2921) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_2879.stack = - JSCompiler_object_inline_stack_2878 || ""), - (JSCompiler_object_inline_componentStack_2879.digest = - JSCompiler_object_inline_digest_2877), - (JSCompiler_object_inline_stack_2878 = + (JSCompiler_object_inline_componentStack_2924.stack = + JSCompiler_object_inline_stack_2923 || ""), + (JSCompiler_object_inline_componentStack_2924.digest = + JSCompiler_object_inline_digest_2922), + (JSCompiler_object_inline_stack_2923 = void 0 === JSCompiler_temp ? null : JSCompiler_temp), - (JSCompiler_object_inline_message_2876 = { - value: JSCompiler_object_inline_componentStack_2879, + (JSCompiler_object_inline_message_2921 = { + value: JSCompiler_object_inline_componentStack_2924, source: null, - stack: JSCompiler_object_inline_stack_2878 + stack: JSCompiler_object_inline_stack_2923 }), - "string" === typeof JSCompiler_object_inline_stack_2878 && + "string" === typeof JSCompiler_object_inline_stack_2923 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2879, - JSCompiler_object_inline_message_2876 + JSCompiler_object_inline_componentStack_2924, + JSCompiler_object_inline_message_2921 ), - queueHydrationError(JSCompiler_object_inline_message_2876)); + queueHydrationError(JSCompiler_object_inline_message_2921)); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10485,44 +10502,44 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2879 = + (JSCompiler_object_inline_componentStack_2924 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2879) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2924) ) { - JSCompiler_object_inline_componentStack_2879 = workInProgressRoot; + JSCompiler_object_inline_componentStack_2924 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_2879 && - ((JSCompiler_object_inline_stack_2878 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2878 = - 0 !== (JSCompiler_object_inline_stack_2878 & 42) + null !== JSCompiler_object_inline_componentStack_2924 && + ((JSCompiler_object_inline_stack_2923 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2923 = + 0 !== (JSCompiler_object_inline_stack_2923 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 )), - (JSCompiler_object_inline_stack_2878 = + (JSCompiler_object_inline_stack_2923 = 0 !== - (JSCompiler_object_inline_stack_2878 & - (JSCompiler_object_inline_componentStack_2879.suspendedLanes | + (JSCompiler_object_inline_stack_2923 & + (JSCompiler_object_inline_componentStack_2924.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2878), - 0 !== JSCompiler_object_inline_stack_2878 && - JSCompiler_object_inline_stack_2878 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2923), + 0 !== JSCompiler_object_inline_stack_2923 && + JSCompiler_object_inline_stack_2923 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2878), + ((prevState.retryLane = JSCompiler_object_inline_stack_2923), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2879, + JSCompiler_object_inline_componentStack_2924, current, - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 ), SelectiveHydrationException) ); - JSCompiler_object_inline_digest_2877.data === + JSCompiler_object_inline_digest_2922.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10530,14 +10547,14 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2877.data === + JSCompiler_object_inline_digest_2922.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2877.nextSibling + JSCompiler_object_inline_digest_2922.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10555,54 +10572,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2878.children + JSCompiler_object_inline_stack_2923.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2876) + if (JSCompiler_object_inline_message_2921) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2876 = - JSCompiler_object_inline_stack_2878.fallback), - (JSCompiler_object_inline_digest_2877 = workInProgress.mode), + (JSCompiler_object_inline_message_2921 = + JSCompiler_object_inline_stack_2923.fallback), + (JSCompiler_object_inline_digest_2922 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2878 = createWorkInProgress( + (JSCompiler_object_inline_stack_2923 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2878.children + children: JSCompiler_object_inline_stack_2923.children } )), - (JSCompiler_object_inline_stack_2878.subtreeFlags = + (JSCompiler_object_inline_stack_2923.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_message_2876 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2921 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2876 + JSCompiler_object_inline_message_2921 )) - : ((JSCompiler_object_inline_message_2876 = createFiberFromFragment( - JSCompiler_object_inline_message_2876, - JSCompiler_object_inline_digest_2877, + : ((JSCompiler_object_inline_message_2921 = createFiberFromFragment( + JSCompiler_object_inline_message_2921, + JSCompiler_object_inline_digest_2922, renderLanes, null )), - (JSCompiler_object_inline_message_2876.flags |= 2)), - (JSCompiler_object_inline_message_2876.return = workInProgress), - (JSCompiler_object_inline_stack_2878.return = workInProgress), - (JSCompiler_object_inline_stack_2878.sibling = - JSCompiler_object_inline_message_2876), - (workInProgress.child = JSCompiler_object_inline_stack_2878), - (JSCompiler_object_inline_stack_2878 = - JSCompiler_object_inline_message_2876), - (JSCompiler_object_inline_message_2876 = workInProgress.child), - (JSCompiler_object_inline_digest_2877 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2877 - ? (JSCompiler_object_inline_digest_2877 = + (JSCompiler_object_inline_message_2921.flags |= 2)), + (JSCompiler_object_inline_message_2921.return = workInProgress), + (JSCompiler_object_inline_stack_2923.return = workInProgress), + (JSCompiler_object_inline_stack_2923.sibling = + JSCompiler_object_inline_message_2921), + (workInProgress.child = JSCompiler_object_inline_stack_2923), + (JSCompiler_object_inline_stack_2923 = + JSCompiler_object_inline_message_2921), + (JSCompiler_object_inline_message_2921 = workInProgress.child), + (JSCompiler_object_inline_digest_2922 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2922 + ? (JSCompiler_object_inline_digest_2922 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2877.cachePool), + JSCompiler_object_inline_digest_2922.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10610,38 +10627,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2877 = { + (JSCompiler_object_inline_digest_2922 = { baseLanes: - JSCompiler_object_inline_digest_2877.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2922.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2876.memoizedState = - JSCompiler_object_inline_digest_2877), - (JSCompiler_object_inline_message_2876.childLanes = + (JSCompiler_object_inline_message_2921.memoizedState = + JSCompiler_object_inline_digest_2922), + (JSCompiler_object_inline_message_2921.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2879, + JSCompiler_object_inline_componentStack_2924, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2878 + JSCompiler_object_inline_stack_2923 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2878.children + children: JSCompiler_object_inline_stack_2923.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2879 = + ((JSCompiler_object_inline_componentStack_2924 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2879 + null === JSCompiler_object_inline_componentStack_2924 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2879.push(current)); + : JSCompiler_object_inline_componentStack_2924.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13730,6 +13747,18 @@ mountedNamedViewTransitions.delete(name); } } + function isHydratingParent(current, finishedWork) { + return 13 === finishedWork.tag + ? ((current = current.memoizedState), + (finishedWork = finishedWork.memoizedState), + null !== current && + null !== current.dehydrated && + (null === finishedWork || null === finishedWork.dehydrated)) + : 3 === finishedWork.tag + ? current.memoizedState.isDehydrated && + 0 === (finishedWork.flags & 256) + : !1; + } function commitBeforeMutationEffects(root, firstChild, committedLanes) { root = root.containerInfo; eventsEnabled = _enabled; @@ -13953,6 +13982,7 @@ } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -14126,11 +14156,20 @@ offscreenSubtreeIsHidden = flags; (offscreenSubtreeWasHidden = current) && !prevOffscreenSubtreeWasHidden - ? recursivelyTraverseReappearLayoutEffects( + ? (recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, 0 !== (finishedWork.subtreeFlags & 8772) - ) + ), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevProps; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; @@ -14149,15 +14188,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function detachFiberAfterEffects(fiber) { @@ -14212,6 +14266,9 @@ err )); } + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -14224,8 +14281,8 @@ deletedFiber.memoizedState ? deletedFiber.memoizedState.count-- : deletedFiber.stateNode && - ((deletedFiber = deletedFiber.stateNode), - deletedFiber.parentNode.removeChild(deletedFiber)); + ((finishedRoot = deletedFiber.stateNode), + finishedRoot.parentNode.removeChild(finishedRoot)); break; case 27: offscreenSubtreeWasHidden || @@ -14408,6 +14465,20 @@ deletedFiber ); } + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -14480,6 +14551,7 @@ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -14509,6 +14581,17 @@ commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; + (deletedFiber.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + deletedFiber, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); @@ -14521,6 +14604,7 @@ } function commitMutationEffectsOnFiber(finishedWork, root, lanes) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), current = finishedWork.alternate, flags = finishedWork.flags; @@ -14864,6 +14948,19 @@ recursivelyTraverseMutationEffects(root, finishedWork, lanes); offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; + wasHidden && + !hoistableRoot && + !prevOffscreenSubtreeIsHidden && + !prevOffscreenSubtreeWasHidden && + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + ); commitReconciliationEffects(finishedWork); if (flags & 8192) a: for ( @@ -14871,12 +14968,22 @@ root._visibility = hoistableRoot ? root._visibility & ~OffscreenVisible : root._visibility | OffscreenVisible, - hoistableRoot && - (null === current || - wasHidden || - offscreenSubtreeIsHidden || - offscreenSubtreeWasHidden || - recursivelyTraverseDisappearLayoutEffects(finishedWork)), + !hoistableRoot || + null === current || + wasHidden || + offscreenSubtreeIsHidden || + offscreenSubtreeWasHidden || + (recursivelyTraverseDisappearLayoutEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )), current = null, root = finishedWork; ; @@ -14982,15 +15089,30 @@ (finishedWork.mode & ProfileMode) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate && + 0.05 < componentEffectEndTime - componentEffectStartTime && + (isHydratingParent( + finishedWork.return.alternate, + finishedWork.return + ) || + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + ))); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function commitReconciliationEffects(finishedWork) { @@ -15096,6 +15218,7 @@ } function disappearLayoutEffects(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15160,6 +15283,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { @@ -15174,6 +15298,7 @@ includeWorkInProgressEffects ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), flags = finishedWork.flags; switch (finishedWork.tag) { @@ -15324,6 +15449,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReappearLayoutEffects( @@ -15402,6 +15528,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(), isViewTransitionEligible = (committedLanes & 335544064) === committedLanes; @@ -15460,7 +15587,7 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(), + var prevProfilerEffectDuration = pushNestedEffectDurations(), wasInHydratedSubtree = inHydratedSubtree; inHydratedSubtree = null !== finishedWork.alternate && @@ -15484,12 +15611,13 @@ committedTransitions !== committedLanes && (retainCache(committedTransitions), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { - isViewTransitionEligible = pushNestedEffectDurations(); + flags = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15498,9 +15626,8 @@ endTime ); finishedRoot = finishedWork.stateNode; - finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations( - isViewTransitionEligible - ); + finishedRoot.passiveEffectDuration += + bubbleNestedEffectDurations(flags); try { runWithFiberInDEV( finishedWork, @@ -15523,29 +15650,30 @@ ); break; case 13: - isViewTransitionEligible = inHydratedSubtree; - flags = + flags = inHydratedSubtree; + isViewTransitionEligible = null !== finishedWork.alternate ? finishedWork.alternate.memoizedState : null; - prevEffectDuration = finishedWork.memoizedState; - null === flags || - null === flags.dehydrated || - (null !== prevEffectDuration && - null !== prevEffectDuration.dehydrated) + prevProfilerEffectDuration = finishedWork.memoizedState; + null === isViewTransitionEligible || + null === isViewTransitionEligible.dehydrated || + (null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.dehydrated) ? (inHydratedSubtree = !1) - : ((prevEffectDuration = finishedWork.deletions), - null !== prevEffectDuration && - 0 < prevEffectDuration.length && - 18 === prevEffectDuration[0].tag + : ((prevProfilerEffectDuration = finishedWork.deletions), + null !== prevProfilerEffectDuration && + 0 < prevProfilerEffectDuration.length && + 18 === prevProfilerEffectDuration[0].tag ? ((inHydratedSubtree = !1), - (flags = flags.hydrationErrors), - null !== flags && + (isViewTransitionEligible = + isViewTransitionEligible.hydrationErrors), + null !== isViewTransitionEligible && logComponentErrored( finishedWork, finishedWork.actualStartTime, endTime, - flags + isViewTransitionEligible )) : (inHydratedSubtree = !0)); recursivelyTraversePassiveMountEffects( @@ -15555,19 +15683,20 @@ committedTransitions, endTime ); - inHydratedSubtree = isViewTransitionEligible; + inHydratedSubtree = flags; break; case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; - wasInHydratedSubtree = finishedWork.alternate; + wasInHydratedSubtree = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.alternate; null !== finishedWork.memoizedState ? (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null === wasInHydratedSubtree.memoizedState && - restoreEnterOrExitViewTransitions(wasInHydratedSubtree), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + null !== prevProfilerEffectDuration && + null === prevProfilerEffectDuration.memoizedState && + restoreEnterOrExitViewTransitions(prevProfilerEffectDuration), + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15583,10 +15712,11 @@ endTime )) : (isViewTransitionEligible && - null !== wasInHydratedSubtree && - null !== wasInHydratedSubtree.memoizedState && + null !== prevProfilerEffectDuration && + null !== prevProfilerEffectDuration.memoizedState && restoreEnterOrExitViewTransitions(finishedWork), - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + wasInHydratedSubtree._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -15594,7 +15724,7 @@ committedTransitions, endTime ) - : ((prevEffectDuration._visibility |= + : ((wasInHydratedSubtree._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -15603,10 +15733,28 @@ committedTransitions, 0 !== (finishedWork.subtreeFlags & 10256), endTime - ))); + ), + (finishedWork.mode & ProfileMode) === NoMode || + inHydratedSubtree || + ((finishedRoot = finishedWork.actualStartTime), + 0.05 < endTime - finishedRoot && + logComponentReappeared( + finishedWork, + finishedRoot, + endTime + ), + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < + componentEffectEndTime - componentEffectStartTime && + logComponentReappeared( + finishedWork, + componentEffectStartTime, + componentEffectEndTime + )))); flags & 2048 && commitOffscreenPassiveMountEffects( - wasInHydratedSubtree, + prevProfilerEffectDuration, finishedWork ); break; @@ -15623,12 +15771,9 @@ break; case 30: isViewTransitionEligible && - ((isViewTransitionEligible = finishedWork.alternate), - null !== isViewTransitionEligible && - (restoreViewTransitionOnHostInstances( - isViewTransitionEligible.child, - !0 - ), + ((flags = finishedWork.alternate), + null !== flags && + (restoreViewTransitionOnHostInstances(flags.child, !0), restoreViewTransitionOnHostInstances(finishedWork.child, !0))); recursivelyTraversePassiveMountEffects( finishedRoot, @@ -15647,18 +15792,43 @@ endTime ); } - (finishedWork.mode & ProfileMode) !== NoMode && + if ((finishedWork.mode & ProfileMode) !== NoMode) { + if ( + (finishedRoot = + !inHydratedSubtree && + null === finishedWork.alternate && + null !== finishedWork.return && + null !== finishedWork.return.alternate) + ) + (committedLanes = finishedWork.actualStartTime), + 0.05 < endTime - committedLanes && + logComponentTrigger( + finishedWork, + committedLanes, + endTime, + "Mount" + ); 0 <= componentEffectStartTime && - 0 <= componentEffectEndTime && - 0.05 < componentEffectDuration && - logComponentEffect( - finishedWork, - componentEffectStartTime, - componentEffectEndTime, - componentEffectDuration, - componentEffectErrors - ); + 0 <= componentEffectEndTime && + (0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ), + finishedRoot && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Mount" + )); + } popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseReconnectPassiveEffects( @@ -15694,6 +15864,7 @@ endTime ) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); (finishedWork.mode & ProfileMode) !== NoMode && 0 < finishedWork.actualStartTime && @@ -15791,6 +15962,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseAtomicPassiveEffects( @@ -15933,12 +16105,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -15949,6 +16133,7 @@ } function commitPassiveUnmountOnFiber(finishedWork) { var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: @@ -15963,25 +16148,36 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + popNestedEffectDurations(prevProfilerEffectDuration); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= + ? ((prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected), - recursivelyTraverseDisconnectPassiveEffects(finishedWork)) + recursivelyTraverseDisconnectPassiveEffects(finishedWork), + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + "Disconnect" + )) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: @@ -15999,6 +16195,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { @@ -16006,12 +16203,24 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + (childToDelete.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectEndTime - componentEffectStartTime && + logComponentTrigger( + childToDelete, + componentEffectStartTime, + componentEffectEndTime, + "Unmount" + ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -16020,6 +16229,9 @@ (parentFiber = parentFiber.sibling); } function disconnectPassiveEffect(finishedWork) { + var prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), + prevEffectErrors = pushComponentEffectErrors(); switch (finishedWork.tag) { case 0: case 11: @@ -16040,6 +16252,20 @@ default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } + (finishedWork.mode & ProfileMode) !== NoMode && + 0 <= componentEffectStartTime && + 0 <= componentEffectEndTime && + 0.05 < componentEffectDuration && + logComponentEffect( + finishedWork, + componentEffectStartTime, + componentEffectEndTime, + componentEffectDuration, + componentEffectErrors + ); + popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); + componentEffectErrors = prevEffectErrors; } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, @@ -16050,6 +16276,7 @@ current = fiber, nearestMountedAncestor = nearestMountedAncestor$jscomp$0, prevEffectStart = pushComponentEffectStart(), + prevEffectDuration = pushComponentEffectDuration(), prevEffectErrors = pushComponentEffectErrors(); switch (current.tag) { case 0: @@ -16084,6 +16311,7 @@ componentEffectErrors ); popComponentEffectStart(prevEffectStart); + popComponentEffectDuration(prevEffectDuration); componentEffectErrors = prevEffectErrors; current = fiber.child; if (null !== current) (current.return = fiber), (nextEffect = current); @@ -16091,18 +16319,18 @@ a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { current = nextEffect; prevEffectStart = current.sibling; - prevEffectErrors = current.return; + prevEffectDuration = current.return; detachFiberAfterEffects(current); if (current === fiber) { nextEffect = null; break a; } if (null !== prevEffectStart) { - prevEffectStart.return = prevEffectErrors; + prevEffectStart.return = prevEffectDuration; nextEffect = prevEffectStart; break a; } - nextEffect = prevEffectErrors; + nextEffect = prevEffectDuration; } } } @@ -17052,7 +17280,7 @@ default: if (((startTime = yieldStartTime), supportsUserTiming)) { var yieldDuration = yieldEndTime - startTime; - 1 > yieldDuration || + 3 > yieldDuration || ((reusableComponentDevToolDetails.color = 5 > yieldDuration ? "primary-light" @@ -17541,7 +17769,11 @@ (reusableLaneOptions.start = previousRenderStartTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), performance.measure( - isSpawnedUpdate ? "Cascade" : "Blocked", + isSpawnedUpdate + ? "Cascading Update" + : 5 < renderStartTime$jscomp$0 - previousRenderStartTime + ? "Update Blocked" + : "Update", reusableLaneOptions ))); blockingSuspendedTime = blockingUpdateTime = -1.1; @@ -17604,7 +17836,12 @@ ((reusableLaneDevToolDetails.color = "primary-light"), (reusableLaneOptions.start = endTime), (reusableLaneOptions.end = renderStartTime$jscomp$0), - performance.measure("Blocked", reusableLaneOptions))), + performance.measure( + 5 < renderStartTime$jscomp$0 - endTime + ? "Update Blocked" + : "Update", + reusableLaneOptions + ))), (transitionSuspendedTime = transitionUpdateTime = transitionStartTime = @@ -29232,11 +29469,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-experimental-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29273,10 +29510,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29584,5 +29821,5 @@ } }; }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js index b54fa85aa9fe..385ea0ddcee1 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js @@ -18520,14 +18520,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2032 = React.version; if ( - "19.2.0-experimental-040f8286-20250402" !== + "19.2.0-experimental-540cd652-20250403" !== isomorphicReactPackageVersion$jscomp$inline_2032 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2032, - "19.2.0-experimental-040f8286-20250402" + "19.2.0-experimental-540cd652-20250403" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -18549,10 +18549,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2654 = { bundleType: 0, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402" + reconcilerVersion: "19.2.0-experimental-540cd652-20250403" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2655 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18807,4 +18807,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 63eef528db0b..f4ed6817393f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js index ab94273aa204..b399cd36c04f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js index c64b096ca26f..451bf8c2c9d7 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js index a4214b21271f..0d764d3ad2aa 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index 27f0a4f78187..a07f2d7cb43c 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -72,10 +72,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.0.0-experimental-040f8286-20250402" + "scheduler": "0.0.0-experimental-540cd652-20250403" }, "peerDependencies": { - "react": "0.0.0-experimental-040f8286-20250402" + "react": "0.0.0-experimental-540cd652-20250403" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js index 7ec1ce3f39ce..17ae83ef059c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js @@ -4879,6 +4879,14 @@ profilerEffectDuration += prevEffectDuration; return elapsedTime; } + function pushComponentEffectStart() { + var prevEffectStart = componentEffectStartTime; + componentEffectStartTime = -1.1; + return prevEffectStart; + } + function popComponentEffectStart(prevEffectStart) { + 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); + } function startProfilerTimer(fiber) { profilerStartTime = now(); 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); @@ -4907,6 +4915,8 @@ } function startEffectTimer() { profilerStartTime = now(); + 0 > componentEffectStartTime && + (componentEffectStartTime = profilerStartTime); } function transferActualDuration(fiber) { for (var child = fiber.child; child; ) @@ -9569,32 +9579,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2436; - var JSCompiler_object_inline_stack_2437 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2438; + var JSCompiler_object_inline_stack_2439 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2438 = !1; + var JSCompiler_object_inline_componentStack_2440 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2436 = didSuspend) || - (JSCompiler_object_inline_digest_2436 = + (JSCompiler_object_inline_digest_2438 = didSuspend) || + (JSCompiler_object_inline_digest_2438 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2436 && - ((JSCompiler_object_inline_componentStack_2438 = !0), + JSCompiler_object_inline_digest_2438 && + ((JSCompiler_object_inline_componentStack_2440 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2436 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2438 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2438 + JSCompiler_object_inline_componentStack_2440 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2435 = nextHydratableInstance; + var JSCompiler_object_inline_message_2437 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2435)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2437)) { c: { - var instance = JSCompiler_object_inline_message_2435; + var instance = JSCompiler_object_inline_message_2437; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -9636,77 +9646,77 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2435 + JSCompiler_object_inline_message_2437 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2435 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2437 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2435 && - ((JSCompiler_object_inline_message_2435 = - JSCompiler_object_inline_message_2435.dehydrated), - null !== JSCompiler_object_inline_message_2435) + null !== JSCompiler_object_inline_message_2437 && + ((JSCompiler_object_inline_message_2437 = + JSCompiler_object_inline_message_2437.dehydrated), + null !== JSCompiler_object_inline_message_2437) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2435) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2437) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2435 = - JSCompiler_object_inline_stack_2437.children; - JSCompiler_object_inline_stack_2437 = - JSCompiler_object_inline_stack_2437.fallback; - if (JSCompiler_object_inline_componentStack_2438) + JSCompiler_object_inline_message_2437 = + JSCompiler_object_inline_stack_2439.children; + JSCompiler_object_inline_stack_2439 = + JSCompiler_object_inline_stack_2439.fallback; + if (JSCompiler_object_inline_componentStack_2440) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2438 = + (JSCompiler_object_inline_componentStack_2440 = workInProgress.mode), - (JSCompiler_object_inline_message_2435 = + (JSCompiler_object_inline_message_2437 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2435 + children: JSCompiler_object_inline_message_2437 }, - JSCompiler_object_inline_componentStack_2438 + JSCompiler_object_inline_componentStack_2440 )), - (JSCompiler_object_inline_stack_2437 = createFiberFromFragment( - JSCompiler_object_inline_stack_2437, - JSCompiler_object_inline_componentStack_2438, + (JSCompiler_object_inline_stack_2439 = createFiberFromFragment( + JSCompiler_object_inline_stack_2439, + JSCompiler_object_inline_componentStack_2440, renderLanes, null )), - (JSCompiler_object_inline_message_2435.return = workInProgress), - (JSCompiler_object_inline_stack_2437.return = workInProgress), - (JSCompiler_object_inline_message_2435.sibling = - JSCompiler_object_inline_stack_2437), - (workInProgress.child = JSCompiler_object_inline_message_2435), - (JSCompiler_object_inline_componentStack_2438 = + (JSCompiler_object_inline_message_2437.return = workInProgress), + (JSCompiler_object_inline_stack_2439.return = workInProgress), + (JSCompiler_object_inline_message_2437.sibling = + JSCompiler_object_inline_stack_2439), + (workInProgress.child = JSCompiler_object_inline_message_2437), + (JSCompiler_object_inline_componentStack_2440 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2438.memoizedState = + (JSCompiler_object_inline_componentStack_2440.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2438.childLanes = + (JSCompiler_object_inline_componentStack_2440.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2436, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_stack_2439 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2435 + JSCompiler_object_inline_message_2437 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2435 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2435) + ((JSCompiler_object_inline_message_2437 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2437) ) { if (didSuspend) workInProgress.flags & 256 @@ -9723,94 +9733,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2438 = - JSCompiler_object_inline_stack_2437.fallback), - (JSCompiler_object_inline_message_2435 = workInProgress.mode), - (JSCompiler_object_inline_stack_2437 = + (JSCompiler_object_inline_componentStack_2440 = + JSCompiler_object_inline_stack_2439.fallback), + (JSCompiler_object_inline_message_2437 = workInProgress.mode), + (JSCompiler_object_inline_stack_2439 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2437.children + children: JSCompiler_object_inline_stack_2439.children }, - JSCompiler_object_inline_message_2435 + JSCompiler_object_inline_message_2437 )), - (JSCompiler_object_inline_componentStack_2438 = + (JSCompiler_object_inline_componentStack_2440 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2438, - JSCompiler_object_inline_message_2435, + JSCompiler_object_inline_componentStack_2440, + JSCompiler_object_inline_message_2437, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2438.flags |= 2), - (JSCompiler_object_inline_stack_2437.return = workInProgress), - (JSCompiler_object_inline_componentStack_2438.return = + (JSCompiler_object_inline_componentStack_2440.flags |= 2), + (JSCompiler_object_inline_stack_2439.return = workInProgress), + (JSCompiler_object_inline_componentStack_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2437.sibling = - JSCompiler_object_inline_componentStack_2438), - (workInProgress.child = JSCompiler_object_inline_stack_2437), + (JSCompiler_object_inline_stack_2439.sibling = + JSCompiler_object_inline_componentStack_2440), + (workInProgress.child = JSCompiler_object_inline_stack_2439), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2437 = workInProgress.child), - (JSCompiler_object_inline_stack_2437.memoizedState = + (JSCompiler_object_inline_stack_2439 = workInProgress.child), + (JSCompiler_object_inline_stack_2439.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2437.childLanes = + (JSCompiler_object_inline_stack_2439.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2436, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2438)); + JSCompiler_object_inline_componentStack_2440)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2435)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2437)) ) { - JSCompiler_object_inline_digest_2436 = - JSCompiler_object_inline_message_2435.nextSibling && - JSCompiler_object_inline_message_2435.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2436) { - JSCompiler_temp = JSCompiler_object_inline_digest_2436.dgst; - var message = JSCompiler_object_inline_digest_2436.msg; - instance = JSCompiler_object_inline_digest_2436.stck; - var componentStack = JSCompiler_object_inline_digest_2436.cstck; + JSCompiler_object_inline_digest_2438 = + JSCompiler_object_inline_message_2437.nextSibling && + JSCompiler_object_inline_message_2437.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2438) { + JSCompiler_temp = JSCompiler_object_inline_digest_2438.dgst; + var message = JSCompiler_object_inline_digest_2438.msg; + instance = JSCompiler_object_inline_digest_2438.stck; + var componentStack = JSCompiler_object_inline_digest_2438.cstck; } - JSCompiler_object_inline_message_2435 = message; - JSCompiler_object_inline_digest_2436 = JSCompiler_temp; - JSCompiler_object_inline_stack_2437 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2438 = + JSCompiler_object_inline_message_2437 = message; + JSCompiler_object_inline_digest_2438 = JSCompiler_temp; + JSCompiler_object_inline_stack_2439 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2440 = componentStack; - JSCompiler_object_inline_componentStack_2438 = - JSCompiler_object_inline_message_2435 - ? Error(JSCompiler_object_inline_message_2435) + JSCompiler_object_inline_componentStack_2440 = + JSCompiler_object_inline_message_2437 + ? Error(JSCompiler_object_inline_message_2437) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2438.stack = - JSCompiler_object_inline_stack_2437 || ""; - JSCompiler_object_inline_componentStack_2438.digest = - JSCompiler_object_inline_digest_2436; - JSCompiler_object_inline_digest_2436 = + JSCompiler_object_inline_componentStack_2440.stack = + JSCompiler_object_inline_stack_2439 || ""; + JSCompiler_object_inline_componentStack_2440.digest = + JSCompiler_object_inline_digest_2438; + JSCompiler_object_inline_digest_2438 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2437 = { - value: JSCompiler_object_inline_componentStack_2438, + JSCompiler_object_inline_stack_2439 = { + value: JSCompiler_object_inline_componentStack_2440, source: null, - stack: JSCompiler_object_inline_digest_2436 + stack: JSCompiler_object_inline_digest_2438 }; - "string" === typeof JSCompiler_object_inline_digest_2436 && + "string" === typeof JSCompiler_object_inline_digest_2438 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2438, - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_componentStack_2440, + JSCompiler_object_inline_stack_2439 ); - queueHydrationError(JSCompiler_object_inline_stack_2437); + queueHydrationError(JSCompiler_object_inline_stack_2439); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9824,44 +9834,44 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2436 = + (JSCompiler_object_inline_digest_2438 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2436) + didReceiveUpdate || JSCompiler_object_inline_digest_2438) ) { - JSCompiler_object_inline_digest_2436 = workInProgressRoot; + JSCompiler_object_inline_digest_2438 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2436 && - ((JSCompiler_object_inline_stack_2437 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2437 = - 0 !== (JSCompiler_object_inline_stack_2437 & 42) + null !== JSCompiler_object_inline_digest_2438 && + ((JSCompiler_object_inline_stack_2439 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2439 = + 0 !== (JSCompiler_object_inline_stack_2439 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_stack_2439 )), - (JSCompiler_object_inline_stack_2437 = + (JSCompiler_object_inline_stack_2439 = 0 !== - (JSCompiler_object_inline_stack_2437 & - (JSCompiler_object_inline_digest_2436.suspendedLanes | + (JSCompiler_object_inline_stack_2439 & + (JSCompiler_object_inline_digest_2438.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2437), - 0 !== JSCompiler_object_inline_stack_2437 && - JSCompiler_object_inline_stack_2437 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2439), + 0 !== JSCompiler_object_inline_stack_2439 && + JSCompiler_object_inline_stack_2439 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2437), + ((prevState.retryLane = JSCompiler_object_inline_stack_2439), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_stack_2439 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2436, + JSCompiler_object_inline_digest_2438, current, - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_stack_2439 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2435.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9869,14 +9879,14 @@ renderLanes ); } else - JSCompiler_object_inline_message_2435.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2435.nextSibling + JSCompiler_object_inline_message_2437.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9894,57 +9904,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2437.children + JSCompiler_object_inline_stack_2439.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2438) + if (JSCompiler_object_inline_componentStack_2440) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2438 = - JSCompiler_object_inline_stack_2437.fallback), - (JSCompiler_object_inline_message_2435 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2440 = + JSCompiler_object_inline_stack_2439.fallback), + (JSCompiler_object_inline_message_2437 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2437 = createWorkInProgress( + (JSCompiler_object_inline_stack_2439 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2437.children + children: JSCompiler_object_inline_stack_2439.children } )), - (JSCompiler_object_inline_stack_2437.subtreeFlags = + (JSCompiler_object_inline_stack_2439.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2438 = + ? (JSCompiler_object_inline_componentStack_2440 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2438 + JSCompiler_object_inline_componentStack_2440 )) - : ((JSCompiler_object_inline_componentStack_2438 = + : ((JSCompiler_object_inline_componentStack_2440 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2438, - JSCompiler_object_inline_message_2435, + JSCompiler_object_inline_componentStack_2440, + JSCompiler_object_inline_message_2437, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2438.flags |= 2)), - (JSCompiler_object_inline_componentStack_2438.return = + (JSCompiler_object_inline_componentStack_2440.flags |= 2)), + (JSCompiler_object_inline_componentStack_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2437.return = workInProgress), - (JSCompiler_object_inline_stack_2437.sibling = - JSCompiler_object_inline_componentStack_2438), - (workInProgress.child = JSCompiler_object_inline_stack_2437), - (JSCompiler_object_inline_stack_2437 = - JSCompiler_object_inline_componentStack_2438), - (JSCompiler_object_inline_componentStack_2438 = workInProgress.child), - (JSCompiler_object_inline_message_2435 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2435 - ? (JSCompiler_object_inline_message_2435 = + (JSCompiler_object_inline_stack_2439.return = workInProgress), + (JSCompiler_object_inline_stack_2439.sibling = + JSCompiler_object_inline_componentStack_2440), + (workInProgress.child = JSCompiler_object_inline_stack_2439), + (JSCompiler_object_inline_stack_2439 = + JSCompiler_object_inline_componentStack_2440), + (JSCompiler_object_inline_componentStack_2440 = workInProgress.child), + (JSCompiler_object_inline_message_2437 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2437 + ? (JSCompiler_object_inline_message_2437 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2435.cachePool), + JSCompiler_object_inline_message_2437.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9952,37 +9962,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2435 = { + (JSCompiler_object_inline_message_2437 = { baseLanes: - JSCompiler_object_inline_message_2435.baseLanes | renderLanes, + JSCompiler_object_inline_message_2437.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2438.memoizedState = - JSCompiler_object_inline_message_2435), - (JSCompiler_object_inline_componentStack_2438.childLanes = + (JSCompiler_object_inline_componentStack_2440.memoizedState = + JSCompiler_object_inline_message_2437), + (JSCompiler_object_inline_componentStack_2440.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2436, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2437 + JSCompiler_object_inline_stack_2439 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2437.children + children: JSCompiler_object_inline_stack_2439.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2436 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2436 + ((JSCompiler_object_inline_digest_2438 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2438 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2436.push(current)); + : JSCompiler_object_inline_digest_2438.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -12628,7 +12638,8 @@ } } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -12815,6 +12826,7 @@ default: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); } + popComponentEffectStart(prevEffectStart); } function detachFiberAfterEffects(fiber) { var alternate = fiber.alternate; @@ -12868,6 +12880,7 @@ err )); } + var prevEffectStart = pushComponentEffectStart(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -13041,6 +13054,7 @@ deletedFiber ); } + popComponentEffectStart(prevEffectStart); } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -13109,6 +13123,7 @@ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -13138,6 +13153,7 @@ commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; + popComponentEffectStart(prevEffectStart); root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); @@ -13149,7 +13165,8 @@ (parentFiber = parentFiber.sibling); } function commitMutationEffectsOnFiber(finishedWork, root) { - var current = finishedWork.alternate, + var prevEffectStart = pushComponentEffectStart(), + current = finishedWork.alternate, flags = finishedWork.flags; switch (finishedWork.tag) { case 0: @@ -13587,6 +13604,7 @@ recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function commitReconciliationEffects(finishedWork) { var flags = finishedWork.flags; @@ -13616,6 +13634,7 @@ (parentFiber = parentFiber.sibling); } function disappearLayoutEffects(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -13660,6 +13679,7 @@ default: recursivelyTraverseDisappearLayoutEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber; ) @@ -13672,7 +13692,8 @@ finishedWork, includeWorkInProgressEffects ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -13790,6 +13811,7 @@ includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseReappearLayoutEffects( finishedRoot, @@ -13851,7 +13873,8 @@ committedLanes, committedTransitions ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -13874,7 +13897,7 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13889,8 +13912,9 @@ finishedWork !== committedLanes && (retainCache(finishedWork), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { @@ -13935,10 +13959,11 @@ case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; var _current = finishedWork.alternate; null !== finishedWork.memoizedState - ? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + ? prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13949,14 +13974,15 @@ finishedRoot, finishedWork ) - : prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + : prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) - : ((prevEffectDuration._visibility |= + : ((prevProfilerEffectDuration._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -13986,6 +14012,7 @@ committedTransitions ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -14014,7 +14041,8 @@ committedTransitions, includeWorkInProgressEffects ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -14081,6 +14109,7 @@ includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, @@ -14187,12 +14216,14 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -14202,6 +14233,7 @@ (parentFiber = parentFiber.sibling); } function commitPassiveUnmountOnFiber(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -14215,23 +14247,24 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + popNestedEffectDurations(prevProfilerEffectDuration); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= + ? ((prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)) : recursivelyTraversePassiveUnmountEffects(finishedWork); @@ -14239,18 +14272,21 @@ default: recursivelyTraversePassiveUnmountEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -14259,6 +14295,7 @@ (parentFiber = parentFiber.sibling); } function disconnectPassiveEffect(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -14279,14 +14316,17 @@ default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, - nearestMountedAncestor + nearestMountedAncestor$jscomp$0 ) { for (; null !== nextEffect; ) { var fiber = nextEffect, - current = fiber; + current = fiber, + nearestMountedAncestor = nearestMountedAncestor$jscomp$0, + prevEffectStart = pushComponentEffectStart(); switch (current.tag) { case 0: case 11: @@ -14307,24 +14347,26 @@ case 24: releaseCache(current.memoizedState.cache); } - current = fiber.child; - if (null !== current) (current.return = fiber), (nextEffect = current); + popComponentEffectStart(prevEffectStart); + prevEffectStart = fiber.child; + if (null !== prevEffectStart) + (prevEffectStart.return = fiber), (nextEffect = prevEffectStart); else a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { - current = nextEffect; - var sibling = current.sibling, - returnFiber = current.return; - detachFiberAfterEffects(current); - if (current === fiber) { + prevEffectStart = nextEffect; + current = prevEffectStart.sibling; + nearestMountedAncestor = prevEffectStart.return; + detachFiberAfterEffects(prevEffectStart); + if (prevEffectStart === fiber) { nextEffect = null; break a; } - if (null !== sibling) { - sibling.return = returnFiber; - nextEffect = sibling; + if (null !== current) { + current.return = nearestMountedAncestor; + nextEffect = current; break a; } - nextEffect = returnFiber; + nextEffect = nearestMountedAncestor; } } } @@ -15448,6 +15490,7 @@ try { inProgressLanes = lanes; inProgressRoot = root; + componentEffectStartTime = -1.1; commitMutationEffectsOnFiber(finishedWork, root); inProgressRoot = inProgressLanes = null; lanes = selectionInformation; @@ -15581,6 +15624,7 @@ injectedProfilingHooks.markLayoutEffectsStarted(lanes), (inProgressLanes = lanes), (inProgressRoot = root), + (componentEffectStartTime = -1.1), commitLayoutEffectOnFiber( root, finishedWork.alternate, @@ -15758,10 +15802,14 @@ injectedProfilingHooks.markPassiveEffectsStarted(lanes); var prevExecutionContext = executionContext; executionContext |= CommitContext; - commitPassiveUnmountOnFiber(root$jscomp$0.current); + var finishedWork = root$jscomp$0.current; + componentEffectStartTime = -1.1; + commitPassiveUnmountOnFiber(finishedWork); + var finishedWork$jscomp$0 = root$jscomp$0.current; + componentEffectStartTime = -1.1; commitPassiveMountOnFiber( root$jscomp$0, - root$jscomp$0.current, + finishedWork$jscomp$0, lanes, priority ); @@ -22629,6 +22677,7 @@ commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, + componentEffectStartTime = -1.1, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, currentEntangledListeners = null, @@ -24840,11 +24889,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24881,10 +24930,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402" + reconcilerVersion: "19.2.0-canary-540cd652-20250403" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25028,7 +25077,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js index 838edabc3e60..03fe20dd3fa4 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js @@ -15272,14 +15272,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1779 = React.version; if ( - "19.2.0-canary-040f8286-20250402" !== + "19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion$jscomp$inline_1779 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1779, - "19.2.0-canary-040f8286-20250402" + "19.2.0-canary-540cd652-20250403" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15301,10 +15301,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2250 = { bundleType: 0, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402" + reconcilerVersion: "19.2.0-canary-540cd652-20250403" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2251 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15408,4 +15408,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js index 685001dc6626..e7d9571ba9fd 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js @@ -4887,6 +4887,14 @@ profilerEffectDuration += prevEffectDuration; return elapsedTime; } + function pushComponentEffectStart() { + var prevEffectStart = componentEffectStartTime; + componentEffectStartTime = -1.1; + return prevEffectStart; + } + function popComponentEffectStart(prevEffectStart) { + 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); + } function startProfilerTimer(fiber) { profilerStartTime = now(); 0 > fiber.actualStartTime && (fiber.actualStartTime = profilerStartTime); @@ -4915,6 +4923,8 @@ } function startEffectTimer() { profilerStartTime = now(); + 0 > componentEffectStartTime && + (componentEffectStartTime = profilerStartTime); } function transferActualDuration(fiber) { for (var child = fiber.child; child; ) @@ -9577,32 +9587,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2441; - var JSCompiler_object_inline_stack_2442 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2443; + var JSCompiler_object_inline_stack_2444 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2443 = !1; + var JSCompiler_object_inline_componentStack_2445 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2441 = didSuspend) || - (JSCompiler_object_inline_digest_2441 = + (JSCompiler_object_inline_digest_2443 = didSuspend) || + (JSCompiler_object_inline_digest_2443 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2441 && - ((JSCompiler_object_inline_componentStack_2443 = !0), + JSCompiler_object_inline_digest_2443 && + ((JSCompiler_object_inline_componentStack_2445 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2441 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2443 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2443 + JSCompiler_object_inline_componentStack_2445 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2440 = nextHydratableInstance; + var JSCompiler_object_inline_message_2442 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2440)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2442)) { c: { - var instance = JSCompiler_object_inline_message_2440; + var instance = JSCompiler_object_inline_message_2442; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -9644,77 +9654,77 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2440 + JSCompiler_object_inline_message_2442 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2440 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2442 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2440 && - ((JSCompiler_object_inline_message_2440 = - JSCompiler_object_inline_message_2440.dehydrated), - null !== JSCompiler_object_inline_message_2440) + null !== JSCompiler_object_inline_message_2442 && + ((JSCompiler_object_inline_message_2442 = + JSCompiler_object_inline_message_2442.dehydrated), + null !== JSCompiler_object_inline_message_2442) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2440) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2442) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2440 = - JSCompiler_object_inline_stack_2442.children; - JSCompiler_object_inline_stack_2442 = - JSCompiler_object_inline_stack_2442.fallback; - if (JSCompiler_object_inline_componentStack_2443) + JSCompiler_object_inline_message_2442 = + JSCompiler_object_inline_stack_2444.children; + JSCompiler_object_inline_stack_2444 = + JSCompiler_object_inline_stack_2444.fallback; + if (JSCompiler_object_inline_componentStack_2445) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2443 = + (JSCompiler_object_inline_componentStack_2445 = workInProgress.mode), - (JSCompiler_object_inline_message_2440 = + (JSCompiler_object_inline_message_2442 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2440 + children: JSCompiler_object_inline_message_2442 }, - JSCompiler_object_inline_componentStack_2443 + JSCompiler_object_inline_componentStack_2445 )), - (JSCompiler_object_inline_stack_2442 = createFiberFromFragment( - JSCompiler_object_inline_stack_2442, - JSCompiler_object_inline_componentStack_2443, + (JSCompiler_object_inline_stack_2444 = createFiberFromFragment( + JSCompiler_object_inline_stack_2444, + JSCompiler_object_inline_componentStack_2445, renderLanes, null )), - (JSCompiler_object_inline_message_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2442.return = workInProgress), - (JSCompiler_object_inline_message_2440.sibling = - JSCompiler_object_inline_stack_2442), - (workInProgress.child = JSCompiler_object_inline_message_2440), - (JSCompiler_object_inline_componentStack_2443 = + (JSCompiler_object_inline_message_2442.return = workInProgress), + (JSCompiler_object_inline_stack_2444.return = workInProgress), + (JSCompiler_object_inline_message_2442.sibling = + JSCompiler_object_inline_stack_2444), + (workInProgress.child = JSCompiler_object_inline_message_2442), + (JSCompiler_object_inline_componentStack_2445 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2443.memoizedState = + (JSCompiler_object_inline_componentStack_2445.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2443.childLanes = + (JSCompiler_object_inline_componentStack_2445.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2441, + JSCompiler_object_inline_digest_2443, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_stack_2444 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2440 + JSCompiler_object_inline_message_2442 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2440 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2440) + ((JSCompiler_object_inline_message_2442 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2442) ) { if (didSuspend) workInProgress.flags & 256 @@ -9731,94 +9741,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2443 = - JSCompiler_object_inline_stack_2442.fallback), - (JSCompiler_object_inline_message_2440 = workInProgress.mode), - (JSCompiler_object_inline_stack_2442 = + (JSCompiler_object_inline_componentStack_2445 = + JSCompiler_object_inline_stack_2444.fallback), + (JSCompiler_object_inline_message_2442 = workInProgress.mode), + (JSCompiler_object_inline_stack_2444 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2442.children + children: JSCompiler_object_inline_stack_2444.children }, - JSCompiler_object_inline_message_2440 + JSCompiler_object_inline_message_2442 )), - (JSCompiler_object_inline_componentStack_2443 = + (JSCompiler_object_inline_componentStack_2445 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2443, - JSCompiler_object_inline_message_2440, + JSCompiler_object_inline_componentStack_2445, + JSCompiler_object_inline_message_2442, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2443.flags |= 2), - (JSCompiler_object_inline_stack_2442.return = workInProgress), - (JSCompiler_object_inline_componentStack_2443.return = + (JSCompiler_object_inline_componentStack_2445.flags |= 2), + (JSCompiler_object_inline_stack_2444.return = workInProgress), + (JSCompiler_object_inline_componentStack_2445.return = workInProgress), - (JSCompiler_object_inline_stack_2442.sibling = - JSCompiler_object_inline_componentStack_2443), - (workInProgress.child = JSCompiler_object_inline_stack_2442), + (JSCompiler_object_inline_stack_2444.sibling = + JSCompiler_object_inline_componentStack_2445), + (workInProgress.child = JSCompiler_object_inline_stack_2444), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2442 = workInProgress.child), - (JSCompiler_object_inline_stack_2442.memoizedState = + (JSCompiler_object_inline_stack_2444 = workInProgress.child), + (JSCompiler_object_inline_stack_2444.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2442.childLanes = + (JSCompiler_object_inline_stack_2444.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2441, + JSCompiler_object_inline_digest_2443, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2443)); + JSCompiler_object_inline_componentStack_2445)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2440)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2442)) ) { - JSCompiler_object_inline_digest_2441 = - JSCompiler_object_inline_message_2440.nextSibling && - JSCompiler_object_inline_message_2440.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2441) { - JSCompiler_temp = JSCompiler_object_inline_digest_2441.dgst; - var message = JSCompiler_object_inline_digest_2441.msg; - instance = JSCompiler_object_inline_digest_2441.stck; - var componentStack = JSCompiler_object_inline_digest_2441.cstck; + JSCompiler_object_inline_digest_2443 = + JSCompiler_object_inline_message_2442.nextSibling && + JSCompiler_object_inline_message_2442.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2443) { + JSCompiler_temp = JSCompiler_object_inline_digest_2443.dgst; + var message = JSCompiler_object_inline_digest_2443.msg; + instance = JSCompiler_object_inline_digest_2443.stck; + var componentStack = JSCompiler_object_inline_digest_2443.cstck; } - JSCompiler_object_inline_message_2440 = message; - JSCompiler_object_inline_digest_2441 = JSCompiler_temp; - JSCompiler_object_inline_stack_2442 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2443 = + JSCompiler_object_inline_message_2442 = message; + JSCompiler_object_inline_digest_2443 = JSCompiler_temp; + JSCompiler_object_inline_stack_2444 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2445 = componentStack; - JSCompiler_object_inline_componentStack_2443 = - JSCompiler_object_inline_message_2440 - ? Error(JSCompiler_object_inline_message_2440) + JSCompiler_object_inline_componentStack_2445 = + JSCompiler_object_inline_message_2442 + ? Error(JSCompiler_object_inline_message_2442) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2443.stack = - JSCompiler_object_inline_stack_2442 || ""; - JSCompiler_object_inline_componentStack_2443.digest = - JSCompiler_object_inline_digest_2441; - JSCompiler_object_inline_digest_2441 = + JSCompiler_object_inline_componentStack_2445.stack = + JSCompiler_object_inline_stack_2444 || ""; + JSCompiler_object_inline_componentStack_2445.digest = + JSCompiler_object_inline_digest_2443; + JSCompiler_object_inline_digest_2443 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2442 = { - value: JSCompiler_object_inline_componentStack_2443, + JSCompiler_object_inline_stack_2444 = { + value: JSCompiler_object_inline_componentStack_2445, source: null, - stack: JSCompiler_object_inline_digest_2441 + stack: JSCompiler_object_inline_digest_2443 }; - "string" === typeof JSCompiler_object_inline_digest_2441 && + "string" === typeof JSCompiler_object_inline_digest_2443 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2443, - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_componentStack_2445, + JSCompiler_object_inline_stack_2444 ); - queueHydrationError(JSCompiler_object_inline_stack_2442); + queueHydrationError(JSCompiler_object_inline_stack_2444); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9832,44 +9842,44 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2441 = + (JSCompiler_object_inline_digest_2443 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2441) + didReceiveUpdate || JSCompiler_object_inline_digest_2443) ) { - JSCompiler_object_inline_digest_2441 = workInProgressRoot; + JSCompiler_object_inline_digest_2443 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2441 && - ((JSCompiler_object_inline_stack_2442 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2442 = - 0 !== (JSCompiler_object_inline_stack_2442 & 42) + null !== JSCompiler_object_inline_digest_2443 && + ((JSCompiler_object_inline_stack_2444 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2444 = + 0 !== (JSCompiler_object_inline_stack_2444 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_stack_2444 )), - (JSCompiler_object_inline_stack_2442 = + (JSCompiler_object_inline_stack_2444 = 0 !== - (JSCompiler_object_inline_stack_2442 & - (JSCompiler_object_inline_digest_2441.suspendedLanes | + (JSCompiler_object_inline_stack_2444 & + (JSCompiler_object_inline_digest_2443.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2442), - 0 !== JSCompiler_object_inline_stack_2442 && - JSCompiler_object_inline_stack_2442 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2444), + 0 !== JSCompiler_object_inline_stack_2444 && + JSCompiler_object_inline_stack_2444 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2442), + ((prevState.retryLane = JSCompiler_object_inline_stack_2444), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_stack_2444 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2441, + JSCompiler_object_inline_digest_2443, current, - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_stack_2444 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2440.data === + JSCompiler_object_inline_message_2442.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9877,14 +9887,14 @@ renderLanes ); } else - JSCompiler_object_inline_message_2440.data === + JSCompiler_object_inline_message_2442.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2440.nextSibling + JSCompiler_object_inline_message_2442.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9902,57 +9912,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2442.children + JSCompiler_object_inline_stack_2444.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2443) + if (JSCompiler_object_inline_componentStack_2445) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2443 = - JSCompiler_object_inline_stack_2442.fallback), - (JSCompiler_object_inline_message_2440 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2445 = + JSCompiler_object_inline_stack_2444.fallback), + (JSCompiler_object_inline_message_2442 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2442 = createWorkInProgress( + (JSCompiler_object_inline_stack_2444 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2442.children + children: JSCompiler_object_inline_stack_2444.children } )), - (JSCompiler_object_inline_stack_2442.subtreeFlags = + (JSCompiler_object_inline_stack_2444.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2443 = + ? (JSCompiler_object_inline_componentStack_2445 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2443 + JSCompiler_object_inline_componentStack_2445 )) - : ((JSCompiler_object_inline_componentStack_2443 = + : ((JSCompiler_object_inline_componentStack_2445 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2443, - JSCompiler_object_inline_message_2440, + JSCompiler_object_inline_componentStack_2445, + JSCompiler_object_inline_message_2442, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2443.flags |= 2)), - (JSCompiler_object_inline_componentStack_2443.return = + (JSCompiler_object_inline_componentStack_2445.flags |= 2)), + (JSCompiler_object_inline_componentStack_2445.return = workInProgress), - (JSCompiler_object_inline_stack_2442.return = workInProgress), - (JSCompiler_object_inline_stack_2442.sibling = - JSCompiler_object_inline_componentStack_2443), - (workInProgress.child = JSCompiler_object_inline_stack_2442), - (JSCompiler_object_inline_stack_2442 = - JSCompiler_object_inline_componentStack_2443), - (JSCompiler_object_inline_componentStack_2443 = workInProgress.child), - (JSCompiler_object_inline_message_2440 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2440 - ? (JSCompiler_object_inline_message_2440 = + (JSCompiler_object_inline_stack_2444.return = workInProgress), + (JSCompiler_object_inline_stack_2444.sibling = + JSCompiler_object_inline_componentStack_2445), + (workInProgress.child = JSCompiler_object_inline_stack_2444), + (JSCompiler_object_inline_stack_2444 = + JSCompiler_object_inline_componentStack_2445), + (JSCompiler_object_inline_componentStack_2445 = workInProgress.child), + (JSCompiler_object_inline_message_2442 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2442 + ? (JSCompiler_object_inline_message_2442 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2440.cachePool), + JSCompiler_object_inline_message_2442.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9960,37 +9970,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2440 = { + (JSCompiler_object_inline_message_2442 = { baseLanes: - JSCompiler_object_inline_message_2440.baseLanes | renderLanes, + JSCompiler_object_inline_message_2442.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2443.memoizedState = - JSCompiler_object_inline_message_2440), - (JSCompiler_object_inline_componentStack_2443.childLanes = + (JSCompiler_object_inline_componentStack_2445.memoizedState = + JSCompiler_object_inline_message_2442), + (JSCompiler_object_inline_componentStack_2445.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2441, + JSCompiler_object_inline_digest_2443, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2442 + JSCompiler_object_inline_stack_2444 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2442.children + children: JSCompiler_object_inline_stack_2444.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2441 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2441 + ((JSCompiler_object_inline_digest_2443 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2443 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2441.push(current)); + : JSCompiler_object_inline_digest_2443.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -12636,7 +12646,8 @@ } } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -12823,6 +12834,7 @@ default: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); } + popComponentEffectStart(prevEffectStart); } function detachFiberAfterEffects(fiber) { var alternate = fiber.alternate; @@ -12876,6 +12888,7 @@ err )); } + var prevEffectStart = pushComponentEffectStart(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -13049,6 +13062,7 @@ deletedFiber ); } + popComponentEffectStart(prevEffectStart); } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -13117,6 +13131,7 @@ var root = root$jscomp$0, returnFiber = parentFiber, deletedFiber = deletions[i], + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -13146,6 +13161,7 @@ commitDeletionEffectsOnFiber(root, returnFiber, deletedFiber); hostParent = null; hostParentIsContainer = !1; + popComponentEffectStart(prevEffectStart); root = deletedFiber; returnFiber = root.alternate; null !== returnFiber && (returnFiber.return = null); @@ -13157,7 +13173,8 @@ (parentFiber = parentFiber.sibling); } function commitMutationEffectsOnFiber(finishedWork, root) { - var current = finishedWork.alternate, + var prevEffectStart = pushComponentEffectStart(), + current = finishedWork.alternate, flags = finishedWork.flags; switch (finishedWork.tag) { case 0: @@ -13595,6 +13612,7 @@ recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function commitReconciliationEffects(finishedWork) { var flags = finishedWork.flags; @@ -13624,6 +13642,7 @@ (parentFiber = parentFiber.sibling); } function disappearLayoutEffects(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -13668,6 +13687,7 @@ default: recursivelyTraverseDisappearLayoutEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber; ) @@ -13680,7 +13700,8 @@ finishedWork, includeWorkInProgressEffects ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -13798,6 +13819,7 @@ includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseReappearLayoutEffects( finishedRoot, @@ -13859,7 +13881,8 @@ committedLanes, committedTransitions ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -13882,7 +13905,7 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13897,8 +13920,9 @@ finishedWork !== committedLanes && (retainCache(finishedWork), null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { @@ -13943,10 +13967,11 @@ case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; var _current = finishedWork.alternate; null !== finishedWork.memoizedState - ? prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + ? prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -13957,14 +13982,15 @@ finishedRoot, finishedWork ) - : prevEffectDuration._visibility & OffscreenPassiveEffectsConnected + : prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) - : ((prevEffectDuration._visibility |= + : ((prevProfilerEffectDuration._visibility |= OffscreenPassiveEffectsConnected), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -13994,6 +14020,7 @@ committedTransitions ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -14022,7 +14049,8 @@ committedTransitions, includeWorkInProgressEffects ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -14089,6 +14117,7 @@ includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, @@ -14195,12 +14224,14 @@ if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -14210,6 +14241,7 @@ (parentFiber = parentFiber.sibling); } function commitPassiveUnmountOnFiber(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -14223,23 +14255,24 @@ ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + popNestedEffectDurations(prevProfilerEffectDuration); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & OffscreenPassiveEffectsConnected && + prevProfilerEffectDuration._visibility & + OffscreenPassiveEffectsConnected && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= + ? ((prevProfilerEffectDuration._visibility &= ~OffscreenPassiveEffectsConnected), recursivelyTraverseDisconnectPassiveEffects(finishedWork)) : recursivelyTraversePassiveUnmountEffects(finishedWork); @@ -14247,18 +14280,21 @@ default: recursivelyTraversePassiveUnmountEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -14267,6 +14303,7 @@ (parentFiber = parentFiber.sibling); } function disconnectPassiveEffect(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -14287,14 +14324,17 @@ default: recursivelyTraverseDisconnectPassiveEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, - nearestMountedAncestor + nearestMountedAncestor$jscomp$0 ) { for (; null !== nextEffect; ) { var fiber = nextEffect, - current = fiber; + current = fiber, + nearestMountedAncestor = nearestMountedAncestor$jscomp$0, + prevEffectStart = pushComponentEffectStart(); switch (current.tag) { case 0: case 11: @@ -14315,24 +14355,26 @@ case 24: releaseCache(current.memoizedState.cache); } - current = fiber.child; - if (null !== current) (current.return = fiber), (nextEffect = current); + popComponentEffectStart(prevEffectStart); + prevEffectStart = fiber.child; + if (null !== prevEffectStart) + (prevEffectStart.return = fiber), (nextEffect = prevEffectStart); else a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { - current = nextEffect; - var sibling = current.sibling, - returnFiber = current.return; - detachFiberAfterEffects(current); - if (current === fiber) { + prevEffectStart = nextEffect; + current = prevEffectStart.sibling; + nearestMountedAncestor = prevEffectStart.return; + detachFiberAfterEffects(prevEffectStart); + if (prevEffectStart === fiber) { nextEffect = null; break a; } - if (null !== sibling) { - sibling.return = returnFiber; - nextEffect = sibling; + if (null !== current) { + current.return = nearestMountedAncestor; + nextEffect = current; break a; } - nextEffect = returnFiber; + nextEffect = nearestMountedAncestor; } } } @@ -15460,6 +15502,7 @@ try { inProgressLanes = lanes; inProgressRoot = root; + componentEffectStartTime = -1.1; commitMutationEffectsOnFiber(finishedWork, root); inProgressRoot = inProgressLanes = null; lanes = selectionInformation; @@ -15593,6 +15636,7 @@ injectedProfilingHooks.markLayoutEffectsStarted(lanes), (inProgressLanes = lanes), (inProgressRoot = root), + (componentEffectStartTime = -1.1), commitLayoutEffectOnFiber( root, finishedWork.alternate, @@ -15770,10 +15814,14 @@ injectedProfilingHooks.markPassiveEffectsStarted(lanes); var prevExecutionContext = executionContext; executionContext |= CommitContext; - commitPassiveUnmountOnFiber(root$jscomp$0.current); + var finishedWork = root$jscomp$0.current; + componentEffectStartTime = -1.1; + commitPassiveUnmountOnFiber(finishedWork); + var finishedWork$jscomp$0 = root$jscomp$0.current; + componentEffectStartTime = -1.1; commitPassiveMountOnFiber( root$jscomp$0, - root$jscomp$0.current, + finishedWork$jscomp$0, lanes, priority ); @@ -22686,6 +22734,7 @@ commitStartTime = -0, profilerStartTime = -1.1, profilerEffectDuration = -0, + componentEffectStartTime = -1.1, currentUpdateIsNested = !1, nestedUpdateScheduled = !1, currentEntangledListeners = null, @@ -24897,11 +24946,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24938,10 +24987,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402" + reconcilerVersion: "19.2.0-canary-540cd652-20250403" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25415,7 +25464,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js index 591a4b1862e5..44401860ec62 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js @@ -3142,7 +3142,8 @@ function releaseCache(cache) { var now = Scheduler.unstable_now, commitStartTime = -0, profilerStartTime = -1.1, - profilerEffectDuration = -0; + profilerEffectDuration = -0, + componentEffectStartTime = -1.1; function pushNestedEffectDurations() { var prevEffectDuration = profilerEffectDuration; profilerEffectDuration = 0; @@ -3158,6 +3159,14 @@ function bubbleNestedEffectDurations(prevEffectDuration) { profilerEffectDuration += prevEffectDuration; return elapsedTime; } +function pushComponentEffectStart() { + var prevEffectStart = componentEffectStartTime; + componentEffectStartTime = -1.1; + return prevEffectStart; +} +function popComponentEffectStart(prevEffectStart) { + 0 <= prevEffectStart && (componentEffectStartTime = prevEffectStart); +} var currentUpdateIsNested = !1, nestedUpdateScheduled = !1; function startProfilerTimer(fiber) { @@ -3188,6 +3197,8 @@ function recordEffectDuration() { } function startEffectTimer() { profilerStartTime = now(); + 0 > componentEffectStartTime && + (componentEffectStartTime = profilerStartTime); } function transferActualDuration(fiber) { for (var child = fiber.child; child; ) @@ -9131,7 +9142,8 @@ function commitBeforeMutationEffects(root, firstChild) { } } function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -9286,6 +9298,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { default: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); } + popComponentEffectStart(prevEffectStart); } function detachFiberAfterEffects(fiber) { var alternate = fiber.alternate; @@ -9326,6 +9339,7 @@ function commitDeletionEffectsOnFiber( try { injectedHook.onCommitFiberUnmount(rendererID, deletedFiber); } catch (err) {} + var prevEffectStart = pushComponentEffectStart(); switch (deletedFiber.tag) { case 26: offscreenSubtreeWasHidden || @@ -9481,6 +9495,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); } + popComponentEffectStart(prevEffectStart); } function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) { if ( @@ -9538,6 +9553,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { var childToDelete = deletions[i], root = root$jscomp$0, returnFiber = parentFiber, + prevEffectStart = pushComponentEffectStart(), parent = returnFiber; a: for (; null !== parent; ) { switch (parent.tag) { @@ -9564,6 +9580,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { commitDeletionEffectsOnFiber(root, returnFiber, childToDelete); hostParent = null; hostParentIsContainer = !1; + popComponentEffectStart(prevEffectStart); root = childToDelete.alternate; null !== root && (root.return = null); childToDelete.return = null; @@ -9575,7 +9592,8 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { } var currentHoistableRoot = null; function commitMutationEffectsOnFiber(finishedWork, root) { - var current = finishedWork.alternate, + var prevEffectStart = pushComponentEffectStart(), + current = finishedWork.alternate, flags = finishedWork.flags; switch (finishedWork.tag) { case 0: @@ -9973,6 +9991,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork), commitReconciliationEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function commitReconciliationEffects(finishedWork) { var flags = finishedWork.flags; @@ -10040,7 +10059,8 @@ function recursivelyTraverseLayoutEffects(root, parentFiber) { } function recursivelyTraverseDisappearLayoutEffects(parentFiber) { for (parentFiber = parentFiber.child; null !== parentFiber; ) { - var finishedWork = parentFiber; + var finishedWork = parentFiber, + prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -10077,6 +10097,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) { default: recursivelyTraverseDisappearLayoutEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); parentFiber = parentFiber.sibling; } } @@ -10091,6 +10112,7 @@ function recursivelyTraverseReappearLayoutEffects( var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, + prevEffectStart = pushComponentEffectStart(), flags = finishedWork.flags; switch (finishedWork.tag) { case 0: @@ -10204,6 +10226,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); parentFiber = parentFiber.sibling; } } @@ -10251,7 +10274,8 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ) { - var flags = finishedWork.flags; + var prevEffectStart = pushComponentEffectStart(), + flags = finishedWork.flags; switch (finishedWork.tag) { case 0: case 11: @@ -10273,7 +10297,7 @@ function commitPassiveMountOnFiber( ); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -10288,8 +10312,9 @@ function commitPassiveMountOnFiber( finishedWork !== committedLanes && (finishedWork.refCount++, null != committedLanes && releaseCache(committedLanes))); - finishedRoot.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedRoot.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: if (flags & 2048) { @@ -10304,9 +10329,9 @@ function commitPassiveMountOnFiber( finishedRoot.passiveEffectDuration += bubbleNestedEffectDurations(flags); try { - prevEffectDuration = finishedWork.memoizedProps; - var id = prevEffectDuration.id, - onPostCommit = prevEffectDuration.onPostCommit, + prevProfilerEffectDuration = finishedWork.memoizedProps; + var id = prevProfilerEffectDuration.id, + onPostCommit = prevProfilerEffectDuration.onPostCommit, phase = null === finishedWork.alternate ? "mount" : "update"; currentUpdateIsNested && (phase = "nested-update"); "function" === typeof onPostCommit && @@ -10338,10 +10363,10 @@ function commitPassiveMountOnFiber( case 23: break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; id = finishedWork.alternate; null !== finishedWork.memoizedState - ? prevEffectDuration._visibility & 2 + ? prevProfilerEffectDuration._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, @@ -10349,14 +10374,14 @@ function commitPassiveMountOnFiber( committedTransitions ) : recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : prevEffectDuration._visibility & 2 + : prevProfilerEffectDuration._visibility & 2 ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) - : ((prevEffectDuration._visibility |= 2), + : ((prevProfilerEffectDuration._visibility |= 2), recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, @@ -10384,6 +10409,7 @@ function commitPassiveMountOnFiber( committedTransitions ); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseReconnectPassiveEffects( finishedRoot$jscomp$0, @@ -10399,6 +10425,7 @@ function recursivelyTraverseReconnectPassiveEffects( finishedWork = parentFiber, committedLanes = committedLanes$jscomp$0, committedTransitions = committedTransitions$jscomp$0, + prevEffectStart = pushComponentEffectStart(), flags = finishedWork.flags; switch (finishedWork.tag) { case 0: @@ -10466,6 +10493,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); } + popComponentEffectStart(prevEffectStart); parentFiber = parentFiber.sibling; } } @@ -10561,12 +10589,14 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } @@ -10576,6 +10606,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { (parentFiber = parentFiber.sibling); } function commitPassiveUnmountOnFiber(finishedWork) { + var prevEffectStart = pushComponentEffectStart(); switch (finishedWork.tag) { case 0: case 11: @@ -10585,46 +10616,51 @@ function commitPassiveUnmountOnFiber(finishedWork) { commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9); break; case 3: - var prevEffectDuration = pushNestedEffectDurations(); + var prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.stateNode.passiveEffectDuration += - popNestedEffectDurations(prevEffectDuration); + finishedWork.stateNode.passiveEffectDuration += popNestedEffectDurations( + prevProfilerEffectDuration + ); break; case 12: - prevEffectDuration = pushNestedEffectDurations(); + prevProfilerEffectDuration = pushNestedEffectDurations(); recursivelyTraversePassiveUnmountEffects(finishedWork); finishedWork.stateNode.passiveEffectDuration += - bubbleNestedEffectDurations(prevEffectDuration); + bubbleNestedEffectDurations(prevProfilerEffectDuration); break; case 22: - prevEffectDuration = finishedWork.stateNode; + prevProfilerEffectDuration = finishedWork.stateNode; null !== finishedWork.memoizedState && - prevEffectDuration._visibility & 2 && + prevProfilerEffectDuration._visibility & 2 && (null === finishedWork.return || 13 !== finishedWork.return.tag) - ? ((prevEffectDuration._visibility &= -3), + ? ((prevProfilerEffectDuration._visibility &= -3), recursivelyTraverseDisconnectPassiveEffects(finishedWork)) : recursivelyTraversePassiveUnmountEffects(finishedWork); break; default: recursivelyTraversePassiveUnmountEffects(finishedWork); } + popComponentEffectStart(prevEffectStart); } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { - var childToDelete = deletions[i]; + var childToDelete = deletions[i], + prevEffectStart = pushComponentEffectStart(); nextEffect = childToDelete; commitPassiveUnmountEffectsInsideOfDeletedTree_begin( childToDelete, parentFiber ); + popComponentEffectStart(prevEffectStart); } detachAlternateSiblings(parentFiber); } for (parentFiber = parentFiber.child; null !== parentFiber; ) { deletions = parentFiber; + i = pushComponentEffectStart(); switch (deletions.tag) { case 0: case 11: @@ -10633,23 +10669,26 @@ function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { recursivelyTraverseDisconnectPassiveEffects(deletions); break; case 22: - i = deletions.stateNode; - i._visibility & 2 && - ((i._visibility &= -3), + childToDelete = deletions.stateNode; + childToDelete._visibility & 2 && + ((childToDelete._visibility &= -3), recursivelyTraverseDisconnectPassiveEffects(deletions)); break; default: recursivelyTraverseDisconnectPassiveEffects(deletions); } + popComponentEffectStart(i); parentFiber = parentFiber.sibling; } } function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( deletedSubtreeRoot, - nearestMountedAncestor + nearestMountedAncestor$jscomp$0 ) { for (; null !== nextEffect; ) { - var fiber = nextEffect; + var fiber = nextEffect, + nearestMountedAncestor = nearestMountedAncestor$jscomp$0, + prevEffectStart = pushComponentEffectStart(); switch (fiber.tag) { case 0: case 11: @@ -10658,32 +10697,31 @@ function commitPassiveUnmountEffectsInsideOfDeletedTree_begin( break; case 23: case 22: - if ( - null !== fiber.memoizedState && - null !== fiber.memoizedState.cachePool - ) { - var cache = fiber.memoizedState.cachePool.pool; - null != cache && cache.refCount++; - } + null !== fiber.memoizedState && + null !== fiber.memoizedState.cachePool && + ((nearestMountedAncestor = fiber.memoizedState.cachePool.pool), + null != nearestMountedAncestor && nearestMountedAncestor.refCount++); break; case 24: releaseCache(fiber.memoizedState.cache); } - cache = fiber.child; - if (null !== cache) (cache.return = fiber), (nextEffect = cache); + popComponentEffectStart(prevEffectStart); + prevEffectStart = fiber.child; + if (null !== prevEffectStart) + (prevEffectStart.return = fiber), (nextEffect = prevEffectStart); else a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) { - cache = nextEffect; - var sibling = cache.sibling, - returnFiber = cache.return; - detachFiberAfterEffects(cache); - if (cache === fiber) { + prevEffectStart = nextEffect; + nearestMountedAncestor = prevEffectStart.sibling; + var returnFiber = prevEffectStart.return; + detachFiberAfterEffects(prevEffectStart); + if (prevEffectStart === fiber) { nextEffect = null; break a; } - if (null !== sibling) { - sibling.return = returnFiber; - nextEffect = sibling; + if (null !== nearestMountedAncestor) { + nearestMountedAncestor.return = returnFiber; + nextEffect = nearestMountedAncestor; break a; } nextEffect = returnFiber; @@ -11675,6 +11713,7 @@ function flushMutationEffects() { try { inProgressLanes = lanes; inProgressRoot = root; + componentEffectStartTime = -1.1; commitMutationEffectsOnFiber(finishedWork, root); inProgressRoot = inProgressLanes = null; lanes = selectionInformation; @@ -11805,6 +11844,7 @@ function flushLayoutEffects() { injectedProfilingHooks.markLayoutEffectsStarted(lanes), (inProgressLanes = lanes), (inProgressRoot = root), + (componentEffectStartTime = -1.1), commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork), (inProgressRoot = inProgressLanes = null), null !== injectedProfilingHooks && @@ -11936,10 +11976,14 @@ function flushPassiveEffects() { injectedProfilingHooks.markPassiveEffectsStarted(lanes); var prevExecutionContext = executionContext; executionContext |= 4; - commitPassiveUnmountOnFiber(root$jscomp$0.current); + var finishedWork = root$jscomp$0.current; + componentEffectStartTime = -1.1; + commitPassiveUnmountOnFiber(finishedWork); + var finishedWork$jscomp$0 = root$jscomp$0.current; + componentEffectStartTime = -1.1; commitPassiveMountOnFiber( root$jscomp$0, - root$jscomp$0.current, + finishedWork$jscomp$0, lanes, renderPriority ); @@ -12387,20 +12431,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1616 = 0; - i$jscomp$inline_1616 < simpleEventPluginEvents.length; - i$jscomp$inline_1616++ + var i$jscomp$inline_1618 = 0; + i$jscomp$inline_1618 < simpleEventPluginEvents.length; + i$jscomp$inline_1618++ ) { - var eventName$jscomp$inline_1617 = - simpleEventPluginEvents[i$jscomp$inline_1616], - domEventName$jscomp$inline_1618 = - eventName$jscomp$inline_1617.toLowerCase(), - capitalizedEvent$jscomp$inline_1619 = - eventName$jscomp$inline_1617[0].toUpperCase() + - eventName$jscomp$inline_1617.slice(1); + var eventName$jscomp$inline_1619 = + simpleEventPluginEvents[i$jscomp$inline_1618], + domEventName$jscomp$inline_1620 = + eventName$jscomp$inline_1619.toLowerCase(), + capitalizedEvent$jscomp$inline_1621 = + eventName$jscomp$inline_1619[0].toUpperCase() + + eventName$jscomp$inline_1619.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1618, - "on" + capitalizedEvent$jscomp$inline_1619 + domEventName$jscomp$inline_1620, + "on" + capitalizedEvent$jscomp$inline_1621 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15915,16 +15959,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1875 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1877 = React.version; if ( - "19.2.0-canary-040f8286-20250402" !== - isomorphicReactPackageVersion$jscomp$inline_1875 + "19.2.0-canary-540cd652-20250403" !== + isomorphicReactPackageVersion$jscomp$inline_1877 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1875, - "19.2.0-canary-040f8286-20250402" + isomorphicReactPackageVersion$jscomp$inline_1877, + "19.2.0-canary-540cd652-20250403" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15944,12 +15988,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1882 = { +var internals$jscomp$inline_1884 = { bundleType: 0, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402", + reconcilerVersion: "19.2.0-canary-540cd652-20250403", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$282 = 0; @@ -15967,16 +16011,16 @@ var internals$jscomp$inline_1882 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2314 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2316 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2314.isDisabled && - hook$jscomp$inline_2314.supportsFiber + !hook$jscomp$inline_2316.isDisabled && + hook$jscomp$inline_2316.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2314.inject( - internals$jscomp$inline_1882 + (rendererID = hook$jscomp$inline_2316.inject( + internals$jscomp$inline_1884 )), - (injectedHook = hook$jscomp$inline_2314); + (injectedHook = hook$jscomp$inline_2316); } catch (err) {} } function noop() {} @@ -16229,7 +16273,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index cf81dee9e94b..d66371e5c639 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -9031,5 +9031,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js index bd3a5235a39a..ec7a1e1f4048 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js @@ -5889,4 +5889,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index 8666b21a09e9..9d92c2a60af9 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -9031,5 +9031,5 @@ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index 03526b26c84a..663f70fc62e9 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -5969,4 +5969,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index 929b3f48361d..10c0e11416bf 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -7746,11 +7746,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -9420,5 +9420,5 @@ startWork(request); }); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index 34cb7f8999ce..308fdff66e88 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -6229,12 +6229,12 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.2.0-canary-040f8286-20250402" + "19.2.0-canary-540cd652-20250403" ) ); } @@ -6381,4 +6381,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index 12560a9ccf6d..819ed4187ce3 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -5867,13 +5867,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_761 = React.version; if ( - "19.2.0-canary-040f8286-20250402" !== + "19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion$jscomp$inline_761 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_761 + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5964,4 +5964,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index 89f36d910071..27238c20e5d4 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -7769,11 +7769,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -9450,5 +9450,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index f642b9cf0768..afcc3002a68c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -6324,11 +6324,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6485,4 +6485,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index 2de59e5a30d2..e3ec137fc1bb 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -7644,11 +7644,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9313,5 +9313,5 @@ } }; }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index fbd2bafa5055..683eb2c53b3a 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -6216,11 +6216,11 @@ function abort(request, reason) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-040f8286-20250402" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-540cd652-20250403" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.2.0-canary-040f8286-20250402\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-540cd652-20250403\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6369,4 +6369,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index b90247b38a59..0038a2ae80c8 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js index 1e1651a6bbce..0c21bd0e8fad 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js index 096d39a43379..2414cf86e0c2 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js index 96b382e371cd..1f7118bf4fd7 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index ca7f2d469a8b..e6b2cd3ab6e5 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -67,10 +67,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.27.0-canary-040f8286-20250402" + "scheduler": "0.27.0-canary-540cd652-20250403" }, "peerDependencies": { - "react": "19.2.0-canary-040f8286-20250402" + "react": "19.2.0-canary-540cd652-20250403" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index e46d20f664bc..a5fb2b17f202 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1326,7 +1326,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.js b/packages/next/src/compiled/react-experimental/cjs/react.production.js index 0772fd87bf63..bfe03c12e997 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -603,4 +603,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js index 64dc6d87fce5..d3b4f264d3f0 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js @@ -992,5 +992,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.2.0-experimental-040f8286-20250402"; + exports.version = "19.2.0-experimental-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js index 1e0d48502ac0..2d1eb667e6c9 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js @@ -567,4 +567,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.2.0-experimental-040f8286-20250402"; +exports.version = "19.2.0-experimental-540cd652-20250403"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index 5f0576a7a36f..3e313d33bef0 100644 --- a/packages/next/src/compiled/react-is/package.json +++ b/packages/next/src/compiled/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "19.2.0-canary-040f8286-20250402", + "version": "19.2.0-canary-540cd652-20250403", "description": "Brand checking of React Elements.", "main": "index.js", "sideEffects": false, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index c9b0dd4d5a7a..f2009cfcde36 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -2927,10 +2927,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402", + reconcilerVersion: "19.2.0-experimental-540cd652-20250403", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index 7fce483fd6d1..7b0008e3cb49 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "0.0.0-experimental-040f8286-20250402", - "react-dom": "0.0.0-experimental-040f8286-20250402" + "react": "0.0.0-experimental-540cd652-20250403", + "react-dom": "0.0.0-experimental-540cd652-20250403" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 262ae131df53..602af197ff6f 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -2678,10 +2678,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402", + reconcilerVersion: "19.2.0-canary-540cd652-20250403", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index 09100de094d5..8931db7ae7bf 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "19.2.0-canary-040f8286-20250402", - "react-dom": "19.2.0-canary-040f8286-20250402" + "react": "19.2.0-canary-540cd652-20250403", + "react-dom": "19.2.0-canary-540cd652-20250403" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index 01d540aff920..e25a458754d9 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -2942,10 +2942,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-experimental-040f8286-20250402", + version: "19.2.0-experimental-540cd652-20250403", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-040f8286-20250402", + reconcilerVersion: "19.2.0-experimental-540cd652-20250403", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index 650ac14e490b..ebbc3b855cfc 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "0.0.0-experimental-040f8286-20250402", - "react-dom": "0.0.0-experimental-040f8286-20250402", + "react": "0.0.0-experimental-540cd652-20250403", + "react-dom": "0.0.0-experimental-540cd652-20250403", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index 4b81191f84bf..80d0ac0edb76 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -2693,10 +2693,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-canary-040f8286-20250402", + version: "19.2.0-canary-540cd652-20250403", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-040f8286-20250402", + reconcilerVersion: "19.2.0-canary-540cd652-20250403", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index 1d29b68c0f42..ed7bbe7e2a5d 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "19.2.0-canary-040f8286-20250402", - "react-dom": "19.2.0-canary-040f8286-20250402", + "react": "19.2.0-canary-540cd652-20250403", + "react-dom": "19.2.0-canary-540cd652-20250403", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index 628de0d119de..931d3a1fd0fc 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1242,7 +1242,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react/cjs/react.production.js b/packages/next/src/compiled/react/cjs/react.production.js index c813e182b793..f386cea0b9e6 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -541,4 +541,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/react/cjs/react.react-server.development.js b/packages/next/src/compiled/react/cjs/react.react-server.development.js index fe579cd4d769..a75954f7ac19 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.development.js @@ -811,5 +811,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.2.0-canary-040f8286-20250402"; + exports.version = "19.2.0-canary-540cd652-20250403"; })(); diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.js b/packages/next/src/compiled/react/cjs/react.react-server.production.js index eb040ce97fd0..f19d09491c89 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.js @@ -426,4 +426,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.2.0-canary-040f8286-20250402"; +exports.version = "19.2.0-canary-540cd652-20250403"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index 663a7213035c..bd6635cca688 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={812:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a{var t={974:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a