vansrouter 0.91.0 → 0.91.5
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/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +7 -7
- package/app/.next-cli-build/build-manifest.json +2 -2
- package/app/.next-cli-build/prerender-manifest.json +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-fitness/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/gcp-projects/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +3 -3
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +4 -4
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/masuk/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +7 -7
- package/app/.next-cli-build/server/chunks/1632.js +1 -1
- package/app/.next-cli-build/server/chunks/2557.js +1 -1
- package/app/.next-cli-build/server/chunks/2764.js +1 -1
- package/app/.next-cli-build/server/chunks/3539.js +1 -1
- package/app/.next-cli-build/server/chunks/4502.js +1 -1
- package/app/.next-cli-build/server/chunks/4574.js +2 -2
- package/app/.next-cli-build/server/chunks/4836.js +1 -1
- package/app/.next-cli-build/server/chunks/5006.js +1 -1
- package/app/.next-cli-build/server/chunks/5302.js +1 -1
- package/app/.next-cli-build/server/chunks/5598.js +1 -1
- package/app/.next-cli-build/server/chunks/622.js +1 -1
- package/app/.next-cli-build/server/chunks/7104.js +1 -1
- package/app/.next-cli-build/server/chunks/9984.js +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/4385-c0914bc328af003a.js +1 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-775d2e9133c07844.js → page-7e4411e7070e11c8.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-5039d324c1af44cd.js +12 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-ac56e568902351a0.js +1 -0
- package/app/_nm/react/LICENSE +21 -0
- package/app/_nm/react/README.md +37 -0
- package/app/_nm/react/cjs/react-compiler-runtime.development.js +24 -0
- package/app/_nm/react/cjs/react-compiler-runtime.production.js +16 -0
- package/app/_nm/react/cjs/react-compiler-runtime.profiling.js +16 -0
- package/app/_nm/react/cjs/react-jsx-dev-runtime.development.js +338 -0
- package/app/_nm/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/app/_nm/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
- package/app/_nm/react/cjs/react-jsx-dev-runtime.react-server.development.js +370 -0
- package/app/_nm/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
- package/app/_nm/react/cjs/react-jsx-runtime.development.js +352 -0
- package/app/_nm/react/cjs/react-jsx-runtime.production.js +34 -0
- package/app/_nm/react/cjs/react-jsx-runtime.profiling.js +34 -0
- package/app/_nm/react/cjs/react-jsx-runtime.react-server.development.js +370 -0
- package/app/_nm/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
- package/app/_nm/react/cjs/react.development.js +1284 -0
- package/app/_nm/react/cjs/react.production.js +542 -0
- package/app/_nm/react/cjs/react.react-server.development.js +848 -0
- package/app/_nm/react/cjs/react.react-server.production.js +423 -0
- package/app/_nm/react/compiler-runtime.js +14 -0
- package/app/_nm/react/index.js +7 -0
- package/app/_nm/react/jsx-dev-runtime.js +7 -0
- package/app/_nm/react/jsx-dev-runtime.react-server.js +7 -0
- package/app/_nm/react/jsx-runtime.js +7 -0
- package/app/_nm/react/jsx-runtime.react-server.js +7 -0
- package/app/_nm/react/package.json +51 -0
- package/app/_nm/react/react.react-server.js +7 -0
- package/app/_nm/react-dom/LICENSE +21 -0
- package/app/_nm/react-dom/README.md +60 -0
- package/app/_nm/react-dom/cjs/react-dom-client.development.js +28121 -0
- package/app/_nm/react-dom/cjs/react-dom-client.production.js +16049 -0
- package/app/_nm/react-dom/cjs/react-dom-profiling.development.js +28503 -0
- package/app/_nm/react-dom/cjs/react-dom-profiling.profiling.js +18068 -0
- package/app/_nm/react-dom/cjs/react-dom-server-legacy.browser.development.js +9877 -0
- package/app/_nm/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
- package/app/_nm/react-dom/cjs/react-dom-server-legacy.node.development.js +9877 -0
- package/app/_nm/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
- package/app/_nm/react-dom/cjs/react-dom-server.browser.development.js +10601 -0
- package/app/_nm/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
- package/app/_nm/react-dom/cjs/react-dom-server.bun.development.js +9605 -0
- package/app/_nm/react-dom/cjs/react-dom-server.bun.production.js +6745 -0
- package/app/_nm/react-dom/cjs/react-dom-server.edge.development.js +10620 -0
- package/app/_nm/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
- package/app/_nm/react-dom/cjs/react-dom-server.node.development.js +10802 -0
- package/app/_nm/react-dom/cjs/react-dom-server.node.production.js +7707 -0
- package/app/_nm/react-dom/cjs/react-dom-test-utils.development.js +24 -0
- package/app/_nm/react-dom/cjs/react-dom-test-utils.production.js +21 -0
- package/app/_nm/react-dom/cjs/react-dom.development.js +424 -0
- package/app/_nm/react-dom/cjs/react-dom.production.js +210 -0
- package/app/_nm/react-dom/cjs/react-dom.react-server.development.js +340 -0
- package/app/_nm/react-dom/cjs/react-dom.react-server.production.js +152 -0
- package/app/_nm/react-dom/client.js +38 -0
- package/app/_nm/react-dom/client.react-server.js +5 -0
- package/app/_nm/react-dom/index.js +38 -0
- package/app/_nm/react-dom/package.json +117 -0
- package/app/_nm/react-dom/profiling.js +38 -0
- package/app/_nm/react-dom/profiling.react-server.js +5 -0
- package/app/_nm/react-dom/react-dom.react-server.js +7 -0
- package/app/_nm/react-dom/server.browser.js +16 -0
- package/app/_nm/react-dom/server.bun.js +17 -0
- package/app/_nm/react-dom/server.edge.js +17 -0
- package/app/_nm/react-dom/server.js +3 -0
- package/app/_nm/react-dom/server.node.js +18 -0
- package/app/_nm/react-dom/server.react-server.js +5 -0
- package/app/_nm/react-dom/static.browser.js +12 -0
- package/app/_nm/react-dom/static.edge.js +12 -0
- package/app/_nm/react-dom/static.js +3 -0
- package/app/_nm/react-dom/static.node.js +14 -0
- package/app/_nm/react-dom/static.react-server.js +5 -0
- package/app/_nm/react-dom/test-utils.js +7 -0
- package/app/_nm/sql.js/.devcontainer/Dockerfile +76 -0
- package/app/_nm/sql.js/.devcontainer/devcontainer.json +20 -0
- package/app/_nm/sql.js/.eslintrc.js +68 -0
- package/app/_nm/sql.js/.jsdoc.config.json +38 -0
- package/app/_nm/sql.js/.nojekyll +0 -0
- package/app/_nm/sql.js/AUTHORS +8 -0
- package/app/_nm/sql.js/CONTRIBUTING.md +66 -0
- package/app/_nm/sql.js/LICENSE +44 -0
- package/app/_nm/sql.js/README.md +357 -0
- package/app/_nm/sql.js/dist/sql-asm-debug.js +140890 -0
- package/app/_nm/sql.js/dist/sql-asm-memory-growth.js +204 -0
- package/app/_nm/sql.js/dist/sql-asm.js +202 -0
- package/app/_nm/sql.js/dist/sql-wasm-browser-debug.js +7157 -0
- package/app/_nm/sql.js/dist/sql-wasm-browser-debug.wasm +0 -0
- package/app/_nm/sql.js/dist/sql-wasm-browser.js +183 -0
- package/app/_nm/sql.js/dist/sql-wasm-browser.wasm +0 -0
- package/app/_nm/sql.js/dist/sql-wasm-debug.js +7265 -0
- package/app/_nm/sql.js/dist/sql-wasm-debug.wasm +0 -0
- package/app/_nm/sql.js/dist/sql-wasm.wasm +0 -0
- package/app/_nm/sql.js/dist/worker.sql-asm-debug.js +141011 -0
- package/app/_nm/sql.js/dist/worker.sql-asm.js +323 -0
- package/app/_nm/sql.js/dist/worker.sql-wasm-debug.js +7386 -0
- package/app/_nm/sql.js/dist/worker.sql-wasm.js +306 -0
- package/app/_nm/sql.js/documentation_index.md +26 -0
- package/app/_nm/sql.js/eslint.config.cjs +57 -0
- package/app/_nm/sql.js/logo.svg +13 -0
- package/app/package.json +1 -1
- package/cli.js +0 -3
- package/hooks/sqliteRuntime.js +20 -5
- package/package.json +5 -2
- package/app/.next-cli-build/static/chunks/4385-f174ba7bd8d55a16.js +0 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-7554227adda5679e.js +0 -12
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-44af31c220b203a8.js +0 -1
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js +0 -90
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js +0 -3
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js +0 -43
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js +0 -67
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js +0 -31
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js +0 -7
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js +0 -12
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js +0 -16
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js +0 -189
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js +0 -78
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js +0 -54
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js +0 -20
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js +0 -12
- package/app/_nm/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/package.json +0 -59
- /package/app/.next-cli-build/static/{v41gJTKLtRvPbsQjRtfLb → WuRuQCoSteIg58fPNKmNT}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{v41gJTKLtRvPbsQjRtfLb → WuRuQCoSteIg58fPNKmNT}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.react-server.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
var ReactSharedInternals = { H: null, A: null };
|
|
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 (
|
|
21
|
+
"Minified React error #" +
|
|
22
|
+
code +
|
|
23
|
+
"; visit " +
|
|
24
|
+
url +
|
|
25
|
+
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
var isArrayImpl = Array.isArray;
|
|
29
|
+
function noop() {}
|
|
30
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
31
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
32
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
33
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
34
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
35
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
36
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
37
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
38
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
39
|
+
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
40
|
+
function getIteratorFn(maybeIterable) {
|
|
41
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
42
|
+
maybeIterable =
|
|
43
|
+
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
|
44
|
+
maybeIterable["@@iterator"];
|
|
45
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
46
|
+
}
|
|
47
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
48
|
+
assign = Object.assign;
|
|
49
|
+
function ReactElement(type, key, props) {
|
|
50
|
+
var refProp = props.ref;
|
|
51
|
+
return {
|
|
52
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
53
|
+
type: type,
|
|
54
|
+
key: key,
|
|
55
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
56
|
+
props: props
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
60
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
61
|
+
}
|
|
62
|
+
function isValidElement(object) {
|
|
63
|
+
return (
|
|
64
|
+
"object" === typeof object &&
|
|
65
|
+
null !== object &&
|
|
66
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
function escape(key) {
|
|
70
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
71
|
+
return (
|
|
72
|
+
"$" +
|
|
73
|
+
key.replace(/[=:]/g, function (match) {
|
|
74
|
+
return escaperLookup[match];
|
|
75
|
+
})
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
79
|
+
function getElementKey(element, index) {
|
|
80
|
+
return "object" === typeof element && null !== element && null != element.key
|
|
81
|
+
? escape("" + element.key)
|
|
82
|
+
: index.toString(36);
|
|
83
|
+
}
|
|
84
|
+
function resolveThenable(thenable) {
|
|
85
|
+
switch (thenable.status) {
|
|
86
|
+
case "fulfilled":
|
|
87
|
+
return thenable.value;
|
|
88
|
+
case "rejected":
|
|
89
|
+
throw thenable.reason;
|
|
90
|
+
default:
|
|
91
|
+
switch (
|
|
92
|
+
("string" === typeof thenable.status
|
|
93
|
+
? thenable.then(noop, noop)
|
|
94
|
+
: ((thenable.status = "pending"),
|
|
95
|
+
thenable.then(
|
|
96
|
+
function (fulfilledValue) {
|
|
97
|
+
"pending" === thenable.status &&
|
|
98
|
+
((thenable.status = "fulfilled"),
|
|
99
|
+
(thenable.value = fulfilledValue));
|
|
100
|
+
},
|
|
101
|
+
function (error) {
|
|
102
|
+
"pending" === thenable.status &&
|
|
103
|
+
((thenable.status = "rejected"), (thenable.reason = error));
|
|
104
|
+
}
|
|
105
|
+
)),
|
|
106
|
+
thenable.status)
|
|
107
|
+
) {
|
|
108
|
+
case "fulfilled":
|
|
109
|
+
return thenable.value;
|
|
110
|
+
case "rejected":
|
|
111
|
+
throw thenable.reason;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
throw thenable;
|
|
115
|
+
}
|
|
116
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
117
|
+
var type = typeof children;
|
|
118
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
119
|
+
var invokeCallback = !1;
|
|
120
|
+
if (null === children) invokeCallback = !0;
|
|
121
|
+
else
|
|
122
|
+
switch (type) {
|
|
123
|
+
case "bigint":
|
|
124
|
+
case "string":
|
|
125
|
+
case "number":
|
|
126
|
+
invokeCallback = !0;
|
|
127
|
+
break;
|
|
128
|
+
case "object":
|
|
129
|
+
switch (children.$$typeof) {
|
|
130
|
+
case REACT_ELEMENT_TYPE:
|
|
131
|
+
case REACT_PORTAL_TYPE:
|
|
132
|
+
invokeCallback = !0;
|
|
133
|
+
break;
|
|
134
|
+
case REACT_LAZY_TYPE:
|
|
135
|
+
return (
|
|
136
|
+
(invokeCallback = children._init),
|
|
137
|
+
mapIntoArray(
|
|
138
|
+
invokeCallback(children._payload),
|
|
139
|
+
array,
|
|
140
|
+
escapedPrefix,
|
|
141
|
+
nameSoFar,
|
|
142
|
+
callback
|
|
143
|
+
)
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (invokeCallback)
|
|
148
|
+
return (
|
|
149
|
+
(callback = callback(children)),
|
|
150
|
+
(invokeCallback =
|
|
151
|
+
"" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
|
|
152
|
+
isArrayImpl(callback)
|
|
153
|
+
? ((escapedPrefix = ""),
|
|
154
|
+
null != invokeCallback &&
|
|
155
|
+
(escapedPrefix =
|
|
156
|
+
invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
|
|
157
|
+
mapIntoArray(callback, array, escapedPrefix, "", function (c) {
|
|
158
|
+
return c;
|
|
159
|
+
}))
|
|
160
|
+
: null != callback &&
|
|
161
|
+
(isValidElement(callback) &&
|
|
162
|
+
(callback = cloneAndReplaceKey(
|
|
163
|
+
callback,
|
|
164
|
+
escapedPrefix +
|
|
165
|
+
(null == callback.key ||
|
|
166
|
+
(children && children.key === callback.key)
|
|
167
|
+
? ""
|
|
168
|
+
: ("" + callback.key).replace(
|
|
169
|
+
userProvidedKeyEscapeRegex,
|
|
170
|
+
"$&/"
|
|
171
|
+
) + "/") +
|
|
172
|
+
invokeCallback
|
|
173
|
+
)),
|
|
174
|
+
array.push(callback)),
|
|
175
|
+
1
|
|
176
|
+
);
|
|
177
|
+
invokeCallback = 0;
|
|
178
|
+
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
179
|
+
if (isArrayImpl(children))
|
|
180
|
+
for (var i = 0; i < children.length; i++)
|
|
181
|
+
(nameSoFar = children[i]),
|
|
182
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i)),
|
|
183
|
+
(invokeCallback += mapIntoArray(
|
|
184
|
+
nameSoFar,
|
|
185
|
+
array,
|
|
186
|
+
escapedPrefix,
|
|
187
|
+
type,
|
|
188
|
+
callback
|
|
189
|
+
));
|
|
190
|
+
else if (((i = getIteratorFn(children)), "function" === typeof i))
|
|
191
|
+
for (
|
|
192
|
+
children = i.call(children), i = 0;
|
|
193
|
+
!(nameSoFar = children.next()).done;
|
|
194
|
+
|
|
195
|
+
)
|
|
196
|
+
(nameSoFar = nameSoFar.value),
|
|
197
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i++)),
|
|
198
|
+
(invokeCallback += mapIntoArray(
|
|
199
|
+
nameSoFar,
|
|
200
|
+
array,
|
|
201
|
+
escapedPrefix,
|
|
202
|
+
type,
|
|
203
|
+
callback
|
|
204
|
+
));
|
|
205
|
+
else if ("object" === type) {
|
|
206
|
+
if ("function" === typeof children.then)
|
|
207
|
+
return mapIntoArray(
|
|
208
|
+
resolveThenable(children),
|
|
209
|
+
array,
|
|
210
|
+
escapedPrefix,
|
|
211
|
+
nameSoFar,
|
|
212
|
+
callback
|
|
213
|
+
);
|
|
214
|
+
array = String(children);
|
|
215
|
+
throw Error(
|
|
216
|
+
formatProdErrorMessage(
|
|
217
|
+
31,
|
|
218
|
+
"[object Object]" === array
|
|
219
|
+
? "object with keys {" + Object.keys(children).join(", ") + "}"
|
|
220
|
+
: array
|
|
221
|
+
)
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
return invokeCallback;
|
|
225
|
+
}
|
|
226
|
+
function mapChildren(children, func, context) {
|
|
227
|
+
if (null == children) return children;
|
|
228
|
+
var result = [],
|
|
229
|
+
count = 0;
|
|
230
|
+
mapIntoArray(children, result, "", "", function (child) {
|
|
231
|
+
return func.call(context, child, count++);
|
|
232
|
+
});
|
|
233
|
+
return result;
|
|
234
|
+
}
|
|
235
|
+
function lazyInitializer(payload) {
|
|
236
|
+
if (-1 === payload._status) {
|
|
237
|
+
var ctor = payload._result;
|
|
238
|
+
ctor = ctor();
|
|
239
|
+
ctor.then(
|
|
240
|
+
function (moduleObject) {
|
|
241
|
+
if (0 === payload._status || -1 === payload._status)
|
|
242
|
+
(payload._status = 1), (payload._result = moduleObject);
|
|
243
|
+
},
|
|
244
|
+
function (error) {
|
|
245
|
+
if (0 === payload._status || -1 === payload._status)
|
|
246
|
+
(payload._status = 2), (payload._result = error);
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
-1 === payload._status && ((payload._status = 0), (payload._result = ctor));
|
|
250
|
+
}
|
|
251
|
+
if (1 === payload._status) return payload._result.default;
|
|
252
|
+
throw payload._result;
|
|
253
|
+
}
|
|
254
|
+
function createCacheRoot() {
|
|
255
|
+
return new WeakMap();
|
|
256
|
+
}
|
|
257
|
+
function createCacheNode() {
|
|
258
|
+
return { s: 0, v: void 0, o: null, p: null };
|
|
259
|
+
}
|
|
260
|
+
exports.Children = {
|
|
261
|
+
map: mapChildren,
|
|
262
|
+
forEach: function (children, forEachFunc, forEachContext) {
|
|
263
|
+
mapChildren(
|
|
264
|
+
children,
|
|
265
|
+
function () {
|
|
266
|
+
forEachFunc.apply(this, arguments);
|
|
267
|
+
},
|
|
268
|
+
forEachContext
|
|
269
|
+
);
|
|
270
|
+
},
|
|
271
|
+
count: function (children) {
|
|
272
|
+
var n = 0;
|
|
273
|
+
mapChildren(children, function () {
|
|
274
|
+
n++;
|
|
275
|
+
});
|
|
276
|
+
return n;
|
|
277
|
+
},
|
|
278
|
+
toArray: function (children) {
|
|
279
|
+
return (
|
|
280
|
+
mapChildren(children, function (child) {
|
|
281
|
+
return child;
|
|
282
|
+
}) || []
|
|
283
|
+
);
|
|
284
|
+
},
|
|
285
|
+
only: function (children) {
|
|
286
|
+
if (!isValidElement(children)) throw Error(formatProdErrorMessage(143));
|
|
287
|
+
return children;
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
291
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
292
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
293
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
294
|
+
exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
295
|
+
ReactSharedInternals;
|
|
296
|
+
exports.cache = function (fn) {
|
|
297
|
+
return function () {
|
|
298
|
+
var dispatcher = ReactSharedInternals.A;
|
|
299
|
+
if (!dispatcher) return fn.apply(null, arguments);
|
|
300
|
+
var fnMap = dispatcher.getCacheForType(createCacheRoot);
|
|
301
|
+
dispatcher = fnMap.get(fn);
|
|
302
|
+
void 0 === dispatcher &&
|
|
303
|
+
((dispatcher = createCacheNode()), fnMap.set(fn, dispatcher));
|
|
304
|
+
fnMap = 0;
|
|
305
|
+
for (var l = arguments.length; fnMap < l; fnMap++) {
|
|
306
|
+
var arg = arguments[fnMap];
|
|
307
|
+
if (
|
|
308
|
+
"function" === typeof arg ||
|
|
309
|
+
("object" === typeof arg && null !== arg)
|
|
310
|
+
) {
|
|
311
|
+
var objectCache = dispatcher.o;
|
|
312
|
+
null === objectCache && (dispatcher.o = objectCache = new WeakMap());
|
|
313
|
+
dispatcher = objectCache.get(arg);
|
|
314
|
+
void 0 === dispatcher &&
|
|
315
|
+
((dispatcher = createCacheNode()), objectCache.set(arg, dispatcher));
|
|
316
|
+
} else
|
|
317
|
+
(objectCache = dispatcher.p),
|
|
318
|
+
null === objectCache && (dispatcher.p = objectCache = new Map()),
|
|
319
|
+
(dispatcher = objectCache.get(arg)),
|
|
320
|
+
void 0 === dispatcher &&
|
|
321
|
+
((dispatcher = createCacheNode()),
|
|
322
|
+
objectCache.set(arg, dispatcher));
|
|
323
|
+
}
|
|
324
|
+
if (1 === dispatcher.s) return dispatcher.v;
|
|
325
|
+
if (2 === dispatcher.s) throw dispatcher.v;
|
|
326
|
+
try {
|
|
327
|
+
var result = fn.apply(null, arguments);
|
|
328
|
+
fnMap = dispatcher;
|
|
329
|
+
fnMap.s = 1;
|
|
330
|
+
return (fnMap.v = result);
|
|
331
|
+
} catch (error) {
|
|
332
|
+
throw ((result = dispatcher), (result.s = 2), (result.v = error), error);
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
exports.cacheSignal = function () {
|
|
337
|
+
var dispatcher = ReactSharedInternals.A;
|
|
338
|
+
return dispatcher ? dispatcher.cacheSignal() : null;
|
|
339
|
+
};
|
|
340
|
+
exports.captureOwnerStack = function () {
|
|
341
|
+
return null;
|
|
342
|
+
};
|
|
343
|
+
exports.cloneElement = function (element, config, children) {
|
|
344
|
+
if (null === element || void 0 === element)
|
|
345
|
+
throw Error(formatProdErrorMessage(267, element));
|
|
346
|
+
var props = assign({}, element.props),
|
|
347
|
+
key = element.key;
|
|
348
|
+
if (null != config)
|
|
349
|
+
for (propName in (void 0 !== config.key && (key = "" + config.key), config))
|
|
350
|
+
!hasOwnProperty.call(config, propName) ||
|
|
351
|
+
"key" === propName ||
|
|
352
|
+
"__self" === propName ||
|
|
353
|
+
"__source" === propName ||
|
|
354
|
+
("ref" === propName && void 0 === config.ref) ||
|
|
355
|
+
(props[propName] = config[propName]);
|
|
356
|
+
var propName = arguments.length - 2;
|
|
357
|
+
if (1 === propName) props.children = children;
|
|
358
|
+
else if (1 < propName) {
|
|
359
|
+
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
360
|
+
childArray[i] = arguments[i + 2];
|
|
361
|
+
props.children = childArray;
|
|
362
|
+
}
|
|
363
|
+
return ReactElement(element.type, key, props);
|
|
364
|
+
};
|
|
365
|
+
exports.createElement = function (type, config, children) {
|
|
366
|
+
var propName,
|
|
367
|
+
props = {},
|
|
368
|
+
key = null;
|
|
369
|
+
if (null != config)
|
|
370
|
+
for (propName in (void 0 !== config.key && (key = "" + config.key), config))
|
|
371
|
+
hasOwnProperty.call(config, propName) &&
|
|
372
|
+
"key" !== propName &&
|
|
373
|
+
"__self" !== propName &&
|
|
374
|
+
"__source" !== propName &&
|
|
375
|
+
(props[propName] = config[propName]);
|
|
376
|
+
var childrenLength = arguments.length - 2;
|
|
377
|
+
if (1 === childrenLength) props.children = children;
|
|
378
|
+
else if (1 < childrenLength) {
|
|
379
|
+
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
380
|
+
childArray[i] = arguments[i + 2];
|
|
381
|
+
props.children = childArray;
|
|
382
|
+
}
|
|
383
|
+
if (type && type.defaultProps)
|
|
384
|
+
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
385
|
+
void 0 === props[propName] &&
|
|
386
|
+
(props[propName] = childrenLength[propName]);
|
|
387
|
+
return ReactElement(type, key, props);
|
|
388
|
+
};
|
|
389
|
+
exports.createRef = function () {
|
|
390
|
+
return { current: null };
|
|
391
|
+
};
|
|
392
|
+
exports.forwardRef = function (render) {
|
|
393
|
+
return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
|
|
394
|
+
};
|
|
395
|
+
exports.isValidElement = isValidElement;
|
|
396
|
+
exports.lazy = function (ctor) {
|
|
397
|
+
return {
|
|
398
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
399
|
+
_payload: { _status: -1, _result: ctor },
|
|
400
|
+
_init: lazyInitializer
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
exports.memo = function (type, compare) {
|
|
404
|
+
return {
|
|
405
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
406
|
+
type: type,
|
|
407
|
+
compare: void 0 === compare ? null : compare
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
exports.use = function (usable) {
|
|
411
|
+
return ReactSharedInternals.H.use(usable);
|
|
412
|
+
};
|
|
413
|
+
exports.useCallback = function (callback, deps) {
|
|
414
|
+
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
415
|
+
};
|
|
416
|
+
exports.useDebugValue = function () {};
|
|
417
|
+
exports.useId = function () {
|
|
418
|
+
return ReactSharedInternals.H.useId();
|
|
419
|
+
};
|
|
420
|
+
exports.useMemo = function (create, deps) {
|
|
421
|
+
return ReactSharedInternals.H.useMemo(create, deps);
|
|
422
|
+
};
|
|
423
|
+
exports.version = "19.2.4";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
'use strict';
|
|
9
|
+
|
|
10
|
+
if (process.env.NODE_ENV === 'production') {
|
|
11
|
+
module.exports = require('./cjs/react-compiler-runtime.production.js');
|
|
12
|
+
} else {
|
|
13
|
+
module.exports = require('./cjs/react-compiler-runtime.development.js');
|
|
14
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react",
|
|
3
|
+
"description": "React is a JavaScript library for building user interfaces.",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"react"
|
|
6
|
+
],
|
|
7
|
+
"version": "19.2.4",
|
|
8
|
+
"homepage": "https://react.dev/",
|
|
9
|
+
"bugs": "https://github.com/facebook/react/issues",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"files": [
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"README.md",
|
|
14
|
+
"index.js",
|
|
15
|
+
"cjs/",
|
|
16
|
+
"compiler-runtime.js",
|
|
17
|
+
"jsx-runtime.js",
|
|
18
|
+
"jsx-runtime.react-server.js",
|
|
19
|
+
"jsx-dev-runtime.js",
|
|
20
|
+
"jsx-dev-runtime.react-server.js",
|
|
21
|
+
"react.react-server.js"
|
|
22
|
+
],
|
|
23
|
+
"main": "index.js",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"react-server": "./react.react-server.js",
|
|
27
|
+
"default": "./index.js"
|
|
28
|
+
},
|
|
29
|
+
"./package.json": "./package.json",
|
|
30
|
+
"./jsx-runtime": {
|
|
31
|
+
"react-server": "./jsx-runtime.react-server.js",
|
|
32
|
+
"default": "./jsx-runtime.js"
|
|
33
|
+
},
|
|
34
|
+
"./jsx-dev-runtime": {
|
|
35
|
+
"react-server": "./jsx-dev-runtime.react-server.js",
|
|
36
|
+
"default": "./jsx-dev-runtime.js"
|
|
37
|
+
},
|
|
38
|
+
"./compiler-runtime": {
|
|
39
|
+
"react-server": "./compiler-runtime.js",
|
|
40
|
+
"default": "./compiler-runtime.js"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/facebook/react.git",
|
|
46
|
+
"directory": "packages/react"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=0.10.0"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# `react-dom`
|
|
2
|
+
|
|
3
|
+
This package serves as the entry point to the DOM and server renderers for React. It is intended to be paired with the generic React package, which is shipped as `react` to npm.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install react react-dom
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### In the browser
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
import { createRoot } from 'react-dom/client';
|
|
17
|
+
|
|
18
|
+
function App() {
|
|
19
|
+
return <div>Hello World</div>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const root = createRoot(document.getElementById('root'));
|
|
23
|
+
root.render(<App />);
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### On the server
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
import { renderToPipeableStream } from 'react-dom/server';
|
|
30
|
+
|
|
31
|
+
function App() {
|
|
32
|
+
return <div>Hello World</div>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function handleRequest(res) {
|
|
36
|
+
// ... in your server handler ...
|
|
37
|
+
const stream = renderToPipeableStream(<App />, {
|
|
38
|
+
onShellReady() {
|
|
39
|
+
res.statusCode = 200;
|
|
40
|
+
res.setHeader('Content-type', 'text/html');
|
|
41
|
+
stream.pipe(res);
|
|
42
|
+
},
|
|
43
|
+
// ...
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## API
|
|
49
|
+
|
|
50
|
+
### `react-dom`
|
|
51
|
+
|
|
52
|
+
See https://react.dev/reference/react-dom
|
|
53
|
+
|
|
54
|
+
### `react-dom/client`
|
|
55
|
+
|
|
56
|
+
See https://react.dev/reference/react-dom/client
|
|
57
|
+
|
|
58
|
+
### `react-dom/server`
|
|
59
|
+
|
|
60
|
+
See https://react.dev/reference/react-dom/server
|