openplanr 3.4.0 → 3.5.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/CHANGELOG.md +28 -0
- package/dist/cli/commands/design.d.ts +3 -0
- package/dist/cli/commands/design.d.ts.map +1 -0
- package/dist/cli/commands/design.js +137 -0
- package/dist/cli/commands/design.js.map +1 -0
- package/dist/cli/commands/groups/operations.d.ts.map +1 -1
- package/dist/cli/commands/groups/operations.js +2 -0
- package/dist/cli/commands/groups/operations.js.map +1 -1
- package/dist/dashboard/.vite/manifest.json +1 -1
- package/dist/dashboard/assets/{index-CvQAlBy3.js → index-B-l_941W.js} +2 -2
- package/dist/dashboard/assets/{index-CvQAlBy3.js.map → index-B-l_941W.js.map} +1 -1
- package/dist/dashboard/dashboard-manifest.json +13 -13
- package/dist/dashboard/index.html +1 -1
- package/dist/services/design-artifact-service.d.ts +22 -0
- package/dist/services/design-artifact-service.d.ts.map +1 -1
- package/dist/services/design-artifact-service.js +76 -16
- package/dist/services/design-artifact-service.js.map +1 -1
- package/dist/services/runtime-manager/runtime-package.js +1 -1
- package/dist/services/runtime-manager/runtime-package.js.map +1 -1
- package/docs/CLI.md +29 -0
- package/lib/host-packages/adapter-registry.json +5 -5
- package/lib/host-packages/capability-map.json +1 -1
- package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
- package/lib/host-packages/claude/openplanr/.openplanr-content.json +24 -340
- package/lib/host-packages/claude/openplanr/README.md +8 -8
- package/lib/host-packages/claude/openplanr/skills/artifact/references/design-sharing.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +23 -12
- package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/claude/openplanr/skills/design/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +78 -38
- package/lib/host-packages/claude/openplanr/skills/design-loop/SKILL.md +15 -7
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +78 -38
- package/lib/host-packages/claude/openplanr/skills/design-review/SKILL.md +25 -5
- package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +2 -2
- package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +3 -3
- package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +6 -6
- package/lib/host-packages/claude/openplanr/skills/design-review/references/team-review.md +3 -4
- package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +78 -38
- package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +7 -3
- package/lib/host-packages/cursor/openplanr/.openplanr-content.json +23 -339
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-artifact/references/design-sharing.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +78 -38
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +78 -38
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop.mdc +15 -7
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +2 -2
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +3 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +6 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/team-review.md +3 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +78 -38
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review.mdc +25 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +23 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +7 -3
- package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
- package/lib/host-packages/openai/openplanr/.openplanr-content.json +27 -343
- package/lib/host-packages/openai/openplanr/skills/artifact/references/design-sharing.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +23 -12
- package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +6 -3
- package/lib/host-packages/openai/openplanr/skills/design/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +78 -38
- package/lib/host-packages/openai/openplanr/skills/design-loop/SKILL.md +15 -7
- package/lib/host-packages/openai/openplanr/skills/design-loop/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +78 -38
- package/lib/host-packages/openai/openplanr/skills/design-review/SKILL.md +25 -5
- package/lib/host-packages/openai/openplanr/skills/design-review/openplanr.skill.json +0 -11
- package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +2 -2
- package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +3 -3
- package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +6 -6
- package/lib/host-packages/openai/openplanr/skills/design-review/references/team-review.md +3 -4
- package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +78 -38
- package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +7 -3
- package/lib/host-packages/openai/openplanr/skills/plan/openplanr.skill.json +0 -11
- package/package.json +2 -2
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +0 -1500
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +0 -2611
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/claude/openplanr/skills/design/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/claude/openplanr/skills/plan/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design.mjs +0 -12
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +0 -1500
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +0 -2611
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +0 -1500
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +0 -2611
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
- package/lib/host-packages/openai/openplanr/skills/design/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design.mjs +0 -12
- package/lib/host-packages/openai/openplanr/skills/plan/scripts/design.mjs +0 -12
|
@@ -1,2261 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
"use strict";
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-dom-client.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var Scheduler = require_scheduler(), React36 = require_react(), ReactDOM4 = require_react_dom();
|
|
13
|
-
function formatProdErrorMessage(code) {
|
|
14
|
-
var url = "https://react.dev/errors/" + code;
|
|
15
|
-
if (1 < arguments.length) {
|
|
16
|
-
url += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
17
|
-
for (var i = 2; i < arguments.length; i++)
|
|
18
|
-
url += "&args[]=" + encodeURIComponent(arguments[i]);
|
|
19
|
-
}
|
|
20
|
-
return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
21
|
-
}
|
|
22
|
-
function isValidContainer(node) {
|
|
23
|
-
return !(!node || node.nodeType !== 1 && node.nodeType !== 9 && node.nodeType !== 11);
|
|
24
|
-
}
|
|
25
|
-
function getNearestMountedFiber(fiber) {
|
|
26
|
-
for (var node = fiber, nextNode = node; nextNode && !nextNode.alternate; )
|
|
27
|
-
node = nextNode, (node.flags & 4098) !== 0 && (fiber = node.return), nextNode = node.return;
|
|
28
|
-
for (; node.return; ) node = node.return;
|
|
29
|
-
return node.tag === 3 ? fiber : null;
|
|
30
|
-
}
|
|
31
|
-
function getSuspenseInstanceFromFiber(fiber) {
|
|
32
|
-
if (fiber.tag === 13) {
|
|
33
|
-
var suspenseState = fiber.memoizedState;
|
|
34
|
-
if (suspenseState === null && (fiber = fiber.alternate, fiber !== null && (suspenseState = fiber.memoizedState)), suspenseState !== null) return suspenseState.dehydrated;
|
|
35
|
-
}
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
function getActivityInstanceFromFiber(fiber) {
|
|
39
|
-
if (fiber.tag === 31) {
|
|
40
|
-
var activityState = fiber.memoizedState;
|
|
41
|
-
if (activityState === null && (fiber = fiber.alternate, fiber !== null && (activityState = fiber.memoizedState)), activityState !== null) return activityState.dehydrated;
|
|
42
|
-
}
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
function assertIsMounted(fiber) {
|
|
46
|
-
if (getNearestMountedFiber(fiber) !== fiber)
|
|
47
|
-
throw Error(formatProdErrorMessage(188));
|
|
48
|
-
}
|
|
49
|
-
function findCurrentFiberUsingSlowPath(fiber) {
|
|
50
|
-
var alternate = fiber.alternate;
|
|
51
|
-
if (!alternate) {
|
|
52
|
-
if (alternate = getNearestMountedFiber(fiber), alternate === null) throw Error(formatProdErrorMessage(188));
|
|
53
|
-
return alternate !== fiber ? null : fiber;
|
|
54
|
-
}
|
|
55
|
-
for (var a = fiber, b = alternate; ; ) {
|
|
56
|
-
var parentA = a.return;
|
|
57
|
-
if (parentA === null) break;
|
|
58
|
-
var parentB = parentA.alternate;
|
|
59
|
-
if (parentB === null) {
|
|
60
|
-
if (b = parentA.return, b !== null) {
|
|
61
|
-
a = b;
|
|
62
|
-
continue;
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
if (parentA.child === parentB.child) {
|
|
67
|
-
for (parentB = parentA.child; parentB; ) {
|
|
68
|
-
if (parentB === a) return assertIsMounted(parentA), fiber;
|
|
69
|
-
if (parentB === b) return assertIsMounted(parentA), alternate;
|
|
70
|
-
parentB = parentB.sibling;
|
|
71
|
-
}
|
|
72
|
-
throw Error(formatProdErrorMessage(188));
|
|
73
|
-
}
|
|
74
|
-
if (a.return !== b.return) a = parentA, b = parentB;
|
|
75
|
-
else {
|
|
76
|
-
for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {
|
|
77
|
-
if (child$0 === a) {
|
|
78
|
-
didFindChild = !0, a = parentA, b = parentB;
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
if (child$0 === b) {
|
|
82
|
-
didFindChild = !0, b = parentA, a = parentB;
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
child$0 = child$0.sibling;
|
|
86
|
-
}
|
|
87
|
-
if (!didFindChild) {
|
|
88
|
-
for (child$0 = parentB.child; child$0; ) {
|
|
89
|
-
if (child$0 === a) {
|
|
90
|
-
didFindChild = !0, a = parentB, b = parentA;
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
if (child$0 === b) {
|
|
94
|
-
didFindChild = !0, b = parentB, a = parentA;
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
child$0 = child$0.sibling;
|
|
98
|
-
}
|
|
99
|
-
if (!didFindChild) throw Error(formatProdErrorMessage(189));
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
if (a.alternate !== b) throw Error(formatProdErrorMessage(190));
|
|
103
|
-
}
|
|
104
|
-
if (a.tag !== 3) throw Error(formatProdErrorMessage(188));
|
|
105
|
-
return a.stateNode.current === a ? fiber : alternate;
|
|
106
|
-
}
|
|
107
|
-
function findCurrentHostFiberImpl(node) {
|
|
108
|
-
var tag = node.tag;
|
|
109
|
-
if (tag === 5 || tag === 26 || tag === 27 || tag === 6) return node;
|
|
110
|
-
for (node = node.child; node !== null; ) {
|
|
111
|
-
if (tag = findCurrentHostFiberImpl(node), tag !== null) return tag;
|
|
112
|
-
node = node.sibling;
|
|
113
|
-
}
|
|
114
|
-
return null;
|
|
115
|
-
}
|
|
116
|
-
function traverseVisibleInstancesAndTextInstances(child, searchWithinHosts, fn, a, b, c) {
|
|
117
|
-
for (; child !== null; ) {
|
|
118
|
-
if ((child.tag === 5 || child.tag === 27 || child.tag === 6) && fn(child, a, b, c) || (child.tag !== 22 || child.memoizedState === null) && (searchWithinHosts || child.tag !== 5 && child.tag !== 27) && traverseVisibleInstancesAndTextInstances(
|
|
119
|
-
child.child,
|
|
120
|
-
searchWithinHosts,
|
|
121
|
-
fn,
|
|
122
|
-
a,
|
|
123
|
-
b,
|
|
124
|
-
c
|
|
125
|
-
))
|
|
126
|
-
return !0;
|
|
127
|
-
child = child.sibling;
|
|
128
|
-
}
|
|
129
|
-
return !1;
|
|
130
|
-
}
|
|
131
|
-
function getFragmentParentInstanceOrContainerFiber(fiber) {
|
|
132
|
-
for (fiber = fiber.return; fiber !== null; ) {
|
|
133
|
-
if (fiber.tag === 3 || fiber.tag === 5 || fiber.tag === 27) return fiber;
|
|
134
|
-
fiber = fiber.return;
|
|
135
|
-
}
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
function fiberIsPortaledIntoHost(fiber) {
|
|
139
|
-
var foundPortalParent = !1;
|
|
140
|
-
for (fiber = fiber.return; fiber !== null && (fiber.tag === 4 && (foundPortalParent = !0), !(fiber.tag === 3 || fiber.tag === 5 || fiber.tag === 27)); )
|
|
141
|
-
fiber = fiber.return;
|
|
142
|
-
return foundPortalParent;
|
|
143
|
-
}
|
|
144
|
-
function getFragmentInstanceOrTextInstanceSiblings(fiber) {
|
|
145
|
-
var result = [null, null], parentHostFiber = getFragmentParentInstanceOrContainerFiber(fiber);
|
|
146
|
-
return parentHostFiber === null || findFragmentInstanceOrTextInstanceSiblings(
|
|
147
|
-
result,
|
|
148
|
-
fiber,
|
|
149
|
-
parentHostFiber.child,
|
|
150
|
-
{ foundSelf: !1 }
|
|
151
|
-
), result;
|
|
152
|
-
}
|
|
153
|
-
function findFragmentInstanceOrTextInstanceSiblings(result, self, child, state) {
|
|
154
|
-
for (; child !== null; ) {
|
|
155
|
-
if (child === self) state.foundSelf = !0;
|
|
156
|
-
else if (child.tag === 5 || child.tag === 27 || child.tag === 6) {
|
|
157
|
-
if (state.foundSelf) return result[1] = child, !0;
|
|
158
|
-
result[0] = child;
|
|
159
|
-
} else if ((child.tag !== 22 || child.memoizedState === null) && findFragmentInstanceOrTextInstanceSiblings(
|
|
160
|
-
result,
|
|
161
|
-
self,
|
|
162
|
-
child.child,
|
|
163
|
-
state
|
|
164
|
-
))
|
|
165
|
-
return !0;
|
|
166
|
-
child = child.sibling;
|
|
167
|
-
}
|
|
168
|
-
return !1;
|
|
169
|
-
}
|
|
170
|
-
function getInstanceFromHostFiber(fiber) {
|
|
171
|
-
switch (fiber.tag) {
|
|
172
|
-
case 5:
|
|
173
|
-
case 27:
|
|
174
|
-
case 6:
|
|
175
|
-
return fiber.stateNode;
|
|
176
|
-
case 3:
|
|
177
|
-
return fiber.stateNode.containerInfo;
|
|
178
|
-
default:
|
|
179
|
-
throw Error(formatProdErrorMessage(559));
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
var searchTarget = null, searchBoundary = null;
|
|
183
|
-
function isFiberPrecedingCheck(child, target, boundary) {
|
|
184
|
-
return child === boundary ? !0 : child === target ? (searchTarget = child, !0) : !1;
|
|
185
|
-
}
|
|
186
|
-
function isFiberFollowingCheck(child, target, boundary) {
|
|
187
|
-
return child === boundary ? (searchBoundary = child, !1) : child === target ? (searchBoundary !== null && (searchTarget = child), !0) : !1;
|
|
188
|
-
}
|
|
189
|
-
function getParentForFragmentAncestors(inst) {
|
|
190
|
-
if (inst === null) return null;
|
|
191
|
-
do
|
|
192
|
-
inst = inst === null ? null : inst.return;
|
|
193
|
-
while (inst && inst.tag !== 5 && inst.tag !== 27 && inst.tag !== 3);
|
|
194
|
-
return inst || null;
|
|
195
|
-
}
|
|
196
|
-
function getLowestCommonAncestor(instA, instB, getParent2) {
|
|
197
|
-
for (var depthA = 0, tempA = instA; tempA; tempA = getParent2(tempA)) depthA++;
|
|
198
|
-
tempA = 0;
|
|
199
|
-
for (var tempB = instB; tempB; tempB = getParent2(tempB)) tempA++;
|
|
200
|
-
for (; 0 < depthA - tempA; ) instA = getParent2(instA), depthA--;
|
|
201
|
-
for (; 0 < tempA - depthA; ) instB = getParent2(instB), tempA--;
|
|
202
|
-
for (; depthA--; ) {
|
|
203
|
-
if (instA === instB || instB !== null && instA === instB.alternate)
|
|
204
|
-
return instA;
|
|
205
|
-
instA = getParent2(instA), instB = getParent2(instB);
|
|
206
|
-
}
|
|
207
|
-
return null;
|
|
208
|
-
}
|
|
209
|
-
var assign = Object.assign, REACT_LEGACY_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element"), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_LEGACY_HIDDEN_TYPE = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), REACT_MEMO_CACHE_SENTINEL = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
210
|
-
function getIteratorFn(maybeIterable) {
|
|
211
|
-
return maybeIterable === null || typeof maybeIterable != "object" ? null : (maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"], typeof maybeIterable == "function" ? maybeIterable : null);
|
|
212
|
-
}
|
|
213
|
-
var REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference");
|
|
214
|
-
function getComponentNameFromType(type) {
|
|
215
|
-
if (type == null) return null;
|
|
216
|
-
if (typeof type == "function")
|
|
217
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
218
|
-
if (typeof type == "string") return type;
|
|
219
|
-
switch (type) {
|
|
220
|
-
case REACT_FRAGMENT_TYPE:
|
|
221
|
-
return "Fragment";
|
|
222
|
-
case REACT_PROFILER_TYPE:
|
|
223
|
-
return "Profiler";
|
|
224
|
-
case REACT_STRICT_MODE_TYPE:
|
|
225
|
-
return "StrictMode";
|
|
226
|
-
case REACT_SUSPENSE_TYPE:
|
|
227
|
-
return "Suspense";
|
|
228
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
229
|
-
return "SuspenseList";
|
|
230
|
-
case REACT_ACTIVITY_TYPE:
|
|
231
|
-
return "Activity";
|
|
232
|
-
case REACT_VIEW_TRANSITION_TYPE:
|
|
233
|
-
return "ViewTransition";
|
|
234
|
-
}
|
|
235
|
-
if (typeof type == "object")
|
|
236
|
-
switch (type.$$typeof) {
|
|
237
|
-
case REACT_PORTAL_TYPE:
|
|
238
|
-
return "Portal";
|
|
239
|
-
case REACT_CONTEXT_TYPE:
|
|
240
|
-
return type.displayName || "Context";
|
|
241
|
-
case REACT_CONSUMER_TYPE:
|
|
242
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
243
|
-
case REACT_FORWARD_REF_TYPE:
|
|
244
|
-
var innerType = type.render;
|
|
245
|
-
return type = type.displayName, type || (type = innerType.displayName || innerType.name || "", type = type !== "" ? "ForwardRef(" + type + ")" : "ForwardRef"), type;
|
|
246
|
-
case REACT_MEMO_TYPE:
|
|
247
|
-
return innerType = type.displayName || null, innerType !== null ? innerType : getComponentNameFromType(type.type) || "Memo";
|
|
248
|
-
case REACT_LAZY_TYPE2:
|
|
249
|
-
innerType = type._payload, type = type._init;
|
|
250
|
-
try {
|
|
251
|
-
return getComponentNameFromType(type(innerType));
|
|
252
|
-
} catch {
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
return null;
|
|
256
|
-
}
|
|
257
|
-
var isArrayImpl = Array.isArray, ReactSharedInternals = React36.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ReactDOMSharedInternals = ReactDOM4.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, sharedNotPendingObject = {
|
|
258
|
-
pending: !1,
|
|
259
|
-
data: null,
|
|
260
|
-
method: null,
|
|
261
|
-
action: null
|
|
262
|
-
}, valueStack = [], index2 = -1;
|
|
263
|
-
function createCursor(defaultValue) {
|
|
264
|
-
return { current: defaultValue };
|
|
265
|
-
}
|
|
266
|
-
function pop(cursor) {
|
|
267
|
-
0 > index2 || (cursor.current = valueStack[index2], valueStack[index2] = null, index2--);
|
|
268
|
-
}
|
|
269
|
-
function push(cursor, value) {
|
|
270
|
-
index2++, valueStack[index2] = cursor.current, cursor.current = value;
|
|
271
|
-
}
|
|
272
|
-
var contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), rootInstanceStackCursor = createCursor(null), hostTransitionProviderCursor = createCursor(null);
|
|
273
|
-
function pushHostContainer(fiber, nextRootInstance) {
|
|
274
|
-
switch (push(rootInstanceStackCursor, nextRootInstance), push(contextFiberStackCursor, fiber), push(contextStackCursor, null), nextRootInstance.nodeType) {
|
|
275
|
-
case 9:
|
|
276
|
-
case 11:
|
|
277
|
-
fiber = (fiber = nextRootInstance.documentElement) && (fiber = fiber.namespaceURI) ? getOwnHostContext(fiber) : 0;
|
|
278
|
-
break;
|
|
279
|
-
default:
|
|
280
|
-
if (fiber = nextRootInstance.tagName, nextRootInstance = nextRootInstance.namespaceURI)
|
|
281
|
-
nextRootInstance = getOwnHostContext(nextRootInstance), fiber = getChildHostContextProd(nextRootInstance, fiber);
|
|
282
|
-
else
|
|
283
|
-
switch (fiber) {
|
|
284
|
-
case "svg":
|
|
285
|
-
fiber = 1;
|
|
286
|
-
break;
|
|
287
|
-
case "math":
|
|
288
|
-
fiber = 2;
|
|
289
|
-
break;
|
|
290
|
-
default:
|
|
291
|
-
fiber = 0;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
pop(contextStackCursor), push(contextStackCursor, fiber);
|
|
295
|
-
}
|
|
296
|
-
function popHostContainer() {
|
|
297
|
-
pop(contextStackCursor), pop(contextFiberStackCursor), pop(rootInstanceStackCursor);
|
|
298
|
-
}
|
|
299
|
-
function pushHostContext(fiber) {
|
|
300
|
-
var stateHook = fiber.memoizedState;
|
|
301
|
-
stateHook !== null && (HostTransitionContext._currentValue = stateHook.memoizedState, push(hostTransitionProviderCursor, fiber)), stateHook = contextStackCursor.current;
|
|
302
|
-
var JSCompiler_inline_result = getChildHostContextProd(stateHook, fiber.type);
|
|
303
|
-
stateHook !== JSCompiler_inline_result && (push(contextFiberStackCursor, fiber), push(contextStackCursor, JSCompiler_inline_result));
|
|
304
|
-
}
|
|
305
|
-
function popHostContext(fiber) {
|
|
306
|
-
contextFiberStackCursor.current === fiber && (pop(contextStackCursor), pop(contextFiberStackCursor)), hostTransitionProviderCursor.current === fiber && (pop(hostTransitionProviderCursor), HostTransitionContext._currentValue = sharedNotPendingObject);
|
|
307
|
-
}
|
|
308
|
-
var prefix, suffix;
|
|
309
|
-
function describeBuiltInComponentFrame(name) {
|
|
310
|
-
if (prefix === void 0)
|
|
311
|
-
try {
|
|
312
|
-
throw Error();
|
|
313
|
-
} catch (x) {
|
|
314
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
315
|
-
prefix = match && match[1] || "", suffix = -1 < x.stack.indexOf(`
|
|
316
|
-
at`) ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
317
|
-
}
|
|
318
|
-
return `
|
|
319
|
-
` + prefix + name + suffix;
|
|
320
|
-
}
|
|
321
|
-
var reentry = !1;
|
|
322
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
323
|
-
if (!fn || reentry) return "";
|
|
324
|
-
reentry = !0;
|
|
325
|
-
var previousPrepareStackTrace = Error.prepareStackTrace;
|
|
326
|
-
Error.prepareStackTrace = void 0;
|
|
327
|
-
try {
|
|
328
|
-
var RunInRootFrame = {
|
|
329
|
-
DetermineComponentFrameRoot: function() {
|
|
330
|
-
try {
|
|
331
|
-
if (construct) {
|
|
332
|
-
var Fake = function() {
|
|
333
|
-
throw Error();
|
|
334
|
-
};
|
|
335
|
-
if (Object.defineProperty(Fake.prototype, "props", {
|
|
336
|
-
set: function() {
|
|
337
|
-
throw Error();
|
|
338
|
-
}
|
|
339
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
340
|
-
try {
|
|
341
|
-
Reflect.construct(Fake, []);
|
|
342
|
-
} catch (x) {
|
|
343
|
-
var control = x;
|
|
344
|
-
}
|
|
345
|
-
Reflect.construct(fn, [], Fake);
|
|
346
|
-
} else {
|
|
347
|
-
try {
|
|
348
|
-
Fake.call();
|
|
349
|
-
} catch (x$1) {
|
|
350
|
-
control = x$1;
|
|
351
|
-
}
|
|
352
|
-
Fake = !1;
|
|
353
|
-
try {
|
|
354
|
-
var prevProps = Object.getOwnPropertyDescriptor(
|
|
355
|
-
fn.prototype,
|
|
356
|
-
"props"
|
|
357
|
-
);
|
|
358
|
-
Object.defineProperty(fn.prototype, "props", {
|
|
359
|
-
configurable: !0,
|
|
360
|
-
set: function() {
|
|
361
|
-
throw Error();
|
|
362
|
-
}
|
|
363
|
-
}), Fake = !0, new fn();
|
|
364
|
-
} finally {
|
|
365
|
-
Fake && (prevProps !== void 0 ? Object.defineProperty(fn.prototype, "props", prevProps) : delete fn.prototype.props);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
} else {
|
|
369
|
-
try {
|
|
370
|
-
throw Error();
|
|
371
|
-
} catch (x$2) {
|
|
372
|
-
control = x$2;
|
|
373
|
-
}
|
|
374
|
-
(Fake = fn()) && typeof Fake.catch == "function" && Fake.catch(function() {
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
} catch (sample) {
|
|
378
|
-
if (sample && control && typeof sample.stack == "string")
|
|
379
|
-
return [sample.stack, control.stack];
|
|
380
|
-
}
|
|
381
|
-
return [null, null];
|
|
382
|
-
}
|
|
383
|
-
};
|
|
384
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
385
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
|
386
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
387
|
-
"name"
|
|
388
|
-
);
|
|
389
|
-
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(
|
|
390
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
|
391
|
-
"name",
|
|
392
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
393
|
-
);
|
|
394
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
|
|
395
|
-
if (sampleStack && controlStack) {
|
|
396
|
-
var sampleLines = sampleStack.split(`
|
|
397
|
-
`), controlLines = controlStack.split(`
|
|
398
|
-
`);
|
|
399
|
-
for (namePropDescriptor = RunInRootFrame = 0; RunInRootFrame < sampleLines.length && !sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot"); )
|
|
400
|
-
RunInRootFrame++;
|
|
401
|
-
for (; namePropDescriptor < controlLines.length && !controlLines[namePropDescriptor].includes(
|
|
402
|
-
"DetermineComponentFrameRoot"
|
|
403
|
-
); )
|
|
404
|
-
namePropDescriptor++;
|
|
405
|
-
if (RunInRootFrame === sampleLines.length || namePropDescriptor === controlLines.length)
|
|
406
|
-
for (RunInRootFrame = sampleLines.length - 1, namePropDescriptor = controlLines.length - 1; 1 <= RunInRootFrame && 0 <= namePropDescriptor && sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]; )
|
|
407
|
-
namePropDescriptor--;
|
|
408
|
-
for (; 1 <= RunInRootFrame && 0 <= namePropDescriptor; RunInRootFrame--, namePropDescriptor--)
|
|
409
|
-
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
|
410
|
-
if (RunInRootFrame !== 1 || namePropDescriptor !== 1)
|
|
411
|
-
do
|
|
412
|
-
if (RunInRootFrame--, namePropDescriptor--, 0 > namePropDescriptor || sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
|
413
|
-
var frame = `
|
|
414
|
-
` + sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
|
415
|
-
return fn.displayName && frame.includes("<anonymous>") && (frame = frame.replace("<anonymous>", fn.displayName)), frame;
|
|
416
|
-
}
|
|
417
|
-
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
|
418
|
-
break;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
} finally {
|
|
422
|
-
reentry = !1, Error.prepareStackTrace = previousPrepareStackTrace;
|
|
423
|
-
}
|
|
424
|
-
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(previousPrepareStackTrace) : "";
|
|
425
|
-
}
|
|
426
|
-
function describeFiber(fiber, childFiber) {
|
|
427
|
-
switch (fiber.tag) {
|
|
428
|
-
case 26:
|
|
429
|
-
case 27:
|
|
430
|
-
case 5:
|
|
431
|
-
return describeBuiltInComponentFrame(fiber.type);
|
|
432
|
-
case 16:
|
|
433
|
-
return describeBuiltInComponentFrame("Lazy");
|
|
434
|
-
case 13:
|
|
435
|
-
return fiber.child !== childFiber && childFiber !== null ? describeBuiltInComponentFrame("Suspense Fallback") : describeBuiltInComponentFrame("Suspense");
|
|
436
|
-
case 19:
|
|
437
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
438
|
-
case 0:
|
|
439
|
-
case 15:
|
|
440
|
-
return describeNativeComponentFrame(fiber.type, !1);
|
|
441
|
-
case 11:
|
|
442
|
-
return describeNativeComponentFrame(fiber.type.render, !1);
|
|
443
|
-
case 1:
|
|
444
|
-
return describeNativeComponentFrame(fiber.type, !0);
|
|
445
|
-
case 31:
|
|
446
|
-
return describeBuiltInComponentFrame("Activity");
|
|
447
|
-
case 30:
|
|
448
|
-
return describeBuiltInComponentFrame("ViewTransition");
|
|
449
|
-
default:
|
|
450
|
-
return "";
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
function getStackByFiberInDevAndProd(workInProgress2) {
|
|
454
|
-
try {
|
|
455
|
-
var info = "", previous = null;
|
|
456
|
-
do
|
|
457
|
-
info += describeFiber(workInProgress2, previous), previous = workInProgress2, workInProgress2 = workInProgress2.return;
|
|
458
|
-
while (workInProgress2);
|
|
459
|
-
return info;
|
|
460
|
-
} catch (x) {
|
|
461
|
-
return `
|
|
462
|
-
Error generating stack: ` + x.message + `
|
|
463
|
-
` + x.stack;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, shouldYield = Scheduler.unstable_shouldYield, requestPaint = Scheduler.unstable_requestPaint, now = Scheduler.unstable_now, getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel, ImmediatePriority = Scheduler.unstable_ImmediatePriority, UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null;
|
|
467
|
-
function setIsStrictModeForDevtools(newIsStrictMode) {
|
|
468
|
-
if (typeof log$1 == "function" && unstable_setDisableYieldValue(newIsStrictMode), injectedHook && typeof injectedHook.setStrictMode == "function")
|
|
469
|
-
try {
|
|
470
|
-
injectedHook.setStrictMode(rendererID, newIsStrictMode);
|
|
471
|
-
} catch {
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2;
|
|
475
|
-
function clz32Fallback(x) {
|
|
476
|
-
return x >>>= 0, x === 0 ? 32 : 31 - (log(x) / LN2 | 0) | 0;
|
|
477
|
-
}
|
|
478
|
-
var nextTransitionUpdateLane = 256, nextTransitionDeferredLane = 262144, nextRetryLane = 4194304;
|
|
479
|
-
function getHighestPriorityLanes(lanes) {
|
|
480
|
-
var pendingSyncLanes = lanes & 42;
|
|
481
|
-
if (pendingSyncLanes !== 0) return pendingSyncLanes;
|
|
482
|
-
switch (lanes & -lanes) {
|
|
483
|
-
case 1:
|
|
484
|
-
return 1;
|
|
485
|
-
case 2:
|
|
486
|
-
return 2;
|
|
487
|
-
case 4:
|
|
488
|
-
return 4;
|
|
489
|
-
case 8:
|
|
490
|
-
return 8;
|
|
491
|
-
case 16:
|
|
492
|
-
return 16;
|
|
493
|
-
case 32:
|
|
494
|
-
return 32;
|
|
495
|
-
case 64:
|
|
496
|
-
return 64;
|
|
497
|
-
case 128:
|
|
498
|
-
return 128;
|
|
499
|
-
case 256:
|
|
500
|
-
case 512:
|
|
501
|
-
case 1024:
|
|
502
|
-
case 2048:
|
|
503
|
-
case 4096:
|
|
504
|
-
case 8192:
|
|
505
|
-
case 16384:
|
|
506
|
-
case 32768:
|
|
507
|
-
case 65536:
|
|
508
|
-
case 131072:
|
|
509
|
-
return lanes & -lanes;
|
|
510
|
-
case 262144:
|
|
511
|
-
case 524288:
|
|
512
|
-
case 1048576:
|
|
513
|
-
case 2097152:
|
|
514
|
-
return lanes & 3932160;
|
|
515
|
-
case 4194304:
|
|
516
|
-
case 8388608:
|
|
517
|
-
case 16777216:
|
|
518
|
-
case 33554432:
|
|
519
|
-
return lanes & 62914560;
|
|
520
|
-
case 67108864:
|
|
521
|
-
return 67108864;
|
|
522
|
-
case 134217728:
|
|
523
|
-
return 134217728;
|
|
524
|
-
case 268435456:
|
|
525
|
-
return 268435456;
|
|
526
|
-
case 536870912:
|
|
527
|
-
return 536870912;
|
|
528
|
-
case 1073741824:
|
|
529
|
-
return 0;
|
|
530
|
-
default:
|
|
531
|
-
return lanes;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
function getNextLanes(root2, wipLanes, rootHasPendingCommit) {
|
|
535
|
-
var pendingLanes = root2.pendingLanes;
|
|
536
|
-
if (pendingLanes === 0) return 0;
|
|
537
|
-
var nextLanes = 0, suspendedLanes = root2.suspendedLanes, pingedLanes = root2.pingedLanes;
|
|
538
|
-
root2 = root2.warmLanes;
|
|
539
|
-
var nonIdlePendingLanes = pendingLanes & 134217727;
|
|
540
|
-
return nonIdlePendingLanes !== 0 ? (pendingLanes = nonIdlePendingLanes & ~suspendedLanes, pendingLanes !== 0 ? nextLanes = getHighestPriorityLanes(pendingLanes) : (pingedLanes &= nonIdlePendingLanes, pingedLanes !== 0 ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = nonIdlePendingLanes & ~root2, rootHasPendingCommit !== 0 && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))))) : (nonIdlePendingLanes = pendingLanes & ~suspendedLanes, nonIdlePendingLanes !== 0 ? nextLanes = getHighestPriorityLanes(nonIdlePendingLanes) : pingedLanes !== 0 ? nextLanes = getHighestPriorityLanes(pingedLanes) : rootHasPendingCommit || (rootHasPendingCommit = pendingLanes & ~root2, rootHasPendingCommit !== 0 && (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))), nextLanes === 0 ? 0 : wipLanes !== 0 && wipLanes !== nextLanes && (wipLanes & suspendedLanes) === 0 && (suspendedLanes = nextLanes & -nextLanes, rootHasPendingCommit = wipLanes & -wipLanes, suspendedLanes >= rootHasPendingCommit || suspendedLanes === 32 && (rootHasPendingCommit & 4194048) !== 0) ? wipLanes : nextLanes;
|
|
541
|
-
}
|
|
542
|
-
function checkIfRootIsPrerendering(root2, renderLanes2) {
|
|
543
|
-
return (root2.pendingLanes & ~(root2.suspendedLanes & ~root2.pingedLanes) & renderLanes2) === 0;
|
|
544
|
-
}
|
|
545
|
-
function getEntangledLanes(root2, renderLanes2) {
|
|
546
|
-
(renderLanes2 & 8) !== 0 && (renderLanes2 |= renderLanes2 & 32);
|
|
547
|
-
var allEntangledLanes = root2.entangledLanes;
|
|
548
|
-
if (allEntangledLanes !== 0)
|
|
549
|
-
for (root2 = root2.entanglements, allEntangledLanes &= renderLanes2; 0 < allEntangledLanes; ) {
|
|
550
|
-
var index$4 = 31 - clz32(allEntangledLanes), lane = 1 << index$4;
|
|
551
|
-
renderLanes2 |= root2[index$4], allEntangledLanes &= ~lane;
|
|
552
|
-
}
|
|
553
|
-
return renderLanes2;
|
|
554
|
-
}
|
|
555
|
-
function computeExpirationTime(lane, currentTime) {
|
|
556
|
-
switch (lane) {
|
|
557
|
-
case 1:
|
|
558
|
-
case 2:
|
|
559
|
-
case 4:
|
|
560
|
-
case 8:
|
|
561
|
-
case 64:
|
|
562
|
-
return currentTime + 250;
|
|
563
|
-
case 16:
|
|
564
|
-
case 32:
|
|
565
|
-
case 128:
|
|
566
|
-
case 256:
|
|
567
|
-
case 512:
|
|
568
|
-
case 1024:
|
|
569
|
-
case 2048:
|
|
570
|
-
case 4096:
|
|
571
|
-
case 8192:
|
|
572
|
-
case 16384:
|
|
573
|
-
case 32768:
|
|
574
|
-
case 65536:
|
|
575
|
-
case 131072:
|
|
576
|
-
case 262144:
|
|
577
|
-
case 524288:
|
|
578
|
-
case 1048576:
|
|
579
|
-
case 2097152:
|
|
580
|
-
return currentTime + 5e3;
|
|
581
|
-
case 4194304:
|
|
582
|
-
case 8388608:
|
|
583
|
-
case 16777216:
|
|
584
|
-
case 33554432:
|
|
585
|
-
return -1;
|
|
586
|
-
case 67108864:
|
|
587
|
-
case 134217728:
|
|
588
|
-
case 268435456:
|
|
589
|
-
case 536870912:
|
|
590
|
-
case 1073741824:
|
|
591
|
-
return -1;
|
|
592
|
-
default:
|
|
593
|
-
return -1;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
function claimNextRetryLane() {
|
|
597
|
-
var lane = nextRetryLane;
|
|
598
|
-
return nextRetryLane <<= 1, (nextRetryLane & 62914560) === 0 && (nextRetryLane = 4194304), lane;
|
|
599
|
-
}
|
|
600
|
-
function createLaneMap(initial) {
|
|
601
|
-
for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);
|
|
602
|
-
return laneMap;
|
|
603
|
-
}
|
|
604
|
-
function markRootUpdated$1(root2, updateLane) {
|
|
605
|
-
root2.pendingLanes |= updateLane, updateLane !== 268435456 && (root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0);
|
|
606
|
-
}
|
|
607
|
-
function markRootFinished(root2, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes) {
|
|
608
|
-
var previouslyPendingLanes = root2.pendingLanes;
|
|
609
|
-
root2.pendingLanes = remainingLanes, root2.suspendedLanes = 0, root2.pingedLanes = 0, root2.warmLanes = 0, root2.expiredLanes &= remainingLanes, root2.entangledLanes &= remainingLanes, root2.errorRecoveryDisabledLanes &= remainingLanes, root2.shellSuspendCounter = 0;
|
|
610
|
-
var entanglements = root2.entanglements, expirationTimes = root2.expirationTimes, hiddenUpdates = root2.hiddenUpdates;
|
|
611
|
-
for (remainingLanes = previouslyPendingLanes & ~remainingLanes; 0 < remainingLanes; ) {
|
|
612
|
-
var index$7 = 31 - clz32(remainingLanes), lane = 1 << index$7;
|
|
613
|
-
entanglements[index$7] = 0, expirationTimes[index$7] = -1;
|
|
614
|
-
var hiddenUpdatesForLane = hiddenUpdates[index$7];
|
|
615
|
-
if (hiddenUpdatesForLane !== null)
|
|
616
|
-
for (hiddenUpdates[index$7] = null, index$7 = 0; index$7 < hiddenUpdatesForLane.length; index$7++) {
|
|
617
|
-
var update = hiddenUpdatesForLane[index$7];
|
|
618
|
-
update !== null && (update.lane &= -536870913);
|
|
619
|
-
}
|
|
620
|
-
remainingLanes &= ~lane;
|
|
621
|
-
}
|
|
622
|
-
spawnedLane !== 0 && markSpawnedDeferredLane(root2, spawnedLane, 0), suspendedRetryLanes !== 0 && updatedLanes === 0 && root2.tag !== 0 && (root2.suspendedLanes |= suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
|
|
623
|
-
}
|
|
624
|
-
function markSpawnedDeferredLane(root2, spawnedLane, entangledLanes) {
|
|
625
|
-
root2.pendingLanes |= spawnedLane, root2.suspendedLanes &= ~spawnedLane;
|
|
626
|
-
var spawnedLaneIndex = 31 - clz32(spawnedLane);
|
|
627
|
-
root2.entangledLanes |= spawnedLane, root2.entanglements[spawnedLaneIndex] = root2.entanglements[spawnedLaneIndex] | 1073741824 | entangledLanes & 261930;
|
|
628
|
-
}
|
|
629
|
-
function markRootEntangled(root2, entangledLanes) {
|
|
630
|
-
var rootEntangledLanes = root2.entangledLanes |= entangledLanes;
|
|
631
|
-
for (root2 = root2.entanglements; rootEntangledLanes; ) {
|
|
632
|
-
var index$8 = 31 - clz32(rootEntangledLanes), lane = 1 << index$8;
|
|
633
|
-
lane & entangledLanes | root2[index$8] & entangledLanes && (root2[index$8] |= entangledLanes), rootEntangledLanes &= ~lane;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
function getBumpedLaneForHydration(root2, renderLanes2) {
|
|
637
|
-
var renderLane = renderLanes2 & -renderLanes2;
|
|
638
|
-
return renderLane = (renderLane & 42) !== 0 ? 1 : getBumpedLaneForHydrationByLane(renderLane), (renderLane & (root2.suspendedLanes | renderLanes2)) !== 0 ? 0 : renderLane;
|
|
639
|
-
}
|
|
640
|
-
function getBumpedLaneForHydrationByLane(lane) {
|
|
641
|
-
switch (lane) {
|
|
642
|
-
case 2:
|
|
643
|
-
lane = 1;
|
|
644
|
-
break;
|
|
645
|
-
case 8:
|
|
646
|
-
lane = 4;
|
|
647
|
-
break;
|
|
648
|
-
case 32:
|
|
649
|
-
lane = 16;
|
|
650
|
-
break;
|
|
651
|
-
case 256:
|
|
652
|
-
case 512:
|
|
653
|
-
case 1024:
|
|
654
|
-
case 2048:
|
|
655
|
-
case 4096:
|
|
656
|
-
case 8192:
|
|
657
|
-
case 16384:
|
|
658
|
-
case 32768:
|
|
659
|
-
case 65536:
|
|
660
|
-
case 131072:
|
|
661
|
-
case 262144:
|
|
662
|
-
case 524288:
|
|
663
|
-
case 1048576:
|
|
664
|
-
case 2097152:
|
|
665
|
-
case 4194304:
|
|
666
|
-
case 8388608:
|
|
667
|
-
case 16777216:
|
|
668
|
-
case 33554432:
|
|
669
|
-
lane = 128;
|
|
670
|
-
break;
|
|
671
|
-
case 268435456:
|
|
672
|
-
lane = 134217728;
|
|
673
|
-
break;
|
|
674
|
-
default:
|
|
675
|
-
lane = 0;
|
|
676
|
-
}
|
|
677
|
-
return lane;
|
|
678
|
-
}
|
|
679
|
-
function lanesToEventPriority(lanes) {
|
|
680
|
-
return lanes &= -lanes, 2 < lanes ? 8 < lanes ? (lanes & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
|
|
681
|
-
}
|
|
682
|
-
function resolveUpdatePriority() {
|
|
683
|
-
var updatePriority = ReactDOMSharedInternals.p;
|
|
684
|
-
return updatePriority !== 0 ? updatePriority : (updatePriority = window.event, updatePriority === void 0 ? 32 : getEventPriority(updatePriority.type));
|
|
685
|
-
}
|
|
686
|
-
function runWithPriority(priority, fn) {
|
|
687
|
-
var previousPriority = ReactDOMSharedInternals.p;
|
|
688
|
-
try {
|
|
689
|
-
return ReactDOMSharedInternals.p = priority, fn();
|
|
690
|
-
} finally {
|
|
691
|
-
ReactDOMSharedInternals.p = previousPriority;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
var randomKey = Math.random().toString(36).slice(2), internalInstanceKey = "__reactFiber$" + randomKey, internalPropsKey = "__reactProps$" + randomKey, internalContainerInstanceKey = "__reactContainer$" + randomKey, internalEventHandlersKey = "__reactEvents$" + randomKey, internalEventHandlerListenersKey = "__reactListeners$" + randomKey, internalEventHandlesSetKey = "__reactHandles$" + randomKey, internalRootNodeResourcesKey = "__reactResources$" + randomKey, internalHoistableMarker = "__reactMarker$" + randomKey, internalLoadPendingKey = "__reactLoad$" + randomKey;
|
|
695
|
-
function detachDeletedInstance(node) {
|
|
696
|
-
delete node[internalInstanceKey], delete node[internalPropsKey], delete node[internalEventHandlerListenersKey], delete node[internalEventHandlesSetKey];
|
|
697
|
-
}
|
|
698
|
-
function getClosestInstanceFromNode(targetNode) {
|
|
699
|
-
var targetInst;
|
|
700
|
-
if (targetInst = targetNode[internalInstanceKey]) return targetInst;
|
|
701
|
-
for (var parentNode = targetNode.parentNode; parentNode; ) {
|
|
702
|
-
if (targetInst = parentNode[internalContainerInstanceKey] || parentNode[internalInstanceKey]) {
|
|
703
|
-
if (parentNode = targetInst.alternate, targetInst.child !== null || parentNode !== null && parentNode.child !== null)
|
|
704
|
-
for (targetNode = getParentHydrationBoundary(targetNode); targetNode !== null; ) {
|
|
705
|
-
if (parentNode = targetNode[internalInstanceKey]) return parentNode;
|
|
706
|
-
targetNode = getParentHydrationBoundary(targetNode);
|
|
707
|
-
}
|
|
708
|
-
return targetInst;
|
|
709
|
-
}
|
|
710
|
-
targetNode = parentNode, parentNode = targetNode.parentNode;
|
|
711
|
-
}
|
|
712
|
-
return null;
|
|
713
|
-
}
|
|
714
|
-
function getInstanceFromNode(node) {
|
|
715
|
-
if (node = node[internalInstanceKey] || node[internalContainerInstanceKey]) {
|
|
716
|
-
var tag = node.tag;
|
|
717
|
-
if (tag === 5 || tag === 6 || tag === 13 || tag === 31 || tag === 26 || tag === 27 || tag === 3)
|
|
718
|
-
return node;
|
|
719
|
-
}
|
|
720
|
-
return null;
|
|
721
|
-
}
|
|
722
|
-
function getNodeFromInstance(inst) {
|
|
723
|
-
var tag = inst.tag;
|
|
724
|
-
if (tag === 5 || tag === 26 || tag === 27 || tag === 6) return inst.stateNode;
|
|
725
|
-
throw Error(formatProdErrorMessage(33));
|
|
726
|
-
}
|
|
727
|
-
function getResourcesFromRoot(root2) {
|
|
728
|
-
var resources = root2[internalRootNodeResourcesKey];
|
|
729
|
-
return resources || (resources = root2[internalRootNodeResourcesKey] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), resources;
|
|
730
|
-
}
|
|
731
|
-
function markNodeAsHoistable(node) {
|
|
732
|
-
node[internalHoistableMarker] = !0;
|
|
733
|
-
}
|
|
734
|
-
function clearPendingLoadOnNode(node) {
|
|
735
|
-
node[internalLoadPendingKey] = void 0;
|
|
736
|
-
}
|
|
737
|
-
var allNativeEvents = /* @__PURE__ */ new Set(), registrationNameDependencies = {};
|
|
738
|
-
function registerTwoPhaseEvent(registrationName, dependencies) {
|
|
739
|
-
registerDirectEvent(registrationName, dependencies), registerDirectEvent(registrationName + "Capture", dependencies);
|
|
740
|
-
}
|
|
741
|
-
function registerDirectEvent(registrationName, dependencies) {
|
|
742
|
-
for (registrationNameDependencies[registrationName] = dependencies, registrationName = 0; registrationName < dependencies.length; registrationName++)
|
|
743
|
-
allNativeEvents.add(dependencies[registrationName]);
|
|
744
|
-
}
|
|
745
|
-
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
|
|
746
|
-
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
747
|
-
), illegalAttributeNameCache = {}, validatedAttributeNameCache = {};
|
|
748
|
-
function isAttributeNameSafe(attributeName) {
|
|
749
|
-
return hasOwnProperty.call(validatedAttributeNameCache, attributeName) ? !0 : hasOwnProperty.call(illegalAttributeNameCache, attributeName) ? !1 : VALID_ATTRIBUTE_NAME_REGEX.test(attributeName) ? validatedAttributeNameCache[attributeName] = !0 : (illegalAttributeNameCache[attributeName] = !0, !1);
|
|
750
|
-
}
|
|
751
|
-
var viewTransitionMutationContext = !1;
|
|
752
|
-
function pushMutationContext() {
|
|
753
|
-
var prev = viewTransitionMutationContext;
|
|
754
|
-
return viewTransitionMutationContext = !1, prev;
|
|
755
|
-
}
|
|
756
|
-
function setValueForAttribute(node, name, value) {
|
|
757
|
-
if (isAttributeNameSafe(name))
|
|
758
|
-
if (value === null) node.removeAttribute(name);
|
|
759
|
-
else {
|
|
760
|
-
switch (typeof value) {
|
|
761
|
-
case "undefined":
|
|
762
|
-
case "function":
|
|
763
|
-
case "symbol":
|
|
764
|
-
node.removeAttribute(name);
|
|
765
|
-
return;
|
|
766
|
-
case "boolean":
|
|
767
|
-
var prefix$10 = name.toLowerCase().slice(0, 5);
|
|
768
|
-
if (prefix$10 !== "data-" && prefix$10 !== "aria-") {
|
|
769
|
-
node.removeAttribute(name);
|
|
770
|
-
return;
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
node.setAttribute(name, value);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
function setValueForKnownAttribute(node, name, value) {
|
|
777
|
-
if (value === null) node.removeAttribute(name);
|
|
778
|
-
else {
|
|
779
|
-
switch (typeof value) {
|
|
780
|
-
case "undefined":
|
|
781
|
-
case "function":
|
|
782
|
-
case "symbol":
|
|
783
|
-
case "boolean":
|
|
784
|
-
node.removeAttribute(name);
|
|
785
|
-
return;
|
|
786
|
-
}
|
|
787
|
-
node.setAttribute(name, value);
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
function setValueForNamespacedAttribute(node, namespace, name, value) {
|
|
791
|
-
if (value === null) node.removeAttribute(name);
|
|
792
|
-
else {
|
|
793
|
-
switch (typeof value) {
|
|
794
|
-
case "undefined":
|
|
795
|
-
case "function":
|
|
796
|
-
case "symbol":
|
|
797
|
-
case "boolean":
|
|
798
|
-
node.removeAttribute(name);
|
|
799
|
-
return;
|
|
800
|
-
}
|
|
801
|
-
node.setAttributeNS(namespace, name, value);
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
function getToStringValue(value) {
|
|
805
|
-
switch (typeof value) {
|
|
806
|
-
case "bigint":
|
|
807
|
-
case "boolean":
|
|
808
|
-
case "number":
|
|
809
|
-
case "string":
|
|
810
|
-
case "undefined":
|
|
811
|
-
return value;
|
|
812
|
-
case "object":
|
|
813
|
-
return value;
|
|
814
|
-
default:
|
|
815
|
-
return "";
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
function isCheckable(elem) {
|
|
819
|
-
var type = elem.type;
|
|
820
|
-
return (elem = elem.nodeName) && elem.toLowerCase() === "input" && (type === "checkbox" || type === "radio");
|
|
821
|
-
}
|
|
822
|
-
function trackValueOnNode(node, valueField, currentValue) {
|
|
823
|
-
var descriptor = Object.getOwnPropertyDescriptor(
|
|
824
|
-
node.constructor.prototype,
|
|
825
|
-
valueField
|
|
826
|
-
);
|
|
827
|
-
if (!node.hasOwnProperty(valueField) && typeof descriptor < "u" && typeof descriptor.get == "function" && typeof descriptor.set == "function") {
|
|
828
|
-
var get = descriptor.get, set = descriptor.set;
|
|
829
|
-
return Object.defineProperty(node, valueField, {
|
|
830
|
-
configurable: !0,
|
|
831
|
-
get: function() {
|
|
832
|
-
return get.call(this);
|
|
833
|
-
},
|
|
834
|
-
set: function(value) {
|
|
835
|
-
currentValue = "" + value, set.call(this, value);
|
|
836
|
-
}
|
|
837
|
-
}), Object.defineProperty(node, valueField, {
|
|
838
|
-
enumerable: descriptor.enumerable
|
|
839
|
-
}), {
|
|
840
|
-
getValue: function() {
|
|
841
|
-
return currentValue;
|
|
842
|
-
},
|
|
843
|
-
setValue: function(value) {
|
|
844
|
-
currentValue = "" + value;
|
|
845
|
-
},
|
|
846
|
-
stopTracking: function() {
|
|
847
|
-
node._valueTracker = null, delete node[valueField];
|
|
848
|
-
}
|
|
849
|
-
};
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
function track(node) {
|
|
853
|
-
if (!node._valueTracker) {
|
|
854
|
-
var valueField = isCheckable(node) ? "checked" : "value";
|
|
855
|
-
node._valueTracker = trackValueOnNode(
|
|
856
|
-
node,
|
|
857
|
-
valueField,
|
|
858
|
-
"" + node[valueField]
|
|
859
|
-
);
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
function updateValueIfChanged(node) {
|
|
863
|
-
if (!node) return !1;
|
|
864
|
-
var tracker = node._valueTracker;
|
|
865
|
-
if (!tracker) return !0;
|
|
866
|
-
var lastValue = tracker.getValue(), value = "";
|
|
867
|
-
return node && (value = isCheckable(node) ? node.checked ? "true" : "false" : node.value), node = value, node !== lastValue ? (tracker.setValue(node), !0) : !1;
|
|
868
|
-
}
|
|
869
|
-
var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g;
|
|
870
|
-
function escapeSelectorAttributeValueInsideDoubleQuotes(value) {
|
|
871
|
-
return value.replace(
|
|
872
|
-
escapeSelectorAttributeValueInsideDoubleQuotesRegex,
|
|
873
|
-
function(ch) {
|
|
874
|
-
return "\\" + ch.charCodeAt(0).toString(16) + " ";
|
|
875
|
-
}
|
|
876
|
-
);
|
|
877
|
-
}
|
|
878
|
-
function updateInput(element, value, defaultValue, lastDefaultValue, checked, defaultChecked, type, name) {
|
|
879
|
-
element.name = "", type != null && typeof type != "function" && typeof type != "symbol" && typeof type != "boolean" ? element.type = type : element.removeAttribute("type"), value != null ? type === "number" ? (value === 0 && element.value === "" || element.value != value) && (element.value = "" + getToStringValue(value)) : element.value !== "" + getToStringValue(value) && (element.value = "" + getToStringValue(value)) : type !== "submit" && type !== "reset" || element.removeAttribute("value"), value != null ? type === "number" && element.value == value ? setDefaultValue(element, getToStringValue(element.value)) : setDefaultValue(element, getToStringValue(value)) : defaultValue != null ? setDefaultValue(element, getToStringValue(defaultValue)) : lastDefaultValue != null && element.removeAttribute("value"), checked == null && defaultChecked != null && (element.defaultChecked = !!defaultChecked), checked != null && (element.checked = checked && typeof checked != "function" && typeof checked != "symbol"), name != null && typeof name != "function" && typeof name != "symbol" && typeof name != "boolean" ? element.name = "" + getToStringValue(name) : element.removeAttribute("name");
|
|
880
|
-
}
|
|
881
|
-
function initInput(element, value, defaultValue, checked, defaultChecked, type, name, isHydrating2) {
|
|
882
|
-
if (type != null && typeof type != "function" && typeof type != "symbol" && typeof type != "boolean" && (element.type = type), value != null || defaultValue != null) {
|
|
883
|
-
if (!(type !== "submit" && type !== "reset" || value != null)) {
|
|
884
|
-
track(element);
|
|
885
|
-
return;
|
|
886
|
-
}
|
|
887
|
-
defaultValue = defaultValue != null ? "" + getToStringValue(defaultValue) : "", value = value != null ? "" + getToStringValue(value) : defaultValue, isHydrating2 || value === element.value || (element.value = value), element.defaultValue = value;
|
|
888
|
-
}
|
|
889
|
-
checked = checked ?? defaultChecked, checked = typeof checked != "function" && typeof checked != "symbol" && !!checked, element.checked = isHydrating2 ? element.checked : !!checked, element.defaultChecked = !!checked, name != null && typeof name != "function" && typeof name != "symbol" && typeof name != "boolean" && (element.name = name), track(element);
|
|
890
|
-
}
|
|
891
|
-
function setDefaultValue(node, value) {
|
|
892
|
-
node.defaultValue !== "" + value && (node.defaultValue = "" + value);
|
|
893
|
-
}
|
|
894
|
-
function updateOptions(node, multiple, propValue, setDefaultSelected) {
|
|
895
|
-
if (node = node.options, multiple) {
|
|
896
|
-
multiple = {};
|
|
897
|
-
for (var i = 0; i < propValue.length; i++)
|
|
898
|
-
multiple["$" + propValue[i]] = !0;
|
|
899
|
-
for (propValue = 0; propValue < node.length; propValue++)
|
|
900
|
-
i = multiple.hasOwnProperty("$" + node[propValue].value), node[propValue].selected !== i && (node[propValue].selected = i), i && setDefaultSelected && (node[propValue].defaultSelected = !0);
|
|
901
|
-
} else {
|
|
902
|
-
for (propValue = "" + getToStringValue(propValue), multiple = null, i = 0; i < node.length; i++) {
|
|
903
|
-
if (node[i].value === propValue) {
|
|
904
|
-
node[i].selected = !0, setDefaultSelected && (node[i].defaultSelected = !0);
|
|
905
|
-
return;
|
|
906
|
-
}
|
|
907
|
-
multiple !== null || node[i].disabled || (multiple = node[i]);
|
|
908
|
-
}
|
|
909
|
-
multiple !== null && (multiple.selected = !0);
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
function updateTextarea(element, value, defaultValue) {
|
|
913
|
-
if (value != null && (value = "" + getToStringValue(value), value !== element.value && (element.value = value), defaultValue == null)) {
|
|
914
|
-
element.defaultValue !== value && (element.defaultValue = value);
|
|
915
|
-
return;
|
|
916
|
-
}
|
|
917
|
-
element.defaultValue = defaultValue != null ? "" + getToStringValue(defaultValue) : "";
|
|
918
|
-
}
|
|
919
|
-
function initTextarea(element, value, defaultValue, children) {
|
|
920
|
-
if (value == null) {
|
|
921
|
-
if (children != null) {
|
|
922
|
-
if (defaultValue != null) throw Error(formatProdErrorMessage(92));
|
|
923
|
-
if (isArrayImpl(children)) {
|
|
924
|
-
if (1 < children.length) throw Error(formatProdErrorMessage(93));
|
|
925
|
-
children = children[0];
|
|
926
|
-
}
|
|
927
|
-
defaultValue = children;
|
|
928
|
-
}
|
|
929
|
-
defaultValue == null && (defaultValue = ""), value = defaultValue;
|
|
930
|
-
}
|
|
931
|
-
defaultValue = getToStringValue(value), element.defaultValue = defaultValue, children = element.textContent, children === defaultValue && children !== "" && children !== null && (element.value = children), track(element);
|
|
932
|
-
}
|
|
933
|
-
function setTextContent(node, text) {
|
|
934
|
-
if (text) {
|
|
935
|
-
var firstChild = node.firstChild;
|
|
936
|
-
if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {
|
|
937
|
-
firstChild.nodeValue = text;
|
|
938
|
-
return;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
node.textContent = text;
|
|
942
|
-
}
|
|
943
|
-
var unitlessNumbers = new Set(
|
|
944
|
-
"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
|
|
945
|
-
" "
|
|
946
|
-
)
|
|
947
|
-
);
|
|
948
|
-
function setValueForStyle(style2, styleName, value) {
|
|
949
|
-
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
950
|
-
value == null || typeof value == "boolean" || value === "" ? isCustomProperty ? style2.setProperty(styleName, "") : styleName === "float" ? style2.cssFloat = "" : style2[styleName] = "" : isCustomProperty ? style2.setProperty(styleName, value) : typeof value != "number" || value === 0 || unitlessNumbers.has(styleName) ? styleName === "float" ? style2.cssFloat = value : style2[styleName] = ("" + value).trim() : style2[styleName] = value + "px";
|
|
951
|
-
}
|
|
952
|
-
function setValueForStyles(node, styles, prevStyles) {
|
|
953
|
-
if (styles != null && typeof styles != "object")
|
|
954
|
-
throw Error(formatProdErrorMessage(62));
|
|
955
|
-
if (node = node.style, prevStyles != null) {
|
|
956
|
-
for (var styleName in prevStyles)
|
|
957
|
-
!prevStyles.hasOwnProperty(styleName) || styles != null && styles.hasOwnProperty(styleName) || (styleName.indexOf("--") === 0 ? node.setProperty(styleName, "") : styleName === "float" ? node.cssFloat = "" : node[styleName] = "", viewTransitionMutationContext = !0);
|
|
958
|
-
for (var styleName$16 in styles)
|
|
959
|
-
styleName = styles[styleName$16], styles.hasOwnProperty(styleName$16) && prevStyles[styleName$16] !== styleName && (setValueForStyle(node, styleName$16, styleName), viewTransitionMutationContext = !0);
|
|
960
|
-
} else
|
|
961
|
-
for (var styleName$17 in styles)
|
|
962
|
-
styles.hasOwnProperty(styleName$17) && setValueForStyle(node, styleName$17, styles[styleName$17]);
|
|
963
|
-
}
|
|
964
|
-
function isCustomElement(tagName) {
|
|
965
|
-
if (tagName.indexOf("-") === -1) return !1;
|
|
966
|
-
switch (tagName) {
|
|
967
|
-
case "annotation-xml":
|
|
968
|
-
case "color-profile":
|
|
969
|
-
case "font-face":
|
|
970
|
-
case "font-face-src":
|
|
971
|
-
case "font-face-uri":
|
|
972
|
-
case "font-face-format":
|
|
973
|
-
case "font-face-name":
|
|
974
|
-
case "missing-glyph":
|
|
975
|
-
return !1;
|
|
976
|
-
default:
|
|
977
|
-
return !0;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
var aliases = /* @__PURE__ */ new Map([
|
|
981
|
-
["acceptCharset", "accept-charset"],
|
|
982
|
-
["htmlFor", "for"],
|
|
983
|
-
["httpEquiv", "http-equiv"],
|
|
984
|
-
["crossOrigin", "crossorigin"],
|
|
985
|
-
["accentHeight", "accent-height"],
|
|
986
|
-
["alignmentBaseline", "alignment-baseline"],
|
|
987
|
-
["arabicForm", "arabic-form"],
|
|
988
|
-
["baselineShift", "baseline-shift"],
|
|
989
|
-
["capHeight", "cap-height"],
|
|
990
|
-
["clipPath", "clip-path"],
|
|
991
|
-
["clipRule", "clip-rule"],
|
|
992
|
-
["colorInterpolation", "color-interpolation"],
|
|
993
|
-
["colorInterpolationFilters", "color-interpolation-filters"],
|
|
994
|
-
["colorProfile", "color-profile"],
|
|
995
|
-
["colorRendering", "color-rendering"],
|
|
996
|
-
["dominantBaseline", "dominant-baseline"],
|
|
997
|
-
["enableBackground", "enable-background"],
|
|
998
|
-
["fillOpacity", "fill-opacity"],
|
|
999
|
-
["fillRule", "fill-rule"],
|
|
1000
|
-
["floodColor", "flood-color"],
|
|
1001
|
-
["floodOpacity", "flood-opacity"],
|
|
1002
|
-
["fontFamily", "font-family"],
|
|
1003
|
-
["fontSize", "font-size"],
|
|
1004
|
-
["fontSizeAdjust", "font-size-adjust"],
|
|
1005
|
-
["fontStretch", "font-stretch"],
|
|
1006
|
-
["fontStyle", "font-style"],
|
|
1007
|
-
["fontVariant", "font-variant"],
|
|
1008
|
-
["fontWeight", "font-weight"],
|
|
1009
|
-
["glyphName", "glyph-name"],
|
|
1010
|
-
["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
|
|
1011
|
-
["glyphOrientationVertical", "glyph-orientation-vertical"],
|
|
1012
|
-
["horizAdvX", "horiz-adv-x"],
|
|
1013
|
-
["horizOriginX", "horiz-origin-x"],
|
|
1014
|
-
["imageRendering", "image-rendering"],
|
|
1015
|
-
["letterSpacing", "letter-spacing"],
|
|
1016
|
-
["lightingColor", "lighting-color"],
|
|
1017
|
-
["markerEnd", "marker-end"],
|
|
1018
|
-
["markerMid", "marker-mid"],
|
|
1019
|
-
["markerStart", "marker-start"],
|
|
1020
|
-
["maskType", "mask-type"],
|
|
1021
|
-
["overlinePosition", "overline-position"],
|
|
1022
|
-
["overlineThickness", "overline-thickness"],
|
|
1023
|
-
["paintOrder", "paint-order"],
|
|
1024
|
-
["panose-1", "panose-1"],
|
|
1025
|
-
["pointerEvents", "pointer-events"],
|
|
1026
|
-
["renderingIntent", "rendering-intent"],
|
|
1027
|
-
["shapeRendering", "shape-rendering"],
|
|
1028
|
-
["stopColor", "stop-color"],
|
|
1029
|
-
["stopOpacity", "stop-opacity"],
|
|
1030
|
-
["strikethroughPosition", "strikethrough-position"],
|
|
1031
|
-
["strikethroughThickness", "strikethrough-thickness"],
|
|
1032
|
-
["strokeDasharray", "stroke-dasharray"],
|
|
1033
|
-
["strokeDashoffset", "stroke-dashoffset"],
|
|
1034
|
-
["strokeLinecap", "stroke-linecap"],
|
|
1035
|
-
["strokeLinejoin", "stroke-linejoin"],
|
|
1036
|
-
["strokeMiterlimit", "stroke-miterlimit"],
|
|
1037
|
-
["strokeOpacity", "stroke-opacity"],
|
|
1038
|
-
["strokeWidth", "stroke-width"],
|
|
1039
|
-
["textAnchor", "text-anchor"],
|
|
1040
|
-
["textDecoration", "text-decoration"],
|
|
1041
|
-
["textRendering", "text-rendering"],
|
|
1042
|
-
["transformOrigin", "transform-origin"],
|
|
1043
|
-
["underlinePosition", "underline-position"],
|
|
1044
|
-
["underlineThickness", "underline-thickness"],
|
|
1045
|
-
["unicodeBidi", "unicode-bidi"],
|
|
1046
|
-
["unicodeRange", "unicode-range"],
|
|
1047
|
-
["unitsPerEm", "units-per-em"],
|
|
1048
|
-
["vAlphabetic", "v-alphabetic"],
|
|
1049
|
-
["vHanging", "v-hanging"],
|
|
1050
|
-
["vIdeographic", "v-ideographic"],
|
|
1051
|
-
["vMathematical", "v-mathematical"],
|
|
1052
|
-
["vectorEffect", "vector-effect"],
|
|
1053
|
-
["vertAdvY", "vert-adv-y"],
|
|
1054
|
-
["vertOriginX", "vert-origin-x"],
|
|
1055
|
-
["vertOriginY", "vert-origin-y"],
|
|
1056
|
-
["wordSpacing", "word-spacing"],
|
|
1057
|
-
["writingMode", "writing-mode"],
|
|
1058
|
-
["xmlnsXlink", "xmlns:xlink"],
|
|
1059
|
-
["xHeight", "x-height"]
|
|
1060
|
-
]), isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
|
|
1061
|
-
function sanitizeURL(url) {
|
|
1062
|
-
return isJavaScriptProtocol.test("" + url) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : url;
|
|
1063
|
-
}
|
|
1064
|
-
function noop$1() {
|
|
1065
|
-
}
|
|
1066
|
-
var currentReplayingEvent = null;
|
|
1067
|
-
function getEventTarget(nativeEvent) {
|
|
1068
|
-
return nativeEvent = nativeEvent.target || nativeEvent.srcElement || window, nativeEvent.correspondingUseElement && (nativeEvent = nativeEvent.correspondingUseElement), nativeEvent.nodeType === 3 ? nativeEvent.parentNode : nativeEvent;
|
|
1069
|
-
}
|
|
1070
|
-
var restoreTarget = null, restoreQueue = null;
|
|
1071
|
-
function restoreStateOfTarget(target) {
|
|
1072
|
-
var internalInstance = getInstanceFromNode(target);
|
|
1073
|
-
if (internalInstance && (target = internalInstance.stateNode)) {
|
|
1074
|
-
var props = target[internalPropsKey] || null;
|
|
1075
|
-
a: switch (target = internalInstance.stateNode, internalInstance.type) {
|
|
1076
|
-
case "input":
|
|
1077
|
-
if (updateInput(
|
|
1078
|
-
target,
|
|
1079
|
-
props.value,
|
|
1080
|
-
props.defaultValue,
|
|
1081
|
-
props.defaultValue,
|
|
1082
|
-
props.checked,
|
|
1083
|
-
props.defaultChecked,
|
|
1084
|
-
props.type,
|
|
1085
|
-
props.name
|
|
1086
|
-
), internalInstance = props.name, props.type === "radio" && internalInstance != null) {
|
|
1087
|
-
for (props = target; props.parentNode; ) props = props.parentNode;
|
|
1088
|
-
for (props = props.querySelectorAll(
|
|
1089
|
-
'input[name="' + escapeSelectorAttributeValueInsideDoubleQuotes(
|
|
1090
|
-
"" + internalInstance
|
|
1091
|
-
) + '"][type="radio"]'
|
|
1092
|
-
), internalInstance = 0; internalInstance < props.length; internalInstance++) {
|
|
1093
|
-
var otherNode = props[internalInstance];
|
|
1094
|
-
if (otherNode !== target && otherNode.form === target.form) {
|
|
1095
|
-
var otherProps = otherNode[internalPropsKey] || null;
|
|
1096
|
-
if (!otherProps) throw Error(formatProdErrorMessage(90));
|
|
1097
|
-
updateInput(
|
|
1098
|
-
otherNode,
|
|
1099
|
-
otherProps.value,
|
|
1100
|
-
otherProps.defaultValue,
|
|
1101
|
-
otherProps.defaultValue,
|
|
1102
|
-
otherProps.checked,
|
|
1103
|
-
otherProps.defaultChecked,
|
|
1104
|
-
otherProps.type,
|
|
1105
|
-
otherProps.name
|
|
1106
|
-
);
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
for (internalInstance = 0; internalInstance < props.length; internalInstance++)
|
|
1110
|
-
otherNode = props[internalInstance], otherNode.form === target.form && updateValueIfChanged(otherNode);
|
|
1111
|
-
}
|
|
1112
|
-
break a;
|
|
1113
|
-
case "textarea":
|
|
1114
|
-
updateTextarea(target, props.value, props.defaultValue);
|
|
1115
|
-
break a;
|
|
1116
|
-
case "select":
|
|
1117
|
-
internalInstance = props.value, internalInstance != null && updateOptions(target, !!props.multiple, internalInstance, !1);
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
var isInsideEventHandler = !1;
|
|
1122
|
-
function batchedUpdates$1(fn, a, b) {
|
|
1123
|
-
if (isInsideEventHandler) return fn(a, b);
|
|
1124
|
-
isInsideEventHandler = !0;
|
|
1125
|
-
try {
|
|
1126
|
-
var JSCompiler_inline_result = fn(a);
|
|
1127
|
-
return JSCompiler_inline_result;
|
|
1128
|
-
} finally {
|
|
1129
|
-
if (isInsideEventHandler = !1, (restoreTarget !== null || restoreQueue !== null) && (flushSyncWork$1(), restoreTarget && (a = restoreTarget, fn = restoreQueue, restoreQueue = restoreTarget = null, restoreStateOfTarget(a), fn)))
|
|
1130
|
-
for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
function getListener(inst, registrationName) {
|
|
1134
|
-
var stateNode = inst.stateNode;
|
|
1135
|
-
if (stateNode === null) return null;
|
|
1136
|
-
var props = stateNode[internalPropsKey] || null;
|
|
1137
|
-
if (props === null) return null;
|
|
1138
|
-
stateNode = props[registrationName];
|
|
1139
|
-
a: switch (registrationName) {
|
|
1140
|
-
case "onClick":
|
|
1141
|
-
case "onClickCapture":
|
|
1142
|
-
case "onDoubleClick":
|
|
1143
|
-
case "onDoubleClickCapture":
|
|
1144
|
-
case "onMouseDown":
|
|
1145
|
-
case "onMouseDownCapture":
|
|
1146
|
-
case "onMouseMove":
|
|
1147
|
-
case "onMouseMoveCapture":
|
|
1148
|
-
case "onMouseUp":
|
|
1149
|
-
case "onMouseUpCapture":
|
|
1150
|
-
case "onMouseEnter":
|
|
1151
|
-
(props = !props.disabled) || (inst = inst.type, props = !(inst === "button" || inst === "input" || inst === "select" || inst === "textarea")), inst = !props;
|
|
1152
|
-
break a;
|
|
1153
|
-
default:
|
|
1154
|
-
inst = !1;
|
|
1155
|
-
}
|
|
1156
|
-
if (inst) return null;
|
|
1157
|
-
if (stateNode && typeof stateNode != "function")
|
|
1158
|
-
throw Error(
|
|
1159
|
-
formatProdErrorMessage(231, registrationName, typeof stateNode)
|
|
1160
|
-
);
|
|
1161
|
-
return stateNode;
|
|
1162
|
-
}
|
|
1163
|
-
var canUseDOM2 = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), passiveBrowserEventsSupported = !1;
|
|
1164
|
-
if (canUseDOM2)
|
|
1165
|
-
try {
|
|
1166
|
-
options2 = {}, Object.defineProperty(options2, "passive", {
|
|
1167
|
-
get: function() {
|
|
1168
|
-
passiveBrowserEventsSupported = !0;
|
|
1169
|
-
}
|
|
1170
|
-
}), window.addEventListener("test", options2, options2), window.removeEventListener("test", options2, options2);
|
|
1171
|
-
} catch {
|
|
1172
|
-
passiveBrowserEventsSupported = !1;
|
|
1173
|
-
}
|
|
1174
|
-
var options2, root = null, startText = null, fallbackText = null;
|
|
1175
|
-
function getData() {
|
|
1176
|
-
if (fallbackText) return fallbackText;
|
|
1177
|
-
var start2, startValue = startText, startLength = startValue.length, end, endValue = "value" in root ? root.value : root.textContent, endLength = endValue.length;
|
|
1178
|
-
for (start2 = 0; start2 < startLength && startValue[start2] === endValue[start2]; start2++) ;
|
|
1179
|
-
var minEnd = startLength - start2;
|
|
1180
|
-
for (end = 1; end <= minEnd && startValue[startLength - end] === endValue[endLength - end]; end++) ;
|
|
1181
|
-
return fallbackText = endValue.slice(start2, 1 < end ? 1 - end : void 0);
|
|
1182
|
-
}
|
|
1183
|
-
function getEventCharCode(nativeEvent) {
|
|
1184
|
-
var keyCode = nativeEvent.keyCode;
|
|
1185
|
-
return "charCode" in nativeEvent ? (nativeEvent = nativeEvent.charCode, nativeEvent === 0 && keyCode === 13 && (nativeEvent = 13)) : nativeEvent = keyCode, nativeEvent === 10 && (nativeEvent = 13), 32 <= nativeEvent || nativeEvent === 13 ? nativeEvent : 0;
|
|
1186
|
-
}
|
|
1187
|
-
function functionThatReturnsTrue() {
|
|
1188
|
-
return !0;
|
|
1189
|
-
}
|
|
1190
|
-
function functionThatReturnsFalse() {
|
|
1191
|
-
return !1;
|
|
1192
|
-
}
|
|
1193
|
-
function createSyntheticEvent(Interface) {
|
|
1194
|
-
function SyntheticBaseEvent(reactName, reactEventType, targetInst, nativeEvent, nativeEventTarget) {
|
|
1195
|
-
this._reactName = reactName, this._targetInst = targetInst, this.type = reactEventType, this.nativeEvent = nativeEvent, this.target = nativeEventTarget, this.currentTarget = null;
|
|
1196
|
-
for (var propName in Interface)
|
|
1197
|
-
Interface.hasOwnProperty(propName) && (reactName = Interface[propName], this[propName] = reactName ? reactName(nativeEvent) : nativeEvent[propName]);
|
|
1198
|
-
return this.isDefaultPrevented = (nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === !1) ? functionThatReturnsTrue : functionThatReturnsFalse, this.isPropagationStopped = functionThatReturnsFalse, this;
|
|
1199
|
-
}
|
|
1200
|
-
return assign(SyntheticBaseEvent.prototype, {
|
|
1201
|
-
preventDefault: function() {
|
|
1202
|
-
this.defaultPrevented = !0;
|
|
1203
|
-
var event = this.nativeEvent;
|
|
1204
|
-
event && (event.preventDefault ? event.preventDefault() : typeof event.returnValue != "unknown" && (event.returnValue = !1), this.isDefaultPrevented = functionThatReturnsTrue);
|
|
1205
|
-
},
|
|
1206
|
-
stopPropagation: function() {
|
|
1207
|
-
var event = this.nativeEvent;
|
|
1208
|
-
event && (event.stopPropagation ? event.stopPropagation() : typeof event.cancelBubble != "unknown" && (event.cancelBubble = !0), this.isPropagationStopped = functionThatReturnsTrue);
|
|
1209
|
-
},
|
|
1210
|
-
persist: function() {
|
|
1211
|
-
},
|
|
1212
|
-
isPersistent: functionThatReturnsTrue
|
|
1213
|
-
}), SyntheticBaseEvent;
|
|
1214
|
-
}
|
|
1215
|
-
var EventInterface = {
|
|
1216
|
-
eventPhase: 0,
|
|
1217
|
-
bubbles: 0,
|
|
1218
|
-
cancelable: 0,
|
|
1219
|
-
timeStamp: function(event) {
|
|
1220
|
-
return event.timeStamp || Date.now();
|
|
1221
|
-
},
|
|
1222
|
-
defaultPrevented: 0,
|
|
1223
|
-
isTrusted: 0
|
|
1224
|
-
}, SyntheticEvent = createSyntheticEvent(EventInterface), UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }), SyntheticUIEvent = createSyntheticEvent(UIEventInterface), lastMovementX, lastMovementY, lastMouseEvent, MouseEventInterface = assign({}, UIEventInterface, {
|
|
1225
|
-
screenX: 0,
|
|
1226
|
-
screenY: 0,
|
|
1227
|
-
clientX: 0,
|
|
1228
|
-
clientY: 0,
|
|
1229
|
-
pageX: 0,
|
|
1230
|
-
pageY: 0,
|
|
1231
|
-
ctrlKey: 0,
|
|
1232
|
-
shiftKey: 0,
|
|
1233
|
-
altKey: 0,
|
|
1234
|
-
metaKey: 0,
|
|
1235
|
-
getModifierState: getEventModifierState,
|
|
1236
|
-
button: 0,
|
|
1237
|
-
buttons: 0,
|
|
1238
|
-
relatedTarget: function(event) {
|
|
1239
|
-
return event.relatedTarget === void 0 ? event.fromElement === event.srcElement ? event.toElement : event.fromElement : event.relatedTarget;
|
|
1240
|
-
},
|
|
1241
|
-
movementX: function(event) {
|
|
1242
|
-
return "movementX" in event ? event.movementX : (event !== lastMouseEvent && (lastMouseEvent && event.type === "mousemove" ? (lastMovementX = event.screenX - lastMouseEvent.screenX, lastMovementY = event.screenY - lastMouseEvent.screenY) : lastMovementY = lastMovementX = 0, lastMouseEvent = event), lastMovementX);
|
|
1243
|
-
},
|
|
1244
|
-
movementY: function(event) {
|
|
1245
|
-
return "movementY" in event ? event.movementY : lastMovementY;
|
|
1246
|
-
}
|
|
1247
|
-
}), SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface), DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }), SyntheticDragEvent = createSyntheticEvent(DragEventInterface), FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }), SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface), AnimationEventInterface = assign({}, EventInterface, {
|
|
1248
|
-
animationName: 0,
|
|
1249
|
-
elapsedTime: 0,
|
|
1250
|
-
pseudoElement: 0
|
|
1251
|
-
}), SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface), ClipboardEventInterface = assign({}, EventInterface, {
|
|
1252
|
-
clipboardData: function(event) {
|
|
1253
|
-
return "clipboardData" in event ? event.clipboardData : window.clipboardData;
|
|
1254
|
-
}
|
|
1255
|
-
}), SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface), CompositionEventInterface = assign({}, EventInterface, { data: 0 }), SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface), normalizeKey = {
|
|
1256
|
-
Esc: "Escape",
|
|
1257
|
-
Spacebar: " ",
|
|
1258
|
-
Left: "ArrowLeft",
|
|
1259
|
-
Up: "ArrowUp",
|
|
1260
|
-
Right: "ArrowRight",
|
|
1261
|
-
Down: "ArrowDown",
|
|
1262
|
-
Del: "Delete",
|
|
1263
|
-
Win: "OS",
|
|
1264
|
-
Menu: "ContextMenu",
|
|
1265
|
-
Apps: "ContextMenu",
|
|
1266
|
-
Scroll: "ScrollLock",
|
|
1267
|
-
MozPrintableKey: "Unidentified"
|
|
1268
|
-
}, translateToKey = {
|
|
1269
|
-
8: "Backspace",
|
|
1270
|
-
9: "Tab",
|
|
1271
|
-
12: "Clear",
|
|
1272
|
-
13: "Enter",
|
|
1273
|
-
16: "Shift",
|
|
1274
|
-
17: "Control",
|
|
1275
|
-
18: "Alt",
|
|
1276
|
-
19: "Pause",
|
|
1277
|
-
20: "CapsLock",
|
|
1278
|
-
27: "Escape",
|
|
1279
|
-
32: " ",
|
|
1280
|
-
33: "PageUp",
|
|
1281
|
-
34: "PageDown",
|
|
1282
|
-
35: "End",
|
|
1283
|
-
36: "Home",
|
|
1284
|
-
37: "ArrowLeft",
|
|
1285
|
-
38: "ArrowUp",
|
|
1286
|
-
39: "ArrowRight",
|
|
1287
|
-
40: "ArrowDown",
|
|
1288
|
-
45: "Insert",
|
|
1289
|
-
46: "Delete",
|
|
1290
|
-
112: "F1",
|
|
1291
|
-
113: "F2",
|
|
1292
|
-
114: "F3",
|
|
1293
|
-
115: "F4",
|
|
1294
|
-
116: "F5",
|
|
1295
|
-
117: "F6",
|
|
1296
|
-
118: "F7",
|
|
1297
|
-
119: "F8",
|
|
1298
|
-
120: "F9",
|
|
1299
|
-
121: "F10",
|
|
1300
|
-
122: "F11",
|
|
1301
|
-
123: "F12",
|
|
1302
|
-
144: "NumLock",
|
|
1303
|
-
145: "ScrollLock",
|
|
1304
|
-
224: "Meta"
|
|
1305
|
-
}, modifierKeyToProp = {
|
|
1306
|
-
Alt: "altKey",
|
|
1307
|
-
Control: "ctrlKey",
|
|
1308
|
-
Meta: "metaKey",
|
|
1309
|
-
Shift: "shiftKey"
|
|
1310
|
-
};
|
|
1311
|
-
function modifierStateGetter(keyArg) {
|
|
1312
|
-
var nativeEvent = this.nativeEvent;
|
|
1313
|
-
return nativeEvent.getModifierState ? nativeEvent.getModifierState(keyArg) : (keyArg = modifierKeyToProp[keyArg]) ? !!nativeEvent[keyArg] : !1;
|
|
1314
|
-
}
|
|
1315
|
-
function getEventModifierState() {
|
|
1316
|
-
return modifierStateGetter;
|
|
1317
|
-
}
|
|
1318
|
-
var KeyboardEventInterface = assign({}, UIEventInterface, {
|
|
1319
|
-
key: function(nativeEvent) {
|
|
1320
|
-
if (nativeEvent.key) {
|
|
1321
|
-
var key = normalizeKey[nativeEvent.key] || nativeEvent.key;
|
|
1322
|
-
if (key !== "Unidentified") return key;
|
|
1323
|
-
}
|
|
1324
|
-
return nativeEvent.type === "keypress" ? (nativeEvent = getEventCharCode(nativeEvent), nativeEvent === 13 ? "Enter" : String.fromCharCode(nativeEvent)) : nativeEvent.type === "keydown" || nativeEvent.type === "keyup" ? translateToKey[nativeEvent.keyCode] || "Unidentified" : "";
|
|
1325
|
-
},
|
|
1326
|
-
code: 0,
|
|
1327
|
-
location: 0,
|
|
1328
|
-
ctrlKey: 0,
|
|
1329
|
-
shiftKey: 0,
|
|
1330
|
-
altKey: 0,
|
|
1331
|
-
metaKey: 0,
|
|
1332
|
-
repeat: 0,
|
|
1333
|
-
locale: 0,
|
|
1334
|
-
getModifierState: getEventModifierState,
|
|
1335
|
-
charCode: function(event) {
|
|
1336
|
-
return event.type === "keypress" ? getEventCharCode(event) : 0;
|
|
1337
|
-
},
|
|
1338
|
-
keyCode: function(event) {
|
|
1339
|
-
return event.type === "keydown" || event.type === "keyup" ? event.keyCode : 0;
|
|
1340
|
-
},
|
|
1341
|
-
which: function(event) {
|
|
1342
|
-
return event.type === "keypress" ? getEventCharCode(event) : event.type === "keydown" || event.type === "keyup" ? event.keyCode : 0;
|
|
1343
|
-
}
|
|
1344
|
-
}), SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface), PointerEventInterface = assign({}, MouseEventInterface, {
|
|
1345
|
-
pointerId: 0,
|
|
1346
|
-
width: 0,
|
|
1347
|
-
height: 0,
|
|
1348
|
-
pressure: 0,
|
|
1349
|
-
tangentialPressure: 0,
|
|
1350
|
-
tiltX: 0,
|
|
1351
|
-
tiltY: 0,
|
|
1352
|
-
twist: 0,
|
|
1353
|
-
pointerType: 0,
|
|
1354
|
-
isPrimary: 0
|
|
1355
|
-
}), SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface), SubmitEventInterface = assign({}, EventInterface, { submitter: 0 }), SyntheticSubmitEvent = createSyntheticEvent(SubmitEventInterface), TouchEventInterface = assign({}, UIEventInterface, {
|
|
1356
|
-
touches: 0,
|
|
1357
|
-
targetTouches: 0,
|
|
1358
|
-
changedTouches: 0,
|
|
1359
|
-
altKey: 0,
|
|
1360
|
-
metaKey: 0,
|
|
1361
|
-
ctrlKey: 0,
|
|
1362
|
-
shiftKey: 0,
|
|
1363
|
-
getModifierState: getEventModifierState
|
|
1364
|
-
}), SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface), TransitionEventInterface = assign({}, EventInterface, {
|
|
1365
|
-
propertyName: 0,
|
|
1366
|
-
elapsedTime: 0,
|
|
1367
|
-
pseudoElement: 0
|
|
1368
|
-
}), SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface), WheelEventInterface = assign({}, MouseEventInterface, {
|
|
1369
|
-
deltaX: function(event) {
|
|
1370
|
-
return "deltaX" in event ? event.deltaX : "wheelDeltaX" in event ? -event.wheelDeltaX : 0;
|
|
1371
|
-
},
|
|
1372
|
-
deltaY: function(event) {
|
|
1373
|
-
return "deltaY" in event ? event.deltaY : "wheelDeltaY" in event ? -event.wheelDeltaY : "wheelDelta" in event ? -event.wheelDelta : 0;
|
|
1374
|
-
},
|
|
1375
|
-
deltaZ: 0,
|
|
1376
|
-
deltaMode: 0
|
|
1377
|
-
}), SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface), ToggleEventInterface = assign({}, EventInterface, {
|
|
1378
|
-
newState: 0,
|
|
1379
|
-
oldState: 0,
|
|
1380
|
-
source: 0
|
|
1381
|
-
}), SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface), END_KEYCODES = [9, 13, 27, 32], canUseCompositionEvent = canUseDOM2 && "CompositionEvent" in window, documentMode = null;
|
|
1382
|
-
canUseDOM2 && "documentMode" in document && (documentMode = document.documentMode);
|
|
1383
|
-
var canUseTextInputEvent = canUseDOM2 && "TextEvent" in window && !documentMode, useFallbackCompositionData = canUseDOM2 && (!canUseCompositionEvent || documentMode && 8 < documentMode && 11 >= documentMode), SPACEBAR_CHAR = " ", hasSpaceKeypress = !1;
|
|
1384
|
-
function isFallbackCompositionEnd(domEventName, nativeEvent) {
|
|
1385
|
-
switch (domEventName) {
|
|
1386
|
-
case "keyup":
|
|
1387
|
-
return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;
|
|
1388
|
-
case "keydown":
|
|
1389
|
-
return nativeEvent.keyCode !== 229;
|
|
1390
|
-
case "keypress":
|
|
1391
|
-
case "mousedown":
|
|
1392
|
-
case "focusout":
|
|
1393
|
-
return !0;
|
|
1394
|
-
default:
|
|
1395
|
-
return !1;
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
function getDataFromCustomEvent(nativeEvent) {
|
|
1399
|
-
return nativeEvent = nativeEvent.detail, typeof nativeEvent == "object" && "data" in nativeEvent ? nativeEvent.data : null;
|
|
1400
|
-
}
|
|
1401
|
-
var isComposing = !1;
|
|
1402
|
-
function getNativeBeforeInputChars(domEventName, nativeEvent) {
|
|
1403
|
-
switch (domEventName) {
|
|
1404
|
-
case "compositionend":
|
|
1405
|
-
return getDataFromCustomEvent(nativeEvent);
|
|
1406
|
-
case "keypress":
|
|
1407
|
-
return nativeEvent.which !== 32 ? null : (hasSpaceKeypress = !0, SPACEBAR_CHAR);
|
|
1408
|
-
case "textInput":
|
|
1409
|
-
return domEventName = nativeEvent.data, domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName;
|
|
1410
|
-
default:
|
|
1411
|
-
return null;
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
function getFallbackBeforeInputChars(domEventName, nativeEvent) {
|
|
1415
|
-
if (isComposing)
|
|
1416
|
-
return domEventName === "compositionend" || !canUseCompositionEvent && isFallbackCompositionEnd(domEventName, nativeEvent) ? (domEventName = getData(), fallbackText = startText = root = null, isComposing = !1, domEventName) : null;
|
|
1417
|
-
switch (domEventName) {
|
|
1418
|
-
case "paste":
|
|
1419
|
-
return null;
|
|
1420
|
-
case "keypress":
|
|
1421
|
-
if (!(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) || nativeEvent.ctrlKey && nativeEvent.altKey) {
|
|
1422
|
-
if (nativeEvent.char && 1 < nativeEvent.char.length)
|
|
1423
|
-
return nativeEvent.char;
|
|
1424
|
-
if (nativeEvent.which) return String.fromCharCode(nativeEvent.which);
|
|
1425
|
-
}
|
|
1426
|
-
return null;
|
|
1427
|
-
case "compositionend":
|
|
1428
|
-
return useFallbackCompositionData && nativeEvent.locale !== "ko" ? null : nativeEvent.data;
|
|
1429
|
-
default:
|
|
1430
|
-
return null;
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
var supportedInputTypes = {
|
|
1434
|
-
color: !0,
|
|
1435
|
-
date: !0,
|
|
1436
|
-
datetime: !0,
|
|
1437
|
-
"datetime-local": !0,
|
|
1438
|
-
email: !0,
|
|
1439
|
-
month: !0,
|
|
1440
|
-
number: !0,
|
|
1441
|
-
password: !0,
|
|
1442
|
-
range: !0,
|
|
1443
|
-
search: !0,
|
|
1444
|
-
tel: !0,
|
|
1445
|
-
text: !0,
|
|
1446
|
-
time: !0,
|
|
1447
|
-
url: !0,
|
|
1448
|
-
week: !0
|
|
1449
|
-
};
|
|
1450
|
-
function isTextInputElement(elem) {
|
|
1451
|
-
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
|
1452
|
-
return nodeName === "input" ? !!supportedInputTypes[elem.type] : nodeName === "textarea";
|
|
1453
|
-
}
|
|
1454
|
-
function createAndAccumulateChangeEvent(dispatchQueue, inst, nativeEvent, target) {
|
|
1455
|
-
restoreTarget ? restoreQueue ? restoreQueue.push(target) : restoreQueue = [target] : restoreTarget = target, inst = accumulateTwoPhaseListeners(inst, "onChange"), 0 < inst.length && (nativeEvent = new SyntheticEvent(
|
|
1456
|
-
"onChange",
|
|
1457
|
-
"change",
|
|
1458
|
-
null,
|
|
1459
|
-
nativeEvent,
|
|
1460
|
-
target
|
|
1461
|
-
), dispatchQueue.push({ event: nativeEvent, listeners: inst }));
|
|
1462
|
-
}
|
|
1463
|
-
var activeElement$1 = null, activeElementInst$1 = null;
|
|
1464
|
-
function runEventInBatch(dispatchQueue) {
|
|
1465
|
-
processDispatchQueue(dispatchQueue, 0);
|
|
1466
|
-
}
|
|
1467
|
-
function getInstIfValueChanged(targetInst) {
|
|
1468
|
-
var targetNode = getNodeFromInstance(targetInst);
|
|
1469
|
-
if (updateValueIfChanged(targetNode)) return targetInst;
|
|
1470
|
-
}
|
|
1471
|
-
function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
1472
|
-
if (domEventName === "change") return targetInst;
|
|
1473
|
-
}
|
|
1474
|
-
var isInputEventSupported = !1;
|
|
1475
|
-
canUseDOM2 && (canUseDOM2 ? (isSupported$jscomp$inline_474 = "oninput" in document, isSupported$jscomp$inline_474 || (element$jscomp$inline_475 = document.createElement("div"), element$jscomp$inline_475.setAttribute("oninput", "return;"), isSupported$jscomp$inline_474 = typeof element$jscomp$inline_475.oninput == "function"), JSCompiler_inline_result$jscomp$318 = isSupported$jscomp$inline_474) : JSCompiler_inline_result$jscomp$318 = !1, isInputEventSupported = JSCompiler_inline_result$jscomp$318 && (!document.documentMode || 9 < document.documentMode));
|
|
1476
|
-
var JSCompiler_inline_result$jscomp$318, isSupported$jscomp$inline_474, element$jscomp$inline_475;
|
|
1477
|
-
function stopWatchingForValueChange() {
|
|
1478
|
-
activeElement$1 && (activeElement$1.detachEvent("onpropertychange", handlePropertyChange), activeElementInst$1 = activeElement$1 = null);
|
|
1479
|
-
}
|
|
1480
|
-
function handlePropertyChange(nativeEvent) {
|
|
1481
|
-
if (nativeEvent.propertyName === "value" && getInstIfValueChanged(activeElementInst$1)) {
|
|
1482
|
-
var dispatchQueue = [];
|
|
1483
|
-
createAndAccumulateChangeEvent(
|
|
1484
|
-
dispatchQueue,
|
|
1485
|
-
activeElementInst$1,
|
|
1486
|
-
nativeEvent,
|
|
1487
|
-
getEventTarget(nativeEvent)
|
|
1488
|
-
), batchedUpdates$1(runEventInBatch, dispatchQueue);
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
function handleEventsForInputEventPolyfill(domEventName, target, targetInst) {
|
|
1492
|
-
domEventName === "focusin" ? (stopWatchingForValueChange(), activeElement$1 = target, activeElementInst$1 = targetInst, activeElement$1.attachEvent("onpropertychange", handlePropertyChange)) : domEventName === "focusout" && stopWatchingForValueChange();
|
|
1493
|
-
}
|
|
1494
|
-
function getTargetInstForInputEventPolyfill(domEventName) {
|
|
1495
|
-
if (domEventName === "selectionchange" || domEventName === "keyup" || domEventName === "keydown")
|
|
1496
|
-
return getInstIfValueChanged(activeElementInst$1);
|
|
1497
|
-
}
|
|
1498
|
-
function getTargetInstForClickEvent(domEventName, targetInst) {
|
|
1499
|
-
if (domEventName === "click") return getInstIfValueChanged(targetInst);
|
|
1500
|
-
}
|
|
1501
|
-
function getTargetInstForInputOrChangeEvent(domEventName, targetInst) {
|
|
1502
|
-
if (domEventName === "input" || domEventName === "change")
|
|
1503
|
-
return getInstIfValueChanged(targetInst);
|
|
1504
|
-
}
|
|
1505
|
-
function is(x, y) {
|
|
1506
|
-
return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
|
|
1507
|
-
}
|
|
1508
|
-
var objectIs = typeof Object.is == "function" ? Object.is : is;
|
|
1509
|
-
function shallowEqual2(objA, objB) {
|
|
1510
|
-
if (objectIs(objA, objB)) return !0;
|
|
1511
|
-
if (typeof objA != "object" || objA === null || typeof objB != "object" || objB === null)
|
|
1512
|
-
return !1;
|
|
1513
|
-
var keysA = Object.keys(objA), keysB = Object.keys(objB);
|
|
1514
|
-
if (keysA.length !== keysB.length) return !1;
|
|
1515
|
-
for (keysB = 0; keysB < keysA.length; keysB++) {
|
|
1516
|
-
var currentKey = keysA[keysB];
|
|
1517
|
-
if (!hasOwnProperty.call(objB, currentKey) || !objectIs(objA[currentKey], objB[currentKey]))
|
|
1518
|
-
return !1;
|
|
1519
|
-
}
|
|
1520
|
-
return !0;
|
|
1521
|
-
}
|
|
1522
|
-
function getActiveElement2(doc) {
|
|
1523
|
-
if (doc = doc || (typeof document < "u" ? document : void 0), typeof doc > "u") return null;
|
|
1524
|
-
try {
|
|
1525
|
-
return doc.activeElement || doc.body;
|
|
1526
|
-
} catch {
|
|
1527
|
-
return doc.body;
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
function getLeafNode(node) {
|
|
1531
|
-
for (; node && node.firstChild; ) node = node.firstChild;
|
|
1532
|
-
return node;
|
|
1533
|
-
}
|
|
1534
|
-
function getNodeForCharacterOffset(root2, offset4) {
|
|
1535
|
-
var node = getLeafNode(root2);
|
|
1536
|
-
root2 = 0;
|
|
1537
|
-
for (var nodeEnd; node; ) {
|
|
1538
|
-
if (node.nodeType === 3) {
|
|
1539
|
-
if (nodeEnd = root2 + node.textContent.length, root2 <= offset4 && nodeEnd >= offset4)
|
|
1540
|
-
return { node, offset: offset4 - root2 };
|
|
1541
|
-
root2 = nodeEnd;
|
|
1542
|
-
}
|
|
1543
|
-
a: {
|
|
1544
|
-
for (; node; ) {
|
|
1545
|
-
if (node.nextSibling) {
|
|
1546
|
-
node = node.nextSibling;
|
|
1547
|
-
break a;
|
|
1548
|
-
}
|
|
1549
|
-
node = node.parentNode;
|
|
1550
|
-
}
|
|
1551
|
-
node = void 0;
|
|
1552
|
-
}
|
|
1553
|
-
node = getLeafNode(node);
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
function containsNode(outerNode, innerNode) {
|
|
1557
|
-
return outerNode && innerNode ? outerNode === innerNode ? !0 : outerNode && outerNode.nodeType === 3 ? !1 : innerNode && innerNode.nodeType === 3 ? containsNode(outerNode, innerNode.parentNode) : "contains" in outerNode ? outerNode.contains(innerNode) : outerNode.compareDocumentPosition ? !!(outerNode.compareDocumentPosition(innerNode) & 16) : !1 : !1;
|
|
1558
|
-
}
|
|
1559
|
-
function getActiveElementDeep(containerInfo) {
|
|
1560
|
-
containerInfo = containerInfo != null && containerInfo.ownerDocument != null && containerInfo.ownerDocument.defaultView != null ? containerInfo.ownerDocument.defaultView : window;
|
|
1561
|
-
for (var element = getActiveElement2(containerInfo.document); element instanceof containerInfo.HTMLIFrameElement; ) {
|
|
1562
|
-
try {
|
|
1563
|
-
var JSCompiler_inline_result = typeof element.contentWindow.location.href == "string";
|
|
1564
|
-
} catch {
|
|
1565
|
-
JSCompiler_inline_result = !1;
|
|
1566
|
-
}
|
|
1567
|
-
if (JSCompiler_inline_result) containerInfo = element.contentWindow;
|
|
1568
|
-
else break;
|
|
1569
|
-
element = getActiveElement2(containerInfo.document);
|
|
1570
|
-
}
|
|
1571
|
-
return element;
|
|
1572
|
-
}
|
|
1573
|
-
function hasSelectionCapabilities(elem) {
|
|
1574
|
-
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
|
1575
|
-
return nodeName && (nodeName === "input" && (elem.type === "text" || elem.type === "search" || elem.type === "tel" || elem.type === "url" || elem.type === "password") || nodeName === "textarea" || elem.contentEditable === "true");
|
|
1576
|
-
}
|
|
1577
|
-
var skipSelectionChangeEvent = canUseDOM2 && "documentMode" in document && 11 >= document.documentMode, activeElement = null, activeElementInst = null, lastSelection = null, mouseDown = !1;
|
|
1578
|
-
function constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {
|
|
1579
|
-
var doc = nativeEventTarget.window === nativeEventTarget ? nativeEventTarget.document : nativeEventTarget.nodeType === 9 ? nativeEventTarget : nativeEventTarget.ownerDocument;
|
|
1580
|
-
mouseDown || activeElement == null || activeElement !== getActiveElement2(doc) || (doc = activeElement, "selectionStart" in doc && hasSelectionCapabilities(doc) ? doc = { start: doc.selectionStart, end: doc.selectionEnd } : (doc = (doc.ownerDocument && doc.ownerDocument.defaultView || window).getSelection(), doc = {
|
|
1581
|
-
anchorNode: doc.anchorNode,
|
|
1582
|
-
anchorOffset: doc.anchorOffset,
|
|
1583
|
-
focusNode: doc.focusNode,
|
|
1584
|
-
focusOffset: doc.focusOffset
|
|
1585
|
-
}), lastSelection && shallowEqual2(lastSelection, doc) || (lastSelection = doc, doc = accumulateTwoPhaseListeners(activeElementInst, "onSelect"), 0 < doc.length && (nativeEvent = new SyntheticEvent(
|
|
1586
|
-
"onSelect",
|
|
1587
|
-
"select",
|
|
1588
|
-
null,
|
|
1589
|
-
nativeEvent,
|
|
1590
|
-
nativeEventTarget
|
|
1591
|
-
), dispatchQueue.push({ event: nativeEvent, listeners: doc }), nativeEvent.target = activeElement)));
|
|
1592
|
-
}
|
|
1593
|
-
function makePrefixMap(styleProp, eventName) {
|
|
1594
|
-
var prefixes = {};
|
|
1595
|
-
return prefixes[styleProp.toLowerCase()] = eventName.toLowerCase(), prefixes["Webkit" + styleProp] = "webkit" + eventName, prefixes["Moz" + styleProp] = "moz" + eventName, prefixes;
|
|
1596
|
-
}
|
|
1597
|
-
var vendorPrefixes = {
|
|
1598
|
-
animationend: makePrefixMap("Animation", "AnimationEnd"),
|
|
1599
|
-
animationiteration: makePrefixMap("Animation", "AnimationIteration"),
|
|
1600
|
-
animationstart: makePrefixMap("Animation", "AnimationStart"),
|
|
1601
|
-
transitionrun: makePrefixMap("Transition", "TransitionRun"),
|
|
1602
|
-
transitionstart: makePrefixMap("Transition", "TransitionStart"),
|
|
1603
|
-
transitioncancel: makePrefixMap("Transition", "TransitionCancel"),
|
|
1604
|
-
transitionend: makePrefixMap("Transition", "TransitionEnd")
|
|
1605
|
-
}, prefixedEventNames = {}, style = {};
|
|
1606
|
-
canUseDOM2 && (style = document.createElement("div").style, "AnimationEvent" in window || (delete vendorPrefixes.animationend.animation, delete vendorPrefixes.animationiteration.animation, delete vendorPrefixes.animationstart.animation), "TransitionEvent" in window || delete vendorPrefixes.transitionend.transition);
|
|
1607
|
-
function getVendorPrefixedEventName(eventName) {
|
|
1608
|
-
if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];
|
|
1609
|
-
if (!vendorPrefixes[eventName]) return eventName;
|
|
1610
|
-
var prefixMap = vendorPrefixes[eventName], styleProp;
|
|
1611
|
-
for (styleProp in prefixMap)
|
|
1612
|
-
if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)
|
|
1613
|
-
return prefixedEventNames[eventName] = prefixMap[styleProp];
|
|
1614
|
-
return eventName;
|
|
1615
|
-
}
|
|
1616
|
-
var ANIMATION_END = getVendorPrefixedEventName("animationend"), ANIMATION_ITERATION = getVendorPrefixedEventName("animationiteration"), ANIMATION_START = getVendorPrefixedEventName("animationstart"), TRANSITION_RUN = getVendorPrefixedEventName("transitionrun"), TRANSITION_START = getVendorPrefixedEventName("transitionstart"), TRANSITION_CANCEL = getVendorPrefixedEventName("transitioncancel"), TRANSITION_END = getVendorPrefixedEventName("transitionend"), topLevelEventsToReactNames = /* @__PURE__ */ new Map(), simpleEventPluginEvents = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
|
|
1617
|
-
" "
|
|
1618
|
-
);
|
|
1619
|
-
simpleEventPluginEvents.push("scrollEnd");
|
|
1620
|
-
function registerSimpleEvent(domEventName, reactName) {
|
|
1621
|
-
topLevelEventsToReactNames.set(domEventName, reactName), registerTwoPhaseEvent(reactName, [domEventName]);
|
|
1622
|
-
}
|
|
1623
|
-
var globalClientIdCounter$1 = 0;
|
|
1624
|
-
function getViewTransitionName(props, instance) {
|
|
1625
|
-
if (props.name != null && props.name !== "auto") return props.name;
|
|
1626
|
-
if (instance.autoName !== null) return instance.autoName;
|
|
1627
|
-
props = pendingEffectsRoot.identifierPrefix;
|
|
1628
|
-
var globalClientId = globalClientIdCounter$1++;
|
|
1629
|
-
return props = "_" + props + "t_" + globalClientId.toString(32) + "_", instance.autoName = props;
|
|
1630
|
-
}
|
|
1631
|
-
function getClassNameByType(classByType) {
|
|
1632
|
-
if (classByType == null || typeof classByType == "string")
|
|
1633
|
-
return classByType;
|
|
1634
|
-
var className = null, activeTypes = pendingTransitionTypes;
|
|
1635
|
-
if (activeTypes !== null)
|
|
1636
|
-
for (var i = 0; i < activeTypes.length; i++) {
|
|
1637
|
-
var match = classByType[activeTypes[i]];
|
|
1638
|
-
if (match != null) {
|
|
1639
|
-
if (match === "none") return "none";
|
|
1640
|
-
className = className == null ? match : className + (" " + match);
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
return className ?? classByType.default;
|
|
1644
|
-
}
|
|
1645
|
-
function getViewTransitionClassName(defaultClass, eventClass) {
|
|
1646
|
-
return defaultClass = getClassNameByType(defaultClass), eventClass = getClassNameByType(eventClass), eventClass == null ? defaultClass === "auto" ? null : defaultClass : eventClass === "auto" ? null : eventClass;
|
|
1647
|
-
}
|
|
1648
|
-
var reportGlobalError = typeof reportError == "function" ? reportError : function(error) {
|
|
1649
|
-
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
1650
|
-
var event = new window.ErrorEvent("error", {
|
|
1651
|
-
bubbles: !0,
|
|
1652
|
-
cancelable: !0,
|
|
1653
|
-
message: typeof error == "object" && error !== null && typeof error.message == "string" ? String(error.message) : String(error),
|
|
1654
|
-
error
|
|
1655
|
-
});
|
|
1656
|
-
if (!window.dispatchEvent(event)) return;
|
|
1657
|
-
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
1658
|
-
process.emit("uncaughtException", error);
|
|
1659
|
-
return;
|
|
1660
|
-
}
|
|
1661
|
-
console.error(error);
|
|
1662
|
-
}, concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0;
|
|
1663
|
-
function finishQueueingConcurrentUpdates() {
|
|
1664
|
-
for (var endIndex = concurrentQueuesIndex, i = concurrentlyUpdatedLanes = concurrentQueuesIndex = 0; i < endIndex; ) {
|
|
1665
|
-
var fiber = concurrentQueues[i];
|
|
1666
|
-
concurrentQueues[i++] = null;
|
|
1667
|
-
var queue = concurrentQueues[i];
|
|
1668
|
-
concurrentQueues[i++] = null;
|
|
1669
|
-
var update = concurrentQueues[i];
|
|
1670
|
-
concurrentQueues[i++] = null;
|
|
1671
|
-
var lane = concurrentQueues[i];
|
|
1672
|
-
if (concurrentQueues[i++] = null, queue !== null && update !== null) {
|
|
1673
|
-
var pending = queue.pending;
|
|
1674
|
-
pending === null ? update.next = update : (update.next = pending.next, pending.next = update), queue.pending = update;
|
|
1675
|
-
}
|
|
1676
|
-
lane !== 0 && markUpdateLaneFromFiberToRoot(fiber, update, lane);
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
function enqueueUpdate$1(fiber, queue, update, lane) {
|
|
1680
|
-
concurrentQueues[concurrentQueuesIndex++] = fiber, concurrentQueues[concurrentQueuesIndex++] = queue, concurrentQueues[concurrentQueuesIndex++] = update, concurrentQueues[concurrentQueuesIndex++] = lane, concurrentlyUpdatedLanes |= lane, fiber.lanes |= lane, fiber = fiber.alternate, fiber !== null && (fiber.lanes |= lane);
|
|
1681
|
-
}
|
|
1682
|
-
function enqueueConcurrentHookUpdate(fiber, queue, update, lane) {
|
|
1683
|
-
return enqueueUpdate$1(fiber, queue, update, lane), getRootForUpdatedFiber(fiber);
|
|
1684
|
-
}
|
|
1685
|
-
function enqueueConcurrentRenderForLane(fiber, lane) {
|
|
1686
|
-
return enqueueUpdate$1(fiber, null, null, lane), getRootForUpdatedFiber(fiber);
|
|
1687
|
-
}
|
|
1688
|
-
function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
|
|
1689
|
-
sourceFiber.lanes |= lane;
|
|
1690
|
-
var alternate = sourceFiber.alternate;
|
|
1691
|
-
alternate !== null && (alternate.lanes |= lane);
|
|
1692
|
-
for (var isHidden2 = !1, parent2 = sourceFiber.return; parent2 !== null; )
|
|
1693
|
-
parent2.childLanes |= lane, alternate = parent2.alternate, alternate !== null && (alternate.childLanes |= lane), parent2.tag === 22 && (sourceFiber = parent2.stateNode, sourceFiber === null || sourceFiber._visibility & 1 || (isHidden2 = !0)), sourceFiber = parent2, parent2 = parent2.return;
|
|
1694
|
-
return sourceFiber.tag === 3 ? (parent2 = sourceFiber.stateNode, isHidden2 && update !== null && (isHidden2 = 31 - clz32(lane), sourceFiber = parent2.hiddenUpdates, alternate = sourceFiber[isHidden2], alternate === null ? sourceFiber[isHidden2] = [update] : alternate.push(update), update.lane = lane | 536870912), parent2) : null;
|
|
1695
|
-
}
|
|
1696
|
-
function getRootForUpdatedFiber(sourceFiber) {
|
|
1697
|
-
if (50 < nestedUpdateCount)
|
|
1698
|
-
throw nestedUpdateCount = 0, rootWithNestedUpdates = null, Error(formatProdErrorMessage(185));
|
|
1699
|
-
for (var parent2 = sourceFiber.return; parent2 !== null; )
|
|
1700
|
-
sourceFiber = parent2, parent2 = sourceFiber.return;
|
|
1701
|
-
return sourceFiber.tag === 3 ? sourceFiber.stateNode : null;
|
|
1702
|
-
}
|
|
1703
|
-
var emptyContextObject = {};
|
|
1704
|
-
function FiberNode(tag, pendingProps, key, mode) {
|
|
1705
|
-
this.tag = tag, this.key = key, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = pendingProps, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = mode, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
|
|
1706
|
-
}
|
|
1707
|
-
function createFiberImplClass(tag, pendingProps, key, mode) {
|
|
1708
|
-
return new FiberNode(tag, pendingProps, key, mode);
|
|
1709
|
-
}
|
|
1710
|
-
function shouldConstruct(Component) {
|
|
1711
|
-
return Component = Component.prototype, !(!Component || !Component.isReactComponent);
|
|
1712
|
-
}
|
|
1713
|
-
function createWorkInProgress(current, pendingProps) {
|
|
1714
|
-
var workInProgress2 = current.alternate;
|
|
1715
|
-
return workInProgress2 === null ? (workInProgress2 = createFiberImplClass(
|
|
1716
|
-
current.tag,
|
|
1717
|
-
pendingProps,
|
|
1718
|
-
current.key,
|
|
1719
|
-
current.mode
|
|
1720
|
-
), workInProgress2.elementType = current.elementType, workInProgress2.type = current.type, workInProgress2.stateNode = current.stateNode, workInProgress2.alternate = current, current.alternate = workInProgress2) : (workInProgress2.pendingProps = pendingProps, workInProgress2.type = current.type, workInProgress2.flags = 0, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null), workInProgress2.flags = current.flags & 1206910976, workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, pendingProps = current.dependencies, workInProgress2.dependencies = pendingProps === null ? null : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext }, workInProgress2.sibling = current.sibling, workInProgress2.index = current.index, workInProgress2.ref = current.ref, workInProgress2.refCleanup = current.refCleanup, workInProgress2;
|
|
1721
|
-
}
|
|
1722
|
-
function resetWorkInProgress(workInProgress2, renderLanes2) {
|
|
1723
|
-
workInProgress2.flags &= 1206910978;
|
|
1724
|
-
var current = workInProgress2.alternate;
|
|
1725
|
-
return current === null ? (workInProgress2.childLanes = 0, workInProgress2.lanes = renderLanes2, workInProgress2.child = null, workInProgress2.subtreeFlags = 0, workInProgress2.memoizedProps = null, workInProgress2.memoizedState = null, workInProgress2.updateQueue = null, workInProgress2.dependencies = null, workInProgress2.stateNode = null) : (workInProgress2.childLanes = current.childLanes, workInProgress2.lanes = current.lanes, workInProgress2.child = current.child, workInProgress2.subtreeFlags = 0, workInProgress2.deletions = null, workInProgress2.memoizedProps = current.memoizedProps, workInProgress2.memoizedState = current.memoizedState, workInProgress2.updateQueue = current.updateQueue, workInProgress2.type = current.type, renderLanes2 = current.dependencies, workInProgress2.dependencies = renderLanes2 === null ? null : {
|
|
1726
|
-
lanes: renderLanes2.lanes,
|
|
1727
|
-
firstContext: renderLanes2.firstContext
|
|
1728
|
-
}), workInProgress2;
|
|
1729
|
-
}
|
|
1730
|
-
function createFiberFromTypeAndProps(type, key, pendingProps, owner, mode, lanes) {
|
|
1731
|
-
var fiberTag = 0;
|
|
1732
|
-
if (owner = type, typeof owner == "function") shouldConstruct(owner) && (fiberTag = 1);
|
|
1733
|
-
else if (typeof owner == "string")
|
|
1734
|
-
fiberTag = isHostHoistableType(
|
|
1735
|
-
type,
|
|
1736
|
-
pendingProps,
|
|
1737
|
-
contextStackCursor.current
|
|
1738
|
-
) ? 26 : type === "html" || type === "head" || type === "body" ? 27 : 5;
|
|
1739
|
-
else
|
|
1740
|
-
a: switch (owner) {
|
|
1741
|
-
case REACT_ACTIVITY_TYPE:
|
|
1742
|
-
return type = createFiberImplClass(31, pendingProps, key, mode), type.elementType = REACT_ACTIVITY_TYPE, type.lanes = lanes, type;
|
|
1743
|
-
case REACT_FRAGMENT_TYPE:
|
|
1744
|
-
return createFiberFromFragment(pendingProps.children, mode, lanes, key);
|
|
1745
|
-
case REACT_STRICT_MODE_TYPE:
|
|
1746
|
-
fiberTag = 8, mode |= 24;
|
|
1747
|
-
break;
|
|
1748
|
-
case REACT_PROFILER_TYPE:
|
|
1749
|
-
return type = createFiberImplClass(12, pendingProps, key, mode | 2), type.elementType = REACT_PROFILER_TYPE, type.lanes = lanes, type;
|
|
1750
|
-
case REACT_SUSPENSE_TYPE:
|
|
1751
|
-
return type = createFiberImplClass(13, pendingProps, key, mode), type.elementType = REACT_SUSPENSE_TYPE, type.lanes = lanes, type;
|
|
1752
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1753
|
-
return type = createFiberImplClass(19, pendingProps, key, mode), type.elementType = REACT_SUSPENSE_LIST_TYPE, type.lanes = lanes, type;
|
|
1754
|
-
case REACT_LEGACY_HIDDEN_TYPE:
|
|
1755
|
-
case REACT_VIEW_TRANSITION_TYPE:
|
|
1756
|
-
return type = mode | 32, type = createFiberImplClass(30, pendingProps, key, type), type.elementType = REACT_VIEW_TRANSITION_TYPE, type.lanes = lanes, type.stateNode = {
|
|
1757
|
-
autoName: null,
|
|
1758
|
-
paired: null,
|
|
1759
|
-
clones: null,
|
|
1760
|
-
ref: null
|
|
1761
|
-
}, type;
|
|
1762
|
-
default:
|
|
1763
|
-
if (typeof owner == "object" && owner !== null)
|
|
1764
|
-
switch (owner.$$typeof) {
|
|
1765
|
-
case REACT_CONTEXT_TYPE:
|
|
1766
|
-
fiberTag = 10;
|
|
1767
|
-
break a;
|
|
1768
|
-
case REACT_CONSUMER_TYPE:
|
|
1769
|
-
fiberTag = 9;
|
|
1770
|
-
break a;
|
|
1771
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1772
|
-
fiberTag = 11;
|
|
1773
|
-
break a;
|
|
1774
|
-
case REACT_MEMO_TYPE:
|
|
1775
|
-
fiberTag = 14;
|
|
1776
|
-
break a;
|
|
1777
|
-
case REACT_LAZY_TYPE2:
|
|
1778
|
-
fiberTag = 16, owner = null;
|
|
1779
|
-
break a;
|
|
1780
|
-
}
|
|
1781
|
-
fiberTag = 29, pendingProps = Error(
|
|
1782
|
-
formatProdErrorMessage(130, type === null ? "null" : typeof type, "")
|
|
1783
|
-
), owner = null;
|
|
1784
|
-
}
|
|
1785
|
-
return key = createFiberImplClass(fiberTag, pendingProps, key, mode), key.elementType = type, key.type = owner, key.lanes = lanes, key;
|
|
1786
|
-
}
|
|
1787
|
-
function createFiberFromFragment(elements, mode, lanes, key) {
|
|
1788
|
-
return elements = createFiberImplClass(7, elements, key, mode), elements.lanes = lanes, elements;
|
|
1789
|
-
}
|
|
1790
|
-
function createFiberFromText(content, mode, lanes) {
|
|
1791
|
-
return content = createFiberImplClass(6, content, null, mode), content.lanes = lanes, content;
|
|
1792
|
-
}
|
|
1793
|
-
function createFiberFromDehydratedFragment(dehydratedNode) {
|
|
1794
|
-
var fiber = createFiberImplClass(18, null, null, 0);
|
|
1795
|
-
return fiber.stateNode = dehydratedNode, fiber;
|
|
1796
|
-
}
|
|
1797
|
-
function createFiberFromPortal(portal, mode, lanes) {
|
|
1798
|
-
return mode = createFiberImplClass(
|
|
1799
|
-
4,
|
|
1800
|
-
portal.children !== null ? portal.children : [],
|
|
1801
|
-
portal.key,
|
|
1802
|
-
mode
|
|
1803
|
-
), mode.lanes = lanes, mode.stateNode = {
|
|
1804
|
-
containerInfo: portal.containerInfo,
|
|
1805
|
-
pendingChildren: null,
|
|
1806
|
-
implementation: portal.implementation
|
|
1807
|
-
}, mode;
|
|
1808
|
-
}
|
|
1809
|
-
var CapturedStacks = /* @__PURE__ */ new WeakMap();
|
|
1810
|
-
function createCapturedValueAtFiber(value, source) {
|
|
1811
|
-
if (typeof value == "object" && value !== null) {
|
|
1812
|
-
var existing = CapturedStacks.get(value);
|
|
1813
|
-
return existing !== void 0 ? existing : (source = {
|
|
1814
|
-
value,
|
|
1815
|
-
source,
|
|
1816
|
-
stack: getStackByFiberInDevAndProd(source)
|
|
1817
|
-
}, CapturedStacks.set(value, source), source);
|
|
1818
|
-
}
|
|
1819
|
-
return {
|
|
1820
|
-
value,
|
|
1821
|
-
source,
|
|
1822
|
-
stack: getStackByFiberInDevAndProd(source)
|
|
1823
|
-
};
|
|
1824
|
-
}
|
|
1825
|
-
var forkStack = [], forkStackIndex = 0, treeForkProvider = null, treeForkCount = 0, idStack = [], idStackIndex = 0, treeContextProvider = null, treeContextId = 1, treeContextOverflow = "";
|
|
1826
|
-
function pushTreeFork(workInProgress2, totalChildren) {
|
|
1827
|
-
forkStack[forkStackIndex++] = treeForkCount, forkStack[forkStackIndex++] = treeForkProvider, treeForkProvider = workInProgress2, treeForkCount = totalChildren;
|
|
1828
|
-
}
|
|
1829
|
-
function pushTreeId(workInProgress2, totalChildren, index3) {
|
|
1830
|
-
idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextProvider = workInProgress2;
|
|
1831
|
-
var baseIdWithLeadingBit = treeContextId;
|
|
1832
|
-
workInProgress2 = treeContextOverflow;
|
|
1833
|
-
var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;
|
|
1834
|
-
baseIdWithLeadingBit &= ~(1 << baseLength), index3 += 1;
|
|
1835
|
-
var length = 32 - clz32(totalChildren) + baseLength;
|
|
1836
|
-
if (30 < length) {
|
|
1837
|
-
var numberOfOverflowBits = baseLength - baseLength % 5;
|
|
1838
|
-
length = (baseIdWithLeadingBit & (1 << numberOfOverflowBits) - 1).toString(32), baseIdWithLeadingBit >>= numberOfOverflowBits, baseLength -= numberOfOverflowBits, treeContextId = 1 << 32 - clz32(totalChildren) + baseLength | index3 << baseLength | baseIdWithLeadingBit, treeContextOverflow = length + workInProgress2;
|
|
1839
|
-
} else
|
|
1840
|
-
treeContextId = 1 << length | index3 << baseLength | baseIdWithLeadingBit, treeContextOverflow = workInProgress2;
|
|
1841
|
-
}
|
|
1842
|
-
function pushMaterializedTreeId(workInProgress2) {
|
|
1843
|
-
workInProgress2.return !== null && (pushTreeFork(workInProgress2, 1), pushTreeId(workInProgress2, 1, 0));
|
|
1844
|
-
}
|
|
1845
|
-
function popTreeContext(workInProgress2) {
|
|
1846
|
-
for (; workInProgress2 === treeForkProvider; )
|
|
1847
|
-
treeForkProvider = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null, treeForkCount = forkStack[--forkStackIndex], forkStack[forkStackIndex] = null;
|
|
1848
|
-
for (; workInProgress2 === treeContextProvider; )
|
|
1849
|
-
treeContextProvider = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextOverflow = idStack[--idStackIndex], idStack[idStackIndex] = null, treeContextId = idStack[--idStackIndex], idStack[idStackIndex] = null;
|
|
1850
|
-
}
|
|
1851
|
-
function restoreSuspendedTreeContext(workInProgress2, suspendedContext) {
|
|
1852
|
-
idStack[idStackIndex++] = treeContextId, idStack[idStackIndex++] = treeContextOverflow, idStack[idStackIndex++] = treeContextProvider, treeContextId = suspendedContext.id, treeContextOverflow = suspendedContext.overflow, treeContextProvider = workInProgress2;
|
|
1853
|
-
}
|
|
1854
|
-
var hydrationParentFiber = null, nextHydratableInstance = null, isHydrating = !1, hydrationErrors = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519));
|
|
1855
|
-
function throwOnHydrationMismatch(fiber) {
|
|
1856
|
-
var error = Error(
|
|
1857
|
-
formatProdErrorMessage(
|
|
1858
|
-
418,
|
|
1859
|
-
1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
|
|
1860
|
-
""
|
|
1861
|
-
)
|
|
1862
|
-
);
|
|
1863
|
-
throw queueHydrationError(createCapturedValueAtFiber(error, fiber)), HydrationMismatchException;
|
|
1864
|
-
}
|
|
1865
|
-
function prepareToHydrateHostInstance(fiber) {
|
|
1866
|
-
var instance = fiber.stateNode, type = fiber.type, props = fiber.memoizedProps;
|
|
1867
|
-
switch (instance[internalInstanceKey] = fiber, instance[internalPropsKey] = props, type) {
|
|
1868
|
-
case "dialog":
|
|
1869
|
-
listenToNonDelegatedEvent("cancel", instance), listenToNonDelegatedEvent("close", instance);
|
|
1870
|
-
break;
|
|
1871
|
-
case "iframe":
|
|
1872
|
-
case "object":
|
|
1873
|
-
case "embed":
|
|
1874
|
-
listenToNonDelegatedEvent("load", instance);
|
|
1875
|
-
break;
|
|
1876
|
-
case "video":
|
|
1877
|
-
case "audio":
|
|
1878
|
-
for (type = 0; type < mediaEventTypes.length; type++)
|
|
1879
|
-
listenToNonDelegatedEvent(mediaEventTypes[type], instance);
|
|
1880
|
-
break;
|
|
1881
|
-
case "source":
|
|
1882
|
-
listenToNonDelegatedEvent("error", instance);
|
|
1883
|
-
break;
|
|
1884
|
-
case "img":
|
|
1885
|
-
case "image":
|
|
1886
|
-
case "link":
|
|
1887
|
-
listenToNonDelegatedEvent("error", instance), listenToNonDelegatedEvent("load", instance);
|
|
1888
|
-
break;
|
|
1889
|
-
case "details":
|
|
1890
|
-
listenToNonDelegatedEvent("toggle", instance);
|
|
1891
|
-
break;
|
|
1892
|
-
case "input":
|
|
1893
|
-
listenToNonDelegatedEvent("invalid", instance), initInput(
|
|
1894
|
-
instance,
|
|
1895
|
-
props.value,
|
|
1896
|
-
props.defaultValue,
|
|
1897
|
-
props.checked,
|
|
1898
|
-
props.defaultChecked,
|
|
1899
|
-
props.type,
|
|
1900
|
-
props.name,
|
|
1901
|
-
!0
|
|
1902
|
-
);
|
|
1903
|
-
break;
|
|
1904
|
-
case "select":
|
|
1905
|
-
listenToNonDelegatedEvent("invalid", instance);
|
|
1906
|
-
break;
|
|
1907
|
-
case "textarea":
|
|
1908
|
-
listenToNonDelegatedEvent("invalid", instance), initTextarea(instance, props.value, props.defaultValue, props.children);
|
|
1909
|
-
}
|
|
1910
|
-
type = props.children, typeof type != "string" && typeof type != "number" && typeof type != "bigint" || instance.textContent === "" + type || props.suppressHydrationWarning === !0 || checkForUnmatchedText(instance.textContent, type) ? (props.popover != null && (listenToNonDelegatedEvent("beforetoggle", instance), listenToNonDelegatedEvent("toggle", instance)), props.onScroll != null && listenToNonDelegatedEvent("scroll", instance), props.onScrollEnd != null && listenToNonDelegatedEvent("scrollend", instance), props.onClick != null && (instance.onclick = noop$1), instance = !0) : instance = !1, instance || throwOnHydrationMismatch(fiber, !0);
|
|
1911
|
-
}
|
|
1912
|
-
function popToNextHostParent(fiber) {
|
|
1913
|
-
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
|
|
1914
|
-
switch (hydrationParentFiber.tag) {
|
|
1915
|
-
case 5:
|
|
1916
|
-
case 31:
|
|
1917
|
-
case 13:
|
|
1918
|
-
rootOrSingletonContext = !1;
|
|
1919
|
-
return;
|
|
1920
|
-
case 27:
|
|
1921
|
-
case 3:
|
|
1922
|
-
rootOrSingletonContext = !0;
|
|
1923
|
-
return;
|
|
1924
|
-
default:
|
|
1925
|
-
hydrationParentFiber = hydrationParentFiber.return;
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
function popHydrationState(fiber) {
|
|
1929
|
-
if (fiber !== hydrationParentFiber) return !1;
|
|
1930
|
-
if (!isHydrating) return popToNextHostParent(fiber), isHydrating = !0, !1;
|
|
1931
|
-
var tag = fiber.tag, JSCompiler_temp;
|
|
1932
|
-
if ((JSCompiler_temp = tag !== 3 && tag !== 27) && ((JSCompiler_temp = tag === 5) && (JSCompiler_temp = fiber.type, JSCompiler_temp = !(JSCompiler_temp !== "form" && JSCompiler_temp !== "button") || shouldSetTextContent(fiber.type, fiber.memoizedProps)), JSCompiler_temp = !JSCompiler_temp), JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber), popToNextHostParent(fiber), tag === 13) {
|
|
1933
|
-
if (fiber = fiber.memoizedState, fiber = fiber !== null ? fiber.dehydrated : null, !fiber) throw Error(formatProdErrorMessage(317));
|
|
1934
|
-
nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber);
|
|
1935
|
-
} else if (tag === 31) {
|
|
1936
|
-
if (fiber = fiber.memoizedState, fiber = fiber !== null ? fiber.dehydrated : null, !fiber) throw Error(formatProdErrorMessage(317));
|
|
1937
|
-
nextHydratableInstance = getNextHydratableInstanceAfterHydrationBoundary(fiber);
|
|
1938
|
-
} else
|
|
1939
|
-
tag === 27 ? (tag = nextHydratableInstance, isSingletonScope(fiber.type) ? (fiber = previousHydratableOnEnteringScopedSingleton, previousHydratableOnEnteringScopedSingleton = null, nextHydratableInstance = fiber) : nextHydratableInstance = tag) : nextHydratableInstance = hydrationParentFiber ? getNextHydratable(fiber.stateNode.nextSibling) : null;
|
|
1940
|
-
return !0;
|
|
1941
|
-
}
|
|
1942
|
-
function resetHydrationState() {
|
|
1943
|
-
nextHydratableInstance = hydrationParentFiber = null, isHydrating = !1;
|
|
1944
|
-
}
|
|
1945
|
-
function upgradeHydrationErrorsToRecoverable() {
|
|
1946
|
-
var queuedErrors = hydrationErrors;
|
|
1947
|
-
return queuedErrors !== null && (workInProgressRootRecoverableErrors === null ? workInProgressRootRecoverableErrors = queuedErrors : workInProgressRootRecoverableErrors.push.apply(
|
|
1948
|
-
workInProgressRootRecoverableErrors,
|
|
1949
|
-
queuedErrors
|
|
1950
|
-
), hydrationErrors = null), queuedErrors;
|
|
1951
|
-
}
|
|
1952
|
-
function queueHydrationError(error) {
|
|
1953
|
-
hydrationErrors === null ? hydrationErrors = [error] : hydrationErrors.push(error);
|
|
1954
|
-
}
|
|
1955
|
-
var valueCursor = createCursor(null), currentlyRenderingFiber$1 = null, lastContextDependency = null;
|
|
1956
|
-
function pushProvider(providerFiber, context, nextValue) {
|
|
1957
|
-
push(valueCursor, context._currentValue), context._currentValue = nextValue;
|
|
1958
|
-
}
|
|
1959
|
-
function popProvider(context) {
|
|
1960
|
-
context._currentValue = valueCursor.current, pop(valueCursor);
|
|
1961
|
-
}
|
|
1962
|
-
function scheduleContextWorkOnParentPath(parent2, renderLanes2, propagationRoot) {
|
|
1963
|
-
for (; parent2 !== null; ) {
|
|
1964
|
-
var alternate = parent2.alternate;
|
|
1965
|
-
if ((parent2.childLanes & renderLanes2) !== renderLanes2 ? (parent2.childLanes |= renderLanes2, alternate !== null && (alternate.childLanes |= renderLanes2)) : alternate !== null && (alternate.childLanes & renderLanes2) !== renderLanes2 && (alternate.childLanes |= renderLanes2), parent2 === propagationRoot) break;
|
|
1966
|
-
parent2 = parent2.return;
|
|
1967
|
-
}
|
|
1968
|
-
}
|
|
1969
|
-
function propagateContextChanges(workInProgress2, contexts, renderLanes2, forcePropagateEntireTree) {
|
|
1970
|
-
var fiber = workInProgress2.child;
|
|
1971
|
-
for (fiber !== null && (fiber.return = workInProgress2); fiber !== null; ) {
|
|
1972
|
-
var list = fiber.dependencies;
|
|
1973
|
-
if (list !== null) {
|
|
1974
|
-
var nextFiber = fiber.child;
|
|
1975
|
-
list = list.firstContext;
|
|
1976
|
-
a: for (; list !== null; ) {
|
|
1977
|
-
var dependency = list;
|
|
1978
|
-
list = fiber;
|
|
1979
|
-
for (var i = 0; i < contexts.length; i++)
|
|
1980
|
-
if (dependency.context === contexts[i]) {
|
|
1981
|
-
list.lanes |= renderLanes2, dependency = list.alternate, dependency !== null && (dependency.lanes |= renderLanes2), scheduleContextWorkOnParentPath(
|
|
1982
|
-
list.return,
|
|
1983
|
-
renderLanes2,
|
|
1984
|
-
workInProgress2
|
|
1985
|
-
), forcePropagateEntireTree || (nextFiber = null);
|
|
1986
|
-
break a;
|
|
1987
|
-
}
|
|
1988
|
-
list = dependency.next;
|
|
1989
|
-
}
|
|
1990
|
-
} else if (fiber.tag === 18) {
|
|
1991
|
-
if (nextFiber = fiber.return, nextFiber === null) throw Error(formatProdErrorMessage(341));
|
|
1992
|
-
nextFiber.lanes |= renderLanes2, list = nextFiber.alternate, list !== null && (list.lanes |= renderLanes2), scheduleContextWorkOnParentPath(nextFiber, renderLanes2, workInProgress2), nextFiber = null;
|
|
1993
|
-
} else
|
|
1994
|
-
fiber.tag === 13 && fiber.memoizedState !== null && fiber.memoizedState.dehydrated === null ? (fiber.lanes |= renderLanes2, nextFiber = fiber.alternate, nextFiber !== null && (nextFiber.lanes |= renderLanes2), scheduleContextWorkOnParentPath(
|
|
1995
|
-
fiber.return,
|
|
1996
|
-
renderLanes2,
|
|
1997
|
-
workInProgress2
|
|
1998
|
-
), nextFiber = fiber.child, nextFiber = nextFiber !== null ? nextFiber.sibling : null) : nextFiber = fiber.child;
|
|
1999
|
-
if (nextFiber !== null) nextFiber.return = fiber;
|
|
2000
|
-
else
|
|
2001
|
-
for (nextFiber = fiber; nextFiber !== null; ) {
|
|
2002
|
-
if (nextFiber === workInProgress2) {
|
|
2003
|
-
nextFiber = null;
|
|
2004
|
-
break;
|
|
2005
|
-
}
|
|
2006
|
-
if (fiber = nextFiber.sibling, fiber !== null) {
|
|
2007
|
-
fiber.return = nextFiber.return, nextFiber = fiber;
|
|
2008
|
-
break;
|
|
2009
|
-
}
|
|
2010
|
-
nextFiber = nextFiber.return;
|
|
2011
|
-
}
|
|
2012
|
-
fiber = nextFiber;
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
function propagateParentContextChanges(current, workInProgress2, renderLanes2, forcePropagateEntireTree) {
|
|
2016
|
-
current = null;
|
|
2017
|
-
for (var parent2 = workInProgress2, isInsidePropagationBailout = !1; parent2 !== null; ) {
|
|
2018
|
-
if (!isInsidePropagationBailout) {
|
|
2019
|
-
if ((parent2.flags & 524288) !== 0) isInsidePropagationBailout = !0;
|
|
2020
|
-
else if ((parent2.flags & 262144) !== 0) break;
|
|
2021
|
-
}
|
|
2022
|
-
if (parent2.tag === 10) {
|
|
2023
|
-
var currentParent = parent2.alternate;
|
|
2024
|
-
if (currentParent === null) throw Error(formatProdErrorMessage(387));
|
|
2025
|
-
if (currentParent = currentParent.memoizedProps, currentParent !== null) {
|
|
2026
|
-
var context = parent2.type;
|
|
2027
|
-
objectIs(parent2.pendingProps.value, currentParent.value) || (current !== null ? current.push(context) : current = [context]);
|
|
2028
|
-
}
|
|
2029
|
-
} else if (parent2 === hostTransitionProviderCursor.current) {
|
|
2030
|
-
if (currentParent = parent2.alternate, currentParent === null) throw Error(formatProdErrorMessage(387));
|
|
2031
|
-
currentParent.memoizedState.memoizedState !== parent2.memoizedState.memoizedState && (current !== null ? current.push(HostTransitionContext) : current = [HostTransitionContext]);
|
|
2032
|
-
}
|
|
2033
|
-
parent2 = parent2.return;
|
|
2034
|
-
}
|
|
2035
|
-
return current !== null && propagateContextChanges(
|
|
2036
|
-
workInProgress2,
|
|
2037
|
-
current,
|
|
2038
|
-
renderLanes2,
|
|
2039
|
-
forcePropagateEntireTree
|
|
2040
|
-
), workInProgress2.flags |= 262144, current !== null;
|
|
2041
|
-
}
|
|
2042
|
-
function checkIfContextChanged(currentDependencies) {
|
|
2043
|
-
for (currentDependencies = currentDependencies.firstContext; currentDependencies !== null; ) {
|
|
2044
|
-
if (!objectIs(
|
|
2045
|
-
currentDependencies.context._currentValue,
|
|
2046
|
-
currentDependencies.memoizedValue
|
|
2047
|
-
))
|
|
2048
|
-
return !0;
|
|
2049
|
-
currentDependencies = currentDependencies.next;
|
|
2050
|
-
}
|
|
2051
|
-
return !1;
|
|
2052
|
-
}
|
|
2053
|
-
function prepareToReadContext(workInProgress2) {
|
|
2054
|
-
currentlyRenderingFiber$1 = workInProgress2, lastContextDependency = null, workInProgress2 = workInProgress2.dependencies, workInProgress2 !== null && (workInProgress2.firstContext = null);
|
|
2055
|
-
}
|
|
2056
|
-
function readContext(context) {
|
|
2057
|
-
return readContextForConsumer(currentlyRenderingFiber$1, context);
|
|
2058
|
-
}
|
|
2059
|
-
function readContextDuringReconciliation(consumer, context) {
|
|
2060
|
-
return currentlyRenderingFiber$1 === null && prepareToReadContext(consumer), readContextForConsumer(consumer, context);
|
|
2061
|
-
}
|
|
2062
|
-
function readContextForConsumer(consumer, context) {
|
|
2063
|
-
var value = context._currentValue;
|
|
2064
|
-
if (context = { context, memoizedValue: value, next: null }, lastContextDependency === null) {
|
|
2065
|
-
if (consumer === null) throw Error(formatProdErrorMessage(308));
|
|
2066
|
-
lastContextDependency = context, consumer.dependencies = { lanes: 0, firstContext: context }, consumer.flags |= 524288;
|
|
2067
|
-
} else lastContextDependency = lastContextDependency.next = context;
|
|
2068
|
-
return value;
|
|
2069
|
-
}
|
|
2070
|
-
var AbortControllerLocal = typeof AbortController < "u" ? AbortController : function() {
|
|
2071
|
-
var listeners = [], signal = this.signal = {
|
|
2072
|
-
aborted: !1,
|
|
2073
|
-
addEventListener: function(type, listener) {
|
|
2074
|
-
listeners.push(listener);
|
|
2075
|
-
}
|
|
2076
|
-
};
|
|
2077
|
-
this.abort = function() {
|
|
2078
|
-
signal.aborted = !0, listeners.forEach(function(listener) {
|
|
2079
|
-
return listener();
|
|
2080
|
-
});
|
|
2081
|
-
};
|
|
2082
|
-
}, scheduleCallback$2 = Scheduler.unstable_scheduleCallback, NormalPriority = Scheduler.unstable_NormalPriority, CacheContext = {
|
|
2083
|
-
$$typeof: REACT_CONTEXT_TYPE,
|
|
2084
|
-
Consumer: null,
|
|
2085
|
-
Provider: null,
|
|
2086
|
-
_currentValue: null,
|
|
2087
|
-
_currentValue2: null,
|
|
2088
|
-
_threadCount: 0
|
|
2089
|
-
};
|
|
2090
|
-
function createCache() {
|
|
2091
|
-
return {
|
|
2092
|
-
controller: new AbortControllerLocal(),
|
|
2093
|
-
data: /* @__PURE__ */ new Map(),
|
|
2094
|
-
refCount: 0
|
|
2095
|
-
};
|
|
2096
|
-
}
|
|
2097
|
-
function releaseCache(cache) {
|
|
2098
|
-
cache.refCount--, cache.refCount === 0 && scheduleCallback$2(NormalPriority, function() {
|
|
2099
|
-
cache.controller.abort();
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
function queueTransitionTypes(root2, transitionTypes) {
|
|
2103
|
-
if ((root2.pendingLanes & 4194048) !== 0) {
|
|
2104
|
-
var queued = root2.transitionTypes;
|
|
2105
|
-
for (queued === null && (queued = root2.transitionTypes = []), root2 = 0; root2 < transitionTypes.length; root2++) {
|
|
2106
|
-
var transitionType = transitionTypes[root2];
|
|
2107
|
-
queued.indexOf(transitionType) === -1 && queued.push(transitionType);
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
var entangledTransitionTypes = null;
|
|
2112
|
-
function claimQueuedTransitionTypes(root2) {
|
|
2113
|
-
var claimed = root2.transitionTypes;
|
|
2114
|
-
return root2.transitionTypes = null, claimed;
|
|
2115
|
-
}
|
|
2116
|
-
var currentEntangledListeners = null, currentEntangledPendingCount = 0, currentEntangledLane = 0, currentEntangledActionThenable = null;
|
|
2117
|
-
function entangleAsyncAction(transition, thenable) {
|
|
2118
|
-
if (currentEntangledListeners === null) {
|
|
2119
|
-
var entangledListeners = currentEntangledListeners = [];
|
|
2120
|
-
currentEntangledPendingCount = 0, currentEntangledLane = requestTransitionLane(), currentEntangledActionThenable = {
|
|
2121
|
-
status: "pending",
|
|
2122
|
-
value: void 0,
|
|
2123
|
-
then: function(resolve) {
|
|
2124
|
-
entangledListeners.push(resolve);
|
|
2125
|
-
}
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
return currentEntangledPendingCount++, thenable.then(pingEngtangledActionScope, pingEngtangledActionScope), thenable;
|
|
2129
|
-
}
|
|
2130
|
-
function pingEngtangledActionScope() {
|
|
2131
|
-
if (--currentEntangledPendingCount === 0 && (entangledTransitionTypes = null, currentEntangledListeners !== null)) {
|
|
2132
|
-
currentEntangledActionThenable !== null && (currentEntangledActionThenable.status = "fulfilled");
|
|
2133
|
-
var listeners = currentEntangledListeners;
|
|
2134
|
-
currentEntangledListeners = null, currentEntangledLane = 0, currentEntangledActionThenable = null;
|
|
2135
|
-
for (var i = 0; i < listeners.length; i++) (0, listeners[i])();
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
function chainThenableValue(thenable, result) {
|
|
2139
|
-
var listeners = [], thenableWithOverride = {
|
|
2140
|
-
status: "pending",
|
|
2141
|
-
value: null,
|
|
2142
|
-
reason: null,
|
|
2143
|
-
then: function(resolve) {
|
|
2144
|
-
listeners.push(resolve);
|
|
2145
|
-
}
|
|
2146
|
-
};
|
|
2147
|
-
return thenable.then(
|
|
2148
|
-
function() {
|
|
2149
|
-
thenableWithOverride.status = "fulfilled", thenableWithOverride.value = result;
|
|
2150
|
-
for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);
|
|
2151
|
-
},
|
|
2152
|
-
function(error) {
|
|
2153
|
-
for (thenableWithOverride.status = "rejected", thenableWithOverride.reason = error, error = 0; error < listeners.length; error++)
|
|
2154
|
-
(0, listeners[error])(void 0);
|
|
2155
|
-
}
|
|
2156
|
-
), thenableWithOverride;
|
|
2157
|
-
}
|
|
2158
|
-
var prevOnStartTransitionFinish = ReactSharedInternals.S;
|
|
2159
|
-
ReactSharedInternals.S = function(transition, returnValue) {
|
|
2160
|
-
if (globalMostRecentTransitionTime = now(), typeof returnValue == "object" && returnValue !== null && typeof returnValue.then == "function" && entangleAsyncAction(transition, returnValue), entangledTransitionTypes !== null)
|
|
2161
|
-
for (var root$28 = firstScheduledRoot; root$28 !== null; )
|
|
2162
|
-
queueTransitionTypes(root$28, entangledTransitionTypes), root$28 = root$28.next;
|
|
2163
|
-
if (root$28 = transition.types, root$28 !== null) {
|
|
2164
|
-
for (var root$29 = firstScheduledRoot; root$29 !== null; )
|
|
2165
|
-
queueTransitionTypes(root$29, root$28), root$29 = root$29.next;
|
|
2166
|
-
if (currentEntangledLane !== 0) {
|
|
2167
|
-
root$29 = entangledTransitionTypes, root$29 === null && (root$29 = entangledTransitionTypes = []);
|
|
2168
|
-
for (var i = 0; i < root$28.length; i++) {
|
|
2169
|
-
var transitionType = root$28[i];
|
|
2170
|
-
root$29.indexOf(transitionType) === -1 && root$29.push(transitionType);
|
|
2171
|
-
}
|
|
2172
|
-
}
|
|
2173
|
-
}
|
|
2174
|
-
prevOnStartTransitionFinish !== null && prevOnStartTransitionFinish(transition, returnValue);
|
|
2175
|
-
};
|
|
2176
|
-
var resumedCache = createCursor(null);
|
|
2177
|
-
function peekCacheFromPool() {
|
|
2178
|
-
var cacheResumedFromPreviousRender = resumedCache.current;
|
|
2179
|
-
return cacheResumedFromPreviousRender !== null ? cacheResumedFromPreviousRender : workInProgressRoot.pooledCache;
|
|
2180
|
-
}
|
|
2181
|
-
function pushTransition(offscreenWorkInProgress, prevCachePool) {
|
|
2182
|
-
prevCachePool === null ? push(resumedCache, resumedCache.current) : push(resumedCache, prevCachePool.pool);
|
|
2183
|
-
}
|
|
2184
|
-
function getSuspendedCache() {
|
|
2185
|
-
var cacheFromPool = peekCacheFromPool();
|
|
2186
|
-
return cacheFromPool === null ? null : { parent: CacheContext._currentValue, pool: cacheFromPool };
|
|
2187
|
-
}
|
|
2188
|
-
var SuspenseException = Error(formatProdErrorMessage(460)), SuspenseyCommitException = Error(formatProdErrorMessage(474)), SuspenseActionException = Error(formatProdErrorMessage(542)), noopSuspenseyCommitThenable = { then: function() {
|
|
2189
|
-
} };
|
|
2190
|
-
function isThenableResolved(thenable) {
|
|
2191
|
-
return thenable = thenable.status, thenable === "fulfilled" || thenable === "rejected";
|
|
2192
|
-
}
|
|
2193
|
-
function trackUsedThenable(thenableState2, thenable, index3) {
|
|
2194
|
-
switch (index3 = thenableState2[index3], index3 === void 0 ? thenableState2.push(thenable) : index3 !== thenable && (thenable.then(noop$1, noop$1), thenable = index3), thenable.status) {
|
|
2195
|
-
case "fulfilled":
|
|
2196
|
-
return thenable.value;
|
|
2197
|
-
case "rejected":
|
|
2198
|
-
throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2 === void 0 && !("reason" in thenable) ? Error(formatProdErrorMessage(600)) : thenableState2;
|
|
2199
|
-
default:
|
|
2200
|
-
if (typeof thenable.status == "string") thenable.then(noop$1, noop$1);
|
|
2201
|
-
else {
|
|
2202
|
-
if (thenableState2 = workInProgressRoot, thenableState2 !== null && 100 < thenableState2.shellSuspendCounter)
|
|
2203
|
-
throw Error(formatProdErrorMessage(482));
|
|
2204
|
-
thenableState2 = thenable, thenableState2.status = "pending", thenableState2.then(
|
|
2205
|
-
function(fulfilledValue) {
|
|
2206
|
-
if (thenable.status === "pending") {
|
|
2207
|
-
var fulfilledThenable = thenable;
|
|
2208
|
-
fulfilledThenable.status = "fulfilled", fulfilledThenable.value = fulfilledValue;
|
|
2209
|
-
}
|
|
2210
|
-
},
|
|
2211
|
-
function(error) {
|
|
2212
|
-
if (thenable.status === "pending") {
|
|
2213
|
-
var rejectedThenable = thenable;
|
|
2214
|
-
rejectedThenable.status = "rejected", rejectedThenable.reason = error;
|
|
2215
|
-
}
|
|
2216
|
-
}
|
|
2217
|
-
);
|
|
2218
|
-
}
|
|
2219
|
-
switch (thenable.status) {
|
|
2220
|
-
case "fulfilled":
|
|
2221
|
-
return thenable.value;
|
|
2222
|
-
case "rejected":
|
|
2223
|
-
throw thenableState2 = thenable.reason, checkIfUseWrappedInAsyncCatch(thenableState2), thenableState2;
|
|
2224
|
-
}
|
|
2225
|
-
throw suspendedThenable = thenable, SuspenseException;
|
|
2226
|
-
}
|
|
2227
|
-
}
|
|
2228
|
-
function resolveLazy(lazyType) {
|
|
2229
|
-
try {
|
|
2230
|
-
var init = lazyType._init;
|
|
2231
|
-
return init(lazyType._payload);
|
|
2232
|
-
} catch (x) {
|
|
2233
|
-
throw x !== null && typeof x == "object" && typeof x.then == "function" ? (suspendedThenable = x, SuspenseException) : x;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
var suspendedThenable = null;
|
|
2237
|
-
function getSuspendedThenable() {
|
|
2238
|
-
if (suspendedThenable === null) throw Error(formatProdErrorMessage(459));
|
|
2239
|
-
var thenable = suspendedThenable;
|
|
2240
|
-
return suspendedThenable = null, thenable;
|
|
2241
|
-
}
|
|
2242
|
-
function checkIfUseWrappedInAsyncCatch(rejectedReason) {
|
|
2243
|
-
if (rejectedReason === SuspenseException || rejectedReason === SuspenseActionException)
|
|
2244
|
-
throw Error(formatProdErrorMessage(483));
|
|
2245
|
-
}
|
|
2246
|
-
var thenableState$1 = null, thenableIndexCounter$1 = 0;
|
|
2247
|
-
function unwrapThenable(thenable) {
|
|
2248
|
-
var index3 = thenableIndexCounter$1;
|
|
2249
|
-
return thenableIndexCounter$1 += 1, thenableState$1 === null && (thenableState$1 = []), trackUsedThenable(thenableState$1, thenable, index3);
|
|
2250
|
-
}
|
|
2251
|
-
function coerceRef(workInProgress2, element) {
|
|
2252
|
-
element = element.props.ref, workInProgress2.ref = element !== void 0 ? element : null;
|
|
2253
|
-
}
|
|
2254
|
-
function throwOnInvalidObjectTypeImpl(returnFiber, newChild) {
|
|
2255
|
-
throw newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE ? Error(formatProdErrorMessage(525)) : (returnFiber = Object.prototype.toString.call(newChild), Error(
|
|
2256
|
-
formatProdErrorMessage(
|
|
2257
|
-
31,
|
|
2258
|
-
returnFiber === "[object Object]" ? "object with keys {" + Object.keys(newChild).join(", ") + "}" : returnFiber
|
|
2259
|
-
)
|
|
2260
|
-
));
|
|
2261
|
-
}
|