From eee51eed62b47d0db3f54e08102c32c255be9829 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Wed, 28 Aug 2024 15:35:56 +0000 Subject: [PATCH 1/5] Update `react@experimental` --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 127e8076071b9..58762141a1166 100644 --- a/package.json +++ b/package.json @@ -212,13 +212,13 @@ "react-dom": "19.0.0-rc-eb3ad065-20240822", "react-dom-17": "npm:react-dom@17.0.2", "react-dom-builtin": "npm:react-dom@19.0.0-rc-eb3ad065-20240822", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-eb3ad065-20240822", - "react-experimental-builtin": "npm:react@0.0.0-experimental-eb3ad065-20240822", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-f90a6bcc-20240827", + "react-experimental-builtin": "npm:react@0.0.0-experimental-f90a6bcc-20240827", "react-is-builtin": "npm:react-is@19.0.0-rc-eb3ad065-20240822", "react-server-dom-turbopack": "19.0.0-rc-eb3ad065-20240822", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-eb3ad065-20240822", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827", "react-server-dom-webpack": "19.0.0-rc-eb3ad065-20240822", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-eb3ad065-20240822", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -229,7 +229,7 @@ "sass": "1.54.0", "satori": "0.10.9", "scheduler-builtin": "npm:scheduler@0.25.0-rc-eb3ad065-20240822", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-eb3ad065-20240822", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-f90a6bcc-20240827", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", From 272d73ebb12a50f692bc938b7880e39f63632654 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Wed, 28 Aug 2024 15:35:57 +0000 Subject: [PATCH 2/5] Update `react@rc` --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 58762141a1166..6f08bb2d479c5 100644 --- a/package.json +++ b/package.json @@ -206,18 +206,18 @@ "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "random-seed": "0.3.0", - "react": "19.0.0-rc-eb3ad065-20240822", + "react": "19.0.0-rc-f90a6bcc-20240827", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822", + "react-builtin": "npm:react@19.0.0-rc-f90a6bcc-20240827", + "react-dom": "19.0.0-rc-f90a6bcc-20240827", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-eb3ad065-20240822", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-f90a6bcc-20240827", "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-f90a6bcc-20240827", "react-experimental-builtin": "npm:react@0.0.0-experimental-f90a6bcc-20240827", - "react-is-builtin": "npm:react-is@19.0.0-rc-eb3ad065-20240822", - "react-server-dom-turbopack": "19.0.0-rc-eb3ad065-20240822", + "react-is-builtin": "npm:react-is@19.0.0-rc-f90a6bcc-20240827", + "react-server-dom-turbopack": "19.0.0-rc-f90a6bcc-20240827", "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827", - "react-server-dom-webpack": "19.0.0-rc-eb3ad065-20240822", + "react-server-dom-webpack": "19.0.0-rc-f90a6bcc-20240827", "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", @@ -228,7 +228,7 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-eb3ad065-20240822", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-f90a6bcc-20240827", "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-f90a6bcc-20240827", "seedrandom": "3.0.5", "semver": "7.3.7", @@ -269,10 +269,10 @@ "@babel/traverse": "7.22.5", "@types/react": "npm:types-react@19.0.0-rc.0", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822", - "react-is": "19.0.0-rc-eb3ad065-20240822", - "scheduler": "0.25.0-rc-eb3ad065-20240822" + "react": "19.0.0-rc-f90a6bcc-20240827", + "react-dom": "19.0.0-rc-f90a6bcc-20240827", + "react-is": "19.0.0-rc-f90a6bcc-20240827", + "scheduler": "0.25.0-rc-f90a6bcc-20240827" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" From fc29d061ff0db0ba6c16c04f8a57c03aa940adda Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Wed, 28 Aug 2024 15:35:57 +0000 Subject: [PATCH 3/5] Updated peer dependency references --- examples/reproduction-template/package.json | 4 ++-- packages/create-next-app/templates/index.ts | 2 +- packages/next/package.json | 4 ++-- run-tests.js | 2 +- test/.stats-app/package.json | 4 ++-- test/e2e/next-test/first-time-setup-js/package.json | 4 ++-- test/e2e/next-test/first-time-setup-ts/package.json | 4 ++-- test/lib/next-modes/base.ts | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index 520483482558f..23e1dbf1897e9 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index 460cb26637afc..ad75140b4d6fc 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-eb3ad065-20240822"; +const nextjsReactPeerVersion = "0.0.0-experimental-f90a6bcc-20240827"; /** * Get the file path for a given file in a template, e.g. "next.config.js". diff --git a/packages/next/package.json b/packages/next/package.json index a0d9c9759c092..604ec13085b2f 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -108,8 +108,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822", + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827", "sass": "^1.3.0" }, "peerDependenciesMeta": { diff --git a/run-tests.js b/run-tests.js index b13305e86ee3a..7e54e10a5cf91 100644 --- a/run-tests.js +++ b/run-tests.js @@ -20,7 +20,7 @@ const { getTestFilter } = require('./test/get-test-filter') // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-eb3ad065-20240822"; +const nextjsReactPeerVersion = "0.0.0-experimental-f90a6bcc-20240827"; let argv = require('yargs/yargs')(process.argv.slice(2)) .string('type') diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index 9765ffb1506fd..8f2dc7db63e6f 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827" }, "engines": { "node": ">=18.18.0" diff --git a/test/e2e/next-test/first-time-setup-js/package.json b/test/e2e/next-test/first-time-setup-js/package.json index 6cd81fb168e27..bb04e11caed21 100644 --- a/test/e2e/next-test/first-time-setup-js/package.json +++ b/test/e2e/next-test/first-time-setup-js/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827" } } diff --git a/test/e2e/next-test/first-time-setup-ts/package.json b/test/e2e/next-test/first-time-setup-ts/package.json index 2176b31033eb9..2894cd43001de 100644 --- a/test/e2e/next-test/first-time-setup-ts/package.json +++ b/test/e2e/next-test/first-time-setup-ts/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827" }, "devDependencies": { "@types/react": "^18", diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index 409f7c514bcad..201751ad8af50 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -51,7 +51,7 @@ type OmitFirstArgument = F extends ( // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-eb3ad065-20240822"; +const nextjsReactPeerVersion = "0.0.0-experimental-f90a6bcc-20240827"; export class NextInstance { protected files: FileRef | { [filename: string]: string | FileRef } From ee29c187408024323ebff5ca8e5b16fae01b44e0 Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Wed, 28 Aug 2024 15:36:09 +0000 Subject: [PATCH 4/5] Update lockfile --- pnpm-lock.yaml | 476 ++++++++++++++++++++++++------------------------- 1 file changed, 238 insertions(+), 238 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a7faa914316fe..6fb0b2e126d25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,10 +15,10 @@ overrides: '@babel/traverse': 7.22.5 '@types/react': npm:types-react@19.0.0-rc.0 '@types/react-dom': npm:types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 - react-is: 19.0.0-rc-eb3ad065-20240822 - scheduler: 0.25.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 + react-is: 19.0.0-rc-f90a6bcc-20240827 + scheduler: 0.25.0-rc-f90a6bcc-20240827 patchedDependencies: webpack-sources@3.2.3: @@ -64,7 +64,7 @@ importers: version: 11.11.0 '@emotion/react': specifier: 11.11.1 - version: 11.11.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + version: 11.11.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) '@fullhuman/postcss-purgecss': specifier: 1.3.0 version: 1.3.0 @@ -73,7 +73,7 @@ importers: version: 2.2.1(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) '@mdx-js/react': specifier: 2.2.1 - version: 2.2.1(react@19.0.0-rc-eb3ad065-20240822) + version: 2.2.1(react@19.0.0-rc-f90a6bcc-20240827) '@next/bundle-analyzer': specifier: workspace:* version: link:packages/next-bundle-analyzer @@ -139,7 +139,7 @@ importers: version: 6.1.2(@jest/globals@29.7.0)(@types/jest@29.5.5)(jest@29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0)) '@testing-library/react': specifier: ^15.0.5 - version: 15.0.7(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + version: 15.0.7(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) '@types/busboy': specifier: 1.5.3 version: 1.5.3 @@ -450,50 +450,50 @@ importers: specifier: 0.3.0 version: 0.3.0 react: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822 + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827 react-17: specifier: npm:react@17.0.2 version: react@17.0.2 react-builtin: - specifier: npm:react@19.0.0-rc-eb3ad065-20240822 - version: react@19.0.0-rc-eb3ad065-20240822 + specifier: npm:react@19.0.0-rc-f90a6bcc-20240827 + version: react@19.0.0-rc-f90a6bcc-20240827 react-dom: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) react-dom-17: specifier: npm:react-dom@17.0.2 - version: react-dom@17.0.2(react@19.0.0-rc-eb3ad065-20240822) + version: react-dom@17.0.2(react@19.0.0-rc-f90a6bcc-20240827) react-dom-builtin: - specifier: npm:react-dom@19.0.0-rc-eb3ad065-20240822 - version: react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + specifier: npm:react-dom@19.0.0-rc-f90a6bcc-20240827 + version: react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) react-dom-experimental-builtin: - specifier: npm:react-dom@0.0.0-experimental-eb3ad065-20240822 - version: react-dom@0.0.0-experimental-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + specifier: npm:react-dom@0.0.0-experimental-f90a6bcc-20240827 + version: react-dom@0.0.0-experimental-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) react-experimental-builtin: - specifier: npm:react@0.0.0-experimental-eb3ad065-20240822 - version: react@0.0.0-experimental-eb3ad065-20240822 + specifier: npm:react@0.0.0-experimental-f90a6bcc-20240827 + version: react@0.0.0-experimental-f90a6bcc-20240827 react-is-builtin: - specifier: npm:react-is@19.0.0-rc-eb3ad065-20240822 - version: react-is@19.0.0-rc-eb3ad065-20240822 + specifier: npm:react-is@19.0.0-rc-f90a6bcc-20240827 + version: react-is@19.0.0-rc-f90a6bcc-20240827 react-server-dom-turbopack: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) react-server-dom-turbopack-experimental: - specifier: npm:react-server-dom-turbopack@0.0.0-experimental-eb3ad065-20240822 - version: react-server-dom-turbopack@0.0.0-experimental-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) + specifier: npm:react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827 + version: react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) react-server-dom-webpack: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) react-server-dom-webpack-experimental: - specifier: npm:react-server-dom-webpack@0.0.0-experimental-eb3ad065-20240822 - version: react-server-dom-webpack@0.0.0-experimental-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) + specifier: npm:react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827 + version: react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) react-ssr-prepass: specifier: 1.0.8 - version: 1.0.8(react-is@19.0.0-rc-eb3ad065-20240822)(react@19.0.0-rc-eb3ad065-20240822) + version: 1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-f90a6bcc-20240827) react-virtualized: specifier: 9.22.3 - version: 9.22.3(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) + version: 9.22.3(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) relay-compiler: specifier: 13.0.2 version: 13.0.2 @@ -516,11 +516,11 @@ importers: specifier: 0.10.9 version: 0.10.9 scheduler-builtin: - specifier: npm:scheduler@0.25.0-rc-eb3ad065-20240822 - version: scheduler@0.25.0-rc-eb3ad065-20240822 + specifier: npm:scheduler@0.25.0-rc-f90a6bcc-20240827 + version: scheduler@0.25.0-rc-f90a6bcc-20240827 scheduler-experimental-builtin: - specifier: npm:scheduler@0.0.0-experimental-eb3ad065-20240822 - version: scheduler@0.0.0-experimental-eb3ad065-20240822 + specifier: npm:scheduler@0.0.0-experimental-f90a6bcc-20240827 + version: scheduler@0.0.0-experimental-f90a6bcc-20240827 seedrandom: specifier: 3.0.5 version: 3.0.5 @@ -535,16 +535,16 @@ importers: version: 6.0.0 styled-components: specifier: 6.0.0-rc.3 - version: 6.0.0-rc.3(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) + version: 6.0.0-rc.3(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) styled-jsx: specifier: 5.1.6 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-eb3ad065-20240822) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-f90a6bcc-20240827) styled-jsx-plugin-postcss: specifier: 3.0.2 version: 3.0.2 swr: specifier: ^2.2.4 - version: 2.2.4(react@19.0.0-rc-eb3ad065-20240822) + version: 2.2.4(react@19.0.0-rc-f90a6bcc-20240827) tailwindcss: specifier: 3.2.7 version: 3.2.7(postcss@8.4.31) @@ -619,13 +619,13 @@ importers: dependencies: '@mantine/core': specifier: ^7.10.1 - version: 7.10.1(@mantine/hooks@7.11.2(react@19.0.0-rc-eb3ad065-20240822))(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + version: 7.10.1(@mantine/hooks@7.11.2(react@19.0.0-rc-f90a6bcc-20240827))(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) lodash-es: specifier: ^4.17.21 version: 4.17.21 lucide-react: specifier: ^0.383.0 - version: 0.383.0(react@19.0.0-rc-eb3ad065-20240822) + version: 0.383.0(react@19.0.0-rc-f90a6bcc-20240827) mermaid: specifier: ^10.9.1 version: 10.9.1 @@ -871,17 +871,17 @@ importers: specifier: 8.4.31 version: 8.4.31 react: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822 + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827 react-dom: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) 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.0.0-rc-eb3ad065-20240822) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-f90a6bcc-20240827) optionalDependencies: sharp: specifier: ^0.33.4 @@ -1462,7 +1462,7 @@ importers: version: 1.0.35 unistore: specifier: 3.4.1 - version: 3.4.1(react@19.0.0-rc-eb3ad065-20240822) + version: 3.4.1(react@19.0.0-rc-f90a6bcc-20240827) util: specifier: 0.12.4 version: 0.12.4 @@ -1547,7 +1547,7 @@ importers: version: 2.2.1(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))) '@mdx-js/react': specifier: '>=0.15.0' - version: 2.2.1(react@19.0.0-rc-eb3ad065-20240822) + version: 2.2.1(react@19.0.0-rc-f90a6bcc-20240827) source-map: specifier: ^0.7.0 version: 0.7.3 @@ -1596,8 +1596,8 @@ importers: packages/third-parties: dependencies: react: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822 + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827 third-party-capital: specifier: 1.0.20 version: 1.0.20 @@ -1657,14 +1657,14 @@ importers: specifier: 29.5.0 version: 29.5.0 react: - specifier: 19.0.0-rc-eb3ad065-20240822 - version: 19.0.0-rc-eb3ad065-20240822 + specifier: 19.0.0-rc-f90a6bcc-20240827 + version: 19.0.0-rc-f90a6bcc-20240827 react-test-renderer: specifier: 18.2.0 - version: 18.2.0(react@19.0.0-rc-eb3ad065-20240822) + version: 18.2.0(react@19.0.0-rc-f90a6bcc-20240827) styled-jsx: specifier: ^5.1.2 - version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-eb3ad065-20240822) + version: 5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-f90a6bcc-20240827) turbopack/packages/devlow-bench: dependencies: @@ -3276,7 +3276,7 @@ packages: resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -3293,7 +3293,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -3490,14 +3490,14 @@ packages: '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 '@floating-ui/react@0.26.16': resolution: {integrity: sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 '@floating-ui/utils@0.2.2': resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} @@ -4145,13 +4145,13 @@ packages: resolution: {integrity: sha512-l9ypojKN3PjwO1CSLIsqxi7mA25+7w+xc71Q+JuCCREI0tuGwkZsKbIOpuTATIJOjPh8ycLiW7QxX1LYsRTq6w==} peerDependencies: '@mantine/hooks': 7.10.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 '@mantine/hooks@7.11.2': resolution: {integrity: sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@mapbox/node-pre-gyp@1.0.5': resolution: {integrity: sha512-4srsKPXWlIxp5Vbqz5uLfBN+du2fJChBoYn/f2h991WLdk7jUvcSk/McVLSv/X+xQIPI8eGD5GjrnygdyHnhPA==} @@ -4168,7 +4168,7 @@ packages: '@mdx-js/react@2.2.1': resolution: {integrity: sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@mswjs/cookies@1.1.0': resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==} @@ -4851,8 +4851,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -10438,7 +10438,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -12674,23 +12674,23 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@0.0.0-experimental-eb3ad065-20240822: - resolution: {integrity: sha512-O6XTxN2ulg78baDGgwBw5jX2rLQnpA8gUouiyOTjhCxtK+/8J+zKmhcPzuMEqjJ9cMhxiouH5tLwSTuBPa65tQ==} + react-dom@0.0.0-experimental-f90a6bcc-20240827: + resolution: {integrity: sha512-/DMAaqV/ERR0TsHvZGOof9m7zYdGCxjEV4OfXAU5jM/6oiOUiatqXChrXMof5VKO8iGwUB0jUU3VHTnT3YdT8w==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 react-dom@17.0.2: resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 - react-dom@19.0.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-PkEZhqpGHRKgX6+pbh/TA/P00evzbekvVgHYdZATzq5Alt0pO+v9VQeoJiVJUCmx6hfX3/7J9Q6d3X11Dv9X0w==} + react-dom@19.0.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-oUa/reDvGtjRcxi8u+GYHaDHanudaO28+G+Wvxm50CItW1xwIFN2Nn7foJxxDS9lFLGdRWZvjxldZEPAUSuXbg==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 - react-is@19.0.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-RhJGcAwKQZbl6a0pc5IaDQQBfrquZwGnBAK1kyCocSM68H5jXbxsoDJLHsNXBgJZ5TrCvrNEfgy/19zH/23g0w==} + react-is@19.0.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-1tXoLFzVbqHAQeY3CwpyF5IYbkwgSoNHhrhS8qOrfiZIh2461h/C1BP/JVIxwyL51wHhUgLsAc/M8g0OcEhV1A==} react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} @@ -12698,8 +12698,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -12710,7 +12710,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -12720,58 +12720,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-eb3ad065-20240822: - resolution: {integrity: sha512-qHNd55oQiv4bd6qymd6WdnLrgXgL+EJ23RacbyrSlU32UPxly3FjIL293JCBLsNUN+0cQAy/xb8WswAP1Kt85w==} + react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827: + resolution: {integrity: sha512-/B4NuY2LzL2CYWHFy0TukyMBGlAqnUvdSwu86ptHSs4Kn0fOmDKPUnduf3K3B4DIZZ7J0Pe7MjtA/3GzOonjZg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 - react-server-dom-turbopack@19.0.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-ITe3y2tdNtafhetjSeBY/2kU4sxbTNDZ2imdxGAWbLeOZmjmWO+1QyPq4qc1r2HgI4N6hlBfc2cdm4erg9+lWg==} + react-server-dom-turbopack@19.0.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-crLdoFxainwDKuKxxNAdfX/WGm/tokMJ/koCV2EAMir7O+i89hzD/WWZfw1GyP3xj2r1DgYzEB515vT50cuEpg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 - react-server-dom-webpack@0.0.0-experimental-eb3ad065-20240822: - resolution: {integrity: sha512-BCEIWfLEzxG4QCLH+4lLOyiXFb6jN0pNN1HAPjHO9dw3frfakmtlaK4E3TKGQbFkgndMvLKHEz3mW3ljpoHMSQ==} + react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827: + resolution: {integrity: sha512-yPATOHnJo690972cpvDThYKgLRfOr/jrWXo2w6gw3cZQC8cWcXXHp2KUa7H/dd9JikOeAAu+im7dLr/895zk+Q==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 webpack: 5.90.0 - react-server-dom-webpack@19.0.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-rZ5J9foRb3MosZSJpaC4OYH3jSyGJ3ujTdpax9hMT27Ay1mShH+qZCI3FBhe3kTMZlk/ntoOI9dejFL1mh+Yog==} + react-server-dom-webpack@19.0.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-3AcZlwCzhql1osaRB1eNCjg511XcupV0a+fNHfS/EN72HzI49zteb7wVIvGHg03eR7TAUBa7Oxnd0XceU9SKQA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 webpack: 5.90.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-is: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-is: 19.0.0-rc-f90a6bcc-20240827 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -12779,30 +12779,30 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 - react@0.0.0-experimental-eb3ad065-20240822: - resolution: {integrity: sha512-SaiA4DYfun4KZSbdiXANTXfFfe8Uq/o37cRex/ymUfMVfdqLhq12quD7VTRLkCk8q6uUc5iU2pRNoO+q79QWzg==} + react@0.0.0-experimental-f90a6bcc-20240827: + resolution: {integrity: sha512-FeURlA1ZnWEbrebCjMFEmmWHhrcDiPNcy3L2x6FLzMDwe8oOmQj34yprZ/NYbYILYLJhftSS1QaDdzFzhp96ng==} engines: {node: '>=0.10.0'} react@17.0.2: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-513yEft7EGkntyU77wVBDXtUaEBVCaegbqBuNP4YfsDjvIgNrbVpJVW3JoSdfEpXPWaqlS89ALb3mRmJpDYbUQ==} + react@19.0.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-XMSTS5fg3jy87V+NgK1aYIca4eXil7xD8cOiEDnm2FoBvLBN2/hW5sxpEHTllengKxq9APDz+uft+LZRPwScUA==} engines: {node: '>=0.10.0'} read-cache@1.0.0: @@ -13324,11 +13324,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-eb3ad065-20240822: - resolution: {integrity: sha512-rJhKt6di3GgZs7LoDmHZFKIfDBLFSHU0ZuwY7yRzxaGkeLjxWrmKCUA9l7A+xwTJV6gLmXGDr5frLjUTFrZTAA==} + scheduler@0.0.0-experimental-f90a6bcc-20240827: + resolution: {integrity: sha512-Nt4J/aLHfxJgDZTj4g4AuaYzu8ZfFYOroMpU7OkdUjkGCnyrMMwwDw3nKzphDrQn1uxZFu/adI+RfMW0yITCww==} - scheduler@0.25.0-rc-eb3ad065-20240822: - resolution: {integrity: sha512-9hA+IyqsTvVrALciz4PEG5z4PecftOsp+JEMLqkywELxVD+7H73pO/Ig9BI0pDCcq+d6uyaYWo5Kbnv3J37nXg==} + scheduler@0.25.0-rc-f90a6bcc-20240827: + resolution: {integrity: sha512-1qRPgemZ2O2dsOW9yoSArOProZemRmFDJ8cWZ1OolxMEihMdsx45Gwbv8PLkd47Oej43VhXl3N+31N6dRRi2FQ==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -13897,8 +13897,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -13912,7 +13912,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@babel/core': optional: true @@ -13989,7 +13989,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -14733,7 +14733,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -14741,13 +14741,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -14756,7 +14756,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -14766,7 +14766,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 peerDependenciesMeta: '@types/react': optional: true @@ -14774,7 +14774,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 use@3.1.1: resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==} @@ -17162,17 +17162,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0)': + '@emotion/react@11.11.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0)': 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.0.0-rc-eb3ad065-20240822) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-f90a6bcc-20240827) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 @@ -17188,9 +17188,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-eb3ad065-20240822)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@emotion/utils@1.2.1': {} @@ -17461,18 +17461,18 @@ snapshots: '@floating-ui/core': 1.6.2 '@floating-ui/utils': 0.2.2 - '@floating-ui/react-dom@2.1.0(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)': + '@floating-ui/react-dom@2.1.0(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: '@floating-ui/dom': 1.6.5 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) - '@floating-ui/react@0.26.16(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)': + '@floating-ui/react@0.26.16(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: - '@floating-ui/react-dom': 2.1.0(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) + '@floating-ui/react-dom': 2.1.0(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) '@floating-ui/utils': 0.2.2 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) tabbable: 6.2.0 '@floating-ui/utils@0.2.2': {} @@ -18489,23 +18489,23 @@ snapshots: dependencies: call-bind: 1.0.7 - '@mantine/core@7.10.1(@mantine/hooks@7.11.2(react@19.0.0-rc-eb3ad065-20240822))(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0)': + '@mantine/core@7.10.1(@mantine/hooks@7.11.2(react@19.0.0-rc-f90a6bcc-20240827))(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0)': dependencies: - '@floating-ui/react': 0.26.16(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) - '@mantine/hooks': 7.11.2(react@19.0.0-rc-eb3ad065-20240822) + '@floating-ui/react': 0.26.16(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) + '@mantine/hooks': 7.11.2(react@19.0.0-rc-f90a6bcc-20240827) clsx: 2.1.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) - react-number-format: 5.4.0(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822) - react-remove-scroll: 2.5.10(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) - react-textarea-autosize: 8.5.3(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) + react-number-format: 5.4.0(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827) + react-remove-scroll: 2.5.10(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) + react-textarea-autosize: 8.5.3(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) type-fest: 4.18.3 transitivePeerDependencies: - '@types/react' - '@mantine/hooks@7.11.2(react@19.0.0-rc-eb3ad065-20240822)': + '@mantine/hooks@7.11.2(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@mapbox/node-pre-gyp@1.0.5(encoding@0.1.13)': dependencies: @@ -18552,11 +18552,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.0.0-rc-eb3ad065-20240822)': + '@mdx-js/react@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: '@types/mdx': 2.0.3 '@types/react': types-react@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 '@mswjs/cookies@1.1.0': {} @@ -19369,13 +19369,13 @@ snapshots: '@types/jest': 29.5.5 jest: 29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0) - '@testing-library/react@15.0.7(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0)': + '@testing-library/react@15.0.7(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 @@ -24397,7 +24397,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 homedir-polyfill@1.0.3: dependencies: @@ -26379,9 +26379,9 @@ snapshots: lru-cache@7.18.3: {} - lucide-react@0.383.0(react@19.0.0-rc-eb3ad065-20240822): + lucide-react@0.383.0(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 lz-string@1.5.0: {} @@ -28836,25 +28836,25 @@ snapshots: '@jest/types': 24.9.0 ansi-regex: 4.1.0 ansi-styles: 3.2.1 - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 pretty-ms@7.0.0: dependencies: @@ -28911,7 +28911,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.0.0-rc-eb3ad065-20240822 + react-is: 19.0.0-rc-f90a6bcc-20240827 property-information@5.6.0: dependencies: @@ -29083,142 +29083,142 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@0.0.0-experimental-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822): + react-dom@0.0.0-experimental-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - scheduler: 0.25.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + scheduler: 0.25.0-rc-f90a6bcc-20240827 - react-dom@17.0.2(react@19.0.0-rc-eb3ad065-20240822): + react-dom@17.0.2(react@19.0.0-rc-f90a6bcc-20240827): dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react: 19.0.0-rc-eb3ad065-20240822 - scheduler: 0.25.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + scheduler: 0.25.0-rc-f90a6bcc-20240827 - react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822): + react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - scheduler: 0.25.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + scheduler: 0.25.0-rc-f90a6bcc-20240827 - react-is@19.0.0-rc-eb3ad065-20240822: {} + react-is@19.0.0-rc-f90a6bcc-20240827: {} react-lifecycles-compat@3.0.4: {} - react-number-format@5.4.0(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822): + react-number-format@5.4.0(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827): dependencies: prop-types: 15.8.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) react-refresh@0.12.0: {} - react-remove-scroll-bar@2.3.6(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + react-remove-scroll-bar@2.3.6(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-style-singleton: 2.2.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + react: 19.0.0-rc-f90a6bcc-20240827 + react-style-singleton: 2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) tslib: 2.6.2 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-remove-scroll@2.5.10(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + react-remove-scroll@2.5.10(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-remove-scroll-bar: 2.3.6(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) - react-style-singleton: 2.2.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + react: 19.0.0-rc-f90a6bcc-20240827 + react-remove-scroll-bar: 2.3.6(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) + react-style-singleton: 2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) tslib: 2.6.2 - use-callback-ref: 1.3.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) - use-sidecar: 1.1.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + use-callback-ref: 1.3.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) + use-sidecar: 1.1.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-server-dom-turbopack@0.0.0-experimental-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822): + react-server-dom-turbopack@0.0.0-experimental-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) - react-server-dom-turbopack@19.0.0-rc-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822): + react-server-dom-turbopack@19.0.0-rc-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) - react-server-dom-webpack@0.0.0-experimental-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))): + react-server-dom-webpack@0.0.0-experimental-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.0.0-rc-eb3ad065-20240822(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))): + react-server-dom-webpack@19.0.0-rc-f90a6bcc-20240827(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.12)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.0.0-rc-eb3ad065-20240822): + react-shallow-renderer@16.15.0(react@19.0.0-rc-f90a6bcc-20240827): dependencies: object-assign: 4.1.1 - react: 19.0.0-rc-eb3ad065-20240822 - react-is: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-is: 19.0.0-rc-f90a6bcc-20240827 - react-ssr-prepass@1.0.8(react-is@19.0.0-rc-eb3ad065-20240822)(react@19.0.0-rc-eb3ad065-20240822): + react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-f90a6bcc-20240827): dependencies: object-is: 1.0.2 - react: 19.0.0-rc-eb3ad065-20240822 - react-is: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-is: 19.0.0-rc-f90a6bcc-20240827 - react-style-singleton@2.2.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + react-style-singleton@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: get-nonce: 1.0.1 invariant: 2.2.4 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 tslib: 2.6.2 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-test-renderer@18.2.0(react@19.0.0-rc-eb3ad065-20240822): + react-test-renderer@18.2.0(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - react-is: 19.0.0-rc-eb3ad065-20240822 - react-shallow-renderer: 16.15.0(react@19.0.0-rc-eb3ad065-20240822) - scheduler: 0.25.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 + react-is: 19.0.0-rc-f90a6bcc-20240827 + react-shallow-renderer: 16.15.0(react@19.0.0-rc-f90a6bcc-20240827) + scheduler: 0.25.0-rc-f90a6bcc-20240827 - react-textarea-autosize@8.5.3(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + react-textarea-autosize@8.5.3(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: '@babel/runtime': 7.22.5 - react: 19.0.0-rc-eb3ad065-20240822 - use-composed-ref: 1.3.0(react@19.0.0-rc-eb3ad065-20240822) - use-latest: 1.2.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + react: 19.0.0-rc-f90a6bcc-20240827 + use-composed-ref: 1.3.0(react@19.0.0-rc-f90a6bcc-20240827) + use-latest: 1.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822): + react-virtualized@9.22.3(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827): 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.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-eb3ad065-20240822: {} + react@0.0.0-experimental-f90a6bcc-20240827: {} react@17.0.2: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react@19.0.0-rc-eb3ad065-20240822: {} + react@19.0.0-rc-f90a6bcc-20240827: {} read-cache@1.0.0: dependencies: @@ -29906,9 +29906,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-eb3ad065-20240822: {} + scheduler@0.0.0-experimental-f90a6bcc-20240827: {} - scheduler@0.25.0-rc-eb3ad065-20240822: {} + scheduler@0.25.0-rc-f90a6bcc-20240827: {} schema-utils@2.7.1: dependencies: @@ -30557,7 +30557,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822))(react@19.0.0-rc-eb3ad065-20240822): + styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827))(react@19.0.0-rc-f90a6bcc-20240827): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -30572,8 +30572,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.0.0-rc-eb3ad065-20240822 - react-dom: 19.0.0-rc-eb3ad065-20240822(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + react-dom: 19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -30585,10 +30585,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.0.0-rc-eb3ad065-20240822): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-f90a6bcc-20240827): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -30678,11 +30678,11 @@ snapshots: picocolors: 1.0.1 stable: 0.1.8 - swr@2.2.4(react@19.0.0-rc-eb3ad065-20240822): + swr@2.2.4(react@19.0.0-rc-f90a6bcc-20240827): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-eb3ad065-20240822 - use-sync-external-store: 1.2.0(react@19.0.0-rc-eb3ad065-20240822) + react: 19.0.0-rc-f90a6bcc-20240827 + use-sync-external-store: 1.2.0(react@19.0.0-rc-f90a6bcc-20240827) symbol-observable@1.0.1: {} @@ -31371,9 +31371,9 @@ snapshots: unist-util-is: 5.2.0 unist-util-visit-parents: 5.1.3 - unistore@3.4.1(react@19.0.0-rc-eb3ad065-20240822): + unistore@3.4.1(react@19.0.0-rc-f90a6bcc-20240827): optionalDependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 universal-github-app-jwt@1.1.1: dependencies: @@ -31466,41 +31466,41 @@ snapshots: url-to-options@1.0.1: {} - use-callback-ref@1.3.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + use-callback-ref@1.3.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 tslib: 2.6.2 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-composed-ref@1.3.0(react@19.0.0-rc-eb3ad065-20240822): + use-composed-ref@1.3.0(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 - use-isomorphic-layout-effect@1.1.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + use-isomorphic-layout-effect@1.1.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-latest@1.2.1(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + use-latest@1.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 - use-isomorphic-layout-effect: 1.1.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0) + react: 19.0.0-rc-f90a6bcc-20240827 + use-isomorphic-layout-effect: 1.1.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-sidecar@1.1.2(react@19.0.0-rc-eb3ad065-20240822)(types-react@19.0.0-rc.0): + use-sidecar@1.1.2(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: detect-node-es: 1.1.0 - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 tslib: 2.6.2 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-sync-external-store@1.2.0(react@19.0.0-rc-eb3ad065-20240822): + use-sync-external-store@1.2.0(react@19.0.0-rc-f90a6bcc-20240827): dependencies: - react: 19.0.0-rc-eb3ad065-20240822 + react: 19.0.0-rc-f90a6bcc-20240827 use@3.1.1: {} From c283b9b29201401b8295cd1ef4e1ad1cbc92085a Mon Sep 17 00:00:00 2001 From: vercel-release-bot Date: Wed, 28 Aug 2024 15:36:44 +0000 Subject: [PATCH 5/5] ncc-compiled --- .../cjs/react-dom-client.development.js | 407 ++++++++--------- .../cjs/react-dom-client.production.js | 357 ++++++++------- .../cjs/react-dom-profiling.development.js | 407 ++++++++--------- .../cjs/react-dom-profiling.profiling.js | 363 ++++++++-------- ...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 | 407 ++++++++--------- .../react-dom-unstable_testing.production.js | 357 ++++++++------- .../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 | 411 +++++++++--------- .../cjs/react-dom-client.production.js | 357 ++++++++------- .../cjs/react-dom-profiling.development.js | 411 +++++++++--------- .../cjs/react-dom-profiling.profiling.js | 363 ++++++++-------- ...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-server.browser.development.js | 18 +- ...dom-turbopack-server.browser.production.js | 13 +- ...r-dom-turbopack-server.edge.development.js | 18 +- ...er-dom-turbopack-server.edge.production.js | 13 +- ...r-dom-turbopack-server.node.development.js | 18 +- ...er-dom-turbopack-server.node.production.js | 13 +- .../package.json | 4 +- ...om-turbopack-server.browser.development.js | 18 +- ...dom-turbopack-server.browser.production.js | 13 +- ...r-dom-turbopack-server.edge.development.js | 18 +- ...er-dom-turbopack-server.edge.production.js | 13 +- ...r-dom-turbopack-server.node.development.js | 18 +- ...er-dom-turbopack-server.node.production.js | 13 +- .../react-server-dom-turbopack/package.json | 4 +- ...-dom-webpack-server.browser.development.js | 14 +- ...r-dom-webpack-server.browser.production.js | 13 +- ...ver-dom-webpack-server.edge.development.js | 14 +- ...rver-dom-webpack-server.edge.production.js | 13 +- ...ver-dom-webpack-server.node.development.js | 14 +- ...rver-dom-webpack-server.node.production.js | 13 +- ...bpack-server.node.unbundled.development.js | 14 +- ...ebpack-server.node.unbundled.production.js | 13 +- .../package.json | 4 +- ...-dom-webpack-server.browser.development.js | 14 +- ...r-dom-webpack-server.browser.production.js | 13 +- ...ver-dom-webpack-server.edge.development.js | 14 +- ...rver-dom-webpack-server.edge.production.js | 13 +- ...ver-dom-webpack-server.node.development.js | 14 +- ...rver-dom-webpack-server.node.production.js | 13 +- ...bpack-server.node.unbundled.development.js | 14 +- ...ebpack-server.node.unbundled.production.js | 13 +- .../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 +- 84 files changed, 2342 insertions(+), 2060 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 5c0da199afab2..867688702cc5a 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 @@ -8695,33 +8695,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2300; - var JSCompiler_object_inline_stack_2299 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2306; + var JSCompiler_object_inline_stack_2305 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2297 = !1; + var JSCompiler_object_inline_message_2303 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2300 = didSuspend) || - (JSCompiler_object_inline_componentStack_2300 = + (JSCompiler_object_inline_componentStack_2306 = didSuspend) || + (JSCompiler_object_inline_componentStack_2306 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2300 && - ((JSCompiler_object_inline_message_2297 = !0), + JSCompiler_object_inline_componentStack_2306 && + ((JSCompiler_object_inline_message_2303 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2300 = + JSCompiler_object_inline_componentStack_2306 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2297 + JSCompiler_object_inline_message_2303 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2298 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2304 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2298)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2304)) { c: { - var instance = JSCompiler_object_inline_digest_2298; + var instance = JSCompiler_object_inline_digest_2304; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8762,19 +8762,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2298 + JSCompiler_object_inline_digest_2304 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2298 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2304 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2298 && - ((JSCompiler_object_inline_digest_2298 = - JSCompiler_object_inline_digest_2298.dehydrated), - null !== JSCompiler_object_inline_digest_2298) + null !== JSCompiler_object_inline_digest_2304 && + ((JSCompiler_object_inline_digest_2304 = + JSCompiler_object_inline_digest_2304.dehydrated), + null !== JSCompiler_object_inline_digest_2304) ) return ( - JSCompiler_object_inline_digest_2298.data === + JSCompiler_object_inline_digest_2304.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8782,68 +8782,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2298 = - JSCompiler_object_inline_stack_2299.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2299.fallback; - if (JSCompiler_object_inline_message_2297) + JSCompiler_object_inline_digest_2304 = + JSCompiler_object_inline_stack_2305.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2305.fallback; + if (JSCompiler_object_inline_message_2303) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2299 = + (JSCompiler_object_inline_stack_2305 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2297 = workInProgress.child), - (JSCompiler_object_inline_message_2297.memoizedState = + (JSCompiler_object_inline_message_2303 = workInProgress.child), + (JSCompiler_object_inline_message_2303.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2297.childLanes = + (JSCompiler_object_inline_message_2303.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2300, + JSCompiler_object_inline_componentStack_2306, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2299.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2305.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2299 = + (JSCompiler_object_inline_stack_2305 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2297 = workInProgress.child), - (JSCompiler_object_inline_message_2297.memoizedState = + (JSCompiler_object_inline_message_2303 = workInProgress.child), + (JSCompiler_object_inline_message_2303.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2297.childLanes = + (JSCompiler_object_inline_message_2303.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2300, + JSCompiler_object_inline_componentStack_2306, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2298 + JSCompiler_object_inline_digest_2304 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2298 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2298) + ((JSCompiler_object_inline_digest_2304 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2304) ) { if (didSuspend) workInProgress.flags & 256 @@ -8860,94 +8860,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_stack_2299.fallback), - (JSCompiler_object_inline_digest_2298 = workInProgress.mode), - (JSCompiler_object_inline_stack_2299 = + (JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_stack_2305.fallback), + (JSCompiler_object_inline_digest_2304 = workInProgress.mode), + (JSCompiler_object_inline_stack_2305 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children }, - JSCompiler_object_inline_digest_2298 + JSCompiler_object_inline_digest_2304 )), - (JSCompiler_object_inline_message_2297 = + (JSCompiler_object_inline_message_2303 = createFiberFromFragment( - JSCompiler_object_inline_message_2297, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_message_2303, + JSCompiler_object_inline_digest_2304, renderLanes, null )), - (JSCompiler_object_inline_message_2297.flags |= 2), - (JSCompiler_object_inline_stack_2299.return = workInProgress), - (JSCompiler_object_inline_message_2297.return = workInProgress), - (JSCompiler_object_inline_stack_2299.sibling = - JSCompiler_object_inline_message_2297), - (workInProgress.child = JSCompiler_object_inline_stack_2299), + (JSCompiler_object_inline_message_2303.flags |= 2), + (JSCompiler_object_inline_stack_2305.return = workInProgress), + (JSCompiler_object_inline_message_2303.return = workInProgress), + (JSCompiler_object_inline_stack_2305.sibling = + JSCompiler_object_inline_message_2303), + (workInProgress.child = JSCompiler_object_inline_stack_2305), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2299 = workInProgress.child), - (JSCompiler_object_inline_stack_2299.memoizedState = + (JSCompiler_object_inline_stack_2305 = workInProgress.child), + (JSCompiler_object_inline_stack_2305.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2299.childLanes = + (JSCompiler_object_inline_stack_2305.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2300, + JSCompiler_object_inline_componentStack_2306, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2297)); + (workInProgress = JSCompiler_object_inline_message_2303)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2298.data === + JSCompiler_object_inline_digest_2304.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2300 = - JSCompiler_object_inline_digest_2298.nextSibling && - JSCompiler_object_inline_digest_2298.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2300) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2300.dgst; - var message = JSCompiler_object_inline_componentStack_2300.msg; - instance = JSCompiler_object_inline_componentStack_2300.stck; + JSCompiler_object_inline_componentStack_2306 = + JSCompiler_object_inline_digest_2304.nextSibling && + JSCompiler_object_inline_digest_2304.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2306) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2306.dgst; + var message = JSCompiler_object_inline_componentStack_2306.msg; + instance = JSCompiler_object_inline_componentStack_2306.stck; var componentStack = - JSCompiler_object_inline_componentStack_2300.cstck; + JSCompiler_object_inline_componentStack_2306.cstck; } - JSCompiler_object_inline_message_2297 = message; - JSCompiler_object_inline_digest_2298 = JSCompiler_temp; - JSCompiler_object_inline_stack_2299 = instance; - JSCompiler_object_inline_componentStack_2300 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2298 && - ((JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_message_2297 - ? Error(JSCompiler_object_inline_message_2297) + JSCompiler_object_inline_message_2303 = message; + JSCompiler_object_inline_digest_2304 = JSCompiler_temp; + JSCompiler_object_inline_stack_2305 = instance; + JSCompiler_object_inline_componentStack_2306 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2304 && + ((JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_message_2303 + ? Error(JSCompiler_object_inline_message_2303) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2297.stack = - JSCompiler_object_inline_stack_2299 || ""), - (JSCompiler_object_inline_message_2297.digest = - JSCompiler_object_inline_digest_2298), - (JSCompiler_object_inline_componentStack_2300 = - void 0 === JSCompiler_object_inline_componentStack_2300 + (JSCompiler_object_inline_message_2303.stack = + JSCompiler_object_inline_stack_2305 || ""), + (JSCompiler_object_inline_message_2303.digest = + JSCompiler_object_inline_digest_2304), + (JSCompiler_object_inline_componentStack_2306 = + void 0 === JSCompiler_object_inline_componentStack_2306 ? null - : JSCompiler_object_inline_componentStack_2300), - "string" === typeof JSCompiler_object_inline_componentStack_2300 && + : JSCompiler_object_inline_componentStack_2306), + "string" === typeof JSCompiler_object_inline_componentStack_2306 && CapturedStacks.set( - JSCompiler_object_inline_message_2297, - JSCompiler_object_inline_componentStack_2300 + JSCompiler_object_inline_message_2303, + JSCompiler_object_inline_componentStack_2306 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2297, + value: JSCompiler_object_inline_message_2303, source: null, - stack: JSCompiler_object_inline_componentStack_2300 + stack: JSCompiler_object_inline_componentStack_2306 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8962,25 +8962,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2300 = + (JSCompiler_object_inline_componentStack_2306 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2300) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2306) ) { - JSCompiler_object_inline_componentStack_2300 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2300) { - JSCompiler_object_inline_stack_2299 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2299 & 42)) - JSCompiler_object_inline_stack_2299 = 1; + JSCompiler_object_inline_componentStack_2306 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2306) { + JSCompiler_object_inline_stack_2305 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2305 & 42)) + JSCompiler_object_inline_stack_2305 = 1; else - switch (JSCompiler_object_inline_stack_2299) { + switch (JSCompiler_object_inline_stack_2305) { case 2: - JSCompiler_object_inline_stack_2299 = 1; + JSCompiler_object_inline_stack_2305 = 1; break; case 8: - JSCompiler_object_inline_stack_2299 = 4; + JSCompiler_object_inline_stack_2305 = 4; break; case 32: - JSCompiler_object_inline_stack_2299 = 16; + JSCompiler_object_inline_stack_2305 = 16; break; case 128: case 256: @@ -9001,40 +9001,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2299 = 64; + JSCompiler_object_inline_stack_2305 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2299 = 134217728; + JSCompiler_object_inline_stack_2305 = 134217728; break; default: - JSCompiler_object_inline_stack_2299 = 0; + JSCompiler_object_inline_stack_2305 = 0; } - JSCompiler_object_inline_stack_2299 = + JSCompiler_object_inline_stack_2305 = 0 !== - (JSCompiler_object_inline_stack_2299 & - (JSCompiler_object_inline_componentStack_2300.suspendedLanes | + (JSCompiler_object_inline_stack_2305 & + (JSCompiler_object_inline_componentStack_2306.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2299; + : JSCompiler_object_inline_stack_2305; if ( - 0 !== JSCompiler_object_inline_stack_2299 && - JSCompiler_object_inline_stack_2299 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2305 && + JSCompiler_object_inline_stack_2305 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2299), + ((prevState.retryLane = JSCompiler_object_inline_stack_2305), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2300, + JSCompiler_object_inline_componentStack_2306, current, - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2298.data === + JSCompiler_object_inline_digest_2304.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9042,7 +9042,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2298.data === + JSCompiler_object_inline_digest_2304.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9050,12 +9050,12 @@ null, current )), - (JSCompiler_object_inline_digest_2298._reactRetry = + (JSCompiler_object_inline_digest_2304._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2298.nextSibling + JSCompiler_object_inline_digest_2304.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9073,54 +9073,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2299.children + JSCompiler_object_inline_stack_2305.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2297) + if (JSCompiler_object_inline_message_2303) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_stack_2299.fallback), - (JSCompiler_object_inline_digest_2298 = workInProgress.mode), + (JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_stack_2305.fallback), + (JSCompiler_object_inline_digest_2304 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2299 = createWorkInProgress( + (JSCompiler_object_inline_stack_2305 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children } )), - (JSCompiler_object_inline_stack_2299.subtreeFlags = + (JSCompiler_object_inline_stack_2305.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2297 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2303 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2297 + JSCompiler_object_inline_message_2303 )) - : ((JSCompiler_object_inline_message_2297 = createFiberFromFragment( - JSCompiler_object_inline_message_2297, - JSCompiler_object_inline_digest_2298, + : ((JSCompiler_object_inline_message_2303 = createFiberFromFragment( + JSCompiler_object_inline_message_2303, + JSCompiler_object_inline_digest_2304, renderLanes, null )), - (JSCompiler_object_inline_message_2297.flags |= 2)), - (JSCompiler_object_inline_message_2297.return = workInProgress), - (JSCompiler_object_inline_stack_2299.return = workInProgress), - (JSCompiler_object_inline_stack_2299.sibling = - JSCompiler_object_inline_message_2297), - (workInProgress.child = JSCompiler_object_inline_stack_2299), - (JSCompiler_object_inline_stack_2299 = - JSCompiler_object_inline_message_2297), - (JSCompiler_object_inline_message_2297 = workInProgress.child), - (JSCompiler_object_inline_digest_2298 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2298 - ? (JSCompiler_object_inline_digest_2298 = + (JSCompiler_object_inline_message_2303.flags |= 2)), + (JSCompiler_object_inline_message_2303.return = workInProgress), + (JSCompiler_object_inline_stack_2305.return = workInProgress), + (JSCompiler_object_inline_stack_2305.sibling = + JSCompiler_object_inline_message_2303), + (workInProgress.child = JSCompiler_object_inline_stack_2305), + (JSCompiler_object_inline_stack_2305 = + JSCompiler_object_inline_message_2303), + (JSCompiler_object_inline_message_2303 = workInProgress.child), + (JSCompiler_object_inline_digest_2304 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2304 + ? (JSCompiler_object_inline_digest_2304 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2298.cachePool), + JSCompiler_object_inline_digest_2304.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9128,38 +9128,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2298 = { + (JSCompiler_object_inline_digest_2304 = { baseLanes: - JSCompiler_object_inline_digest_2298.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2304.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2297.memoizedState = - JSCompiler_object_inline_digest_2298), - (JSCompiler_object_inline_message_2297.childLanes = + (JSCompiler_object_inline_message_2303.memoizedState = + JSCompiler_object_inline_digest_2304), + (JSCompiler_object_inline_message_2303.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2300, + JSCompiler_object_inline_componentStack_2306, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2300 = + ((JSCompiler_object_inline_componentStack_2306 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2300 + null === JSCompiler_object_inline_componentStack_2306 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2300.push(current)); + : JSCompiler_object_inline_componentStack_2306.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14814,7 +14814,7 @@ } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext - ? (flushSyncWorkOnAllRoots(), !1) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { @@ -15509,7 +15509,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -15639,7 +15639,7 @@ injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(priority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ @@ -15967,26 +15967,41 @@ ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } - function flushSyncWorkOnAllRoots() { + function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root; ) { - var workInProgressRootRenderLanes$jscomp$0 = - workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes( - root, - root === workInProgressRoot - ? workInProgressRootRenderLanes$jscomp$0 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot( - root, - workInProgressRootRenderLanes$jscomp$0 - )); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root.pendingLanes; + if (0 === pendingLanes) var nextLanes = 0; + else { + var suspendedLanes = root.suspendedLanes, + pingedLanes = root.pingedLanes; + nextLanes = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); + nextLanes = + nextLanes & 201326677 + ? (nextLanes & 201326677) | 1 + : nextLanes + ? nextLanes | 2 + : 0; + } + 0 !== nextLanes && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); + } else + (nextLanes = workInProgressRootRenderLanes), + (nextLanes = getNextLanes( + root, + root === workInProgressRoot ? nextLanes : 0 + )), + 0 !== (nextLanes & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); @@ -15998,33 +16013,29 @@ didScheduleMicrotask_act = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if ( - 0 !== currentEventTransitionLane && - shouldAttemptEagerTransition() - ) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -20439,7 +20450,7 @@ NoContext && ((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -24604,11 +24615,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24645,11 +24656,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822" + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24793,7 +24804,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; "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 a497c2a383b5d..7fdeeece1f932 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 @@ -1955,19 +1955,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$288; + var JSCompiler_inline_result$jscomp$290; if (canUseDOM) { - var isSupported$jscomp$inline_420 = "oninput" in document; - if (!isSupported$jscomp$inline_420) { - var element$jscomp$inline_421 = document.createElement("div"); - element$jscomp$inline_421.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_420 = - "function" === typeof element$jscomp$inline_421.oninput; + var isSupported$jscomp$inline_425 = "oninput" in document; + if (!isSupported$jscomp$inline_425) { + var element$jscomp$inline_426 = document.createElement("div"); + element$jscomp$inline_426.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_425 = + "function" === typeof element$jscomp$inline_426.oninput; } - JSCompiler_inline_result$jscomp$288 = isSupported$jscomp$inline_420; - } else JSCompiler_inline_result$jscomp$288 = !1; + JSCompiler_inline_result$jscomp$290 = isSupported$jscomp$inline_425; + } else JSCompiler_inline_result$jscomp$290 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$288 && + JSCompiler_inline_result$jscomp$290 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -10589,7 +10589,9 @@ function performSyncWorkOnRoot(root, lanes) { return null; } function flushSyncWork$1() { - return 0 === (executionContext & 6) ? (flushSyncWorkOnAllRoots(), !1) : !0; + return 0 === (executionContext & 6) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) + : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { @@ -11110,7 +11112,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); return null; } function releaseRootPooledCache(root, remainingLanes) { @@ -11146,7 +11148,7 @@ function flushPassiveEffects() { commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, renderPriority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot @@ -11311,22 +11313,42 @@ function ensureRootIsScheduled(root) { ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } -function flushSyncWorkOnAllRoots() { +function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$179 = firstScheduledRoot; null !== root$179; ) { - var workInProgressRootRenderLanes$181 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$181 = getNextLanes( - root$179, - root$179 === workInProgressRoot - ? workInProgressRootRenderLanes$181 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$181 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$179, workInProgressRootRenderLanes$181)); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root$179.pendingLanes; + if (0 === pendingLanes) var JSCompiler_inline_result = 0; + else { + var suspendedLanes = root$179.suspendedLanes, + pingedLanes = root$179.pingedLanes; + JSCompiler_inline_result = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + JSCompiler_inline_result &= + pendingLanes & ~(suspendedLanes & ~pingedLanes); + JSCompiler_inline_result = + JSCompiler_inline_result & 201326677 + ? (JSCompiler_inline_result & 201326677) | 1 + : JSCompiler_inline_result + ? JSCompiler_inline_result | 2 + : 0; + } + 0 !== JSCompiler_inline_result && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$179, JSCompiler_inline_result)); + } else + (JSCompiler_inline_result = workInProgressRootRenderLanes), + (JSCompiler_inline_result = getNextLanes( + root$179, + root$179 === workInProgressRoot ? JSCompiler_inline_result : 0 + )), + 0 !== (JSCompiler_inline_result & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$179, JSCompiler_inline_result)); root$179 = root$179.next; } } while (didPerformSomeWork); @@ -11335,30 +11357,29 @@ function flushSyncWorkOnAllRoots() { } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -11538,20 +11559,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1393 = 0; - i$jscomp$inline_1393 < simpleEventPluginEvents.length; - i$jscomp$inline_1393++ + var i$jscomp$inline_1388 = 0; + i$jscomp$inline_1388 < simpleEventPluginEvents.length; + i$jscomp$inline_1388++ ) { - var eventName$jscomp$inline_1394 = - simpleEventPluginEvents[i$jscomp$inline_1393], - domEventName$jscomp$inline_1395 = - eventName$jscomp$inline_1394.toLowerCase(), - capitalizedEvent$jscomp$inline_1396 = - eventName$jscomp$inline_1394[0].toUpperCase() + - eventName$jscomp$inline_1394.slice(1); + var eventName$jscomp$inline_1389 = + simpleEventPluginEvents[i$jscomp$inline_1388], + domEventName$jscomp$inline_1390 = + eventName$jscomp$inline_1389.toLowerCase(), + capitalizedEvent$jscomp$inline_1391 = + eventName$jscomp$inline_1389[0].toUpperCase() + + eventName$jscomp$inline_1389.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1395, - "on" + capitalizedEvent$jscomp$inline_1396 + domEventName$jscomp$inline_1390, + "on" + capitalizedEvent$jscomp$inline_1391 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -12734,34 +12755,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$192 = props[hasSrc]; - if (null != propValue$192) + var propValue$193 = props[hasSrc]; + if (null != propValue$193) switch (hasSrc) { case "name": - hasSrcSet = propValue$192; + hasSrcSet = propValue$193; break; case "type": - propValue = propValue$192; + propValue = propValue$193; break; case "checked": - checked = propValue$192; + checked = propValue$193; break; case "defaultChecked": - defaultChecked = propValue$192; + defaultChecked = propValue$193; break; case "value": - propKey = propValue$192; + propKey = propValue$193; break; case "defaultValue": - defaultValue = propValue$192; + defaultValue = propValue$193; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$192) + if (null != propValue$193) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$192, props, null); + setProp(domElement, tag, hasSrc, propValue$193, props, null); } } initInput( @@ -12898,14 +12919,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$192 in props) - props.hasOwnProperty(propValue$192) && - ((hasSrc = props[propValue$192]), + for (propValue$193 in props) + props.hasOwnProperty(propValue$193) && + ((hasSrc = props[propValue$193]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$192, + propValue$193, hasSrc, props, void 0 @@ -12953,14 +12974,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$209 in nextProps) { - var propKey = nextProps[propKey$209]; - lastProp = lastProps[propKey$209]; + for (var propKey$210 in nextProps) { + var propKey = nextProps[propKey$210]; + lastProp = lastProps[propKey$210]; if ( - nextProps.hasOwnProperty(propKey$209) && + nextProps.hasOwnProperty(propKey$210) && (null != propKey || null != lastProp) ) - switch (propKey$209) { + switch (propKey$210) { case "type": type = propKey; break; @@ -12989,7 +13010,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$209, + propKey$210, propKey, nextProps, lastProp @@ -13008,7 +13029,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$209 = null; + propKey = value = defaultValue = propKey$210 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13039,7 +13060,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$209 = type; + propKey$210 = type; break; case "defaultValue": defaultValue = type; @@ -13060,15 +13081,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$209 - ? updateOptions(domElement, !!lastProps, propKey$209, !1) + null != propKey$210 + ? updateOptions(domElement, !!lastProps, propKey$210, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$209 = null; + propKey = propKey$210 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13092,7 +13113,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$209 = name; + propKey$210 = name; break; case "defaultValue": propKey = name; @@ -13106,17 +13127,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$209, propKey); + updateTextarea(domElement, propKey$210, propKey); return; case "option": - for (var propKey$225 in lastProps) + for (var propKey$226 in lastProps) if ( - ((propKey$209 = lastProps[propKey$225]), - lastProps.hasOwnProperty(propKey$225) && - null != propKey$209 && - !nextProps.hasOwnProperty(propKey$225)) + ((propKey$210 = lastProps[propKey$226]), + lastProps.hasOwnProperty(propKey$226) && + null != propKey$210 && + !nextProps.hasOwnProperty(propKey$226)) ) - switch (propKey$225) { + switch (propKey$226) { case "selected": domElement.selected = !1; break; @@ -13124,33 +13145,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$225, + propKey$226, null, nextProps, - propKey$209 + propKey$210 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$209 = nextProps[lastDefaultValue]), + ((propKey$210 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$209 !== propKey && - (null != propKey$209 || null != propKey)) + propKey$210 !== propKey && + (null != propKey$210 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$209 && - "function" !== typeof propKey$209 && - "symbol" !== typeof propKey$209; + propKey$210 && + "function" !== typeof propKey$210 && + "symbol" !== typeof propKey$210; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$209, + propKey$210, nextProps, propKey ); @@ -13171,24 +13192,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$230 in lastProps) - (propKey$209 = lastProps[propKey$230]), - lastProps.hasOwnProperty(propKey$230) && - null != propKey$209 && - !nextProps.hasOwnProperty(propKey$230) && - setProp(domElement, tag, propKey$230, null, nextProps, propKey$209); + for (var propKey$231 in lastProps) + (propKey$210 = lastProps[propKey$231]), + lastProps.hasOwnProperty(propKey$231) && + null != propKey$210 && + !nextProps.hasOwnProperty(propKey$231) && + setProp(domElement, tag, propKey$231, null, nextProps, propKey$210); for (checked in nextProps) if ( - ((propKey$209 = nextProps[checked]), + ((propKey$210 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$209 !== propKey && - (null != propKey$209 || null != propKey)) + propKey$210 !== propKey && + (null != propKey$210 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$209) + if (null != propKey$210) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13196,7 +13217,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$209, + propKey$210, nextProps, propKey ); @@ -13204,49 +13225,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$235 in lastProps) - (propKey$209 = lastProps[propKey$235]), - lastProps.hasOwnProperty(propKey$235) && - void 0 !== propKey$209 && - !nextProps.hasOwnProperty(propKey$235) && + for (var propKey$236 in lastProps) + (propKey$210 = lastProps[propKey$236]), + lastProps.hasOwnProperty(propKey$236) && + void 0 !== propKey$210 && + !nextProps.hasOwnProperty(propKey$236) && setPropOnCustomElement( domElement, tag, - propKey$235, + propKey$236, void 0, nextProps, - propKey$209 + propKey$210 ); for (defaultChecked in nextProps) - (propKey$209 = nextProps[defaultChecked]), + (propKey$210 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$209 === propKey || - (void 0 === propKey$209 && void 0 === propKey) || + propKey$210 === propKey || + (void 0 === propKey$210 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$209, + propKey$210, nextProps, propKey ); return; } } - for (var propKey$240 in lastProps) - (propKey$209 = lastProps[propKey$240]), - lastProps.hasOwnProperty(propKey$240) && - null != propKey$209 && - !nextProps.hasOwnProperty(propKey$240) && - setProp(domElement, tag, propKey$240, null, nextProps, propKey$209); + for (var propKey$241 in lastProps) + (propKey$210 = lastProps[propKey$241]), + lastProps.hasOwnProperty(propKey$241) && + null != propKey$210 && + !nextProps.hasOwnProperty(propKey$241) && + setProp(domElement, tag, propKey$241, null, nextProps, propKey$210); for (lastProp in nextProps) - (propKey$209 = nextProps[lastProp]), + (propKey$210 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$209 === propKey || - (null == propKey$209 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$209, nextProps, propKey); + propKey$210 === propKey || + (null == propKey$210 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$210, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -13791,26 +13812,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$248 = getResourcesFromRoot( + var styles$249 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$249 = styles$248.get(type); - resource$249 || + resource$250 = styles$249.get(type); + resource$250 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$249 = { + (resource$250 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$248.set(type, resource$249), - (styles$248 = JSCompiler_inline_result.querySelector( + styles$249.set(type, resource$250), + (styles$249 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$248._p && - ((resource$249.instance = styles$248), - (resource$249.state.loading = 5)), + !styles$249._p && + ((resource$250.instance = styles$249), + (resource$250.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -13823,16 +13844,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$248 || + styles$249 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$249.state + resource$250.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$249; + return resource$250; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -13929,37 +13950,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$254 = hoistableRoot.querySelector( + var instance$255 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$254) + if (instance$255) return ( (resource.state.loading |= 4), - (resource.instance = instance$254), - markNodeAsHoistable(instance$254), - instance$254 + (resource.instance = instance$255), + markNodeAsHoistable(instance$255), + instance$255 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$254 = ( + instance$255 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$254); - var linkInstance = instance$254; + markNodeAsHoistable(instance$255); + var linkInstance = instance$255; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$254, "link", instance); + setInitialProperties(instance$255, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$254, props.precedence, hoistableRoot); - return (resource.instance = instance$254); + insertStylesheet(instance$255, props.precedence, hoistableRoot); + return (resource.instance = instance$255); case "script": - instance$254 = getScriptKey(props.src); + instance$255 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$254) + getScriptSelectorFromKey(instance$255) )) ) return ( @@ -13968,7 +13989,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$254))) + if ((styleProps = preloadPropsMap.get(instance$255))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -14477,7 +14498,7 @@ function dispatchEvent( ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now() + 500), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -14991,16 +15012,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1640 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1635 = React.version; if ( - "19.0.0-experimental-eb3ad065-20240822" !== - isomorphicReactPackageVersion$jscomp$inline_1640 + "19.0.0-experimental-f90a6bcc-20240827" !== + isomorphicReactPackageVersion$jscomp$inline_1635 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1640, - "19.0.0-experimental-eb3ad065-20240822" + isomorphicReactPackageVersion$jscomp$inline_1635, + "19.0.0-experimental-f90a6bcc-20240827" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15020,25 +15041,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2039 = { +var internals$jscomp$inline_2043 = { bundleType: 0, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822" + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2040 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2044 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2040.isDisabled && - hook$jscomp$inline_2040.supportsFiber + !hook$jscomp$inline_2044.isDisabled && + hook$jscomp$inline_2044.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2040.inject( - internals$jscomp$inline_2039 + (rendererID = hook$jscomp$inline_2044.inject( + internals$jscomp$inline_2043 )), - (injectedHook = hook$jscomp$inline_2040); + (injectedHook = hook$jscomp$inline_2044); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15130,4 +15151,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 4b4f4fa19d58d..47970a948c106 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 @@ -8703,33 +8703,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2305; - var JSCompiler_object_inline_stack_2304 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2311; + var JSCompiler_object_inline_stack_2310 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2302 = !1; + var JSCompiler_object_inline_message_2308 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2305 = didSuspend) || - (JSCompiler_object_inline_componentStack_2305 = + (JSCompiler_object_inline_componentStack_2311 = didSuspend) || + (JSCompiler_object_inline_componentStack_2311 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2305 && - ((JSCompiler_object_inline_message_2302 = !0), + JSCompiler_object_inline_componentStack_2311 && + ((JSCompiler_object_inline_message_2308 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2305 = + JSCompiler_object_inline_componentStack_2311 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2302 + JSCompiler_object_inline_message_2308 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2303 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2309 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2303)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2309)) { c: { - var instance = JSCompiler_object_inline_digest_2303; + var instance = JSCompiler_object_inline_digest_2309; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8770,19 +8770,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2303 + JSCompiler_object_inline_digest_2309 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2303 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2309 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2303 && - ((JSCompiler_object_inline_digest_2303 = - JSCompiler_object_inline_digest_2303.dehydrated), - null !== JSCompiler_object_inline_digest_2303) + null !== JSCompiler_object_inline_digest_2309 && + ((JSCompiler_object_inline_digest_2309 = + JSCompiler_object_inline_digest_2309.dehydrated), + null !== JSCompiler_object_inline_digest_2309) ) return ( - JSCompiler_object_inline_digest_2303.data === + JSCompiler_object_inline_digest_2309.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8790,68 +8790,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2303 = - JSCompiler_object_inline_stack_2304.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2304.fallback; - if (JSCompiler_object_inline_message_2302) + JSCompiler_object_inline_digest_2309 = + JSCompiler_object_inline_stack_2310.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2310.fallback; + if (JSCompiler_object_inline_message_2308) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2304 = + (JSCompiler_object_inline_stack_2310 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2303, + JSCompiler_object_inline_digest_2309, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2302 = workInProgress.child), - (JSCompiler_object_inline_message_2302.memoizedState = + (JSCompiler_object_inline_message_2308 = workInProgress.child), + (JSCompiler_object_inline_message_2308.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2302.childLanes = + (JSCompiler_object_inline_message_2308.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2305, + JSCompiler_object_inline_componentStack_2311, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2304 + JSCompiler_object_inline_stack_2310 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2304.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2310.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2304 = + (JSCompiler_object_inline_stack_2310 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2303, + JSCompiler_object_inline_digest_2309, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2302 = workInProgress.child), - (JSCompiler_object_inline_message_2302.memoizedState = + (JSCompiler_object_inline_message_2308 = workInProgress.child), + (JSCompiler_object_inline_message_2308.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2302.childLanes = + (JSCompiler_object_inline_message_2308.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2305, + JSCompiler_object_inline_componentStack_2311, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2304 + JSCompiler_object_inline_stack_2310 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2303 + JSCompiler_object_inline_digest_2309 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2303 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2303) + ((JSCompiler_object_inline_digest_2309 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2309) ) { if (didSuspend) workInProgress.flags & 256 @@ -8868,94 +8868,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2302 = - JSCompiler_object_inline_stack_2304.fallback), - (JSCompiler_object_inline_digest_2303 = workInProgress.mode), - (JSCompiler_object_inline_stack_2304 = + (JSCompiler_object_inline_message_2308 = + JSCompiler_object_inline_stack_2310.fallback), + (JSCompiler_object_inline_digest_2309 = workInProgress.mode), + (JSCompiler_object_inline_stack_2310 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2304.children + children: JSCompiler_object_inline_stack_2310.children }, - JSCompiler_object_inline_digest_2303 + JSCompiler_object_inline_digest_2309 )), - (JSCompiler_object_inline_message_2302 = + (JSCompiler_object_inline_message_2308 = createFiberFromFragment( - JSCompiler_object_inline_message_2302, - JSCompiler_object_inline_digest_2303, + JSCompiler_object_inline_message_2308, + JSCompiler_object_inline_digest_2309, renderLanes, null )), - (JSCompiler_object_inline_message_2302.flags |= 2), - (JSCompiler_object_inline_stack_2304.return = workInProgress), - (JSCompiler_object_inline_message_2302.return = workInProgress), - (JSCompiler_object_inline_stack_2304.sibling = - JSCompiler_object_inline_message_2302), - (workInProgress.child = JSCompiler_object_inline_stack_2304), + (JSCompiler_object_inline_message_2308.flags |= 2), + (JSCompiler_object_inline_stack_2310.return = workInProgress), + (JSCompiler_object_inline_message_2308.return = workInProgress), + (JSCompiler_object_inline_stack_2310.sibling = + JSCompiler_object_inline_message_2308), + (workInProgress.child = JSCompiler_object_inline_stack_2310), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2304 = workInProgress.child), - (JSCompiler_object_inline_stack_2304.memoizedState = + (JSCompiler_object_inline_stack_2310 = workInProgress.child), + (JSCompiler_object_inline_stack_2310.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2304.childLanes = + (JSCompiler_object_inline_stack_2310.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2305, + JSCompiler_object_inline_componentStack_2311, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2302)); + (workInProgress = JSCompiler_object_inline_message_2308)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2303.data === + JSCompiler_object_inline_digest_2309.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2305 = - JSCompiler_object_inline_digest_2303.nextSibling && - JSCompiler_object_inline_digest_2303.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2305) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2305.dgst; - var message = JSCompiler_object_inline_componentStack_2305.msg; - instance = JSCompiler_object_inline_componentStack_2305.stck; + JSCompiler_object_inline_componentStack_2311 = + JSCompiler_object_inline_digest_2309.nextSibling && + JSCompiler_object_inline_digest_2309.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2311) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2311.dgst; + var message = JSCompiler_object_inline_componentStack_2311.msg; + instance = JSCompiler_object_inline_componentStack_2311.stck; var componentStack = - JSCompiler_object_inline_componentStack_2305.cstck; + JSCompiler_object_inline_componentStack_2311.cstck; } - JSCompiler_object_inline_message_2302 = message; - JSCompiler_object_inline_digest_2303 = JSCompiler_temp; - JSCompiler_object_inline_stack_2304 = instance; - JSCompiler_object_inline_componentStack_2305 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2303 && - ((JSCompiler_object_inline_message_2302 = - JSCompiler_object_inline_message_2302 - ? Error(JSCompiler_object_inline_message_2302) + JSCompiler_object_inline_message_2308 = message; + JSCompiler_object_inline_digest_2309 = JSCompiler_temp; + JSCompiler_object_inline_stack_2310 = instance; + JSCompiler_object_inline_componentStack_2311 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2309 && + ((JSCompiler_object_inline_message_2308 = + JSCompiler_object_inline_message_2308 + ? Error(JSCompiler_object_inline_message_2308) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2302.stack = - JSCompiler_object_inline_stack_2304 || ""), - (JSCompiler_object_inline_message_2302.digest = - JSCompiler_object_inline_digest_2303), - (JSCompiler_object_inline_componentStack_2305 = - void 0 === JSCompiler_object_inline_componentStack_2305 + (JSCompiler_object_inline_message_2308.stack = + JSCompiler_object_inline_stack_2310 || ""), + (JSCompiler_object_inline_message_2308.digest = + JSCompiler_object_inline_digest_2309), + (JSCompiler_object_inline_componentStack_2311 = + void 0 === JSCompiler_object_inline_componentStack_2311 ? null - : JSCompiler_object_inline_componentStack_2305), - "string" === typeof JSCompiler_object_inline_componentStack_2305 && + : JSCompiler_object_inline_componentStack_2311), + "string" === typeof JSCompiler_object_inline_componentStack_2311 && CapturedStacks.set( - JSCompiler_object_inline_message_2302, - JSCompiler_object_inline_componentStack_2305 + JSCompiler_object_inline_message_2308, + JSCompiler_object_inline_componentStack_2311 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2302, + value: JSCompiler_object_inline_message_2308, source: null, - stack: JSCompiler_object_inline_componentStack_2305 + stack: JSCompiler_object_inline_componentStack_2311 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8970,25 +8970,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2305 = + (JSCompiler_object_inline_componentStack_2311 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2305) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2311) ) { - JSCompiler_object_inline_componentStack_2305 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2305) { - JSCompiler_object_inline_stack_2304 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2304 & 42)) - JSCompiler_object_inline_stack_2304 = 1; + JSCompiler_object_inline_componentStack_2311 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2311) { + JSCompiler_object_inline_stack_2310 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2310 & 42)) + JSCompiler_object_inline_stack_2310 = 1; else - switch (JSCompiler_object_inline_stack_2304) { + switch (JSCompiler_object_inline_stack_2310) { case 2: - JSCompiler_object_inline_stack_2304 = 1; + JSCompiler_object_inline_stack_2310 = 1; break; case 8: - JSCompiler_object_inline_stack_2304 = 4; + JSCompiler_object_inline_stack_2310 = 4; break; case 32: - JSCompiler_object_inline_stack_2304 = 16; + JSCompiler_object_inline_stack_2310 = 16; break; case 128: case 256: @@ -9009,40 +9009,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2304 = 64; + JSCompiler_object_inline_stack_2310 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2304 = 134217728; + JSCompiler_object_inline_stack_2310 = 134217728; break; default: - JSCompiler_object_inline_stack_2304 = 0; + JSCompiler_object_inline_stack_2310 = 0; } - JSCompiler_object_inline_stack_2304 = + JSCompiler_object_inline_stack_2310 = 0 !== - (JSCompiler_object_inline_stack_2304 & - (JSCompiler_object_inline_componentStack_2305.suspendedLanes | + (JSCompiler_object_inline_stack_2310 & + (JSCompiler_object_inline_componentStack_2311.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2304; + : JSCompiler_object_inline_stack_2310; if ( - 0 !== JSCompiler_object_inline_stack_2304 && - JSCompiler_object_inline_stack_2304 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2310 && + JSCompiler_object_inline_stack_2310 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2304), + ((prevState.retryLane = JSCompiler_object_inline_stack_2310), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2304 + JSCompiler_object_inline_stack_2310 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2305, + JSCompiler_object_inline_componentStack_2311, current, - JSCompiler_object_inline_stack_2304 + JSCompiler_object_inline_stack_2310 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2303.data === + JSCompiler_object_inline_digest_2309.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9050,7 +9050,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2303.data === + JSCompiler_object_inline_digest_2309.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9058,12 +9058,12 @@ null, current )), - (JSCompiler_object_inline_digest_2303._reactRetry = + (JSCompiler_object_inline_digest_2309._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2303.nextSibling + JSCompiler_object_inline_digest_2309.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9081,54 +9081,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2304.children + JSCompiler_object_inline_stack_2310.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2302) + if (JSCompiler_object_inline_message_2308) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2302 = - JSCompiler_object_inline_stack_2304.fallback), - (JSCompiler_object_inline_digest_2303 = workInProgress.mode), + (JSCompiler_object_inline_message_2308 = + JSCompiler_object_inline_stack_2310.fallback), + (JSCompiler_object_inline_digest_2309 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2304 = createWorkInProgress( + (JSCompiler_object_inline_stack_2310 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2304.children + children: JSCompiler_object_inline_stack_2310.children } )), - (JSCompiler_object_inline_stack_2304.subtreeFlags = + (JSCompiler_object_inline_stack_2310.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2302 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2308 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2302 + JSCompiler_object_inline_message_2308 )) - : ((JSCompiler_object_inline_message_2302 = createFiberFromFragment( - JSCompiler_object_inline_message_2302, - JSCompiler_object_inline_digest_2303, + : ((JSCompiler_object_inline_message_2308 = createFiberFromFragment( + JSCompiler_object_inline_message_2308, + JSCompiler_object_inline_digest_2309, renderLanes, null )), - (JSCompiler_object_inline_message_2302.flags |= 2)), - (JSCompiler_object_inline_message_2302.return = workInProgress), - (JSCompiler_object_inline_stack_2304.return = workInProgress), - (JSCompiler_object_inline_stack_2304.sibling = - JSCompiler_object_inline_message_2302), - (workInProgress.child = JSCompiler_object_inline_stack_2304), - (JSCompiler_object_inline_stack_2304 = - JSCompiler_object_inline_message_2302), - (JSCompiler_object_inline_message_2302 = workInProgress.child), - (JSCompiler_object_inline_digest_2303 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2303 - ? (JSCompiler_object_inline_digest_2303 = + (JSCompiler_object_inline_message_2308.flags |= 2)), + (JSCompiler_object_inline_message_2308.return = workInProgress), + (JSCompiler_object_inline_stack_2310.return = workInProgress), + (JSCompiler_object_inline_stack_2310.sibling = + JSCompiler_object_inline_message_2308), + (workInProgress.child = JSCompiler_object_inline_stack_2310), + (JSCompiler_object_inline_stack_2310 = + JSCompiler_object_inline_message_2308), + (JSCompiler_object_inline_message_2308 = workInProgress.child), + (JSCompiler_object_inline_digest_2309 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2309 + ? (JSCompiler_object_inline_digest_2309 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2303.cachePool), + JSCompiler_object_inline_digest_2309.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9136,38 +9136,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2303 = { + (JSCompiler_object_inline_digest_2309 = { baseLanes: - JSCompiler_object_inline_digest_2303.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2309.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2302.memoizedState = - JSCompiler_object_inline_digest_2303), - (JSCompiler_object_inline_message_2302.childLanes = + (JSCompiler_object_inline_message_2308.memoizedState = + JSCompiler_object_inline_digest_2309), + (JSCompiler_object_inline_message_2308.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2305, + JSCompiler_object_inline_componentStack_2311, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2304 + JSCompiler_object_inline_stack_2310 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2304.children + children: JSCompiler_object_inline_stack_2310.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2305 = + ((JSCompiler_object_inline_componentStack_2311 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2305 + null === JSCompiler_object_inline_componentStack_2311 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2305.push(current)); + : JSCompiler_object_inline_componentStack_2311.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14826,7 +14826,7 @@ } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext - ? (flushSyncWorkOnAllRoots(), !1) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { @@ -15521,7 +15521,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -15651,7 +15651,7 @@ injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(priority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ @@ -15979,26 +15979,41 @@ ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } - function flushSyncWorkOnAllRoots() { + function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root; ) { - var workInProgressRootRenderLanes$jscomp$0 = - workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes( - root, - root === workInProgressRoot - ? workInProgressRootRenderLanes$jscomp$0 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot( - root, - workInProgressRootRenderLanes$jscomp$0 - )); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root.pendingLanes; + if (0 === pendingLanes) var nextLanes = 0; + else { + var suspendedLanes = root.suspendedLanes, + pingedLanes = root.pingedLanes; + nextLanes = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); + nextLanes = + nextLanes & 201326677 + ? (nextLanes & 201326677) | 1 + : nextLanes + ? nextLanes | 2 + : 0; + } + 0 !== nextLanes && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); + } else + (nextLanes = workInProgressRootRenderLanes), + (nextLanes = getNextLanes( + root, + root === workInProgressRoot ? nextLanes : 0 + )), + 0 !== (nextLanes & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); @@ -16010,33 +16025,29 @@ didScheduleMicrotask_act = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if ( - 0 !== currentEventTransitionLane && - shouldAttemptEagerTransition() - ) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -20468,7 +20479,7 @@ NoContext && ((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -24661,11 +24672,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24702,11 +24713,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822" + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25180,7 +25191,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; "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 76cc66bc54ca7..3861c0a32aed9 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 @@ -2066,19 +2066,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$309; + var JSCompiler_inline_result$jscomp$311; if (canUseDOM) { - var isSupported$jscomp$inline_442 = "oninput" in document; - if (!isSupported$jscomp$inline_442) { - var element$jscomp$inline_443 = document.createElement("div"); - element$jscomp$inline_443.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_442 = - "function" === typeof element$jscomp$inline_443.oninput; + var isSupported$jscomp$inline_447 = "oninput" in document; + if (!isSupported$jscomp$inline_447) { + var element$jscomp$inline_448 = document.createElement("div"); + element$jscomp$inline_448.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_447 = + "function" === typeof element$jscomp$inline_448.oninput; } - JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_442; - } else JSCompiler_inline_result$jscomp$309 = !1; + JSCompiler_inline_result$jscomp$311 = isSupported$jscomp$inline_447; + } else JSCompiler_inline_result$jscomp$311 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$309 && + JSCompiler_inline_result$jscomp$311 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -11113,7 +11113,9 @@ function performSyncWorkOnRoot(root, lanes) { return null; } function flushSyncWork$1() { - return 0 === (executionContext & 6) ? (flushSyncWorkOnAllRoots(), !1) : !0; + return 0 === (executionContext & 6) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) + : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { @@ -11723,7 +11725,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -11811,7 +11813,7 @@ function flushPassiveEffects() { typeof injectedProfilingHooks.markPassiveEffectsStopped && injectedProfilingHooks.markPassiveEffectsStopped(); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot @@ -11995,22 +11997,42 @@ function ensureRootIsScheduled(root) { ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } -function flushSyncWorkOnAllRoots() { +function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$199 = firstScheduledRoot; null !== root$199; ) { - var workInProgressRootRenderLanes$201 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$201 = getNextLanes( - root$199, - root$199 === workInProgressRoot - ? workInProgressRootRenderLanes$201 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$201 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$199, workInProgressRootRenderLanes$201)); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root$199.pendingLanes; + if (0 === pendingLanes) var JSCompiler_inline_result = 0; + else { + var suspendedLanes = root$199.suspendedLanes, + pingedLanes = root$199.pingedLanes; + JSCompiler_inline_result = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + JSCompiler_inline_result &= + pendingLanes & ~(suspendedLanes & ~pingedLanes); + JSCompiler_inline_result = + JSCompiler_inline_result & 201326677 + ? (JSCompiler_inline_result & 201326677) | 1 + : JSCompiler_inline_result + ? JSCompiler_inline_result | 2 + : 0; + } + 0 !== JSCompiler_inline_result && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$199, JSCompiler_inline_result)); + } else + (JSCompiler_inline_result = workInProgressRootRenderLanes), + (JSCompiler_inline_result = getNextLanes( + root$199, + root$199 === workInProgressRoot ? JSCompiler_inline_result : 0 + )), + 0 !== (JSCompiler_inline_result & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$199, JSCompiler_inline_result)); root$199 = root$199.next; } } while (didPerformSomeWork); @@ -12019,30 +12041,29 @@ function flushSyncWorkOnAllRoots() { } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -12222,20 +12243,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1480 = 0; - i$jscomp$inline_1480 < simpleEventPluginEvents.length; - i$jscomp$inline_1480++ + var i$jscomp$inline_1475 = 0; + i$jscomp$inline_1475 < simpleEventPluginEvents.length; + i$jscomp$inline_1475++ ) { - var eventName$jscomp$inline_1481 = - simpleEventPluginEvents[i$jscomp$inline_1480], - domEventName$jscomp$inline_1482 = - eventName$jscomp$inline_1481.toLowerCase(), - capitalizedEvent$jscomp$inline_1483 = - eventName$jscomp$inline_1481[0].toUpperCase() + - eventName$jscomp$inline_1481.slice(1); + var eventName$jscomp$inline_1476 = + simpleEventPluginEvents[i$jscomp$inline_1475], + domEventName$jscomp$inline_1477 = + eventName$jscomp$inline_1476.toLowerCase(), + capitalizedEvent$jscomp$inline_1478 = + eventName$jscomp$inline_1476[0].toUpperCase() + + eventName$jscomp$inline_1476.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1482, - "on" + capitalizedEvent$jscomp$inline_1483 + domEventName$jscomp$inline_1477, + "on" + capitalizedEvent$jscomp$inline_1478 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13418,34 +13439,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$212 = props[hasSrc]; - if (null != propValue$212) + var propValue$213 = props[hasSrc]; + if (null != propValue$213) switch (hasSrc) { case "name": - hasSrcSet = propValue$212; + hasSrcSet = propValue$213; break; case "type": - propValue = propValue$212; + propValue = propValue$213; break; case "checked": - checked = propValue$212; + checked = propValue$213; break; case "defaultChecked": - defaultChecked = propValue$212; + defaultChecked = propValue$213; break; case "value": - propKey = propValue$212; + propKey = propValue$213; break; case "defaultValue": - defaultValue = propValue$212; + defaultValue = propValue$213; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$212) + if (null != propValue$213) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$212, props, null); + setProp(domElement, tag, hasSrc, propValue$213, props, null); } } initInput( @@ -13582,14 +13603,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$212 in props) - props.hasOwnProperty(propValue$212) && - ((hasSrc = props[propValue$212]), + for (propValue$213 in props) + props.hasOwnProperty(propValue$213) && + ((hasSrc = props[propValue$213]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$212, + propValue$213, hasSrc, props, void 0 @@ -13637,14 +13658,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$229 in nextProps) { - var propKey = nextProps[propKey$229]; - lastProp = lastProps[propKey$229]; + for (var propKey$230 in nextProps) { + var propKey = nextProps[propKey$230]; + lastProp = lastProps[propKey$230]; if ( - nextProps.hasOwnProperty(propKey$229) && + nextProps.hasOwnProperty(propKey$230) && (null != propKey || null != lastProp) ) - switch (propKey$229) { + switch (propKey$230) { case "type": type = propKey; break; @@ -13673,7 +13694,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$229, + propKey$230, propKey, nextProps, lastProp @@ -13692,7 +13713,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$229 = null; + propKey = value = defaultValue = propKey$230 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13723,7 +13744,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$229 = type; + propKey$230 = type; break; case "defaultValue": defaultValue = type; @@ -13744,15 +13765,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$229 - ? updateOptions(domElement, !!lastProps, propKey$229, !1) + null != propKey$230 + ? updateOptions(domElement, !!lastProps, propKey$230, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$229 = null; + propKey = propKey$230 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13776,7 +13797,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$229 = name; + propKey$230 = name; break; case "defaultValue": propKey = name; @@ -13790,17 +13811,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$229, propKey); + updateTextarea(domElement, propKey$230, propKey); return; case "option": - for (var propKey$245 in lastProps) + for (var propKey$246 in lastProps) if ( - ((propKey$229 = lastProps[propKey$245]), - lastProps.hasOwnProperty(propKey$245) && - null != propKey$229 && - !nextProps.hasOwnProperty(propKey$245)) + ((propKey$230 = lastProps[propKey$246]), + lastProps.hasOwnProperty(propKey$246) && + null != propKey$230 && + !nextProps.hasOwnProperty(propKey$246)) ) - switch (propKey$245) { + switch (propKey$246) { case "selected": domElement.selected = !1; break; @@ -13808,33 +13829,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$245, + propKey$246, null, nextProps, - propKey$229 + propKey$230 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$229 = nextProps[lastDefaultValue]), + ((propKey$230 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$229 !== propKey && - (null != propKey$229 || null != propKey)) + propKey$230 !== propKey && + (null != propKey$230 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$229 && - "function" !== typeof propKey$229 && - "symbol" !== typeof propKey$229; + propKey$230 && + "function" !== typeof propKey$230 && + "symbol" !== typeof propKey$230; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$229, + propKey$230, nextProps, propKey ); @@ -13855,24 +13876,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$250 in lastProps) - (propKey$229 = lastProps[propKey$250]), - lastProps.hasOwnProperty(propKey$250) && - null != propKey$229 && - !nextProps.hasOwnProperty(propKey$250) && - setProp(domElement, tag, propKey$250, null, nextProps, propKey$229); + for (var propKey$251 in lastProps) + (propKey$230 = lastProps[propKey$251]), + lastProps.hasOwnProperty(propKey$251) && + null != propKey$230 && + !nextProps.hasOwnProperty(propKey$251) && + setProp(domElement, tag, propKey$251, null, nextProps, propKey$230); for (checked in nextProps) if ( - ((propKey$229 = nextProps[checked]), + ((propKey$230 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$229 !== propKey && - (null != propKey$229 || null != propKey)) + propKey$230 !== propKey && + (null != propKey$230 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$229) + if (null != propKey$230) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13880,7 +13901,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$229, + propKey$230, nextProps, propKey ); @@ -13888,49 +13909,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$255 in lastProps) - (propKey$229 = lastProps[propKey$255]), - lastProps.hasOwnProperty(propKey$255) && - void 0 !== propKey$229 && - !nextProps.hasOwnProperty(propKey$255) && + for (var propKey$256 in lastProps) + (propKey$230 = lastProps[propKey$256]), + lastProps.hasOwnProperty(propKey$256) && + void 0 !== propKey$230 && + !nextProps.hasOwnProperty(propKey$256) && setPropOnCustomElement( domElement, tag, - propKey$255, + propKey$256, void 0, nextProps, - propKey$229 + propKey$230 ); for (defaultChecked in nextProps) - (propKey$229 = nextProps[defaultChecked]), + (propKey$230 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$229 === propKey || - (void 0 === propKey$229 && void 0 === propKey) || + propKey$230 === propKey || + (void 0 === propKey$230 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$229, + propKey$230, nextProps, propKey ); return; } } - for (var propKey$260 in lastProps) - (propKey$229 = lastProps[propKey$260]), - lastProps.hasOwnProperty(propKey$260) && - null != propKey$229 && - !nextProps.hasOwnProperty(propKey$260) && - setProp(domElement, tag, propKey$260, null, nextProps, propKey$229); + for (var propKey$261 in lastProps) + (propKey$230 = lastProps[propKey$261]), + lastProps.hasOwnProperty(propKey$261) && + null != propKey$230 && + !nextProps.hasOwnProperty(propKey$261) && + setProp(domElement, tag, propKey$261, null, nextProps, propKey$230); for (lastProp in nextProps) - (propKey$229 = nextProps[lastProp]), + (propKey$230 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$229 === propKey || - (null == propKey$229 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$229, nextProps, propKey); + propKey$230 === propKey || + (null == propKey$230 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$230, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14475,26 +14496,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$268 = getResourcesFromRoot( + var styles$269 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$269 = styles$268.get(type); - resource$269 || + resource$270 = styles$269.get(type); + resource$270 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$269 = { + (resource$270 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$268.set(type, resource$269), - (styles$268 = JSCompiler_inline_result.querySelector( + styles$269.set(type, resource$270), + (styles$269 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$268._p && - ((resource$269.instance = styles$268), - (resource$269.state.loading = 5)), + !styles$269._p && + ((resource$270.instance = styles$269), + (resource$270.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14507,16 +14528,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$268 || + styles$269 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$269.state + resource$270.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$269; + return resource$270; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14613,37 +14634,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$274 = hoistableRoot.querySelector( + var instance$275 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$274) + if (instance$275) return ( (resource.state.loading |= 4), - (resource.instance = instance$274), - markNodeAsHoistable(instance$274), - instance$274 + (resource.instance = instance$275), + markNodeAsHoistable(instance$275), + instance$275 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$274 = ( + instance$275 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$274); - var linkInstance = instance$274; + markNodeAsHoistable(instance$275); + var linkInstance = instance$275; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$274, "link", instance); + setInitialProperties(instance$275, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$274, props.precedence, hoistableRoot); - return (resource.instance = instance$274); + insertStylesheet(instance$275, props.precedence, hoistableRoot); + return (resource.instance = instance$275); case "script": - instance$274 = getScriptKey(props.src); + instance$275 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$274) + getScriptSelectorFromKey(instance$275) )) ) return ( @@ -14652,7 +14673,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$274))) + if ((styleProps = preloadPropsMap.get(instance$275))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15180,7 +15201,7 @@ function dispatchEvent( ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now$1() + 500), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -15694,16 +15715,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1729 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version; if ( - "19.0.0-experimental-eb3ad065-20240822" !== - isomorphicReactPackageVersion$jscomp$inline_1729 + "19.0.0-experimental-f90a6bcc-20240827" !== + isomorphicReactPackageVersion$jscomp$inline_1724 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1729, - "19.0.0-experimental-eb3ad065-20240822" + isomorphicReactPackageVersion$jscomp$inline_1724, + "19.0.0-experimental-f90a6bcc-20240827" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15723,18 +15744,18 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1736 = { +var internals$jscomp$inline_1731 = { bundleType: 0, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822", + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827", getLaneLabelMap: function () { for ( - var map = new Map(), lane = 1, index$291 = 0; - 31 > index$291; - index$291++ + var map = new Map(), lane = 1, index$292 = 0; + 31 > index$292; + index$292++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -15747,16 +15768,16 @@ var internals$jscomp$inline_1736 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2130 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2134 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2130.isDisabled && - hook$jscomp$inline_2130.supportsFiber + !hook$jscomp$inline_2134.isDisabled && + hook$jscomp$inline_2134.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2130.inject( - internals$jscomp$inline_1736 + (rendererID = hook$jscomp$inline_2134.inject( + internals$jscomp$inline_1731 )), - (injectedHook = hook$jscomp$inline_2130); + (injectedHook = hook$jscomp$inline_2134); } catch (err) {} } function noop() {} @@ -16009,7 +16030,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; "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 97c197c647dfb..ae1a6fba99252 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 @@ -9251,5 +9251,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.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 fc83754136d82..7b91cac12c157 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 @@ -6025,4 +6025,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.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 8771462c8f6d4..66d5ef19f78c6 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 @@ -9251,5 +9251,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.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 a00f654d39003..d3b287de24afb 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 @@ -6117,4 +6117,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.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 e43abfc7a545d..dfe22b343ba89 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 @@ -8137,11 +8137,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9871,5 +9871,5 @@ startWork(request); }); }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 9756b7efdf731..fc81bc23c602e 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 @@ -6542,12 +6542,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.0.0-experimental-eb3ad065-20240822" + "19.0.0-experimental-f90a6bcc-20240827" ) ); } @@ -6752,4 +6752,4 @@ exports.resume = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 e9c5a5cc3c46b..16928a1406f95 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 @@ -6038,13 +6038,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_794 = React.version; if ( - "19.0.0-experimental-eb3ad065-20240822" !== + "19.0.0-experimental-f90a6bcc-20240827" !== isomorphicReactPackageVersion$jscomp$inline_794 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_794 + - "\n - react-dom: 19.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6132,4 +6132,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 715c0267d30ce..92f27870d3296 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 @@ -8160,11 +8160,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9901,5 +9901,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 c1edc1815c091..a839b3a729789 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 @@ -6650,11 +6650,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6869,4 +6869,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 40409dcfabfb4..d94c2b0b35bfa 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 @@ -7888,11 +7888,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9700,5 +9700,5 @@ } }; }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 f0dc8bf657c0a..c7f849fb1a2f6 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 @@ -6397,11 +6397,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6686,4 +6686,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 919e8affbfaaf..b845e403cea0f 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 @@ -8736,33 +8736,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2334; - var JSCompiler_object_inline_stack_2333 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2340; + var JSCompiler_object_inline_stack_2339 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2331 = !1; + var JSCompiler_object_inline_message_2337 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2334 = didSuspend) || - (JSCompiler_object_inline_componentStack_2334 = + (JSCompiler_object_inline_componentStack_2340 = didSuspend) || + (JSCompiler_object_inline_componentStack_2340 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2334 && - ((JSCompiler_object_inline_message_2331 = !0), + JSCompiler_object_inline_componentStack_2340 && + ((JSCompiler_object_inline_message_2337 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2334 = + JSCompiler_object_inline_componentStack_2340 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2331 + JSCompiler_object_inline_message_2337 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2332 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2338 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2332)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2338)) { c: { - var instance = JSCompiler_object_inline_digest_2332; + var instance = JSCompiler_object_inline_digest_2338; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8803,19 +8803,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2332 + JSCompiler_object_inline_digest_2338 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2332 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2338 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2332 && - ((JSCompiler_object_inline_digest_2332 = - JSCompiler_object_inline_digest_2332.dehydrated), - null !== JSCompiler_object_inline_digest_2332) + null !== JSCompiler_object_inline_digest_2338 && + ((JSCompiler_object_inline_digest_2338 = + JSCompiler_object_inline_digest_2338.dehydrated), + null !== JSCompiler_object_inline_digest_2338) ) return ( - JSCompiler_object_inline_digest_2332.data === + JSCompiler_object_inline_digest_2338.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8823,68 +8823,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2332 = - JSCompiler_object_inline_stack_2333.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2333.fallback; - if (JSCompiler_object_inline_message_2331) + JSCompiler_object_inline_digest_2338 = + JSCompiler_object_inline_stack_2339.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2339.fallback; + if (JSCompiler_object_inline_message_2337) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2333 = + (JSCompiler_object_inline_stack_2339 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2332, + JSCompiler_object_inline_digest_2338, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2331 = workInProgress.child), - (JSCompiler_object_inline_message_2331.memoizedState = + (JSCompiler_object_inline_message_2337 = workInProgress.child), + (JSCompiler_object_inline_message_2337.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2331.childLanes = + (JSCompiler_object_inline_message_2337.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2334, + JSCompiler_object_inline_componentStack_2340, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2333 + JSCompiler_object_inline_stack_2339 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2333.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2339.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2333 = + (JSCompiler_object_inline_stack_2339 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2332, + JSCompiler_object_inline_digest_2338, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2331 = workInProgress.child), - (JSCompiler_object_inline_message_2331.memoizedState = + (JSCompiler_object_inline_message_2337 = workInProgress.child), + (JSCompiler_object_inline_message_2337.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2331.childLanes = + (JSCompiler_object_inline_message_2337.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2334, + JSCompiler_object_inline_componentStack_2340, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2333 + JSCompiler_object_inline_stack_2339 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2332 + JSCompiler_object_inline_digest_2338 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2332 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2332) + ((JSCompiler_object_inline_digest_2338 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2338) ) { if (didSuspend) workInProgress.flags & 256 @@ -8901,94 +8901,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2331 = - JSCompiler_object_inline_stack_2333.fallback), - (JSCompiler_object_inline_digest_2332 = workInProgress.mode), - (JSCompiler_object_inline_stack_2333 = + (JSCompiler_object_inline_message_2337 = + JSCompiler_object_inline_stack_2339.fallback), + (JSCompiler_object_inline_digest_2338 = workInProgress.mode), + (JSCompiler_object_inline_stack_2339 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2333.children + children: JSCompiler_object_inline_stack_2339.children }, - JSCompiler_object_inline_digest_2332 + JSCompiler_object_inline_digest_2338 )), - (JSCompiler_object_inline_message_2331 = + (JSCompiler_object_inline_message_2337 = createFiberFromFragment( - JSCompiler_object_inline_message_2331, - JSCompiler_object_inline_digest_2332, + JSCompiler_object_inline_message_2337, + JSCompiler_object_inline_digest_2338, renderLanes, null )), - (JSCompiler_object_inline_message_2331.flags |= 2), - (JSCompiler_object_inline_stack_2333.return = workInProgress), - (JSCompiler_object_inline_message_2331.return = workInProgress), - (JSCompiler_object_inline_stack_2333.sibling = - JSCompiler_object_inline_message_2331), - (workInProgress.child = JSCompiler_object_inline_stack_2333), + (JSCompiler_object_inline_message_2337.flags |= 2), + (JSCompiler_object_inline_stack_2339.return = workInProgress), + (JSCompiler_object_inline_message_2337.return = workInProgress), + (JSCompiler_object_inline_stack_2339.sibling = + JSCompiler_object_inline_message_2337), + (workInProgress.child = JSCompiler_object_inline_stack_2339), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2333 = workInProgress.child), - (JSCompiler_object_inline_stack_2333.memoizedState = + (JSCompiler_object_inline_stack_2339 = workInProgress.child), + (JSCompiler_object_inline_stack_2339.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2333.childLanes = + (JSCompiler_object_inline_stack_2339.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2334, + JSCompiler_object_inline_componentStack_2340, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2331)); + (workInProgress = JSCompiler_object_inline_message_2337)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2332.data === + JSCompiler_object_inline_digest_2338.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2334 = - JSCompiler_object_inline_digest_2332.nextSibling && - JSCompiler_object_inline_digest_2332.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2334) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2334.dgst; - var message = JSCompiler_object_inline_componentStack_2334.msg; - instance = JSCompiler_object_inline_componentStack_2334.stck; + JSCompiler_object_inline_componentStack_2340 = + JSCompiler_object_inline_digest_2338.nextSibling && + JSCompiler_object_inline_digest_2338.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2340) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2340.dgst; + var message = JSCompiler_object_inline_componentStack_2340.msg; + instance = JSCompiler_object_inline_componentStack_2340.stck; var componentStack = - JSCompiler_object_inline_componentStack_2334.cstck; + JSCompiler_object_inline_componentStack_2340.cstck; } - JSCompiler_object_inline_message_2331 = message; - JSCompiler_object_inline_digest_2332 = JSCompiler_temp; - JSCompiler_object_inline_stack_2333 = instance; - JSCompiler_object_inline_componentStack_2334 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2332 && - ((JSCompiler_object_inline_message_2331 = - JSCompiler_object_inline_message_2331 - ? Error(JSCompiler_object_inline_message_2331) + JSCompiler_object_inline_message_2337 = message; + JSCompiler_object_inline_digest_2338 = JSCompiler_temp; + JSCompiler_object_inline_stack_2339 = instance; + JSCompiler_object_inline_componentStack_2340 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2338 && + ((JSCompiler_object_inline_message_2337 = + JSCompiler_object_inline_message_2337 + ? Error(JSCompiler_object_inline_message_2337) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2331.stack = - JSCompiler_object_inline_stack_2333 || ""), - (JSCompiler_object_inline_message_2331.digest = - JSCompiler_object_inline_digest_2332), - (JSCompiler_object_inline_componentStack_2334 = - void 0 === JSCompiler_object_inline_componentStack_2334 + (JSCompiler_object_inline_message_2337.stack = + JSCompiler_object_inline_stack_2339 || ""), + (JSCompiler_object_inline_message_2337.digest = + JSCompiler_object_inline_digest_2338), + (JSCompiler_object_inline_componentStack_2340 = + void 0 === JSCompiler_object_inline_componentStack_2340 ? null - : JSCompiler_object_inline_componentStack_2334), - "string" === typeof JSCompiler_object_inline_componentStack_2334 && + : JSCompiler_object_inline_componentStack_2340), + "string" === typeof JSCompiler_object_inline_componentStack_2340 && CapturedStacks.set( - JSCompiler_object_inline_message_2331, - JSCompiler_object_inline_componentStack_2334 + JSCompiler_object_inline_message_2337, + JSCompiler_object_inline_componentStack_2340 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2331, + value: JSCompiler_object_inline_message_2337, source: null, - stack: JSCompiler_object_inline_componentStack_2334 + stack: JSCompiler_object_inline_componentStack_2340 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9003,25 +9003,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2334 = + (JSCompiler_object_inline_componentStack_2340 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2334) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2340) ) { - JSCompiler_object_inline_componentStack_2334 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2334) { - JSCompiler_object_inline_stack_2333 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2333 & 42)) - JSCompiler_object_inline_stack_2333 = 1; + JSCompiler_object_inline_componentStack_2340 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2340) { + JSCompiler_object_inline_stack_2339 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2339 & 42)) + JSCompiler_object_inline_stack_2339 = 1; else - switch (JSCompiler_object_inline_stack_2333) { + switch (JSCompiler_object_inline_stack_2339) { case 2: - JSCompiler_object_inline_stack_2333 = 1; + JSCompiler_object_inline_stack_2339 = 1; break; case 8: - JSCompiler_object_inline_stack_2333 = 4; + JSCompiler_object_inline_stack_2339 = 4; break; case 32: - JSCompiler_object_inline_stack_2333 = 16; + JSCompiler_object_inline_stack_2339 = 16; break; case 128: case 256: @@ -9042,40 +9042,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2333 = 64; + JSCompiler_object_inline_stack_2339 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2333 = 134217728; + JSCompiler_object_inline_stack_2339 = 134217728; break; default: - JSCompiler_object_inline_stack_2333 = 0; + JSCompiler_object_inline_stack_2339 = 0; } - JSCompiler_object_inline_stack_2333 = + JSCompiler_object_inline_stack_2339 = 0 !== - (JSCompiler_object_inline_stack_2333 & - (JSCompiler_object_inline_componentStack_2334.suspendedLanes | + (JSCompiler_object_inline_stack_2339 & + (JSCompiler_object_inline_componentStack_2340.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2333; + : JSCompiler_object_inline_stack_2339; if ( - 0 !== JSCompiler_object_inline_stack_2333 && - JSCompiler_object_inline_stack_2333 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2339 && + JSCompiler_object_inline_stack_2339 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2333), + ((prevState.retryLane = JSCompiler_object_inline_stack_2339), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2333 + JSCompiler_object_inline_stack_2339 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2334, + JSCompiler_object_inline_componentStack_2340, current, - JSCompiler_object_inline_stack_2333 + JSCompiler_object_inline_stack_2339 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2332.data === + JSCompiler_object_inline_digest_2338.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9083,7 +9083,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2332.data === + JSCompiler_object_inline_digest_2338.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9091,12 +9091,12 @@ null, current )), - (JSCompiler_object_inline_digest_2332._reactRetry = + (JSCompiler_object_inline_digest_2338._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2332.nextSibling + JSCompiler_object_inline_digest_2338.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9114,54 +9114,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2333.children + JSCompiler_object_inline_stack_2339.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2331) + if (JSCompiler_object_inline_message_2337) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2331 = - JSCompiler_object_inline_stack_2333.fallback), - (JSCompiler_object_inline_digest_2332 = workInProgress.mode), + (JSCompiler_object_inline_message_2337 = + JSCompiler_object_inline_stack_2339.fallback), + (JSCompiler_object_inline_digest_2338 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2333 = createWorkInProgress( + (JSCompiler_object_inline_stack_2339 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2333.children + children: JSCompiler_object_inline_stack_2339.children } )), - (JSCompiler_object_inline_stack_2333.subtreeFlags = + (JSCompiler_object_inline_stack_2339.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2331 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2337 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2331 + JSCompiler_object_inline_message_2337 )) - : ((JSCompiler_object_inline_message_2331 = createFiberFromFragment( - JSCompiler_object_inline_message_2331, - JSCompiler_object_inline_digest_2332, + : ((JSCompiler_object_inline_message_2337 = createFiberFromFragment( + JSCompiler_object_inline_message_2337, + JSCompiler_object_inline_digest_2338, renderLanes, null )), - (JSCompiler_object_inline_message_2331.flags |= 2)), - (JSCompiler_object_inline_message_2331.return = workInProgress), - (JSCompiler_object_inline_stack_2333.return = workInProgress), - (JSCompiler_object_inline_stack_2333.sibling = - JSCompiler_object_inline_message_2331), - (workInProgress.child = JSCompiler_object_inline_stack_2333), - (JSCompiler_object_inline_stack_2333 = - JSCompiler_object_inline_message_2331), - (JSCompiler_object_inline_message_2331 = workInProgress.child), - (JSCompiler_object_inline_digest_2332 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2332 - ? (JSCompiler_object_inline_digest_2332 = + (JSCompiler_object_inline_message_2337.flags |= 2)), + (JSCompiler_object_inline_message_2337.return = workInProgress), + (JSCompiler_object_inline_stack_2339.return = workInProgress), + (JSCompiler_object_inline_stack_2339.sibling = + JSCompiler_object_inline_message_2337), + (workInProgress.child = JSCompiler_object_inline_stack_2339), + (JSCompiler_object_inline_stack_2339 = + JSCompiler_object_inline_message_2337), + (JSCompiler_object_inline_message_2337 = workInProgress.child), + (JSCompiler_object_inline_digest_2338 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2338 + ? (JSCompiler_object_inline_digest_2338 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2332.cachePool), + JSCompiler_object_inline_digest_2338.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9169,38 +9169,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2332 = { + (JSCompiler_object_inline_digest_2338 = { baseLanes: - JSCompiler_object_inline_digest_2332.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2338.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2331.memoizedState = - JSCompiler_object_inline_digest_2332), - (JSCompiler_object_inline_message_2331.childLanes = + (JSCompiler_object_inline_message_2337.memoizedState = + JSCompiler_object_inline_digest_2338), + (JSCompiler_object_inline_message_2337.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2334, + JSCompiler_object_inline_componentStack_2340, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2333 + JSCompiler_object_inline_stack_2339 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2333.children + children: JSCompiler_object_inline_stack_2339.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2334 = + ((JSCompiler_object_inline_componentStack_2340 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2334 + null === JSCompiler_object_inline_componentStack_2340 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2334.push(current)); + : JSCompiler_object_inline_componentStack_2340.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -15037,7 +15037,7 @@ } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext - ? (flushSyncWorkOnAllRoots(), !1) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { @@ -15732,7 +15732,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -15862,7 +15862,7 @@ injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(priority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ @@ -16190,26 +16190,41 @@ ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } - function flushSyncWorkOnAllRoots() { + function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root; ) { - var workInProgressRootRenderLanes$jscomp$0 = - workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes( - root, - root === workInProgressRoot - ? workInProgressRootRenderLanes$jscomp$0 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot( - root, - workInProgressRootRenderLanes$jscomp$0 - )); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root.pendingLanes; + if (0 === pendingLanes) var nextLanes = 0; + else { + var suspendedLanes = root.suspendedLanes, + pingedLanes = root.pingedLanes; + nextLanes = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); + nextLanes = + nextLanes & 201326677 + ? (nextLanes & 201326677) | 1 + : nextLanes + ? nextLanes | 2 + : 0; + } + 0 !== nextLanes && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); + } else + (nextLanes = workInProgressRootRenderLanes), + (nextLanes = getNextLanes( + root, + root === workInProgressRoot ? nextLanes : 0 + )), + 0 !== (nextLanes & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); @@ -16221,33 +16236,29 @@ didScheduleMicrotask_act = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if ( - 0 !== currentEventTransitionLane && - shouldAttemptEagerTransition() - ) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -20727,7 +20738,7 @@ NoContext && ((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -24938,11 +24949,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-f90a6bcc-20240827" !== 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.0.0-experimental-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24979,11 +24990,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822" + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25293,5 +25304,5 @@ } }; }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 f4ee8df2faf02..83fc2ae830e3e 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 @@ -2041,19 +2041,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$289; + var JSCompiler_inline_result$jscomp$291; if (canUseDOM) { - var isSupported$jscomp$inline_425 = "oninput" in document; - if (!isSupported$jscomp$inline_425) { - var element$jscomp$inline_426 = document.createElement("div"); - element$jscomp$inline_426.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_425 = - "function" === typeof element$jscomp$inline_426.oninput; + var isSupported$jscomp$inline_430 = "oninput" in document; + if (!isSupported$jscomp$inline_430) { + var element$jscomp$inline_431 = document.createElement("div"); + element$jscomp$inline_431.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_430 = + "function" === typeof element$jscomp$inline_431.oninput; } - JSCompiler_inline_result$jscomp$289 = isSupported$jscomp$inline_425; - } else JSCompiler_inline_result$jscomp$289 = !1; + JSCompiler_inline_result$jscomp$291 = isSupported$jscomp$inline_430; + } else JSCompiler_inline_result$jscomp$291 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$289 && + JSCompiler_inline_result$jscomp$291 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -10861,7 +10861,9 @@ function performSyncWorkOnRoot(root, lanes) { return null; } function flushSyncWork$1() { - return 0 === (executionContext & 6) ? (flushSyncWorkOnAllRoots(), !1) : !0; + return 0 === (executionContext & 6) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) + : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { @@ -11382,7 +11384,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); return null; } function releaseRootPooledCache(root, remainingLanes) { @@ -11418,7 +11420,7 @@ function flushPassiveEffects() { commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, renderPriority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot @@ -11583,22 +11585,42 @@ function ensureRootIsScheduled(root) { ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } -function flushSyncWorkOnAllRoots() { +function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$180 = firstScheduledRoot; null !== root$180; ) { - var workInProgressRootRenderLanes$182 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$182 = getNextLanes( - root$180, - root$180 === workInProgressRoot - ? workInProgressRootRenderLanes$182 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$182 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$180, workInProgressRootRenderLanes$182)); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root$180.pendingLanes; + if (0 === pendingLanes) var JSCompiler_inline_result = 0; + else { + var suspendedLanes = root$180.suspendedLanes, + pingedLanes = root$180.pingedLanes; + JSCompiler_inline_result = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + JSCompiler_inline_result &= + pendingLanes & ~(suspendedLanes & ~pingedLanes); + JSCompiler_inline_result = + JSCompiler_inline_result & 201326677 + ? (JSCompiler_inline_result & 201326677) | 1 + : JSCompiler_inline_result + ? JSCompiler_inline_result | 2 + : 0; + } + 0 !== JSCompiler_inline_result && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$180, JSCompiler_inline_result)); + } else + (JSCompiler_inline_result = workInProgressRootRenderLanes), + (JSCompiler_inline_result = getNextLanes( + root$180, + root$180 === workInProgressRoot ? JSCompiler_inline_result : 0 + )), + 0 !== (JSCompiler_inline_result & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$180, JSCompiler_inline_result)); root$180 = root$180.next; } } while (didPerformSomeWork); @@ -11607,30 +11629,29 @@ function flushSyncWorkOnAllRoots() { } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -11810,20 +11831,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1422 = 0; - i$jscomp$inline_1422 < simpleEventPluginEvents.length; - i$jscomp$inline_1422++ + var i$jscomp$inline_1417 = 0; + i$jscomp$inline_1417 < simpleEventPluginEvents.length; + i$jscomp$inline_1417++ ) { - var eventName$jscomp$inline_1423 = - simpleEventPluginEvents[i$jscomp$inline_1422], - domEventName$jscomp$inline_1424 = - eventName$jscomp$inline_1423.toLowerCase(), - capitalizedEvent$jscomp$inline_1425 = - eventName$jscomp$inline_1423[0].toUpperCase() + - eventName$jscomp$inline_1423.slice(1); + var eventName$jscomp$inline_1418 = + simpleEventPluginEvents[i$jscomp$inline_1417], + domEventName$jscomp$inline_1419 = + eventName$jscomp$inline_1418.toLowerCase(), + capitalizedEvent$jscomp$inline_1420 = + eventName$jscomp$inline_1418[0].toUpperCase() + + eventName$jscomp$inline_1418.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1424, - "on" + capitalizedEvent$jscomp$inline_1425 + domEventName$jscomp$inline_1419, + "on" + capitalizedEvent$jscomp$inline_1420 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13006,34 +13027,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$193 = props[hasSrc]; - if (null != propValue$193) + var propValue$194 = props[hasSrc]; + if (null != propValue$194) switch (hasSrc) { case "name": - hasSrcSet = propValue$193; + hasSrcSet = propValue$194; break; case "type": - propValue = propValue$193; + propValue = propValue$194; break; case "checked": - checked = propValue$193; + checked = propValue$194; break; case "defaultChecked": - defaultChecked = propValue$193; + defaultChecked = propValue$194; break; case "value": - propKey = propValue$193; + propKey = propValue$194; break; case "defaultValue": - defaultValue = propValue$193; + defaultValue = propValue$194; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$193) + if (null != propValue$194) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$193, props, null); + setProp(domElement, tag, hasSrc, propValue$194, props, null); } } initInput( @@ -13170,14 +13191,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$193 in props) - props.hasOwnProperty(propValue$193) && - ((hasSrc = props[propValue$193]), + for (propValue$194 in props) + props.hasOwnProperty(propValue$194) && + ((hasSrc = props[propValue$194]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$193, + propValue$194, hasSrc, props, void 0 @@ -13225,14 +13246,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$210 in nextProps) { - var propKey = nextProps[propKey$210]; - lastProp = lastProps[propKey$210]; + for (var propKey$211 in nextProps) { + var propKey = nextProps[propKey$211]; + lastProp = lastProps[propKey$211]; if ( - nextProps.hasOwnProperty(propKey$210) && + nextProps.hasOwnProperty(propKey$211) && (null != propKey || null != lastProp) ) - switch (propKey$210) { + switch (propKey$211) { case "type": type = propKey; break; @@ -13261,7 +13282,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$210, + propKey$211, propKey, nextProps, lastProp @@ -13280,7 +13301,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$210 = null; + propKey = value = defaultValue = propKey$211 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13311,7 +13332,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$210 = type; + propKey$211 = type; break; case "defaultValue": defaultValue = type; @@ -13332,15 +13353,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$210 - ? updateOptions(domElement, !!lastProps, propKey$210, !1) + null != propKey$211 + ? updateOptions(domElement, !!lastProps, propKey$211, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$210 = null; + propKey = propKey$211 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13364,7 +13385,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$210 = name; + propKey$211 = name; break; case "defaultValue": propKey = name; @@ -13378,17 +13399,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$210, propKey); + updateTextarea(domElement, propKey$211, propKey); return; case "option": - for (var propKey$226 in lastProps) + for (var propKey$227 in lastProps) if ( - ((propKey$210 = lastProps[propKey$226]), - lastProps.hasOwnProperty(propKey$226) && - null != propKey$210 && - !nextProps.hasOwnProperty(propKey$226)) + ((propKey$211 = lastProps[propKey$227]), + lastProps.hasOwnProperty(propKey$227) && + null != propKey$211 && + !nextProps.hasOwnProperty(propKey$227)) ) - switch (propKey$226) { + switch (propKey$227) { case "selected": domElement.selected = !1; break; @@ -13396,33 +13417,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$226, + propKey$227, null, nextProps, - propKey$210 + propKey$211 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$210 = nextProps[lastDefaultValue]), + ((propKey$211 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$210 !== propKey && - (null != propKey$210 || null != propKey)) + propKey$211 !== propKey && + (null != propKey$211 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$210 && - "function" !== typeof propKey$210 && - "symbol" !== typeof propKey$210; + propKey$211 && + "function" !== typeof propKey$211 && + "symbol" !== typeof propKey$211; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$210, + propKey$211, nextProps, propKey ); @@ -13443,24 +13464,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$231 in lastProps) - (propKey$210 = lastProps[propKey$231]), - lastProps.hasOwnProperty(propKey$231) && - null != propKey$210 && - !nextProps.hasOwnProperty(propKey$231) && - setProp(domElement, tag, propKey$231, null, nextProps, propKey$210); + for (var propKey$232 in lastProps) + (propKey$211 = lastProps[propKey$232]), + lastProps.hasOwnProperty(propKey$232) && + null != propKey$211 && + !nextProps.hasOwnProperty(propKey$232) && + setProp(domElement, tag, propKey$232, null, nextProps, propKey$211); for (checked in nextProps) if ( - ((propKey$210 = nextProps[checked]), + ((propKey$211 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$210 !== propKey && - (null != propKey$210 || null != propKey)) + propKey$211 !== propKey && + (null != propKey$211 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$210) + if (null != propKey$211) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13468,7 +13489,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$210, + propKey$211, nextProps, propKey ); @@ -13476,49 +13497,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$236 in lastProps) - (propKey$210 = lastProps[propKey$236]), - lastProps.hasOwnProperty(propKey$236) && - void 0 !== propKey$210 && - !nextProps.hasOwnProperty(propKey$236) && + for (var propKey$237 in lastProps) + (propKey$211 = lastProps[propKey$237]), + lastProps.hasOwnProperty(propKey$237) && + void 0 !== propKey$211 && + !nextProps.hasOwnProperty(propKey$237) && setPropOnCustomElement( domElement, tag, - propKey$236, + propKey$237, void 0, nextProps, - propKey$210 + propKey$211 ); for (defaultChecked in nextProps) - (propKey$210 = nextProps[defaultChecked]), + (propKey$211 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$210 === propKey || - (void 0 === propKey$210 && void 0 === propKey) || + propKey$211 === propKey || + (void 0 === propKey$211 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$210, + propKey$211, nextProps, propKey ); return; } } - for (var propKey$241 in lastProps) - (propKey$210 = lastProps[propKey$241]), - lastProps.hasOwnProperty(propKey$241) && - null != propKey$210 && - !nextProps.hasOwnProperty(propKey$241) && - setProp(domElement, tag, propKey$241, null, nextProps, propKey$210); + for (var propKey$242 in lastProps) + (propKey$211 = lastProps[propKey$242]), + lastProps.hasOwnProperty(propKey$242) && + null != propKey$211 && + !nextProps.hasOwnProperty(propKey$242) && + setProp(domElement, tag, propKey$242, null, nextProps, propKey$211); for (lastProp in nextProps) - (propKey$210 = nextProps[lastProp]), + (propKey$211 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$210 === propKey || - (null == propKey$210 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$210, nextProps, propKey); + propKey$211 === propKey || + (null == propKey$211 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$211, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14120,26 +14141,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$249 = getResourcesFromRoot( + var styles$250 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$250 = styles$249.get(type); - resource$250 || + resource$251 = styles$250.get(type); + resource$251 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$250 = { + (resource$251 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$249.set(type, resource$250), - (styles$249 = JSCompiler_inline_result.querySelector( + styles$250.set(type, resource$251), + (styles$250 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$249._p && - ((resource$250.instance = styles$249), - (resource$250.state.loading = 5)), + !styles$250._p && + ((resource$251.instance = styles$250), + (resource$251.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14152,16 +14173,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$249 || + styles$250 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$250.state + resource$251.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$250; + return resource$251; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14258,37 +14279,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$255 = hoistableRoot.querySelector( + var instance$256 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$255) + if (instance$256) return ( (resource.state.loading |= 4), - (resource.instance = instance$255), - markNodeAsHoistable(instance$255), - instance$255 + (resource.instance = instance$256), + markNodeAsHoistable(instance$256), + instance$256 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$255 = ( + instance$256 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$255); - var linkInstance = instance$255; + markNodeAsHoistable(instance$256); + var linkInstance = instance$256; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$255, "link", instance); + setInitialProperties(instance$256, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$255, props.precedence, hoistableRoot); - return (resource.instance = instance$255); + insertStylesheet(instance$256, props.precedence, hoistableRoot); + return (resource.instance = instance$256); case "script": - instance$255 = getScriptKey(props.src); + instance$256 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$255) + getScriptSelectorFromKey(instance$256) )) ) return ( @@ -14297,7 +14318,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$255))) + if ((styleProps = preloadPropsMap.get(instance$256))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -14806,7 +14827,7 @@ function dispatchEvent( ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now() + 500), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -15320,16 +15341,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1669 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1664 = React.version; if ( - "19.0.0-experimental-eb3ad065-20240822" !== - isomorphicReactPackageVersion$jscomp$inline_1669 + "19.0.0-experimental-f90a6bcc-20240827" !== + isomorphicReactPackageVersion$jscomp$inline_1664 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1669, - "19.0.0-experimental-eb3ad065-20240822" + isomorphicReactPackageVersion$jscomp$inline_1664, + "19.0.0-experimental-f90a6bcc-20240827" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15349,25 +15370,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2073 = { +var internals$jscomp$inline_2077 = { bundleType: 0, - version: "19.0.0-experimental-eb3ad065-20240822", + version: "19.0.0-experimental-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-eb3ad065-20240822" + reconcilerVersion: "19.0.0-experimental-f90a6bcc-20240827" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2074 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2078 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2074.isDisabled && - hook$jscomp$inline_2074.supportsFiber + !hook$jscomp$inline_2078.isDisabled && + hook$jscomp$inline_2078.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2074.inject( - internals$jscomp$inline_2073 + (rendererID = hook$jscomp$inline_2078.inject( + internals$jscomp$inline_2077 )), - (injectedHook = hook$jscomp$inline_2074); + (injectedHook = hook$jscomp$inline_2078); } catch (err) {} } exports.createComponentSelector = function (component) { @@ -15610,4 +15631,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 caf02d4503ad8..00e82edd06194 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.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; "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 c38052015552b..9bae5a8dc8e79 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.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 4c4ddee3fa104..ec4bab70ef6c8 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.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 d89e1bae2f08c..0bed1d103ecc5 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.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index aa1a2bb09767d..305a418407448 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-eb3ad065-20240822" + "scheduler": "0.0.0-experimental-f90a6bcc-20240827" }, "peerDependencies": { - "react": "0.0.0-experimental-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827" }, "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 255a4cd13da40..5fde7b0d89745 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 @@ -8447,32 +8447,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2293; - var JSCompiler_object_inline_stack_2294 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2299; + var JSCompiler_object_inline_stack_2300 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2295 = !1; + var JSCompiler_object_inline_componentStack_2301 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2293 = didSuspend) || - (JSCompiler_object_inline_digest_2293 = + (JSCompiler_object_inline_digest_2299 = didSuspend) || + (JSCompiler_object_inline_digest_2299 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2293 && - ((JSCompiler_object_inline_componentStack_2295 = !0), + JSCompiler_object_inline_digest_2299 && + ((JSCompiler_object_inline_componentStack_2301 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2293 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2299 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2301 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2292 = nextHydratableInstance; + var JSCompiler_object_inline_message_2298 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2292)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2298)) { c: { - var instance = JSCompiler_object_inline_message_2292; + var instance = JSCompiler_object_inline_message_2298; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8513,19 +8513,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2298 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2292 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2298 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2292 && - ((JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_message_2292.dehydrated), - null !== JSCompiler_object_inline_message_2292) + null !== JSCompiler_object_inline_message_2298 && + ((JSCompiler_object_inline_message_2298 = + JSCompiler_object_inline_message_2298.dehydrated), + null !== JSCompiler_object_inline_message_2298) ) return ( - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2298.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8533,58 +8533,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_stack_2294.children; - JSCompiler_object_inline_stack_2294 = - JSCompiler_object_inline_stack_2294.fallback; - if (JSCompiler_object_inline_componentStack_2295) + JSCompiler_object_inline_message_2298 = + JSCompiler_object_inline_stack_2300.children; + JSCompiler_object_inline_stack_2300 = + JSCompiler_object_inline_stack_2300.fallback; + if (JSCompiler_object_inline_componentStack_2301) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_componentStack_2301 = workInProgress.mode), - (JSCompiler_object_inline_message_2292 = + (JSCompiler_object_inline_message_2298 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2292 + children: JSCompiler_object_inline_message_2298 }, - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2301 )), - (JSCompiler_object_inline_stack_2294 = createFiberFromFragment( - JSCompiler_object_inline_stack_2294, - JSCompiler_object_inline_componentStack_2295, + (JSCompiler_object_inline_stack_2300 = createFiberFromFragment( + JSCompiler_object_inline_stack_2300, + JSCompiler_object_inline_componentStack_2301, renderLanes, null )), - (JSCompiler_object_inline_message_2292.return = workInProgress), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_message_2292.sibling = - JSCompiler_object_inline_stack_2294), - (workInProgress.child = JSCompiler_object_inline_message_2292), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_message_2298.return = workInProgress), + (JSCompiler_object_inline_stack_2300.return = workInProgress), + (JSCompiler_object_inline_message_2298.sibling = + JSCompiler_object_inline_stack_2300), + (workInProgress.child = JSCompiler_object_inline_message_2298), + (JSCompiler_object_inline_componentStack_2301 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2295.memoizedState = + (JSCompiler_object_inline_componentStack_2301.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2295.childLanes = + (JSCompiler_object_inline_componentStack_2301.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2299, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2300 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2298 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2292 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2292) + ((JSCompiler_object_inline_message_2298 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2298) ) { if (didSuspend) workInProgress.flags & 256 @@ -8601,94 +8601,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = - JSCompiler_object_inline_stack_2294.fallback), - (JSCompiler_object_inline_message_2292 = workInProgress.mode), - (JSCompiler_object_inline_stack_2294 = + (JSCompiler_object_inline_componentStack_2301 = + JSCompiler_object_inline_stack_2300.fallback), + (JSCompiler_object_inline_message_2298 = workInProgress.mode), + (JSCompiler_object_inline_stack_2300 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2300.children }, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2298 )), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_componentStack_2301 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2295, - JSCompiler_object_inline_message_2292, + JSCompiler_object_inline_componentStack_2301, + JSCompiler_object_inline_message_2298, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2295.flags |= 2), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_componentStack_2295.return = + (JSCompiler_object_inline_componentStack_2301.flags |= 2), + (JSCompiler_object_inline_stack_2300.return = workInProgress), + (JSCompiler_object_inline_componentStack_2301.return = workInProgress), - (JSCompiler_object_inline_stack_2294.sibling = - JSCompiler_object_inline_componentStack_2295), - (workInProgress.child = JSCompiler_object_inline_stack_2294), + (JSCompiler_object_inline_stack_2300.sibling = + JSCompiler_object_inline_componentStack_2301), + (workInProgress.child = JSCompiler_object_inline_stack_2300), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2294 = workInProgress.child), - (JSCompiler_object_inline_stack_2294.memoizedState = + (JSCompiler_object_inline_stack_2300 = workInProgress.child), + (JSCompiler_object_inline_stack_2300.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2294.childLanes = + (JSCompiler_object_inline_stack_2300.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2299, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2295)); + JSCompiler_object_inline_componentStack_2301)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2298.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2293 = - JSCompiler_object_inline_message_2292.nextSibling && - JSCompiler_object_inline_message_2292.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2293) { - JSCompiler_temp = JSCompiler_object_inline_digest_2293.dgst; - var message = JSCompiler_object_inline_digest_2293.msg; - instance = JSCompiler_object_inline_digest_2293.stck; - var componentStack = JSCompiler_object_inline_digest_2293.cstck; + JSCompiler_object_inline_digest_2299 = + JSCompiler_object_inline_message_2298.nextSibling && + JSCompiler_object_inline_message_2298.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2299) { + JSCompiler_temp = JSCompiler_object_inline_digest_2299.dgst; + var message = JSCompiler_object_inline_digest_2299.msg; + instance = JSCompiler_object_inline_digest_2299.stck; + var componentStack = JSCompiler_object_inline_digest_2299.cstck; } - JSCompiler_object_inline_message_2292 = message; - JSCompiler_object_inline_digest_2293 = JSCompiler_temp; - JSCompiler_object_inline_stack_2294 = instance; - JSCompiler_object_inline_componentStack_2295 = componentStack; - JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_message_2292 - ? Error(JSCompiler_object_inline_message_2292) + JSCompiler_object_inline_message_2298 = message; + JSCompiler_object_inline_digest_2299 = JSCompiler_temp; + JSCompiler_object_inline_stack_2300 = instance; + JSCompiler_object_inline_componentStack_2301 = componentStack; + JSCompiler_object_inline_message_2298 = + JSCompiler_object_inline_message_2298 + ? Error(JSCompiler_object_inline_message_2298) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2292.stack = - JSCompiler_object_inline_stack_2294 || ""; - JSCompiler_object_inline_message_2292.digest = - JSCompiler_object_inline_digest_2293; - JSCompiler_object_inline_digest_2293 = - void 0 === JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_message_2298.stack = + JSCompiler_object_inline_stack_2300 || ""; + JSCompiler_object_inline_message_2298.digest = + JSCompiler_object_inline_digest_2299; + JSCompiler_object_inline_digest_2299 = + void 0 === JSCompiler_object_inline_componentStack_2301 ? null - : JSCompiler_object_inline_componentStack_2295; - "string" === typeof JSCompiler_object_inline_digest_2293 && + : JSCompiler_object_inline_componentStack_2301; + "string" === typeof JSCompiler_object_inline_digest_2299 && CapturedStacks.set( - JSCompiler_object_inline_message_2292, - JSCompiler_object_inline_digest_2293 + JSCompiler_object_inline_message_2298, + JSCompiler_object_inline_digest_2299 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2292, + value: JSCompiler_object_inline_message_2298, source: null, - stack: JSCompiler_object_inline_digest_2293 + stack: JSCompiler_object_inline_digest_2299 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8696,25 +8696,25 @@ renderLanes ); } else if ( - ((JSCompiler_object_inline_digest_2293 = + ((JSCompiler_object_inline_digest_2299 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2293) + didReceiveUpdate || JSCompiler_object_inline_digest_2299) ) { - JSCompiler_object_inline_digest_2293 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2293) { - JSCompiler_object_inline_stack_2294 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2294 & 42)) - JSCompiler_object_inline_stack_2294 = 1; + JSCompiler_object_inline_digest_2299 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2299) { + JSCompiler_object_inline_stack_2300 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2300 & 42)) + JSCompiler_object_inline_stack_2300 = 1; else - switch (JSCompiler_object_inline_stack_2294) { + switch (JSCompiler_object_inline_stack_2300) { case 2: - JSCompiler_object_inline_stack_2294 = 1; + JSCompiler_object_inline_stack_2300 = 1; break; case 8: - JSCompiler_object_inline_stack_2294 = 4; + JSCompiler_object_inline_stack_2300 = 4; break; case 32: - JSCompiler_object_inline_stack_2294 = 16; + JSCompiler_object_inline_stack_2300 = 16; break; case 128: case 256: @@ -8735,40 +8735,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2294 = 64; + JSCompiler_object_inline_stack_2300 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2294 = 134217728; + JSCompiler_object_inline_stack_2300 = 134217728; break; default: - JSCompiler_object_inline_stack_2294 = 0; + JSCompiler_object_inline_stack_2300 = 0; } - JSCompiler_object_inline_stack_2294 = + JSCompiler_object_inline_stack_2300 = 0 !== - (JSCompiler_object_inline_stack_2294 & - (JSCompiler_object_inline_digest_2293.suspendedLanes | + (JSCompiler_object_inline_stack_2300 & + (JSCompiler_object_inline_digest_2299.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2294; + : JSCompiler_object_inline_stack_2300; if ( - 0 !== JSCompiler_object_inline_stack_2294 && - JSCompiler_object_inline_stack_2294 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2300 && + JSCompiler_object_inline_stack_2300 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2294), + ((prevState.retryLane = JSCompiler_object_inline_stack_2300), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2300 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2299, current, - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2300 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2298.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8776,7 +8776,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2298.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8784,12 +8784,12 @@ null, current )), - (JSCompiler_object_inline_message_2292._reactRetry = + (JSCompiler_object_inline_message_2298._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2292.nextSibling + JSCompiler_object_inline_message_2298.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -8807,57 +8807,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2294.children + JSCompiler_object_inline_stack_2300.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2295) + if (JSCompiler_object_inline_componentStack_2301) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = - JSCompiler_object_inline_stack_2294.fallback), - (JSCompiler_object_inline_message_2292 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2301 = + JSCompiler_object_inline_stack_2300.fallback), + (JSCompiler_object_inline_message_2298 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2294 = createWorkInProgress( + (JSCompiler_object_inline_stack_2300 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2300.children } )), - (JSCompiler_object_inline_stack_2294.subtreeFlags = + (JSCompiler_object_inline_stack_2300.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2295 = + ? (JSCompiler_object_inline_componentStack_2301 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2301 )) - : ((JSCompiler_object_inline_componentStack_2295 = + : ((JSCompiler_object_inline_componentStack_2301 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2295, - JSCompiler_object_inline_message_2292, + JSCompiler_object_inline_componentStack_2301, + JSCompiler_object_inline_message_2298, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2295.flags |= 2)), - (JSCompiler_object_inline_componentStack_2295.return = + (JSCompiler_object_inline_componentStack_2301.flags |= 2)), + (JSCompiler_object_inline_componentStack_2301.return = workInProgress), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_stack_2294.sibling = - JSCompiler_object_inline_componentStack_2295), - (workInProgress.child = JSCompiler_object_inline_stack_2294), - (JSCompiler_object_inline_stack_2294 = - JSCompiler_object_inline_componentStack_2295), - (JSCompiler_object_inline_componentStack_2295 = workInProgress.child), - (JSCompiler_object_inline_message_2292 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2292 - ? (JSCompiler_object_inline_message_2292 = + (JSCompiler_object_inline_stack_2300.return = workInProgress), + (JSCompiler_object_inline_stack_2300.sibling = + JSCompiler_object_inline_componentStack_2301), + (workInProgress.child = JSCompiler_object_inline_stack_2300), + (JSCompiler_object_inline_stack_2300 = + JSCompiler_object_inline_componentStack_2301), + (JSCompiler_object_inline_componentStack_2301 = workInProgress.child), + (JSCompiler_object_inline_message_2298 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2298 + ? (JSCompiler_object_inline_message_2298 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2292.cachePool), + JSCompiler_object_inline_message_2298.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -8865,37 +8865,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2292 = { + (JSCompiler_object_inline_message_2298 = { baseLanes: - JSCompiler_object_inline_message_2292.baseLanes | renderLanes, + JSCompiler_object_inline_message_2298.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2295.memoizedState = - JSCompiler_object_inline_message_2292), - (JSCompiler_object_inline_componentStack_2295.childLanes = + (JSCompiler_object_inline_componentStack_2301.memoizedState = + JSCompiler_object_inline_message_2298), + (JSCompiler_object_inline_componentStack_2301.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2299, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2300 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2300.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2293 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2293 + ((JSCompiler_object_inline_digest_2299 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2299 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2293.push(current)); + : JSCompiler_object_inline_digest_2299.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14447,7 +14447,7 @@ } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext - ? (flushSyncWorkOnAllRoots(), !1) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { @@ -15137,7 +15137,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -15267,7 +15267,7 @@ injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(priority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ @@ -15595,26 +15595,41 @@ ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } - function flushSyncWorkOnAllRoots() { + function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root; ) { - var workInProgressRootRenderLanes$jscomp$0 = - workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes( - root, - root === workInProgressRoot - ? workInProgressRootRenderLanes$jscomp$0 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot( - root, - workInProgressRootRenderLanes$jscomp$0 - )); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root.pendingLanes; + if (0 === pendingLanes) var nextLanes = 0; + else { + var suspendedLanes = root.suspendedLanes, + pingedLanes = root.pingedLanes; + nextLanes = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); + nextLanes = + nextLanes & 201326677 + ? (nextLanes & 201326677) | 1 + : nextLanes + ? nextLanes | 2 + : 0; + } + 0 !== nextLanes && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); + } else + (nextLanes = workInProgressRootRenderLanes), + (nextLanes = getNextLanes( + root, + root === workInProgressRoot ? nextLanes : 0 + )), + 0 !== (nextLanes & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); @@ -15626,33 +15641,29 @@ didScheduleMicrotask_act = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if ( - 0 !== currentEventTransitionLane && - shouldAttemptEagerTransition() - ) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -20088,7 +20099,7 @@ NoContext && ((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -24210,11 +24221,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-f90a6bcc-20240827" !== 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.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24251,11 +24262,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-eb3ad065-20240822", + version: "19.0.0-rc-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-eb3ad065-20240822" + reconcilerVersion: "19.0.0-rc-f90a6bcc-20240827" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24399,7 +24410,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; "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 d27d54ad671aa..db248090fb4d6 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 @@ -1953,19 +1953,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$284; + var JSCompiler_inline_result$jscomp$286; if (canUseDOM) { - var isSupported$jscomp$inline_417 = "oninput" in document; - if (!isSupported$jscomp$inline_417) { - var element$jscomp$inline_418 = document.createElement("div"); - element$jscomp$inline_418.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_417 = - "function" === typeof element$jscomp$inline_418.oninput; + var isSupported$jscomp$inline_422 = "oninput" in document; + if (!isSupported$jscomp$inline_422) { + var element$jscomp$inline_423 = document.createElement("div"); + element$jscomp$inline_423.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_422 = + "function" === typeof element$jscomp$inline_423.oninput; } - JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_417; - } else JSCompiler_inline_result$jscomp$284 = !1; + JSCompiler_inline_result$jscomp$286 = isSupported$jscomp$inline_422; + } else JSCompiler_inline_result$jscomp$286 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$284 && + JSCompiler_inline_result$jscomp$286 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -10341,7 +10341,9 @@ function performSyncWorkOnRoot(root, lanes) { return null; } function flushSyncWork$1() { - return 0 === (executionContext & 6) ? (flushSyncWorkOnAllRoots(), !1) : !0; + return 0 === (executionContext & 6) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) + : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { @@ -10857,7 +10859,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); return null; } function releaseRootPooledCache(root, remainingLanes) { @@ -10893,7 +10895,7 @@ function flushPassiveEffects() { commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, renderPriority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot @@ -11058,22 +11060,42 @@ function ensureRootIsScheduled(root) { ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } -function flushSyncWorkOnAllRoots() { +function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$175 = firstScheduledRoot; null !== root$175; ) { - var workInProgressRootRenderLanes$177 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$177 = getNextLanes( - root$175, - root$175 === workInProgressRoot - ? workInProgressRootRenderLanes$177 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$177 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$175, workInProgressRootRenderLanes$177)); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root$175.pendingLanes; + if (0 === pendingLanes) var JSCompiler_inline_result = 0; + else { + var suspendedLanes = root$175.suspendedLanes, + pingedLanes = root$175.pingedLanes; + JSCompiler_inline_result = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + JSCompiler_inline_result &= + pendingLanes & ~(suspendedLanes & ~pingedLanes); + JSCompiler_inline_result = + JSCompiler_inline_result & 201326677 + ? (JSCompiler_inline_result & 201326677) | 1 + : JSCompiler_inline_result + ? JSCompiler_inline_result | 2 + : 0; + } + 0 !== JSCompiler_inline_result && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$175, JSCompiler_inline_result)); + } else + (JSCompiler_inline_result = workInProgressRootRenderLanes), + (JSCompiler_inline_result = getNextLanes( + root$175, + root$175 === workInProgressRoot ? JSCompiler_inline_result : 0 + )), + 0 !== (JSCompiler_inline_result & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$175, JSCompiler_inline_result)); root$175 = root$175.next; } } while (didPerformSomeWork); @@ -11082,30 +11104,29 @@ function flushSyncWorkOnAllRoots() { } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -11285,20 +11306,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1422 = 0; - i$jscomp$inline_1422 < simpleEventPluginEvents.length; - i$jscomp$inline_1422++ + var i$jscomp$inline_1417 = 0; + i$jscomp$inline_1417 < simpleEventPluginEvents.length; + i$jscomp$inline_1417++ ) { - var eventName$jscomp$inline_1423 = - simpleEventPluginEvents[i$jscomp$inline_1422], - domEventName$jscomp$inline_1424 = - eventName$jscomp$inline_1423.toLowerCase(), - capitalizedEvent$jscomp$inline_1425 = - eventName$jscomp$inline_1423[0].toUpperCase() + - eventName$jscomp$inline_1423.slice(1); + var eventName$jscomp$inline_1418 = + simpleEventPluginEvents[i$jscomp$inline_1417], + domEventName$jscomp$inline_1419 = + eventName$jscomp$inline_1418.toLowerCase(), + capitalizedEvent$jscomp$inline_1420 = + eventName$jscomp$inline_1418[0].toUpperCase() + + eventName$jscomp$inline_1418.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1424, - "on" + capitalizedEvent$jscomp$inline_1425 + domEventName$jscomp$inline_1419, + "on" + capitalizedEvent$jscomp$inline_1420 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -12481,34 +12502,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$188 = props[hasSrc]; - if (null != propValue$188) + var propValue$189 = props[hasSrc]; + if (null != propValue$189) switch (hasSrc) { case "name": - hasSrcSet = propValue$188; + hasSrcSet = propValue$189; break; case "type": - propValue = propValue$188; + propValue = propValue$189; break; case "checked": - checked = propValue$188; + checked = propValue$189; break; case "defaultChecked": - defaultChecked = propValue$188; + defaultChecked = propValue$189; break; case "value": - propKey = propValue$188; + propKey = propValue$189; break; case "defaultValue": - defaultValue = propValue$188; + defaultValue = propValue$189; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$188) + if (null != propValue$189) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$188, props, null); + setProp(domElement, tag, hasSrc, propValue$189, props, null); } } initInput( @@ -12645,14 +12666,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$188 in props) - props.hasOwnProperty(propValue$188) && - ((hasSrc = props[propValue$188]), + for (propValue$189 in props) + props.hasOwnProperty(propValue$189) && + ((hasSrc = props[propValue$189]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$188, + propValue$189, hasSrc, props, void 0 @@ -12700,14 +12721,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$205 in nextProps) { - var propKey = nextProps[propKey$205]; - lastProp = lastProps[propKey$205]; + for (var propKey$206 in nextProps) { + var propKey = nextProps[propKey$206]; + lastProp = lastProps[propKey$206]; if ( - nextProps.hasOwnProperty(propKey$205) && + nextProps.hasOwnProperty(propKey$206) && (null != propKey || null != lastProp) ) - switch (propKey$205) { + switch (propKey$206) { case "type": type = propKey; break; @@ -12736,7 +12757,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$205, + propKey$206, propKey, nextProps, lastProp @@ -12755,7 +12776,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$205 = null; + propKey = value = defaultValue = propKey$206 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -12786,7 +12807,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$205 = type; + propKey$206 = type; break; case "defaultValue": defaultValue = type; @@ -12807,15 +12828,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$205 - ? updateOptions(domElement, !!lastProps, propKey$205, !1) + null != propKey$206 + ? updateOptions(domElement, !!lastProps, propKey$206, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$205 = null; + propKey = propKey$206 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -12839,7 +12860,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$205 = name; + propKey$206 = name; break; case "defaultValue": propKey = name; @@ -12853,17 +12874,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$205, propKey); + updateTextarea(domElement, propKey$206, propKey); return; case "option": - for (var propKey$221 in lastProps) + for (var propKey$222 in lastProps) if ( - ((propKey$205 = lastProps[propKey$221]), - lastProps.hasOwnProperty(propKey$221) && - null != propKey$205 && - !nextProps.hasOwnProperty(propKey$221)) + ((propKey$206 = lastProps[propKey$222]), + lastProps.hasOwnProperty(propKey$222) && + null != propKey$206 && + !nextProps.hasOwnProperty(propKey$222)) ) - switch (propKey$221) { + switch (propKey$222) { case "selected": domElement.selected = !1; break; @@ -12871,33 +12892,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$221, + propKey$222, null, nextProps, - propKey$205 + propKey$206 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$205 = nextProps[lastDefaultValue]), + ((propKey$206 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$205 !== propKey && - (null != propKey$205 || null != propKey)) + propKey$206 !== propKey && + (null != propKey$206 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$205 && - "function" !== typeof propKey$205 && - "symbol" !== typeof propKey$205; + propKey$206 && + "function" !== typeof propKey$206 && + "symbol" !== typeof propKey$206; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$205, + propKey$206, nextProps, propKey ); @@ -12918,24 +12939,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$226 in lastProps) - (propKey$205 = lastProps[propKey$226]), - lastProps.hasOwnProperty(propKey$226) && - null != propKey$205 && - !nextProps.hasOwnProperty(propKey$226) && - setProp(domElement, tag, propKey$226, null, nextProps, propKey$205); + for (var propKey$227 in lastProps) + (propKey$206 = lastProps[propKey$227]), + lastProps.hasOwnProperty(propKey$227) && + null != propKey$206 && + !nextProps.hasOwnProperty(propKey$227) && + setProp(domElement, tag, propKey$227, null, nextProps, propKey$206); for (checked in nextProps) if ( - ((propKey$205 = nextProps[checked]), + ((propKey$206 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$205 !== propKey && - (null != propKey$205 || null != propKey)) + propKey$206 !== propKey && + (null != propKey$206 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$205) + if (null != propKey$206) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -12943,7 +12964,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$205, + propKey$206, nextProps, propKey ); @@ -12951,49 +12972,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$231 in lastProps) - (propKey$205 = lastProps[propKey$231]), - lastProps.hasOwnProperty(propKey$231) && - void 0 !== propKey$205 && - !nextProps.hasOwnProperty(propKey$231) && + for (var propKey$232 in lastProps) + (propKey$206 = lastProps[propKey$232]), + lastProps.hasOwnProperty(propKey$232) && + void 0 !== propKey$206 && + !nextProps.hasOwnProperty(propKey$232) && setPropOnCustomElement( domElement, tag, - propKey$231, + propKey$232, void 0, nextProps, - propKey$205 + propKey$206 ); for (defaultChecked in nextProps) - (propKey$205 = nextProps[defaultChecked]), + (propKey$206 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$205 === propKey || - (void 0 === propKey$205 && void 0 === propKey) || + propKey$206 === propKey || + (void 0 === propKey$206 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$205, + propKey$206, nextProps, propKey ); return; } } - for (var propKey$236 in lastProps) - (propKey$205 = lastProps[propKey$236]), - lastProps.hasOwnProperty(propKey$236) && - null != propKey$205 && - !nextProps.hasOwnProperty(propKey$236) && - setProp(domElement, tag, propKey$236, null, nextProps, propKey$205); + for (var propKey$237 in lastProps) + (propKey$206 = lastProps[propKey$237]), + lastProps.hasOwnProperty(propKey$237) && + null != propKey$206 && + !nextProps.hasOwnProperty(propKey$237) && + setProp(domElement, tag, propKey$237, null, nextProps, propKey$206); for (lastProp in nextProps) - (propKey$205 = nextProps[lastProp]), + (propKey$206 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$205 === propKey || - (null == propKey$205 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$205, nextProps, propKey); + propKey$206 === propKey || + (null == propKey$206 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$206, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -13538,26 +13559,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$244 = getResourcesFromRoot( + var styles$245 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$245 = styles$244.get(type); - resource$245 || + resource$246 = styles$245.get(type); + resource$246 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$245 = { + (resource$246 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$244.set(type, resource$245), - (styles$244 = JSCompiler_inline_result.querySelector( + styles$245.set(type, resource$246), + (styles$245 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$244._p && - ((resource$245.instance = styles$244), - (resource$245.state.loading = 5)), + !styles$245._p && + ((resource$246.instance = styles$245), + (resource$246.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -13570,16 +13591,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$244 || + styles$245 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$245.state + resource$246.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$245; + return resource$246; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -13676,37 +13697,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$250 = hoistableRoot.querySelector( + var instance$251 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$250) + if (instance$251) return ( (resource.state.loading |= 4), - (resource.instance = instance$250), - markNodeAsHoistable(instance$250), - instance$250 + (resource.instance = instance$251), + markNodeAsHoistable(instance$251), + instance$251 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$250 = ( + instance$251 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$250); - var linkInstance = instance$250; + markNodeAsHoistable(instance$251); + var linkInstance = instance$251; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$250, "link", instance); + setInitialProperties(instance$251, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$250, props.precedence, hoistableRoot); - return (resource.instance = instance$250); + insertStylesheet(instance$251, props.precedence, hoistableRoot); + return (resource.instance = instance$251); case "script": - instance$250 = getScriptKey(props.src); + instance$251 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$250) + getScriptSelectorFromKey(instance$251) )) ) return ( @@ -13715,7 +13736,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$250))) + if ((styleProps = preloadPropsMap.get(instance$251))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -14224,7 +14245,7 @@ function dispatchEvent( ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now() + 500), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -14738,16 +14759,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1669 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1664 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== - isomorphicReactPackageVersion$jscomp$inline_1669 + "19.0.0-rc-f90a6bcc-20240827" !== + isomorphicReactPackageVersion$jscomp$inline_1664 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1669, - "19.0.0-rc-eb3ad065-20240822" + isomorphicReactPackageVersion$jscomp$inline_1664, + "19.0.0-rc-f90a6bcc-20240827" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -14767,25 +14788,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2045 = { +var internals$jscomp$inline_2049 = { bundleType: 0, - version: "19.0.0-rc-eb3ad065-20240822", + version: "19.0.0-rc-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-eb3ad065-20240822" + reconcilerVersion: "19.0.0-rc-f90a6bcc-20240827" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2046 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2050 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2046.isDisabled && - hook$jscomp$inline_2046.supportsFiber + !hook$jscomp$inline_2050.isDisabled && + hook$jscomp$inline_2050.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2046.inject( - internals$jscomp$inline_2045 + (rendererID = hook$jscomp$inline_2050.inject( + internals$jscomp$inline_2049 )), - (injectedHook = hook$jscomp$inline_2046); + (injectedHook = hook$jscomp$inline_2050); } catch (err) {} } exports.createRoot = function (container, options) { @@ -14877,4 +14898,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 a809704c022d8..0e7ecca38eb8d 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 @@ -8455,32 +8455,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2298; - var JSCompiler_object_inline_stack_2299 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2304; + var JSCompiler_object_inline_stack_2305 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2300 = !1; + var JSCompiler_object_inline_componentStack_2306 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2298 = didSuspend) || - (JSCompiler_object_inline_digest_2298 = + (JSCompiler_object_inline_digest_2304 = didSuspend) || + (JSCompiler_object_inline_digest_2304 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2298 && - ((JSCompiler_object_inline_componentStack_2300 = !0), + JSCompiler_object_inline_digest_2304 && + ((JSCompiler_object_inline_componentStack_2306 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2298 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2304 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2300 + JSCompiler_object_inline_componentStack_2306 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2297 = nextHydratableInstance; + var JSCompiler_object_inline_message_2303 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2297)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2303)) { c: { - var instance = JSCompiler_object_inline_message_2297; + var instance = JSCompiler_object_inline_message_2303; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8521,19 +8521,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2297 + JSCompiler_object_inline_message_2303 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2297 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2303 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2297 && - ((JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_message_2297.dehydrated), - null !== JSCompiler_object_inline_message_2297) + null !== JSCompiler_object_inline_message_2303 && + ((JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_message_2303.dehydrated), + null !== JSCompiler_object_inline_message_2303) ) return ( - JSCompiler_object_inline_message_2297.data === + JSCompiler_object_inline_message_2303.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8541,58 +8541,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_stack_2299.children; - JSCompiler_object_inline_stack_2299 = - JSCompiler_object_inline_stack_2299.fallback; - if (JSCompiler_object_inline_componentStack_2300) + JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_stack_2305.children; + JSCompiler_object_inline_stack_2305 = + JSCompiler_object_inline_stack_2305.fallback; + if (JSCompiler_object_inline_componentStack_2306) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2300 = + (JSCompiler_object_inline_componentStack_2306 = workInProgress.mode), - (JSCompiler_object_inline_message_2297 = + (JSCompiler_object_inline_message_2303 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2297 + children: JSCompiler_object_inline_message_2303 }, - JSCompiler_object_inline_componentStack_2300 + JSCompiler_object_inline_componentStack_2306 )), - (JSCompiler_object_inline_stack_2299 = createFiberFromFragment( - JSCompiler_object_inline_stack_2299, - JSCompiler_object_inline_componentStack_2300, + (JSCompiler_object_inline_stack_2305 = createFiberFromFragment( + JSCompiler_object_inline_stack_2305, + JSCompiler_object_inline_componentStack_2306, renderLanes, null )), - (JSCompiler_object_inline_message_2297.return = workInProgress), - (JSCompiler_object_inline_stack_2299.return = workInProgress), - (JSCompiler_object_inline_message_2297.sibling = - JSCompiler_object_inline_stack_2299), - (workInProgress.child = JSCompiler_object_inline_message_2297), - (JSCompiler_object_inline_componentStack_2300 = + (JSCompiler_object_inline_message_2303.return = workInProgress), + (JSCompiler_object_inline_stack_2305.return = workInProgress), + (JSCompiler_object_inline_message_2303.sibling = + JSCompiler_object_inline_stack_2305), + (workInProgress.child = JSCompiler_object_inline_message_2303), + (JSCompiler_object_inline_componentStack_2306 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2300.memoizedState = + (JSCompiler_object_inline_componentStack_2306.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2300.childLanes = + (JSCompiler_object_inline_componentStack_2306.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2297 + JSCompiler_object_inline_message_2303 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2297 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2297) + ((JSCompiler_object_inline_message_2303 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2303) ) { if (didSuspend) workInProgress.flags & 256 @@ -8609,94 +8609,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2300 = - JSCompiler_object_inline_stack_2299.fallback), - (JSCompiler_object_inline_message_2297 = workInProgress.mode), - (JSCompiler_object_inline_stack_2299 = + (JSCompiler_object_inline_componentStack_2306 = + JSCompiler_object_inline_stack_2305.fallback), + (JSCompiler_object_inline_message_2303 = workInProgress.mode), + (JSCompiler_object_inline_stack_2305 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children }, - JSCompiler_object_inline_message_2297 + JSCompiler_object_inline_message_2303 )), - (JSCompiler_object_inline_componentStack_2300 = + (JSCompiler_object_inline_componentStack_2306 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2300, - JSCompiler_object_inline_message_2297, + JSCompiler_object_inline_componentStack_2306, + JSCompiler_object_inline_message_2303, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2300.flags |= 2), - (JSCompiler_object_inline_stack_2299.return = workInProgress), - (JSCompiler_object_inline_componentStack_2300.return = + (JSCompiler_object_inline_componentStack_2306.flags |= 2), + (JSCompiler_object_inline_stack_2305.return = workInProgress), + (JSCompiler_object_inline_componentStack_2306.return = workInProgress), - (JSCompiler_object_inline_stack_2299.sibling = - JSCompiler_object_inline_componentStack_2300), - (workInProgress.child = JSCompiler_object_inline_stack_2299), + (JSCompiler_object_inline_stack_2305.sibling = + JSCompiler_object_inline_componentStack_2306), + (workInProgress.child = JSCompiler_object_inline_stack_2305), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2299 = workInProgress.child), - (JSCompiler_object_inline_stack_2299.memoizedState = + (JSCompiler_object_inline_stack_2305 = workInProgress.child), + (JSCompiler_object_inline_stack_2305.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2299.childLanes = + (JSCompiler_object_inline_stack_2305.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2300)); + JSCompiler_object_inline_componentStack_2306)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2297.data === + JSCompiler_object_inline_message_2303.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2298 = - JSCompiler_object_inline_message_2297.nextSibling && - JSCompiler_object_inline_message_2297.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2298) { - JSCompiler_temp = JSCompiler_object_inline_digest_2298.dgst; - var message = JSCompiler_object_inline_digest_2298.msg; - instance = JSCompiler_object_inline_digest_2298.stck; - var componentStack = JSCompiler_object_inline_digest_2298.cstck; + JSCompiler_object_inline_digest_2304 = + JSCompiler_object_inline_message_2303.nextSibling && + JSCompiler_object_inline_message_2303.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2304) { + JSCompiler_temp = JSCompiler_object_inline_digest_2304.dgst; + var message = JSCompiler_object_inline_digest_2304.msg; + instance = JSCompiler_object_inline_digest_2304.stck; + var componentStack = JSCompiler_object_inline_digest_2304.cstck; } - JSCompiler_object_inline_message_2297 = message; - JSCompiler_object_inline_digest_2298 = JSCompiler_temp; - JSCompiler_object_inline_stack_2299 = instance; - JSCompiler_object_inline_componentStack_2300 = componentStack; - JSCompiler_object_inline_message_2297 = - JSCompiler_object_inline_message_2297 - ? Error(JSCompiler_object_inline_message_2297) + JSCompiler_object_inline_message_2303 = message; + JSCompiler_object_inline_digest_2304 = JSCompiler_temp; + JSCompiler_object_inline_stack_2305 = instance; + JSCompiler_object_inline_componentStack_2306 = componentStack; + JSCompiler_object_inline_message_2303 = + JSCompiler_object_inline_message_2303 + ? Error(JSCompiler_object_inline_message_2303) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2297.stack = - JSCompiler_object_inline_stack_2299 || ""; - JSCompiler_object_inline_message_2297.digest = - JSCompiler_object_inline_digest_2298; - JSCompiler_object_inline_digest_2298 = - void 0 === JSCompiler_object_inline_componentStack_2300 + JSCompiler_object_inline_message_2303.stack = + JSCompiler_object_inline_stack_2305 || ""; + JSCompiler_object_inline_message_2303.digest = + JSCompiler_object_inline_digest_2304; + JSCompiler_object_inline_digest_2304 = + void 0 === JSCompiler_object_inline_componentStack_2306 ? null - : JSCompiler_object_inline_componentStack_2300; - "string" === typeof JSCompiler_object_inline_digest_2298 && + : JSCompiler_object_inline_componentStack_2306; + "string" === typeof JSCompiler_object_inline_digest_2304 && CapturedStacks.set( - JSCompiler_object_inline_message_2297, - JSCompiler_object_inline_digest_2298 + JSCompiler_object_inline_message_2303, + JSCompiler_object_inline_digest_2304 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2297, + value: JSCompiler_object_inline_message_2303, source: null, - stack: JSCompiler_object_inline_digest_2298 + stack: JSCompiler_object_inline_digest_2304 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8704,25 +8704,25 @@ renderLanes ); } else if ( - ((JSCompiler_object_inline_digest_2298 = + ((JSCompiler_object_inline_digest_2304 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2298) + didReceiveUpdate || JSCompiler_object_inline_digest_2304) ) { - JSCompiler_object_inline_digest_2298 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2298) { - JSCompiler_object_inline_stack_2299 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2299 & 42)) - JSCompiler_object_inline_stack_2299 = 1; + JSCompiler_object_inline_digest_2304 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2304) { + JSCompiler_object_inline_stack_2305 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2305 & 42)) + JSCompiler_object_inline_stack_2305 = 1; else - switch (JSCompiler_object_inline_stack_2299) { + switch (JSCompiler_object_inline_stack_2305) { case 2: - JSCompiler_object_inline_stack_2299 = 1; + JSCompiler_object_inline_stack_2305 = 1; break; case 8: - JSCompiler_object_inline_stack_2299 = 4; + JSCompiler_object_inline_stack_2305 = 4; break; case 32: - JSCompiler_object_inline_stack_2299 = 16; + JSCompiler_object_inline_stack_2305 = 16; break; case 128: case 256: @@ -8743,40 +8743,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2299 = 64; + JSCompiler_object_inline_stack_2305 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2299 = 134217728; + JSCompiler_object_inline_stack_2305 = 134217728; break; default: - JSCompiler_object_inline_stack_2299 = 0; + JSCompiler_object_inline_stack_2305 = 0; } - JSCompiler_object_inline_stack_2299 = + JSCompiler_object_inline_stack_2305 = 0 !== - (JSCompiler_object_inline_stack_2299 & - (JSCompiler_object_inline_digest_2298.suspendedLanes | + (JSCompiler_object_inline_stack_2305 & + (JSCompiler_object_inline_digest_2304.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2299; + : JSCompiler_object_inline_stack_2305; if ( - 0 !== JSCompiler_object_inline_stack_2299 && - JSCompiler_object_inline_stack_2299 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2305 && + JSCompiler_object_inline_stack_2305 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2299), + ((prevState.retryLane = JSCompiler_object_inline_stack_2305), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, current, - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2297.data === + JSCompiler_object_inline_message_2303.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8784,7 +8784,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2297.data === + JSCompiler_object_inline_message_2303.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8792,12 +8792,12 @@ null, current )), - (JSCompiler_object_inline_message_2297._reactRetry = + (JSCompiler_object_inline_message_2303._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2297.nextSibling + JSCompiler_object_inline_message_2303.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -8815,57 +8815,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2299.children + JSCompiler_object_inline_stack_2305.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2300) + if (JSCompiler_object_inline_componentStack_2306) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2300 = - JSCompiler_object_inline_stack_2299.fallback), - (JSCompiler_object_inline_message_2297 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2306 = + JSCompiler_object_inline_stack_2305.fallback), + (JSCompiler_object_inline_message_2303 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2299 = createWorkInProgress( + (JSCompiler_object_inline_stack_2305 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children } )), - (JSCompiler_object_inline_stack_2299.subtreeFlags = + (JSCompiler_object_inline_stack_2305.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2300 = + ? (JSCompiler_object_inline_componentStack_2306 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2300 + JSCompiler_object_inline_componentStack_2306 )) - : ((JSCompiler_object_inline_componentStack_2300 = + : ((JSCompiler_object_inline_componentStack_2306 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2300, - JSCompiler_object_inline_message_2297, + JSCompiler_object_inline_componentStack_2306, + JSCompiler_object_inline_message_2303, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2300.flags |= 2)), - (JSCompiler_object_inline_componentStack_2300.return = + (JSCompiler_object_inline_componentStack_2306.flags |= 2)), + (JSCompiler_object_inline_componentStack_2306.return = workInProgress), - (JSCompiler_object_inline_stack_2299.return = workInProgress), - (JSCompiler_object_inline_stack_2299.sibling = - JSCompiler_object_inline_componentStack_2300), - (workInProgress.child = JSCompiler_object_inline_stack_2299), - (JSCompiler_object_inline_stack_2299 = - JSCompiler_object_inline_componentStack_2300), - (JSCompiler_object_inline_componentStack_2300 = workInProgress.child), - (JSCompiler_object_inline_message_2297 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2297 - ? (JSCompiler_object_inline_message_2297 = + (JSCompiler_object_inline_stack_2305.return = workInProgress), + (JSCompiler_object_inline_stack_2305.sibling = + JSCompiler_object_inline_componentStack_2306), + (workInProgress.child = JSCompiler_object_inline_stack_2305), + (JSCompiler_object_inline_stack_2305 = + JSCompiler_object_inline_componentStack_2306), + (JSCompiler_object_inline_componentStack_2306 = workInProgress.child), + (JSCompiler_object_inline_message_2303 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2303 + ? (JSCompiler_object_inline_message_2303 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2297.cachePool), + JSCompiler_object_inline_message_2303.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -8873,37 +8873,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2297 = { + (JSCompiler_object_inline_message_2303 = { baseLanes: - JSCompiler_object_inline_message_2297.baseLanes | renderLanes, + JSCompiler_object_inline_message_2303.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2300.memoizedState = - JSCompiler_object_inline_message_2297), - (JSCompiler_object_inline_componentStack_2300.childLanes = + (JSCompiler_object_inline_componentStack_2306.memoizedState = + JSCompiler_object_inline_message_2303), + (JSCompiler_object_inline_componentStack_2306.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2298, + JSCompiler_object_inline_digest_2304, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2299 + JSCompiler_object_inline_stack_2305 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2299.children + children: JSCompiler_object_inline_stack_2305.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2298 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2298 + ((JSCompiler_object_inline_digest_2304 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2304 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2298.push(current)); + : JSCompiler_object_inline_digest_2304.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -14459,7 +14459,7 @@ } function flushSyncWork$1() { return (executionContext & (RenderContext | CommitContext)) === NoContext - ? (flushSyncWorkOnAllRoots(), !1) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) : !0; } function resetWorkInProgressStack() { @@ -15149,7 +15149,7 @@ ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -15279,7 +15279,7 @@ injectedProfilingHooks.markPassiveEffectsStopped(); commitDoubleInvokeEffectsInDEV(priority); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); didScheduleUpdateDuringPassiveEffects ? priority === rootWithPassiveNestedUpdates ? nestedPassiveUpdateCount++ @@ -15607,26 +15607,41 @@ ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } - function flushSyncWorkOnAllRoots() { + function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root = firstScheduledRoot; null !== root; ) { - var workInProgressRootRenderLanes$jscomp$0 = - workInProgressRootRenderLanes; - workInProgressRootRenderLanes$jscomp$0 = getNextLanes( - root, - root === workInProgressRoot - ? workInProgressRootRenderLanes$jscomp$0 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot( - root, - workInProgressRootRenderLanes$jscomp$0 - )); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root.pendingLanes; + if (0 === pendingLanes) var nextLanes = 0; + else { + var suspendedLanes = root.suspendedLanes, + pingedLanes = root.pingedLanes; + nextLanes = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes); + nextLanes = + nextLanes & 201326677 + ? (nextLanes & 201326677) | 1 + : nextLanes + ? nextLanes | 2 + : 0; + } + 0 !== nextLanes && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); + } else + (nextLanes = workInProgressRootRenderLanes), + (nextLanes = getNextLanes( + root, + root === workInProgressRoot ? nextLanes : 0 + )), + 0 !== (nextLanes & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root, nextLanes)); root = root.next; } } while (didPerformSomeWork); @@ -15638,33 +15653,29 @@ didScheduleMicrotask_act = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if ( - 0 !== currentEventTransitionLane && - shouldAttemptEagerTransition() - ) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -20117,7 +20128,7 @@ NoContext && ((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -24267,11 +24278,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-f90a6bcc-20240827" !== 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.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24308,11 +24319,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-eb3ad065-20240822", + version: "19.0.0-rc-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-eb3ad065-20240822" + reconcilerVersion: "19.0.0-rc-f90a6bcc-20240827" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24786,7 +24797,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; "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 6005aad4d7847..8095ed7b1d4d9 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 @@ -2064,19 +2064,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$305; + var JSCompiler_inline_result$jscomp$307; if (canUseDOM) { - var isSupported$jscomp$inline_439 = "oninput" in document; - if (!isSupported$jscomp$inline_439) { - var element$jscomp$inline_440 = document.createElement("div"); - element$jscomp$inline_440.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_439 = - "function" === typeof element$jscomp$inline_440.oninput; + var isSupported$jscomp$inline_444 = "oninput" in document; + if (!isSupported$jscomp$inline_444) { + var element$jscomp$inline_445 = document.createElement("div"); + element$jscomp$inline_445.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_444 = + "function" === typeof element$jscomp$inline_445.oninput; } - JSCompiler_inline_result$jscomp$305 = isSupported$jscomp$inline_439; - } else JSCompiler_inline_result$jscomp$305 = !1; + JSCompiler_inline_result$jscomp$307 = isSupported$jscomp$inline_444; + } else JSCompiler_inline_result$jscomp$307 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$305 && + JSCompiler_inline_result$jscomp$307 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -10865,7 +10865,9 @@ function performSyncWorkOnRoot(root, lanes) { return null; } function flushSyncWork$1() { - return 0 === (executionContext & 6) ? (flushSyncWorkOnAllRoots(), !1) : !0; + return 0 === (executionContext & 6) + ? (flushSyncWorkAcrossRoots_impl(0, !1), !1) + : !0; } function resetWorkInProgressStack() { if (null !== workInProgress) { @@ -11470,7 +11472,7 @@ function commitRootImpl( ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); markCommitStopped(); return null; } @@ -11558,7 +11560,7 @@ function flushPassiveEffects() { typeof injectedProfilingHooks.markPassiveEffectsStopped && injectedProfilingHooks.markPassiveEffectsStopped(); executionContext = prevExecutionContext; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(0, !1); if ( injectedHook && "function" === typeof injectedHook.onPostCommitFiberRoot @@ -11742,22 +11744,42 @@ function ensureRootIsScheduled(root) { ((didScheduleMicrotask = !0), scheduleImmediateTask(processRootScheduleInMicrotask)); } -function flushSyncWorkOnAllRoots() { +function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { if (!isFlushingWork && mightHavePendingSyncWork) { isFlushingWork = !0; do { var didPerformSomeWork = !1; for (var root$195 = firstScheduledRoot; null !== root$195; ) { - var workInProgressRootRenderLanes$197 = workInProgressRootRenderLanes; - workInProgressRootRenderLanes$197 = getNextLanes( - root$195, - root$195 === workInProgressRoot - ? workInProgressRootRenderLanes$197 - : 0 - ); - 0 !== (workInProgressRootRenderLanes$197 & 3) && - ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$195, workInProgressRootRenderLanes$197)); + if (!onlyLegacy) + if (0 !== syncTransitionLanes) { + var pendingLanes = root$195.pendingLanes; + if (0 === pendingLanes) var JSCompiler_inline_result = 0; + else { + var suspendedLanes = root$195.suspendedLanes, + pingedLanes = root$195.pingedLanes; + JSCompiler_inline_result = + (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; + JSCompiler_inline_result &= + pendingLanes & ~(suspendedLanes & ~pingedLanes); + JSCompiler_inline_result = + JSCompiler_inline_result & 201326677 + ? (JSCompiler_inline_result & 201326677) | 1 + : JSCompiler_inline_result + ? JSCompiler_inline_result | 2 + : 0; + } + 0 !== JSCompiler_inline_result && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$195, JSCompiler_inline_result)); + } else + (JSCompiler_inline_result = workInProgressRootRenderLanes), + (JSCompiler_inline_result = getNextLanes( + root$195, + root$195 === workInProgressRoot ? JSCompiler_inline_result : 0 + )), + 0 !== (JSCompiler_inline_result & 3) && + ((didPerformSomeWork = !0), + performSyncWorkOnRoot(root$195, JSCompiler_inline_result)); root$195 = root$195.next; } } while (didPerformSomeWork); @@ -11766,30 +11788,29 @@ function flushSyncWorkOnAllRoots() { } function processRootScheduleInMicrotask() { mightHavePendingSyncWork = didScheduleMicrotask = !1; + var syncTransitionLanes = 0; + 0 !== currentEventTransitionLane && + (shouldAttemptEagerTransition() && + (syncTransitionLanes = currentEventTransitionLane), + (currentEventTransitionLane = 0)); for ( var currentTime = now$1(), prev = null, root = firstScheduledRoot; null !== root; ) { - var next = root.next; - if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) { - var root$jscomp$0 = root, - lane = currentEventTransitionLane; - root$jscomp$0.pendingLanes |= 2; - root$jscomp$0.entangledLanes |= 2; - root$jscomp$0.entanglements[1] |= lane; - } - root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime); - 0 === root$jscomp$0 - ? ((root.next = null), + var next = root.next, + nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); + if (0 === nextLanes) + (root.next = null), null === prev ? (firstScheduledRoot = next) : (prev.next = next), - null === next && (lastScheduledRoot = prev)) - : ((prev = root), - 0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0)); + null === next && (lastScheduledRoot = prev); + else if ( + ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) + ) + mightHavePendingSyncWork = !0; root = next; } - currentEventTransitionLane = 0; - flushSyncWorkOnAllRoots(); + flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -11969,20 +11990,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1509 = 0; - i$jscomp$inline_1509 < simpleEventPluginEvents.length; - i$jscomp$inline_1509++ + var i$jscomp$inline_1504 = 0; + i$jscomp$inline_1504 < simpleEventPluginEvents.length; + i$jscomp$inline_1504++ ) { - var eventName$jscomp$inline_1510 = - simpleEventPluginEvents[i$jscomp$inline_1509], - domEventName$jscomp$inline_1511 = - eventName$jscomp$inline_1510.toLowerCase(), - capitalizedEvent$jscomp$inline_1512 = - eventName$jscomp$inline_1510[0].toUpperCase() + - eventName$jscomp$inline_1510.slice(1); + var eventName$jscomp$inline_1505 = + simpleEventPluginEvents[i$jscomp$inline_1504], + domEventName$jscomp$inline_1506 = + eventName$jscomp$inline_1505.toLowerCase(), + capitalizedEvent$jscomp$inline_1507 = + eventName$jscomp$inline_1505[0].toUpperCase() + + eventName$jscomp$inline_1505.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1511, - "on" + capitalizedEvent$jscomp$inline_1512 + domEventName$jscomp$inline_1506, + "on" + capitalizedEvent$jscomp$inline_1507 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13165,34 +13186,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$208 = props[hasSrc]; - if (null != propValue$208) + var propValue$209 = props[hasSrc]; + if (null != propValue$209) switch (hasSrc) { case "name": - hasSrcSet = propValue$208; + hasSrcSet = propValue$209; break; case "type": - propValue = propValue$208; + propValue = propValue$209; break; case "checked": - checked = propValue$208; + checked = propValue$209; break; case "defaultChecked": - defaultChecked = propValue$208; + defaultChecked = propValue$209; break; case "value": - propKey = propValue$208; + propKey = propValue$209; break; case "defaultValue": - defaultValue = propValue$208; + defaultValue = propValue$209; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$208) + if (null != propValue$209) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$208, props, null); + setProp(domElement, tag, hasSrc, propValue$209, props, null); } } initInput( @@ -13329,14 +13350,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$208 in props) - props.hasOwnProperty(propValue$208) && - ((hasSrc = props[propValue$208]), + for (propValue$209 in props) + props.hasOwnProperty(propValue$209) && + ((hasSrc = props[propValue$209]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$208, + propValue$209, hasSrc, props, void 0 @@ -13384,14 +13405,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$225 in nextProps) { - var propKey = nextProps[propKey$225]; - lastProp = lastProps[propKey$225]; + for (var propKey$226 in nextProps) { + var propKey = nextProps[propKey$226]; + lastProp = lastProps[propKey$226]; if ( - nextProps.hasOwnProperty(propKey$225) && + nextProps.hasOwnProperty(propKey$226) && (null != propKey || null != lastProp) ) - switch (propKey$225) { + switch (propKey$226) { case "type": type = propKey; break; @@ -13420,7 +13441,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$225, + propKey$226, propKey, nextProps, lastProp @@ -13439,7 +13460,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$225 = null; + propKey = value = defaultValue = propKey$226 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13470,7 +13491,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$225 = type; + propKey$226 = type; break; case "defaultValue": defaultValue = type; @@ -13491,15 +13512,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$225 - ? updateOptions(domElement, !!lastProps, propKey$225, !1) + null != propKey$226 + ? updateOptions(domElement, !!lastProps, propKey$226, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$225 = null; + propKey = propKey$226 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13523,7 +13544,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$225 = name; + propKey$226 = name; break; case "defaultValue": propKey = name; @@ -13537,17 +13558,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$225, propKey); + updateTextarea(domElement, propKey$226, propKey); return; case "option": - for (var propKey$241 in lastProps) + for (var propKey$242 in lastProps) if ( - ((propKey$225 = lastProps[propKey$241]), - lastProps.hasOwnProperty(propKey$241) && - null != propKey$225 && - !nextProps.hasOwnProperty(propKey$241)) + ((propKey$226 = lastProps[propKey$242]), + lastProps.hasOwnProperty(propKey$242) && + null != propKey$226 && + !nextProps.hasOwnProperty(propKey$242)) ) - switch (propKey$241) { + switch (propKey$242) { case "selected": domElement.selected = !1; break; @@ -13555,33 +13576,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$241, + propKey$242, null, nextProps, - propKey$225 + propKey$226 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$225 = nextProps[lastDefaultValue]), + ((propKey$226 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$225 !== propKey && - (null != propKey$225 || null != propKey)) + propKey$226 !== propKey && + (null != propKey$226 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$225 && - "function" !== typeof propKey$225 && - "symbol" !== typeof propKey$225; + propKey$226 && + "function" !== typeof propKey$226 && + "symbol" !== typeof propKey$226; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$225, + propKey$226, nextProps, propKey ); @@ -13602,24 +13623,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$246 in lastProps) - (propKey$225 = lastProps[propKey$246]), - lastProps.hasOwnProperty(propKey$246) && - null != propKey$225 && - !nextProps.hasOwnProperty(propKey$246) && - setProp(domElement, tag, propKey$246, null, nextProps, propKey$225); + for (var propKey$247 in lastProps) + (propKey$226 = lastProps[propKey$247]), + lastProps.hasOwnProperty(propKey$247) && + null != propKey$226 && + !nextProps.hasOwnProperty(propKey$247) && + setProp(domElement, tag, propKey$247, null, nextProps, propKey$226); for (checked in nextProps) if ( - ((propKey$225 = nextProps[checked]), + ((propKey$226 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$225 !== propKey && - (null != propKey$225 || null != propKey)) + propKey$226 !== propKey && + (null != propKey$226 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$225) + if (null != propKey$226) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13627,7 +13648,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$225, + propKey$226, nextProps, propKey ); @@ -13635,49 +13656,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$251 in lastProps) - (propKey$225 = lastProps[propKey$251]), - lastProps.hasOwnProperty(propKey$251) && - void 0 !== propKey$225 && - !nextProps.hasOwnProperty(propKey$251) && + for (var propKey$252 in lastProps) + (propKey$226 = lastProps[propKey$252]), + lastProps.hasOwnProperty(propKey$252) && + void 0 !== propKey$226 && + !nextProps.hasOwnProperty(propKey$252) && setPropOnCustomElement( domElement, tag, - propKey$251, + propKey$252, void 0, nextProps, - propKey$225 + propKey$226 ); for (defaultChecked in nextProps) - (propKey$225 = nextProps[defaultChecked]), + (propKey$226 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$225 === propKey || - (void 0 === propKey$225 && void 0 === propKey) || + propKey$226 === propKey || + (void 0 === propKey$226 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$225, + propKey$226, nextProps, propKey ); return; } } - for (var propKey$256 in lastProps) - (propKey$225 = lastProps[propKey$256]), - lastProps.hasOwnProperty(propKey$256) && - null != propKey$225 && - !nextProps.hasOwnProperty(propKey$256) && - setProp(domElement, tag, propKey$256, null, nextProps, propKey$225); + for (var propKey$257 in lastProps) + (propKey$226 = lastProps[propKey$257]), + lastProps.hasOwnProperty(propKey$257) && + null != propKey$226 && + !nextProps.hasOwnProperty(propKey$257) && + setProp(domElement, tag, propKey$257, null, nextProps, propKey$226); for (lastProp in nextProps) - (propKey$225 = nextProps[lastProp]), + (propKey$226 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$225 === propKey || - (null == propKey$225 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$225, nextProps, propKey); + propKey$226 === propKey || + (null == propKey$226 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$226, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14222,26 +14243,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$264 = getResourcesFromRoot( + var styles$265 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$265 = styles$264.get(type); - resource$265 || + resource$266 = styles$265.get(type); + resource$266 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$265 = { + (resource$266 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$264.set(type, resource$265), - (styles$264 = JSCompiler_inline_result.querySelector( + styles$265.set(type, resource$266), + (styles$265 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$264._p && - ((resource$265.instance = styles$264), - (resource$265.state.loading = 5)), + !styles$265._p && + ((resource$266.instance = styles$265), + (resource$266.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14254,16 +14275,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$264 || + styles$265 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$265.state + resource$266.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$265; + return resource$266; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14360,37 +14381,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$270 = hoistableRoot.querySelector( + var instance$271 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$270) + if (instance$271) return ( (resource.state.loading |= 4), - (resource.instance = instance$270), - markNodeAsHoistable(instance$270), - instance$270 + (resource.instance = instance$271), + markNodeAsHoistable(instance$271), + instance$271 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$270 = ( + instance$271 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$270); - var linkInstance = instance$270; + markNodeAsHoistable(instance$271); + var linkInstance = instance$271; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$270, "link", instance); + setInitialProperties(instance$271, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$270, props.precedence, hoistableRoot); - return (resource.instance = instance$270); + insertStylesheet(instance$271, props.precedence, hoistableRoot); + return (resource.instance = instance$271); case "script": - instance$270 = getScriptKey(props.src); + instance$271 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$270) + getScriptSelectorFromKey(instance$271) )) ) return ( @@ -14399,7 +14420,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$270))) + if ((styleProps = preloadPropsMap.get(instance$271))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -14927,7 +14948,7 @@ function dispatchEvent( ensureRootIsScheduled(fiber); 0 === (executionContext & 6) && ((workInProgressRootRenderTargetTime = now$1() + 500), - flushSyncWorkOnAllRoots()); + flushSyncWorkAcrossRoots_impl(0, !1)); } } break; @@ -15441,16 +15462,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1758 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1753 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== - isomorphicReactPackageVersion$jscomp$inline_1758 + "19.0.0-rc-f90a6bcc-20240827" !== + isomorphicReactPackageVersion$jscomp$inline_1753 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1758, - "19.0.0-rc-eb3ad065-20240822" + isomorphicReactPackageVersion$jscomp$inline_1753, + "19.0.0-rc-f90a6bcc-20240827" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15470,18 +15491,18 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1765 = { +var internals$jscomp$inline_1760 = { bundleType: 0, - version: "19.0.0-rc-eb3ad065-20240822", + version: "19.0.0-rc-f90a6bcc-20240827", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-eb3ad065-20240822", + reconcilerVersion: "19.0.0-rc-f90a6bcc-20240827", getLaneLabelMap: function () { for ( - var map = new Map(), lane = 1, index$287 = 0; - 31 > index$287; - index$287++ + var map = new Map(), lane = 1, index$288 = 0; + 31 > index$288; + index$288++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -15494,16 +15515,16 @@ var internals$jscomp$inline_1765 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2136 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2140 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2136.isDisabled && - hook$jscomp$inline_2136.supportsFiber + !hook$jscomp$inline_2140.isDisabled && + hook$jscomp$inline_2140.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2136.inject( - internals$jscomp$inline_1765 + (rendererID = hook$jscomp$inline_2140.inject( + internals$jscomp$inline_1760 )), - (injectedHook = hook$jscomp$inline_2136); + (injectedHook = hook$jscomp$inline_2140); } catch (err) {} } function noop() {} @@ -15756,7 +15777,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; "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 5f58094c411e3..8795edae7c480 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 @@ -8528,5 +8528,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.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 732d0d55fe9e8..45e95c4c236c1 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 @@ -5592,4 +5592,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.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 dbae2352a3a29..b93bd691f1b48 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 @@ -8528,5 +8528,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.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 b29c2a2e573e4..4eac0ec8a42f8 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 @@ -5670,4 +5670,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.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 252e5ed9f44e5..40af26b90d3e7 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 @@ -8715,11 +8715,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-f90a6bcc-20240827" !== 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.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8812,5 +8812,5 @@ startWork(request$jscomp$0); }); }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 3993c3dca84eb..1915532ef3fc9 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 @@ -5881,14 +5881,14 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_742 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== + "19.0.0-rc-f90a6bcc-20240827" !== isomorphicReactPackageVersion$jscomp$inline_742 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_742, - "19.0.0-rc-eb3ad065-20240822" + "19.0.0-rc-f90a6bcc-20240827" ) ); exports.renderToReadableStream = function (children, options) { @@ -5977,4 +5977,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 c4b3b52b1b99a..83a69864cd32d 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 @@ -5565,13 +5565,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_746 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== + "19.0.0-rc-f90a6bcc-20240827" !== isomorphicReactPackageVersion$jscomp$inline_746 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_746 + - "\n - react-dom: 19.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5659,4 +5659,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 c0b71ee244e17..dea097f8f2fe7 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 @@ -8734,11 +8734,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-f90a6bcc-20240827" !== 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.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8842,5 +8842,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 62a91b30e9c39..7afc696fc9ec6 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 @@ -5975,13 +5975,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_750 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== + "19.0.0-rc-f90a6bcc-20240827" !== isomorphicReactPackageVersion$jscomp$inline_750 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_750 + - "\n - react-dom: 19.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6080,4 +6080,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 4a87492fece9d..afc3be5e409fb 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 @@ -8592,11 +8592,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-eb3ad065-20240822" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-f90a6bcc-20240827" !== 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.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToPipeableStream = function (children, options) { @@ -8638,5 +8638,5 @@ } }; }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 93acf787d707a..e6f2e0f201340 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 @@ -5624,13 +5624,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_773 = React.version; if ( - "19.0.0-rc-eb3ad065-20240822" !== + "19.0.0-rc-f90a6bcc-20240827" !== isomorphicReactPackageVersion$jscomp$inline_773 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_773 + - "\n - react-dom: 19.0.0-rc-eb3ad065-20240822\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-f90a6bcc-20240827\nLearn more: https://react.dev/warnings/version-mismatch") ); function createDrainHandler(destination, request) { return function () { @@ -5905,4 +5905,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 9d557636ed518..e12697b706527 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.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; "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 ee129fa4a9759..132d1a8c86a04 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.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 6b9b1547e9d9b..cb6501d694974 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.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 62ed18cac3708..3158a4eba9a02 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.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index 2c4f372da12aa..8a25b2f637292 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.25.0-rc-eb3ad065-20240822" + "scheduler": "0.25.0-rc-f90a6bcc-20240827" }, "peerDependencies": { - "react": "19.0.0-rc-eb3ad065-20240822" + "react": "19.0.0-rc-f90a6bcc-20240827" }, "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 8ed5d423a065b..b079f81d7ff22 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1233,7 +1233,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; "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 fe60d4651ea19..a7902b21165b2 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -562,4 +562,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; 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 c46a8e5f136c2..9fae0849fa9ff 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 @@ -979,5 +979,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-experimental-eb3ad065-20240822"; + exports.version = "19.0.0-experimental-f90a6bcc-20240827"; })(); 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 109f4a9043982..69bcb5af53321 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.0.0-experimental-eb3ad065-20240822"; +exports.version = "19.0.0-experimental-f90a6bcc-20240827"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index 0705fdee00fee..c8efb3f7a8b06 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.0.0-rc-eb3ad065-20240822", + "version": "19.0.0-rc-f90a6bcc-20240827", "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-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js index c562f84fe6774..9072c692f0a5c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.development.js @@ -84,12 +84,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js index 2b7b28f56cdc3..7fa490fc0330a 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.browser.production.js @@ -88,12 +88,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js index 21879f7e68917..ab9e2018bb79c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.development.js @@ -80,12 +80,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js index e6a834df43911..3c68298b694e3 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.edge.production.js @@ -78,12 +78,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js index 6ce52e77ff288..8d40114bd7651 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.development.js @@ -107,12 +107,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js index e167016d4616e..8e9ee0456329e 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-server.node.production.js @@ -105,12 +105,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; 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 f775a607f2c32..c97d0848b9777 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-eb3ad065-20240822", - "react-dom": "0.0.0-experimental-eb3ad065-20240822" + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js index 17bc0f151190b..4f9fc1562a777 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js @@ -84,12 +84,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js index 25bcebcf6ffb2..d37edb67072f7 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js @@ -88,12 +88,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js index 191a37477165f..b902bf461ac3c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js @@ -80,12 +80,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js index f5510cae6f9e7..a82e3858a2b00 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js @@ -78,12 +78,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js index bc695e0b6f12e..2bbb0ad1f8c23 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js @@ -107,12 +107,20 @@ function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + null != arguments[0] && + console.error( + 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' + ); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js index 932ff1a918cf7..2e9d5b51a670c 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js @@ -104,12 +104,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; 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 bb81c914cba7a..91cb5fe5621fe 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.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822" + "react": "19.0.0-rc-f90a6bcc-20240827", + "react-dom": "19.0.0-rc-f90a6bcc-20240827" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js index 48164558bc931..da53ffd0f9590 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.development.js @@ -88,12 +88,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js index c84c5960ec1ac..9cc790c717f7e 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.browser.production.js @@ -88,12 +88,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js index 6022941563134..e112c7b1c8af7 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.development.js @@ -84,12 +84,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js index cd0d335f4062c..4fe084749872c 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.edge.production.js @@ -78,12 +78,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js index 9b2a899d0aef2..670ffdc5dc130 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.development.js @@ -111,12 +111,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js index 51e1f8ba283dc..50c0777a59719 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.production.js @@ -105,12 +105,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js index 9d435013b1c14..cd011334dfe0a 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -111,12 +111,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js index 87b83429cd806..0cabcb2af6a99 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -105,12 +105,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; 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 b7d62f40e1133..d07cb07d9c657 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-eb3ad065-20240822", - "react-dom": "0.0.0-experimental-eb3ad065-20240822", + "react": "0.0.0-experimental-f90a6bcc-20240827", + "react-dom": "0.0.0-experimental-f90a6bcc-20240827", "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-server.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js index da4c7bbfd473c..0f6d80d7ebd73 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.development.js @@ -88,12 +88,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js index 9404011092ac7..beb76d8103cfb 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.browser.production.js @@ -88,12 +88,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js index 3d992084114a9..c5eabf83b8a58 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.development.js @@ -84,12 +84,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js index 40ab44b7d6904..c75a8f5e5bf7f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.edge.production.js @@ -78,12 +78,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js index 753379de2520f..87fb8b4e46712 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.development.js @@ -111,12 +111,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js index 61f4b414c3aac..d3468d76400c5 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.production.js @@ -104,12 +104,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js index c0e812dc83763..56fe8a4040e4e 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.development.js @@ -111,12 +111,16 @@ console.error( 'Cannot bind "this" of a Server Action. Pass null or undefined as the first argument to .bind().' ); - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + $$location: { value: this.$$location, configurable: !0 }, + bind: { value: bind, configurable: !0 } }); } return newFn; diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js index 920e200007ef6..7dbbcf89fd4ce 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-server.node.unbundled.production.js @@ -104,12 +104,15 @@ var FunctionBind = Function.prototype.bind, function bind() { var newFn = FunctionBind.apply(this, arguments); if (this.$$typeof === SERVER_REFERENCE_TAG) { - var args = ArraySlice.call(arguments, 1); + var args = ArraySlice.call(arguments, 1), + $$typeof = { value: SERVER_REFERENCE_TAG }, + $$id = { value: this.$$id }; + args = { value: this.$$bound ? this.$$bound.concat(args) : args }; return Object.defineProperties(newFn, { - $$typeof: { value: SERVER_REFERENCE_TAG }, - $$id: { value: this.$$id }, - $$bound: { value: this.$$bound ? this.$$bound.concat(args) : args }, - bind: { value: bind } + $$typeof: $$typeof, + $$id: $$id, + $$bound: args, + bind: { value: bind, configurable: !0 } }); } return newFn; 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 30bcfbb1cbc7f..d1ba2f40a1b9b 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.0.0-rc-eb3ad065-20240822", - "react-dom": "19.0.0-rc-eb3ad065-20240822", + "react": "19.0.0-rc-f90a6bcc-20240827", + "react-dom": "19.0.0-rc-f90a6bcc-20240827", "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 d342cca6c30c2..edcd302b9bcfe 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1517,7 +1517,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; "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 cedf1c77186d5..7742478e0dd43 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -536,4 +536,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; 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 648698912c2e1..2d3dbb86c2871 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 @@ -1113,5 +1113,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-rc-eb3ad065-20240822"; + exports.version = "19.0.0-rc-f90a6bcc-20240827"; })(); 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 2c895f73734b6..09a7b19ee5025 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 @@ -424,4 +424,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-rc-eb3ad065-20240822"; +exports.version = "19.0.0-rc-f90a6bcc-20240827"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index e8c1cdb25eb7a..ac820253cfb0a 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={694: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={469: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