@ai-development-environment/server 0.0.43 → 0.0.44

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 (508) hide show
  1. package/package.json +1 -1
  2. package/standalone/.next/BUILD_ID +1 -1
  3. package/standalone/.next/build-manifest.json +3 -3
  4. package/standalone/.next/prerender-manifest.json +3 -3
  5. package/standalone/.next/server/app/[locale]/actions/page.js.nft.json +1 -1
  6. package/standalone/.next/server/app/[locale]/actions/page_client-reference-manifest.js +1 -1
  7. package/standalone/.next/server/app/[locale]/actions-cache/page.js.nft.json +1 -1
  8. package/standalone/.next/server/app/[locale]/actions-cache/page_client-reference-manifest.js +1 -1
  9. package/standalone/.next/server/app/[locale]/agents/[id]/page.js.nft.json +1 -1
  10. package/standalone/.next/server/app/[locale]/agents/[id]/page_client-reference-manifest.js +1 -1
  11. package/standalone/.next/server/app/[locale]/agents/page.js.nft.json +1 -1
  12. package/standalone/.next/server/app/[locale]/agents/page_client-reference-manifest.js +1 -1
  13. package/standalone/.next/server/app/[locale]/analytics-events/page.js.nft.json +1 -1
  14. package/standalone/.next/server/app/[locale]/analytics-events/page_client-reference-manifest.js +1 -1
  15. package/standalone/.next/server/app/[locale]/build-data/page.js.nft.json +1 -1
  16. package/standalone/.next/server/app/[locale]/build-data/page_client-reference-manifest.js +1 -1
  17. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page.js.nft.json +1 -1
  18. package/standalone/.next/server/app/[locale]/builds/[buildId]/coverage/page_client-reference-manifest.js +1 -1
  19. package/standalone/.next/server/app/[locale]/builds/[buildId]/page.js.nft.json +1 -1
  20. package/standalone/.next/server/app/[locale]/builds/[buildId]/page_client-reference-manifest.js +1 -1
  21. package/standalone/.next/server/app/[locale]/builds/page.js.nft.json +1 -1
  22. package/standalone/.next/server/app/[locale]/builds/page_client-reference-manifest.js +1 -1
  23. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page.js.nft.json +1 -1
  24. package/standalone/.next/server/app/[locale]/codebases/[codebaseId]/page_client-reference-manifest.js +1 -1
  25. package/standalone/.next/server/app/[locale]/codebases/page.js.nft.json +1 -1
  26. package/standalone/.next/server/app/[locale]/codebases/page_client-reference-manifest.js +1 -1
  27. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page.js.nft.json +1 -1
  28. package/standalone/.next/server/app/[locale]/codebases/repositories/[repositoryId]/page_client-reference-manifest.js +1 -1
  29. package/standalone/.next/server/app/[locale]/comments/page.js.nft.json +1 -1
  30. package/standalone/.next/server/app/[locale]/comments/page_client-reference-manifest.js +1 -1
  31. package/standalone/.next/server/app/[locale]/console-logs/page.js.nft.json +1 -1
  32. package/standalone/.next/server/app/[locale]/console-logs/page_client-reference-manifest.js +1 -1
  33. package/standalone/.next/server/app/[locale]/credentials/page.js.nft.json +1 -1
  34. package/standalone/.next/server/app/[locale]/credentials/page_client-reference-manifest.js +1 -1
  35. package/standalone/.next/server/app/[locale]/devices/[id]/page.js.nft.json +1 -1
  36. package/standalone/.next/server/app/[locale]/devices/[id]/page_client-reference-manifest.js +1 -1
  37. package/standalone/.next/server/app/[locale]/devices/enroll/page.js.nft.json +1 -1
  38. package/standalone/.next/server/app/[locale]/devices/enroll/page_client-reference-manifest.js +1 -1
  39. package/standalone/.next/server/app/[locale]/devices/page.js.nft.json +1 -1
  40. package/standalone/.next/server/app/[locale]/devices/page_client-reference-manifest.js +1 -1
  41. package/standalone/.next/server/app/[locale]/jira/cache/page.js.nft.json +1 -1
  42. package/standalone/.next/server/app/[locale]/jira/cache/page_client-reference-manifest.js +1 -1
  43. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page.js.nft.json +1 -1
  44. package/standalone/.next/server/app/[locale]/jira/cache/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  45. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page.js.nft.json +1 -1
  46. package/standalone/.next/server/app/[locale]/jira/tickets/[issueKey]/page_client-reference-manifest.js +1 -1
  47. package/standalone/.next/server/app/[locale]/jira/tickets/page.js.nft.json +1 -1
  48. package/standalone/.next/server/app/[locale]/jira/tickets/page_client-reference-manifest.js +1 -1
  49. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page.js.nft.json +1 -1
  50. package/standalone/.next/server/app/[locale]/jobs/[jobId]/page_client-reference-manifest.js +1 -1
  51. package/standalone/.next/server/app/[locale]/notifications/page.js.nft.json +1 -1
  52. package/standalone/.next/server/app/[locale]/notifications/page_client-reference-manifest.js +1 -1
  53. package/standalone/.next/server/app/[locale]/page.js.nft.json +1 -1
  54. package/standalone/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  55. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page.js.nft.json +1 -1
  56. package/standalone/.next/server/app/[locale]/provisioning-profiles/[profileId]/page_client-reference-manifest.js +1 -1
  57. package/standalone/.next/server/app/[locale]/provisioning-profiles/page.js.nft.json +1 -1
  58. package/standalone/.next/server/app/[locale]/provisioning-profiles/page_client-reference-manifest.js +1 -1
  59. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page.js.nft.json +1 -1
  60. package/standalone/.next/server/app/[locale]/pull-requests/[owner]/[repository]/[number]/page_client-reference-manifest.js +1 -1
  61. package/standalone/.next/server/app/[locale]/pull-requests/page.js.nft.json +1 -1
  62. package/standalone/.next/server/app/[locale]/pull-requests/page_client-reference-manifest.js +1 -1
  63. package/standalone/.next/server/app/[locale]/push-notifications/page.js.nft.json +1 -1
  64. package/standalone/.next/server/app/[locale]/push-notifications/page_client-reference-manifest.js +1 -1
  65. package/standalone/.next/server/app/[locale]/settings/page.js.nft.json +1 -1
  66. package/standalone/.next/server/app/[locale]/settings/page_client-reference-manifest.js +1 -1
  67. package/standalone/.next/server/app/[locale]/skills/[skillId]/page.js.nft.json +1 -1
  68. package/standalone/.next/server/app/[locale]/skills/[skillId]/page_client-reference-manifest.js +1 -1
  69. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page.js.nft.json +1 -1
  70. package/standalone/.next/server/app/[locale]/skills/groups/[groupId]/page_client-reference-manifest.js +1 -1
  71. package/standalone/.next/server/app/[locale]/skills/groups/page.js.nft.json +1 -1
  72. package/standalone/.next/server/app/[locale]/skills/groups/page_client-reference-manifest.js +1 -1
  73. package/standalone/.next/server/app/[locale]/skills/page.js.nft.json +1 -1
  74. package/standalone/.next/server/app/[locale]/skills/page_client-reference-manifest.js +1 -1
  75. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page.js.nft.json +1 -1
  76. package/standalone/.next/server/app/[locale]/skills/sync/[runId]/page_client-reference-manifest.js +1 -1
  77. package/standalone/.next/server/app/[locale]/tools/page.js.nft.json +1 -1
  78. package/standalone/.next/server/app/[locale]/tools/page_client-reference-manifest.js +1 -1
  79. package/standalone/.next/server/app/[locale]/unified-events/page.js.nft.json +1 -1
  80. package/standalone/.next/server/app/[locale]/unified-events/page_client-reference-manifest.js +1 -1
  81. package/standalone/.next/server/app/[locale]/usage/page.js.nft.json +1 -1
  82. package/standalone/.next/server/app/[locale]/usage/page_client-reference-manifest.js +1 -1
  83. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page.js.nft.json +1 -1
  84. package/standalone/.next/server/app/[locale]/worktrees/[worktreeId]/page_client-reference-manifest.js +1 -1
  85. package/standalone/.next/server/app/[locale]/worktrees/page.js.nft.json +1 -1
  86. package/standalone/.next/server/app/[locale]/worktrees/page_client-reference-manifest.js +1 -1
  87. package/standalone/.next/server/app/_global-error.html +1 -1
  88. package/standalone/.next/server/app/_global-error.rsc +1 -1
  89. package/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  90. package/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  91. package/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  92. package/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  93. package/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  94. package/standalone/.next/server/app/_not-found.html +1 -1
  95. package/standalone/.next/server/app/_not-found.rsc +1 -1
  96. package/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  97. package/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  98. package/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  99. package/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  100. package/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  101. package/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  102. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js +1 -1
  103. package/standalone/.next/server/app/api/build-artifact-uploads/[uploadId]/route.js.nft.json +1 -1
  104. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js +1 -1
  105. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/manifest.plist/route.js.nft.json +1 -1
  106. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js +1 -1
  107. package/standalone/.next/server/app/api/builds/[buildId]/artifacts/[artifactId]/route.js.nft.json +1 -1
  108. package/standalone/.next/server/app/api/codebases/by-path/route.js +1 -1
  109. package/standalone/.next/server/app/api/codebases/by-path/route.js.nft.json +1 -1
  110. package/standalone/.next/server/app/api/codebases/route.js +1 -1
  111. package/standalone/.next/server/app/api/codebases/route.js.nft.json +1 -1
  112. package/standalone/.next/server/app/api/graphql/route.js +1 -1
  113. package/standalone/.next/server/app/api/graphql/route.js.nft.json +1 -1
  114. package/standalone/.next/server/app/api/ios/apns-devices/route.js +1 -1
  115. package/standalone/.next/server/app/api/ios/apns-devices/route.js.nft.json +1 -1
  116. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js +1 -1
  117. package/standalone/.next/server/app/api/ios/devices/export.tsv/route.js.nft.json +1 -1
  118. package/standalone/.next/server/app/api/ios/enrollment/start/route.js +1 -1
  119. package/standalone/.next/server/app/api/ios/enrollment/start/route.js.nft.json +1 -1
  120. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js +1 -1
  121. package/standalone/.next/server/app/api/ios/enrollment-profile/route.js.nft.json +1 -1
  122. package/standalone/.next/server/app/api/ios/profile-response/route.js +1 -1
  123. package/standalone/.next/server/app/api/ios/profile-response/route.js.nft.json +1 -1
  124. package/standalone/.next/server/app/api/mcp/route.js +1 -1
  125. package/standalone/.next/server/app/api/mcp/route.js.nft.json +1 -1
  126. package/standalone/.next/server/app/api/openapi.json/route.js +1 -1
  127. package/standalone/.next/server/app/api/openapi.json/route.js.nft.json +1 -1
  128. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js +1 -1
  129. package/standalone/.next/server/app/api/telemetry/analytics-events/route.js.nft.json +1 -1
  130. package/standalone/.next/server/app/api/telemetry/console-logs/route.js +1 -1
  131. package/standalone/.next/server/app/api/telemetry/console-logs/route.js.nft.json +1 -1
  132. package/standalone/.next/server/app/api/telemetry/export/route.js +1 -1
  133. package/standalone/.next/server/app/api/telemetry/export/route.js.nft.json +1 -1
  134. package/standalone/.next/server/app/api/tools/call/route.js +1 -1
  135. package/standalone/.next/server/app/api/tools/call/route.js.nft.json +1 -1
  136. package/standalone/.next/server/app/api/tools/catalog/route.js +1 -1
  137. package/standalone/.next/server/app/api/tools/catalog/route.js.nft.json +1 -1
  138. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js +1 -1
  139. package/standalone/.next/server/app/api/worktrees/[worktreeId]/diff-image/route.js.nft.json +1 -1
  140. package/standalone/.next/server/chunks/{[root-of-the-server]__00h1t-5._.js → [root-of-the-server]__0-ptbns._.js} +1 -1
  141. package/standalone/.next/server/chunks/{[root-of-the-server]__0lrv7jk._.js → [root-of-the-server]__0-rk-gw._.js} +1 -1
  142. package/standalone/.next/server/chunks/{[root-of-the-server]__0783dgt._.js → [root-of-the-server]__0-siu15._.js} +1 -1
  143. package/standalone/.next/server/chunks/{[root-of-the-server]__0fbv1bw._.js → [root-of-the-server]__00l1ur7._.js} +1 -1
  144. package/standalone/.next/server/chunks/{[root-of-the-server]__09--bpf._.js → [root-of-the-server]__00pz9u-._.js} +1 -1
  145. package/standalone/.next/server/chunks/{[root-of-the-server]__00pg8ki._.js → [root-of-the-server]__00q730m._.js} +1 -1
  146. package/standalone/.next/server/chunks/{[root-of-the-server]__2195vvu._.js → [root-of-the-server]__03l7uod._.js} +2 -2
  147. package/standalone/.next/server/chunks/{[root-of-the-server]__09n1yz-._.js → [root-of-the-server]__04ytt8c._.js} +1 -1
  148. package/standalone/.next/server/chunks/{[root-of-the-server]__1t1-x5a._.js → [root-of-the-server]__05l-vh9._.js} +1 -1
  149. package/standalone/.next/server/chunks/{[root-of-the-server]__0gyqdmk._.js → [root-of-the-server]__05o3hc7._.js} +1 -1
  150. package/standalone/.next/server/chunks/{[root-of-the-server]__0kmxj4m._.js → [root-of-the-server]__0661gy0._.js} +1 -1
  151. package/standalone/.next/server/chunks/{[root-of-the-server]__03i41aw._.js → [root-of-the-server]__06v-y44._.js} +1 -1
  152. package/standalone/.next/server/chunks/{[root-of-the-server]__027a5vb._.js → [root-of-the-server]__0730ihs._.js} +1 -1
  153. package/standalone/.next/server/chunks/{[root-of-the-server]__1yxu--t._.js → [root-of-the-server]__076321a._.js} +1 -1
  154. package/standalone/.next/server/chunks/{[root-of-the-server]__0o-m0xx._.js → [root-of-the-server]__076y818._.js} +1 -1
  155. package/standalone/.next/server/chunks/[root-of-the-server]__0_d9q6w._.js +3 -0
  156. package/standalone/.next/server/chunks/{[root-of-the-server]__16u_xzt._.js → [root-of-the-server]__0_smoou._.js} +2 -2
  157. package/standalone/.next/server/chunks/{[root-of-the-server]__1pan46j._.js → [root-of-the-server]__0a61u23._.js} +1 -1
  158. package/standalone/.next/server/chunks/{[root-of-the-server]__0gm8rnl._.js → [root-of-the-server]__0a8ssv2._.js} +1 -1
  159. package/standalone/.next/server/chunks/{[root-of-the-server]__04ws4jm._.js → [root-of-the-server]__0cusg9h._.js} +1 -1
  160. package/standalone/.next/server/chunks/{[root-of-the-server]__0dfk0up._.js → [root-of-the-server]__0czmmn3._.js} +2 -2
  161. package/standalone/.next/server/chunks/{[root-of-the-server]__0gvldsm._.js → [root-of-the-server]__0d157q5._.js} +1 -1
  162. package/standalone/.next/server/chunks/[root-of-the-server]__0dq1b6t._.js +3 -0
  163. package/standalone/.next/server/chunks/[root-of-the-server]__0duw2z9._.js +3 -0
  164. package/standalone/.next/server/chunks/{[root-of-the-server]__0i8jv9o._.js → [root-of-the-server]__0f4mi_7._.js} +1 -1
  165. package/standalone/.next/server/chunks/[root-of-the-server]__0gwt8xn._.js +3 -0
  166. package/standalone/.next/server/chunks/{[root-of-the-server]__1mofk4t._.js → [root-of-the-server]__0jc7f-h._.js} +2 -2
  167. package/standalone/.next/server/chunks/{[root-of-the-server]__01k_3ze._.js → [root-of-the-server]__0ji4_aa._.js} +1 -1
  168. package/standalone/.next/server/chunks/[root-of-the-server]__0kffrvp._.js +3 -0
  169. package/standalone/.next/server/chunks/{[root-of-the-server]__1mlcdp1._.js → [root-of-the-server]__0lqruq_._.js} +1 -1
  170. package/standalone/.next/server/chunks/{[root-of-the-server]__0_yro61._.js → [root-of-the-server]__0m-o7gg._.js} +2 -2
  171. package/standalone/.next/server/chunks/[root-of-the-server]__0ny_w4c._.js +3 -0
  172. package/standalone/.next/server/chunks/[root-of-the-server]__0qay7yq._.js +3 -0
  173. package/standalone/.next/server/chunks/{[root-of-the-server]__0ksul8g._.js → [root-of-the-server]__0qpwbwq._.js} +1 -1
  174. package/standalone/.next/server/chunks/[root-of-the-server]__0r73w_w._.js +3 -0
  175. package/standalone/.next/server/chunks/[root-of-the-server]__0srh8bm._.js +3 -0
  176. package/standalone/.next/server/chunks/[root-of-the-server]__0syu0s0._.js +3 -0
  177. package/standalone/.next/server/chunks/{[root-of-the-server]__154lh-5._.js → [root-of-the-server]__0t0z79p._.js} +2 -2
  178. package/standalone/.next/server/chunks/{[root-of-the-server]__0olwy-c._.js → [root-of-the-server]__0tt2s67._.js} +1 -1
  179. package/standalone/.next/server/chunks/{[root-of-the-server]__1ric9t-._.js → [root-of-the-server]__0uz7ud6._.js} +2 -2
  180. package/standalone/.next/server/chunks/{[root-of-the-server]__0s5dxd3._.js → [root-of-the-server]__0x7nzft._.js} +1 -1
  181. package/standalone/.next/server/chunks/[root-of-the-server]__0xro-tn._.js +3 -0
  182. package/standalone/.next/server/chunks/{[root-of-the-server]__01lu84h._.js → [root-of-the-server]__10784d-._.js} +2 -2
  183. package/standalone/.next/server/chunks/[root-of-the-server]__123on-v._.js +3 -0
  184. package/standalone/.next/server/chunks/{[root-of-the-server]__1wn2s2e._.js → [root-of-the-server]__12i2_e-._.js} +2 -2
  185. package/standalone/.next/server/chunks/[root-of-the-server]__133en1z._.js +3 -0
  186. package/standalone/.next/server/chunks/[root-of-the-server]__13njn4x._.js +3 -0
  187. package/standalone/.next/server/chunks/[root-of-the-server]__145nk5b._.js +3 -0
  188. package/standalone/.next/server/chunks/[root-of-the-server]__14p-wic._.js +3 -0
  189. package/standalone/.next/server/chunks/[root-of-the-server]__14v5hwd._.js +3 -0
  190. package/standalone/.next/server/chunks/[root-of-the-server]__1549etm._.js +3 -0
  191. package/standalone/.next/server/chunks/[root-of-the-server]__15zod2l._.js +3 -0
  192. package/standalone/.next/server/chunks/{[root-of-the-server]__0xc-tua._.js → [root-of-the-server]__16lxm7i._.js} +2 -2
  193. package/standalone/.next/server/chunks/[root-of-the-server]__176ofx1._.js +3 -0
  194. package/standalone/.next/server/chunks/{[root-of-the-server]__1z2wsgn._.js → [root-of-the-server]__17yxr8i._.js} +1 -1
  195. package/standalone/.next/server/chunks/{[root-of-the-server]__1sfzs44._.js → [root-of-the-server]__18_g5so._.js} +2 -2
  196. package/standalone/.next/server/chunks/{[root-of-the-server]__0iayrsu._.js → [root-of-the-server]__198g-0l._.js} +1 -1
  197. package/standalone/.next/server/chunks/[root-of-the-server]__19n37bl._.js +3 -0
  198. package/standalone/.next/server/chunks/[root-of-the-server]__1_z0-o0._.js +3 -0
  199. package/standalone/.next/server/chunks/[root-of-the-server]__1c91-d3._.js +3 -0
  200. package/standalone/.next/server/chunks/[root-of-the-server]__1cmajoo._.js +3 -0
  201. package/standalone/.next/server/chunks/[root-of-the-server]__1cpfh84._.js +3 -0
  202. package/standalone/.next/server/chunks/[root-of-the-server]__1dn92tm._.js +3 -0
  203. package/standalone/.next/server/chunks/[root-of-the-server]__1elf__p._.js +3 -0
  204. package/standalone/.next/server/chunks/{[root-of-the-server]__0ynkv_7._.js → [root-of-the-server]__1f2c4fv._.js} +1 -1
  205. package/standalone/.next/server/chunks/[root-of-the-server]__1fnqwa3._.js +3 -0
  206. package/standalone/.next/server/chunks/[root-of-the-server]__1fumbd9._.js +3 -0
  207. package/standalone/.next/server/chunks/{[root-of-the-server]__0eaabcp._.js → [root-of-the-server]__1fwcg2w._.js} +2 -2
  208. package/standalone/.next/server/chunks/[root-of-the-server]__1gl82vr._.js +3 -0
  209. package/standalone/.next/server/chunks/{[root-of-the-server]__1f9ug94._.js → [root-of-the-server]__1j88891._.js} +1 -1
  210. package/standalone/.next/server/chunks/[root-of-the-server]__1j89nx9._.js +3 -0
  211. package/standalone/.next/server/chunks/[root-of-the-server]__1ke6fy2._.js +3 -0
  212. package/standalone/.next/server/chunks/{[root-of-the-server]__0bl-go3._.js → [root-of-the-server]__1kr6xrb._.js} +2 -2
  213. package/standalone/.next/server/chunks/[root-of-the-server]__1kvooj6._.js +3 -0
  214. package/standalone/.next/server/chunks/[root-of-the-server]__1m7y79-._.js +3 -0
  215. package/standalone/.next/server/chunks/[root-of-the-server]__1md2i2u._.js +3 -0
  216. package/standalone/.next/server/chunks/[root-of-the-server]__1mnaj5t._.js +3 -0
  217. package/standalone/.next/server/chunks/{[root-of-the-server]__1bfswt2._.js → [root-of-the-server]__1ohhyet._.js} +1 -1
  218. package/standalone/.next/server/chunks/{[root-of-the-server]__1v2l-cb._.js → [root-of-the-server]__1pf55w3._.js} +2 -2
  219. package/standalone/.next/server/chunks/[root-of-the-server]__1q247bc._.js +3 -0
  220. package/standalone/.next/server/chunks/[root-of-the-server]__1qaicnm._.js +3 -0
  221. package/standalone/.next/server/chunks/{[root-of-the-server]__15zmuuw._.js → [root-of-the-server]__1qpos_f._.js} +2 -2
  222. package/standalone/.next/server/chunks/[root-of-the-server]__1qr-aka._.js +3 -0
  223. package/standalone/.next/server/chunks/{[root-of-the-server]__0i2ljnx._.js → [root-of-the-server]__1syo7nr._.js} +2 -2
  224. package/standalone/.next/server/chunks/[root-of-the-server]__1v9n3yu._.js +3 -0
  225. package/standalone/.next/server/chunks/[root-of-the-server]__1xi2k6g._.js +3 -0
  226. package/standalone/.next/server/chunks/{[root-of-the-server]__1j0txpm._.js → [root-of-the-server]__1yta_xv._.js} +2 -2
  227. package/standalone/.next/server/chunks/[root-of-the-server]__1zadv3h._.js +3 -0
  228. package/standalone/.next/server/chunks/{[root-of-the-server]__13l3v-v._.js → [root-of-the-server]__1zdk-iw._.js} +2 -2
  229. package/standalone/.next/server/chunks/[root-of-the-server]__1zwqj_g._.js +3 -0
  230. package/standalone/.next/server/chunks/[root-of-the-server]__20rr3br._.js +3 -0
  231. package/standalone/.next/server/chunks/_00pgex-._.js +68 -66
  232. package/standalone/.next/server/chunks/_03k34hm._.js +4 -4
  233. package/standalone/.next/server/chunks/_04tltxp._.js +4 -4
  234. package/standalone/.next/server/chunks/_05ieldc._.js +4 -4
  235. package/standalone/.next/server/chunks/_0_3-lke._.js +2 -0
  236. package/standalone/.next/server/chunks/_1bpbnrs._.js +4 -4
  237. package/standalone/.next/server/chunks/_1hcmg6g._.js +4 -4
  238. package/standalone/.next/server/chunks/_1javz-p._.js +4 -4
  239. package/standalone/.next/server/chunks/_1qvlhr_._.js +4 -4
  240. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e80fhr._.js +3 -3
  241. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__03nc3bp._.js → [root-of-the-server]__0k74961._.js} +4 -4
  242. package/standalone/.next/server/chunks/ssr/{[root-of-the-server]__04fj378._.js → [root-of-the-server]__0tz354o._.js} +3 -3
  243. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i04gpy._.js +27 -0
  244. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__1wpef1o._.js +3 -0
  245. package/standalone/.next/server/chunks/ssr/_0-_e-ox._.js +1 -1
  246. package/standalone/.next/server/chunks/ssr/_0-ih50c._.js +3 -0
  247. package/standalone/.next/server/chunks/ssr/{_08lb8p6._.js → _00_gb4o._.js} +2 -2
  248. package/standalone/.next/server/chunks/ssr/_012q7w6._.js +10 -10
  249. package/standalone/.next/server/chunks/ssr/_03kzeos._.js +3 -0
  250. package/standalone/.next/server/chunks/ssr/_05ohevo._.js +1 -1
  251. package/standalone/.next/server/chunks/ssr/{_0jum_1m._.js → _0759zq8._.js} +2 -2
  252. package/standalone/.next/server/chunks/ssr/_07a5zv1._.js +3 -0
  253. package/standalone/.next/server/chunks/ssr/{_117jkyy._.js → _09wh5xv._.js} +8 -3
  254. package/standalone/.next/server/chunks/ssr/_0c7yfj8._.js +3 -0
  255. package/standalone/.next/server/chunks/ssr/{_01cun29._.js → _0cynmyr._.js} +2 -2
  256. package/standalone/.next/server/chunks/ssr/_0dir-eb._.js +34 -0
  257. package/standalone/.next/server/chunks/ssr/_0dvnys0._.js +5 -5
  258. package/standalone/.next/server/chunks/ssr/_0fha4pb._.js +1 -1
  259. package/standalone/.next/server/chunks/ssr/_0fk_1t_._.js +3 -0
  260. package/standalone/.next/server/chunks/ssr/_0k5jx04._.js +5 -5
  261. package/standalone/.next/server/chunks/ssr/_0n98rd4._.js +3 -0
  262. package/standalone/.next/server/chunks/ssr/_0nnwpvt._.js +3 -0
  263. package/standalone/.next/server/chunks/ssr/{_1c_ojfs._.js → _0pk2e_s._.js} +2 -2
  264. package/standalone/.next/server/chunks/ssr/_0pm3j9j._.js +3 -0
  265. package/standalone/.next/server/chunks/ssr/_0rcby6e._.js +5 -5
  266. package/standalone/.next/server/chunks/ssr/{_170xw1h._.js → _0rx-o1y._.js} +2 -2
  267. package/standalone/.next/server/chunks/ssr/_0ry7kff._.js +3 -0
  268. package/standalone/.next/server/chunks/ssr/_0t2jwg3._.js +31 -31
  269. package/standalone/.next/server/chunks/ssr/_0t5lgno._.js +1 -1
  270. package/standalone/.next/server/chunks/ssr/_0tc_1s_._.js +3 -0
  271. package/standalone/.next/server/chunks/ssr/{_0m5obko._.js → _0w9r25f._.js} +2 -2
  272. package/standalone/.next/server/chunks/ssr/_0ysjbys._.js +11 -0
  273. package/standalone/.next/server/chunks/ssr/_17q5b-5._.js +9 -0
  274. package/standalone/.next/server/chunks/ssr/{_1q79umx._.js → _196iuum._.js} +2 -2
  275. package/standalone/.next/server/chunks/ssr/_1bga6ml._.js +3 -0
  276. package/standalone/.next/server/chunks/ssr/_1biqcz_._.js +3 -0
  277. package/standalone/.next/server/chunks/ssr/_1bzibio._.js +31 -31
  278. package/standalone/.next/server/chunks/ssr/_1c34qp8._.js +2 -2
  279. package/standalone/.next/server/chunks/ssr/_1d-qtbz._.js +1 -1
  280. package/standalone/.next/server/chunks/ssr/{_04jk-xk._.js → _1ecln95._.js} +2 -2
  281. package/standalone/.next/server/chunks/ssr/_1eoq6hs._.js +3 -0
  282. package/standalone/.next/server/chunks/ssr/{_1zqt7an._.js → _1h2b2b5._.js} +2 -2
  283. package/standalone/.next/server/chunks/ssr/_1kwnjml._.js +34 -0
  284. package/standalone/.next/server/chunks/ssr/_1o8-fvv._.js +3 -0
  285. package/standalone/.next/server/chunks/ssr/_1pqjzks._.js +3 -0
  286. package/standalone/.next/server/chunks/ssr/{_1u7742_._.js → _1r1e3_z._.js} +2 -2
  287. package/standalone/.next/server/chunks/ssr/_1rqnk8t._.js +3 -0
  288. package/standalone/.next/server/chunks/ssr/_1sjzp8l._.js +3 -0
  289. package/standalone/.next/server/chunks/ssr/_1tmllxv._.js +24 -0
  290. package/standalone/.next/server/chunks/ssr/_1uoc7zb._.js +6 -0
  291. package/standalone/.next/server/chunks/ssr/_1xs2spu._.js +3 -3
  292. package/standalone/.next/server/chunks/ssr/_1zgu74l._.js +7 -7
  293. package/standalone/.next/server/chunks/ssr/{_0y9d64c._.js → _1zsu_6o._.js} +2 -2
  294. package/standalone/.next/server/chunks/ssr/_20pbep2._.js +2 -2
  295. package/standalone/.next/server/chunks/ssr/messages_de_json_[json]_cjs_1uig1ud._.js +1 -1
  296. package/standalone/.next/server/chunks/ssr/messages_en_json_[json]_cjs_206072-._.js +1 -1
  297. package/standalone/.next/server/chunks/ssr/messages_es_json_[json]_cjs_082yukd._.js +1 -1
  298. package/standalone/.next/server/chunks/ssr/messages_fr_json_[json]_cjs_0j6-w0i._.js +1 -1
  299. package/standalone/.next/server/chunks/ssr/node_modules_1fko13n._.js +3 -0
  300. package/standalone/.next/server/chunks/ssr/node_modules_1qembts._.js +3 -0
  301. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1nipfj2._.js +3 -0
  302. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_react-popper_dist_index_mjs_0428afp._.js +3 -0
  303. package/standalone/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_1b76nr4._.js → node_modules_lucide-react_dist_esm_icons_15-ly7n._.js} +2 -2
  304. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1ye04e4._.js +3 -0
  305. package/standalone/.next/server/chunks/ssr/src_components_agents_agent-detail_tsx_0lfa4ui._.js +16 -16
  306. package/standalone/.next/server/chunks/ssr/src_components_build-data_build-data-page_tsx_1t2rrh0._.js +11 -11
  307. package/standalone/.next/server/chunks/ssr/src_components_builds_build-detail-page_tsx_0q1lvps._.js +10 -10
  308. package/standalone/.next/server/chunks/ssr/src_components_builds_builds-page_tsx_17qzmsl._.js +8 -8
  309. package/standalone/.next/server/chunks/ssr/src_components_builds_configuration-icon_tsx_1v42ztc._.js +2 -2
  310. package/standalone/.next/server/chunks/ssr/src_components_cache-server_cache-page_tsx_0_-eo_e._.js +5 -5
  311. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebase-detail-page_tsx_0qfum00._.js +11 -11
  312. package/standalone/.next/server/chunks/ssr/src_components_codebases_codebases-page_tsx_0wcj3k1._.js +10 -10
  313. package/standalone/.next/server/chunks/ssr/src_components_codebases_repository-detail-page_tsx_20_7wk_._.js +17 -17
  314. package/standalone/.next/server/chunks/ssr/src_components_devices_device-detail-page_tsx_1mut_l4._.js +7 -7
  315. package/standalone/.next/server/chunks/ssr/src_components_devices_devices-page_tsx_1y45lv2._.js +8 -8
  316. package/standalone/.next/server/chunks/ssr/src_components_github_actions-page_tsx_18434xt._.js +4 -4
  317. package/standalone/.next/server/chunks/ssr/src_components_github_pull-request-detail-page_tsx_1etlamp._.js +2 -2
  318. package/standalone/.next/server/chunks/ssr/src_components_github_pull-requests-page_tsx_1il3ga-._.js +12 -12
  319. package/standalone/.next/server/chunks/ssr/src_components_jira_cache-page_tsx_1znt1yl._.js +3 -3
  320. package/standalone/.next/server/chunks/ssr/src_components_jira_ticket-detail-page_tsx_0vmf8nk._.js +15 -15
  321. package/standalone/.next/server/chunks/ssr/src_components_jira_tickets-page_tsx_0_ocldp._.js +3 -3
  322. package/standalone/.next/server/chunks/ssr/src_components_notifications_notifications-page_tsx_19f4ztg._.js +18 -18
  323. package/standalone/.next/server/chunks/ssr/src_components_push-notifications_push-notifications-page_tsx_1c_b-t4._.js +2 -2
  324. package/standalone/.next/server/chunks/ssr/src_components_settings-page_tsx_06dxqc7._.js +31 -31
  325. package/standalone/.next/server/chunks/ssr/src_components_signing-assets_provisioning-profiles-page_tsx_1zr20o7._.js +9 -9
  326. package/standalone/.next/server/chunks/ssr/src_components_skills_skills-page_tsx_0o1nlbg._.js +3 -3
  327. package/standalone/.next/server/chunks/ssr/src_components_telemetry_telemetry-page_tsx_0yzdpy6._.js +14 -14
  328. package/standalone/.next/server/chunks/ssr/src_components_ui_date-time_tsx_0zuage9._.js +3 -0
  329. package/standalone/.next/server/chunks/ssr/src_components_worktrees_worktree-detail-page_tsx_1oexgu_._.js +4 -4
  330. package/standalone/.next/server/middleware-build-manifest.js +3 -3
  331. package/standalone/.next/server/pages/404.html +1 -1
  332. package/standalone/.next/server/pages/500.html +1 -1
  333. package/standalone/.next/server/server-reference-manifest.js +1 -1
  334. package/standalone/.next/server/server-reference-manifest.json +1 -1
  335. package/standalone/.next/static/chunks/000lif3c0zhvu.js +80 -0
  336. package/standalone/.next/static/chunks/02wsz0adffqp8.js +28 -0
  337. package/standalone/.next/static/chunks/{2mth_pn5d54qo.js → 02zr1fj6sg9gn.js} +33 -33
  338. package/standalone/.next/static/chunks/{1k02pmb5ikjwl.js → 03cte61olt23o.js} +3 -3
  339. package/standalone/.next/static/chunks/{1ezpx5-kghuo6.js → 04inif3zp27ql.js} +11 -11
  340. package/standalone/.next/static/chunks/{2qe7etuh1bwv3.js → 04twsuitu09qc.js} +1 -1
  341. package/standalone/.next/static/chunks/{1g0hwagd4q811.js → 0ejnphkok3cbc.js} +1 -1
  342. package/standalone/.next/static/chunks/0f822nit06dft.js +9 -0
  343. package/standalone/.next/static/chunks/0fovjx-g7eta0.js +65 -0
  344. package/standalone/.next/static/chunks/{0b0w_wac5cqbn.js → 0fw1be4ry6k_r.js} +2 -2
  345. package/standalone/.next/static/chunks/{1ywyjstd4f1px.js → 0ikbwsq-7rewz.js} +1 -1
  346. package/standalone/.next/static/chunks/0ir2jvw5qtwnj.js +1 -0
  347. package/standalone/.next/static/chunks/0iwqaqr66hgne.js +1 -0
  348. package/standalone/.next/static/chunks/0k8int7jsgtz3.js +30 -0
  349. package/standalone/.next/static/chunks/{2a6rrto2ktoc_.js → 0nutq5ctjfc37.js} +5 -5
  350. package/standalone/.next/static/chunks/0u2tsyv0tassx.js +12 -0
  351. package/standalone/.next/static/chunks/0xaamcimitizu.js +1 -0
  352. package/standalone/.next/static/chunks/1-_hzodjvgft7.js +1 -0
  353. package/standalone/.next/static/chunks/10xbozbf30cv-.js +1 -0
  354. package/standalone/.next/static/chunks/{0579din_nqxhf.js → 14jtogt0f0nsh.js} +3 -3
  355. package/standalone/.next/static/chunks/169-gif_99pjd.js +41 -0
  356. package/standalone/.next/static/chunks/{349ls84c4dbp9.js → 18zmneu2dpo8s.js} +3 -3
  357. package/standalone/.next/static/chunks/{3bnkoq89szbzx.js → 1a4de2uh02g6b.js} +2 -2
  358. package/standalone/.next/static/chunks/1ch1iiugfh7pr.js +1 -0
  359. package/standalone/.next/static/chunks/1edawd0o38cx6.js +28 -0
  360. package/standalone/.next/static/chunks/1gz-q30e1qzuf.js +35 -0
  361. package/standalone/.next/static/chunks/{37kyqfr93cgmv.js → 1h5cc0dmoomfs.js} +33 -33
  362. package/standalone/.next/static/chunks/1hzt4mwdfnmv2.js +33 -0
  363. package/standalone/.next/static/chunks/{2b6qj3i_of-b7.js → 1k2n9o4o5p8s6.js} +1 -1
  364. package/standalone/.next/static/chunks/1ufkqj87rj6-i.js +1 -0
  365. package/standalone/.next/static/chunks/1z77ayhor3gtg.js +36 -0
  366. package/standalone/.next/static/chunks/2-1-vmcvalx28.js +1 -0
  367. package/standalone/.next/static/chunks/{1zqoc_5v6sshl.js → 28-e9fkcgfk62.js} +11 -11
  368. package/standalone/.next/static/chunks/{3rolhb6l918f3.js → 28jwnowa-b2u5.js} +5 -5
  369. package/standalone/.next/static/chunks/2ar0jmg8yo3_q.js +13 -0
  370. package/standalone/.next/static/chunks/{0duto9u8a-gcp.js → 2f9kasslyd1ss.js} +16 -16
  371. package/standalone/.next/static/chunks/{1jtaoae30sltr.js → 2ly2npblvc-_j.js} +17 -17
  372. package/standalone/.next/static/chunks/2vv30t-8y66id.js +1 -0
  373. package/standalone/.next/static/chunks/2x3_xry-6de68.css +1 -0
  374. package/standalone/.next/static/chunks/{1nc0w3yg2nwys.js → 2y3w6cb0dlmzd.js} +5 -5
  375. package/standalone/.next/static/chunks/2yayf07873iy6.js +1 -0
  376. package/standalone/.next/static/chunks/2yfhr6so_34cy.js +33 -0
  377. package/standalone/.next/static/chunks/{1jp3oxzet05xp.js → 2zftfpd-e3i12.js} +1 -1
  378. package/standalone/.next/static/chunks/{16n8heazfxgkp.js → 2zho87usah-sc.js} +1 -1
  379. package/standalone/.next/static/chunks/2zypdpeeqzci1.js +10 -0
  380. package/standalone/.next/static/chunks/{30xpb_0lt8jpx.js → 347ov6pk6gcg2.js} +11 -11
  381. package/standalone/.next/static/chunks/36h9gn_o83hax.js +4 -0
  382. package/standalone/.next/static/chunks/{0az2qcfmxe26_.js → 377e8qofcd6up.js} +9 -9
  383. package/standalone/.next/static/chunks/388484eodm15m.js +8 -0
  384. package/standalone/.next/static/chunks/3_as3_z1u3nnb.js +1 -0
  385. package/standalone/.next/static/chunks/3_g7zsn_y38wy.js +1 -0
  386. package/standalone/.next/static/chunks/{31pn-_jxgdd7h.js → 3ajafpxyeycth.js} +5 -5
  387. package/standalone/.next/static/chunks/3bqm7ynezy7eb.js +7 -0
  388. package/standalone/.next/static/chunks/3c4-hisg3lm8z.js +9 -0
  389. package/standalone/.next/static/chunks/{1h5y3qq56veer.js → 3f6axekan26k2.js} +3 -3
  390. package/standalone/.next/static/chunks/3gx3ywvr2ggbb.js +1 -0
  391. package/standalone/.next/static/chunks/3jqmoapzyq5tx.js +8 -0
  392. package/standalone/.next/static/chunks/3llcyep7mkp-i.js +155 -0
  393. package/standalone/.next/static/chunks/{1n1t0xlcfflb5.js → 3nmfnes9vz7cm.js} +8 -8
  394. package/standalone/.next/static/chunks/{2vu5ny7yd8uz6.js → 3o31isuqgjdgf.js} +17 -17
  395. package/standalone/.next/static/chunks/3u04m_dram50f.js +1 -0
  396. package/standalone/.next/static/chunks/3y3ginr-kriqa.js +39 -0
  397. package/standalone/.next/static/chunks/{1pmegdso5i73a.js → 40f0gc3x_52ei.js} +1 -1
  398. package/standalone/.next/static/chunks/40j-6wiq8b9d7.js +1 -0
  399. package/standalone/.next/static/chunks/{3tmt2fscg4x0a.js → 44pprg5jd-0j8.js} +13 -13
  400. package/standalone/.next/server/chunks/[root-of-the-server]__0hmxoy-._.js +0 -3
  401. package/standalone/.next/server/chunks/[root-of-the-server]__0na0kf5._.js +0 -3
  402. package/standalone/.next/server/chunks/[root-of-the-server]__0o2r2g3._.js +0 -3
  403. package/standalone/.next/server/chunks/[root-of-the-server]__0qn2s4y._.js +0 -3
  404. package/standalone/.next/server/chunks/[root-of-the-server]__0s36z37._.js +0 -3
  405. package/standalone/.next/server/chunks/[root-of-the-server]__0sl88nm._.js +0 -3
  406. package/standalone/.next/server/chunks/[root-of-the-server]__0tx5g5o._.js +0 -3
  407. package/standalone/.next/server/chunks/[root-of-the-server]__0uyjad8._.js +0 -3
  408. package/standalone/.next/server/chunks/[root-of-the-server]__0vwq0xl._.js +0 -3
  409. package/standalone/.next/server/chunks/[root-of-the-server]__0wtla_4._.js +0 -3
  410. package/standalone/.next/server/chunks/[root-of-the-server]__0z-lmzl._.js +0 -3
  411. package/standalone/.next/server/chunks/[root-of-the-server]__11bmvex._.js +0 -3
  412. package/standalone/.next/server/chunks/[root-of-the-server]__11zhw_f._.js +0 -3
  413. package/standalone/.next/server/chunks/[root-of-the-server]__12yyk-v._.js +0 -3
  414. package/standalone/.next/server/chunks/[root-of-the-server]__152ip4m._.js +0 -3
  415. package/standalone/.next/server/chunks/[root-of-the-server]__1a28vw2._.js +0 -3
  416. package/standalone/.next/server/chunks/[root-of-the-server]__1bo7dgt._.js +0 -3
  417. package/standalone/.next/server/chunks/[root-of-the-server]__1bzm9rj._.js +0 -3
  418. package/standalone/.next/server/chunks/[root-of-the-server]__1dc6__1._.js +0 -3
  419. package/standalone/.next/server/chunks/[root-of-the-server]__1duupjc._.js +0 -3
  420. package/standalone/.next/server/chunks/[root-of-the-server]__1dyeloz._.js +0 -3
  421. package/standalone/.next/server/chunks/[root-of-the-server]__1e5dea0._.js +0 -3
  422. package/standalone/.next/server/chunks/[root-of-the-server]__1f4gxqa._.js +0 -3
  423. package/standalone/.next/server/chunks/[root-of-the-server]__1gejcnd._.js +0 -3
  424. package/standalone/.next/server/chunks/[root-of-the-server]__1l-0_di._.js +0 -3
  425. package/standalone/.next/server/chunks/[root-of-the-server]__1l33gc2._.js +0 -3
  426. package/standalone/.next/server/chunks/[root-of-the-server]__1nm1v2v._.js +0 -3
  427. package/standalone/.next/server/chunks/[root-of-the-server]__1nzw_pg._.js +0 -3
  428. package/standalone/.next/server/chunks/[root-of-the-server]__1o02rgu._.js +0 -3
  429. package/standalone/.next/server/chunks/[root-of-the-server]__1ofzum5._.js +0 -3
  430. package/standalone/.next/server/chunks/[root-of-the-server]__1qf_jx0._.js +0 -3
  431. package/standalone/.next/server/chunks/[root-of-the-server]__1rz3t-8._.js +0 -3
  432. package/standalone/.next/server/chunks/[root-of-the-server]__1rzexif._.js +0 -3
  433. package/standalone/.next/server/chunks/[root-of-the-server]__1s_2-hp._.js +0 -3
  434. package/standalone/.next/server/chunks/[root-of-the-server]__1tl4gde._.js +0 -3
  435. package/standalone/.next/server/chunks/[root-of-the-server]__1u283f9._.js +0 -3
  436. package/standalone/.next/server/chunks/[root-of-the-server]__1uek0dm._.js +0 -3
  437. package/standalone/.next/server/chunks/[root-of-the-server]__1v1kr7z._.js +0 -3
  438. package/standalone/.next/server/chunks/[root-of-the-server]__1vhxr5_._.js +0 -3
  439. package/standalone/.next/server/chunks/[root-of-the-server]__1w36m17._.js +0 -3
  440. package/standalone/.next/server/chunks/[root-of-the-server]__1xws3pt._.js +0 -3
  441. package/standalone/.next/server/chunks/[root-of-the-server]__1z15fu5._.js +0 -3
  442. package/standalone/.next/server/chunks/[root-of-the-server]__20gqolc._.js +0 -3
  443. package/standalone/.next/server/chunks/[root-of-the-server]__20no38f._.js +0 -3
  444. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__04beow0._.js +0 -3
  445. package/standalone/.next/server/chunks/ssr/[root-of-the-server]__0b4pivw._.js +0 -6
  446. package/standalone/.next/server/chunks/ssr/_00pb_-u._.js +0 -3
  447. package/standalone/.next/server/chunks/ssr/_08ux-xx._.js +0 -35
  448. package/standalone/.next/server/chunks/ssr/_0_c2ksk._.js +0 -3
  449. package/standalone/.next/server/chunks/ssr/_0_nha02._.js +0 -3
  450. package/standalone/.next/server/chunks/ssr/_0bpm26t._.js +0 -3
  451. package/standalone/.next/server/chunks/ssr/_0e64d91._.js +0 -3
  452. package/standalone/.next/server/chunks/ssr/_0ho0wc7._.js +0 -3
  453. package/standalone/.next/server/chunks/ssr/_0jxepjk._.js +0 -3
  454. package/standalone/.next/server/chunks/ssr/_0l6y7z2._.js +0 -3
  455. package/standalone/.next/server/chunks/ssr/_0sdizo4._.js +0 -34
  456. package/standalone/.next/server/chunks/ssr/_0zg79hi._.js +0 -3
  457. package/standalone/.next/server/chunks/ssr/_11oshuh._.js +0 -3
  458. package/standalone/.next/server/chunks/ssr/_11z-hcq._.js +0 -34
  459. package/standalone/.next/server/chunks/ssr/_123h643._.js +0 -3
  460. package/standalone/.next/server/chunks/ssr/_1cc_dsb._.js +0 -34
  461. package/standalone/.next/server/chunks/ssr/_1mke0us._.js +0 -3
  462. package/standalone/.next/server/chunks/ssr/_1qy-wes._.js +0 -3
  463. package/standalone/.next/server/chunks/ssr/_1r4w1io._.js +0 -24
  464. package/standalone/.next/server/chunks/ssr/_1upie3e._.js +0 -3
  465. package/standalone/.next/server/chunks/ssr/_1vx9bqg._.js +0 -14
  466. package/standalone/.next/server/chunks/ssr/_1wmzpjb._.js +0 -3
  467. package/standalone/.next/server/chunks/ssr/node_modules_0blr8x6._.js +0 -3
  468. package/standalone/.next/server/chunks/ssr/node_modules_0ylkf4l._.js +0 -3
  469. package/standalone/.next/server/chunks/ssr/node_modules_@radix-ui_1n5j09z._.js +0 -3
  470. package/standalone/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_1_ugphm._.js +0 -3
  471. package/standalone/.next/server/chunks/ssr/src_components_ui_select_tsx_0m__-6s._.js +0 -3
  472. package/standalone/.next/static/chunks/06711eeflvyu7.js +0 -1
  473. package/standalone/.next/static/chunks/0c9r1f3che9mf.css +0 -1
  474. package/standalone/.next/static/chunks/0ddp859-x81j2.js +0 -1
  475. package/standalone/.next/static/chunks/0evao2rpxqreq.js +0 -80
  476. package/standalone/.next/static/chunks/0nt5uq75yrfm2.js +0 -13
  477. package/standalone/.next/static/chunks/0okpg2ejyn95o.js +0 -9
  478. package/standalone/.next/static/chunks/0udza_i0n8xhm.js +0 -36
  479. package/standalone/.next/static/chunks/0vtavvo7gx3rr.js +0 -33
  480. package/standalone/.next/static/chunks/0xybrwnbju35k.js +0 -41
  481. package/standalone/.next/static/chunks/0y-5_7jbnsr0m.js +0 -1
  482. package/standalone/.next/static/chunks/12qdfeyqgqh62.js +0 -1
  483. package/standalone/.next/static/chunks/193m8crej9xrt.js +0 -7
  484. package/standalone/.next/static/chunks/1nkkb5gu3-rhf.js +0 -28
  485. package/standalone/.next/static/chunks/1ny7skwqcfglg.js +0 -39
  486. package/standalone/.next/static/chunks/1qebx-2i3ao34.js +0 -28
  487. package/standalone/.next/static/chunks/1zt6tg-4jpdru.js +0 -1
  488. package/standalone/.next/static/chunks/2-5c1n7c9ncu0.js +0 -12
  489. package/standalone/.next/static/chunks/29axmq_boxoc_.js +0 -1
  490. package/standalone/.next/static/chunks/2giql1u6bn9gi.js +0 -33
  491. package/standalone/.next/static/chunks/2nco50dwradd6.js +0 -8
  492. package/standalone/.next/static/chunks/2nr9sxr9bqwin.js +0 -8
  493. package/standalone/.next/static/chunks/31_9e-uzmy7vp.js +0 -35
  494. package/standalone/.next/static/chunks/31t_wgps20fl1.js +0 -4
  495. package/standalone/.next/static/chunks/331lb29dcb1ta.js +0 -1
  496. package/standalone/.next/static/chunks/369biqq4fd0sk.js +0 -1
  497. package/standalone/.next/static/chunks/37dd1jthysw7j.js +0 -10
  498. package/standalone/.next/static/chunks/3apliool1acey.js +0 -155
  499. package/standalone/.next/static/chunks/3d95bb1fej1i5.js +0 -1
  500. package/standalone/.next/static/chunks/3eumqpi7f1fek.js +0 -30
  501. package/standalone/.next/static/chunks/3f1yh13gawn34.js +0 -1
  502. package/standalone/.next/static/chunks/3mtxpg0cke1s1.js +0 -9
  503. package/standalone/.next/static/chunks/3qovaml41zb61.js +0 -1
  504. package/standalone/.next/static/chunks/3vuv-wz2jb38o.js +0 -65
  505. package/standalone/.next/static/chunks/44sbqm3y2mvct.js +0 -1
  506. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_buildManifest.js +0 -0
  507. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_clientMiddlewareManifest.js +0 -0
  508. /package/standalone/.next/static/{z7DvrCFcDrWcS4YaEvaXP → CD2ohdtyd8xVfYLr1u3bY}/_ssgManifest.js +0 -0
@@ -0,0 +1,33 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,624687,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Textarea",0,function({className:e,...r}){return(0,t.jsx)("textarea",{className:(0,a.cn)("min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",e),...r})}])},711241,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],711241)},566595,e=>{"use strict";var t=e.i(630299);e.s(["Search",()=>t.default])},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},59497,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}var n=e.i(30030);function s(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?a.useLayoutEffect:()=>{};a[" useEffectEvent ".trim().toString()],a[" useInsertionEffect ".trim().toString()];var o=a[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),m=Symbol.for("react.lazy");function x(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===m&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var f=a[" use ".trim().toString()],h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var n;let s,l=(n=`Primitive.${r}`,(s=a.forwardRef((e,t)=>{var r;let s,l,{children:o,...d}=e,c=null,u=!1,m=[];x(o)&&"function"==typeof f&&(o=f(o._payload)),a.Children.forEach(o,e=>{var t;if(t=e,a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;x(t)&&"function"==typeof f&&(t=f(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),m.push(c?.props?.children)}else m.push(e)}),c?c=a.cloneElement(c,void 0,m):!u&&1===a.Children.count(o)&&a.isValidElement(o)&&(c=o);let h=c?(r=c,(l=(s=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?r.ref:(l=(s=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?r.props.ref:r.props.ref||r.ref):void 0,g=i(t,h);if(!c){if(o||0===o){let e,t;throw Error(u?(e=n,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=n,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return o}let b=function(e,t){let a={...t};for(let r in t){let i=e[r],n=t[r];/^on[A-Z]/.test(r)?i&&n?a[r]=(...e)=>{let t=n(...e);return i(...e),t}:i&&(a[r]=i):"style"===r?a[r]={...i,...n}:"className"===r&&(a[r]=[i,n].filter(Boolean).join(" "))}return{...e,...a}}(d,c.props??{});return c.type!==a.Fragment&&(b.ref=t?g:h),a.cloneElement(c,b)})).displayName=`${n}.Slot`,s),o=a.forwardRef((e,a)=>{let{asChild:i,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?l:r,{...n,ref:a})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),g="Checkbox",[b,v]=(0,n.createContextScope)(g),[j,y]=b(g);function D(e){let{__scopeCheckbox:r,checked:i,children:n,defaultChecked:s,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:m="on",internal_do_not_use_render:x}=e,[f,h]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[n,s,l]=function({defaultProp:e,onChange:t}){let[r,i]=a.useState(e),n=a.useRef(r),s=a.useRef(t);return o(()=>{s.current=t},[t]),a.useEffect(()=>{n.current!==r&&(s.current?.(r),n.current=r)},[r,n]),[r,i,s]}({defaultProp:t,onChange:r}),d=void 0!==e,c=d?e:n;{let t=a.useRef(void 0!==e);a.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,i])}return[c,a.useCallback(t=>{if(d){let a="function"==typeof t?t(e):t;a!==e&&l.current?.(a)}else s(t)},[d,e,s,l])]}({prop:i,defaultProp:s??!1,onChange:u,caller:g}),[b,v]=a.useState(null),[y,D]=a.useState(null),E=a.useRef(!1),C=!b||!!d||!!b.closest("form"),N={checked:f,disabled:l,setChecked:h,control:b,setControl:v,name:c,form:d,value:m,hasConsumerStoppedPropagationRef:E,required:p,defaultChecked:!A(s)&&s,isFormControl:C,bubbleInput:y,setBubbleInput:D};return(0,t.jsx)(j,{scope:r,...N,children:"function"==typeof x?x(N):n})}var E="CheckboxTrigger",C=a.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:n,...l},o)=>{let{control:d,value:c,disabled:u,checked:p,required:m,setControl:x,setChecked:f,hasConsumerStoppedPropagationRef:g,isFormControl:b,bubbleInput:v}=y(E,e),j=i(o,x),D=a.useRef(p);return a.useEffect(()=>{let e=d?.form;if(e){let t=()=>f(D.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,f]),(0,t.jsx)(h.button,{type:"button",role:"checkbox","aria-checked":A(p)?"mixed":p,"aria-required":m,"data-state":_(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:j,onKeyDown:s(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:s(n,e=>{f(e=>!!A(e)||!e),v&&b&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});C.displayName=E;var N=a.forwardRef((e,a)=>{let{__scopeCheckbox:r,name:i,checked:n,defaultChecked:s,required:l,disabled:o,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(D,{__scopeCheckbox:r,checked:n,defaultChecked:s,disabled:o,required:l,onCheckedChange:c,name:i,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C,{...p,ref:a,__scopeCheckbox:r}),e&&(0,t.jsx)(I,{__scopeCheckbox:r})]})})});N.displayName=g;var S="CheckboxIndicator",w=a.forwardRef((e,a)=>{let{__scopeCheckbox:r,forceMount:i,...n}=e,s=y(S,r);return(0,t.jsx)(u.Presence,{present:i||A(s.checked)||!0===s.checked,children:(0,t.jsx)(h.span,{"data-state":_(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:a,style:{pointerEvents:"none",...e.style}})})});w.displayName=S;var T="CheckboxBubbleInput",I=a.forwardRef(({__scopeCheckbox:e,...r},n)=>{let{control:s,hasConsumerStoppedPropagationRef:l,checked:o,defaultChecked:u,required:p,disabled:m,name:x,value:f,form:g,bubbleInput:b,setBubbleInput:v}=y(T,e),j=i(n,v),D=(0,d.usePrevious)(o),E=(0,c.useSize)(s);a.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(D!==o&&e){let a=new Event("click",{bubbles:t});b.indeterminate=A(o),e.call(b,!A(o)&&o),b.dispatchEvent(a)}},[b,D,o,l]);let C=a.useRef(!A(o)&&o);return(0,t.jsx)(h.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??C.current,required:p,disabled:m,name:x,value:f,form:g,...r,tabIndex:-1,ref:j,style:{...r.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function A(e){return"indeterminate"===e}function _(e){return A(e)?"indeterminate":e?"checked":"unchecked"}I.displayName=T,e.s(["Checkbox",0,N,"CheckboxIndicator",0,w,"Indicator",0,w,"Root",0,N,"createCheckboxScope",0,v,"unstable_BubbleInput",0,I,"unstable_CheckboxBubbleInput",0,I,"unstable_CheckboxProvider",0,D,"unstable_CheckboxTrigger",0,C,"unstable_Provider",0,D,"unstable_Trigger",0,C],388474);var R=e.i(388474),R=R,O=e.i(975157),B=e.i(593698);e.s(["Checkbox",0,function({className:e,...a}){return(0,t.jsx)(R.Root,{"data-slot":"checkbox",className:(0,O.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...a,children:(0,t.jsx)(R.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(B.CheckIcon,{})})})}],59497)},929592,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:a,...n}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(i({variant:a}),e),...n})},"AlertDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,r.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...a})},"AlertTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,r.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...a})}])},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),a=e.i(975157),r=e.i(758379),r=r;e.s(["Spinner",0,function({className:e,...i}){return(0,t.jsx)(r.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,a.cn)("size-4 animate-spin",e),...i})}],987968)},515288,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Card",0,function({className:e,size:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"card","data-size":r,className:(0,a.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...i})},"CardAction",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,a.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...r})},"CardContent",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-(--card-spacing)",e),...r})},"CardDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-sm text-muted-foreground",e),...r})},"CardFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...r})},"CardHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...r})},"CardTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...r})}])},487486,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(709840),i=e.i(975157);let n=(0,a.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:a="default",asChild:s=!1,...l}){let o=s?r.Slot.Root:"span";return(0,t.jsx)(o,{className:(0,i.cn)(n({variant:a}),e),"data-slot":"badge","data-variant":a,...l})}])},784774,e=>{"use strict";var t=e.i(843476),a=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:r,...i}){return(0,t.jsx)("div",{className:(0,a.cn)("w-full overflow-x-auto",r),children:(0,t.jsx)("table",{className:(0,a.cn)("w-full caption-bottom text-sm",e),...i})})},"TableBody",0,function({className:e,...r}){return(0,t.jsx)("tbody",{className:(0,a.cn)("divide-y",e),...r})},"TableCell",0,function({className:e,...r}){return(0,t.jsx)("td",{className:(0,a.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...r})},"TableFooter",0,function({className:e,...r}){return(0,t.jsx)("tfoot",{className:(0,a.cn)("border-t bg-muted/50 font-medium",e),...r})},"TableHead",0,function({className:e,...r}){return(0,t.jsx)("th",{className:(0,a.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...r})},"TableHeader",0,function({className:e,...r}){return(0,t.jsx)("thead",{className:(0,a.cn)("border-b",e),...r})},"TableRow",0,function({className:e,...r}){return(0,t.jsx)("tr",{className:(0,a.cn)("transition-colors hover:bg-muted/40",e),...r})}])},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let a=t.useRef({value:e,previous:e});return t.useMemo(()=>(a.current.value!==e&&(a.current.previous=a.current.value,a.current.value=e),a.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),a=e.i(271645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),n=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=a[" use ".trim().toString()],o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var o;let d,c=(o=`Primitive.${n}`,(d=a.forwardRef((e,t)=>{var n;let d,c,{children:u,...p}=e,m=null,x=!1,f=[];s(u)&&"function"==typeof l&&(u=l(u._payload)),a.Children.forEach(u,e=>{var t;if(t=e,a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){x=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof l&&(t=l(t._payload)),m=((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null})(e,t),f.push(m?.props?.children)}else f.push(e)}),m?m=a.cloneElement(m,void 0,f):!x&&1===a.Children.count(u)&&a.isValidElement(u)&&(m=u);let h=m?(n=m,(c=(d=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.ref:(c=(d=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,g=function(...e){return a.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t<i.length;t++){let a=i[t];"function"==typeof a?a():r(e[t],null)}}}}(...e),e)}(t,h);if(!m){if(u||0===u){let e,t;throw Error(x?(e=o,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=o,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let a={...t};for(let r in t){let i=e[r],n=t[r];/^on[A-Z]/.test(r)?i&&n?a[r]=(...e)=>{let t=n(...e);return i(...e),t}:i&&(a[r]=i):"style"===r?a[r]={...i,...n}:"className"===r&&(a[r]=[i,n].filter(Boolean).join(" "))}return{...e,...a}}(p,m.props??{});return m.type!==a.Fragment&&(b.ref=t?g:h),a.cloneElement(m,b)})).displayName=`${o}.Slot`,d),u=a.forwardRef((e,a)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(r?c:n,{...i,ref:a})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),d=a.forwardRef((e,a)=>(0,t.jsx)(o.label,{...e,ref:a,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...a}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...a})}],110204)},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let a=document.execCommand("copy");if(t.remove(),!a)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},778434,e=>{"use strict";e.s(["AGENT_FIELDS",0,"id name hostname version osVersion architecture cpuModel memoryTotalBytes memoryFreeBytes diskTotalBytes diskFreeBytes capabilities baseRepoDirectory derivedDataLocationMode derivedDataPath buildsDirectory defaultBuildsDirectory effectiveBuildsDirectory connectionStatus ipAddress lastSeenAt disconnectedAt createdAt","JOB_FIELDS",0,"id agentId kind payload status error result timeoutSeconds createdAt startedAt finishedAt updatedAt","JOB_LOG_FIELDS",0,"id jobId sequence stream message createdAt"])},82612,e=>{"use strict";var t=e.i(843476),a=e.i(225913),r=e.i(975157);let i=(0,a.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,r.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...a})},"EmptyDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,r.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...a})},"EmptyHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,r.cn)("flex max-w-sm flex-col items-center gap-2",e),...a})},"EmptyMedia",0,function({className:e,variant:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":a,className:(0,r.cn)(i({variant:a,className:e})),...n})},"EmptyTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,r.cn)("font-heading text-sm font-medium tracking-tight",e),...a})}])},340953,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(30030);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return a.useCallback(function(...e){return t=>{let a=!1,r=e.map(e=>{let r=i(e,t);return a||"function"!=typeof r||(a=!0),r});if(a)return()=>{for(let t=0;t<r.length;t++){let a=r[t];"function"==typeof a?a():i(e[t],null)}}}}(...e),e)}var s=e.i(326999);"u">typeof window&&window.document&&window.document.createElement;var l="AlertDialog",[o,d]=(0,r.createContextScope)(l,[s.createDialogScope]),c=(0,s.createDialogScope)(),u=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(s.Root,{...i,...r,modal:!0})};u.displayName=l;var p=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,n=c(r);return(0,t.jsx)(s.Trigger,{...n,...i,ref:a})});p.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:a,...r}=e,i=c(a);return(0,t.jsx)(s.Portal,{...i,...r})};m.displayName="AlertDialogPortal";var x=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,n=c(r);return(0,t.jsx)(s.Overlay,{...n,...i,ref:a})});x.displayName="AlertDialogOverlay";var f="AlertDialogContent",[h,g]=o(f),b=a.forwardRef((e,r)=>{let{__scopeAlertDialog:i,children:l,...o}=e,d=c(i),u=n(r,a.useRef(null)),p=a.useRef(null);return(0,t.jsx)(h,{scope:i,cancelRef:p,children:(0,t.jsx)(s.Content,{role:"alertdialog",...d,...o,ref:u,onOpenAutoFocus:function(e,t,{checkForDefaultPrevented:a=!0}={}){return function(r){if(e?.(r),!1===a||!r||!r.defaultPrevented)return t?.(r)}}(o.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:l})})});b.displayName=f;var v=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,n=c(r);return(0,t.jsx)(s.Title,{...n,...i,ref:a})});v.displayName="AlertDialogTitle";var j=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,n=c(r);return(0,t.jsx)(s.Description,{...n,...i,ref:a})});j.displayName="AlertDialogDescription";var y=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,n=c(r);return(0,t.jsx)(s.Close,{...n,...i,ref:a})});y.displayName="AlertDialogAction";var D="AlertDialogCancel",E=a.forwardRef((e,a)=>{let{__scopeAlertDialog:r,...i}=e,{cancelRef:l}=g(D,r),o=c(r),d=n(a,l);return(0,t.jsx)(s.Close,{...o,...i,ref:d})});E.displayName=D,e.s(["Action",0,y,"AlertDialog",0,u,"AlertDialogAction",0,y,"AlertDialogCancel",0,E,"AlertDialogContent",0,b,"AlertDialogDescription",0,j,"AlertDialogOverlay",0,x,"AlertDialogPortal",0,m,"AlertDialogTitle",0,v,"AlertDialogTrigger",0,p,"Cancel",0,E,"Content",0,b,"Description",0,j,"Overlay",0,x,"Portal",0,m,"Root",0,u,"Title",0,v,"Trigger",0,p,"createAlertDialogScope",0,d],691162);var C=e.i(691162),C=C,N=e.i(975157),S=e.i(519455);function w({...e}){return(0,t.jsx)(C.Root,{"data-slot":"alert-dialog",...e})}function T({...e}){return(0,t.jsx)(C.Trigger,{"data-slot":"alert-dialog-trigger",...e})}function I({...e}){return(0,t.jsx)(C.Portal,{"data-slot":"alert-dialog-portal",...e})}function A({className:e,...a}){return(0,t.jsx)(C.Overlay,{"data-slot":"alert-dialog-overlay",className:(0,N.cn)("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),...a})}function _({className:e,size:a="default",...r}){return(0,t.jsxs)(I,{children:[(0,t.jsx)(A,{}),(0,t.jsx)(C.Content,{"data-slot":"alert-dialog-content","data-size":a,className:(0,N.cn)("group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...r})]})}function R({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,N.cn)("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]",e),...a})}function O({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,N.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",e),...a})}function B({className:e,...a}){return(0,t.jsx)(C.Title,{"data-slot":"alert-dialog-title",className:(0,N.cn)("font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",e),...a})}function k({className:e,...a}){return(0,t.jsx)(C.Description,{"data-slot":"alert-dialog-description",className:(0,N.cn)("text-sm text-balance text-muted-foreground md:text-pretty *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),...a})}function L({className:e,variant:a="default",size:r="default",...i}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Action,{"data-slot":"alert-dialog-action",className:(0,N.cn)(e),...i})})}function $({className:e,variant:a="outline",size:r="default",...i}){return(0,t.jsx)(S.Button,{variant:a,size:r,asChild:!0,children:(0,t.jsx)(C.Cancel,{"data-slot":"alert-dialog-cancel",className:(0,N.cn)(e),...i})})}e.s(["ConfirmationDialog",0,function({actionLabel:e,cancelLabel:a,description:r,onConfirm:i,onOpenChange:n,open:s,title:l,trigger:o}){return(0,t.jsxs)(w,{onOpenChange:n,open:s,children:[o&&(0,t.jsx)(T,{asChild:!0,children:o}),(0,t.jsxs)(_,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(B,{children:l}),(0,t.jsx)(k,{children:r})]}),(0,t.jsxs)(O,{children:[(0,t.jsx)($,{children:a}),(0,t.jsx)(L,{onClick:()=>void i(),variant:"destructive",children:e})]})]})]})}],340953)},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},990142,e=>{"use strict";RegExp("^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"),e.s(["CCUSAGE_REPORT_JOB_KIND",0,"ccusage.report"])},675926,e=>{"use strict";var t=e.i(843476),a=e.i(948148),r=e.i(487486),i=e.i(975157);e.s(["StatusBadge",0,function({status:e}){let n=(0,a.useTranslations)("status"),s="ONLINE"===e||"RUNNING"===e||"SUCCEEDED"===e,l="FAILED"===e||"TIMED_OUT"===e;return(0,t.jsx)(r.Badge,{className:(0,i.cn)(s&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300",l&&"border-destructive/30 bg-destructive/10 text-destructive"),variant:s||l?"outline":"secondary",children:n(e.toLowerCase())})}])},929272,e=>{"use strict";let t=(0,e.i(456420).default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);e.s(["Square",0,t],929272)},997695,e=>{"use strict";var t=e.i(843476),a=e.i(929272),r=e.i(948148),i=e.i(271645),n=e.i(929592),s=e.i(519455),l=e.i(515288),o=e.i(987968),d=e.i(520133),c=e.i(637611),u=e.i(975157),p=e.i(778434),m=e.i(675926);e.s(["JobMonitor",0,function({jobId:e,compact:x=!1}){let f=(0,r.useTranslations)("jobs"),[h,g]=(0,i.useState)(null),[b,v]=(0,i.useState)([]),[j,y]=(0,i.useState)(!0),[D,E]=(0,i.useState)(null),C=(0,i.useRef)(null),N=(0,i.useRef)(!0),S=(0,i.useCallback)(async()=>{try{let t=await (0,c.controlPlaneRequest)(`query Job($id: ID!) { agentJob(id: $id) { ${p.JOB_FIELDS} } agentJobLogs(jobId: $id) { ${p.JOB_LOG_FIELDS} } }`,{id:e});g(t.agentJob),v(t.agentJobLogs),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}finally{y(!1)}},[e]);(0,i.useEffect)(()=>{let t=window.setTimeout(()=>void S(),0),a=(0,c.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${p.JOB_FIELDS} } }`,variables:{jobId:e}},{next:e=>e.data?.agentJobChanged&&g(e.data.agentJobChanged),error:()=>void 0,complete:()=>void 0}),i=a.subscribe({query:`subscription JobLog($jobId: ID!) { agentJobLogAdded(jobId: $jobId) { ${p.JOB_LOG_FIELDS} } }`,variables:{jobId:e}},{next:e=>{let t=e.data?.agentJobLogAdded;t&&v(e=>e.some(e=>e.sequence===t.sequence)?e:[...e,t].sort((e,t)=>e.sequence-t.sequence))},error:()=>void 0,complete:()=>void 0});return()=>{r(),i(),window.clearTimeout(t)}},[e,S]),(0,i.useEffect)(()=>{N.current&&C.current?.scrollTo({top:C.current.scrollHeight})},[b]);let w=async()=>{try{let t=await (0,c.controlPlaneRequest)(`mutation Cancel($jobId: ID!) { cancelAgentJob(jobId: $jobId) { ${p.JOB_FIELDS} } }`,{jobId:e});g(t.cancelAgentJob),E(null)}catch(e){E(e instanceof Error?e.message:String(e))}};return D?(0,t.jsx)(n.Alert,{variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:D})}):j?(0,t.jsxs)("p",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(o.Spinner,{}),f("loading")]}):h?(0,t.jsx)(l.Card,{className:(0,u.cn)(x?"[--card-spacing:--spacing(4)]":void 0),children:(0,t.jsxs)(l.CardContent,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("h2",{className:"font-medium",children:h.kind}),(0,t.jsx)(m.StatusBadge,{status:h.status})]}),(0,t.jsx)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:h.id})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[x&&(0,t.jsx)(s.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsx)(d.Link,{href:`/jobs/${h.id}`,children:f("open")})}),("QUEUED"===h.status||"RUNNING"===h.status)&&(0,t.jsxs)(s.Button,{onClick:()=>void w(),size:"sm",variant:"destructive",children:[(0,t.jsx)(a.Square,{}),f("cancel")]})]})]}),h.error&&(0,t.jsx)(n.Alert,{className:"mt-3",variant:"destructive",children:(0,t.jsx)(n.AlertDescription,{children:h.error})}),(0,t.jsx)("div",{ref:C,className:(0,u.cn)("mt-4 overflow-auto rounded-lg border bg-zinc-950 p-3 font-mono text-xs leading-5 text-zinc-100",x?"h-80":"h-[32rem]"),onScroll:e=>{let t=e.currentTarget;N.current=t.scrollHeight-t.scrollTop-t.clientHeight<24},children:0===b.length?(0,t.jsx)("span",{className:"text-zinc-500",children:f("waiting")}):b.map(e=>(0,t.jsxs)("div",{className:(0,u.cn)("whitespace-pre-wrap break-all","STDERR"===e.stream&&"text-amber-300","SYSTEM"===e.stream&&"text-sky-300"),children:[(0,t.jsx)("span",{className:"mr-2 select-none text-zinc-600",children:String(e.sequence).padStart(4,"0")}),e.message]},e.id))})]})}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:f("notFound")})}])},434719,e=>{"use strict";let t=String.raw`\b([A-Z][A-Z0-9_]*-\d+)\b`;e.s(["DEFAULT_JIRA_BRANCH_REGEX",0,t,"DEFAULT_WORKTREE_FETCH_INTERVAL_SECONDS",0,300,"MAX_WORKTREE_FETCH_INTERVAL_SECONDS",0,86400,"MIN_WORKTREE_FETCH_INTERVAL_SECONDS",0,60,"WORKTREE_BRANCH_JOB_KIND",0,"worktree.branch","WORKTREE_DELETE_JOB_KIND",0,"worktree.delete","WORKTREE_INSPECT_JOB_KIND",0,"worktree.inspect","WORKTREE_MOVE_CHECKOUT_JOB_KIND",0,"worktree.move.checkout","WORKTREE_MOVE_PUSH_JOB_KIND",0,"worktree.move.push","WORKTREE_OPERATION_JOB_KIND",0,"worktree.operation","WORKTREE_WATCH_JOB_KIND",0,"worktree.watch"])},421645,e=>{"use strict";e.s(["CODEBASE_BROWSE_JOB_KIND",0,"codebase.browse","CODEBASE_FETCH_JOB_KIND",0,"codebase.fetch","CODEBASE_GIT_INSPECT_JOB_KIND",0,"codebase.git.inspect","CODEBASE_GIT_OPERATION_JOB_KIND",0,"codebase.git.operation","CODEBASE_INSPECT_JOB_KIND",0,"codebase.inspect","CODEBASE_RECONCILE_EVENT_CAPABILITY",0,"codebase.reconcile.requested","CODEBASE_REFRESH_JOB_KIND",0,"codebase.refresh","DEFAULT_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,30,"MAX_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,3600,"MIN_CODEBASE_RECONCILE_INTERVAL_SECONDS",0,10])},874801,e=>{"use strict";var t=e.i(843476),a=e.i(867927),r=e.i(456420);let i=(0,r.default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),n=(0,r.default)("folder-check",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]]);var s=e.i(902434),s=s,l=e.i(948148),o=e.i(271645),d=e.i(929592),c=e.i(519455),u=e.i(59497),p=e.i(110204),m=e.i(987968),x=e.i(462777),f=e.i(637611);e.s(["AgentDirectoryBrowser",0,function({agentId:e,browseLabel:r,disabled:h=!1,initialPath:g=null,onPathChange:b,onSelect:v,selectIcon:j,selectLabel:y}){var D;let E=(0,l.useTranslations)("codebases"),[C,N]=(0,o.useState)(null),[S,w]=(0,o.useState)(!1),[T,I]=(0,o.useState)(!1),[A,_]=(0,o.useState)(null),R=(0,o.useRef)(0),O=(0,o.useCallback)(async t=>{let a=++R.current;I(!0);try{let r=await (0,f.controlPlaneRequest)(`mutation BrowseAgentDirectory($input: BrowseAgentDirectoryInput!) {
2
+ browseAgentDirectory(input: $input) {
3
+ path parentPath homePath truncated entries { name path hidden }
4
+ }
5
+ }`,{input:{agentId:e,path:t,requestId:(0,x.createClientId)()}});if(a!==R.current)return;N(r.browseAgentDirectory),b?.(r.browseAgentDirectory.path),_(null)}catch(e){if(a!==R.current)return;_(e instanceof Error?e.message:String(e))}finally{a===R.current&&I(!1)}},[e,b]);if((0,o.useEffect)(()=>{if(!g)return;let e=window.setTimeout(()=>void O(g),0);return()=>window.clearTimeout(e)},[O,g]),(0,o.useEffect)(()=>()=>{R.current+=1},[]),!C)return(0,t.jsxs)("div",{className:"space-y-3",children:[A&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:A})}),(0,t.jsxs)(c.Button,{disabled:T||h,onClick:()=>void O(null),type:"button",variant:"outline",children:[T?(0,t.jsx)(m.Spinner,{}):(0,t.jsx)(i,{})," ",r??E("browseHome")]})]});let B="/"===(D=C.path)?[{label:"/",path:"/"}]:[{label:"/",path:"/"},...D.split("/").filter(Boolean).map((e,t,a)=>({label:e,path:`/${a.slice(0,t+1).join("/")}`}))];return(0,t.jsxs)("div",{className:"space-y-3 rounded-lg border p-3",children:[A&&(0,t.jsx)(d.Alert,{variant:"destructive",children:(0,t.jsx)(d.AlertDescription,{children:A})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsx)(c.Button,{"aria-label":E("home"),disabled:T||h,onClick:()=>void O(C.homePath),size:"icon-sm",type:"button",variant:"ghost",children:(0,t.jsx)(s.default,{})}),B.map((e,r)=>(0,t.jsxs)("span",{className:"flex items-center",children:[r>0&&(0,t.jsx)(a.ChevronRight,{className:"size-3 text-muted-foreground"}),(0,t.jsx)(c.Button,{disabled:T||h,onClick:()=>void O(e.path),size:"sm",type:"button",variant:"ghost",children:e.label})]},e.path))]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(u.Checkbox,{checked:S,id:`show-hidden-${e}`,onCheckedChange:e=>w(!!e)}),(0,t.jsx)(p.Label,{htmlFor:`show-hidden-${e}`,children:E("showHidden")})]}),(0,t.jsx)("div",{className:"max-h-64 overflow-y-auto rounded-md border",children:C.entries.filter(e=>S||!e.hidden).map(e=>(0,t.jsxs)(c.Button,{className:"h-auto w-full justify-start rounded-none border-b px-3 py-2 last:border-0",disabled:T||h,onClick:()=>void O(e.path),size:"sm",type:"button",variant:"ghost",children:[(0,t.jsx)(i,{className:"size-4"})," ",e.name]},e.path))}),C.truncated&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:E("truncated")}),v&&y&&(0,t.jsxs)(c.Button,{disabled:T||h,onClick:()=>void v(C.path),type:"button",children:[h?(0,t.jsx)(m.Spinner,{}):j??(0,t.jsx)(n,{})," ",y]})]})}],874801)},354576,e=>{"use strict";var t=e.i(843476),a=e.i(421645),r=e.i(711241),i=e.i(689664),n=e.i(716327),s=e.i(867927),l=e.i(508734),o=e.i(566595),d=e.i(573474),c=e.i(747925),u=e.i(861745),p=e.i(948148),m=e.i(271645),x=e.i(874801),f=e.i(997695),h=e.i(675926),g=e.i(340953),b=e.i(929592),v=e.i(487486),j=e.i(519455),y=e.i(515288),D=e.i(24265),E=e.i(82612),C=e.i(793479),N=e.i(110204),S=e.i(987968),w=e.i(967489),T=e.i(784774),I=e.i(624687),A=e.i(520133),_=e.i(462777),R=e.i(637611),O=e.i(975157),B=e.i(778434),k=e.i(990142),L=e.i(434719);let $=()=>({codebaseId:"",folder:"",gitDirectory:"",expectedOrigin:"",baseBranch:null}),J=e=>"QUEUED"===e.status||"RUNNING"===e.status;function P(e,t){return e.some(e=>e.id===t.id)?e.map(e=>e.id===t.id?t:e):[t,...e]}function F({agent:e,canBrowseDirectories:a,onSaved:r}){let i=(0,p.useTranslations)("agentDetail"),[n,s]=(0,m.useState)(e.buildsDirectory??""),[l,o]=(0,m.useState)(!1),[c,u]=(0,m.useState)(null),f=async t=>{o(!0),u(null);try{let a=await (0,R.controlPlaneRequest)(`mutation UpdateAgentBuildsDirectory($agentId: ID!, $buildsDirectory: String) {
6
+ updateAgentBuildsDirectory(agentId: $agentId, buildsDirectory: $buildsDirectory) { ${B.AGENT_FIELDS} }
7
+ }`,{agentId:e.id,buildsDirectory:t});r(a.updateAgentBuildsDirectory),s(a.updateAgentBuildsDirectory.buildsDirectory??"")}catch(e){u(e instanceof Error?e.message:String(e))}finally{o(!1)}};return(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:i("buildsDirectory")}),(0,t.jsx)(y.CardDescription,{children:i("buildsDirectoryDescription")})]}),(0,t.jsxs)(y.CardContent,{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("effectiveDirectory")}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:e.effectiveBuildsDirectory??i("notConfigured")}),!e.buildsDirectory&&e.baseRepoDirectory&&(0,t.jsx)(v.Badge,{className:"mt-2",variant:"outline",children:i("agentDefault")})]}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(N.Label,{htmlFor:"builds-directory-path",children:i("customBuildsDirectory")}),(0,t.jsx)(C.Input,{disabled:l,id:"builds-directory-path",onChange:e=>s(e.target.value),placeholder:e.effectiveBuildsDirectory??"/Users/example/Repositories/Builds",value:n})]}),a&&(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:e.id,browseLabel:i("browseBuildsDirectory"),disabled:l,onSelect:s,selectLabel:i("useDirectory")}),c&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:c})}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(j.Button,{disabled:l||!n.trim(),onClick:()=>void f(n.trim()),children:[l&&(0,t.jsx)(S.Spinner,{})," ",i("saveBuildsDirectory")]}),e.buildsDirectory&&(0,t.jsxs)(j.Button,{disabled:l,onClick:()=>void f(null),variant:"outline",children:[(0,t.jsx)(d.Trash2,{})," ",i("useAgentDefault")]})]})]})]})}function H({agent:e,canBrowseDirectories:a,onSaved:r}){let i=(0,p.useTranslations)("agentDetail"),[n,s]=(0,m.useState)(e.derivedDataLocationMode??"DEFAULT"),[l,o]=(0,m.useState)(e.derivedDataPath??""),[d,c]=(0,m.useState)(!1),[u,f]=(0,m.useState)(null),h=async t=>{t.preventDefault(),c(!0),f(null);try{let t=await (0,R.controlPlaneRequest)(`mutation UpdateAgentDerivedDataSettings($agentId: ID!, $input: UpdateAgentDerivedDataSettingsInput!) {
8
+ updateAgentDerivedDataSettings(agentId: $agentId, input: $input) { ${B.AGENT_FIELDS} }
9
+ }`,{agentId:e.id,input:{mode:n,path:"DEFAULT"===n?null:l}});r(t.updateAgentDerivedDataSettings)}catch(e){f(e instanceof Error?e.message:String(e))}finally{c(!1)}};return(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:i("derivedDataLocation")}),(0,t.jsx)(y.CardDescription,{children:i("derivedDataLocationDescription")})]}),(0,t.jsx)(y.CardContent,{children:(0,t.jsxs)("form",{className:"space-y-4",onSubmit:e=>void h(e),children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(N.Label,{htmlFor:"derived-data-mode",children:i("derivedDataMode")}),(0,t.jsxs)(w.Select,{disabled:d,onValueChange:e=>s(e),value:n,children:[(0,t.jsx)(w.SelectTrigger,{id:"derived-data-mode",children:(0,t.jsx)(w.SelectValue,{})}),(0,t.jsxs)(w.SelectContent,{children:[(0,t.jsx)(w.SelectItem,{value:"DEFAULT",children:i("derivedDataDefault")}),(0,t.jsx)(w.SelectItem,{value:"ABSOLUTE",children:i("derivedDataAbsolute")}),(0,t.jsx)(w.SelectItem,{value:"RELATIVE",children:i("derivedDataRelative")})]})]})]}),"DEFAULT"===n?(0,t.jsx)("div",{className:"rounded-lg bg-muted p-3 font-mono text-xs",children:"~/Library/Developer/Xcode/DerivedData"}):(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)(N.Label,{htmlFor:"derived-data-path",children:i("ABSOLUTE"===n?"derivedDataAbsolutePath":"derivedDataRelativePath")}),(0,t.jsx)(C.Input,{disabled:d,id:"derived-data-path",onChange:e=>o(e.target.value),placeholder:"ABSOLUTE"===n?"/Users/example/DerivedData":"DerivedData",value:l}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("ABSOLUTE"===n?"derivedDataAbsoluteHelp":"derivedDataRelativeHelp")})]}),"ABSOLUTE"===n&&a&&(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:e.id,disabled:d,onSelect:o,selectLabel:i("useDirectory")}),u&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:u})}),(0,t.jsxs)(j.Button,{disabled:d||"DEFAULT"!==n&&!l.trim(),type:"submit",children:[d&&(0,t.jsx)(S.Spinner,{}),i("saveDerivedDataSettings")]})]})})]})}function z({label:e,value:a,mono:r=!1}){return(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("dt",{className:"text-xs text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:(0,O.cn)("truncate",r&&"font-mono text-xs"),title:"string"==typeof a?a:void 0,children:a})]})}function K(e,t){let a=["B","KiB","MiB","GiB","TiB"],r=Math.min(Math.floor(Math.log(Math.max(e,1))/Math.log(1024)),a.length-1);return`${new Intl.NumberFormat(t,{maximumFractionDigits:1}).format(e/1024**r)} ${a[r]}`}function M({label:e,total:a,free:r,locale:i,unavailable:n,usedLabel:s,freeLabel:l}){if(null==a||null==r||a<=0)return(0,t.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,t.jsx)("p",{className:"font-medium",children:e}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:n})]});let o=Math.max(0,Math.min(r,a)),d=a-o,c=d/a*100;return(0,t.jsxs)("div",{className:"rounded-lg border p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("p",{className:"font-medium",children:e}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[Math.round(c),"%"]})]}),(0,t.jsx)("div",{className:"mt-3 h-2 overflow-hidden rounded-full bg-muted",children:(0,t.jsx)("div",{"aria-label":`${e}: ${Math.round(c)}%`,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":Math.round(c),className:"h-full rounded-full bg-primary transition-[width]",role:"progressbar",style:{width:`${c}%`}})}),(0,t.jsxs)("dl",{className:"mt-3 grid grid-cols-2 gap-3 text-xs",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:s}),(0,t.jsx)("dd",{children:K(d,i)})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"text-muted-foreground",children:l}),(0,t.jsx)("dd",{children:K(o,i)})]})]})]})}function U({agentId:e,capability:r,offline:i,onJobChanged:l}){let o=(0,p.useTranslations)("agentDetail"),[d,c]=(0,m.useState)(!1),u=r===a.CODEBASE_RECONCILE_EVENT_CAPABILITY,x=()=>c(e=>!e);return(0,t.jsxs)(m.Fragment,{children:[(0,t.jsxs)(T.TableRow,{"aria-expanded":d,"aria-label":o(d?"collapseCapability":"expandCapability",{capability:r}),className:"cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",onClick:x,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),x())},role:"button",tabIndex:0,children:[(0,t.jsx)(T.TableCell,{children:d?(0,t.jsx)(n.ChevronDown,{className:"size-4"}):(0,t.jsx)(s.ChevronRight,{className:"size-4"})}),(0,t.jsx)(T.TableCell,{className:"font-mono text-xs font-medium",children:r}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(v.Badge,{variant:"outline",children:o(u?"event":"job")})})]}),(0,t.jsx)(T.TableRow,{className:d?"bg-muted/20 hover:bg-muted/20":"hidden",children:(0,t.jsx)(T.TableCell,{className:"whitespace-normal p-4",colSpan:3,children:(0,t.jsx)(q,{agentId:e,capability:r,eventCapability:u,offline:i,onJobChanged:l})})})]})}function q({agentId:e,capability:r,eventCapability:n,offline:s,onJobChanged:o}){let d=(0,p.useTranslations)("agentDetail"),u=(0,p.useTranslations)("tools"),[x,f]=(0,m.useState)(()=>JSON.stringify(function(e){switch(e){case"cloudflared.runTunnel":return{tunnelName:""};case k.CCUSAGE_REPORT_JOB_KIND:return{};case a.CODEBASE_BROWSE_JOB_KIND:return{path:null};case a.CODEBASE_INSPECT_JOB_KIND:return{folder:""};case a.CODEBASE_REFRESH_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:""};case a.CODEBASE_FETCH_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:"",baseBranch:"",keepBaseBranchUpToDate:!1};case a.CODEBASE_GIT_INSPECT_JOB_KIND:return{action:"STATE",codebaseId:"",folder:"",expectedOrigin:""};case a.CODEBASE_GIT_OPERATION_JOB_KIND:return{codebaseId:"",folder:"",expectedOrigin:"",defaultBranch:null,operation:"SWITCH_BRANCH",branch:"",stashChanges:!1};case L.WORKTREE_INSPECT_JOB_KIND:return $();case L.WORKTREE_OPERATION_JOB_KIND:return{...$(),operation:"SYNC"};case L.WORKTREE_WATCH_JOB_KIND:return{...$(),action:"START",watchId:""};case L.WORKTREE_BRANCH_JOB_KIND:return{codebaseId:"",rootFolder:"",folder:null,gitDirectory:null,expectedOrigin:"",baseBranch:"",action:"CREATE",mode:"NEW",candidates:[""],stashOnFailure:!1};case L.WORKTREE_MOVE_PUSH_JOB_KIND:return{moveId:"",codebaseId:"",folder:"",gitDirectory:"",expectedOrigin:"",branch:"",expectedHeadSha:""};case L.WORKTREE_MOVE_CHECKOUT_JOB_KIND:return{moveId:"",codebaseId:"",rootFolder:"",folder:null,gitDirectory:null,expectedOrigin:"",branch:"",expectedHeadSha:"",baseBranch:"",mode:"NEW",stashOnFailure:!1};case L.WORKTREE_DELETE_JOB_KIND:return{moveId:null,codebaseId:"",rootFolder:"",folder:"",gitDirectory:"",expectedOrigin:"",branch:null,defaultBranch:null,deleteRemoteBranch:!1,requireClean:!1,expectedHeadSha:null};default:return{}}}(r),null,2)),[h,g]=(0,m.useState)(null),[v,y]=(0,m.useState)(void 0),[D,E]=(0,m.useState)(null),[C,w]=(0,m.useState)(!1),[T,A]=(0,m.useState)(!1);(0,m.useEffect)(()=>{if(h&&J(h))return(0,R.controlPlaneSubscriptions)().subscribe({query:`subscription CapabilityJobChanged($jobId: ID!) {
10
+ agentJobChanged(jobId: $jobId) { ${B.JOB_FIELDS} }
11
+ }`,variables:{jobId:h.id}},{next:e=>{let t=e.data?.agentJobChanged;t&&(g(t),o(t))},error:()=>void 0,complete:()=>void 0})},[h,o]);let O=async t=>{t.preventDefault(),w(!0),E(null),A(!1);try{if(n){let t=await (0,R.controlPlaneRequest)(`mutation RequestAgentCodebaseReconcile($agentId: ID!) {
12
+ requestAgentCodebaseReconcile(agentId: $agentId)
13
+ }`,{agentId:e});y({accepted:t.requestAgentCodebaseReconcile}),g(null);return}let t=JSON.parse(x);if(!t||"object"!=typeof t||Array.isArray(t))throw Error(u("invalidJsonObject"));let a=await (0,R.controlPlaneRequest)(`mutation InvokeAgentCapability($input: CreateAgentJobInput!) {
14
+ createAgentJob(input: $input) { ${B.JOB_FIELDS} }
15
+ }`,{input:{agentId:e,kind:r,payload:t,idempotencyKey:`manual:${r}:${(0,_.createClientId)()}`,timeoutSeconds:86400}});g(a.createAgentJob),y(void 0),o(a.createAgentJob,!0)}catch(e){E(e instanceof SyntaxError?u("invalidJsonObject"):e instanceof Error?e.message:String(e)),g(null),y(void 0)}finally{w(!1)}},P=h?{status:h.status,result:h.result,error:h.error}:v,F=void 0===P?"":JSON.stringify(P,null,2),H=async()=>{try{await (0,_.copyText)(F),A(!0)}catch{E(u("copyFailed"))}};return(0,t.jsxs)("form",{className:"grid gap-4 lg:grid-cols-2",onSubmit:O,children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("h4",{className:"text-sm font-medium",children:u("parameters")}),n?(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:d("eventCapabilityDescription")}):(0,t.jsxs)("div",{children:[(0,t.jsx)(N.Label,{className:"mb-1.5 block",htmlFor:`${r}-payload`,children:d("payload")}),(0,t.jsx)(I.Textarea,{className:"min-h-36 font-mono text-xs",id:`${r}-payload`,onChange:e=>f(e.target.value),spellCheck:!1,value:x})]}),(0,t.jsxs)(j.Button,{disabled:C||s,type:"submit",children:[C?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(c.Wrench,{}),C?u("running"):d("invoke")]}),s&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:d("invokeOffline")})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-2",children:[(0,t.jsxs)("div",{className:"flex min-h-7 items-center justify-between gap-2",children:[(0,t.jsx)("h4",{className:"text-sm font-medium",children:u("response")}),void 0!==P&&(0,t.jsx)(j.Button,{"aria-label":T?u("copied"):u("copyResponse"),onClick:()=>void H(),size:"icon-sm",type:"button",variant:"ghost",children:T?(0,t.jsx)(i.Check,{}):(0,t.jsx)(l.Copy,{})})]}),D?(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:D})}):void 0===P?(0,t.jsx)("div",{className:"rounded-lg border border-dashed p-4 text-sm text-muted-foreground",children:d("noCapabilityResponse")}):(0,t.jsx)("pre",{className:"max-h-96 overflow-auto rounded-lg bg-muted p-3 font-mono text-xs whitespace-pre-wrap",children:F})]})]})}function V({codebases:e}){let a=(0,p.useTranslations)("agentDetail"),r=(0,p.useTranslations)("codebases");return(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:a("codebases")}),(0,t.jsx)(y.CardDescription,{children:a("codebasesDescription")})]}),0===e.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:a("noCodebases")}):(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableHead,{children:a("repository")}),(0,t.jsx)(T.TableHead,{children:r("folder")}),(0,t.jsx)(T.TableHead,{children:r("branch")}),(0,t.jsx)(T.TableHead,{children:a("status")}),(0,t.jsx)(T.TableHead,{children:r("lastChecked")}),(0,t.jsx)(T.TableHead,{className:"w-20"})]})}),(0,t.jsx)(T.TableBody,{children:e.map(e=>(0,t.jsxs)(T.TableRow,{children:[(0,t.jsxs)(T.TableCell,{children:[(0,t.jsx)("p",{className:"font-medium",children:e.repository.name}),(0,t.jsx)("p",{className:"max-w-sm truncate font-mono text-xs text-muted-foreground",children:e.repository.displayOrigin})]}),(0,t.jsx)(T.TableCell,{className:"max-w-sm truncate font-mono text-xs",children:e.folder}),(0,t.jsx)(T.TableCell,{className:"font-mono text-xs",children:e.branch??e.headSha?.slice(0,10)??r("unknown")}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(v.Badge,{className:(0,O.cn)("IN_SYNC"===e.syncState&&"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300"),variant:"outline",children:"AVAILABLE"===e.availability?r(`sync.${e.syncState}`):r(`availability.${e.availability}`)})}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(D.DateTime,{fallback:r("never"),value:e.lastCheckedAt})}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(j.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsx)(A.Link,{href:`/codebases/${e.id}`,children:r("view")})})})]},e.id))})]})]})}e.s(["AgentDetail",0,function({agentId:e}){let i=(0,p.useTranslations)("agentDetail"),n=(0,p.useTranslations)("common"),s=(0,u.useLocale)(),l=(0,A.useRouter)(),[c,v]=(0,m.useState)(null),[N,w]=(0,m.useState)([]),[I,_]=(0,m.useState)([]),[k,L]=(0,m.useState)(""),[$,K]=(0,m.useState)(null),[q,W]=(0,m.useState)(!0),[G,Z]=(0,m.useState)(null),[X,Y]=(0,m.useState)(!1),[Q,ee]=(0,m.useState)(!1),[et,ea]=(0,m.useState)(null),er=(0,m.useRef)(0),ei=(0,m.useCallback)(async()=>{let t=++er.current;try{let a=await (0,R.controlPlaneRequest)(`query AgentDetail($id: ID!) {
16
+ agent(id: $id) { ${B.AGENT_FIELDS} }
17
+ agentJobs(agentId: $id) { ${B.JOB_FIELDS} }
18
+ codebaseOverview {
19
+ repositories {
20
+ id name description displayOrigin
21
+ codebases {
22
+ id folder branch headSha syncState availability lastCheckedAt
23
+ agent { id }
24
+ }
25
+ }
26
+ }
27
+ }`,{id:e});if(t!==er.current)return;v(a.agent),w(a.agentJobs),_((a.codebaseOverview?.repositories??[]).flatMap(t=>t.codebases.filter(t=>t.agent.id===e).map(e=>({id:e.id,folder:e.folder,branch:e.branch,headSha:e.headSha,syncState:e.syncState,availability:e.availability,lastCheckedAt:e.lastCheckedAt,repository:{id:t.id,name:t.name,description:t.description,displayOrigin:t.displayOrigin}})))),K(e=>e&&a.agentJobs.some(t=>t.id===e)?e:a.agentJobs[0]?.id??null),Z(null)}catch(e){if(t!==er.current)return;Z(e instanceof Error?e.message:String(e))}finally{t===er.current&&W(!1)}},[e]);(0,m.useEffect)(()=>{let t=window.setTimeout(()=>void ei(),0),a=(0,R.controlPlaneSubscriptions)(),r=a.subscribe({query:`subscription AgentChanged($agentId: ID!) { agentChanged(agentId: $agentId) { ${B.AGENT_FIELDS} } }`,variables:{agentId:e}},{next:e=>e.data?.agentChanged&&v(e.data.agentChanged),error:()=>void 0,complete:()=>void 0}),i=a.subscribe({query:`subscription CodebaseOverviewChanged {
28
+ codebaseOverviewChanged { codebaseId repositoryId }
29
+ }`},{next:()=>void ei(),error:()=>void 0,complete:()=>void 0});return()=>{window.clearTimeout(t),er.current+=1,r(),i()}},[e,ei]);let en=(0,m.useMemo)(()=>N.filter(J).map(e=>e.id),[N]);(0,m.useEffect)(()=>{let e=(0,R.controlPlaneSubscriptions)(),t=en.map(t=>e.subscribe({query:`subscription JobChanged($jobId: ID!) { agentJobChanged(jobId: $jobId) { ${B.JOB_FIELDS} } }`,variables:{jobId:t}},{next:e=>{let t=e.data?.agentJobChanged;t&&w(e=>P(e,t))},error:()=>void 0,complete:()=>void 0}));return()=>t.forEach(e=>e())},[en]);let es=async t=>{ee(!0),ea(null);try{let a=await (0,R.controlPlaneRequest)(`mutation UpdateAgentBaseRepoDirectory($agentId: ID!, $baseRepoDirectory: String) {
30
+ updateAgentBaseRepoDirectory(agentId: $agentId, baseRepoDirectory: $baseRepoDirectory) {
31
+ ${B.AGENT_FIELDS}
32
+ }
33
+ }`,{agentId:e,baseRepoDirectory:t});v(a.updateAgentBaseRepoDirectory)}catch(e){ea(e instanceof Error?e.message:String(e))}finally{ee(!1)}},el=(0,m.useCallback)((e,t=!1)=>{w(t=>P(t,e)),t&&K(e.id)},[]),eo=async()=>{Y(!0),Z(null);try{await (0,R.controlPlaneRequest)("mutation DeleteAgent($agentId: ID!) { deleteAgent(agentId: $agentId) }",{agentId:e}),l.push("/agents")}catch(e){Z(e instanceof Error?e.message:String(e)),Y(!1)}};if(q)return(0,t.jsxs)("p",{className:"mx-auto flex max-w-6xl items-center gap-2 text-sm text-muted-foreground",children:[(0,t.jsx)(S.Spinner,{}),i("loading")]});if(G&&!c)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-destructive",children:G});if(!c)return(0,t.jsx)("p",{className:"mx-auto max-w-6xl text-sm text-muted-foreground",children:i("notFound")});let ed="ONLINE"===c.connectionStatus&&c.capabilities.includes(a.CODEBASE_BROWSE_JOB_KIND),ec=c.capabilities.filter(e=>e.toLocaleLowerCase().includes(k.toLocaleLowerCase()));return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[1500px] flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)(j.Button,{asChild:!0,size:"sm",variant:"ghost",children:(0,t.jsxs)(A.Link,{href:"/agents",children:[(0,t.jsx)(r.ArrowLeft,{}),i("back")]})}),(0,t.jsx)(g.ConfirmationDialog,{actionLabel:i("deleteAgent"),cancelLabel:n("cancel"),description:i("deleteAgentDescription",{name:c.name}),onConfirm:eo,title:i("deleteAgentTitle"),trigger:(0,t.jsxs)(j.Button,{disabled:X,size:"sm",variant:"destructive",children:[X?(0,t.jsx)(S.Spinner,{}):(0,t.jsx)(d.Trash2,{}),i("deleteAgent")]})})]}),G&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:G})}),(0,t.jsxs)(y.Card,{children:[(0,t.jsx)(y.CardHeader,{children:(0,t.jsxs)("div",{className:"flex flex-wrap items-start justify-between gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(y.CardTitle,{className:"text-2xl font-semibold tracking-tight",children:c.name}),(0,t.jsx)(h.StatusBadge,{status:c.connectionStatus})]}),(0,t.jsxs)(y.CardDescription,{className:"mt-1",children:[c.hostname," · ",c.osVersion," · ",c.architecture]})]}),(0,t.jsx)("p",{className:"font-mono text-xs text-muted-foreground",children:c.id})]})}),(0,t.jsxs)(y.CardContent,{className:"space-y-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"font-medium",children:i("generalInformation")}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("generalInformationDescription")})]}),(0,t.jsxs)("dl",{className:"grid gap-4 text-sm sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsx)(z,{label:i("version"),value:c.version}),(0,t.jsx)(z,{label:i("cpuModel"),value:c.cpuModel??i("unavailable")}),(0,t.jsx)(z,{label:i("operatingSystem"),value:c.osVersion}),(0,t.jsx)(z,{label:i("architecture"),value:c.architecture}),(0,t.jsx)(z,{label:i("lastSeen"),value:(0,t.jsx)(D.DateTime,{fallback:i("never"),value:c.lastSeenAt})}),(0,t.jsx)(z,{label:i("ipAddress"),value:c.ipAddress??i("unavailable"),mono:!0})]}),(0,t.jsxs)("div",{className:"grid gap-3 md:grid-cols-2",children:[(0,t.jsx)(M,{free:c.memoryFreeBytes,label:i("memory"),locale:s,total:c.memoryTotalBytes,unavailable:i("unavailable"),usedLabel:i("used"),freeLabel:i("free")}),(0,t.jsx)(M,{free:c.diskFreeBytes,label:i("disk"),locale:s,total:c.diskTotalBytes,unavailable:i("unavailable"),usedLabel:i("used"),freeLabel:i("free")})]})]})]}),(0,t.jsxs)(y.Card,{className:"gap-0 py-0",children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:i("capabilities")}),(0,t.jsx)(y.CardDescription,{children:i("capabilitiesDescription")})]}),(0,t.jsx)("div",{className:"border-b p-4",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Search,{className:"pointer-events-none absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground"}),(0,t.jsx)(C.Input,{"aria-label":i("searchCapabilities"),className:"pl-9",onChange:e=>L(e.target.value),placeholder:i("searchCapabilitiesPlaceholder"),type:"search",value:k})]})}),0===ec.length?(0,t.jsx)("p",{className:"p-4 text-sm text-muted-foreground",children:i("noMatchingCapabilities")}):(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableHead,{className:"w-10"}),(0,t.jsx)(T.TableHead,{children:i("capability")}),(0,t.jsx)(T.TableHead,{children:i("kind")})]})}),(0,t.jsx)(T.TableBody,{children:ec.map(e=>(0,t.jsx)(U,{agentId:c.id,capability:e,offline:"ONLINE"!==c.connectionStatus,onJobChanged:el},e))})]})]}),(0,t.jsx)(V,{codebases:I}),(0,t.jsxs)(y.Card,{children:[(0,t.jsxs)(y.CardHeader,{children:[(0,t.jsx)(y.CardTitle,{children:i("baseRepoDirectory")}),(0,t.jsx)(y.CardDescription,{children:i("baseRepoDirectoryDescription")})]}),(0,t.jsxs)(y.CardContent,{children:[(0,t.jsxs)("div",{className:"rounded-lg bg-muted p-3",children:[(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:i("currentDirectory")}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs",children:c.baseRepoDirectory??i("notConfigured")})]}),et&&(0,t.jsx)(b.Alert,{className:"mt-4",variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:et})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap items-start gap-2",children:[(0,t.jsx)("div",{className:"min-w-0 flex-1",children:ed?(0,t.jsx)(x.AgentDirectoryBrowser,{agentId:c.id,disabled:Q,onSelect:e=>es(e),selectLabel:i("useDirectory")},`${c.id}:${c.baseRepoDirectory??""}`):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:i("directoryBrowsingUnavailable")})}),c.baseRepoDirectory&&(0,t.jsxs)(j.Button,{disabled:Q,onClick:()=>void es(null),type:"button",variant:"outline",children:[(0,t.jsx)(d.Trash2,{})," ",i("clearDirectory")]})]})]})]}),(0,t.jsx)(H,{agent:c,canBrowseDirectories:ed,onSaved:v},`${c.id}:${c.derivedDataLocationMode??"DEFAULT"}:${c.derivedDataPath??""}`),(0,t.jsx)(F,{agent:c,canBrowseDirectories:ed,onSaved:v},`${c.id}:${c.buildsDirectory??"default"}:${c.defaultBuildsDirectory??""}`),$&&(0,t.jsx)(f.JobMonitor,{compact:!0,jobId:$},$),(0,t.jsxs)("section",{children:[(0,t.jsx)("h2",{className:"mb-3 font-medium",children:i("history")}),0===N.length?(0,t.jsx)(E.Empty,{children:(0,t.jsx)(E.EmptyHeader,{children:(0,t.jsx)(E.EmptyDescription,{children:i("noJobs")})})}):(0,t.jsx)(y.Card,{className:"gap-0 py-0",children:(0,t.jsxs)(T.Table,{children:[(0,t.jsx)(T.TableHeader,{children:(0,t.jsxs)(T.TableRow,{children:[(0,t.jsx)(T.TableHead,{children:i("job")}),(0,t.jsx)(T.TableHead,{children:i("status")}),(0,t.jsx)(T.TableHead,{children:i("created")}),(0,t.jsx)(T.TableHead,{children:i("finished")})]})}),(0,t.jsx)(T.TableBody,{children:N.map(e=>(0,t.jsxs)(T.TableRow,{"aria-current":$===e.id?"true":void 0,"aria-label":i("selectJob",{kind:e.kind}),className:(0,O.cn)("cursor-pointer focus-visible:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",$===e.id&&"bg-muted/50"),onClick:()=>K(e.id),onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),K(e.id))},role:"button",tabIndex:0,children:[(0,t.jsx)(T.TableCell,{className:"font-mono text-xs font-medium",children:e.kind}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(h.StatusBadge,{status:e.status})}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(D.DateTime,{value:e.createdAt})}),(0,t.jsx)(T.TableCell,{children:(0,t.jsx)(D.DateTime,{value:e.finishedAt})})]},e.id))})]})})]})]})}],354576)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let r=document.execCommand("copy");if(t.remove(),!r)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),o=e.i(964053),n=e.i(519455),i=e.i(975157);function a({...e}){return(0,t.jsx)(o.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(o.Dialog.Overlay,{className:(0,i.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(o.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(a,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(o.Dialog.Content,{className:(0,i.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),"data-slot":"dialog-content",...c,children:[s,d&&(0,t.jsx)(o.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(o.Dialog.Description,{className:(0,i.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:a,...l}){return(0,t.jsxs)("div",{className:(0,i.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[a,r&&(0,t.jsx)(o.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(o.Dialog.Title,{className:(0,i.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(o.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function a(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var s;let d,c=(s=`Primitive.${i}`,(d=r.forwardRef((e,t)=>{var i;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];a(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){g=!0;let t="child"in e.props?e.props.child:e.props.children;a(t)&&"function"==typeof l&&(t=l(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(i=f,(c=(d=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.ref:(c=(d=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(f,b)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:o,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?c:i,{...n,ref:r})});return u.displayName=`Primitive.${i}`,{...e,[i]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}var i=e.i(30030);function a(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function g(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=r[" use ".trim().toString()],v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{var i;let a,l=(i=`Primitive.${o}`,(a=r.forwardRef((e,t)=>{var o;let a,l,{children:s,...d}=e,c=null,u=!1,f=[];g(s)&&"function"==typeof m&&(s=m(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof m&&(t=m(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=r.cloneElement(c,void 0,f):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let v=c?(o=c,(l=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(l=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,h=n(t,v);if(!c){if(s||0===s){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return s}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(c,b)})).displayName=`${i}.Slot`,a),s=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:o,{...i,ref:r})});return s.displayName=`Primitive.${o}`,{...e,[o]:s}},{}),h="Checkbox",[b,y]=(0,i.createContextScope)(h),[x,w]=b(h);function j(e){let{__scopeCheckbox:o,checked:n,children:i,defaultChecked:a,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:f="on",internal_do_not_use_render:g}=e,[m,v]=function({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return s(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[d,e,a,l])]}({prop:n,defaultProp:a??!1,onChange:u,caller:h}),[b,y]=r.useState(null),[w,j]=r.useState(null),E=r.useRef(!1),R=!b||!!d||!!b.closest("form"),C={checked:m,disabled:l,setChecked:v,control:b,setControl:y,name:c,form:d,value:f,hasConsumerStoppedPropagationRef:E,required:p,defaultChecked:!T(a)&&a,isFormControl:R,bubbleInput:w,setBubbleInput:j};return(0,t.jsx)(x,{scope:o,...C,children:"function"==typeof g?g(C):i})}var E="CheckboxTrigger",R=r.forwardRef(({__scopeCheckbox:e,onKeyDown:o,onClick:i,...l},s)=>{let{control:d,value:c,disabled:u,checked:p,required:f,setControl:g,setChecked:m,hasConsumerStoppedPropagationRef:h,isFormControl:b,bubbleInput:y}=w(E,e),x=n(s,g),j=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>m(j.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,m]),(0,t.jsx)(v.button,{type:"button",role:"checkbox","aria-checked":T(p)?"mixed":p,"aria-required":f,"data-state":I(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:x,onKeyDown:a(o,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:a(i,e=>{m(e=>!!T(e)||!e),y&&b&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});R.displayName=E;var C=r.forwardRef((e,r)=>{let{__scopeCheckbox:o,name:n,checked:i,defaultChecked:a,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(j,{__scopeCheckbox:o,checked:i,defaultChecked:a,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R,{...p,ref:r,__scopeCheckbox:o}),e&&(0,t.jsx)(D,{__scopeCheckbox:o})]})})});C.displayName=h;var k="CheckboxIndicator",S=r.forwardRef((e,r)=>{let{__scopeCheckbox:o,forceMount:n,...i}=e,a=w(k,o);return(0,t.jsx)(u.Presence,{present:n||T(a.checked)||!0===a.checked,children:(0,t.jsx)(v.span,{"data-state":I(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});S.displayName=k;var _="CheckboxBubbleInput",D=r.forwardRef(({__scopeCheckbox:e,...o},i)=>{let{control:a,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:p,disabled:f,name:g,value:m,form:h,bubbleInput:b,setBubbleInput:y}=w(_,e),x=n(i,y),j=(0,d.usePrevious)(s),E=(0,c.useSize)(a);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(j!==s&&e){let r=new Event("click",{bubbles:t});b.indeterminate=T(s),e.call(b,!T(s)&&s),b.dispatchEvent(r)}},[b,j,s,l]);let R=r.useRef(!T(s)&&s);return(0,t.jsx)(v.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??R.current,required:p,disabled:f,name:g,value:m,form:h,...o,tabIndex:-1,ref:x,style:{...o.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function T(e){return"indeterminate"===e}function I(e){return T(e)?"indeterminate":e?"checked":"unchecked"}D.displayName=_,e.s(["Checkbox",0,C,"CheckboxIndicator",0,S,"Indicator",0,S,"Root",0,C,"createCheckboxScope",0,y,"unstable_BubbleInput",0,D,"unstable_CheckboxBubbleInput",0,D,"unstable_CheckboxProvider",0,j,"unstable_CheckboxTrigger",0,R,"unstable_Provider",0,j,"unstable_Trigger",0,R],388474);var $=e.i(388474),$=$,N=e.i(975157),P=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)($.Root,{"data-slot":"checkbox",className:(0,N.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)($.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(P.CheckIcon,{})})})}],59497)},808562,e=>{"use strict";var t=e.i(843476),r=e.i(271645),o=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var s=r[" use ".trim().toString()],d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{var a;let d,c=(a=`Primitive.${o}`,(d=r.forwardRef((e,t)=>{var o;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];l(u)&&"function"==typeof s&&(u=s(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){g=!0;let t="child"in e.props?e.props.child:e.props.children;l(t)&&"function"==typeof s&&(t=s(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(o=f,(c=(d=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.ref:(c=(d=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,o=e.map(e=>{let o=n(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=a,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=a,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(f,b)})).displayName=`${a}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?c:o,{...i,ref:r})});return u.displayName=`Primitive.${o}`,{...e,[o]:u}},{}),c=e.i(842727);"u">typeof window&&window.document&&window.document.createElement;var u=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var p=r[" useInsertionEffect ".trim().toString()]||u;function f({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return p(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),s=void 0!==e,d=s?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[s,e,a,l])]}Symbol("RADIX:SYNC_STATE");var g="Toggle",m=r.forwardRef((e,r)=>{let{pressed:o,defaultPressed:n,onPressedChange:i,...a}=e,[l,s]=f({prop:o,onChange:i,defaultProp:n??!1,caller:g});return(0,t.jsx)(d.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...a,ref:r,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}(e.onClick,()=>{e.disabled||s(!l)})})});m.displayName=g;var v=e.i(586318),h="ToggleGroup",[b,y]=(0,o.createContextScope)(h,[c.createRovingFocusGroupScope]),x=(0,c.createRovingFocusGroupScope)(),w=r.forwardRef((e,r)=>{let{type:o,...n}=e;if("single"===o)return(0,t.jsx)(R,{role:"radiogroup",...n,ref:r});if("multiple"===o)return(0,t.jsx)(C,{role:"toolbar",...n,ref:r});throw Error(`Missing prop \`type\` expected on \`${h}\``)});w.displayName=h;var[j,E]=b(h),R=r.forwardRef((e,o)=>{let{value:n,defaultValue:i,onValueChange:a=()=>{},...l}=e,[s,d]=f({prop:n,defaultProp:i??"",onChange:a,caller:h});return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>s?[s]:[],[s]),onItemActivate:d,onItemDeactivate:r.useCallback(()=>d(""),[d]),children:(0,t.jsx)(_,{...l,ref:o})})}),C=r.forwardRef((e,o)=>{let{value:n,defaultValue:i,onValueChange:a=()=>{},...l}=e,[s,d]=f({prop:n,defaultProp:i??[],onChange:a,caller:h}),c=r.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:c,onItemDeactivate:u,children:(0,t.jsx)(_,{...l,ref:o})})});w.displayName=h;var[k,S]=b(h),_=r.forwardRef((e,r)=>{let{__scopeToggleGroup:o,disabled:n=!1,rovingFocus:i=!0,orientation:a,dir:l,loop:s=!0,...u}=e,p=x(o),f=(0,v.useDirection)(l),g={dir:f,...u};return(0,t.jsx)(k,{scope:o,rovingFocus:i,disabled:n,children:i?(0,t.jsx)(c.Root,{asChild:!0,...p,orientation:a,dir:f,loop:s,children:(0,t.jsx)(d.div,{...g,ref:r})}):(0,t.jsx)(d.div,{...g,ref:r})})}),D="ToggleGroupItem",T=r.forwardRef((e,o)=>{let n=E(D,e.__scopeToggleGroup),i=S(D,e.__scopeToggleGroup),a=x(e.__scopeToggleGroup),l=n.value.includes(e.value),s=i.disabled||e.disabled,d={...e,pressed:l,disabled:s},u=r.useRef(null);return i.rovingFocus?(0,t.jsx)(c.Item,{asChild:!0,...a,focusable:!s,active:l,ref:u,children:(0,t.jsx)(I,{...d,ref:o})}):(0,t.jsx)(I,{...d,ref:o})});T.displayName=D;var I=r.forwardRef((e,r)=>{let{__scopeToggleGroup:o,value:n,...i}=e,a=E(D,o),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===a.type?l:void 0;return(0,t.jsx)(m,{...s,...i,ref:r,onPressedChange:e=>{e?a.onItemActivate(n):a.onItemDeactivate(n)}})});e.s(["Item",0,T,"Root",0,w,"ToggleGroup",0,w,"ToggleGroupItem",0,T,"createToggleGroupScope",0,y],459881);var $=e.i(459881),$=$,N=e.i(975157),P=e.i(225913);"u">typeof window&&window.document&&window.document.createElement;var z=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var O=r[" useInsertionEffect ".trim().toString()]||z;Symbol("RADIX:SYNC_STATE");var A=e.i(743556),V=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let n=(0,A.createSlot)(`Primitive.${o}`),i=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?n:o,{...a,ref:r})});return i.displayName=`Primitive.${o}`,{...e,[o]:i}},{}),G="Toggle",W=r.forwardRef((e,o)=>{let{pressed:n,defaultPressed:i,onPressedChange:a,...l}=e,[s,d]=function({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return O(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),s=void 0!==e,d=s?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[s,e,a,l])]}({prop:n,onChange:a,defaultProp:i??!1,caller:G});return(0,t.jsx)(V.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:o,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}(e.onClick,()=>{e.disabled||d(!s)})})});W.displayName=G,e.s(["Root",0,W,"Toggle",0,W],864225),e.i(864225);let L=(0,P.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),M=r.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:r,size:o,spacing:n=2,orientation:i="horizontal",children:a,...l}){return(0,t.jsx)($.Root,{"data-slot":"toggle-group","data-variant":r,"data-size":o,"data-spacing":n,"data-orientation":i,style:{"--gap":n},className:(0,N.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(M.Provider,{value:{variant:r,size:o,spacing:n,orientation:i},children:a})})},"ToggleGroupItem",0,function({className:e,children:o,variant:n="default",size:i="default",...a}){let l=r.useContext(M);return(0,t.jsx)($.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||n,"data-size":l.size||i,"data-spacing":l.spacing,className:(0,N.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",L({variant:l.variant||n,size:l.size||i}),e),...a,children:o})}],808562)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,741120,e=>{"use strict";let t=(0,e.i(456420).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);e.s(["RefreshCw",0,t],741120)},462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let r=document.execCommand("copy");if(t.remove(),!r)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},630299,e=>{"use strict";let t=(0,e.i(456420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),o=e.i(964053),n=e.i(519455),i=e.i(975157);function a({...e}){return(0,t.jsx)(o.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(o.Dialog.Overlay,{className:(0,i.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(o.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(a,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(o.Dialog.Content,{className:(0,i.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),"data-slot":"dialog-content",...c,children:[s,d&&(0,t.jsx)(o.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(o.Dialog.Description,{className:(0,i.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:a,...l}){return(0,t.jsxs)("div",{className:(0,i.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[a,r&&(0,t.jsx)(o.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(o.Dialog.Title,{className:(0,i.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(o.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function a(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var s;let d,c=(s=`Primitive.${i}`,(d=r.forwardRef((e,t)=>{var i;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];a(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){g=!0;let t="child"in e.props?e.props.child:e.props.children;a(t)&&"function"==typeof l&&(t=l(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(i=f,(c=(d=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.ref:(c=(d=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(f,b)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:o,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?c:i,{...n,ref:r})});return u.displayName=`Primitive.${i}`,{...e,[i]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}var i=e.i(30030);function a(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var p=Symbol.for("radix.slottable"),f=Symbol.for("react.lazy");function g(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===f&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var m=r[" use ".trim().toString()],v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{var i;let a,l=(i=`Primitive.${o}`,(a=r.forwardRef((e,t)=>{var o;let a,l,{children:s,...d}=e,c=null,u=!1,f=[];g(s)&&"function"==typeof m&&(s=m(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p){u=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof m&&(t=m(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),f.push(c?.props?.children)}else f.push(e)}),c?c=r.cloneElement(c,void 0,f):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let v=c?(o=c,(l=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(l=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,h=n(t,v);if(!c){if(s||0===s){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return s}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(c,b)})).displayName=`${i}.Slot`,a),s=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:o,{...i,ref:r})});return s.displayName=`Primitive.${o}`,{...e,[o]:s}},{}),h="Checkbox",[b,y]=(0,i.createContextScope)(h),[x,w]=b(h);function j(e){let{__scopeCheckbox:o,checked:n,children:i,defaultChecked:a,disabled:l,form:d,name:c,onCheckedChange:u,required:p,value:f="on",internal_do_not_use_render:g}=e,[m,v]=function({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return s(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[d,e,a,l])]}({prop:n,defaultProp:a??!1,onChange:u,caller:h}),[b,y]=r.useState(null),[w,j]=r.useState(null),E=r.useRef(!1),R=!b||!!d||!!b.closest("form"),C={checked:m,disabled:l,setChecked:v,control:b,setControl:y,name:c,form:d,value:f,hasConsumerStoppedPropagationRef:E,required:p,defaultChecked:!T(a)&&a,isFormControl:R,bubbleInput:w,setBubbleInput:j};return(0,t.jsx)(x,{scope:o,...C,children:"function"==typeof g?g(C):i})}var E="CheckboxTrigger",R=r.forwardRef(({__scopeCheckbox:e,onKeyDown:o,onClick:i,...l},s)=>{let{control:d,value:c,disabled:u,checked:p,required:f,setControl:g,setChecked:m,hasConsumerStoppedPropagationRef:h,isFormControl:b,bubbleInput:y}=w(E,e),x=n(s,g),j=r.useRef(p);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>m(j.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,m]),(0,t.jsx)(v.button,{type:"button",role:"checkbox","aria-checked":T(p)?"mixed":p,"aria-required":f,"data-state":I(p),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:x,onKeyDown:a(o,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:a(i,e=>{m(e=>!!T(e)||!e),y&&b&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})});R.displayName=E;var C=r.forwardRef((e,r)=>{let{__scopeCheckbox:o,name:n,checked:i,defaultChecked:a,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...p}=e;return(0,t.jsx)(j,{__scopeCheckbox:o,checked:i,defaultChecked:a,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R,{...p,ref:r,__scopeCheckbox:o}),e&&(0,t.jsx)(D,{__scopeCheckbox:o})]})})});C.displayName=h;var k="CheckboxIndicator",S=r.forwardRef((e,r)=>{let{__scopeCheckbox:o,forceMount:n,...i}=e,a=w(k,o);return(0,t.jsx)(u.Presence,{present:n||T(a.checked)||!0===a.checked,children:(0,t.jsx)(v.span,{"data-state":I(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});S.displayName=k;var _="CheckboxBubbleInput",D=r.forwardRef(({__scopeCheckbox:e,...o},i)=>{let{control:a,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:p,disabled:f,name:g,value:m,form:h,bubbleInput:b,setBubbleInput:y}=w(_,e),x=n(i,y),j=(0,d.usePrevious)(s),E=(0,c.useSize)(a);r.useEffect(()=>{if(!b)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(j!==s&&e){let r=new Event("click",{bubbles:t});b.indeterminate=T(s),e.call(b,!T(s)&&s),b.dispatchEvent(r)}},[b,j,s,l]);let R=r.useRef(!T(s)&&s);return(0,t.jsx)(v.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??R.current,required:p,disabled:f,name:g,value:m,form:h,...o,tabIndex:-1,ref:x,style:{...o.style,...E,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function T(e){return"indeterminate"===e}function I(e){return T(e)?"indeterminate":e?"checked":"unchecked"}D.displayName=_,e.s(["Checkbox",0,C,"CheckboxIndicator",0,S,"Indicator",0,S,"Root",0,C,"createCheckboxScope",0,y,"unstable_BubbleInput",0,D,"unstable_CheckboxBubbleInput",0,D,"unstable_CheckboxProvider",0,j,"unstable_CheckboxTrigger",0,R,"unstable_Provider",0,j,"unstable_Trigger",0,R],388474);var $=e.i(388474),$=$,N=e.i(975157),P=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)($.Root,{"data-slot":"checkbox",className:(0,N.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)($.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)(P.CheckIcon,{})})})}],59497)},808562,e=>{"use strict";var t=e.i(843476),r=e.i(271645),o=e.i(30030);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var i=Symbol.for("radix.slottable"),a=Symbol.for("react.lazy");function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var s=r[" use ".trim().toString()],d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{var a;let d,c=(a=`Primitive.${o}`,(d=r.forwardRef((e,t)=>{var o;let d,c,{children:u,...p}=e,f=null,g=!1,m=[];l(u)&&"function"==typeof s&&(u=s(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===i){g=!0;let t="child"in e.props?e.props.child:e.props.children;l(t)&&"function"==typeof s&&(t=s(t._payload)),f=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),m.push(f?.props?.children)}else m.push(e)}),f?f=r.cloneElement(f,void 0,m):!g&&1===r.Children.count(u)&&r.isValidElement(u)&&(f=u);let v=f?(o=f,(c=(d=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.ref:(c=(d=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,h=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,o=e.map(e=>{let o=n(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():n(e[t],null)}}}}(...e),e)}(t,v);if(!f){if(u||0===u){let e,t;throw Error(g?(e=a,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=a,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let b=function(e,t){let r={...t};for(let o in t){let n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[o]=n):"style"===o?r[o]={...n,...i}:"className"===o&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(p,f.props??{});return f.type!==r.Fragment&&(b.ref=t?h:v),r.cloneElement(f,b)})).displayName=`${a}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?c:o,{...i,ref:r})});return u.displayName=`Primitive.${o}`,{...e,[o]:u}},{}),c=e.i(842727);"u">typeof window&&window.document&&window.document.createElement;var u=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var p=r[" useInsertionEffect ".trim().toString()]||u;function f({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return p(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),s=void 0!==e,d=s?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[s,e,a,l])]}Symbol("RADIX:SYNC_STATE");var g="Toggle",m=r.forwardRef((e,r)=>{let{pressed:o,defaultPressed:n,onPressedChange:i,...a}=e,[l,s]=f({prop:o,onChange:i,defaultProp:n??!1,caller:g});return(0,t.jsx)(d.button,{type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0,...a,ref:r,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}(e.onClick,()=>{e.disabled||s(!l)})})});m.displayName=g;var v=e.i(586318),h="ToggleGroup",[b,y]=(0,o.createContextScope)(h,[c.createRovingFocusGroupScope]),x=(0,c.createRovingFocusGroupScope)(),w=r.forwardRef((e,r)=>{let{type:o,...n}=e;if("single"===o)return(0,t.jsx)(R,{role:"radiogroup",...n,ref:r});if("multiple"===o)return(0,t.jsx)(C,{role:"toolbar",...n,ref:r});throw Error(`Missing prop \`type\` expected on \`${h}\``)});w.displayName=h;var[j,E]=b(h),R=r.forwardRef((e,o)=>{let{value:n,defaultValue:i,onValueChange:a=()=>{},...l}=e,[s,d]=f({prop:n,defaultProp:i??"",onChange:a,caller:h});return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>s?[s]:[],[s]),onItemActivate:d,onItemDeactivate:r.useCallback(()=>d(""),[d]),children:(0,t.jsx)(_,{...l,ref:o})})}),C=r.forwardRef((e,o)=>{let{value:n,defaultValue:i,onValueChange:a=()=>{},...l}=e,[s,d]=f({prop:n,defaultProp:i??[],onChange:a,caller:h}),c=r.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(j,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:c,onItemDeactivate:u,children:(0,t.jsx)(_,{...l,ref:o})})});w.displayName=h;var[k,S]=b(h),_=r.forwardRef((e,r)=>{let{__scopeToggleGroup:o,disabled:n=!1,rovingFocus:i=!0,orientation:a,dir:l,loop:s=!0,...u}=e,p=x(o),f=(0,v.useDirection)(l),g={dir:f,...u};return(0,t.jsx)(k,{scope:o,rovingFocus:i,disabled:n,children:i?(0,t.jsx)(c.Root,{asChild:!0,...p,orientation:a,dir:f,loop:s,children:(0,t.jsx)(d.div,{...g,ref:r})}):(0,t.jsx)(d.div,{...g,ref:r})})}),D="ToggleGroupItem",T=r.forwardRef((e,o)=>{let n=E(D,e.__scopeToggleGroup),i=S(D,e.__scopeToggleGroup),a=x(e.__scopeToggleGroup),l=n.value.includes(e.value),s=i.disabled||e.disabled,d={...e,pressed:l,disabled:s},u=r.useRef(null);return i.rovingFocus?(0,t.jsx)(c.Item,{asChild:!0,...a,focusable:!s,active:l,ref:u,children:(0,t.jsx)(I,{...d,ref:o})}):(0,t.jsx)(I,{...d,ref:o})});T.displayName=D;var I=r.forwardRef((e,r)=>{let{__scopeToggleGroup:o,value:n,...i}=e,a=E(D,o),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===a.type?l:void 0;return(0,t.jsx)(m,{...s,...i,ref:r,onPressedChange:e=>{e?a.onItemActivate(n):a.onItemDeactivate(n)}})});e.s(["Item",0,T,"Root",0,w,"ToggleGroup",0,w,"ToggleGroupItem",0,T,"createToggleGroupScope",0,y],459881);var $=e.i(459881),$=$,N=e.i(975157),P=e.i(225913);"u">typeof window&&window.document&&window.document.createElement;var z=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var O=r[" useInsertionEffect ".trim().toString()]||z;Symbol("RADIX:SYNC_STATE");var A=e.i(743556),V=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let n=(0,A.createSlot)(`Primitive.${o}`),i=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?n:o,{...a,ref:r})});return i.displayName=`Primitive.${o}`,{...e,[o]:i}},{}),G="Toggle",W=r.forwardRef((e,o)=>{let{pressed:n,defaultPressed:i,onPressedChange:a,...l}=e,[s,d]=function({prop:e,defaultProp:t,onChange:o=()=>{},caller:n}){let[i,a,l]=function({defaultProp:e,onChange:t}){let[o,n]=r.useState(e),i=r.useRef(o),a=r.useRef(t);return O(()=>{a.current=t},[t]),r.useEffect(()=>{i.current!==o&&(a.current?.(o),i.current=o)},[o,i]),[o,n,a]}({defaultProp:t,onChange:o}),s=void 0!==e,d=s?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==s){let t=s?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=s},[s,n])}return[d,r.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[s,e,a,l])]}({prop:n,onChange:a,defaultProp:i??!1,caller:G});return(0,t.jsx)(V.button,{type:"button","aria-pressed":s,"data-state":s?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:o,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),!1===r||!o||!o.defaultPrevented)return t?.(o)}}(e.onClick,()=>{e.disabled||d(!s)})})});W.displayName=G,e.s(["Root",0,W,"Toggle",0,W],864225),e.i(864225);let L=(0,P.cva)("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),M=r.createContext({size:"default",variant:"default",spacing:2,orientation:"horizontal"});e.s(["ToggleGroup",0,function({className:e,variant:r,size:o,spacing:n=2,orientation:i="horizontal",children:a,...l}){return(0,t.jsx)($.Root,{"data-slot":"toggle-group","data-variant":r,"data-size":o,"data-spacing":n,"data-orientation":i,style:{"--gap":n},className:(0,N.cn)("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...l,children:(0,t.jsx)(M.Provider,{value:{variant:r,size:o,spacing:n,orientation:i},children:a})})},"ToggleGroupItem",0,function({className:e,children:o,variant:n="default",size:i="default",...a}){let l=r.useContext(M);return(0,t.jsx)($.Item,{"data-slot":"toggle-group-item","data-variant":l.variant||n,"data-size":l.size||i,"data-spacing":l.spacing,className:(0,N.cn)("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",L({variant:l.variant||n,size:l.size||i}),e),...a,children:o})}],808562)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,462777,e=>{"use strict";async function t(e){if(navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch{}let t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.append(t),t.select();let r=document.execCommand("copy");if(t.remove(),!r)throw Error("Copy is not supported by this browser")}e.s(["copyText",0,t,"createClientId",0,function(){try{if(globalThis.crypto?.randomUUID)return globalThis.crypto.randomUUID()}catch{}if(globalThis.crypto?.getRandomValues)try{let e=globalThis.crypto.getRandomValues(new Uint8Array(16));return Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{}return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}])},716327,e=>{"use strict";var t=e.i(26495);e.s(["ChevronDown",()=>t.default])},867927,e=>{"use strict";var t=e.i(986253);e.s(["ChevronRight",()=>t.default])},624687,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Textarea",0,function({className:e,...a}){return(0,t.jsx)("textarea",{className:(0,r.cn)("min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50",e),...a})}])},59497,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}var i=e.i(30030);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a||!a.defaultPrevented)return t?.(a)}}"u">typeof window&&window.document&&window.document.createElement;var l=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var s=r[" useInsertionEffect ".trim().toString()]||l;Symbol("RADIX:SYNC_STATE");var d=e.i(999682),c=e.i(635804),u=e.i(296626);e.i(174080);var f=Symbol.for("radix.slottable"),p=Symbol.for("react.lazy");function m(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===p&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var g=r[" use ".trim().toString()],v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var i;let o,l=(i=`Primitive.${a}`,(o=r.forwardRef((e,t)=>{var a;let o,l,{children:s,...d}=e,c=null,u=!1,p=[];m(s)&&"function"==typeof g&&(s=g(s._payload)),r.Children.forEach(s,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===f){u=!0;let t="child"in e.props?e.props.child:e.props.children;m(t)&&"function"==typeof g&&(t=g(t._payload)),c=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),p.push(c?.props?.children)}else p.push(e)}),c?c=r.cloneElement(c,void 0,p):!u&&1===r.Children.count(s)&&r.isValidElement(s)&&(c=s);let v=c?(a=c,(l=(o=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.ref:(l=(o=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,x=n(t,v);if(!c){if(s||0===s){let e,t;throw Error(u?(e=i,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=i,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return s}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(d,c.props??{});return c.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(c,h)})).displayName=`${i}.Slot`,o),s=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?l:a,{...i,ref:r})});return s.displayName=`Primitive.${a}`,{...e,[a]:s}},{}),x="Checkbox",[h,b]=(0,i.createContextScope)(x),[y,j]=h(x);function w(e){let{__scopeCheckbox:a,checked:n,children:i,defaultChecked:o,disabled:l,form:d,name:c,onCheckedChange:u,required:f,value:p="on",internal_do_not_use_render:m}=e,[g,v]=function({prop:e,defaultProp:t,onChange:a=()=>{},caller:n}){let[i,o,l]=function({defaultProp:e,onChange:t}){let[a,n]=r.useState(e),i=r.useRef(a),o=r.useRef(t);return s(()=>{o.current=t},[t]),r.useEffect(()=>{i.current!==a&&(o.current?.(a),i.current=a)},[a,i]),[a,n,o]}({defaultProp:t,onChange:a}),d=void 0!==e,c=d?e:i;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=d},[d,n])}return[c,r.useCallback(t=>{if(d){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else o(t)},[d,e,o,l])]}({prop:n,defaultProp:o??!1,onChange:u,caller:x}),[h,b]=r.useState(null),[j,w]=r.useState(null),k=r.useRef(!1),N=!h||!!d||!!h.closest("form"),C={checked:g,disabled:l,setChecked:v,control:h,setControl:b,name:c,form:d,value:p,hasConsumerStoppedPropagationRef:k,required:f,defaultChecked:!_(o)&&o,isFormControl:N,bubbleInput:j,setBubbleInput:w};return(0,t.jsx)(y,{scope:a,...C,children:"function"==typeof m?m(C):i})}var k="CheckboxTrigger",N=r.forwardRef(({__scopeCheckbox:e,onKeyDown:a,onClick:i,...l},s)=>{let{control:d,value:c,disabled:u,checked:f,required:p,setControl:m,setChecked:g,hasConsumerStoppedPropagationRef:x,isFormControl:h,bubbleInput:b}=j(k,e),y=n(s,m),w=r.useRef(f);return r.useEffect(()=>{let e=d?.form;if(e){let t=()=>g(w.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[d,g]),(0,t.jsx)(v.button,{type:"button",role:"checkbox","aria-checked":_(f)?"mixed":f,"aria-required":p,"data-state":D(f),"data-disabled":u?"":void 0,disabled:u,value:c,...l,ref:y,onKeyDown:o(a,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:o(i,e=>{g(e=>!!_(e)||!e),b&&h&&(x.current=e.isPropagationStopped(),x.current||e.stopPropagation())})})});N.displayName=k;var C=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,name:n,checked:i,defaultChecked:o,required:l,disabled:s,value:d,onCheckedChange:c,form:u,...f}=e;return(0,t.jsx)(w,{__scopeCheckbox:a,checked:i,defaultChecked:o,disabled:s,required:l,onCheckedChange:c,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N,{...f,ref:r,__scopeCheckbox:a}),e&&(0,t.jsx)(z,{__scopeCheckbox:a})]})})});C.displayName=x;var E="CheckboxIndicator",R=r.forwardRef((e,r)=>{let{__scopeCheckbox:a,forceMount:n,...i}=e,o=j(E,a);return(0,t.jsx)(u.Presence,{present:n||_(o.checked)||!0===o.checked,children:(0,t.jsx)(v.span,{"data-state":D(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:r,style:{pointerEvents:"none",...e.style}})})});R.displayName=E;var S="CheckboxBubbleInput",z=r.forwardRef(({__scopeCheckbox:e,...a},i)=>{let{control:o,hasConsumerStoppedPropagationRef:l,checked:s,defaultChecked:u,required:f,disabled:p,name:m,value:g,form:x,bubbleInput:h,setBubbleInput:b}=j(S,e),y=n(i,b),w=(0,d.usePrevious)(s),k=(0,c.useSize)(o);r.useEffect(()=>{if(!h)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!l.current;if(w!==s&&e){let r=new Event("click",{bubbles:t});h.indeterminate=_(s),e.call(h,!_(s)&&s),h.dispatchEvent(r)}},[h,w,s,l]);let N=r.useRef(!_(s)&&s);return(0,t.jsx)(v.input,{type:"checkbox","aria-hidden":!0,defaultChecked:u??N.current,required:f,disabled:p,name:m,value:g,form:x,...a,tabIndex:-1,ref:y,style:{...a.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function _(e){return"indeterminate"===e}function D(e){return _(e)?"indeterminate":e?"checked":"unchecked"}z.displayName=S,e.s(["Checkbox",0,C,"CheckboxIndicator",0,R,"Indicator",0,R,"Root",0,C,"createCheckboxScope",0,b,"unstable_BubbleInput",0,z,"unstable_CheckboxBubbleInput",0,z,"unstable_CheckboxProvider",0,w,"unstable_CheckboxTrigger",0,N,"unstable_Provider",0,w,"unstable_Trigger",0,N],388474);var I=e.i(388474),I=I,T=e.i(975157),$=e.i(593698);e.s(["Checkbox",0,function({className:e,...r}){return(0,t.jsx)(I.Root,{"data-slot":"checkbox",className:(0,T.cn)("peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",e),...r,children:(0,t.jsx)(I.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none [&>svg]:size-3.5",children:(0,t.jsx)($.CheckIcon,{})})})}],59497)},26495,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var n=Symbol.for("radix.slottable"),i=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var l=r[" use ".trim().toString()],s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{var s;let d,c=(s=`Primitive.${i}`,(d=r.forwardRef((e,t)=>{var i;let d,c,{children:u,...f}=e,p=null,m=!1,g=[];o(u)&&"function"==typeof l&&(u=l(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===n){m=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof l&&(t=l(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!m&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(i=p,(c=(d=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.ref:(c=(d=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in d&&d.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(m?(e=s,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=s,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(p,h)})).displayName=`${s}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(a?c:i,{...n,ref:r})});return u.displayName=`Primitive.${i}`,{...e,[i]:u}},{}),d=r.forwardRef((e,r)=>(0,t.jsx)(s.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));d.displayName="Label",e.s(["Label",0,d,"Root",0,d],973741);var c=e.i(973741),c=c,u=e.i(975157);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(c.Root,{"data-slot":"label",className:(0,u.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],110204)},776639,e=>{"use strict";var t=e.i(843476),r=e.i(560964),a=e.i(964053),n=e.i(519455),i=e.i(975157);function o({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function l({className:e,...r}){return(0,t.jsx)(a.Dialog.Overlay,{className:(0,i.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",e),"data-slot":"dialog-overlay",...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(a.Dialog.Root,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:s,showCloseButton:d=!0,...c}){return(0,t.jsxs)(o,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(a.Dialog.Content,{className:(0,i.cn)("fixed top-1/2 left-1/2 z-50 grid max-h-[85dvh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 overflow-y-auto rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),"data-slot":"dialog-content",...c,children:[s,d&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,"data-slot":"dialog-close",children:(0,t.jsxs)(n.Button,{className:"absolute top-2 right-2",size:"icon-sm",variant:"ghost",children:[(0,t.jsx)(r.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Description,{className:(0,i.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",e),"data-slot":"dialog-description",...r})},"DialogFooter",0,function({className:e,showCloseButton:r=!1,children:o,...l}){return(0,t.jsxs)("div",{className:(0,i.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",e),"data-slot":"dialog-footer",...l,children:[o,r&&(0,t.jsx)(a.Dialog.Close,{asChild:!0,children:(0,t.jsx)(n.Button,{variant:"outline",children:"Close"})})]})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col gap-2",e),"data-slot":"dialog-header",...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(a.Dialog.Title,{className:(0,i.cn)("font-heading text-base leading-none font-medium",e),"data-slot":"dialog-title",...r})},"DialogTrigger",0,function({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}])},515281,e=>{"use strict";let t=(0,e.i(456420).default)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);e.s(["Pencil",0,t],515281)},758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},987968,e=>{"use strict";var t=e.i(843476),r=e.i(975157),a=e.i(758379),a=a;e.s(["Spinner",0,function({className:e,...n}){return(0,t.jsx)(a.default,{"data-slot":"spinner",role:"status","aria-label":"Loading",className:(0,r.cn)("size-4 animate-spin",e),...n})}],987968)},929592,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-left text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pr-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"}},defaultVariants:{variant:"default"}});e.s(["Alert",0,function({className:e,variant:r,...i}){return(0,t.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,a.cn)(n({variant:r}),e),...i})},"AlertDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-description",className:(0,a.cn)("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),...r})},"AlertTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"alert-title",className:(0,a.cn)("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground",e),...r})}])},515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Card",0,function({className:e,size:a="default",...n}){return(0,t.jsx)("div",{"data-slot":"card","data-size":a,className:(0,r.cn)("group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>[data-slot=card-header]]:pt-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",e),...n})},"CardAction",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})},"CardContent",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-(--card-spacing)",e),...a})},"CardDescription",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",e),...a})},"CardFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center rounded-b-xl border-t bg-muted/50 p-(--card-spacing)",e),...a})},"CardHeader",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl bg-muted/40 px-(--card-spacing) py-(--card-spacing) not-last:border-b has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",e),...a})},"CardTitle",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",e),...a})}])},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(709840),n=e.i(975157);let i=(0,r.cva)("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",success:"border-emerald-500/30 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 [a]:hover:bg-emerald-500/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:o=!1,...l}){let s=o?a.Slot.Root:"span";return(0,t.jsx)(s,{className:(0,n.cn)(i({variant:r}),e),"data-slot":"badge","data-variant":r,...l})}])},784774,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Table",0,function({className:e,containerClassName:a,...n}){return(0,t.jsx)("div",{className:(0,r.cn)("w-full overflow-x-auto",a),children:(0,t.jsx)("table",{className:(0,r.cn)("w-full caption-bottom text-sm",e),...n})})},"TableBody",0,function({className:e,...a}){return(0,t.jsx)("tbody",{className:(0,r.cn)("divide-y",e),...a})},"TableCell",0,function({className:e,...a}){return(0,t.jsx)("td",{className:(0,r.cn)("whitespace-nowrap px-3 py-3 align-middle",e),...a})},"TableFooter",0,function({className:e,...a}){return(0,t.jsx)("tfoot",{className:(0,r.cn)("border-t bg-muted/50 font-medium",e),...a})},"TableHead",0,function({className:e,...a}){return(0,t.jsx)("th",{className:(0,r.cn)("h-10 whitespace-nowrap px-3 text-left align-middle text-xs font-medium text-muted-foreground",e),...a})},"TableHeader",0,function({className:e,...a}){return(0,t.jsx)("thead",{className:(0,r.cn)("border-b",e),...a})},"TableRow",0,function({className:e,...a}){return(0,t.jsx)("tr",{className:(0,r.cn)("transition-colors hover:bg-muted/40",e),...a})}])},82612,e=>{"use strict";var t=e.i(843476),r=e.i(225913),a=e.i(975157);let n=(0,r.cva)("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",icon:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4"}},defaultVariants:{variant:"default"}});e.s(["Empty",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty",className:(0,a.cn)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",e),...r})},"EmptyDescription",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-description",className:(0,a.cn)("text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})},"EmptyHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-header",className:(0,a.cn)("flex max-w-sm flex-col items-center gap-2",e),...r})},"EmptyMedia",0,function({className:e,variant:r="default",...i}){return(0,t.jsx)("div",{"data-slot":"empty-icon","data-variant":r,className:(0,a.cn)(n({variant:r,className:e})),...i})},"EmptyTitle",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"empty-title",className:(0,a.cn)("font-heading text-sm font-medium tracking-tight",e),...r})}])},508734,e=>{"use strict";let t=(0,e.i(456420).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],508734)},772382,e=>{"use strict";let t=(0,e.i(456420).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,t],772382)},799676,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(30030),n=e.i(30207),i=globalThis?.document?r.useLayoutEffect:()=>{};function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.i(174080);var l=Symbol.for("radix.slottable"),s=Symbol.for("react.lazy");function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=r[" use ".trim().toString()],u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{var n;let i,s=(n=`Primitive.${a}`,(i=r.forwardRef((e,t)=>{var a;let i,s,{children:u,...f}=e,p=null,m=!1,g=[];d(u)&&"function"==typeof c&&(u=c(u._payload)),r.Children.forEach(u,e=>{var t;if(t=e,r.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===l){m=!0;let t="child"in e.props?e.props.child:e.props.children;d(t)&&"function"==typeof c&&(t=c(t._payload)),p=((e,t)=>{if("child"in e.props){let t=e.props.child;return r.isValidElement(t)?r.cloneElement(t,void 0,e.props.children(t.props.children)):null}return r.isValidElement(t)?t:null})(e,t),g.push(p?.props?.children)}else g.push(e)}),p?p=r.cloneElement(p,void 0,g):!m&&1===r.Children.count(u)&&r.isValidElement(u)&&(p=u);let v=p?(a=p,(s=(i=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.ref:(s=(i=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?a.props.ref:a.props.ref||a.ref):void 0,x=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,a=e.map(e=>{let a=o(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():o(e[t],null)}}}}(...e),e)}(t,v);if(!p){if(u||0===u){let e,t;throw Error(m?(e=n,`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`):(t=n,`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`))}return u}let h=function(e,t){let r={...t};for(let a in t){let n=e[a],i=t[a];/^on[A-Z]/.test(a)?n&&i?r[a]=(...e)=>{let t=i(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...i}:"className"===a&&(r[a]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}(f,p.props??{});return p.type!==r.Fragment&&(h.ref=t?x:v),r.cloneElement(p,h)})).displayName=`${n}.Slot`,i),u=r.forwardRef((e,r)=>{let{asChild:n,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?s:a,{...i,ref:r})});return u.displayName=`Primitive.${a}`,{...e,[a]:u}},{}),f="Avatar",[p,m]=(0,a.createContextScope)(f),g=[0,()=>void 0],[v,x]=p(f),h=r.forwardRef((e,a)=>{let{__scopeAvatar:n,...i}=e,[o,l]=r.useState("idle"),[s,d]=function(){let e=g;{let[t]=e=r.useState(0),a=r.useRef(!1);r.useEffect(()=>{t>1&&!a.current&&(a.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}();return(0,t.jsx)(v,{scope:n,imageLoadingStatus:o,setImageLoadingStatus:l,imageCount:s,setImageCount:d,children:(0,t.jsx)(u.span,{...i,ref:a})})});h.displayName=f;var b="AvatarImage",y=r.forwardRef((e,a)=>{var o;let{__scopeAvatar:l,src:s,onLoadingStatusChange:d,...c}=e,f=x(b,l);o=f.setImageCount,r.useEffect(()=>(o(e=>e+1),()=>{o(e=>e-1)}),[o]);let p=function(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:a,crossOrigin:n}){return i(()=>{if(!e)return void r("error");let t=new window.Image,i=e=>{r(k(e.currentTarget))},o=()=>r("error");return t.addEventListener("load",i),t.addEventListener("error",o),a&&(t.referrerPolicy=a),t.crossOrigin=n??null,t.src=e,r(k(t)),()=>{t.removeEventListener("load",i),t.removeEventListener("error",o),r("idle")}},[e,n,a,r]),t}(s,{referrerPolicy:c.referrerPolicy,crossOrigin:c.crossOrigin,loadingStatus:f.imageLoadingStatus,setLoadingStatus:f.setImageLoadingStatus}),m=(0,n.useCallbackRef)(e=>{d?.(e)}),g=r.useRef(p);return i(()=>{let e=g.current;g.current=p,p!==e&&m(p)},[p,m]),"loaded"===p?(0,t.jsx)(u.img,{...c,ref:a,src:s}):null});y.displayName=b;var j="AvatarFallback",w=r.forwardRef((e,a)=>{let{__scopeAvatar:n,delayMs:i,...o}=e,l=x(j,n),[s,d]=r.useState(void 0===i);return r.useEffect(()=>{if(void 0!==i){let e=window.setTimeout(()=>d(!0),i);return()=>window.clearTimeout(e)}},[i]),s&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(u.span,{...o,ref:a}):null});function k(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}w.displayName=j,e.s(["Avatar",0,h,"AvatarFallback",0,w,"AvatarImage",0,y,"Fallback",0,w,"Image",0,y,"Root",0,h,"createAvatarScope",0,m],97456);var N=e.i(97456),N=N,C=e.i(975157);e.s(["Avatar",0,function({className:e,size:r="default",...a}){return(0,t.jsx)(N.Root,{className:(0,C.cn)("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",e),"data-size":r,"data-slot":"avatar",...a})},"AvatarFallback",0,function({className:e,...r}){return(0,t.jsx)(N.Fallback,{className:(0,C.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",e),"data-slot":"avatar-fallback",...r})},"AvatarImage",0,function({className:e,...r}){return(0,t.jsx)(N.Image,{className:(0,C.cn)("aspect-square size-full rounded-full object-cover",e),"data-slot":"avatar-image",...r})}],799676)},159888,e=>{"use strict";let t=(0,e.i(456420).default)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]]);e.s(["Braces",0,t],159888)},337355,563707,906197,e=>{"use strict";var t=e.i(843476);let r=(0,e.i(456420).default)("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);e.s(["ChevronsUpDown",0,r],563707);var a=e.i(271645),n=e.i(519455),i=e.i(317056),o=e.i(225913),l=e.i(709840),s=e.i(975157);e.i(772436);let d=(0,o.cva)("group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"border-transparent bg-muted/50"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function c({className:e,variant:r="default",size:a="default",asChild:n=!1,...i}){let o=n?l.Slot.Root:"div";return(0,t.jsx)(o,{"data-slot":"item","data-variant":r,"data-size":a,className:(0,s.cn)(d({variant:r,size:a,className:e})),...i})}let u=(0,o.cva)("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function f({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-content",className:(0,s.cn)("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",e),...r})}function p({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-title",className:(0,s.cn)("line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",e),...r})}function m({className:e,...r}){return(0,t.jsx)("p",{"data-slot":"item-description",className:(0,s.cn)("line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",e),...r})}e.s(["Item",0,c,"ItemActions",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"item-actions",className:(0,s.cn)("flex items-center gap-2",e),...r})},"ItemContent",0,f,"ItemDescription",0,m,"ItemGroup",0,function({className:e,...r}){return(0,t.jsx)("div",{role:"list","data-slot":"item-group",className:(0,s.cn)("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",e),...r})},"ItemMedia",0,function({className:e,variant:r="default",...a}){return(0,t.jsx)("div",{"data-slot":"item-media","data-variant":r,className:(0,s.cn)(u({variant:r,className:e})),...a})},"ItemTitle",0,p],906197);var g=e.i(337822);e.s(["SearchableSelect",0,function({value:e,onValueChange:o,options:l,placeholder:d,searchPlaceholder:u,emptyMessage:v,ariaLabel:x,disabled:h,className:b,showSelectedDetails:y=!1}){let[j,w]=(0,a.useState)(!1),k=l.find(t=>t.value===e);return(0,t.jsxs)(g.Popover,{onOpenChange:w,open:j,children:[(0,t.jsx)(g.PopoverTrigger,{asChild:!0,children:(0,t.jsxs)(n.Button,{"aria-expanded":j,"aria-label":x,className:(0,s.cn)("min-w-0 w-full justify-between font-normal",y&&k&&"h-auto min-h-8 py-2",b),disabled:h,role:"combobox",type:"button",variant:"outline",children:[y&&k?(0,t.jsxs)("span",{className:"min-w-0 text-left",children:[(0,t.jsx)("span",{className:"block truncate",children:k.label}),k.description&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.description}),k.secondaryDescription&&(0,t.jsx)("span",{className:"block truncate text-xs text-muted-foreground",children:k.secondaryDescription})]}):(0,t.jsx)("span",{className:"min-w-0 truncate",children:k?.label??d}),(0,t.jsx)(r,{className:"shrink-0 opacity-50"})]})}),(0,t.jsx)(g.PopoverContent,{align:"start",className:"z-70 w-(--radix-popover-trigger-width) p-0",children:(0,t.jsxs)(i.Command,{label:u,children:[(0,t.jsx)(i.CommandInput,{"aria-label":u,autoFocus:!0,placeholder:u}),(0,t.jsxs)(i.CommandList,{children:[(0,t.jsx)(i.CommandEmpty,{children:v}),(0,t.jsx)(i.CommandGroup,{children:l.map(r=>(0,t.jsx)(i.CommandItem,{"aria-label":[r.label,r.description,r.secondaryDescription].filter(Boolean).join(", "),"aria-selected":r.value===e,className:"items-start py-2","data-checked":r.value===e,disabled:r.disabled,keywords:[r.label,r.description??"",r.secondaryDescription??"",r.keywords??""],onSelect:()=>{o(r.value),w(!1)},value:r.value,children:(0,t.jsx)(c,{className:"min-w-0 flex-1 border-0 p-0",size:"xs",children:(0,t.jsxs)(f,{className:"min-w-0",children:[(0,t.jsx)(p,{className:"block truncate",children:r.label}),r.description&&(0,t.jsx)(m,{className:"block truncate",children:r.description}),r.secondaryDescription&&(0,t.jsx)(m,{className:"block truncate",children:r.secondaryDescription})]})})},r.value))})]})]})})]})}],337355)},948812,e=>{"use strict";function t(e){return`${e.repositoryNameWithOwner}#${e.number}`}e.s(["pullRequestCommentsHref",0,function(e){return`/comments?pullRequest=${encodeURIComponent(t(e))}`},"pullRequestDetailHref",0,function(e){let[t="",r=""]=e.repositoryNameWithOwner.split("/");return`/pull-requests/${encodeURIComponent(t)}/${encodeURIComponent(r)}/${e.number}`},"pullRequestKey",0,t])},882505,e=>{"use strict";let t=(0,e.i(456420).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["List",0,t],882505)}]);
@@ -0,0 +1,36 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,885325,e=>{"use strict";var t=e.i(843476),s=e.i(876561),i=e.i(711241),a=e.i(131460),n=e.i(456420);let l=(0,n.default)("arrow-up-to-line",[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]]);var r=e.i(689664),d=e.i(508734),o=e.i(762368);let c=(0,n.default)("file-braces",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]]),u=(0,n.default)("chart-no-axes-column",[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]]);var m=e.i(716327),x=e.i(867927),p=e.i(929272),h=e.i(573474),g=e.i(861745),f=e.i(948148),j=e.i(271645),v=e.i(340953),b=e.i(929592),y=e.i(487486),S=e.i(519455),C=e.i(515288),w=e.i(24265),N=e.i(994043),T=e.i(82612),A=e.i(987968),I=e.i(677572),k=e.i(784774),E=e.i(520133),D=e.i(462777),P=e.i(637611),B=e.i(975157),R=e.i(171502),L=e.i(90969),O=e.i(688194),$=e.i(776639),U=e.i(110204),F=e.i(967489),M=e.i(360583);let V=`query BuildSigningOptions($buildId: ID!) {
2
+ buildSigningOptions(buildId: $buildId) {
3
+ teams { id name }
4
+ identities { sha1 name teamId }
5
+ profiles {
6
+ uuid name teamId teamName bundleId type platforms expiresAt expired xcodeManaged
7
+ certificateSha1s
8
+ }
9
+ bundles { bundleId name relativePath embeddedProfileUuid embeddedProfileName }
10
+ }
11
+ }`;function H(e,t,s,i){let a=O.EXPORT_METHOD_PROFILE_TYPES[s];return e.filter(e=>e.type===a&&!e.expired&&(0===e.platforms.length||e.platforms.includes("iOS"))&&(0,O.profileCoversBundle)(e.bundleId,t)&&(!i||!e.teamId||e.teamId===i))}function _({buildId:e,open:s,onOpenChange:i,onSaved:a}){let n=(0,f.useTranslations)("builds"),l=(0,g.useLocale)(),[r,d]=(0,j.useState)("DEBUGGING"),[o,c]=(0,j.useState)("AUTOMATIC"),[u,m]=(0,j.useState)(""),[x,p]=(0,j.useState)(""),[h,v]=(0,j.useState)({}),[y,C]=(0,j.useState)(!1),[w,N]=(0,j.useState)(null),[T,I]=(0,j.useState)(!1),[k,E]=(0,j.useState)(!1),[B,R]=(0,j.useState)(null),[L,q]=(0,j.useState)(null),z=(0,j.useCallback)(async()=>{I(!0),q(null);try{let t=await (0,P.controlPlaneRequest)(V,{buildId:e});N(t.buildSigningOptions);let s=t.buildSigningOptions.bundles.map(e=>t.buildSigningOptions.profiles.find(t=>t.uuid===e.embeddedProfileUuid)).find(e=>e?.teamId);s?.teamId?m(s.teamId):1===t.buildSigningOptions.teams.length&&m(t.buildSigningOptions.teams[0].id)}catch(e){q(e instanceof Error?e.message:String(e))}finally{I(!1)}},[e]);(0,j.useEffect)(()=>{if(!s)return;let e=window.setTimeout(()=>void z(),0);return()=>window.clearTimeout(e)},[s,z]);let G=`${r}:${u}`,[W,X]=(0,j.useState)(G);G!==W&&(X(G),v({}),p(""));let J="MANUAL"===o,Q=Object.fromEntries((w?.bundles??[]).flatMap(e=>{let t=H(w?.profiles??[],e.bundleId,r,u),s=h[e.bundleId]??function(e,t){if(!e.length)return null;let s=e.find(e=>e.uuid===t.embeddedProfileUuid);return s||[...e].sort((e,t)=>(t.expiresAt??"").localeCompare(e.expiresAt??""))[0]}(t,e)?.uuid;return s?[[e.bundleId,s]]:[]})),K=Object.values(Q).flatMap(e=>{let t=w?.profiles.find(t=>t.uuid===e);return t?[t]:[]}),Y=K.length>0&&K.every(e=>e.certificateSha1s?.length),Z=(w?.identities??[]).filter(e=>Y?K.every(t=>t.certificateSha1s.includes(e.sha1.toUpperCase())):!u||!e.teamId||e.teamId===u),ee=Z.some(e=>e.sha1===x)?x:"",et=async()=>{E(!0);try{await (0,P.controlPlaneRequest)(`mutation ExportArchive($input: ExportBuildArchiveInput!) {
12
+ exportBuildArchive(input: $input) { id status }
13
+ }`,{input:{buildId:e,requestId:(0,D.createClientId)(),settings:{method:r,signingStyle:o,teamId:u||null,signingCertificate:ee?Z.find(e=>e.sha1===ee)?.name??null:null,provisioningProfiles:J?Q:{},uploadSymbols:!0,manageAppVersionAndBuildNumber:!0,testFlightInternalTestingOnly:!1,stripSwiftSymbols:!0,thinning:null,iCloudContainerEnvironment:null,distributionBundleIdentifier:null}}}),await a(),i(!1)}catch(e){R(e instanceof Error?e.message:String(e))}finally{E(!1)}},es=J&&(w?.bundles??[]).some(e=>!Q[e.bundleId]);return(0,t.jsx)($.Dialog,{onOpenChange:i,open:s,children:(0,t.jsxs)($.DialogContent,{className:"max-h-[85vh] grid-cols-[minmax(0,1fr)] overflow-y-auto sm:max-w-2xl",children:[(0,t.jsxs)($.DialogHeader,{children:[(0,t.jsx)($.DialogTitle,{children:n("exportArchive")}),(0,t.jsx)($.DialogDescription,{children:n("exportArchiveDescription")})]}),B&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:B})}),L&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsxs)(b.AlertDescription,{children:[n("signingOptionsFailed")," ",L]})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(U.Label,{children:n("distributionMethod")}),(0,t.jsxs)(F.Select,{onValueChange:e=>d(e),value:r,children:[(0,t.jsx)(F.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(F.SelectValue,{})}),(0,t.jsx)(F.SelectContent,{children:O.BUILD_EXPORT_METHODS.map(e=>(0,t.jsx)(F.SelectItem,{value:e,children:n(`exportMethod.${e}`)},e))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(U.Label,{children:n("developmentTeam")}),(0,t.jsxs)(F.Select,{disabled:T||!w?.teams.length,onValueChange:m,value:u,children:[(0,t.jsx)(F.SelectTrigger,{className:"w-full min-w-0",children:T?(0,t.jsx)(A.Spinner,{}):(0,t.jsx)(F.SelectValue,{placeholder:n("selectTeam")})}),(0,t.jsx)(F.SelectContent,{children:(w?.teams??[]).map(e=>(0,t.jsxs)(F.SelectItem,{value:e.id,children:[e.name," (",e.id,")"]},e.id))})]}),!T&&w&&!w.teams.length&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("noTeams")})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(U.Label,{children:n("signingStyle")}),(0,t.jsxs)(F.Select,{onValueChange:c,value:o,children:[(0,t.jsx)(F.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(F.SelectValue,{})}),(0,t.jsxs)(F.SelectContent,{children:[(0,t.jsx)(F.SelectItem,{value:"AUTOMATIC",children:n("automatic")}),(0,t.jsx)(F.SelectItem,{value:"MANUAL",children:n("manual")})]})]})]}),J&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(U.Label,{children:n("signingCertificate")}),(0,t.jsxs)(F.Select,{disabled:T||!Z.length,onValueChange:p,value:ee,children:[(0,t.jsx)(F.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(F.SelectValue,{placeholder:n("certificateAutomatic")})}),(0,t.jsx)(F.SelectContent,{children:Z.map(e=>(0,t.jsx)(F.SelectItem,{value:e.sha1,children:e.name},e.sha1))})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(U.Label,{children:n("provisioningProfiles")}),(0,t.jsx)(S.Button,{onClick:()=>C(e=>!e),size:"sm",type:"button",variant:"ghost",children:y?n("showMatching"):n("showAllProfiles")})]}),T&&(0,t.jsx)(A.Spinner,{}),!T&&!w?.bundles.length&&(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:n("noArchiveBundles")}),(w?.bundles??[]).map(e=>{let s=H(w?.profiles??[],e.bundleId,r,u),i=y?(w?.profiles??[]).filter(t=>(0,O.profileCoversBundle)(t.bundleId,e.bundleId)):s;return(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.name}),(0,t.jsx)("p",{className:"mb-2 break-all font-mono text-xs text-muted-foreground",children:e.bundleId}),(0,t.jsxs)(F.Select,{onValueChange:t=>v(s=>({...s,[e.bundleId]:t})),value:Q[e.bundleId]??"",children:[(0,t.jsx)(F.SelectTrigger,{className:"w-full min-w-0",children:(0,t.jsx)(F.SelectValue,{placeholder:n("selectProfile")})}),(0,t.jsx)(F.SelectContent,{children:i.map(e=>{let s;return(0,t.jsxs)(F.SelectItem,{value:e.uuid,children:[(s=e.expiresAt?(0,M.formatDateValue)(e.expiresAt,"short",{locale:l,showTime:!1}):null)?`${e.name} — ${s}`:e.name,e.expired?` (${n("profileExpired")})`:""]},e.uuid)})})]}),!s.length&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:n("noMatchingProfiles")})]},e.bundleId)})]})]})]}),(0,t.jsxs)($.DialogFooter,{children:[(0,t.jsx)(S.Button,{onClick:()=>i(!1),variant:"outline",children:n("cancel")}),(0,t.jsxs)(S.Button,{disabled:k||es,onClick:()=>void et(),children:[k&&(0,t.jsx)(A.Spinner,{})," ",n("exportArchive")]})]})]})})}let q=(0,n.default)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var z=e.i(986206);let G=null;function W(){return G??={origin:window.location.origin,secure:"https:"===window.location.protocol,apple:/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&(navigator.maxTouchPoints??0)>1}}let X=()=>()=>{};function J({buildId:e,artifactId:s,metadata:i,publicOrigin:a}){let n=(0,f.useTranslations)("builds"),l=(0,j.useSyncExternalStore)(X,W,()=>null),[r,d]=(0,j.useState)(!1),[o,c]=(0,j.useState)(!1),u=`/api/builds/${encodeURIComponent(e)}/artifacts/${encodeURIComponent(s)}`,m=a??l,x=m?`${m.origin}${u}/manifest.plist`:null,p=l?m?.secure?"APP_STORE_CONNECT"===i.exportMethod?n("installNotSupportedForAppStore"):"string"!=typeof i.bundleIdentifier?n("installMissingBundleIdentifier"):null:n("installRequiresHttps"):null,h=!l||!l.apple||null!==p||r,g=async()=>{if(x){d(!0);try{await fetch(u,{method:"HEAD"}).catch(()=>{}),window.location.href=`itms-services://?action=download-manifest&url=${encodeURIComponent(x)}`}finally{d(!1)}}},v=async()=>{let e=m?.origin??window.location.origin;await (0,D.copyText)(`${e}${window.location.pathname}${window.location.search}${window.location.hash}`),c(!0),setTimeout(()=>c(!1),2e3)};return(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[l&&!l.apple&&!p&&(0,t.jsxs)(S.Button,{onClick:()=>void v(),size:"sm",type:"button",variant:"ghost",children:[(0,t.jsx)(q,{})," ",n(o?"installLinkCopied":"copyInstallLink")]}),(0,t.jsxs)(S.Button,{disabled:h,onClick:()=>void g(),size:"sm",type:"button",variant:"outline",children:[r?(0,t.jsx)(A.Spinner,{}):(0,t.jsx)(z.Smartphone,{}),n(r?"installPreparing":"installOnDevice")]})]}),p&&(0,t.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:p}),!p&&l&&!l.apple&&(0,t.jsx)("p",{className:"text-right text-xs text-muted-foreground",children:n("installOpenOnDevice")})]})}var Q=e.i(771777),K=e.i(866026);let Y=`
14
+ id requestId jobId status action destinationType destination snapshot commandSummary artifactDirectory errorCode error outOfDate
15
+ createdAt startedAt finishedAt durationMs updatedAt
16
+ worktree { id highlightColor }
17
+ configuration {
18
+ id name iconKey scheme buildConfiguration defaultAction advancedSettings autoExport exportSettings createdAt updatedAt
19
+ source { id kind relativePath }
20
+ }
21
+ artifacts { id kind relativePath sizeBytes checksum metadata createdAt }
22
+ reports {
23
+ id kind source status summary data error createdAt updatedAt finishedAt
24
+ artifact { id kind relativePath sizeBytes checksum metadata createdAt }
25
+ }
26
+ scriptExecutions { id phase position nameSnapshot status exitCode durationMs causedBuildFailure outputRelativePath error }
27
+ deployments { id batchId destination status commandSummary outputRelativePath error createdAt startedAt finishedAt }
28
+ exports { id status settings commandSummary outputRelativePath error createdAt startedAt finishedAt }
29
+ `,Z="id scope scopeId sequence phase level stream message createdAt",ee=new Set(["IPA"]);function et(e){return e.split("_").filter(Boolean).map(e=>ee.has(e)?e:`${e.charAt(0).toLocaleUpperCase()}${e.slice(1).toLocaleLowerCase()}`).join(" ")}let es=["packageResolution","disablePackageRepositoryCache","signingStyle","developmentTeam","codeSignIdentity","provisioningProfileSpecifier","productBundleIdentifier","allowProvisioningUpdates","allowProvisioningDeviceRegistration","testPlan","codeCoverage","parseTestResults","parallelTesting","parallelTestingWorkers","onlyTesting","skipTesting","buildSettingOverrides","priorBuildForTestingId","priorTestProductsPath","priorXctestrunPath"],ei={packageResolution:"DEFAULT",disablePackageRepositoryCache:!1,signingStyle:"PROJECT_DEFAULT",developmentTeam:null,codeSignIdentity:null,provisioningProfileSpecifier:null,productBundleIdentifier:null,allowProvisioningUpdates:!1,allowProvisioningDeviceRegistration:!1,testPlan:null,codeCoverage:!1,parseTestResults:!0,parallelTesting:null,parallelTestingWorkers:null,onlyTesting:[],skipTesting:[],buildSettingOverrides:{},priorBuildForTestingId:null,priorTestProductsPath:null,priorXctestrunPath:null};function ea({settings:e}){let s=(0,f.useTranslations)("builds"),i={packageResolution:s("packageResolution"),disablePackageRepositoryCache:s("disablePackageRepositoryCache"),signingStyle:s("signingStyle"),developmentTeam:s("developmentTeam"),codeSignIdentity:s("codeSignIdentity"),provisioningProfileSpecifier:s("provisioningProfileSpecifier"),productBundleIdentifier:s("productBundleIdentifier"),allowProvisioningUpdates:s("allowProvisioningUpdates"),allowProvisioningDeviceRegistration:s("allowProvisioningDeviceRegistration"),testPlan:s("testPlan"),codeCoverage:s("codeCoverage"),parseTestResults:s("parseTestResults"),parallelTesting:s("parallelTesting"),parallelTestingWorkers:s("parallelTestingWorkers"),onlyTesting:s("onlyTesting"),skipTesting:s("skipTesting"),buildSettingOverrides:s("buildSettingOverrides"),priorBuildForTestingId:s("priorBuildForTesting"),priorTestProductsPath:s("priorTestProductsPath"),priorXctestrunPath:s("priorXctestrunPath")},a=new Set(es),n=e?[...es.filter(t=>Object.hasOwn(e,t)),...Object.keys(e).filter(e=>!a.has(e)).sort()].filter(t=>{var s;return s=e[t],Object.hasOwn(ei,t)?JSON.stringify(s)!==JSON.stringify(ei[t]):null!=s&&""!==s&&!1!==s&&(Array.isArray(s)?s.length>0:"object"!=typeof s||Object.keys(s).length>0)}):[];return e&&n.length?(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:s("advancedSettings")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsx)(N.DetailList,{className:"gap-3",children:n.map(s=>(0,t.jsx)(N.DetailItem,{label:i[s]??et(s.replace(/([a-z0-9])([A-Z])/g,"$1_$2").replaceAll("-","_")),children:(0,t.jsx)(en,{value:e[s]})},s))})})]}):null}function en({value:e}){let s=(0,f.useTranslations)("builds");if("boolean"==typeof e)return(0,t.jsx)(y.Badge,{variant:e?"default":"secondary",children:s(e?"settingsEnabled":"settingsDisabled")});if(null==e||""===e)return(0,t.jsx)(t.Fragment,{children:"—"});if(Array.isArray(e))return e.length?(0,t.jsx)("span",{className:"break-words font-mono",children:e.map(String).join(", ")}):(0,t.jsx)(t.Fragment,{children:"—"});if("object"==typeof e){let s=JSON.stringify(e);return s&&"{}"!==s?(0,t.jsx)("span",{className:"break-all font-mono",children:s}):(0,t.jsx)(t.Fragment,{children:"—"})}return"string"==typeof e&&/^[A-Z][A-Z0-9_]*$/.test(e)?(0,t.jsx)(t.Fragment,{children:et(e)}):(0,t.jsx)("span",{className:"break-words font-mono",children:String(e)})}function el(e){return"string"==typeof e&&e.trim()?e:null}function er(e,t){return"ALL"===t||String(e.result??"unknown").toLocaleUpperCase()===t}function ed({report:e}){let s=(0,f.useTranslations)("builds"),[i,a]=(0,j.useState)("ALL"),n=Array.isArray(e.data.tests)?e.data.tests:[],l=Array.isArray(e.data.devices)?e.data.devices:[],r=t=>"number"==typeof e.summary[t]?Number(e.summary[t]):0,d=(function(e){let t=new Map;for(let s of e){let e=el(s.bundle),i=el(s.suite),a=el(s.plan),n=el(s.configuration),l=i??e,r=JSON.stringify([a,n,e,l]),d=t.get(r)??{key:r,name:l,bundle:e,plan:a,configuration:n,tests:[]};d.tests.push(s),t.set(r,d)}return[...t.values()].sort((e,t)=>(e.name??"").localeCompare(t.name??"",void 0,{numeric:!0,sensitivity:"base"}))})(n).filter(e=>e.tests.some(e=>er(e,i)));return(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:s("testResults")})}),(0,t.jsx)(C.CardContent,{className:"space-y-4",children:"FAILED"===e.status?(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:e.error??s("testResultsFailed")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(y.Badge,{variant:"outline",children:s("testTotal",{count:r("total")})}),(0,t.jsx)(y.Badge,{className:"bg-emerald-600 text-white dark:bg-emerald-700",children:s("testPassed",{count:r("passed")})}),(0,t.jsx)(y.Badge,{variant:r("failed")?"destructive":"outline",children:s("testFailed",{count:r("failed")})}),(0,t.jsx)(y.Badge,{className:"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300",variant:"outline",children:s("testSkipped",{count:r("skipped")})}),l.map((e,s)=>(0,t.jsxs)(y.Badge,{variant:"outline",children:[String(e.deviceName??e.modelName??"Device")," ·"," ",String(e.osVersion??"—")]},s))]}),(0,t.jsx)("div",{className:"overflow-x-auto pb-1",children:(0,t.jsx)(I.Tabs,{onValueChange:e=>a(e),value:i,children:(0,t.jsxs)(I.TabsList,{"aria-label":s("testResultFilters"),children:[(0,t.jsx)(I.TabsTrigger,{value:"ALL",children:s("testFilterAll",{count:n.length})}),(0,t.jsx)(I.TabsTrigger,{value:"PASSED",children:s("testFilterPassed",{count:r("passed")})}),(0,t.jsx)(I.TabsTrigger,{value:"FAILED",children:s("testFilterFailed",{count:r("failed")})}),(0,t.jsx)(I.TabsTrigger,{value:"SKIPPED",children:s("testFilterSkipped",{count:r("skipped")})})]})})}),(0,t.jsx)("div",{className:"divide-y rounded-md border",children:d.map(e=>(0,t.jsx)(eo,{filter:i,group:e},e.key))})]})})]})}function eo({filter:e,group:s}){let i=(0,f.useTranslations)("builds"),a=(0,g.useLocale)(),[n,l]=(0,j.useState)(!1),r=s.name??i("testsWithoutSuite"),d=s.tests.filter(e=>"Passed"===e.result).length,o=s.tests.length?d/s.tests.length:0,c=new Intl.NumberFormat(a,{style:"percent",maximumFractionDigits:1}).format(o),u=s.tests.filter(t=>er(t,e)),p=new Map;for(let e of u){let t=function(e){let t=el(e.file);if(t)return t;let s=el(e.suite);return s||(el(e.identifier)?.split("/")[0]??null)}(e)??i("testsWithoutFile");p.set(t,[...p.get(t)??[],e])}let h=[s.bundle,s.configuration,s.plan].filter(Boolean).join(" · ");return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{"aria-expanded":n,"aria-label":i(n?"collapseTestSuite":"expandTestSuite",{suite:r}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>l(e=>!e),type:"button",children:[n?(0,t.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,t.jsx)(x.ChevronRight,{className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",children:r}),h&&(0,t.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:h}),(0,t.jsx)(y.Badge,{className:1===o?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":o>=.5?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"",variant:o<.5?"destructive":"outline",children:i("testSuitePassed",{passed:d,total:s.tests.length,percent:c})})]}),n&&(0,t.jsx)("div",{className:"border-t bg-muted/10 p-2",children:(0,t.jsx)("div",{className:"divide-y rounded-md border bg-background",children:[...p.entries()].sort(([e],[t])=>e.localeCompare(t,a,{numeric:!0,sensitivity:"base"})).map(([e,s])=>(0,t.jsx)(ec,{file:e,tests:s},e))})})]})}function ec({file:e,tests:s}){let i=(0,f.useTranslations)("builds"),[a,n]=(0,j.useState)(!1);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{"aria-expanded":a,"aria-label":i(a?"collapseTestFile":"expandTestFile",{file:e}),className:"flex min-h-8 w-full items-center gap-2 px-2 py-1.5 text-left hover:bg-muted/40",onClick:()=>n(e=>!e),type:"button",children:[a?(0,t.jsx)(m.ChevronDown,{className:"size-3.5 shrink-0"}):(0,t.jsx)(x.ChevronRight,{className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:e,children:e}),(0,t.jsx)(y.Badge,{variant:"outline",children:i("testTotal",{count:s.length})})]}),a&&(0,t.jsx)("div",{className:"border-t overflow-auto",children:(0,t.jsxs)(k.Table,{"aria-label":e,className:"min-w-[38rem] text-xs",children:[(0,t.jsx)(k.TableHeader,{children:(0,t.jsxs)(k.TableRow,{children:[(0,t.jsx)(k.TableHead,{className:"h-8 px-2",children:i("testStatus")}),(0,t.jsx)(k.TableHead,{className:"h-8 px-2",children:i("testName")}),(0,t.jsx)(k.TableHead,{className:"h-8 px-2 text-right",children:i("testDuration")})]})}),(0,t.jsx)(k.TableBody,{children:s.map((e,s)=>{let i=Array.isArray(e.details)?e.details.filter(e=>"string"==typeof e):[],a=Array.isArray(e.tags)?e.tags.filter(e=>"string"==typeof e):[],n=String(e.name??"—"),l=el(e.identifier);return(0,t.jsxs)(k.TableRow,{children:[(0,t.jsx)(k.TableCell,{className:"px-2 py-1.5",children:(0,t.jsx)(eu,{result:String(e.result??"unknown")})}),(0,t.jsxs)(k.TableCell,{className:"max-w-xl px-2 py-1.5 whitespace-normal",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,t.jsx)("span",{className:"font-mono font-medium",children:n}),a.map(e=>(0,t.jsx)(y.Badge,{variant:"outline",children:e},e))]}),l&&l!==n&&(0,t.jsx)("p",{className:"truncate font-mono text-muted-foreground",title:l,children:l}),i.map((e,s)=>(0,t.jsx)("p",{className:"mt-1 text-destructive",children:e},s))]}),(0,t.jsx)(k.TableCell,{className:"px-2 py-1.5 text-right tabular-nums",children:"number"==typeof e.durationSeconds?`${e.durationSeconds.toFixed(3)}s`:"—"})]},`${l??n}:${s}`)})})]})})]})}function eu({result:e}){let s=e.toLocaleLowerCase();return(0,t.jsx)(y.Badge,{className:"passed"===s?"border-emerald-500/40 bg-emerald-500/10 text-emerald-700 dark:text-emerald-300":"skipped"===s?"border-amber-500/40 bg-amber-500/10 text-amber-700 dark:text-amber-300":"expected failure"===s?"border-violet-500/40 bg-violet-500/10 text-violet-700 dark:text-violet-300":"",variant:"failed"===s?"destructive":"outline",children:e})}function em({label:e,value:s,mono:i=!1}){return(0,t.jsx)(N.DetailItem,{label:e,mono:i,children:s})}e.s(["BuildDetailPage",0,function({buildId:e,publicOrigin:n}){let g=(0,f.useTranslations)("builds"),I=(0,E.useRouter)(),[k,O]=(0,j.useState)(null),[$,U]=(0,j.useState)([]),[F,M]=(0,j.useState)(!0),[V,H]=(0,j.useState)(null),[q,z]=(0,j.useState)(!1),[G,W]=(0,j.useState)(null),[X,ee]=(0,j.useState)(!1),[es,ei]=(0,j.useState)(!1),[en,el]=(0,j.useState)(!1),[er,eo]=(0,j.useState)(!0),ec=(0,j.useRef)(null),eu=(0,j.useCallback)(async()=>{try{let t=await (0,P.controlPlaneRequest)(`query BuildDetail($id: ID!) {
30
+ build(id: $id) { ${Y} }
31
+ buildLogs(buildId: $id, first: 5000) { ${Z} }
32
+ }`,{id:e});O(t.build),U(t.buildLogs),H(null)}catch(e){H(e instanceof Error?e.message:String(e))}finally{M(!1)}},[e]);(0,j.useEffect)(()=>{let e=window.setTimeout(()=>void eu(),0);return()=>window.clearTimeout(e)},[eu]),(0,j.useEffect)(()=>{let t=(0,P.controlPlaneSubscriptions)().subscribe({query:"subscription BuildChanged($id: ID!) { buildChanged(id: $id) { id } }",variables:{id:e}},{next:()=>void eu(),error:()=>void 0,complete:()=>void 0}),s=(0,P.controlPlaneSubscriptions)().subscribe({query:`subscription BuildLogAdded($buildId: ID!) {
33
+ buildLogAdded(buildId: $buildId) { ${Z} }
34
+ }`,variables:{buildId:e}},{next:e=>{let t=e.data?.buildLogAdded;t&&U(e=>e.some(e=>e.id===t.id)?e:[...e,t])},error:()=>void 0,complete:()=>void 0});return()=>{t(),s()}},[e,eu]);let ex=null!==k&&(["QUEUED","PREPARING","RUNNING"].includes(k.status)||k.deployments.some(e=>["QUEUED","RUNNING"].includes(e.status))||k.exports.some(e=>["QUEUED","RUNNING"].includes(e.status)));(0,j.useEffect)(()=>{if(!ex)return;let e=window.setInterval(()=>void eu(),2e3);return()=>window.clearInterval(e)},[ex,eu]),(0,j.useEffect)(()=>{ex&&ec.current&&(ec.current.scrollTop=ec.current.scrollHeight)},[ex,$]),(0,j.useEffect)(()=>{if(!en)return;let e=window.setTimeout(()=>el(!1),2e3);return()=>window.clearTimeout(e)},[en]);let ep=async()=>{z(!0);try{await (0,P.controlPlaneRequest)("mutation CancelBuild($id: ID!) { cancelBuild(id: $id) { id status } }",{id:e}),await eu()}catch(e){H(e instanceof Error?e.message:String(e))}finally{z(!1)}},eh=async()=>{z(!0),H(null);try{await (0,P.controlPlaneRequest)("mutation DeleteBuild($ids: [ID!]!) { deleteBuilds(ids: $ids) }",{ids:[e]}),I.replace("/builds")}catch(e){H(e instanceof Error?e.message:String(e)),ei(!1)}finally{z(!1)}},eg=k?.artifacts.some(e=>"RUNNABLE_APP"===e.kind),ef=k?.artifacts.some(e=>"ARCHIVE"===e.kind),ej=k?.reports?.find(e=>"TEST_RESULTS"===e.kind),ev=k?.reports?.find(e=>"CODE_COVERAGE"===e.kind),eb=k?.artifacts.find(e=>"RESULT_BUNDLE"===e.kind),ey=!!k&&["TEST","TEST_WITHOUT_BUILDING"].includes(k.action),eS=k?.snapshot??{},eC=eS.repository,ew=eS.worktree,eN=eS.configuration,eT=eb?.metadata.coverageAvailable===!0||eN?.advancedSettings?.codeCoverage===!0,eA=k?.worktree?.highlightColor,eI=async e=>{try{await (0,D.copyText)(e),el(!0)}catch{H(g("copyFailed"))}},ek=async t=>{W(t),H(null);try{let s="TEST_RESULTS"===t?"parseBuildTestResults":"generateBuildCoverageReport";await (0,P.controlPlaneRequest)(`mutation GenerateBuildReport($buildId: ID!, $requestId: ID!) {
35
+ ${s}(buildId: $buildId, requestId: $requestId) { id status error }
36
+ }`,{buildId:e,requestId:(0,D.createClientId)()}),await eu()}catch(e){H(e instanceof Error?e.message:String(e))}finally{W(null)}},eE=e=>{let t=ec.current;t&&t.scrollTo({behavior:"smooth",top:"top"===e?0:t.scrollHeight})};return F?(0,t.jsxs)("p",{className:"mx-auto flex w-full max-w-[1500px] items-center gap-2 text-muted-foreground",children:[(0,t.jsx)(A.Spinner,{})," ",g("loading")]}):k?(0,t.jsxs)("section",{className:"mx-auto flex min-w-0 w-full max-w-[1500px] flex-col gap-5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(S.Button,{asChild:!0,className:"-ml-2",size:"sm",variant:"ghost",children:(0,t.jsxs)(E.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",g("backToBuilds")]})})}),V&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsx)(b.AlertDescription,{children:V})}),k.error&&(0,t.jsx)(b.Alert,{variant:"destructive",children:(0,t.jsxs)(b.AlertDescription,{children:[k.errorCode?`${k.errorCode}: `:"",k.error]})}),(0,t.jsxs)("div",{"data-testid":"build-summary",className:(0,B.cn)("flex flex-wrap items-start justify-between gap-4",eA&&"rounded-lg border-l-4 px-4 py-3",eA&&R.worktreeHighlightBackgroundClasses[eA],eA&&R.worktreeHighlightAccentClasses[eA]),children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:eC?.name??"—"}),(0,t.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-2",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:eN?.name??k.id}),(0,t.jsx)(y.Badge,{variant:(0,L.buildStatusVariant)(k.status),children:g(`statuses.${k.status}`)}),(0,t.jsx)(y.Badge,{variant:"outline",children:g(`actions.${k.action}`)}),k.outOfDate&&(0,t.jsx)(y.Badge,{className:"border-amber-500/40 text-amber-700 dark:text-amber-300",variant:"outline",children:g("outOfDate")})]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[ew?.branch??ew?.folder??"—"," ·"," ",k.destination.name]}),(0,t.jsxs)("p",{className:"mt-1 font-mono text-xs text-muted-foreground",children:[g("buildId"),": ",k.id]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(Q.RebuildButton,{buildId:k.id,onCompleted:e=>I.push(`/builds/${e.id}`),onError:H}),["QUEUED","PREPARING","RUNNING"].includes(k.status)&&(0,t.jsxs)(S.Button,{disabled:q,onClick:()=>void ep(),variant:"destructive",children:[q?(0,t.jsx)(A.Spinner,{}):(0,t.jsx)(p.Square,{})," ",g("cancelBuild")]}),"SUCCEEDED"===k.status&&eg&&(0,t.jsx)(K.RunBuildControls,{buildId:k.id,destinationType:k.destinationType,onCompleted:eu,onError:H,preferredDestination:k.destination}),"SUCCEEDED"===k.status&&ef&&(0,t.jsxs)(S.Button,{onClick:()=>ee(!0),variant:"outline",children:[(0,t.jsx)(s.Archive,{})," ",g("exportArchive")]}),!ex&&ey&&eb&&ej?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==G,onClick:()=>void ek("TEST_RESULTS"),variant:"outline",children:["TEST_RESULTS"===G?(0,t.jsx)(A.Spinner,{}):(0,t.jsx)(c,{}),ej?.status==="FAILED"?g("retryParseTestResults"):g("parseTestResultsAction")]}),!ex&&eb&&eT&&ev?.status!=="READY"&&(0,t.jsxs)(S.Button,{disabled:null!==G,onClick:()=>void ek("CODE_COVERAGE"),variant:"outline",children:["CODE_COVERAGE"===G?(0,t.jsx)(A.Spinner,{}):(0,t.jsx)(u,{}),ev?.status==="FAILED"?g("retryCoverageReport"):g("generateCoverageReport")]}),ev?.status==="READY"&&(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:`/builds/${k.id}/coverage`,children:[(0,t.jsx)(u,{})," ",g("viewCoverageReport")]})}),(0,t.jsxs)(S.Button,{disabled:q||["QUEUED","PREPARING","RUNNING"].includes(k.status),onClick:()=>ei(!0),variant:"destructive",children:[(0,t.jsx)(h.Trash2,{})," ",g("deleteBuild")]})]})]}),ej&&(0,t.jsx)(ed,{report:ej}),(0,t.jsxs)("div",{className:"grid min-w-0 gap-5 lg:grid-cols-[minmax(0,2fr)_minmax(18rem,1fr)]",children:[(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(C.Card,{className:"gap-0 py-0",children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(S.Button,{"aria-expanded":er,className:"-m-2 h-auto min-w-0 flex-1 justify-start p-2 text-left aria-expanded:bg-transparent aria-expanded:hover:bg-muted dark:aria-expanded:bg-transparent dark:aria-expanded:hover:bg-muted/50",onClick:()=>eo(e=>!e),type:"button",variant:"ghost",children:(0,t.jsx)("span",{className:"truncate font-medium",children:g("logs")})}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-1",children:[er&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Button,{"aria-label":g("scrollLogsToTop"),onClick:()=>eE("top"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(l,{})}),(0,t.jsx)(S.Button,{"aria-label":g("scrollLogsToBottom"),onClick:()=>eE("bottom"),size:"icon-xs",type:"button",variant:"outline",children:(0,t.jsx)(a.ArrowDownToLine,{})})]}),(0,t.jsx)(S.Button,{"aria-expanded":er,"aria-label":g(er?"collapseLogs":"expandLogs"),onClick:()=>eo(e=>!e),size:"icon-sm",title:g(er?"collapseLogs":"expandLogs"),type:"button",variant:"ghost",children:er?(0,t.jsx)(m.ChevronDown,{className:"size-5"}):(0,t.jsx)(x.ChevronRight,{className:"size-5"})})]})]})}),er&&(0,t.jsx)(C.CardContent,{className:"py-4",children:(0,t.jsx)("pre",{className:"max-h-[calc(100svh-8rem)] w-full min-w-0 max-w-full overflow-auto rounded-lg bg-neutral-950 p-3 text-xs whitespace-pre-wrap text-neutral-100 [overflow-wrap:anywhere] sm:max-h-[48rem]",ref:ec,children:$.length?$.map(e=>`[${e.phase}] ${e.message}`).join("\n"):g("noLogs")})})]}),(0,t.jsxs)(C.Card,{children:[(0,t.jsxs)(C.CardHeader,{children:[(0,t.jsx)(C.CardTitle,{children:g("commandSummary")}),(0,t.jsx)(C.CardAction,{children:(0,t.jsx)(S.Button,{"aria-label":en?g("commandCopied"):g("copyCommand"),onClick:()=>void eI(k.commandSummary),size:"icon-sm",type:"button",variant:"ghost",children:en?(0,t.jsx)(r.Check,{}):(0,t.jsx)(d.Copy,{})})})]}),(0,t.jsx)(C.CardContent,{children:(0,t.jsx)("pre",{className:"w-full min-w-0 max-w-full overflow-x-auto rounded-lg bg-muted p-3 text-xs whitespace-pre-wrap [overflow-wrap:anywhere]",children:k.commandSummary})})]}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:g("scripts")})}),(0,t.jsx)(C.CardContent,{className:"space-y-2",children:k.scriptExecutions.length?k.scriptExecutions.map(e=>(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2 rounded-lg border p-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium",children:[e.nameSnapshot," ·"," ",et(e.phase)]}),e.error&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:e.error})]}),(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:et(e.status)})]},e.id)):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("noScriptExecutions")})})]})]}),(0,t.jsxs)("div",{className:"min-w-0 space-y-5",children:[(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:g("overview")})}),(0,t.jsx)(C.CardContent,{children:(0,t.jsxs)(N.DetailList,{className:"gap-3",children:[(0,t.jsx)(em,{label:g("buildId"),value:k.id,mono:!0}),(0,t.jsx)(em,{label:g("scheme"),value:eN?.scheme??"—",mono:!0}),(0,t.jsx)(em,{label:g("configuration"),value:eN?.buildConfiguration??"—",mono:!0}),(0,t.jsx)(em,{label:g("head"),value:ew?.headSha??"—",mono:!0}),(0,t.jsx)(em,{label:g("startedAt"),value:(0,t.jsx)(w.DateTime,{value:k.startedAt})}),(0,t.jsx)(em,{label:g("finishedAt"),value:(0,t.jsx)(w.DateTime,{value:k.finishedAt})}),(0,t.jsx)(em,{label:g("artifactDirectory"),value:k.artifactDirectory,mono:!0})]})})]}),(0,t.jsx)(ea,{settings:eN?.advancedSettings}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:g("artifacts")})}),(0,t.jsx)(C.CardContent,{className:"space-y-2",children:k.artifacts.length?k.artifacts.map(e=>{let s="IPA"===e.kind,i=e.metadata??{};return(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)(y.Badge,{variant:"outline",children:et(e.kind)}),(0,t.jsx)(S.Button,{asChild:!0,size:"sm",variant:"outline",children:(0,t.jsxs)("a",{download:!0,href:`/api/builds/${encodeURIComponent(k.id)}/artifacts/${encodeURIComponent(e.id)}`,children:[(0,t.jsx)(o.Download,{})," ",s?g("downloadIpa"):g("downloadArtifact")]})})]}),(0,t.jsx)("p",{className:"mt-1 break-all font-mono text-xs text-muted-foreground",children:e.relativePath}),s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("dl",{className:"mt-2 space-y-1 text-xs text-muted-foreground",children:["string"==typeof i.bundleIdentifier&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:g("ipaBundleIdentifier")}),(0,t.jsx)("dd",{className:"break-all font-mono",children:i.bundleIdentifier})]}),"string"==typeof i.bundleShortVersion&&(0,t.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,t.jsx)("dt",{children:g("ipaBundleVersion")}),(0,t.jsx)("dd",{className:"font-mono",children:i.bundleShortVersion})]})]}),(0,t.jsx)("div",{className:"mt-2 flex justify-end",children:(0,t.jsx)(J,{artifactId:e.id,buildId:k.id,metadata:i,publicOrigin:n})})]})]},e.id)}):(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("noArtifacts")})})]}),(0,t.jsxs)(C.Card,{children:[(0,t.jsx)(C.CardHeader,{children:(0,t.jsx)(C.CardTitle,{children:g("runsAndExports")})}),(0,t.jsxs)(C.CardContent,{className:"space-y-2",children:[k.deployments.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:e.destination.name}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:et(e.status)}),(0,t.jsx)(w.DateTime,{className:"text-xs text-muted-foreground",value:e.finishedAt??e.startedAt??e.createdAt})]})]}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),k.exports.map(e=>(0,t.jsxs)("div",{className:"rounded-lg border p-2",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:g("archiveExport")}),(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)(y.Badge,{variant:"FAILED"===e.status?"destructive":"outline",children:et(e.status)}),(0,t.jsx)(w.DateTime,{className:"text-xs text-muted-foreground",value:e.finishedAt??e.startedAt??e.createdAt})]})]}),e.outputRelativePath&&(0,t.jsx)("p",{className:"mt-1 font-mono text-xs",children:e.outputRelativePath}),e.error&&(0,t.jsx)("p",{className:"mt-1 text-xs text-destructive",children:e.error})]},e.id)),!k.deployments.length&&!k.exports.length&&(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:g("noRunsOrExports")})]})]})]})]}),X&&(0,t.jsx)(_,{buildId:k.id,onOpenChange:ee,onSaved:eu,open:X}),(0,t.jsx)(v.ConfirmationDialog,{actionLabel:g("deleteBuild"),cancelLabel:g("cancel"),description:g("deleteBuildDescription"),onConfirm:eh,onOpenChange:ei,open:es,title:g("deleteBuildTitle")})]}):(0,t.jsxs)(T.Empty,{className:"mx-auto w-full max-w-[1500px] border py-12",children:[(0,t.jsxs)(T.EmptyHeader,{children:[(0,t.jsx)(T.EmptyTitle,{children:g("buildNotFound")}),(0,t.jsx)(T.EmptyDescription,{children:g("buildNotFoundDescription")})]}),(0,t.jsx)(S.Button,{asChild:!0,variant:"outline",children:(0,t.jsxs)(E.Link,{href:"/builds",children:[(0,t.jsx)(i.ArrowLeft,{})," ",g("backToBuilds")]})})]})}],885325)}]);