@surething/cockpit 1.0.275 → 1.0.276
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/.next-prod/BUILD_ID +1 -1
- package/.next-prod/app-path-routes-manifest.json +3 -1
- package/.next-prod/build-manifest.json +2 -2
- package/.next-prod/cockpit-build.json +1 -1
- package/.next-prod/prerender-manifest.json +4 -4
- package/.next-prod/routes-manifest.json +14 -0
- package/.next-prod/server/app/_global-error/page.js +2 -2
- package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
- package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_global-error.html +1 -1
- package/.next-prod/server/app/_global-error.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found/page.js +1 -1
- package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
- package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/_not-found.html +2 -2
- package/.next-prod/server/app/_not-found.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next-prod/server/app/api/agent/test/route.js +1 -1
- package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bash/route.js +1 -1
- package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/bots/[id]/route.js +1 -0
- package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/bots/[id]/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/bots/route.js +1 -0
- package/.next-prod/server/app/api/bots/route.js.nft.json +1 -0
- package/.next-prod/server/app/api/bots/route_client-reference-manifest.js +1 -0
- package/.next-prod/server/app/api/chat/codex/route.js +1 -1
- package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
- package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js +1 -1
- package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
- package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
- package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/route.js +1 -1
- package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js +1 -1
- package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js +1 -1
- package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/commands/route.js +1 -1
- package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/comments/route.js +1 -1
- package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/columns/route.js +2 -2
- package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/connect/route.js +1 -1
- package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/export/route.js +1 -1
- package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/query/route.js +1 -1
- package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js +1 -1
- package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
- package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js +1 -1
- package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/extension/version/route.js +1 -1
- package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/file/route.js +1 -1
- package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/blame/route.js +1 -1
- package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
- package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/copy/route.js +1 -1
- package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/delete/route.js +1 -1
- package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js +1 -1
- package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/index/route.js +1 -1
- package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/init/route.js +1 -1
- package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/paste/route.js +1 -1
- package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/read/route.js +1 -1
- package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js +1 -1
- package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/recent/route.js +1 -1
- package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/save/route.js +1 -1
- package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/search/route.js +1 -1
- package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/stat/route.js +1 -1
- package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/files/text/route.js +1 -1
- package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/blob/route.js +1 -1
- package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/branches/route.js +1 -1
- package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
- package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/commits/route.js +1 -1
- package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
- package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/diff/route.js +1 -1
- package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/discard/route.js +1 -1
- package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/stage/route.js +1 -1
- package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/status/route.js +1 -1
- package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js +1 -1
- package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js +1 -1
- package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
- package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/models/route.js +1 -1
- package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js +1 -1
- package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/global-state/route.js +2 -2
- package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/health/route.js +1 -1
- package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/html-apps/route.js +1 -1
- package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js +1 -1
- package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
- package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js +1 -1
- package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
- package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
- package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
- package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js +1 -1
- package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js +1 -1
- package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
- package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
- package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js +1 -1
- package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js +1 -1
- package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
- package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
- package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/note/route.js +1 -1
- package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js +1 -1
- package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js +1 -1
- package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js +1 -1
- package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js +1 -1
- package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js +1 -1
- package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js +1 -1
- package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
- package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-settings/route.js +1 -1
- package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/project-state/route.js +2 -2
- package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
- package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/projects/route.js +1 -1
- package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js +1 -1
- package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
- package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/command/route.js +1 -1
- package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js +1 -1
- package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js +1 -1
- package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
- package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/get/route.js +1 -1
- package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js +1 -1
- package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/redis/set/route.js +1 -1
- package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/restart/route.js +1 -1
- package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js +1 -1
- package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/identify/route.js +1 -1
- package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/order/route.js +1 -1
- package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/route.js +1 -1
- package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js +1 -1
- package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/review/users/route.js +1 -1
- package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
- package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/config/route.js +1 -1
- package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js +1 -1
- package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
- package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
- package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js +1 -1
- package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
- package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
- package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/route.js +1 -1
- package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js +1 -1
- package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js +1 -1
- package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/settings/route.js +1 -1
- package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/shutdown/route.js +1 -1
- package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
- package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/content/route.js +1 -1
- package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/skills/route.js +1 -1
- package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/snapshots/route.js +1 -1
- package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
- package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
- package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
- package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js +1 -1
- package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js +1 -1
- package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update/route.js +1 -1
- package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/update-state/route.js +1 -1
- package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
- package/.next-prod/server/app/api/version/route.js +1 -1
- package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js +1 -1
- package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
- package/.next-prod/server/app/favicon.ico/route.js +1 -1
- package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next-prod/server/app/m/page.js +1 -1
- package/.next-prod/server/app/m/page.js.nft.json +1 -1
- package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
- package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/.next-prod/server/app/page.js +1 -1
- package/.next-prod/server/app/page.js.nft.json +1 -1
- package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/project/page.js +1 -1
- package/.next-prod/server/app/project/page.js.nft.json +1 -1
- package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js +1 -1
- package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
- package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
- package/.next-prod/server/app-paths-manifest.json +3 -1
- package/.next-prod/server/chunks/2493.js +13 -9
- package/.next-prod/server/chunks/{7956.js → 3354.js} +2 -2
- package/.next-prod/server/chunks/6495.js +1 -1
- package/.next-prod/server/chunks/6548.js +1 -1
- package/.next-prod/server/chunks/7438.js +764 -0
- package/.next-prod/server/chunks/{1653.js → 8022.js} +2 -2
- package/.next-prod/server/middleware-build-manifest.js +1 -1
- package/.next-prod/server/pages/404.html +2 -2
- package/.next-prod/server/pages/500.html +1 -1
- package/.next-prod/server/server-reference-manifest.json +1 -1
- package/.next-prod/static/O8neHUIr3dQhe1jcOUsQ8/_buildManifest.js +1 -0
- package/.next-prod/static/chunks/{103-1f50be74a00f89af.js → 50015-b81552adf20a6a33.js} +2 -2
- package/.next-prod/static/chunks/72539-049ac78fc767d177.js +17 -0
- package/.next-prod/static/chunks/89656-d9dd3a8559041236.js +34 -0
- package/.next-prod/static/chunks/99092-5b836813f4b1d4b3.js +716 -0
- package/.next-prod/static/chunks/app/_global-error/{page-b56c0b18a3b4d026.js → page-e2f146f38bb4df42.js} +1 -1
- package/.next-prod/static/chunks/app/api/agent/test/{route-b56c0b18a3b4d026.js → route-e2f146f38bb4df42.js} +1 -1
- package/.next-prod/static/chunks/app/api/bash/{route-b56c0b18a3b4d026.js → route-e2f146f38bb4df42.js} +1 -1
- package/.next-prod/static/chunks/app/api/{chat/codex/route-b56c0b18a3b4d026.js → bots/[id]/route-e2f146f38bb4df42.js} +1 -1
- package/.next-prod/static/chunks/app/api/bots/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/codex/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/glm/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/kimi/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/ollama/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/chat/stop/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/claude-stats/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/commands/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/comments/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/columns/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/connect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/disconnect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/export/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/query/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/db/schemas/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/deepseek/models/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/dev/spans/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/extension/version/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/file/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/blame/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/clipboard/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/copy/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/delete/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/expanded/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/index/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/init/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/paste/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/read/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/readdir/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/recent/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/save/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/search/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/stat/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/files/text/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/blob/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/branches/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/commits/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/current-branch/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/diff/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/discard/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/stage/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/status/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/unstage/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/git/worktree/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/credentials/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/models/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/glm/usage/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/global-state/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/health/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/html-apps/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/instructions/config/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/models/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/kimi/usage/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/definition/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/hover/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/references/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/status/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/columns/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/connect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/export/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/query/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/query/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/note/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/config/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/models/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/ollama/start/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/open-cursor/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/open-vscode/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/pick-folder/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/project-settings/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/project-state/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/projects/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/push/public-key/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/push/subscribe/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/command/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/connect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/delete/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/get/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/keys/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/redis/set/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/restart/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/[id]/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/identify/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/order/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/share-info/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/review/users/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/services/config/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/services/scripts/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/session/user-messages/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/session-by-path/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/projects/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/search/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/sessions/status/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/settings/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/shutdown/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/[id]/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/content/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/skills/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/snapshots/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/env/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/terminal/history/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/update/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/update-state/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/api/version/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/apps/[...path]/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/layout-347ca1b3228d5b23.js +1 -0
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/app/page-2ade7ecd21636624.js +1 -0
- package/.next-prod/static/chunks/app/project/page-2ade7ecd21636624.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-e2f146f38bb4df42.js +1 -0
- package/.next-prod/static/css/7a02a222d1299650.css +1 -0
- package/.next-prod/trace +15 -15
- package/.next-prod/trace-build +1 -1
- package/.next-prod/types/app/api/bots/[id]/route.ts +353 -0
- package/.next-prod/types/app/api/bots/route.ts +353 -0
- package/.next-prod/types/routes.d.ts +3 -1
- package/.next-prod/types/validator.ts +18 -0
- package/README.md +13 -0
- package/README.zh.md +13 -0
- package/bots/README.md +86 -0
- package/bots/cockpit-helper/BOT.md +95 -0
- package/bots/cockpit-helper/commitments/active.md +3 -0
- package/bots/cockpit-helper/evidence/refs.md +3 -0
- package/bots/cockpit-helper/identity/persona.md +25 -0
- package/bots/cockpit-helper/identity/principles.md +49 -0
- package/bots/cockpit-helper/memory/facts.md +3 -0
- package/bots/cockpit-helper/relationships/user.md +3 -0
- package/dist/{chunk-JJWVBF6H.mjs → chunk-BCWVTDEZ.mjs} +648 -140
- package/dist/{chunk-6R4AHIIV.mjs → chunk-QY2K7YIF.mjs} +1 -1
- package/dist/httpApi.mjs +2 -2
- package/dist/scheduledTasks.mjs +80 -14
- package/dist/wsServer.mjs +2 -2
- package/package.json +2 -1
- package/skills/README.md +18 -2
- package/skills/bot/SKILL.md +155 -0
- package/skills/bot-run/SKILL.md +214 -0
- package/skills/bot-turn/SKILL.md +99 -0
- package/skills/bot-turn/attach.md +45 -0
- package/skills/bot-turn/export.md +113 -0
- package/skills/bot-turn/review.md +101 -0
- package/skills/bot-turn/writing.md +110 -0
- package/.next-prod/server/chunks/5750.js +0 -762
- package/.next-prod/static/chunks/72539-7e4ca2de5c9f3f90.js +0 -17
- package/.next-prod/static/chunks/89656-bc48af1f9ee9c312.js +0 -32
- package/.next-prod/static/chunks/99092-36ee2c49e4c4c059.js +0 -716
- package/.next-prod/static/chunks/app/api/chat/deepseek/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/glm/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/kimi/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/ollama/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/chat/stop/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/claude-stats/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/commands/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/comments/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/columns/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/connect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/disconnect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/export/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/query/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/db/schemas/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/balance/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/deepseek/models/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/dev/spans/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/extension/version/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/file/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/blame/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/clipboard/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/copy/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/delete/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/expanded/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/index/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/init/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/paste/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/read/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/readdir/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/recent/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/save/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/search/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/stat/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/files/text/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/blob/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branch-diff/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/branches/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commit-diff/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/commits/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/current-branch/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/diff/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/discard/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/stage/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/status/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/unstage/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/git/worktree/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/credentials/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/models/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/glm/usage/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/global-state/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/health/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/html-apps/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/instructions/config/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/credentials/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/models/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/kimi/usage/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/definition/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/hover/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/references/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/status/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/lsp/warmup/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/columns/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/connect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/export/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/query/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/mysql/schemas/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/connect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/query/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/neo4j/schema/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/note/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/config/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/models/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/ollama/start/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/open-cursor/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/open-vscode/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/pick-folder/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/pinned-sessions/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/project-settings/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/project-state/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/context/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/related/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projectGraph/search/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/projects/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/push/public-key/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/push/subscribe/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/command/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/connect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/delete/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/disconnect/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/get/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/keys/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/redis/set/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/restart/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/[id]/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/identify/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/order/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/share-info/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/review/users/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/services/config/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/services/scripts/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/session/user-messages/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/session-by-path/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/delegate/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/projects/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/search/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/sessions/status/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/settings/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/shutdown/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/[id]/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/content/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/skills/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/blob/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/diff/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/snapshots/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/aliases/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/env/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/terminal/history/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/update/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/update-state/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/api/version/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/apps/[...path]/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/layout-5e8ca15dabb4d8c2.js +0 -1
- package/.next-prod/static/chunks/app/manifest.webmanifest/route-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/app/page-eb7a11e6dd6a9e94.js +0 -1
- package/.next-prod/static/chunks/app/project/page-eb7a11e6dd6a9e94.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b56c0b18a3b4d026.js +0 -1
- package/.next-prod/static/css/08c892de6d5e2335.css +0 -1
- package/.next-prod/static/mTTTlFslhC7zzHMDXGNOW/_buildManifest.js +0 -1
- /package/.next-prod/static/{mTTTlFslhC7zzHMDXGNOW → O8neHUIr3dQhe1jcOUsQ8}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/project/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2228":{"*":{"id":"25608","name":"*","chunks":[],"async":true}},"3866":{"*":{"id":"77462","name":"*","chunks":[],"async":true}},"11428":{"*":{"id":"8077","name":"*","chunks":[],"async":true}},"19736":{"*":{"id":"61130","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"77220","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"3588","name":"*","chunks":[],"async":true}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"5585","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"45354","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"29491","name":"*","chunks":[],"async":false}},"54356":{"*":{"id":"82634","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"34001","name":"*","chunks":[],"async":true}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"45320","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"8366","name":"*","chunks":[],"async":true}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"83179","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"4462","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"38878","name":"*","chunks":[],"async":true}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"92608","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"12568","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"94481","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"77120","name":"*","chunks":[],"async":true}},"84204":{"*":{"id":"99033","name":"*","chunks":[],"async":true}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"79758","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"26188","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","7177","static/chunks/app/layout-5e8ca15dabb4d8c2.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","7177","static/chunks/app/layout-5e8ca15dabb4d8c2.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","7177","static/chunks/app/layout-5e8ca15dabb4d8c2.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/EmptyState.tsx":{"id":76288,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/I18nProvider.tsx":{"id":47617,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteModal.tsx":{"id":60865,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteToolbar.tsx":{"id":76043,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectItem.tsx":{"id":2228,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectSidebar.tsx":{"id":11428,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Providers.tsx":{"id":27068,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SessionBrowser.tsx":{"id":83678,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SettingsModal.tsx":{"id":21484,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabBar.tsx":{"id":24058,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManager.tsx":{"id":3866,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManagerTopBar.tsx":{"id":76412,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/useTabState.ts":{"id":54356,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Workspace.tsx":{"id":84204,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","76500","static/chunks/app/project/page-eb7a11e6dd6a9e94.js"],"async":true},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","103","static/chunks/103-1f50be74a00f89af.js","99092","static/chunks/99092-36ee2c49e4c4c059.js","72539","static/chunks/72539-7e4ca2de5c9f3f90.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-bc48af1f9ee9c312.js","7177","static/chunks/app/layout-5e8ca15dabb4d8c2.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["34219","static/chunks/app/global-error-6485c3d63584ad86.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/m/MobileClient.tsx":{"id":68016,"name":"*","chunks":[],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts":{"id":99324,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts":{"id":93975,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx":{"id":19736,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx":{"id":82032,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx":{"id":28898,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx":{"id":83519,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx":{"id":62177,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx":{"id":79968,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/e33280be1b23649f.css"},{"inlined":false,"path":"static/css/52b314bf20332f7c.css"},{"inlined":false,"path":"static/css/08c892de6d5e2335.css"}],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}],"/home/runner/work/cockpit/cockpit/src/app/project/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}]},"rscModuleMapping":{"2228":{"*":{"id":"85906","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"6612","name":"*","chunks":[],"async":false}},"11428":{"*":{"id":"72399","name":"*","chunks":[],"async":false}},"19736":{"*":{"id":"63376","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"19562","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"83022","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"25702","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"42784","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"99829","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"54356":{"*":{"id":"65395","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"24943","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"28820","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"75300","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"74837","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"55632","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"93448","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"74824","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"1134","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"20975","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"47938","name":"*","chunks":[],"async":false}},"84204":{"*":{"id":"84747","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"61169","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"73370","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/project/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"1767":{"*":{"id":"76603","name":"*","chunks":[],"async":false}},"2228":{"*":{"id":"25608","name":"*","chunks":[],"async":true}},"3866":{"*":{"id":"77462","name":"*","chunks":[],"async":true}},"11428":{"*":{"id":"8077","name":"*","chunks":[],"async":true}},"19736":{"*":{"id":"61130","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"77220","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"3588","name":"*","chunks":[],"async":true}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"5585","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"45354","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"29491","name":"*","chunks":[],"async":false}},"54356":{"*":{"id":"82634","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"34001","name":"*","chunks":[],"async":true}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"45320","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"8366","name":"*","chunks":[],"async":true}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"83179","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"4462","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"38878","name":"*","chunks":[],"async":true}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"92608","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"12568","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"94481","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"77120","name":"*","chunks":[],"async":true}},"84204":{"*":{"id":"99033","name":"*","chunks":[],"async":true}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"79758","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"26188","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","7177","static/chunks/app/layout-347ca1b3228d5b23.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","7177","static/chunks/app/layout-347ca1b3228d5b23.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","7177","static/chunks/app/layout-347ca1b3228d5b23.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/BotsModal.tsx":{"id":1767,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/EmptyState.tsx":{"id":76288,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/I18nProvider.tsx":{"id":47617,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteModal.tsx":{"id":60865,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteToolbar.tsx":{"id":76043,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectItem.tsx":{"id":2228,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectSidebar.tsx":{"id":11428,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Providers.tsx":{"id":27068,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SessionBrowser.tsx":{"id":83678,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SettingsModal.tsx":{"id":21484,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabBar.tsx":{"id":24058,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManager.tsx":{"id":3866,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManagerTopBar.tsx":{"id":76412,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/useTabState.ts":{"id":54356,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Workspace.tsx":{"id":84204,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","76500","static/chunks/app/project/page-2ade7ecd21636624.js"],"async":true},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-887f3cfe413dabad.js","74281","static/chunks/bc21e3dd-109d790f84bc5b44.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-23008f9c50d55e93.js","88707","static/chunks/88707-2ab6211efb1fae85.js","50015","static/chunks/50015-b81552adf20a6a33.js","99092","static/chunks/99092-5b836813f4b1d4b3.js","72539","static/chunks/72539-049ac78fc767d177.js","82032","static/chunks/82032-262eb8c66c20d241.js","89656","static/chunks/89656-d9dd3a8559041236.js","7177","static/chunks/app/layout-347ca1b3228d5b23.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["34219","static/chunks/app/global-error-6485c3d63584ad86.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/m/MobileClient.tsx":{"id":68016,"name":"*","chunks":[],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts":{"id":99324,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts":{"id":93975,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx":{"id":19736,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx":{"id":82032,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx":{"id":28898,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx":{"id":83519,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx":{"id":62177,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx":{"id":79968,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/e33280be1b23649f.css"},{"inlined":false,"path":"static/css/52b314bf20332f7c.css"},{"inlined":false,"path":"static/css/7a02a222d1299650.css"}],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}],"/home/runner/work/cockpit/cockpit/src/app/project/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}]},"rscModuleMapping":{"1767":{"*":{"id":"62397","name":"*","chunks":[],"async":false}},"2228":{"*":{"id":"85906","name":"*","chunks":[],"async":false}},"3866":{"*":{"id":"6612","name":"*","chunks":[],"async":false}},"11428":{"*":{"id":"72399","name":"*","chunks":[],"async":false}},"19736":{"*":{"id":"63376","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"19562","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"83022","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"25702","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"42784","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"99829","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"54356":{"*":{"id":"65395","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"24943","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"28820","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"75300","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"74837","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"55632","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"93448","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"74824","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"1134","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"20975","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"47938","name":"*","chunks":[],"async":false}},"84204":{"*":{"id":"84747","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"61169","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"73370","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var a={};a.id=2951,a.ids=[2951],a.modules={1134:(a,b,c)=>{"use strict";c.d(b,{ReviewDropdown:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewDropdown() from the server but ReviewDropdown is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx","ReviewDropdown")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12629:a=>{"use strict";a.exports=import("web-tree-sitter")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20975:(a,b,c)=>{"use strict";c.d(b,{ReviewListPanel:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewListPanel() from the server but ReviewListPanel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx","ReviewListPanel")},26188:(a,b,c)=>{"use strict";c.d(b,{useReviewHighlights:()=>e});var d=c(67484);function e(a,b,c,e){let[f,g]=(0,d.useState)([]),h=(0,d.useRef)(0),i=(0,d.useRef)(c);(0,d.useCallback)(()=>{h.current&&cancelAnimationFrame(h.current),h.current=requestAnimationFrame(()=>{let c=a.current,d=b.current;if(!c||!d)return;let e=function(a,b,c){let d=[],e=b.getBoundingClientRect(),f=function(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0;for(;c.nextNode();){let a=c.currentNode,e=a.textContent?.length||0;b.push({node:a,start:d,end:d+e}),d+=e}return b}(a);if(0===f.length)return d;for(let a of c){let{startOffset:c,endOffset:g}=a.anchor;if(c>=g)continue;let h=null,i=0,j=null,k=0;for(let{node:a,start:b,end:d}of f)if(!h&&c>=b&&c<d&&(h=a,i=c-b),g>b&&g<=d){j=a,k=g-b;break}if(!h||!j)continue;let l=document.createRange();try{l.setStart(h,i),l.setEnd(j,k)}catch{continue}for(let c of l.getClientRects())c.width<1||c.height<1||d.push({commentId:a.id,top:c.top-e.top+b.scrollTop,left:c.left-e.left+b.scrollLeft,width:c.width,height:c.height})}return d}(c,d,i.current);g(a=>a.length===e.length&&a.every((a,b)=>a.commentId===e[b].commentId&&.5>Math.abs(a.top-e[b].top)&&.5>Math.abs(a.left-e[b].left)&&.5>Math.abs(a.width-e[b].width)&&.5>Math.abs(a.height-e[b].height))?a:e)})},[a,b]);let j=(0,d.useCallback)(a=>{let c=b.current;if(!c)return;let d=f.find(b=>b.commentId===a);if(!d)return;let e=c.clientHeight;c.scrollTo({top:d.top-e/2+d.height/2,behavior:"smooth"})},[b,f]);return{rects:f,scrollToHighlight:j}}},28354:a=>{"use strict";a.exports=require("util")},28820:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewPage() from the server but ReviewPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx","ReviewPage")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29657:(a,b,c)=>{Promise.resolve().then(c.bind(c,26188)),Promise.resolve().then(c.bind(c,79758)),Promise.resolve().then(c.bind(c,61130)),Promise.resolve().then(c.bind(c,12568)),Promise.resolve().then(c.bind(c,45354)),Promise.resolve().then(c.bind(c,94481)),Promise.resolve().then(c.bind(c,45320)),Promise.resolve().then(c.bind(c,92608))},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42681:(a,b,c)=>{Promise.resolve().then(c.bind(c,73370)),Promise.resolve().then(c.bind(c,61169)),Promise.resolve().then(c.bind(c,63376)),Promise.resolve().then(c.bind(c,1134)),Promise.resolve().then(c.bind(c,42784)),Promise.resolve().then(c.bind(c,20975)),Promise.resolve().then(c.bind(c,28820)),Promise.resolve().then(c.bind(c,74824))},42784:(a,b,c)=>{"use strict";c.d(b,{ReviewIdentitySettings:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewIdentitySettings() from the server but ReviewIdentitySettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx","ReviewIdentitySettings")},44236:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h,dynamic:()=>f,generateMetadata:()=>g});var d=c(5735),e=c(28820);let f="force-dynamic";async function g({params:a}){let{id:b}=await a;return{title:`Review - ${b}`}}async function h({params:a}){let{id:b}=await a;return(0,d.jsx)(e.ReviewPage,{reviewId:b})}},45320:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>D});var d=c(48249),e=c(67484),f=c(44384),g=c(5900),h=c(24680),i=c(83768),j=c(84835);function k({selectedText:a,position:b,onSubmit:c,onCancel:g}){let{t:h}=(0,f.Bd)(),[i,j]=(0,e.useState)(""),l=(0,e.useRef)(null),m=(0,e.useRef)(null),n=()=>{let a=i.trim();a&&c(a)},o=a.length>60?a.slice(0,57)+"...":a;return(0,d.jsxs)("div",{ref:m,className:"absolute z-50 w-96 bg-card border border-border rounded-lg shadow-lv2",style:{top:b.top,left:Math.max(8,b.left-192)},children:[(0,d.jsxs)("div",{className:"px-3 pt-3 pb-2",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-1",children:h("review.selectedText")}),(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r truncate",children:o})]}),(0,d.jsx)("div",{className:"px-3 pb-2",children:(0,d.jsx)("textarea",{ref:l,value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),n())},placeholder:h("review.addCommentPlaceholder"),className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:4})}),(0,d.jsxs)("div",{className:"px-3 pb-3 flex items-center justify-between",children:[(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:h("review.enterSubmitHint")}),(0,d.jsxs)("div",{className:"flex gap-1",children:[(0,d.jsx)("button",{onClick:g,className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:h("common.cancel")}),(0,d.jsx)("button",{onClick:n,disabled:!i.trim(),className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:h("review.commentBtn")})]})]})]})}let l={bg:"rgba(234, 179, 8, 0.15)",bgActive:"rgba(234, 179, 8, 0.4)",bgPending:"rgba(234, 179, 8, 0.3)",border:"rgba(234, 179, 8, 0.7)",borderPending:"rgba(234, 179, 8, 0.9)"},m={bg:"rgba(234, 179, 8, 0.1)",bgActive:"rgba(234, 179, 8, 0.3)",bgPending:"rgba(234, 179, 8, 0.2)",border:"rgba(234, 179, 8, 0.5)",borderPending:"rgba(234, 179, 8, 0.7)"};function n({rects:a,activeCommentId:b,pendingCommentId:c,isDark:e}){if(0===a.length)return null;let f=e?m:l;return(0,d.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:0,overflow:"visible",pointerEvents:"none",zIndex:5},children:a.map((a,e)=>{let g=a.commentId===b,h=a.commentId===c,i=f.bg;return h?i=f.bgPending:g&&(i=f.bgActive),(0,d.jsx)("div",{"data-comment-id":a.commentId,style:{position:"absolute",top:a.top,left:a.left,width:a.width,height:a.height,backgroundColor:i,borderBottom:`1px solid ${h?f.borderPending:f.border}`,borderRadius:1,pointerEvents:"none"}},`${a.commentId}-${e}`)})})}var o=c(26188);let p=[j.W];function q({content:a,comments:b,activeCommentId:c,isActive:f,onAddComment:j,onHighlightClick:l,scrollToHighlightRef:m}){let{resolvedTheme:r}=(0,i.DP)(),s=(0,e.useRef)(null),t=(0,e.useRef)(null),[u,v]=(0,e.useState)(null),w=(0,e.useMemo)(()=>u?[...b,{id:"__pending__",author:"",authorId:"",content:"",anchor:u.anchor,createdAt:0,replies:[]}]:b,[b,u]),{rects:x,scrollToHighlight:y}=(0,o.useReviewHighlights)(s,t,w,c),z=(0,e.useRef)(x),A=(0,e.useCallback)(a=>{let b=window.getSelection(),c=b&&!b.isCollapsed;if(c&&f&&s.current){let c=b.getRangeAt(0);if(s.current.contains(c.startContainer)&&s.current.contains(c.endContainer)){let d=function(a,b){let c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0,e=-1,f=-1;for(;c.nextNode();){let a=c.currentNode,g=a.textContent?.length||0;if(a===b.startContainer&&(e=d+b.startOffset),a===b.endContainer){f=d+b.endOffset;break}d+=g}if(-1===e||-1===f||e>=f)return null;let g=a.textContent?.slice(e,f)||"";return g.trim()?{startOffset:e,endOffset:f,selectedText:g}:null}(s.current,c);if(d){let c=t.current??s.current.parentElement,e=c.getBoundingClientRect();v({anchor:d,position:{top:a.clientY-e.top+c.scrollTop+8,left:a.clientX-e.left}}),b.removeAllRanges();return}}}if(!c&&!u){let b=t.current;if(!b)return;let c=b.getBoundingClientRect(),d=a.clientX-c.left+b.scrollLeft,e=a.clientY-c.top+b.scrollTop;for(let a of z.current)if("__pending__"!==a.commentId&&d>=a.left&&d<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return void l(a.commentId)}},[f,u,l]),B=(0,e.useCallback)(a=>{u&&(j(a,u.anchor),v(null),window.getSelection()?.removeAllRanges())},[u,j]),C=(0,e.useCallback)(()=>{v(null),window.getSelection()?.removeAllRanges()},[]);return(0,d.jsxs)("div",{className:"h-full flex bg-card",children:[(0,d.jsx)(h.l,{content:a,containerRef:t}),(0,d.jsxs)("div",{ref:t,className:"flex-1 overflow-auto relative",onMouseUp:A,children:[(0,d.jsx)("div",{ref:s,className:"p-6 review-markdown-container",children:(0,d.jsx)(g.T,{content:a,rehypePlugins:p})}),(0,d.jsx)(n,{rects:x,activeCommentId:c,pendingCommentId:u?"__pending__":null,isDark:"dark"===r}),u&&(0,d.jsx)(k,{selectedText:u.anchor.selectedText,position:u.position,onSubmit:B,onCancel:C})]})]})}var r=c(208);function s(a){let b=new Date(a),c=Math.floor((new Date().getTime()-b.getTime())/6e4);if(c<1)return r.A.t("common.justNow");if(c<60)return r.A.t("common.minutesAgo",{count:c});let d=Math.floor(c/60);if(d<24)return r.A.t("common.hoursAgo",{count:d});let e=Math.floor(d/24);return e<7?r.A.t("common.daysAgo",{count:e}):b.toLocaleDateString()}let t=(0,e.forwardRef)(function({comment:a,isActive:b,isOwnComment:c,isAdmin:g,currentAuthorId:h,canInteract:i,userNameMap:j,onClick:k,onDelete:l,onEdit:m,onToggleClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q},r){let{t}=(0,f.Bd)(),u=(a,b)=>j[a]||b,[v,w]=(0,e.useState)(""),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(null),[F,G]=(0,e.useState)(""),H=()=>{let a=v.trim();a&&(o(a),w(""),y(!1))},I=()=>{let b=B.trim();b&&b!==a.content&&m(b),A(!1)},J=()=>{if(!D)return;let b=F.trim(),c=a.replies.find(a=>a.id===D);!b||c&&b===c.content||q(D,b),E(null)},K=a.anchor.selectedText.length>80?a.anchor.selectedText.slice(0,77)+"...":a.anchor.selectedText,L=g||c||i;return a.closed?(0,d.jsxs)("div",{ref:r,className:"rounded-lg border border-border/50 bg-card/50 opacity-60 hover:opacity-80 transition-all cursor-pointer px-3 py-2 flex items-center gap-2",onClick:k,children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground truncate flex-1",children:K}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 flex-shrink-0",children:t("review.closedLabel")}),L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!1)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors flex-shrink-0",title:t("review.reopenReview"),children:t("review.reopen")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors flex-shrink-0",title:t("review.deleteComment"),children:t("common.delete")})]}):(0,d.jsxs)("div",{ref:r,className:`rounded-lg border transition-all cursor-pointer ${b?"border-brand bg-brand/5 shadow-lv1":"border-border bg-card hover:border-muted-foreground/30"}`,onClick:k,children:[(0,d.jsx)("div",{className:"px-3 pt-3 pb-1",children:(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r text-muted-foreground truncate",children:K})}),(0,d.jsxs)("div",{className:"px-3 pt-2 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:s(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),!z&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",children:t("review.closeComment")}),c&&i&&(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),C(a.content),A(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editComment"),children:t("common.edit")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors",title:t("review.deleteComment"),children:t("common.delete")})]})]}),(0,d.jsx)("div",{className:"px-3 pt-1 pb-2",children:z?(0,d.jsxs)("div",{onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:B,onChange:a=>C(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),I()),"Escape"===a.key&&A(!1)},className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:3,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>A(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:I,disabled:!B.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})}),a.replies.length>0&&(0,d.jsx)("div",{className:"mx-3 border-t border-border",children:a.replies.map(a=>(0,d.jsxs)("div",{className:"py-2 border-b border-border last:border-b-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-accent text-muted-foreground flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:s(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),D!==a.id&&(a.authorId===h&&i||g)&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.authorId===h&&i&&(0,d.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,G(a.content),E(c)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editReply"),children:t("common.edit")}),(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),p(a.id)},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors",title:t("review.deleteReply"),children:t("common.delete")})]})]}),D===a.id?(0,d.jsxs)("div",{className:"mt-1 pl-6",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),J()),"Escape"===a.key&&E(null)},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>E(null),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:J,disabled:!F.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm mt-0.5 pl-6 whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})]},a.id))}),(0,d.jsx)("div",{className:"px-3 pb-2 pt-1",children:x?(0,d.jsxs)("div",{className:"mt-1",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:v,onChange:a=>w(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),H()),"Escape"===a.key&&y(!1)},placeholder:t("review.replyPlaceholder"),className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>y(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:H,disabled:!v.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("review.reply")})]})]}):i&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),y(!0)},className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:t("review.reply")})})]})});function u({comments:a,activeCommentId:b,currentAuthorId:c,isActive:g,isAdmin:h,userNameMap:i,onCommentClick:j,onNavigateComment:k,onDeleteComment:l,onEditComment:m,onToggleCommentClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q,scrollToCommentRef:r}){let{t:s}=(0,f.Bd)(),v=(0,e.useRef)(new Map),w=(0,e.useRef)(null);(0,e.useCallback)(a=>{let b=v.current.get(a);b&&b.scrollIntoView({behavior:"smooth",block:"center"})},[]);let x=[...a].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset);return(0,d.jsxs)("div",{ref:w,className:"h-full flex flex-col bg-card",children:[(0,d.jsxs)("div",{className:"px-4 py-2 border-b border-border flex-shrink-0 flex items-center",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:0===a.length?s("review.selectTextToComment"):b?s("review.commentsNavCount",{current:x.findIndex(a=>a.id===b)+1,total:a.length}):s("review.commentsCount",{count:a.length})}),a.length>0&&(0,d.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,d.jsxs)("button",{onClick:()=>k("prev"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors flex items-center gap-0.5",children:[(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})}),s("review.prevComment")]}),(0,d.jsxs)("button",{onClick:()=>k("next"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors flex items-center gap-0.5",children:[s("review.nextComment"),(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})]})]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-auto",children:0===x.length?(0,d.jsx)("div",{className:"flex items-center justify-center h-full text-muted-foreground text-sm",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-2xl mb-2",children:"\uD83D\uDCAC"}),(0,d.jsx)("div",{children:s("review.selectTextHint")})]})}):(0,d.jsx)("div",{className:"p-3 space-y-3",children:x.map(a=>(0,d.jsx)(t,{ref:b=>{b?v.current.set(a.id,b):v.current.delete(a.id)},comment:a,isActive:a.id===b,isOwnComment:a.authorId===c,isAdmin:h,currentAuthorId:c,canInteract:g,userNameMap:i,onClick:()=>j(a.id),onDelete:()=>l(a.id),onEdit:b=>m(a.id,b),onToggleClosed:b=>n(a.id,b),onAddReply:b=>o(a.id,b),onDeleteReply:b=>p(a.id,b),onEditReply:(b,c)=>q(a.id,b,c)},a.id))})})]})}var v=c(45354),w=c(94481);function x({currentName:a,onConfirm:b,onSkip:c}){let{t:g}=(0,f.Bd)(),[h,i]=(0,e.useState)(a),j=(0,e.useRef)(null),k=()=>{let a=h.trim();a&&b(a)};return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-scrim",children:(0,d.jsxs)("div",{className:"bg-card border border-border rounded-xl shadow-lv3 w-80 p-5",children:[(0,d.jsx)("h2",{className:"text-base font-semibold mb-1",children:g("review.setNickname")}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:g("review.nicknameHint")}),(0,d.jsx)("input",{ref:j,type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k(),"Escape"===a.key&&c()},placeholder:g("review.nicknamePlaceholder"),maxLength:20,className:"w-full px-3 py-2 text-sm bg-secondary border border-border rounded-lg focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,d.jsx)("button",{onClick:c,className:"px-3 py-1.5 text-xs rounded-lg hover:bg-hover transition-colors text-muted-foreground",children:g("review.skipForNow")}),(0,d.jsx)("button",{onClick:k,disabled:!h.trim(),className:"px-4 py-1.5 text-xs rounded-lg bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:g("common.save")})]})]})})}var y=c(61130),z=c(79758),A=c(7833),B=c(33281),C=c(83120);function D({reviewId:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(a),[h,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!0),[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(null),[r,s]=(0,e.useState)(!1),t=(0,z.useReviewIdentity)(),{resolvedTheme:E,setTheme:F}=(0,i.DP)(),[G,H]=(0,e.useState)({}),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)(!1),M=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C.BL)());if("Success"===a._tag){let b={};for(let[c,d]of Object.entries(a.value.users))b[c]=d.name;H(b)}},[]),N=(0,e.useRef)(void 0),O=(0,e.useRef)(void 0),P=(0,e.useCallback)(a=>{a!==c&&(g(a),n(null),p(null),window.history.replaceState(null,"",`/review/${a}`))},[c]),Q=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C.JK)(c));if("Success"===a._tag)j(a.value.review),n(null);else{let c="Fail"===a.cause._tag?a.cause.error:null;c&&"NotFoundError"===c._tag?n(b("review.reviewNotExist")):c&&"AppError"===c._tag?n(b("review.loadFailed")):n(b("review.networkError"))}l(!1)},[c,b]),R=(0,e.useCallback)(async(a,c)=>{"Success"===(await B.t4.runPromiseExit(a))._tag?await Q():(0,A.oR)(b(c),"error")},[Q,b]),S=(0,e.useCallback)(async(a,b)=>{t.authorId&&await R((0,C.dU)(c,{author:t.name,authorId:t.authorId,content:a,anchor:b}),"toast.addCommentFailed")},[c,t,R]),T=(0,e.useCallback)(a=>R((0,C.jw)(c,a),"toast.deleteCommentFailed"),[c,R]),U=(0,e.useCallback)((a,b)=>R((0,C.Y8)(c,{commentId:a,content:b}),"toast.editCommentFailed"),[c,R]),V=(0,e.useCallback)((a,b)=>R((0,C.Y8)(c,{commentId:a,closed:b}),"toast.operationFailed"),[c,R]),W=(0,e.useCallback)(async(a,b)=>{t.authorId&&await R((0,C.mu)(c,{commentId:a,author:t.name,authorId:t.authorId,content:b}),"toast.addReplyFailed")},[c,t,R]),X=(0,e.useCallback)((a,b)=>R((0,C.i7)(c,a,b),"toast.deleteReplyFailed"),[c,R]),Y=(0,e.useCallback)((a,b,d)=>R((0,C.vy)(c,{commentId:a,replyId:b,content:d}),"toast.editReplyFailed"),[c,R]),Z=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C._c)());if("Success"===a._tag){let d=a.value.shareBase?`${a.value.shareBase}/review/${c}`:window.location.href;try{await navigator.clipboard.writeText(d),(0,A.oR)(b("toast.linkCopied"),"success")}catch{(0,A.oR)(b("toast.copyFailed"),"error")}}else(0,A.oR)(b("toast.copyFailed"),"error")},[c,b]),$=(0,e.useCallback)(a=>{p(a),O.current?.(a)},[]),_=(0,e.useCallback)(a=>{p(a),N.current?.(a)},[]),aa=(0,e.useCallback)(a=>{let b;if(!h||0===h.comments.length)return;let c=[...h.comments].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset),d=o?c.findIndex(a=>a.id===o):-1;b="next"===a?d<c.length-1?d+1:0:d>0?d-1:c.length-1;let e=c[b];p(e.id),O.current?.(e.id),N.current?.(e.id)},[h,o]);return(0,d.jsxs)("div",{className:"h-screen flex flex-col bg-background text-foreground overflow-hidden",children:[I&&(0,d.jsx)(x,{currentName:t.name,onConfirm:a=>{t.confirmName(a),J(!1),M()},onSkip:()=>J(!1)}),h&&(0,d.jsx)(y.ReviewCommentsListModal,{isOpen:K,onClose:()=>L(!1),comments:h.comments,reviewTitle:h.title,userNameMap:G,onCommentClick:a=>{p(a),O.current?.(a),N.current?.(a)}}),h&&(0,d.jsx)("div",{className:"py-2 border-b border-border flex-shrink-0 flex justify-center",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] px-4 flex items-center gap-3",children:[(0,d.jsx)("h1",{className:"text-sm font-semibold truncate",children:h.title}),(0,d.jsx)("span",{className:"text-[11px] text-muted-foreground flex-shrink-0",children:b("review.updatedAt",{date:new Date(h.updatedAt||h.createdAt).toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})}),(0,d.jsx)("span",{className:"flex-1"}),!r&&(0,d.jsx)("span",{className:`px-2 py-0.5 text-xs rounded-full ${h.active?"bg-green-500/15 text-green-600 dark:text-green-400":"bg-muted text-muted-foreground"}`,children:h.active?b("review.active"):b("review.closed")}),(0,d.jsxs)("button",{onClick:()=>L(!0),className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground flex items-center gap-1",title:b("review.viewAllComments"),children:[(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),b("review.viewCommentBtn")]}),(0,d.jsx)("button",{onClick:Z,className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("review.copyLink")}),(0,d.jsx)("button",{onClick:()=>F("dark"===E?"light":"dark"),className:"p-1 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:"dark"===E?b("settings.switchLight"):b("settings.switchDark"),children:"dark"===E?(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}):(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}),(0,d.jsx)(v.ReviewIdentitySettings,{identity:t})]})}),(0,d.jsx)("div",{className:"flex-1 flex justify-center overflow-hidden",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] flex overflow-hidden",children:[(0,d.jsx)(w.ReviewListPanel,{currentReviewId:c,onSelect:P,readOnly:!r,refreshTrigger:h?.comments.length,onViewComments:a=>{a!==c&&P(a),L(!0)}}),k?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsx)("div",{className:"text-muted-foreground",children:b("common.loading")})}):m||!h?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-xl mb-2",children:m||b("review.reviewNotFound")}),(0,d.jsx)("div",{className:"text-sm text-muted-foreground",children:b("review.checkLink")})]})}):(0,d.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,d.jsx)("div",{className:"flex-1 h-full border-r border-border overflow-hidden",children:(0,d.jsx)(q,{content:h.content,comments:h.comments,activeCommentId:o,isActive:h.active,onAddComment:S,onHighlightClick:_,scrollToHighlightRef:O})}),(0,d.jsx)("div",{className:"w-[360px] h-full overflow-hidden flex-shrink-0",children:(0,d.jsx)(u,{comments:h.comments,activeCommentId:o,currentAuthorId:t.authorId,isActive:h.active,isAdmin:r,userNameMap:G,onCommentClick:$,onNavigateComment:aa,onDeleteComment:T,onEditComment:U,onToggleCommentClosed:V,onAddReply:W,onDeleteReply:X,onEditReply:Y,scrollToCommentRef:N})})]})]})})]})}},45354:(a,b,c)=>{"use strict";c.d(b,{ReviewIdentitySettings:()=>g});var d=c(48249),e=c(67484),f=c(44384);function g({identity:a}){let{t:b}=(0,f.Bd)(),[c,h]=(0,e.useState)(!1),[i,j]=(0,e.useState)(""),k=(0,e.useRef)(null),l=()=>{let b=i.trim();b&&b!==a.name&&a.confirmName(b),h(!1)};return(0,d.jsxs)("div",{className:"relative",ref:k,children:[(0,d.jsxs)("button",{onClick:()=>{c||j(a.name),h(!c)},className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors flex items-center gap-1",title:b("review.identitySettings"),children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold",children:a.name.charAt(0)}),(0,d.jsx)("span",{className:"text-muted-foreground",children:a.name})]}),c&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 w-56 bg-card border border-border rounded-lg shadow-lv2 p-3 z-50",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:b("review.reviewNickname")}),(0,d.jsx)("input",{type:"text",value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||l()},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,d.jsx)("button",{onClick:()=>{a.randomize(),h(!1)},className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("review.random")}),(0,d.jsx)("div",{className:"flex-1"}),(0,d.jsx)("button",{onClick:()=>h(!1),className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("common.cancel")}),(0,d.jsx)("button",{onClick:l,className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors",children:b("common.save")})]})]})]})}},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},53918:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>r,handler:()=>t,routeModule:()=>s});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,76537))),j=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),o=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),p={children:["",{children:["review",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,44236))),"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page.tsx"]}]},{"global-error":[o,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"]},[]]},{"global-error":[n,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/cockpit/cockpit/src/app/layout.tsx"],"global-error":[j,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,q=(0,e.H)({tree:p,page:"/review/[id]/page",pathname:"/review/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),r=q.__next_app__,s=q.routeModule,t=q.handler},55511:a=>{"use strict";a.exports=require("crypto")},61169:(a,b,c)=>{"use strict";c.d(b,{useReviewIdentity:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call useReviewIdentity() from the server but useReviewIdentity is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts","useReviewIdentity")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63376:(a,b,c)=>{"use strict";c.d(b,{ReviewCommentsListModal:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewCommentsListModal() from the server but ReviewCommentsListModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx","ReviewCommentsListModal")},73136:a=>{"use strict";a.exports=require("node:url")},73370:(a,b,c)=>{"use strict";c.d(b,{useReviewHighlights:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call useReviewHighlights() from the server but useReviewHighlights is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts","useReviewHighlights")},74824:(a,b,c)=>{"use strict";c.d(b,{ShareReviewToggle:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ShareReviewToggle() from the server but ShareReviewToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx","ShareReviewToggle")},76760:a=>{"use strict";a.exports=require("node:path")},78335:()=>{},78908:a=>{"use strict";a.exports=import("shiki")},79748:a=>{"use strict";a.exports=require("fs/promises")},79758:(a,b,c)=>{"use strict";c.d(b,{useReviewIdentity:()=>i});var d=c(67484);c(55511);var e=c(208),f=c(79606),g=c(33281),h=c(71192);function i(){let[a,b]=(0,d.useState)(""),[c,i]=(0,d.useState)(""),[j,k]=(0,d.useState)(!1),[l,m]=(0,d.useState)(!0),n=(0,d.useCallback)(a=>{let b=f.$mh({try:async()=>{await fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:a})})},catch:a=>new h.uV({message:"review identify POST failed",cause:a})});g.t4.runFork(b.pipe(f.NWQ(()=>f.rIH)))},[]),o=(0,d.useCallback)(a=>{let b=a.trim();b&&(i(b),k(!0),n(b))},[n]);return{authorId:a,name:c,nameConfirmed:j,loading:l,setName:(0,d.useCallback)(a=>{let b=a.trim();b&&(i(b),n(b))},[n]),confirmName:o,randomize:(0,d.useCallback)(()=>{let a,b,c,d;i((a=e.A.t("reviewUtils.adjectives",{returnObjects:!0}),b=e.A.t("reviewUtils.nouns",{returnObjects:!0}),c=a[Math.floor(Math.random()*a.length)],d=b[Math.floor(Math.random()*b.length)],`${c}${d}`))},[])}}},94481:(a,b,c)=>{"use strict";c.d(b,{ReviewListPanel:()=>j});var d=c(48249),e=c(67484),f=c(44384),g=c(33281),h=c(79606),i=c(83120);function j({currentReviewId:a,onSelect:b,readOnly:c,refreshTrigger:k,onViewComments:l}){let{t:m}=(0,f.Bd)(),[n,o]=(0,e.useState)([]),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(null),x=(0,e.useRef)(null),[y,z]=(0,e.useState)(null);(0,e.useCallback)(async()=>{let a=await g.t4.runPromiseExit((0,i.Y_)());"Success"===a._tag&&o(a.value.reviews??[])},[]);let A=(0,e.useCallback)(async(a,b,c)=>{a.stopPropagation(),r||(s(b),"Success"===(await g.t4.runPromiseExit((0,i.Gm)(b,{active:!c})))._tag&&o(a=>a.map(a=>a.id===b?{...a,active:!c}:a)),s(null))},[r]),B=(0,e.useCallback)(async(c,d)=>{if(c.stopPropagation(),!p){if(q(d),"Success"===(await g.t4.runPromiseExit((0,i.Wr)(d)))._tag&&(o(a=>a.filter(a=>a.id!==d)),d===a)){let a=n.filter(a=>a.id!==d);a.length>0&&b(a[0].id)}q(null)}},[p,a,n,b]),C=(0,e.useCallback)((a,b)=>{x.current=b,a.dataTransfer.effectAllowed="move";let c=a.currentTarget;requestAnimationFrame(()=>c.classList.add("opacity-30"))},[]),D=(0,e.useCallback)(a=>{x.current=null,z(null),a.currentTarget instanceof HTMLElement&&a.currentTarget.classList.remove("opacity-30")},[]),E=(0,e.useCallback)((a,b)=>{a.preventDefault(),a.dataTransfer.dropEffect="move",x.current&&x.current!==b&&z(b)},[]),F=(0,e.useCallback)(async(a,b)=>{a.preventDefault(),z(null);let c=x.current;x.current=null,c&&c!==b&&o(a=>{let d=[...a],e=d.findIndex(a=>a.id===c),f=d.findIndex(a=>a.id===b);if(-1===e||-1===f)return a;let[j]=d.splice(e,1);d.splice(f,0,j);let k=d.map(a=>a.id);return g.t4.runFork((0,i.z1)(k).pipe(h.NWQ(()=>h.rIH))),d})},[]),G=c?n.filter(a=>a.active):n,H=!c;return t?(0,d.jsxs)("div",{className:"h-full flex flex-col items-center bg-secondary/50 w-9 flex-shrink-0 border-r border-border",children:[(0,d.jsx)("button",{onClick:()=>u(!1),className:"p-1.5 mt-2 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:m("review.expandList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 mt-2",style:{writingMode:"vertical-rl"},children:c?m("review.nDocs",{count:G.length}):m("review.nReviews",{count:G.length})})]}):(0,d.jsxs)("div",{className:"h-full flex flex-col bg-secondary/50 w-[200px] flex-shrink-0 border-r border-border",children:[(0,d.jsxs)("div",{className:"px-3 py-2 border-b border-border flex-shrink-0 flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:c?m("review.docList"):m("review.allReviewsList")}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground/60 ml-1.5",children:G.length})]}),(0,d.jsx)("button",{onClick:()=>u(!0),className:"p-0.5 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:m("review.collapseList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[G.map(e=>(0,d.jsxs)("div",{draggable:H,onDragStart:H?a=>C(a,e.id):void 0,onDragEnd:H?D:void 0,onDragOver:H?a=>E(a,e.id):void 0,onDrop:H?a=>F(a,e.id):void 0,onMouseEnter:a=>{let b=a.currentTarget.getBoundingClientRect();w({id:e.id,text:e.title,top:b.top+b.height/2,left:b.right})},onMouseLeave:()=>w(a=>a?.id===e.id?null:a),onClick:()=>b(e.id),className:`group px-3 py-2 cursor-pointer border-b transition-colors ${y===e.id?"border-b-brand border-t border-t-transparent":"border-b-border/50"} ${e.id===a?"bg-accent/60":"hover:bg-hover"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[!c&&(0,d.jsx)("span",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${e.active?"bg-green-500":"bg-muted-foreground/40"}`}),(0,d.jsx)("span",{className:"text-xs truncate flex-1",children:e.title}),e.commentCount>0&&l&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l(e.id)},className:"flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-brand hover:!bg-brand/10 transition-colors",title:m("review.viewComments"),children:(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})})}),!c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:a=>A(a,e.id,e.active),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-foreground hover:!bg-accent transition-colors ${r===e.id?"opacity-50 pointer-events-none":""}`,title:e.active?m("review.closeReview"):m("review.reopenReview"),children:e.active?(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]}):(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64A9 9 0 0 1 12 21 9 9 0 0 1 5.64 6.64"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]})}),(0,d.jsx)("button",{onClick:a=>B(a,e.id),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-red-11 hover:!bg-red-500/10 transition-colors ${p===e.id?"opacity-50 pointer-events-none":""}`,title:m("review.deleteReview"),children:(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,d.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]})]}),e.commentCount>0&&(0,d.jsx)("div",{className:`text-[10px] text-muted-foreground/50 mt-0.5 ${c?"":"pl-3"}`,children:m("review.nComments",{count:e.commentCount})})]},e.id)),0===G.length&&(0,d.jsx)("div",{className:"px-3 py-4 text-xs text-muted-foreground/50 text-center",children:c?m("review.noOpenDocs"):m("review.noReviews")})]}),v&&(0,d.jsx)("div",{className:"fixed z-50 px-2 py-1 text-xs bg-popover text-popover-foreground border border-border rounded shadow-lv2 whitespace-nowrap pointer-events-none",style:{top:v.top,left:v.left+8,transform:"translateY(-50%)"},children:v.text})]})}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,6644,7956,5750],()=>b(b.s=53918));module.exports=c})();
|
|
1
|
+
(()=>{var a={};a.id=2951,a.ids=[2951],a.modules={1134:(a,b,c)=>{"use strict";c.d(b,{ReviewDropdown:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewDropdown() from the server but ReviewDropdown is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx","ReviewDropdown")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12629:a=>{"use strict";a.exports=import("web-tree-sitter")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20975:(a,b,c)=>{"use strict";c.d(b,{ReviewListPanel:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewListPanel() from the server but ReviewListPanel is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx","ReviewListPanel")},26188:(a,b,c)=>{"use strict";c.d(b,{useReviewHighlights:()=>e});var d=c(67484);function e(a,b,c,e){let[f,g]=(0,d.useState)([]),h=(0,d.useRef)(0),i=(0,d.useRef)(c);(0,d.useCallback)(()=>{h.current&&cancelAnimationFrame(h.current),h.current=requestAnimationFrame(()=>{let c=a.current,d=b.current;if(!c||!d)return;let e=function(a,b,c){let d=[],e=b.getBoundingClientRect(),f=function(a){let b=[],c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0;for(;c.nextNode();){let a=c.currentNode,e=a.textContent?.length||0;b.push({node:a,start:d,end:d+e}),d+=e}return b}(a);if(0===f.length)return d;for(let a of c){let{startOffset:c,endOffset:g}=a.anchor;if(c>=g)continue;let h=null,i=0,j=null,k=0;for(let{node:a,start:b,end:d}of f)if(!h&&c>=b&&c<d&&(h=a,i=c-b),g>b&&g<=d){j=a,k=g-b;break}if(!h||!j)continue;let l=document.createRange();try{l.setStart(h,i),l.setEnd(j,k)}catch{continue}for(let c of l.getClientRects())c.width<1||c.height<1||d.push({commentId:a.id,top:c.top-e.top+b.scrollTop,left:c.left-e.left+b.scrollLeft,width:c.width,height:c.height})}return d}(c,d,i.current);g(a=>a.length===e.length&&a.every((a,b)=>a.commentId===e[b].commentId&&.5>Math.abs(a.top-e[b].top)&&.5>Math.abs(a.left-e[b].left)&&.5>Math.abs(a.width-e[b].width)&&.5>Math.abs(a.height-e[b].height))?a:e)})},[a,b]);let j=(0,d.useCallback)(a=>{let c=b.current;if(!c)return;let d=f.find(b=>b.commentId===a);if(!d)return;let e=c.clientHeight;c.scrollTo({top:d.top-e/2+d.height/2,behavior:"smooth"})},[b,f]);return{rects:f,scrollToHighlight:j}}},28354:a=>{"use strict";a.exports=require("util")},28820:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewPage() from the server but ReviewPage is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx","ReviewPage")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29657:(a,b,c)=>{Promise.resolve().then(c.bind(c,26188)),Promise.resolve().then(c.bind(c,79758)),Promise.resolve().then(c.bind(c,61130)),Promise.resolve().then(c.bind(c,12568)),Promise.resolve().then(c.bind(c,45354)),Promise.resolve().then(c.bind(c,94481)),Promise.resolve().then(c.bind(c,45320)),Promise.resolve().then(c.bind(c,92608))},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},42681:(a,b,c)=>{Promise.resolve().then(c.bind(c,73370)),Promise.resolve().then(c.bind(c,61169)),Promise.resolve().then(c.bind(c,63376)),Promise.resolve().then(c.bind(c,1134)),Promise.resolve().then(c.bind(c,42784)),Promise.resolve().then(c.bind(c,20975)),Promise.resolve().then(c.bind(c,28820)),Promise.resolve().then(c.bind(c,74824))},42784:(a,b,c)=>{"use strict";c.d(b,{ReviewIdentitySettings:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewIdentitySettings() from the server but ReviewIdentitySettings is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx","ReviewIdentitySettings")},44236:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>h,dynamic:()=>f,generateMetadata:()=>g});var d=c(5735),e=c(28820);let f="force-dynamic";async function g({params:a}){let{id:b}=await a;return{title:`Review - ${b}`}}async function h({params:a}){let{id:b}=await a;return(0,d.jsx)(e.ReviewPage,{reviewId:b})}},44456:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>r,handler:()=>t,routeModule:()=>s});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,76537))),j=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),o=(0,d.p)(()=>Promise.resolve().then(c.bind(c,81227))),p={children:["",{children:["review",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,44236))),"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page.tsx"]}]},{"global-error":[o,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"]},[]]},{"global-error":[n,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/cockpit/cockpit/src/app/layout.tsx"],"global-error":[j,"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,q=(0,e.H)({tree:p,page:"/review/[id]/page",pathname:"/review/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),r=q.__next_app__,s=q.routeModule,t=q.handler},45320:(a,b,c)=>{"use strict";c.d(b,{ReviewPage:()=>D});var d=c(48249),e=c(67484),f=c(44384),g=c(5900),h=c(24680),i=c(83768),j=c(84835);function k({selectedText:a,position:b,onSubmit:c,onCancel:g}){let{t:h}=(0,f.Bd)(),[i,j]=(0,e.useState)(""),l=(0,e.useRef)(null),m=(0,e.useRef)(null),n=()=>{let a=i.trim();a&&c(a)},o=a.length>60?a.slice(0,57)+"...":a;return(0,d.jsxs)("div",{ref:m,className:"absolute z-50 w-96 bg-card border border-border rounded-lg shadow-lv2",style:{top:b.top,left:Math.max(8,b.left-192)},children:[(0,d.jsxs)("div",{className:"px-3 pt-3 pb-2",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-1",children:h("review.selectedText")}),(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r truncate",children:o})]}),(0,d.jsx)("div",{className:"px-3 pb-2",children:(0,d.jsx)("textarea",{ref:l,value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),n())},placeholder:h("review.addCommentPlaceholder"),className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:4})}),(0,d.jsxs)("div",{className:"px-3 pb-3 flex items-center justify-between",children:[(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:h("review.enterSubmitHint")}),(0,d.jsxs)("div",{className:"flex gap-1",children:[(0,d.jsx)("button",{onClick:g,className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:h("common.cancel")}),(0,d.jsx)("button",{onClick:n,disabled:!i.trim(),className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:h("review.commentBtn")})]})]})]})}let l={bg:"rgba(234, 179, 8, 0.15)",bgActive:"rgba(234, 179, 8, 0.4)",bgPending:"rgba(234, 179, 8, 0.3)",border:"rgba(234, 179, 8, 0.7)",borderPending:"rgba(234, 179, 8, 0.9)"},m={bg:"rgba(234, 179, 8, 0.1)",bgActive:"rgba(234, 179, 8, 0.3)",bgPending:"rgba(234, 179, 8, 0.2)",border:"rgba(234, 179, 8, 0.5)",borderPending:"rgba(234, 179, 8, 0.7)"};function n({rects:a,activeCommentId:b,pendingCommentId:c,isDark:e}){if(0===a.length)return null;let f=e?m:l;return(0,d.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:0,overflow:"visible",pointerEvents:"none",zIndex:5},children:a.map((a,e)=>{let g=a.commentId===b,h=a.commentId===c,i=f.bg;return h?i=f.bgPending:g&&(i=f.bgActive),(0,d.jsx)("div",{"data-comment-id":a.commentId,style:{position:"absolute",top:a.top,left:a.left,width:a.width,height:a.height,backgroundColor:i,borderBottom:`1px solid ${h?f.borderPending:f.border}`,borderRadius:1,pointerEvents:"none"}},`${a.commentId}-${e}`)})})}var o=c(26188);let p=[j.W];function q({content:a,comments:b,activeCommentId:c,isActive:f,onAddComment:j,onHighlightClick:l,scrollToHighlightRef:m}){let{resolvedTheme:r}=(0,i.DP)(),s=(0,e.useRef)(null),t=(0,e.useRef)(null),[u,v]=(0,e.useState)(null),w=(0,e.useMemo)(()=>u?[...b,{id:"__pending__",author:"",authorId:"",content:"",anchor:u.anchor,createdAt:0,replies:[]}]:b,[b,u]),{rects:x,scrollToHighlight:y}=(0,o.useReviewHighlights)(s,t,w,c),z=(0,e.useRef)(x),A=(0,e.useCallback)(a=>{let b=window.getSelection(),c=b&&!b.isCollapsed;if(c&&f&&s.current){let c=b.getRangeAt(0);if(s.current.contains(c.startContainer)&&s.current.contains(c.endContainer)){let d=function(a,b){let c=document.createTreeWalker(a,NodeFilter.SHOW_TEXT),d=0,e=-1,f=-1;for(;c.nextNode();){let a=c.currentNode,g=a.textContent?.length||0;if(a===b.startContainer&&(e=d+b.startOffset),a===b.endContainer){f=d+b.endOffset;break}d+=g}if(-1===e||-1===f||e>=f)return null;let g=a.textContent?.slice(e,f)||"";return g.trim()?{startOffset:e,endOffset:f,selectedText:g}:null}(s.current,c);if(d){let c=t.current??s.current.parentElement,e=c.getBoundingClientRect();v({anchor:d,position:{top:a.clientY-e.top+c.scrollTop+8,left:a.clientX-e.left}}),b.removeAllRanges();return}}}if(!c&&!u){let b=t.current;if(!b)return;let c=b.getBoundingClientRect(),d=a.clientX-c.left+b.scrollLeft,e=a.clientY-c.top+b.scrollTop;for(let a of z.current)if("__pending__"!==a.commentId&&d>=a.left&&d<=a.left+a.width&&e>=a.top&&e<=a.top+a.height)return void l(a.commentId)}},[f,u,l]),B=(0,e.useCallback)(a=>{u&&(j(a,u.anchor),v(null),window.getSelection()?.removeAllRanges())},[u,j]),C=(0,e.useCallback)(()=>{v(null),window.getSelection()?.removeAllRanges()},[]);return(0,d.jsxs)("div",{className:"h-full flex bg-card",children:[(0,d.jsx)(h.l,{content:a,containerRef:t}),(0,d.jsxs)("div",{ref:t,className:"flex-1 overflow-auto relative",onMouseUp:A,children:[(0,d.jsx)("div",{ref:s,className:"p-6 review-markdown-container",children:(0,d.jsx)(g.T,{content:a,rehypePlugins:p})}),(0,d.jsx)(n,{rects:x,activeCommentId:c,pendingCommentId:u?"__pending__":null,isDark:"dark"===r}),u&&(0,d.jsx)(k,{selectedText:u.anchor.selectedText,position:u.position,onSubmit:B,onCancel:C})]})]})}var r=c(208);function s(a){let b=new Date(a),c=Math.floor((new Date().getTime()-b.getTime())/6e4);if(c<1)return r.A.t("common.justNow");if(c<60)return r.A.t("common.minutesAgo",{count:c});let d=Math.floor(c/60);if(d<24)return r.A.t("common.hoursAgo",{count:d});let e=Math.floor(d/24);return e<7?r.A.t("common.daysAgo",{count:e}):b.toLocaleDateString()}let t=(0,e.forwardRef)(function({comment:a,isActive:b,isOwnComment:c,isAdmin:g,currentAuthorId:h,canInteract:i,userNameMap:j,onClick:k,onDelete:l,onEdit:m,onToggleClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q},r){let{t}=(0,f.Bd)(),u=(a,b)=>j[a]||b,[v,w]=(0,e.useState)(""),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(null),[F,G]=(0,e.useState)(""),H=()=>{let a=v.trim();a&&(o(a),w(""),y(!1))},I=()=>{let b=B.trim();b&&b!==a.content&&m(b),A(!1)},J=()=>{if(!D)return;let b=F.trim(),c=a.replies.find(a=>a.id===D);!b||c&&b===c.content||q(D,b),E(null)},K=a.anchor.selectedText.length>80?a.anchor.selectedText.slice(0,77)+"...":a.anchor.selectedText,L=g||c||i;return a.closed?(0,d.jsxs)("div",{ref:r,className:"rounded-lg border border-border/50 bg-card/50 opacity-60 hover:opacity-80 transition-all cursor-pointer px-3 py-2 flex items-center gap-2",onClick:k,children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground truncate flex-1",children:K}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 flex-shrink-0",children:t("review.closedLabel")}),L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!1)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors flex-shrink-0",title:t("review.reopenReview"),children:t("review.reopen")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors flex-shrink-0",title:t("review.deleteComment"),children:t("common.delete")})]}):(0,d.jsxs)("div",{ref:r,className:`rounded-lg border transition-all cursor-pointer ${b?"border-brand bg-brand/5 shadow-lv1":"border-border bg-card hover:border-muted-foreground/30"}`,onClick:k,children:[(0,d.jsx)("div",{className:"px-3 pt-3 pb-1",children:(0,d.jsx)("div",{className:"text-xs bg-yellow-500/10 border-l-2 border-yellow-500 px-2 py-1 rounded-r text-muted-foreground truncate",children:K})}),(0,d.jsxs)("div",{className:"px-3 pt-2 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:s(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),!z&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[L&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),n(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",children:t("review.closeComment")}),c&&i&&(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),C(a.content),A(!0)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editComment"),children:t("common.edit")}),(c&&i||g)&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l()},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors",title:t("review.deleteComment"),children:t("common.delete")})]})]}),(0,d.jsx)("div",{className:"px-3 pt-1 pb-2",children:z?(0,d.jsxs)("div",{onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:B,onChange:a=>C(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),I()),"Escape"===a.key&&A(!1)},className:"w-full px-2 py-1.5 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:3,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>A(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:I,disabled:!B.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})}),a.replies.length>0&&(0,d.jsx)("div",{className:"mx-3 border-t border-border",children:a.replies.map(a=>(0,d.jsxs)("div",{className:"py-2 border-b border-border last:border-b-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-4 h-4 rounded-full bg-accent text-muted-foreground flex items-center justify-center text-[9px] font-bold flex-shrink-0",children:u(a.authorId,a.author).charAt(0)}),(0,d.jsx)("span",{className:"text-xs font-medium",children:u(a.authorId,a.author)}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground",children:s(a.createdAt)}),(0,d.jsx)("div",{className:"flex-1"}),D!==a.id&&(a.authorId===h&&i||g)&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[a.authorId===h&&i&&(0,d.jsx)("button",{onClick:b=>{var c;b.stopPropagation(),c=a.id,G(a.content),E(c)},className:"text-[10px] text-muted-foreground hover:text-foreground transition-colors",title:t("review.editReply"),children:t("common.edit")}),(0,d.jsx)("button",{onClick:b=>{b.stopPropagation(),p(a.id)},className:"text-[10px] text-muted-foreground hover:text-red-11 transition-colors",title:t("review.deleteReply"),children:t("common.delete")})]})]}),D===a.id?(0,d.jsxs)("div",{className:"mt-1 pl-6",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:F,onChange:a=>G(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),J()),"Escape"===a.key&&E(null)},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>E(null),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:J,disabled:!F.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("common.save")})]})]}):(0,d.jsxs)("div",{className:"text-sm mt-0.5 pl-6 whitespace-pre-wrap",children:[a.content,a.edited&&(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground ml-1",children:t("review.edited")})]})]},a.id))}),(0,d.jsx)("div",{className:"px-3 pb-2 pt-1",children:x?(0,d.jsxs)("div",{className:"mt-1",onClick:a=>a.stopPropagation(),children:[(0,d.jsx)("textarea",{value:v,onChange:a=>w(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.shiftKey||a.nativeEvent.isComposing||(a.preventDefault(),H()),"Escape"===a.key&&y(!1)},placeholder:t("review.replyPlaceholder"),className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded resize-none focus:outline-none focus:border-brand",rows:2,autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-1 mt-1",children:[(0,d.jsx)("button",{onClick:()=>y(!1),className:"px-2 py-0.5 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:t("common.cancel")}),(0,d.jsx)("button",{onClick:H,disabled:!v.trim(),className:"px-2 py-0.5 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:t("review.reply")})]})]}):i&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),y(!0)},className:"text-xs text-muted-foreground hover:text-foreground transition-colors",children:t("review.reply")})})]})});function u({comments:a,activeCommentId:b,currentAuthorId:c,isActive:g,isAdmin:h,userNameMap:i,onCommentClick:j,onNavigateComment:k,onDeleteComment:l,onEditComment:m,onToggleCommentClosed:n,onAddReply:o,onDeleteReply:p,onEditReply:q,scrollToCommentRef:r}){let{t:s}=(0,f.Bd)(),v=(0,e.useRef)(new Map),w=(0,e.useRef)(null);(0,e.useCallback)(a=>{let b=v.current.get(a);b&&b.scrollIntoView({behavior:"smooth",block:"center"})},[]);let x=[...a].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset);return(0,d.jsxs)("div",{ref:w,className:"h-full flex flex-col bg-card",children:[(0,d.jsxs)("div",{className:"px-4 py-2 border-b border-border flex-shrink-0 flex items-center",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:0===a.length?s("review.selectTextToComment"):b?s("review.commentsNavCount",{current:x.findIndex(a=>a.id===b)+1,total:a.length}):s("review.commentsCount",{count:a.length})}),a.length>0&&(0,d.jsxs)("div",{className:"flex items-center gap-1 ml-2",children:[(0,d.jsxs)("button",{onClick:()=>k("prev"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors flex items-center gap-0.5",children:[(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})}),s("review.prevComment")]}),(0,d.jsxs)("button",{onClick:()=>k("next"),className:"px-1.5 py-0.5 text-[11px] text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors flex items-center gap-0.5",children:[s("review.nextComment"),(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})]})]})]}),(0,d.jsx)("div",{className:"flex-1 overflow-auto",children:0===x.length?(0,d.jsx)("div",{className:"flex items-center justify-center h-full text-muted-foreground text-sm",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-2xl mb-2",children:"\uD83D\uDCAC"}),(0,d.jsx)("div",{children:s("review.selectTextHint")})]})}):(0,d.jsx)("div",{className:"p-3 space-y-3",children:x.map(a=>(0,d.jsx)(t,{ref:b=>{b?v.current.set(a.id,b):v.current.delete(a.id)},comment:a,isActive:a.id===b,isOwnComment:a.authorId===c,isAdmin:h,currentAuthorId:c,canInteract:g,userNameMap:i,onClick:()=>j(a.id),onDelete:()=>l(a.id),onEdit:b=>m(a.id,b),onToggleClosed:b=>n(a.id,b),onAddReply:b=>o(a.id,b),onDeleteReply:b=>p(a.id,b),onEditReply:(b,c)=>q(a.id,b,c)},a.id))})})]})}var v=c(45354),w=c(94481);function x({currentName:a,onConfirm:b,onSkip:c}){let{t:g}=(0,f.Bd)(),[h,i]=(0,e.useState)(a),j=(0,e.useRef)(null),k=()=>{let a=h.trim();a&&b(a)};return(0,d.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-scrim",children:(0,d.jsxs)("div",{className:"bg-card border border-border rounded-xl shadow-lv3 w-80 p-5",children:[(0,d.jsx)("h2",{className:"text-base font-semibold mb-1",children:g("review.setNickname")}),(0,d.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:g("review.nicknameHint")}),(0,d.jsx)("input",{ref:j,type:"text",value:h,onChange:a=>i(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||k(),"Escape"===a.key&&c()},placeholder:g("review.nicknamePlaceholder"),maxLength:20,className:"w-full px-3 py-2 text-sm bg-secondary border border-border rounded-lg focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-4",children:[(0,d.jsx)("button",{onClick:c,className:"px-3 py-1.5 text-xs rounded-lg hover:bg-hover transition-colors text-muted-foreground",children:g("review.skipForNow")}),(0,d.jsx)("button",{onClick:k,disabled:!h.trim(),className:"px-4 py-1.5 text-xs rounded-lg bg-brand text-white hover:bg-brand/90 transition-colors disabled:opacity-40",children:g("common.save")})]})]})})}var y=c(61130),z=c(79758),A=c(7833),B=c(33281),C=c(83120);function D({reviewId:a}){let{t:b}=(0,f.Bd)(),[c,g]=(0,e.useState)(a),[h,j]=(0,e.useState)(null),[k,l]=(0,e.useState)(!0),[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(null),[r,s]=(0,e.useState)(!1),t=(0,z.useReviewIdentity)(),{resolvedTheme:E,setTheme:F}=(0,i.DP)(),[G,H]=(0,e.useState)({}),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)(!1),M=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C.BL)());if("Success"===a._tag){let b={};for(let[c,d]of Object.entries(a.value.users))b[c]=d.name;H(b)}},[]),N=(0,e.useRef)(void 0),O=(0,e.useRef)(void 0),P=(0,e.useCallback)(a=>{a!==c&&(g(a),n(null),p(null),window.history.replaceState(null,"",`/review/${a}`))},[c]),Q=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C.JK)(c));if("Success"===a._tag)j(a.value.review),n(null);else{let c="Fail"===a.cause._tag?a.cause.error:null;c&&"NotFoundError"===c._tag?n(b("review.reviewNotExist")):c&&"AppError"===c._tag?n(b("review.loadFailed")):n(b("review.networkError"))}l(!1)},[c,b]),R=(0,e.useCallback)(async(a,c)=>{"Success"===(await B.t4.runPromiseExit(a))._tag?await Q():(0,A.oR)(b(c),"error")},[Q,b]),S=(0,e.useCallback)(async(a,b)=>{t.authorId&&await R((0,C.dU)(c,{author:t.name,authorId:t.authorId,content:a,anchor:b}),"toast.addCommentFailed")},[c,t,R]),T=(0,e.useCallback)(a=>R((0,C.jw)(c,a),"toast.deleteCommentFailed"),[c,R]),U=(0,e.useCallback)((a,b)=>R((0,C.Y8)(c,{commentId:a,content:b}),"toast.editCommentFailed"),[c,R]),V=(0,e.useCallback)((a,b)=>R((0,C.Y8)(c,{commentId:a,closed:b}),"toast.operationFailed"),[c,R]),W=(0,e.useCallback)(async(a,b)=>{t.authorId&&await R((0,C.mu)(c,{commentId:a,author:t.name,authorId:t.authorId,content:b}),"toast.addReplyFailed")},[c,t,R]),X=(0,e.useCallback)((a,b)=>R((0,C.i7)(c,a,b),"toast.deleteReplyFailed"),[c,R]),Y=(0,e.useCallback)((a,b,d)=>R((0,C.vy)(c,{commentId:a,replyId:b,content:d}),"toast.editReplyFailed"),[c,R]),Z=(0,e.useCallback)(async()=>{let a=await B.t4.runPromiseExit((0,C._c)());if("Success"===a._tag){let d=a.value.shareBase?`${a.value.shareBase}/review/${c}`:window.location.href;try{await navigator.clipboard.writeText(d),(0,A.oR)(b("toast.linkCopied"),"success")}catch{(0,A.oR)(b("toast.copyFailed"),"error")}}else(0,A.oR)(b("toast.copyFailed"),"error")},[c,b]),$=(0,e.useCallback)(a=>{p(a),O.current?.(a)},[]),_=(0,e.useCallback)(a=>{p(a),N.current?.(a)},[]),aa=(0,e.useCallback)(a=>{let b;if(!h||0===h.comments.length)return;let c=[...h.comments].sort((a,b)=>a.anchor.startOffset-b.anchor.startOffset),d=o?c.findIndex(a=>a.id===o):-1;b="next"===a?d<c.length-1?d+1:0:d>0?d-1:c.length-1;let e=c[b];p(e.id),O.current?.(e.id),N.current?.(e.id)},[h,o]);return(0,d.jsxs)("div",{className:"h-screen flex flex-col bg-background text-foreground overflow-hidden",children:[I&&(0,d.jsx)(x,{currentName:t.name,onConfirm:a=>{t.confirmName(a),J(!1),M()},onSkip:()=>J(!1)}),h&&(0,d.jsx)(y.ReviewCommentsListModal,{isOpen:K,onClose:()=>L(!1),comments:h.comments,reviewTitle:h.title,userNameMap:G,onCommentClick:a=>{p(a),O.current?.(a),N.current?.(a)}}),h&&(0,d.jsx)("div",{className:"py-2 border-b border-border flex-shrink-0 flex justify-center",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] px-4 flex items-center gap-3",children:[(0,d.jsx)("h1",{className:"text-sm font-semibold truncate",children:h.title}),(0,d.jsx)("span",{className:"text-[11px] text-muted-foreground flex-shrink-0",children:b("review.updatedAt",{date:new Date(h.updatedAt||h.createdAt).toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})}),(0,d.jsx)("span",{className:"flex-1"}),!r&&(0,d.jsx)("span",{className:`px-2 py-0.5 text-xs rounded-full ${h.active?"bg-green-500/15 text-green-600 dark:text-green-400":"bg-muted text-muted-foreground"}`,children:h.active?b("review.active"):b("review.closed")}),(0,d.jsxs)("button",{onClick:()=>L(!0),className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground flex items-center gap-1",title:b("review.viewAllComments"),children:[(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})}),b("review.viewCommentBtn")]}),(0,d.jsx)("button",{onClick:Z,className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("review.copyLink")}),(0,d.jsx)("button",{onClick:()=>F("dark"===E?"light":"dark"),className:"p-1 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:"dark"===E?b("settings.switchLight"):b("settings.switchDark"),children:"dark"===E?(0,d.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,d.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),(0,d.jsx)("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),(0,d.jsx)("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),(0,d.jsx)("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),(0,d.jsx)("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),(0,d.jsx)("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),(0,d.jsx)("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),(0,d.jsx)("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]}):(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})})}),(0,d.jsx)(v.ReviewIdentitySettings,{identity:t})]})}),(0,d.jsx)("div",{className:"flex-1 flex justify-center overflow-hidden",children:(0,d.jsxs)("div",{className:"w-full max-w-[1800px] flex overflow-hidden",children:[(0,d.jsx)(w.ReviewListPanel,{currentReviewId:c,onSelect:P,readOnly:!r,refreshTrigger:h?.comments.length,onViewComments:a=>{a!==c&&P(a),L(!0)}}),k?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsx)("div",{className:"text-muted-foreground",children:b("common.loading")})}):m||!h?(0,d.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,d.jsxs)("div",{className:"text-center",children:[(0,d.jsx)("div",{className:"text-xl mb-2",children:m||b("review.reviewNotFound")}),(0,d.jsx)("div",{className:"text-sm text-muted-foreground",children:b("review.checkLink")})]})}):(0,d.jsxs)("div",{className:"flex-1 flex overflow-hidden",children:[(0,d.jsx)("div",{className:"flex-1 h-full border-r border-border overflow-hidden",children:(0,d.jsx)(q,{content:h.content,comments:h.comments,activeCommentId:o,isActive:h.active,onAddComment:S,onHighlightClick:_,scrollToHighlightRef:O})}),(0,d.jsx)("div",{className:"w-[360px] h-full overflow-hidden flex-shrink-0",children:(0,d.jsx)(u,{comments:h.comments,activeCommentId:o,currentAuthorId:t.authorId,isActive:h.active,isAdmin:r,userNameMap:G,onCommentClick:$,onNavigateComment:aa,onDeleteComment:T,onEditComment:U,onToggleCommentClosed:V,onAddReply:W,onDeleteReply:X,onEditReply:Y,scrollToCommentRef:N})})]})]})})]})}},45354:(a,b,c)=>{"use strict";c.d(b,{ReviewIdentitySettings:()=>g});var d=c(48249),e=c(67484),f=c(44384);function g({identity:a}){let{t:b}=(0,f.Bd)(),[c,h]=(0,e.useState)(!1),[i,j]=(0,e.useState)(""),k=(0,e.useRef)(null),l=()=>{let b=i.trim();b&&b!==a.name&&a.confirmName(b),h(!1)};return(0,d.jsxs)("div",{className:"relative",ref:k,children:[(0,d.jsxs)("button",{onClick:()=>{c||j(a.name),h(!c)},className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors flex items-center gap-1",title:b("review.identitySettings"),children:[(0,d.jsx)("span",{className:"w-5 h-5 rounded-full bg-brand/20 text-brand flex items-center justify-center text-[10px] font-bold",children:a.name.charAt(0)}),(0,d.jsx)("span",{className:"text-muted-foreground",children:a.name})]}),c&&(0,d.jsxs)("div",{className:"absolute right-0 top-full mt-1 w-56 bg-card border border-border rounded-lg shadow-lv2 p-3 z-50",children:[(0,d.jsx)("div",{className:"text-xs text-muted-foreground mb-2",children:b("review.reviewNickname")}),(0,d.jsx)("input",{type:"text",value:i,onChange:a=>j(a.target.value),onKeyDown:a=>{"Enter"!==a.key||a.nativeEvent.isComposing||l()},className:"w-full px-2 py-1 text-sm bg-secondary border border-border rounded focus:outline-none focus:border-brand",autoFocus:!0}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,d.jsx)("button",{onClick:()=>{a.randomize(),h(!1)},className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("review.random")}),(0,d.jsx)("div",{className:"flex-1"}),(0,d.jsx)("button",{onClick:()=>h(!1),className:"px-2 py-1 text-xs rounded hover:bg-hover transition-colors text-muted-foreground",children:b("common.cancel")}),(0,d.jsx)("button",{onClick:l,className:"px-2 py-1 text-xs rounded bg-brand text-white hover:bg-brand/90 transition-colors",children:b("common.save")})]})]})]})}},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},61169:(a,b,c)=>{"use strict";c.d(b,{useReviewIdentity:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call useReviewIdentity() from the server but useReviewIdentity is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts","useReviewIdentity")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63376:(a,b,c)=>{"use strict";c.d(b,{ReviewCommentsListModal:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ReviewCommentsListModal() from the server but ReviewCommentsListModal is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx","ReviewCommentsListModal")},73136:a=>{"use strict";a.exports=require("node:url")},73370:(a,b,c)=>{"use strict";c.d(b,{useReviewHighlights:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call useReviewHighlights() from the server but useReviewHighlights is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts","useReviewHighlights")},74824:(a,b,c)=>{"use strict";c.d(b,{ShareReviewToggle:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call ShareReviewToggle() from the server but ShareReviewToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx","ShareReviewToggle")},76760:a=>{"use strict";a.exports=require("node:path")},78335:()=>{},78908:a=>{"use strict";a.exports=import("shiki")},79748:a=>{"use strict";a.exports=require("fs/promises")},79758:(a,b,c)=>{"use strict";c.d(b,{useReviewIdentity:()=>i});var d=c(67484);c(55511);var e=c(208),f=c(79606),g=c(33281),h=c(71192);function i(){let[a,b]=(0,d.useState)(""),[c,i]=(0,d.useState)(""),[j,k]=(0,d.useState)(!1),[l,m]=(0,d.useState)(!0),n=(0,d.useCallback)(a=>{let b=f.$mh({try:async()=>{await fetch("/api/review/identify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:a})})},catch:a=>new h.uV({message:"review identify POST failed",cause:a})});g.t4.runFork(b.pipe(f.NWQ(()=>f.rIH)))},[]),o=(0,d.useCallback)(a=>{let b=a.trim();b&&(i(b),k(!0),n(b))},[n]);return{authorId:a,name:c,nameConfirmed:j,loading:l,setName:(0,d.useCallback)(a=>{let b=a.trim();b&&(i(b),n(b))},[n]),confirmName:o,randomize:(0,d.useCallback)(()=>{let a,b,c,d;i((a=e.A.t("reviewUtils.adjectives",{returnObjects:!0}),b=e.A.t("reviewUtils.nouns",{returnObjects:!0}),c=a[Math.floor(Math.random()*a.length)],d=b[Math.floor(Math.random()*b.length)],`${c}${d}`))},[])}}},94481:(a,b,c)=>{"use strict";c.d(b,{ReviewListPanel:()=>j});var d=c(48249),e=c(67484),f=c(44384),g=c(33281),h=c(79606),i=c(83120);function j({currentReviewId:a,onSelect:b,readOnly:c,refreshTrigger:k,onViewComments:l}){let{t:m}=(0,f.Bd)(),[n,o]=(0,e.useState)([]),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(null),x=(0,e.useRef)(null),[y,z]=(0,e.useState)(null);(0,e.useCallback)(async()=>{let a=await g.t4.runPromiseExit((0,i.Y_)());"Success"===a._tag&&o(a.value.reviews??[])},[]);let A=(0,e.useCallback)(async(a,b,c)=>{a.stopPropagation(),r||(s(b),"Success"===(await g.t4.runPromiseExit((0,i.Gm)(b,{active:!c})))._tag&&o(a=>a.map(a=>a.id===b?{...a,active:!c}:a)),s(null))},[r]),B=(0,e.useCallback)(async(c,d)=>{if(c.stopPropagation(),!p){if(q(d),"Success"===(await g.t4.runPromiseExit((0,i.Wr)(d)))._tag&&(o(a=>a.filter(a=>a.id!==d)),d===a)){let a=n.filter(a=>a.id!==d);a.length>0&&b(a[0].id)}q(null)}},[p,a,n,b]),C=(0,e.useCallback)((a,b)=>{x.current=b,a.dataTransfer.effectAllowed="move";let c=a.currentTarget;requestAnimationFrame(()=>c.classList.add("opacity-30"))},[]),D=(0,e.useCallback)(a=>{x.current=null,z(null),a.currentTarget instanceof HTMLElement&&a.currentTarget.classList.remove("opacity-30")},[]),E=(0,e.useCallback)((a,b)=>{a.preventDefault(),a.dataTransfer.dropEffect="move",x.current&&x.current!==b&&z(b)},[]),F=(0,e.useCallback)(async(a,b)=>{a.preventDefault(),z(null);let c=x.current;x.current=null,c&&c!==b&&o(a=>{let d=[...a],e=d.findIndex(a=>a.id===c),f=d.findIndex(a=>a.id===b);if(-1===e||-1===f)return a;let[j]=d.splice(e,1);d.splice(f,0,j);let k=d.map(a=>a.id);return g.t4.runFork((0,i.z1)(k).pipe(h.NWQ(()=>h.rIH))),d})},[]),G=c?n.filter(a=>a.active):n,H=!c;return t?(0,d.jsxs)("div",{className:"h-full flex flex-col items-center bg-secondary/50 w-9 flex-shrink-0 border-r border-border",children:[(0,d.jsx)("button",{onClick:()=>u(!1),className:"p-1.5 mt-2 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:m("review.expandList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,d.jsx)("span",{className:"text-[10px] text-muted-foreground/50 mt-2",style:{writingMode:"vertical-rl"},children:c?m("review.nDocs",{count:G.length}):m("review.nReviews",{count:G.length})})]}):(0,d.jsxs)("div",{className:"h-full flex flex-col bg-secondary/50 w-[200px] flex-shrink-0 border-r border-border",children:[(0,d.jsxs)("div",{className:"px-3 py-2 border-b border-border flex-shrink-0 flex items-center justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:c?m("review.docList"):m("review.allReviewsList")}),(0,d.jsx)("span",{className:"text-xs text-muted-foreground/60 ml-1.5",children:G.length})]}),(0,d.jsx)("button",{onClick:()=>u(!0),className:"p-0.5 text-muted-foreground hover:text-foreground hover:bg-hover rounded transition-colors",title:m("review.collapseList"),children:(0,d.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("polyline",{points:"15 18 9 12 15 6"})})})]}),(0,d.jsxs)("div",{className:"flex-1 overflow-y-auto",children:[G.map(e=>(0,d.jsxs)("div",{draggable:H,onDragStart:H?a=>C(a,e.id):void 0,onDragEnd:H?D:void 0,onDragOver:H?a=>E(a,e.id):void 0,onDrop:H?a=>F(a,e.id):void 0,onMouseEnter:a=>{let b=a.currentTarget.getBoundingClientRect();w({id:e.id,text:e.title,top:b.top+b.height/2,left:b.right})},onMouseLeave:()=>w(a=>a?.id===e.id?null:a),onClick:()=>b(e.id),className:`group px-3 py-2 cursor-pointer border-b transition-colors ${y===e.id?"border-b-brand border-t border-t-transparent":"border-b-border/50"} ${e.id===a?"bg-accent/60":"hover:bg-hover"}`,children:[(0,d.jsxs)("div",{className:"flex items-center gap-1.5 min-w-0",children:[!c&&(0,d.jsx)("span",{className:`w-1.5 h-1.5 rounded-full flex-shrink-0 ${e.active?"bg-green-500":"bg-muted-foreground/40"}`}),(0,d.jsx)("span",{className:"text-xs truncate flex-1",children:e.title}),e.commentCount>0&&l&&(0,d.jsx)("button",{onClick:a=>{a.stopPropagation(),l(e.id)},className:"flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-brand hover:!bg-brand/10 transition-colors",title:m("review.viewComments"),children:(0,d.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,d.jsx)("path",{d:"M7 8h10M7 12h4m1 8l-4-4H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-3l-4 4z"})})}),!c&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:a=>A(a,e.id,e.active),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-foreground hover:!bg-accent transition-colors ${r===e.id?"opacity-50 pointer-events-none":""}`,title:e.active?m("review.closeReview"):m("review.reopenReview"),children:e.active?(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64a9 9 0 1 1-12.73 0"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]}):(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("path",{d:"M18.36 6.64A9 9 0 0 1 12 21 9 9 0 0 1 5.64 6.64"}),(0,d.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"12"})]})}),(0,d.jsx)("button",{onClick:a=>B(a,e.id),className:`flex-shrink-0 p-0.5 rounded text-muted-foreground/0 group-hover:text-muted-foreground/60 hover:!text-red-11 hover:!bg-red-500/10 transition-colors ${p===e.id?"opacity-50 pointer-events-none":""}`,title:m("review.deleteReview"),children:(0,d.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("polyline",{points:"3 6 5 6 21 6"}),(0,d.jsx)("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]})]}),e.commentCount>0&&(0,d.jsx)("div",{className:`text-[10px] text-muted-foreground/50 mt-0.5 ${c?"":"pl-3"}`,children:m("review.nComments",{count:e.commentCount})})]},e.id)),0===G.length&&(0,d.jsx)("div",{className:"px-3 py-4 text-xs text-muted-foreground/50 text-center",children:c?m("review.noOpenDocs"):m("review.noReviews")})]}),v&&(0,d.jsx)("div",{className:"fixed z-50 px-2 py-1 text-xs bg-popover text-popover-foreground border border-border rounded shadow-lv2 whitespace-nowrap pointer-events-none",style:{top:v.top,left:v.left+8,transform:"translateY(-50%)"},children:v.text})]})}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,6644,3354,7438],()=>b(b.s=44456));module.exports=c})();
|