@ai-development-environment/server 0.0.145 → 0.0.146

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.
Files changed (330) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/app-path-routes-manifest.json +2 -0
  4. package/standalone/.next/build-manifest.json +3 -3
  5. package/standalone/.next/prerender-manifest.json +3 -3
  6. package/standalone/.next/routes-manifest.json +12 -0
  7. package/standalone/.next/server/app/.well-known/[...path]/route.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/(auth)/register/page.js.nft.json +1 -1
  9. package/standalone/.next/server/app/[locale]/(auth)/register/page_client-reference-manifest.js +1 -1
  10. package/standalone/.next/server/app/[locale]/(auth)/sign-in/page.js.nft.json +1 -1
  11. package/standalone/.next/server/app/[locale]/(auth)/sign-in/page_client-reference-manifest.js +1 -1
  12. package/standalone/.next/server/app/[locale]/(dashboard)/ai/costs/page.js.nft.json +1 -1
  13. package/standalone/.next/server/app/[locale]/(dashboard)/ai/costs/page_client-reference-manifest.js +1 -1
  14. package/standalone/.next/server/app/[locale]/(dashboard)/ai/drafts/new/page.js.nft.json +1 -1
  15. package/standalone/.next/server/app/[locale]/(dashboard)/ai/drafts/new/page_client-reference-manifest.js +1 -1
  16. package/standalone/.next/server/app/[locale]/(dashboard)/ai/drafts/page.js.nft.json +1 -1
  17. package/standalone/.next/server/app/[locale]/(dashboard)/ai/drafts/page_client-reference-manifest.js +1 -1
  18. package/standalone/.next/server/app/[locale]/(dashboard)/ai/plans/[runId]/page.js.nft.json +1 -1
  19. package/standalone/.next/server/app/[locale]/(dashboard)/ai/plans/[runId]/page_client-reference-manifest.js +1 -1
  20. package/standalone/.next/server/app/[locale]/(dashboard)/ai/plans/page.js.nft.json +1 -1
  21. package/standalone/.next/server/app/[locale]/(dashboard)/ai/plans/page_client-reference-manifest.js +1 -1
  22. package/standalone/.next/server/app/[locale]/(dashboard)/ai/sessions/[runId]/page.js.nft.json +1 -1
  23. package/standalone/.next/server/app/[locale]/(dashboard)/ai/sessions/[runId]/page_client-reference-manifest.js +1 -1
  24. package/standalone/.next/server/app/[locale]/(dashboard)/ai/sessions/page.js.nft.json +1 -1
  25. package/standalone/.next/server/app/[locale]/(dashboard)/ai/sessions/page_client-reference-manifest.js +1 -1
  26. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/[skillId]/page.js.nft.json +1 -1
  27. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/[skillId]/page_client-reference-manifest.js +1 -1
  28. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/groups/[groupId]/page.js.nft.json +1 -1
  29. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  30. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/groups/page.js.nft.json +1 -1
  31. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/groups/page_client-reference-manifest.js +1 -1
  32. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/page.js.nft.json +1 -1
  33. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/page_client-reference-manifest.js +1 -1
  34. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/sync/[runId]/page.js.nft.json +1 -1
  35. package/standalone/.next/server/app/[locale]/(dashboard)/ai/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  36. package/standalone/.next/server/app/[locale]/(dashboard)/ai/usage/page.js.nft.json +1 -1
  37. package/standalone/.next/server/app/[locale]/(dashboard)/ai/usage/page_client-reference-manifest.js +1 -1
  38. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/action-center/page.js.nft.json +1 -1
  39. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/action-center/page_client-reference-manifest.js +1 -1
  40. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/agents/[id]/page.js.nft.json +1 -1
  41. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/agents/[id]/page_client-reference-manifest.js +1 -1
  42. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/agents/page.js.nft.json +1 -1
  43. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/agents/page_client-reference-manifest.js +1 -1
  44. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/apps/[appId]/page.js.nft.json +1 -1
  45. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/apps/[appId]/page_client-reference-manifest.js +1 -1
  46. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/apps/page.js.nft.json +1 -1
  47. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/apps/page_client-reference-manifest.js +1 -1
  48. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/[buildId]/coverage/page.js.nft.json +1 -1
  49. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  50. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/[buildId]/output/route.js.nft.json +1 -1
  51. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/[buildId]/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/[buildId]/page_client-reference-manifest.js +1 -1
  53. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/configurations/[configurationId]/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/configurations/[configurationId]/page_client-reference-manifest.js +1 -1
  55. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/builds/page_client-reference-manifest.js +1 -1
  57. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/changes/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/changes/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/[codebaseId]/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  61. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/page_client-reference-manifest.js +1 -1
  63. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/[commandId]/edit/page.js.nft.json +1 -1
  66. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/[commandId]/edit/page_client-reference-manifest.js +1 -1
  67. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/new/page.js.nft.json +1 -1
  68. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/new/page_client-reference-manifest.js +1 -1
  69. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/runs/[runId]/output/route.js.nft.json +1 -1
  72. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/runs/[runId]/page.js.nft.json +1 -1
  73. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/commands/runs/[runId]/page_client-reference-manifest.js +1 -1
  74. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/jobs/[jobId]/page.js.nft.json +1 -1
  75. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  76. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/notifications/page.js.nft.json +1 -1
  77. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/notifications/page_client-reference-manifest.js +1 -1
  78. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/[workflowId]/edit/page.js.nft.json +1 -1
  79. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/[workflowId]/edit/page_client-reference-manifest.js +1 -1
  80. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/[workflowId]/page.js.nft.json +1 -1
  81. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/[workflowId]/page_client-reference-manifest.js +1 -1
  82. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/new/page.js.nft.json +1 -1
  83. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/new/page_client-reference-manifest.js +1 -1
  84. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/page.js.nft.json +1 -1
  85. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/page_client-reference-manifest.js +1 -1
  86. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/runs/[runId]/page.js.nft.json +1 -1
  87. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/workflows/runs/[runId]/page_client-reference-manifest.js +1 -1
  88. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/worktrees/[worktreeId]/page.js.nft.json +1 -1
  89. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  90. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/worktrees/page.js.nft.json +1 -1
  91. package/standalone/.next/server/app/[locale]/(dashboard)/dashboard/worktrees/page_client-reference-manifest.js +1 -1
  92. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/analytics-events/page.js.nft.json +1 -1
  93. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/analytics-events/page_client-reference-manifest.js +1 -1
  94. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/console-logs/page.js.nft.json +1 -1
  95. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/console-logs/page_client-reference-manifest.js +1 -1
  96. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/[crashId]/page.js.nft.json +1 -1
  97. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/[crashId]/page_client-reference-manifest.js +1 -1
  98. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/dsyms/[dsymId]/page.js.nft.json +1 -1
  99. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/dsyms/[dsymId]/page_client-reference-manifest.js +1 -1
  100. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/dsyms/page.js.nft.json +1 -1
  101. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/dsyms/page_client-reference-manifest.js +1 -1
  102. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/page.js.nft.json +1 -1
  103. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/crashes/page_client-reference-manifest.js +1 -1
  104. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/push-notifications/page.js.nft.json +1 -1
  105. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/push-notifications/page_client-reference-manifest.js +1 -1
  106. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/[endpointId]/mocks/page.js.nft.json +1 -1
  107. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/[endpointId]/mocks/page_client-reference-manifest.js +1 -1
  108. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/[endpointId]/page.js.nft.json +1 -1
  109. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/[endpointId]/page_client-reference-manifest.js +1 -1
  110. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/breakpoints/page.js.nft.json +1 -1
  111. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/breakpoints/page_client-reference-manifest.js +1 -1
  112. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/history/[requestId]/page.js.nft.json +1 -1
  113. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/history/[requestId]/page_client-reference-manifest.js +1 -1
  114. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/history/page.js.nft.json +1 -1
  115. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/history/page_client-reference-manifest.js +1 -1
  116. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/new/page.js.nft.json +1 -1
  117. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/new/page_client-reference-manifest.js +1 -1
  118. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/page.js.nft.json +1 -1
  119. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/page_client-reference-manifest.js +1 -1
  120. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/storage/page.js.nft.json +1 -1
  121. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/sse/storage/page_client-reference-manifest.js +1 -1
  122. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/unified-events/page.js.nft.json +1 -1
  123. package/standalone/.next/server/app/[locale]/(dashboard)/debugging/unified-events/page_client-reference-manifest.js +1 -1
  124. package/standalone/.next/server/app/[locale]/(dashboard)/github/actions/page.js.nft.json +1 -1
  125. package/standalone/.next/server/app/[locale]/(dashboard)/github/actions/page_client-reference-manifest.js +1 -1
  126. package/standalone/.next/server/app/[locale]/(dashboard)/github/actions-cache/page.js.nft.json +1 -1
  127. package/standalone/.next/server/app/[locale]/(dashboard)/github/actions-cache/page_client-reference-manifest.js +1 -1
  128. package/standalone/.next/server/app/[locale]/(dashboard)/github/cache/entries/[id]/page.js.nft.json +1 -1
  129. package/standalone/.next/server/app/[locale]/(dashboard)/github/cache/entries/[id]/page_client-reference-manifest.js +1 -1
  130. package/standalone/.next/server/app/[locale]/(dashboard)/github/cache/page.js.nft.json +1 -1
  131. package/standalone/.next/server/app/[locale]/(dashboard)/github/cache/page_client-reference-manifest.js +1 -1
  132. package/standalone/.next/server/app/[locale]/(dashboard)/github/comments/page.js.nft.json +1 -1
  133. package/standalone/.next/server/app/[locale]/(dashboard)/github/comments/page_client-reference-manifest.js +1 -1
  134. package/standalone/.next/server/app/[locale]/(dashboard)/github/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  135. package/standalone/.next/server/app/[locale]/(dashboard)/github/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  136. package/standalone/.next/server/app/[locale]/(dashboard)/github/pull-requests/page.js.nft.json +1 -1
  137. package/standalone/.next/server/app/[locale]/(dashboard)/github/pull-requests/page_client-reference-manifest.js +1 -1
  138. package/standalone/.next/server/app/[locale]/(dashboard)/github/webhooks/page.js.nft.json +1 -1
  139. package/standalone/.next/server/app/[locale]/(dashboard)/github/webhooks/page_client-reference-manifest.js +1 -1
  140. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/cache/page.js.nft.json +1 -1
  141. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/cache/page_client-reference-manifest.js +1 -1
  142. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/comments/page.js.nft.json +1 -1
  143. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/comments/page_client-reference-manifest.js +1 -1
  144. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/merge-requests/[projectId]/[iid]/page.js.nft.json +1 -1
  145. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/merge-requests/[projectId]/[iid]/page_client-reference-manifest.js +1 -1
  146. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/merge-requests/page.js.nft.json +1 -1
  147. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/merge-requests/page_client-reference-manifest.js +1 -1
  148. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/pipelines/page.js.nft.json +1 -1
  149. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/pipelines/page_client-reference-manifest.js +1 -1
  150. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/webhooks/page.js.nft.json +1 -1
  151. package/standalone/.next/server/app/[locale]/(dashboard)/gitlab/webhooks/page_client-reference-manifest.js +1 -1
  152. package/standalone/.next/server/app/[locale]/(dashboard)/jira/cache/page.js.nft.json +1 -1
  153. package/standalone/.next/server/app/[locale]/(dashboard)/jira/cache/page_client-reference-manifest.js +1 -1
  154. package/standalone/.next/server/app/[locale]/(dashboard)/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
  155. package/standalone/.next/server/app/[locale]/(dashboard)/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  156. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  157. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  158. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page.js.nft.json +1 -1
  159. package/standalone/.next/server/app/[locale]/(dashboard)/jira/tickets/page_client-reference-manifest.js +1 -1
  160. package/standalone/.next/server/app/[locale]/(dashboard)/jira/webhooks/page.js.nft.json +1 -1
  161. package/standalone/.next/server/app/[locale]/(dashboard)/jira/webhooks/page_client-reference-manifest.js +1 -1
  162. package/standalone/.next/server/app/[locale]/(dashboard)/system/api-keys/page.js.nft.json +1 -1
  163. package/standalone/.next/server/app/[locale]/(dashboard)/system/api-keys/page_client-reference-manifest.js +1 -1
  164. package/standalone/.next/server/app/[locale]/(dashboard)/system/build-data/page.js.nft.json +1 -1
  165. package/standalone/.next/server/app/[locale]/(dashboard)/system/build-data/page_client-reference-manifest.js +1 -1
  166. package/standalone/.next/server/app/[locale]/(dashboard)/system/connected-applications/page.js.nft.json +1 -1
  167. package/standalone/.next/server/app/[locale]/(dashboard)/system/connected-applications/page_client-reference-manifest.js +1 -1
  168. package/standalone/.next/server/app/[locale]/(dashboard)/system/credentials/page.js.nft.json +1 -1
  169. package/standalone/.next/server/app/[locale]/(dashboard)/system/credentials/page_client-reference-manifest.js +1 -1
  170. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/[id]/page.js.nft.json +1 -1
  171. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/[id]/page_client-reference-manifest.js +1 -1
  172. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/enroll/page.js.nft.json +1 -1
  173. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/enroll/page_client-reference-manifest.js +1 -1
  174. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/page.js.nft.json +1 -1
  175. package/standalone/.next/server/app/[locale]/(dashboard)/system/devices/page_client-reference-manifest.js +1 -1
  176. package/standalone/.next/server/app/[locale]/(dashboard)/system/polling/page.js.nft.json +1 -1
  177. package/standalone/.next/server/app/[locale]/(dashboard)/system/polling/page_client-reference-manifest.js +1 -1
  178. package/standalone/.next/server/app/[locale]/(dashboard)/system/prepare/page.js.nft.json +1 -1
  179. package/standalone/.next/server/app/[locale]/(dashboard)/system/prepare/page_client-reference-manifest.js +1 -1
  180. package/standalone/.next/server/app/[locale]/(dashboard)/system/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  181. package/standalone/.next/server/app/[locale]/(dashboard)/system/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  182. package/standalone/.next/server/app/[locale]/(dashboard)/system/provisioning-profiles/page.js.nft.json +1 -1
  183. package/standalone/.next/server/app/[locale]/(dashboard)/system/provisioning-profiles/page_client-reference-manifest.js +1 -1
  184. package/standalone/.next/server/app/[locale]/(dashboard)/system/settings/page.js.nft.json +1 -1
  185. package/standalone/.next/server/app/[locale]/(dashboard)/system/settings/page_client-reference-manifest.js +1 -1
  186. package/standalone/.next/server/app/[locale]/(dashboard)/system/status/page.js.nft.json +1 -1
  187. package/standalone/.next/server/app/[locale]/(dashboard)/system/status/page_client-reference-manifest.js +1 -1
  188. package/standalone/.next/server/app/[locale]/(dashboard)/system/tailscale/page.js.nft.json +1 -1
  189. package/standalone/.next/server/app/[locale]/(dashboard)/system/tailscale/page_client-reference-manifest.js +1 -1
  190. package/standalone/.next/server/app/[locale]/(dashboard)/system/tools/page.js.nft.json +1 -1
  191. package/standalone/.next/server/app/[locale]/(dashboard)/system/tools/page_client-reference-manifest.js +1 -1
  192. package/standalone/.next/server/app/[locale]/(dashboard)/system/users/page.js.nft.json +1 -1
  193. package/standalone/.next/server/app/[locale]/(dashboard)/system/users/page_client-reference-manifest.js +1 -1
  194. package/standalone/.next/server/app/[locale]/(mcp)/mcp/consent/page.js.nft.json +1 -1
  195. package/standalone/.next/server/app/[locale]/(mcp)/mcp/consent/page_client-reference-manifest.js +1 -1
  196. package/standalone/.next/server/app/[locale]/(mcp)/mcp/sign-in/page.js.nft.json +1 -1
  197. package/standalone/.next/server/app/[locale]/(mcp)/mcp/sign-in/page_client-reference-manifest.js +1 -1
  198. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  199. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  200. package/standalone/.next/server/app/_global-error.html +1 -1
  201. package/standalone/.next/server/app/_global-error.rsc +1 -1
  202. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  203. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  204. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  205. package/standalone/.next/server/app/_not-found.html +1 -1
  206. package/standalone/.next/server/app/_not-found.rsc +1 -1
  207. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  208. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  209. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  210. package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/complete/route.js.nft.json +1 -1
  211. package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/download/route.js.nft.json +1 -1
  212. package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/route.js.nft.json +1 -1
  213. package/standalone/.next/server/app/api/agent/build-artifact-transfers/[transferId]/upload/route.js.nft.json +1 -1
  214. package/standalone/.next/server/app/api/agent/dsyms/[dsymId]/dwarf/route.js.nft.json +1 -1
  215. package/standalone/.next/server/app/api/agent/run-attachments/[attachmentId]/route.js.nft.json +1 -1
  216. package/standalone/.next/server/app/api/auth/[...all]/route.js.nft.json +1 -1
  217. package/standalone/.next/server/app/api/auth/config/route.js.nft.json +1 -1
  218. package/standalone/.next/server/app/api/auth/management/api-keys/[keyId]/route.js.nft.json +1 -1
  219. package/standalone/.next/server/app/api/auth/management/api-keys/route.js.nft.json +1 -1
  220. package/standalone/.next/server/app/api/auth/management/registration/route.js.nft.json +1 -1
  221. package/standalone/.next/server/app/api/auth/management/sessions/[sessionId]/route.js.nft.json +1 -1
  222. package/standalone/.next/server/app/api/auth/management/users/[userId]/route.js.nft.json +1 -1
  223. package/standalone/.next/server/app/api/auth/management/users/route.js.nft.json +1 -1
  224. package/standalone/.next/server/app/api/auth/mcp-connections/route.js.nft.json +1 -1
  225. package/standalone/.next/server/app/api/auth/mobile/complete/route/app-paths-manifest.json +3 -0
  226. package/standalone/.next/server/app/api/auth/mobile/complete/route/build-manifest.json +12 -0
  227. package/standalone/.next/server/app/api/auth/mobile/complete/route/server-reference-manifest.json +4 -0
  228. package/standalone/.next/server/app/api/auth/mobile/complete/route.js +27 -0
  229. package/standalone/.next/server/app/api/auth/mobile/complete/route.js.map +5 -0
  230. package/standalone/.next/server/app/api/auth/mobile/complete/route.js.nft.json +1 -0
  231. package/standalone/.next/server/app/api/auth/mobile/complete/route_client-reference-manifest.js +3 -0
  232. package/standalone/.next/server/app/api/auth/mobile/oauth/complete/route.js +7 -7
  233. package/standalone/.next/server/app/api/auth/mobile/oauth/complete/route.js.nft.json +1 -1
  234. package/standalone/.next/server/app/api/auth/mobile/oauth/start/route.js +7 -7
  235. package/standalone/.next/server/app/api/auth/mobile/oauth/start/route.js.nft.json +1 -1
  236. package/standalone/.next/server/app/api/auth/mobile/redeem/route.js +8 -8
  237. package/standalone/.next/server/app/api/auth/mobile/redeem/route.js.nft.json +1 -1
  238. package/standalone/.next/server/app/api/auth/mobile/start/route/app-paths-manifest.json +3 -0
  239. package/standalone/.next/server/app/api/auth/mobile/start/route/build-manifest.json +12 -0
  240. package/standalone/.next/server/app/api/auth/mobile/start/route/server-reference-manifest.json +4 -0
  241. package/standalone/.next/server/app/api/auth/mobile/start/route.js +27 -0
  242. package/standalone/.next/server/app/api/auth/mobile/start/route.js.map +5 -0
  243. package/standalone/.next/server/app/api/auth/mobile/start/route.js.nft.json +1 -0
  244. package/standalone/.next/server/app/api/auth/mobile/start/route_client-reference-manifest.js +3 -0
  245. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  246. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  247. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  248. package/standalone/.next/server/app/api/crash-files/dsyms/[dsymId]/route.js.nft.json +1 -1
  249. package/standalone/.next/server/app/api/crash-files/reports/[crashId]/route.js.nft.json +1 -1
  250. package/standalone/.next/server/app/api/dsyms/route.js.nft.json +1 -1
  251. package/standalone/.next/server/app/api/dsyms/uploads/[uploadId]/complete/route.js.nft.json +1 -1
  252. package/standalone/.next/server/app/api/dsyms/uploads/[uploadId]/route.js.nft.json +1 -1
  253. package/standalone/.next/server/app/api/dsyms/uploads/route.js.nft.json +1 -1
  254. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  255. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  256. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  257. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  258. package/standalone/.next/server/app/api/ios/notification-devices/route.js.nft.json +1 -1
  259. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  260. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  261. package/standalone/.next/server/app/api/public/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  262. package/standalone/.next/server/app/api/public/crashes/route.js.nft.json +1 -1
  263. package/standalone/.next/server/app/api/public/github/webhook/route.js.nft.json +1 -1
  264. package/standalone/.next/server/app/api/public/gitlab/webhook/route.js.nft.json +1 -1
  265. package/standalone/.next/server/app/api/public/ios/enrollment-profile/route.js.nft.json +1 -1
  266. package/standalone/.next/server/app/api/public/ios/profile-response/route.js.nft.json +1 -1
  267. package/standalone/.next/server/app/api/public/jira/webhook/route.js.nft.json +1 -1
  268. package/standalone/.next/server/app/api/public/sse/[token]/route.js.nft.json +1 -1
  269. package/standalone/.next/server/app/api/run-attachments/[attachmentId]/route.js.nft.json +1 -1
  270. package/standalone/.next/server/app/api/run-attachments/route.js.nft.json +1 -1
  271. package/standalone/.next/server/app/api/sse/history/export/route.js.nft.json +1 -1
  272. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  273. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  274. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  275. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  276. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  277. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  278. package/standalone/.next/server/app-paths-manifest.json +2 -0
  279. package/standalone/.next/server/chunks/[root-of-the-server]__08_7puebrvq1u._.js +3 -0
  280. package/standalone/.next/server/chunks/[root-of-the-server]__0q53u1lz9zcel._.js +3 -0
  281. package/standalone/.next/server/chunks/[root-of-the-server]__0w_fiath2ph0r._.js +3 -0
  282. package/standalone/.next/server/chunks/{[root-of-the-server]__0ju8rf-41j6tg._.js → [root-of-the-server]__0wklpoczsamtz._.js} +1 -1
  283. package/standalone/.next/server/chunks/[root-of-the-server]__1p6yaef-nnj9f._.js +3 -0
  284. package/standalone/.next/server/chunks/[root-of-the-server]__1yi2awtahh06l._.js +3 -0
  285. package/standalone/.next/server/chunks/_00gwh-xp3pnpi._.js +1 -1
  286. package/standalone/.next/server/chunks/_01xn06357g7fo._.js +1 -1
  287. package/standalone/.next/server/chunks/_02howx6vajt3x._.js +1 -1
  288. package/standalone/.next/server/chunks/_07bdynyr-ww6v._.js +1 -1
  289. package/standalone/.next/server/chunks/_0_6e6kxry26k1._.js +1 -1
  290. package/standalone/.next/server/chunks/_0a8wo5-9_cv91._.js +1 -1
  291. package/standalone/.next/server/chunks/_0c6k8a0d2f3tn._.js +3 -0
  292. package/standalone/.next/server/chunks/_0gaxgdz7o4e15._.js +1 -1
  293. package/standalone/.next/server/chunks/_0m2wnzdzbny6g._.js +1 -1
  294. package/standalone/.next/server/chunks/_0naxf7ngn48-a._.js +1 -1
  295. package/standalone/.next/server/chunks/_0vlhouch-s4pc._.js +1 -1
  296. package/standalone/.next/server/chunks/_0yuq4ngrjch9x._.js +12 -12
  297. package/standalone/.next/server/chunks/_13lj4necdms38._.js +3 -0
  298. package/standalone/.next/server/chunks/_15xfyrp3ns4se._.js +1 -1
  299. package/standalone/.next/server/chunks/_1cexgfaro_78_._.js +1 -1
  300. package/standalone/.next/server/chunks/_1ftldg0qwxhfp._.js +12 -12
  301. package/standalone/.next/server/chunks/_1rfrstxzen60k._.js +12 -12
  302. package/standalone/.next/server/chunks/_1x3jv-sohpxg7._.js +12 -12
  303. package/standalone/.next/server/chunks/_1yawotm_tvy7h._.js +12 -12
  304. package/standalone/.next/server/chunks/_next-internal_server_app_api_auth_mobile_complete_route_actions_1iv1ncqhts5t2.js +3 -0
  305. package/standalone/.next/server/chunks/_next-internal_server_app_api_auth_mobile_start_route_actions_1n1uwu0lm0vgh.js +3 -0
  306. package/standalone/.next/server/chunks/src_app_api_auth_mobile_pkce_ts_0yvx0rhy5xij_._.js +3 -0
  307. package/standalone/.next/server/chunks/src_services_auth_054qv1_ze5hs6._.js +1 -1
  308. package/standalone/.next/server/chunks/src_services_auth_mcp-oauth_ts_0u9lgdhxzq5oy._.js +1 -1
  309. package/standalone/.next/server/chunks/ssr/{_0i3_5985sl3t6._.js → _0i28drefwqlu4._.js} +1 -1
  310. package/standalone/.next/server/chunks/ssr/{_20vs1czk-ajfp._.js → _0xvm24-eb9_vn._.js} +1 -1
  311. package/standalone/.next/server/chunks/ssr/{node_modules_@xterm_1gr72n7t9__g9._.js → node_modules_@xterm_15gm8vmx8nfth._.js} +1 -1
  312. package/standalone/.next/server/chunks/ssr/src_components_app-shell_tsx_0e1q-gvlrd7c8._.js +10 -10
  313. package/standalone/.next/server/chunks/ssr/src_components_auth_auth-form_tsx_1qbcqfp1650nl._.js +1 -1
  314. package/standalone/.next/server/chunks/ssr/src_services_auth_auth_ts_1zu3fo64zql9-._.js +2 -2
  315. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  316. package/standalone/.next/server/pages/404.html +1 -1
  317. package/standalone/.next/server/pages/500.html +1 -1
  318. package/standalone/.next/server/preview-props.json +3 -3
  319. package/standalone/.next/server/server-reference-manifest.js +1 -1
  320. package/standalone/.next/server/server-reference-manifest.json +1 -1
  321. package/standalone/.next/static/chunks/{2aosjxs--k-i6.js → 07vm24tcai0yl.js} +10 -10
  322. package/standalone/.next/static/chunks/27ctd15f1bo-u.js +1 -0
  323. package/standalone/.next/static/chunks/{0nyv6hb43lli8.css → 2mh1ywtaqbgzw.css} +1 -1
  324. package/standalone/.next/server/chunks/[root-of-the-server]__0mh8vw5y7dcse._.js +0 -3
  325. package/standalone/.next/server/chunks/[root-of-the-server]__0sz_ys90gtn-r._.js +0 -3
  326. package/standalone/.next/server/chunks/[root-of-the-server]__1wa8r7gv5fbny._.js +0 -3
  327. package/standalone/.next/static/chunks/2qfttxgi_zspw.js +0 -1
  328. /package/standalone/.next/static/{dabvyPp7MJv8L1G5zvDel → gBLSSraJl0DtgK3pbYety}/_buildManifest.js +0 -0
  329. /package/standalone/.next/static/{dabvyPp7MJv8L1G5zvDel → gBLSSraJl0DtgK3pbYety}/_clientMiddlewareManifest.js +0 -0
  330. /package/standalone/.next/static/{dabvyPp7MJv8L1G5zvDel → gBLSSraJl0DtgK3pbYety}/_ssgManifest.js +0 -0
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
7
7
  "static/chunks/0cz1d0mv5g_q7.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/dabvyPp7MJv8L1G5zvDel/_buildManifest.js",
11
- "static/dabvyPp7MJv8L1G5zvDel/_ssgManifest.js",
12
- "static/dabvyPp7MJv8L1G5zvDel/_clientMiddlewareManifest.js"
10
+ "static/gBLSSraJl0DtgK3pbYety/_buildManifest.js",
11
+ "static/gBLSSraJl0DtgK3pbYety/_ssgManifest.js",
12
+ "static/gBLSSraJl0DtgK3pbYety/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/0t15rygmtqsmx.js",
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0t15rygmtqsmx.js"/><script src="/_next/static/chunks/36mkcwp773xj-.js" async=""></script><script src="/_next/static/chunks/3ub669re6snc5.js" async=""></script><script src="/_next/static/chunks/turbopack-077hmtqrhcoji.js" async=""></script><script src="/_next/static/chunks/2e7hyycc13-hk.js" async=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/0t15rygmtqsmx.js","static/chunks/36mkcwp773xj-.js","static/chunks/3ub669re6snc5.js"],"runtimeModuleIds":[494553]});</script><script src="/_next/static/chunks/0t15rygmtqsmx.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2e7hyycc13-hk.js\"\n3:I[339756,[\"$2\"],\"default\"]\n4:I[837457,[\"$2\"],\"default\"]\n8:I[897367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[897367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[897367,[\"$2\"],\"$e\"]\n11:I[168027,[\"$2\"],\"default\",1]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2e7hyycc13-hk.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"dabvyPp7MJv8L1G5zvDel\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n12:I[154500,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.2eq-kzgm9x62k.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L12\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0t15rygmtqsmx.js"/><script src="/_next/static/chunks/36mkcwp773xj-.js" async=""></script><script src="/_next/static/chunks/3ub669re6snc5.js" async=""></script><script src="/_next/static/chunks/turbopack-077hmtqrhcoji.js" async=""></script><script src="/_next/static/chunks/2e7hyycc13-hk.js" async=""></script><meta name="robots" content="noindex"/><link rel="icon" href="/icon.svg?icon.2eq-kzgm9x62k.svg" sizes="any" type="image/svg+xml"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/0t15rygmtqsmx.js","static/chunks/36mkcwp773xj-.js","static/chunks/3ub669re6snc5.js"],"runtimeModuleIds":[494553]});</script><script src="/_next/static/chunks/0t15rygmtqsmx.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2e7hyycc13-hk.js\"\n3:I[339756,[\"$2\"],\"default\"]\n4:I[837457,[\"$2\"],\"default\"]\n8:I[897367,[\"$2\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:\"ViewportBoundary\"\nc:I[897367,[\"$2\"],\"$b\"]\ne:\"MetadataBoundary\"\nf:I[897367,[\"$2\"],\"$e\"]\n11:I[168027,[\"$2\"],\"default\",1]\n6:X\n7:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],\"p\":false,\"v\":null}}]]\n5:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$6\"},\"c\":\"$Q7\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2e7hyycc13-hk.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q5\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Lc\",null,{\"children\":\"$Ld\"}],[\"$\",\"$Lf\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L10\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$11\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"gBLSSraJl0DtgK3pbYety\"}\n6:C\nd:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n12:I[154500,[\"$2\"],\"IconMark\"]\na:null\n10:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/icon.svg?icon.2eq-kzgm9x62k.svg\",\"sizes\":\"any\",\"type\":\"image/svg+xml\"}],[\"$\",\"$L12\",\"1\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0t15rygmtqsmx.js"/><script src="/_next/static/chunks/36mkcwp773xj-.js" async=""></script><script src="/_next/static/chunks/3ub669re6snc5.js" async=""></script><script src="/_next/static/chunks/turbopack-077hmtqrhcoji.js" async=""></script><script src="/_next/static/chunks/2e7hyycc13-hk.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/0t15rygmtqsmx.js","static/chunks/36mkcwp773xj-.js","static/chunks/3ub669re6snc5.js"],"runtimeModuleIds":[494553]});</script><script src="/_next/static/chunks/0t15rygmtqsmx.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2e7hyycc13-hk.js\"\n3:I[339756,[\"$2\"],\"default\"]\n4:I[837457,[\"$2\"],\"default\"]\n7:I[897367,[\"$2\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:\"ViewportBoundary\"\nb:I[897367,[\"$2\"],\"$a\"]\nd:\"MetadataBoundary\"\ne:I[897367,[\"$2\"],\"$d\"]\n10:I[168027,[\"$2\"],\"default\",1]\n5:X\n6:[[\"children\",{\"s\":\"__PAGE__\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],\"p\":false,\"v\":null}}]]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$5\"},\"c\":\"$Q6\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"$Le\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"dabvyPp7MJv8L1G5zvDel\"}\n5:C\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\nf:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/0t15rygmtqsmx.js"/><script src="/_next/static/chunks/36mkcwp773xj-.js" async=""></script><script src="/_next/static/chunks/3ub669re6snc5.js" async=""></script><script src="/_next/static/chunks/turbopack-077hmtqrhcoji.js" async=""></script><script src="/_next/static/chunks/2e7hyycc13-hk.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/0t15rygmtqsmx.js","static/chunks/36mkcwp773xj-.js","static/chunks/3ub669re6snc5.js"],"runtimeModuleIds":[494553]});</script><script src="/_next/static/chunks/0t15rygmtqsmx.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/2e7hyycc13-hk.js\"\n3:I[339756,[\"$2\"],\"default\"]\n4:I[837457,[\"$2\"],\"default\"]\n7:I[897367,[\"$2\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:\"ViewportBoundary\"\nb:I[897367,[\"$2\"],\"$a\"]\nd:\"MetadataBoundary\"\ne:I[897367,[\"$2\"],\"$d\"]\n10:I[168027,[\"$2\"],\"default\",1]\n5:X\n6:[[\"children\",{\"s\":\"__PAGE__\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],\"p\":false,\"v\":null}}]]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$5\"},\"c\":\"$Q6\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"$Le\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"gBLSSraJl0DtgK3pbYety\"}\n5:C\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\nf:[]\n"])</script></body></html>
@@ -1,5 +1,5 @@
1
1
  {
2
- "previewModeId": "eba8499adfa09027adf999702e575062",
3
- "previewModeSigningKey": "9b7f4ca021d90eac4b2d86d25200caef5eaaf9067a1b81abb0b7930e17606f3a",
4
- "previewModeEncryptionKey": "dd0e30157cf90f6f4e0eaddc65f428aba73020b2e25595a6735516894069ded5"
2
+ "previewModeId": "91a6331a6e02ef30bd8e8371131ef791",
3
+ "previewModeSigningKey": "08f10c0638e8850d8edb3e3b852c65c1f84c06d7397280284046fa85ce021273",
4
+ "previewModeEncryptionKey": "41f27d35313d22e4339e2e28ee4669a4b3372b930b5308e18f5c923ad321fef1"
5
5
  }
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"2BlZelGDHSTrgeNqRjRSQ57Laaj7EeWGhA3N1qvPW0E=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"zYZhMF0RYHvheqvV0eusDnoIz5uv0gOhAUrfTtjh32U=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "2BlZelGDHSTrgeNqRjRSQ57Laaj7EeWGhA3N1qvPW0E="
4
+ "encryptionKey": "zYZhMF0RYHvheqvV0eusDnoIz5uv0gOhAUrfTtjh32U="
5
5
  }
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,763141,e=>{"use strict";var s=e.i(843476),a=e.i(183152),i=e.i(271645),t=e.i(42693),r=e.i(456420);let n={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};n.node;let l=(0,r.f)(n);var o=e.i(871091);let d={name:"panel-right",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]};d.node;let c=(0,r.f)(d);var u=e.i(263676),h=e.i(861745),f=e.i(948148),b=e.i(116261),m=e.i(55677),g=e.i(269846),p=e.i(113030),x=e.i(634398),y=e.i(835079),v=e.i(120283),k=e.i(93384),w=e.i(936269),j=e.i(621190),N=e.i(966473),S=e.i(604139),C=e.i(932333);let E={name:"circle-dollar-sign",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]};E.node;let $=(0,r.f)(E);var K=e.i(482022),R=e.i(475225),L=e.i(509694),T=e.i(785183),I=e.i(519455),A=e.i(337822),D=e.i(337886),z=e.i(987968),M=e.i(520133),O=e.i(637611),q=e.i(360583),P=e.i(944887);function _({totalCost:e,onNavigate:a}){let t=(0,f.f)("usage"),r=(0,f.f)("diskSpace"),n=(0,h.X)(),[l,o]=(0,i.useState)(!1),[d,c]=(0,i.useState)(null),[u,b]=(0,i.useState)(!1),[m,g]=(0,i.useState)(null),p=(0,i.useRef)(null),x=new Intl.NumberFormat(n,{style:"currency",currency:"USD"});(0,i.useEffect)(()=>{if(!l)return;let e=(0,P.f)(async e=>{b(!0),g(null);try{let s=await (0,O.W)("query SidebarUsageHistory { sidebarUsageHistory { days { period totalCost } hasUsage collectedAt } }",void 0,{signal:e});e.aborted||c(s.sidebarUsageHistory)}catch(s){e.aborted||g(s instanceof Error?s.message:String(s))}finally{e.aborted||b(!1)}});p.current=e;let s=window.setTimeout(()=>void e.refresh(),0),a=window.setInterval(()=>void e.refreshIfIdle(),6e4),i=(0,O.p)().subscribe({query:"subscription SidebarUsageChanged { sidebarStatusChanged }"},{next:()=>void e.refresh(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(s),window.clearInterval(a),e.dispose(),p.current===e&&(p.current=null),i()}},[l]);let y=e=>(0,q.l)(`${e}T00:00:00Z`,"short",{locale:n,utc:!0,showTime:!1});return(0,s.jsxs)(A.V,{open:l,onOpenChange:o,children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between rounded-md px-2 py-1.5 text-xs hover:bg-sidebar-accent",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)($,{className:"size-3.5"}),r("usageToday")]}),(0,s.jsx)("span",{className:"font-medium tabular-nums",children:null==e?"—":x.format(e)})]})}),(0,s.jsxs)(A.T,{side:"right",align:"end",className:"w-[min(24rem,calc(100vw-2rem))] gap-3",children:[(0,s.jsx)(A.S,{children:(0,s.jsx)(A.q,{children:t("sidebarTitle")})}),(0,s.jsxs)("p",{className:"text-sm",children:[t("sidebarToday"),":"," ",(0,s.jsx)("strong",{children:null==e?"—":x.format(e)})]}),(0,s.jsxs)("p",{className:"text-sm",children:[t("sidebarLast7Days"),":"," ",(0,s.jsx)("strong",{children:d?x.format(d.days.reduce((e,s)=>e+s.totalCost,0)):"—"})]}),u&&!d&&(0,s.jsxs)("p",{role:"status",className:"flex items-center gap-2 text-sm",children:[(0,s.jsx)(z.f,{}),t("sidebarLoading")]}),m&&(0,s.jsxs)("div",{role:"alert",className:"space-y-2 text-sm",children:[(0,s.jsx)("p",{children:m}),(0,s.jsx)(I.K,{size:"sm",variant:"outline",onClick:()=>void p.current?.refresh(),children:t("sidebarRetry")})]}),d&&(d.hasUsage?(0,s.jsx)(D.T,{className:"h-36 w-full",config:{totalCost:{label:t("cost"),color:"var(--chart-1)"}},children:(0,s.jsxs)(L.f,{accessibilityLayer:!0,data:d.days,children:[(0,s.jsx)(T.f,{dataKey:"period",tickLine:!1,axisLine:!1,tickFormatter:e=>y(String(e)),minTickGap:16,fontSize:10}),(0,s.jsx)(D.f,{content:(0,s.jsx)(D.m,{indicator:"dot",labelFormatter:e=>y(String(e)),formatter:e=>x.format(Number(e))})}),(0,s.jsx)(R.e,{dataKey:"totalCost",fill:"var(--color-totalCost)",radius:[3,3,0,0]})]})}):(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:t("sidebarEmpty")})),d?.collectedAt&&(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:t("sidebarCollectedAt",{date:(0,q.l)(d.collectedAt,"short",{locale:n})})}),(0,s.jsx)(I.K,{asChild:!0,size:"sm",variant:"outline",children:(0,s.jsxs)(M.L,{href:"/ai/usage",onClick:()=>{o(!1),a()},children:[t("viewFullUsage"),(0,s.jsx)(K.f,{})]})})]})]})}var U=e.i(487486),W=e.i(225913),B=e.i(752738),G=e.i(873194),V=e.i(975157);e.i(793479),e.i(772436);var H=e.i(980376);e.i(302747);var F=e.i(746798);e.i(221229);let X=i.createContext(null);function J(){let e=i.useContext(X);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function Q({defaultOpen:e=!0,open:a,onOpenChange:t,cookieName:r="sidebar_state",keyboardShortcut:n="b",className:l,style:o,children:d,...c}){let u=(0,G.f)(),[h,f]=i.useState(!1),[b,m]=i.useState(e),g=a??b,p=i.useCallback(e=>{let s="function"==typeof e?e(g):e;t?t(s):m(s),document.cookie=`${r}=${s}; path=/; max-age=604800`},[r,t,g]),x=i.useCallback(()=>u?f(e=>!e):p(e=>!e),[u,p,f]);i.useEffect(()=>{if(null===n)return;let e=e=>{e.key.toLowerCase()===n.toLowerCase()&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),x())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[n,x]);let y=g?"expanded":"collapsed",v=i.useMemo(()=>({state:y,open:g,setOpen:p,isMobile:u,openMobile:h,setOpenMobile:f,toggleSidebar:x}),[y,g,p,u,h,f,x]);return(0,s.jsx)(X.Provider,{value:v,children:(0,s.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:(0,V.f)("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",l),...c,children:d})})}function Y({side:e="left",variant:a="sidebar",collapsible:i="offcanvas",mobileTitle:t="Sidebar",mobileDescription:r="Displays the mobile sidebar.",className:n,children:l,dir:o,...d}){let{isMobile:c,state:u,openMobile:h,setOpenMobile:f}=J();return"none"===i?(0,s.jsx)("div",{"data-slot":"sidebar",className:(0,V.f)("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",n),...d,children:l}):c?(0,s.jsx)(H.j,{open:h,onOpenChange:f,...d,children:(0,s.jsxs)(H.U,{dir:o,"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:e,children:[(0,s.jsxs)(H.D,{className:"sr-only",children:[(0,s.jsx)(H.L,{children:t}),(0,s.jsx)(H.c,{children:r})]}),(0,s.jsx)("div",{className:"flex h-full w-full flex-col",children:l})]})}):(0,s.jsxs)("div",{className:"group peer hidden text-sidebar-foreground md:block","data-state":u,"data-collapsible":"collapsed"===u?i:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[(0,s.jsx)("div",{"data-slot":"sidebar-gap",className:(0,V.f)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===a||"inset"===a?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,s.jsx)("div",{"data-slot":"sidebar-container","data-side":e,className:(0,V.f)("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex","floating"===a||"inset"===a?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...d,children:(0,s.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",children:l})})]})}function Z({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,V.f)("flex flex-col gap-2 p-2",e),...a})}function ee({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,V.f)("flex flex-col gap-2 p-2",e),...a})}function es({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,V.f)("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...a})}function ea({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,V.f)("relative flex w-full min-w-0 flex-col p-2",e),...a})}function ei({className:e,asChild:a=!1,...i}){let t=a?B.f.Root:"div";return(0,s.jsx)(t,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,V.f)("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",e),...i})}function et({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,V.f)("w-full text-sm",e),...a})}function er({className:e,...a}){return(0,s.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,V.f)("flex w-full min-w-0 flex-col gap-0",e),...a})}function en({className:e,...a}){return(0,s.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,V.f)("group/menu-item relative",e),...a})}let el=(0,W.f)("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function eo({asChild:e=!1,isActive:a=!1,variant:i="default",size:t="default",tooltip:r,className:n,...l}){let o=e?B.f.Root:"button",{isMobile:d,state:c}=J(),u=(0,s.jsx)(o,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:(0,V.f)(el({variant:i,size:t}),n),...l});return r?("string"==typeof r&&(r={children:r}),(0,s.jsxs)(F.Tooltip,{children:[(0,s.jsx)(F.TooltipTrigger,{asChild:!0,children:u}),(0,s.jsx)(F.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==c||d,...r})]})):u}var ed=e.i(539494),ec=e.i(261751);let eu={CRITICAL:8,ERROR:7,DELETING:6,CLEANUP_REQUIRED:5,PRESSURE:4,STALE:3,DISABLED:2,IDLE:1},eh="border-amber-500/30 bg-amber-500/10 text-amber-700 hover:bg-amber-500/20 hover:text-amber-700 dark:border-amber-500/30 dark:bg-amber-500/10 dark:text-amber-300 dark:hover:bg-amber-500/20 dark:hover:text-amber-300";function ef(){let e=(0,f.f)("diskSpace"),t=(0,f.f)("shell"),r=(0,h.X)(),n=(0,b.m)(),{isMobile:l,setOpenMobile:o}=J(),[d,c]=(0,i.useState)(null),[u,E]=(0,i.useState)(null),[$,K]=(0,i.useState)([]),[R,L]=(0,i.useState)(null),[T,D]=(0,i.useState)(!1),[q,W]=(0,i.useState)(null),B=(0,i.useRef)(null),G=(0,i.useRef)(null),V=(0,i.useCallback)(async()=>{await G.current?.refresh()},[]);(0,i.useEffect)(()=>{let e=(0,P.f)(async e=>{try{let s=await (0,O.W)(`query SidebarStatus {
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,763141,e=>{"use strict";var s=e.i(843476),a=e.i(183152),i=e.i(271645),t=e.i(42693),r=e.i(456420);let n={name:"log-out",size:24,node:[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]};n.node;let l=(0,r.f)(n);var o=e.i(871091);let d={name:"panel-right",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}]]};d.node;let c=(0,r.f)(d);var u=e.i(263676),h=e.i(861745),f=e.i(948148),b=e.i(116261),m=e.i(55677),g=e.i(269846),p=e.i(113030),x=e.i(634398),y=e.i(835079),v=e.i(120283),w=e.i(93384),k=e.i(936269),j=e.i(621190),N=e.i(966473),S=e.i(604139),C=e.i(932333);let E={name:"circle-dollar-sign",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]};E.node;let $=(0,r.f)(E);var K=e.i(482022),R=e.i(475225),L=e.i(509694),T=e.i(785183),I=e.i(519455),A=e.i(337822),D=e.i(337886),z=e.i(987968),M=e.i(873194),O=e.i(520133),q=e.i(637611),P=e.i(360583),_=e.i(944887);function U({totalCost:e,onNavigate:a}){let t=(0,f.f)("usage"),r=(0,f.f)("diskSpace"),n=(0,h.X)(),l=(0,M.f)(),[o,d]=(0,i.useState)(!1),[c,u]=(0,i.useState)(null),[b,m]=(0,i.useState)(!1),[g,p]=(0,i.useState)(null),x=(0,i.useRef)(null),y=new Intl.NumberFormat(n,{style:"currency",currency:"USD"});(0,i.useEffect)(()=>{if(!o)return;let e=(0,_.f)(async e=>{m(!0),p(null);try{let s=await (0,q.W)("query SidebarUsageHistory { sidebarUsageHistory { days { period totalCost } hasUsage collectedAt } }",void 0,{signal:e});e.aborted||u(s.sidebarUsageHistory)}catch(s){e.aborted||p(s instanceof Error?s.message:String(s))}finally{e.aborted||m(!1)}});x.current=e;let s=window.setTimeout(()=>void e.refresh(),0),a=window.setInterval(()=>void e.refreshIfIdle(),6e4),i=(0,q.p)().subscribe({query:"subscription SidebarUsageChanged { sidebarStatusChanged }"},{next:()=>void e.refresh(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(s),window.clearInterval(a),e.dispose(),x.current===e&&(x.current=null),i()}},[o]);let v=e=>(0,P.l)(`${e}T00:00:00Z`,"short",{locale:n,utc:!0,showTime:!1});return(0,s.jsxs)(A.V,{open:o,onOpenChange:d,children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between rounded-md px-2 py-1.5 text-xs hover:bg-sidebar-accent",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)($,{className:"size-3.5"}),r("usageToday")]}),(0,s.jsx)("span",{className:"font-medium tabular-nums",children:null==e?"—":y.format(e)})]})}),(0,s.jsxs)(A.T,{side:l?"top":"right",align:l?"start":"end",collisionPadding:8,className:"max-h-[min(70dvh,var(--radix-popover-content-available-height))] w-[min(24rem,calc(100vw-1rem))] gap-3 overflow-y-auto [overflow-wrap:anywhere]",children:[(0,s.jsx)(A.S,{children:(0,s.jsx)(A.q,{children:t("sidebarTitle")})}),(0,s.jsxs)("p",{className:"text-sm",children:[t("sidebarToday"),":"," ",(0,s.jsx)("strong",{children:null==e?"—":y.format(e)})]}),(0,s.jsxs)("p",{className:"text-sm",children:[t("sidebarLast7Days"),":"," ",(0,s.jsx)("strong",{children:c?y.format(c.days.reduce((e,s)=>e+s.totalCost,0)):"—"})]}),b&&!c&&(0,s.jsxs)("p",{role:"status",className:"flex items-center gap-2 text-sm",children:[(0,s.jsx)(z.f,{}),t("sidebarLoading")]}),g&&(0,s.jsxs)("div",{role:"alert",className:"space-y-2 text-sm",children:[(0,s.jsx)("p",{children:g}),(0,s.jsx)(I.K,{size:"sm",variant:"outline",onClick:()=>void x.current?.refresh(),children:t("sidebarRetry")})]}),c&&(c.hasUsage?(0,s.jsx)(D.T,{className:"h-36 w-full shrink-0",config:{totalCost:{label:t("cost"),color:"var(--chart-1)"}},children:(0,s.jsxs)(L.f,{accessibilityLayer:!0,data:c.days,children:[(0,s.jsx)(T.f,{dataKey:"period",tickLine:!1,axisLine:!1,tickFormatter:e=>v(String(e)),minTickGap:16,fontSize:10}),(0,s.jsx)(D.f,{content:(0,s.jsx)(D.m,{indicator:"dot",labelFormatter:e=>v(String(e)),formatter:e=>y.format(Number(e))})}),(0,s.jsx)(R.e,{dataKey:"totalCost",fill:"var(--color-totalCost)",radius:[3,3,0,0]})]})}):(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:t("sidebarEmpty")})),c?.collectedAt&&(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:t("sidebarCollectedAt",{date:(0,P.l)(c.collectedAt,"short",{locale:n})})}),(0,s.jsx)(I.K,{asChild:!0,size:"sm",variant:"outline",children:(0,s.jsxs)(O.L,{href:"/ai/usage",onClick:()=>{d(!1),a()},children:[t("viewFullUsage"),(0,s.jsx)(K.f,{})]})})]})]})}var W=e.i(487486),B=e.i(225913),G=e.i(752738),V=e.i(975157);e.i(793479),e.i(772436);var H=e.i(980376);e.i(302747);var F=e.i(746798);e.i(221229);let X=i.createContext(null);function J(){let e=i.useContext(X);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function Q({defaultOpen:e=!0,open:a,onOpenChange:t,cookieName:r="sidebar_state",keyboardShortcut:n="b",className:l,style:o,children:d,...c}){let u=(0,M.f)(),[h,f]=i.useState(!1),[b,m]=i.useState(e),g=a??b,p=i.useCallback(e=>{let s="function"==typeof e?e(g):e;t?t(s):m(s),document.cookie=`${r}=${s}; path=/; max-age=604800`},[r,t,g]),x=i.useCallback(()=>u?f(e=>!e):p(e=>!e),[u,p,f]);i.useEffect(()=>{if(null===n)return;let e=e=>{e.key.toLowerCase()===n.toLowerCase()&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),x())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[n,x]);let y=g?"expanded":"collapsed",v=i.useMemo(()=>({state:y,open:g,setOpen:p,isMobile:u,openMobile:h,setOpenMobile:f,toggleSidebar:x}),[y,g,p,u,h,f,x]);return(0,s.jsx)(X.Provider,{value:v,children:(0,s.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...o},className:(0,V.f)("group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",l),...c,children:d})})}function Y({side:e="left",variant:a="sidebar",collapsible:i="offcanvas",mobileTitle:t="Sidebar",mobileDescription:r="Displays the mobile sidebar.",className:n,children:l,dir:o,...d}){let{isMobile:c,state:u,openMobile:h,setOpenMobile:f}=J();return"none"===i?(0,s.jsx)("div",{"data-slot":"sidebar",className:(0,V.f)("flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",n),...d,children:l}):c?(0,s.jsx)(H.j,{open:h,onOpenChange:f,...d,children:(0,s.jsxs)(H.U,{dir:o,"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:e,children:[(0,s.jsxs)(H.D,{className:"sr-only",children:[(0,s.jsx)(H.L,{children:t}),(0,s.jsx)(H.c,{children:r})]}),(0,s.jsx)("div",{className:"flex h-full w-full flex-col",children:l})]})}):(0,s.jsxs)("div",{className:"group peer hidden text-sidebar-foreground md:block","data-state":u,"data-collapsible":"collapsed"===u?i:"","data-variant":a,"data-side":e,"data-slot":"sidebar",children:[(0,s.jsx)("div",{"data-slot":"sidebar-gap",className:(0,V.f)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===a||"inset"===a?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,s.jsx)("div",{"data-slot":"sidebar-container","data-side":e,className:(0,V.f)("fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex","floating"===a||"inset"===a?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...d,children:(0,s.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"flex size-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1 group-data-[variant=floating]:ring-sidebar-border",children:l})})]})}function Z({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,V.f)("flex flex-col gap-2 p-2",e),...a})}function ee({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,V.f)("flex flex-col gap-2 p-2",e),...a})}function es({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,V.f)("no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...a})}function ea({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,V.f)("relative flex w-full min-w-0 flex-col p-2",e),...a})}function ei({className:e,asChild:a=!1,...i}){let t=a?G.f.Root:"div";return(0,s.jsx)(t,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,V.f)("flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",e),...i})}function et({className:e,...a}){return(0,s.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,V.f)("w-full text-sm",e),...a})}function er({className:e,...a}){return(0,s.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,V.f)("flex w-full min-w-0 flex-col gap-0",e),...a})}function en({className:e,...a}){return(0,s.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,V.f)("group/menu-item relative",e),...a})}let el=(0,B.f)("peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function eo({asChild:e=!1,isActive:a=!1,variant:i="default",size:t="default",tooltip:r,className:n,...l}){let o=e?G.f.Root:"button",{isMobile:d,state:c}=J(),u=(0,s.jsx)(o,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":t,"data-active":a,className:(0,V.f)(el({variant:i,size:t}),n),...l});return r?("string"==typeof r&&(r={children:r}),(0,s.jsxs)(F.Tooltip,{children:[(0,s.jsx)(F.TooltipTrigger,{asChild:!0,children:u}),(0,s.jsx)(F.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==c||d,...r})]})):u}var ed=e.i(539494),ec=e.i(261751);let eu={CRITICAL:8,ERROR:7,DELETING:6,CLEANUP_REQUIRED:5,PRESSURE:4,STALE:3,DISABLED:2,IDLE:1},eh="border-amber-500/30 bg-amber-500/10 text-amber-700 hover:bg-amber-500/20 hover:text-amber-700 dark:border-amber-500/30 dark:bg-amber-500/10 dark:text-amber-300 dark:hover:bg-amber-500/20 dark:hover:text-amber-300";function ef(){let e=(0,f.f)("diskSpace"),t=(0,f.f)("shell"),r=(0,h.X)(),n=(0,b.m)(),{isMobile:l,setOpenMobile:o}=J(),[d,c]=(0,i.useState)(null),[u,E]=(0,i.useState)(null),[$,K]=(0,i.useState)([]),[R,L]=(0,i.useState)(null),[T,D]=(0,i.useState)(!1),[M,P]=(0,i.useState)(null),B=(0,i.useRef)(null),G=(0,i.useRef)(null),V=(0,i.useCallback)(async()=>{await G.current?.refresh()},[]);(0,i.useEffect)(()=>{let e=(0,_.f)(async e=>{try{let s=await (0,q.W)(`query SidebarStatus {
2
2
  sidebarStatus {
3
3
  settings { showIntegrationCountsInSidebar showWorktreeCountsInSidebar }
4
4
  usageToday { totalCost collectedAt }
@@ -9,35 +9,35 @@
9
9
  github { configured }
10
10
  gitlab { configured }
11
11
  }
12
- }`,void 0,{signal:e});e.aborted||(c(s.sidebarStatus),E(s.sourceControlIntegrationState))}catch{}});G.current=e;let s=()=>{e.refresh(),B.current?.refresh()},i=window.setTimeout(()=>void e.refresh(),0),t=(0,O.p)().subscribe({query:"subscription SidebarStatusChanged { sidebarStatusChanged }"},{next:s,error:()=>void 0,complete:()=>void 0}),r=(0,a.G)(null,s),n=(0,O.g)(e=>{e?.initialConnection||s()}),l=window.setInterval(s,6e4);return()=>{window.clearTimeout(i),t(),r(),n(),window.clearInterval(l),e.dispose(),G.current=null}},[]),(0,i.useEffect)(()=>{if(!T)return;let e=(0,P.f)(async e=>{try{let s=await (0,O.W)(`query SidebarDiskDetails {
12
+ }`,void 0,{signal:e});e.aborted||(c(s.sidebarStatus),E(s.sourceControlIntegrationState))}catch{}});G.current=e;let s=()=>{e.refresh(),B.current?.refresh()},i=window.setTimeout(()=>void e.refresh(),0),t=(0,q.p)().subscribe({query:"subscription SidebarStatusChanged { sidebarStatusChanged }"},{next:s,error:()=>void 0,complete:()=>void 0}),r=(0,a.G)(null,s),n=(0,q.g)(e=>{e?.initialConnection||s()}),l=window.setInterval(s,6e4);return()=>{window.clearTimeout(i),t(),r(),n(),window.clearInterval(l),e.dispose(),G.current=null}},[]),(0,i.useEffect)(()=>{if(!T)return;let e=(0,_.f)(async e=>{try{let s=await (0,q.W)(`query SidebarDiskDetails {
13
13
  diskSpaceOverview { ${ed.D} }
14
14
  derivedDataDeletionHistory(first: 5) { items { id agentName folderName source deletedAt } }
15
- }`,void 0,{signal:e});e.aborted||(W(s.diskSpaceOverview),K(s.derivedDataDeletionHistory.items))}catch{}});return B.current=e,e.refresh(),()=>{B.current=null,e.dispose()}},[T]);let H=(0,i.useMemo)(()=>d?.diskSummary.agents.filter(e=>e.enabled)??[],[d]),F=(0,i.useMemo)(()=>[...d?.diskSummary.agents??[]].sort((e,s)=>eu[s.status]-eu[e.status])[0]?.status??"STALE",[d]),X=async(e,s)=>{L(e);try{await (0,O.W)(`mutation SidebarPressureMode($agentId: ID!, $enabled: Boolean!) {
15
+ }`,void 0,{signal:e});e.aborted||(P(s.diskSpaceOverview),K(s.derivedDataDeletionHistory.items))}catch{}});return B.current=e,e.refresh(),()=>{B.current=null,e.dispose()}},[T]);let H=(0,i.useMemo)(()=>d?.diskSummary.agents.filter(e=>e.enabled)??[],[d]),F=(0,i.useMemo)(()=>[...d?.diskSummary.agents??[]].sort((e,s)=>eu[s.status]-eu[e.status])[0]?.status??"STALE",[d]),X=async(e,s)=>{L(e);try{await (0,q.W)(`mutation SidebarPressureMode($agentId: ID!, $enabled: Boolean!) {
16
16
  setAgentDiskSpacePressureMode(agentId: $agentId, enabled: $enabled) { manualPressureMode }
17
- }`,{agentId:e,enabled:s}),await Promise.all([V(),B.current?.refresh()])}finally{L(null)}},Q=[{key:"actionCenter",href:"/dashboard/action-center",icon:w.f,count:n?.totalCount??0},{key:"workflows",href:"/dashboard/workflows",icon:C.f,count:d?.activity.workflows??0},{key:"plans",href:"/ai/plans",icon:m.f,count:d?.activity.plans??0},{key:"sessions",href:"/ai/sessions",icon:j.f,count:d?.activity.sessions??0},{key:"builds",href:"/dashboard/builds",icon:k.f,count:d?.activity.builds??0},{key:"commands",href:"/dashboard/commands",icon:S.f,count:d?.activity.commands??0},...d?.settings?.showIntegrationCountsInSidebar!==!1&&u?.github.configured?[{key:"pullReqs",href:"/github/pull-requests",icon:x.f,count:d?.activity.pullRequests},{key:"actions",href:"/github/actions",icon:N.f,count:d?.activity.actions}]:[],...d?.settings?.showIntegrationCountsInSidebar!==!1&&u?.gitlab.configured?[{key:"mergeReqs",href:"/gitlab/merge-requests",icon:p.f,count:d?.activity.mergeRequests},{key:"pipelines",href:"/gitlab/pipelines",icon:g.f,count:d?.activity.pipelines}]:[],...d?.settings?.showWorktreeCountsInSidebar!==!1?[{key:"dirtyWorktrees",href:"/dashboard/worktrees?changes=dirty&branches=all",icon:y.f,count:d?.activity.dirtyWorktrees},{key:"offMainWorktrees",href:"/dashboard/worktrees?changes=all&branches=non-default",icon:v.f,count:d?.activity.offMainWorktrees}]:[]],Y=()=>{l&&o(!1)};return(0,s.jsxs)("div",{className:"space-y-2 border-t border-sidebar-border p-2",children:[(0,s.jsx)(_,{totalCost:d?.usageToday.totalCost??null,onNavigate:Y}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-1",children:Q.map(({key:e,href:a,icon:i,count:r})=>(0,s.jsxs)(M.L,{className:"grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-1.5 rounded-md px-2 py-1 text-xs hover:bg-sidebar-accent",href:a,onClick:Y,children:[(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,s.jsx)(i,{className:"size-3.5 shrink-0"}),(0,s.jsx)("span",{className:"min-w-0 leading-snug [overflow-wrap:anywhere]",children:t("actionCenter"===e?"actions":e)})]}),(0,s.jsx)("span",{className:"tabular-nums",children:r??"—"})]},e))}),(0,s.jsxs)(A.V,{open:T,onOpenChange:D,children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsx)(I.K,{className:"h-auto w-full justify-start px-2 py-2",variant:"ghost",children:(0,s.jsxs)("div",{className:"min-w-0 flex-1 text-left",children:[(0,s.jsx)("p",{className:"text-xs font-medium",children:e("freeDiskSpace")}),1===H.length&&(0,ed.v)(H[0])?(0,s.jsx)("div",{className:"mt-1",children:(0,s.jsx)(ec.L,{compact:!0,hideLabel:!0,volume:(0,ed.v)(H[0])})}):H.length>1?(0,s.jsx)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:H.map(a=>{var i;let t=(0,ed.v)(a);if(!t)return null;let n=100-(t.totalBytes>0?Math.max(0,Math.min(100,(t.totalBytes-t.freeBytes)/t.totalBytes*100)):0);return(0,s.jsx)("span",{"aria-label":`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}: ${(0,ec.j)(t.freeBytes,r)} ${e("free")}`,className:"grid size-5 place-items-center rounded-full",style:{background:`conic-gradient(var(--muted) 0% ${n}%, ${"CRITICAL"===(i=a.status)||"ERROR"===i?"var(--destructive)":["DELETING","CLEANUP_REQUIRED","PRESSURE"].includes(i)?"#f59e0b":"STALE"===i||"DISABLED"===i?"var(--muted-foreground)":"#10b981"} ${n}% 100%)`},title:`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}`,children:(0,s.jsx)("span",{className:"size-3 rounded-full bg-sidebar"})},a.agent.id)})}):(0,s.jsx)("p",{className:"text-[11px] text-muted-foreground",children:e("noEnabledAgents")})]})})}),(0,s.jsxs)(A.T,{align:"start",className:"max-h-[min(70vh,42rem)] w-[min(26rem,calc(100vw-1rem))] overflow-y-auto",side:"top",children:[(0,s.jsxs)(A.S,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(A.q,{children:(0,s.jsx)(M.L,{className:"hover:underline",href:"/system/build-data",onClick:Y,children:e("freeDiskSpace")})}),(0,s.jsx)(U.f,{className:"PRESSURE"===F?eh:(0,ec.a)(F),variant:"PRESSURE"===F?"outline":"secondary",children:e(`status.${F}`)})]}),q&&(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:e("thresholdSummary",{normal:q.settings.normalThresholdGiB,pressure:q.settings.pressureThresholdGiB})})]}),q?q.agents.map(a=>(0,s.jsxs)("div",{className:"space-y-2 rounded-md border p-2.5",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(M.L,{className:"font-medium hover:underline",href:`/dashboard/agents/${a.agent.id}`,onClick:Y,children:a.agent.name}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsxs)(I.K,{"aria-pressed":a.manualPressureMode,className:a.manualPressureMode?eh:void 0,disabled:!a.enabled||null!==R,onClick:()=>void X(a.agent.id,!a.manualPressureMode),size:"xs",type:"button",variant:"outline",children:[e("pressureModeControl"),R===a.agent.id&&(0,s.jsx)(z.f,{})]}),(0,s.jsx)(U.f,{className:"PRESSURE"===a.status?eh:void 0,variant:"outline",children:e(`status.${a.status}`)})]})]}),a.volumes.map(e=>(0,s.jsx)(ec.L,{compact:!0,volume:e},e.id)),(a.lastError||a.warnings.length>0)&&(0,s.jsx)("p",{className:"text-xs text-destructive",children:[a.lastError,...a.warnings].filter(Boolean).join(" · ")})]},a.agent.id)):(0,s.jsx)(z.f,{}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsx)("p",{className:"text-xs font-medium",children:e("recentDeletions")}),0===$.length?(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:e("noRecentDeletions")}):$.map(e=>(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_auto] gap-2 text-xs",children:[(0,s.jsxs)("span",{className:"min-w-0 truncate",children:[e.folderName," · ",e.agentName]}),(0,s.jsx)("span",{className:"text-muted-foreground",children:new Date(e.deletedAt).toLocaleDateString(r)})]},e.id))]})]})]})]})}var eb=e.i(961112),em=e.i(763267),eg=e.i(689664),ep=e.i(563707),ex=e.i(841220),ey=e.i(317056);function ev(){let e=(0,f.f)("activeAgent"),{activeAgentId:a,activeAgent:t,agents:r,ready:n,loading:l,error:o,selectAgent:d,refresh:c}=(0,em.q)(),[u,h]=(0,i.useState)(!1),b=t?.name??(a?e("unavailable"):e("none")),m=e=>{d(e),h(!1)};return r.length<=1?null:(0,s.jsxs)(A.V,{open:u,onOpenChange:e=>{h(e),e&&c()},children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsxs)(I.K,{"aria-label":e("label",{name:b}),"aria-expanded":u,role:"combobox",disabled:!n,className:"relative h-10 w-10 shrink-0 justify-center gap-2 px-0 @xl:w-44 @xl:justify-start @xl:px-3",variant:"outline",title:e("label",{name:b}),children:[(0,s.jsx)(ex.f,{className:"size-4 shrink-0"}),a&&(0,s.jsx)("span",{"aria-hidden":"true",className:"absolute top-1 right-1 size-2 rounded-full bg-primary @xl:hidden"}),(0,s.jsx)("span",{className:"hidden min-w-0 flex-1 truncate text-left @xl:inline",children:b}),(0,s.jsx)(ep.f,{className:"hidden size-4 shrink-0 @xl:block"})]})}),(0,s.jsxs)(A.T,{align:"end",className:"w-80 max-w-[calc(100vw-2rem)] p-0",children:[(0,s.jsxs)(ey.s,{children:[(0,s.jsx)(ey.H,{placeholder:e("search")}),(0,s.jsxs)(ey.X,{children:[(0,s.jsx)(ey.e,{children:e("empty")}),(0,s.jsxs)(ey.W,{heading:e("title"),children:[(0,s.jsxs)(ey.J,{value:e("none"),onSelect:()=>m(null),children:[(0,s.jsx)(eg.f,{className:a?"invisible":void 0}),e("none")]}),r.map(i=>(0,s.jsxs)(ey.J,{value:i.id,keywords:[i.name,i.hostname],onSelect:()=>m(i.id),children:[(0,s.jsx)(eg.f,{className:a===i.id?void 0:"invisible"}),(0,s.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block truncate",children:i.name}),(0,s.jsxs)("span",{className:"block truncate text-xs text-muted-foreground",children:[i.hostname," ·"," ","ONLINE"===i.connectionStatus?e("online"):e("offline")]})]})]},i.id))]})]})]}),l&&(0,s.jsx)("p",{className:"px-3 py-2 text-xs text-muted-foreground",role:"status",children:e("loading")}),o&&(0,s.jsxs)("div",{className:"p-3 text-sm",role:"alert",children:[(0,s.jsx)("p",{children:e("loadError")}),(0,s.jsx)(I.K,{variant:"link",onClick:c,children:e("retry")})]})]})]})}var ek=e.i(271567),ew=e.i(792150);let ej={name:"briefcase-business",size:24,node:[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]};ej.node;let eN=(0,r.f)(ej);var eS=e.i(867927),eC=e.i(559092),eE=e.i(397142),e$=e.i(434322),eK=e.i(779266),eR=e.i(566595),eL=e.i(584026),eT=e.i(986206),eI=e.i(328623),eA=e.i(443537),eD=e.i(779432),ez=e.i(370812),eM=e.i(97194),eO=e.i(579411);let eq={name:"chart-no-axes-combined",size:24,node:[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14.639V21",key:"1s85h0"}],["path",{d:"M20 10.656V21",key:"q45596"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18.463V21",key:"1otddq"}],["path",{d:"M8 14.656V21",key:"1t2idw"}]]};eq.node;let eP=(0,r.f)(eq),e_={name:"combine",size:24,node:[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]};e_.node;let eU=(0,r.f)(e_);var eW=e.i(809584),eB=e.i(567745),eG=e.i(259911),eV=e.i(673180),eH=e.i(150285),eF=e.i(758925),eX=e.i(927735),eJ=e.i(549676);let eQ={name:"network",size:24,node:[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]};eQ.node;let eY=(0,r.f)(eQ);var eZ=e.i(77071),e0=e.i(869309),e1=e.i(301954),e2=e.i(166794);let e5={name:"timer-reset",size:24,node:[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]]};e5.node;let e4=(0,r.f)(e5);var e3=e.i(357443);let e6={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],aliases:["users-2"]};e6.node;let e7=(0,r.f)(e6);var e8=e.i(799835),e9=e.i(747925);let se=["dashboard","ai","debugging","github","gitlab","jira","system"],ss=[{key:"action-center",href:"/dashboard/action-center",labelKey:"actionCenter",aliases:["attention","tasks","home"],icon:w.f,section:"dashboard",sidebar:!0,common:!0,exact:!0},{key:"apps",href:"/dashboard/apps",labelKey:"apps",aliases:["products","projects","application management"],icon:ew.f,section:"dashboard",sidebar:!0,common:!0},{key:"notifications",href:"/dashboard/notifications",labelKey:"notifications",aliases:["alerts"],icon:ez.f,section:"dashboard",sidebar:!0},{key:"agents",href:"/dashboard/agents",labelKey:"agents",aliases:["workers","jobs"],icon:eE.f,section:"dashboard",sidebar:!0,common:!0,activePrefixes:["/dashboard/agents","/dashboard/jobs"]},{key:"workflows",href:"/dashboard/workflows",labelKey:"workflows",aliases:["automations","workflow runs"],icon:C.f,section:"dashboard",sidebar:!0,common:!0},{key:"commands",href:"/dashboard/commands",labelKey:"commands",aliases:["scripts","command runs"],icon:S.f,section:"dashboard",sidebar:!0,common:!0},{key:"codebases",href:"/dashboard/codebases",labelKey:"codebases",aliases:["repositories","repos"],icon:y.f,section:"dashboard",sidebar:!0,common:!0},{key:"worktrees",href:"/dashboard/worktrees",labelKey:"worktrees",aliases:["branches","checkouts"],icon:g.f,section:"dashboard",sidebar:!0,common:!0},{key:"changes",href:"/dashboard/changes",labelKey:"changes",aliases:["diffs","patches","review","coverage"],icon:eV.f,section:"dashboard",sidebar:!0,common:!0},{key:"builds",href:"/dashboard/builds",labelKey:"builds",aliases:["recent builds","xcode"],icon:k.f,section:"dashboard",sidebar:!0,common:!0},{key:"plans",href:"/ai/plans",labelKey:"plans",aliases:["ai plans"],icon:m.f,section:"ai",sidebar:!0},{key:"sessions",href:"/ai/sessions",labelKey:"sessions",aliases:["ai sessions","chats"],icon:j.f,section:"ai",sidebar:!0},{key:"drafts",href:"/ai/drafts",labelKey:"drafts",aliases:["new run"],icon:eG.f,section:"ai",sidebar:!0,activePrefixes:["/ai/drafts","/ai/drafts/new"]},{key:"usage",href:"/ai/usage",labelKey:"usage",aliases:["tokens"],icon:eP,section:"ai",sidebar:!0},{key:"costs",href:"/ai/costs",labelKey:"costs",aliases:["spend","pricing"],icon:$,section:"ai",sidebar:!0},{key:"skills",href:"/ai/skills",labelKey:"skills",aliases:["capabilities"],icon:eI.f,section:"ai",sidebar:!0},{key:"sse",href:"/debugging/sse",labelKey:"sseEndpoints",aliases:["server sent events","event streams","sse history","sse mocks"],icon:e1.f,section:"debugging",sidebar:!0,activePrefixes:["/debugging/sse"]},{key:"push-notifications",href:"/debugging/push-notifications",labelKey:"pushNotifications",aliases:["apns"],icon:eM.f,section:"debugging",sidebar:!0},{key:"console-logs",href:"/debugging/console-logs",labelKey:"consoleLogs",aliases:["logs"],icon:S.f,section:"debugging",sidebar:!0},{key:"analytics-events",href:"/debugging/analytics-events",labelKey:"analyticsEvents",aliases:["analytics"],icon:eJ.f,section:"debugging",sidebar:!0},{key:"unified-events",href:"/debugging/unified-events",labelKey:"unifiedEvents",aliases:["events"],icon:eU,section:"debugging",sidebar:!0},{key:"crashes",href:"/debugging/crashes",labelKey:"crashes",aliases:["crash reports","dsym","dsyms","symbolication","symbolicate"],icon:eO.f,section:"debugging",sidebar:!0,activePrefixes:["/debugging/crashes"]},{key:"pull-requests",href:"/github/pull-requests",labelKey:"pullRequests",aliases:["prs","github prs"],icon:x.f,section:"github",sidebar:!0,feature:"github"},{key:"actions",href:"/github/actions",labelKey:"actions",aliases:["github actions","ci","pipelines"],icon:N.f,section:"github",sidebar:!0,feature:"github"},{key:"webhooks",href:"/github/webhooks",labelKey:"webhooks",aliases:["github webhooks"],icon:e8.f,section:"github",sidebar:!0,feature:"webhooks"},{key:"comments",href:"/github/comments",labelKey:"comments",aliases:["reviews","review threads"],icon:eX.f,section:"github",sidebar:!0,feature:"github"},{key:"github-cache",href:"/github/cache",labelKey:"cache",aliases:["github cache"],icon:eW.f,section:"github",sidebar:!0,feature:"github"},{key:"actions-cache",href:"/github/actions-cache",labelKey:"actionsCache",aliases:["github actions cache"],icon:eB.f,section:"github",sidebar:!0,features:["github","actionsCache"]},{key:"gitlab-merge-requests",href:"/gitlab/merge-requests",labelKey:"mergeRequests",aliases:["gitlab merge requests","mrs"],icon:v.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-pipelines",href:"/gitlab/pipelines",labelKey:"pipelines",aliases:["gitlab ci","gitlab pipelines"],icon:N.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-webhooks",href:"/gitlab/webhooks",labelKey:"webhooks",aliases:["gitlab webhooks"],icon:e8.f,section:"gitlab",sidebar:!0,features:["gitlab","gitlabWebhooks"]},{key:"gitlab-comments",href:"/gitlab/comments",labelKey:"comments",aliases:["gitlab discussions","gitlab comments"],icon:eX.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-cache",href:"/gitlab/cache",labelKey:"cache",aliases:["gitlab cache","gitlab api cache"],icon:eW.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"jira-tickets",href:"/jira/tickets",labelKey:"tickets",aliases:["jira tickets","issues"],icon:eA.f,section:"jira",sidebar:!0,common:!0},{key:"jira-webhooks",href:"/jira/webhooks",labelKey:"webhooks",aliases:["jira webhooks"],icon:e8.f,section:"jira",sidebar:!0,feature:"jiraWebhooks"},{key:"jira-cache",href:"/jira/cache",labelKey:"cache",aliases:["jira cache"],icon:eW.f,section:"jira",sidebar:!0},{key:"status",href:"/system/status",labelKey:"status",aliases:["health","versions","cli health"],icon:eD.f,section:"system",sidebar:!0},{key:"prepare",href:"/system/prepare",labelKey:"prepare",aliases:["preparations","worktree preparations"],icon:eI.f,section:"system",sidebar:!0},{key:"polling",href:"/system/polling",labelKey:"polling",aliases:["pollers"],icon:e4,section:"system",sidebar:!0},{key:"build-data",href:"/system/build-data",labelKey:"buildData",aliases:["derived data","storage"],icon:eH.f,section:"system",sidebar:!0},{key:"tailscale",href:"/system/tailscale",labelKey:"tailscale",aliases:["tailscale serve","funnel","port forwarding","tailnet"],icon:eY,section:"system",sidebar:!0},{key:"provisioning-profiles",href:"/system/provisioning-profiles",labelKey:"provisioningProfiles",aliases:["profiles","signing"],icon:eL.f,section:"system",sidebar:!0},{key:"devices",href:"/system/devices",labelKey:"devices",aliases:["ios devices"],icon:eT.f,section:"system",sidebar:!0},{key:"users",href:"/system/users",labelKey:"users",aliases:["accounts","authentication"],icon:e7,section:"system",sidebar:!0},{key:"api-keys",href:"/system/api-keys",labelKey:"apiKeys",aliases:["tokens","mcp authentication"],icon:eF.f,section:"system",sidebar:!0},{key:"connected-applications",href:"/system/connected-applications",labelKey:"connectedApplications",aliases:["oauth","mcp connections","authorized applications","chatgpt"],icon:e0.f,section:"system",sidebar:!0},{key:"tools",href:"/system/tools",labelKey:"tools",aliases:["mcp tools"],icon:e9.f,section:"system",sidebar:!0},{key:"credentials",href:"/system/credentials",labelKey:"credentials",aliases:["secrets","tokens"],icon:eF.f,section:"system",sidebar:!0},{key:"settings",href:"/system/settings",labelKey:"settings",aliases:["configuration"],icon:e2.f,section:"system",sidebar:!0},{key:"new-workflow",href:"/dashboard/workflows/new",labelKey:"newWorkflow",aliases:["create workflow","automation"],icon:eZ.f,section:"dashboard",sidebar:!1},{key:"new-command",href:"/dashboard/commands/new",labelKey:"newCommand",aliases:["create command","script"],icon:eZ.f,section:"dashboard",sidebar:!1},{key:"new-run",href:"/ai/drafts/new",labelKey:"newRun",aliases:["start run","draft"],icon:N.f,section:"ai",sidebar:!1},{key:"enroll-device",href:"/system/devices/enroll",labelKey:"enrollDevice",aliases:["add device","register device"],icon:e3.f,section:"system",sidebar:!1},{key:"skill-groups",href:"/ai/skills/groups",labelKey:"skillGroups",aliases:["groups"],icon:eI.f,section:"ai",sidebar:!1}];function sa(e,s){return[...e.feature?[e.feature]:[],...e.features??[]].every(e=>s[e])}let si="aide:global-search:recent:v1",st=["PAGES","WORKTREES","TICKETS","PULL_REQUESTS","REPOSITORIES","CODEBASES","WORKFLOWS","GITHUB_ACTIONS","BUILDS","AGENTS_JOBS","PLANS_SESSIONS","COMMANDS_RUNS","SKILLS","DEVICES_PROFILES"],sr={PAGE:e$.f,WORKTREE:g.f,JIRA_TICKET:eA.f,GITHUB_PULL_REQUEST:x.f,REPOSITORY:eN,CODEBASE:ew.f,WORKFLOW:C.f,WORKFLOW_RUN:eC.f,GITHUB_ACTIONS_RUN:eC.f,BUILD:k.f,AGENT:eE.f,AGENT_JOB:ek.f,PLAN:e$.f,SESSION:ek.f,COMMAND:S.f,COMMAND_RUN:S.f,SKILL:eI.f,SKILL_GROUP:ew.f,DEVICE:eT.f,PROVISIONING_PROFILE:eL.f};function sn(){try{let e=JSON.parse(localStorage.getItem(si)??"[]");if(!Array.isArray(e))return[];return e.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.key&&"string"==typeof e.kind&&"string"==typeof e.title&&"string"==typeof e.href&&e.href.startsWith("/")&&!e.href.startsWith("//")&&(null===e.subtitle||"string"==typeof e.subtitle)).slice(0,8)}catch{return[]}}function sl({item:e,nested:a=!1,onSelect:i}){let t=sr[e.kind]??e$.f;return(0,s.jsxs)(ey.J,{className:(0,V.f)("min-h-11 py-2",a&&"ml-5 border-l pl-3"),onSelect:()=>i(e),value:e.key,children:[a?(0,s.jsx)(eS.f,{className:"size-3 text-muted-foreground"}):(0,s.jsx)(t,{className:"size-4 text-muted-foreground"}),(0,s.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block truncate font-medium",children:e.title}),e.subtitle&&(0,s.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:e.subtitle})]}),e.status&&(0,s.jsx)(U.f,{className:"max-w-28 truncate text-[10px]",variant:"outline",children:e.status.replaceAll("_"," ")})]})}function so({features:e}){let a=(0,f.f)("globalSearch"),t=(0,f.f)("shell"),r=(0,M.U)(),[n,l]=(0,i.useState)(!1),[o,d]=(0,i.useState)(""),[c,u]=(0,i.useState)([]),[h,b]=(0,i.useState)([]),[m,g]=(0,i.useState)(!1),[p,x]=(0,i.useState)(null),[y,v]=(0,i.useState)("⌘K"),k=(0,i.useRef)(0),w=(0,i.useRef)(!1),j=(0,i.useCallback)(e=>{k.current+=1,d(e),u([]),x(null),g(!!e.trim())},[]),N=(0,i.useCallback)(e=>{w.current=e,e&&b(sn()),l(e),e||j("")},[j]);(0,i.useEffect)(()=>{let e=window.setTimeout(()=>v("u"<typeof navigator||/Mac|iPhone|iPad|iPod/i.test(`${navigator.platform??""} ${navigator.userAgent??""}`)?"⌘K":"Ctrl K"),0),s=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLocaleLowerCase()&&(e.preventDefault(),N(!w.current))};return window.addEventListener("keydown",s),()=>{window.clearTimeout(e),window.removeEventListener("keydown",s)}},[N]),(0,i.useEffect)(()=>{let e=o.trim(),s=k.current;if(!n||!e)return;let a=window.setTimeout(()=>{(0,O.W)(`query GlobalSearch($query: String!) {
17
+ }`,{agentId:e,enabled:s}),await Promise.all([V(),B.current?.refresh()])}finally{L(null)}},Q=[{key:"actionCenter",href:"/dashboard/action-center",icon:k.f,count:n?.totalCount??0},{key:"workflows",href:"/dashboard/workflows",icon:C.f,count:d?.activity.workflows??0},{key:"plans",href:"/ai/plans",icon:m.f,count:d?.activity.plans??0},{key:"sessions",href:"/ai/sessions",icon:j.f,count:d?.activity.sessions??0},{key:"builds",href:"/dashboard/builds",icon:w.f,count:d?.activity.builds??0},{key:"commands",href:"/dashboard/commands",icon:S.f,count:d?.activity.commands??0},...d?.settings?.showIntegrationCountsInSidebar!==!1&&u?.github.configured?[{key:"pullReqs",href:"/github/pull-requests",icon:x.f,count:d?.activity.pullRequests},{key:"actions",href:"/github/actions",icon:N.f,count:d?.activity.actions}]:[],...d?.settings?.showIntegrationCountsInSidebar!==!1&&u?.gitlab.configured?[{key:"mergeReqs",href:"/gitlab/merge-requests",icon:p.f,count:d?.activity.mergeRequests},{key:"pipelines",href:"/gitlab/pipelines",icon:g.f,count:d?.activity.pipelines}]:[],...d?.settings?.showWorktreeCountsInSidebar!==!1?[{key:"dirtyWorktrees",href:"/dashboard/worktrees?changes=dirty&branches=all",icon:y.f,count:d?.activity.dirtyWorktrees},{key:"offMainWorktrees",href:"/dashboard/worktrees?changes=all&branches=non-default",icon:v.f,count:d?.activity.offMainWorktrees}]:[]],Y=()=>{l&&o(!1)};return(0,s.jsxs)("div",{className:"space-y-2 border-t border-sidebar-border p-2",children:[(0,s.jsx)(U,{totalCost:d?.usageToday.totalCost??null,onNavigate:Y}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-1",children:Q.map(({key:e,href:a,icon:i,count:r})=>(0,s.jsxs)(O.L,{className:"grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-1.5 rounded-md px-2 py-1 text-xs hover:bg-sidebar-accent",href:a,onClick:Y,children:[(0,s.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,s.jsx)(i,{className:"size-3.5 shrink-0"}),(0,s.jsx)("span",{className:"min-w-0 leading-snug [overflow-wrap:anywhere]",children:t("actionCenter"===e?"actions":e)})]}),(0,s.jsx)("span",{className:"tabular-nums",children:r??"—"})]},e))}),(0,s.jsxs)(A.V,{open:T,onOpenChange:D,children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsx)(I.K,{className:"h-auto w-full justify-start px-2 py-2",variant:"ghost",children:(0,s.jsxs)("div",{className:"min-w-0 flex-1 text-left",children:[(0,s.jsx)("p",{className:"text-xs font-medium",children:e("freeDiskSpace")}),1===H.length&&(0,ed.v)(H[0])?(0,s.jsx)("div",{className:"mt-1",children:(0,s.jsx)(ec.L,{compact:!0,hideLabel:!0,volume:(0,ed.v)(H[0])})}):H.length>1?(0,s.jsx)("div",{className:"mt-1 flex flex-wrap gap-1.5",children:H.map(a=>{var i;let t=(0,ed.v)(a);if(!t)return null;let n=100-(t.totalBytes>0?Math.max(0,Math.min(100,(t.totalBytes-t.freeBytes)/t.totalBytes*100)):0);return(0,s.jsx)("span",{"aria-label":`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}: ${(0,ec.j)(t.freeBytes,r)} ${e("free")}`,className:"grid size-5 place-items-center rounded-full",style:{background:`conic-gradient(var(--muted) 0% ${n}%, ${"CRITICAL"===(i=a.status)||"ERROR"===i?"var(--destructive)":["DELETING","CLEANUP_REQUIRED","PRESSURE"].includes(i)?"#f59e0b":"STALE"===i||"DISABLED"===i?"var(--muted-foreground)":"#10b981"} ${n}% 100%)`},title:`${a.agent.name} \xb7 ${e("role.DERIVED_DATA")}`,children:(0,s.jsx)("span",{className:"size-3 rounded-full bg-sidebar"})},a.agent.id)})}):(0,s.jsx)("p",{className:"text-[11px] text-muted-foreground",children:e("noEnabledAgents")})]})})}),(0,s.jsxs)(A.T,{align:"start",className:"max-h-[min(70vh,42rem)] w-[min(26rem,calc(100vw-1rem))] overflow-y-auto",side:"top",children:[(0,s.jsxs)(A.S,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(A.q,{children:(0,s.jsx)(O.L,{className:"hover:underline",href:"/system/build-data",onClick:Y,children:e("freeDiskSpace")})}),(0,s.jsx)(W.f,{className:"PRESSURE"===F?eh:(0,ec.a)(F),variant:"PRESSURE"===F?"outline":"secondary",children:e(`status.${F}`)})]}),M&&(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:e("thresholdSummary",{normal:M.settings.normalThresholdGiB,pressure:M.settings.pressureThresholdGiB})})]}),M?M.agents.map(a=>(0,s.jsxs)("div",{className:"space-y-2 rounded-md border p-2.5",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)(O.L,{className:"font-medium hover:underline",href:`/dashboard/agents/${a.agent.id}`,onClick:Y,children:a.agent.name}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsxs)(I.K,{"aria-pressed":a.manualPressureMode,className:a.manualPressureMode?eh:void 0,disabled:!a.enabled||null!==R,onClick:()=>void X(a.agent.id,!a.manualPressureMode),size:"xs",type:"button",variant:"outline",children:[e("pressureModeControl"),R===a.agent.id&&(0,s.jsx)(z.f,{})]}),(0,s.jsx)(W.f,{className:"PRESSURE"===a.status?eh:void 0,variant:"outline",children:e(`status.${a.status}`)})]})]}),a.volumes.map(e=>(0,s.jsx)(ec.L,{compact:!0,volume:e},e.id)),(a.lastError||a.warnings.length>0)&&(0,s.jsx)("p",{className:"text-xs text-destructive",children:[a.lastError,...a.warnings].filter(Boolean).join(" · ")})]},a.agent.id)):(0,s.jsx)(z.f,{}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsx)("p",{className:"text-xs font-medium",children:e("recentDeletions")}),0===$.length?(0,s.jsx)("p",{className:"text-xs text-muted-foreground",children:e("noRecentDeletions")}):$.map(e=>(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_auto] gap-2 text-xs",children:[(0,s.jsxs)("span",{className:"min-w-0 truncate",children:[e.folderName," · ",e.agentName]}),(0,s.jsx)("span",{className:"text-muted-foreground",children:new Date(e.deletedAt).toLocaleDateString(r)})]},e.id))]})]})]})]})}var eb=e.i(961112),em=e.i(763267),eg=e.i(689664),ep=e.i(563707),ex=e.i(841220),ey=e.i(317056);function ev(){let e=(0,f.f)("activeAgent"),{activeAgentId:a,activeAgent:t,agents:r,ready:n,loading:l,error:o,selectAgent:d,refresh:c}=(0,em.q)(),[u,h]=(0,i.useState)(!1),b=t?.name??(a?e("unavailable"):e("none")),m=e=>{d(e),h(!1)};return r.length<=1?null:(0,s.jsxs)(A.V,{open:u,onOpenChange:e=>{h(e),e&&c()},children:[(0,s.jsx)(A.J,{asChild:!0,children:(0,s.jsxs)(I.K,{"aria-label":e("label",{name:b}),"aria-expanded":u,role:"combobox",disabled:!n,className:"relative h-10 w-10 shrink-0 justify-center gap-2 px-0 @xl:w-44 @xl:justify-start @xl:px-3",variant:"outline",title:e("label",{name:b}),children:[(0,s.jsx)(ex.f,{className:"size-4 shrink-0"}),a&&(0,s.jsx)("span",{"aria-hidden":"true",className:"absolute top-1 right-1 size-2 rounded-full bg-primary @xl:hidden"}),(0,s.jsx)("span",{className:"hidden min-w-0 flex-1 truncate text-left @xl:inline",children:b}),(0,s.jsx)(ep.f,{className:"hidden size-4 shrink-0 @xl:block"})]})}),(0,s.jsxs)(A.T,{align:"end",className:"w-80 max-w-[calc(100vw-2rem)] p-0",children:[(0,s.jsxs)(ey.s,{children:[(0,s.jsx)(ey.H,{placeholder:e("search")}),(0,s.jsxs)(ey.X,{children:[(0,s.jsx)(ey.e,{children:e("empty")}),(0,s.jsxs)(ey.W,{heading:e("title"),children:[(0,s.jsxs)(ey.J,{value:e("none"),onSelect:()=>m(null),children:[(0,s.jsx)(eg.f,{className:a?"invisible":void 0}),e("none")]}),r.map(i=>(0,s.jsxs)(ey.J,{value:i.id,keywords:[i.name,i.hostname],onSelect:()=>m(i.id),children:[(0,s.jsx)(eg.f,{className:a===i.id?void 0:"invisible"}),(0,s.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block truncate",children:i.name}),(0,s.jsxs)("span",{className:"block truncate text-xs text-muted-foreground",children:[i.hostname," ·"," ","ONLINE"===i.connectionStatus?e("online"):e("offline")]})]})]},i.id))]})]})]}),l&&(0,s.jsx)("p",{className:"px-3 py-2 text-xs text-muted-foreground",role:"status",children:e("loading")}),o&&(0,s.jsxs)("div",{className:"p-3 text-sm",role:"alert",children:[(0,s.jsx)("p",{children:e("loadError")}),(0,s.jsx)(I.K,{variant:"link",onClick:c,children:e("retry")})]})]})]})}var ew=e.i(271567),ek=e.i(792150);let ej={name:"briefcase-business",size:24,node:[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]};ej.node;let eN=(0,r.f)(ej);var eS=e.i(867927),eC=e.i(559092),eE=e.i(397142),e$=e.i(434322),eK=e.i(779266),eR=e.i(566595),eL=e.i(584026),eT=e.i(986206),eI=e.i(328623),eA=e.i(443537),eD=e.i(779432),ez=e.i(370812),eM=e.i(97194),eO=e.i(579411);let eq={name:"chart-no-axes-combined",size:24,node:[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14.639V21",key:"1s85h0"}],["path",{d:"M20 10.656V21",key:"q45596"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18.463V21",key:"1otddq"}],["path",{d:"M8 14.656V21",key:"1t2idw"}]]};eq.node;let eP=(0,r.f)(eq),e_={name:"combine",size:24,node:[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]]};e_.node;let eU=(0,r.f)(e_);var eW=e.i(809584),eB=e.i(567745),eG=e.i(259911),eV=e.i(673180),eH=e.i(150285),eF=e.i(758925),eX=e.i(927735),eJ=e.i(549676);let eQ={name:"network",size:24,node:[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]};eQ.node;let eY=(0,r.f)(eQ);var eZ=e.i(77071),e0=e.i(869309),e1=e.i(301954),e2=e.i(166794);let e5={name:"timer-reset",size:24,node:[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M12 14v-4",key:"1evpnu"}],["path",{d:"M4 13a8 8 0 0 1 8-7 8 8 0 1 1-5.3 14L4 17.6",key:"1ts96g"}],["path",{d:"M9 17H4v5",key:"8t5av"}]]};e5.node;let e4=(0,r.f)(e5);var e3=e.i(357443);let e6={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],aliases:["users-2"]};e6.node;let e7=(0,r.f)(e6);var e8=e.i(799835),e9=e.i(747925);let se=["dashboard","ai","debugging","github","gitlab","jira","system"],ss=[{key:"action-center",href:"/dashboard/action-center",labelKey:"actionCenter",aliases:["attention","tasks","home"],icon:k.f,section:"dashboard",sidebar:!0,common:!0,exact:!0},{key:"apps",href:"/dashboard/apps",labelKey:"apps",aliases:["products","projects","application management"],icon:ek.f,section:"dashboard",sidebar:!0,common:!0},{key:"notifications",href:"/dashboard/notifications",labelKey:"notifications",aliases:["alerts"],icon:ez.f,section:"dashboard",sidebar:!0},{key:"agents",href:"/dashboard/agents",labelKey:"agents",aliases:["workers","jobs"],icon:eE.f,section:"dashboard",sidebar:!0,common:!0,activePrefixes:["/dashboard/agents","/dashboard/jobs"]},{key:"workflows",href:"/dashboard/workflows",labelKey:"workflows",aliases:["automations","workflow runs"],icon:C.f,section:"dashboard",sidebar:!0,common:!0},{key:"commands",href:"/dashboard/commands",labelKey:"commands",aliases:["scripts","command runs"],icon:S.f,section:"dashboard",sidebar:!0,common:!0},{key:"codebases",href:"/dashboard/codebases",labelKey:"codebases",aliases:["repositories","repos"],icon:y.f,section:"dashboard",sidebar:!0,common:!0},{key:"worktrees",href:"/dashboard/worktrees",labelKey:"worktrees",aliases:["branches","checkouts"],icon:g.f,section:"dashboard",sidebar:!0,common:!0},{key:"changes",href:"/dashboard/changes",labelKey:"changes",aliases:["diffs","patches","review","coverage"],icon:eV.f,section:"dashboard",sidebar:!0,common:!0},{key:"builds",href:"/dashboard/builds",labelKey:"builds",aliases:["recent builds","xcode"],icon:w.f,section:"dashboard",sidebar:!0,common:!0},{key:"plans",href:"/ai/plans",labelKey:"plans",aliases:["ai plans"],icon:m.f,section:"ai",sidebar:!0},{key:"sessions",href:"/ai/sessions",labelKey:"sessions",aliases:["ai sessions","chats"],icon:j.f,section:"ai",sidebar:!0},{key:"drafts",href:"/ai/drafts",labelKey:"drafts",aliases:["new run"],icon:eG.f,section:"ai",sidebar:!0,activePrefixes:["/ai/drafts","/ai/drafts/new"]},{key:"usage",href:"/ai/usage",labelKey:"usage",aliases:["tokens"],icon:eP,section:"ai",sidebar:!0},{key:"costs",href:"/ai/costs",labelKey:"costs",aliases:["spend","pricing"],icon:$,section:"ai",sidebar:!0},{key:"skills",href:"/ai/skills",labelKey:"skills",aliases:["capabilities"],icon:eI.f,section:"ai",sidebar:!0},{key:"sse",href:"/debugging/sse",labelKey:"sseEndpoints",aliases:["server sent events","event streams","sse history","sse mocks"],icon:e1.f,section:"debugging",sidebar:!0,activePrefixes:["/debugging/sse"]},{key:"push-notifications",href:"/debugging/push-notifications",labelKey:"pushNotifications",aliases:["apns"],icon:eM.f,section:"debugging",sidebar:!0},{key:"console-logs",href:"/debugging/console-logs",labelKey:"consoleLogs",aliases:["logs"],icon:S.f,section:"debugging",sidebar:!0},{key:"analytics-events",href:"/debugging/analytics-events",labelKey:"analyticsEvents",aliases:["analytics"],icon:eJ.f,section:"debugging",sidebar:!0},{key:"unified-events",href:"/debugging/unified-events",labelKey:"unifiedEvents",aliases:["events"],icon:eU,section:"debugging",sidebar:!0},{key:"crashes",href:"/debugging/crashes",labelKey:"crashes",aliases:["crash reports","dsym","dsyms","symbolication","symbolicate"],icon:eO.f,section:"debugging",sidebar:!0,activePrefixes:["/debugging/crashes"]},{key:"pull-requests",href:"/github/pull-requests",labelKey:"pullRequests",aliases:["prs","github prs"],icon:x.f,section:"github",sidebar:!0,feature:"github"},{key:"actions",href:"/github/actions",labelKey:"actions",aliases:["github actions","ci","pipelines"],icon:N.f,section:"github",sidebar:!0,feature:"github"},{key:"webhooks",href:"/github/webhooks",labelKey:"webhooks",aliases:["github webhooks"],icon:e8.f,section:"github",sidebar:!0,feature:"webhooks"},{key:"comments",href:"/github/comments",labelKey:"comments",aliases:["reviews","review threads"],icon:eX.f,section:"github",sidebar:!0,feature:"github"},{key:"github-cache",href:"/github/cache",labelKey:"cache",aliases:["github cache"],icon:eW.f,section:"github",sidebar:!0,feature:"github"},{key:"actions-cache",href:"/github/actions-cache",labelKey:"actionsCache",aliases:["github actions cache"],icon:eB.f,section:"github",sidebar:!0,features:["github","actionsCache"]},{key:"gitlab-merge-requests",href:"/gitlab/merge-requests",labelKey:"mergeRequests",aliases:["gitlab merge requests","mrs"],icon:v.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-pipelines",href:"/gitlab/pipelines",labelKey:"pipelines",aliases:["gitlab ci","gitlab pipelines"],icon:N.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-webhooks",href:"/gitlab/webhooks",labelKey:"webhooks",aliases:["gitlab webhooks"],icon:e8.f,section:"gitlab",sidebar:!0,features:["gitlab","gitlabWebhooks"]},{key:"gitlab-comments",href:"/gitlab/comments",labelKey:"comments",aliases:["gitlab discussions","gitlab comments"],icon:eX.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"gitlab-cache",href:"/gitlab/cache",labelKey:"cache",aliases:["gitlab cache","gitlab api cache"],icon:eW.f,section:"gitlab",sidebar:!0,feature:"gitlab"},{key:"jira-tickets",href:"/jira/tickets",labelKey:"tickets",aliases:["jira tickets","issues"],icon:eA.f,section:"jira",sidebar:!0,common:!0},{key:"jira-webhooks",href:"/jira/webhooks",labelKey:"webhooks",aliases:["jira webhooks"],icon:e8.f,section:"jira",sidebar:!0,feature:"jiraWebhooks"},{key:"jira-cache",href:"/jira/cache",labelKey:"cache",aliases:["jira cache"],icon:eW.f,section:"jira",sidebar:!0},{key:"status",href:"/system/status",labelKey:"status",aliases:["health","versions","cli health"],icon:eD.f,section:"system",sidebar:!0},{key:"prepare",href:"/system/prepare",labelKey:"prepare",aliases:["preparations","worktree preparations"],icon:eI.f,section:"system",sidebar:!0},{key:"polling",href:"/system/polling",labelKey:"polling",aliases:["pollers"],icon:e4,section:"system",sidebar:!0},{key:"build-data",href:"/system/build-data",labelKey:"buildData",aliases:["derived data","storage"],icon:eH.f,section:"system",sidebar:!0},{key:"tailscale",href:"/system/tailscale",labelKey:"tailscale",aliases:["tailscale serve","funnel","port forwarding","tailnet"],icon:eY,section:"system",sidebar:!0},{key:"provisioning-profiles",href:"/system/provisioning-profiles",labelKey:"provisioningProfiles",aliases:["profiles","signing"],icon:eL.f,section:"system",sidebar:!0},{key:"devices",href:"/system/devices",labelKey:"devices",aliases:["ios devices"],icon:eT.f,section:"system",sidebar:!0},{key:"users",href:"/system/users",labelKey:"users",aliases:["accounts","authentication"],icon:e7,section:"system",sidebar:!0},{key:"api-keys",href:"/system/api-keys",labelKey:"apiKeys",aliases:["tokens","mcp authentication"],icon:eF.f,section:"system",sidebar:!0},{key:"connected-applications",href:"/system/connected-applications",labelKey:"connectedApplications",aliases:["oauth","mcp connections","authorized applications","chatgpt"],icon:e0.f,section:"system",sidebar:!0},{key:"tools",href:"/system/tools",labelKey:"tools",aliases:["mcp tools"],icon:e9.f,section:"system",sidebar:!0},{key:"credentials",href:"/system/credentials",labelKey:"credentials",aliases:["secrets","tokens"],icon:eF.f,section:"system",sidebar:!0},{key:"settings",href:"/system/settings",labelKey:"settings",aliases:["configuration"],icon:e2.f,section:"system",sidebar:!0},{key:"new-workflow",href:"/dashboard/workflows/new",labelKey:"newWorkflow",aliases:["create workflow","automation"],icon:eZ.f,section:"dashboard",sidebar:!1},{key:"new-command",href:"/dashboard/commands/new",labelKey:"newCommand",aliases:["create command","script"],icon:eZ.f,section:"dashboard",sidebar:!1},{key:"new-run",href:"/ai/drafts/new",labelKey:"newRun",aliases:["start run","draft"],icon:N.f,section:"ai",sidebar:!1},{key:"enroll-device",href:"/system/devices/enroll",labelKey:"enrollDevice",aliases:["add device","register device"],icon:e3.f,section:"system",sidebar:!1},{key:"skill-groups",href:"/ai/skills/groups",labelKey:"skillGroups",aliases:["groups"],icon:eI.f,section:"ai",sidebar:!1}];function sa(e,s){return[...e.feature?[e.feature]:[],...e.features??[]].every(e=>s[e])}let si="aide:global-search:recent:v1",st=["PAGES","WORKTREES","TICKETS","PULL_REQUESTS","REPOSITORIES","CODEBASES","WORKFLOWS","GITHUB_ACTIONS","BUILDS","AGENTS_JOBS","PLANS_SESSIONS","COMMANDS_RUNS","SKILLS","DEVICES_PROFILES"],sr={PAGE:e$.f,WORKTREE:g.f,JIRA_TICKET:eA.f,GITHUB_PULL_REQUEST:x.f,REPOSITORY:eN,CODEBASE:ek.f,WORKFLOW:C.f,WORKFLOW_RUN:eC.f,GITHUB_ACTIONS_RUN:eC.f,BUILD:w.f,AGENT:eE.f,AGENT_JOB:ew.f,PLAN:e$.f,SESSION:ew.f,COMMAND:S.f,COMMAND_RUN:S.f,SKILL:eI.f,SKILL_GROUP:ek.f,DEVICE:eT.f,PROVISIONING_PROFILE:eL.f};function sn(){try{let e=JSON.parse(localStorage.getItem(si)??"[]");if(!Array.isArray(e))return[];return e.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.key&&"string"==typeof e.kind&&"string"==typeof e.title&&"string"==typeof e.href&&e.href.startsWith("/")&&!e.href.startsWith("//")&&(null===e.subtitle||"string"==typeof e.subtitle)).slice(0,8)}catch{return[]}}function sl({item:e,nested:a=!1,onSelect:i}){let t=sr[e.kind]??e$.f;return(0,s.jsxs)(ey.J,{className:(0,V.f)("min-h-11 py-2",a&&"ml-5 border-l pl-3"),onSelect:()=>i(e),value:e.key,children:[a?(0,s.jsx)(eS.f,{className:"size-3 text-muted-foreground"}):(0,s.jsx)(t,{className:"size-4 text-muted-foreground"}),(0,s.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"block truncate font-medium",children:e.title}),e.subtitle&&(0,s.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:e.subtitle})]}),e.status&&(0,s.jsx)(W.f,{className:"max-w-28 truncate text-[10px]",variant:"outline",children:e.status.replaceAll("_"," ")})]})}function so({features:e}){let a=(0,f.f)("globalSearch"),t=(0,f.f)("shell"),r=(0,O.U)(),[n,l]=(0,i.useState)(!1),[o,d]=(0,i.useState)(""),[c,u]=(0,i.useState)([]),[h,b]=(0,i.useState)([]),[m,g]=(0,i.useState)(!1),[p,x]=(0,i.useState)(null),[y,v]=(0,i.useState)("⌘K"),w=(0,i.useRef)(0),k=(0,i.useRef)(!1),j=(0,i.useCallback)(e=>{w.current+=1,d(e),u([]),x(null),g(!!e.trim())},[]),N=(0,i.useCallback)(e=>{k.current=e,e&&b(sn()),l(e),e||j("")},[j]);(0,i.useEffect)(()=>{let e=window.setTimeout(()=>v("u"<typeof navigator||/Mac|iPhone|iPad|iPod/i.test(`${navigator.platform??""} ${navigator.userAgent??""}`)?"⌘K":"Ctrl K"),0),s=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLocaleLowerCase()&&(e.preventDefault(),N(!k.current))};return window.addEventListener("keydown",s),()=>{window.clearTimeout(e),window.removeEventListener("keydown",s)}},[N]),(0,i.useEffect)(()=>{let e=o.trim(),s=w.current;if(!n||!e)return;let a=window.setTimeout(()=>{(0,q.W)(`query GlobalSearch($query: String!) {
18
18
  globalSearch(query: $query) {
19
19
  items {
20
20
  key kind group title subtitle href status updatedAt
21
21
  children { key kind group title subtitle href status updatedAt children { key } }
22
22
  }
23
23
  }
24
- }`,{query:e}).then(e=>{s===k.current&&(u(e.globalSearch.items),x(null))}).catch(e=>{s===k.current&&(u([]),x(e instanceof Error?e.message:String(e)))}).finally(()=>{s===k.current&&g(!1)})},150);return()=>window.clearTimeout(a)},[n,o]);let S=(0,i.useMemo)(()=>ss.filter(s=>sa(s,e)).filter(e=>!!o.trim()||e.common).filter(e=>!!o.trim()||!h.some(s=>s.href===e.href)).filter(e=>(function(e,s){let a=e.trim().toLocaleLowerCase().split(/\s+/).filter(Boolean);if(!a.length)return!0;let i=s.join(" ").toLocaleLowerCase();return a.every(e=>i.includes(e))})(o,[t(e.labelKey),e.href,e.section,...e.aliases])).map(e=>({key:`page:${e.key}`,kind:"PAGE",group:"PAGES",title:t(e.labelKey),subtitle:e.href,href:e.href,status:null,updatedAt:null,children:[]})),[e,o,h,t]),C=(0,i.useMemo)(()=>{let e=new Map;for(let s of[...S,...c]){let a=e.get(s.group)??[];a.push(s),e.set(s.group,a)}return st.flatMap(s=>{let a=e.get(s);return a?.length?[{group:s,items:a}]:[]})},[c,S]),E=(0,i.useMemo)(()=>h.map(e=>({...e,group:"PAGES",status:null,updatedAt:null,children:[]})),[h]),$=e=>{b(function(e){let s=sn(),a=[{key:e.key,kind:e.kind,title:e.title,subtitle:e.subtitle,href:e.href},...s.filter(s=>s.href!==e.href)].slice(0,8);try{localStorage.setItem(si,JSON.stringify(a))}catch{}return a}(e)),N(!1),r.push(e.href)},K=C.length>0;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(I.K,{"aria-label":a("open"),className:"h-10 w-10 justify-center gap-2 px-0 @xl:w-48 @xl:justify-start @xl:px-3 @3xl:w-64",onClick:()=>N(!0),title:`${a("open")} (${y})`,type:"button",variant:"outline",children:[(0,s.jsx)(eR.f,{className:"size-4 shrink-0"}),(0,s.jsx)("span",{className:"hidden min-w-0 flex-1 truncate text-left text-muted-foreground @xl:inline",children:a("button")}),(0,s.jsx)("kbd",{className:"hidden rounded border bg-muted px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground @3xl:inline",children:y})]}),(0,s.jsx)(ey.Y,{className:"sm:max-w-2xl",description:a("description"),onOpenChange:N,open:n,title:a("title"),children:(0,s.jsxs)(ey.s,{shouldFilter:!1,children:[(0,s.jsx)(ey.H,{autoFocus:!0,onValueChange:j,placeholder:a("placeholder"),value:o}),(0,s.jsxs)(ey.X,{className:"max-h-none min-h-0 flex-1 sm:max-h-[min(60vh,32rem)]",children:[m&&(0,s.jsx)("div",{"aria-live":"polite",className:"px-3 py-2 text-xs text-muted-foreground",children:a("loading")}),p&&(0,s.jsx)("div",{className:"mx-2 mt-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive",children:a("error")}),!o.trim()&&E.length>0&&(0,s.jsx)(ey.W,{heading:a("groups.recent"),children:E.map(e=>(0,s.jsx)(sl,{item:e,onSelect:$},e.key))}),!m&&!p&&!K&&(0,s.jsx)(ey.e,{children:a("empty")}),C.map(({group:e,items:i})=>(0,s.jsx)(ey.W,{heading:a(`groups.${e}`),children:i.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)(sl,{item:e,onSelect:$}),e.children.length>0&&(0,s.jsx)("div",{children:e.children.map((i,t)=>{let r=e.children[t-1],n=0===t||r?.kind!==i.kind;return(0,s.jsxs)("div",{children:[n&&(0,s.jsx)("div",{className:"ml-10 px-2 pt-1 text-[10px] font-medium tracking-wide text-muted-foreground uppercase",children:"BUILD"===i.kind?a("recentBuilds"):a("recentWorkflowRuns")}),(0,s.jsx)(sl,{item:i,nested:!0,onSelect:$})]},i.key)})})]},e.key))},e)),!o.trim()&&0===E.length&&(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground",children:[(0,s.jsx)(eK.f,{className:"size-3.5"}),a("noRecents")]})]})]})})]})}var sd=e.i(724913);let sc={name:"list-x",size:24,node:[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"m15.5 9.5 5 5",key:"ytk86i"}],["path",{d:"m20.5 9.5-5 5",key:"17o44f"}]]};sc.node;let su=(0,r.f)(sc),sh={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]};sh.node;let sf=(0,r.f)(sh),sb={name:"volume-x",size:24,node:[["path",{d:"M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z",key:"1p7khw"}],["path",{d:"m16.5 14.5 5-5",key:"cul3yw"}],["path",{d:"m16.5 9.5 5 5",key:"1akey5"}]]};sb.node;let sm=(0,r.f)(sb);var sg=e.i(755146),sp=e.i(759659),sx=e.i(940276),sy=e.i(487812),sv=e.i(816484),sk=e.i(171502);function sw({notification:e,arriving:a=!1,onDelete:t,onDismiss:r}){let n=(0,f.f)("notifications"),l=(0,h.X)(),o=e.highlightColor,[d,c]=(0,i.useState)(!1),b=(0,i.useRef)(null),m=(0,q.l)(e.createdAt,"long",{locale:l});return(0,i.useEffect)(()=>()=>{b.current&&window.clearTimeout(b.current)},[]),(0,s.jsxs)(sy.c,{onOpenChange:e=>{e||c(!1)},children:[(0,s.jsx)(sy.f,{asChild:!0,children:(0,s.jsxs)("article",{className:(0,V.f)("group relative w-full overflow-hidden rounded-none border border-x-0 border-t-0 border-l-4 bg-sidebar-accent/30 transition-all duration-[1400ms] hover:bg-sidebar-accent/60",o&&sk.x[o],o&&sk._[o],a&&"motion-safe:animate-in motion-safe:slide-in-from-top-2 bg-primary/20 ring-1 ring-primary/30",a&&o&&sk.Z[o]),children:[(0,s.jsxs)(M.L,{className:"block min-w-0 px-3 py-2.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",href:e.href,children:[(0,s.jsx)("p",{className:"truncate pr-8 text-sm font-medium",children:e.title}),(0,s.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted-foreground",children:e.body}),(0,s.jsx)(sv.f,{className:"mt-1.5 block text-[11px] text-muted-foreground",hover:!1,kind:"relative",value:e.createdAt})]}),r&&(0,s.jsx)(I.K,{"aria-label":n("dismissOne",{title:e.title}),className:"absolute top-1 right-1.5 size-7 opacity-100 transition-opacity md:opacity-0 md:group-hover:opacity-100 md:group-focus-within:opacity-100",onClick:()=>r(e.id),size:"icon-sm",title:n("dismiss"),type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{className:"size-3.5"})})]})}),(0,s.jsxs)(sy.d,{className:"w-64",children:[(0,s.jsx)(sy.U,{className:"font-normal whitespace-normal",children:m}),(0,s.jsx)(sy.M,{}),"BUILD"===e.resourceKind&&(0,s.jsx)(sy.e,{asChild:!0,children:(0,s.jsxs)(M.L,{href:e.href,children:[(0,s.jsx)(K.f,{})," ",n("openBuild")]})}),e.worktreeId&&(0,s.jsx)(sy.e,{asChild:!0,children:(0,s.jsxs)(M.L,{href:(0,sx.P)(e.worktreeId),children:[(0,s.jsx)(g.f,{})," ",n("openWorktree")]})}),(0,s.jsx)(sy.M,{}),(0,s.jsxs)(sy.e,{disabled:!r,onSelect:()=>r?.(e.id),children:[(0,s.jsx)(u.X,{})," ",n("dismiss")]}),(0,s.jsxs)(sy.e,{disabled:!t,onSelect:s=>{if(!d){s.preventDefault(),c(!0),b.current&&window.clearTimeout(b.current),b.current=window.setTimeout(()=>{b.current=null,c(!1)},5e3);return}b.current&&window.clearTimeout(b.current),b.current=null,c(!1),t?.(e.id)},variant:d?"destructive":"default",children:[d?(0,s.jsx)(eg.f,{}):(0,s.jsx)(sp.f,{}),n(d?"confirmDelete":"delete")]})]})]})}var sj=e.i(929592),sN=e.i(731485);function sS(){return(0,s.jsx)(b.P,{surface:"SIDEBAR",children:(0,s.jsx)(sC,{})})}function sC(){let e=(0,f.f)("actionCenter"),a=(0,b.m)();if(!a)return null;let{items:i,totalCount:t,loading:r,loadingMore:n,error:l,hasMore:o,loadMore:d}=a;return(0,s.jsxs)("section",{"aria-label":e("miniLabel"),className:"flex h-full min-h-0 flex-col bg-sidebar",children:[(0,s.jsxs)("div",{className:"flex min-h-9 shrink-0 items-center gap-2 border-b border-sidebar-border px-2.5",children:[(0,s.jsx)(w.f,{className:"size-4"}),(0,s.jsx)(M.L,{className:"min-w-0 flex-1 truncate text-xs font-semibold hover:underline",href:"/dashboard/action-center",children:e("title")}),(0,s.jsx)(U.f,{className:"h-4 min-w-4 px-1.5 py-0 text-[9px] leading-none",variant:"secondary",children:t})]}),(0,s.jsxs)("div",{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain",children:[l&&(0,s.jsx)(sj.J,{className:"m-2 w-auto py-2",variant:"destructive",children:(0,s.jsx)(sj.p,{className:"break-words text-xs",children:l})}),r&&0===i.length?(0,s.jsx)("div",{className:"flex justify-center p-5",children:(0,s.jsx)(z.f,{})}):0!==i.length||l?i.map(e=>(0,s.jsx)(sN.f,{compact:!0,item:e},e.key)):(0,s.jsx)("p",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:e("miniEmpty")}),o&&(0,s.jsx)("div",{className:"p-2",children:(0,s.jsxs)(I.K,{className:"w-full",disabled:n,onClick:()=>void d(),size:"xs",variant:"ghost",children:[n&&(0,s.jsx)(z.f,{})," ",e("loadMore")]})})]})]})}var sE=e.i(302493);let s$="notification-sound-enabled";function sK(){try{let e=window.AudioContext??window.webkitAudioContext;if(!e)return;let s=new e,a=s.createGain(),i=s.createOscillator();i.type="sine",i.frequency.setValueAtTime(660,s.currentTime),i.frequency.exponentialRampToValueAtTime(880,s.currentTime+.12),a.gain.setValueAtTime(1e-4,s.currentTime),a.gain.exponentialRampToValueAtTime(.12,s.currentTime+.015),a.gain.exponentialRampToValueAtTime(1e-4,s.currentTime+.24),i.connect(a),a.connect(s.destination),i.start(),i.stop(s.currentTime+.25),i.addEventListener("ended",()=>void s.close())}catch{}}function sR(){let{setOpenMobile:e}=J(),a=(0,f.f)("shell");return(0,s.jsx)(I.K,{"aria-label":a("closeNotifications"),className:"size-9 touch-manipulation md:hidden",onClick:()=>e(!1),size:"icon",type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{})})}function sL(){let e=(0,f.f)("notifications"),a=(0,f.f)("shell"),[t,r]=(0,i.useState)([]),[n,l]=(0,i.useState)(new Set),[o,d]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),[h,b]=(0,i.useState)(!0),m=(0,i.useRef)(0),g=(0,i.useRef)(!1),p=(0,i.useRef)(new Map),x=(0,i.useRef)(0),y=(0,i.useRef)([]),v=(0,i.useRef)(new Set),k=(0,i.useRef)(null),w=(0,i.useCallback)(()=>k.current?.refresh()??Promise.resolve(),[]),j=(0,i.useCallback)(e=>{y.current=e,r(e)},[]),N=(0,i.useCallback)(async e=>{let s=x.current,a=m.current;try{let i=await (0,O.W)(`query SidebarNotifications {
24
+ }`,{query:e}).then(e=>{s===w.current&&(u(e.globalSearch.items),x(null))}).catch(e=>{s===w.current&&(u([]),x(e instanceof Error?e.message:String(e)))}).finally(()=>{s===w.current&&g(!1)})},150);return()=>window.clearTimeout(a)},[n,o]);let S=(0,i.useMemo)(()=>ss.filter(s=>sa(s,e)).filter(e=>!!o.trim()||e.common).filter(e=>!!o.trim()||!h.some(s=>s.href===e.href)).filter(e=>(function(e,s){let a=e.trim().toLocaleLowerCase().split(/\s+/).filter(Boolean);if(!a.length)return!0;let i=s.join(" ").toLocaleLowerCase();return a.every(e=>i.includes(e))})(o,[t(e.labelKey),e.href,e.section,...e.aliases])).map(e=>({key:`page:${e.key}`,kind:"PAGE",group:"PAGES",title:t(e.labelKey),subtitle:e.href,href:e.href,status:null,updatedAt:null,children:[]})),[e,o,h,t]),C=(0,i.useMemo)(()=>{let e=new Map;for(let s of[...S,...c]){let a=e.get(s.group)??[];a.push(s),e.set(s.group,a)}return st.flatMap(s=>{let a=e.get(s);return a?.length?[{group:s,items:a}]:[]})},[c,S]),E=(0,i.useMemo)(()=>h.map(e=>({...e,group:"PAGES",status:null,updatedAt:null,children:[]})),[h]),$=e=>{b(function(e){let s=sn(),a=[{key:e.key,kind:e.kind,title:e.title,subtitle:e.subtitle,href:e.href},...s.filter(s=>s.href!==e.href)].slice(0,8);try{localStorage.setItem(si,JSON.stringify(a))}catch{}return a}(e)),N(!1),r.push(e.href)},K=C.length>0;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(I.K,{"aria-label":a("open"),className:"h-10 w-10 justify-center gap-2 px-0 @xl:w-48 @xl:justify-start @xl:px-3 @3xl:w-64",onClick:()=>N(!0),title:`${a("open")} (${y})`,type:"button",variant:"outline",children:[(0,s.jsx)(eR.f,{className:"size-4 shrink-0"}),(0,s.jsx)("span",{className:"hidden min-w-0 flex-1 truncate text-left text-muted-foreground @xl:inline",children:a("button")}),(0,s.jsx)("kbd",{className:"hidden rounded border bg-muted px-1.5 py-0.5 font-mono text-[10px] text-muted-foreground @3xl:inline",children:y})]}),(0,s.jsx)(ey.Y,{className:"sm:max-w-2xl",description:a("description"),onOpenChange:N,open:n,title:a("title"),children:(0,s.jsxs)(ey.s,{shouldFilter:!1,children:[(0,s.jsx)(ey.H,{autoFocus:!0,onValueChange:j,placeholder:a("placeholder"),value:o}),(0,s.jsxs)(ey.X,{className:"max-h-none min-h-0 flex-1 sm:max-h-[min(60vh,32rem)]",children:[m&&(0,s.jsx)("div",{"aria-live":"polite",className:"px-3 py-2 text-xs text-muted-foreground",children:a("loading")}),p&&(0,s.jsx)("div",{className:"mx-2 mt-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive",children:a("error")}),!o.trim()&&E.length>0&&(0,s.jsx)(ey.W,{heading:a("groups.recent"),children:E.map(e=>(0,s.jsx)(sl,{item:e,onSelect:$},e.key))}),!m&&!p&&!K&&(0,s.jsx)(ey.e,{children:a("empty")}),C.map(({group:e,items:i})=>(0,s.jsx)(ey.W,{heading:a(`groups.${e}`),children:i.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsx)(sl,{item:e,onSelect:$}),e.children.length>0&&(0,s.jsx)("div",{children:e.children.map((i,t)=>{let r=e.children[t-1],n=0===t||r?.kind!==i.kind;return(0,s.jsxs)("div",{children:[n&&(0,s.jsx)("div",{className:"ml-10 px-2 pt-1 text-[10px] font-medium tracking-wide text-muted-foreground uppercase",children:"BUILD"===i.kind?a("recentBuilds"):a("recentWorkflowRuns")}),(0,s.jsx)(sl,{item:i,nested:!0,onSelect:$})]},i.key)})})]},e.key))},e)),!o.trim()&&0===E.length&&(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 text-xs text-muted-foreground",children:[(0,s.jsx)(eK.f,{className:"size-3.5"}),a("noRecents")]})]})]})})]})}var sd=e.i(724913);let sc={name:"list-x",size:24,node:[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"m15.5 9.5 5 5",key:"ytk86i"}],["path",{d:"m20.5 9.5-5 5",key:"17o44f"}]]};sc.node;let su=(0,r.f)(sc),sh={name:"volume-2",size:24,node:[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]};sh.node;let sf=(0,r.f)(sh),sb={name:"volume-x",size:24,node:[["path",{d:"M11 4.702a.7.7 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.7.7 0 0 0 11 19.298z",key:"1p7khw"}],["path",{d:"m16.5 14.5 5-5",key:"cul3yw"}],["path",{d:"m16.5 9.5 5 5",key:"1akey5"}]]};sb.node;let sm=(0,r.f)(sb);var sg=e.i(755146),sp=e.i(759659),sx=e.i(940276),sy=e.i(487812),sv=e.i(816484),sw=e.i(171502);function sk({notification:e,arriving:a=!1,onDelete:t,onDismiss:r}){let n=(0,f.f)("notifications"),l=(0,h.X)(),o=e.highlightColor,[d,c]=(0,i.useState)(!1),b=(0,i.useRef)(null),m=(0,P.l)(e.createdAt,"long",{locale:l});return(0,i.useEffect)(()=>()=>{b.current&&window.clearTimeout(b.current)},[]),(0,s.jsxs)(sy.c,{onOpenChange:e=>{e||c(!1)},children:[(0,s.jsx)(sy.f,{asChild:!0,children:(0,s.jsxs)("article",{className:(0,V.f)("group relative w-full overflow-hidden rounded-none border border-x-0 border-t-0 border-l-4 bg-sidebar-accent/30 transition-all duration-[1400ms] hover:bg-sidebar-accent/60",o&&sw.x[o],o&&sw._[o],a&&"motion-safe:animate-in motion-safe:slide-in-from-top-2 bg-primary/20 ring-1 ring-primary/30",a&&o&&sw.Z[o]),children:[(0,s.jsxs)(O.L,{className:"block min-w-0 px-3 py-2.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",href:e.href,children:[(0,s.jsx)("p",{className:"truncate pr-8 text-sm font-medium",children:e.title}),(0,s.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs text-muted-foreground",children:e.body}),(0,s.jsx)(sv.f,{className:"mt-1.5 block text-[11px] text-muted-foreground",hover:!1,kind:"relative",value:e.createdAt})]}),r&&(0,s.jsx)(I.K,{"aria-label":n("dismissOne",{title:e.title}),className:"absolute top-1 right-1.5 size-7 opacity-100 transition-opacity md:opacity-0 md:group-hover:opacity-100 md:group-focus-within:opacity-100",onClick:()=>r(e.id),size:"icon-sm",title:n("dismiss"),type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{className:"size-3.5"})})]})}),(0,s.jsxs)(sy.d,{className:"w-64",children:[(0,s.jsx)(sy.U,{className:"font-normal whitespace-normal",children:m}),(0,s.jsx)(sy.M,{}),"BUILD"===e.resourceKind&&(0,s.jsx)(sy.e,{asChild:!0,children:(0,s.jsxs)(O.L,{href:e.href,children:[(0,s.jsx)(K.f,{})," ",n("openBuild")]})}),e.worktreeId&&(0,s.jsx)(sy.e,{asChild:!0,children:(0,s.jsxs)(O.L,{href:(0,sx.P)(e.worktreeId),children:[(0,s.jsx)(g.f,{})," ",n("openWorktree")]})}),(0,s.jsx)(sy.M,{}),(0,s.jsxs)(sy.e,{disabled:!r,onSelect:()=>r?.(e.id),children:[(0,s.jsx)(u.X,{})," ",n("dismiss")]}),(0,s.jsxs)(sy.e,{disabled:!t,onSelect:s=>{if(!d){s.preventDefault(),c(!0),b.current&&window.clearTimeout(b.current),b.current=window.setTimeout(()=>{b.current=null,c(!1)},5e3);return}b.current&&window.clearTimeout(b.current),b.current=null,c(!1),t?.(e.id)},variant:d?"destructive":"default",children:[d?(0,s.jsx)(eg.f,{}):(0,s.jsx)(sp.f,{}),n(d?"confirmDelete":"delete")]})]})]})}var sj=e.i(929592),sN=e.i(731485);function sS(){return(0,s.jsx)(b.P,{surface:"SIDEBAR",children:(0,s.jsx)(sC,{})})}function sC(){let e=(0,f.f)("actionCenter"),a=(0,b.m)();if(!a)return null;let{items:i,totalCount:t,loading:r,loadingMore:n,error:l,hasMore:o,loadMore:d}=a;return(0,s.jsxs)("section",{"aria-label":e("miniLabel"),className:"flex h-full min-h-0 flex-col bg-sidebar",children:[(0,s.jsxs)("div",{className:"flex min-h-9 shrink-0 items-center gap-2 border-b border-sidebar-border px-2.5",children:[(0,s.jsx)(k.f,{className:"size-4"}),(0,s.jsx)(O.L,{className:"min-w-0 flex-1 truncate text-xs font-semibold hover:underline",href:"/dashboard/action-center",children:e("title")}),(0,s.jsx)(W.f,{className:"h-4 min-w-4 px-1.5 py-0 text-[9px] leading-none",variant:"secondary",children:t})]}),(0,s.jsxs)("div",{className:"min-h-0 flex-1 overflow-x-hidden overflow-y-auto overscroll-contain",children:[l&&(0,s.jsx)(sj.J,{className:"m-2 w-auto py-2",variant:"destructive",children:(0,s.jsx)(sj.p,{className:"break-words text-xs",children:l})}),r&&0===i.length?(0,s.jsx)("div",{className:"flex justify-center p-5",children:(0,s.jsx)(z.f,{})}):0!==i.length||l?i.map(e=>(0,s.jsx)(sN.f,{compact:!0,item:e},e.key)):(0,s.jsx)("p",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:e("miniEmpty")}),o&&(0,s.jsx)("div",{className:"p-2",children:(0,s.jsxs)(I.K,{className:"w-full",disabled:n,onClick:()=>void d(),size:"xs",variant:"ghost",children:[n&&(0,s.jsx)(z.f,{})," ",e("loadMore")]})})]})]})}var sE=e.i(302493);let s$="notification-sound-enabled";function sK(){try{let e=window.AudioContext??window.webkitAudioContext;if(!e)return;let s=new e,a=s.createGain(),i=s.createOscillator();i.type="sine",i.frequency.setValueAtTime(660,s.currentTime),i.frequency.exponentialRampToValueAtTime(880,s.currentTime+.12),a.gain.setValueAtTime(1e-4,s.currentTime),a.gain.exponentialRampToValueAtTime(.12,s.currentTime+.015),a.gain.exponentialRampToValueAtTime(1e-4,s.currentTime+.24),i.connect(a),a.connect(s.destination),i.start(),i.stop(s.currentTime+.25),i.addEventListener("ended",()=>void s.close())}catch{}}function sR(){let{setOpenMobile:e}=J(),a=(0,f.f)("shell");return(0,s.jsx)(I.K,{"aria-label":a("closeNotifications"),className:"size-9 touch-manipulation md:hidden",onClick:()=>e(!1),size:"icon",type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{})})}function sL(){let e=(0,f.f)("notifications"),a=(0,f.f)("shell"),[t,r]=(0,i.useState)([]),[n,l]=(0,i.useState)(new Set),[o,d]=(0,i.useState)(!1),[c,u]=(0,i.useState)(!1),[h,b]=(0,i.useState)(!0),m=(0,i.useRef)(0),g=(0,i.useRef)(!1),p=(0,i.useRef)(new Map),x=(0,i.useRef)(0),y=(0,i.useRef)([]),v=(0,i.useRef)(new Set),w=(0,i.useRef)(null),k=(0,i.useCallback)(()=>w.current?.refresh()??Promise.resolve(),[]),j=(0,i.useCallback)(e=>{y.current=e,r(e)},[]),N=(0,i.useCallback)(async e=>{let s=x.current,a=m.current;try{let i=await (0,q.W)(`query SidebarNotifications {
25
25
  sidebarNotifications(limit: 50) { ${sE.h} }
26
26
  actionCenterSettings { confirmClearAllNotifications }
27
- }`,void 0,{signal:e});if(e.aborted)return;if(a===m.current&&b(i.actionCenterSettings?.confirmClearAllNotifications??!0),s!==x.current)return void w();for(let e of(j(i.sidebarNotifications),i.sidebarNotifications))v.current.add(e.id)}catch{}finally{e.aborted||u(!0)}},[w,j]);(0,i.useEffect)(()=>{let e=(0,P.f)(N);k.current=e;let s=(0,O.g)(e=>{e?.initialConnection||w()}),a=p.current,i=window.setTimeout(()=>{let e="true"===window.localStorage.getItem(s$);d(e),g.current=e},0),t=window.setTimeout(()=>void w(),0),r=(0,O.p)().subscribe({query:"subscription NotificationClearSettingsChanged { actionCenterSettingsChanged { confirmClearAllNotifications } }"},{next:e=>{let s=e.data?.actionCenterSettingsChanged;s&&(++m.current,b(s.confirmClearAllNotifications))},error:()=>void 0,complete:()=>void 0}),n=(0,O.p)().subscribe({query:`subscription NotificationsSidebarChanged {
27
+ }`,void 0,{signal:e});if(e.aborted)return;if(a===m.current&&b(i.actionCenterSettings?.confirmClearAllNotifications??!0),s!==x.current)return void k();for(let e of(j(i.sidebarNotifications),i.sidebarNotifications))v.current.add(e.id)}catch{}finally{e.aborted||u(!0)}},[k,j]);(0,i.useEffect)(()=>{let e=(0,_.f)(N);w.current=e;let s=(0,q.g)(e=>{e?.initialConnection||k()}),a=p.current,i=window.setTimeout(()=>{let e="true"===window.localStorage.getItem(s$);d(e),g.current=e},0),t=window.setTimeout(()=>void k(),0),r=(0,q.p)().subscribe({query:"subscription NotificationClearSettingsChanged { actionCenterSettingsChanged { confirmClearAllNotifications } }"},{next:e=>{let s=e.data?.actionCenterSettingsChanged;s&&(++m.current,b(s.confirmClearAllNotifications))},error:()=>void 0,complete:()=>void 0}),n=(0,q.p)().subscribe({query:`subscription NotificationsSidebarChanged {
28
28
  notificationsChanged {
29
29
  kind notificationId
30
30
  notification { ${sE.h} }
31
31
  }
32
- }`},{next:e=>{let s=e.data?.notificationsChanged;if(!s||"PREFERENCES_UPDATED"===s.kind||"DEVICES_CHANGED"===s.kind)return;++x.current;let a=s.notification;if("CREATED"===s.kind&&a){let e=!v.current.has(a.id);if(v.current.add(a.id),v.current.size>1e3&&v.current.delete(v.current.values().next().value),e&&a.browserRequested&&function(e){if("Notification"in window&&"granted"===window.Notification.permission)try{let s=new window.Notification(e.title,{body:e.body,icon:"/icon-192.png",tag:`browser:${e.id}`});s.onclick=()=>{window.focus(),window.location.assign(e.href),s.close()}}catch{}}(a),a.sidebarRequested){j([a,...y.current.filter(e=>e.id!==a.id)].slice(0,50)),l(e=>new Set(e).add(a.id)),window.clearTimeout(p.current.get(a.id));let s=window.setTimeout(()=>{p.current.delete(a.id),l(e=>{let s=new Set(e);return s.delete(a.id),s})},1400);p.current.set(a.id,s),e&&g.current&&sK()}return}if("SIDEBAR_CLEARED"===s.kind||"HISTORY_CLEARED"===s.kind)return void j([]);if(("DISMISSED"===s.kind||"DELETED"===s.kind)&&s.notificationId){let e=y.current;if(!e.some(e=>e.id===s.notificationId))return;j(e.filter(e=>e.id!==s.notificationId)),50===e.length&&w();return}w()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),window.clearTimeout(i),n(),r(),s(),e.dispose(),k.current===e&&(k.current=null),a.forEach(e=>window.clearTimeout(e)),a.clear()}},[N,w,j]);let S=async e=>{++x.current;let s=50===y.current.length;j(y.current.filter(s=>s.id!==e));try{await (0,O.W)("mutation DismissNotification($id: ID!) { dismissNotification(id: $id) }",{id:e}),s&&await w()}catch{await w()}},C=async e=>{++x.current;let s=50===y.current.length;j(y.current.filter(s=>s.id!==e));try{await (0,O.W)(`mutation DeleteSidebarNotification($selection: NotificationSelectionInput!) {
32
+ }`},{next:e=>{let s=e.data?.notificationsChanged;if(!s||"PREFERENCES_UPDATED"===s.kind||"DEVICES_CHANGED"===s.kind)return;++x.current;let a=s.notification;if("CREATED"===s.kind&&a){let e=!v.current.has(a.id);if(v.current.add(a.id),v.current.size>1e3&&v.current.delete(v.current.values().next().value),e&&a.browserRequested&&function(e){if("Notification"in window&&"granted"===window.Notification.permission)try{let s=new window.Notification(e.title,{body:e.body,icon:"/icon-192.png",tag:`browser:${e.id}`});s.onclick=()=>{window.focus(),window.location.assign(e.href),s.close()}}catch{}}(a),a.sidebarRequested){j([a,...y.current.filter(e=>e.id!==a.id)].slice(0,50)),l(e=>new Set(e).add(a.id)),window.clearTimeout(p.current.get(a.id));let s=window.setTimeout(()=>{p.current.delete(a.id),l(e=>{let s=new Set(e);return s.delete(a.id),s})},1400);p.current.set(a.id,s),e&&g.current&&sK()}return}if("SIDEBAR_CLEARED"===s.kind||"HISTORY_CLEARED"===s.kind)return void j([]);if(("DISMISSED"===s.kind||"DELETED"===s.kind)&&s.notificationId){let e=y.current;if(!e.some(e=>e.id===s.notificationId))return;j(e.filter(e=>e.id!==s.notificationId)),50===e.length&&k();return}k()},error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),window.clearTimeout(i),n(),r(),s(),e.dispose(),w.current===e&&(w.current=null),a.forEach(e=>window.clearTimeout(e)),a.clear()}},[N,k,j]);let S=async e=>{++x.current;let s=50===y.current.length;j(y.current.filter(s=>s.id!==e));try{await (0,q.W)("mutation DismissNotification($id: ID!) { dismissNotification(id: $id) }",{id:e}),s&&await k()}catch{await k()}},C=async e=>{++x.current;let s=50===y.current.length;j(y.current.filter(s=>s.id!==e));try{await (0,q.W)(`mutation DeleteSidebarNotification($selection: NotificationSelectionInput!) {
33
33
  deleteNotifications(selection: $selection)
34
- }`,{selection:{ids:[e]}}),s&&await w()}catch{await w()}},E=async()=>{let e=x.current;try{await (0,O.W)(`mutation DismissAllSidebarNotifications {
34
+ }`,{selection:{ids:[e]}}),s&&await k()}catch{await k()}},E=async()=>{let e=x.current;try{await (0,q.W)(`mutation DismissAllSidebarNotifications {
35
35
  dismissAllSidebarNotifications
36
- }`),e===x.current?(++x.current,j([])):await w()}catch{await w()}},$=(0,s.jsx)(I.K,{"aria-label":e("clearAll"),disabled:!t.length,onClick:h?void 0:()=>void E(),size:"icon-sm",title:e("clearAll"),type:"button",variant:"ghost",children:(0,s.jsx)(su,{})});return(0,s.jsxs)(Y,{collapsible:"offcanvas",mobileDescription:a("notificationsDescription"),mobileTitle:a("notifications"),side:"right",children:[(0,s.jsx)(Z,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,s.jsxs)("div",{className:"flex min-h-10 items-center gap-1 px-2",children:[(0,s.jsx)(M.L,{className:"mr-auto text-sm font-semibold hover:underline",href:"/dashboard/notifications",children:a("notifications")}),(0,s.jsx)(I.K,{"aria-label":e(o?"mute":"unmute"),onClick:()=>{let e=!o;d(e),g.current=e,window.localStorage.setItem(s$,String(e)),e&&sK()},size:"icon-sm",title:e(o?"mute":"unmute"),type:"button",variant:"ghost",children:o?(0,s.jsx)(sf,{}):(0,s.jsx)(sm,{})}),h?(0,s.jsxs)(sg.G,{children:[(0,s.jsx)(sg.X,{asChild:!0,children:$}),(0,s.jsxs)(sg.L,{align:"end",className:"w-64",children:[(0,s.jsx)(sg.B,{className:"font-normal whitespace-normal leading-snug",children:e("clearSidebarDescription")}),(0,s.jsx)(sg.U,{}),(0,s.jsxs)(sg.r,{onSelect:()=>void E(),variant:"destructive",children:[(0,s.jsx)(su,{})," ",e("clearSidebar")]})]})]}):$,(0,s.jsx)(sR,{})]})}),(0,s.jsx)(es,{className:"min-h-0 overflow-hidden p-0",children:(0,s.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,s.jsx)("div",{className:"min-h-0 flex-[2_1_0%] overflow-y-auto overscroll-contain","data-slot":"notifications-feed",children:(0,s.jsxs)("div",{className:"flex flex-col gap-0","aria-live":"polite",children:[t.map(e=>(0,s.jsx)(sw,{arriving:n.has(e.id),notification:e,onDelete:e=>void C(e),onDismiss:e=>void S(e)},e.id)),c&&0===t.length&&(0,s.jsx)("p",{className:"px-3 py-8 text-center text-sm text-muted-foreground",children:e("sidebarEmpty")})]})}),(0,s.jsx)("div",{className:"min-h-0 flex-[1_1_0%] overflow-hidden border-t border-sidebar-border","data-slot":"mini-action-center",children:(0,s.jsx)(sS,{})})]})})]})}var sT=e.i(746336),sI=e.i(560972),sI=sI;function sA({className:e,...a}){return(0,s.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,V.f)(e),...a})}function sD({className:e,...a}){return(0,s.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,V.f)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",e),...a})}function sz({className:e,...a}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,V.f)("inline-flex items-center gap-1",e),...a})}function sM({asChild:e,className:a,...i}){let t=e?B.f.Root:"a";return(0,s.jsx)(t,{"data-slot":"breadcrumb-link",className:(0,V.f)("transition-colors hover:text-foreground",a),...i})}function sO({className:e,...a}){return(0,s.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,V.f)("font-normal text-foreground",e),...a})}function sq({children:e,className:a,...i}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,V.f)("[&>svg]:size-3.5",a),...i,children:e??(0,s.jsx)(sT.f,{})})}function sP({className:e,...a}){return(0,s.jsxs)("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:(0,V.f)("flex size-5 items-center justify-center [&>svg]:size-4",e),...a,children:[(0,s.jsx)(sI.f,{}),(0,s.jsx)("span",{className:"sr-only",children:"More"})]})}let s_={"action-center":"actionCenter",ai:"ai",actions:"actions","actions-cache":"actionsCache",agents:"agents","analytics-events":"analyticsEvents","api-keys":"apiKeys",apps:"apps","build-data":"buildData",builds:"builds",breakpoints:"breakpoints",cache:"cache",changes:"changes",codebases:"codebases",comments:"comments",commands:"commands","connected-applications":"connectedApplications",configurations:"configurations","console-logs":"consoleLogs",costs:"costs",coverage:"coverage",crashes:"crashes",credentials:"credentials",dashboard:"dashboard",debugging:"debugging",devices:"devices",drafts:"drafts",dsyms:"dsyms",edit:"edit",enroll:"enroll",entries:"entries",groups:"groups",history:"history",github:"github",gitlab:"gitlab",jira:"jira","merge-requests":"mergeRequests",mocks:"mocks",new:"new",notifications:"notifications",plans:"plans",pipelines:"pipelines",polling:"polling","provisioning-profiles":"provisioningProfiles",prepare:"prepare","pull-requests":"pullRequests","push-notifications":"pushNotifications",repositories:"repositories",runs:"runs",sessions:"sessions",settings:"settings",storage:"scriptStorage",skills:"skills",status:"status",sync:"sync",system:"system",sse:"sseEndpoints",tailscale:"tailscale",tickets:"tickets",tools:"tools","unified-events":"unifiedEvents",usage:"usage",users:"users",webhooks:"webhooks",workflows:"workflows",worktrees:"worktrees"},sU={"/dashboard/jobs":{href:"/dashboard/agents",labelKey:"agents"}},sW=new Set([...ss.map(e=>e.href),"/dashboard/builds/configurations","/dashboard/codebases/repositories","/dashboard/commands/new","/dashboard/commands/runs","/debugging/crashes/dsyms","/system/devices/enroll","/system/connected-applications","/gitlab/cache","/gitlab/comments","/gitlab/merge-requests","/gitlab/pipelines","/gitlab/webhooks","/github/cache/entries","/jira/cache/tickets","/jira/tickets","/ai/drafts/new","/ai/skills/groups","/ai/skills/sync","/debugging/sse/breakpoints","/debugging/sse/history","/debugging/sse/mocks","/debugging/sse/new","/debugging/sse/storage","/dashboard/workflows/new","/dashboard/workflows/runs"]),sB={"/dashboard/builds/configurations":"/dashboard/builds?view=configurations"},sG=[/^\/dashboard\/builds\/[^/]+\/coverage$/,/^\/dashboard\/commands\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/,/^\/dashboard\/workflows\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/,/^\/debugging\/sse\/(?!new(?:\/|$)|breakpoints(?:\/|$)|history(?:\/|$)|storage(?:\/|$))[^/]+\/mocks$/],sV=new Set(["/dashboard/action-center","/github/actions","/github/actions-cache","/dashboard/agents","/debugging/analytics-events","/system/api-keys","/dashboard/apps","/system/build-data","/dashboard/builds","/dashboard/changes","/dashboard/codebases","/dashboard/commands","/dashboard/commands/new","/github/comments","/debugging/console-logs","/ai/costs","/debugging/crashes","/debugging/crashes/dsyms","/system/credentials","/system/devices","/system/devices/enroll","/ai/drafts","/gitlab/cache","/gitlab/comments","/gitlab/merge-requests","/gitlab/pipelines","/gitlab/webhooks","/github/cache","/jira/cache","/jira/tickets","/dashboard/notifications","/ai/plans","/system/polling","/system/prepare","/system/provisioning-profiles","/github/pull-requests","/debugging/push-notifications","/ai/sessions","/debugging/sse","/debugging/sse/breakpoints","/debugging/sse/history","/debugging/sse/new","/debugging/sse/storage","/system/settings","/system/status","/system/tailscale","/ai/skills","/ai/skills/groups","/system/tools","/debugging/unified-events","/ai/usage","/system/users","/jira/webhooks","/github/webhooks","/dashboard/workflows","/dashboard/workflows/new","/dashboard/worktrees"]),sH=[/^\/dashboard\/apps\/[^/]+$/,/^\/dashboard\/agents\/[^/]+$/,/^\/dashboard\/builds\/(?!configurations$)[^/]+$/,/^\/dashboard\/codebases\/(?!repositories(?:\/|$))[^/]+$/,/^\/debugging\/crashes\/(?!dsyms$)[^/]+$/,/^\/debugging\/crashes\/dsyms\/[^/]+$/,/^\/system\/devices\/(?!enroll$)[^/]+$/,/^\/github\/cache\/entries\/[^/]+$/,/^\/jira\/cache\/tickets\/[^/]+$/,/^\/jira\/tickets\/[^/]+$/,/^\/ai\/plans\/[^/]+$/,/^\/system\/provisioning-profiles\/[^/]+$/,/^\/ai\/sessions\/[^/]+$/,/^\/debugging\/sse\/(?!new$|breakpoints$|history$|storage$)[^/]+$/,/^\/debugging\/sse\/(?!new$|breakpoints$|history$|storage$)[^/]+\/mocks$/,/^\/ai\/skills\/(?!groups(?:\/|$)|sync(?:\/|$))[^/]+$/,/^\/ai\/skills\/groups\/[^/]+$/,/^\/dashboard\/workflows\/(?!new$|runs(?:\/|$))[^/]+$/,/^\/dashboard\/worktrees\/[^/]+$/],sF=[...sH,/^\/dashboard\/builds\/configurations\/[^/]+$/,/^\/dashboard\/codebases\/repositories\/[^/]+$/,/^\/dashboard\/commands\/(?!new$|runs$)[^/]+$/,/^\/dashboard\/commands\/runs\/[^/]+$/,/^\/dashboard\/jobs\/[^/]+$/,/^\/dashboard\/workflows\/runs\/[^/]+$/,/^\/ai\/skills\/sync\/[^/]+$/,/^\/debugging\/sse\/history\/[^/]+$/,/^\/github\/pull-requests\/[^/]+\/[^/]+\/[^/]+$/,/^\/gitlab\/merge-requests\/[^/]+(?:\/[^/]+)?$/];function sX(e){try{return decodeURIComponent(e)}catch{return e}}var sJ=e.i(605317);function sQ({children:e,currentUser:t,leftDefaultOpen:r,rightDefaultOpen:n}){let l=function(e){let[s,t]=(0,i.useState)({actionsCache:!1,webhooks:!1,jiraWebhooks:!1,github:!1,gitlab:!1,gitlabWebhooks:!1});return(0,i.useEffect)(()=>{let e=(0,P.f)(async e=>{let s=await (0,O.W)(`query NavigationFeatures {
36
+ }`),e===x.current?(++x.current,j([])):await k()}catch{await k()}},$=(0,s.jsx)(I.K,{"aria-label":e("clearAll"),disabled:!t.length,onClick:h?void 0:()=>void E(),size:"icon-sm",title:e("clearAll"),type:"button",variant:"ghost",children:(0,s.jsx)(su,{})});return(0,s.jsxs)(Y,{collapsible:"offcanvas",mobileDescription:a("notificationsDescription"),mobileTitle:a("notifications"),side:"right",children:[(0,s.jsx)(Z,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,s.jsxs)("div",{className:"flex min-h-10 items-center gap-1 px-2",children:[(0,s.jsx)(O.L,{className:"mr-auto text-sm font-semibold hover:underline",href:"/dashboard/notifications",children:a("notifications")}),(0,s.jsx)(I.K,{"aria-label":e(o?"mute":"unmute"),onClick:()=>{let e=!o;d(e),g.current=e,window.localStorage.setItem(s$,String(e)),e&&sK()},size:"icon-sm",title:e(o?"mute":"unmute"),type:"button",variant:"ghost",children:o?(0,s.jsx)(sf,{}):(0,s.jsx)(sm,{})}),h?(0,s.jsxs)(sg.G,{children:[(0,s.jsx)(sg.X,{asChild:!0,children:$}),(0,s.jsxs)(sg.L,{align:"end",className:"w-64",children:[(0,s.jsx)(sg.B,{className:"font-normal whitespace-normal leading-snug",children:e("clearSidebarDescription")}),(0,s.jsx)(sg.U,{}),(0,s.jsxs)(sg.r,{onSelect:()=>void E(),variant:"destructive",children:[(0,s.jsx)(su,{})," ",e("clearSidebar")]})]})]}):$,(0,s.jsx)(sR,{})]})}),(0,s.jsx)(es,{className:"min-h-0 overflow-hidden p-0",children:(0,s.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,s.jsx)("div",{className:"min-h-0 flex-[2_1_0%] overflow-y-auto overscroll-contain","data-slot":"notifications-feed",children:(0,s.jsxs)("div",{className:"flex flex-col gap-0","aria-live":"polite",children:[t.map(e=>(0,s.jsx)(sk,{arriving:n.has(e.id),notification:e,onDelete:e=>void C(e),onDismiss:e=>void S(e)},e.id)),c&&0===t.length&&(0,s.jsx)("p",{className:"px-3 py-8 text-center text-sm text-muted-foreground",children:e("sidebarEmpty")})]})}),(0,s.jsx)("div",{className:"min-h-0 flex-[1_1_0%] overflow-hidden border-t border-sidebar-border","data-slot":"mini-action-center",children:(0,s.jsx)(sS,{})})]})})]})}var sT=e.i(746336),sI=e.i(560972),sI=sI;function sA({className:e,...a}){return(0,s.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:(0,V.f)(e),...a})}function sD({className:e,...a}){return(0,s.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,V.f)("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground",e),...a})}function sz({className:e,...a}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,V.f)("inline-flex items-center gap-1",e),...a})}function sM({asChild:e,className:a,...i}){let t=e?G.f.Root:"a";return(0,s.jsx)(t,{"data-slot":"breadcrumb-link",className:(0,V.f)("transition-colors hover:text-foreground",a),...i})}function sO({className:e,...a}){return(0,s.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,V.f)("font-normal text-foreground",e),...a})}function sq({children:e,className:a,...i}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,V.f)("[&>svg]:size-3.5",a),...i,children:e??(0,s.jsx)(sT.f,{})})}function sP({className:e,...a}){return(0,s.jsxs)("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:(0,V.f)("flex size-5 items-center justify-center [&>svg]:size-4",e),...a,children:[(0,s.jsx)(sI.f,{}),(0,s.jsx)("span",{className:"sr-only",children:"More"})]})}let s_={"action-center":"actionCenter",ai:"ai",actions:"actions","actions-cache":"actionsCache",agents:"agents","analytics-events":"analyticsEvents","api-keys":"apiKeys",apps:"apps","build-data":"buildData",builds:"builds",breakpoints:"breakpoints",cache:"cache",changes:"changes",codebases:"codebases",comments:"comments",commands:"commands","connected-applications":"connectedApplications",configurations:"configurations","console-logs":"consoleLogs",costs:"costs",coverage:"coverage",crashes:"crashes",credentials:"credentials",dashboard:"dashboard",debugging:"debugging",devices:"devices",drafts:"drafts",dsyms:"dsyms",edit:"edit",enroll:"enroll",entries:"entries",groups:"groups",history:"history",github:"github",gitlab:"gitlab",jira:"jira","merge-requests":"mergeRequests",mocks:"mocks",new:"new",notifications:"notifications",plans:"plans",pipelines:"pipelines",polling:"polling","provisioning-profiles":"provisioningProfiles",prepare:"prepare","pull-requests":"pullRequests","push-notifications":"pushNotifications",repositories:"repositories",runs:"runs",sessions:"sessions",settings:"settings",storage:"scriptStorage",skills:"skills",status:"status",sync:"sync",system:"system",sse:"sseEndpoints",tailscale:"tailscale",tickets:"tickets",tools:"tools","unified-events":"unifiedEvents",usage:"usage",users:"users",webhooks:"webhooks",workflows:"workflows",worktrees:"worktrees"},sU={"/dashboard/jobs":{href:"/dashboard/agents",labelKey:"agents"}},sW=new Set([...ss.map(e=>e.href),"/dashboard/builds/configurations","/dashboard/codebases/repositories","/dashboard/commands/new","/dashboard/commands/runs","/debugging/crashes/dsyms","/system/devices/enroll","/system/connected-applications","/gitlab/cache","/gitlab/comments","/gitlab/merge-requests","/gitlab/pipelines","/gitlab/webhooks","/github/cache/entries","/jira/cache/tickets","/jira/tickets","/ai/drafts/new","/ai/skills/groups","/ai/skills/sync","/debugging/sse/breakpoints","/debugging/sse/history","/debugging/sse/mocks","/debugging/sse/new","/debugging/sse/storage","/dashboard/workflows/new","/dashboard/workflows/runs"]),sB={"/dashboard/builds/configurations":"/dashboard/builds?view=configurations"},sG=[/^\/dashboard\/builds\/[^/]+\/coverage$/,/^\/dashboard\/commands\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/,/^\/dashboard\/workflows\/(?!new(?:\/|$)|runs(?:\/|$))[^/]+\/edit$/,/^\/debugging\/sse\/(?!new(?:\/|$)|breakpoints(?:\/|$)|history(?:\/|$)|storage(?:\/|$))[^/]+\/mocks$/],sV=new Set(["/dashboard/action-center","/github/actions","/github/actions-cache","/dashboard/agents","/debugging/analytics-events","/system/api-keys","/dashboard/apps","/system/build-data","/dashboard/builds","/dashboard/changes","/dashboard/codebases","/dashboard/commands","/dashboard/commands/new","/github/comments","/debugging/console-logs","/ai/costs","/debugging/crashes","/debugging/crashes/dsyms","/system/credentials","/system/devices","/system/devices/enroll","/ai/drafts","/gitlab/cache","/gitlab/comments","/gitlab/merge-requests","/gitlab/pipelines","/gitlab/webhooks","/github/cache","/jira/cache","/jira/tickets","/dashboard/notifications","/ai/plans","/system/polling","/system/prepare","/system/provisioning-profiles","/github/pull-requests","/debugging/push-notifications","/ai/sessions","/debugging/sse","/debugging/sse/breakpoints","/debugging/sse/history","/debugging/sse/new","/debugging/sse/storage","/system/settings","/system/status","/system/tailscale","/ai/skills","/ai/skills/groups","/system/tools","/debugging/unified-events","/ai/usage","/system/users","/jira/webhooks","/github/webhooks","/dashboard/workflows","/dashboard/workflows/new","/dashboard/worktrees"]),sH=[/^\/dashboard\/apps\/[^/]+$/,/^\/dashboard\/agents\/[^/]+$/,/^\/dashboard\/builds\/(?!configurations$)[^/]+$/,/^\/dashboard\/codebases\/(?!repositories(?:\/|$))[^/]+$/,/^\/debugging\/crashes\/(?!dsyms$)[^/]+$/,/^\/debugging\/crashes\/dsyms\/[^/]+$/,/^\/system\/devices\/(?!enroll$)[^/]+$/,/^\/github\/cache\/entries\/[^/]+$/,/^\/jira\/cache\/tickets\/[^/]+$/,/^\/jira\/tickets\/[^/]+$/,/^\/ai\/plans\/[^/]+$/,/^\/system\/provisioning-profiles\/[^/]+$/,/^\/ai\/sessions\/[^/]+$/,/^\/debugging\/sse\/(?!new$|breakpoints$|history$|storage$)[^/]+$/,/^\/debugging\/sse\/(?!new$|breakpoints$|history$|storage$)[^/]+\/mocks$/,/^\/ai\/skills\/(?!groups(?:\/|$)|sync(?:\/|$))[^/]+$/,/^\/ai\/skills\/groups\/[^/]+$/,/^\/dashboard\/workflows\/(?!new$|runs(?:\/|$))[^/]+$/,/^\/dashboard\/worktrees\/[^/]+$/],sF=[...sH,/^\/dashboard\/builds\/configurations\/[^/]+$/,/^\/dashboard\/codebases\/repositories\/[^/]+$/,/^\/dashboard\/commands\/(?!new$|runs$)[^/]+$/,/^\/dashboard\/commands\/runs\/[^/]+$/,/^\/dashboard\/jobs\/[^/]+$/,/^\/dashboard\/workflows\/runs\/[^/]+$/,/^\/ai\/skills\/sync\/[^/]+$/,/^\/debugging\/sse\/history\/[^/]+$/,/^\/github\/pull-requests\/[^/]+\/[^/]+\/[^/]+$/,/^\/gitlab\/merge-requests\/[^/]+(?:\/[^/]+)?$/];function sX(e){try{return decodeURIComponent(e)}catch{return e}}var sJ=e.i(605317);function sQ({children:e,currentUser:t,leftDefaultOpen:r,rightDefaultOpen:n}){let l=function(e){let[s,t]=(0,i.useState)({actionsCache:!1,webhooks:!1,jiraWebhooks:!1,github:!1,gitlab:!1,gitlabWebhooks:!1});return(0,i.useEffect)(()=>{let e=(0,_.f)(async e=>{let s=await (0,q.W)(`query NavigationFeatures {
37
37
  cacheServerSettings { configured }
38
38
  sourceControlIntegrationState {
39
39
  github { configured webhooksEnabled }
40
40
  gitlab { configured webhooksEnabled }
41
41
  }
42
42
  jiraWebhooksEnabled
43
- }`,void 0,{signal:e});e.aborted||t({actionsCache:s.cacheServerSettings.configured,webhooks:s.sourceControlIntegrationState.github.webhooksEnabled,jiraWebhooks:s.jiraWebhooksEnabled,github:s.sourceControlIntegrationState.github.configured,gitlab:s.sourceControlIntegrationState.gitlab.configured,gitlabWebhooks:s.sourceControlIntegrationState.gitlab.webhooksEnabled})}),s=()=>{e.refresh().catch(()=>void 0)};s();let i=(0,a.G)(null,s);return()=>{e.dispose(),i(),(0,a.X)()}},[e]),s}(t.email);return(0,s.jsxs)(Q,{className:"h-dvh min-h-0 overflow-hidden",cookieName:"ade_sidebar_left",defaultOpen:r,children:[(0,s.jsx)(s6,{currentUser:t,features:l}),(0,s.jsx)(sY,{features:l,rightDefaultOpen:n,children:e})]})}function sY({children:e,features:a,rightDefaultOpen:i}){let t=J();return(0,s.jsx)(Q,{className:"h-full min-h-0 min-w-0 flex-1 overflow-hidden",cookieName:"ade_sidebar_right",defaultOpen:i,keyboardShortcut:null,children:(0,s.jsx)(sZ,{features:a,leftSidebar:t,children:e})})}function sZ({children:e,features:a,leftSidebar:i}){let t=J();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative flex h-full min-h-0 min-w-0 w-full flex-1 flex-col bg-background","data-slot":"sidebar-inset",children:[(0,s.jsx)(s0,{features:a,leftSidebar:i,rightSidebar:t}),(0,s.jsx)("main",{className:"min-h-0 w-full flex-1 overflow-y-auto overscroll-contain [-webkit-overflow-scrolling:touch]",children:(0,s.jsx)("div",{className:"w-full p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] sm:p-6 sm:pb-[calc(1.5rem+env(safe-area-inset-bottom))] [&>*]:!mx-0 [&>*]:!w-full [&>*]:!max-w-none","data-slot":"page-content",children:e})})]}),(0,s.jsx)(sL,{})]})}function s0({features:e,leftSidebar:a,rightSidebar:i}){let t=(0,f.f)("shell"),r=a.isMobile?a.openMobile:a.open,n=i.isMobile?i.openMobile:i.open;return(0,s.jsxs)("header",{className:"sticky top-0 z-30 shrink-0 border-b bg-background/90 backdrop-blur-xl backdrop-saturate-150 supports-backdrop-filter:bg-background/70",children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"h-[env(safe-area-inset-top)]"}),(0,s.jsxs)("div",{className:"@container flex h-14 items-center gap-2 pr-[max(0.75rem,env(safe-area-inset-right))] pl-[max(0.75rem,env(safe-area-inset-left))] sm:pr-[max(1rem,env(safe-area-inset-right))] sm:pl-[max(1rem,env(safe-area-inset-left))]",children:[(0,s.jsx)(s5,{expanded:r,hideLabel:t("hideNavigation"),onClick:a.toggleSidebar,showLabel:t("showNavigation"),side:"left"}),(0,s.jsx)(s2,{}),(0,s.jsx)(ev,{}),(0,s.jsx)(so,{features:e}),(0,s.jsx)(s5,{expanded:n,hideLabel:t("hideNotifications"),onClick:i.toggleSidebar,showLabel:t("showNotifications"),side:"right"})]})]})}function s1({breadcrumb:e,className:a}){let i=e.isCurrent?"block min-w-0 truncate":"block max-w-48 truncate lg:max-w-64",t=e.isLoading?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"sr-only",children:e.label}),(0,s.jsx)("span",{"aria-hidden":"true","data-slot":"breadcrumb-loading",className:"inline-block h-4 w-24 animate-pulse rounded-md bg-muted align-middle motion-reduce:animate-none"})]}):e.label;return(0,s.jsx)(sz,{"aria-busy":e.isLoading||void 0,className:`min-w-0 ${a??""}`,children:e.isCurrent?(0,s.jsx)(sO,{className:i,children:t}):e.href&&!e.isLoading?(0,s.jsx)(sM,{asChild:!0,className:i,children:(0,s.jsx)(M.L,{href:e.href,children:e.label})}):(0,s.jsx)("span",{className:`${i} text-muted-foreground`,children:t})})}function s2(){let e=(0,M.x)(),a=(0,f.f)("shell"),t=function(e,s,a={}){let i=(e.split(/[?#]/,1)[0]||"/").split("/").filter(Boolean),t=i.map((e,t)=>{let r=t===i.length-1,n=`/${i.slice(0,t+1).join("/")}`,l=sU[n],o=l?.labelKey??function(e,s,a){let i=s_[e];if(i)return 0===s||sW.has(a)||sG.some(e=>e.test(a))?i:void 0}(e,t,n),d=`/${i.slice(0,t+1).map(e=>encodeURIComponent(sX(e))).join("/")}`,c=!o&&sF.some(e=>e.test(n)),u=c&&void 0===a[d];return{href:r?void 0:l?.href??sB[n]??(sV.has(n)||sH.some(e=>e.test(n))?n:void 0),isCurrent:r,label:a[d]??(o?s(o):c?s(u?"loadingBreadcrumb":"details"):sX(e)),...u?{isLoading:!0}:{}}});return 0===t.length&&t.push({isCurrent:!0,label:s("actionCenter")}),t}(e,e=>a(e),(0,sd.W)()),r=t.length-1;return(0,s.jsx)(sA,{"aria-label":a("breadcrumbLabel"),className:"min-w-0 flex-1 overflow-hidden pl-1",children:(0,s.jsx)(sD,{className:"flex-nowrap overflow-hidden",children:t.length<=2?t.map((e,a)=>(0,s.jsxs)(i.Fragment,{children:[a>0&&(0,s.jsx)(sq,{}),(0,s.jsx)(s1,{breadcrumb:e,className:a===r?"flex-1":"shrink-0"})]},`${e.label}:${a}`)):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(s1,{breadcrumb:t[0],className:"shrink-0"}),(0,s.jsx)(sq,{className:"sm:hidden"}),(0,s.jsx)(sz,{className:"sm:hidden",children:(0,s.jsx)(sP,{})}),(0,s.jsx)(sq,{className:"sm:hidden"}),t.slice(1,r).map((e,a)=>(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)(sq,{className:"hidden sm:inline-flex"}),(0,s.jsx)(s1,{breadcrumb:e,className:"hidden shrink-0 sm:inline-flex"})]},`${e.label}:${a+1}`)),(0,s.jsx)(sq,{className:"hidden sm:inline-flex"}),(0,s.jsx)(s1,{breadcrumb:t[r],className:"flex-1"})]})})})}function s5({expanded:e,hideLabel:a,onClick:i,showLabel:t,side:r}){let n=e?a:t,l="left"===r?o.f:c;return(0,s.jsx)(I.K,{"aria-expanded":e,"aria-label":n,className:"size-10 touch-manipulation",onClick:i,size:"icon-lg",title:n,type:"button",variant:"ghost",children:(0,s.jsx)(l,{})})}function s4({label:e}){let{setOpenMobile:a}=J();return(0,s.jsx)(I.K,{"aria-label":e,className:"ml-auto size-10 touch-manipulation md:hidden",onClick:()=>a(!1),size:"icon-lg",title:e,type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{})})}function s3({user:e}){let a=(0,f.f)("shell"),t=(0,h.X)(),[r,n]=(0,i.useState)(!1),o=e.name.split(/\s+/).map(e=>e[0]).join("").slice(0,2).toUpperCase();return(0,s.jsxs)("div",{className:"flex items-center gap-2 border-t border-sidebar-border p-2",children:[(0,s.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-sidebar-accent text-xs font-semibold",children:o||e.email[0]?.toUpperCase()}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-xs font-medium",children:e.name}),(0,s.jsx)("p",{className:"truncate text-[11px] text-sidebar-foreground/65",children:e.email})]}),(0,s.jsx)(I.K,{"aria-label":a("signOut"),disabled:r,onClick:()=>{n(!0),sJ.f.signOut({fetchOptions:{onSuccess:()=>{window.location.assign(`/${t}/sign-in`)},onError:()=>n(!1)}})},size:"icon-sm",title:a("signOut"),variant:"ghost",children:(0,s.jsx)(l,{})})]})}function s6({features:e,currentUser:a}){let i=(0,f.f)("shell"),{isMobile:r,setOpenMobile:n}=J(),l=(0,M.x)();return(0,s.jsxs)(Y,{collapsible:"offcanvas",mobileDescription:i("navigationDescription"),mobileTitle:i("navigation"),side:"left",children:[(0,s.jsx)(Z,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,s.jsxs)("div",{className:"flex min-h-10 items-center gap-2 px-2",children:[(0,s.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground",children:(0,s.jsx)(t.f,{className:"size-4"})}),(0,s.jsx)("span",{className:"text-sm leading-tight font-semibold",children:i("productName")}),(0,s.jsx)(s4,{label:i("closeNavigation")})]})}),(0,s.jsx)(es,{children:se.map(a=>{let t=ss.filter(s=>s.sidebar&&s.section===a&&sa(s,e));return t.length?(0,s.jsxs)(ea,{children:[(0,s.jsx)(ei,{children:i(a)}),(0,s.jsx)(et,{children:(0,s.jsx)(er,{children:t.map(e=>{let a=e.icon;return(0,s.jsx)(en,{children:(0,s.jsx)(eo,{asChild:!0,isActive:e.exact?l===e.href:(e.activePrefixes??[e.href]).some(e=>l===e||l.startsWith(`${e}/`)),children:(0,s.jsxs)(M.L,{href:e.href,onClick:()=>{r&&n(!1)},children:[(0,s.jsx)(a,{}),(0,s.jsx)("span",{children:i(e.labelKey)})]})})},e.key)})})})]},a):null})}),(0,s.jsxs)(ee,{className:"gap-0 p-0",children:[(0,s.jsx)(s3,{user:a}),(0,s.jsx)(ef,{})]})]})}e.s(["AppShell",0,function({children:e,currentUser:a,leftDefaultOpen:i,rightDefaultOpen:t}){return(0,s.jsx)(em.Y,{userId:a.id,children:(0,s.jsx)(eb.X,{children:(0,s.jsx)(b.P,{children:(0,s.jsx)(sd.A,{children:(0,s.jsx)(sQ,{currentUser:a,leftDefaultOpen:i,rightDefaultOpen:t,children:e})})})})})}],763141)}]);
43
+ }`,void 0,{signal:e});e.aborted||t({actionsCache:s.cacheServerSettings.configured,webhooks:s.sourceControlIntegrationState.github.webhooksEnabled,jiraWebhooks:s.jiraWebhooksEnabled,github:s.sourceControlIntegrationState.github.configured,gitlab:s.sourceControlIntegrationState.gitlab.configured,gitlabWebhooks:s.sourceControlIntegrationState.gitlab.webhooksEnabled})}),s=()=>{e.refresh().catch(()=>void 0)};s();let i=(0,a.G)(null,s);return()=>{e.dispose(),i(),(0,a.X)()}},[e]),s}(t.email);return(0,s.jsxs)(Q,{className:"h-dvh min-h-0 overflow-hidden",cookieName:"ade_sidebar_left",defaultOpen:r,children:[(0,s.jsx)(s6,{currentUser:t,features:l}),(0,s.jsx)(sY,{features:l,rightDefaultOpen:n,children:e})]})}function sY({children:e,features:a,rightDefaultOpen:i}){let t=J();return(0,s.jsx)(Q,{className:"h-full min-h-0 min-w-0 flex-1 overflow-hidden",cookieName:"ade_sidebar_right",defaultOpen:i,keyboardShortcut:null,children:(0,s.jsx)(sZ,{features:a,leftSidebar:t,children:e})})}function sZ({children:e,features:a,leftSidebar:i}){let t=J();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"relative flex h-full min-h-0 min-w-0 w-full flex-1 flex-col bg-background","data-slot":"sidebar-inset",children:[(0,s.jsx)(s0,{features:a,leftSidebar:i,rightSidebar:t}),(0,s.jsx)("main",{className:"min-h-0 w-full flex-1 overflow-y-auto overscroll-contain [-webkit-overflow-scrolling:touch]",children:(0,s.jsx)("div",{className:"w-full p-4 pb-[calc(1rem+env(safe-area-inset-bottom))] sm:p-6 sm:pb-[calc(1.5rem+env(safe-area-inset-bottom))] [&>*]:!mx-0 [&>*]:!w-full [&>*]:!max-w-none","data-slot":"page-content",children:e})})]}),(0,s.jsx)(sL,{})]})}function s0({features:e,leftSidebar:a,rightSidebar:i}){let t=(0,f.f)("shell"),r=a.isMobile?a.openMobile:a.open,n=i.isMobile?i.openMobile:i.open;return(0,s.jsxs)("header",{className:"sticky top-0 z-30 shrink-0 border-b bg-background/90 backdrop-blur-xl backdrop-saturate-150 supports-backdrop-filter:bg-background/70",children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"h-[env(safe-area-inset-top)]"}),(0,s.jsxs)("div",{className:"@container flex h-14 items-center gap-2 pr-[max(0.75rem,env(safe-area-inset-right))] pl-[max(0.75rem,env(safe-area-inset-left))] sm:pr-[max(1rem,env(safe-area-inset-right))] sm:pl-[max(1rem,env(safe-area-inset-left))]",children:[(0,s.jsx)(s5,{expanded:r,hideLabel:t("hideNavigation"),onClick:a.toggleSidebar,showLabel:t("showNavigation"),side:"left"}),(0,s.jsx)(s2,{}),(0,s.jsx)(ev,{}),(0,s.jsx)(so,{features:e}),(0,s.jsx)(s5,{expanded:n,hideLabel:t("hideNotifications"),onClick:i.toggleSidebar,showLabel:t("showNotifications"),side:"right"})]})]})}function s1({breadcrumb:e,className:a}){let i=e.isCurrent?"block min-w-0 truncate":"block max-w-48 truncate lg:max-w-64",t=e.isLoading?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"sr-only",children:e.label}),(0,s.jsx)("span",{"aria-hidden":"true","data-slot":"breadcrumb-loading",className:"inline-block h-4 w-24 animate-pulse rounded-md bg-muted align-middle motion-reduce:animate-none"})]}):e.label;return(0,s.jsx)(sz,{"aria-busy":e.isLoading||void 0,className:`min-w-0 ${a??""}`,children:e.isCurrent?(0,s.jsx)(sO,{className:i,children:t}):e.href&&!e.isLoading?(0,s.jsx)(sM,{asChild:!0,className:i,children:(0,s.jsx)(O.L,{href:e.href,children:e.label})}):(0,s.jsx)("span",{className:`${i} text-muted-foreground`,children:t})})}function s2(){let e=(0,O.x)(),a=(0,f.f)("shell"),t=function(e,s,a={}){let i=(e.split(/[?#]/,1)[0]||"/").split("/").filter(Boolean),t=i.map((e,t)=>{let r=t===i.length-1,n=`/${i.slice(0,t+1).join("/")}`,l=sU[n],o=l?.labelKey??function(e,s,a){let i=s_[e];if(i)return 0===s||sW.has(a)||sG.some(e=>e.test(a))?i:void 0}(e,t,n),d=`/${i.slice(0,t+1).map(e=>encodeURIComponent(sX(e))).join("/")}`,c=!o&&sF.some(e=>e.test(n)),u=c&&void 0===a[d];return{href:r?void 0:l?.href??sB[n]??(sV.has(n)||sH.some(e=>e.test(n))?n:void 0),isCurrent:r,label:a[d]??(o?s(o):c?s(u?"loadingBreadcrumb":"details"):sX(e)),...u?{isLoading:!0}:{}}});return 0===t.length&&t.push({isCurrent:!0,label:s("actionCenter")}),t}(e,e=>a(e),(0,sd.W)()),r=t.length-1;return(0,s.jsx)(sA,{"aria-label":a("breadcrumbLabel"),className:"min-w-0 flex-1 overflow-hidden pl-1",children:(0,s.jsx)(sD,{className:"flex-nowrap overflow-hidden",children:t.length<=2?t.map((e,a)=>(0,s.jsxs)(i.Fragment,{children:[a>0&&(0,s.jsx)(sq,{}),(0,s.jsx)(s1,{breadcrumb:e,className:a===r?"flex-1":"shrink-0"})]},`${e.label}:${a}`)):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(s1,{breadcrumb:t[0],className:"shrink-0"}),(0,s.jsx)(sq,{className:"sm:hidden"}),(0,s.jsx)(sz,{className:"sm:hidden",children:(0,s.jsx)(sP,{})}),(0,s.jsx)(sq,{className:"sm:hidden"}),t.slice(1,r).map((e,a)=>(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)(sq,{className:"hidden sm:inline-flex"}),(0,s.jsx)(s1,{breadcrumb:e,className:"hidden shrink-0 sm:inline-flex"})]},`${e.label}:${a+1}`)),(0,s.jsx)(sq,{className:"hidden sm:inline-flex"}),(0,s.jsx)(s1,{breadcrumb:t[r],className:"flex-1"})]})})})}function s5({expanded:e,hideLabel:a,onClick:i,showLabel:t,side:r}){let n=e?a:t,l="left"===r?o.f:c;return(0,s.jsx)(I.K,{"aria-expanded":e,"aria-label":n,className:"size-10 touch-manipulation",onClick:i,size:"icon-lg",title:n,type:"button",variant:"ghost",children:(0,s.jsx)(l,{})})}function s4({label:e}){let{setOpenMobile:a}=J();return(0,s.jsx)(I.K,{"aria-label":e,className:"ml-auto size-10 touch-manipulation md:hidden",onClick:()=>a(!1),size:"icon-lg",title:e,type:"button",variant:"ghost",children:(0,s.jsx)(u.X,{})})}function s3({user:e}){let a=(0,f.f)("shell"),t=(0,h.X)(),[r,n]=(0,i.useState)(!1),o=e.name.split(/\s+/).map(e=>e[0]).join("").slice(0,2).toUpperCase();return(0,s.jsxs)("div",{className:"flex items-center gap-2 border-t border-sidebar-border p-2",children:[(0,s.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-sidebar-accent text-xs font-semibold",children:o||e.email[0]?.toUpperCase()}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-xs font-medium",children:e.name}),(0,s.jsx)("p",{className:"truncate text-[11px] text-sidebar-foreground/65",children:e.email})]}),(0,s.jsx)(I.K,{"aria-label":a("signOut"),disabled:r,onClick:()=>{n(!0),sJ.f.signOut({fetchOptions:{onSuccess:()=>{window.location.assign(`/${t}/sign-in`)},onError:()=>n(!1)}})},size:"icon-sm",title:a("signOut"),variant:"ghost",children:(0,s.jsx)(l,{})})]})}function s6({features:e,currentUser:a}){let i=(0,f.f)("shell"),{isMobile:r,setOpenMobile:n}=J(),l=(0,O.x)();return(0,s.jsxs)(Y,{collapsible:"offcanvas",mobileDescription:i("navigationDescription"),mobileTitle:i("navigation"),side:"left",children:[(0,s.jsx)(Z,{className:"border-b border-sidebar-border pt-[max(0.5rem,env(safe-area-inset-top))] md:pt-2",children:(0,s.jsxs)("div",{className:"flex min-h-10 items-center gap-2 px-2",children:[(0,s.jsx)("div",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground",children:(0,s.jsx)(t.f,{className:"size-4"})}),(0,s.jsx)("span",{className:"text-sm leading-tight font-semibold",children:i("productName")}),(0,s.jsx)(s4,{label:i("closeNavigation")})]})}),(0,s.jsx)(es,{children:se.map(a=>{let t=ss.filter(s=>s.sidebar&&s.section===a&&sa(s,e));return t.length?(0,s.jsxs)(ea,{children:[(0,s.jsx)(ei,{children:i(a)}),(0,s.jsx)(et,{children:(0,s.jsx)(er,{children:t.map(e=>{let a=e.icon;return(0,s.jsx)(en,{children:(0,s.jsx)(eo,{asChild:!0,isActive:e.exact?l===e.href:(e.activePrefixes??[e.href]).some(e=>l===e||l.startsWith(`${e}/`)),children:(0,s.jsxs)(O.L,{href:e.href,onClick:()=>{r&&n(!1)},children:[(0,s.jsx)(a,{}),(0,s.jsx)("span",{children:i(e.labelKey)})]})})},e.key)})})})]},a):null})}),(0,s.jsxs)(ee,{className:"gap-0 p-0",children:[(0,s.jsx)(s3,{user:a}),(0,s.jsx)(ef,{})]})]})}e.s(["AppShell",0,function({children:e,currentUser:a,leftDefaultOpen:i,rightDefaultOpen:t}){return(0,s.jsx)(em.Y,{userId:a.id,children:(0,s.jsx)(eb.X,{children:(0,s.jsx)(b.P,{children:(0,s.jsx)(sd.A,{children:(0,s.jsx)(sQ,{currentUser:a,leftDefaultOpen:i,rightDefaultOpen:t,children:e})})})})})}],763141)}]);