testeranto 0.129.0 → 0.135.0
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/.aider.chat.history.md +137798 -0
- package/.aider.input.history +370 -0
- package/.aider.tags.cache.v3/{ec/c0/161c249c35be853cc40cf11f9267.val → 62/f5/8af72140d93c58db2f6aa5bf3f1f.val} +0 -0
- package/.aider.tags.cache.v3/8e/ec/2d4659a1589a0187a757ab1cbefa.val +0 -0
- package/.aider.tags.cache.v3/{b7/e6/5be87b62aeaf2bc244ff41c1b61a.val → a7/97/6d37fce350ad2d588f36729db0cd.val} +0 -0
- package/.aider.tags.cache.v3/{e3/e6/3501625caf5d5eb171f0d248462e.val → ad/3c/10f2ab1397f6d544e613d2a6acaf.val} +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/d8/b0/a8966fcd65890fd9f70d7afe8141.val +0 -0
- package/.aider.tags.cache.v3/dd/5b/0ade824b0841c7c11e9352c5d2ca.val +0 -0
- package/README.md +194 -182
- package/bundle.js +8 -75
- package/dist/common/src/Init.js +6 -1
- package/dist/common/src/Node.js +6 -4
- package/dist/common/src/NodeSidecar.js +15 -0
- package/dist/common/src/PM/PM_WithEslintAndTsc.js +189 -0
- package/dist/common/src/PM/__tests__/nodeSidecar.testeranto.js +109 -0
- package/dist/common/src/PM/__tests__/pureSidecar.testeranto.js +94 -0
- package/dist/common/src/PM/__tests__/webSidecar.testeranto.js +94 -0
- package/dist/common/src/PM/base.js +33 -16
- package/dist/common/src/PM/main.js +492 -428
- package/dist/common/src/PM/node.js +54 -22
- package/dist/common/src/PM/nodeSidecar.js +65 -0
- package/dist/common/src/PM/pure.js +55 -47
- package/dist/common/src/PM/pureSidecar.js +48 -0
- package/dist/common/src/PM/sidecar.js +11 -0
- package/dist/common/src/PM/web.js +24 -6
- package/dist/common/src/PM/webSidecar.js +47 -0
- package/dist/common/src/PureSidecar.js +13 -0
- package/dist/common/src/SP__Polygon.test.js +10 -0
- package/dist/common/src/WebSidecar.js +14 -0
- package/dist/common/src/build.js +66 -12
- package/dist/common/src/defaultConfig.js +1 -0
- package/dist/common/src/esbuildConfigs/consoleDetectorPlugin.js +27 -0
- package/dist/common/src/esbuildConfigs/eslint-formatter-testeranto.js +16 -1
- package/dist/common/src/esbuildConfigs/node.js +2 -16
- package/dist/common/src/esbuildConfigs/pure.js +12 -12
- package/dist/common/src/esbuildConfigs/rebuildPlugin.js +22 -0
- package/dist/common/src/esbuildConfigs/web.js +12 -17
- package/dist/common/src/lib/Sidecar.js +6 -0
- package/dist/common/src/lib/abstractBase.js +13 -6
- package/dist/common/src/lib/basebuilder.js +1 -3
- package/dist/common/src/lib/classBuilder.js +6 -20
- package/dist/common/src/lib/core.js +11 -6
- package/dist/common/src/lib/index.js +13 -4
- package/dist/common/src/lib/pmProxy.js +1 -1
- package/dist/common/src/mothership/index.js +16 -0
- package/dist/common/src/mothership/test.js +65 -0
- package/dist/common/src/utils/queue.js +36 -0
- package/dist/common/src/utils.js +34 -5
- package/dist/common/testeranto.config.js +77 -39
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Init.js +6 -1
- package/dist/module/src/Node.js +6 -4
- package/dist/module/src/NodeSidecar.js +11 -0
- package/dist/module/src/PM/PM_WithEslintAndTsc.js +182 -0
- package/dist/module/src/PM/__tests__/nodeSidecar.testeranto.js +104 -0
- package/dist/module/src/PM/__tests__/pureSidecar.testeranto.js +89 -0
- package/dist/module/src/PM/__tests__/webSidecar.testeranto.js +89 -0
- package/dist/module/src/PM/base.js +33 -16
- package/dist/module/src/PM/main.js +493 -429
- package/dist/module/src/PM/node.js +54 -22
- package/dist/module/src/PM/nodeSidecar.js +58 -0
- package/dist/module/src/PM/pure.js +55 -44
- package/dist/module/src/PM/pureSidecar.js +41 -0
- package/dist/module/src/PM/sidecar.js +7 -0
- package/dist/module/src/PM/web.js +24 -6
- package/dist/module/src/PM/webSidecar.js +40 -0
- package/dist/module/src/Project.js +154 -75
- package/dist/module/src/PureSidecar.js +9 -0
- package/dist/module/src/ReportClient.js +132 -97
- package/dist/module/src/SP__Polygon.test.js +8 -0
- package/dist/module/src/TestReport.js +32 -14
- package/dist/module/src/WebSidecar.js +10 -0
- package/dist/module/src/build.js +66 -12
- package/dist/module/src/defaultConfig.js +1 -0
- package/dist/module/src/esbuildConfigs/consoleDetectorPlugin.js +24 -0
- package/dist/module/src/esbuildConfigs/eslint-formatter-testeranto.js +16 -1
- package/dist/module/src/esbuildConfigs/node.js +2 -16
- package/dist/module/src/esbuildConfigs/pure.js +12 -12
- package/dist/module/src/esbuildConfigs/rebuildPlugin.js +17 -0
- package/dist/module/src/esbuildConfigs/web.js +12 -17
- package/dist/module/src/lib/Sidecar.js +2 -0
- package/dist/module/src/lib/abstractBase.js +13 -6
- package/dist/module/src/lib/basebuilder.js +1 -3
- package/dist/module/src/lib/classBuilder.js +6 -20
- package/dist/module/src/lib/core.js +11 -6
- package/dist/module/src/lib/index.js +12 -4
- package/dist/module/src/lib/pmProxy.js +1 -1
- package/dist/module/src/mothership/index.js +11 -0
- package/dist/module/src/mothership/test.js +60 -0
- package/dist/module/src/utils/queue.js +32 -0
- package/dist/module/src/utils.js +34 -5
- package/dist/module/testeranto.config.js +77 -36
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/Project.js +3287 -385
- package/dist/prebuild/ReportClient.js +0 -24638
- package/dist/prebuild/TestReport.js +26 -22
- package/dist/prebuild/build.mjs +192 -70
- package/dist/prebuild/esbuildConfigs/eslint-formatter-testeranto.mjs +14 -1
- package/dist/prebuild/init-docs.mjs +2 -5
- package/dist/prebuild/mothership/index.mjs +17 -0
- package/dist/prebuild/run.mjs +733 -433
- package/dist/types/src/CoreTypes.d.ts +51 -0
- package/dist/types/src/Node.d.ts +2 -2
- package/dist/types/src/NodeSidecar.d.ts +6 -0
- package/dist/types/src/PM/PM_WithEslintAndTsc.d.ts +23 -0
- package/dist/types/src/PM/__tests__/nodeSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/__tests__/pureSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/__tests__/webSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/base.d.ts +6 -5
- package/dist/types/src/PM/index.d.ts +6 -4
- package/dist/types/src/PM/main.d.ts +23 -26
- package/dist/types/src/PM/node.d.ts +8 -6
- package/dist/types/src/PM/nodeSidecar.d.ts +13 -0
- package/dist/types/src/PM/pure.d.ts +4 -3
- package/dist/types/src/PM/pureSidecar.d.ts +11 -0
- package/dist/types/src/PM/sidecar.d.ts +8 -0
- package/dist/types/src/PM/web.d.ts +18 -8
- package/dist/types/src/PM/webSidecar.d.ts +11 -0
- package/dist/types/src/PureSidecar.d.ts +8 -0
- package/dist/types/src/SP__Polygon.test.d.ts +1 -0
- package/dist/types/src/Types.d.ts +80 -58
- package/dist/types/src/Web.d.ts +1 -1
- package/dist/types/src/WebSidecar.d.ts +8 -0
- package/dist/types/src/esbuildConfigs/consoleDetectorPlugin.d.ts +2 -0
- package/dist/types/src/esbuildConfigs/rebuildPlugin.d.ts +6 -0
- package/dist/types/src/lib/Sidecar.d.ts +5 -0
- package/dist/types/src/lib/abstractBase.d.ts +6 -12
- package/dist/types/src/lib/classBuilder.d.ts +7 -1
- package/dist/types/src/lib/core.d.ts +8 -2
- package/dist/types/src/lib/index.d.ts +10 -4
- package/dist/types/src/lib/types.d.ts +12 -2
- package/dist/types/src/mothership/index.d.ts +2 -0
- package/dist/types/src/mothership/test.d.ts +2 -0
- package/dist/types/src/utils/queue.d.ts +11 -0
- package/dist/types/src/utils.d.ts +4 -7
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/docs/index.md +277 -0
- package/package.json +23 -104
- package/src/CoreTypes.ts +171 -0
- package/src/Init.ts +6 -5
- package/src/Node.ts +32 -15
- package/src/NodeSidecar.ts +22 -0
- package/src/PM/PM_WithEslintAndTsc.ts +315 -0
- package/src/PM/__tests__/nodeSidecar.testeranto.ts +173 -0
- package/src/PM/__tests__/pureSidecar.testeranto.ts +157 -0
- package/src/PM/__tests__/webSidecar.testeranto.ts +157 -0
- package/src/PM/base.ts +38 -17
- package/src/PM/index.ts +10 -4
- package/src/PM/main.ts +616 -589
- package/src/PM/node.ts +77 -33
- package/src/PM/nodeSidecar.ts +73 -0
- package/src/PM/pure.ts +68 -58
- package/src/PM/pureSidecar.ts +56 -0
- package/src/PM/sidecar.ts +48 -0
- package/src/PM/web.ts +42 -11
- package/src/PM/webSidecar.ts +55 -0
- package/src/Project.tsx +312 -109
- package/src/Pure.ts +0 -2
- package/src/PureSidecar.ts +14 -0
- package/src/ReportClient.tsx +164 -170
- package/src/SP__Polygon.test.ts +13 -0
- package/src/TestReport.tsx +77 -6
- package/src/Types.ts +278 -157
- package/src/Web.ts +0 -3
- package/src/WebSidecar.ts +14 -0
- package/src/build.ts +104 -16
- package/src/defaultConfig.ts +1 -0
- package/src/esbuildConfigs/README.md +46 -0
- package/src/esbuildConfigs/consoleDetectorPlugin.ts +29 -0
- package/src/esbuildConfigs/eslint-formatter-testeranto.ts +17 -1
- package/src/esbuildConfigs/node.ts +2 -18
- package/src/esbuildConfigs/pure.ts +19 -14
- package/src/esbuildConfigs/rebuildPlugin.ts +23 -0
- package/src/esbuildConfigs/web.ts +15 -18
- package/src/lib/Sidecar.ts +6 -0
- package/src/lib/TEST_ADAPTER_RENAME.md +48 -0
- package/src/lib/abstractBase.ts +18 -10
- package/src/lib/basebuilder.ts +5 -4
- package/src/lib/classBuilder.ts +19 -21
- package/src/lib/core.ts +28 -19
- package/src/lib/index.ts +38 -18
- package/src/lib/pmProxy.ts +3 -1
- package/src/lib/types.ts +15 -2
- package/src/mothership/index.ts +15 -0
- package/src/mothership/test.ts +137 -0
- package/src/run.ts +0 -1
- package/src/utils/queue.ts +41 -0
- package/src/utils.ts +41 -15
- package/testeranto/bundles/node/mothership/chunk-PG6KUKNP.mjs +44 -0
- package/testeranto/bundles/node/mothership/chunk-V2EQEXU2.mjs +1032 -0
- package/testeranto/bundles/node/mothership/metafile.json +389 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/nodeSidecar.testeranto.mjs +1219 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/pureSidecar.testeranto.mjs +156 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/sidecar.testeranto.mjs +1199 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/webSidecar.testeranto.mjs +156 -0
- package/testeranto/bundles/node/mothership/src/mothership/test.mjs +24411 -0
- package/testeranto/bundles/pure/mothership/metafile.json +8 -0
- package/testeranto/bundles/web/mothership/metafile.json +8 -0
- package/testeranto/index.html +4 -4
- package/testeranto/reports/mothership/config.json +25 -0
- package/testeranto/reports/{redux → mothership}/index.html +8 -8
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +1564 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +22 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +35 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +26 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/bdd_errors.txt +1 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/lint_errors.json +1564 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/prompt.txt +22 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/tests.json +56 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/type_errors.txt +29 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +26 -0
- package/testeranto/reports/mothership/src/mothership/test/node/bdd_errors.txt +1 -0
- package/testeranto/reports/mothership/src/mothership/test/node/console_log.txt +4 -0
- package/testeranto/reports/mothership/src/mothership/test/node/index.html +20 -0
- package/testeranto/reports/mothership/src/mothership/test/node/lint_errors.json +1 -0
- package/testeranto/reports/mothership/src/mothership/test/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/mothership/test/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/mothership/test/node/tests.json +24 -0
- package/testeranto/reports/mothership/src/mothership/test/node/type_errors.txt +18 -0
- package/testeranto/reports/mothership/summary.json +9 -0
- package/testeranto.config.ts +82 -44
- package/tsc.log +78 -81
- package/dist/common/src/SubPackages/react/component/index.js +0 -20
- package/dist/common/src/SubPackages/react/component/node.js +0 -10
- package/dist/common/src/SubPackages/react/component/pure.js +0 -10
- package/dist/common/src/SubPackages/react/component/web.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/index.js +0 -64
- package/dist/common/src/SubPackages/react/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/web.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/dynamic.js +0 -61
- package/dist/common/src/SubPackages/react-dom/component/node.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/pure.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/static.js +0 -26
- package/dist/common/src/SubPackages/react-dom/component/web.js +0 -16
- package/dist/common/src/SubPackages/react-dom/jsx/dynamic.js +0 -31
- package/dist/common/src/SubPackages/react-dom/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react-dom/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react-dom/jsx/static.js +0 -59
- package/dist/common/src/SubPackages/react-dom/jsx/web.js +0 -16
- package/dist/common/src/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -54
- package/dist/common/src/SubPackages/react-test-renderer/component/index.js +0 -15
- package/dist/common/src/SubPackages/react-test-renderer/component/interface.js +0 -70
- package/dist/common/src/SubPackages/react-test-renderer/component/node.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/component/pure.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/component/test/implementation.js +0 -57
- package/dist/common/src/SubPackages/react-test-renderer/component/test/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/test/pure.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/test/web.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/web.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/fc/node.js +0 -60
- package/dist/common/src/SubPackages/react-test-renderer/fc/web.js +0 -60
- package/dist/common/src/SubPackages/react-test-renderer/jsx/index.js +0 -67
- package/dist/common/src/SubPackages/react-test-renderer/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx/web.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/index.js +0 -52
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/web.js +0 -10
- package/dist/common/src/examples/react/component/index.js +0 -33
- package/dist/common/src/examples/react/component/test.js +0 -36
- package/dist/module/src/SubPackages/react/component/index.js +0 -13
- package/dist/module/src/SubPackages/react/component/node.js +0 -5
- package/dist/module/src/SubPackages/react/component/pure.js +0 -5
- package/dist/module/src/SubPackages/react/component/web.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/index.js +0 -58
- package/dist/module/src/SubPackages/react/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/web.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/dynamic.js +0 -54
- package/dist/module/src/SubPackages/react-dom/component/node.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/pure.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/static.js +0 -22
- package/dist/module/src/SubPackages/react-dom/component/web.js +0 -11
- package/dist/module/src/SubPackages/react-dom/jsx/dynamic.js +0 -27
- package/dist/module/src/SubPackages/react-dom/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react-dom/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react-dom/jsx/static.js +0 -53
- package/dist/module/src/SubPackages/react-dom/jsx/web.js +0 -11
- package/dist/module/src/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -16
- package/dist/module/src/SubPackages/react-test-renderer/component/index.js +0 -14
- package/dist/module/src/SubPackages/react-test-renderer/component/interface.js +0 -31
- package/dist/module/src/SubPackages/react-test-renderer/component/node.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/component/pure.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/component/test/implementation.js +0 -54
- package/dist/module/src/SubPackages/react-test-renderer/component/test/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/test/pure.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/test/web.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/web.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/fc/node.js +0 -22
- package/dist/module/src/SubPackages/react-test-renderer/fc/web.js +0 -22
- package/dist/module/src/SubPackages/react-test-renderer/jsx/index.js +0 -28
- package/dist/module/src/SubPackages/react-test-renderer/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx/web.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/index.js +0 -16
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/web.js +0 -5
- package/dist/module/src/examples/react/component/index.js +0 -26
- package/dist/module/src/examples/react/component/test.js +0 -32
- package/dist/prebuild/ReportClient.css +0 -11342
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/src/SubPackages/react/component/index.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/index.d.ts +0 -5
- package/dist/types/src/SubPackages/react/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/dynamic.d.ts +0 -20
- package/dist/types/src/SubPackages/react-dom/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/static.d.ts +0 -9
- package/dist/types/src/SubPackages/react-dom/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/dynamic.d.ts +0 -5
- package/dist/types/src/SubPackages/react-dom/jsx/index.d.ts +0 -6
- package/dist/types/src/SubPackages/react-dom/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/static.d.ts +0 -5
- package/dist/types/src/SubPackages/react-dom/jsx/web.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/MemoExoticComponent/node.d.ts +0 -6
- package/dist/types/src/SubPackages/react-test-renderer/component/index.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/component/interface.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/implementation.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/node.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/test/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/web.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/fc/node.d.ts +0 -8
- package/dist/types/src/SubPackages/react-test-renderer/fc/web.d.ts +0 -9
- package/dist/types/src/SubPackages/react-test-renderer/jsx/index.d.ts +0 -11
- package/dist/types/src/SubPackages/react-test-renderer/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/index.d.ts +0 -15
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/node.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/web.d.ts +0 -5
- package/dist/types/src/examples/react/component/index.d.ts +0 -13
- package/dist/types/src/examples/react/component/test.d.ts +0 -17
- package/src/SubPackages/react/component/index.ts +0 -28
- package/src/SubPackages/react/component/node.ts +0 -17
- package/src/SubPackages/react/component/pure.ts +0 -17
- package/src/SubPackages/react/component/web.ts +0 -17
- package/src/SubPackages/react/jsx/index.ts +0 -75
- package/src/SubPackages/react/jsx/node.ts +0 -23
- package/src/SubPackages/react/jsx/pure.ts +0 -23
- package/src/SubPackages/react/jsx/web.ts +0 -24
- package/src/SubPackages/react-dom/component/dynamic.ts +0 -107
- package/src/SubPackages/react-dom/component/node.ts +0 -17
- package/src/SubPackages/react-dom/component/pure.ts +0 -17
- package/src/SubPackages/react-dom/component/static.ts +0 -41
- package/src/SubPackages/react-dom/component/web.ts +0 -32
- package/src/SubPackages/react-dom/jsx/dynamic.ts +0 -46
- package/src/SubPackages/react-dom/jsx/index.ts +0 -6
- package/src/SubPackages/react-dom/jsx/node.ts +0 -18
- package/src/SubPackages/react-dom/jsx/pure.ts +0 -18
- package/src/SubPackages/react-dom/jsx/static.ts +0 -87
- package/src/SubPackages/react-dom/jsx/web.ts +0 -26
- package/src/SubPackages/react-test-renderer/MemoExoticComponent/node.ts +0 -54
- package/src/SubPackages/react-test-renderer/component/index.ts +0 -32
- package/src/SubPackages/react-test-renderer/component/interface.ts +0 -43
- package/src/SubPackages/react-test-renderer/component/node.ts +0 -18
- package/src/SubPackages/react-test-renderer/component/pure.ts +0 -18
- package/src/SubPackages/react-test-renderer/component/test/implementation.ts +0 -63
- package/src/SubPackages/react-test-renderer/component/test/node.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/test/pure.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/test/web.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/web.ts +0 -18
- package/src/SubPackages/react-test-renderer/fc/node.ts +0 -83
- package/src/SubPackages/react-test-renderer/fc/web.ts +0 -80
- package/src/SubPackages/react-test-renderer/jsx/index.ts +0 -61
- package/src/SubPackages/react-test-renderer/jsx/node.ts +0 -31
- package/src/SubPackages/react-test-renderer/jsx/pure.ts +0 -31
- package/src/SubPackages/react-test-renderer/jsx/web.ts +0 -32
- package/src/SubPackages/react-test-renderer/jsx-promised/index.ts +0 -73
- package/src/SubPackages/react-test-renderer/jsx-promised/node.ts +0 -36
- package/src/SubPackages/react-test-renderer/jsx-promised/web.ts +0 -36
- package/src/examples/react/component/index.tsx +0 -35
- package/src/examples/react/component/test.ts +0 -83
- package/testeranto/bundles/node/redux/metafile.json +0 -559
- package/testeranto/bundles/pure/redux/metafile.json +0 -554
- package/testeranto/bundles/web/redux/metafile.json +0 -504
- package/testeranto/bundles/web/redux/test/web.html +0 -19
- package/testeranto/reports/redux/config.json +0 -38
- package/testeranto/reports/redux/summary.json +0 -20
- /package/dist/common/src/{SubPackages/react-dom/jsx/index.js → CoreTypes.js} +0 -0
- /package/dist/module/src/{SubPackages/react-dom/jsx/index.js → CoreTypes.js} +0 -0
package/dist/prebuild/Project.js
CHANGED
|
@@ -239,9 +239,9 @@
|
|
|
239
239
|
{
|
|
240
240
|
Object.freeze(emptyObject);
|
|
241
241
|
}
|
|
242
|
-
function Component(props,
|
|
242
|
+
function Component(props, context3, updater) {
|
|
243
243
|
this.props = props;
|
|
244
|
-
this.context =
|
|
244
|
+
this.context = context3;
|
|
245
245
|
this.refs = emptyObject;
|
|
246
246
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
247
247
|
}
|
|
@@ -277,9 +277,9 @@
|
|
|
277
277
|
function ComponentDummy() {
|
|
278
278
|
}
|
|
279
279
|
ComponentDummy.prototype = Component.prototype;
|
|
280
|
-
function PureComponent(props,
|
|
280
|
+
function PureComponent(props, context3, updater) {
|
|
281
281
|
this.props = props;
|
|
282
|
-
this.context =
|
|
282
|
+
this.context = context3;
|
|
283
283
|
this.refs = emptyObject;
|
|
284
284
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
285
285
|
}
|
|
@@ -371,8 +371,8 @@
|
|
|
371
371
|
if (typeof type === "object") {
|
|
372
372
|
switch (type.$$typeof) {
|
|
373
373
|
case REACT_CONTEXT_TYPE:
|
|
374
|
-
var
|
|
375
|
-
return getContextName(
|
|
374
|
+
var context3 = type;
|
|
375
|
+
return getContextName(context3) + ".Consumer";
|
|
376
376
|
case REACT_PROVIDER_TYPE:
|
|
377
377
|
var provider = type;
|
|
378
378
|
return getContextName(provider._context) + ".Provider";
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
var newElement = ReactElement(oldElement.type, newKey, oldElement.ref, oldElement._self, oldElement._source, oldElement._owner, oldElement.props);
|
|
580
580
|
return newElement;
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function cloneElement3(element, config, children) {
|
|
583
583
|
if (element === null || element === void 0) {
|
|
584
584
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
|
585
585
|
}
|
|
@@ -751,14 +751,14 @@
|
|
|
751
751
|
}
|
|
752
752
|
return subtreeCount;
|
|
753
753
|
}
|
|
754
|
-
function mapChildren(children, func,
|
|
754
|
+
function mapChildren(children, func, context3) {
|
|
755
755
|
if (children == null) {
|
|
756
756
|
return children;
|
|
757
757
|
}
|
|
758
758
|
var result = [];
|
|
759
759
|
var count = 0;
|
|
760
760
|
mapIntoArray(children, result, "", "", function(child) {
|
|
761
|
-
return func.call(
|
|
761
|
+
return func.call(context3, child, count++);
|
|
762
762
|
});
|
|
763
763
|
return result;
|
|
764
764
|
}
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
forEachFunc.apply(this, arguments);
|
|
775
775
|
}, forEachContext);
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function toArray2(children) {
|
|
778
778
|
return mapChildren(children, function(child) {
|
|
779
779
|
return child;
|
|
780
780
|
}) || [];
|
|
@@ -785,8 +785,8 @@
|
|
|
785
785
|
}
|
|
786
786
|
return children;
|
|
787
787
|
}
|
|
788
|
-
function
|
|
789
|
-
var
|
|
788
|
+
function createContext7(defaultValue) {
|
|
789
|
+
var context3 = {
|
|
790
790
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
791
791
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
792
792
|
// some renderers as primary and others as secondary. We only expect
|
|
@@ -805,9 +805,9 @@
|
|
|
805
805
|
_defaultValue: null,
|
|
806
806
|
_globalName: null
|
|
807
807
|
};
|
|
808
|
-
|
|
808
|
+
context3.Provider = {
|
|
809
809
|
$$typeof: REACT_PROVIDER_TYPE,
|
|
810
|
-
_context:
|
|
810
|
+
_context: context3
|
|
811
811
|
};
|
|
812
812
|
var hasWarnedAboutUsingNestedContextConsumers = false;
|
|
813
813
|
var hasWarnedAboutUsingConsumerProvider = false;
|
|
@@ -815,7 +815,7 @@
|
|
|
815
815
|
{
|
|
816
816
|
var Consumer2 = {
|
|
817
817
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
818
|
-
_context:
|
|
818
|
+
_context: context3
|
|
819
819
|
};
|
|
820
820
|
Object.defineProperties(Consumer2, {
|
|
821
821
|
Provider: {
|
|
@@ -824,34 +824,34 @@
|
|
|
824
824
|
hasWarnedAboutUsingConsumerProvider = true;
|
|
825
825
|
error("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?");
|
|
826
826
|
}
|
|
827
|
-
return
|
|
827
|
+
return context3.Provider;
|
|
828
828
|
},
|
|
829
829
|
set: function(_Provider) {
|
|
830
|
-
|
|
830
|
+
context3.Provider = _Provider;
|
|
831
831
|
}
|
|
832
832
|
},
|
|
833
833
|
_currentValue: {
|
|
834
834
|
get: function() {
|
|
835
|
-
return
|
|
835
|
+
return context3._currentValue;
|
|
836
836
|
},
|
|
837
837
|
set: function(_currentValue) {
|
|
838
|
-
|
|
838
|
+
context3._currentValue = _currentValue;
|
|
839
839
|
}
|
|
840
840
|
},
|
|
841
841
|
_currentValue2: {
|
|
842
842
|
get: function() {
|
|
843
|
-
return
|
|
843
|
+
return context3._currentValue2;
|
|
844
844
|
},
|
|
845
845
|
set: function(_currentValue2) {
|
|
846
|
-
|
|
846
|
+
context3._currentValue2 = _currentValue2;
|
|
847
847
|
}
|
|
848
848
|
},
|
|
849
849
|
_threadCount: {
|
|
850
850
|
get: function() {
|
|
851
|
-
return
|
|
851
|
+
return context3._threadCount;
|
|
852
852
|
},
|
|
853
853
|
set: function(_threadCount) {
|
|
854
|
-
|
|
854
|
+
context3._threadCount = _threadCount;
|
|
855
855
|
}
|
|
856
856
|
},
|
|
857
857
|
Consumer: {
|
|
@@ -860,12 +860,12 @@
|
|
|
860
860
|
hasWarnedAboutUsingNestedContextConsumers = true;
|
|
861
861
|
error("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
|
|
862
862
|
}
|
|
863
|
-
return
|
|
863
|
+
return context3.Consumer;
|
|
864
864
|
}
|
|
865
865
|
},
|
|
866
866
|
displayName: {
|
|
867
867
|
get: function() {
|
|
868
|
-
return
|
|
868
|
+
return context3.displayName;
|
|
869
869
|
},
|
|
870
870
|
set: function(displayName) {
|
|
871
871
|
if (!hasWarnedAboutDisplayNameOnConsumer) {
|
|
@@ -875,13 +875,13 @@
|
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
});
|
|
878
|
-
|
|
878
|
+
context3.Consumer = Consumer2;
|
|
879
879
|
}
|
|
880
880
|
{
|
|
881
|
-
|
|
882
|
-
|
|
881
|
+
context3._currentRenderer = null;
|
|
882
|
+
context3._currentRenderer2 = null;
|
|
883
883
|
}
|
|
884
|
-
return
|
|
884
|
+
return context3;
|
|
885
885
|
}
|
|
886
886
|
var Uninitialized = -1;
|
|
887
887
|
var Pending = 0;
|
|
@@ -940,7 +940,7 @@
|
|
|
940
940
|
};
|
|
941
941
|
{
|
|
942
942
|
var defaultProps;
|
|
943
|
-
var
|
|
943
|
+
var propTypes2;
|
|
944
944
|
Object.defineProperties(lazyType, {
|
|
945
945
|
defaultProps: {
|
|
946
946
|
configurable: true,
|
|
@@ -958,11 +958,11 @@
|
|
|
958
958
|
propTypes: {
|
|
959
959
|
configurable: true,
|
|
960
960
|
get: function() {
|
|
961
|
-
return
|
|
961
|
+
return propTypes2;
|
|
962
962
|
},
|
|
963
963
|
set: function(newPropTypes) {
|
|
964
964
|
error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.");
|
|
965
|
-
|
|
965
|
+
propTypes2 = newPropTypes;
|
|
966
966
|
Object.defineProperty(lazyType, "propTypes", {
|
|
967
967
|
enumerable: true
|
|
968
968
|
});
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
}
|
|
973
973
|
return lazyType;
|
|
974
974
|
}
|
|
975
|
-
function
|
|
975
|
+
function forwardRef16(render) {
|
|
976
976
|
{
|
|
977
977
|
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
|
978
978
|
error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).");
|
|
@@ -1071,7 +1071,7 @@
|
|
|
1071
1071
|
}
|
|
1072
1072
|
return dispatcher;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function useContext6(Context) {
|
|
1075
1075
|
var dispatcher = resolveDispatcher();
|
|
1076
1076
|
{
|
|
1077
1077
|
if (Context._context !== void 0) {
|
|
@@ -1085,19 +1085,19 @@
|
|
|
1085
1085
|
}
|
|
1086
1086
|
return dispatcher.useContext(Context);
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function useState8(initialState) {
|
|
1089
1089
|
var dispatcher = resolveDispatcher();
|
|
1090
1090
|
return dispatcher.useState(initialState);
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function useReducer2(reducer, initialArg, init) {
|
|
1093
1093
|
var dispatcher = resolveDispatcher();
|
|
1094
1094
|
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function useRef9(initialValue) {
|
|
1097
1097
|
var dispatcher = resolveDispatcher();
|
|
1098
1098
|
return dispatcher.useRef(initialValue);
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function useEffect12(create, deps) {
|
|
1101
1101
|
var dispatcher = resolveDispatcher();
|
|
1102
1102
|
return dispatcher.useEffect(create, deps);
|
|
1103
1103
|
}
|
|
@@ -1105,15 +1105,15 @@
|
|
|
1105
1105
|
var dispatcher = resolveDispatcher();
|
|
1106
1106
|
return dispatcher.useInsertionEffect(create, deps);
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function useLayoutEffect2(create, deps) {
|
|
1109
1109
|
var dispatcher = resolveDispatcher();
|
|
1110
1110
|
return dispatcher.useLayoutEffect(create, deps);
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function useCallback8(callback, deps) {
|
|
1113
1113
|
var dispatcher = resolveDispatcher();
|
|
1114
1114
|
return dispatcher.useCallback(callback, deps);
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function useMemo5(create, deps) {
|
|
1117
1117
|
var dispatcher = resolveDispatcher();
|
|
1118
1118
|
return dispatcher.useMemo(create, deps);
|
|
1119
1119
|
}
|
|
@@ -1540,19 +1540,19 @@
|
|
|
1540
1540
|
if (type === null || type === void 0 || typeof type === "string") {
|
|
1541
1541
|
return;
|
|
1542
1542
|
}
|
|
1543
|
-
var
|
|
1543
|
+
var propTypes2;
|
|
1544
1544
|
if (typeof type === "function") {
|
|
1545
|
-
|
|
1545
|
+
propTypes2 = type.propTypes;
|
|
1546
1546
|
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
1547
1547
|
// Inner props are checked in the reconciler.
|
|
1548
1548
|
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
1549
|
-
|
|
1549
|
+
propTypes2 = type.propTypes;
|
|
1550
1550
|
} else {
|
|
1551
1551
|
return;
|
|
1552
1552
|
}
|
|
1553
|
-
if (
|
|
1553
|
+
if (propTypes2) {
|
|
1554
1554
|
var name = getComponentNameFromType(type);
|
|
1555
|
-
checkPropTypes(
|
|
1555
|
+
checkPropTypes(propTypes2, element.props, "prop", name, element);
|
|
1556
1556
|
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
1557
1557
|
propTypesMisspellWarningShown = true;
|
|
1558
1558
|
var _name = getComponentNameFromType(type);
|
|
@@ -1649,7 +1649,7 @@
|
|
|
1649
1649
|
return validatedFactory;
|
|
1650
1650
|
}
|
|
1651
1651
|
function cloneElementWithValidation(element, props, children) {
|
|
1652
|
-
var newElement =
|
|
1652
|
+
var newElement = cloneElement3.apply(this, arguments);
|
|
1653
1653
|
for (var i = 2; i < arguments.length; i++) {
|
|
1654
1654
|
validateChildKeys(arguments[i], newElement.type);
|
|
1655
1655
|
}
|
|
@@ -1853,7 +1853,7 @@
|
|
|
1853
1853
|
map: mapChildren,
|
|
1854
1854
|
forEach: forEachChildren,
|
|
1855
1855
|
count: countChildren,
|
|
1856
|
-
toArray,
|
|
1856
|
+
toArray: toArray2,
|
|
1857
1857
|
only: onlyChild
|
|
1858
1858
|
};
|
|
1859
1859
|
exports.Children = Children;
|
|
@@ -1865,29 +1865,29 @@
|
|
|
1865
1865
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
1866
1866
|
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactSharedInternals;
|
|
1867
1867
|
exports.cloneElement = cloneElement$1;
|
|
1868
|
-
exports.createContext =
|
|
1868
|
+
exports.createContext = createContext7;
|
|
1869
1869
|
exports.createElement = createElement$1;
|
|
1870
1870
|
exports.createFactory = createFactory;
|
|
1871
1871
|
exports.createRef = createRef;
|
|
1872
|
-
exports.forwardRef =
|
|
1872
|
+
exports.forwardRef = forwardRef16;
|
|
1873
1873
|
exports.isValidElement = isValidElement;
|
|
1874
1874
|
exports.lazy = lazy;
|
|
1875
1875
|
exports.memo = memo;
|
|
1876
1876
|
exports.startTransition = startTransition;
|
|
1877
1877
|
exports.unstable_act = act;
|
|
1878
|
-
exports.useCallback =
|
|
1879
|
-
exports.useContext =
|
|
1878
|
+
exports.useCallback = useCallback8;
|
|
1879
|
+
exports.useContext = useContext6;
|
|
1880
1880
|
exports.useDebugValue = useDebugValue;
|
|
1881
1881
|
exports.useDeferredValue = useDeferredValue;
|
|
1882
|
-
exports.useEffect =
|
|
1882
|
+
exports.useEffect = useEffect12;
|
|
1883
1883
|
exports.useId = useId;
|
|
1884
1884
|
exports.useImperativeHandle = useImperativeHandle;
|
|
1885
1885
|
exports.useInsertionEffect = useInsertionEffect;
|
|
1886
|
-
exports.useLayoutEffect =
|
|
1887
|
-
exports.useMemo =
|
|
1888
|
-
exports.useReducer =
|
|
1889
|
-
exports.useRef =
|
|
1890
|
-
exports.useState =
|
|
1886
|
+
exports.useLayoutEffect = useLayoutEffect2;
|
|
1887
|
+
exports.useMemo = useMemo5;
|
|
1888
|
+
exports.useReducer = useReducer2;
|
|
1889
|
+
exports.useRef = useRef9;
|
|
1890
|
+
exports.useState = useState8;
|
|
1891
1891
|
exports.useSyncExternalStore = useSyncExternalStore;
|
|
1892
1892
|
exports.useTransition = useTransition;
|
|
1893
1893
|
exports.version = ReactVersion;
|
|
@@ -2189,26 +2189,26 @@
|
|
|
2189
2189
|
} else {
|
|
2190
2190
|
startTime2 = currentTime;
|
|
2191
2191
|
}
|
|
2192
|
-
var
|
|
2192
|
+
var timeout2;
|
|
2193
2193
|
switch (priorityLevel) {
|
|
2194
2194
|
case ImmediatePriority:
|
|
2195
|
-
|
|
2195
|
+
timeout2 = IMMEDIATE_PRIORITY_TIMEOUT;
|
|
2196
2196
|
break;
|
|
2197
2197
|
case UserBlockingPriority:
|
|
2198
|
-
|
|
2198
|
+
timeout2 = USER_BLOCKING_PRIORITY_TIMEOUT;
|
|
2199
2199
|
break;
|
|
2200
2200
|
case IdlePriority:
|
|
2201
|
-
|
|
2201
|
+
timeout2 = IDLE_PRIORITY_TIMEOUT;
|
|
2202
2202
|
break;
|
|
2203
2203
|
case LowPriority:
|
|
2204
|
-
|
|
2204
|
+
timeout2 = LOW_PRIORITY_TIMEOUT;
|
|
2205
2205
|
break;
|
|
2206
2206
|
case NormalPriority:
|
|
2207
2207
|
default:
|
|
2208
|
-
|
|
2208
|
+
timeout2 = NORMAL_PRIORITY_TIMEOUT;
|
|
2209
2209
|
break;
|
|
2210
2210
|
}
|
|
2211
|
-
var expirationTime = startTime2 +
|
|
2211
|
+
var expirationTime = startTime2 + timeout2;
|
|
2212
2212
|
var newTask = {
|
|
2213
2213
|
id: taskIdCounter++,
|
|
2214
2214
|
callback,
|
|
@@ -2383,9 +2383,9 @@
|
|
|
2383
2383
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
|
|
2384
2384
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
2385
2385
|
}
|
|
2386
|
-
var
|
|
2386
|
+
var React29 = require_react();
|
|
2387
2387
|
var Scheduler = require_scheduler();
|
|
2388
|
-
var ReactSharedInternals =
|
|
2388
|
+
var ReactSharedInternals = React29.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
2389
2389
|
var suppressWarning = false;
|
|
2390
2390
|
function setSuppressWarning(newSuppressWarning) {
|
|
2391
2391
|
{
|
|
@@ -3541,8 +3541,8 @@
|
|
|
3541
3541
|
if (typeof type === "object") {
|
|
3542
3542
|
switch (type.$$typeof) {
|
|
3543
3543
|
case REACT_CONTEXT_TYPE:
|
|
3544
|
-
var
|
|
3545
|
-
return getContextName(
|
|
3544
|
+
var context3 = type;
|
|
3545
|
+
return getContextName(context3) + ".Consumer";
|
|
3546
3546
|
case REACT_PROVIDER_TYPE:
|
|
3547
3547
|
var provider = type;
|
|
3548
3548
|
return getContextName(provider._context) + ".Provider";
|
|
@@ -3581,8 +3581,8 @@
|
|
|
3581
3581
|
case CacheComponent:
|
|
3582
3582
|
return "Cache";
|
|
3583
3583
|
case ContextConsumer:
|
|
3584
|
-
var
|
|
3585
|
-
return getContextName$1(
|
|
3584
|
+
var context3 = type;
|
|
3585
|
+
return getContextName$1(context3) + ".Consumer";
|
|
3586
3586
|
case ContextProvider:
|
|
3587
3587
|
var provider = type;
|
|
3588
3588
|
return getContextName$1(provider._context) + ".Provider";
|
|
@@ -3990,7 +3990,7 @@
|
|
|
3990
3990
|
{
|
|
3991
3991
|
if (props.value == null) {
|
|
3992
3992
|
if (typeof props.children === "object" && props.children !== null) {
|
|
3993
|
-
|
|
3993
|
+
React29.Children.forEach(props.children, function(child) {
|
|
3994
3994
|
if (child == null) {
|
|
3995
3995
|
return;
|
|
3996
3996
|
}
|
|
@@ -4406,9 +4406,9 @@
|
|
|
4406
4406
|
return ("" + value).trim();
|
|
4407
4407
|
}
|
|
4408
4408
|
var uppercasePattern = /([A-Z])/g;
|
|
4409
|
-
var
|
|
4410
|
-
function
|
|
4411
|
-
return name.replace(uppercasePattern, "-$1").toLowerCase().replace(
|
|
4409
|
+
var msPattern2 = /^ms-/;
|
|
4410
|
+
function hyphenateStyleName2(name) {
|
|
4411
|
+
return name.replace(uppercasePattern, "-$1").toLowerCase().replace(msPattern2, "-ms-");
|
|
4412
4412
|
}
|
|
4413
4413
|
var warnValidStyle = function() {
|
|
4414
4414
|
};
|
|
@@ -4497,7 +4497,7 @@
|
|
|
4497
4497
|
var styleValue = styles[styleName];
|
|
4498
4498
|
if (styleValue != null) {
|
|
4499
4499
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
4500
|
-
serialized += delimiter + (isCustomProperty ? styleName :
|
|
4500
|
+
serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName2(styleName)) + ":";
|
|
4501
4501
|
serialized += dangerousStyleValue(styleName, styleValue, isCustomProperty);
|
|
4502
4502
|
delimiter = ";";
|
|
4503
4503
|
}
|
|
@@ -4506,7 +4506,7 @@
|
|
|
4506
4506
|
}
|
|
4507
4507
|
}
|
|
4508
4508
|
function setValueForStyles(node, styles) {
|
|
4509
|
-
var
|
|
4509
|
+
var style3 = node.style;
|
|
4510
4510
|
for (var styleName in styles) {
|
|
4511
4511
|
if (!styles.hasOwnProperty(styleName)) {
|
|
4512
4512
|
continue;
|
|
@@ -4522,9 +4522,9 @@
|
|
|
4522
4522
|
styleName = "cssFloat";
|
|
4523
4523
|
}
|
|
4524
4524
|
if (isCustomProperty) {
|
|
4525
|
-
|
|
4525
|
+
style3.setProperty(styleName, styleValue);
|
|
4526
4526
|
} else {
|
|
4527
|
-
|
|
4527
|
+
style3[styleName] = styleValue;
|
|
4528
4528
|
}
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
@@ -5546,10 +5546,10 @@
|
|
|
5546
5546
|
passiveBrowserEventsSupported = false;
|
|
5547
5547
|
}
|
|
5548
5548
|
}
|
|
5549
|
-
function invokeGuardedCallbackProd(name, func,
|
|
5549
|
+
function invokeGuardedCallbackProd(name, func, context3, a, b, c, d, e, f) {
|
|
5550
5550
|
var funcArgs = Array.prototype.slice.call(arguments, 3);
|
|
5551
5551
|
try {
|
|
5552
|
-
func.apply(
|
|
5552
|
+
func.apply(context3, funcArgs);
|
|
5553
5553
|
} catch (error2) {
|
|
5554
5554
|
this.onError(error2);
|
|
5555
5555
|
}
|
|
@@ -5558,7 +5558,7 @@
|
|
|
5558
5558
|
{
|
|
5559
5559
|
if (typeof window !== "undefined" && typeof window.dispatchEvent === "function" && typeof document !== "undefined" && typeof document.createEvent === "function") {
|
|
5560
5560
|
var fakeNode = document.createElement("react");
|
|
5561
|
-
invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name, func,
|
|
5561
|
+
invokeGuardedCallbackImpl = function invokeGuardedCallbackDev(name, func, context3, a, b, c, d, e, f) {
|
|
5562
5562
|
if (typeof document === "undefined" || document === null) {
|
|
5563
5563
|
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
5564
5564
|
}
|
|
@@ -5577,7 +5577,7 @@
|
|
|
5577
5577
|
function callCallback2() {
|
|
5578
5578
|
didCall = true;
|
|
5579
5579
|
restoreAfterDispatch();
|
|
5580
|
-
func.apply(
|
|
5580
|
+
func.apply(context3, funcArgs);
|
|
5581
5581
|
didError = false;
|
|
5582
5582
|
}
|
|
5583
5583
|
var error2;
|
|
@@ -5633,12 +5633,12 @@
|
|
|
5633
5633
|
caughtError = error2;
|
|
5634
5634
|
}
|
|
5635
5635
|
};
|
|
5636
|
-
function invokeGuardedCallback(name, func,
|
|
5636
|
+
function invokeGuardedCallback(name, func, context3, a, b, c, d, e, f) {
|
|
5637
5637
|
hasError = false;
|
|
5638
5638
|
caughtError = null;
|
|
5639
5639
|
invokeGuardedCallbackImpl$1.apply(reporter, arguments);
|
|
5640
5640
|
}
|
|
5641
|
-
function invokeGuardedCallbackAndCatchFirstError(name, func,
|
|
5641
|
+
function invokeGuardedCallbackAndCatchFirstError(name, func, context3, a, b, c, d, e, f) {
|
|
5642
5642
|
invokeGuardedCallback.apply(this, arguments);
|
|
5643
5643
|
if (hasError) {
|
|
5644
5644
|
var error2 = clearCaughtError();
|
|
@@ -8437,8 +8437,8 @@
|
|
|
8437
8437
|
}
|
|
8438
8438
|
}
|
|
8439
8439
|
function getOffsets(outerNode) {
|
|
8440
|
-
var
|
|
8441
|
-
var win =
|
|
8440
|
+
var ownerDocument2 = outerNode.ownerDocument;
|
|
8441
|
+
var win = ownerDocument2 && ownerDocument2.defaultView || window;
|
|
8442
8442
|
var selection = win.getSelection && win.getSelection();
|
|
8443
8443
|
if (!selection || selection.rangeCount === 0) {
|
|
8444
8444
|
return null;
|
|
@@ -8743,9 +8743,9 @@
|
|
|
8743
8743
|
transitionend: makePrefixMap("Transition", "TransitionEnd")
|
|
8744
8744
|
};
|
|
8745
8745
|
var prefixedEventNames = {};
|
|
8746
|
-
var
|
|
8746
|
+
var style2 = {};
|
|
8747
8747
|
if (canUseDOM) {
|
|
8748
|
-
|
|
8748
|
+
style2 = document.createElement("div").style;
|
|
8749
8749
|
if (!("AnimationEvent" in window)) {
|
|
8750
8750
|
delete vendorPrefixes.animationend.animation;
|
|
8751
8751
|
delete vendorPrefixes.animationiteration.animation;
|
|
@@ -8763,7 +8763,7 @@
|
|
|
8763
8763
|
}
|
|
8764
8764
|
var prefixMap = vendorPrefixes[eventName];
|
|
8765
8765
|
for (var styleProp in prefixMap) {
|
|
8766
|
-
if (prefixMap.hasOwnProperty(styleProp) && styleProp in
|
|
8766
|
+
if (prefixMap.hasOwnProperty(styleProp) && styleProp in style2) {
|
|
8767
8767
|
return prefixedEventNames[eventName] = prefixMap[styleProp];
|
|
8768
8768
|
}
|
|
8769
8769
|
}
|
|
@@ -8996,11 +8996,11 @@
|
|
|
8996
8996
|
listenToNativeEvent(domEventName, true, rootContainerElement);
|
|
8997
8997
|
}
|
|
8998
8998
|
});
|
|
8999
|
-
var
|
|
9000
|
-
if (
|
|
9001
|
-
if (!
|
|
9002
|
-
|
|
9003
|
-
listenToNativeEvent("selectionchange", false,
|
|
8999
|
+
var ownerDocument2 = rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
|
|
9000
|
+
if (ownerDocument2 !== null) {
|
|
9001
|
+
if (!ownerDocument2[listeningMarker]) {
|
|
9002
|
+
ownerDocument2[listeningMarker] = true;
|
|
9003
|
+
listenToNativeEvent("selectionchange", false, ownerDocument2);
|
|
9004
9004
|
}
|
|
9005
9005
|
}
|
|
9006
9006
|
}
|
|
@@ -9324,10 +9324,10 @@
|
|
|
9324
9324
|
function getOwnerDocumentFromRootContainer(rootContainerElement) {
|
|
9325
9325
|
return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
|
|
9326
9326
|
}
|
|
9327
|
-
function
|
|
9327
|
+
function noop3() {
|
|
9328
9328
|
}
|
|
9329
9329
|
function trapClickOnNonInteractiveElement(node) {
|
|
9330
|
-
node.onclick =
|
|
9330
|
+
node.onclick = noop3;
|
|
9331
9331
|
}
|
|
9332
9332
|
function setInitialDOMProperties(tag, domElement, rootContainerElement, nextProps, isCustomComponentTag) {
|
|
9333
9333
|
for (var propKey in nextProps) {
|
|
@@ -9391,7 +9391,7 @@
|
|
|
9391
9391
|
}
|
|
9392
9392
|
function createElement(type, props, rootContainerElement, parentNamespace) {
|
|
9393
9393
|
var isCustomComponentTag;
|
|
9394
|
-
var
|
|
9394
|
+
var ownerDocument2 = getOwnerDocumentFromRootContainer(rootContainerElement);
|
|
9395
9395
|
var domElement;
|
|
9396
9396
|
var namespaceURI = parentNamespace;
|
|
9397
9397
|
if (namespaceURI === HTML_NAMESPACE) {
|
|
@@ -9405,16 +9405,16 @@
|
|
|
9405
9405
|
}
|
|
9406
9406
|
}
|
|
9407
9407
|
if (type === "script") {
|
|
9408
|
-
var div =
|
|
9408
|
+
var div = ownerDocument2.createElement("div");
|
|
9409
9409
|
div.innerHTML = "<script><\/script>";
|
|
9410
9410
|
var firstChild = div.firstChild;
|
|
9411
9411
|
domElement = div.removeChild(firstChild);
|
|
9412
9412
|
} else if (typeof props.is === "string") {
|
|
9413
|
-
domElement =
|
|
9413
|
+
domElement = ownerDocument2.createElement(type, {
|
|
9414
9414
|
is: props.is
|
|
9415
9415
|
});
|
|
9416
9416
|
} else {
|
|
9417
|
-
domElement =
|
|
9417
|
+
domElement = ownerDocument2.createElement(type);
|
|
9418
9418
|
if (type === "select") {
|
|
9419
9419
|
var node = domElement;
|
|
9420
9420
|
if (props.multiple) {
|
|
@@ -9425,7 +9425,7 @@
|
|
|
9425
9425
|
}
|
|
9426
9426
|
}
|
|
9427
9427
|
} else {
|
|
9428
|
-
domElement =
|
|
9428
|
+
domElement = ownerDocument2.createElementNS(namespaceURI, type);
|
|
9429
9429
|
}
|
|
9430
9430
|
{
|
|
9431
9431
|
if (namespaceURI === HTML_NAMESPACE) {
|
|
@@ -10413,11 +10413,11 @@
|
|
|
10413
10413
|
}
|
|
10414
10414
|
function hideInstance(instance) {
|
|
10415
10415
|
instance = instance;
|
|
10416
|
-
var
|
|
10417
|
-
if (typeof
|
|
10418
|
-
|
|
10416
|
+
var style3 = instance.style;
|
|
10417
|
+
if (typeof style3.setProperty === "function") {
|
|
10418
|
+
style3.setProperty("display", "none", "important");
|
|
10419
10419
|
} else {
|
|
10420
|
-
|
|
10420
|
+
style3.display = "none";
|
|
10421
10421
|
}
|
|
10422
10422
|
}
|
|
10423
10423
|
function hideTextInstance(textInstance) {
|
|
@@ -10880,18 +10880,18 @@
|
|
|
10880
10880
|
if (instance && instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext) {
|
|
10881
10881
|
return instance.__reactInternalMemoizedMaskedChildContext;
|
|
10882
10882
|
}
|
|
10883
|
-
var
|
|
10883
|
+
var context3 = {};
|
|
10884
10884
|
for (var key in contextTypes) {
|
|
10885
|
-
|
|
10885
|
+
context3[key] = unmaskedContext[key];
|
|
10886
10886
|
}
|
|
10887
10887
|
{
|
|
10888
10888
|
var name = getComponentNameFromFiber(workInProgress2) || "Unknown";
|
|
10889
|
-
checkPropTypes(contextTypes,
|
|
10889
|
+
checkPropTypes(contextTypes, context3, "context", name);
|
|
10890
10890
|
}
|
|
10891
10891
|
if (instance) {
|
|
10892
|
-
cacheContext(workInProgress2, unmaskedContext,
|
|
10892
|
+
cacheContext(workInProgress2, unmaskedContext, context3);
|
|
10893
10893
|
}
|
|
10894
|
-
return
|
|
10894
|
+
return context3;
|
|
10895
10895
|
}
|
|
10896
10896
|
}
|
|
10897
10897
|
function hasContextChanged() {
|
|
@@ -10917,12 +10917,12 @@
|
|
|
10917
10917
|
pop(contextStackCursor, fiber);
|
|
10918
10918
|
}
|
|
10919
10919
|
}
|
|
10920
|
-
function pushTopLevelContextObject(fiber,
|
|
10920
|
+
function pushTopLevelContextObject(fiber, context3, didChange) {
|
|
10921
10921
|
{
|
|
10922
10922
|
if (contextStackCursor.current !== emptyContextObject) {
|
|
10923
10923
|
throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");
|
|
10924
10924
|
}
|
|
10925
|
-
push(contextStackCursor,
|
|
10925
|
+
push(contextStackCursor, context3, fiber);
|
|
10926
10926
|
push(didPerformWorkStackCursor, didChange, fiber);
|
|
10927
10927
|
}
|
|
10928
10928
|
}
|
|
@@ -11796,24 +11796,24 @@
|
|
|
11796
11796
|
isDisallowedContextReadInDEV = false;
|
|
11797
11797
|
}
|
|
11798
11798
|
}
|
|
11799
|
-
function pushProvider(providerFiber,
|
|
11799
|
+
function pushProvider(providerFiber, context3, nextValue) {
|
|
11800
11800
|
{
|
|
11801
|
-
push(valueCursor,
|
|
11802
|
-
|
|
11801
|
+
push(valueCursor, context3._currentValue, providerFiber);
|
|
11802
|
+
context3._currentValue = nextValue;
|
|
11803
11803
|
{
|
|
11804
|
-
if (
|
|
11804
|
+
if (context3._currentRenderer !== void 0 && context3._currentRenderer !== null && context3._currentRenderer !== rendererSigil) {
|
|
11805
11805
|
error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.");
|
|
11806
11806
|
}
|
|
11807
|
-
|
|
11807
|
+
context3._currentRenderer = rendererSigil;
|
|
11808
11808
|
}
|
|
11809
11809
|
}
|
|
11810
11810
|
}
|
|
11811
|
-
function popProvider(
|
|
11811
|
+
function popProvider(context3, providerFiber) {
|
|
11812
11812
|
var currentValue = valueCursor.current;
|
|
11813
11813
|
pop(valueCursor, providerFiber);
|
|
11814
11814
|
{
|
|
11815
11815
|
{
|
|
11816
|
-
|
|
11816
|
+
context3._currentValue = currentValue;
|
|
11817
11817
|
}
|
|
11818
11818
|
}
|
|
11819
11819
|
}
|
|
@@ -11840,12 +11840,12 @@
|
|
|
11840
11840
|
}
|
|
11841
11841
|
}
|
|
11842
11842
|
}
|
|
11843
|
-
function propagateContextChange(workInProgress2,
|
|
11843
|
+
function propagateContextChange(workInProgress2, context3, renderLanes2) {
|
|
11844
11844
|
{
|
|
11845
|
-
propagateContextChange_eager(workInProgress2,
|
|
11845
|
+
propagateContextChange_eager(workInProgress2, context3, renderLanes2);
|
|
11846
11846
|
}
|
|
11847
11847
|
}
|
|
11848
|
-
function propagateContextChange_eager(workInProgress2,
|
|
11848
|
+
function propagateContextChange_eager(workInProgress2, context3, renderLanes2) {
|
|
11849
11849
|
var fiber = workInProgress2.child;
|
|
11850
11850
|
if (fiber !== null) {
|
|
11851
11851
|
fiber.return = workInProgress2;
|
|
@@ -11857,7 +11857,7 @@
|
|
|
11857
11857
|
nextFiber = fiber.child;
|
|
11858
11858
|
var dependency = list.firstContext;
|
|
11859
11859
|
while (dependency !== null) {
|
|
11860
|
-
if (dependency.context ===
|
|
11860
|
+
if (dependency.context === context3) {
|
|
11861
11861
|
if (fiber.tag === ClassComponent) {
|
|
11862
11862
|
var lane = pickArbitraryLane(renderLanes2);
|
|
11863
11863
|
var update = createUpdate(NoTimestamp, lane);
|
|
@@ -11943,18 +11943,18 @@
|
|
|
11943
11943
|
}
|
|
11944
11944
|
}
|
|
11945
11945
|
}
|
|
11946
|
-
function readContext(
|
|
11946
|
+
function readContext(context3) {
|
|
11947
11947
|
{
|
|
11948
11948
|
if (isDisallowedContextReadInDEV) {
|
|
11949
11949
|
error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
11950
11950
|
}
|
|
11951
11951
|
}
|
|
11952
|
-
var value =
|
|
11953
|
-
if (lastFullyObservedContext ===
|
|
11952
|
+
var value = context3._currentValue;
|
|
11953
|
+
if (lastFullyObservedContext === context3)
|
|
11954
11954
|
;
|
|
11955
11955
|
else {
|
|
11956
11956
|
var contextItem = {
|
|
11957
|
-
context,
|
|
11957
|
+
context: context3,
|
|
11958
11958
|
memoizedValue: value,
|
|
11959
11959
|
next: null
|
|
11960
11960
|
};
|
|
@@ -12410,11 +12410,11 @@
|
|
|
12410
12410
|
currentlyProcessingQueue = null;
|
|
12411
12411
|
}
|
|
12412
12412
|
}
|
|
12413
|
-
function callCallback(callback,
|
|
12413
|
+
function callCallback(callback, context3) {
|
|
12414
12414
|
if (typeof callback !== "function") {
|
|
12415
12415
|
throw new Error("Invalid argument passed as callback. Expected a function. Instead " + ("received: " + callback));
|
|
12416
12416
|
}
|
|
12417
|
-
callback.call(
|
|
12417
|
+
callback.call(context3);
|
|
12418
12418
|
}
|
|
12419
12419
|
function resetHasForceUpdateBeforeProcessing() {
|
|
12420
12420
|
hasForceUpdate = false;
|
|
@@ -12437,7 +12437,7 @@
|
|
|
12437
12437
|
}
|
|
12438
12438
|
}
|
|
12439
12439
|
var fakeInternalInstance = {};
|
|
12440
|
-
var emptyRefsObject = new
|
|
12440
|
+
var emptyRefsObject = new React29.Component().refs;
|
|
12441
12441
|
var didWarnAboutStateAssignmentForComponent;
|
|
12442
12442
|
var didWarnAboutUninitializedState;
|
|
12443
12443
|
var didWarnAboutGetSnapshotBeforeUpdateWithoutDidUpdate;
|
|
@@ -12688,7 +12688,7 @@
|
|
|
12688
12688
|
function constructClassInstance(workInProgress2, ctor, props) {
|
|
12689
12689
|
var isLegacyContextConsumer = false;
|
|
12690
12690
|
var unmaskedContext = emptyContextObject;
|
|
12691
|
-
var
|
|
12691
|
+
var context3 = emptyContextObject;
|
|
12692
12692
|
var contextType = ctor.contextType;
|
|
12693
12693
|
{
|
|
12694
12694
|
if ("contextType" in ctor) {
|
|
@@ -12715,19 +12715,19 @@
|
|
|
12715
12715
|
}
|
|
12716
12716
|
}
|
|
12717
12717
|
if (typeof contextType === "object" && contextType !== null) {
|
|
12718
|
-
|
|
12718
|
+
context3 = readContext(contextType);
|
|
12719
12719
|
} else {
|
|
12720
12720
|
unmaskedContext = getUnmaskedContext(workInProgress2, ctor, true);
|
|
12721
12721
|
var contextTypes = ctor.contextTypes;
|
|
12722
12722
|
isLegacyContextConsumer = contextTypes !== null && contextTypes !== void 0;
|
|
12723
|
-
|
|
12723
|
+
context3 = isLegacyContextConsumer ? getMaskedContext(workInProgress2, unmaskedContext) : emptyContextObject;
|
|
12724
12724
|
}
|
|
12725
|
-
var instance = new ctor(props,
|
|
12725
|
+
var instance = new ctor(props, context3);
|
|
12726
12726
|
{
|
|
12727
12727
|
if (workInProgress2.mode & StrictLegacyMode) {
|
|
12728
12728
|
setIsStrictModeForDevtools(true);
|
|
12729
12729
|
try {
|
|
12730
|
-
instance = new ctor(props,
|
|
12730
|
+
instance = new ctor(props, context3);
|
|
12731
12731
|
} finally {
|
|
12732
12732
|
setIsStrictModeForDevtools(false);
|
|
12733
12733
|
}
|
|
@@ -12773,7 +12773,7 @@
|
|
|
12773
12773
|
}
|
|
12774
12774
|
}
|
|
12775
12775
|
if (isLegacyContextConsumer) {
|
|
12776
|
-
cacheContext(workInProgress2, unmaskedContext,
|
|
12776
|
+
cacheContext(workInProgress2, unmaskedContext, context3);
|
|
12777
12777
|
}
|
|
12778
12778
|
return instance;
|
|
12779
12779
|
}
|
|
@@ -13824,14 +13824,14 @@
|
|
|
13824
13824
|
pop(rootInstanceStackCursor, fiber);
|
|
13825
13825
|
}
|
|
13826
13826
|
function getHostContext() {
|
|
13827
|
-
var
|
|
13828
|
-
return
|
|
13827
|
+
var context3 = requiredContext(contextStackCursor$1.current);
|
|
13828
|
+
return context3;
|
|
13829
13829
|
}
|
|
13830
13830
|
function pushHostContext(fiber) {
|
|
13831
13831
|
var rootInstance = requiredContext(rootInstanceStackCursor.current);
|
|
13832
|
-
var
|
|
13833
|
-
var nextContext = getChildHostContext(
|
|
13834
|
-
if (
|
|
13832
|
+
var context3 = requiredContext(contextStackCursor$1.current);
|
|
13833
|
+
var nextContext = getChildHostContext(context3, fiber.type);
|
|
13834
|
+
if (context3 === nextContext) {
|
|
13835
13835
|
return;
|
|
13836
13836
|
}
|
|
13837
13837
|
push(contextFiberStackCursor, fiber, fiber);
|
|
@@ -13949,11 +13949,11 @@
|
|
|
13949
13949
|
}
|
|
13950
13950
|
function registerMutableSourceForHydration(root2, mutableSource) {
|
|
13951
13951
|
var getVersion = mutableSource._getVersion;
|
|
13952
|
-
var
|
|
13952
|
+
var version2 = getVersion(mutableSource._source);
|
|
13953
13953
|
if (root2.mutableSourceEagerHydrationData == null) {
|
|
13954
|
-
root2.mutableSourceEagerHydrationData = [mutableSource,
|
|
13954
|
+
root2.mutableSourceEagerHydrationData = [mutableSource, version2];
|
|
13955
13955
|
} else {
|
|
13956
|
-
root2.mutableSourceEagerHydrationData.push(mutableSource,
|
|
13956
|
+
root2.mutableSourceEagerHydrationData.push(mutableSource, version2);
|
|
13957
13957
|
}
|
|
13958
13958
|
}
|
|
13959
13959
|
var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher, ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig;
|
|
@@ -14999,8 +14999,8 @@
|
|
|
14999
14999
|
error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks");
|
|
15000
15000
|
};
|
|
15001
15001
|
HooksDispatcherOnMountInDEV = {
|
|
15002
|
-
readContext: function(
|
|
15003
|
-
return readContext(
|
|
15002
|
+
readContext: function(context3) {
|
|
15003
|
+
return readContext(context3);
|
|
15004
15004
|
},
|
|
15005
15005
|
useCallback: function(callback, deps) {
|
|
15006
15006
|
currentHookNameInDev = "useCallback";
|
|
@@ -15008,10 +15008,10 @@
|
|
|
15008
15008
|
checkDepsAreArrayDev(deps);
|
|
15009
15009
|
return mountCallback(callback, deps);
|
|
15010
15010
|
},
|
|
15011
|
-
useContext: function(
|
|
15011
|
+
useContext: function(context3) {
|
|
15012
15012
|
currentHookNameInDev = "useContext";
|
|
15013
15013
|
mountHookTypesDev();
|
|
15014
|
-
return readContext(
|
|
15014
|
+
return readContext(context3);
|
|
15015
15015
|
},
|
|
15016
15016
|
useEffect: function(create, deps) {
|
|
15017
15017
|
currentHookNameInDev = "useEffect";
|
|
@@ -15109,18 +15109,18 @@
|
|
|
15109
15109
|
unstable_isNewReconciler: enableNewReconciler
|
|
15110
15110
|
};
|
|
15111
15111
|
HooksDispatcherOnMountWithHookTypesInDEV = {
|
|
15112
|
-
readContext: function(
|
|
15113
|
-
return readContext(
|
|
15112
|
+
readContext: function(context3) {
|
|
15113
|
+
return readContext(context3);
|
|
15114
15114
|
},
|
|
15115
15115
|
useCallback: function(callback, deps) {
|
|
15116
15116
|
currentHookNameInDev = "useCallback";
|
|
15117
15117
|
updateHookTypesDev();
|
|
15118
15118
|
return mountCallback(callback, deps);
|
|
15119
15119
|
},
|
|
15120
|
-
useContext: function(
|
|
15120
|
+
useContext: function(context3) {
|
|
15121
15121
|
currentHookNameInDev = "useContext";
|
|
15122
15122
|
updateHookTypesDev();
|
|
15123
|
-
return readContext(
|
|
15123
|
+
return readContext(context3);
|
|
15124
15124
|
},
|
|
15125
15125
|
useEffect: function(create, deps) {
|
|
15126
15126
|
currentHookNameInDev = "useEffect";
|
|
@@ -15213,18 +15213,18 @@
|
|
|
15213
15213
|
unstable_isNewReconciler: enableNewReconciler
|
|
15214
15214
|
};
|
|
15215
15215
|
HooksDispatcherOnUpdateInDEV = {
|
|
15216
|
-
readContext: function(
|
|
15217
|
-
return readContext(
|
|
15216
|
+
readContext: function(context3) {
|
|
15217
|
+
return readContext(context3);
|
|
15218
15218
|
},
|
|
15219
15219
|
useCallback: function(callback, deps) {
|
|
15220
15220
|
currentHookNameInDev = "useCallback";
|
|
15221
15221
|
updateHookTypesDev();
|
|
15222
15222
|
return updateCallback(callback, deps);
|
|
15223
15223
|
},
|
|
15224
|
-
useContext: function(
|
|
15224
|
+
useContext: function(context3) {
|
|
15225
15225
|
currentHookNameInDev = "useContext";
|
|
15226
15226
|
updateHookTypesDev();
|
|
15227
|
-
return readContext(
|
|
15227
|
+
return readContext(context3);
|
|
15228
15228
|
},
|
|
15229
15229
|
useEffect: function(create, deps) {
|
|
15230
15230
|
currentHookNameInDev = "useEffect";
|
|
@@ -15317,18 +15317,18 @@
|
|
|
15317
15317
|
unstable_isNewReconciler: enableNewReconciler
|
|
15318
15318
|
};
|
|
15319
15319
|
HooksDispatcherOnRerenderInDEV = {
|
|
15320
|
-
readContext: function(
|
|
15321
|
-
return readContext(
|
|
15320
|
+
readContext: function(context3) {
|
|
15321
|
+
return readContext(context3);
|
|
15322
15322
|
},
|
|
15323
15323
|
useCallback: function(callback, deps) {
|
|
15324
15324
|
currentHookNameInDev = "useCallback";
|
|
15325
15325
|
updateHookTypesDev();
|
|
15326
15326
|
return updateCallback(callback, deps);
|
|
15327
15327
|
},
|
|
15328
|
-
useContext: function(
|
|
15328
|
+
useContext: function(context3) {
|
|
15329
15329
|
currentHookNameInDev = "useContext";
|
|
15330
15330
|
updateHookTypesDev();
|
|
15331
|
-
return readContext(
|
|
15331
|
+
return readContext(context3);
|
|
15332
15332
|
},
|
|
15333
15333
|
useEffect: function(create, deps) {
|
|
15334
15334
|
currentHookNameInDev = "useEffect";
|
|
@@ -15421,9 +15421,9 @@
|
|
|
15421
15421
|
unstable_isNewReconciler: enableNewReconciler
|
|
15422
15422
|
};
|
|
15423
15423
|
InvalidNestedHooksDispatcherOnMountInDEV = {
|
|
15424
|
-
readContext: function(
|
|
15424
|
+
readContext: function(context3) {
|
|
15425
15425
|
warnInvalidContextAccess();
|
|
15426
|
-
return readContext(
|
|
15426
|
+
return readContext(context3);
|
|
15427
15427
|
},
|
|
15428
15428
|
useCallback: function(callback, deps) {
|
|
15429
15429
|
currentHookNameInDev = "useCallback";
|
|
@@ -15431,11 +15431,11 @@
|
|
|
15431
15431
|
mountHookTypesDev();
|
|
15432
15432
|
return mountCallback(callback, deps);
|
|
15433
15433
|
},
|
|
15434
|
-
useContext: function(
|
|
15434
|
+
useContext: function(context3) {
|
|
15435
15435
|
currentHookNameInDev = "useContext";
|
|
15436
15436
|
warnInvalidHookAccess();
|
|
15437
15437
|
mountHookTypesDev();
|
|
15438
|
-
return readContext(
|
|
15438
|
+
return readContext(context3);
|
|
15439
15439
|
},
|
|
15440
15440
|
useEffect: function(create, deps) {
|
|
15441
15441
|
currentHookNameInDev = "useEffect";
|
|
@@ -15542,9 +15542,9 @@
|
|
|
15542
15542
|
unstable_isNewReconciler: enableNewReconciler
|
|
15543
15543
|
};
|
|
15544
15544
|
InvalidNestedHooksDispatcherOnUpdateInDEV = {
|
|
15545
|
-
readContext: function(
|
|
15545
|
+
readContext: function(context3) {
|
|
15546
15546
|
warnInvalidContextAccess();
|
|
15547
|
-
return readContext(
|
|
15547
|
+
return readContext(context3);
|
|
15548
15548
|
},
|
|
15549
15549
|
useCallback: function(callback, deps) {
|
|
15550
15550
|
currentHookNameInDev = "useCallback";
|
|
@@ -15552,11 +15552,11 @@
|
|
|
15552
15552
|
updateHookTypesDev();
|
|
15553
15553
|
return updateCallback(callback, deps);
|
|
15554
15554
|
},
|
|
15555
|
-
useContext: function(
|
|
15555
|
+
useContext: function(context3) {
|
|
15556
15556
|
currentHookNameInDev = "useContext";
|
|
15557
15557
|
warnInvalidHookAccess();
|
|
15558
15558
|
updateHookTypesDev();
|
|
15559
|
-
return readContext(
|
|
15559
|
+
return readContext(context3);
|
|
15560
15560
|
},
|
|
15561
15561
|
useEffect: function(create, deps) {
|
|
15562
15562
|
currentHookNameInDev = "useEffect";
|
|
@@ -15663,9 +15663,9 @@
|
|
|
15663
15663
|
unstable_isNewReconciler: enableNewReconciler
|
|
15664
15664
|
};
|
|
15665
15665
|
InvalidNestedHooksDispatcherOnRerenderInDEV = {
|
|
15666
|
-
readContext: function(
|
|
15666
|
+
readContext: function(context3) {
|
|
15667
15667
|
warnInvalidContextAccess();
|
|
15668
|
-
return readContext(
|
|
15668
|
+
return readContext(context3);
|
|
15669
15669
|
},
|
|
15670
15670
|
useCallback: function(callback, deps) {
|
|
15671
15671
|
currentHookNameInDev = "useCallback";
|
|
@@ -15673,11 +15673,11 @@
|
|
|
15673
15673
|
updateHookTypesDev();
|
|
15674
15674
|
return updateCallback(callback, deps);
|
|
15675
15675
|
},
|
|
15676
|
-
useContext: function(
|
|
15676
|
+
useContext: function(context3) {
|
|
15677
15677
|
currentHookNameInDev = "useContext";
|
|
15678
15678
|
warnInvalidHookAccess();
|
|
15679
15679
|
updateHookTypesDev();
|
|
15680
|
-
return readContext(
|
|
15680
|
+
return readContext(context3);
|
|
15681
15681
|
},
|
|
15682
15682
|
useEffect: function(create, deps) {
|
|
15683
15683
|
currentHookNameInDev = "useEffect";
|
|
@@ -16466,10 +16466,10 @@
|
|
|
16466
16466
|
}
|
|
16467
16467
|
}
|
|
16468
16468
|
}
|
|
16469
|
-
var
|
|
16469
|
+
var context3;
|
|
16470
16470
|
{
|
|
16471
16471
|
var unmaskedContext = getUnmaskedContext(workInProgress2, Component, true);
|
|
16472
|
-
|
|
16472
|
+
context3 = getMaskedContext(workInProgress2, unmaskedContext);
|
|
16473
16473
|
}
|
|
16474
16474
|
var nextChildren;
|
|
16475
16475
|
var hasId;
|
|
@@ -16480,12 +16480,12 @@
|
|
|
16480
16480
|
{
|
|
16481
16481
|
ReactCurrentOwner$1.current = workInProgress2;
|
|
16482
16482
|
setIsRendering(true);
|
|
16483
|
-
nextChildren = renderWithHooks(current2, workInProgress2, Component, nextProps,
|
|
16483
|
+
nextChildren = renderWithHooks(current2, workInProgress2, Component, nextProps, context3, renderLanes2);
|
|
16484
16484
|
hasId = checkDidRenderIdHook();
|
|
16485
16485
|
if (workInProgress2.mode & StrictLegacyMode) {
|
|
16486
16486
|
setIsStrictModeForDevtools(true);
|
|
16487
16487
|
try {
|
|
16488
|
-
nextChildren = renderWithHooks(current2, workInProgress2, Component, nextProps,
|
|
16488
|
+
nextChildren = renderWithHooks(current2, workInProgress2, Component, nextProps, context3, renderLanes2);
|
|
16489
16489
|
hasId = checkDidRenderIdHook();
|
|
16490
16490
|
} finally {
|
|
16491
16491
|
setIsStrictModeForDevtools(false);
|
|
@@ -16800,10 +16800,10 @@
|
|
|
16800
16800
|
function mountIndeterminateComponent(_current, workInProgress2, Component, renderLanes2) {
|
|
16801
16801
|
resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress2);
|
|
16802
16802
|
var props = workInProgress2.pendingProps;
|
|
16803
|
-
var
|
|
16803
|
+
var context3;
|
|
16804
16804
|
{
|
|
16805
16805
|
var unmaskedContext = getUnmaskedContext(workInProgress2, Component, false);
|
|
16806
|
-
|
|
16806
|
+
context3 = getMaskedContext(workInProgress2, unmaskedContext);
|
|
16807
16807
|
}
|
|
16808
16808
|
prepareToReadContext(workInProgress2, renderLanes2);
|
|
16809
16809
|
var value;
|
|
@@ -16824,7 +16824,7 @@
|
|
|
16824
16824
|
}
|
|
16825
16825
|
setIsRendering(true);
|
|
16826
16826
|
ReactCurrentOwner$1.current = workInProgress2;
|
|
16827
|
-
value = renderWithHooks(null, workInProgress2, Component, props,
|
|
16827
|
+
value = renderWithHooks(null, workInProgress2, Component, props, context3, renderLanes2);
|
|
16828
16828
|
hasId = checkDidRenderIdHook();
|
|
16829
16829
|
setIsRendering(false);
|
|
16830
16830
|
}
|
|
@@ -16874,7 +16874,7 @@
|
|
|
16874
16874
|
if (workInProgress2.mode & StrictLegacyMode) {
|
|
16875
16875
|
setIsStrictModeForDevtools(true);
|
|
16876
16876
|
try {
|
|
16877
|
-
value = renderWithHooks(null, workInProgress2, Component, props,
|
|
16877
|
+
value = renderWithHooks(null, workInProgress2, Component, props, context3, renderLanes2);
|
|
16878
16878
|
hasId = checkDidRenderIdHook();
|
|
16879
16879
|
} finally {
|
|
16880
16880
|
setIsStrictModeForDevtools(false);
|
|
@@ -17526,7 +17526,7 @@
|
|
|
17526
17526
|
var hasWarnedAboutUsingNoValuePropOnContextProvider = false;
|
|
17527
17527
|
function updateContextProvider(current2, workInProgress2, renderLanes2) {
|
|
17528
17528
|
var providerType = workInProgress2.type;
|
|
17529
|
-
var
|
|
17529
|
+
var context3 = providerType._context;
|
|
17530
17530
|
var newProps = workInProgress2.pendingProps;
|
|
17531
17531
|
var oldProps = workInProgress2.memoizedProps;
|
|
17532
17532
|
var newValue = newProps.value;
|
|
@@ -17542,7 +17542,7 @@
|
|
|
17542
17542
|
checkPropTypes(providerPropTypes, newProps, "prop", "Context.Provider");
|
|
17543
17543
|
}
|
|
17544
17544
|
}
|
|
17545
|
-
pushProvider(workInProgress2,
|
|
17545
|
+
pushProvider(workInProgress2, context3, newValue);
|
|
17546
17546
|
{
|
|
17547
17547
|
if (oldProps !== null) {
|
|
17548
17548
|
var oldValue = oldProps.value;
|
|
@@ -17551,7 +17551,7 @@
|
|
|
17551
17551
|
return bailoutOnAlreadyFinishedWork(current2, workInProgress2, renderLanes2);
|
|
17552
17552
|
}
|
|
17553
17553
|
} else {
|
|
17554
|
-
propagateContextChange(workInProgress2,
|
|
17554
|
+
propagateContextChange(workInProgress2, context3, renderLanes2);
|
|
17555
17555
|
}
|
|
17556
17556
|
}
|
|
17557
17557
|
}
|
|
@@ -17561,17 +17561,17 @@
|
|
|
17561
17561
|
}
|
|
17562
17562
|
var hasWarnedAboutUsingContextAsConsumer = false;
|
|
17563
17563
|
function updateContextConsumer(current2, workInProgress2, renderLanes2) {
|
|
17564
|
-
var
|
|
17564
|
+
var context3 = workInProgress2.type;
|
|
17565
17565
|
{
|
|
17566
|
-
if (
|
|
17567
|
-
if (
|
|
17566
|
+
if (context3._context === void 0) {
|
|
17567
|
+
if (context3 !== context3.Consumer) {
|
|
17568
17568
|
if (!hasWarnedAboutUsingContextAsConsumer) {
|
|
17569
17569
|
hasWarnedAboutUsingContextAsConsumer = true;
|
|
17570
17570
|
error("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?");
|
|
17571
17571
|
}
|
|
17572
17572
|
}
|
|
17573
17573
|
} else {
|
|
17574
|
-
|
|
17574
|
+
context3 = context3._context;
|
|
17575
17575
|
}
|
|
17576
17576
|
}
|
|
17577
17577
|
var newProps = workInProgress2.pendingProps;
|
|
@@ -17582,7 +17582,7 @@
|
|
|
17582
17582
|
}
|
|
17583
17583
|
}
|
|
17584
17584
|
prepareToReadContext(workInProgress2, renderLanes2);
|
|
17585
|
-
var newValue = readContext(
|
|
17585
|
+
var newValue = readContext(context3);
|
|
17586
17586
|
{
|
|
17587
17587
|
markComponentRenderStarted(workInProgress2);
|
|
17588
17588
|
}
|
|
@@ -17695,8 +17695,8 @@
|
|
|
17695
17695
|
break;
|
|
17696
17696
|
case ContextProvider: {
|
|
17697
17697
|
var newValue = workInProgress2.memoizedProps.value;
|
|
17698
|
-
var
|
|
17699
|
-
pushProvider(workInProgress2,
|
|
17698
|
+
var context3 = workInProgress2.type._context;
|
|
17699
|
+
pushProvider(workInProgress2, context3, newValue);
|
|
17700
17700
|
break;
|
|
17701
17701
|
}
|
|
17702
17702
|
case Profiler:
|
|
@@ -18283,8 +18283,8 @@
|
|
|
18283
18283
|
bubbleProperties(workInProgress2);
|
|
18284
18284
|
return null;
|
|
18285
18285
|
case ContextProvider:
|
|
18286
|
-
var
|
|
18287
|
-
popProvider(
|
|
18286
|
+
var context3 = workInProgress2.type._context;
|
|
18287
|
+
popProvider(context3, workInProgress2);
|
|
18288
18288
|
bubbleProperties(workInProgress2);
|
|
18289
18289
|
return null;
|
|
18290
18290
|
case IncompleteClassComponent: {
|
|
@@ -18496,8 +18496,8 @@
|
|
|
18496
18496
|
popHostContainer(workInProgress2);
|
|
18497
18497
|
return null;
|
|
18498
18498
|
case ContextProvider:
|
|
18499
|
-
var
|
|
18500
|
-
popProvider(
|
|
18499
|
+
var context3 = workInProgress2.type._context;
|
|
18500
|
+
popProvider(context3, workInProgress2);
|
|
18501
18501
|
return null;
|
|
18502
18502
|
case OffscreenComponent:
|
|
18503
18503
|
case LegacyHiddenComponent:
|
|
@@ -18540,8 +18540,8 @@
|
|
|
18540
18540
|
popSuspenseContext(interruptedWork);
|
|
18541
18541
|
break;
|
|
18542
18542
|
case ContextProvider:
|
|
18543
|
-
var
|
|
18544
|
-
popProvider(
|
|
18543
|
+
var context3 = interruptedWork.type._context;
|
|
18544
|
+
popProvider(context3, interruptedWork);
|
|
18545
18545
|
break;
|
|
18546
18546
|
case OffscreenComponent:
|
|
18547
18547
|
case LegacyHiddenComponent:
|
|
@@ -22649,11 +22649,11 @@
|
|
|
22649
22649
|
{
|
|
22650
22650
|
markRenderScheduled(lane);
|
|
22651
22651
|
}
|
|
22652
|
-
var
|
|
22652
|
+
var context3 = getContextForSubtree(parentComponent);
|
|
22653
22653
|
if (container.context === null) {
|
|
22654
|
-
container.context =
|
|
22654
|
+
container.context = context3;
|
|
22655
22655
|
} else {
|
|
22656
|
-
container.pendingContext =
|
|
22656
|
+
container.pendingContext = context3;
|
|
22657
22657
|
}
|
|
22658
22658
|
{
|
|
22659
22659
|
if (isRendering && current !== null && !didWarnAboutNestedUpdates) {
|
|
@@ -23514,7 +23514,7 @@
|
|
|
23514
23514
|
(function() {
|
|
23515
23515
|
"use strict";
|
|
23516
23516
|
var hasOwn = {}.hasOwnProperty;
|
|
23517
|
-
function
|
|
23517
|
+
function classNames10() {
|
|
23518
23518
|
var classes = "";
|
|
23519
23519
|
for (var i = 0; i < arguments.length; i++) {
|
|
23520
23520
|
var arg = arguments[i];
|
|
@@ -23532,7 +23532,7 @@
|
|
|
23532
23532
|
return "";
|
|
23533
23533
|
}
|
|
23534
23534
|
if (Array.isArray(arg)) {
|
|
23535
|
-
return
|
|
23535
|
+
return classNames10.apply(null, arg);
|
|
23536
23536
|
}
|
|
23537
23537
|
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
|
|
23538
23538
|
return arg.toString();
|
|
@@ -23555,19 +23555,53 @@
|
|
|
23555
23555
|
return value + newClass;
|
|
23556
23556
|
}
|
|
23557
23557
|
if (typeof module !== "undefined" && module.exports) {
|
|
23558
|
-
|
|
23559
|
-
module.exports =
|
|
23558
|
+
classNames10.default = classNames10;
|
|
23559
|
+
module.exports = classNames10;
|
|
23560
23560
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
23561
23561
|
define("classnames", [], function() {
|
|
23562
|
-
return
|
|
23562
|
+
return classNames10;
|
|
23563
23563
|
});
|
|
23564
23564
|
} else {
|
|
23565
|
-
window.classNames =
|
|
23565
|
+
window.classNames = classNames10;
|
|
23566
23566
|
}
|
|
23567
23567
|
})();
|
|
23568
23568
|
}
|
|
23569
23569
|
});
|
|
23570
23570
|
|
|
23571
|
+
// node_modules/invariant/browser.js
|
|
23572
|
+
var require_browser = __commonJS({
|
|
23573
|
+
"node_modules/invariant/browser.js"(exports, module) {
|
|
23574
|
+
"use strict";
|
|
23575
|
+
var invariant3 = function(condition, format, a, b, c, d, e, f) {
|
|
23576
|
+
if (true) {
|
|
23577
|
+
if (format === void 0) {
|
|
23578
|
+
throw new Error("invariant requires an error message argument");
|
|
23579
|
+
}
|
|
23580
|
+
}
|
|
23581
|
+
if (!condition) {
|
|
23582
|
+
var error;
|
|
23583
|
+
if (format === void 0) {
|
|
23584
|
+
error = new Error(
|
|
23585
|
+
"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
|
|
23586
|
+
);
|
|
23587
|
+
} else {
|
|
23588
|
+
var args = [a, b, c, d, e, f];
|
|
23589
|
+
var argIndex = 0;
|
|
23590
|
+
error = new Error(
|
|
23591
|
+
format.replace(/%s/g, function() {
|
|
23592
|
+
return args[argIndex++];
|
|
23593
|
+
})
|
|
23594
|
+
);
|
|
23595
|
+
error.name = "Invariant Violation";
|
|
23596
|
+
}
|
|
23597
|
+
error.framesToPop = 1;
|
|
23598
|
+
throw error;
|
|
23599
|
+
}
|
|
23600
|
+
};
|
|
23601
|
+
module.exports = invariant3;
|
|
23602
|
+
}
|
|
23603
|
+
});
|
|
23604
|
+
|
|
23571
23605
|
// node_modules/react/cjs/react-jsx-runtime.development.js
|
|
23572
23606
|
var require_react_jsx_runtime_development = __commonJS({
|
|
23573
23607
|
"node_modules/react/cjs/react-jsx-runtime.development.js"(exports) {
|
|
@@ -23575,7 +23609,7 @@
|
|
|
23575
23609
|
if (true) {
|
|
23576
23610
|
(function() {
|
|
23577
23611
|
"use strict";
|
|
23578
|
-
var
|
|
23612
|
+
var React29 = require_react();
|
|
23579
23613
|
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
23580
23614
|
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
23581
23615
|
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
@@ -23601,7 +23635,7 @@
|
|
|
23601
23635
|
}
|
|
23602
23636
|
return null;
|
|
23603
23637
|
}
|
|
23604
|
-
var ReactSharedInternals =
|
|
23638
|
+
var ReactSharedInternals = React29.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
23605
23639
|
function error(format) {
|
|
23606
23640
|
{
|
|
23607
23641
|
{
|
|
@@ -23697,8 +23731,8 @@
|
|
|
23697
23731
|
if (typeof type === "object") {
|
|
23698
23732
|
switch (type.$$typeof) {
|
|
23699
23733
|
case REACT_CONTEXT_TYPE:
|
|
23700
|
-
var
|
|
23701
|
-
return getContextName(
|
|
23734
|
+
var context3 = type;
|
|
23735
|
+
return getContextName(context3) + ".Consumer";
|
|
23702
23736
|
case REACT_PROVIDER_TYPE:
|
|
23703
23737
|
var provider = type;
|
|
23704
23738
|
return getContextName(provider._context) + ".Provider";
|
|
@@ -24326,19 +24360,19 @@
|
|
|
24326
24360
|
if (type === null || type === void 0 || typeof type === "string") {
|
|
24327
24361
|
return;
|
|
24328
24362
|
}
|
|
24329
|
-
var
|
|
24363
|
+
var propTypes2;
|
|
24330
24364
|
if (typeof type === "function") {
|
|
24331
|
-
|
|
24365
|
+
propTypes2 = type.propTypes;
|
|
24332
24366
|
} else if (typeof type === "object" && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.
|
|
24333
24367
|
// Inner props are checked in the reconciler.
|
|
24334
24368
|
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
24335
|
-
|
|
24369
|
+
propTypes2 = type.propTypes;
|
|
24336
24370
|
} else {
|
|
24337
24371
|
return;
|
|
24338
24372
|
}
|
|
24339
|
-
if (
|
|
24373
|
+
if (propTypes2) {
|
|
24340
24374
|
var name = getComponentNameFromType(type);
|
|
24341
|
-
checkPropTypes(
|
|
24375
|
+
checkPropTypes(propTypes2, element.props, "prop", name, element);
|
|
24342
24376
|
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
24343
24377
|
propTypesMisspellWarningShown = true;
|
|
24344
24378
|
var _name = getComponentNameFromType(type);
|
|
@@ -24458,186 +24492,3054 @@
|
|
|
24458
24492
|
}
|
|
24459
24493
|
});
|
|
24460
24494
|
|
|
24461
|
-
//
|
|
24462
|
-
var
|
|
24463
|
-
|
|
24464
|
-
|
|
24465
|
-
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24472
|
-
|
|
24473
|
-
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24495
|
+
// node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
|
|
24496
|
+
var require_react_is_development = __commonJS({
|
|
24497
|
+
"node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
24498
|
+
"use strict";
|
|
24499
|
+
if (true) {
|
|
24500
|
+
(function() {
|
|
24501
|
+
"use strict";
|
|
24502
|
+
var hasSymbol = typeof Symbol === "function" && Symbol.for;
|
|
24503
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
|
|
24504
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
|
|
24505
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
|
|
24506
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
|
|
24507
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
|
|
24508
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
|
|
24509
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
|
|
24510
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
|
|
24511
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
|
|
24512
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
|
|
24513
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
|
|
24514
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
|
|
24515
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
|
|
24516
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
|
|
24517
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
|
|
24518
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
|
24519
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
|
24520
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
|
24521
|
+
function isValidElementType(type) {
|
|
24522
|
+
return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
24523
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
24524
|
+
}
|
|
24525
|
+
function typeOf(object) {
|
|
24526
|
+
if (typeof object === "object" && object !== null) {
|
|
24527
|
+
var $$typeof = object.$$typeof;
|
|
24528
|
+
switch ($$typeof) {
|
|
24529
|
+
case REACT_ELEMENT_TYPE:
|
|
24530
|
+
var type = object.type;
|
|
24531
|
+
switch (type) {
|
|
24532
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
24533
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
24534
|
+
case REACT_FRAGMENT_TYPE:
|
|
24535
|
+
case REACT_PROFILER_TYPE:
|
|
24536
|
+
case REACT_STRICT_MODE_TYPE:
|
|
24537
|
+
case REACT_SUSPENSE_TYPE:
|
|
24538
|
+
return type;
|
|
24539
|
+
default:
|
|
24540
|
+
var $$typeofType = type && type.$$typeof;
|
|
24541
|
+
switch ($$typeofType) {
|
|
24542
|
+
case REACT_CONTEXT_TYPE:
|
|
24543
|
+
case REACT_FORWARD_REF_TYPE:
|
|
24544
|
+
case REACT_LAZY_TYPE:
|
|
24545
|
+
case REACT_MEMO_TYPE:
|
|
24546
|
+
case REACT_PROVIDER_TYPE:
|
|
24547
|
+
return $$typeofType;
|
|
24548
|
+
default:
|
|
24549
|
+
return $$typeof;
|
|
24550
|
+
}
|
|
24551
|
+
}
|
|
24552
|
+
case REACT_PORTAL_TYPE:
|
|
24553
|
+
return $$typeof;
|
|
24554
|
+
}
|
|
24555
|
+
}
|
|
24556
|
+
return void 0;
|
|
24557
|
+
}
|
|
24558
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
24559
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
24560
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
24561
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
24562
|
+
var Element2 = REACT_ELEMENT_TYPE;
|
|
24563
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
24564
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
24565
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
24566
|
+
var Memo = REACT_MEMO_TYPE;
|
|
24567
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
24568
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
24569
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
24570
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
24571
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
24572
|
+
function isAsyncMode(object) {
|
|
24573
|
+
{
|
|
24574
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
24575
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
24576
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");
|
|
24577
|
+
}
|
|
24578
|
+
}
|
|
24579
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
24580
|
+
}
|
|
24581
|
+
function isConcurrentMode(object) {
|
|
24582
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
24583
|
+
}
|
|
24584
|
+
function isContextConsumer(object) {
|
|
24585
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
24586
|
+
}
|
|
24587
|
+
function isContextProvider(object) {
|
|
24588
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
24589
|
+
}
|
|
24590
|
+
function isElement(object) {
|
|
24591
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
24592
|
+
}
|
|
24593
|
+
function isForwardRef(object) {
|
|
24594
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
24595
|
+
}
|
|
24596
|
+
function isFragment(object) {
|
|
24597
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
24598
|
+
}
|
|
24599
|
+
function isLazy(object) {
|
|
24600
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
24601
|
+
}
|
|
24602
|
+
function isMemo(object) {
|
|
24603
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
24604
|
+
}
|
|
24605
|
+
function isPortal(object) {
|
|
24606
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
24607
|
+
}
|
|
24608
|
+
function isProfiler(object) {
|
|
24609
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
24610
|
+
}
|
|
24611
|
+
function isStrictMode(object) {
|
|
24612
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
24613
|
+
}
|
|
24614
|
+
function isSuspense(object) {
|
|
24615
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
24616
|
+
}
|
|
24617
|
+
exports.AsyncMode = AsyncMode;
|
|
24618
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
24619
|
+
exports.ContextConsumer = ContextConsumer;
|
|
24620
|
+
exports.ContextProvider = ContextProvider;
|
|
24621
|
+
exports.Element = Element2;
|
|
24622
|
+
exports.ForwardRef = ForwardRef;
|
|
24623
|
+
exports.Fragment = Fragment;
|
|
24624
|
+
exports.Lazy = Lazy;
|
|
24625
|
+
exports.Memo = Memo;
|
|
24626
|
+
exports.Portal = Portal;
|
|
24627
|
+
exports.Profiler = Profiler;
|
|
24628
|
+
exports.StrictMode = StrictMode;
|
|
24629
|
+
exports.Suspense = Suspense;
|
|
24630
|
+
exports.isAsyncMode = isAsyncMode;
|
|
24631
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
24632
|
+
exports.isContextConsumer = isContextConsumer;
|
|
24633
|
+
exports.isContextProvider = isContextProvider;
|
|
24634
|
+
exports.isElement = isElement;
|
|
24635
|
+
exports.isForwardRef = isForwardRef;
|
|
24636
|
+
exports.isFragment = isFragment;
|
|
24637
|
+
exports.isLazy = isLazy;
|
|
24638
|
+
exports.isMemo = isMemo;
|
|
24639
|
+
exports.isPortal = isPortal;
|
|
24640
|
+
exports.isProfiler = isProfiler;
|
|
24641
|
+
exports.isStrictMode = isStrictMode;
|
|
24642
|
+
exports.isSuspense = isSuspense;
|
|
24643
|
+
exports.isValidElementType = isValidElementType;
|
|
24644
|
+
exports.typeOf = typeOf;
|
|
24645
|
+
})();
|
|
24646
|
+
}
|
|
24647
|
+
}
|
|
24480
24648
|
});
|
|
24481
|
-
var {
|
|
24482
|
-
Consumer,
|
|
24483
|
-
Provider
|
|
24484
|
-
} = ThemeContext;
|
|
24485
|
-
function useBootstrapPrefix(prefix, defaultPrefix) {
|
|
24486
|
-
const {
|
|
24487
|
-
prefixes
|
|
24488
|
-
} = (0, import_react2.useContext)(ThemeContext);
|
|
24489
|
-
return prefix || prefixes[defaultPrefix] || defaultPrefix;
|
|
24490
|
-
}
|
|
24491
24649
|
|
|
24492
|
-
// node_modules/react-
|
|
24493
|
-
var
|
|
24494
|
-
|
|
24495
|
-
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
24500
|
-
striped,
|
|
24501
|
-
bordered,
|
|
24502
|
-
borderless,
|
|
24503
|
-
hover,
|
|
24504
|
-
size,
|
|
24505
|
-
variant,
|
|
24506
|
-
responsive,
|
|
24507
|
-
...props
|
|
24508
|
-
}, ref) => {
|
|
24509
|
-
const decoratedBsPrefix = useBootstrapPrefix(bsPrefix, "table");
|
|
24510
|
-
const classes = (0, import_classnames.default)(className, decoratedBsPrefix, variant && `${decoratedBsPrefix}-${variant}`, size && `${decoratedBsPrefix}-${size}`, striped && `${decoratedBsPrefix}-${typeof striped === "string" ? `striped-${striped}` : "striped"}`, bordered && `${decoratedBsPrefix}-bordered`, borderless && `${decoratedBsPrefix}-borderless`, hover && `${decoratedBsPrefix}-hover`);
|
|
24511
|
-
const table = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("table", {
|
|
24512
|
-
...props,
|
|
24513
|
-
className: classes,
|
|
24514
|
-
ref
|
|
24515
|
-
});
|
|
24516
|
-
if (responsive) {
|
|
24517
|
-
let responsiveClass = `${decoratedBsPrefix}-responsive`;
|
|
24518
|
-
if (typeof responsive === "string") {
|
|
24519
|
-
responsiveClass = `${responsiveClass}-${responsive}`;
|
|
24650
|
+
// node_modules/prop-types/node_modules/react-is/index.js
|
|
24651
|
+
var require_react_is = __commonJS({
|
|
24652
|
+
"node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
|
|
24653
|
+
"use strict";
|
|
24654
|
+
if (false) {
|
|
24655
|
+
module.exports = null;
|
|
24656
|
+
} else {
|
|
24657
|
+
module.exports = require_react_is_development();
|
|
24520
24658
|
}
|
|
24521
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", {
|
|
24522
|
-
className: responsiveClass,
|
|
24523
|
-
children: table
|
|
24524
|
-
});
|
|
24525
24659
|
}
|
|
24526
|
-
return table;
|
|
24527
24660
|
});
|
|
24528
|
-
var Table_default = Table;
|
|
24529
24661
|
|
|
24530
|
-
//
|
|
24531
|
-
var
|
|
24532
|
-
|
|
24533
|
-
|
|
24534
|
-
|
|
24535
|
-
|
|
24536
|
-
|
|
24537
|
-
|
|
24538
|
-
|
|
24539
|
-
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24569
|
-
|
|
24570
|
-
|
|
24571
|
-
|
|
24572
|
-
|
|
24573
|
-
|
|
24662
|
+
// node_modules/object-assign/index.js
|
|
24663
|
+
var require_object_assign = __commonJS({
|
|
24664
|
+
"node_modules/object-assign/index.js"(exports, module) {
|
|
24665
|
+
"use strict";
|
|
24666
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
24667
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
24668
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
24669
|
+
function toObject(val) {
|
|
24670
|
+
if (val === null || val === void 0) {
|
|
24671
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
24672
|
+
}
|
|
24673
|
+
return Object(val);
|
|
24674
|
+
}
|
|
24675
|
+
function shouldUseNative() {
|
|
24676
|
+
try {
|
|
24677
|
+
if (!Object.assign) {
|
|
24678
|
+
return false;
|
|
24679
|
+
}
|
|
24680
|
+
var test1 = new String("abc");
|
|
24681
|
+
test1[5] = "de";
|
|
24682
|
+
if (Object.getOwnPropertyNames(test1)[0] === "5") {
|
|
24683
|
+
return false;
|
|
24684
|
+
}
|
|
24685
|
+
var test2 = {};
|
|
24686
|
+
for (var i = 0; i < 10; i++) {
|
|
24687
|
+
test2["_" + String.fromCharCode(i)] = i;
|
|
24688
|
+
}
|
|
24689
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function(n) {
|
|
24690
|
+
return test2[n];
|
|
24691
|
+
});
|
|
24692
|
+
if (order2.join("") !== "0123456789") {
|
|
24693
|
+
return false;
|
|
24694
|
+
}
|
|
24695
|
+
var test3 = {};
|
|
24696
|
+
"abcdefghijklmnopqrst".split("").forEach(function(letter) {
|
|
24697
|
+
test3[letter] = letter;
|
|
24698
|
+
});
|
|
24699
|
+
if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") {
|
|
24700
|
+
return false;
|
|
24701
|
+
}
|
|
24702
|
+
return true;
|
|
24703
|
+
} catch (err) {
|
|
24704
|
+
return false;
|
|
24705
|
+
}
|
|
24706
|
+
}
|
|
24707
|
+
module.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
|
24708
|
+
var from;
|
|
24709
|
+
var to = toObject(target);
|
|
24710
|
+
var symbols;
|
|
24711
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
24712
|
+
from = Object(arguments[s]);
|
|
24713
|
+
for (var key in from) {
|
|
24714
|
+
if (hasOwnProperty.call(from, key)) {
|
|
24715
|
+
to[key] = from[key];
|
|
24716
|
+
}
|
|
24717
|
+
}
|
|
24718
|
+
if (getOwnPropertySymbols) {
|
|
24719
|
+
symbols = getOwnPropertySymbols(from);
|
|
24720
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
24721
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
24722
|
+
to[symbols[i]] = from[symbols[i]];
|
|
24723
|
+
}
|
|
24724
|
+
}
|
|
24725
|
+
}
|
|
24726
|
+
}
|
|
24727
|
+
return to;
|
|
24728
|
+
};
|
|
24574
24729
|
}
|
|
24575
24730
|
});
|
|
24576
|
-
console.log("hello Project!");
|
|
24577
|
-
})();
|
|
24578
|
-
/*! Bundled license information:
|
|
24579
|
-
|
|
24580
|
-
react/cjs/react.development.js:
|
|
24581
|
-
(**
|
|
24582
|
-
* @license React
|
|
24583
|
-
* react.development.js
|
|
24584
|
-
*
|
|
24585
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24586
|
-
*
|
|
24587
|
-
* This source code is licensed under the MIT license found in the
|
|
24588
|
-
* LICENSE file in the root directory of this source tree.
|
|
24589
|
-
*)
|
|
24590
24731
|
|
|
24591
|
-
|
|
24592
|
-
(
|
|
24593
|
-
|
|
24594
|
-
|
|
24595
|
-
|
|
24596
|
-
|
|
24597
|
-
|
|
24598
|
-
|
|
24599
|
-
* LICENSE file in the root directory of this source tree.
|
|
24600
|
-
*)
|
|
24732
|
+
// node_modules/prop-types/lib/ReactPropTypesSecret.js
|
|
24733
|
+
var require_ReactPropTypesSecret = __commonJS({
|
|
24734
|
+
"node_modules/prop-types/lib/ReactPropTypesSecret.js"(exports, module) {
|
|
24735
|
+
"use strict";
|
|
24736
|
+
var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
24737
|
+
module.exports = ReactPropTypesSecret;
|
|
24738
|
+
}
|
|
24739
|
+
});
|
|
24601
24740
|
|
|
24602
|
-
|
|
24603
|
-
(
|
|
24604
|
-
|
|
24605
|
-
|
|
24606
|
-
|
|
24607
|
-
|
|
24608
|
-
*
|
|
24609
|
-
* This source code is licensed under the MIT license found in the
|
|
24610
|
-
* LICENSE file in the root directory of this source tree.
|
|
24611
|
-
*)
|
|
24612
|
-
(**
|
|
24613
|
-
* Checks if an event is supported in the current execution environment.
|
|
24614
|
-
*
|
|
24615
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
24616
|
-
* `reset`, `load`, `error`, and `select`.
|
|
24617
|
-
*
|
|
24618
|
-
* Borrows from Modernizr.
|
|
24619
|
-
*
|
|
24620
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
24621
|
-
* @return {boolean} True if the event is supported.
|
|
24622
|
-
* @internal
|
|
24623
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
24624
|
-
*)
|
|
24741
|
+
// node_modules/prop-types/lib/has.js
|
|
24742
|
+
var require_has = __commonJS({
|
|
24743
|
+
"node_modules/prop-types/lib/has.js"(exports, module) {
|
|
24744
|
+
module.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
24745
|
+
}
|
|
24746
|
+
});
|
|
24625
24747
|
|
|
24626
|
-
|
|
24627
|
-
(
|
|
24628
|
-
|
|
24629
|
-
|
|
24630
|
-
|
|
24631
|
-
|
|
24748
|
+
// node_modules/prop-types/checkPropTypes.js
|
|
24749
|
+
var require_checkPropTypes = __commonJS({
|
|
24750
|
+
"node_modules/prop-types/checkPropTypes.js"(exports, module) {
|
|
24751
|
+
"use strict";
|
|
24752
|
+
var printWarning = function() {
|
|
24753
|
+
};
|
|
24754
|
+
if (true) {
|
|
24755
|
+
ReactPropTypesSecret = require_ReactPropTypesSecret();
|
|
24756
|
+
loggedTypeFailures = {};
|
|
24757
|
+
has = require_has();
|
|
24758
|
+
printWarning = function(text) {
|
|
24759
|
+
var message = "Warning: " + text;
|
|
24760
|
+
if (typeof console !== "undefined") {
|
|
24761
|
+
console.error(message);
|
|
24762
|
+
}
|
|
24763
|
+
try {
|
|
24764
|
+
throw new Error(message);
|
|
24765
|
+
} catch (x) {
|
|
24766
|
+
}
|
|
24767
|
+
};
|
|
24768
|
+
}
|
|
24769
|
+
var ReactPropTypesSecret;
|
|
24770
|
+
var loggedTypeFailures;
|
|
24771
|
+
var has;
|
|
24772
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
24773
|
+
if (true) {
|
|
24774
|
+
for (var typeSpecName in typeSpecs) {
|
|
24775
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
24776
|
+
var error;
|
|
24777
|
+
try {
|
|
24778
|
+
if (typeof typeSpecs[typeSpecName] !== "function") {
|
|
24779
|
+
var err = Error(
|
|
24780
|
+
(componentName || "React class") + ": " + location + " type `" + typeSpecName + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof typeSpecs[typeSpecName] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
24781
|
+
);
|
|
24782
|
+
err.name = "Invariant Violation";
|
|
24783
|
+
throw err;
|
|
24784
|
+
}
|
|
24785
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
|
|
24786
|
+
} catch (ex) {
|
|
24787
|
+
error = ex;
|
|
24788
|
+
}
|
|
24789
|
+
if (error && !(error instanceof Error)) {
|
|
24790
|
+
printWarning(
|
|
24791
|
+
(componentName || "React class") + ": type specification of " + location + " `" + typeSpecName + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof error + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
24792
|
+
);
|
|
24793
|
+
}
|
|
24794
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
24795
|
+
loggedTypeFailures[error.message] = true;
|
|
24796
|
+
var stack = getStack ? getStack() : "";
|
|
24797
|
+
printWarning(
|
|
24798
|
+
"Failed " + location + " type: " + error.message + (stack != null ? stack : "")
|
|
24799
|
+
);
|
|
24800
|
+
}
|
|
24801
|
+
}
|
|
24802
|
+
}
|
|
24803
|
+
}
|
|
24804
|
+
}
|
|
24805
|
+
checkPropTypes.resetWarningCache = function() {
|
|
24806
|
+
if (true) {
|
|
24807
|
+
loggedTypeFailures = {};
|
|
24808
|
+
}
|
|
24809
|
+
};
|
|
24810
|
+
module.exports = checkPropTypes;
|
|
24811
|
+
}
|
|
24812
|
+
});
|
|
24632
24813
|
|
|
24633
|
-
|
|
24634
|
-
(
|
|
24635
|
-
|
|
24636
|
-
|
|
24637
|
-
|
|
24638
|
-
|
|
24639
|
-
|
|
24640
|
-
|
|
24641
|
-
|
|
24642
|
-
|
|
24814
|
+
// node_modules/prop-types/factoryWithTypeCheckers.js
|
|
24815
|
+
var require_factoryWithTypeCheckers = __commonJS({
|
|
24816
|
+
"node_modules/prop-types/factoryWithTypeCheckers.js"(exports, module) {
|
|
24817
|
+
"use strict";
|
|
24818
|
+
var ReactIs = require_react_is();
|
|
24819
|
+
var assign = require_object_assign();
|
|
24820
|
+
var ReactPropTypesSecret = require_ReactPropTypesSecret();
|
|
24821
|
+
var has = require_has();
|
|
24822
|
+
var checkPropTypes = require_checkPropTypes();
|
|
24823
|
+
var printWarning = function() {
|
|
24824
|
+
};
|
|
24825
|
+
if (true) {
|
|
24826
|
+
printWarning = function(text) {
|
|
24827
|
+
var message = "Warning: " + text;
|
|
24828
|
+
if (typeof console !== "undefined") {
|
|
24829
|
+
console.error(message);
|
|
24830
|
+
}
|
|
24831
|
+
try {
|
|
24832
|
+
throw new Error(message);
|
|
24833
|
+
} catch (x) {
|
|
24834
|
+
}
|
|
24835
|
+
};
|
|
24836
|
+
}
|
|
24837
|
+
function emptyFunctionThatReturnsNull() {
|
|
24838
|
+
return null;
|
|
24839
|
+
}
|
|
24840
|
+
module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
24841
|
+
var ITERATOR_SYMBOL = typeof Symbol === "function" && Symbol.iterator;
|
|
24842
|
+
var FAUX_ITERATOR_SYMBOL = "@@iterator";
|
|
24843
|
+
function getIteratorFn(maybeIterable) {
|
|
24844
|
+
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
24845
|
+
if (typeof iteratorFn === "function") {
|
|
24846
|
+
return iteratorFn;
|
|
24847
|
+
}
|
|
24848
|
+
}
|
|
24849
|
+
var ANONYMOUS = "<<anonymous>>";
|
|
24850
|
+
var ReactPropTypes = {
|
|
24851
|
+
array: createPrimitiveTypeChecker("array"),
|
|
24852
|
+
bigint: createPrimitiveTypeChecker("bigint"),
|
|
24853
|
+
bool: createPrimitiveTypeChecker("boolean"),
|
|
24854
|
+
func: createPrimitiveTypeChecker("function"),
|
|
24855
|
+
number: createPrimitiveTypeChecker("number"),
|
|
24856
|
+
object: createPrimitiveTypeChecker("object"),
|
|
24857
|
+
string: createPrimitiveTypeChecker("string"),
|
|
24858
|
+
symbol: createPrimitiveTypeChecker("symbol"),
|
|
24859
|
+
any: createAnyTypeChecker(),
|
|
24860
|
+
arrayOf: createArrayOfTypeChecker,
|
|
24861
|
+
element: createElementTypeChecker(),
|
|
24862
|
+
elementType: createElementTypeTypeChecker(),
|
|
24863
|
+
instanceOf: createInstanceTypeChecker,
|
|
24864
|
+
node: createNodeChecker(),
|
|
24865
|
+
objectOf: createObjectOfTypeChecker,
|
|
24866
|
+
oneOf: createEnumTypeChecker,
|
|
24867
|
+
oneOfType: createUnionTypeChecker,
|
|
24868
|
+
shape: createShapeTypeChecker,
|
|
24869
|
+
exact: createStrictShapeTypeChecker
|
|
24870
|
+
};
|
|
24871
|
+
function is(x, y) {
|
|
24872
|
+
if (x === y) {
|
|
24873
|
+
return x !== 0 || 1 / x === 1 / y;
|
|
24874
|
+
} else {
|
|
24875
|
+
return x !== x && y !== y;
|
|
24876
|
+
}
|
|
24877
|
+
}
|
|
24878
|
+
function PropTypeError(message, data) {
|
|
24879
|
+
this.message = message;
|
|
24880
|
+
this.data = data && typeof data === "object" ? data : {};
|
|
24881
|
+
this.stack = "";
|
|
24882
|
+
}
|
|
24883
|
+
PropTypeError.prototype = Error.prototype;
|
|
24884
|
+
function createChainableTypeChecker(validate) {
|
|
24885
|
+
if (true) {
|
|
24886
|
+
var manualPropTypeCallCache = {};
|
|
24887
|
+
var manualPropTypeWarningCount = 0;
|
|
24888
|
+
}
|
|
24889
|
+
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
24890
|
+
componentName = componentName || ANONYMOUS;
|
|
24891
|
+
propFullName = propFullName || propName;
|
|
24892
|
+
if (secret !== ReactPropTypesSecret) {
|
|
24893
|
+
if (throwOnDirectAccess) {
|
|
24894
|
+
var err = new Error(
|
|
24895
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
24896
|
+
);
|
|
24897
|
+
err.name = "Invariant Violation";
|
|
24898
|
+
throw err;
|
|
24899
|
+
} else if (typeof console !== "undefined") {
|
|
24900
|
+
var cacheKey = componentName + ":" + propName;
|
|
24901
|
+
if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
24902
|
+
manualPropTypeWarningCount < 3) {
|
|
24903
|
+
printWarning(
|
|
24904
|
+
"You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
24905
|
+
);
|
|
24906
|
+
manualPropTypeCallCache[cacheKey] = true;
|
|
24907
|
+
manualPropTypeWarningCount++;
|
|
24908
|
+
}
|
|
24909
|
+
}
|
|
24910
|
+
}
|
|
24911
|
+
if (props[propName] == null) {
|
|
24912
|
+
if (isRequired) {
|
|
24913
|
+
if (props[propName] === null) {
|
|
24914
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required " + ("in `" + componentName + "`, but its value is `null`."));
|
|
24915
|
+
}
|
|
24916
|
+
return new PropTypeError("The " + location + " `" + propFullName + "` is marked as required in " + ("`" + componentName + "`, but its value is `undefined`."));
|
|
24917
|
+
}
|
|
24918
|
+
return null;
|
|
24919
|
+
} else {
|
|
24920
|
+
return validate(props, propName, componentName, location, propFullName);
|
|
24921
|
+
}
|
|
24922
|
+
}
|
|
24923
|
+
var chainedCheckType = checkType.bind(null, false);
|
|
24924
|
+
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
24925
|
+
return chainedCheckType;
|
|
24926
|
+
}
|
|
24927
|
+
function createPrimitiveTypeChecker(expectedType) {
|
|
24928
|
+
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
24929
|
+
var propValue = props[propName];
|
|
24930
|
+
var propType = getPropType(propValue);
|
|
24931
|
+
if (propType !== expectedType) {
|
|
24932
|
+
var preciseType = getPreciseType(propValue);
|
|
24933
|
+
return new PropTypeError(
|
|
24934
|
+
"Invalid " + location + " `" + propFullName + "` of type " + ("`" + preciseType + "` supplied to `" + componentName + "`, expected ") + ("`" + expectedType + "`."),
|
|
24935
|
+
{ expectedType }
|
|
24936
|
+
);
|
|
24937
|
+
}
|
|
24938
|
+
return null;
|
|
24939
|
+
}
|
|
24940
|
+
return createChainableTypeChecker(validate);
|
|
24941
|
+
}
|
|
24942
|
+
function createAnyTypeChecker() {
|
|
24943
|
+
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
24944
|
+
}
|
|
24945
|
+
function createArrayOfTypeChecker(typeChecker) {
|
|
24946
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
24947
|
+
if (typeof typeChecker !== "function") {
|
|
24948
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside arrayOf.");
|
|
24949
|
+
}
|
|
24950
|
+
var propValue = props[propName];
|
|
24951
|
+
if (!Array.isArray(propValue)) {
|
|
24952
|
+
var propType = getPropType(propValue);
|
|
24953
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an array."));
|
|
24954
|
+
}
|
|
24955
|
+
for (var i = 0; i < propValue.length; i++) {
|
|
24956
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + "[" + i + "]", ReactPropTypesSecret);
|
|
24957
|
+
if (error instanceof Error) {
|
|
24958
|
+
return error;
|
|
24959
|
+
}
|
|
24960
|
+
}
|
|
24961
|
+
return null;
|
|
24962
|
+
}
|
|
24963
|
+
return createChainableTypeChecker(validate);
|
|
24964
|
+
}
|
|
24965
|
+
function createElementTypeChecker() {
|
|
24966
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
24967
|
+
var propValue = props[propName];
|
|
24968
|
+
if (!isValidElement(propValue)) {
|
|
24969
|
+
var propType = getPropType(propValue);
|
|
24970
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement."));
|
|
24971
|
+
}
|
|
24972
|
+
return null;
|
|
24973
|
+
}
|
|
24974
|
+
return createChainableTypeChecker(validate);
|
|
24975
|
+
}
|
|
24976
|
+
function createElementTypeTypeChecker() {
|
|
24977
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
24978
|
+
var propValue = props[propName];
|
|
24979
|
+
if (!ReactIs.isValidElementType(propValue)) {
|
|
24980
|
+
var propType = getPropType(propValue);
|
|
24981
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected a single ReactElement type."));
|
|
24982
|
+
}
|
|
24983
|
+
return null;
|
|
24984
|
+
}
|
|
24985
|
+
return createChainableTypeChecker(validate);
|
|
24986
|
+
}
|
|
24987
|
+
function createInstanceTypeChecker(expectedClass) {
|
|
24988
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
24989
|
+
if (!(props[propName] instanceof expectedClass)) {
|
|
24990
|
+
var expectedClassName = expectedClass.name || ANONYMOUS;
|
|
24991
|
+
var actualClassName = getClassName(props[propName]);
|
|
24992
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + actualClassName + "` supplied to `" + componentName + "`, expected ") + ("instance of `" + expectedClassName + "`."));
|
|
24993
|
+
}
|
|
24994
|
+
return null;
|
|
24995
|
+
}
|
|
24996
|
+
return createChainableTypeChecker(validate);
|
|
24997
|
+
}
|
|
24998
|
+
function createEnumTypeChecker(expectedValues) {
|
|
24999
|
+
if (!Array.isArray(expectedValues)) {
|
|
25000
|
+
if (true) {
|
|
25001
|
+
if (arguments.length > 1) {
|
|
25002
|
+
printWarning(
|
|
25003
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
25004
|
+
);
|
|
25005
|
+
} else {
|
|
25006
|
+
printWarning("Invalid argument supplied to oneOf, expected an array.");
|
|
25007
|
+
}
|
|
25008
|
+
}
|
|
25009
|
+
return emptyFunctionThatReturnsNull;
|
|
25010
|
+
}
|
|
25011
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25012
|
+
var propValue = props[propName];
|
|
25013
|
+
for (var i = 0; i < expectedValues.length; i++) {
|
|
25014
|
+
if (is(propValue, expectedValues[i])) {
|
|
25015
|
+
return null;
|
|
25016
|
+
}
|
|
25017
|
+
}
|
|
25018
|
+
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
25019
|
+
var type = getPreciseType(value);
|
|
25020
|
+
if (type === "symbol") {
|
|
25021
|
+
return String(value);
|
|
25022
|
+
}
|
|
25023
|
+
return value;
|
|
25024
|
+
});
|
|
25025
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of value `" + String(propValue) + "` " + ("supplied to `" + componentName + "`, expected one of " + valuesString + "."));
|
|
25026
|
+
}
|
|
25027
|
+
return createChainableTypeChecker(validate);
|
|
25028
|
+
}
|
|
25029
|
+
function createObjectOfTypeChecker(typeChecker) {
|
|
25030
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25031
|
+
if (typeof typeChecker !== "function") {
|
|
25032
|
+
return new PropTypeError("Property `" + propFullName + "` of component `" + componentName + "` has invalid PropType notation inside objectOf.");
|
|
25033
|
+
}
|
|
25034
|
+
var propValue = props[propName];
|
|
25035
|
+
var propType = getPropType(propValue);
|
|
25036
|
+
if (propType !== "object") {
|
|
25037
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type " + ("`" + propType + "` supplied to `" + componentName + "`, expected an object."));
|
|
25038
|
+
}
|
|
25039
|
+
for (var key in propValue) {
|
|
25040
|
+
if (has(propValue, key)) {
|
|
25041
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
25042
|
+
if (error instanceof Error) {
|
|
25043
|
+
return error;
|
|
25044
|
+
}
|
|
25045
|
+
}
|
|
25046
|
+
}
|
|
25047
|
+
return null;
|
|
25048
|
+
}
|
|
25049
|
+
return createChainableTypeChecker(validate);
|
|
25050
|
+
}
|
|
25051
|
+
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
25052
|
+
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
25053
|
+
true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
|
|
25054
|
+
return emptyFunctionThatReturnsNull;
|
|
25055
|
+
}
|
|
25056
|
+
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
25057
|
+
var checker = arrayOfTypeCheckers[i];
|
|
25058
|
+
if (typeof checker !== "function") {
|
|
25059
|
+
printWarning(
|
|
25060
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + getPostfixForTypeWarning(checker) + " at index " + i + "."
|
|
25061
|
+
);
|
|
25062
|
+
return emptyFunctionThatReturnsNull;
|
|
25063
|
+
}
|
|
25064
|
+
}
|
|
25065
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25066
|
+
var expectedTypes = [];
|
|
25067
|
+
for (var i2 = 0; i2 < arrayOfTypeCheckers.length; i2++) {
|
|
25068
|
+
var checker2 = arrayOfTypeCheckers[i2];
|
|
25069
|
+
var checkerResult = checker2(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
25070
|
+
if (checkerResult == null) {
|
|
25071
|
+
return null;
|
|
25072
|
+
}
|
|
25073
|
+
if (checkerResult.data && has(checkerResult.data, "expectedType")) {
|
|
25074
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
25075
|
+
}
|
|
25076
|
+
}
|
|
25077
|
+
var expectedTypesMessage = expectedTypes.length > 0 ? ", expected one of type [" + expectedTypes.join(", ") + "]" : "";
|
|
25078
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`" + expectedTypesMessage + "."));
|
|
25079
|
+
}
|
|
25080
|
+
return createChainableTypeChecker(validate);
|
|
25081
|
+
}
|
|
25082
|
+
function createNodeChecker() {
|
|
25083
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25084
|
+
if (!isNode(props[propName])) {
|
|
25085
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` supplied to " + ("`" + componentName + "`, expected a ReactNode."));
|
|
25086
|
+
}
|
|
25087
|
+
return null;
|
|
25088
|
+
}
|
|
25089
|
+
return createChainableTypeChecker(validate);
|
|
25090
|
+
}
|
|
25091
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
25092
|
+
return new PropTypeError(
|
|
25093
|
+
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type + "`."
|
|
25094
|
+
);
|
|
25095
|
+
}
|
|
25096
|
+
function createShapeTypeChecker(shapeTypes) {
|
|
25097
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25098
|
+
var propValue = props[propName];
|
|
25099
|
+
var propType = getPropType(propValue);
|
|
25100
|
+
if (propType !== "object") {
|
|
25101
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
25102
|
+
}
|
|
25103
|
+
for (var key in shapeTypes) {
|
|
25104
|
+
var checker = shapeTypes[key];
|
|
25105
|
+
if (typeof checker !== "function") {
|
|
25106
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
25107
|
+
}
|
|
25108
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
25109
|
+
if (error) {
|
|
25110
|
+
return error;
|
|
25111
|
+
}
|
|
25112
|
+
}
|
|
25113
|
+
return null;
|
|
25114
|
+
}
|
|
25115
|
+
return createChainableTypeChecker(validate);
|
|
25116
|
+
}
|
|
25117
|
+
function createStrictShapeTypeChecker(shapeTypes) {
|
|
25118
|
+
function validate(props, propName, componentName, location, propFullName) {
|
|
25119
|
+
var propValue = props[propName];
|
|
25120
|
+
var propType = getPropType(propValue);
|
|
25121
|
+
if (propType !== "object") {
|
|
25122
|
+
return new PropTypeError("Invalid " + location + " `" + propFullName + "` of type `" + propType + "` " + ("supplied to `" + componentName + "`, expected `object`."));
|
|
25123
|
+
}
|
|
25124
|
+
var allKeys = assign({}, props[propName], shapeTypes);
|
|
25125
|
+
for (var key in allKeys) {
|
|
25126
|
+
var checker = shapeTypes[key];
|
|
25127
|
+
if (has(shapeTypes, key) && typeof checker !== "function") {
|
|
25128
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
25129
|
+
}
|
|
25130
|
+
if (!checker) {
|
|
25131
|
+
return new PropTypeError(
|
|
25132
|
+
"Invalid " + location + " `" + propFullName + "` key `" + key + "` supplied to `" + componentName + "`.\nBad object: " + JSON.stringify(props[propName], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(shapeTypes), null, " ")
|
|
25133
|
+
);
|
|
25134
|
+
}
|
|
25135
|
+
var error = checker(propValue, key, componentName, location, propFullName + "." + key, ReactPropTypesSecret);
|
|
25136
|
+
if (error) {
|
|
25137
|
+
return error;
|
|
25138
|
+
}
|
|
25139
|
+
}
|
|
25140
|
+
return null;
|
|
25141
|
+
}
|
|
25142
|
+
return createChainableTypeChecker(validate);
|
|
25143
|
+
}
|
|
25144
|
+
function isNode(propValue) {
|
|
25145
|
+
switch (typeof propValue) {
|
|
25146
|
+
case "number":
|
|
25147
|
+
case "string":
|
|
25148
|
+
case "undefined":
|
|
25149
|
+
return true;
|
|
25150
|
+
case "boolean":
|
|
25151
|
+
return !propValue;
|
|
25152
|
+
case "object":
|
|
25153
|
+
if (Array.isArray(propValue)) {
|
|
25154
|
+
return propValue.every(isNode);
|
|
25155
|
+
}
|
|
25156
|
+
if (propValue === null || isValidElement(propValue)) {
|
|
25157
|
+
return true;
|
|
25158
|
+
}
|
|
25159
|
+
var iteratorFn = getIteratorFn(propValue);
|
|
25160
|
+
if (iteratorFn) {
|
|
25161
|
+
var iterator = iteratorFn.call(propValue);
|
|
25162
|
+
var step;
|
|
25163
|
+
if (iteratorFn !== propValue.entries) {
|
|
25164
|
+
while (!(step = iterator.next()).done) {
|
|
25165
|
+
if (!isNode(step.value)) {
|
|
25166
|
+
return false;
|
|
25167
|
+
}
|
|
25168
|
+
}
|
|
25169
|
+
} else {
|
|
25170
|
+
while (!(step = iterator.next()).done) {
|
|
25171
|
+
var entry = step.value;
|
|
25172
|
+
if (entry) {
|
|
25173
|
+
if (!isNode(entry[1])) {
|
|
25174
|
+
return false;
|
|
25175
|
+
}
|
|
25176
|
+
}
|
|
25177
|
+
}
|
|
25178
|
+
}
|
|
25179
|
+
} else {
|
|
25180
|
+
return false;
|
|
25181
|
+
}
|
|
25182
|
+
return true;
|
|
25183
|
+
default:
|
|
25184
|
+
return false;
|
|
25185
|
+
}
|
|
25186
|
+
}
|
|
25187
|
+
function isSymbol(propType, propValue) {
|
|
25188
|
+
if (propType === "symbol") {
|
|
25189
|
+
return true;
|
|
25190
|
+
}
|
|
25191
|
+
if (!propValue) {
|
|
25192
|
+
return false;
|
|
25193
|
+
}
|
|
25194
|
+
if (propValue["@@toStringTag"] === "Symbol") {
|
|
25195
|
+
return true;
|
|
25196
|
+
}
|
|
25197
|
+
if (typeof Symbol === "function" && propValue instanceof Symbol) {
|
|
25198
|
+
return true;
|
|
25199
|
+
}
|
|
25200
|
+
return false;
|
|
25201
|
+
}
|
|
25202
|
+
function getPropType(propValue) {
|
|
25203
|
+
var propType = typeof propValue;
|
|
25204
|
+
if (Array.isArray(propValue)) {
|
|
25205
|
+
return "array";
|
|
25206
|
+
}
|
|
25207
|
+
if (propValue instanceof RegExp) {
|
|
25208
|
+
return "object";
|
|
25209
|
+
}
|
|
25210
|
+
if (isSymbol(propType, propValue)) {
|
|
25211
|
+
return "symbol";
|
|
25212
|
+
}
|
|
25213
|
+
return propType;
|
|
25214
|
+
}
|
|
25215
|
+
function getPreciseType(propValue) {
|
|
25216
|
+
if (typeof propValue === "undefined" || propValue === null) {
|
|
25217
|
+
return "" + propValue;
|
|
25218
|
+
}
|
|
25219
|
+
var propType = getPropType(propValue);
|
|
25220
|
+
if (propType === "object") {
|
|
25221
|
+
if (propValue instanceof Date) {
|
|
25222
|
+
return "date";
|
|
25223
|
+
} else if (propValue instanceof RegExp) {
|
|
25224
|
+
return "regexp";
|
|
25225
|
+
}
|
|
25226
|
+
}
|
|
25227
|
+
return propType;
|
|
25228
|
+
}
|
|
25229
|
+
function getPostfixForTypeWarning(value) {
|
|
25230
|
+
var type = getPreciseType(value);
|
|
25231
|
+
switch (type) {
|
|
25232
|
+
case "array":
|
|
25233
|
+
case "object":
|
|
25234
|
+
return "an " + type;
|
|
25235
|
+
case "boolean":
|
|
25236
|
+
case "date":
|
|
25237
|
+
case "regexp":
|
|
25238
|
+
return "a " + type;
|
|
25239
|
+
default:
|
|
25240
|
+
return type;
|
|
25241
|
+
}
|
|
25242
|
+
}
|
|
25243
|
+
function getClassName(propValue) {
|
|
25244
|
+
if (!propValue.constructor || !propValue.constructor.name) {
|
|
25245
|
+
return ANONYMOUS;
|
|
25246
|
+
}
|
|
25247
|
+
return propValue.constructor.name;
|
|
25248
|
+
}
|
|
25249
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
25250
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
25251
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
25252
|
+
return ReactPropTypes;
|
|
25253
|
+
};
|
|
25254
|
+
}
|
|
25255
|
+
});
|
|
25256
|
+
|
|
25257
|
+
// node_modules/prop-types/index.js
|
|
25258
|
+
var require_prop_types = __commonJS({
|
|
25259
|
+
"node_modules/prop-types/index.js"(exports, module) {
|
|
25260
|
+
if (true) {
|
|
25261
|
+
ReactIs = require_react_is();
|
|
25262
|
+
throwOnDirectAccess = true;
|
|
25263
|
+
module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
|
|
25264
|
+
} else {
|
|
25265
|
+
module.exports = null();
|
|
25266
|
+
}
|
|
25267
|
+
var ReactIs;
|
|
25268
|
+
var throwOnDirectAccess;
|
|
25269
|
+
}
|
|
25270
|
+
});
|
|
25271
|
+
|
|
25272
|
+
// src/Project.tsx
|
|
25273
|
+
var import_client = __toESM(require_client(), 1);
|
|
25274
|
+
var import_react33 = __toESM(require_react(), 1);
|
|
25275
|
+
|
|
25276
|
+
// node_modules/@babel/runtime/helpers/esm/extends.js
|
|
25277
|
+
function _extends() {
|
|
25278
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
25279
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
25280
|
+
var t = arguments[e];
|
|
25281
|
+
for (var r in t)
|
|
25282
|
+
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
25283
|
+
}
|
|
25284
|
+
return n;
|
|
25285
|
+
}, _extends.apply(null, arguments);
|
|
25286
|
+
}
|
|
25287
|
+
|
|
25288
|
+
// node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
25289
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
25290
|
+
if (null == r)
|
|
25291
|
+
return {};
|
|
25292
|
+
var t = {};
|
|
25293
|
+
for (var n in r)
|
|
25294
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
25295
|
+
if (-1 !== e.indexOf(n))
|
|
25296
|
+
continue;
|
|
25297
|
+
t[n] = r[n];
|
|
25298
|
+
}
|
|
25299
|
+
return t;
|
|
25300
|
+
}
|
|
25301
|
+
|
|
25302
|
+
// node_modules/uncontrollable/lib/esm/hook.js
|
|
25303
|
+
var import_react = __toESM(require_react());
|
|
25304
|
+
|
|
25305
|
+
// node_modules/uncontrollable/lib/esm/utils.js
|
|
25306
|
+
var import_invariant = __toESM(require_browser());
|
|
25307
|
+
function defaultKey(key) {
|
|
25308
|
+
return "default" + key.charAt(0).toUpperCase() + key.substr(1);
|
|
25309
|
+
}
|
|
25310
|
+
|
|
25311
|
+
// node_modules/uncontrollable/lib/esm/hook.js
|
|
25312
|
+
function _toPropertyKey(arg) {
|
|
25313
|
+
var key = _toPrimitive(arg, "string");
|
|
25314
|
+
return typeof key === "symbol" ? key : String(key);
|
|
25315
|
+
}
|
|
25316
|
+
function _toPrimitive(input, hint) {
|
|
25317
|
+
if (typeof input !== "object" || input === null)
|
|
25318
|
+
return input;
|
|
25319
|
+
var prim = input[Symbol.toPrimitive];
|
|
25320
|
+
if (prim !== void 0) {
|
|
25321
|
+
var res = prim.call(input, hint || "default");
|
|
25322
|
+
if (typeof res !== "object")
|
|
25323
|
+
return res;
|
|
25324
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
25325
|
+
}
|
|
25326
|
+
return (hint === "string" ? String : Number)(input);
|
|
25327
|
+
}
|
|
25328
|
+
function useUncontrolledProp(propValue, defaultValue, handler) {
|
|
25329
|
+
var wasPropRef = (0, import_react.useRef)(propValue !== void 0);
|
|
25330
|
+
var _useState = (0, import_react.useState)(defaultValue), stateValue = _useState[0], setState = _useState[1];
|
|
25331
|
+
var isProp2 = propValue !== void 0;
|
|
25332
|
+
var wasProp = wasPropRef.current;
|
|
25333
|
+
wasPropRef.current = isProp2;
|
|
25334
|
+
if (!isProp2 && wasProp && stateValue !== defaultValue) {
|
|
25335
|
+
setState(defaultValue);
|
|
25336
|
+
}
|
|
25337
|
+
return [isProp2 ? propValue : stateValue, (0, import_react.useCallback)(function(value) {
|
|
25338
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
25339
|
+
args[_key - 1] = arguments[_key];
|
|
25340
|
+
}
|
|
25341
|
+
if (handler)
|
|
25342
|
+
handler.apply(void 0, [value].concat(args));
|
|
25343
|
+
setState(value);
|
|
25344
|
+
}, [handler])];
|
|
25345
|
+
}
|
|
25346
|
+
function useUncontrolled(props, config) {
|
|
25347
|
+
return Object.keys(config).reduce(function(result, fieldName) {
|
|
25348
|
+
var _extends2;
|
|
25349
|
+
var _ref = result, defaultValue = _ref[defaultKey(fieldName)], propsValue = _ref[fieldName], rest = _objectWithoutPropertiesLoose(_ref, [defaultKey(fieldName), fieldName].map(_toPropertyKey));
|
|
25350
|
+
var handlerName = config[fieldName];
|
|
25351
|
+
var _useUncontrolledProp = useUncontrolledProp(propsValue, defaultValue, props[handlerName]), value = _useUncontrolledProp[0], handler = _useUncontrolledProp[1];
|
|
25352
|
+
return _extends({}, rest, (_extends2 = {}, _extends2[fieldName] = value, _extends2[handlerName] = handler, _extends2));
|
|
25353
|
+
}, props);
|
|
25354
|
+
}
|
|
25355
|
+
|
|
25356
|
+
// node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
25357
|
+
function _setPrototypeOf(t, e) {
|
|
25358
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
25359
|
+
return t2.__proto__ = e2, t2;
|
|
25360
|
+
}, _setPrototypeOf(t, e);
|
|
25361
|
+
}
|
|
25362
|
+
|
|
25363
|
+
// node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
25364
|
+
function _inheritsLoose(t, o) {
|
|
25365
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
25366
|
+
}
|
|
25367
|
+
|
|
25368
|
+
// node_modules/uncontrollable/lib/esm/uncontrollable.js
|
|
25369
|
+
var import_react2 = __toESM(require_react());
|
|
25370
|
+
|
|
25371
|
+
// node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js
|
|
25372
|
+
function componentWillMount() {
|
|
25373
|
+
var state = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
25374
|
+
if (state !== null && state !== void 0) {
|
|
25375
|
+
this.setState(state);
|
|
25376
|
+
}
|
|
25377
|
+
}
|
|
25378
|
+
function componentWillReceiveProps(nextProps) {
|
|
25379
|
+
function updater(prevState) {
|
|
25380
|
+
var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);
|
|
25381
|
+
return state !== null && state !== void 0 ? state : null;
|
|
25382
|
+
}
|
|
25383
|
+
this.setState(updater.bind(this));
|
|
25384
|
+
}
|
|
25385
|
+
function componentWillUpdate(nextProps, nextState) {
|
|
25386
|
+
try {
|
|
25387
|
+
var prevProps = this.props;
|
|
25388
|
+
var prevState = this.state;
|
|
25389
|
+
this.props = nextProps;
|
|
25390
|
+
this.state = nextState;
|
|
25391
|
+
this.__reactInternalSnapshotFlag = true;
|
|
25392
|
+
this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
|
|
25393
|
+
prevProps,
|
|
25394
|
+
prevState
|
|
25395
|
+
);
|
|
25396
|
+
} finally {
|
|
25397
|
+
this.props = prevProps;
|
|
25398
|
+
this.state = prevState;
|
|
25399
|
+
}
|
|
25400
|
+
}
|
|
25401
|
+
componentWillMount.__suppressDeprecationWarning = true;
|
|
25402
|
+
componentWillReceiveProps.__suppressDeprecationWarning = true;
|
|
25403
|
+
componentWillUpdate.__suppressDeprecationWarning = true;
|
|
25404
|
+
|
|
25405
|
+
// node_modules/uncontrollable/lib/esm/uncontrollable.js
|
|
25406
|
+
var import_invariant2 = __toESM(require_browser());
|
|
25407
|
+
|
|
25408
|
+
// node_modules/react-bootstrap/esm/ThemeProvider.js
|
|
25409
|
+
var React2 = __toESM(require_react());
|
|
25410
|
+
var import_react3 = __toESM(require_react());
|
|
25411
|
+
var import_jsx_runtime = __toESM(require_jsx_runtime());
|
|
25412
|
+
"use client";
|
|
25413
|
+
var DEFAULT_BREAKPOINTS = ["xxl", "xl", "lg", "md", "sm", "xs"];
|
|
25414
|
+
var DEFAULT_MIN_BREAKPOINT = "xs";
|
|
25415
|
+
var ThemeContext = /* @__PURE__ */ React2.createContext({
|
|
25416
|
+
prefixes: {},
|
|
25417
|
+
breakpoints: DEFAULT_BREAKPOINTS,
|
|
25418
|
+
minBreakpoint: DEFAULT_MIN_BREAKPOINT
|
|
25419
|
+
});
|
|
25420
|
+
var {
|
|
25421
|
+
Consumer,
|
|
25422
|
+
Provider
|
|
25423
|
+
} = ThemeContext;
|
|
25424
|
+
function useBootstrapPrefix(prefix, defaultPrefix) {
|
|
25425
|
+
const {
|
|
25426
|
+
prefixes
|
|
25427
|
+
} = (0, import_react3.useContext)(ThemeContext);
|
|
25428
|
+
return prefix || prefixes[defaultPrefix] || defaultPrefix;
|
|
25429
|
+
}
|
|
25430
|
+
function useBootstrapBreakpoints() {
|
|
25431
|
+
const {
|
|
25432
|
+
breakpoints
|
|
25433
|
+
} = (0, import_react3.useContext)(ThemeContext);
|
|
25434
|
+
return breakpoints;
|
|
25435
|
+
}
|
|
25436
|
+
function useBootstrapMinBreakpoint() {
|
|
25437
|
+
const {
|
|
25438
|
+
minBreakpoint
|
|
25439
|
+
} = (0, import_react3.useContext)(ThemeContext);
|
|
25440
|
+
return minBreakpoint;
|
|
25441
|
+
}
|
|
25442
|
+
|
|
25443
|
+
// node_modules/dom-helpers/esm/ownerDocument.js
|
|
25444
|
+
function ownerDocument(node) {
|
|
25445
|
+
return node && node.ownerDocument || document;
|
|
25446
|
+
}
|
|
25447
|
+
|
|
25448
|
+
// node_modules/dom-helpers/esm/ownerWindow.js
|
|
25449
|
+
function ownerWindow(node) {
|
|
25450
|
+
var doc = ownerDocument(node);
|
|
25451
|
+
return doc && doc.defaultView || window;
|
|
25452
|
+
}
|
|
25453
|
+
|
|
25454
|
+
// node_modules/dom-helpers/esm/getComputedStyle.js
|
|
25455
|
+
function getComputedStyle(node, psuedoElement) {
|
|
25456
|
+
return ownerWindow(node).getComputedStyle(node, psuedoElement);
|
|
25457
|
+
}
|
|
25458
|
+
|
|
25459
|
+
// node_modules/dom-helpers/esm/hyphenate.js
|
|
25460
|
+
var rUpper = /([A-Z])/g;
|
|
25461
|
+
function hyphenate(string) {
|
|
25462
|
+
return string.replace(rUpper, "-$1").toLowerCase();
|
|
25463
|
+
}
|
|
25464
|
+
|
|
25465
|
+
// node_modules/dom-helpers/esm/hyphenateStyle.js
|
|
25466
|
+
var msPattern = /^ms-/;
|
|
25467
|
+
function hyphenateStyleName(string) {
|
|
25468
|
+
return hyphenate(string).replace(msPattern, "-ms-");
|
|
25469
|
+
}
|
|
25470
|
+
|
|
25471
|
+
// node_modules/dom-helpers/esm/isTransform.js
|
|
25472
|
+
var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
|
|
25473
|
+
function isTransform(value) {
|
|
25474
|
+
return !!(value && supportedTransforms.test(value));
|
|
25475
|
+
}
|
|
25476
|
+
|
|
25477
|
+
// node_modules/dom-helpers/esm/css.js
|
|
25478
|
+
function style(node, property) {
|
|
25479
|
+
var css = "";
|
|
25480
|
+
var transforms = "";
|
|
25481
|
+
if (typeof property === "string") {
|
|
25482
|
+
return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle(node).getPropertyValue(hyphenateStyleName(property));
|
|
25483
|
+
}
|
|
25484
|
+
Object.keys(property).forEach(function(key) {
|
|
25485
|
+
var value = property[key];
|
|
25486
|
+
if (!value && value !== 0) {
|
|
25487
|
+
node.style.removeProperty(hyphenateStyleName(key));
|
|
25488
|
+
} else if (isTransform(key)) {
|
|
25489
|
+
transforms += key + "(" + value + ") ";
|
|
25490
|
+
} else {
|
|
25491
|
+
css += hyphenateStyleName(key) + ": " + value + ";";
|
|
25492
|
+
}
|
|
25493
|
+
});
|
|
25494
|
+
if (transforms) {
|
|
25495
|
+
css += "transform: " + transforms + ";";
|
|
25496
|
+
}
|
|
25497
|
+
node.style.cssText += ";" + css;
|
|
25498
|
+
}
|
|
25499
|
+
var css_default = style;
|
|
25500
|
+
|
|
25501
|
+
// node_modules/react-transition-group/esm/Transition.js
|
|
25502
|
+
var import_prop_types2 = __toESM(require_prop_types());
|
|
25503
|
+
var import_react5 = __toESM(require_react());
|
|
25504
|
+
var import_react_dom = __toESM(require_react_dom());
|
|
25505
|
+
|
|
25506
|
+
// node_modules/react-transition-group/esm/config.js
|
|
25507
|
+
var config_default = {
|
|
25508
|
+
disabled: false
|
|
25509
|
+
};
|
|
25510
|
+
|
|
25511
|
+
// node_modules/react-transition-group/esm/utils/PropTypes.js
|
|
25512
|
+
var import_prop_types = __toESM(require_prop_types());
|
|
25513
|
+
var timeoutsShape = true ? import_prop_types.default.oneOfType([import_prop_types.default.number, import_prop_types.default.shape({
|
|
25514
|
+
enter: import_prop_types.default.number,
|
|
25515
|
+
exit: import_prop_types.default.number,
|
|
25516
|
+
appear: import_prop_types.default.number
|
|
25517
|
+
}).isRequired]) : null;
|
|
25518
|
+
var classNamesShape = true ? import_prop_types.default.oneOfType([import_prop_types.default.string, import_prop_types.default.shape({
|
|
25519
|
+
enter: import_prop_types.default.string,
|
|
25520
|
+
exit: import_prop_types.default.string,
|
|
25521
|
+
active: import_prop_types.default.string
|
|
25522
|
+
}), import_prop_types.default.shape({
|
|
25523
|
+
enter: import_prop_types.default.string,
|
|
25524
|
+
enterDone: import_prop_types.default.string,
|
|
25525
|
+
enterActive: import_prop_types.default.string,
|
|
25526
|
+
exit: import_prop_types.default.string,
|
|
25527
|
+
exitDone: import_prop_types.default.string,
|
|
25528
|
+
exitActive: import_prop_types.default.string
|
|
25529
|
+
})]) : null;
|
|
25530
|
+
|
|
25531
|
+
// node_modules/react-transition-group/esm/TransitionGroupContext.js
|
|
25532
|
+
var import_react4 = __toESM(require_react());
|
|
25533
|
+
var TransitionGroupContext_default = import_react4.default.createContext(null);
|
|
25534
|
+
|
|
25535
|
+
// node_modules/react-transition-group/esm/utils/reflow.js
|
|
25536
|
+
var forceReflow = function forceReflow2(node) {
|
|
25537
|
+
return node.scrollTop;
|
|
25538
|
+
};
|
|
25539
|
+
|
|
25540
|
+
// node_modules/react-transition-group/esm/Transition.js
|
|
25541
|
+
var UNMOUNTED = "unmounted";
|
|
25542
|
+
var EXITED = "exited";
|
|
25543
|
+
var ENTERING = "entering";
|
|
25544
|
+
var ENTERED = "entered";
|
|
25545
|
+
var EXITING = "exiting";
|
|
25546
|
+
var Transition = /* @__PURE__ */ function(_React$Component) {
|
|
25547
|
+
_inheritsLoose(Transition2, _React$Component);
|
|
25548
|
+
function Transition2(props, context3) {
|
|
25549
|
+
var _this;
|
|
25550
|
+
_this = _React$Component.call(this, props, context3) || this;
|
|
25551
|
+
var parentGroup = context3;
|
|
25552
|
+
var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;
|
|
25553
|
+
var initialStatus;
|
|
25554
|
+
_this.appearStatus = null;
|
|
25555
|
+
if (props.in) {
|
|
25556
|
+
if (appear) {
|
|
25557
|
+
initialStatus = EXITED;
|
|
25558
|
+
_this.appearStatus = ENTERING;
|
|
25559
|
+
} else {
|
|
25560
|
+
initialStatus = ENTERED;
|
|
25561
|
+
}
|
|
25562
|
+
} else {
|
|
25563
|
+
if (props.unmountOnExit || props.mountOnEnter) {
|
|
25564
|
+
initialStatus = UNMOUNTED;
|
|
25565
|
+
} else {
|
|
25566
|
+
initialStatus = EXITED;
|
|
25567
|
+
}
|
|
25568
|
+
}
|
|
25569
|
+
_this.state = {
|
|
25570
|
+
status: initialStatus
|
|
25571
|
+
};
|
|
25572
|
+
_this.nextCallback = null;
|
|
25573
|
+
return _this;
|
|
25574
|
+
}
|
|
25575
|
+
Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {
|
|
25576
|
+
var nextIn = _ref.in;
|
|
25577
|
+
if (nextIn && prevState.status === UNMOUNTED) {
|
|
25578
|
+
return {
|
|
25579
|
+
status: EXITED
|
|
25580
|
+
};
|
|
25581
|
+
}
|
|
25582
|
+
return null;
|
|
25583
|
+
};
|
|
25584
|
+
var _proto = Transition2.prototype;
|
|
25585
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
25586
|
+
this.updateStatus(true, this.appearStatus);
|
|
25587
|
+
};
|
|
25588
|
+
_proto.componentDidUpdate = function componentDidUpdate(prevProps) {
|
|
25589
|
+
var nextStatus = null;
|
|
25590
|
+
if (prevProps !== this.props) {
|
|
25591
|
+
var status = this.state.status;
|
|
25592
|
+
if (this.props.in) {
|
|
25593
|
+
if (status !== ENTERING && status !== ENTERED) {
|
|
25594
|
+
nextStatus = ENTERING;
|
|
25595
|
+
}
|
|
25596
|
+
} else {
|
|
25597
|
+
if (status === ENTERING || status === ENTERED) {
|
|
25598
|
+
nextStatus = EXITING;
|
|
25599
|
+
}
|
|
25600
|
+
}
|
|
25601
|
+
}
|
|
25602
|
+
this.updateStatus(false, nextStatus);
|
|
25603
|
+
};
|
|
25604
|
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
|
25605
|
+
this.cancelNextCallback();
|
|
25606
|
+
};
|
|
25607
|
+
_proto.getTimeouts = function getTimeouts() {
|
|
25608
|
+
var timeout2 = this.props.timeout;
|
|
25609
|
+
var exit, enter, appear;
|
|
25610
|
+
exit = enter = appear = timeout2;
|
|
25611
|
+
if (timeout2 != null && typeof timeout2 !== "number") {
|
|
25612
|
+
exit = timeout2.exit;
|
|
25613
|
+
enter = timeout2.enter;
|
|
25614
|
+
appear = timeout2.appear !== void 0 ? timeout2.appear : enter;
|
|
25615
|
+
}
|
|
25616
|
+
return {
|
|
25617
|
+
exit,
|
|
25618
|
+
enter,
|
|
25619
|
+
appear
|
|
25620
|
+
};
|
|
25621
|
+
};
|
|
25622
|
+
_proto.updateStatus = function updateStatus(mounting, nextStatus) {
|
|
25623
|
+
if (mounting === void 0) {
|
|
25624
|
+
mounting = false;
|
|
25625
|
+
}
|
|
25626
|
+
if (nextStatus !== null) {
|
|
25627
|
+
this.cancelNextCallback();
|
|
25628
|
+
if (nextStatus === ENTERING) {
|
|
25629
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
25630
|
+
var node = this.props.nodeRef ? this.props.nodeRef.current : import_react_dom.default.findDOMNode(this);
|
|
25631
|
+
if (node)
|
|
25632
|
+
forceReflow(node);
|
|
25633
|
+
}
|
|
25634
|
+
this.performEnter(mounting);
|
|
25635
|
+
} else {
|
|
25636
|
+
this.performExit();
|
|
25637
|
+
}
|
|
25638
|
+
} else if (this.props.unmountOnExit && this.state.status === EXITED) {
|
|
25639
|
+
this.setState({
|
|
25640
|
+
status: UNMOUNTED
|
|
25641
|
+
});
|
|
25642
|
+
}
|
|
25643
|
+
};
|
|
25644
|
+
_proto.performEnter = function performEnter(mounting) {
|
|
25645
|
+
var _this2 = this;
|
|
25646
|
+
var enter = this.props.enter;
|
|
25647
|
+
var appearing = this.context ? this.context.isMounting : mounting;
|
|
25648
|
+
var _ref2 = this.props.nodeRef ? [appearing] : [import_react_dom.default.findDOMNode(this), appearing], maybeNode = _ref2[0], maybeAppearing = _ref2[1];
|
|
25649
|
+
var timeouts = this.getTimeouts();
|
|
25650
|
+
var enterTimeout = appearing ? timeouts.appear : timeouts.enter;
|
|
25651
|
+
if (!mounting && !enter || config_default.disabled) {
|
|
25652
|
+
this.safeSetState({
|
|
25653
|
+
status: ENTERED
|
|
25654
|
+
}, function() {
|
|
25655
|
+
_this2.props.onEntered(maybeNode);
|
|
25656
|
+
});
|
|
25657
|
+
return;
|
|
25658
|
+
}
|
|
25659
|
+
this.props.onEnter(maybeNode, maybeAppearing);
|
|
25660
|
+
this.safeSetState({
|
|
25661
|
+
status: ENTERING
|
|
25662
|
+
}, function() {
|
|
25663
|
+
_this2.props.onEntering(maybeNode, maybeAppearing);
|
|
25664
|
+
_this2.onTransitionEnd(enterTimeout, function() {
|
|
25665
|
+
_this2.safeSetState({
|
|
25666
|
+
status: ENTERED
|
|
25667
|
+
}, function() {
|
|
25668
|
+
_this2.props.onEntered(maybeNode, maybeAppearing);
|
|
25669
|
+
});
|
|
25670
|
+
});
|
|
25671
|
+
});
|
|
25672
|
+
};
|
|
25673
|
+
_proto.performExit = function performExit() {
|
|
25674
|
+
var _this3 = this;
|
|
25675
|
+
var exit = this.props.exit;
|
|
25676
|
+
var timeouts = this.getTimeouts();
|
|
25677
|
+
var maybeNode = this.props.nodeRef ? void 0 : import_react_dom.default.findDOMNode(this);
|
|
25678
|
+
if (!exit || config_default.disabled) {
|
|
25679
|
+
this.safeSetState({
|
|
25680
|
+
status: EXITED
|
|
25681
|
+
}, function() {
|
|
25682
|
+
_this3.props.onExited(maybeNode);
|
|
25683
|
+
});
|
|
25684
|
+
return;
|
|
25685
|
+
}
|
|
25686
|
+
this.props.onExit(maybeNode);
|
|
25687
|
+
this.safeSetState({
|
|
25688
|
+
status: EXITING
|
|
25689
|
+
}, function() {
|
|
25690
|
+
_this3.props.onExiting(maybeNode);
|
|
25691
|
+
_this3.onTransitionEnd(timeouts.exit, function() {
|
|
25692
|
+
_this3.safeSetState({
|
|
25693
|
+
status: EXITED
|
|
25694
|
+
}, function() {
|
|
25695
|
+
_this3.props.onExited(maybeNode);
|
|
25696
|
+
});
|
|
25697
|
+
});
|
|
25698
|
+
});
|
|
25699
|
+
};
|
|
25700
|
+
_proto.cancelNextCallback = function cancelNextCallback() {
|
|
25701
|
+
if (this.nextCallback !== null) {
|
|
25702
|
+
this.nextCallback.cancel();
|
|
25703
|
+
this.nextCallback = null;
|
|
25704
|
+
}
|
|
25705
|
+
};
|
|
25706
|
+
_proto.safeSetState = function safeSetState(nextState, callback) {
|
|
25707
|
+
callback = this.setNextCallback(callback);
|
|
25708
|
+
this.setState(nextState, callback);
|
|
25709
|
+
};
|
|
25710
|
+
_proto.setNextCallback = function setNextCallback(callback) {
|
|
25711
|
+
var _this4 = this;
|
|
25712
|
+
var active = true;
|
|
25713
|
+
this.nextCallback = function(event) {
|
|
25714
|
+
if (active) {
|
|
25715
|
+
active = false;
|
|
25716
|
+
_this4.nextCallback = null;
|
|
25717
|
+
callback(event);
|
|
25718
|
+
}
|
|
25719
|
+
};
|
|
25720
|
+
this.nextCallback.cancel = function() {
|
|
25721
|
+
active = false;
|
|
25722
|
+
};
|
|
25723
|
+
return this.nextCallback;
|
|
25724
|
+
};
|
|
25725
|
+
_proto.onTransitionEnd = function onTransitionEnd(timeout2, handler) {
|
|
25726
|
+
this.setNextCallback(handler);
|
|
25727
|
+
var node = this.props.nodeRef ? this.props.nodeRef.current : import_react_dom.default.findDOMNode(this);
|
|
25728
|
+
var doesNotHaveTimeoutOrListener = timeout2 == null && !this.props.addEndListener;
|
|
25729
|
+
if (!node || doesNotHaveTimeoutOrListener) {
|
|
25730
|
+
setTimeout(this.nextCallback, 0);
|
|
25731
|
+
return;
|
|
25732
|
+
}
|
|
25733
|
+
if (this.props.addEndListener) {
|
|
25734
|
+
var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], maybeNode = _ref3[0], maybeNextCallback = _ref3[1];
|
|
25735
|
+
this.props.addEndListener(maybeNode, maybeNextCallback);
|
|
25736
|
+
}
|
|
25737
|
+
if (timeout2 != null) {
|
|
25738
|
+
setTimeout(this.nextCallback, timeout2);
|
|
25739
|
+
}
|
|
25740
|
+
};
|
|
25741
|
+
_proto.render = function render() {
|
|
25742
|
+
var status = this.state.status;
|
|
25743
|
+
if (status === UNMOUNTED) {
|
|
25744
|
+
return null;
|
|
25745
|
+
}
|
|
25746
|
+
var _this$props = this.props, children = _this$props.children, _in = _this$props.in, _mountOnEnter = _this$props.mountOnEnter, _unmountOnExit = _this$props.unmountOnExit, _appear = _this$props.appear, _enter = _this$props.enter, _exit = _this$props.exit, _timeout = _this$props.timeout, _addEndListener = _this$props.addEndListener, _onEnter = _this$props.onEnter, _onEntering = _this$props.onEntering, _onEntered = _this$props.onEntered, _onExit = _this$props.onExit, _onExiting = _this$props.onExiting, _onExited = _this$props.onExited, _nodeRef = _this$props.nodeRef, childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
25747
|
+
return (
|
|
25748
|
+
// allows for nested Transitions
|
|
25749
|
+
/* @__PURE__ */ import_react5.default.createElement(TransitionGroupContext_default.Provider, {
|
|
25750
|
+
value: null
|
|
25751
|
+
}, typeof children === "function" ? children(status, childProps) : import_react5.default.cloneElement(import_react5.default.Children.only(children), childProps))
|
|
25752
|
+
);
|
|
25753
|
+
};
|
|
25754
|
+
return Transition2;
|
|
25755
|
+
}(import_react5.default.Component);
|
|
25756
|
+
Transition.contextType = TransitionGroupContext_default;
|
|
25757
|
+
Transition.propTypes = true ? {
|
|
25758
|
+
/**
|
|
25759
|
+
* A React reference to DOM element that need to transition:
|
|
25760
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
25761
|
+
*
|
|
25762
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
25763
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
25764
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
25765
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
25766
|
+
* (see
|
|
25767
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
25768
|
+
*/
|
|
25769
|
+
nodeRef: import_prop_types2.default.shape({
|
|
25770
|
+
current: typeof Element === "undefined" ? import_prop_types2.default.any : function(propValue, key, componentName, location, propFullName, secret) {
|
|
25771
|
+
var value = propValue[key];
|
|
25772
|
+
return import_prop_types2.default.instanceOf(value && "ownerDocument" in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);
|
|
25773
|
+
}
|
|
25774
|
+
}),
|
|
25775
|
+
/**
|
|
25776
|
+
* A `function` child can be used instead of a React element. This function is
|
|
25777
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
25778
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
25779
|
+
* specific props to a component.
|
|
25780
|
+
*
|
|
25781
|
+
* ```jsx
|
|
25782
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
25783
|
+
* {state => (
|
|
25784
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
25785
|
+
* )}
|
|
25786
|
+
* </Transition>
|
|
25787
|
+
* ```
|
|
25788
|
+
*/
|
|
25789
|
+
children: import_prop_types2.default.oneOfType([import_prop_types2.default.func.isRequired, import_prop_types2.default.element.isRequired]).isRequired,
|
|
25790
|
+
/**
|
|
25791
|
+
* Show the component; triggers the enter or exit states
|
|
25792
|
+
*/
|
|
25793
|
+
in: import_prop_types2.default.bool,
|
|
25794
|
+
/**
|
|
25795
|
+
* By default the child component is mounted immediately along with
|
|
25796
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
25797
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
25798
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
25799
|
+
*/
|
|
25800
|
+
mountOnEnter: import_prop_types2.default.bool,
|
|
25801
|
+
/**
|
|
25802
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
25803
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
25804
|
+
*/
|
|
25805
|
+
unmountOnExit: import_prop_types2.default.bool,
|
|
25806
|
+
/**
|
|
25807
|
+
* By default the child component does not perform the enter transition when
|
|
25808
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
25809
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
25810
|
+
*
|
|
25811
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
25812
|
+
* > only adds an additional enter transition. However, in the
|
|
25813
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
25814
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
25815
|
+
* > differently.
|
|
25816
|
+
*/
|
|
25817
|
+
appear: import_prop_types2.default.bool,
|
|
25818
|
+
/**
|
|
25819
|
+
* Enable or disable enter transitions.
|
|
25820
|
+
*/
|
|
25821
|
+
enter: import_prop_types2.default.bool,
|
|
25822
|
+
/**
|
|
25823
|
+
* Enable or disable exit transitions.
|
|
25824
|
+
*/
|
|
25825
|
+
exit: import_prop_types2.default.bool,
|
|
25826
|
+
/**
|
|
25827
|
+
* The duration of the transition, in milliseconds.
|
|
25828
|
+
* Required unless `addEndListener` is provided.
|
|
25829
|
+
*
|
|
25830
|
+
* You may specify a single timeout for all transitions:
|
|
25831
|
+
*
|
|
25832
|
+
* ```jsx
|
|
25833
|
+
* timeout={500}
|
|
25834
|
+
* ```
|
|
25835
|
+
*
|
|
25836
|
+
* or individually:
|
|
25837
|
+
*
|
|
25838
|
+
* ```jsx
|
|
25839
|
+
* timeout={{
|
|
25840
|
+
* appear: 500,
|
|
25841
|
+
* enter: 300,
|
|
25842
|
+
* exit: 500,
|
|
25843
|
+
* }}
|
|
25844
|
+
* ```
|
|
25845
|
+
*
|
|
25846
|
+
* - `appear` defaults to the value of `enter`
|
|
25847
|
+
* - `enter` defaults to `0`
|
|
25848
|
+
* - `exit` defaults to `0`
|
|
25849
|
+
*
|
|
25850
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
25851
|
+
*/
|
|
25852
|
+
timeout: function timeout(props) {
|
|
25853
|
+
var pt = timeoutsShape;
|
|
25854
|
+
if (!props.addEndListener)
|
|
25855
|
+
pt = pt.isRequired;
|
|
25856
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
25857
|
+
args[_key - 1] = arguments[_key];
|
|
25858
|
+
}
|
|
25859
|
+
return pt.apply(void 0, [props].concat(args));
|
|
25860
|
+
},
|
|
25861
|
+
/**
|
|
25862
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
25863
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
25864
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
25865
|
+
*
|
|
25866
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25867
|
+
*
|
|
25868
|
+
* ```jsx
|
|
25869
|
+
* addEndListener={(node, done) => {
|
|
25870
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
25871
|
+
* node.addEventListener('transitionend', done, false);
|
|
25872
|
+
* }}
|
|
25873
|
+
* ```
|
|
25874
|
+
*/
|
|
25875
|
+
addEndListener: import_prop_types2.default.func,
|
|
25876
|
+
/**
|
|
25877
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
25878
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
25879
|
+
*
|
|
25880
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25881
|
+
*
|
|
25882
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
25883
|
+
*/
|
|
25884
|
+
onEnter: import_prop_types2.default.func,
|
|
25885
|
+
/**
|
|
25886
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
25887
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
25888
|
+
*
|
|
25889
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25890
|
+
*
|
|
25891
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
25892
|
+
*/
|
|
25893
|
+
onEntering: import_prop_types2.default.func,
|
|
25894
|
+
/**
|
|
25895
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
25896
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
25897
|
+
*
|
|
25898
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25899
|
+
*
|
|
25900
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
25901
|
+
*/
|
|
25902
|
+
onEntered: import_prop_types2.default.func,
|
|
25903
|
+
/**
|
|
25904
|
+
* Callback fired before the "exiting" status is applied.
|
|
25905
|
+
*
|
|
25906
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25907
|
+
*
|
|
25908
|
+
* @type Function(node: HtmlElement) -> void
|
|
25909
|
+
*/
|
|
25910
|
+
onExit: import_prop_types2.default.func,
|
|
25911
|
+
/**
|
|
25912
|
+
* Callback fired after the "exiting" status is applied.
|
|
25913
|
+
*
|
|
25914
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
25915
|
+
*
|
|
25916
|
+
* @type Function(node: HtmlElement) -> void
|
|
25917
|
+
*/
|
|
25918
|
+
onExiting: import_prop_types2.default.func,
|
|
25919
|
+
/**
|
|
25920
|
+
* Callback fired after the "exited" status is applied.
|
|
25921
|
+
*
|
|
25922
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
25923
|
+
*
|
|
25924
|
+
* @type Function(node: HtmlElement) -> void
|
|
25925
|
+
*/
|
|
25926
|
+
onExited: import_prop_types2.default.func
|
|
25927
|
+
} : {};
|
|
25928
|
+
function noop() {
|
|
25929
|
+
}
|
|
25930
|
+
Transition.defaultProps = {
|
|
25931
|
+
in: false,
|
|
25932
|
+
mountOnEnter: false,
|
|
25933
|
+
unmountOnExit: false,
|
|
25934
|
+
appear: false,
|
|
25935
|
+
enter: true,
|
|
25936
|
+
exit: true,
|
|
25937
|
+
onEnter: noop,
|
|
25938
|
+
onEntering: noop,
|
|
25939
|
+
onEntered: noop,
|
|
25940
|
+
onExit: noop,
|
|
25941
|
+
onExiting: noop,
|
|
25942
|
+
onExited: noop
|
|
25943
|
+
};
|
|
25944
|
+
Transition.UNMOUNTED = UNMOUNTED;
|
|
25945
|
+
Transition.EXITED = EXITED;
|
|
25946
|
+
Transition.ENTERING = ENTERING;
|
|
25947
|
+
Transition.ENTERED = ENTERED;
|
|
25948
|
+
Transition.EXITING = EXITING;
|
|
25949
|
+
var Transition_default = Transition;
|
|
25950
|
+
|
|
25951
|
+
// node_modules/@restart/ui/esm/utils.js
|
|
25952
|
+
var React5 = __toESM(require_react());
|
|
25953
|
+
function getReactVersion() {
|
|
25954
|
+
const parts = React5.version.split(".");
|
|
25955
|
+
return {
|
|
25956
|
+
major: +parts[0],
|
|
25957
|
+
minor: +parts[1],
|
|
25958
|
+
patch: +parts[2]
|
|
25959
|
+
};
|
|
25960
|
+
}
|
|
25961
|
+
function getChildRef(element) {
|
|
25962
|
+
if (!element || typeof element === "function") {
|
|
25963
|
+
return null;
|
|
25964
|
+
}
|
|
25965
|
+
const {
|
|
25966
|
+
major
|
|
25967
|
+
} = getReactVersion();
|
|
25968
|
+
const childRef = major >= 19 ? element.props.ref : element.ref;
|
|
25969
|
+
return childRef;
|
|
25970
|
+
}
|
|
25971
|
+
|
|
25972
|
+
// node_modules/dom-helpers/esm/canUseDOM.js
|
|
25973
|
+
var canUseDOM_default = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
25974
|
+
|
|
25975
|
+
// node_modules/dom-helpers/esm/addEventListener.js
|
|
25976
|
+
var optionsSupported = false;
|
|
25977
|
+
var onceSupported = false;
|
|
25978
|
+
try {
|
|
25979
|
+
options = {
|
|
25980
|
+
get passive() {
|
|
25981
|
+
return optionsSupported = true;
|
|
25982
|
+
},
|
|
25983
|
+
get once() {
|
|
25984
|
+
return onceSupported = optionsSupported = true;
|
|
25985
|
+
}
|
|
25986
|
+
};
|
|
25987
|
+
if (canUseDOM_default) {
|
|
25988
|
+
window.addEventListener("test", options, options);
|
|
25989
|
+
window.removeEventListener("test", options, true);
|
|
25990
|
+
}
|
|
25991
|
+
} catch (e) {
|
|
25992
|
+
}
|
|
25993
|
+
var options;
|
|
25994
|
+
function addEventListener(node, eventName, handler, options) {
|
|
25995
|
+
if (options && typeof options !== "boolean" && !onceSupported) {
|
|
25996
|
+
var once = options.once, capture = options.capture;
|
|
25997
|
+
var wrappedHandler = handler;
|
|
25998
|
+
if (!onceSupported && once) {
|
|
25999
|
+
wrappedHandler = handler.__once || function onceHandler(event) {
|
|
26000
|
+
this.removeEventListener(eventName, onceHandler, capture);
|
|
26001
|
+
handler.call(this, event);
|
|
26002
|
+
};
|
|
26003
|
+
handler.__once = wrappedHandler;
|
|
26004
|
+
}
|
|
26005
|
+
node.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);
|
|
26006
|
+
}
|
|
26007
|
+
node.addEventListener(eventName, handler, options);
|
|
26008
|
+
}
|
|
26009
|
+
var addEventListener_default = addEventListener;
|
|
26010
|
+
|
|
26011
|
+
// node_modules/dom-helpers/esm/removeEventListener.js
|
|
26012
|
+
function removeEventListener(node, eventName, handler, options) {
|
|
26013
|
+
var capture = options && typeof options !== "boolean" ? options.capture : options;
|
|
26014
|
+
node.removeEventListener(eventName, handler, capture);
|
|
26015
|
+
if (handler.__once) {
|
|
26016
|
+
node.removeEventListener(eventName, handler.__once, capture);
|
|
26017
|
+
}
|
|
26018
|
+
}
|
|
26019
|
+
var removeEventListener_default = removeEventListener;
|
|
26020
|
+
|
|
26021
|
+
// node_modules/dom-helpers/esm/listen.js
|
|
26022
|
+
function listen(node, eventName, handler, options) {
|
|
26023
|
+
addEventListener_default(node, eventName, handler, options);
|
|
26024
|
+
return function() {
|
|
26025
|
+
removeEventListener_default(node, eventName, handler, options);
|
|
26026
|
+
};
|
|
26027
|
+
}
|
|
26028
|
+
var listen_default = listen;
|
|
26029
|
+
|
|
26030
|
+
// node_modules/dom-helpers/esm/triggerEvent.js
|
|
26031
|
+
function triggerEvent(node, eventName, bubbles, cancelable) {
|
|
26032
|
+
if (bubbles === void 0) {
|
|
26033
|
+
bubbles = false;
|
|
26034
|
+
}
|
|
26035
|
+
if (cancelable === void 0) {
|
|
26036
|
+
cancelable = true;
|
|
26037
|
+
}
|
|
26038
|
+
if (node) {
|
|
26039
|
+
var event = document.createEvent("HTMLEvents");
|
|
26040
|
+
event.initEvent(eventName, bubbles, cancelable);
|
|
26041
|
+
node.dispatchEvent(event);
|
|
26042
|
+
}
|
|
26043
|
+
}
|
|
26044
|
+
|
|
26045
|
+
// node_modules/dom-helpers/esm/transitionEnd.js
|
|
26046
|
+
function parseDuration(node) {
|
|
26047
|
+
var str = css_default(node, "transitionDuration") || "";
|
|
26048
|
+
var mult = str.indexOf("ms") === -1 ? 1e3 : 1;
|
|
26049
|
+
return parseFloat(str) * mult;
|
|
26050
|
+
}
|
|
26051
|
+
function emulateTransitionEnd(element, duration, padding) {
|
|
26052
|
+
if (padding === void 0) {
|
|
26053
|
+
padding = 5;
|
|
26054
|
+
}
|
|
26055
|
+
var called = false;
|
|
26056
|
+
var handle = setTimeout(function() {
|
|
26057
|
+
if (!called)
|
|
26058
|
+
triggerEvent(element, "transitionend", true);
|
|
26059
|
+
}, duration + padding);
|
|
26060
|
+
var remove = listen_default(element, "transitionend", function() {
|
|
26061
|
+
called = true;
|
|
26062
|
+
}, {
|
|
26063
|
+
once: true
|
|
26064
|
+
});
|
|
26065
|
+
return function() {
|
|
26066
|
+
clearTimeout(handle);
|
|
26067
|
+
remove();
|
|
26068
|
+
};
|
|
26069
|
+
}
|
|
26070
|
+
function transitionEnd(element, handler, duration, padding) {
|
|
26071
|
+
if (duration == null)
|
|
26072
|
+
duration = parseDuration(element) || 0;
|
|
26073
|
+
var removeEmulate = emulateTransitionEnd(element, duration, padding);
|
|
26074
|
+
var remove = listen_default(element, "transitionend", handler);
|
|
26075
|
+
return function() {
|
|
26076
|
+
removeEmulate();
|
|
26077
|
+
remove();
|
|
26078
|
+
};
|
|
26079
|
+
}
|
|
26080
|
+
|
|
26081
|
+
// node_modules/react-bootstrap/esm/transitionEndListener.js
|
|
26082
|
+
function parseDuration2(node, property) {
|
|
26083
|
+
const str = css_default(node, property) || "";
|
|
26084
|
+
const mult = str.indexOf("ms") === -1 ? 1e3 : 1;
|
|
26085
|
+
return parseFloat(str) * mult;
|
|
26086
|
+
}
|
|
26087
|
+
function transitionEndListener(element, handler) {
|
|
26088
|
+
const duration = parseDuration2(element, "transitionDuration");
|
|
26089
|
+
const delay = parseDuration2(element, "transitionDelay");
|
|
26090
|
+
const remove = transitionEnd(element, (e) => {
|
|
26091
|
+
if (e.target === element) {
|
|
26092
|
+
remove();
|
|
26093
|
+
handler(e);
|
|
26094
|
+
}
|
|
26095
|
+
}, duration + delay);
|
|
26096
|
+
}
|
|
26097
|
+
|
|
26098
|
+
// node_modules/react-bootstrap/esm/triggerBrowserReflow.js
|
|
26099
|
+
function triggerBrowserReflow(node) {
|
|
26100
|
+
node.offsetHeight;
|
|
26101
|
+
}
|
|
26102
|
+
|
|
26103
|
+
// node_modules/react-bootstrap/esm/TransitionWrapper.js
|
|
26104
|
+
var import_react7 = __toESM(require_react());
|
|
26105
|
+
|
|
26106
|
+
// node_modules/@restart/hooks/esm/useMergedRefs.js
|
|
26107
|
+
var import_react6 = __toESM(require_react());
|
|
26108
|
+
var toFnRef = (ref) => !ref || typeof ref === "function" ? ref : (value) => {
|
|
26109
|
+
ref.current = value;
|
|
26110
|
+
};
|
|
26111
|
+
function mergeRefs(refA, refB) {
|
|
26112
|
+
const a = toFnRef(refA);
|
|
26113
|
+
const b = toFnRef(refB);
|
|
26114
|
+
return (value) => {
|
|
26115
|
+
if (a)
|
|
26116
|
+
a(value);
|
|
26117
|
+
if (b)
|
|
26118
|
+
b(value);
|
|
26119
|
+
};
|
|
26120
|
+
}
|
|
26121
|
+
function useMergedRefs(refA, refB) {
|
|
26122
|
+
return (0, import_react6.useMemo)(() => mergeRefs(refA, refB), [refA, refB]);
|
|
26123
|
+
}
|
|
26124
|
+
var useMergedRefs_default = useMergedRefs;
|
|
26125
|
+
|
|
26126
|
+
// node_modules/react-bootstrap/esm/safeFindDOMNode.js
|
|
26127
|
+
var import_react_dom2 = __toESM(require_react_dom());
|
|
26128
|
+
function safeFindDOMNode(componentOrElement) {
|
|
26129
|
+
if (componentOrElement && "setState" in componentOrElement) {
|
|
26130
|
+
return import_react_dom2.default.findDOMNode(componentOrElement);
|
|
26131
|
+
}
|
|
26132
|
+
return componentOrElement != null ? componentOrElement : null;
|
|
26133
|
+
}
|
|
26134
|
+
|
|
26135
|
+
// node_modules/react-bootstrap/esm/TransitionWrapper.js
|
|
26136
|
+
var import_jsx_runtime2 = __toESM(require_jsx_runtime());
|
|
26137
|
+
"use client";
|
|
26138
|
+
var TransitionWrapper = /* @__PURE__ */ import_react7.default.forwardRef(({
|
|
26139
|
+
onEnter,
|
|
26140
|
+
onEntering,
|
|
26141
|
+
onEntered,
|
|
26142
|
+
onExit,
|
|
26143
|
+
onExiting,
|
|
26144
|
+
onExited,
|
|
26145
|
+
addEndListener,
|
|
26146
|
+
children,
|
|
26147
|
+
childRef,
|
|
26148
|
+
...props
|
|
26149
|
+
}, ref) => {
|
|
26150
|
+
const nodeRef = (0, import_react7.useRef)(null);
|
|
26151
|
+
const mergedRef = useMergedRefs_default(nodeRef, childRef);
|
|
26152
|
+
const attachRef = (r) => {
|
|
26153
|
+
mergedRef(safeFindDOMNode(r));
|
|
26154
|
+
};
|
|
26155
|
+
const normalize = (callback) => (param) => {
|
|
26156
|
+
if (callback && nodeRef.current) {
|
|
26157
|
+
callback(nodeRef.current, param);
|
|
26158
|
+
}
|
|
26159
|
+
};
|
|
26160
|
+
const handleEnter = (0, import_react7.useCallback)(normalize(onEnter), [onEnter]);
|
|
26161
|
+
const handleEntering = (0, import_react7.useCallback)(normalize(onEntering), [onEntering]);
|
|
26162
|
+
const handleEntered = (0, import_react7.useCallback)(normalize(onEntered), [onEntered]);
|
|
26163
|
+
const handleExit = (0, import_react7.useCallback)(normalize(onExit), [onExit]);
|
|
26164
|
+
const handleExiting = (0, import_react7.useCallback)(normalize(onExiting), [onExiting]);
|
|
26165
|
+
const handleExited = (0, import_react7.useCallback)(normalize(onExited), [onExited]);
|
|
26166
|
+
const handleAddEndListener = (0, import_react7.useCallback)(normalize(addEndListener), [addEndListener]);
|
|
26167
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Transition_default, {
|
|
26168
|
+
ref,
|
|
26169
|
+
...props,
|
|
26170
|
+
onEnter: handleEnter,
|
|
26171
|
+
onEntered: handleEntered,
|
|
26172
|
+
onEntering: handleEntering,
|
|
26173
|
+
onExit: handleExit,
|
|
26174
|
+
onExited: handleExited,
|
|
26175
|
+
onExiting: handleExiting,
|
|
26176
|
+
addEndListener: handleAddEndListener,
|
|
26177
|
+
nodeRef,
|
|
26178
|
+
children: typeof children === "function" ? (status, innerProps) => (
|
|
26179
|
+
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
26180
|
+
children(status, {
|
|
26181
|
+
...innerProps,
|
|
26182
|
+
ref: attachRef
|
|
26183
|
+
})
|
|
26184
|
+
) : /* @__PURE__ */ import_react7.default.cloneElement(children, {
|
|
26185
|
+
ref: attachRef
|
|
26186
|
+
})
|
|
26187
|
+
});
|
|
26188
|
+
});
|
|
26189
|
+
TransitionWrapper.displayName = "TransitionWrapper";
|
|
26190
|
+
var TransitionWrapper_default = TransitionWrapper;
|
|
26191
|
+
|
|
26192
|
+
// node_modules/@restart/ui/esm/Anchor.js
|
|
26193
|
+
var React8 = __toESM(require_react());
|
|
26194
|
+
|
|
26195
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCallbackRef.js
|
|
26196
|
+
var import_react8 = __toESM(require_react());
|
|
26197
|
+
|
|
26198
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCommittedRef.js
|
|
26199
|
+
var import_react9 = __toESM(require_react());
|
|
26200
|
+
function useCommittedRef(value) {
|
|
26201
|
+
const ref = (0, import_react9.useRef)(value);
|
|
26202
|
+
(0, import_react9.useEffect)(() => {
|
|
26203
|
+
ref.current = value;
|
|
26204
|
+
}, [value]);
|
|
26205
|
+
return ref;
|
|
26206
|
+
}
|
|
26207
|
+
var useCommittedRef_default = useCommittedRef;
|
|
26208
|
+
|
|
26209
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventCallback.js
|
|
26210
|
+
var import_react10 = __toESM(require_react());
|
|
26211
|
+
function useEventCallback(fn) {
|
|
26212
|
+
const ref = useCommittedRef_default(fn);
|
|
26213
|
+
return (0, import_react10.useCallback)(function(...args) {
|
|
26214
|
+
return ref.current && ref.current(...args);
|
|
26215
|
+
}, [ref]);
|
|
26216
|
+
}
|
|
26217
|
+
|
|
26218
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventListener.js
|
|
26219
|
+
var import_react11 = __toESM(require_react());
|
|
26220
|
+
|
|
26221
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useGlobalListener.js
|
|
26222
|
+
var import_react12 = __toESM(require_react());
|
|
26223
|
+
|
|
26224
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useInterval.js
|
|
26225
|
+
var import_react13 = __toESM(require_react());
|
|
26226
|
+
|
|
26227
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useRafInterval.js
|
|
26228
|
+
var import_react14 = __toESM(require_react());
|
|
26229
|
+
|
|
26230
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergeState.js
|
|
26231
|
+
var import_react15 = __toESM(require_react());
|
|
26232
|
+
|
|
26233
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMounted.js
|
|
26234
|
+
var import_react16 = __toESM(require_react());
|
|
26235
|
+
|
|
26236
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/usePrevious.js
|
|
26237
|
+
var import_react17 = __toESM(require_react());
|
|
26238
|
+
|
|
26239
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useImage.js
|
|
26240
|
+
var import_react18 = __toESM(require_react());
|
|
26241
|
+
|
|
26242
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useResizeObserver.js
|
|
26243
|
+
var import_react20 = __toESM(require_react());
|
|
26244
|
+
|
|
26245
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useIsomorphicEffect.js
|
|
26246
|
+
var import_react19 = __toESM(require_react());
|
|
26247
|
+
var isReactNative = typeof global !== "undefined" && // @ts-ignore
|
|
26248
|
+
global.navigator && // @ts-ignore
|
|
26249
|
+
global.navigator.product === "ReactNative";
|
|
26250
|
+
|
|
26251
|
+
// node_modules/@restart/ui/esm/Button.js
|
|
26252
|
+
var React7 = __toESM(require_react());
|
|
26253
|
+
var import_jsx_runtime3 = __toESM(require_jsx_runtime());
|
|
26254
|
+
var _excluded = ["as", "disabled"];
|
|
26255
|
+
function _objectWithoutPropertiesLoose2(r, e) {
|
|
26256
|
+
if (null == r)
|
|
26257
|
+
return {};
|
|
26258
|
+
var t = {};
|
|
26259
|
+
for (var n in r)
|
|
26260
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
26261
|
+
if (e.indexOf(n) >= 0)
|
|
26262
|
+
continue;
|
|
26263
|
+
t[n] = r[n];
|
|
26264
|
+
}
|
|
26265
|
+
return t;
|
|
26266
|
+
}
|
|
26267
|
+
function isTrivialHref(href) {
|
|
26268
|
+
return !href || href.trim() === "#";
|
|
26269
|
+
}
|
|
26270
|
+
function useButtonProps({
|
|
26271
|
+
tagName,
|
|
26272
|
+
disabled,
|
|
26273
|
+
href,
|
|
26274
|
+
target,
|
|
26275
|
+
rel,
|
|
26276
|
+
role,
|
|
26277
|
+
onClick,
|
|
26278
|
+
tabIndex = 0,
|
|
26279
|
+
type
|
|
26280
|
+
}) {
|
|
26281
|
+
if (!tagName) {
|
|
26282
|
+
if (href != null || target != null || rel != null) {
|
|
26283
|
+
tagName = "a";
|
|
26284
|
+
} else {
|
|
26285
|
+
tagName = "button";
|
|
26286
|
+
}
|
|
26287
|
+
}
|
|
26288
|
+
const meta = {
|
|
26289
|
+
tagName
|
|
26290
|
+
};
|
|
26291
|
+
if (tagName === "button") {
|
|
26292
|
+
return [{
|
|
26293
|
+
type: type || "button",
|
|
26294
|
+
disabled
|
|
26295
|
+
}, meta];
|
|
26296
|
+
}
|
|
26297
|
+
const handleClick = (event) => {
|
|
26298
|
+
if (disabled || tagName === "a" && isTrivialHref(href)) {
|
|
26299
|
+
event.preventDefault();
|
|
26300
|
+
}
|
|
26301
|
+
if (disabled) {
|
|
26302
|
+
event.stopPropagation();
|
|
26303
|
+
return;
|
|
26304
|
+
}
|
|
26305
|
+
onClick == null ? void 0 : onClick(event);
|
|
26306
|
+
};
|
|
26307
|
+
const handleKeyDown = (event) => {
|
|
26308
|
+
if (event.key === " ") {
|
|
26309
|
+
event.preventDefault();
|
|
26310
|
+
handleClick(event);
|
|
26311
|
+
}
|
|
26312
|
+
};
|
|
26313
|
+
if (tagName === "a") {
|
|
26314
|
+
href || (href = "#");
|
|
26315
|
+
if (disabled) {
|
|
26316
|
+
href = void 0;
|
|
26317
|
+
}
|
|
26318
|
+
}
|
|
26319
|
+
return [{
|
|
26320
|
+
role: role != null ? role : "button",
|
|
26321
|
+
// explicitly undefined so that it overrides the props disabled in a spread
|
|
26322
|
+
// e.g. <Tag {...props} {...hookProps} />
|
|
26323
|
+
disabled: void 0,
|
|
26324
|
+
tabIndex: disabled ? void 0 : tabIndex,
|
|
26325
|
+
href,
|
|
26326
|
+
target: tagName === "a" ? target : void 0,
|
|
26327
|
+
"aria-disabled": !disabled ? void 0 : disabled,
|
|
26328
|
+
rel: tagName === "a" ? rel : void 0,
|
|
26329
|
+
onClick: handleClick,
|
|
26330
|
+
onKeyDown: handleKeyDown
|
|
26331
|
+
}, meta];
|
|
26332
|
+
}
|
|
26333
|
+
var Button = /* @__PURE__ */ React7.forwardRef((_ref, ref) => {
|
|
26334
|
+
let {
|
|
26335
|
+
as: asProp,
|
|
26336
|
+
disabled
|
|
26337
|
+
} = _ref, props = _objectWithoutPropertiesLoose2(_ref, _excluded);
|
|
26338
|
+
const [buttonProps, {
|
|
26339
|
+
tagName: Component
|
|
26340
|
+
}] = useButtonProps(Object.assign({
|
|
26341
|
+
tagName: asProp,
|
|
26342
|
+
disabled
|
|
26343
|
+
}, props));
|
|
26344
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Component, Object.assign({}, props, buttonProps, {
|
|
26345
|
+
ref
|
|
26346
|
+
}));
|
|
26347
|
+
});
|
|
26348
|
+
Button.displayName = "Button";
|
|
26349
|
+
var Button_default = Button;
|
|
26350
|
+
|
|
26351
|
+
// node_modules/@restart/ui/esm/Anchor.js
|
|
26352
|
+
var import_jsx_runtime4 = __toESM(require_jsx_runtime());
|
|
26353
|
+
var _excluded2 = ["onKeyDown"];
|
|
26354
|
+
function _objectWithoutPropertiesLoose3(r, e) {
|
|
26355
|
+
if (null == r)
|
|
26356
|
+
return {};
|
|
26357
|
+
var t = {};
|
|
26358
|
+
for (var n in r)
|
|
26359
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
26360
|
+
if (e.indexOf(n) >= 0)
|
|
26361
|
+
continue;
|
|
26362
|
+
t[n] = r[n];
|
|
26363
|
+
}
|
|
26364
|
+
return t;
|
|
26365
|
+
}
|
|
26366
|
+
function isTrivialHref2(href) {
|
|
26367
|
+
return !href || href.trim() === "#";
|
|
26368
|
+
}
|
|
26369
|
+
var Anchor = /* @__PURE__ */ React8.forwardRef((_ref, ref) => {
|
|
26370
|
+
let {
|
|
26371
|
+
onKeyDown
|
|
26372
|
+
} = _ref, props = _objectWithoutPropertiesLoose3(_ref, _excluded2);
|
|
26373
|
+
const [buttonProps] = useButtonProps(Object.assign({
|
|
26374
|
+
tagName: "a"
|
|
26375
|
+
}, props));
|
|
26376
|
+
const handleKeyDown = useEventCallback((e) => {
|
|
26377
|
+
buttonProps.onKeyDown(e);
|
|
26378
|
+
onKeyDown == null ? void 0 : onKeyDown(e);
|
|
26379
|
+
});
|
|
26380
|
+
if (isTrivialHref2(props.href) || props.role === "button") {
|
|
26381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", Object.assign({
|
|
26382
|
+
ref
|
|
26383
|
+
}, props, buttonProps, {
|
|
26384
|
+
onKeyDown: handleKeyDown
|
|
26385
|
+
}));
|
|
26386
|
+
}
|
|
26387
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("a", Object.assign({
|
|
26388
|
+
ref
|
|
26389
|
+
}, props, {
|
|
26390
|
+
onKeyDown
|
|
26391
|
+
}));
|
|
26392
|
+
});
|
|
26393
|
+
Anchor.displayName = "Anchor";
|
|
26394
|
+
var Anchor_default = Anchor;
|
|
26395
|
+
|
|
26396
|
+
// node_modules/react-bootstrap/esm/Fade.js
|
|
26397
|
+
var import_classnames = __toESM(require_classnames());
|
|
26398
|
+
var React9 = __toESM(require_react());
|
|
26399
|
+
var import_react21 = __toESM(require_react());
|
|
26400
|
+
var import_jsx_runtime5 = __toESM(require_jsx_runtime());
|
|
26401
|
+
var fadeStyles = {
|
|
26402
|
+
[ENTERING]: "show",
|
|
26403
|
+
[ENTERED]: "show"
|
|
26404
|
+
};
|
|
26405
|
+
var Fade = /* @__PURE__ */ React9.forwardRef(({
|
|
26406
|
+
className,
|
|
26407
|
+
children,
|
|
26408
|
+
transitionClasses = {},
|
|
26409
|
+
onEnter,
|
|
26410
|
+
...rest
|
|
26411
|
+
}, ref) => {
|
|
26412
|
+
const props = {
|
|
26413
|
+
in: false,
|
|
26414
|
+
timeout: 300,
|
|
26415
|
+
mountOnEnter: false,
|
|
26416
|
+
unmountOnExit: false,
|
|
26417
|
+
appear: false,
|
|
26418
|
+
...rest
|
|
26419
|
+
};
|
|
26420
|
+
const handleEnter = (0, import_react21.useCallback)((node, isAppearing) => {
|
|
26421
|
+
triggerBrowserReflow(node);
|
|
26422
|
+
onEnter == null || onEnter(node, isAppearing);
|
|
26423
|
+
}, [onEnter]);
|
|
26424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(TransitionWrapper_default, {
|
|
26425
|
+
ref,
|
|
26426
|
+
addEndListener: transitionEndListener,
|
|
26427
|
+
...props,
|
|
26428
|
+
onEnter: handleEnter,
|
|
26429
|
+
childRef: getChildRef(children),
|
|
26430
|
+
children: (status, innerProps) => /* @__PURE__ */ React9.cloneElement(children, {
|
|
26431
|
+
...innerProps,
|
|
26432
|
+
className: (0, import_classnames.default)("fade", className, children.props.className, fadeStyles[status], transitionClasses[status])
|
|
26433
|
+
})
|
|
26434
|
+
});
|
|
26435
|
+
});
|
|
26436
|
+
Fade.displayName = "Fade";
|
|
26437
|
+
var Fade_default = Fade;
|
|
26438
|
+
|
|
26439
|
+
// node_modules/react-bootstrap/esm/CardHeaderContext.js
|
|
26440
|
+
var React10 = __toESM(require_react());
|
|
26441
|
+
"use client";
|
|
26442
|
+
var context = /* @__PURE__ */ React10.createContext(null);
|
|
26443
|
+
context.displayName = "CardHeaderContext";
|
|
26444
|
+
var CardHeaderContext_default = context;
|
|
26445
|
+
|
|
26446
|
+
// node_modules/react-bootstrap/esm/Col.js
|
|
26447
|
+
var import_classnames2 = __toESM(require_classnames());
|
|
26448
|
+
var React11 = __toESM(require_react());
|
|
26449
|
+
var import_jsx_runtime6 = __toESM(require_jsx_runtime());
|
|
26450
|
+
"use client";
|
|
26451
|
+
function useCol({
|
|
26452
|
+
as,
|
|
26453
|
+
bsPrefix,
|
|
26454
|
+
className,
|
|
26455
|
+
...props
|
|
26456
|
+
}) {
|
|
26457
|
+
bsPrefix = useBootstrapPrefix(bsPrefix, "col");
|
|
26458
|
+
const breakpoints = useBootstrapBreakpoints();
|
|
26459
|
+
const minBreakpoint = useBootstrapMinBreakpoint();
|
|
26460
|
+
const spans = [];
|
|
26461
|
+
const classes = [];
|
|
26462
|
+
breakpoints.forEach((brkPoint) => {
|
|
26463
|
+
const propValue = props[brkPoint];
|
|
26464
|
+
delete props[brkPoint];
|
|
26465
|
+
let span;
|
|
26466
|
+
let offset;
|
|
26467
|
+
let order;
|
|
26468
|
+
if (typeof propValue === "object" && propValue != null) {
|
|
26469
|
+
({
|
|
26470
|
+
span,
|
|
26471
|
+
offset,
|
|
26472
|
+
order
|
|
26473
|
+
} = propValue);
|
|
26474
|
+
} else {
|
|
26475
|
+
span = propValue;
|
|
26476
|
+
}
|
|
26477
|
+
const infix = brkPoint !== minBreakpoint ? `-${brkPoint}` : "";
|
|
26478
|
+
if (span)
|
|
26479
|
+
spans.push(span === true ? `${bsPrefix}${infix}` : `${bsPrefix}${infix}-${span}`);
|
|
26480
|
+
if (order != null)
|
|
26481
|
+
classes.push(`order${infix}-${order}`);
|
|
26482
|
+
if (offset != null)
|
|
26483
|
+
classes.push(`offset${infix}-${offset}`);
|
|
26484
|
+
});
|
|
26485
|
+
return [{
|
|
26486
|
+
...props,
|
|
26487
|
+
className: (0, import_classnames2.default)(className, ...spans, ...classes)
|
|
26488
|
+
}, {
|
|
26489
|
+
as,
|
|
26490
|
+
bsPrefix,
|
|
26491
|
+
spans
|
|
26492
|
+
}];
|
|
26493
|
+
}
|
|
26494
|
+
var Col = /* @__PURE__ */ React11.forwardRef(
|
|
26495
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
26496
|
+
(props, ref) => {
|
|
26497
|
+
const [{
|
|
26498
|
+
className,
|
|
26499
|
+
...colProps
|
|
26500
|
+
}, {
|
|
26501
|
+
as: Component = "div",
|
|
26502
|
+
bsPrefix,
|
|
26503
|
+
spans
|
|
26504
|
+
}] = useCol(props);
|
|
26505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component, {
|
|
26506
|
+
...colProps,
|
|
26507
|
+
ref,
|
|
26508
|
+
className: (0, import_classnames2.default)(className, !spans.length && bsPrefix)
|
|
26509
|
+
});
|
|
26510
|
+
}
|
|
26511
|
+
);
|
|
26512
|
+
Col.displayName = "Col";
|
|
26513
|
+
var Col_default = Col;
|
|
26514
|
+
|
|
26515
|
+
// node_modules/dom-helpers/esm/querySelectorAll.js
|
|
26516
|
+
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
26517
|
+
function qsa(element, selector) {
|
|
26518
|
+
return toArray(element.querySelectorAll(selector));
|
|
26519
|
+
}
|
|
26520
|
+
|
|
26521
|
+
// node_modules/@restart/ui/node_modules/uncontrollable/lib/esm/index.js
|
|
26522
|
+
var import_react22 = __toESM(require_react());
|
|
26523
|
+
function useUncontrolledProp2(propValue, defaultValue, handler) {
|
|
26524
|
+
const wasPropRef = (0, import_react22.useRef)(propValue !== void 0);
|
|
26525
|
+
const [stateValue, setState] = (0, import_react22.useState)(defaultValue);
|
|
26526
|
+
const isProp2 = propValue !== void 0;
|
|
26527
|
+
const wasProp = wasPropRef.current;
|
|
26528
|
+
wasPropRef.current = isProp2;
|
|
26529
|
+
if (!isProp2 && wasProp && stateValue !== defaultValue) {
|
|
26530
|
+
setState(defaultValue);
|
|
26531
|
+
}
|
|
26532
|
+
return [isProp2 ? propValue : stateValue, (0, import_react22.useCallback)((...args) => {
|
|
26533
|
+
const [value, ...rest] = args;
|
|
26534
|
+
let returnValue = handler == null ? void 0 : handler(value, ...rest);
|
|
26535
|
+
setState(value);
|
|
26536
|
+
return returnValue;
|
|
26537
|
+
}, [handler])];
|
|
26538
|
+
}
|
|
26539
|
+
|
|
26540
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useForceUpdate.js
|
|
26541
|
+
var import_react23 = __toESM(require_react());
|
|
26542
|
+
function useForceUpdate() {
|
|
26543
|
+
const [, dispatch] = (0, import_react23.useReducer)((revision) => revision + 1, 0);
|
|
26544
|
+
return dispatch;
|
|
26545
|
+
}
|
|
26546
|
+
|
|
26547
|
+
// node_modules/@react-aria/ssr/dist/SSRProvider.mjs
|
|
26548
|
+
var import_react24 = __toESM(require_react(), 1);
|
|
26549
|
+
var $b5e257d569688ac6$var$defaultContext = {
|
|
26550
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
26551
|
+
current: 0
|
|
26552
|
+
};
|
|
26553
|
+
var $b5e257d569688ac6$var$SSRContext = /* @__PURE__ */ (0, import_react24.default).createContext($b5e257d569688ac6$var$defaultContext);
|
|
26554
|
+
var $b5e257d569688ac6$var$IsSSRContext = /* @__PURE__ */ (0, import_react24.default).createContext(false);
|
|
26555
|
+
var $b5e257d569688ac6$var$canUseDOM = Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
26556
|
+
var $b5e257d569688ac6$var$componentIds = /* @__PURE__ */ new WeakMap();
|
|
26557
|
+
function $b5e257d569688ac6$var$useCounter(isDisabled = false) {
|
|
26558
|
+
let ctx = (0, import_react24.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
26559
|
+
let ref = (0, import_react24.useRef)(null);
|
|
26560
|
+
if (ref.current === null && !isDisabled) {
|
|
26561
|
+
var _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
26562
|
+
let currentOwner = (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (0, import_react24.default).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (_React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : _React___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
|
|
26563
|
+
if (currentOwner) {
|
|
26564
|
+
let prevComponentValue = $b5e257d569688ac6$var$componentIds.get(currentOwner);
|
|
26565
|
+
if (prevComponentValue == null)
|
|
26566
|
+
$b5e257d569688ac6$var$componentIds.set(currentOwner, {
|
|
26567
|
+
id: ctx.current,
|
|
26568
|
+
state: currentOwner.memoizedState
|
|
26569
|
+
});
|
|
26570
|
+
else if (currentOwner.memoizedState !== prevComponentValue.state) {
|
|
26571
|
+
ctx.current = prevComponentValue.id;
|
|
26572
|
+
$b5e257d569688ac6$var$componentIds.delete(currentOwner);
|
|
26573
|
+
}
|
|
26574
|
+
}
|
|
26575
|
+
ref.current = ++ctx.current;
|
|
26576
|
+
}
|
|
26577
|
+
return ref.current;
|
|
26578
|
+
}
|
|
26579
|
+
function $b5e257d569688ac6$var$useLegacySSRSafeId(defaultId) {
|
|
26580
|
+
let ctx = (0, import_react24.useContext)($b5e257d569688ac6$var$SSRContext);
|
|
26581
|
+
if (ctx === $b5e257d569688ac6$var$defaultContext && !$b5e257d569688ac6$var$canUseDOM && true)
|
|
26582
|
+
console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
26583
|
+
let counter = $b5e257d569688ac6$var$useCounter(!!defaultId);
|
|
26584
|
+
let prefix = ctx === $b5e257d569688ac6$var$defaultContext && false ? "react-aria" : `react-aria${ctx.prefix}`;
|
|
26585
|
+
return defaultId || `${prefix}-${counter}`;
|
|
26586
|
+
}
|
|
26587
|
+
function $b5e257d569688ac6$var$useModernSSRSafeId(defaultId) {
|
|
26588
|
+
let id = (0, import_react24.default).useId();
|
|
26589
|
+
let [didSSR] = (0, import_react24.useState)($b5e257d569688ac6$export$535bd6ca7f90a273());
|
|
26590
|
+
let prefix = didSSR || false ? "react-aria" : `react-aria${$b5e257d569688ac6$var$defaultContext.prefix}`;
|
|
26591
|
+
return defaultId || `${prefix}-${id}`;
|
|
26592
|
+
}
|
|
26593
|
+
var $b5e257d569688ac6$export$619500959fc48b26 = typeof (0, import_react24.default)["useId"] === "function" ? $b5e257d569688ac6$var$useModernSSRSafeId : $b5e257d569688ac6$var$useLegacySSRSafeId;
|
|
26594
|
+
function $b5e257d569688ac6$var$getSnapshot() {
|
|
26595
|
+
return false;
|
|
26596
|
+
}
|
|
26597
|
+
function $b5e257d569688ac6$var$getServerSnapshot() {
|
|
26598
|
+
return true;
|
|
26599
|
+
}
|
|
26600
|
+
function $b5e257d569688ac6$var$subscribe(onStoreChange) {
|
|
26601
|
+
return () => {
|
|
26602
|
+
};
|
|
26603
|
+
}
|
|
26604
|
+
function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
26605
|
+
if (typeof (0, import_react24.default)["useSyncExternalStore"] === "function")
|
|
26606
|
+
return (0, import_react24.default)["useSyncExternalStore"]($b5e257d569688ac6$var$subscribe, $b5e257d569688ac6$var$getSnapshot, $b5e257d569688ac6$var$getServerSnapshot);
|
|
26607
|
+
return (0, import_react24.useContext)($b5e257d569688ac6$var$IsSSRContext);
|
|
26608
|
+
}
|
|
26609
|
+
|
|
26610
|
+
// node_modules/@restart/ui/esm/SelectableContext.js
|
|
26611
|
+
var React12 = __toESM(require_react());
|
|
26612
|
+
var SelectableContext = /* @__PURE__ */ React12.createContext(null);
|
|
26613
|
+
var makeEventKey = (eventKey, href = null) => {
|
|
26614
|
+
if (eventKey != null)
|
|
26615
|
+
return String(eventKey);
|
|
26616
|
+
return href || null;
|
|
26617
|
+
};
|
|
26618
|
+
var SelectableContext_default = SelectableContext;
|
|
26619
|
+
|
|
26620
|
+
// node_modules/@restart/ui/esm/NavContext.js
|
|
26621
|
+
var React13 = __toESM(require_react());
|
|
26622
|
+
var NavContext = /* @__PURE__ */ React13.createContext(null);
|
|
26623
|
+
NavContext.displayName = "NavContext";
|
|
26624
|
+
var NavContext_default = NavContext;
|
|
26625
|
+
|
|
26626
|
+
// node_modules/@restart/ui/esm/DataKey.js
|
|
26627
|
+
var ATTRIBUTE_PREFIX = `data-rr-ui-`;
|
|
26628
|
+
var PROPERTY_PREFIX = `rrUi`;
|
|
26629
|
+
function dataAttr(property) {
|
|
26630
|
+
return `${ATTRIBUTE_PREFIX}${property}`;
|
|
26631
|
+
}
|
|
26632
|
+
function dataProp(property) {
|
|
26633
|
+
return `${PROPERTY_PREFIX}${property}`;
|
|
26634
|
+
}
|
|
26635
|
+
|
|
26636
|
+
// node_modules/react-bootstrap/esm/NavbarContext.js
|
|
26637
|
+
var React14 = __toESM(require_react());
|
|
26638
|
+
"use client";
|
|
26639
|
+
var context2 = /* @__PURE__ */ React14.createContext(null);
|
|
26640
|
+
context2.displayName = "NavbarContext";
|
|
26641
|
+
var NavbarContext_default = context2;
|
|
26642
|
+
|
|
26643
|
+
// node_modules/@restart/ui/esm/Nav.js
|
|
26644
|
+
var React17 = __toESM(require_react());
|
|
26645
|
+
var import_react27 = __toESM(require_react());
|
|
26646
|
+
|
|
26647
|
+
// node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergedRefs.js
|
|
26648
|
+
var import_react25 = __toESM(require_react());
|
|
26649
|
+
var toFnRef2 = (ref) => !ref || typeof ref === "function" ? ref : (value) => {
|
|
26650
|
+
ref.current = value;
|
|
26651
|
+
};
|
|
26652
|
+
function mergeRefs2(refA, refB) {
|
|
26653
|
+
const a = toFnRef2(refA);
|
|
26654
|
+
const b = toFnRef2(refB);
|
|
26655
|
+
return (value) => {
|
|
26656
|
+
if (a)
|
|
26657
|
+
a(value);
|
|
26658
|
+
if (b)
|
|
26659
|
+
b(value);
|
|
26660
|
+
};
|
|
26661
|
+
}
|
|
26662
|
+
function useMergedRefs2(refA, refB) {
|
|
26663
|
+
return (0, import_react25.useMemo)(() => mergeRefs2(refA, refB), [refA, refB]);
|
|
26664
|
+
}
|
|
26665
|
+
var useMergedRefs_default2 = useMergedRefs2;
|
|
26666
|
+
|
|
26667
|
+
// node_modules/@restart/ui/esm/TabContext.js
|
|
26668
|
+
var React15 = __toESM(require_react());
|
|
26669
|
+
var TabContext = /* @__PURE__ */ React15.createContext(null);
|
|
26670
|
+
var TabContext_default = TabContext;
|
|
26671
|
+
|
|
26672
|
+
// node_modules/@restart/ui/esm/NavItem.js
|
|
26673
|
+
var React16 = __toESM(require_react());
|
|
26674
|
+
var import_react26 = __toESM(require_react());
|
|
26675
|
+
var import_jsx_runtime7 = __toESM(require_jsx_runtime());
|
|
26676
|
+
var _excluded3 = ["as", "active", "eventKey"];
|
|
26677
|
+
function _objectWithoutPropertiesLoose4(r, e) {
|
|
26678
|
+
if (null == r)
|
|
26679
|
+
return {};
|
|
26680
|
+
var t = {};
|
|
26681
|
+
for (var n in r)
|
|
26682
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
26683
|
+
if (e.indexOf(n) >= 0)
|
|
26684
|
+
continue;
|
|
26685
|
+
t[n] = r[n];
|
|
26686
|
+
}
|
|
26687
|
+
return t;
|
|
26688
|
+
}
|
|
26689
|
+
function useNavItem({
|
|
26690
|
+
key,
|
|
26691
|
+
onClick,
|
|
26692
|
+
active,
|
|
26693
|
+
id,
|
|
26694
|
+
role,
|
|
26695
|
+
disabled
|
|
26696
|
+
}) {
|
|
26697
|
+
const parentOnSelect = (0, import_react26.useContext)(SelectableContext_default);
|
|
26698
|
+
const navContext = (0, import_react26.useContext)(NavContext_default);
|
|
26699
|
+
const tabContext = (0, import_react26.useContext)(TabContext_default);
|
|
26700
|
+
let isActive = active;
|
|
26701
|
+
const props = {
|
|
26702
|
+
role
|
|
26703
|
+
};
|
|
26704
|
+
if (navContext) {
|
|
26705
|
+
if (!role && navContext.role === "tablist")
|
|
26706
|
+
props.role = "tab";
|
|
26707
|
+
const contextControllerId = navContext.getControllerId(key != null ? key : null);
|
|
26708
|
+
const contextControlledId = navContext.getControlledId(key != null ? key : null);
|
|
26709
|
+
props[dataAttr("event-key")] = key;
|
|
26710
|
+
props.id = contextControllerId || id;
|
|
26711
|
+
isActive = active == null && key != null ? navContext.activeKey === key : active;
|
|
26712
|
+
if (isActive || !(tabContext != null && tabContext.unmountOnExit) && !(tabContext != null && tabContext.mountOnEnter))
|
|
26713
|
+
props["aria-controls"] = contextControlledId;
|
|
26714
|
+
}
|
|
26715
|
+
if (props.role === "tab") {
|
|
26716
|
+
props["aria-selected"] = isActive;
|
|
26717
|
+
if (!isActive) {
|
|
26718
|
+
props.tabIndex = -1;
|
|
26719
|
+
}
|
|
26720
|
+
if (disabled) {
|
|
26721
|
+
props.tabIndex = -1;
|
|
26722
|
+
props["aria-disabled"] = true;
|
|
26723
|
+
}
|
|
26724
|
+
}
|
|
26725
|
+
props.onClick = useEventCallback((e) => {
|
|
26726
|
+
if (disabled)
|
|
26727
|
+
return;
|
|
26728
|
+
onClick == null ? void 0 : onClick(e);
|
|
26729
|
+
if (key == null) {
|
|
26730
|
+
return;
|
|
26731
|
+
}
|
|
26732
|
+
if (parentOnSelect && !e.isPropagationStopped()) {
|
|
26733
|
+
parentOnSelect(key, e);
|
|
26734
|
+
}
|
|
26735
|
+
});
|
|
26736
|
+
return [props, {
|
|
26737
|
+
isActive
|
|
26738
|
+
}];
|
|
26739
|
+
}
|
|
26740
|
+
var NavItem = /* @__PURE__ */ React16.forwardRef((_ref, ref) => {
|
|
26741
|
+
let {
|
|
26742
|
+
as: Component = Button_default,
|
|
26743
|
+
active,
|
|
26744
|
+
eventKey
|
|
26745
|
+
} = _ref, options = _objectWithoutPropertiesLoose4(_ref, _excluded3);
|
|
26746
|
+
const [props, meta] = useNavItem(Object.assign({
|
|
26747
|
+
key: makeEventKey(eventKey, options.href),
|
|
26748
|
+
active
|
|
26749
|
+
}, options));
|
|
26750
|
+
props[dataAttr("active")] = meta.isActive;
|
|
26751
|
+
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Component, Object.assign({}, options, props, {
|
|
26752
|
+
ref
|
|
26753
|
+
}));
|
|
26754
|
+
});
|
|
26755
|
+
NavItem.displayName = "NavItem";
|
|
26756
|
+
var NavItem_default = NavItem;
|
|
26757
|
+
|
|
26758
|
+
// node_modules/@restart/ui/esm/Nav.js
|
|
26759
|
+
var import_jsx_runtime8 = __toESM(require_jsx_runtime());
|
|
26760
|
+
var _excluded4 = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
|
|
26761
|
+
function _objectWithoutPropertiesLoose5(r, e) {
|
|
26762
|
+
if (null == r)
|
|
26763
|
+
return {};
|
|
26764
|
+
var t = {};
|
|
26765
|
+
for (var n in r)
|
|
26766
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
26767
|
+
if (e.indexOf(n) >= 0)
|
|
26768
|
+
continue;
|
|
26769
|
+
t[n] = r[n];
|
|
26770
|
+
}
|
|
26771
|
+
return t;
|
|
26772
|
+
}
|
|
26773
|
+
var noop2 = () => {
|
|
26774
|
+
};
|
|
26775
|
+
var EVENT_KEY_ATTR = dataAttr("event-key");
|
|
26776
|
+
var Nav = /* @__PURE__ */ React17.forwardRef((_ref, ref) => {
|
|
26777
|
+
let {
|
|
26778
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
26779
|
+
as: Component = "div",
|
|
26780
|
+
onSelect,
|
|
26781
|
+
activeKey,
|
|
26782
|
+
role,
|
|
26783
|
+
onKeyDown
|
|
26784
|
+
} = _ref, props = _objectWithoutPropertiesLoose5(_ref, _excluded4);
|
|
26785
|
+
const forceUpdate = useForceUpdate();
|
|
26786
|
+
const needsRefocusRef = (0, import_react27.useRef)(false);
|
|
26787
|
+
const parentOnSelect = (0, import_react27.useContext)(SelectableContext_default);
|
|
26788
|
+
const tabContext = (0, import_react27.useContext)(TabContext_default);
|
|
26789
|
+
let getControlledId, getControllerId;
|
|
26790
|
+
if (tabContext) {
|
|
26791
|
+
role = role || "tablist";
|
|
26792
|
+
activeKey = tabContext.activeKey;
|
|
26793
|
+
getControlledId = tabContext.getControlledId;
|
|
26794
|
+
getControllerId = tabContext.getControllerId;
|
|
26795
|
+
}
|
|
26796
|
+
const listNode = (0, import_react27.useRef)(null);
|
|
26797
|
+
const getNextActiveTab = (offset) => {
|
|
26798
|
+
const currentListNode = listNode.current;
|
|
26799
|
+
if (!currentListNode)
|
|
26800
|
+
return null;
|
|
26801
|
+
const items = qsa(currentListNode, `[${EVENT_KEY_ATTR}]:not([aria-disabled=true])`);
|
|
26802
|
+
const activeChild = currentListNode.querySelector("[aria-selected=true]");
|
|
26803
|
+
if (!activeChild || activeChild !== document.activeElement)
|
|
26804
|
+
return null;
|
|
26805
|
+
const index = items.indexOf(activeChild);
|
|
26806
|
+
if (index === -1)
|
|
26807
|
+
return null;
|
|
26808
|
+
let nextIndex = index + offset;
|
|
26809
|
+
if (nextIndex >= items.length)
|
|
26810
|
+
nextIndex = 0;
|
|
26811
|
+
if (nextIndex < 0)
|
|
26812
|
+
nextIndex = items.length - 1;
|
|
26813
|
+
return items[nextIndex];
|
|
26814
|
+
};
|
|
26815
|
+
const handleSelect = (key, event) => {
|
|
26816
|
+
if (key == null)
|
|
26817
|
+
return;
|
|
26818
|
+
onSelect == null ? void 0 : onSelect(key, event);
|
|
26819
|
+
parentOnSelect == null ? void 0 : parentOnSelect(key, event);
|
|
26820
|
+
};
|
|
26821
|
+
const handleKeyDown = (event) => {
|
|
26822
|
+
onKeyDown == null ? void 0 : onKeyDown(event);
|
|
26823
|
+
if (!tabContext) {
|
|
26824
|
+
return;
|
|
26825
|
+
}
|
|
26826
|
+
let nextActiveChild;
|
|
26827
|
+
switch (event.key) {
|
|
26828
|
+
case "ArrowLeft":
|
|
26829
|
+
case "ArrowUp":
|
|
26830
|
+
nextActiveChild = getNextActiveTab(-1);
|
|
26831
|
+
break;
|
|
26832
|
+
case "ArrowRight":
|
|
26833
|
+
case "ArrowDown":
|
|
26834
|
+
nextActiveChild = getNextActiveTab(1);
|
|
26835
|
+
break;
|
|
26836
|
+
default:
|
|
26837
|
+
return;
|
|
26838
|
+
}
|
|
26839
|
+
if (!nextActiveChild)
|
|
26840
|
+
return;
|
|
26841
|
+
event.preventDefault();
|
|
26842
|
+
handleSelect(nextActiveChild.dataset[dataProp("EventKey")] || null, event);
|
|
26843
|
+
needsRefocusRef.current = true;
|
|
26844
|
+
forceUpdate();
|
|
26845
|
+
};
|
|
26846
|
+
(0, import_react27.useEffect)(() => {
|
|
26847
|
+
if (listNode.current && needsRefocusRef.current) {
|
|
26848
|
+
const activeChild = listNode.current.querySelector(`[${EVENT_KEY_ATTR}][aria-selected=true]`);
|
|
26849
|
+
activeChild == null ? void 0 : activeChild.focus();
|
|
26850
|
+
}
|
|
26851
|
+
needsRefocusRef.current = false;
|
|
26852
|
+
});
|
|
26853
|
+
const mergedRef = useMergedRefs_default2(ref, listNode);
|
|
26854
|
+
return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SelectableContext_default.Provider, {
|
|
26855
|
+
value: handleSelect,
|
|
26856
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(NavContext_default.Provider, {
|
|
26857
|
+
value: {
|
|
26858
|
+
role,
|
|
26859
|
+
// used by NavLink to determine it's role
|
|
26860
|
+
activeKey: makeEventKey(activeKey),
|
|
26861
|
+
getControlledId: getControlledId || noop2,
|
|
26862
|
+
getControllerId: getControllerId || noop2
|
|
26863
|
+
},
|
|
26864
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Component, Object.assign({}, props, {
|
|
26865
|
+
onKeyDown: handleKeyDown,
|
|
26866
|
+
ref: mergedRef,
|
|
26867
|
+
role
|
|
26868
|
+
}))
|
|
26869
|
+
})
|
|
26870
|
+
});
|
|
26871
|
+
});
|
|
26872
|
+
Nav.displayName = "Nav";
|
|
26873
|
+
var Nav_default = Object.assign(Nav, {
|
|
26874
|
+
Item: NavItem_default
|
|
26875
|
+
});
|
|
26876
|
+
|
|
26877
|
+
// node_modules/@restart/ui/esm/NoopTransition.js
|
|
26878
|
+
var import_react28 = __toESM(require_react());
|
|
26879
|
+
function NoopTransition({
|
|
26880
|
+
children,
|
|
26881
|
+
in: inProp,
|
|
26882
|
+
onExited,
|
|
26883
|
+
mountOnEnter,
|
|
26884
|
+
unmountOnExit
|
|
26885
|
+
}) {
|
|
26886
|
+
const ref = (0, import_react28.useRef)(null);
|
|
26887
|
+
const hasEnteredRef = (0, import_react28.useRef)(inProp);
|
|
26888
|
+
const handleExited = useEventCallback(onExited);
|
|
26889
|
+
(0, import_react28.useEffect)(() => {
|
|
26890
|
+
if (inProp)
|
|
26891
|
+
hasEnteredRef.current = true;
|
|
26892
|
+
else {
|
|
26893
|
+
handleExited(ref.current);
|
|
26894
|
+
}
|
|
26895
|
+
}, [inProp, handleExited]);
|
|
26896
|
+
const combinedRef = useMergedRefs_default2(ref, getChildRef(children));
|
|
26897
|
+
const child = /* @__PURE__ */ (0, import_react28.cloneElement)(children, {
|
|
26898
|
+
ref: combinedRef
|
|
26899
|
+
});
|
|
26900
|
+
if (inProp)
|
|
26901
|
+
return child;
|
|
26902
|
+
if (unmountOnExit) {
|
|
26903
|
+
return null;
|
|
26904
|
+
}
|
|
26905
|
+
if (!hasEnteredRef.current && mountOnEnter) {
|
|
26906
|
+
return null;
|
|
26907
|
+
}
|
|
26908
|
+
return child;
|
|
26909
|
+
}
|
|
26910
|
+
var NoopTransition_default = NoopTransition;
|
|
26911
|
+
|
|
26912
|
+
// node_modules/react-bootstrap/esm/Nav.js
|
|
26913
|
+
var import_classnames5 = __toESM(require_classnames());
|
|
26914
|
+
var React20 = __toESM(require_react());
|
|
26915
|
+
var import_react29 = __toESM(require_react());
|
|
26916
|
+
|
|
26917
|
+
// node_modules/react-bootstrap/esm/NavItem.js
|
|
26918
|
+
var React18 = __toESM(require_react());
|
|
26919
|
+
var import_classnames3 = __toESM(require_classnames());
|
|
26920
|
+
var import_jsx_runtime9 = __toESM(require_jsx_runtime());
|
|
26921
|
+
"use client";
|
|
26922
|
+
var NavItem2 = /* @__PURE__ */ React18.forwardRef(({
|
|
26923
|
+
className,
|
|
26924
|
+
bsPrefix,
|
|
26925
|
+
as: Component = "div",
|
|
26926
|
+
...props
|
|
26927
|
+
}, ref) => {
|
|
26928
|
+
bsPrefix = useBootstrapPrefix(bsPrefix, "nav-item");
|
|
26929
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Component, {
|
|
26930
|
+
ref,
|
|
26931
|
+
className: (0, import_classnames3.default)(className, bsPrefix),
|
|
26932
|
+
...props
|
|
26933
|
+
});
|
|
26934
|
+
});
|
|
26935
|
+
NavItem2.displayName = "NavItem";
|
|
26936
|
+
var NavItem_default2 = NavItem2;
|
|
26937
|
+
|
|
26938
|
+
// node_modules/react-bootstrap/esm/NavLink.js
|
|
26939
|
+
var import_classnames4 = __toESM(require_classnames());
|
|
26940
|
+
var React19 = __toESM(require_react());
|
|
26941
|
+
var import_jsx_runtime10 = __toESM(require_jsx_runtime());
|
|
26942
|
+
"use client";
|
|
26943
|
+
var NavLink = /* @__PURE__ */ React19.forwardRef(({
|
|
26944
|
+
bsPrefix,
|
|
26945
|
+
className,
|
|
26946
|
+
as: Component = Anchor_default,
|
|
26947
|
+
active,
|
|
26948
|
+
eventKey,
|
|
26949
|
+
disabled = false,
|
|
26950
|
+
...props
|
|
26951
|
+
}, ref) => {
|
|
26952
|
+
bsPrefix = useBootstrapPrefix(bsPrefix, "nav-link");
|
|
26953
|
+
const [navItemProps, meta] = useNavItem({
|
|
26954
|
+
key: makeEventKey(eventKey, props.href),
|
|
26955
|
+
active,
|
|
26956
|
+
disabled,
|
|
26957
|
+
...props
|
|
26958
|
+
});
|
|
26959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Component, {
|
|
26960
|
+
...props,
|
|
26961
|
+
...navItemProps,
|
|
26962
|
+
ref,
|
|
26963
|
+
disabled,
|
|
26964
|
+
className: (0, import_classnames4.default)(className, bsPrefix, disabled && "disabled", meta.isActive && "active")
|
|
26965
|
+
});
|
|
26966
|
+
});
|
|
26967
|
+
NavLink.displayName = "NavLink";
|
|
26968
|
+
var NavLink_default = NavLink;
|
|
26969
|
+
|
|
26970
|
+
// node_modules/react-bootstrap/esm/Nav.js
|
|
26971
|
+
var import_jsx_runtime11 = __toESM(require_jsx_runtime());
|
|
26972
|
+
"use client";
|
|
26973
|
+
var Nav2 = /* @__PURE__ */ React20.forwardRef((uncontrolledProps, ref) => {
|
|
26974
|
+
const {
|
|
26975
|
+
as = "div",
|
|
26976
|
+
bsPrefix: initialBsPrefix,
|
|
26977
|
+
variant,
|
|
26978
|
+
fill = false,
|
|
26979
|
+
justify = false,
|
|
26980
|
+
navbar,
|
|
26981
|
+
navbarScroll,
|
|
26982
|
+
className,
|
|
26983
|
+
activeKey,
|
|
26984
|
+
...props
|
|
26985
|
+
} = useUncontrolled(uncontrolledProps, {
|
|
26986
|
+
activeKey: "onSelect"
|
|
26987
|
+
});
|
|
26988
|
+
const bsPrefix = useBootstrapPrefix(initialBsPrefix, "nav");
|
|
26989
|
+
let navbarBsPrefix;
|
|
26990
|
+
let cardHeaderBsPrefix;
|
|
26991
|
+
let isNavbar = false;
|
|
26992
|
+
const navbarContext = (0, import_react29.useContext)(NavbarContext_default);
|
|
26993
|
+
const cardHeaderContext = (0, import_react29.useContext)(CardHeaderContext_default);
|
|
26994
|
+
if (navbarContext) {
|
|
26995
|
+
navbarBsPrefix = navbarContext.bsPrefix;
|
|
26996
|
+
isNavbar = navbar == null ? true : navbar;
|
|
26997
|
+
} else if (cardHeaderContext) {
|
|
26998
|
+
({
|
|
26999
|
+
cardHeaderBsPrefix
|
|
27000
|
+
} = cardHeaderContext);
|
|
27001
|
+
}
|
|
27002
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Nav_default, {
|
|
27003
|
+
as,
|
|
27004
|
+
ref,
|
|
27005
|
+
activeKey,
|
|
27006
|
+
className: (0, import_classnames5.default)(className, {
|
|
27007
|
+
[bsPrefix]: !isNavbar,
|
|
27008
|
+
[`${navbarBsPrefix}-nav`]: isNavbar,
|
|
27009
|
+
[`${navbarBsPrefix}-nav-scroll`]: isNavbar && navbarScroll,
|
|
27010
|
+
[`${cardHeaderBsPrefix}-${variant}`]: !!cardHeaderBsPrefix,
|
|
27011
|
+
[`${bsPrefix}-${variant}`]: !!variant,
|
|
27012
|
+
[`${bsPrefix}-fill`]: fill,
|
|
27013
|
+
[`${bsPrefix}-justified`]: justify
|
|
27014
|
+
}),
|
|
27015
|
+
...props
|
|
27016
|
+
});
|
|
27017
|
+
});
|
|
27018
|
+
Nav2.displayName = "Nav";
|
|
27019
|
+
var Nav_default2 = Object.assign(Nav2, {
|
|
27020
|
+
Item: NavItem_default2,
|
|
27021
|
+
Link: NavLink_default
|
|
27022
|
+
});
|
|
27023
|
+
|
|
27024
|
+
// node_modules/react-bootstrap/esm/Row.js
|
|
27025
|
+
var import_classnames6 = __toESM(require_classnames());
|
|
27026
|
+
var React21 = __toESM(require_react());
|
|
27027
|
+
var import_jsx_runtime12 = __toESM(require_jsx_runtime());
|
|
27028
|
+
"use client";
|
|
27029
|
+
var Row = /* @__PURE__ */ React21.forwardRef(({
|
|
27030
|
+
bsPrefix,
|
|
27031
|
+
className,
|
|
27032
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
27033
|
+
as: Component = "div",
|
|
27034
|
+
...props
|
|
27035
|
+
}, ref) => {
|
|
27036
|
+
const decoratedBsPrefix = useBootstrapPrefix(bsPrefix, "row");
|
|
27037
|
+
const breakpoints = useBootstrapBreakpoints();
|
|
27038
|
+
const minBreakpoint = useBootstrapMinBreakpoint();
|
|
27039
|
+
const sizePrefix = `${decoratedBsPrefix}-cols`;
|
|
27040
|
+
const classes = [];
|
|
27041
|
+
breakpoints.forEach((brkPoint) => {
|
|
27042
|
+
const propValue = props[brkPoint];
|
|
27043
|
+
delete props[brkPoint];
|
|
27044
|
+
let cols;
|
|
27045
|
+
if (propValue != null && typeof propValue === "object") {
|
|
27046
|
+
({
|
|
27047
|
+
cols
|
|
27048
|
+
} = propValue);
|
|
27049
|
+
} else {
|
|
27050
|
+
cols = propValue;
|
|
27051
|
+
}
|
|
27052
|
+
const infix = brkPoint !== minBreakpoint ? `-${brkPoint}` : "";
|
|
27053
|
+
if (cols != null)
|
|
27054
|
+
classes.push(`${sizePrefix}${infix}-${cols}`);
|
|
27055
|
+
});
|
|
27056
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Component, {
|
|
27057
|
+
ref,
|
|
27058
|
+
...props,
|
|
27059
|
+
className: (0, import_classnames6.default)(className, decoratedBsPrefix, ...classes)
|
|
27060
|
+
});
|
|
27061
|
+
});
|
|
27062
|
+
Row.displayName = "Row";
|
|
27063
|
+
var Row_default = Row;
|
|
27064
|
+
|
|
27065
|
+
// node_modules/react-bootstrap/esm/Tab.js
|
|
27066
|
+
var import_prop_types3 = __toESM(require_prop_types());
|
|
27067
|
+
|
|
27068
|
+
// node_modules/@restart/ui/esm/Tabs.js
|
|
27069
|
+
var React23 = __toESM(require_react());
|
|
27070
|
+
var import_react31 = __toESM(require_react());
|
|
27071
|
+
|
|
27072
|
+
// node_modules/@restart/ui/esm/TabPanel.js
|
|
27073
|
+
var React22 = __toESM(require_react());
|
|
27074
|
+
var import_react30 = __toESM(require_react());
|
|
27075
|
+
var import_jsx_runtime13 = __toESM(require_jsx_runtime());
|
|
27076
|
+
var _excluded5 = ["active", "eventKey", "mountOnEnter", "transition", "unmountOnExit", "role", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited"];
|
|
27077
|
+
var _excluded22 = ["activeKey", "getControlledId", "getControllerId"];
|
|
27078
|
+
var _excluded32 = ["as"];
|
|
27079
|
+
function _objectWithoutPropertiesLoose6(r, e) {
|
|
27080
|
+
if (null == r)
|
|
27081
|
+
return {};
|
|
27082
|
+
var t = {};
|
|
27083
|
+
for (var n in r)
|
|
27084
|
+
if ({}.hasOwnProperty.call(r, n)) {
|
|
27085
|
+
if (e.indexOf(n) >= 0)
|
|
27086
|
+
continue;
|
|
27087
|
+
t[n] = r[n];
|
|
27088
|
+
}
|
|
27089
|
+
return t;
|
|
27090
|
+
}
|
|
27091
|
+
function useTabPanel(_ref) {
|
|
27092
|
+
let {
|
|
27093
|
+
active,
|
|
27094
|
+
eventKey,
|
|
27095
|
+
mountOnEnter,
|
|
27096
|
+
transition,
|
|
27097
|
+
unmountOnExit,
|
|
27098
|
+
role = "tabpanel",
|
|
27099
|
+
onEnter,
|
|
27100
|
+
onEntering,
|
|
27101
|
+
onEntered,
|
|
27102
|
+
onExit,
|
|
27103
|
+
onExiting,
|
|
27104
|
+
onExited
|
|
27105
|
+
} = _ref, props = _objectWithoutPropertiesLoose6(_ref, _excluded5);
|
|
27106
|
+
const context3 = (0, import_react30.useContext)(TabContext_default);
|
|
27107
|
+
if (!context3)
|
|
27108
|
+
return [Object.assign({}, props, {
|
|
27109
|
+
role
|
|
27110
|
+
}), {
|
|
27111
|
+
eventKey,
|
|
27112
|
+
isActive: active,
|
|
27113
|
+
mountOnEnter,
|
|
27114
|
+
transition,
|
|
27115
|
+
unmountOnExit,
|
|
27116
|
+
onEnter,
|
|
27117
|
+
onEntering,
|
|
27118
|
+
onEntered,
|
|
27119
|
+
onExit,
|
|
27120
|
+
onExiting,
|
|
27121
|
+
onExited
|
|
27122
|
+
}];
|
|
27123
|
+
const {
|
|
27124
|
+
activeKey,
|
|
27125
|
+
getControlledId,
|
|
27126
|
+
getControllerId
|
|
27127
|
+
} = context3, rest = _objectWithoutPropertiesLoose6(context3, _excluded22);
|
|
27128
|
+
const key = makeEventKey(eventKey);
|
|
27129
|
+
return [Object.assign({}, props, {
|
|
27130
|
+
role,
|
|
27131
|
+
id: getControlledId(eventKey),
|
|
27132
|
+
"aria-labelledby": getControllerId(eventKey)
|
|
27133
|
+
}), {
|
|
27134
|
+
eventKey,
|
|
27135
|
+
isActive: active == null && key != null ? makeEventKey(activeKey) === key : active,
|
|
27136
|
+
transition: transition || rest.transition,
|
|
27137
|
+
mountOnEnter: mountOnEnter != null ? mountOnEnter : rest.mountOnEnter,
|
|
27138
|
+
unmountOnExit: unmountOnExit != null ? unmountOnExit : rest.unmountOnExit,
|
|
27139
|
+
onEnter,
|
|
27140
|
+
onEntering,
|
|
27141
|
+
onEntered,
|
|
27142
|
+
onExit,
|
|
27143
|
+
onExiting,
|
|
27144
|
+
onExited
|
|
27145
|
+
}];
|
|
27146
|
+
}
|
|
27147
|
+
var TabPanel = /* @__PURE__ */ React22.forwardRef(
|
|
27148
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
27149
|
+
(_ref2, ref) => {
|
|
27150
|
+
let {
|
|
27151
|
+
as: Component = "div"
|
|
27152
|
+
} = _ref2, props = _objectWithoutPropertiesLoose6(_ref2, _excluded32);
|
|
27153
|
+
const [tabPanelProps, {
|
|
27154
|
+
isActive,
|
|
27155
|
+
onEnter,
|
|
27156
|
+
onEntering,
|
|
27157
|
+
onEntered,
|
|
27158
|
+
onExit,
|
|
27159
|
+
onExiting,
|
|
27160
|
+
onExited,
|
|
27161
|
+
mountOnEnter,
|
|
27162
|
+
unmountOnExit,
|
|
27163
|
+
transition: Transition2 = NoopTransition_default
|
|
27164
|
+
}] = useTabPanel(props);
|
|
27165
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(TabContext_default.Provider, {
|
|
27166
|
+
value: null,
|
|
27167
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SelectableContext_default.Provider, {
|
|
27168
|
+
value: null,
|
|
27169
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Transition2, {
|
|
27170
|
+
in: isActive,
|
|
27171
|
+
onEnter,
|
|
27172
|
+
onEntering,
|
|
27173
|
+
onEntered,
|
|
27174
|
+
onExit,
|
|
27175
|
+
onExiting,
|
|
27176
|
+
onExited,
|
|
27177
|
+
mountOnEnter,
|
|
27178
|
+
unmountOnExit,
|
|
27179
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Component, Object.assign({}, tabPanelProps, {
|
|
27180
|
+
ref,
|
|
27181
|
+
hidden: !isActive,
|
|
27182
|
+
"aria-hidden": !isActive
|
|
27183
|
+
}))
|
|
27184
|
+
})
|
|
27185
|
+
})
|
|
27186
|
+
});
|
|
27187
|
+
}
|
|
27188
|
+
);
|
|
27189
|
+
TabPanel.displayName = "TabPanel";
|
|
27190
|
+
var TabPanel_default = TabPanel;
|
|
27191
|
+
|
|
27192
|
+
// node_modules/@restart/ui/esm/Tabs.js
|
|
27193
|
+
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
|
|
27194
|
+
var Tabs = (props) => {
|
|
27195
|
+
const {
|
|
27196
|
+
id: userId,
|
|
27197
|
+
generateChildId: generateCustomChildId,
|
|
27198
|
+
onSelect: propsOnSelect,
|
|
27199
|
+
activeKey: propsActiveKey,
|
|
27200
|
+
defaultActiveKey,
|
|
27201
|
+
transition,
|
|
27202
|
+
mountOnEnter,
|
|
27203
|
+
unmountOnExit,
|
|
27204
|
+
children
|
|
27205
|
+
} = props;
|
|
27206
|
+
const [activeKey, onSelect] = useUncontrolledProp2(propsActiveKey, defaultActiveKey, propsOnSelect);
|
|
27207
|
+
const id = $b5e257d569688ac6$export$619500959fc48b26(userId);
|
|
27208
|
+
const generateChildId = (0, import_react31.useMemo)(() => generateCustomChildId || ((key, type) => id ? `${id}-${type}-${key}` : null), [id, generateCustomChildId]);
|
|
27209
|
+
const tabContext = (0, import_react31.useMemo)(() => ({
|
|
27210
|
+
onSelect,
|
|
27211
|
+
activeKey,
|
|
27212
|
+
transition,
|
|
27213
|
+
mountOnEnter: mountOnEnter || false,
|
|
27214
|
+
unmountOnExit: unmountOnExit || false,
|
|
27215
|
+
getControlledId: (key) => generateChildId(key, "tabpane"),
|
|
27216
|
+
getControllerId: (key) => generateChildId(key, "tab")
|
|
27217
|
+
}), [onSelect, activeKey, transition, mountOnEnter, unmountOnExit, generateChildId]);
|
|
27218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(TabContext_default.Provider, {
|
|
27219
|
+
value: tabContext,
|
|
27220
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SelectableContext_default.Provider, {
|
|
27221
|
+
value: onSelect || null,
|
|
27222
|
+
children
|
|
27223
|
+
})
|
|
27224
|
+
});
|
|
27225
|
+
};
|
|
27226
|
+
Tabs.Panel = TabPanel_default;
|
|
27227
|
+
var Tabs_default = Tabs;
|
|
27228
|
+
|
|
27229
|
+
// node_modules/react-bootstrap/esm/getTabTransitionComponent.js
|
|
27230
|
+
function getTabTransitionComponent(transition) {
|
|
27231
|
+
if (typeof transition === "boolean") {
|
|
27232
|
+
return transition ? Fade_default : NoopTransition_default;
|
|
27233
|
+
}
|
|
27234
|
+
return transition;
|
|
27235
|
+
}
|
|
27236
|
+
|
|
27237
|
+
// node_modules/react-bootstrap/esm/TabContainer.js
|
|
27238
|
+
var import_jsx_runtime15 = __toESM(require_jsx_runtime());
|
|
27239
|
+
var TabContainer = ({
|
|
27240
|
+
transition,
|
|
27241
|
+
...props
|
|
27242
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Tabs_default, {
|
|
27243
|
+
...props,
|
|
27244
|
+
transition: getTabTransitionComponent(transition)
|
|
27245
|
+
});
|
|
27246
|
+
TabContainer.displayName = "TabContainer";
|
|
27247
|
+
var TabContainer_default = TabContainer;
|
|
27248
|
+
|
|
27249
|
+
// node_modules/react-bootstrap/esm/TabContent.js
|
|
27250
|
+
var React24 = __toESM(require_react());
|
|
27251
|
+
var import_classnames7 = __toESM(require_classnames());
|
|
27252
|
+
var import_jsx_runtime16 = __toESM(require_jsx_runtime());
|
|
27253
|
+
"use client";
|
|
27254
|
+
var TabContent = /* @__PURE__ */ React24.forwardRef(({
|
|
27255
|
+
className,
|
|
27256
|
+
bsPrefix,
|
|
27257
|
+
as: Component = "div",
|
|
27258
|
+
...props
|
|
27259
|
+
}, ref) => {
|
|
27260
|
+
bsPrefix = useBootstrapPrefix(bsPrefix, "tab-content");
|
|
27261
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Component, {
|
|
27262
|
+
ref,
|
|
27263
|
+
className: (0, import_classnames7.default)(className, bsPrefix),
|
|
27264
|
+
...props
|
|
27265
|
+
});
|
|
27266
|
+
});
|
|
27267
|
+
TabContent.displayName = "TabContent";
|
|
27268
|
+
var TabContent_default = TabContent;
|
|
27269
|
+
|
|
27270
|
+
// node_modules/react-bootstrap/esm/TabPane.js
|
|
27271
|
+
var import_classnames8 = __toESM(require_classnames());
|
|
27272
|
+
var React25 = __toESM(require_react());
|
|
27273
|
+
var import_jsx_runtime17 = __toESM(require_jsx_runtime());
|
|
27274
|
+
"use client";
|
|
27275
|
+
var TabPane = /* @__PURE__ */ React25.forwardRef(({
|
|
27276
|
+
bsPrefix,
|
|
27277
|
+
transition,
|
|
27278
|
+
...props
|
|
27279
|
+
}, ref) => {
|
|
27280
|
+
const [{
|
|
27281
|
+
className,
|
|
27282
|
+
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
27283
|
+
as: Component = "div",
|
|
27284
|
+
...rest
|
|
27285
|
+
}, {
|
|
27286
|
+
isActive,
|
|
27287
|
+
onEnter,
|
|
27288
|
+
onEntering,
|
|
27289
|
+
onEntered,
|
|
27290
|
+
onExit,
|
|
27291
|
+
onExiting,
|
|
27292
|
+
onExited,
|
|
27293
|
+
mountOnEnter,
|
|
27294
|
+
unmountOnExit,
|
|
27295
|
+
transition: Transition2 = Fade_default
|
|
27296
|
+
}] = useTabPanel({
|
|
27297
|
+
...props,
|
|
27298
|
+
transition: getTabTransitionComponent(transition)
|
|
27299
|
+
});
|
|
27300
|
+
const prefix = useBootstrapPrefix(bsPrefix, "tab-pane");
|
|
27301
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(TabContext_default.Provider, {
|
|
27302
|
+
value: null,
|
|
27303
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SelectableContext_default.Provider, {
|
|
27304
|
+
value: null,
|
|
27305
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Transition2, {
|
|
27306
|
+
in: isActive,
|
|
27307
|
+
onEnter,
|
|
27308
|
+
onEntering,
|
|
27309
|
+
onEntered,
|
|
27310
|
+
onExit,
|
|
27311
|
+
onExiting,
|
|
27312
|
+
onExited,
|
|
27313
|
+
mountOnEnter,
|
|
27314
|
+
unmountOnExit,
|
|
27315
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Component, {
|
|
27316
|
+
...rest,
|
|
27317
|
+
ref,
|
|
27318
|
+
className: (0, import_classnames8.default)(className, prefix, isActive && "active")
|
|
27319
|
+
})
|
|
27320
|
+
})
|
|
27321
|
+
})
|
|
27322
|
+
});
|
|
27323
|
+
});
|
|
27324
|
+
TabPane.displayName = "TabPane";
|
|
27325
|
+
var TabPane_default = TabPane;
|
|
27326
|
+
|
|
27327
|
+
// node_modules/react-bootstrap/esm/Tab.js
|
|
27328
|
+
var propTypes = {
|
|
27329
|
+
eventKey: import_prop_types3.default.oneOfType([import_prop_types3.default.string, import_prop_types3.default.number]),
|
|
27330
|
+
/**
|
|
27331
|
+
* Content for the tab title.
|
|
27332
|
+
*/
|
|
27333
|
+
title: import_prop_types3.default.node.isRequired,
|
|
27334
|
+
/**
|
|
27335
|
+
* The disabled state of the tab.
|
|
27336
|
+
*/
|
|
27337
|
+
disabled: import_prop_types3.default.bool,
|
|
27338
|
+
/**
|
|
27339
|
+
* Class to pass to the underlying nav link.
|
|
27340
|
+
*/
|
|
27341
|
+
tabClassName: import_prop_types3.default.string,
|
|
27342
|
+
/**
|
|
27343
|
+
* Object containing attributes to pass to underlying nav link.
|
|
27344
|
+
*/
|
|
27345
|
+
tabAttrs: import_prop_types3.default.object
|
|
27346
|
+
};
|
|
27347
|
+
var Tab = () => {
|
|
27348
|
+
throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly");
|
|
27349
|
+
};
|
|
27350
|
+
Tab.propTypes = propTypes;
|
|
27351
|
+
var Tab_default = Object.assign(Tab, {
|
|
27352
|
+
Container: TabContainer_default,
|
|
27353
|
+
Content: TabContent_default,
|
|
27354
|
+
Pane: TabPane_default
|
|
27355
|
+
});
|
|
27356
|
+
|
|
27357
|
+
// node_modules/react-bootstrap/esm/Table.js
|
|
27358
|
+
var import_classnames9 = __toESM(require_classnames());
|
|
27359
|
+
var React26 = __toESM(require_react());
|
|
27360
|
+
var import_jsx_runtime18 = __toESM(require_jsx_runtime());
|
|
27361
|
+
"use client";
|
|
27362
|
+
var Table = /* @__PURE__ */ React26.forwardRef(({
|
|
27363
|
+
bsPrefix,
|
|
27364
|
+
className,
|
|
27365
|
+
striped,
|
|
27366
|
+
bordered,
|
|
27367
|
+
borderless,
|
|
27368
|
+
hover,
|
|
27369
|
+
size,
|
|
27370
|
+
variant,
|
|
27371
|
+
responsive,
|
|
27372
|
+
...props
|
|
27373
|
+
}, ref) => {
|
|
27374
|
+
const decoratedBsPrefix = useBootstrapPrefix(bsPrefix, "table");
|
|
27375
|
+
const classes = (0, import_classnames9.default)(className, decoratedBsPrefix, variant && `${decoratedBsPrefix}-${variant}`, size && `${decoratedBsPrefix}-${size}`, striped && `${decoratedBsPrefix}-${typeof striped === "string" ? `striped-${striped}` : "striped"}`, bordered && `${decoratedBsPrefix}-bordered`, borderless && `${decoratedBsPrefix}-borderless`, hover && `${decoratedBsPrefix}-hover`);
|
|
27376
|
+
const table = /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("table", {
|
|
27377
|
+
...props,
|
|
27378
|
+
className: classes,
|
|
27379
|
+
ref
|
|
27380
|
+
});
|
|
27381
|
+
if (responsive) {
|
|
27382
|
+
let responsiveClass = `${decoratedBsPrefix}-responsive`;
|
|
27383
|
+
if (typeof responsive === "string") {
|
|
27384
|
+
responsiveClass = `${responsiveClass}-${responsive}`;
|
|
27385
|
+
}
|
|
27386
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", {
|
|
27387
|
+
className: responsiveClass,
|
|
27388
|
+
children: table
|
|
27389
|
+
});
|
|
27390
|
+
}
|
|
27391
|
+
return table;
|
|
27392
|
+
});
|
|
27393
|
+
Table.displayName = "Table";
|
|
27394
|
+
var Table_default = Table;
|
|
27395
|
+
|
|
27396
|
+
// src/Footer.tsx
|
|
27397
|
+
var import_react32 = __toESM(require_react(), 1);
|
|
27398
|
+
var Footer = () => /* @__PURE__ */ import_react32.default.createElement("footer", null, "made with \u2764\uFE0F and ", /* @__PURE__ */ import_react32.default.createElement("a", { href: "https://www.npmjs.com/package/testeranto" }, "testeranto "));
|
|
27399
|
+
|
|
27400
|
+
// src/Project.tsx
|
|
27401
|
+
var ExternalFeatures = ({ summary }) => {
|
|
27402
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Container, { id: "external-features-tab-container" }, /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 1 }, /* @__PURE__ */ import_react33.default.createElement(Nav_default2, { variant: "pills", className: "flex-column" }, /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Item, null, /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: "log" }, "log"), /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: "steps" }, "steps")))), /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 11 }, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Content, null, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: "log" }), /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: "steps" }, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Container, { id: "secondary-tab-container", defaultActiveKey: "first" }, /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 3 }, /* @__PURE__ */ import_react33.default.createElement(Nav_default2, { variant: "pills", className: "flex-column" })), /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 9 }, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Content, null)))))))))));
|
|
27403
|
+
};
|
|
27404
|
+
var Features = ({ summary }) => {
|
|
27405
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement(Table_default, { striped: true, bordered: true, hover: true }, /* @__PURE__ */ import_react33.default.createElement("thead", null, /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("th", null, "project"), /* @__PURE__ */ import_react33.default.createElement("th", null, "platform"), /* @__PURE__ */ import_react33.default.createElement("th", null, "BDD errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "Lint errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "Type errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "prompt"))), /* @__PURE__ */ import_react33.default.createElement("tbody", null, ...summary.map((s) => {
|
|
27406
|
+
return /* @__PURE__ */ import_react33.default.createElement(import_react33.default.Fragment, null, /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("th", null, s[0])), ...s[1].tests.map((t) => {
|
|
27407
|
+
const x = `${s[0]}/${t[0].split(".").slice(0, -1).join(".")}/${t[1]}`;
|
|
27408
|
+
const y = s[2][t[0]];
|
|
27409
|
+
return /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("td", null, t[0]), /* @__PURE__ */ import_react33.default.createElement("td", null, t[1]), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/index.html` }, y.runTimeError)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/lint_errors.json` }, y.staticErrors)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/type_errors.txt` }, y.typeErrors)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("pre", null, s[2][t[0]].prompt)));
|
|
27410
|
+
}));
|
|
27411
|
+
}))));
|
|
27412
|
+
};
|
|
27413
|
+
var Docs = ({ summary }) => {
|
|
27414
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Container, { id: "DocsPane-tabs", defaultActiveKey: "external" }, /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 12 }, /* @__PURE__ */ import_react33.default.createElement(Nav_default2, null, /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `external` }, "external"), /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `markdown` }, "markdown"), /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `string` }, "string")))), /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 12 }, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Content, null, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `external` }, /* @__PURE__ */ import_react33.default.createElement(ExternalFeatures, { summary })), /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `markdown` }, /* @__PURE__ */ import_react33.default.createElement(ExternalFeatures, { summary })), /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `string` }, /* @__PURE__ */ import_react33.default.createElement(ExternalFeatures, { summary })))))));
|
|
27415
|
+
};
|
|
27416
|
+
var BigBoard = () => {
|
|
27417
|
+
const bigConfigElement = document.getElementById("bigConfig");
|
|
27418
|
+
if (!bigConfigElement)
|
|
27419
|
+
throw new Error("bigConfig element not found");
|
|
27420
|
+
const projects = JSON.parse(bigConfigElement.innerHTML);
|
|
27421
|
+
const [summary, setSummary] = (0, import_react33.useState)();
|
|
27422
|
+
(0, import_react33.useEffect)(() => {
|
|
27423
|
+
(async () => {
|
|
27424
|
+
const x = projects.map(async (p) => {
|
|
27425
|
+
return [
|
|
27426
|
+
p,
|
|
27427
|
+
await (await fetch(`./reports/${p}/config.json`)).json(),
|
|
27428
|
+
await (await fetch(`./reports/${p}/summary.json`)).json()
|
|
27429
|
+
];
|
|
27430
|
+
});
|
|
27431
|
+
Promise.all(x).then((v) => {
|
|
27432
|
+
setSummary(v);
|
|
27433
|
+
});
|
|
27434
|
+
})();
|
|
27435
|
+
}, []);
|
|
27436
|
+
if (!summary || summary?.length === 0) {
|
|
27437
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, "loading...");
|
|
27438
|
+
}
|
|
27439
|
+
function copyToClipboard(text) {
|
|
27440
|
+
navigator.clipboard.writeText(text).then(() => {
|
|
27441
|
+
console.log("Text copied to clipboard");
|
|
27442
|
+
}).catch((err) => {
|
|
27443
|
+
console.error("Error copying text: ", err);
|
|
27444
|
+
});
|
|
27445
|
+
}
|
|
27446
|
+
return /* @__PURE__ */ import_react33.default.createElement("div", null, " ", /* @__PURE__ */ import_react33.default.createElement(Tab_default.Container, { id: "TestPane-tabs", defaultActiveKey: "tests" }, /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 12 }, /* @__PURE__ */ import_react33.default.createElement(Nav_default2, null, /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `tests` }, "tests"), /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `features` }, "features"), /* @__PURE__ */ import_react33.default.createElement(Nav_default2.Link, { eventKey: `docs` }, "docs")))), /* @__PURE__ */ import_react33.default.createElement(Row_default, null, /* @__PURE__ */ import_react33.default.createElement(Col_default, { sm: 12 }, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Content, null, /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `tests` }, /* @__PURE__ */ import_react33.default.createElement(Table_default, { striped: true, bordered: true, hover: true }, /* @__PURE__ */ import_react33.default.createElement("thead", null, /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("th", null, "project"), /* @__PURE__ */ import_react33.default.createElement("th", null, "platform"), /* @__PURE__ */ import_react33.default.createElement("th", null, "BDD errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "Lint errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "Type errors"), /* @__PURE__ */ import_react33.default.createElement("th", null, "prompt"), /* @__PURE__ */ import_react33.default.createElement("th", null, "failing features"))), /* @__PURE__ */ import_react33.default.createElement("tbody", null, ...summary.map((s) => {
|
|
27447
|
+
return /* @__PURE__ */ import_react33.default.createElement(import_react33.default.Fragment, null, /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("th", null, s[0])), ...s[1].tests.map((t) => {
|
|
27448
|
+
const x = `${s[0]}/${t[0].split(".").slice(0, -1).join(".")}/${t[1]}`;
|
|
27449
|
+
const y = s[2][t[0]];
|
|
27450
|
+
return /* @__PURE__ */ import_react33.default.createElement("tr", null, /* @__PURE__ */ import_react33.default.createElement("td", null, t[0]), /* @__PURE__ */ import_react33.default.createElement("td", null, t[1]), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/index.html` }, y.runTimeError)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/lint_errors.json` }, y.staticErrors)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("a", { href: `./reports/${x}/type_errors.txt` }, y.typeErrors)), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("pre", null, /* @__PURE__ */ import_react33.default.createElement("button", { onClick: () => {
|
|
27451
|
+
copyToClipboard(s[2][t[0]].prompt);
|
|
27452
|
+
} }, "copy"))), /* @__PURE__ */ import_react33.default.createElement("td", null, /* @__PURE__ */ import_react33.default.createElement("pre", null, /* @__PURE__ */ import_react33.default.createElement("code", null, JSON.stringify(y.failingFeatures, null, 2)))));
|
|
27453
|
+
}));
|
|
27454
|
+
})))), /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `features` }, /* @__PURE__ */ import_react33.default.createElement(Features, { summary })), /* @__PURE__ */ import_react33.default.createElement(Tab_default.Pane, { eventKey: `docs` }, /* @__PURE__ */ import_react33.default.createElement(Docs, { summary })))))), /* @__PURE__ */ import_react33.default.createElement(Footer, null));
|
|
27455
|
+
};
|
|
27456
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
27457
|
+
const elem = document.getElementById("root");
|
|
27458
|
+
if (elem) {
|
|
27459
|
+
import_client.default.createRoot(elem).render(import_react33.default.createElement(BigBoard, {}));
|
|
27460
|
+
}
|
|
27461
|
+
});
|
|
27462
|
+
})();
|
|
27463
|
+
/*! Bundled license information:
|
|
27464
|
+
|
|
27465
|
+
react/cjs/react.development.js:
|
|
27466
|
+
(**
|
|
27467
|
+
* @license React
|
|
27468
|
+
* react.development.js
|
|
27469
|
+
*
|
|
27470
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27471
|
+
*
|
|
27472
|
+
* This source code is licensed under the MIT license found in the
|
|
27473
|
+
* LICENSE file in the root directory of this source tree.
|
|
27474
|
+
*)
|
|
27475
|
+
|
|
27476
|
+
scheduler/cjs/scheduler.development.js:
|
|
27477
|
+
(**
|
|
27478
|
+
* @license React
|
|
27479
|
+
* scheduler.development.js
|
|
27480
|
+
*
|
|
27481
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27482
|
+
*
|
|
27483
|
+
* This source code is licensed under the MIT license found in the
|
|
27484
|
+
* LICENSE file in the root directory of this source tree.
|
|
27485
|
+
*)
|
|
27486
|
+
|
|
27487
|
+
react-dom/cjs/react-dom.development.js:
|
|
27488
|
+
(**
|
|
27489
|
+
* @license React
|
|
27490
|
+
* react-dom.development.js
|
|
27491
|
+
*
|
|
27492
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27493
|
+
*
|
|
27494
|
+
* This source code is licensed under the MIT license found in the
|
|
27495
|
+
* LICENSE file in the root directory of this source tree.
|
|
27496
|
+
*)
|
|
27497
|
+
(**
|
|
27498
|
+
* Checks if an event is supported in the current execution environment.
|
|
27499
|
+
*
|
|
27500
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
27501
|
+
* `reset`, `load`, `error`, and `select`.
|
|
27502
|
+
*
|
|
27503
|
+
* Borrows from Modernizr.
|
|
27504
|
+
*
|
|
27505
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
27506
|
+
* @return {boolean} True if the event is supported.
|
|
27507
|
+
* @internal
|
|
27508
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
27509
|
+
*)
|
|
27510
|
+
|
|
27511
|
+
classnames/index.js:
|
|
27512
|
+
(*!
|
|
27513
|
+
Copyright (c) 2018 Jed Watson.
|
|
27514
|
+
Licensed under the MIT License (MIT), see
|
|
27515
|
+
http://jedwatson.github.io/classnames
|
|
27516
|
+
*)
|
|
27517
|
+
|
|
27518
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
27519
|
+
(**
|
|
27520
|
+
* @license React
|
|
27521
|
+
* react-jsx-runtime.development.js
|
|
27522
|
+
*
|
|
27523
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27524
|
+
*
|
|
27525
|
+
* This source code is licensed under the MIT license found in the
|
|
27526
|
+
* LICENSE file in the root directory of this source tree.
|
|
27527
|
+
*)
|
|
27528
|
+
|
|
27529
|
+
react-is/cjs/react-is.development.js:
|
|
27530
|
+
(** @license React v16.13.1
|
|
27531
|
+
* react-is.development.js
|
|
27532
|
+
*
|
|
27533
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27534
|
+
*
|
|
27535
|
+
* This source code is licensed under the MIT license found in the
|
|
27536
|
+
* LICENSE file in the root directory of this source tree.
|
|
27537
|
+
*)
|
|
27538
|
+
|
|
27539
|
+
object-assign/index.js:
|
|
27540
|
+
(*
|
|
27541
|
+
object-assign
|
|
27542
|
+
(c) Sindre Sorhus
|
|
27543
|
+
@license MIT
|
|
27544
|
+
*)
|
|
24643
27545
|
*/
|