vite-plugin-react-server 0.3.10 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -1
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/package.json +16 -14
- package/dist/plugin/assertServerCondition.d.ts +5 -1
- package/dist/plugin/assertServerCondition.d.ts.map +1 -1
- package/dist/plugin/assertServerCondition.js +1 -3
- package/dist/plugin/checkFilesExist.d.ts +2 -2
- package/dist/plugin/checkFilesExist.d.ts.map +1 -1
- package/dist/plugin/checkFilesExist.js +43 -58
- package/dist/plugin/checkFilesExist.js.map +1 -1
- package/dist/plugin/collect-css-manifest.d.ts.map +1 -1
- package/dist/plugin/collect-css-manifest.js +5 -0
- package/dist/plugin/collect-css-manifest.js.map +1 -1
- package/dist/plugin/components.js +10 -15
- package/dist/plugin/config/createModuleIdGenerator.d.ts +11 -0
- package/dist/plugin/config/createModuleIdGenerator.d.ts.map +1 -0
- package/dist/plugin/config/createModuleIdGenerator.js +44 -0
- package/dist/plugin/config/createModuleIdGenerator.js.map +1 -0
- package/dist/plugin/config/defaults.d.ts +27 -24
- package/dist/plugin/config/defaults.d.ts.map +1 -1
- package/dist/plugin/config/defaults.js +26 -31
- package/dist/plugin/config/defaults.js.map +1 -1
- package/dist/plugin/config/getPaths.js +1 -1
- package/dist/plugin/config/resolveOptions.d.ts +1 -1
- package/dist/plugin/config/resolveOptions.d.ts.map +1 -1
- package/dist/plugin/config/resolveOptions.js +223 -16
- package/dist/plugin/config/resolveOptions.js.map +1 -1
- package/dist/plugin/config/resolvePages.d.ts +2 -0
- package/dist/plugin/config/resolvePages.d.ts.map +1 -1
- package/dist/plugin/config/resolvePages.js.map +1 -1
- package/dist/plugin/config/resolveUserConfig.d.ts +2 -2
- package/dist/plugin/config/resolveUserConfig.d.ts.map +1 -1
- package/dist/plugin/config/resolveUserConfig.js +149 -50
- package/dist/plugin/config/resolveUserConfig.js.map +1 -1
- package/dist/plugin/helpers/getBundleManifest.d.ts +25 -0
- package/dist/plugin/helpers/getBundleManifest.d.ts.map +1 -0
- package/dist/plugin/helpers/getBundleManifest.js +72 -0
- package/dist/plugin/helpers/getBundleManifest.js.map +1 -0
- package/dist/plugin/helpers/inputNormalizer.d.ts +14 -1
- package/dist/plugin/helpers/inputNormalizer.d.ts.map +1 -1
- package/dist/plugin/helpers/inputNormalizer.js +128 -16
- package/dist/plugin/helpers/inputNormalizer.js.map +1 -1
- package/dist/plugin/helpers/tryManifest.d.ts +3 -1
- package/dist/plugin/helpers/tryManifest.d.ts.map +1 -1
- package/dist/plugin/helpers/tryManifest.js +1 -1
- package/dist/plugin/helpers/tryManifest.js.map +1 -1
- package/dist/plugin/loader/createBuildLoader.d.ts +6 -2
- package/dist/plugin/loader/createBuildLoader.d.ts.map +1 -1
- package/dist/plugin/loader/createBuildLoader.js +37 -9
- package/dist/plugin/loader/createBuildLoader.js.map +1 -1
- package/dist/plugin/loader/createPageLoader.d.ts.map +1 -1
- package/dist/plugin/loader/createPageLoader.js +0 -7
- package/dist/plugin/loader/css-loader.d.ts +16 -0
- package/dist/plugin/loader/css-loader.d.ts.map +1 -0
- package/dist/plugin/loader/css-loader.js +70 -0
- package/dist/plugin/loader/css-loader.js.map +1 -0
- package/dist/plugin/loader/react-loader.d.ts +17 -0
- package/dist/plugin/loader/react-loader.d.ts.map +1 -0
- package/dist/plugin/loader/react-loader.js +647 -0
- package/dist/plugin/loader/react-loader.js.map +1 -0
- package/dist/plugin/loader/rsc/messageHandler.d.ts +2 -0
- package/dist/plugin/loader/rsc/messageHandler.d.ts.map +1 -0
- package/dist/plugin/loader/rsc/messageHandler.js +1 -0
- package/dist/plugin/loader/rsc/rsc-worker.development.d.ts +2 -0
- package/dist/plugin/loader/rsc/rsc-worker.development.d.ts.map +1 -0
- package/dist/plugin/loader/rsc/rsc-worker.development.js +1 -0
- package/dist/plugin/plugin.d.ts +0 -1
- package/dist/plugin/plugin.d.ts.map +1 -1
- package/dist/plugin/plugin.js +2 -1
- package/dist/plugin/preserver/plugin.d.ts.map +1 -1
- package/dist/plugin/preserver/plugin.js +3 -2
- package/dist/plugin/preserver/plugin.js.map +1 -1
- package/dist/plugin/react-client/index.d.ts +2 -1
- package/dist/plugin/react-client/index.d.ts.map +1 -1
- package/dist/plugin/react-client/index.js +19 -1
- package/dist/plugin/react-client/index.js.map +1 -0
- package/dist/plugin/react-client/plugin.d.ts +2 -2
- package/dist/plugin/react-client/plugin.d.ts.map +1 -1
- package/dist/plugin/react-client/plugin.js +283 -10
- package/dist/plugin/react-client/plugin.js.map +1 -1
- package/dist/plugin/react-server/createHandler.d.ts +2 -2
- package/dist/plugin/react-server/createHandler.d.ts.map +1 -1
- package/dist/plugin/react-server/createHandler.js +15 -9
- package/dist/plugin/react-server/createHandler.js.map +1 -1
- package/dist/plugin/react-server/createRscStream.d.ts +15 -3
- package/dist/plugin/react-server/createRscStream.d.ts.map +1 -1
- package/dist/plugin/react-server/createRscStream.js +53 -36
- package/dist/plugin/react-server/createRscStream.js.map +1 -1
- package/dist/plugin/react-server/createSsrHandler.d.ts +2 -2
- package/dist/plugin/react-server/createSsrHandler.d.ts.map +1 -1
- package/dist/plugin/react-server/createSsrHandler.js +5 -12
- package/dist/plugin/react-server/index.js +18 -9
- package/dist/plugin/react-server/index.js.map +1 -0
- package/dist/plugin/react-server/plugin.d.ts.map +1 -1
- package/dist/plugin/react-server/plugin.js +147 -137
- package/dist/plugin/react-server/plugin.js.map +1 -1
- package/dist/plugin/transformer/plugin.d.ts +2 -1
- package/dist/plugin/transformer/plugin.d.ts.map +1 -1
- package/dist/plugin/transformer/plugin.js +68 -75
- package/dist/plugin/transformer/plugin.js.map +1 -1
- package/dist/plugin/transformer/types.d.ts +4 -0
- package/dist/plugin/transformer/types.d.ts.map +1 -1
- package/dist/plugin/types.d.ts +56 -20
- package/dist/plugin/types.d.ts.map +1 -1
- package/dist/plugin/utils/logger.d.ts +9 -0
- package/dist/plugin/utils/logger.d.ts.map +1 -0
- package/dist/plugin/utils/logger.js +68 -0
- package/dist/plugin/utils/logger.js.map +1 -0
- package/dist/plugin/worker/createWorker.d.ts +1 -0
- package/dist/plugin/worker/createWorker.d.ts.map +1 -1
- package/dist/plugin/worker/createWorker.js +23 -36
- package/dist/plugin/worker/createWorker.js.map +1 -1
- package/dist/plugin/worker/html/html-worker.production.js +5 -1
- package/dist/plugin/worker/html/html-worker.production.js.map +1 -1
- package/dist/plugin/worker/html/messageHandler.d.ts.map +1 -1
- package/dist/plugin/worker/html/messageHandler.js +33 -28
- package/dist/plugin/worker/html/messageHandler.js.map +1 -1
- package/dist/plugin/worker/html/plugin.d.ts.map +1 -1
- package/dist/plugin/worker/html/plugin.js +10 -5
- package/dist/plugin/worker/html/renderPages.d.ts +7 -6
- package/dist/plugin/worker/html/renderPages.d.ts.map +1 -1
- package/dist/plugin/worker/html/renderPages.js +147 -93
- package/dist/plugin/worker/html/renderPages.js.map +1 -1
- package/dist/plugin/worker/loader.d.ts +1 -11
- package/dist/plugin/worker/loader.d.ts.map +1 -1
- package/dist/plugin/worker/loader.js +2 -2
- package/dist/plugin/worker/loader.js.map +1 -1
- package/dist/plugin/worker/plugin.d.ts +10 -1
- package/dist/plugin/worker/plugin.d.ts.map +1 -1
- package/dist/plugin/worker/plugin.js +10 -1
- package/dist/plugin/worker/rsc/index.d.ts +1 -3
- package/dist/plugin/worker/rsc/index.d.ts.map +1 -1
- package/dist/plugin/worker/rsc/index.js +1 -9
- package/dist/plugin/worker/rsc/index.js.map +1 -1
- package/dist/plugin/worker/rsc/messageHandler.d.ts +3 -0
- package/dist/plugin/worker/rsc/messageHandler.d.ts.map +1 -0
- package/dist/plugin/worker/rsc/messageHandler.js +107 -0
- package/dist/plugin/worker/rsc/messageHandler.js.map +1 -0
- package/dist/plugin/worker/rsc/plugin.d.ts.map +1 -1
- package/dist/plugin/worker/rsc/plugin.js +74 -80
- package/dist/plugin/worker/rsc/rsc-worker.development.d.ts +32 -0
- package/dist/plugin/worker/rsc/rsc-worker.development.d.ts.map +1 -0
- package/dist/plugin/worker/rsc/rsc-worker.development.js +43 -0
- package/dist/plugin/worker/rsc/rsc-worker.development.js.map +1 -0
- package/dist/plugin/worker/rsc/rsc-worker.js +4 -106
- package/dist/plugin/worker/rsc/rsc-worker.production.d.ts +2 -0
- package/dist/plugin/worker/rsc/rsc-worker.production.d.ts.map +1 -0
- package/dist/plugin/worker/rsc/rsc-worker.production.js +14 -0
- package/dist/plugin/worker/rsc/rsc-worker.production.js.map +1 -0
- package/dist/plugin/worker/rsc/state.d.ts +11 -0
- package/dist/plugin/worker/rsc/state.d.ts.map +1 -0
- package/dist/plugin/worker/rsc/state.js +12 -0
- package/dist/plugin/worker/rsc/state.js.map +1 -0
- package/dist/plugin/worker/types.d.ts +62 -35
- package/dist/plugin/worker/types.d.ts.map +1 -1
- package/dist/server.d.ts +1 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -3
- package/dist/server.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +16 -14
- package/plugin/assertServerCondition.ts +2 -3
- package/plugin/checkFilesExist.ts +46 -66
- package/plugin/collect-css-manifest.ts +5 -1
- package/plugin/config/createModuleIdGenerator.ts +52 -0
- package/plugin/config/defaults.ts +27 -20
- package/plugin/config/resolveOptions.ts +311 -25
- package/plugin/config/resolvePages.ts +1 -1
- package/plugin/config/resolveUserConfig.ts +195 -61
- package/plugin/helpers/getBundleManifest.ts +113 -0
- package/plugin/helpers/inputNormalizer.ts +186 -25
- package/plugin/helpers/tryManifest.ts +3 -1
- package/plugin/loader/createBuildLoader.ts +50 -9
- package/plugin/loader/createPageLoader.ts +1 -7
- package/plugin/loader/css-loader.ts +96 -0
- package/plugin/loader/react-loader.ts +945 -0
- package/plugin/loader/rsc/messageHandler.tsx +1 -0
- package/plugin/loader/rsc/rsc-worker.development.ts +1 -0
- package/plugin/plugin.ts +2 -1
- package/plugin/preserver/plugin.ts +2 -1
- package/plugin/react-client/index.ts +12 -1
- package/plugin/react-client/plugin.ts +351 -11
- package/plugin/react-server/createHandler.ts +16 -18
- package/plugin/react-server/createRscStream.ts +75 -42
- package/plugin/react-server/createSsrHandler.ts +7 -26
- package/plugin/react-server/plugin.ts +192 -155
- package/plugin/transformer/plugin.ts +70 -104
- package/plugin/transformer/types.ts +4 -0
- package/plugin/types/global.d.ts +8 -0
- package/plugin/types.ts +120 -64
- package/plugin/utils/logger.ts +52 -0
- package/plugin/worker/createWorker.ts +43 -44
- package/plugin/worker/html/html-worker.production.tsx +7 -2
- package/plugin/worker/html/messageHandler.ts +42 -35
- package/plugin/worker/html/plugin.ts +15 -11
- package/plugin/worker/html/renderPages.ts +177 -123
- package/plugin/worker/loader.ts +4 -13
- package/plugin/worker/plugin.ts +10 -1
- package/plugin/worker/rsc/index.ts +4 -13
- package/plugin/worker/rsc/messageHandler.tsx +143 -0
- package/plugin/worker/rsc/plugin.ts +38 -37
- package/plugin/worker/rsc/rsc-worker.development.ts +107 -0
- package/plugin/worker/rsc/rsc-worker.production.ts +13 -0
- package/plugin/worker/rsc/rsc-worker.tsx +5 -128
- package/plugin/worker/rsc/state.ts +37 -0
- package/plugin/worker/types.ts +83 -38
- package/scripts/check-react-version.mjs +17 -7
- package/scripts/react+0.0.0-experimental-b3a95caf-20250113.patch +143 -4170
- package/scripts/react-dom+0.0.0-experimental-b3a95caf-20250113.patch +14271 -90079
- package/dist/node_modules/magic-string/dist/magic-string.es.js +0 -1283
- package/dist/node_modules/magic-string/dist/magic-string.es.js.map +0 -1
- package/dist/plugin/build/createClientBuildConfig.d.ts +0 -3
- package/dist/plugin/build/createClientBuildConfig.d.ts.map +0 -1
- package/dist/plugin/build/createClientBuildConfig.js +0 -14
- package/dist/plugin/build/createServerBuildConfig.d.ts +0 -12
- package/dist/plugin/build/createServerBuildConfig.d.ts.map +0 -1
- package/dist/plugin/build/createServerBuildConfig.js +0 -40
- package/dist/plugin/build/createSharedBuildConfig.d.ts +0 -5
- package/dist/plugin/build/createSharedBuildConfig.d.ts.map +0 -1
- package/dist/plugin/build/createSharedBuildConfig.js +0 -28
- package/dist/plugin/build/mergeInputs.d.ts +0 -9
- package/dist/plugin/build/mergeInputs.d.ts.map +0 -1
- package/dist/plugin/build/mergeInputs.js +0 -56
- package/dist/plugin/components.js.map +0 -1
- package/dist/plugin/config/moduleIdDefault.d.ts +0 -8
- package/dist/plugin/config/moduleIdDefault.d.ts.map +0 -1
- package/dist/plugin/config/moduleIdDefault.js +0 -23
- package/dist/plugin/config/moduleIdDefault.js.map +0 -1
- package/dist/plugin/helpers/createClientInputNormalizer.d.ts +0 -8
- package/dist/plugin/helpers/createClientInputNormalizer.d.ts.map +0 -1
- package/dist/plugin/helpers/createClientInputNormalizer.js +0 -35
- package/dist/plugin/helpers/createServerInputNormalizer.d.ts +0 -9
- package/dist/plugin/helpers/createServerInputNormalizer.d.ts.map +0 -1
- package/dist/plugin/helpers/createServerInputNormalizer.js +0 -37
- package/dist/plugin/helpers/createStaticInputNormalizer.d.ts +0 -7
- package/dist/plugin/helpers/createStaticInputNormalizer.d.ts.map +0 -1
- package/dist/plugin/helpers/createStaticInputNormalizer.js +0 -18
- package/dist/plugin/helpers/getModuleManifest.d.ts +0 -12
- package/dist/plugin/helpers/getModuleManifest.d.ts.map +0 -1
- package/dist/plugin/helpers/getModuleManifest.js +0 -24
- package/dist/plugin/helpers/getModuleManifest.js.map +0 -1
- package/dist/plugin/helpers/inputNormalizerWorker.d.ts +0 -11
- package/dist/plugin/helpers/inputNormalizerWorker.d.ts.map +0 -1
- package/dist/plugin/helpers/inputNormalizerWorker.js +0 -30
- package/dist/plugin/helpers/normalizedRelativePath.d.ts +0 -11
- package/dist/plugin/helpers/normalizedRelativePath.d.ts.map +0 -1
- package/dist/plugin/helpers/normalizedRelativePath.js +0 -36
- package/dist/plugin/helpers/resolveFilePath.d.ts +0 -13
- package/dist/plugin/helpers/resolveFilePath.d.ts.map +0 -1
- package/dist/plugin/helpers/resolveFilePath.js +0 -74
- package/dist/plugin/helpers/resolveWorkerModule.d.ts +0 -6
- package/dist/plugin/helpers/resolveWorkerModule.d.ts.map +0 -1
- package/dist/plugin/helpers/resolveWorkerModule.js +0 -24
- package/dist/plugin/helpers/validateModuleBase.d.ts +0 -3
- package/dist/plugin/helpers/validateModuleBase.d.ts.map +0 -1
- package/dist/plugin/helpers/validateModuleBase.js +0 -16
- package/dist/plugin/helpers/validateResolvedConfig.d.ts +0 -3
- package/dist/plugin/helpers/validateResolvedConfig.d.ts.map +0 -1
- package/dist/plugin/helpers/validateResolvedConfig.js +0 -17
- package/dist/plugin/react-server/createDevMiddleware.d.ts +0 -8
- package/dist/plugin/react-server/createDevMiddleware.d.ts.map +0 -1
- package/dist/plugin/react-server/createDevMiddleware.js +0 -68
- package/dist/plugin/react-server/createDevServer.d.ts +0 -4
- package/dist/plugin/react-server/createDevServer.d.ts.map +0 -1
- package/dist/plugin/react-server/createDevServer.js +0 -4
- package/dist/plugin/react-server/createReactNodeStreamer.d.ts +0 -10
- package/dist/plugin/react-server/createReactNodeStreamer.d.ts.map +0 -1
- package/dist/plugin/react-server/createReactNodeStreamer.js +0 -7
- package/dist/plugin/transformer/transformer-client-components.d.ts +0 -21
- package/dist/plugin/transformer/transformer-client-components.d.ts.map +0 -1
- package/dist/plugin/transformer/transformer-client-components.js +0 -61
- package/dist/plugin/transformer/transformer-client-components.js.map +0 -1
- package/dist/plugin/transformer/transformer-server-actions.d.ts +0 -29
- package/dist/plugin/transformer/transformer-server-actions.d.ts.map +0 -1
- package/dist/plugin/transformer/transformer-server-actions.js +0 -76
- package/dist/plugin/transformer/transformer-server-actions.js.map +0 -1
- package/dist/plugin/worker/rsc/createRscStream.d.ts +0 -5
- package/dist/plugin/worker/rsc/createRscStream.d.ts.map +0 -1
- package/dist/plugin/worker/rsc/createRscStream.js +0 -39
- package/dist/plugin/worker/rsc/createRscStream.js.map +0 -1
- package/dist/plugin/worker/rsc/development.d.ts +0 -5
- package/dist/plugin/worker/rsc/development.d.ts.map +0 -1
- package/dist/plugin/worker/rsc/development.js +0 -13
- package/dist/plugin/worker/rsc/development.js.map +0 -1
- package/dist/plugin/worker/rsc/plugin.js.map +0 -1
- package/dist/plugin/worker/rsc/production.d.ts +0 -5
- package/dist/plugin/worker/rsc/production.d.ts.map +0 -1
- package/dist/plugin/worker/rsc/production.js +0 -13
- package/dist/plugin/worker/rsc/production.js.map +0 -1
- package/plugin/build/createClientBuildConfig.ts +0 -21
- package/plugin/build/createServerBuildConfig.ts +0 -66
- package/plugin/build/createSharedBuildConfig.ts +0 -35
- package/plugin/build/mergeInputs.ts +0 -58
- package/plugin/config/moduleIdDefault.ts +0 -23
- package/plugin/helpers/createClientInputNormalizer.ts +0 -48
- package/plugin/helpers/createServerInputNormalizer.ts +0 -52
- package/plugin/helpers/createStaticInputNormalizer.ts +0 -26
- package/plugin/helpers/getModuleManifest.ts +0 -31
- package/plugin/helpers/inputNormalizerWorker.ts +0 -47
- package/plugin/helpers/normalizedRelativePath.ts +0 -59
- package/plugin/helpers/resolveFilePath.ts +0 -108
- package/plugin/helpers/resolveWorkerModule.ts +0 -41
- package/plugin/helpers/validateModuleBase.ts +0 -30
- package/plugin/helpers/validateResolvedConfig.ts +0 -21
- package/plugin/react-server/createDevMiddleware.ts +0 -91
- package/plugin/react-server/createDevServer.ts +0 -9
- package/plugin/react-server/createReactNodeStreamer.ts +0 -26
- package/plugin/transformer/transformer-client-components.ts +0 -94
- package/plugin/transformer/transformer-server-actions.ts +0 -110
- package/plugin/worker/rsc/createRscStream.ts +0 -42
- package/plugin/worker/rsc/development.ts +0 -6
- package/plugin/worker/rsc/production.ts +0 -6
- package/scripts/react-server-dom-esm+0.0.1.patch +0 -24775
|
@@ -1,2879 +1,18 @@
|
|
|
1
|
-
diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
2
|
-
index 2fe080e..aeca110 100644
|
|
3
|
-
--- a/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
4
|
-
+++ b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
|
|
5
|
-
@@ -14,7 +14,7 @@
|
|
6
|
-
function getComponentNameFromType(type) {
|
|
7
|
-
if (null == type) return null;
|
|
8
|
-
if ("function" === typeof type)
|
|
9
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
10
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
11
|
-
? null
|
|
12
|
-
: type.displayName || type.name || null;
|
|
13
|
-
if ("string" === typeof type) return type;
|
|
14
|
-
@@ -31,6 +31,8 @@
|
|
15
|
-
return "Suspense";
|
|
16
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
17
|
-
return "SuspenseList";
|
|
18
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
19
|
-
+ return "ViewTransition";
|
|
20
|
-
}
|
|
21
|
-
if ("object" === typeof type)
|
|
22
|
-
switch (
|
|
23
|
-
@@ -94,255 +96,20 @@
|
|
24
|
-
return testStringCoercion(value);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
- function disabledLog() {}
|
|
28
|
-
- function disableLogs() {
|
|
29
|
-
- if (0 === disabledDepth) {
|
|
30
|
-
- prevLog = console.log;
|
|
31
|
-
- prevInfo = console.info;
|
|
32
|
-
- prevWarn = console.warn;
|
|
33
|
-
- prevError = console.error;
|
|
34
|
-
- prevGroup = console.group;
|
|
35
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
36
|
-
- prevGroupEnd = console.groupEnd;
|
|
37
|
-
- var props = {
|
|
38
|
-
- configurable: !0,
|
|
39
|
-
- enumerable: !0,
|
|
40
|
-
- value: disabledLog,
|
|
41
|
-
- writable: !0
|
|
42
|
-
- };
|
|
43
|
-
- Object.defineProperties(console, {
|
|
44
|
-
- info: props,
|
|
45
|
-
- log: props,
|
|
46
|
-
- warn: props,
|
|
47
|
-
- error: props,
|
|
48
|
-
- group: props,
|
|
49
|
-
- groupCollapsed: props,
|
|
50
|
-
- groupEnd: props
|
|
51
|
-
- });
|
|
52
|
-
- }
|
|
53
|
-
- disabledDepth++;
|
|
54
|
-
- }
|
|
55
|
-
- function reenableLogs() {
|
|
56
|
-
- disabledDepth--;
|
|
57
|
-
- if (0 === disabledDepth) {
|
|
58
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
59
|
-
- Object.defineProperties(console, {
|
|
60
|
-
- log: assign({}, props, { value: prevLog }),
|
|
61
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
62
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
63
|
-
- error: assign({}, props, { value: prevError }),
|
|
64
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
65
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
66
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
67
|
-
- });
|
|
68
|
-
- }
|
|
69
|
-
- 0 > disabledDepth &&
|
|
70
|
-
- console.error(
|
|
71
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
72
|
-
- );
|
|
73
|
-
- }
|
|
74
|
-
- function describeBuiltInComponentFrame(name) {
|
|
75
|
-
- if (void 0 === prefix)
|
|
76
|
-
- try {
|
|
77
|
-
- throw Error();
|
|
78
|
-
- } catch (x) {
|
|
79
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
80
|
-
- prefix = (match && match[1]) || "";
|
|
81
|
-
- suffix =
|
|
82
|
-
- -1 < x.stack.indexOf("\n at")
|
|
83
|
-
- ? " (<anonymous>)"
|
|
84
|
-
- : -1 < x.stack.indexOf("@")
|
|
85
|
-
- ? "@unknown:0:0"
|
|
86
|
-
- : "";
|
|
87
|
-
- }
|
|
88
|
-
- return "\n" + prefix + name + suffix;
|
|
89
|
-
- }
|
|
90
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
91
|
-
- if (!fn || reentry) return "";
|
|
92
|
-
- var frame = componentFrameCache.get(fn);
|
|
93
|
-
- if (void 0 !== frame) return frame;
|
|
94
|
-
- reentry = !0;
|
|
95
|
-
- frame = Error.prepareStackTrace;
|
|
96
|
-
- Error.prepareStackTrace = void 0;
|
|
97
|
-
- var previousDispatcher = null;
|
|
98
|
-
- previousDispatcher = ReactSharedInternals.H;
|
|
99
|
-
- ReactSharedInternals.H = null;
|
|
100
|
-
- disableLogs();
|
|
101
|
-
+ function getTaskName(type) {
|
|
102
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
103
|
-
+ if (
|
|
104
|
-
+ "object" === typeof type &&
|
|
105
|
-
+ null !== type &&
|
|
106
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
107
|
-
+ )
|
|
108
|
-
+ return "<...>";
|
|
109
|
-
try {
|
|
110
|
-
- var RunInRootFrame = {
|
|
111
|
-
- DetermineComponentFrameRoot: function () {
|
|
112
|
-
- try {
|
|
113
|
-
- if (construct) {
|
|
114
|
-
- var Fake = function () {
|
|
115
|
-
- throw Error();
|
|
116
|
-
- };
|
|
117
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
118
|
-
- set: function () {
|
|
119
|
-
- throw Error();
|
|
120
|
-
- }
|
|
121
|
-
- });
|
|
122
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
123
|
-
- try {
|
|
124
|
-
- Reflect.construct(Fake, []);
|
|
125
|
-
- } catch (x) {
|
|
126
|
-
- var control = x;
|
|
127
|
-
- }
|
|
128
|
-
- Reflect.construct(fn, [], Fake);
|
|
129
|
-
- } else {
|
|
130
|
-
- try {
|
|
131
|
-
- Fake.call();
|
|
132
|
-
- } catch (x$0) {
|
|
133
|
-
- control = x$0;
|
|
134
|
-
- }
|
|
135
|
-
- fn.call(Fake.prototype);
|
|
136
|
-
- }
|
|
137
|
-
- } else {
|
|
138
|
-
- try {
|
|
139
|
-
- throw Error();
|
|
140
|
-
- } catch (x$1) {
|
|
141
|
-
- control = x$1;
|
|
142
|
-
- }
|
|
143
|
-
- (Fake = fn()) &&
|
|
144
|
-
- "function" === typeof Fake.catch &&
|
|
145
|
-
- Fake.catch(function () {});
|
|
146
|
-
- }
|
|
147
|
-
- } catch (sample) {
|
|
148
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
149
|
-
- return [sample.stack, control.stack];
|
|
150
|
-
- }
|
|
151
|
-
- return [null, null];
|
|
152
|
-
- }
|
|
153
|
-
- };
|
|
154
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
155
|
-
- "DetermineComponentFrameRoot";
|
|
156
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
157
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
158
|
-
- "name"
|
|
159
|
-
- );
|
|
160
|
-
- namePropDescriptor &&
|
|
161
|
-
- namePropDescriptor.configurable &&
|
|
162
|
-
- Object.defineProperty(
|
|
163
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
164
|
-
- "name",
|
|
165
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
166
|
-
- );
|
|
167
|
-
- var _RunInRootFrame$Deter =
|
|
168
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
169
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
170
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
171
|
-
- if (sampleStack && controlStack) {
|
|
172
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
173
|
-
- controlLines = controlStack.split("\n");
|
|
174
|
-
- for (
|
|
175
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
176
|
-
- namePropDescriptor < sampleLines.length &&
|
|
177
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
178
|
-
- "DetermineComponentFrameRoot"
|
|
179
|
-
- );
|
|
180
|
-
-
|
|
181
|
-
- )
|
|
182
|
-
- namePropDescriptor++;
|
|
183
|
-
- for (
|
|
184
|
-
- ;
|
|
185
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
186
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
187
|
-
- "DetermineComponentFrameRoot"
|
|
188
|
-
- );
|
|
189
|
-
-
|
|
190
|
-
- )
|
|
191
|
-
- _RunInRootFrame$Deter++;
|
|
192
|
-
- if (
|
|
193
|
-
- namePropDescriptor === sampleLines.length ||
|
|
194
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
195
|
-
- )
|
|
196
|
-
- for (
|
|
197
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
198
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
199
|
-
- 1 <= namePropDescriptor &&
|
|
200
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
201
|
-
- sampleLines[namePropDescriptor] !==
|
|
202
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
203
|
-
-
|
|
204
|
-
- )
|
|
205
|
-
- _RunInRootFrame$Deter--;
|
|
206
|
-
- for (
|
|
207
|
-
- ;
|
|
208
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
209
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
210
|
-
- )
|
|
211
|
-
- if (
|
|
212
|
-
- sampleLines[namePropDescriptor] !==
|
|
213
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
214
|
-
- ) {
|
|
215
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
216
|
-
- do
|
|
217
|
-
- if (
|
|
218
|
-
- (namePropDescriptor--,
|
|
219
|
-
- _RunInRootFrame$Deter--,
|
|
220
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
221
|
-
- sampleLines[namePropDescriptor] !==
|
|
222
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
223
|
-
- ) {
|
|
224
|
-
- var _frame =
|
|
225
|
-
- "\n" +
|
|
226
|
-
- sampleLines[namePropDescriptor].replace(
|
|
227
|
-
- " at new ",
|
|
228
|
-
- " at "
|
|
229
|
-
- );
|
|
230
|
-
- fn.displayName &&
|
|
231
|
-
- _frame.includes("<anonymous>") &&
|
|
232
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
233
|
-
- "function" === typeof fn &&
|
|
234
|
-
- componentFrameCache.set(fn, _frame);
|
|
235
|
-
- return _frame;
|
|
236
|
-
- }
|
|
237
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
238
|
-
- }
|
|
239
|
-
- break;
|
|
240
|
-
- }
|
|
241
|
-
- }
|
|
242
|
-
- } finally {
|
|
243
|
-
- (reentry = !1),
|
|
244
|
-
- (ReactSharedInternals.H = previousDispatcher),
|
|
245
|
-
- reenableLogs(),
|
|
246
|
-
- (Error.prepareStackTrace = frame);
|
|
247
|
-
+ var name = getComponentNameFromType(type);
|
|
248
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
249
|
-
+ } catch (x) {
|
|
250
|
-
+ return "<...>";
|
|
251
|
-
}
|
|
252
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
253
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
254
|
-
- : "";
|
|
255
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
256
|
-
- return sampleLines;
|
|
257
|
-
- }
|
|
258
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
259
|
-
- if (null == type) return "";
|
|
260
|
-
- if ("function" === typeof type) {
|
|
261
|
-
- var prototype = type.prototype;
|
|
262
|
-
- return describeNativeComponentFrame(
|
|
263
|
-
- type,
|
|
264
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
265
|
-
- );
|
|
266
|
-
- }
|
|
267
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
268
|
-
- switch (type) {
|
|
269
|
-
- case REACT_SUSPENSE_TYPE:
|
|
270
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
271
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
272
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
273
|
-
- }
|
|
274
|
-
- if ("object" === typeof type)
|
|
275
|
-
- switch (type.$$typeof) {
|
|
276
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
277
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
278
|
-
- case REACT_MEMO_TYPE:
|
|
279
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
280
|
-
- case REACT_LAZY_TYPE:
|
|
281
|
-
- prototype = type._payload;
|
|
282
|
-
- type = type._init;
|
|
283
|
-
- try {
|
|
284
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
285
|
-
- } catch (x) {}
|
|
286
|
-
- }
|
|
287
|
-
- return "";
|
|
288
|
-
}
|
|
289
|
-
function getOwner() {
|
|
290
|
-
var dispatcher = ReactSharedInternals.A;
|
|
291
|
-
@@ -380,7 +147,16 @@
|
|
292
|
-
componentName = this.props.ref;
|
|
293
|
-
return void 0 !== componentName ? componentName : null;
|
|
294
|
-
}
|
|
295
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
296
|
-
+ function ReactElement(
|
|
297
|
-
+ type,
|
|
298
|
-
+ key,
|
|
299
|
-
+ self,
|
|
300
|
-
+ source,
|
|
301
|
-
+ owner,
|
|
302
|
-
+ props,
|
|
303
|
-
+ debugStack,
|
|
304
|
-
+ debugTask
|
|
305
|
-
+ ) {
|
|
306
|
-
self = props.ref;
|
|
307
|
-
type = {
|
|
308
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
309
|
-
@@ -408,6 +184,18 @@
|
|
310
|
-
writable: !0,
|
|
311
|
-
value: null
|
|
312
|
-
});
|
|
313
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
314
|
-
+ configurable: !1,
|
|
315
|
-
+ enumerable: !1,
|
|
316
|
-
+ writable: !0,
|
|
317
|
-
+ value: debugStack
|
|
318
|
-
+ });
|
|
319
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
320
|
-
+ configurable: !1,
|
|
321
|
-
+ enumerable: !1,
|
|
322
|
-
+ writable: !0,
|
|
323
|
-
+ value: debugTask
|
|
324
|
-
+ });
|
|
325
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
326
|
-
return type;
|
|
327
|
-
}
|
|
328
|
-
@@ -417,71 +205,26 @@
|
|
329
|
-
maybeKey,
|
|
330
|
-
isStaticChildren,
|
|
331
|
-
source,
|
|
332
|
-
- self
|
|
333
|
-
+ self,
|
|
334
|
-
+ debugStack,
|
|
335
|
-
+ debugTask
|
|
336
|
-
) {
|
|
337
|
-
- if (
|
|
338
|
-
- "string" === typeof type ||
|
|
339
|
-
- "function" === typeof type ||
|
|
340
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
341
|
-
- type === REACT_PROFILER_TYPE ||
|
|
342
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
343
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
344
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
345
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
346
|
-
- ("object" === typeof type &&
|
|
347
|
-
- null !== type &&
|
|
348
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
349
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
350
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
351
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
352
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
353
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
354
|
-
- void 0 !== type.getModuleId))
|
|
355
|
-
- ) {
|
|
356
|
-
- var children = config.children;
|
|
357
|
-
- if (void 0 !== children)
|
|
358
|
-
- if (isStaticChildren)
|
|
359
|
-
- if (isArrayImpl(children)) {
|
|
360
|
-
- for (
|
|
361
|
-
- isStaticChildren = 0;
|
|
362
|
-
- isStaticChildren < children.length;
|
|
363
|
-
- isStaticChildren++
|
|
364
|
-
- )
|
|
365
|
-
- validateChildKeys(children[isStaticChildren], type);
|
|
366
|
-
- Object.freeze && Object.freeze(children);
|
|
367
|
-
- } else
|
|
368
|
-
- console.error(
|
|
369
|
-
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
370
|
-
- );
|
|
371
|
-
- else validateChildKeys(children, type);
|
|
372
|
-
- } else {
|
|
373
|
-
- children = "";
|
|
374
|
-
- if (
|
|
375
|
-
- void 0 === type ||
|
|
376
|
-
- ("object" === typeof type &&
|
|
377
|
-
- null !== type &&
|
|
378
|
-
- 0 === Object.keys(type).length)
|
|
379
|
-
- )
|
|
380
|
-
- children +=
|
|
381
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
382
|
-
- null === type
|
|
383
|
-
- ? (isStaticChildren = "null")
|
|
384
|
-
- : isArrayImpl(type)
|
|
385
|
-
- ? (isStaticChildren = "array")
|
|
386
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
387
|
-
- ? ((isStaticChildren =
|
|
388
|
-
- "<" +
|
|
389
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
390
|
-
- " />"),
|
|
391
|
-
- (children =
|
|
392
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
393
|
-
- : (isStaticChildren = typeof type);
|
|
394
|
-
- console.error(
|
|
395
|
-
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
396
|
-
- isStaticChildren,
|
|
397
|
-
- children
|
|
398
|
-
- );
|
|
399
|
-
- }
|
|
400
|
-
+ var children = config.children;
|
|
401
|
-
+ if (void 0 !== children)
|
|
402
|
-
+ if (isStaticChildren)
|
|
403
|
-
+ if (isArrayImpl(children)) {
|
|
404
|
-
+ for (
|
|
405
|
-
+ isStaticChildren = 0;
|
|
406
|
-
+ isStaticChildren < children.length;
|
|
407
|
-
+ isStaticChildren++
|
|
408
|
-
+ )
|
|
409
|
-
+ validateChildKeys(children[isStaticChildren]);
|
|
410
|
-
+ Object.freeze && Object.freeze(children);
|
|
411
|
-
+ } else
|
|
412
|
-
+ console.error(
|
|
413
|
-
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
414
|
-
+ );
|
|
415
|
-
+ else validateChildKeys(children);
|
|
416
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
417
|
-
children = getComponentNameFromType(type);
|
|
418
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
419
|
-
@@ -520,88 +263,23 @@
|
|
420
|
-
? type.displayName || type.name || "Unknown"
|
|
421
|
-
: type
|
|
422
|
-
);
|
|
423
|
-
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
424
|
-
- }
|
|
425
|
-
- function validateChildKeys(node, parentType) {
|
|
426
|
-
- if (
|
|
427
|
-
- "object" === typeof node &&
|
|
428
|
-
- node &&
|
|
429
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
430
|
-
- )
|
|
431
|
-
- if (isArrayImpl(node))
|
|
432
|
-
- for (var i = 0; i < node.length; i++) {
|
|
433
|
-
- var child = node[i];
|
|
434
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
435
|
-
- }
|
|
436
|
-
- else if (isValidElement(node))
|
|
437
|
-
- node._store && (node._store.validated = 1);
|
|
438
|
-
- else if (
|
|
439
|
-
- (null === node || "object" !== typeof node
|
|
440
|
-
- ? (i = null)
|
|
441
|
-
- : ((i =
|
|
442
|
-
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
443
|
-
- node["@@iterator"]),
|
|
444
|
-
- (i = "function" === typeof i ? i : null)),
|
|
445
|
-
- "function" === typeof i &&
|
|
446
|
-
- i !== node.entries &&
|
|
447
|
-
- ((i = i.call(node)), i !== node))
|
|
448
|
-
- )
|
|
449
|
-
- for (; !(node = i.next()).done; )
|
|
450
|
-
- isValidElement(node.value) &&
|
|
451
|
-
- validateExplicitKey(node.value, parentType);
|
|
452
|
-
- }
|
|
453
|
-
- function isValidElement(object) {
|
|
454
|
-
- return (
|
|
455
|
-
- "object" === typeof object &&
|
|
456
|
-
- null !== object &&
|
|
457
|
-
- object.$$typeof === REACT_ELEMENT_TYPE
|
|
458
|
-
+ return ReactElement(
|
|
459
|
-
+ type,
|
|
460
|
-
+ children,
|
|
461
|
-
+ self,
|
|
462
|
-
+ source,
|
|
463
|
-
+ getOwner(),
|
|
464
|
-
+ maybeKey,
|
|
465
|
-
+ debugStack,
|
|
466
|
-
+ debugTask
|
|
467
|
-
);
|
|
468
|
-
}
|
|
469
|
-
- function validateExplicitKey(element, parentType) {
|
|
470
|
-
- if (
|
|
471
|
-
- element._store &&
|
|
472
|
-
- !element._store.validated &&
|
|
473
|
-
- null == element.key &&
|
|
474
|
-
- ((element._store.validated = 1),
|
|
475
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
476
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
477
|
-
- ) {
|
|
478
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
479
|
-
- var childOwner = "";
|
|
480
|
-
- element &&
|
|
481
|
-
- null != element._owner &&
|
|
482
|
-
- element._owner !== getOwner() &&
|
|
483
|
-
- ((childOwner = null),
|
|
484
|
-
- "number" === typeof element._owner.tag
|
|
485
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
486
|
-
- : "string" === typeof element._owner.name &&
|
|
487
|
-
- (childOwner = element._owner.name),
|
|
488
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
489
|
-
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
490
|
-
- ReactSharedInternals.getCurrentStack = function () {
|
|
491
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
492
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
493
|
-
- return stack;
|
|
494
|
-
- };
|
|
495
|
-
- console.error(
|
|
496
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
497
|
-
- parentType,
|
|
498
|
-
- childOwner
|
|
499
|
-
- );
|
|
500
|
-
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
501
|
-
- }
|
|
502
|
-
- }
|
|
503
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
504
|
-
- var info = "",
|
|
505
|
-
- owner = getOwner();
|
|
506
|
-
- owner &&
|
|
507
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
508
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
509
|
-
- info ||
|
|
510
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
511
|
-
- (info =
|
|
512
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
513
|
-
- return info;
|
|
514
|
-
+ function validateChildKeys(node) {
|
|
515
|
-
+ "object" === typeof node &&
|
|
516
|
-
+ null !== node &&
|
|
517
|
-
+ node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
518
|
-
+ node._store &&
|
|
519
|
-
+ (node._store.validated = 1);
|
|
520
|
-
}
|
|
521
|
-
var React = require("react"),
|
|
522
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
523
|
-
@@ -617,35 +295,21 @@
|
|
524
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
525
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
526
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
527
|
-
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
528
|
-
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
529
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
530
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
531
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
532
|
-
ReactSharedInternals =
|
|
533
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
534
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
535
|
-
- assign = Object.assign,
|
|
536
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
537
|
-
- isArrayImpl = Array.isArray,
|
|
538
|
-
- disabledDepth = 0,
|
|
539
|
-
- prevLog,
|
|
540
|
-
- prevInfo,
|
|
541
|
-
- prevWarn,
|
|
542
|
-
- prevError,
|
|
543
|
-
- prevGroup,
|
|
544
|
-
- prevGroupCollapsed,
|
|
545
|
-
- prevGroupEnd;
|
|
546
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
547
|
-
- var prefix,
|
|
548
|
-
- suffix,
|
|
549
|
-
- reentry = !1;
|
|
550
|
-
- var componentFrameCache = new (
|
|
551
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
552
|
-
- )();
|
|
553
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
554
|
-
+ isArrayImpl = Array.isArray;
|
|
555
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
556
|
-
+ var createTask = console.createTask
|
|
557
|
-
+ ? console.createTask
|
|
558
|
-
+ : function () {
|
|
559
|
-
+ return null;
|
|
560
|
-
+ },
|
|
561
|
-
specialPropKeyWarningShown;
|
|
562
|
-
var didWarnAboutElementRef = {};
|
|
563
|
-
- var didWarnAboutKeySpread = {},
|
|
564
|
-
- ownerHasKeyUseWarning = {};
|
|
565
|
-
+ var didWarnAboutKeySpread = {};
|
|
566
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
567
|
-
exports.jsxDEV = function (
|
|
568
|
-
type,
|
|
569
|
-
@@ -655,6 +319,15 @@
|
|
570
|
-
source,
|
|
571
|
-
self
|
|
572
|
-
) {
|
|
573
|
-
- return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
|
|
574
|
-
+ return jsxDEVImpl(
|
|
575
|
-
+ type,
|
|
576
|
-
+ config,
|
|
577
|
-
+ maybeKey,
|
|
578
|
-
+ isStaticChildren,
|
|
579
|
-
+ source,
|
|
580
|
-
+ self,
|
|
581
|
-
+ Error("react-stack-top-frame"),
|
|
582
|
-
+ createTask(getTaskName(type))
|
|
583
|
-
+ );
|
|
584
|
-
};
|
|
585
|
-
})();
|
|
586
|
-
diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
587
|
-
index 6ad863c..0d74219 100644
|
|
588
|
-
--- a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
589
|
-
+++ b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
|
|
590
|
-
@@ -14,7 +14,7 @@
|
|
591
|
-
function getComponentNameFromType(type) {
|
|
592
|
-
if (null == type) return null;
|
|
593
|
-
if ("function" === typeof type)
|
|
594
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
595
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
596
|
-
? null
|
|
597
|
-
: type.displayName || type.name || null;
|
|
598
|
-
if ("string" === typeof type) return type;
|
|
599
|
-
@@ -31,6 +31,8 @@
|
|
600
|
-
return "Suspense";
|
|
601
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
602
|
-
return "SuspenseList";
|
|
603
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
604
|
-
+ return "ViewTransition";
|
|
605
|
-
}
|
|
606
|
-
if ("object" === typeof type)
|
|
607
|
-
switch (
|
|
608
|
-
@@ -94,255 +96,20 @@
|
|
609
|
-
return testStringCoercion(value);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
- function disabledLog() {}
|
|
613
|
-
- function disableLogs() {
|
|
614
|
-
- if (0 === disabledDepth) {
|
|
615
|
-
- prevLog = console.log;
|
|
616
|
-
- prevInfo = console.info;
|
|
617
|
-
- prevWarn = console.warn;
|
|
618
|
-
- prevError = console.error;
|
|
619
|
-
- prevGroup = console.group;
|
|
620
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
621
|
-
- prevGroupEnd = console.groupEnd;
|
|
622
|
-
- var props = {
|
|
623
|
-
- configurable: !0,
|
|
624
|
-
- enumerable: !0,
|
|
625
|
-
- value: disabledLog,
|
|
626
|
-
- writable: !0
|
|
627
|
-
- };
|
|
628
|
-
- Object.defineProperties(console, {
|
|
629
|
-
- info: props,
|
|
630
|
-
- log: props,
|
|
631
|
-
- warn: props,
|
|
632
|
-
- error: props,
|
|
633
|
-
- group: props,
|
|
634
|
-
- groupCollapsed: props,
|
|
635
|
-
- groupEnd: props
|
|
636
|
-
- });
|
|
637
|
-
- }
|
|
638
|
-
- disabledDepth++;
|
|
639
|
-
- }
|
|
640
|
-
- function reenableLogs() {
|
|
641
|
-
- disabledDepth--;
|
|
642
|
-
- if (0 === disabledDepth) {
|
|
643
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
644
|
-
- Object.defineProperties(console, {
|
|
645
|
-
- log: assign({}, props, { value: prevLog }),
|
|
646
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
647
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
648
|
-
- error: assign({}, props, { value: prevError }),
|
|
649
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
650
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
651
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
652
|
-
- });
|
|
653
|
-
- }
|
|
654
|
-
- 0 > disabledDepth &&
|
|
655
|
-
- console.error(
|
|
656
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
657
|
-
- );
|
|
658
|
-
- }
|
|
659
|
-
- function describeBuiltInComponentFrame(name) {
|
|
660
|
-
- if (void 0 === prefix)
|
|
661
|
-
- try {
|
|
662
|
-
- throw Error();
|
|
663
|
-
- } catch (x) {
|
|
664
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
665
|
-
- prefix = (match && match[1]) || "";
|
|
666
|
-
- suffix =
|
|
667
|
-
- -1 < x.stack.indexOf("\n at")
|
|
668
|
-
- ? " (<anonymous>)"
|
|
669
|
-
- : -1 < x.stack.indexOf("@")
|
|
670
|
-
- ? "@unknown:0:0"
|
|
671
|
-
- : "";
|
|
672
|
-
- }
|
|
673
|
-
- return "\n" + prefix + name + suffix;
|
|
674
|
-
- }
|
|
675
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
676
|
-
- if (!fn || reentry) return "";
|
|
677
|
-
- var frame = componentFrameCache.get(fn);
|
|
678
|
-
- if (void 0 !== frame) return frame;
|
|
679
|
-
- reentry = !0;
|
|
680
|
-
- frame = Error.prepareStackTrace;
|
|
681
|
-
- Error.prepareStackTrace = void 0;
|
|
682
|
-
- var previousDispatcher = null;
|
|
683
|
-
- previousDispatcher = ReactSharedInternalsServer.H;
|
|
684
|
-
- ReactSharedInternalsServer.H = null;
|
|
685
|
-
- disableLogs();
|
|
686
|
-
+ function getTaskName(type) {
|
|
687
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
688
|
-
+ if (
|
|
689
|
-
+ "object" === typeof type &&
|
|
690
|
-
+ null !== type &&
|
|
691
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
692
|
-
+ )
|
|
693
|
-
+ return "<...>";
|
|
694
|
-
try {
|
|
695
|
-
- var RunInRootFrame = {
|
|
696
|
-
- DetermineComponentFrameRoot: function () {
|
|
697
|
-
- try {
|
|
698
|
-
- if (construct) {
|
|
699
|
-
- var Fake = function () {
|
|
700
|
-
- throw Error();
|
|
701
|
-
- };
|
|
702
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
703
|
-
- set: function () {
|
|
704
|
-
- throw Error();
|
|
705
|
-
- }
|
|
706
|
-
- });
|
|
707
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
708
|
-
- try {
|
|
709
|
-
- Reflect.construct(Fake, []);
|
|
710
|
-
- } catch (x) {
|
|
711
|
-
- var control = x;
|
|
712
|
-
- }
|
|
713
|
-
- Reflect.construct(fn, [], Fake);
|
|
714
|
-
- } else {
|
|
715
|
-
- try {
|
|
716
|
-
- Fake.call();
|
|
717
|
-
- } catch (x$0) {
|
|
718
|
-
- control = x$0;
|
|
719
|
-
- }
|
|
720
|
-
- fn.call(Fake.prototype);
|
|
721
|
-
- }
|
|
722
|
-
- } else {
|
|
723
|
-
- try {
|
|
724
|
-
- throw Error();
|
|
725
|
-
- } catch (x$1) {
|
|
726
|
-
- control = x$1;
|
|
727
|
-
- }
|
|
728
|
-
- (Fake = fn()) &&
|
|
729
|
-
- "function" === typeof Fake.catch &&
|
|
730
|
-
- Fake.catch(function () {});
|
|
731
|
-
- }
|
|
732
|
-
- } catch (sample) {
|
|
733
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
734
|
-
- return [sample.stack, control.stack];
|
|
735
|
-
- }
|
|
736
|
-
- return [null, null];
|
|
737
|
-
- }
|
|
738
|
-
- };
|
|
739
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
740
|
-
- "DetermineComponentFrameRoot";
|
|
741
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
742
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
743
|
-
- "name"
|
|
744
|
-
- );
|
|
745
|
-
- namePropDescriptor &&
|
|
746
|
-
- namePropDescriptor.configurable &&
|
|
747
|
-
- Object.defineProperty(
|
|
748
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
749
|
-
- "name",
|
|
750
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
751
|
-
- );
|
|
752
|
-
- var _RunInRootFrame$Deter =
|
|
753
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
754
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
755
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
756
|
-
- if (sampleStack && controlStack) {
|
|
757
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
758
|
-
- controlLines = controlStack.split("\n");
|
|
759
|
-
- for (
|
|
760
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
761
|
-
- namePropDescriptor < sampleLines.length &&
|
|
762
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
763
|
-
- "DetermineComponentFrameRoot"
|
|
764
|
-
- );
|
|
765
|
-
-
|
|
766
|
-
- )
|
|
767
|
-
- namePropDescriptor++;
|
|
768
|
-
- for (
|
|
769
|
-
- ;
|
|
770
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
771
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
772
|
-
- "DetermineComponentFrameRoot"
|
|
773
|
-
- );
|
|
774
|
-
-
|
|
775
|
-
- )
|
|
776
|
-
- _RunInRootFrame$Deter++;
|
|
777
|
-
- if (
|
|
778
|
-
- namePropDescriptor === sampleLines.length ||
|
|
779
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
780
|
-
- )
|
|
781
|
-
- for (
|
|
782
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
783
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
784
|
-
- 1 <= namePropDescriptor &&
|
|
785
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
786
|
-
- sampleLines[namePropDescriptor] !==
|
|
787
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
788
|
-
-
|
|
789
|
-
- )
|
|
790
|
-
- _RunInRootFrame$Deter--;
|
|
791
|
-
- for (
|
|
792
|
-
- ;
|
|
793
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
794
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
795
|
-
- )
|
|
796
|
-
- if (
|
|
797
|
-
- sampleLines[namePropDescriptor] !==
|
|
798
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
799
|
-
- ) {
|
|
800
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
801
|
-
- do
|
|
802
|
-
- if (
|
|
803
|
-
- (namePropDescriptor--,
|
|
804
|
-
- _RunInRootFrame$Deter--,
|
|
805
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
806
|
-
- sampleLines[namePropDescriptor] !==
|
|
807
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
808
|
-
- ) {
|
|
809
|
-
- var _frame =
|
|
810
|
-
- "\n" +
|
|
811
|
-
- sampleLines[namePropDescriptor].replace(
|
|
812
|
-
- " at new ",
|
|
813
|
-
- " at "
|
|
814
|
-
- );
|
|
815
|
-
- fn.displayName &&
|
|
816
|
-
- _frame.includes("<anonymous>") &&
|
|
817
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
818
|
-
- "function" === typeof fn &&
|
|
819
|
-
- componentFrameCache.set(fn, _frame);
|
|
820
|
-
- return _frame;
|
|
821
|
-
- }
|
|
822
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
823
|
-
- }
|
|
824
|
-
- break;
|
|
825
|
-
- }
|
|
826
|
-
- }
|
|
827
|
-
- } finally {
|
|
828
|
-
- (reentry = !1),
|
|
829
|
-
- (ReactSharedInternalsServer.H = previousDispatcher),
|
|
830
|
-
- reenableLogs(),
|
|
831
|
-
- (Error.prepareStackTrace = frame);
|
|
832
|
-
+ var name = getComponentNameFromType(type);
|
|
833
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
834
|
-
+ } catch (x) {
|
|
835
|
-
+ return "<...>";
|
|
836
|
-
}
|
|
837
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
838
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
839
|
-
- : "";
|
|
840
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
841
|
-
- return sampleLines;
|
|
842
|
-
- }
|
|
843
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
844
|
-
- if (null == type) return "";
|
|
845
|
-
- if ("function" === typeof type) {
|
|
846
|
-
- var prototype = type.prototype;
|
|
847
|
-
- return describeNativeComponentFrame(
|
|
848
|
-
- type,
|
|
849
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
850
|
-
- );
|
|
851
|
-
- }
|
|
852
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
853
|
-
- switch (type) {
|
|
854
|
-
- case REACT_SUSPENSE_TYPE:
|
|
855
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
856
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
857
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
858
|
-
- }
|
|
859
|
-
- if ("object" === typeof type)
|
|
860
|
-
- switch (type.$$typeof) {
|
|
861
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
862
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
863
|
-
- case REACT_MEMO_TYPE:
|
|
864
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
865
|
-
- case REACT_LAZY_TYPE:
|
|
866
|
-
- prototype = type._payload;
|
|
867
|
-
- type = type._init;
|
|
868
|
-
- try {
|
|
869
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
870
|
-
- } catch (x) {}
|
|
871
|
-
- }
|
|
872
|
-
- return "";
|
|
873
|
-
}
|
|
874
|
-
function getOwner() {
|
|
875
|
-
var dispatcher = ReactSharedInternalsServer.A;
|
|
876
|
-
@@ -380,7 +147,16 @@
|
|
877
|
-
componentName = this.props.ref;
|
|
878
|
-
return void 0 !== componentName ? componentName : null;
|
|
879
|
-
}
|
|
880
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
881
|
-
+ function ReactElement(
|
|
882
|
-
+ type,
|
|
883
|
-
+ key,
|
|
884
|
-
+ self,
|
|
885
|
-
+ source,
|
|
886
|
-
+ owner,
|
|
887
|
-
+ props,
|
|
888
|
-
+ debugStack,
|
|
889
|
-
+ debugTask
|
|
890
|
-
+ ) {
|
|
891
|
-
self = props.ref;
|
|
892
|
-
type = {
|
|
893
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
894
|
-
@@ -408,6 +184,18 @@
|
|
895
|
-
writable: !0,
|
|
896
|
-
value: null
|
|
897
|
-
});
|
|
898
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
899
|
-
+ configurable: !1,
|
|
900
|
-
+ enumerable: !1,
|
|
901
|
-
+ writable: !0,
|
|
902
|
-
+ value: debugStack
|
|
903
|
-
+ });
|
|
904
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
905
|
-
+ configurable: !1,
|
|
906
|
-
+ enumerable: !1,
|
|
907
|
-
+ writable: !0,
|
|
908
|
-
+ value: debugTask
|
|
909
|
-
+ });
|
|
910
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
911
|
-
return type;
|
|
912
|
-
}
|
|
913
|
-
@@ -417,71 +205,26 @@
|
|
914
|
-
maybeKey,
|
|
915
|
-
isStaticChildren,
|
|
916
|
-
source,
|
|
917
|
-
- self
|
|
918
|
-
+ self,
|
|
919
|
-
+ debugStack,
|
|
920
|
-
+ debugTask
|
|
921
|
-
) {
|
|
922
|
-
- if (
|
|
923
|
-
- "string" === typeof type ||
|
|
924
|
-
- "function" === typeof type ||
|
|
925
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
926
|
-
- type === REACT_PROFILER_TYPE ||
|
|
927
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
928
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
929
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
930
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
931
|
-
- ("object" === typeof type &&
|
|
932
|
-
- null !== type &&
|
|
933
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
934
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
935
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
936
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
937
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
938
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
939
|
-
- void 0 !== type.getModuleId))
|
|
940
|
-
- ) {
|
|
941
|
-
- var children = config.children;
|
|
942
|
-
- if (void 0 !== children)
|
|
943
|
-
- if (isStaticChildren)
|
|
944
|
-
- if (isArrayImpl(children)) {
|
|
945
|
-
- for (
|
|
946
|
-
- isStaticChildren = 0;
|
|
947
|
-
- isStaticChildren < children.length;
|
|
948
|
-
- isStaticChildren++
|
|
949
|
-
- )
|
|
950
|
-
- validateChildKeys(children[isStaticChildren], type);
|
|
951
|
-
- Object.freeze && Object.freeze(children);
|
|
952
|
-
- } else
|
|
953
|
-
- console.error(
|
|
954
|
-
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
955
|
-
- );
|
|
956
|
-
- else validateChildKeys(children, type);
|
|
957
|
-
- } else {
|
|
958
|
-
- children = "";
|
|
959
|
-
- if (
|
|
960
|
-
- void 0 === type ||
|
|
961
|
-
- ("object" === typeof type &&
|
|
962
|
-
- null !== type &&
|
|
963
|
-
- 0 === Object.keys(type).length)
|
|
964
|
-
- )
|
|
965
|
-
- children +=
|
|
966
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
967
|
-
- null === type
|
|
968
|
-
- ? (isStaticChildren = "null")
|
|
969
|
-
- : isArrayImpl(type)
|
|
970
|
-
- ? (isStaticChildren = "array")
|
|
971
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
972
|
-
- ? ((isStaticChildren =
|
|
973
|
-
- "<" +
|
|
974
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
975
|
-
- " />"),
|
|
976
|
-
- (children =
|
|
977
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
978
|
-
- : (isStaticChildren = typeof type);
|
|
979
|
-
- console.error(
|
|
980
|
-
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
981
|
-
- isStaticChildren,
|
|
982
|
-
- children
|
|
983
|
-
- );
|
|
984
|
-
- }
|
|
985
|
-
+ var children = config.children;
|
|
986
|
-
+ if (void 0 !== children)
|
|
987
|
-
+ if (isStaticChildren)
|
|
988
|
-
+ if (isArrayImpl(children)) {
|
|
989
|
-
+ for (
|
|
990
|
-
+ isStaticChildren = 0;
|
|
991
|
-
+ isStaticChildren < children.length;
|
|
992
|
-
+ isStaticChildren++
|
|
993
|
-
+ )
|
|
994
|
-
+ validateChildKeys(children[isStaticChildren]);
|
|
995
|
-
+ Object.freeze && Object.freeze(children);
|
|
996
|
-
+ } else
|
|
997
|
-
+ console.error(
|
|
998
|
-
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
999
|
-
+ );
|
|
1000
|
-
+ else validateChildKeys(children);
|
|
1001
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
1002
|
-
children = getComponentNameFromType(type);
|
|
1003
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
1004
|
-
@@ -520,88 +263,23 @@
|
|
1005
|
-
? type.displayName || type.name || "Unknown"
|
|
1006
|
-
: type
|
|
1007
|
-
);
|
|
1008
|
-
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
1009
|
-
- }
|
|
1010
|
-
- function validateChildKeys(node, parentType) {
|
|
1011
|
-
- if (
|
|
1012
|
-
- "object" === typeof node &&
|
|
1013
|
-
- node &&
|
|
1014
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
1015
|
-
- )
|
|
1016
|
-
- if (isArrayImpl(node))
|
|
1017
|
-
- for (var i = 0; i < node.length; i++) {
|
|
1018
|
-
- var child = node[i];
|
|
1019
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
1020
|
-
- }
|
|
1021
|
-
- else if (isValidElement(node))
|
|
1022
|
-
- node._store && (node._store.validated = 1);
|
|
1023
|
-
- else if (
|
|
1024
|
-
- (null === node || "object" !== typeof node
|
|
1025
|
-
- ? (i = null)
|
|
1026
|
-
- : ((i =
|
|
1027
|
-
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
1028
|
-
- node["@@iterator"]),
|
|
1029
|
-
- (i = "function" === typeof i ? i : null)),
|
|
1030
|
-
- "function" === typeof i &&
|
|
1031
|
-
- i !== node.entries &&
|
|
1032
|
-
- ((i = i.call(node)), i !== node))
|
|
1033
|
-
- )
|
|
1034
|
-
- for (; !(node = i.next()).done; )
|
|
1035
|
-
- isValidElement(node.value) &&
|
|
1036
|
-
- validateExplicitKey(node.value, parentType);
|
|
1037
|
-
- }
|
|
1038
|
-
- function isValidElement(object) {
|
|
1039
|
-
- return (
|
|
1040
|
-
- "object" === typeof object &&
|
|
1041
|
-
- null !== object &&
|
|
1042
|
-
- object.$$typeof === REACT_ELEMENT_TYPE
|
|
1043
|
-
+ return ReactElement(
|
|
1044
|
-
+ type,
|
|
1045
|
-
+ children,
|
|
1046
|
-
+ self,
|
|
1047
|
-
+ source,
|
|
1048
|
-
+ getOwner(),
|
|
1049
|
-
+ maybeKey,
|
|
1050
|
-
+ debugStack,
|
|
1051
|
-
+ debugTask
|
|
1052
|
-
);
|
|
1053
|
-
}
|
|
1054
|
-
- function validateExplicitKey(element, parentType) {
|
|
1055
|
-
- if (
|
|
1056
|
-
- element._store &&
|
|
1057
|
-
- !element._store.validated &&
|
|
1058
|
-
- null == element.key &&
|
|
1059
|
-
- ((element._store.validated = 1),
|
|
1060
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
1061
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
1062
|
-
- ) {
|
|
1063
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
1064
|
-
- var childOwner = "";
|
|
1065
|
-
- element &&
|
|
1066
|
-
- null != element._owner &&
|
|
1067
|
-
- element._owner !== getOwner() &&
|
|
1068
|
-
- ((childOwner = null),
|
|
1069
|
-
- "number" === typeof element._owner.tag
|
|
1070
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
1071
|
-
- : "string" === typeof element._owner.name &&
|
|
1072
|
-
- (childOwner = element._owner.name),
|
|
1073
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
1074
|
-
- var prevGetCurrentStack = ReactSharedInternalsServer.getCurrentStack;
|
|
1075
|
-
- ReactSharedInternalsServer.getCurrentStack = function () {
|
|
1076
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
1077
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
1078
|
-
- return stack;
|
|
1079
|
-
- };
|
|
1080
|
-
- console.error(
|
|
1081
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
1082
|
-
- parentType,
|
|
1083
|
-
- childOwner
|
|
1084
|
-
- );
|
|
1085
|
-
- ReactSharedInternalsServer.getCurrentStack = prevGetCurrentStack;
|
|
1086
|
-
- }
|
|
1087
|
-
- }
|
|
1088
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
1089
|
-
- var info = "",
|
|
1090
|
-
- owner = getOwner();
|
|
1091
|
-
- owner &&
|
|
1092
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
1093
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
1094
|
-
- info ||
|
|
1095
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
1096
|
-
- (info =
|
|
1097
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
1098
|
-
- return info;
|
|
1099
|
-
+ function validateChildKeys(node) {
|
|
1100
|
-
+ "object" === typeof node &&
|
|
1101
|
-
+ null !== node &&
|
|
1102
|
-
+ node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
1103
|
-
+ node._store &&
|
|
1104
|
-
+ (node._store.validated = 1);
|
|
1105
|
-
}
|
|
1106
|
-
var React = require("react"),
|
|
1107
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
1108
|
-
@@ -617,9 +295,8 @@
|
|
1109
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
1110
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
1111
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
1112
|
-
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
1113
|
-
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
1114
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
1115
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
1116
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1117
|
-
ReactSharedInternalsServer =
|
|
1118
|
-
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1119
|
-
if (!ReactSharedInternalsServer)
|
|
1120
|
-
@@ -627,32 +304,28 @@
|
|
1121
|
-
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
1122
|
-
);
|
|
1123
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
1124
|
-
- assign = Object.assign,
|
|
1125
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
1126
|
-
- isArrayImpl = Array.isArray,
|
|
1127
|
-
- disabledDepth = 0,
|
|
1128
|
-
- prevLog,
|
|
1129
|
-
- prevInfo,
|
|
1130
|
-
- prevWarn,
|
|
1131
|
-
- prevError,
|
|
1132
|
-
- prevGroup,
|
|
1133
|
-
- prevGroupCollapsed,
|
|
1134
|
-
- prevGroupEnd;
|
|
1135
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
1136
|
-
- var prefix,
|
|
1137
|
-
- suffix,
|
|
1138
|
-
- reentry = !1;
|
|
1139
|
-
- var componentFrameCache = new (
|
|
1140
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
1141
|
-
- )();
|
|
1142
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1143
|
-
+ isArrayImpl = Array.isArray;
|
|
1144
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
1145
|
-
+ var createTask = console.createTask
|
|
1146
|
-
+ ? console.createTask
|
|
1147
|
-
+ : function () {
|
|
1148
|
-
+ return null;
|
|
1149
|
-
+ },
|
|
1150
|
-
specialPropKeyWarningShown;
|
|
1151
|
-
var didWarnAboutElementRef = {};
|
|
1152
|
-
- var didWarnAboutKeySpread = {},
|
|
1153
|
-
- ownerHasKeyUseWarning = {};
|
|
1154
|
-
+ var didWarnAboutKeySpread = {};
|
|
1155
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1156
|
-
exports.jsx = function (type, config, maybeKey, source, self) {
|
|
1157
|
-
- return jsxDEVImpl(type, config, maybeKey, !1, source, self);
|
|
1158
|
-
+ return jsxDEVImpl(
|
|
1159
|
-
+ type,
|
|
1160
|
-
+ config,
|
|
1161
|
-
+ maybeKey,
|
|
1162
|
-
+ !1,
|
|
1163
|
-
+ source,
|
|
1164
|
-
+ self,
|
|
1165
|
-
+ Error("react-stack-top-frame"),
|
|
1166
|
-
+ createTask(getTaskName(type))
|
|
1167
|
-
+ );
|
|
1168
|
-
};
|
|
1169
|
-
exports.jsxDEV = function (
|
|
1170
|
-
type,
|
|
1171
|
-
@@ -662,9 +335,27 @@
|
|
1172
|
-
source,
|
|
1173
|
-
self
|
|
1174
|
-
) {
|
|
1175
|
-
- return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
|
|
1176
|
-
+ return jsxDEVImpl(
|
|
1177
|
-
+ type,
|
|
1178
|
-
+ config,
|
|
1179
|
-
+ maybeKey,
|
|
1180
|
-
+ isStaticChildren,
|
|
1181
|
-
+ source,
|
|
1182
|
-
+ self,
|
|
1183
|
-
+ Error("react-stack-top-frame"),
|
|
1184
|
-
+ createTask(getTaskName(type))
|
|
1185
|
-
+ );
|
|
1186
|
-
};
|
|
1187
|
-
exports.jsxs = function (type, config, maybeKey, source, self) {
|
|
1188
|
-
- return jsxDEVImpl(type, config, maybeKey, !0, source, self);
|
|
1189
|
-
+ return jsxDEVImpl(
|
|
1190
|
-
+ type,
|
|
1191
|
-
+ config,
|
|
1192
|
-
+ maybeKey,
|
|
1193
|
-
+ !0,
|
|
1194
|
-
+ source,
|
|
1195
|
-
+ self,
|
|
1196
|
-
+ Error("react-stack-top-frame"),
|
|
1197
|
-
+ createTask(getTaskName(type))
|
|
1198
|
-
+ );
|
|
1199
|
-
};
|
|
1200
|
-
})();
|
|
1201
|
-
diff --git a/node_modules/react/cjs/react-jsx-runtime.development.js b/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1202
|
-
index 0d53ae4..c18bba9 100644
|
|
1203
|
-
--- a/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1204
|
-
+++ b/node_modules/react/cjs/react-jsx-runtime.development.js
|
|
1205
|
-
@@ -14,7 +14,7 @@
|
|
1206
|
-
function getComponentNameFromType(type) {
|
|
1207
|
-
if (null == type) return null;
|
|
1208
|
-
if ("function" === typeof type)
|
|
1209
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
1210
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
1211
|
-
? null
|
|
1212
|
-
: type.displayName || type.name || null;
|
|
1213
|
-
if ("string" === typeof type) return type;
|
|
1214
|
-
@@ -31,6 +31,8 @@
|
|
1215
|
-
return "Suspense";
|
|
1216
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1217
|
-
return "SuspenseList";
|
|
1218
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
1219
|
-
+ return "ViewTransition";
|
|
1220
|
-
}
|
|
1221
|
-
if ("object" === typeof type)
|
|
1222
|
-
switch (
|
|
1223
|
-
@@ -94,255 +96,20 @@
|
|
1224
|
-
return testStringCoercion(value);
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
- function disabledLog() {}
|
|
1228
|
-
- function disableLogs() {
|
|
1229
|
-
- if (0 === disabledDepth) {
|
|
1230
|
-
- prevLog = console.log;
|
|
1231
|
-
- prevInfo = console.info;
|
|
1232
|
-
- prevWarn = console.warn;
|
|
1233
|
-
- prevError = console.error;
|
|
1234
|
-
- prevGroup = console.group;
|
|
1235
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
1236
|
-
- prevGroupEnd = console.groupEnd;
|
|
1237
|
-
- var props = {
|
|
1238
|
-
- configurable: !0,
|
|
1239
|
-
- enumerable: !0,
|
|
1240
|
-
- value: disabledLog,
|
|
1241
|
-
- writable: !0
|
|
1242
|
-
- };
|
|
1243
|
-
- Object.defineProperties(console, {
|
|
1244
|
-
- info: props,
|
|
1245
|
-
- log: props,
|
|
1246
|
-
- warn: props,
|
|
1247
|
-
- error: props,
|
|
1248
|
-
- group: props,
|
|
1249
|
-
- groupCollapsed: props,
|
|
1250
|
-
- groupEnd: props
|
|
1251
|
-
- });
|
|
1252
|
-
- }
|
|
1253
|
-
- disabledDepth++;
|
|
1254
|
-
- }
|
|
1255
|
-
- function reenableLogs() {
|
|
1256
|
-
- disabledDepth--;
|
|
1257
|
-
- if (0 === disabledDepth) {
|
|
1258
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
1259
|
-
- Object.defineProperties(console, {
|
|
1260
|
-
- log: assign({}, props, { value: prevLog }),
|
|
1261
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
1262
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
1263
|
-
- error: assign({}, props, { value: prevError }),
|
|
1264
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
1265
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
1266
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
1267
|
-
- });
|
|
1268
|
-
- }
|
|
1269
|
-
- 0 > disabledDepth &&
|
|
1270
|
-
- console.error(
|
|
1271
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
1272
|
-
- );
|
|
1273
|
-
- }
|
|
1274
|
-
- function describeBuiltInComponentFrame(name) {
|
|
1275
|
-
- if (void 0 === prefix)
|
|
1276
|
-
- try {
|
|
1277
|
-
- throw Error();
|
|
1278
|
-
- } catch (x) {
|
|
1279
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
1280
|
-
- prefix = (match && match[1]) || "";
|
|
1281
|
-
- suffix =
|
|
1282
|
-
- -1 < x.stack.indexOf("\n at")
|
|
1283
|
-
- ? " (<anonymous>)"
|
|
1284
|
-
- : -1 < x.stack.indexOf("@")
|
|
1285
|
-
- ? "@unknown:0:0"
|
|
1286
|
-
- : "";
|
|
1287
|
-
- }
|
|
1288
|
-
- return "\n" + prefix + name + suffix;
|
|
1289
|
-
- }
|
|
1290
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
1291
|
-
- if (!fn || reentry) return "";
|
|
1292
|
-
- var frame = componentFrameCache.get(fn);
|
|
1293
|
-
- if (void 0 !== frame) return frame;
|
|
1294
|
-
- reentry = !0;
|
|
1295
|
-
- frame = Error.prepareStackTrace;
|
|
1296
|
-
- Error.prepareStackTrace = void 0;
|
|
1297
|
-
- var previousDispatcher = null;
|
|
1298
|
-
- previousDispatcher = ReactSharedInternals.H;
|
|
1299
|
-
- ReactSharedInternals.H = null;
|
|
1300
|
-
- disableLogs();
|
|
1301
|
-
+ function getTaskName(type) {
|
|
1302
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
1303
|
-
+ if (
|
|
1304
|
-
+ "object" === typeof type &&
|
|
1305
|
-
+ null !== type &&
|
|
1306
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
1307
|
-
+ )
|
|
1308
|
-
+ return "<...>";
|
|
1309
|
-
try {
|
|
1310
|
-
- var RunInRootFrame = {
|
|
1311
|
-
- DetermineComponentFrameRoot: function () {
|
|
1312
|
-
- try {
|
|
1313
|
-
- if (construct) {
|
|
1314
|
-
- var Fake = function () {
|
|
1315
|
-
- throw Error();
|
|
1316
|
-
- };
|
|
1317
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
1318
|
-
- set: function () {
|
|
1319
|
-
- throw Error();
|
|
1320
|
-
- }
|
|
1321
|
-
- });
|
|
1322
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
1323
|
-
- try {
|
|
1324
|
-
- Reflect.construct(Fake, []);
|
|
1325
|
-
- } catch (x) {
|
|
1326
|
-
- var control = x;
|
|
1327
|
-
- }
|
|
1328
|
-
- Reflect.construct(fn, [], Fake);
|
|
1329
|
-
- } else {
|
|
1330
|
-
- try {
|
|
1331
|
-
- Fake.call();
|
|
1332
|
-
- } catch (x$0) {
|
|
1333
|
-
- control = x$0;
|
|
1334
|
-
- }
|
|
1335
|
-
- fn.call(Fake.prototype);
|
|
1336
|
-
- }
|
|
1337
|
-
- } else {
|
|
1338
|
-
- try {
|
|
1339
|
-
- throw Error();
|
|
1340
|
-
- } catch (x$1) {
|
|
1341
|
-
- control = x$1;
|
|
1342
|
-
- }
|
|
1343
|
-
- (Fake = fn()) &&
|
|
1344
|
-
- "function" === typeof Fake.catch &&
|
|
1345
|
-
- Fake.catch(function () {});
|
|
1346
|
-
- }
|
|
1347
|
-
- } catch (sample) {
|
|
1348
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
1349
|
-
- return [sample.stack, control.stack];
|
|
1350
|
-
- }
|
|
1351
|
-
- return [null, null];
|
|
1352
|
-
- }
|
|
1353
|
-
- };
|
|
1354
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
1355
|
-
- "DetermineComponentFrameRoot";
|
|
1356
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
1357
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
1358
|
-
- "name"
|
|
1359
|
-
- );
|
|
1360
|
-
- namePropDescriptor &&
|
|
1361
|
-
- namePropDescriptor.configurable &&
|
|
1362
|
-
- Object.defineProperty(
|
|
1363
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
1364
|
-
- "name",
|
|
1365
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
1366
|
-
- );
|
|
1367
|
-
- var _RunInRootFrame$Deter =
|
|
1368
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
1369
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
1370
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
1371
|
-
- if (sampleStack && controlStack) {
|
|
1372
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
1373
|
-
- controlLines = controlStack.split("\n");
|
|
1374
|
-
- for (
|
|
1375
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
1376
|
-
- namePropDescriptor < sampleLines.length &&
|
|
1377
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
1378
|
-
- "DetermineComponentFrameRoot"
|
|
1379
|
-
- );
|
|
1380
|
-
-
|
|
1381
|
-
- )
|
|
1382
|
-
- namePropDescriptor++;
|
|
1383
|
-
- for (
|
|
1384
|
-
- ;
|
|
1385
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
1386
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
1387
|
-
- "DetermineComponentFrameRoot"
|
|
1388
|
-
- );
|
|
1389
|
-
-
|
|
1390
|
-
- )
|
|
1391
|
-
- _RunInRootFrame$Deter++;
|
|
1392
|
-
- if (
|
|
1393
|
-
- namePropDescriptor === sampleLines.length ||
|
|
1394
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
1395
|
-
- )
|
|
1396
|
-
- for (
|
|
1397
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
1398
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
1399
|
-
- 1 <= namePropDescriptor &&
|
|
1400
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
1401
|
-
- sampleLines[namePropDescriptor] !==
|
|
1402
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
1403
|
-
-
|
|
1404
|
-
- )
|
|
1405
|
-
- _RunInRootFrame$Deter--;
|
|
1406
|
-
- for (
|
|
1407
|
-
- ;
|
|
1408
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
1409
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
1410
|
-
- )
|
|
1411
|
-
- if (
|
|
1412
|
-
- sampleLines[namePropDescriptor] !==
|
|
1413
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
1414
|
-
- ) {
|
|
1415
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
1416
|
-
- do
|
|
1417
|
-
- if (
|
|
1418
|
-
- (namePropDescriptor--,
|
|
1419
|
-
- _RunInRootFrame$Deter--,
|
|
1420
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
1421
|
-
- sampleLines[namePropDescriptor] !==
|
|
1422
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
1423
|
-
- ) {
|
|
1424
|
-
- var _frame =
|
|
1425
|
-
- "\n" +
|
|
1426
|
-
- sampleLines[namePropDescriptor].replace(
|
|
1427
|
-
- " at new ",
|
|
1428
|
-
- " at "
|
|
1429
|
-
- );
|
|
1430
|
-
- fn.displayName &&
|
|
1431
|
-
- _frame.includes("<anonymous>") &&
|
|
1432
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
1433
|
-
- "function" === typeof fn &&
|
|
1434
|
-
- componentFrameCache.set(fn, _frame);
|
|
1435
|
-
- return _frame;
|
|
1436
|
-
- }
|
|
1437
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
1438
|
-
- }
|
|
1439
|
-
- break;
|
|
1440
|
-
- }
|
|
1441
|
-
- }
|
|
1442
|
-
- } finally {
|
|
1443
|
-
- (reentry = !1),
|
|
1444
|
-
- (ReactSharedInternals.H = previousDispatcher),
|
|
1445
|
-
- reenableLogs(),
|
|
1446
|
-
- (Error.prepareStackTrace = frame);
|
|
1447
|
-
+ var name = getComponentNameFromType(type);
|
|
1448
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
1449
|
-
+ } catch (x) {
|
|
1450
|
-
+ return "<...>";
|
|
1451
|
-
}
|
|
1452
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
1453
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
1454
|
-
- : "";
|
|
1455
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
1456
|
-
- return sampleLines;
|
|
1457
|
-
- }
|
|
1458
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
1459
|
-
- if (null == type) return "";
|
|
1460
|
-
- if ("function" === typeof type) {
|
|
1461
|
-
- var prototype = type.prototype;
|
|
1462
|
-
- return describeNativeComponentFrame(
|
|
1463
|
-
- type,
|
|
1464
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
1465
|
-
- );
|
|
1466
|
-
- }
|
|
1467
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
1468
|
-
- switch (type) {
|
|
1469
|
-
- case REACT_SUSPENSE_TYPE:
|
|
1470
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
1471
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
1472
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
1473
|
-
- }
|
|
1474
|
-
- if ("object" === typeof type)
|
|
1475
|
-
- switch (type.$$typeof) {
|
|
1476
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
1477
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
1478
|
-
- case REACT_MEMO_TYPE:
|
|
1479
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
1480
|
-
- case REACT_LAZY_TYPE:
|
|
1481
|
-
- prototype = type._payload;
|
|
1482
|
-
- type = type._init;
|
|
1483
|
-
- try {
|
|
1484
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
1485
|
-
- } catch (x) {}
|
|
1486
|
-
- }
|
|
1487
|
-
- return "";
|
|
1488
|
-
}
|
|
1489
|
-
function getOwner() {
|
|
1490
|
-
var dispatcher = ReactSharedInternals.A;
|
|
1491
|
-
@@ -380,7 +147,16 @@
|
|
1492
|
-
componentName = this.props.ref;
|
|
1493
|
-
return void 0 !== componentName ? componentName : null;
|
|
1494
|
-
}
|
|
1495
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
1496
|
-
+ function ReactElement(
|
|
1497
|
-
+ type,
|
|
1498
|
-
+ key,
|
|
1499
|
-
+ self,
|
|
1500
|
-
+ source,
|
|
1501
|
-
+ owner,
|
|
1502
|
-
+ props,
|
|
1503
|
-
+ debugStack,
|
|
1504
|
-
+ debugTask
|
|
1505
|
-
+ ) {
|
|
1506
|
-
self = props.ref;
|
|
1507
|
-
type = {
|
|
1508
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
1509
|
-
@@ -408,6 +184,18 @@
|
|
1510
|
-
writable: !0,
|
|
1511
|
-
value: null
|
|
1512
|
-
});
|
|
1513
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
1514
|
-
+ configurable: !1,
|
|
1515
|
-
+ enumerable: !1,
|
|
1516
|
-
+ writable: !0,
|
|
1517
|
-
+ value: debugStack
|
|
1518
|
-
+ });
|
|
1519
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
1520
|
-
+ configurable: !1,
|
|
1521
|
-
+ enumerable: !1,
|
|
1522
|
-
+ writable: !0,
|
|
1523
|
-
+ value: debugTask
|
|
1524
|
-
+ });
|
|
1525
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1526
|
-
return type;
|
|
1527
|
-
}
|
|
1528
|
-
@@ -417,71 +205,26 @@
|
|
1529
|
-
maybeKey,
|
|
1530
|
-
isStaticChildren,
|
|
1531
|
-
source,
|
|
1532
|
-
- self
|
|
1533
|
-
+ self,
|
|
1534
|
-
+ debugStack,
|
|
1535
|
-
+ debugTask
|
|
1536
|
-
) {
|
|
1537
|
-
- if (
|
|
1538
|
-
- "string" === typeof type ||
|
|
1539
|
-
- "function" === typeof type ||
|
|
1540
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
1541
|
-
- type === REACT_PROFILER_TYPE ||
|
|
1542
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
1543
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
1544
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
1545
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
1546
|
-
- ("object" === typeof type &&
|
|
1547
|
-
- null !== type &&
|
|
1548
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
1549
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
1550
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
1551
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
1552
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1553
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
1554
|
-
- void 0 !== type.getModuleId))
|
|
1555
|
-
- ) {
|
|
1556
|
-
- var children = config.children;
|
|
1557
|
-
- if (void 0 !== children)
|
|
1558
|
-
- if (isStaticChildren)
|
|
1559
|
-
- if (isArrayImpl(children)) {
|
|
1560
|
-
- for (
|
|
1561
|
-
- isStaticChildren = 0;
|
|
1562
|
-
- isStaticChildren < children.length;
|
|
1563
|
-
- isStaticChildren++
|
|
1564
|
-
- )
|
|
1565
|
-
- validateChildKeys(children[isStaticChildren], type);
|
|
1566
|
-
- Object.freeze && Object.freeze(children);
|
|
1567
|
-
- } else
|
|
1568
|
-
- console.error(
|
|
1569
|
-
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
1570
|
-
- );
|
|
1571
|
-
- else validateChildKeys(children, type);
|
|
1572
|
-
- } else {
|
|
1573
|
-
- children = "";
|
|
1574
|
-
- if (
|
|
1575
|
-
- void 0 === type ||
|
|
1576
|
-
- ("object" === typeof type &&
|
|
1577
|
-
- null !== type &&
|
|
1578
|
-
- 0 === Object.keys(type).length)
|
|
1579
|
-
- )
|
|
1580
|
-
- children +=
|
|
1581
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
1582
|
-
- null === type
|
|
1583
|
-
- ? (isStaticChildren = "null")
|
|
1584
|
-
- : isArrayImpl(type)
|
|
1585
|
-
- ? (isStaticChildren = "array")
|
|
1586
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
1587
|
-
- ? ((isStaticChildren =
|
|
1588
|
-
- "<" +
|
|
1589
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
1590
|
-
- " />"),
|
|
1591
|
-
- (children =
|
|
1592
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
1593
|
-
- : (isStaticChildren = typeof type);
|
|
1594
|
-
- console.error(
|
|
1595
|
-
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
1596
|
-
- isStaticChildren,
|
|
1597
|
-
- children
|
|
1598
|
-
- );
|
|
1599
|
-
- }
|
|
1600
|
-
+ var children = config.children;
|
|
1601
|
-
+ if (void 0 !== children)
|
|
1602
|
-
+ if (isStaticChildren)
|
|
1603
|
-
+ if (isArrayImpl(children)) {
|
|
1604
|
-
+ for (
|
|
1605
|
-
+ isStaticChildren = 0;
|
|
1606
|
-
+ isStaticChildren < children.length;
|
|
1607
|
-
+ isStaticChildren++
|
|
1608
|
-
+ )
|
|
1609
|
-
+ validateChildKeys(children[isStaticChildren]);
|
|
1610
|
-
+ Object.freeze && Object.freeze(children);
|
|
1611
|
-
+ } else
|
|
1612
|
-
+ console.error(
|
|
1613
|
-
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
1614
|
-
+ );
|
|
1615
|
-
+ else validateChildKeys(children);
|
|
1616
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
1617
|
-
children = getComponentNameFromType(type);
|
|
1618
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
1619
|
-
@@ -520,88 +263,23 @@
|
|
1620
|
-
? type.displayName || type.name || "Unknown"
|
|
1621
|
-
: type
|
|
1622
|
-
);
|
|
1623
|
-
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
1624
|
-
- }
|
|
1625
|
-
- function validateChildKeys(node, parentType) {
|
|
1626
|
-
- if (
|
|
1627
|
-
- "object" === typeof node &&
|
|
1628
|
-
- node &&
|
|
1629
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
1630
|
-
- )
|
|
1631
|
-
- if (isArrayImpl(node))
|
|
1632
|
-
- for (var i = 0; i < node.length; i++) {
|
|
1633
|
-
- var child = node[i];
|
|
1634
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
1635
|
-
- }
|
|
1636
|
-
- else if (isValidElement(node))
|
|
1637
|
-
- node._store && (node._store.validated = 1);
|
|
1638
|
-
- else if (
|
|
1639
|
-
- (null === node || "object" !== typeof node
|
|
1640
|
-
- ? (i = null)
|
|
1641
|
-
- : ((i =
|
|
1642
|
-
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
1643
|
-
- node["@@iterator"]),
|
|
1644
|
-
- (i = "function" === typeof i ? i : null)),
|
|
1645
|
-
- "function" === typeof i &&
|
|
1646
|
-
- i !== node.entries &&
|
|
1647
|
-
- ((i = i.call(node)), i !== node))
|
|
1648
|
-
- )
|
|
1649
|
-
- for (; !(node = i.next()).done; )
|
|
1650
|
-
- isValidElement(node.value) &&
|
|
1651
|
-
- validateExplicitKey(node.value, parentType);
|
|
1652
|
-
- }
|
|
1653
|
-
- function isValidElement(object) {
|
|
1654
|
-
- return (
|
|
1655
|
-
- "object" === typeof object &&
|
|
1656
|
-
- null !== object &&
|
|
1657
|
-
- object.$$typeof === REACT_ELEMENT_TYPE
|
|
1658
|
-
+ return ReactElement(
|
|
1659
|
-
+ type,
|
|
1660
|
-
+ children,
|
|
1661
|
-
+ self,
|
|
1662
|
-
+ source,
|
|
1663
|
-
+ getOwner(),
|
|
1664
|
-
+ maybeKey,
|
|
1665
|
-
+ debugStack,
|
|
1666
|
-
+ debugTask
|
|
1667
|
-
);
|
|
1668
|
-
}
|
|
1669
|
-
- function validateExplicitKey(element, parentType) {
|
|
1670
|
-
- if (
|
|
1671
|
-
- element._store &&
|
|
1672
|
-
- !element._store.validated &&
|
|
1673
|
-
- null == element.key &&
|
|
1674
|
-
- ((element._store.validated = 1),
|
|
1675
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
1676
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
1677
|
-
- ) {
|
|
1678
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
1679
|
-
- var childOwner = "";
|
|
1680
|
-
- element &&
|
|
1681
|
-
- null != element._owner &&
|
|
1682
|
-
- element._owner !== getOwner() &&
|
|
1683
|
-
- ((childOwner = null),
|
|
1684
|
-
- "number" === typeof element._owner.tag
|
|
1685
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
1686
|
-
- : "string" === typeof element._owner.name &&
|
|
1687
|
-
- (childOwner = element._owner.name),
|
|
1688
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
1689
|
-
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1690
|
-
- ReactSharedInternals.getCurrentStack = function () {
|
|
1691
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
1692
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
1693
|
-
- return stack;
|
|
1694
|
-
- };
|
|
1695
|
-
- console.error(
|
|
1696
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
1697
|
-
- parentType,
|
|
1698
|
-
- childOwner
|
|
1699
|
-
- );
|
|
1700
|
-
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
1701
|
-
- }
|
|
1702
|
-
- }
|
|
1703
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
1704
|
-
- var info = "",
|
|
1705
|
-
- owner = getOwner();
|
|
1706
|
-
- owner &&
|
|
1707
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
1708
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
1709
|
-
- info ||
|
|
1710
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
1711
|
-
- (info =
|
|
1712
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
1713
|
-
- return info;
|
|
1714
|
-
+ function validateChildKeys(node) {
|
|
1715
|
-
+ "object" === typeof node &&
|
|
1716
|
-
+ null !== node &&
|
|
1717
|
-
+ node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
1718
|
-
+ node._store &&
|
|
1719
|
-
+ (node._store.validated = 1);
|
|
1720
|
-
}
|
|
1721
|
-
var React = require("react"),
|
|
1722
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
1723
|
-
@@ -617,40 +295,44 @@
|
|
1724
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
1725
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
1726
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
1727
|
-
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
1728
|
-
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
1729
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
1730
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
1731
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1732
|
-
ReactSharedInternals =
|
|
1733
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
1734
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
1735
|
-
- assign = Object.assign,
|
|
1736
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
1737
|
-
- isArrayImpl = Array.isArray,
|
|
1738
|
-
- disabledDepth = 0,
|
|
1739
|
-
- prevLog,
|
|
1740
|
-
- prevInfo,
|
|
1741
|
-
- prevWarn,
|
|
1742
|
-
- prevError,
|
|
1743
|
-
- prevGroup,
|
|
1744
|
-
- prevGroupCollapsed,
|
|
1745
|
-
- prevGroupEnd;
|
|
1746
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
1747
|
-
- var prefix,
|
|
1748
|
-
- suffix,
|
|
1749
|
-
- reentry = !1;
|
|
1750
|
-
- var componentFrameCache = new (
|
|
1751
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
1752
|
-
- )();
|
|
1753
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
1754
|
-
+ isArrayImpl = Array.isArray;
|
|
1755
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
1756
|
-
+ var createTask = console.createTask
|
|
1757
|
-
+ ? console.createTask
|
|
1758
|
-
+ : function () {
|
|
1759
|
-
+ return null;
|
|
1760
|
-
+ },
|
|
1761
|
-
specialPropKeyWarningShown;
|
|
1762
|
-
var didWarnAboutElementRef = {};
|
|
1763
|
-
- var didWarnAboutKeySpread = {},
|
|
1764
|
-
- ownerHasKeyUseWarning = {};
|
|
1765
|
-
+ var didWarnAboutKeySpread = {};
|
|
1766
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1767
|
-
exports.jsx = function (type, config, maybeKey, source, self) {
|
|
1768
|
-
- return jsxDEVImpl(type, config, maybeKey, !1, source, self);
|
|
1769
|
-
+ return jsxDEVImpl(
|
|
1770
|
-
+ type,
|
|
1771
|
-
+ config,
|
|
1772
|
-
+ maybeKey,
|
|
1773
|
-
+ !1,
|
|
1774
|
-
+ source,
|
|
1775
|
-
+ self,
|
|
1776
|
-
+ Error("react-stack-top-frame"),
|
|
1777
|
-
+ createTask(getTaskName(type))
|
|
1778
|
-
+ );
|
|
1779
|
-
};
|
|
1780
|
-
exports.jsxs = function (type, config, maybeKey, source, self) {
|
|
1781
|
-
- return jsxDEVImpl(type, config, maybeKey, !0, source, self);
|
|
1782
|
-
+ return jsxDEVImpl(
|
|
1783
|
-
+ type,
|
|
1784
|
-
+ config,
|
|
1785
|
-
+ maybeKey,
|
|
1786
|
-
+ !0,
|
|
1787
|
-
+ source,
|
|
1788
|
-
+ self,
|
|
1789
|
-
+ Error("react-stack-top-frame"),
|
|
1790
|
-
+ createTask(getTaskName(type))
|
|
1791
|
-
+ );
|
|
1792
|
-
};
|
|
1793
|
-
})();
|
|
1794
|
-
diff --git a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
1795
|
-
index bd5c819..0b3aaf0 100644
|
|
1796
|
-
--- a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
1797
|
-
+++ b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
|
|
1798
|
-
@@ -14,7 +14,7 @@
|
|
1799
|
-
function getComponentNameFromType(type) {
|
|
1800
|
-
if (null == type) return null;
|
|
1801
|
-
if ("function" === typeof type)
|
|
1802
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
1803
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
1804
|
-
? null
|
|
1805
|
-
: type.displayName || type.name || null;
|
|
1806
|
-
if ("string" === typeof type) return type;
|
|
1807
|
-
@@ -31,6 +31,8 @@
|
|
1808
|
-
return "Suspense";
|
|
1809
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1810
|
-
return "SuspenseList";
|
|
1811
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
1812
|
-
+ return "ViewTransition";
|
|
1813
|
-
}
|
|
1814
|
-
if ("object" === typeof type)
|
|
1815
|
-
switch (
|
|
1816
|
-
@@ -94,255 +96,20 @@
|
|
1817
|
-
return testStringCoercion(value);
|
|
1818
|
-
}
|
|
1819
|
-
}
|
|
1820
|
-
- function disabledLog() {}
|
|
1821
|
-
- function disableLogs() {
|
|
1822
|
-
- if (0 === disabledDepth) {
|
|
1823
|
-
- prevLog = console.log;
|
|
1824
|
-
- prevInfo = console.info;
|
|
1825
|
-
- prevWarn = console.warn;
|
|
1826
|
-
- prevError = console.error;
|
|
1827
|
-
- prevGroup = console.group;
|
|
1828
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
1829
|
-
- prevGroupEnd = console.groupEnd;
|
|
1830
|
-
- var props = {
|
|
1831
|
-
- configurable: !0,
|
|
1832
|
-
- enumerable: !0,
|
|
1833
|
-
- value: disabledLog,
|
|
1834
|
-
- writable: !0
|
|
1835
|
-
- };
|
|
1836
|
-
- Object.defineProperties(console, {
|
|
1837
|
-
- info: props,
|
|
1838
|
-
- log: props,
|
|
1839
|
-
- warn: props,
|
|
1840
|
-
- error: props,
|
|
1841
|
-
- group: props,
|
|
1842
|
-
- groupCollapsed: props,
|
|
1843
|
-
- groupEnd: props
|
|
1844
|
-
- });
|
|
1845
|
-
- }
|
|
1846
|
-
- disabledDepth++;
|
|
1847
|
-
- }
|
|
1848
|
-
- function reenableLogs() {
|
|
1849
|
-
- disabledDepth--;
|
|
1850
|
-
- if (0 === disabledDepth) {
|
|
1851
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
1852
|
-
- Object.defineProperties(console, {
|
|
1853
|
-
- log: assign({}, props, { value: prevLog }),
|
|
1854
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
1855
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
1856
|
-
- error: assign({}, props, { value: prevError }),
|
|
1857
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
1858
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
1859
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
1860
|
-
- });
|
|
1861
|
-
- }
|
|
1862
|
-
- 0 > disabledDepth &&
|
|
1863
|
-
- console.error(
|
|
1864
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
1865
|
-
- );
|
|
1866
|
-
- }
|
|
1867
|
-
- function describeBuiltInComponentFrame(name) {
|
|
1868
|
-
- if (void 0 === prefix)
|
|
1869
|
-
- try {
|
|
1870
|
-
- throw Error();
|
|
1871
|
-
- } catch (x) {
|
|
1872
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
1873
|
-
- prefix = (match && match[1]) || "";
|
|
1874
|
-
- suffix =
|
|
1875
|
-
- -1 < x.stack.indexOf("\n at")
|
|
1876
|
-
- ? " (<anonymous>)"
|
|
1877
|
-
- : -1 < x.stack.indexOf("@")
|
|
1878
|
-
- ? "@unknown:0:0"
|
|
1879
|
-
- : "";
|
|
1880
|
-
- }
|
|
1881
|
-
- return "\n" + prefix + name + suffix;
|
|
1882
|
-
- }
|
|
1883
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
1884
|
-
- if (!fn || reentry) return "";
|
|
1885
|
-
- var frame = componentFrameCache.get(fn);
|
|
1886
|
-
- if (void 0 !== frame) return frame;
|
|
1887
|
-
- reentry = !0;
|
|
1888
|
-
- frame = Error.prepareStackTrace;
|
|
1889
|
-
- Error.prepareStackTrace = void 0;
|
|
1890
|
-
- var previousDispatcher = null;
|
|
1891
|
-
- previousDispatcher = ReactSharedInternalsServer.H;
|
|
1892
|
-
- ReactSharedInternalsServer.H = null;
|
|
1893
|
-
- disableLogs();
|
|
1894
|
-
+ function getTaskName(type) {
|
|
1895
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
1896
|
-
+ if (
|
|
1897
|
-
+ "object" === typeof type &&
|
|
1898
|
-
+ null !== type &&
|
|
1899
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
1900
|
-
+ )
|
|
1901
|
-
+ return "<...>";
|
|
1902
|
-
try {
|
|
1903
|
-
- var RunInRootFrame = {
|
|
1904
|
-
- DetermineComponentFrameRoot: function () {
|
|
1905
|
-
- try {
|
|
1906
|
-
- if (construct) {
|
|
1907
|
-
- var Fake = function () {
|
|
1908
|
-
- throw Error();
|
|
1909
|
-
- };
|
|
1910
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
1911
|
-
- set: function () {
|
|
1912
|
-
- throw Error();
|
|
1913
|
-
- }
|
|
1914
|
-
- });
|
|
1915
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
1916
|
-
- try {
|
|
1917
|
-
- Reflect.construct(Fake, []);
|
|
1918
|
-
- } catch (x) {
|
|
1919
|
-
- var control = x;
|
|
1920
|
-
- }
|
|
1921
|
-
- Reflect.construct(fn, [], Fake);
|
|
1922
|
-
- } else {
|
|
1923
|
-
- try {
|
|
1924
|
-
- Fake.call();
|
|
1925
|
-
- } catch (x$0) {
|
|
1926
|
-
- control = x$0;
|
|
1927
|
-
- }
|
|
1928
|
-
- fn.call(Fake.prototype);
|
|
1929
|
-
- }
|
|
1930
|
-
- } else {
|
|
1931
|
-
- try {
|
|
1932
|
-
- throw Error();
|
|
1933
|
-
- } catch (x$1) {
|
|
1934
|
-
- control = x$1;
|
|
1935
|
-
- }
|
|
1936
|
-
- (Fake = fn()) &&
|
|
1937
|
-
- "function" === typeof Fake.catch &&
|
|
1938
|
-
- Fake.catch(function () {});
|
|
1939
|
-
- }
|
|
1940
|
-
- } catch (sample) {
|
|
1941
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
1942
|
-
- return [sample.stack, control.stack];
|
|
1943
|
-
- }
|
|
1944
|
-
- return [null, null];
|
|
1945
|
-
- }
|
|
1946
|
-
- };
|
|
1947
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
1948
|
-
- "DetermineComponentFrameRoot";
|
|
1949
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
1950
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
1951
|
-
- "name"
|
|
1952
|
-
- );
|
|
1953
|
-
- namePropDescriptor &&
|
|
1954
|
-
- namePropDescriptor.configurable &&
|
|
1955
|
-
- Object.defineProperty(
|
|
1956
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
1957
|
-
- "name",
|
|
1958
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
1959
|
-
- );
|
|
1960
|
-
- var _RunInRootFrame$Deter =
|
|
1961
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
1962
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
1963
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
1964
|
-
- if (sampleStack && controlStack) {
|
|
1965
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
1966
|
-
- controlLines = controlStack.split("\n");
|
|
1967
|
-
- for (
|
|
1968
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
1969
|
-
- namePropDescriptor < sampleLines.length &&
|
|
1970
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
1971
|
-
- "DetermineComponentFrameRoot"
|
|
1972
|
-
- );
|
|
1973
|
-
-
|
|
1974
|
-
- )
|
|
1975
|
-
- namePropDescriptor++;
|
|
1976
|
-
- for (
|
|
1977
|
-
- ;
|
|
1978
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
1979
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
1980
|
-
- "DetermineComponentFrameRoot"
|
|
1981
|
-
- );
|
|
1982
|
-
-
|
|
1983
|
-
- )
|
|
1984
|
-
- _RunInRootFrame$Deter++;
|
|
1985
|
-
- if (
|
|
1986
|
-
- namePropDescriptor === sampleLines.length ||
|
|
1987
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
1988
|
-
- )
|
|
1989
|
-
- for (
|
|
1990
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
1991
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
1992
|
-
- 1 <= namePropDescriptor &&
|
|
1993
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
1994
|
-
- sampleLines[namePropDescriptor] !==
|
|
1995
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
1996
|
-
-
|
|
1997
|
-
- )
|
|
1998
|
-
- _RunInRootFrame$Deter--;
|
|
1999
|
-
- for (
|
|
2000
|
-
- ;
|
|
2001
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
2002
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
2003
|
-
- )
|
|
2004
|
-
- if (
|
|
2005
|
-
- sampleLines[namePropDescriptor] !==
|
|
2006
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
2007
|
-
- ) {
|
|
2008
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
2009
|
-
- do
|
|
2010
|
-
- if (
|
|
2011
|
-
- (namePropDescriptor--,
|
|
2012
|
-
- _RunInRootFrame$Deter--,
|
|
2013
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
2014
|
-
- sampleLines[namePropDescriptor] !==
|
|
2015
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
2016
|
-
- ) {
|
|
2017
|
-
- var _frame =
|
|
2018
|
-
- "\n" +
|
|
2019
|
-
- sampleLines[namePropDescriptor].replace(
|
|
2020
|
-
- " at new ",
|
|
2021
|
-
- " at "
|
|
2022
|
-
- );
|
|
2023
|
-
- fn.displayName &&
|
|
2024
|
-
- _frame.includes("<anonymous>") &&
|
|
2025
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
2026
|
-
- "function" === typeof fn &&
|
|
2027
|
-
- componentFrameCache.set(fn, _frame);
|
|
2028
|
-
- return _frame;
|
|
2029
|
-
- }
|
|
2030
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
2031
|
-
- }
|
|
2032
|
-
- break;
|
|
2033
|
-
- }
|
|
2034
|
-
- }
|
|
2035
|
-
- } finally {
|
|
2036
|
-
- (reentry = !1),
|
|
2037
|
-
- (ReactSharedInternalsServer.H = previousDispatcher),
|
|
2038
|
-
- reenableLogs(),
|
|
2039
|
-
- (Error.prepareStackTrace = frame);
|
|
2040
|
-
+ var name = getComponentNameFromType(type);
|
|
2041
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
2042
|
-
+ } catch (x) {
|
|
2043
|
-
+ return "<...>";
|
|
2044
|
-
}
|
|
2045
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
2046
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
2047
|
-
- : "";
|
|
2048
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
2049
|
-
- return sampleLines;
|
|
2050
|
-
- }
|
|
2051
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
2052
|
-
- if (null == type) return "";
|
|
2053
|
-
- if ("function" === typeof type) {
|
|
2054
|
-
- var prototype = type.prototype;
|
|
2055
|
-
- return describeNativeComponentFrame(
|
|
2056
|
-
- type,
|
|
2057
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
2058
|
-
- );
|
|
2059
|
-
- }
|
|
2060
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
2061
|
-
- switch (type) {
|
|
2062
|
-
- case REACT_SUSPENSE_TYPE:
|
|
2063
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
2064
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
2065
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
2066
|
-
- }
|
|
2067
|
-
- if ("object" === typeof type)
|
|
2068
|
-
- switch (type.$$typeof) {
|
|
2069
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
2070
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
2071
|
-
- case REACT_MEMO_TYPE:
|
|
2072
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
2073
|
-
- case REACT_LAZY_TYPE:
|
|
2074
|
-
- prototype = type._payload;
|
|
2075
|
-
- type = type._init;
|
|
2076
|
-
- try {
|
|
2077
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
2078
|
-
- } catch (x) {}
|
|
2079
|
-
- }
|
|
2080
|
-
- return "";
|
|
2081
|
-
}
|
|
2082
|
-
function getOwner() {
|
|
2083
|
-
var dispatcher = ReactSharedInternalsServer.A;
|
|
2084
|
-
@@ -380,7 +147,16 @@
|
|
2085
|
-
componentName = this.props.ref;
|
|
2086
|
-
return void 0 !== componentName ? componentName : null;
|
|
2087
|
-
}
|
|
2088
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
2089
|
-
+ function ReactElement(
|
|
2090
|
-
+ type,
|
|
2091
|
-
+ key,
|
|
2092
|
-
+ self,
|
|
2093
|
-
+ source,
|
|
2094
|
-
+ owner,
|
|
2095
|
-
+ props,
|
|
2096
|
-
+ debugStack,
|
|
2097
|
-
+ debugTask
|
|
2098
|
-
+ ) {
|
|
2099
|
-
self = props.ref;
|
|
2100
|
-
type = {
|
|
2101
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
2102
|
-
@@ -408,6 +184,18 @@
|
|
2103
|
-
writable: !0,
|
|
2104
|
-
value: null
|
|
2105
|
-
});
|
|
2106
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
2107
|
-
+ configurable: !1,
|
|
2108
|
-
+ enumerable: !1,
|
|
2109
|
-
+ writable: !0,
|
|
2110
|
-
+ value: debugStack
|
|
2111
|
-
+ });
|
|
2112
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
2113
|
-
+ configurable: !1,
|
|
2114
|
-
+ enumerable: !1,
|
|
2115
|
-
+ writable: !0,
|
|
2116
|
-
+ value: debugTask
|
|
2117
|
-
+ });
|
|
2118
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
2119
|
-
return type;
|
|
2120
|
-
}
|
|
2121
|
-
@@ -417,71 +205,26 @@
|
|
2122
|
-
maybeKey,
|
|
2123
|
-
isStaticChildren,
|
|
2124
|
-
source,
|
|
2125
|
-
- self
|
|
2126
|
-
+ self,
|
|
2127
|
-
+ debugStack,
|
|
2128
|
-
+ debugTask
|
|
2129
|
-
) {
|
|
2130
|
-
- if (
|
|
2131
|
-
- "string" === typeof type ||
|
|
2132
|
-
- "function" === typeof type ||
|
|
2133
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
2134
|
-
- type === REACT_PROFILER_TYPE ||
|
|
2135
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
2136
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
2137
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
2138
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
2139
|
-
- ("object" === typeof type &&
|
|
2140
|
-
- null !== type &&
|
|
2141
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
2142
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
2143
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
2144
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
2145
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
2146
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
2147
|
-
- void 0 !== type.getModuleId))
|
|
2148
|
-
- ) {
|
|
2149
|
-
- var children = config.children;
|
|
2150
|
-
- if (void 0 !== children)
|
|
2151
|
-
- if (isStaticChildren)
|
|
2152
|
-
- if (isArrayImpl(children)) {
|
|
2153
|
-
- for (
|
|
2154
|
-
- isStaticChildren = 0;
|
|
2155
|
-
- isStaticChildren < children.length;
|
|
2156
|
-
- isStaticChildren++
|
|
2157
|
-
- )
|
|
2158
|
-
- validateChildKeys(children[isStaticChildren], type);
|
|
2159
|
-
- Object.freeze && Object.freeze(children);
|
|
2160
|
-
- } else
|
|
2161
|
-
- console.error(
|
|
2162
|
-
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
2163
|
-
- );
|
|
2164
|
-
- else validateChildKeys(children, type);
|
|
2165
|
-
- } else {
|
|
2166
|
-
- children = "";
|
|
2167
|
-
- if (
|
|
2168
|
-
- void 0 === type ||
|
|
2169
|
-
- ("object" === typeof type &&
|
|
2170
|
-
- null !== type &&
|
|
2171
|
-
- 0 === Object.keys(type).length)
|
|
2172
|
-
- )
|
|
2173
|
-
- children +=
|
|
2174
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
2175
|
-
- null === type
|
|
2176
|
-
- ? (isStaticChildren = "null")
|
|
2177
|
-
- : isArrayImpl(type)
|
|
2178
|
-
- ? (isStaticChildren = "array")
|
|
2179
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
2180
|
-
- ? ((isStaticChildren =
|
|
2181
|
-
- "<" +
|
|
2182
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
2183
|
-
- " />"),
|
|
2184
|
-
- (children =
|
|
2185
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
2186
|
-
- : (isStaticChildren = typeof type);
|
|
2187
|
-
- console.error(
|
|
2188
|
-
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
2189
|
-
- isStaticChildren,
|
|
2190
|
-
- children
|
|
2191
|
-
- );
|
|
2192
|
-
- }
|
|
2193
|
-
+ var children = config.children;
|
|
2194
|
-
+ if (void 0 !== children)
|
|
2195
|
-
+ if (isStaticChildren)
|
|
2196
|
-
+ if (isArrayImpl(children)) {
|
|
2197
|
-
+ for (
|
|
2198
|
-
+ isStaticChildren = 0;
|
|
2199
|
-
+ isStaticChildren < children.length;
|
|
2200
|
-
+ isStaticChildren++
|
|
2201
|
-
+ )
|
|
2202
|
-
+ validateChildKeys(children[isStaticChildren]);
|
|
2203
|
-
+ Object.freeze && Object.freeze(children);
|
|
2204
|
-
+ } else
|
|
2205
|
-
+ console.error(
|
|
2206
|
-
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
2207
|
-
+ );
|
|
2208
|
-
+ else validateChildKeys(children);
|
|
2209
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
2210
|
-
children = getComponentNameFromType(type);
|
|
2211
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
2212
|
-
@@ -520,88 +263,23 @@
|
|
2213
|
-
? type.displayName || type.name || "Unknown"
|
|
2214
|
-
: type
|
|
2215
|
-
);
|
|
2216
|
-
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
|
|
2217
|
-
- }
|
|
2218
|
-
- function validateChildKeys(node, parentType) {
|
|
2219
|
-
- if (
|
|
2220
|
-
- "object" === typeof node &&
|
|
2221
|
-
- node &&
|
|
2222
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
2223
|
-
- )
|
|
2224
|
-
- if (isArrayImpl(node))
|
|
2225
|
-
- for (var i = 0; i < node.length; i++) {
|
|
2226
|
-
- var child = node[i];
|
|
2227
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
2228
|
-
- }
|
|
2229
|
-
- else if (isValidElement(node))
|
|
2230
|
-
- node._store && (node._store.validated = 1);
|
|
2231
|
-
- else if (
|
|
2232
|
-
- (null === node || "object" !== typeof node
|
|
2233
|
-
- ? (i = null)
|
|
2234
|
-
- : ((i =
|
|
2235
|
-
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
|
|
2236
|
-
- node["@@iterator"]),
|
|
2237
|
-
- (i = "function" === typeof i ? i : null)),
|
|
2238
|
-
- "function" === typeof i &&
|
|
2239
|
-
- i !== node.entries &&
|
|
2240
|
-
- ((i = i.call(node)), i !== node))
|
|
2241
|
-
- )
|
|
2242
|
-
- for (; !(node = i.next()).done; )
|
|
2243
|
-
- isValidElement(node.value) &&
|
|
2244
|
-
- validateExplicitKey(node.value, parentType);
|
|
2245
|
-
- }
|
|
2246
|
-
- function isValidElement(object) {
|
|
2247
|
-
- return (
|
|
2248
|
-
- "object" === typeof object &&
|
|
2249
|
-
- null !== object &&
|
|
2250
|
-
- object.$$typeof === REACT_ELEMENT_TYPE
|
|
2251
|
-
+ return ReactElement(
|
|
2252
|
-
+ type,
|
|
2253
|
-
+ children,
|
|
2254
|
-
+ self,
|
|
2255
|
-
+ source,
|
|
2256
|
-
+ getOwner(),
|
|
2257
|
-
+ maybeKey,
|
|
2258
|
-
+ debugStack,
|
|
2259
|
-
+ debugTask
|
|
2260
|
-
);
|
|
2261
|
-
}
|
|
2262
|
-
- function validateExplicitKey(element, parentType) {
|
|
2263
|
-
- if (
|
|
2264
|
-
- element._store &&
|
|
2265
|
-
- !element._store.validated &&
|
|
2266
|
-
- null == element.key &&
|
|
2267
|
-
- ((element._store.validated = 1),
|
|
2268
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
2269
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
2270
|
-
- ) {
|
|
2271
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
2272
|
-
- var childOwner = "";
|
|
2273
|
-
- element &&
|
|
2274
|
-
- null != element._owner &&
|
|
2275
|
-
- element._owner !== getOwner() &&
|
|
2276
|
-
- ((childOwner = null),
|
|
2277
|
-
- "number" === typeof element._owner.tag
|
|
2278
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
2279
|
-
- : "string" === typeof element._owner.name &&
|
|
2280
|
-
- (childOwner = element._owner.name),
|
|
2281
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
2282
|
-
- var prevGetCurrentStack = ReactSharedInternalsServer.getCurrentStack;
|
|
2283
|
-
- ReactSharedInternalsServer.getCurrentStack = function () {
|
|
2284
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
2285
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
2286
|
-
- return stack;
|
|
2287
|
-
- };
|
|
2288
|
-
- console.error(
|
|
2289
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
2290
|
-
- parentType,
|
|
2291
|
-
- childOwner
|
|
2292
|
-
- );
|
|
2293
|
-
- ReactSharedInternalsServer.getCurrentStack = prevGetCurrentStack;
|
|
2294
|
-
- }
|
|
2295
|
-
- }
|
|
2296
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
2297
|
-
- var info = "",
|
|
2298
|
-
- owner = getOwner();
|
|
2299
|
-
- owner &&
|
|
2300
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
2301
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
2302
|
-
- info ||
|
|
2303
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
2304
|
-
- (info =
|
|
2305
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
2306
|
-
- return info;
|
|
2307
|
-
+ function validateChildKeys(node) {
|
|
2308
|
-
+ "object" === typeof node &&
|
|
2309
|
-
+ null !== node &&
|
|
2310
|
-
+ node.$$typeof === REACT_ELEMENT_TYPE &&
|
|
2311
|
-
+ node._store &&
|
|
2312
|
-
+ (node._store.validated = 1);
|
|
2313
|
-
}
|
|
2314
|
-
var React = require("react"),
|
|
2315
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
2316
|
-
@@ -617,9 +295,8 @@
|
|
2317
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
2318
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
2319
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
2320
|
-
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
2321
|
-
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
2322
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
2323
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
2324
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
2325
|
-
ReactSharedInternalsServer =
|
|
2326
|
-
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
2327
|
-
if (!ReactSharedInternalsServer)
|
|
2328
|
-
@@ -627,32 +304,28 @@
|
|
2329
|
-
'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
|
|
2330
|
-
);
|
|
2331
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
2332
|
-
- assign = Object.assign,
|
|
2333
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
2334
|
-
- isArrayImpl = Array.isArray,
|
|
2335
|
-
- disabledDepth = 0,
|
|
2336
|
-
- prevLog,
|
|
2337
|
-
- prevInfo,
|
|
2338
|
-
- prevWarn,
|
|
2339
|
-
- prevError,
|
|
2340
|
-
- prevGroup,
|
|
2341
|
-
- prevGroupCollapsed,
|
|
2342
|
-
- prevGroupEnd;
|
|
2343
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
2344
|
-
- var prefix,
|
|
2345
|
-
- suffix,
|
|
2346
|
-
- reentry = !1;
|
|
2347
|
-
- var componentFrameCache = new (
|
|
2348
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
2349
|
-
- )();
|
|
2350
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
2351
|
-
+ isArrayImpl = Array.isArray;
|
|
2352
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
2353
|
-
+ var createTask = console.createTask
|
|
2354
|
-
+ ? console.createTask
|
|
2355
|
-
+ : function () {
|
|
2356
|
-
+ return null;
|
|
2357
|
-
+ },
|
|
2358
|
-
specialPropKeyWarningShown;
|
|
2359
|
-
var didWarnAboutElementRef = {};
|
|
2360
|
-
- var didWarnAboutKeySpread = {},
|
|
2361
|
-
- ownerHasKeyUseWarning = {};
|
|
2362
|
-
+ var didWarnAboutKeySpread = {};
|
|
2363
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
2364
|
-
exports.jsx = function (type, config, maybeKey, source, self) {
|
|
2365
|
-
- return jsxDEVImpl(type, config, maybeKey, !1, source, self);
|
|
2366
|
-
+ return jsxDEVImpl(
|
|
2367
|
-
+ type,
|
|
2368
|
-
+ config,
|
|
2369
|
-
+ maybeKey,
|
|
2370
|
-
+ !1,
|
|
2371
|
-
+ source,
|
|
2372
|
-
+ self,
|
|
2373
|
-
+ Error("react-stack-top-frame"),
|
|
2374
|
-
+ createTask(getTaskName(type))
|
|
2375
|
-
+ );
|
|
2376
|
-
};
|
|
2377
|
-
exports.jsxDEV = function (
|
|
2378
|
-
type,
|
|
2379
|
-
@@ -662,9 +335,27 @@
|
|
2380
|
-
source,
|
|
2381
|
-
self
|
|
2382
|
-
) {
|
|
2383
|
-
- return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
|
|
2384
|
-
+ return jsxDEVImpl(
|
|
2385
|
-
+ type,
|
|
2386
|
-
+ config,
|
|
2387
|
-
+ maybeKey,
|
|
2388
|
-
+ isStaticChildren,
|
|
2389
|
-
+ source,
|
|
2390
|
-
+ self,
|
|
2391
|
-
+ Error("react-stack-top-frame"),
|
|
2392
|
-
+ createTask(getTaskName(type))
|
|
2393
|
-
+ );
|
|
2394
|
-
};
|
|
2395
|
-
exports.jsxs = function (type, config, maybeKey, source, self) {
|
|
2396
|
-
- return jsxDEVImpl(type, config, maybeKey, !0, source, self);
|
|
2397
|
-
+ return jsxDEVImpl(
|
|
2398
|
-
+ type,
|
|
2399
|
-
+ config,
|
|
2400
|
-
+ maybeKey,
|
|
2401
|
-
+ !0,
|
|
2402
|
-
+ source,
|
|
2403
|
-
+ self,
|
|
2404
|
-
+ Error("react-stack-top-frame"),
|
|
2405
|
-
+ createTask(getTaskName(type))
|
|
2406
|
-
+ );
|
|
2407
|
-
};
|
|
2408
|
-
})();
|
|
2409
1
|
diff --git a/node_modules/react/cjs/react.development.js b/node_modules/react/cjs/react.development.js
|
|
2410
|
-
index
|
|
2
|
+
index 3d59333..923b894 100644
|
|
2411
3
|
--- a/node_modules/react/cjs/react.development.js
|
|
2412
4
|
+++ b/node_modules/react/cjs/react.development.js
|
|
2413
|
-
@@ -
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
if ("function" === typeof type)
|
|
2417
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
2418
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE$1
|
|
2419
|
-
? null
|
|
2420
|
-
: type.displayName || type.name || null;
|
|
2421
|
-
if ("string" === typeof type) return type;
|
|
2422
|
-
@@ -104,6 +104,8 @@
|
|
2423
|
-
return "Suspense";
|
|
2424
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
2425
|
-
return "SuspenseList";
|
|
2426
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
2427
|
-
+ return "ViewTransition";
|
|
2428
|
-
}
|
|
2429
|
-
if ("object" === typeof type)
|
|
2430
|
-
switch (
|
|
2431
|
-
@@ -140,276 +142,20 @@
|
|
2432
|
-
}
|
|
2433
|
-
return null;
|
|
2434
|
-
}
|
|
2435
|
-
- function isValidElementType(type) {
|
|
2436
|
-
- return "string" === typeof type ||
|
|
2437
|
-
- "function" === typeof type ||
|
|
2438
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
2439
|
-
- type === REACT_PROFILER_TYPE ||
|
|
2440
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
2441
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
2442
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
2443
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
2444
|
-
- ("object" === typeof type &&
|
|
2445
|
-
- null !== type &&
|
|
2446
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
2447
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
2448
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
2449
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
2450
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
2451
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
2452
|
-
- void 0 !== type.getModuleId))
|
|
2453
|
-
- ? !0
|
|
2454
|
-
- : !1;
|
|
2455
|
-
- }
|
|
2456
|
-
- function disabledLog() {}
|
|
2457
|
-
- function disableLogs() {
|
|
2458
|
-
- if (0 === disabledDepth) {
|
|
2459
|
-
- prevLog = console.log;
|
|
2460
|
-
- prevInfo = console.info;
|
|
2461
|
-
- prevWarn = console.warn;
|
|
2462
|
-
- prevError = console.error;
|
|
2463
|
-
- prevGroup = console.group;
|
|
2464
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
2465
|
-
- prevGroupEnd = console.groupEnd;
|
|
2466
|
-
- var props = {
|
|
2467
|
-
- configurable: !0,
|
|
2468
|
-
- enumerable: !0,
|
|
2469
|
-
- value: disabledLog,
|
|
2470
|
-
- writable: !0
|
|
2471
|
-
- };
|
|
2472
|
-
- Object.defineProperties(console, {
|
|
2473
|
-
- info: props,
|
|
2474
|
-
- log: props,
|
|
2475
|
-
- warn: props,
|
|
2476
|
-
- error: props,
|
|
2477
|
-
- group: props,
|
|
2478
|
-
- groupCollapsed: props,
|
|
2479
|
-
- groupEnd: props
|
|
2480
|
-
- });
|
|
2481
|
-
- }
|
|
2482
|
-
- disabledDepth++;
|
|
2483
|
-
- }
|
|
2484
|
-
- function reenableLogs() {
|
|
2485
|
-
- disabledDepth--;
|
|
2486
|
-
- if (0 === disabledDepth) {
|
|
2487
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
2488
|
-
- Object.defineProperties(console, {
|
|
2489
|
-
- log: assign({}, props, { value: prevLog }),
|
|
2490
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
2491
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
2492
|
-
- error: assign({}, props, { value: prevError }),
|
|
2493
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
2494
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
2495
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
2496
|
-
- });
|
|
2497
|
-
- }
|
|
2498
|
-
- 0 > disabledDepth &&
|
|
2499
|
-
- console.error(
|
|
2500
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
2501
|
-
- );
|
|
2502
|
-
- }
|
|
2503
|
-
- function describeBuiltInComponentFrame(name) {
|
|
2504
|
-
- if (void 0 === prefix)
|
|
2505
|
-
- try {
|
|
2506
|
-
- throw Error();
|
|
2507
|
-
- } catch (x) {
|
|
2508
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
2509
|
-
- prefix = (match && match[1]) || "";
|
|
2510
|
-
- suffix =
|
|
2511
|
-
- -1 < x.stack.indexOf("\n at")
|
|
2512
|
-
- ? " (<anonymous>)"
|
|
2513
|
-
- : -1 < x.stack.indexOf("@")
|
|
2514
|
-
- ? "@unknown:0:0"
|
|
2515
|
-
- : "";
|
|
2516
|
-
- }
|
|
2517
|
-
- return "\n" + prefix + name + suffix;
|
|
2518
|
-
- }
|
|
2519
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
2520
|
-
- if (!fn || reentry) return "";
|
|
2521
|
-
- var frame = componentFrameCache.get(fn);
|
|
2522
|
-
- if (void 0 !== frame) return frame;
|
|
2523
|
-
- reentry = !0;
|
|
2524
|
-
- frame = Error.prepareStackTrace;
|
|
2525
|
-
- Error.prepareStackTrace = void 0;
|
|
2526
|
-
- var previousDispatcher = null;
|
|
2527
|
-
- previousDispatcher = ReactSharedInternals.H;
|
|
2528
|
-
- ReactSharedInternals.H = null;
|
|
2529
|
-
- disableLogs();
|
|
2530
|
-
+ function getTaskName(type) {
|
|
2531
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
2532
|
-
+ if (
|
|
2533
|
-
+ "object" === typeof type &&
|
|
2534
|
-
+ null !== type &&
|
|
2535
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
2536
|
-
+ )
|
|
2537
|
-
+ return "<...>";
|
|
2538
|
-
try {
|
|
2539
|
-
- var RunInRootFrame = {
|
|
2540
|
-
- DetermineComponentFrameRoot: function () {
|
|
2541
|
-
- try {
|
|
2542
|
-
- if (construct) {
|
|
2543
|
-
- var Fake = function () {
|
|
2544
|
-
- throw Error();
|
|
2545
|
-
- };
|
|
2546
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
2547
|
-
- set: function () {
|
|
2548
|
-
- throw Error();
|
|
2549
|
-
- }
|
|
2550
|
-
- });
|
|
2551
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
2552
|
-
- try {
|
|
2553
|
-
- Reflect.construct(Fake, []);
|
|
2554
|
-
- } catch (x) {
|
|
2555
|
-
- var control = x;
|
|
2556
|
-
- }
|
|
2557
|
-
- Reflect.construct(fn, [], Fake);
|
|
2558
|
-
- } else {
|
|
2559
|
-
- try {
|
|
2560
|
-
- Fake.call();
|
|
2561
|
-
- } catch (x$0) {
|
|
2562
|
-
- control = x$0;
|
|
2563
|
-
- }
|
|
2564
|
-
- fn.call(Fake.prototype);
|
|
2565
|
-
- }
|
|
2566
|
-
- } else {
|
|
2567
|
-
- try {
|
|
2568
|
-
- throw Error();
|
|
2569
|
-
- } catch (x$1) {
|
|
2570
|
-
- control = x$1;
|
|
2571
|
-
- }
|
|
2572
|
-
- (Fake = fn()) &&
|
|
2573
|
-
- "function" === typeof Fake.catch &&
|
|
2574
|
-
- Fake.catch(function () {});
|
|
2575
|
-
- }
|
|
2576
|
-
- } catch (sample) {
|
|
2577
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
2578
|
-
- return [sample.stack, control.stack];
|
|
2579
|
-
- }
|
|
2580
|
-
- return [null, null];
|
|
2581
|
-
- }
|
|
2582
|
-
- };
|
|
2583
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
2584
|
-
- "DetermineComponentFrameRoot";
|
|
2585
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
2586
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
2587
|
-
- "name"
|
|
2588
|
-
- );
|
|
2589
|
-
- namePropDescriptor &&
|
|
2590
|
-
- namePropDescriptor.configurable &&
|
|
2591
|
-
- Object.defineProperty(
|
|
2592
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
2593
|
-
- "name",
|
|
2594
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
2595
|
-
- );
|
|
2596
|
-
- var _RunInRootFrame$Deter =
|
|
2597
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
2598
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
2599
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
2600
|
-
- if (sampleStack && controlStack) {
|
|
2601
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
2602
|
-
- controlLines = controlStack.split("\n");
|
|
2603
|
-
- for (
|
|
2604
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
2605
|
-
- namePropDescriptor < sampleLines.length &&
|
|
2606
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
2607
|
-
- "DetermineComponentFrameRoot"
|
|
2608
|
-
- );
|
|
2609
|
-
-
|
|
2610
|
-
- )
|
|
2611
|
-
- namePropDescriptor++;
|
|
2612
|
-
- for (
|
|
2613
|
-
- ;
|
|
2614
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
2615
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
2616
|
-
- "DetermineComponentFrameRoot"
|
|
2617
|
-
- );
|
|
2618
|
-
-
|
|
2619
|
-
- )
|
|
2620
|
-
- _RunInRootFrame$Deter++;
|
|
2621
|
-
- if (
|
|
2622
|
-
- namePropDescriptor === sampleLines.length ||
|
|
2623
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
2624
|
-
- )
|
|
2625
|
-
- for (
|
|
2626
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
2627
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
2628
|
-
- 1 <= namePropDescriptor &&
|
|
2629
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
2630
|
-
- sampleLines[namePropDescriptor] !==
|
|
2631
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
2632
|
-
-
|
|
2633
|
-
- )
|
|
2634
|
-
- _RunInRootFrame$Deter--;
|
|
2635
|
-
- for (
|
|
2636
|
-
- ;
|
|
2637
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
2638
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
2639
|
-
- )
|
|
2640
|
-
- if (
|
|
2641
|
-
- sampleLines[namePropDescriptor] !==
|
|
2642
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
2643
|
-
- ) {
|
|
2644
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
2645
|
-
- do
|
|
2646
|
-
- if (
|
|
2647
|
-
- (namePropDescriptor--,
|
|
2648
|
-
- _RunInRootFrame$Deter--,
|
|
2649
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
2650
|
-
- sampleLines[namePropDescriptor] !==
|
|
2651
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
2652
|
-
- ) {
|
|
2653
|
-
- var _frame =
|
|
2654
|
-
- "\n" +
|
|
2655
|
-
- sampleLines[namePropDescriptor].replace(
|
|
2656
|
-
- " at new ",
|
|
2657
|
-
- " at "
|
|
2658
|
-
- );
|
|
2659
|
-
- fn.displayName &&
|
|
2660
|
-
- _frame.includes("<anonymous>") &&
|
|
2661
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
2662
|
-
- "function" === typeof fn &&
|
|
2663
|
-
- componentFrameCache.set(fn, _frame);
|
|
2664
|
-
- return _frame;
|
|
2665
|
-
- }
|
|
2666
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
2667
|
-
- }
|
|
2668
|
-
- break;
|
|
2669
|
-
- }
|
|
2670
|
-
- }
|
|
2671
|
-
- } finally {
|
|
2672
|
-
- (reentry = !1),
|
|
2673
|
-
- (ReactSharedInternals.H = previousDispatcher),
|
|
2674
|
-
- reenableLogs(),
|
|
2675
|
-
- (Error.prepareStackTrace = frame);
|
|
2676
|
-
- }
|
|
2677
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
2678
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
2679
|
-
- : "";
|
|
2680
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
2681
|
-
- return sampleLines;
|
|
2682
|
-
- }
|
|
2683
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
2684
|
-
- if (null == type) return "";
|
|
2685
|
-
- if ("function" === typeof type) {
|
|
2686
|
-
- var prototype = type.prototype;
|
|
2687
|
-
- return describeNativeComponentFrame(
|
|
2688
|
-
- type,
|
|
2689
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
2690
|
-
- );
|
|
2691
|
-
- }
|
|
2692
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
2693
|
-
- switch (type) {
|
|
2694
|
-
- case REACT_SUSPENSE_TYPE:
|
|
2695
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
2696
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
2697
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
2698
|
-
+ var name = getComponentNameFromType(type);
|
|
2699
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
2700
|
-
+ } catch (x) {
|
|
2701
|
-
+ return "<...>";
|
|
2702
|
-
}
|
|
2703
|
-
- if ("object" === typeof type)
|
|
2704
|
-
- switch (type.$$typeof) {
|
|
2705
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
2706
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
2707
|
-
- case REACT_MEMO_TYPE:
|
|
2708
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
2709
|
-
- case REACT_LAZY_TYPE:
|
|
2710
|
-
- prototype = type._payload;
|
|
2711
|
-
- type = type._init;
|
|
2712
|
-
- try {
|
|
2713
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
2714
|
-
- } catch (x) {}
|
|
2715
|
-
- }
|
|
2716
|
-
- return "";
|
|
2717
|
-
}
|
|
2718
|
-
function getOwner() {
|
|
2719
|
-
var dispatcher = ReactSharedInternals.A;
|
|
2720
|
-
@@ -447,7 +193,16 @@
|
|
2721
|
-
componentName = this.props.ref;
|
|
2722
|
-
return void 0 !== componentName ? componentName : null;
|
|
2723
|
-
}
|
|
2724
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
2725
|
-
+ function ReactElement(
|
|
2726
|
-
+ type,
|
|
2727
|
-
+ key,
|
|
2728
|
-
+ self,
|
|
2729
|
-
+ source,
|
|
2730
|
-
+ owner,
|
|
2731
|
-
+ props,
|
|
2732
|
-
+ debugStack,
|
|
2733
|
-
+ debugTask
|
|
2734
|
-
+ ) {
|
|
2735
|
-
self = props.ref;
|
|
2736
|
-
type = {
|
|
2737
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
2738
|
-
@@ -475,6 +230,18 @@
|
|
2739
|
-
writable: !0,
|
|
2740
|
-
value: null
|
|
2741
|
-
});
|
|
2742
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
2743
|
-
+ configurable: !1,
|
|
2744
|
-
+ enumerable: !1,
|
|
2745
|
-
+ writable: !0,
|
|
2746
|
-
+ value: debugStack
|
|
2747
|
-
+ });
|
|
2748
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
2749
|
-
+ configurable: !1,
|
|
2750
|
-
+ enumerable: !1,
|
|
2751
|
-
+ writable: !0,
|
|
2752
|
-
+ value: debugTask
|
|
2753
|
-
+ });
|
|
2754
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
2755
|
-
return type;
|
|
2756
|
-
}
|
|
2757
|
-
@@ -485,35 +252,13 @@
|
|
2758
|
-
void 0,
|
|
2759
|
-
void 0,
|
|
2760
|
-
oldElement._owner,
|
|
2761
|
-
- oldElement.props
|
|
2762
|
-
+ oldElement.props,
|
|
2763
|
-
+ oldElement._debugStack,
|
|
2764
|
-
+ oldElement._debugTask
|
|
5
|
+
@@ -256,8 +256,7 @@
|
|
6
|
+
oldElement._debugStack,
|
|
7
|
+
oldElement._debugTask
|
|
2765
8
|
);
|
|
2766
9
|
- oldElement._store &&
|
|
2767
10
|
- (newKey._store.validated = oldElement._store.validated);
|
|
2768
11
|
+ newKey._store.validated = oldElement._store.validated;
|
|
2769
12
|
return newKey;
|
|
2770
13
|
}
|
|
2771
|
-
- function validateChildKeys(node, parentType) {
|
|
2772
|
-
- if (
|
|
2773
|
-
- "object" === typeof node &&
|
|
2774
|
-
- node &&
|
|
2775
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
2776
|
-
- )
|
|
2777
|
-
- if (isArrayImpl(node))
|
|
2778
|
-
- for (var i = 0; i < node.length; i++) {
|
|
2779
|
-
- var child = node[i];
|
|
2780
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
2781
|
-
- }
|
|
2782
|
-
- else if (isValidElement(node))
|
|
2783
|
-
- node._store && (node._store.validated = 1);
|
|
2784
|
-
- else if (
|
|
2785
|
-
- ((i = getIteratorFn(node)),
|
|
2786
|
-
- "function" === typeof i &&
|
|
2787
|
-
- i !== node.entries &&
|
|
2788
|
-
- ((i = i.call(node)), i !== node))
|
|
2789
|
-
- )
|
|
2790
|
-
- for (; !(node = i.next()).done; )
|
|
2791
|
-
- isValidElement(node.value) &&
|
|
2792
|
-
- validateExplicitKey(node.value, parentType);
|
|
2793
|
-
- }
|
|
2794
14
|
function isValidElement(object) {
|
|
2795
|
-
|
|
2796
|
-
"object" === typeof object &&
|
|
2797
|
-
@@ -521,52 +266,6 @@
|
|
2798
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
|
2799
|
-
);
|
|
2800
|
-
}
|
|
2801
|
-
- function validateExplicitKey(element, parentType) {
|
|
2802
|
-
- if (
|
|
2803
|
-
- element._store &&
|
|
2804
|
-
- !element._store.validated &&
|
|
2805
|
-
- null == element.key &&
|
|
2806
|
-
- ((element._store.validated = 1),
|
|
2807
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
2808
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
2809
|
-
- ) {
|
|
2810
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
2811
|
-
- var childOwner = "";
|
|
2812
|
-
- element &&
|
|
2813
|
-
- null != element._owner &&
|
|
2814
|
-
- element._owner !== getOwner() &&
|
|
2815
|
-
- ((childOwner = null),
|
|
2816
|
-
- "number" === typeof element._owner.tag
|
|
2817
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
2818
|
-
- : "string" === typeof element._owner.name &&
|
|
2819
|
-
- (childOwner = element._owner.name),
|
|
2820
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
2821
|
-
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
2822
|
-
- ReactSharedInternals.getCurrentStack = function () {
|
|
2823
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
2824
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
2825
|
-
- return stack;
|
|
2826
|
-
- };
|
|
2827
|
-
- console.error(
|
|
2828
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
2829
|
-
- parentType,
|
|
2830
|
-
- childOwner
|
|
2831
|
-
- );
|
|
2832
|
-
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
2833
|
-
- }
|
|
2834
|
-
- }
|
|
2835
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
2836
|
-
- var info = "",
|
|
2837
|
-
- owner = getOwner();
|
|
2838
|
-
- owner &&
|
|
2839
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
2840
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
2841
|
-
- info ||
|
|
2842
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
2843
|
-
- (info =
|
|
2844
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
2845
|
-
- return info;
|
|
2846
|
-
- }
|
|
2847
|
-
function escape(key) {
|
|
2848
|
-
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
2849
|
-
return (
|
|
2850
|
-
@@ -795,6 +494,9 @@
|
|
2851
|
-
);
|
|
2852
|
-
return dispatcher;
|
|
2853
|
-
}
|
|
2854
|
-
+ function useOptimistic(passthrough, reducer) {
|
|
2855
|
-
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
|
|
2856
|
-
+ }
|
|
2857
|
-
function noop() {}
|
|
2858
|
-
function enqueueTask(task) {
|
|
2859
|
-
if (null === enqueueTaskImpl)
|
|
2860
|
-
@@ -897,6 +599,8 @@
|
|
2861
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
2862
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
2863
|
-
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
2864
|
-
+ REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
2865
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
2866
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
2867
|
-
didWarnStateUpdateForUnmountedComponent = {},
|
|
2868
|
-
ReactNoopUpdateQueue = {
|
|
2869
|
-
@@ -951,13 +655,12 @@
|
|
2870
|
-
assign(deprecatedAPIs, Component.prototype);
|
|
2871
|
-
deprecatedAPIs.isPureReactComponent = !0;
|
|
2872
|
-
var isArrayImpl = Array.isArray,
|
|
2873
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
2874
|
-
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
2875
|
-
ReactSharedInternals = {
|
|
2876
|
-
H: null,
|
|
15
|
+
@@ -662,7 +661,6 @@
|
|
2877
16
|
A: null,
|
|
2878
17
|
T: null,
|
|
2879
18
|
S: null,
|
|
@@ -2881,268 +20,90 @@ index a3ab7ec..923b894 100644
|
|
|
2881
20
|
actQueue: null,
|
|
2882
21
|
isBatchingLegacy: !1,
|
|
2883
22
|
didScheduleLegacyUpdate: !1,
|
|
2884
|
-
@@ -
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
2888
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
2889
|
-
- disabledDepth = 0,
|
|
2890
|
-
- prevLog,
|
|
2891
|
-
- prevInfo,
|
|
2892
|
-
- prevWarn,
|
|
2893
|
-
- prevError,
|
|
2894
|
-
- prevGroup,
|
|
2895
|
-
- prevGroupCollapsed,
|
|
2896
|
-
- prevGroupEnd;
|
|
2897
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
2898
|
-
- var prefix,
|
|
2899
|
-
- suffix,
|
|
2900
|
-
- reentry = !1;
|
|
2901
|
-
- var componentFrameCache = new (
|
|
2902
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
2903
|
-
- )();
|
|
2904
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
2905
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
2906
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
2907
|
-
+ var createTask = console.createTask
|
|
2908
|
-
+ ? console.createTask
|
|
2909
|
-
+ : function () {
|
|
2910
|
-
+ return null;
|
|
2911
|
-
+ },
|
|
2912
|
-
specialPropKeyWarningShown,
|
|
2913
|
-
didWarnAboutOldJSXRuntime;
|
|
2914
|
-
var didWarnAboutElementRef = {};
|
|
2915
|
-
- var ownerHasKeyUseWarning = {},
|
|
2916
|
-
- didWarnAboutMaps = !1,
|
|
2917
|
-
+ var didWarnAboutMaps = !1,
|
|
2918
|
-
userProvidedKeyEscapeRegex = /\/+/g,
|
|
2919
|
-
reportGlobalError =
|
|
2920
|
-
"function" === typeof reportError
|
|
2921
|
-
@@ -1128,8 +820,8 @@
|
|
2922
|
-
reject
|
|
2923
|
-
);
|
|
2924
|
-
});
|
|
2925
|
-
- } catch (error$2) {
|
|
2926
|
-
- ReactSharedInternals.thrownErrors.push(error$2);
|
|
2927
|
-
+ } catch (error$0) {
|
|
2928
|
-
+ ReactSharedInternals.thrownErrors.push(error$0);
|
|
2929
|
-
}
|
|
2930
|
-
if (0 < ReactSharedInternals.thrownErrors.length) {
|
|
2931
|
-
var _thrownError = aggregateErrors(
|
|
2932
|
-
@@ -1195,6 +887,10 @@
|
|
2933
|
-
return fn.apply(null, arguments);
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
|
-
+ exports.captureOwnerStack = function () {
|
|
2937
|
-
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
2938
|
-
+ return null === getCurrentStack ? null : getCurrentStack();
|
|
2939
|
-
+ };
|
|
2940
|
-
exports.cloneElement = function (element, config, children) {
|
|
2941
|
-
if (null === element || void 0 === element)
|
|
2942
|
-
throw Error(
|
|
2943
|
-
@@ -1240,9 +936,19 @@
|
|
2944
|
-
JSCompiler_inline_result[i] = arguments[i + 2];
|
|
2945
|
-
props.children = JSCompiler_inline_result;
|
|
2946
|
-
}
|
|
2947
|
-
- props = ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
2948
|
-
+ props = ReactElement(
|
|
2949
|
-
+ element.type,
|
|
2950
|
-
+ key,
|
|
2951
|
-
+ void 0,
|
|
2952
|
-
+ void 0,
|
|
2953
|
-
+ owner,
|
|
2954
|
-
+ props,
|
|
2955
|
-
+ element._debugStack,
|
|
2956
|
-
+ element._debugTask
|
|
2957
|
-
+ );
|
|
2958
|
-
for (key = 2; key < arguments.length; key++)
|
|
2959
|
-
- validateChildKeys(arguments[key], props.type);
|
|
2960
|
-
+ (owner = arguments[key]),
|
|
2961
|
-
+ isValidElement(owner) && owner._store && (owner._store.validated = 1);
|
|
2962
|
-
return props;
|
|
2963
|
-
};
|
|
2964
|
-
exports.createContext = function (defaultValue) {
|
|
2965
|
-
@@ -1264,40 +970,13 @@
|
|
2966
|
-
return defaultValue;
|
|
2967
|
-
};
|
|
2968
|
-
exports.createElement = function (type, config, children) {
|
|
2969
|
-
- if (isValidElementType(type))
|
|
2970
|
-
- for (var i = 2; i < arguments.length; i++)
|
|
2971
|
-
- validateChildKeys(arguments[i], type);
|
|
2972
|
-
- else {
|
|
2973
|
-
- i = "";
|
|
2974
|
-
- if (
|
|
2975
|
-
- void 0 === type ||
|
|
2976
|
-
- ("object" === typeof type &&
|
|
2977
|
-
- null !== type &&
|
|
2978
|
-
- 0 === Object.keys(type).length)
|
|
2979
|
-
- )
|
|
2980
|
-
- i +=
|
|
2981
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
2982
|
-
- if (null === type) var typeString = "null";
|
|
2983
|
-
- else
|
|
2984
|
-
- isArrayImpl(type)
|
|
2985
|
-
- ? (typeString = "array")
|
|
2986
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
2987
|
-
- ? ((typeString =
|
|
2988
|
-
- "<" +
|
|
2989
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
2990
|
-
- " />"),
|
|
2991
|
-
- (i =
|
|
2992
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
2993
|
-
- : (typeString = typeof type);
|
|
2994
|
-
- console.error(
|
|
2995
|
-
- "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
2996
|
-
- typeString,
|
|
2997
|
-
- i
|
|
2998
|
-
- );
|
|
2999
|
-
+ for (var i = 2; i < arguments.length; i++) {
|
|
3000
|
-
+ var node = arguments[i];
|
|
3001
|
-
+ isValidElement(node) && node._store && (node._store.validated = 1);
|
|
3002
|
-
}
|
|
3003
|
-
var propName;
|
|
3004
|
-
i = {};
|
|
3005
|
-
- typeString = null;
|
|
3006
|
-
+ node = null;
|
|
3007
|
-
if (null != config)
|
|
3008
|
-
for (propName in (didWarnAboutOldJSXRuntime ||
|
|
3009
|
-
!("__self" in config) ||
|
|
3010
|
-
@@ -1307,7 +986,7 @@
|
|
3011
|
-
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
3012
|
-
)),
|
|
3013
|
-
hasValidKey(config) &&
|
|
3014
|
-
- (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
|
|
3015
|
-
+ (checkKeyStringCoercion(config.key), (node = "" + config.key)),
|
|
3016
|
-
config))
|
|
3017
|
-
hasOwnProperty.call(config, propName) &&
|
|
3018
|
-
"key" !== propName &&
|
|
3019
|
-
@@ -1329,20 +1008,39 @@
|
|
3020
|
-
if (type && type.defaultProps)
|
|
3021
|
-
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
3022
|
-
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
3023
|
-
- typeString &&
|
|
3024
|
-
+ node &&
|
|
3025
|
-
defineKeyPropWarningGetter(
|
|
3026
|
-
i,
|
|
3027
|
-
"function" === typeof type
|
|
3028
|
-
? type.displayName || type.name || "Unknown"
|
|
3029
|
-
: type
|
|
3030
|
-
);
|
|
3031
|
-
- return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
|
|
3032
|
-
+ return ReactElement(
|
|
3033
|
-
+ type,
|
|
3034
|
-
+ node,
|
|
3035
|
-
+ void 0,
|
|
3036
|
-
+ void 0,
|
|
3037
|
-
+ getOwner(),
|
|
3038
|
-
+ i,
|
|
3039
|
-
+ Error("react-stack-top-frame"),
|
|
3040
|
-
+ createTask(getTaskName(type))
|
|
3041
|
-
+ );
|
|
3042
|
-
};
|
|
3043
|
-
exports.createRef = function () {
|
|
3044
|
-
var refObject = { current: null };
|
|
3045
|
-
Object.seal(refObject);
|
|
3046
|
-
return refObject;
|
|
23
|
+
@@ -1042,6 +1040,7 @@
|
|
24
|
+
);
|
|
25
|
+
return useOptimistic(passthrough, reducer);
|
|
3047
26
|
};
|
|
3048
|
-
+ exports.experimental_useEffectEvent = function (callback) {
|
|
3049
|
-
+ return resolveDispatcher().useEffectEvent(callback);
|
|
3050
|
-
+ };
|
|
3051
|
-
+ exports.experimental_useOptimistic = function (passthrough, reducer) {
|
|
3052
|
-
+ console.error(
|
|
3053
|
-
+ "useOptimistic is now in canary. Remove the experimental_ prefix. The prefixed alias will be removed in an upcoming release."
|
|
3054
|
-
+ );
|
|
3055
|
-
+ return useOptimistic(passthrough, reducer);
|
|
3056
|
-
+ };
|
|
3057
27
|
+ exports.experimental_useResourceEffect = void 0;
|
|
3058
28
|
exports.forwardRef = function (render) {
|
|
3059
29
|
null != render && render.$$typeof === REACT_MEMO_TYPE
|
|
3060
30
|
? console.error(
|
|
3061
|
-
@@ -
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
exports.
|
|
3065
|
-
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
+ null !== type &&
|
|
3077
|
-
+ (type.$$typeof === REACT_LAZY_TYPE ||
|
|
3078
|
-
+ type.$$typeof === REACT_MEMO_TYPE ||
|
|
3079
|
-
+ type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
3080
|
-
+ type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
3081
|
-
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
3082
|
-
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
3083
|
-
+ void 0 !== type.getModuleId)) ||
|
|
3084
|
-
console.error(
|
|
3085
|
-
"memo: The first argument must be a component. Instead received: %s",
|
|
3086
|
-
null === type ? "null" : typeof type
|
|
3087
|
-
@@ -1448,6 +1163,20 @@
|
|
3088
|
-
(ReactSharedInternals.T = prevTransition);
|
|
3089
|
-
}
|
|
3090
|
-
};
|
|
3091
|
-
+ exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
|
|
3092
|
-
+ exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
3093
|
-
+ exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
3094
|
-
+ exports.unstable_getCacheForType = function (resourceType) {
|
|
3095
|
-
+ var dispatcher = ReactSharedInternals.A;
|
|
3096
|
-
+ return dispatcher
|
|
3097
|
-
+ ? dispatcher.getCacheForType(resourceType)
|
|
3098
|
-
+ : resourceType();
|
|
3099
|
-
+ };
|
|
3100
|
-
+ exports.unstable_postpone = function (reason) {
|
|
3101
|
-
+ reason = Error(reason);
|
|
3102
|
-
+ reason.$$typeof = REACT_POSTPONE_TYPE;
|
|
3103
|
-
+ throw reason;
|
|
3104
|
-
+ };
|
|
31
|
+
@@ -1167,13 +1166,6 @@
|
|
32
|
+
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
|
|
33
|
+
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
34
|
+
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
35
|
+
- exports.unstable_addTransitionType = function (type) {
|
|
36
|
+
- var pendingTransitionTypes = ReactSharedInternals.V;
|
|
37
|
+
- null === pendingTransitionTypes
|
|
38
|
+
- ? (ReactSharedInternals.V = [type])
|
|
39
|
+
- : -1 === pendingTransitionTypes.indexOf(type) &&
|
|
40
|
+
- pendingTransitionTypes.push(type);
|
|
41
|
+
- };
|
|
42
|
+
exports.unstable_getCacheForType = function (resourceType) {
|
|
43
|
+
var dispatcher = ReactSharedInternals.A;
|
|
44
|
+
return dispatcher
|
|
45
|
+
@@ -1188,9 +1180,6 @@
|
|
3105
46
|
exports.unstable_useCacheRefresh = function () {
|
|
3106
47
|
return resolveDispatcher().useCacheRefresh();
|
|
3107
48
|
};
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
return resolveDispatcher().useMemo(create, deps);
|
|
3111
|
-
};
|
|
3112
|
-
- exports.useOptimistic = function (passthrough, reducer) {
|
|
3113
|
-
- return resolveDispatcher().useOptimistic(passthrough, reducer);
|
|
49
|
+
- exports.unstable_useSwipeTransition = function (previous, current, next) {
|
|
50
|
+
- return resolveDispatcher().useSwipeTransition(previous, current, next);
|
|
3114
51
|
- };
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
52
|
+
exports.use = function (usable) {
|
|
53
|
+
return resolveDispatcher().use(usable);
|
|
54
|
+
};
|
|
55
|
+
@@ -1218,17 +1207,8 @@
|
|
56
|
+
exports.useDeferredValue = function (value, initialValue) {
|
|
57
|
+
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
58
|
+
};
|
|
59
|
+
- exports.useEffect = function (create, createDeps, update) {
|
|
60
|
+
- null == create &&
|
|
61
|
+
- console.warn(
|
|
62
|
+
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
63
|
+
- );
|
|
64
|
+
- var dispatcher = resolveDispatcher();
|
|
65
|
+
- if ("function" === typeof update)
|
|
66
|
+
- throw Error(
|
|
67
|
+
- "useEffect CRUD overload is not enabled in this build of React."
|
|
68
|
+
- );
|
|
69
|
+
- return dispatcher.useEffect(create, createDeps);
|
|
70
|
+
+ exports.useEffect = function (create, deps) {
|
|
71
|
+
+ return resolveDispatcher().useEffect(create, deps);
|
|
3118
72
|
};
|
|
3119
|
-
|
|
73
|
+
exports.useId = function () {
|
|
74
|
+
return resolveDispatcher().useId();
|
|
75
|
+
@@ -1237,17 +1217,9 @@
|
|
76
|
+
return resolveDispatcher().useImperativeHandle(ref, create, deps);
|
|
77
|
+
};
|
|
78
|
+
exports.useInsertionEffect = function (create, deps) {
|
|
79
|
+
- null == create &&
|
|
80
|
+
- console.warn(
|
|
81
|
+
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
82
|
+
- );
|
|
83
|
+
return resolveDispatcher().useInsertionEffect(create, deps);
|
|
84
|
+
};
|
|
85
|
+
exports.useLayoutEffect = function (create, deps) {
|
|
86
|
+
- null == create &&
|
|
87
|
+
- console.warn(
|
|
88
|
+
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
|
89
|
+
- );
|
|
90
|
+
return resolveDispatcher().useLayoutEffect(create, deps);
|
|
91
|
+
};
|
|
92
|
+
exports.useMemo = function (create, deps) {
|
|
93
|
+
@@ -1277,7 +1249,7 @@
|
|
3120
94
|
exports.useTransition = function () {
|
|
3121
95
|
return resolveDispatcher().useTransition();
|
|
3122
96
|
};
|
|
3123
|
-
- exports.version = "19.1.0-
|
|
97
|
+
- exports.version = "19.1.0-experimental-e670e72f-20250214";
|
|
3124
98
|
+ exports.version = "19.1.0-experimental-b3a95caf-20250113";
|
|
3125
99
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
3126
100
|
"function" ===
|
|
3127
101
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
|
3128
102
|
diff --git a/node_modules/react/cjs/react.production.js b/node_modules/react/cjs/react.production.js
|
|
3129
|
-
index
|
|
103
|
+
index 12814fc..d5c7830 100644
|
|
3130
104
|
--- a/node_modules/react/cjs/react.production.js
|
|
3131
105
|
+++ b/node_modules/react/cjs/react.production.js
|
|
3132
|
-
@@ -
|
|
3133
|
-
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
3134
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
3135
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
3136
|
-
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
3137
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
3138
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
3139
|
-
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
3140
|
-
+ REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
3141
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
3142
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
3143
|
-
function getIteratorFn(maybeIterable) {
|
|
3144
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
3145
|
-
@@ -72,7 +76,7 @@ pureComponentPrototype.constructor = PureComponent;
|
|
106
|
+
@@ -76,7 +76,7 @@ pureComponentPrototype.constructor = PureComponent;
|
|
3146
107
|
assign(pureComponentPrototype, Component.prototype);
|
|
3147
108
|
pureComponentPrototype.isPureReactComponent = !0;
|
|
3148
109
|
var isArrayImpl = Array.isArray,
|
|
@@ -3151,17 +112,15 @@ index 07809c5..d5c7830 100644
|
|
|
3151
112
|
hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3152
113
|
function ReactElement(type, key, self, source, owner, props) {
|
|
3153
114
|
self = props.ref;
|
|
3154
|
-
@@ -
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
}
|
|
3158
|
-
+function
|
|
3159
|
-
+
|
|
3160
|
-
+}
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
? reportError
|
|
3164
|
-
@@ -371,6 +378,9 @@ exports.cache = function (fn) {
|
|
115
|
+
@@ -370,11 +370,17 @@ exports.__COMPILER_RUNTIME = {
|
|
116
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
+exports.act = function () {
|
|
120
|
+
+ throw Error("act(...) is not supported in production builds of React.");
|
|
121
|
+
+};
|
|
122
|
+
exports.cache = function (fn) {
|
|
123
|
+
return function () {
|
|
3165
124
|
return fn.apply(null, arguments);
|
|
3166
125
|
};
|
|
3167
126
|
};
|
|
@@ -3171,883 +130,75 @@ index 07809c5..d5c7830 100644
|
|
|
3171
130
|
exports.cloneElement = function (element, config, children) {
|
|
3172
131
|
if (null === element || void 0 === element)
|
|
3173
132
|
throw Error(
|
|
3174
|
-
@@ -
|
|
3175
|
-
exports.
|
|
3176
|
-
return
|
|
133
|
+
@@ -451,6 +457,7 @@ exports.experimental_useEffectEvent = function (callback) {
|
|
134
|
+
exports.experimental_useOptimistic = function (passthrough, reducer) {
|
|
135
|
+
return useOptimistic(passthrough, reducer);
|
|
3177
136
|
};
|
|
3178
|
-
+exports.experimental_useEffectEvent = function (callback) {
|
|
3179
|
-
+ return ReactSharedInternals.H.useEffectEvent(callback);
|
|
3180
|
-
+};
|
|
3181
|
-
+exports.experimental_useOptimistic = function (passthrough, reducer) {
|
|
3182
|
-
+ return useOptimistic(passthrough, reducer);
|
|
3183
|
-
+};
|
|
3184
137
|
+exports.experimental_useResourceEffect = void 0;
|
|
3185
138
|
exports.forwardRef = function (render) {
|
|
3186
139
|
return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
|
|
3187
140
|
};
|
|
3188
|
-
@@ -
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
+
|
|
3203
|
-
+};
|
|
141
|
+
@@ -491,13 +498,6 @@ exports.startTransition = function (scope) {
|
|
142
|
+
exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
|
|
143
|
+
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
144
|
+
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
145
|
+
-exports.unstable_addTransitionType = function (type) {
|
|
146
|
+
- var pendingTransitionTypes = ReactSharedInternals.V;
|
|
147
|
+
- null === pendingTransitionTypes
|
|
148
|
+
- ? (ReactSharedInternals.V = [type])
|
|
149
|
+
- : -1 === pendingTransitionTypes.indexOf(type) &&
|
|
150
|
+
- pendingTransitionTypes.push(type);
|
|
151
|
+
-};
|
|
152
|
+
exports.unstable_getCacheForType = function (resourceType) {
|
|
153
|
+
var dispatcher = ReactSharedInternals.A;
|
|
154
|
+
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
|
|
155
|
+
@@ -510,9 +510,6 @@ exports.unstable_postpone = function (reason) {
|
|
3204
156
|
exports.unstable_useCacheRefresh = function () {
|
|
3205
157
|
return ReactSharedInternals.H.useCacheRefresh();
|
|
3206
158
|
};
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
return ReactSharedInternals.H.useMemo(create, deps);
|
|
3210
|
-
};
|
|
3211
|
-
-exports.useOptimistic = function (passthrough, reducer) {
|
|
3212
|
-
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
159
|
+
-exports.unstable_useSwipeTransition = function (previous, current, next) {
|
|
160
|
+
- return ReactSharedInternals.H.useSwipeTransition(previous, current, next);
|
|
3213
161
|
-};
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
162
|
+
exports.use = function (usable) {
|
|
163
|
+
return ReactSharedInternals.H.use(usable);
|
|
164
|
+
};
|
|
165
|
+
@@ -529,13 +526,8 @@ exports.useDebugValue = function () {};
|
|
166
|
+
exports.useDeferredValue = function (value, initialValue) {
|
|
167
|
+
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
3217
168
|
};
|
|
3218
|
-
|
|
169
|
+
-exports.useEffect = function (create, createDeps, update) {
|
|
170
|
+
- var dispatcher = ReactSharedInternals.H;
|
|
171
|
+
- if ("function" === typeof update)
|
|
172
|
+
- throw Error(
|
|
173
|
+
- "useEffect CRUD overload is not enabled in this build of React."
|
|
174
|
+
- );
|
|
175
|
+
- return dispatcher.useEffect(create, createDeps);
|
|
176
|
+
+exports.useEffect = function (create, deps) {
|
|
177
|
+
+ return ReactSharedInternals.H.useEffect(create, deps);
|
|
178
|
+
};
|
|
179
|
+
exports.useId = function () {
|
|
180
|
+
return ReactSharedInternals.H.useId();
|
|
181
|
+
@@ -576,4 +568,4 @@ exports.useSyncExternalStore = function (
|
|
3219
182
|
exports.useTransition = function () {
|
|
3220
183
|
return ReactSharedInternals.H.useTransition();
|
|
3221
184
|
};
|
|
3222
|
-
-exports.version = "19.1.0-
|
|
185
|
+
-exports.version = "19.1.0-experimental-e670e72f-20250214";
|
|
3223
186
|
+exports.version = "19.1.0-experimental-b3a95caf-20250113";
|
|
3224
187
|
diff --git a/node_modules/react/cjs/react.react-server.development.js b/node_modules/react/cjs/react.react-server.development.js
|
|
3225
|
-
index
|
|
188
|
+
index a577412..3246c43 100644
|
|
3226
189
|
--- a/node_modules/react/cjs/react.react-server.development.js
|
|
3227
190
|
+++ b/node_modules/react/cjs/react.react-server.development.js
|
|
3228
|
-
@@ -
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
if ("function" === typeof type)
|
|
3232
|
-
- return type.$$typeof === REACT_CLIENT_REFERENCE$2
|
|
3233
|
-
+ return type.$$typeof === REACT_CLIENT_REFERENCE$1
|
|
3234
|
-
? null
|
|
3235
|
-
: type.displayName || type.name || null;
|
|
3236
|
-
if ("string" === typeof type) return type;
|
|
3237
|
-
@@ -66,6 +66,8 @@
|
|
3238
|
-
return "Suspense";
|
|
3239
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
3240
|
-
return "SuspenseList";
|
|
3241
|
-
+ case REACT_VIEW_TRANSITION_TYPE:
|
|
3242
|
-
+ return "ViewTransition";
|
|
3243
|
-
}
|
|
3244
|
-
if ("object" === typeof type)
|
|
3245
|
-
switch (
|
|
3246
|
-
@@ -102,276 +104,20 @@
|
|
3247
|
-
}
|
|
3248
|
-
return null;
|
|
3249
|
-
}
|
|
3250
|
-
- function isValidElementType(type) {
|
|
3251
|
-
- return "string" === typeof type ||
|
|
3252
|
-
- "function" === typeof type ||
|
|
3253
|
-
- type === REACT_FRAGMENT_TYPE ||
|
|
3254
|
-
- type === REACT_PROFILER_TYPE ||
|
|
3255
|
-
- type === REACT_STRICT_MODE_TYPE ||
|
|
3256
|
-
- type === REACT_SUSPENSE_TYPE ||
|
|
3257
|
-
- type === REACT_SUSPENSE_LIST_TYPE ||
|
|
3258
|
-
- type === REACT_OFFSCREEN_TYPE ||
|
|
3259
|
-
- ("object" === typeof type &&
|
|
3260
|
-
- null !== type &&
|
|
3261
|
-
- (type.$$typeof === REACT_LAZY_TYPE ||
|
|
3262
|
-
- type.$$typeof === REACT_MEMO_TYPE ||
|
|
3263
|
-
- type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
3264
|
-
- type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
3265
|
-
- type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
3266
|
-
- type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
|
|
3267
|
-
- void 0 !== type.getModuleId))
|
|
3268
|
-
- ? !0
|
|
3269
|
-
- : !1;
|
|
3270
|
-
- }
|
|
3271
|
-
- function disabledLog() {}
|
|
3272
|
-
- function disableLogs() {
|
|
3273
|
-
- if (0 === disabledDepth) {
|
|
3274
|
-
- prevLog = console.log;
|
|
3275
|
-
- prevInfo = console.info;
|
|
3276
|
-
- prevWarn = console.warn;
|
|
3277
|
-
- prevError = console.error;
|
|
3278
|
-
- prevGroup = console.group;
|
|
3279
|
-
- prevGroupCollapsed = console.groupCollapsed;
|
|
3280
|
-
- prevGroupEnd = console.groupEnd;
|
|
3281
|
-
- var props = {
|
|
3282
|
-
- configurable: !0,
|
|
3283
|
-
- enumerable: !0,
|
|
3284
|
-
- value: disabledLog,
|
|
3285
|
-
- writable: !0
|
|
3286
|
-
- };
|
|
3287
|
-
- Object.defineProperties(console, {
|
|
3288
|
-
- info: props,
|
|
3289
|
-
- log: props,
|
|
3290
|
-
- warn: props,
|
|
3291
|
-
- error: props,
|
|
3292
|
-
- group: props,
|
|
3293
|
-
- groupCollapsed: props,
|
|
3294
|
-
- groupEnd: props
|
|
3295
|
-
- });
|
|
3296
|
-
- }
|
|
3297
|
-
- disabledDepth++;
|
|
3298
|
-
- }
|
|
3299
|
-
- function reenableLogs() {
|
|
3300
|
-
- disabledDepth--;
|
|
3301
|
-
- if (0 === disabledDepth) {
|
|
3302
|
-
- var props = { configurable: !0, enumerable: !0, writable: !0 };
|
|
3303
|
-
- Object.defineProperties(console, {
|
|
3304
|
-
- log: assign({}, props, { value: prevLog }),
|
|
3305
|
-
- info: assign({}, props, { value: prevInfo }),
|
|
3306
|
-
- warn: assign({}, props, { value: prevWarn }),
|
|
3307
|
-
- error: assign({}, props, { value: prevError }),
|
|
3308
|
-
- group: assign({}, props, { value: prevGroup }),
|
|
3309
|
-
- groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
3310
|
-
- groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
3311
|
-
- });
|
|
3312
|
-
- }
|
|
3313
|
-
- 0 > disabledDepth &&
|
|
3314
|
-
- console.error(
|
|
3315
|
-
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
3316
|
-
- );
|
|
3317
|
-
- }
|
|
3318
|
-
- function describeBuiltInComponentFrame(name) {
|
|
3319
|
-
- if (void 0 === prefix)
|
|
3320
|
-
- try {
|
|
3321
|
-
- throw Error();
|
|
3322
|
-
- } catch (x) {
|
|
3323
|
-
- var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
3324
|
-
- prefix = (match && match[1]) || "";
|
|
3325
|
-
- suffix =
|
|
3326
|
-
- -1 < x.stack.indexOf("\n at")
|
|
3327
|
-
- ? " (<anonymous>)"
|
|
3328
|
-
- : -1 < x.stack.indexOf("@")
|
|
3329
|
-
- ? "@unknown:0:0"
|
|
3330
|
-
- : "";
|
|
3331
|
-
- }
|
|
3332
|
-
- return "\n" + prefix + name + suffix;
|
|
3333
|
-
- }
|
|
3334
|
-
- function describeNativeComponentFrame(fn, construct) {
|
|
3335
|
-
- if (!fn || reentry) return "";
|
|
3336
|
-
- var frame = componentFrameCache.get(fn);
|
|
3337
|
-
- if (void 0 !== frame) return frame;
|
|
3338
|
-
- reentry = !0;
|
|
3339
|
-
- frame = Error.prepareStackTrace;
|
|
3340
|
-
- Error.prepareStackTrace = void 0;
|
|
3341
|
-
- var previousDispatcher = null;
|
|
3342
|
-
- previousDispatcher = ReactSharedInternals.H;
|
|
3343
|
-
- ReactSharedInternals.H = null;
|
|
3344
|
-
- disableLogs();
|
|
3345
|
-
+ function getTaskName(type) {
|
|
3346
|
-
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
3347
|
-
+ if (
|
|
3348
|
-
+ "object" === typeof type &&
|
|
3349
|
-
+ null !== type &&
|
|
3350
|
-
+ type.$$typeof === REACT_LAZY_TYPE
|
|
3351
|
-
+ )
|
|
3352
|
-
+ return "<...>";
|
|
3353
|
-
try {
|
|
3354
|
-
- var RunInRootFrame = {
|
|
3355
|
-
- DetermineComponentFrameRoot: function () {
|
|
3356
|
-
- try {
|
|
3357
|
-
- if (construct) {
|
|
3358
|
-
- var Fake = function () {
|
|
3359
|
-
- throw Error();
|
|
3360
|
-
- };
|
|
3361
|
-
- Object.defineProperty(Fake.prototype, "props", {
|
|
3362
|
-
- set: function () {
|
|
3363
|
-
- throw Error();
|
|
3364
|
-
- }
|
|
3365
|
-
- });
|
|
3366
|
-
- if ("object" === typeof Reflect && Reflect.construct) {
|
|
3367
|
-
- try {
|
|
3368
|
-
- Reflect.construct(Fake, []);
|
|
3369
|
-
- } catch (x) {
|
|
3370
|
-
- var control = x;
|
|
3371
|
-
- }
|
|
3372
|
-
- Reflect.construct(fn, [], Fake);
|
|
3373
|
-
- } else {
|
|
3374
|
-
- try {
|
|
3375
|
-
- Fake.call();
|
|
3376
|
-
- } catch (x$0) {
|
|
3377
|
-
- control = x$0;
|
|
3378
|
-
- }
|
|
3379
|
-
- fn.call(Fake.prototype);
|
|
3380
|
-
- }
|
|
3381
|
-
- } else {
|
|
3382
|
-
- try {
|
|
3383
|
-
- throw Error();
|
|
3384
|
-
- } catch (x$1) {
|
|
3385
|
-
- control = x$1;
|
|
3386
|
-
- }
|
|
3387
|
-
- (Fake = fn()) &&
|
|
3388
|
-
- "function" === typeof Fake.catch &&
|
|
3389
|
-
- Fake.catch(function () {});
|
|
3390
|
-
- }
|
|
3391
|
-
- } catch (sample) {
|
|
3392
|
-
- if (sample && control && "string" === typeof sample.stack)
|
|
3393
|
-
- return [sample.stack, control.stack];
|
|
3394
|
-
- }
|
|
3395
|
-
- return [null, null];
|
|
3396
|
-
- }
|
|
3397
|
-
- };
|
|
3398
|
-
- RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
|
3399
|
-
- "DetermineComponentFrameRoot";
|
|
3400
|
-
- var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
3401
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
3402
|
-
- "name"
|
|
3403
|
-
- );
|
|
3404
|
-
- namePropDescriptor &&
|
|
3405
|
-
- namePropDescriptor.configurable &&
|
|
3406
|
-
- Object.defineProperty(
|
|
3407
|
-
- RunInRootFrame.DetermineComponentFrameRoot,
|
|
3408
|
-
- "name",
|
|
3409
|
-
- { value: "DetermineComponentFrameRoot" }
|
|
3410
|
-
- );
|
|
3411
|
-
- var _RunInRootFrame$Deter =
|
|
3412
|
-
- RunInRootFrame.DetermineComponentFrameRoot(),
|
|
3413
|
-
- sampleStack = _RunInRootFrame$Deter[0],
|
|
3414
|
-
- controlStack = _RunInRootFrame$Deter[1];
|
|
3415
|
-
- if (sampleStack && controlStack) {
|
|
3416
|
-
- var sampleLines = sampleStack.split("\n"),
|
|
3417
|
-
- controlLines = controlStack.split("\n");
|
|
3418
|
-
- for (
|
|
3419
|
-
- _RunInRootFrame$Deter = namePropDescriptor = 0;
|
|
3420
|
-
- namePropDescriptor < sampleLines.length &&
|
|
3421
|
-
- !sampleLines[namePropDescriptor].includes(
|
|
3422
|
-
- "DetermineComponentFrameRoot"
|
|
3423
|
-
- );
|
|
3424
|
-
-
|
|
3425
|
-
- )
|
|
3426
|
-
- namePropDescriptor++;
|
|
3427
|
-
- for (
|
|
3428
|
-
- ;
|
|
3429
|
-
- _RunInRootFrame$Deter < controlLines.length &&
|
|
3430
|
-
- !controlLines[_RunInRootFrame$Deter].includes(
|
|
3431
|
-
- "DetermineComponentFrameRoot"
|
|
3432
|
-
- );
|
|
3433
|
-
-
|
|
3434
|
-
- )
|
|
3435
|
-
- _RunInRootFrame$Deter++;
|
|
3436
|
-
- if (
|
|
3437
|
-
- namePropDescriptor === sampleLines.length ||
|
|
3438
|
-
- _RunInRootFrame$Deter === controlLines.length
|
|
3439
|
-
- )
|
|
3440
|
-
- for (
|
|
3441
|
-
- namePropDescriptor = sampleLines.length - 1,
|
|
3442
|
-
- _RunInRootFrame$Deter = controlLines.length - 1;
|
|
3443
|
-
- 1 <= namePropDescriptor &&
|
|
3444
|
-
- 0 <= _RunInRootFrame$Deter &&
|
|
3445
|
-
- sampleLines[namePropDescriptor] !==
|
|
3446
|
-
- controlLines[_RunInRootFrame$Deter];
|
|
3447
|
-
-
|
|
3448
|
-
- )
|
|
3449
|
-
- _RunInRootFrame$Deter--;
|
|
3450
|
-
- for (
|
|
3451
|
-
- ;
|
|
3452
|
-
- 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
|
|
3453
|
-
- namePropDescriptor--, _RunInRootFrame$Deter--
|
|
3454
|
-
- )
|
|
3455
|
-
- if (
|
|
3456
|
-
- sampleLines[namePropDescriptor] !==
|
|
3457
|
-
- controlLines[_RunInRootFrame$Deter]
|
|
3458
|
-
- ) {
|
|
3459
|
-
- if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
|
|
3460
|
-
- do
|
|
3461
|
-
- if (
|
|
3462
|
-
- (namePropDescriptor--,
|
|
3463
|
-
- _RunInRootFrame$Deter--,
|
|
3464
|
-
- 0 > _RunInRootFrame$Deter ||
|
|
3465
|
-
- sampleLines[namePropDescriptor] !==
|
|
3466
|
-
- controlLines[_RunInRootFrame$Deter])
|
|
3467
|
-
- ) {
|
|
3468
|
-
- var _frame =
|
|
3469
|
-
- "\n" +
|
|
3470
|
-
- sampleLines[namePropDescriptor].replace(
|
|
3471
|
-
- " at new ",
|
|
3472
|
-
- " at "
|
|
3473
|
-
- );
|
|
3474
|
-
- fn.displayName &&
|
|
3475
|
-
- _frame.includes("<anonymous>") &&
|
|
3476
|
-
- (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
3477
|
-
- "function" === typeof fn &&
|
|
3478
|
-
- componentFrameCache.set(fn, _frame);
|
|
3479
|
-
- return _frame;
|
|
3480
|
-
- }
|
|
3481
|
-
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
3482
|
-
- }
|
|
3483
|
-
- break;
|
|
3484
|
-
- }
|
|
3485
|
-
- }
|
|
3486
|
-
- } finally {
|
|
3487
|
-
- (reentry = !1),
|
|
3488
|
-
- (ReactSharedInternals.H = previousDispatcher),
|
|
3489
|
-
- reenableLogs(),
|
|
3490
|
-
- (Error.prepareStackTrace = frame);
|
|
3491
|
-
+ var name = getComponentNameFromType(type);
|
|
3492
|
-
+ return name ? "<" + name + ">" : "<...>";
|
|
3493
|
-
+ } catch (x) {
|
|
3494
|
-
+ return "<...>";
|
|
3495
|
-
}
|
|
3496
|
-
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
|
|
3497
|
-
- ? describeBuiltInComponentFrame(sampleLines)
|
|
3498
|
-
- : "";
|
|
3499
|
-
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
|
|
3500
|
-
- return sampleLines;
|
|
3501
|
-
- }
|
|
3502
|
-
- function describeUnknownElementTypeFrameInDEV(type) {
|
|
3503
|
-
- if (null == type) return "";
|
|
3504
|
-
- if ("function" === typeof type) {
|
|
3505
|
-
- var prototype = type.prototype;
|
|
3506
|
-
- return describeNativeComponentFrame(
|
|
3507
|
-
- type,
|
|
3508
|
-
- !(!prototype || !prototype.isReactComponent)
|
|
3509
|
-
- );
|
|
3510
|
-
- }
|
|
3511
|
-
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
3512
|
-
- switch (type) {
|
|
3513
|
-
- case REACT_SUSPENSE_TYPE:
|
|
3514
|
-
- return describeBuiltInComponentFrame("Suspense");
|
|
3515
|
-
- case REACT_SUSPENSE_LIST_TYPE:
|
|
3516
|
-
- return describeBuiltInComponentFrame("SuspenseList");
|
|
3517
|
-
- }
|
|
3518
|
-
- if ("object" === typeof type)
|
|
3519
|
-
- switch (type.$$typeof) {
|
|
3520
|
-
- case REACT_FORWARD_REF_TYPE:
|
|
3521
|
-
- return describeNativeComponentFrame(type.render, !1);
|
|
3522
|
-
- case REACT_MEMO_TYPE:
|
|
3523
|
-
- return describeUnknownElementTypeFrameInDEV(type.type);
|
|
3524
|
-
- case REACT_LAZY_TYPE:
|
|
3525
|
-
- prototype = type._payload;
|
|
3526
|
-
- type = type._init;
|
|
3527
|
-
- try {
|
|
3528
|
-
- return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
3529
|
-
- } catch (x) {}
|
|
3530
|
-
- }
|
|
3531
|
-
- return "";
|
|
3532
|
-
}
|
|
3533
|
-
function getOwner() {
|
|
3534
|
-
var dispatcher = ReactSharedInternals.A;
|
|
3535
|
-
@@ -409,7 +155,16 @@
|
|
3536
|
-
componentName = this.props.ref;
|
|
3537
|
-
return void 0 !== componentName ? componentName : null;
|
|
3538
|
-
}
|
|
3539
|
-
- function ReactElement(type, key, self, source, owner, props) {
|
|
3540
|
-
+ function ReactElement(
|
|
3541
|
-
+ type,
|
|
3542
|
-
+ key,
|
|
3543
|
-
+ self,
|
|
3544
|
-
+ source,
|
|
3545
|
-
+ owner,
|
|
3546
|
-
+ props,
|
|
3547
|
-
+ debugStack,
|
|
3548
|
-
+ debugTask
|
|
3549
|
-
+ ) {
|
|
3550
|
-
self = props.ref;
|
|
3551
|
-
type = {
|
|
3552
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
3553
|
-
@@ -437,6 +192,18 @@
|
|
3554
|
-
writable: !0,
|
|
3555
|
-
value: null
|
|
3556
|
-
});
|
|
3557
|
-
+ Object.defineProperty(type, "_debugStack", {
|
|
3558
|
-
+ configurable: !1,
|
|
3559
|
-
+ enumerable: !1,
|
|
3560
|
-
+ writable: !0,
|
|
3561
|
-
+ value: debugStack
|
|
3562
|
-
+ });
|
|
3563
|
-
+ Object.defineProperty(type, "_debugTask", {
|
|
3564
|
-
+ configurable: !1,
|
|
3565
|
-
+ enumerable: !1,
|
|
3566
|
-
+ writable: !0,
|
|
3567
|
-
+ value: debugTask
|
|
3568
|
-
+ });
|
|
3569
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
3570
|
-
return type;
|
|
3571
|
-
}
|
|
3572
|
-
@@ -447,35 +214,13 @@
|
|
3573
|
-
void 0,
|
|
3574
|
-
void 0,
|
|
3575
|
-
oldElement._owner,
|
|
3576
|
-
- oldElement.props
|
|
3577
|
-
+ oldElement.props,
|
|
3578
|
-
+ oldElement._debugStack,
|
|
3579
|
-
+ oldElement._debugTask
|
|
191
|
+
@@ -218,8 +218,7 @@
|
|
192
|
+
oldElement._debugStack,
|
|
193
|
+
oldElement._debugTask
|
|
3580
194
|
);
|
|
3581
195
|
- oldElement._store &&
|
|
3582
196
|
- (newKey._store.validated = oldElement._store.validated);
|
|
3583
197
|
+ newKey._store.validated = oldElement._store.validated;
|
|
3584
198
|
return newKey;
|
|
3585
199
|
}
|
|
3586
|
-
- function validateChildKeys(node, parentType) {
|
|
3587
|
-
- if (
|
|
3588
|
-
- "object" === typeof node &&
|
|
3589
|
-
- node &&
|
|
3590
|
-
- node.$$typeof !== REACT_CLIENT_REFERENCE
|
|
3591
|
-
- )
|
|
3592
|
-
- if (isArrayImpl(node))
|
|
3593
|
-
- for (var i = 0; i < node.length; i++) {
|
|
3594
|
-
- var child = node[i];
|
|
3595
|
-
- isValidElement(child) && validateExplicitKey(child, parentType);
|
|
3596
|
-
- }
|
|
3597
|
-
- else if (isValidElement(node))
|
|
3598
|
-
- node._store && (node._store.validated = 1);
|
|
3599
|
-
- else if (
|
|
3600
|
-
- ((i = getIteratorFn(node)),
|
|
3601
|
-
- "function" === typeof i &&
|
|
3602
|
-
- i !== node.entries &&
|
|
3603
|
-
- ((i = i.call(node)), i !== node))
|
|
3604
|
-
- )
|
|
3605
|
-
- for (; !(node = i.next()).done; )
|
|
3606
|
-
- isValidElement(node.value) &&
|
|
3607
|
-
- validateExplicitKey(node.value, parentType);
|
|
3608
|
-
- }
|
|
3609
200
|
function isValidElement(object) {
|
|
3610
|
-
|
|
3611
|
-
"object" === typeof object &&
|
|
3612
|
-
@@ -483,52 +228,6 @@
|
|
3613
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
|
3614
|
-
);
|
|
3615
|
-
}
|
|
3616
|
-
- function validateExplicitKey(element, parentType) {
|
|
3617
|
-
- if (
|
|
3618
|
-
- element._store &&
|
|
3619
|
-
- !element._store.validated &&
|
|
3620
|
-
- null == element.key &&
|
|
3621
|
-
- ((element._store.validated = 1),
|
|
3622
|
-
- (parentType = getCurrentComponentErrorInfo(parentType)),
|
|
3623
|
-
- !ownerHasKeyUseWarning[parentType])
|
|
3624
|
-
- ) {
|
|
3625
|
-
- ownerHasKeyUseWarning[parentType] = !0;
|
|
3626
|
-
- var childOwner = "";
|
|
3627
|
-
- element &&
|
|
3628
|
-
- null != element._owner &&
|
|
3629
|
-
- element._owner !== getOwner() &&
|
|
3630
|
-
- ((childOwner = null),
|
|
3631
|
-
- "number" === typeof element._owner.tag
|
|
3632
|
-
- ? (childOwner = getComponentNameFromType(element._owner.type))
|
|
3633
|
-
- : "string" === typeof element._owner.name &&
|
|
3634
|
-
- (childOwner = element._owner.name),
|
|
3635
|
-
- (childOwner = " It was passed a child from " + childOwner + "."));
|
|
3636
|
-
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
3637
|
-
- ReactSharedInternals.getCurrentStack = function () {
|
|
3638
|
-
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
3639
|
-
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
3640
|
-
- return stack;
|
|
3641
|
-
- };
|
|
3642
|
-
- console.error(
|
|
3643
|
-
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
3644
|
-
- parentType,
|
|
3645
|
-
- childOwner
|
|
3646
|
-
- );
|
|
3647
|
-
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
3648
|
-
- }
|
|
3649
|
-
- }
|
|
3650
|
-
- function getCurrentComponentErrorInfo(parentType) {
|
|
3651
|
-
- var info = "",
|
|
3652
|
-
- owner = getOwner();
|
|
3653
|
-
- owner &&
|
|
3654
|
-
- (owner = getComponentNameFromType(owner.type)) &&
|
|
3655
|
-
- (info = "\n\nCheck the render method of `" + owner + "`.");
|
|
3656
|
-
- info ||
|
|
3657
|
-
- ((parentType = getComponentNameFromType(parentType)) &&
|
|
3658
|
-
- (info =
|
|
3659
|
-
- "\n\nCheck the top-level render call using <" + parentType + ">."));
|
|
3660
|
-
- return info;
|
|
3661
|
-
- }
|
|
3662
|
-
function escape(key) {
|
|
3663
|
-
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
3664
|
-
return (
|
|
3665
|
-
@@ -545,7 +244,7 @@
|
|
3666
|
-
? (checkKeyStringCoercion(element.key), escape("" + element.key))
|
|
3667
|
-
: index.toString(36);
|
|
3668
|
-
}
|
|
3669
|
-
- function noop() {}
|
|
3670
|
-
+ function noop$1() {}
|
|
3671
|
-
function resolveThenable(thenable) {
|
|
3672
|
-
switch (thenable.status) {
|
|
3673
|
-
case "fulfilled":
|
|
3674
|
-
@@ -555,7 +254,7 @@
|
|
3675
|
-
default:
|
|
3676
|
-
switch (
|
|
3677
|
-
("string" === typeof thenable.status
|
|
3678
|
-
- ? thenable.then(noop, noop)
|
|
3679
|
-
+ ? thenable.then(noop$1, noop$1)
|
|
3680
|
-
: ((thenable.status = "pending"),
|
|
3681
|
-
thenable.then(
|
|
3682
|
-
function (fulfilledValue) {
|
|
3683
|
-
@@ -763,8 +462,30 @@
|
|
3684
|
-
function createCacheNode() {
|
|
3685
|
-
return { s: 0, v: void 0, o: null, p: null };
|
|
3686
|
-
}
|
|
3687
|
-
- var ReactSharedInternals = { H: null, A: null, getCurrentStack: null },
|
|
3688
|
-
- isArrayImpl = Array.isArray,
|
|
3689
|
-
+ function noop() {}
|
|
3690
|
-
+ function cleanup(entryValue) {
|
|
3691
|
-
+ var entry = TaintRegistryValues.get(entryValue);
|
|
3692
|
-
+ void 0 !== entry &&
|
|
3693
|
-
+ (TaintRegistryPendingRequests.forEach(function (requestQueue) {
|
|
3694
|
-
+ requestQueue.push(entryValue);
|
|
3695
|
-
+ entry.count++;
|
|
3696
|
-
+ }),
|
|
3697
|
-
+ 1 === entry.count
|
|
3698
|
-
+ ? TaintRegistryValues.delete(entryValue)
|
|
3699
|
-
+ : entry.count--);
|
|
3700
|
-
+ }
|
|
3701
|
-
+ var TaintRegistryObjects$1 = new WeakMap(),
|
|
3702
|
-
+ TaintRegistryValues$1 = new Map(),
|
|
3703
|
-
+ TaintRegistryByteLengths$1 = new Set(),
|
|
3704
|
-
+ TaintRegistryPendingRequests$1 = new Set(),
|
|
3705
|
-
+ ReactSharedInternals = { H: null, A: null };
|
|
3706
|
-
+ ReactSharedInternals.TaintRegistryObjects = TaintRegistryObjects$1;
|
|
3707
|
-
+ ReactSharedInternals.TaintRegistryValues = TaintRegistryValues$1;
|
|
3708
|
-
+ ReactSharedInternals.TaintRegistryByteLengths = TaintRegistryByteLengths$1;
|
|
3709
|
-
+ ReactSharedInternals.TaintRegistryPendingRequests =
|
|
3710
|
-
+ TaintRegistryPendingRequests$1;
|
|
3711
|
-
+ ReactSharedInternals.getCurrentStack = null;
|
|
3712
|
-
+ var isArrayImpl = Array.isArray,
|
|
3713
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
3714
|
-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
3715
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
3716
|
-
@@ -779,33 +500,66 @@
|
|
3717
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
3718
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
3719
|
-
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
3720
|
-
+ REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
3721
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
3722
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
|
3723
|
-
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
|
|
3724
|
-
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
3725
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
3726
|
-
assign = Object.assign,
|
|
3727
|
-
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
|
|
3728
|
-
- disabledDepth = 0,
|
|
3729
|
-
- prevLog,
|
|
3730
|
-
- prevInfo,
|
|
3731
|
-
- prevWarn,
|
|
3732
|
-
- prevError,
|
|
3733
|
-
- prevGroup,
|
|
3734
|
-
- prevGroupCollapsed,
|
|
3735
|
-
- prevGroupEnd;
|
|
3736
|
-
- disabledLog.__reactDisabledLog = !0;
|
|
3737
|
-
- var prefix,
|
|
3738
|
-
- suffix,
|
|
3739
|
-
- reentry = !1;
|
|
3740
|
-
- var componentFrameCache = new (
|
|
3741
|
-
- "function" === typeof WeakMap ? WeakMap : Map
|
|
3742
|
-
- )();
|
|
3743
|
-
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
3744
|
-
+ REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
3745
|
-
+ new ("function" === typeof WeakMap ? WeakMap : Map)();
|
|
3746
|
-
+ var createTask = console.createTask
|
|
3747
|
-
+ ? console.createTask
|
|
3748
|
-
+ : function () {
|
|
3749
|
-
+ return null;
|
|
3750
|
-
+ },
|
|
3751
|
-
specialPropKeyWarningShown,
|
|
3752
|
-
didWarnAboutOldJSXRuntime;
|
|
3753
|
-
var didWarnAboutElementRef = {};
|
|
3754
|
-
- var ownerHasKeyUseWarning = {},
|
|
3755
|
-
- didWarnAboutMaps = !1,
|
|
3756
|
-
- userProvidedKeyEscapeRegex = /\/+/g;
|
|
3757
|
-
+ var didWarnAboutMaps = !1,
|
|
3758
|
-
+ userProvidedKeyEscapeRegex = /\/+/g,
|
|
3759
|
-
+ reportGlobalError =
|
|
3760
|
-
+ "function" === typeof reportError
|
|
3761
|
-
+ ? reportError
|
|
3762
|
-
+ : function (error) {
|
|
3763
|
-
+ if (
|
|
3764
|
-
+ "object" === typeof window &&
|
|
3765
|
-
+ "function" === typeof window.ErrorEvent
|
|
3766
|
-
+ ) {
|
|
3767
|
-
+ var event = new window.ErrorEvent("error", {
|
|
3768
|
-
+ bubbles: !0,
|
|
3769
|
-
+ cancelable: !0,
|
|
3770
|
-
+ message:
|
|
3771
|
-
+ "object" === typeof error &&
|
|
3772
|
-
+ null !== error &&
|
|
3773
|
-
+ "string" === typeof error.message
|
|
3774
|
-
+ ? String(error.message)
|
|
3775
|
-
+ : String(error),
|
|
3776
|
-
+ error: error
|
|
3777
|
-
+ });
|
|
3778
|
-
+ if (!window.dispatchEvent(event)) return;
|
|
3779
|
-
+ } else if (
|
|
3780
|
-
+ "object" === typeof process &&
|
|
3781
|
-
+ "function" === typeof process.emit
|
|
3782
|
-
+ ) {
|
|
3783
|
-
+ process.emit("uncaughtException", error);
|
|
3784
|
-
+ return;
|
|
3785
|
-
+ }
|
|
3786
|
-
+ console.error(error);
|
|
3787
|
-
+ };
|
|
3788
|
-
+ TaintRegistryObjects$1 = Object.getPrototypeOf;
|
|
3789
|
-
+ var TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,
|
|
3790
|
-
+ TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,
|
|
3791
|
-
+ TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths,
|
|
3792
|
-
+ TaintRegistryPendingRequests =
|
|
3793
|
-
+ ReactSharedInternals.TaintRegistryPendingRequests,
|
|
3794
|
-
+ TypedArrayConstructor = TaintRegistryObjects$1(
|
|
3795
|
-
+ Uint32Array.prototype
|
|
3796
|
-
+ ).constructor,
|
|
3797
|
-
+ finalizationRegistry =
|
|
3798
|
-
+ "function" === typeof FinalizationRegistry
|
|
3799
|
-
+ ? new FinalizationRegistry(cleanup)
|
|
3800
|
-
+ : null;
|
|
3801
|
-
exports.Children = {
|
|
3802
|
-
map: mapChildren,
|
|
3803
|
-
forEach: function (children, forEachFunc, forEachContext) {
|
|
3804
|
-
@@ -889,6 +643,10 @@
|
|
3805
|
-
}
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
+ exports.captureOwnerStack = function () {
|
|
3809
|
-
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
3810
|
-
+ return null === getCurrentStack ? null : getCurrentStack();
|
|
3811
|
-
+ };
|
|
3812
|
-
exports.cloneElement = function (element, config, children) {
|
|
3813
|
-
if (null === element || void 0 === element)
|
|
3814
|
-
throw Error(
|
|
3815
|
-
@@ -934,46 +692,29 @@
|
|
3816
|
-
JSCompiler_inline_result[i] = arguments[i + 2];
|
|
3817
|
-
props.children = JSCompiler_inline_result;
|
|
3818
|
-
}
|
|
3819
|
-
- props = ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
3820
|
-
+ props = ReactElement(
|
|
3821
|
-
+ element.type,
|
|
3822
|
-
+ key,
|
|
3823
|
-
+ void 0,
|
|
3824
|
-
+ void 0,
|
|
3825
|
-
+ owner,
|
|
3826
|
-
+ props,
|
|
3827
|
-
+ element._debugStack,
|
|
3828
|
-
+ element._debugTask
|
|
3829
|
-
+ );
|
|
3830
|
-
for (key = 2; key < arguments.length; key++)
|
|
3831
|
-
- validateChildKeys(arguments[key], props.type);
|
|
3832
|
-
+ (owner = arguments[key]),
|
|
3833
|
-
+ isValidElement(owner) && owner._store && (owner._store.validated = 1);
|
|
3834
|
-
return props;
|
|
3835
|
-
};
|
|
3836
|
-
exports.createElement = function (type, config, children) {
|
|
3837
|
-
- if (isValidElementType(type))
|
|
3838
|
-
- for (var i = 2; i < arguments.length; i++)
|
|
3839
|
-
- validateChildKeys(arguments[i], type);
|
|
3840
|
-
- else {
|
|
3841
|
-
- i = "";
|
|
3842
|
-
- if (
|
|
3843
|
-
- void 0 === type ||
|
|
3844
|
-
- ("object" === typeof type &&
|
|
3845
|
-
- null !== type &&
|
|
3846
|
-
- 0 === Object.keys(type).length)
|
|
3847
|
-
- )
|
|
3848
|
-
- i +=
|
|
3849
|
-
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
3850
|
-
- if (null === type) var typeString = "null";
|
|
3851
|
-
- else
|
|
3852
|
-
- isArrayImpl(type)
|
|
3853
|
-
- ? (typeString = "array")
|
|
3854
|
-
- : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
|
|
3855
|
-
- ? ((typeString =
|
|
3856
|
-
- "<" +
|
|
3857
|
-
- (getComponentNameFromType(type.type) || "Unknown") +
|
|
3858
|
-
- " />"),
|
|
3859
|
-
- (i =
|
|
3860
|
-
- " Did you accidentally export a JSX literal instead of a component?"))
|
|
3861
|
-
- : (typeString = typeof type);
|
|
3862
|
-
- console.error(
|
|
3863
|
-
- "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
3864
|
-
- typeString,
|
|
3865
|
-
- i
|
|
3866
|
-
- );
|
|
3867
|
-
+ for (var i = 2; i < arguments.length; i++) {
|
|
3868
|
-
+ var node = arguments[i];
|
|
3869
|
-
+ isValidElement(node) && node._store && (node._store.validated = 1);
|
|
3870
|
-
}
|
|
3871
|
-
var propName;
|
|
3872
|
-
i = {};
|
|
3873
|
-
- typeString = null;
|
|
3874
|
-
+ node = null;
|
|
3875
|
-
if (null != config)
|
|
3876
|
-
for (propName in (didWarnAboutOldJSXRuntime ||
|
|
3877
|
-
!("__self" in config) ||
|
|
3878
|
-
@@ -983,7 +724,7 @@
|
|
3879
|
-
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
|
3880
|
-
)),
|
|
3881
|
-
hasValidKey(config) &&
|
|
3882
|
-
- (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
|
|
3883
|
-
+ (checkKeyStringCoercion(config.key), (node = "" + config.key)),
|
|
3884
|
-
config))
|
|
3885
|
-
hasOwnProperty.call(config, propName) &&
|
|
3886
|
-
"key" !== propName &&
|
|
3887
|
-
@@ -1005,20 +746,90 @@
|
|
3888
|
-
if (type && type.defaultProps)
|
|
3889
|
-
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
3890
|
-
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
|
3891
|
-
- typeString &&
|
|
3892
|
-
+ node &&
|
|
3893
|
-
defineKeyPropWarningGetter(
|
|
3894
|
-
i,
|
|
3895
|
-
"function" === typeof type
|
|
3896
|
-
? type.displayName || type.name || "Unknown"
|
|
3897
|
-
: type
|
|
3898
|
-
);
|
|
3899
|
-
- return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
|
|
3900
|
-
+ return ReactElement(
|
|
3901
|
-
+ type,
|
|
3902
|
-
+ node,
|
|
3903
|
-
+ void 0,
|
|
3904
|
-
+ void 0,
|
|
3905
|
-
+ getOwner(),
|
|
3906
|
-
+ i,
|
|
3907
|
-
+ Error("react-stack-top-frame"),
|
|
3908
|
-
+ createTask(getTaskName(type))
|
|
3909
|
-
+ );
|
|
3910
|
-
};
|
|
3911
|
-
exports.createRef = function () {
|
|
3912
|
-
var refObject = { current: null };
|
|
3913
|
-
Object.seal(refObject);
|
|
3914
|
-
return refObject;
|
|
3915
|
-
};
|
|
3916
|
-
+ exports.experimental_taintObjectReference = function (message, object) {
|
|
3917
|
-
+ if ("string" === typeof object || "bigint" === typeof object)
|
|
3918
|
-
+ throw Error(
|
|
3919
|
-
+ "Only objects or functions can be passed to taintObjectReference. Try taintUniqueValue instead."
|
|
3920
|
-
+ );
|
|
3921
|
-
+ if (
|
|
3922
|
-
+ null === object ||
|
|
3923
|
-
+ ("object" !== typeof object && "function" !== typeof object)
|
|
3924
|
-
+ )
|
|
3925
|
-
+ throw Error(
|
|
3926
|
-
+ "Only objects or functions can be passed to taintObjectReference."
|
|
3927
|
-
+ );
|
|
3928
|
-
+ TaintRegistryObjects.set(
|
|
3929
|
-
+ object,
|
|
3930
|
-
+ "" +
|
|
3931
|
-
+ (message ||
|
|
3932
|
-
+ "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.")
|
|
3933
|
-
+ );
|
|
3934
|
-
+ };
|
|
3935
|
-
+ exports.experimental_taintUniqueValue = function (
|
|
3936
|
-
+ message,
|
|
3937
|
-
+ lifetime,
|
|
3938
|
-
+ value
|
|
3939
|
-
+ ) {
|
|
3940
|
-
+ message =
|
|
3941
|
-
+ "" +
|
|
3942
|
-
+ (message ||
|
|
3943
|
-
+ "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
|
|
3944
|
-
+ if (
|
|
3945
|
-
+ null === lifetime ||
|
|
3946
|
-
+ ("object" !== typeof lifetime && "function" !== typeof lifetime)
|
|
3947
|
-
+ )
|
|
3948
|
-
+ throw Error(
|
|
3949
|
-
+ "To taint a value, a lifetime must be defined by passing an object that holds the value."
|
|
3950
|
-
+ );
|
|
3951
|
-
+ if ("string" !== typeof value && "bigint" !== typeof value)
|
|
3952
|
-
+ if (value instanceof TypedArrayConstructor || value instanceof DataView)
|
|
3953
|
-
+ TaintRegistryByteLengths.add(value.byteLength),
|
|
3954
|
-
+ (value = String.fromCharCode.apply(
|
|
3955
|
-
+ String,
|
|
3956
|
-
+ new Uint8Array(value.buffer, value.byteOffset, value.byteLength)
|
|
3957
|
-
+ ));
|
|
3958
|
-
+ else {
|
|
3959
|
-
+ message = null === value ? "null" : typeof value;
|
|
3960
|
-
+ if ("object" === message || "function" === message)
|
|
3961
|
-
+ throw Error(
|
|
3962
|
-
+ "taintUniqueValue cannot taint objects or functions. Try taintObjectReference instead."
|
|
3963
|
-
+ );
|
|
3964
|
-
+ throw Error(
|
|
3965
|
-
+ "Cannot taint a " +
|
|
3966
|
-
+ message +
|
|
3967
|
-
+ " because the value is too general and not unique enough to block globally."
|
|
3968
|
-
+ );
|
|
3969
|
-
+ }
|
|
3970
|
-
+ var existingEntry = TaintRegistryValues.get(value);
|
|
3971
|
-
+ void 0 === existingEntry
|
|
3972
|
-
+ ? TaintRegistryValues.set(value, { message: message, count: 1 })
|
|
3973
|
-
+ : existingEntry.count++;
|
|
3974
|
-
+ null !== finalizationRegistry &&
|
|
3975
|
-
+ finalizationRegistry.register(lifetime, value);
|
|
3976
|
-
+ };
|
|
3977
|
-
exports.forwardRef = function (render) {
|
|
3978
|
-
null != render && render.$$typeof === REACT_MEMO_TYPE
|
|
3979
|
-
? console.error(
|
|
3980
|
-
@@ -1069,7 +880,24 @@
|
|
3981
|
-
};
|
|
3982
|
-
};
|
|
3983
|
-
exports.memo = function (type, compare) {
|
|
3984
|
-
- isValidElementType(type) ||
|
|
3985
|
-
+ "string" === typeof type ||
|
|
3986
|
-
+ "function" === typeof type ||
|
|
3987
|
-
+ type === REACT_FRAGMENT_TYPE ||
|
|
3988
|
-
+ type === REACT_PROFILER_TYPE ||
|
|
3989
|
-
+ type === REACT_STRICT_MODE_TYPE ||
|
|
3990
|
-
+ type === REACT_SUSPENSE_TYPE ||
|
|
3991
|
-
+ type === REACT_SUSPENSE_LIST_TYPE ||
|
|
3992
|
-
+ type === REACT_OFFSCREEN_TYPE ||
|
|
3993
|
-
+ type === REACT_VIEW_TRANSITION_TYPE ||
|
|
3994
|
-
+ ("object" === typeof type &&
|
|
3995
|
-
+ null !== type &&
|
|
3996
|
-
+ (type.$$typeof === REACT_LAZY_TYPE ||
|
|
3997
|
-
+ type.$$typeof === REACT_MEMO_TYPE ||
|
|
3998
|
-
+ type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
3999
|
-
+ type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
4000
|
-
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
4001
|
-
+ type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
4002
|
-
+ void 0 !== type.getModuleId)) ||
|
|
4003
|
-
console.error(
|
|
4004
|
-
"memo: The first argument must be a component. Instead received: %s",
|
|
4005
|
-
null === type ? "null" : typeof type
|
|
4006
|
-
@@ -1096,9 +924,57 @@
|
|
4007
|
-
});
|
|
4008
|
-
return compare;
|
|
4009
|
-
};
|
|
4010
|
-
+ exports.startTransition = function (scope) {
|
|
4011
|
-
+ var prevTransition = ReactSharedInternals.T,
|
|
4012
|
-
+ currentTransition = {};
|
|
4013
|
-
+ ReactSharedInternals.T = currentTransition;
|
|
4014
|
-
+ currentTransition._updatedFibers = new Set();
|
|
4015
|
-
+ try {
|
|
4016
|
-
+ var returnValue = scope(),
|
|
4017
|
-
+ onStartTransitionFinish = ReactSharedInternals.S;
|
|
4018
|
-
+ null !== onStartTransitionFinish &&
|
|
4019
|
-
+ onStartTransitionFinish(currentTransition, returnValue);
|
|
4020
|
-
+ "object" === typeof returnValue &&
|
|
4021
|
-
+ null !== returnValue &&
|
|
4022
|
-
+ "function" === typeof returnValue.then &&
|
|
4023
|
-
+ returnValue.then(noop, reportGlobalError);
|
|
4024
|
-
+ } catch (error) {
|
|
4025
|
-
+ reportGlobalError(error);
|
|
4026
|
-
+ } finally {
|
|
4027
|
-
+ null === prevTransition &&
|
|
4028
|
-
+ currentTransition._updatedFibers &&
|
|
4029
|
-
+ ((scope = currentTransition._updatedFibers.size),
|
|
4030
|
-
+ currentTransition._updatedFibers.clear(),
|
|
4031
|
-
+ 10 < scope &&
|
|
4032
|
-
+ console.warn(
|
|
4033
|
-
+ "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
|
4034
|
-
+ )),
|
|
4035
|
-
+ (ReactSharedInternals.T = prevTransition);
|
|
4036
|
-
+ }
|
|
4037
|
-
+ };
|
|
4038
|
-
+ exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
4039
|
-
+ exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
4040
|
-
+ exports.unstable_getCacheForType = function (resourceType) {
|
|
4041
|
-
+ var dispatcher = ReactSharedInternals.A;
|
|
4042
|
-
+ return dispatcher
|
|
4043
|
-
+ ? dispatcher.getCacheForType(resourceType)
|
|
4044
|
-
+ : resourceType();
|
|
4045
|
-
+ };
|
|
4046
|
-
+ exports.unstable_postpone = function (reason) {
|
|
4047
|
-
+ reason = Error(reason);
|
|
4048
|
-
+ reason.$$typeof = REACT_POSTPONE_TYPE;
|
|
4049
|
-
+ throw reason;
|
|
4050
|
-
+ };
|
|
201
|
+
@@ -969,6 +968,13 @@
|
|
4051
202
|
exports.use = function (usable) {
|
|
4052
203
|
return resolveDispatcher().use(usable);
|
|
4053
204
|
};
|
|
@@ -4061,125 +212,18 @@ index 5baabb6..3246c43 100644
|
|
|
4061
212
|
exports.useCallback = function (callback, deps) {
|
|
4062
213
|
return resolveDispatcher().useCallback(callback, deps);
|
|
4063
214
|
};
|
|
4064
|
-
@@ -
|
|
215
|
+
@@ -981,5 +987,5 @@
|
|
4065
216
|
exports.useMemo = function (create, deps) {
|
|
4066
217
|
return resolveDispatcher().useMemo(create, deps);
|
|
4067
218
|
};
|
|
4068
|
-
- exports.version = "19.1.0-
|
|
219
|
+
- exports.version = "19.1.0-experimental-e670e72f-20250214";
|
|
4069
220
|
+ exports.version = "19.1.0-experimental-b3a95caf-20250113";
|
|
4070
221
|
})();
|
|
4071
222
|
diff --git a/node_modules/react/cjs/react.react-server.production.js b/node_modules/react/cjs/react.react-server.production.js
|
|
4072
|
-
index
|
|
223
|
+
index 3cdb027..9be2e6d 100644
|
|
4073
224
|
--- a/node_modules/react/cjs/react.react-server.production.js
|
|
4074
225
|
+++ b/node_modules/react/cjs/react.react-server.production.js
|
|
4075
|
-
@@ -
|
|
4076
|
-
*/
|
|
4077
|
-
|
|
4078
|
-
"use strict";
|
|
4079
|
-
-var ReactSharedInternals = { H: null, A: null };
|
|
4080
|
-
+var TaintRegistryObjects$1 = new WeakMap(),
|
|
4081
|
-
+ TaintRegistryValues$1 = new Map(),
|
|
4082
|
-
+ TaintRegistryByteLengths$1 = new Set(),
|
|
4083
|
-
+ TaintRegistryPendingRequests$1 = new Set(),
|
|
4084
|
-
+ ReactSharedInternals = {
|
|
4085
|
-
+ H: null,
|
|
4086
|
-
+ A: null,
|
|
4087
|
-
+ TaintRegistryObjects: TaintRegistryObjects$1,
|
|
4088
|
-
+ TaintRegistryValues: TaintRegistryValues$1,
|
|
4089
|
-
+ TaintRegistryByteLengths: TaintRegistryByteLengths$1,
|
|
4090
|
-
+ TaintRegistryPendingRequests: TaintRegistryPendingRequests$1
|
|
4091
|
-
+ };
|
|
4092
|
-
function formatProdErrorMessage(code) {
|
|
4093
|
-
var url = "https://react.dev/errors/" + code;
|
|
4094
|
-
if (1 < arguments.length) {
|
|
4095
|
-
@@ -33,8 +44,11 @@ var isArrayImpl = Array.isArray,
|
|
4096
|
-
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
4097
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
4098
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
4099
|
-
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
4100
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
4101
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
4102
|
-
+ REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
|
|
4103
|
-
+ REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
|
4104
|
-
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
4105
|
-
function getIteratorFn(maybeIterable) {
|
|
4106
|
-
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
4107
|
-
@@ -87,7 +101,7 @@ function getElementKey(element, index) {
|
|
4108
|
-
? escape("" + element.key)
|
|
4109
|
-
: index.toString(36);
|
|
4110
|
-
}
|
|
4111
|
-
-function noop() {}
|
|
4112
|
-
+function noop$1() {}
|
|
4113
|
-
function resolveThenable(thenable) {
|
|
4114
|
-
switch (thenable.status) {
|
|
4115
|
-
case "fulfilled":
|
|
4116
|
-
@@ -97,7 +111,7 @@ function resolveThenable(thenable) {
|
|
4117
|
-
default:
|
|
4118
|
-
switch (
|
|
4119
|
-
("string" === typeof thenable.status
|
|
4120
|
-
- ? thenable.then(noop, noop)
|
|
4121
|
-
+ ? thenable.then(noop$1, noop$1)
|
|
4122
|
-
: ((thenable.status = "pending"),
|
|
4123
|
-
thenable.then(
|
|
4124
|
-
function (fulfilledValue) {
|
|
4125
|
-
@@ -264,6 +278,56 @@ function createCacheRoot() {
|
|
4126
|
-
function createCacheNode() {
|
|
4127
|
-
return { s: 0, v: void 0, o: null, p: null };
|
|
4128
|
-
}
|
|
4129
|
-
+var reportGlobalError =
|
|
4130
|
-
+ "function" === typeof reportError
|
|
4131
|
-
+ ? reportError
|
|
4132
|
-
+ : function (error) {
|
|
4133
|
-
+ if (
|
|
4134
|
-
+ "object" === typeof window &&
|
|
4135
|
-
+ "function" === typeof window.ErrorEvent
|
|
4136
|
-
+ ) {
|
|
4137
|
-
+ var event = new window.ErrorEvent("error", {
|
|
4138
|
-
+ bubbles: !0,
|
|
4139
|
-
+ cancelable: !0,
|
|
4140
|
-
+ message:
|
|
4141
|
-
+ "object" === typeof error &&
|
|
4142
|
-
+ null !== error &&
|
|
4143
|
-
+ "string" === typeof error.message
|
|
4144
|
-
+ ? String(error.message)
|
|
4145
|
-
+ : String(error),
|
|
4146
|
-
+ error: error
|
|
4147
|
-
+ });
|
|
4148
|
-
+ if (!window.dispatchEvent(event)) return;
|
|
4149
|
-
+ } else if (
|
|
4150
|
-
+ "object" === typeof process &&
|
|
4151
|
-
+ "function" === typeof process.emit
|
|
4152
|
-
+ ) {
|
|
4153
|
-
+ process.emit("uncaughtException", error);
|
|
4154
|
-
+ return;
|
|
4155
|
-
+ }
|
|
4156
|
-
+ console.error(error);
|
|
4157
|
-
+ };
|
|
4158
|
-
+function noop() {}
|
|
4159
|
-
+var getPrototypeOf = Object.getPrototypeOf,
|
|
4160
|
-
+ TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,
|
|
4161
|
-
+ TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,
|
|
4162
|
-
+ TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths,
|
|
4163
|
-
+ TaintRegistryPendingRequests =
|
|
4164
|
-
+ ReactSharedInternals.TaintRegistryPendingRequests,
|
|
4165
|
-
+ TypedArrayConstructor = getPrototypeOf(Uint32Array.prototype).constructor;
|
|
4166
|
-
+function cleanup(entryValue) {
|
|
4167
|
-
+ var entry = TaintRegistryValues.get(entryValue);
|
|
4168
|
-
+ void 0 !== entry &&
|
|
4169
|
-
+ (TaintRegistryPendingRequests.forEach(function (requestQueue) {
|
|
4170
|
-
+ requestQueue.push(entryValue);
|
|
4171
|
-
+ entry.count++;
|
|
4172
|
-
+ }),
|
|
4173
|
-
+ 1 === entry.count ? TaintRegistryValues.delete(entryValue) : entry.count--);
|
|
4174
|
-
+}
|
|
4175
|
-
+var finalizationRegistry =
|
|
4176
|
-
+ "function" === typeof FinalizationRegistry
|
|
4177
|
-
+ ? new FinalizationRegistry(cleanup)
|
|
4178
|
-
+ : null;
|
|
4179
|
-
exports.Children = {
|
|
4180
|
-
map: mapChildren,
|
|
4181
|
-
forEach: function (children, forEachFunc, forEachContext) {
|
|
4182
|
-
@@ -340,6 +404,9 @@ exports.cache = function (fn) {
|
|
226
|
+
@@ -404,6 +404,9 @@ exports.cache = function (fn) {
|
|
4183
227
|
}
|
|
4184
228
|
};
|
|
4185
229
|
};
|
|
@@ -4189,91 +233,7 @@ index 54ccf28..9be2e6d 100644
|
|
|
4189
233
|
exports.cloneElement = function (element, config, children) {
|
|
4190
234
|
if (null === element || void 0 === element)
|
|
4191
235
|
throw Error(formatProdErrorMessage(267, element));
|
|
4192
|
-
@@ -
|
|
4193
|
-
exports.createRef = function () {
|
|
4194
|
-
return { current: null };
|
|
4195
|
-
};
|
|
4196
|
-
+exports.experimental_taintObjectReference = function (message, object) {
|
|
4197
|
-
+ message =
|
|
4198
|
-
+ "" +
|
|
4199
|
-
+ (message ||
|
|
4200
|
-
+ "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
|
|
4201
|
-
+ if ("string" === typeof object || "bigint" === typeof object)
|
|
4202
|
-
+ throw Error(formatProdErrorMessage(496));
|
|
4203
|
-
+ if (
|
|
4204
|
-
+ null === object ||
|
|
4205
|
-
+ ("object" !== typeof object && "function" !== typeof object)
|
|
4206
|
-
+ )
|
|
4207
|
-
+ throw Error(formatProdErrorMessage(497));
|
|
4208
|
-
+ TaintRegistryObjects.set(object, message);
|
|
4209
|
-
+};
|
|
4210
|
-
+exports.experimental_taintUniqueValue = function (message, lifetime, value) {
|
|
4211
|
-
+ message =
|
|
4212
|
-
+ "" +
|
|
4213
|
-
+ (message ||
|
|
4214
|
-
+ "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
|
|
4215
|
-
+ if (
|
|
4216
|
-
+ null === lifetime ||
|
|
4217
|
-
+ ("object" !== typeof lifetime && "function" !== typeof lifetime)
|
|
4218
|
-
+ )
|
|
4219
|
-
+ throw Error(formatProdErrorMessage(493));
|
|
4220
|
-
+ if ("string" !== typeof value && "bigint" !== typeof value)
|
|
4221
|
-
+ if (value instanceof TypedArrayConstructor || value instanceof DataView)
|
|
4222
|
-
+ TaintRegistryByteLengths.add(value.byteLength),
|
|
4223
|
-
+ (value = String.fromCharCode.apply(
|
|
4224
|
-
+ String,
|
|
4225
|
-
+ new Uint8Array(value.buffer, value.byteOffset, value.byteLength)
|
|
4226
|
-
+ ));
|
|
4227
|
-
+ else {
|
|
4228
|
-
+ message = null === value ? "null" : typeof value;
|
|
4229
|
-
+ if ("object" === message || "function" === message)
|
|
4230
|
-
+ throw Error(formatProdErrorMessage(494));
|
|
4231
|
-
+ throw Error(formatProdErrorMessage(495, message));
|
|
4232
|
-
+ }
|
|
4233
|
-
+ var existingEntry = TaintRegistryValues.get(value);
|
|
4234
|
-
+ void 0 === existingEntry
|
|
4235
|
-
+ ? TaintRegistryValues.set(value, { message: message, count: 1 })
|
|
4236
|
-
+ : existingEntry.count++;
|
|
4237
|
-
+ null !== finalizationRegistry &&
|
|
4238
|
-
+ finalizationRegistry.register(lifetime, value);
|
|
4239
|
-
+};
|
|
4240
|
-
exports.forwardRef = function (render) {
|
|
4241
|
-
return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
|
|
4242
|
-
};
|
|
4243
|
-
@@ -410,9 +521,42 @@ exports.memo = function (type, compare) {
|
|
4244
|
-
compare: void 0 === compare ? null : compare
|
|
4245
|
-
};
|
|
4246
|
-
};
|
|
4247
|
-
+exports.startTransition = function (scope) {
|
|
4248
|
-
+ var prevTransition = ReactSharedInternals.T,
|
|
4249
|
-
+ currentTransition = {};
|
|
4250
|
-
+ ReactSharedInternals.T = currentTransition;
|
|
4251
|
-
+ try {
|
|
4252
|
-
+ var returnValue = scope(),
|
|
4253
|
-
+ onStartTransitionFinish = ReactSharedInternals.S;
|
|
4254
|
-
+ null !== onStartTransitionFinish &&
|
|
4255
|
-
+ onStartTransitionFinish(currentTransition, returnValue);
|
|
4256
|
-
+ "object" === typeof returnValue &&
|
|
4257
|
-
+ null !== returnValue &&
|
|
4258
|
-
+ "function" === typeof returnValue.then &&
|
|
4259
|
-
+ returnValue.then(noop, reportGlobalError);
|
|
4260
|
-
+ } catch (error) {
|
|
4261
|
-
+ reportGlobalError(error);
|
|
4262
|
-
+ } finally {
|
|
4263
|
-
+ ReactSharedInternals.T = prevTransition;
|
|
4264
|
-
+ }
|
|
4265
|
-
+};
|
|
4266
|
-
+exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
4267
|
-
+exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
|
|
4268
|
-
+exports.unstable_getCacheForType = function (resourceType) {
|
|
4269
|
-
+ var dispatcher = ReactSharedInternals.A;
|
|
4270
|
-
+ return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
|
|
4271
|
-
+};
|
|
4272
|
-
+exports.unstable_postpone = function (reason) {
|
|
4273
|
-
+ reason = Error(reason);
|
|
4274
|
-
+ reason.$$typeof = REACT_POSTPONE_TYPE;
|
|
4275
|
-
+ throw reason;
|
|
4276
|
-
+};
|
|
236
|
+
@@ -551,6 +554,9 @@ exports.unstable_postpone = function (reason) {
|
|
4277
237
|
exports.use = function (usable) {
|
|
4278
238
|
return ReactSharedInternals.H.use(usable);
|
|
4279
239
|
};
|
|
@@ -4283,9 +243,22 @@ index 54ccf28..9be2e6d 100644
|
|
|
4283
243
|
exports.useCallback = function (callback, deps) {
|
|
4284
244
|
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
4285
245
|
};
|
|
4286
|
-
@@ -
|
|
246
|
+
@@ -561,4 +567,4 @@ exports.useId = function () {
|
|
4287
247
|
exports.useMemo = function (create, deps) {
|
|
4288
248
|
return ReactSharedInternals.H.useMemo(create, deps);
|
|
4289
249
|
};
|
|
4290
|
-
-exports.version = "19.1.0-
|
|
250
|
+
-exports.version = "19.1.0-experimental-e670e72f-20250214";
|
|
4291
251
|
+exports.version = "19.1.0-experimental-b3a95caf-20250113";
|
|
252
|
+
diff --git a/node_modules/react/package.json b/node_modules/react/package.json
|
|
253
|
+
index 3956ba0..28130c9 100644
|
|
254
|
+
--- a/node_modules/react/package.json
|
|
255
|
+
+++ b/node_modules/react/package.json
|
|
256
|
+
@@ -4,7 +4,7 @@
|
|
257
|
+
"keywords": [
|
|
258
|
+
"react"
|
|
259
|
+
],
|
|
260
|
+
- "version": "0.0.0-experimental-e670e72f-20250214",
|
|
261
|
+
+ "version": "0.0.0-experimental-b3a95caf-20250113",
|
|
262
|
+
"homepage": "https://react.dev/",
|
|
263
|
+
"bugs": "https://github.com/facebook/react/issues",
|
|
264
|
+
"license": "MIT",
|