@aeolus-fleet/console 0.38.1 → 0.38.3

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 (509) hide show
  1. package/.next/standalone/packages/console/.next/BUILD_ID +1 -1
  2. package/.next/standalone/packages/console/.next/build-manifest.json +3 -3
  3. package/.next/standalone/packages/console/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page/server-reference-manifest.json +16 -16
  5. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page.js.nft.json +1 -1
  6. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/[cause]/page_client-reference-manifest.js +1 -1
  7. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page/server-reference-manifest.json +16 -16
  8. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page.js.nft.json +1 -1
  9. package/.next/standalone/packages/console/.next/server/app/(console)/fleet-health/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page/server-reference-manifest.json +16 -16
  11. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page.js.nft.json +1 -1
  12. package/.next/standalone/packages/console/.next/server/app/(console)/inbox/page_client-reference-manifest.js +1 -1
  13. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page/server-reference-manifest.json +16 -16
  14. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page.js.nft.json +1 -1
  15. package/.next/standalone/packages/console/.next/server/app/(console)/labels/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page/server-reference-manifest.json +16 -16
  17. package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page.js.nft.json +1 -1
  18. package/.next/standalone/packages/console/.next/server/app/(console)/messages/[messageId]/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page/server-reference-manifest.json +16 -16
  20. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page.js.nft.json +1 -1
  21. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page/server-reference-manifest.json +16 -16
  23. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page.js.nft.json +1 -1
  24. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/packages/console/.next/server/app/(console)/network/page/server-reference-manifest.json +16 -16
  26. package/.next/standalone/packages/console/.next/server/app/(console)/network/page.js.nft.json +1 -1
  27. package/.next/standalone/packages/console/.next/server/app/(console)/network/page_client-reference-manifest.js +1 -1
  28. package/.next/standalone/packages/console/.next/server/app/(console)/page/server-reference-manifest.json +16 -16
  29. package/.next/standalone/packages/console/.next/server/app/(console)/page.js.nft.json +1 -1
  30. package/.next/standalone/packages/console/.next/server/app/(console)/page_client-reference-manifest.js +1 -1
  31. package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page/server-reference-manifest.json +16 -16
  32. package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page.js.nft.json +1 -1
  33. package/.next/standalone/packages/console/.next/server/app/(console)/scopes/page_client-reference-manifest.js +1 -1
  34. package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page/server-reference-manifest.json +16 -16
  35. package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page.js.nft.json +1 -1
  36. package/.next/standalone/packages/console/.next/server/app/(console)/sealing/page_client-reference-manifest.js +1 -1
  37. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page/server-reference-manifest.json +16 -16
  38. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page.js.nft.json +1 -1
  39. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page_client-reference-manifest.js +1 -1
  40. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/server-reference-manifest.json +16 -16
  41. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page.js.nft.json +1 -1
  42. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page_client-reference-manifest.js +1 -1
  43. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page/server-reference-manifest.json +16 -16
  44. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page.js.nft.json +1 -1
  45. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page_client-reference-manifest.js +1 -1
  46. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/server-reference-manifest.json +16 -16
  47. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page.js.nft.json +1 -1
  48. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page_client-reference-manifest.js +1 -1
  49. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/server-reference-manifest.json +16 -16
  50. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page.js.nft.json +1 -1
  51. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page_client-reference-manifest.js +1 -1
  52. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page/server-reference-manifest.json +16 -16
  53. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page.js.nft.json +1 -1
  54. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page_client-reference-manifest.js +1 -1
  55. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page/server-reference-manifest.json +16 -16
  56. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page.js.nft.json +1 -1
  57. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page_client-reference-manifest.js +1 -1
  58. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page/server-reference-manifest.json +16 -16
  59. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page.js.nft.json +1 -1
  60. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page_client-reference-manifest.js +1 -1
  61. package/.next/standalone/packages/console/.next/server/app/(console)/usage/page/server-reference-manifest.json +16 -16
  62. package/.next/standalone/packages/console/.next/server/app/(console)/usage/page.js.nft.json +1 -1
  63. package/.next/standalone/packages/console/.next/server/app/(console)/usage/page_client-reference-manifest.js +1 -1
  64. package/.next/standalone/packages/console/.next/server/app/_global-error.html +1 -1
  65. package/.next/standalone/packages/console/.next/server/app/_global-error.rsc +1 -1
  66. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  67. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  68. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  69. package/.next/standalone/packages/console/.next/server/app/_not-found/page.js.nft.json +1 -1
  70. package/.next/standalone/packages/console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  71. package/.next/standalone/packages/console/.next/server/app/api/reads/[read]/route.js.nft.json +1 -1
  72. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page.js +1 -1
  73. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page.js.nft.json +1 -1
  74. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page_client-reference-manifest.js +1 -1
  75. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page.js +1 -1
  76. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page.js.nft.json +1 -1
  77. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page_client-reference-manifest.js +1 -1
  78. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page.js +1 -1
  79. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page.js.nft.json +1 -1
  80. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page_client-reference-manifest.js +1 -1
  81. package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page.js +1 -1
  82. package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page.js.nft.json +1 -1
  83. package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page_client-reference-manifest.js +1 -1
  84. package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page.js +1 -1
  85. package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page.js.nft.json +1 -1
  86. package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page_client-reference-manifest.js +1 -1
  87. package/.next/standalone/packages/console/.next/server/app/sign-in/page.js +1 -1
  88. package/.next/standalone/packages/console/.next/server/app/sign-in/page.js.nft.json +1 -1
  89. package/.next/standalone/packages/console/.next/server/app/sign-in/page_client-reference-manifest.js +1 -1
  90. package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page.js +1 -1
  91. package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page.js.nft.json +1 -1
  92. package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page_client-reference-manifest.js +1 -1
  93. package/.next/standalone/packages/console/.next/server/app/version/route.js.nft.json +1 -1
  94. package/.next/standalone/packages/console/.next/server/chunks/packages_console_1wbjk69aa7h5_._.js +1 -1
  95. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_app_(console)_squadrons_blueprints_[name]_page_tsx_06uag5z6tqk49._.js +1 -1
  96. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_commands_ui_organisms_command-palette_tsx_0xuh4paieq09i._.js +1 -1
  97. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_scopes_ui_organisms_remove-scope-dialog_tsx_1sr62xt495_ak._.js +1 -1
  98. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_ship-actions_organisms_release-dialog_tsx_0ziq5d_ipj9ks._.js +1 -1
  99. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_ship_ui_organisms_request-crew-dialog_tsx_1ywnzoikdhnrw._.js +1 -1
  100. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_squadrons_ui_organisms_add-member-dialog_tsx_153e4y22n44yi._.js +1 -1
  101. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_00objgim-e_v8._.js +1 -1
  102. package/.next/standalone/packages/console/.next/server/chunks/ssr/{0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_0klw98ylb69qz._.js → 0ysl_console_features_squadrons_ui_organisms_form-squadron-dialog_tsx_1inzvd-061qyg._.js} +1 -1
  103. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_squadrons_ui_organisms_handoff-wiring_tsx_0s9yeiluc55ya._.js +1 -1
  104. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_squadrons_ui_organisms_stand-down-dialog_tsx_0zyc8caxt3khy._.js +1 -1
  105. package/.next/standalone/packages/console/.next/server/chunks/ssr/0ysl_console_features_trierarchs_ui_organisms_join-machine-dialog_tsx_1yfk-eixp7pzp._.js +1 -1
  106. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui_features_trierarchs_ui_organisms_clear-worktree-dialog_tsx_0zbs8l6cchh2k._.js +1 -1
  107. package/.next/standalone/packages/console/.next/server/chunks/ssr/1eui_features_trierarchs_ui_organisms_new-setup-line-dialog_tsx_1wxeddbo7mfua._.js +1 -1
  108. package/.next/standalone/packages/console/.next/server/chunks/ssr/[root-of-the-server]__0ypavnjwwegxl._.js +3 -0
  109. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0-c2esor80m8b._.js +3 -0
  110. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0-glu_ggtpkjk._.js +1 -1
  111. package/.next/standalone/packages/console/.next/server/chunks/ssr/_01tz7b8d71l5b._.js +3 -0
  112. package/.next/standalone/packages/console/.next/server/chunks/ssr/_01xye3js0fdhu._.js +1 -1
  113. package/.next/standalone/packages/console/.next/server/chunks/ssr/_03z2w0nnab8a5._.js +1 -1
  114. package/.next/standalone/packages/console/.next/server/chunks/ssr/_04lm-__t90frg._.js +1 -1
  115. package/.next/standalone/packages/console/.next/server/chunks/ssr/_04zvy8_11laqg._.js +1 -1
  116. package/.next/standalone/packages/console/.next/server/chunks/ssr/_06dj2b3kwwwz-._.js +3 -0
  117. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_12_cjf-irovzl._.js → _07btknfbmpyjn._.js} +1 -1
  118. package/.next/standalone/packages/console/.next/server/chunks/ssr/_08f3_tvnslula._.js +3 -0
  119. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0a5k9_pc_guhs._.js +1 -1
  120. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0d06-d3favja3._.js +1 -1
  121. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0dn-qnqn617m3._.js +1 -1
  122. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0egnefjyrk2r7._.js +3 -0
  123. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0ioh14ut747g7._.js +3 -0
  124. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0iolc6uphnx6i._.js +3 -0
  125. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0mihej4ur8aqf._.js +1 -1
  126. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0mszfrsxd2jp5._.js +1 -1
  127. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0qwx1s4k2s0qb._.js +3 -0
  128. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_1s2rn6y67eo65._.js → _0rs6g75h7gq53._.js} +2 -2
  129. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0s7pb5hgyhola._.js +1 -1
  130. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0smsah71iokcf._.js +1 -1
  131. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0upl6_ykohgaf._.js +1 -1
  132. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0uvzfm0ili6j4._.js +1 -1
  133. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_0s1h2iasv4duo._.js → _0v8dmr12ibgwn._.js} +2 -2
  134. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0vw3r0fqhli2v._.js +3 -0
  135. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0wo7e7auz11u_._.js +1 -1
  136. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0x4w6nrkdsia9._.js +1 -1
  137. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_1vtht2v0z0czn._.js → _0zz_9gjuovy4_._.js} +1 -1
  138. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1-znsbz71cu95._.js +3 -0
  139. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1187kt4tnb_4l._.js +1 -1
  140. package/.next/standalone/packages/console/.next/server/chunks/ssr/_11mxfe3zf0uat._.js +1 -1
  141. package/.next/standalone/packages/console/.next/server/chunks/ssr/_11sz8jt_qbq2v._.js +1 -1
  142. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_13wtf_novu5yx._.js → _12whpec-drfam._.js} +1 -1
  143. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_11376ehlub2k_._.js → _14dmun8bvt-xu._.js} +2 -2
  144. package/.next/standalone/packages/console/.next/server/chunks/ssr/_16za-sxapkzbn._.js +3 -0
  145. package/.next/standalone/packages/console/.next/server/chunks/ssr/_17o4hjj1etaps._.js +1 -1
  146. package/.next/standalone/packages/console/.next/server/chunks/ssr/_18_k4yy205zhb._.js +3 -0
  147. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1e902yhnqoy2x._.js +3 -0
  148. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1e9cix7yp9z44._.js +3 -0
  149. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1grx-jbc7mwgx._.js +1 -1
  150. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1ioroqtvdn3-o._.js +1 -1
  151. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1j-mc3klgbuck._.js +1 -1
  152. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1j3ll8iogmfzx._.js +1 -1
  153. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1lz0hhyhb-wh4._.js +3 -0
  154. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1ndndz5qwiks7._.js +1 -1
  155. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1o0rj91houdrj._.js +3 -0
  156. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1u0h4gj3mw97-._.js +1 -1
  157. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1xktxce31_a24._.js +1 -1
  158. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1y6eblxgiq_uz._.js +1 -1
  159. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_05gncn_1vqmqq._.js +3 -0
  160. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_0erc5b1_xc92-._.js +3 -0
  161. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_12o9-3hwf2_bj._.js +3 -0
  162. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_@base-ui_1edutxgri0yxg._.js +3 -0
  163. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_@base-ui_1kivrqwzvvj_m._.js +3 -0
  164. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_@base-ui_react_combobox_index_parts_mjs_0imu74r5yuv4-._.js +3 -0
  165. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_@base-ui_utils_useOnFirstRender_mjs_061kr7hdz2het._.js +1 -1
  166. package/.next/standalone/packages/console/.next/server/chunks/ssr/{node_modules_lucide-react_dist_esm_icons_14aqpv2dhy5_7._.js → node_modules_lucide-react_dist_esm_icons_1dfdqa5mappsw._.js} +1 -1
  167. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_0-k7onmx73di2._.js +1 -1
  168. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_0560jhczv4rlu._.js +1 -1
  169. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_095dn1sq86gf4._.js +3 -0
  170. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_0nanolmhmhibu._.js +3 -0
  171. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_0ohfyl-6q03tu._.js +1 -1
  172. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_0f1vg_-aumhjb._.js → packages_1gxkekkqr30mt._.js} +1 -1
  173. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_1tqvayg0-e4zn._.js +3 -0
  174. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_1wk4mw6yyvcle._.js → packages_console_01xa5pfr-arji._.js} +2 -2
  175. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0cvxdaq56an-2._.js +1 -1
  176. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0deebkzdrt66k._.js +1 -1
  177. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0fj8fj_dfefer._.js +1 -1
  178. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0g8wuvm9200dx._.js +1 -1
  179. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0gb_ab5wr340f._.js +1 -1
  180. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0oa0j734rne2i._.js +3 -0
  181. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0p9496_ahzf02._.js +1 -1
  182. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0pr_dn_qifobq._.js +1 -1
  183. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0r1j1ff9-r1oq._.js +1 -1
  184. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0r7w8609o96yw._.js +3 -0
  185. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0spsmrxtu1yv7._.js +1 -1
  186. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0x3yy4k4kl7e0._.js +1 -1
  187. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0y6ht52r645g9._.js +1 -1
  188. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_13eoh7dscheba._.js +1 -1
  189. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_14ijvz4m00kwz._.js +1 -1
  190. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_07jhmqergipb9._.js → packages_console_1535wq4n18n2n._.js} +2 -2
  191. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_17-shtxx9ac7c._.js +1 -1
  192. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1c3b5p3g1fhhe._.js +1 -1
  193. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1dz1wwzmepxz2._.js +1 -1
  194. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1ep4nyq96z4tz._.js +1 -1
  195. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1ltwm3acq1a26._.js +1 -1
  196. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1qohymrp8tz2i._.js +1 -1
  197. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1rkytyhzvvpv7._.js +1 -1
  198. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1rs8-o5o6rf19._.js +1 -1
  199. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1xfs-ahyxqs9h._.js +1 -1
  200. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_214rzs16dsvhc._.js +1 -1
  201. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_fleet-health_[cause]_cause-page_tsx_217ovceugq614._.js +1 -1
  202. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_fleet-health_page_tsx_0vcosw11m9gc2._.js +1 -1
  203. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_inbox_inbox-page_tsx_1lm_c0ku1ongx._.js +1 -1
  204. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_labels_page_tsx_1qggshdvn2k85._.js +1 -1
  205. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_needs-crew_page_tsx_1bbx52-3w20f2._.js +1 -1
  206. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_network_network-page_tsx_0qc3h-94fvfmt._.js +2 -2
  207. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_not-found-page_tsx_06g314tnvvth7._.js +1 -1
  208. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_overview-page_tsx_15siba6r7o4-o._.js +1 -1
  209. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_scopes_scopes-page_tsx_1z3w98fjbgvci._.js +1 -1
  210. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_sealing_sealing-page_tsx_0rhc98z6n6ucx._.js +1 -1
  211. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_settings_page_tsx_1p8ay871g99mp._.js +1 -1
  212. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_ships_[shipId]_ship-page_tsx_0oahz0rct9hdh._.js +1 -1
  213. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_signed-in-layout_tsx_13vv8foc0-76l._.js +1 -1
  214. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_squadrons_[squadronId]_page_tsx_0f8nmsha3q9lj._.js +1 -1
  215. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_squadrons_page_tsx_1xpvx8n99lhii._.js +1 -1
  216. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_squadrons_templates_[name]_page_tsx_1bky1y74es_10._.js +1 -1
  217. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_trierarchs_[shipId]_page_tsx_1u845f4qxrxnd._.js +1 -1
  218. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_trierarchs_page_tsx_0muip60l89nhu._.js +1 -1
  219. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_usage_usage-page_tsx_02n6z9desy0a0._.js +1 -1
  220. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_providers_tsx_06ai92nlucn4w._.js +1 -1
  221. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_1q39m-5orhif3._.js → packages_console_components_0nxctwffpe5m2._.js} +2 -2
  222. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_atoms_combobox_tsx_1cy612l_h2c5e._.js +1 -1
  223. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_atoms_select_tsx_1v_3j3ixg6gu4._.js +1 -1
  224. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_molecules_crew-settings-fields_tsx_1hjvztxt75rb7._.js +1 -1
  225. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_organisms_crew-line-dialog_tsx_1n3v4kg_98r8p._.js +1 -1
  226. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_organisms_crew-release-dialog_tsx_0ypszdjbh7nou._.js +1 -1
  227. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_organisms_remove-member-dialog_tsx_0dk9vnqhspk12._.js +1 -1
  228. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_organisms_starting-prompt-dialog_tsx_0jo43phsmt4p-._.js +1 -1
  229. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_08mi193hcycab._.js +3 -0
  230. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_compose_organisms_compose-dialog_tsx_0_p3c-j-p7lmj._.js +1 -1
  231. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_compose_organisms_compose-message_tsx_1x5odctgbhfmb._.js +1 -1
  232. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_fleet_ui_organisms_commission-dialog_tsx_1t37wt5ff0nb4._.js +1 -1
  233. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_labels_organisms_define-label-dialog_tsx_0af83_5v5mp_g._.js +1 -1
  234. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_labels_organisms_delete-label-dialog_tsx_03_5he27txitx._.js +1 -1
  235. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_labels_organisms_label-values-dialog_tsx_0p1ot21421ivd._.js +1 -1
  236. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_scopes_ui_organisms_scope-dialog_tsx_0tcpxdok6jf_e._.js +1 -1
  237. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_sealing_ui_organisms_02qi_q_obbhrk._.js → packages_console_features_sealing_ui_organisms_0v9iwgt7348gw._.js} +1 -1
  238. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_ship-actions_organisms_rename-dialog_tsx_11feb6ntv8oht._.js +1 -1
  239. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_ship-actions_organisms_retire-dialog_tsx_0j324cfc7ynhx._.js +1 -1
  240. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_ship_state_message-task_tsx_0iziradsf-g4p._.js +1 -1
  241. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_ship_ui_organisms_message-sheet_tsx_08bg9lyynyaw8._.js +1 -1
  242. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_squadrons_state_get-new-crew-line_tsx_0fguddw1pxuxy._.js +1 -1
  243. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_trierarchs_02-sjvu220pb8._.js +1 -1
  244. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_trierarchs_1b01cdbfmog78._.js +1 -1
  245. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_relative-time_ts_0a86xhk-5uuo_._.js +3 -0
  246. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_squadrons-api_ts_0-ls9zi1hw-2n._.js +1 -1
  247. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_lib_trierarch-plugin_ts_1yl4g4k1mmd8u._.js +1 -1
  248. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_ui_dist_1q9u_u480kyi9._.js +3 -0
  249. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_ui_dist_atoms_alert-dialog_1_t35hw2b9iew.js +3 -0
  250. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_atoms_tabs_tsx_1qpb4iv9feueq._.js → packages_ui_dist_atoms_tabs_0r0mg_av1cab8.js} +2 -2
  251. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_ui_dist_atoms_toast_20au1cx4xeuc0.js +3 -0
  252. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_molecules_inline-error_tsx_05h0fkec9weu6._.js → packages_ui_dist_molecules_inline-error_1z5hy-l280rl0.js} +2 -2
  253. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_molecules_loading-skeleton_tsx_0xxvdd28uq6n0._.js → packages_ui_dist_molecules_loading-skeleton_05ke9f4cbu7f8.js} +2 -2
  254. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_molecules_status-badge_tsx_0uz8jdo3lheco._.js → packages_ui_dist_molecules_status-badge_1boics8c_6wfg.js} +2 -2
  255. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_ui_dist_organisms_scope-picker_11k1zu0vknruw.js +3 -0
  256. package/.next/standalone/packages/console/.next/server/middleware-build-manifest.js +3 -3
  257. package/.next/standalone/packages/console/.next/server/pages/500.html +1 -1
  258. package/.next/standalone/packages/console/.next/server/preview-props.json +3 -3
  259. package/.next/standalone/packages/console/.next/server/server-reference-manifest.js +1 -1
  260. package/.next/standalone/packages/console/.next/server/server-reference-manifest.json +17 -17
  261. package/.next/standalone/packages/console/.next/static/chunks/0-qw9eiba-5l5.js +1 -0
  262. package/.next/standalone/packages/console/.next/static/chunks/0-rvb8-63eff4.js +1 -0
  263. package/.next/standalone/packages/console/.next/static/chunks/0-wwkhw-ofrhz.js +1 -0
  264. package/.next/standalone/packages/console/.next/static/chunks/0072kxrp2k1aw.js +1 -0
  265. package/.next/standalone/packages/console/.next/static/chunks/{0y8giiv1vw2cf.js → 01o_o0d9dg59u.js} +1 -1
  266. package/.next/standalone/packages/console/.next/static/chunks/03v7whb3sdf25.js +1 -0
  267. package/.next/standalone/packages/console/.next/static/chunks/05o0rrvkvr4ed.js +1 -0
  268. package/.next/standalone/packages/console/.next/static/chunks/05sz5fb8ic_b7.js +1 -0
  269. package/.next/standalone/packages/console/.next/static/chunks/06n80v71rxwyn.js +1 -0
  270. package/.next/standalone/packages/console/.next/static/chunks/{36jsgdw3t617p.js → 07h2a126buqq_.js} +1 -1
  271. package/.next/standalone/packages/console/.next/static/chunks/08wrqmffulgcd.js +1 -0
  272. package/.next/standalone/packages/console/.next/static/chunks/0_1iqiu6r9mg2.js +1 -0
  273. package/.next/standalone/packages/console/.next/static/chunks/0_bfoqp59cbdd.js +1 -0
  274. package/.next/standalone/packages/console/.next/static/chunks/0a25-kcqwo0ww.js +1 -0
  275. package/.next/standalone/packages/console/.next/static/chunks/0ajaa51mk5x8r.js +1 -0
  276. package/.next/standalone/packages/console/.next/static/chunks/0bkd8qr-vgev5.js +1 -0
  277. package/.next/standalone/packages/console/.next/static/chunks/0bn2p27mguti_.js +1 -0
  278. package/.next/standalone/packages/console/.next/static/chunks/0dzdxc5b7prpq.js +1 -0
  279. package/.next/standalone/packages/console/.next/static/chunks/0ediemwzlq98r.js +1 -0
  280. package/.next/standalone/packages/console/.next/static/chunks/0faiyxb0py0n_.js +1 -0
  281. package/.next/standalone/packages/console/.next/static/chunks/0ouv_90zw_da-.js +1 -0
  282. package/.next/standalone/packages/console/.next/static/chunks/0tsf8dsbebof6.js +1 -0
  283. package/.next/standalone/packages/console/.next/static/chunks/0tx5613axpyc_.js +1 -0
  284. package/.next/standalone/packages/console/.next/static/chunks/0wvbej3p643l9.js +1 -0
  285. package/.next/standalone/packages/console/.next/static/chunks/0yk745ywie84t.js +1 -0
  286. package/.next/standalone/packages/console/.next/static/chunks/129tg49b_0k4s.js +1 -0
  287. package/.next/standalone/packages/console/.next/static/chunks/13x3gyjzta9x8.js +1 -0
  288. package/.next/standalone/packages/console/.next/static/chunks/155zi5k3knwic.js +1 -0
  289. package/.next/standalone/packages/console/.next/static/chunks/16k8nl-eref-h.js +1 -0
  290. package/.next/standalone/packages/console/.next/static/chunks/17yl_we1e0jte.css +3 -0
  291. package/.next/standalone/packages/console/.next/static/chunks/1923shig60m0p.js +1 -0
  292. package/.next/standalone/packages/console/.next/static/chunks/1_j1re567ncvo.js +1 -0
  293. package/.next/standalone/packages/console/.next/static/chunks/1_zch-hrah0fz.js +1 -0
  294. package/.next/standalone/packages/console/.next/static/chunks/1bwqgzzrs_9g3.js +1 -0
  295. package/.next/standalone/packages/console/.next/static/chunks/1dqlqykanavaz.js +1 -0
  296. package/.next/standalone/packages/console/.next/static/chunks/1iio-tex3wc36.js +1 -0
  297. package/.next/standalone/packages/console/.next/static/chunks/1l0s54rhsuj8k.js +1 -0
  298. package/.next/standalone/packages/console/.next/static/chunks/1la07uxb6nhkx.js +1 -0
  299. package/.next/standalone/packages/console/.next/static/chunks/1mlr0vejuvu0x.js +1 -0
  300. package/.next/standalone/packages/console/.next/static/chunks/1on_a1c_r_tod.js +1 -0
  301. package/.next/standalone/packages/console/.next/static/chunks/1p0rn-6fx8n4e.js +1 -0
  302. package/.next/standalone/packages/console/.next/static/chunks/1quvq2segq7-1.js +1 -0
  303. package/.next/standalone/packages/console/.next/static/chunks/1u5dt5bz7i8kj.js +1 -0
  304. package/.next/standalone/packages/console/.next/static/chunks/1vu6srxdeiri2.js +1 -0
  305. package/.next/standalone/packages/console/.next/static/chunks/1z_0q27fcanu5.js +1 -0
  306. package/.next/standalone/packages/console/.next/static/chunks/2--n0_qstb4cj.js +1 -0
  307. package/.next/standalone/packages/console/.next/static/chunks/21dxefntkn_ad.js +1 -0
  308. package/.next/standalone/packages/console/.next/static/chunks/24br6_kddg-nb.js +1 -0
  309. package/.next/standalone/packages/console/.next/static/chunks/263mifu4x4cph.js +1 -0
  310. package/.next/standalone/packages/console/.next/static/chunks/26c6zktwdqe85.js +1 -0
  311. package/.next/standalone/packages/console/.next/static/chunks/28248-4t30n-j.js +1 -0
  312. package/.next/standalone/packages/console/.next/static/chunks/28zytnri9jozo.js +1 -0
  313. package/.next/standalone/packages/console/.next/static/chunks/2_71ijpildxyb.js +1 -0
  314. package/.next/standalone/packages/console/.next/static/chunks/2cr_6go19o1vl.js +1 -0
  315. package/.next/standalone/packages/console/.next/static/chunks/2drpmc7hq-blo.js +1 -0
  316. package/.next/standalone/packages/console/.next/static/chunks/2e8tx-93m2ldy.js +1 -0
  317. package/.next/standalone/packages/console/.next/static/chunks/2ff4892o6vhh0.js +1 -0
  318. package/.next/standalone/packages/console/.next/static/chunks/2huae1cgbze0v.js +1 -0
  319. package/.next/standalone/packages/console/.next/static/chunks/2j-9e14dktd9v.js +1 -0
  320. package/.next/standalone/packages/console/.next/static/chunks/{1s4w_wlngw6e0.js → 2jxdgyyoc8ujt.js} +1 -1
  321. package/.next/standalone/packages/console/.next/static/chunks/2klydu_2y1o3r.js +1 -0
  322. package/.next/standalone/packages/console/.next/static/chunks/2l8sbc_lzr137.js +1 -0
  323. package/.next/standalone/packages/console/.next/static/chunks/2m-k8md1vxk3p.js +2 -0
  324. package/.next/standalone/packages/console/.next/static/chunks/2m1fedtj6zshl.js +1 -0
  325. package/.next/standalone/packages/console/.next/static/chunks/2n0-vvxsw9e-z.js +1 -0
  326. package/.next/standalone/packages/console/.next/static/chunks/2oeeit-b7_acw.js +1 -0
  327. package/.next/standalone/packages/console/.next/static/chunks/2on-sy9h3tdrt.js +1 -0
  328. package/.next/standalone/packages/console/.next/static/chunks/2oy8nig0n18h0.js +1 -0
  329. package/.next/standalone/packages/console/.next/static/chunks/2qc3ck3-_3t_o.js +1 -0
  330. package/.next/standalone/packages/console/.next/static/chunks/2s6zqbwtpk5j1.js +1 -0
  331. package/.next/standalone/packages/console/.next/static/chunks/2sk3ijvn79u03.js +1 -0
  332. package/.next/standalone/packages/console/.next/static/chunks/2tekirx9qi7at.js +1 -0
  333. package/.next/standalone/packages/console/.next/static/chunks/2tjeciuqmb1_v.js +1 -0
  334. package/.next/standalone/packages/console/.next/static/chunks/2tlse_ckl3vcn.js +1 -0
  335. package/.next/standalone/packages/console/.next/static/chunks/2ty4j9as2z0em.js +1 -0
  336. package/.next/standalone/packages/console/.next/static/chunks/2v3heo31-gtux.js +1 -0
  337. package/.next/standalone/packages/console/.next/static/chunks/2y461dhwwov_9.js +1 -0
  338. package/.next/standalone/packages/console/.next/static/chunks/3-0cc3pea26tf.js +1 -0
  339. package/.next/standalone/packages/console/.next/static/chunks/{3ff1nom6sybiz.js → 30dg5_a3_2_n5.js} +1 -1
  340. package/.next/standalone/packages/console/.next/static/chunks/{1ecl9_rmpw2tk.js → 30hvwe37dc41a.js} +1 -1
  341. package/.next/standalone/packages/console/.next/static/chunks/31s9j_vkkaafw.js +1 -0
  342. package/.next/standalone/packages/console/.next/static/chunks/31x9xqj1wbqss.js +1 -0
  343. package/.next/standalone/packages/console/.next/static/chunks/31z68i1gr9-so.js +1 -0
  344. package/.next/standalone/packages/console/.next/static/chunks/32m13letdpfpl.js +1 -0
  345. package/.next/standalone/packages/console/.next/static/chunks/330q3d8z-m6t8.js +1 -0
  346. package/.next/standalone/packages/console/.next/static/chunks/33twggm6xmra-.js +1 -0
  347. package/.next/standalone/packages/console/.next/static/chunks/341ho8n_rtft0.js +1 -0
  348. package/.next/standalone/packages/console/.next/static/chunks/365te4-y3jcxh.js +1 -0
  349. package/.next/standalone/packages/console/.next/static/chunks/37wf_jrtmxq1e.js +1 -0
  350. package/.next/standalone/packages/console/.next/static/chunks/3awxwrkvdm308.js +1 -0
  351. package/.next/standalone/packages/console/.next/static/chunks/3cg_3hvzqs97j.js +1 -0
  352. package/.next/standalone/packages/console/.next/static/chunks/3cjgr_-fspvqq.js +1 -0
  353. package/.next/standalone/packages/console/.next/static/chunks/3esg0chy-cg7s.js +1 -0
  354. package/.next/standalone/packages/console/.next/static/chunks/3fhj-mngvr12e.js +1 -0
  355. package/.next/standalone/packages/console/.next/static/chunks/3gpi8hjumsx79.js +1 -0
  356. package/.next/standalone/packages/console/.next/static/chunks/3hhwqs4jy-azb.js +1 -0
  357. package/.next/standalone/packages/console/.next/static/chunks/3hk3xngy-xr__.js +1 -0
  358. package/.next/standalone/packages/console/.next/static/chunks/3io_1q24kb_88.js +1 -0
  359. package/.next/standalone/packages/console/.next/static/chunks/{320avcyb_n1em.js → 3lz5u176f5ugk.js} +1 -1
  360. package/.next/standalone/packages/console/.next/static/chunks/3oqvucf8xd6o5.js +1 -0
  361. package/.next/standalone/packages/console/.next/static/chunks/3qsf1g-uqcjhy.js +1 -0
  362. package/.next/standalone/packages/console/.next/static/chunks/{2hm0k_6rq5pm6.js → 3qsh6xvy1mjy3.js} +1 -1
  363. package/.next/standalone/packages/console/.next/static/chunks/{2bzvxrbw1anad.js → 3rj1c2c478_qg.js} +1 -1
  364. package/.next/standalone/packages/console/.next/static/chunks/3tbkm3lsqwmcx.js +1 -0
  365. package/.next/standalone/packages/console/.next/static/chunks/{3c-0wncxv49g1.js → 3tipb1_-0i2db.js} +1 -1
  366. package/.next/standalone/packages/console/.next/static/chunks/3tuxzx2mmdhnr.js +1 -0
  367. package/.next/standalone/packages/console/.next/static/chunks/3tvit_y8znk13.js +1 -0
  368. package/.next/standalone/packages/console/.next/static/chunks/3u1b0jsp5oauc.js +1 -0
  369. package/.next/standalone/packages/console/.next/static/chunks/3v6fobjlor3ph.js +1 -0
  370. package/.next/standalone/packages/console/.next/static/chunks/3vh5wyyw772os.js +1 -0
  371. package/.next/standalone/packages/console/.next/static/chunks/3wbxw1qjgtnpi.js +1 -0
  372. package/.next/standalone/packages/console/.next/static/chunks/3wsrnu76b5-9i.js +1 -0
  373. package/.next/standalone/packages/console/.next/static/chunks/3zltrab_k0kto.js +1 -0
  374. package/.next/standalone/packages/console/.next/static/chunks/41mamud2bwmp6.js +1 -0
  375. package/.next/standalone/packages/console/.next/static/chunks/43d1gsftz85rv.js +1 -0
  376. package/.next/standalone/packages/console/.next/static/chunks/{0yn1yyg6qtyng.js → 455n8t5ocfw9n.js} +1 -1
  377. package/.next/standalone/packages/console/package.json +4 -4
  378. package/package.json +4 -4
  379. package/.next/standalone/packages/console/.next/server/chunks/ssr/[root-of-the-server]__0lec7lkp-qivd._.js +0 -3
  380. package/.next/standalone/packages/console/.next/server/chunks/ssr/_00vq1s3l3frwq._.js +0 -3
  381. package/.next/standalone/packages/console/.next/server/chunks/ssr/_059n12fep_mk9._.js +0 -3
  382. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0fc97i6itdwr5._.js +0 -3
  383. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0p_vpwtaka264._.js +0 -3
  384. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0r6gqmgwtl2uv._.js +0 -3
  385. package/.next/standalone/packages/console/.next/server/chunks/ssr/_11mt5d9sjc7lq._.js +0 -3
  386. package/.next/standalone/packages/console/.next/server/chunks/ssr/_14v9zz44uv19v._.js +0 -3
  387. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1g3pie7n14swm._.js +0 -3
  388. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1i7gtp3zic4lw._.js +0 -3
  389. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1ojt05a6l_zs-._.js +0 -3
  390. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1x3_77ihd0brj._.js +0 -3
  391. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_0vk0lrat-_wte._.js +0 -3
  392. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_1kv95l0wdyf-u._.js +0 -3
  393. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_1pv5vo938xz2c._.js +0 -3
  394. package/.next/standalone/packages/console/.next/server/chunks/ssr/node_modules_@base-ui_1zr68he0nx8d8._.js +0 -3
  395. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_000ibw8apr1sq._.js +0 -3
  396. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_0e0rreuj-sndc._.js +0 -3
  397. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_1oowo2hvn-29x._.js +0 -3
  398. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1n9uau24zs092._.js +0 -3
  399. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_atoms_alert-dialog_tsx_0de02ihpxd5ud._.js +0 -3
  400. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_components_atoms_toast_tsx_1kqrqe7x5wq33._.js +0 -3
  401. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_features_0-f8y-5xa6e2l._.js +0 -3
  402. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_ui_dist_organisms_sign-in-background_1_5hd7_0a45x3.js +0 -3
  403. package/.next/standalone/packages/console/.next/static/chunks/00jx14ljtr_ut.js +0 -1
  404. package/.next/standalone/packages/console/.next/static/chunks/03mm9yezkzzw5.js +0 -1
  405. package/.next/standalone/packages/console/.next/static/chunks/05chdma0ol964.js +0 -1
  406. package/.next/standalone/packages/console/.next/static/chunks/05fwf3-fxvd5m.js +0 -2
  407. package/.next/standalone/packages/console/.next/static/chunks/096e69pmh-bvk.js +0 -1
  408. package/.next/standalone/packages/console/.next/static/chunks/0b5mdpi089etx.js +0 -1
  409. package/.next/standalone/packages/console/.next/static/chunks/0c1hlwqf4hdml.js +0 -1
  410. package/.next/standalone/packages/console/.next/static/chunks/0ezf9x6wa6nxo.js +0 -1
  411. package/.next/standalone/packages/console/.next/static/chunks/0grjdkvpondwy.js +0 -1
  412. package/.next/standalone/packages/console/.next/static/chunks/0ikmfx69ohl3d.js +0 -1
  413. package/.next/standalone/packages/console/.next/static/chunks/0in4-2bs4x_gc.js +0 -1
  414. package/.next/standalone/packages/console/.next/static/chunks/0j9_09vmua2vo.js +0 -1
  415. package/.next/standalone/packages/console/.next/static/chunks/0jc_our10z_di.js +0 -1
  416. package/.next/standalone/packages/console/.next/static/chunks/0jkrnpjp2kgz5.js +0 -1
  417. package/.next/standalone/packages/console/.next/static/chunks/0lbjjgo90tzq7.js +0 -1
  418. package/.next/standalone/packages/console/.next/static/chunks/0n45beat7jgv4.js +0 -1
  419. package/.next/standalone/packages/console/.next/static/chunks/0q1euegoi8dsw.js +0 -1
  420. package/.next/standalone/packages/console/.next/static/chunks/0uqhd75jg4x87.js +0 -1
  421. package/.next/standalone/packages/console/.next/static/chunks/0vu2jqf1-hr93.js +0 -1
  422. package/.next/standalone/packages/console/.next/static/chunks/0xg288rgjhpd5.js +0 -1
  423. package/.next/standalone/packages/console/.next/static/chunks/0zb-no8hidxjs.js +0 -1
  424. package/.next/standalone/packages/console/.next/static/chunks/10jdeh57tlqqu.js +0 -1
  425. package/.next/standalone/packages/console/.next/static/chunks/11t-pzsx5ziho.js +0 -1
  426. package/.next/standalone/packages/console/.next/static/chunks/11urv9a25ws02.js +0 -1
  427. package/.next/standalone/packages/console/.next/static/chunks/1207wb459sahf.js +0 -1
  428. package/.next/standalone/packages/console/.next/static/chunks/122gkybdigp68.js +0 -1
  429. package/.next/standalone/packages/console/.next/static/chunks/1263elxk2d9t4.js +0 -1
  430. package/.next/standalone/packages/console/.next/static/chunks/138-5ko4y65ce.js +0 -1
  431. package/.next/standalone/packages/console/.next/static/chunks/15uffeh7yixaf.js +0 -1
  432. package/.next/standalone/packages/console/.next/static/chunks/16o203kluazek.js +0 -1
  433. package/.next/standalone/packages/console/.next/static/chunks/171m-ro0udsm3.js +0 -1
  434. package/.next/standalone/packages/console/.next/static/chunks/181o5ak32x_td.js +0 -1
  435. package/.next/standalone/packages/console/.next/static/chunks/1835o4kio_3a8.js +0 -1
  436. package/.next/standalone/packages/console/.next/static/chunks/18b9lpz3han1l.js +0 -1
  437. package/.next/standalone/packages/console/.next/static/chunks/1amjh3awiw_-n.js +0 -1
  438. package/.next/standalone/packages/console/.next/static/chunks/1bzi84goh-tbl.js +0 -1
  439. package/.next/standalone/packages/console/.next/static/chunks/1c2v5e2rz_ar5.js +0 -1
  440. package/.next/standalone/packages/console/.next/static/chunks/1dcbix6etyvxm.js +0 -1
  441. package/.next/standalone/packages/console/.next/static/chunks/1ek2q4rl_miar.js +0 -1
  442. package/.next/standalone/packages/console/.next/static/chunks/1g53-dj1sph5p.js +0 -1
  443. package/.next/standalone/packages/console/.next/static/chunks/1ihiyhlp5dgjl.js +0 -1
  444. package/.next/standalone/packages/console/.next/static/chunks/1jbwuif9e4aev.js +0 -1
  445. package/.next/standalone/packages/console/.next/static/chunks/1kfvp8fwve4n_.js +0 -1
  446. package/.next/standalone/packages/console/.next/static/chunks/1moru5_h67ggn.js +0 -1
  447. package/.next/standalone/packages/console/.next/static/chunks/1osfgd0qfmil5.js +0 -1
  448. package/.next/standalone/packages/console/.next/static/chunks/1ri1x3lyc_7uo.js +0 -1
  449. package/.next/standalone/packages/console/.next/static/chunks/1scbagy5tvblu.js +0 -1
  450. package/.next/standalone/packages/console/.next/static/chunks/1sh4_cor50wbs.js +0 -1
  451. package/.next/standalone/packages/console/.next/static/chunks/1u3dr0x6mkefx.js +0 -1
  452. package/.next/standalone/packages/console/.next/static/chunks/1ua_9kxk3b5m1.js +0 -1
  453. package/.next/standalone/packages/console/.next/static/chunks/1wvg60p98acup.js +0 -1
  454. package/.next/standalone/packages/console/.next/static/chunks/2114r41kxgehf.js +0 -1
  455. package/.next/standalone/packages/console/.next/static/chunks/22wt6u9swk_zt.js +0 -1
  456. package/.next/standalone/packages/console/.next/static/chunks/22z09_cz1zo5d.js +0 -1
  457. package/.next/standalone/packages/console/.next/static/chunks/24_r7dc2i2_en.js +0 -1
  458. package/.next/standalone/packages/console/.next/static/chunks/24odyada8rana.js +0 -1
  459. package/.next/standalone/packages/console/.next/static/chunks/25vqg-bsdwfxl.js +0 -1
  460. package/.next/standalone/packages/console/.next/static/chunks/2643j-gwyr93x.js +0 -1
  461. package/.next/standalone/packages/console/.next/static/chunks/26k05tl65m0n4.js +0 -1
  462. package/.next/standalone/packages/console/.next/static/chunks/2eyg7g0ebvm37.js +0 -1
  463. package/.next/standalone/packages/console/.next/static/chunks/2goeyaunqmf_5.js +0 -1
  464. package/.next/standalone/packages/console/.next/static/chunks/2hq95ej_ksifs.js +0 -1
  465. package/.next/standalone/packages/console/.next/static/chunks/2k_3a4rct9ppo.js +0 -1
  466. package/.next/standalone/packages/console/.next/static/chunks/2kpv6d89ljkwe.js +0 -1
  467. package/.next/standalone/packages/console/.next/static/chunks/2sxfbx0_zrwn9.js +0 -1
  468. package/.next/standalone/packages/console/.next/static/chunks/2u5uca_1r-zjq.js +0 -1
  469. package/.next/standalone/packages/console/.next/static/chunks/2vge4562ifuvw.js +0 -1
  470. package/.next/standalone/packages/console/.next/static/chunks/2we1bb3-bi1_y.js +0 -1
  471. package/.next/standalone/packages/console/.next/static/chunks/2xawg6unzjttf.js +0 -1
  472. package/.next/standalone/packages/console/.next/static/chunks/2ye27vfdh5w8w.js +0 -1
  473. package/.next/standalone/packages/console/.next/static/chunks/3--zxoyav17ef.js +0 -1
  474. package/.next/standalone/packages/console/.next/static/chunks/3-76w5ha8m1l_.css +0 -3
  475. package/.next/standalone/packages/console/.next/static/chunks/32_mhpy8b9nvq.js +0 -1
  476. package/.next/standalone/packages/console/.next/static/chunks/32ne310nfhna0.js +0 -1
  477. package/.next/standalone/packages/console/.next/static/chunks/3352v7y8pyvqc.js +0 -1
  478. package/.next/standalone/packages/console/.next/static/chunks/33yf58pf8scr5.js +0 -1
  479. package/.next/standalone/packages/console/.next/static/chunks/35co2q__yorb0.js +0 -1
  480. package/.next/standalone/packages/console/.next/static/chunks/3607tbp0omsa0.js +0 -1
  481. package/.next/standalone/packages/console/.next/static/chunks/365eou5npki1t.js +0 -1
  482. package/.next/standalone/packages/console/.next/static/chunks/3_9eq1ra7-g5q.js +0 -1
  483. package/.next/standalone/packages/console/.next/static/chunks/3_a4o8yqna8qt.js +0 -1
  484. package/.next/standalone/packages/console/.next/static/chunks/3aed0vq63y5x2.js +0 -1
  485. package/.next/standalone/packages/console/.next/static/chunks/3gi60b6qdwmsw.js +0 -1
  486. package/.next/standalone/packages/console/.next/static/chunks/3gjza8_3w9a7-.js +0 -1
  487. package/.next/standalone/packages/console/.next/static/chunks/3hdbq96mkhae7.js +0 -1
  488. package/.next/standalone/packages/console/.next/static/chunks/3js7pdcxedu_8.js +0 -1
  489. package/.next/standalone/packages/console/.next/static/chunks/3kh9f_rbzg0z2.js +0 -1
  490. package/.next/standalone/packages/console/.next/static/chunks/3kpucgcfq2w5d.js +0 -1
  491. package/.next/standalone/packages/console/.next/static/chunks/3m7nquuptho13.js +0 -1
  492. package/.next/standalone/packages/console/.next/static/chunks/3mccwfqnkll8p.js +0 -1
  493. package/.next/standalone/packages/console/.next/static/chunks/3nm3nxj4q5xhs.js +0 -1
  494. package/.next/standalone/packages/console/.next/static/chunks/3optj186wopm8.js +0 -1
  495. package/.next/standalone/packages/console/.next/static/chunks/3pisbdk13pbrp.js +0 -1
  496. package/.next/standalone/packages/console/.next/static/chunks/3s54fm26_vp7o.js +0 -1
  497. package/.next/standalone/packages/console/.next/static/chunks/3slgza0x6-xrg.js +0 -1
  498. package/.next/standalone/packages/console/.next/static/chunks/3t3n63k8pvpal.js +0 -1
  499. package/.next/standalone/packages/console/.next/static/chunks/3te_y3-s98-pw.js +0 -1
  500. package/.next/standalone/packages/console/.next/static/chunks/3vlf53lln2pnz.js +0 -1
  501. package/.next/standalone/packages/console/.next/static/chunks/3xhmaqxr19mm7.js +0 -1
  502. package/.next/standalone/packages/console/.next/static/chunks/3z36cvc4bhfe6.js +0 -1
  503. package/.next/standalone/packages/console/.next/static/chunks/3zaa6nj2pkz1o.js +0 -1
  504. package/.next/standalone/packages/console/.next/static/chunks/430znwpw354-1.js +0 -1
  505. package/.next/standalone/packages/console/.next/static/chunks/43n5zq9fqynku.js +0 -1
  506. package/.next/standalone/packages/console/.next/static/chunks/452asebh9r6i0.js +0 -1
  507. /package/.next/standalone/packages/console/.next/static/{Vm2-Db5_5Gt5txrBYfpH0 → DpbbcwlYBxzL3q3BIXKCQ}/_buildManifest.js +0 -0
  508. /package/.next/standalone/packages/console/.next/static/{Vm2-Db5_5Gt5txrBYfpH0 → DpbbcwlYBxzL3q3BIXKCQ}/_clientMiddlewareManifest.js +0 -0
  509. /package/.next/standalone/packages/console/.next/static/{Vm2-Db5_5Gt5txrBYfpH0 → DpbbcwlYBxzL3q3BIXKCQ}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[286491,992571,t=>{var e=t.i(619273),s=t.i(540143),i=t.i(936553),r=t.i(88587);function n(t){return{onFetch:(s,i)=>{let r=s.options,n=s.fetchOptions?.meta?.fetchMore?.direction,o=s.state.data?.pages||[],h=s.state.data?.pageParams||[],c={pages:[],pageParams:[]},l=0,d=async()=>{let i=!1,d=(0,e.W)(s.options,s.fetchOptions),f=async(t,r,n)=>{let a;if(i)return Promise.reject(s.signal.reason);if(null==r&&t.pages.length)return Promise.resolve(t);let u=(a={client:s.client,queryKey:s.queryKey,pageParam:r,direction:n?"backward":"forward",meta:s.options.meta},(0,e.d)(a,()=>s.signal,()=>i=!0),a),o=await d(u),{maxPages:h}=s.options,c=n?e.R:e.E;return{pages:c(t.pages,o,h),pageParams:c(t.pageParams,r,h)}};if(n&&o.length){let t="backward"===n,e=t?u:a,s={pages:o,pageParams:h};c=await f(s,e(r,s),t)}else{let e=t??o.length;do{let t=0===l?h[0]??r.initialPageParam:a(r,c);if(l>0&&null==t)break;c=await f(c,t),l++}while(l<e)}return c};s.options.persister?s.fetchFn=()=>s.options.persister?.(d,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},i):s.fetchFn=d}}}function a(t,{pages:e,pageParams:s}){let i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function u(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}t.s(["B",0,function(t,e){return!!e&&null!=a(t,e)},"u",0,function(t,e){return!!e&&!!t.getPreviousPageParam&&null!=u(t,e)},"T",0,n],992571);var o=class extends r.f{#t;#e;#s;#i;#r;#n;#a;#u;constructor(t){super(),this.#u=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#i=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=l(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#n?.promise}setOptions(t){if(this.options={...this.#a,...t},t?._type&&(this.#t=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=l(this.options);void 0!==t.data&&(this.setState(c(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#i.remove(this)}setData(t,s){let i=(0,e.M)(this.state.data,t,this.options);return this.#o({data:i,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),i}setState(t){this.#o({type:"setState",state:t})}cancel(t){let s=this.#n?.promise;return this.#n?.cancel(t),s?s.then(e.z).catch(e.z):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,e.S)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e.V||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,e.S)(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,e.C)(this.state.dataUpdatedAt,t))}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){let e=this.observers.indexOf(t);-1!==e&&(this.observers.splice(e,1),this.observers.length||(this.#n&&(this.#u||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,s){let r;if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let a=new AbortController,u=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#u=!0,a.signal)})},o=()=>{let t,i=(0,e.W)(this.options,s),r=(u(t={client:this.#r,queryKey:this.queryKey,meta:this.meta}),t);return(this.#u=!1,this.options.persister)?this.options.persister(i,r,this):i(r)},h=(u(r={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:o}),r);("infinite"===this.#t?n(this.options.pages):this.options.behavior)?.onFetch(h,this),this.#s=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==h.fetchOptions?.meta)&&this.#o({type:"fetch",meta:h.fetchOptions?.meta});let c=this.#n=(0,i.v)({initialPromise:s?.initialPromise,fn:h.fetchFn,onCancel:t=>{t instanceof i.x&&t.revert&&this.setState({...this.#s,fetchStatus:"idle"}),a.abort()},onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0});try{let t=await c.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#i.config.onSuccess?.(t,this),this.#i.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof i.x){if(t.silent)return this.#n.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#o({type:"error",error:t}),this.#i.config.onError?.(t,this),this.#i.config.onSettled?.(this.state.data,t,this),t}finally{this.#n===c&&(this.#n=void 0),this.scheduleGc()}}#o(t){let e=e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...h(e.data,this.options),fetchMeta:t.meta??null};case"success":let s={...e,...c(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=t.manual?s:void 0,s;case"error":let i=t.error;return{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),s.f.batch(()=>{this.observers.slice().forEach(t=>{t.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:t})})}};function h(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.e)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function c(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}t.s(["X",0,o,"W",0,h],286491)},317751,t=>{var e=t.i(619273),s=t.i(175555),i=t.i(540143),r=t.i(814448),n=t.i(915823),a=t.i(114272),u=class extends n.f{#h;#c;#l;constructor(t={}){super(),this.config=t,this.#h=new Set,this.#c=new Map,this.#l=0}build(t,e,s){let i=new a.I({client:t,mutationCache:this,mutationId:++this.#l,options:t.defaultMutationOptions(e),state:s});return this.add(i),i}add(t){this.#h.add(t);let e=o(t);if("string"==typeof e){let s=this.#c.get(e);s?s.push(t):this.#c.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#h.delete(t)){let e=o(t);if("string"==typeof e){let s=this.#c.get(e);if(s)if(s.length>1){let e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&this.#c.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=o(t);if("string"!=typeof e)return!0;{let s=this.#c.get(e)?.find(t=>"pending"===t.state.status);return!s||s===t}}runNext(t){let e=o(t);return"string"==typeof e?this.#c.get(e)?.find(e=>e!==t&&e.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){i.f.batch(()=>{this.#h.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#h.clear(),this.#c.clear()})}getAll(){return Array.from(this.#h)}find(t){let s={exact:!0,...t};return this.getAll().find(t=>(0,e.L)(s,t))}findAll(t={}){return this.getAll().filter(s=>(0,e.L)(t,s))}notify(t){i.f.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return i.f.batch(()=>Promise.all(t.map(t=>t.continue().catch(e.z))))}};function o(t){return t.options.scope?.id}var h=n,c=t.i(286491),l=class extends h.f{#d;constructor(t={}){super(),this.config=t,this.#d=new Map}build(t,s,i){let r=s.queryKey,n=s.queryHash??(0,e.J)(r,s),a=this.get(n);return a||(a=new c.X({client:t,queryKey:r,queryHash:n,options:t.defaultQueryOptions(s),state:i,defaultOptions:t.getQueryDefaults(r)}),this.add(a)),a}add(t){this.#d.has(t.queryHash)||(this.#d.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){this.#d.get(t.queryHash)===t&&(t.destroy(),this.#d.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){i.f.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#d.get(t)}getAll(){return[...this.#d.values()]}find(t){let s={exact:!0,...t};return this.getAll().find(t=>(0,e.N)(s,t))}findAll(t={}){let s=this.getAll();return Object.keys(t).length>0?s.filter(s=>(0,e.N)(t,s)):s}notify(t){i.f.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){i.f.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){i.f.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},d=class{#f;#p;#a;#y;#m;#v;#g;#b;constructor(t={}){this.#f=t.queryCache||new l,this.#p=t.mutationCache||new u,this.#a=t.defaultOptions||{},this.#y=new Map,this.#m=new Map,this.#v=0}mount(){this.#v++,1===this.#v&&(this.#g=s.f.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#f.onFocus())}),this.#b=r.f.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#f.onOnline())}))}unmount(){this.#v--,0===this.#v&&(this.#g?.(),this.#g=void 0,this.#b?.(),this.#b=void 0)}isFetching(t){return this.#f.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#p.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#f.get(e.queryHash)?.state.data}ensureQueryData(t){let s=this.defaultQueryOptions(t),i=this.#f.build(this,s),r=i.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime((0,e.S)(s.staleTime,i))&&this.prefetchQuery(s),Promise.resolve(r))}getQueriesData(t){return this.#f.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,s,i){let r=this.defaultQueryOptions({queryKey:t}),n=this.#f.get(r.queryHash)?.state.data,a=(0,e.b)(s,n);if(void 0!==a)return this.#f.build(this,r).setData(a,{...i,manual:!0})}setQueriesData(t,e,s){return i.f.batch(()=>this.#f.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#f.get(e.queryHash)?.state}removeQueries(t){let e=this.#f;i.f.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#f;return i.f.batch(()=>{let i=s.findAll(t),r=new Set(i);return i.forEach(t=>{t.reset()}),this.refetchQueries({type:"active",predicate:t=>r.has(t)},e)})}cancelQueries(t,s={}){let r={revert:!0,...s};return Promise.all(i.f.batch(()=>this.#f.findAll(t).map(t=>t.cancel(r)))).then(e.z).catch(e.z)}invalidateQueries(t,e={}){return i.f.batch(()=>(this.#f.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,s={}){let r={...s,cancelRefetch:s.cancelRefetch??!0};return Promise.all(i.f.batch(()=>this.#f.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let s=t.fetch(void 0,r);return r.throwOnError||(s=s.catch(e.z)),"paused"===t.state.fetchStatus?Promise.resolve():s}))).then(e.z)}async query(t){let s=this.defaultQueryOptions(t);void 0===s.retry&&(s.retry=!1);let i=this.#f.build(this,s),r=i.isStaleByTime((0,e.S)(s.staleTime,i))?await i.fetch(s):i.state.data,n=s.select;return n?n(r):r}fetchQuery(t){let s=this.defaultQueryOptions(t);void 0===s.retry&&(s.retry=!1);let i=this.#f.build(this,s);return i.isStaleByTime((0,e.S)(s.staleTime,i))?i.fetch(s):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(e.z).catch(e.z)}infiniteQuery(t){return t._type="infinite",this.query(t)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(e.z).catch(e.z)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return r.f.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#f}getMutationCache(){return this.#p}getDefaultOptions(){return this.#a}setDefaultOptions(t){this.#a=t}setQueryDefaults(t,s){this.#y.set((0,e.q)(t),{queryKey:t,defaultOptions:s})}getQueryDefaults(t){let s=[...this.#y.values()],i={};return s.forEach(s=>{(0,e.P)(t,s.queryKey)&&Object.assign(i,s.defaultOptions)}),i}setMutationDefaults(t,s){this.#m.set((0,e.q)(t),{mutationKey:t,defaultOptions:s})}getMutationDefaults(t){let s=[...this.#m.values()],i={};return s.forEach(s=>{(0,e.P)(t,s.mutationKey)&&Object.assign(i,s.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;let s={...this.#a.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return s.queryHash||(s.queryHash=(0,e.J)(s.queryKey,s)),void 0===s.refetchOnReconnect&&(s.refetchOnReconnect="always"!==s.networkMode),void 0===s.throwOnError&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===e.V&&(s.enabled=!1),s}defaultMutationOptions(t){return t?._defaulted?t:{...this.#a.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#f.clear(),this.#p.clear()}};t.s(["f",0,d],317751)},869230,t=>{var e=t.i(180166),s=t.i(619273),i=t.i(273911),r=t.i(915823),n=t.i(175555),a=t.i(540143),u=t.i(286491),o=class extends r.f{#r;#S=void 0;#O=void 0;#R=void 0;#C;#Q;#q;#w;#P;#I;#D;#E;#F;#T=new Set;constructor(t,e){super(),this.options=e,this.#r=t,this.#q=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#S.addObserver(this),h(this.#S,this.options)?this.#A():this.updateResult(),this.#U())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#S,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#S,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#M(),this.#x(),this.#S.removeObserver(this)}setOptions(t){let e=this.options,i=this.#S;if(this.options=this.#r.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,s.S)(this.options.enabled,this.#S))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#k(),this.#S.setOptions(this.options),e._defaulted&&!(0,s.U)(this.options,e)&&this.#r.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#S,observer:this});let r=this.hasListeners();r&&l(this.#S,i,this.options,e)&&this.#A(),this.updateResult(),r&&(this.#S!==i||(0,s.S)(this.options.enabled,this.#S)!==(0,s.S)(e.enabled,this.#S)||(0,s.S)(this.options.staleTime,this.#S)!==(0,s.S)(e.staleTime,this.#S))&&this.#K();let n=this.#H();r&&(this.#S!==i||(0,s.S)(this.options.enabled,this.#S)!==(0,s.S)(e.enabled,this.#S)||n!==this.#F)&&this.#z(n)}getOptimisticResult(t){let e=this.#r.getQueryCache().build(this.#r,t),i=this.createResult(e,t);return(0,s.U)(this.getCurrentResult(),i)||(this.#R=i,this.#Q=this.options,this.#C=this.#S.state),i}getCurrentResult(){return this.#R}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),e?.(s),Reflect.get(t,s))})}trackProp(t){this.#T.add(t)}getCurrentQuery(){return this.#S}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e,s=this.#r.defaultQueryOptions(t),i=this.#r.getQueryCache().build(this.#r,s),r=()=>{},n=new Promise(t=>{e=t,r=this.#r.getQueryCache().subscribe(e=>{"updated"===e.type&&e.query.queryHash===i.queryHash&&void 0!==i.state.data&&(r(),t(this.createResult(i,s)))})});return Promise.race([i.fetch().then(()=>{let t=this.createResult(i,s);return e?.(t),t}).finally(()=>{r()}),n])}fetch(t){return this.#A({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#R))}#A(t){this.#k();let e=this.#S.fetch(this.options,t);return t?.throwOnError||(e=e.catch(s.z)),e}#_(t){return!(0,i.f)()&&!1!==(0,s.S)(this.options.enabled,this.#S)&&(0,s.u)(t)}#K(){this.#M();let t=(0,s.S)(this.options.staleTime,this.#S);if(this.#R.isStale||!this.#_(t))return;let i=(0,s.C)(this.#R.dataUpdatedAt,t)+1;this.#D=e.U.setTimeout(()=>{this.#R.isStale||this.updateResult()},i)}#H(){return(0,s.S)(this.options.refetchInterval,this.#S)??!1}#z(t){this.#x(),this.#F=t,0!==this.#F&&this.#_(this.#F)&&(this.#E=e.U.setInterval(()=>{(this.options.refetchIntervalInBackground||n.f.isFocused())&&this.#A()},this.#F))}#U(){this.#K(),this.#z(this.#H())}#M(){void 0!==this.#D&&(e.U.clearTimeout(this.#D),this.#D=void 0)}#x(){void 0!==this.#E&&(e.U.clearInterval(this.#E),this.#E=void 0)}createResult(t,e){let i,r=this.#S,n=this.options,a=this.#R,o=this.#C,c=this.#Q,f=t!==r?t.state:this.#O,{state:p}=t,y={...p},m=!1;if(e._optimisticResults){let s=this.hasListeners(),i=!s&&h(t,e),a=s&&l(t,r,e,n);(i||a)&&(y={...y,...(0,u.W)(p.data,t.options)}),"isRestoring"===e._optimisticResults&&(y.fetchStatus="idle")}let{error:v,errorUpdatedAt:g,status:b}=y;i=y.data;let S=!1;if(void 0!==e.placeholderData&&void 0===i&&"pending"===b){let t;a?.isPlaceholderData&&e.placeholderData===c?.placeholderData?(t=a.data,S=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#I?.state.data,this.#I):e.placeholderData,void 0!==t&&(b="success",i=(0,s.M)(a?.data,t,e),m=!0)}if(e.select&&void 0!==i&&!S)if(a&&i===o?.data&&e.select===this.#w)i=this.#P;else try{this.#w=e.select,i=e.select(i),i=(0,s.M)(a?.data,i,e),this.#P=i,this.#q=null}catch(t){this.#q=t}else void 0===i&&(this.#q=null);this.#q&&(v=this.#q,i=this.#P,g=Date.now(),b="error",m=!1);let O="fetching"===y.fetchStatus,R="pending"===b,C="error"===b,Q=R&&O,q=void 0!==i;return{status:b,fetchStatus:y.fetchStatus,isPending:R,isSuccess:"success"===b,isError:C,isInitialLoading:Q,isLoading:Q,data:i,dataUpdatedAt:y.dataUpdatedAt,error:v,errorUpdatedAt:g,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&!R,isLoadingError:C&&!q,isPaused:"paused"===y.fetchStatus,isPlaceholderData:m,isRefetchError:C&&q,isStale:d(t,e),refetch:this.refetch,isEnabled:!1!==(0,s.S)(e.enabled,t)}}updateResult(){let t=this.#R,e=this.createResult(this.#S,this.options);if(this.#C=this.#S.state,this.#Q=this.options,void 0!==this.#C.data&&(this.#I=this.#S),(0,s.U)(e,t))return;this.#R=e;let i=(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!this.#T.size)return!0;let i=new Set(s??this.#T);return this.options.throwOnError&&i.add("error"),Object.keys(this.#R).some(e=>this.#R[e]!==t[e]&&i.has(e))})();a.f.batch(()=>{i&&this.listeners.forEach(t=>{t(this.#R)}),this.#r.getQueryCache().notify({query:this.#S,type:"observerResultsUpdated"})})}#k(){let t=this.#r.getQueryCache().build(this.#r,this.options);if(t===this.#S)return;let e=this.#S;this.#S=t,this.#O=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#U()}};function h(t,e){return!1!==(0,s.S)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==(0,s.S)(e.retryOnMount,t))||void 0!==t.state.data&&c(t,e,e.refetchOnMount)}function c(t,e,i){if(!1!==(0,s.S)(e.enabled,t)&&"static"!==(0,s.S)(e.staleTime,t)){let r=(0,s.S)(i,t);return"always"===r||!1!==r&&d(t,e)}return!1}function l(t,e,i,r){return(t!==e||!1===(0,s.S)(r.enabled,t))&&(!i.suspense||"error"!==t.state.status)&&d(t,i)}function d(t,e){return!1!==(0,s.S)(e.enabled,t)&&t.isStaleByTime((0,s.S)(e.staleTime,t))}t.s(["f",0,o])},381384,673664,427001,254440,t=>{let e;var s=t.i(271645);let i=s.createContext(!1);i.Provider,t.s(["f",0,()=>s.useContext(i)],381384),t.i(843476);let r=s.createContext((e=!1,{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}));t.s(["f",0,()=>s.useContext(r)],673664);var n=t.i(619273);t.s(["l",0,(t,e,s)=>{let i=s?.state.error&&"function"==typeof t.throwOnError?(0,n.Z)(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||i)&&!e.isReset()&&(t.retryOnMount=!1)},"P",0,({result:t,errorResetBoundary:e,throwOnError:s,query:i,suspense:r})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(r&&void 0===t.data||(0,n.Z)(s,[t.error,i])),"E",0,t=>{s.useEffect(()=>{t.clearReset()},[t])}],427001),t.s(["p",0,t=>{if(t.suspense){let e=t=>"static"===t?t:Math.max(t??1e3,1e3),s=t.staleTime;t.staleTime="function"==typeof s?(...t)=>e(s(...t)):e(s),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3))}},"X",0,(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()}),"Q",0,(t,e)=>t?.suspense&&e.isPending],254440)},469637,t=>{t.i(247167);var e=t.i(912598),s=t.i(381384),i=t.i(673664),r=t.i(427001),n=t.i(254440),a=t.i(271645),u=t.i(619273),o=t.i(540143);t.s(["f",0,function(t,h,c){let l=(0,s.f)(),d=(0,i.f)(),f=(0,e.d)(c),p=f.defaultQueryOptions(t),y=f.getQueryCache().get(p.queryHash),m=!1!==t.subscribed;p._optimisticResults=l?"isRestoring":m?"optimistic":void 0,(0,n.p)(p),(0,r.l)(p,d,y),(0,r.E)(d);let[v]=a.useState(()=>new h(f,p)),g=v.getOptimisticResult(p),b=!l&&m;if(a.useSyncExternalStore(a.useCallback(t=>{let e=b?v.subscribe(o.f.batchCalls(t)):u.z;return v.updateResult(),e},[v,b]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),a.useEffect(()=>{v.setOptions(p)},[p,v]),(0,n.Q)(p,g))throw(0,n.X)(p,v,d);if((0,r.P)({result:g,errorResetBoundary:d,throwOnError:p.throwOnError,query:y,suspense:p.suspense}))throw g.error;return p.notifyOnChangeProps?g:v.trackResult(g)}])},266027,t=>{var e=t.i(469637),s=t.i(869230);t.s(["f",0,function(t,i){return(0,e.f)(t,s.f,i)}])},560964,t=>{var e=t.i(814387);t.s(["f",()=>e.f])},46929,t=>{function e(t){if("object"!=typeof t||null===t||!("data"in t))return;let{data:e}=t;return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):void 0}t.s(["K",0,function(t){return e(t)?.refusal==="SIGNED_IN_ELSEWHERE"},"v",0,function(t){let s=e(t)?.refusal;return"string"==typeof s?s:void 0},"O",0,function(t){let s=e(t)?.retryAt;if("string"!=typeof s)return;let i=new Date(s);return Number.isNaN(i.getTime())?void 0:i},"N",0,function(t){let s=e(t)?.code;return"string"==typeof s?s:void 0}])},123938,t=>{var e=t.i(271645);let s=(0,e.createContext)(void 0),i={reopen:()=>void 0,isReopening:()=>!1,subscribe:()=>()=>void 0};function r(){return(0,e.useContext)(s)??i}t.s(["t",0,s,"M",0,function(t){let e=!1,s=new Set,i=()=>{for(let t of s)t()};return{reopen:()=>{e=!0,i(),t.close()},opened:()=>{e&&(e=!1,i())},isReopening:()=>e,subscribe:t=>(s.add(t),()=>{s.delete(t)})}},"h",0,function(){let t=r();return(0,e.useSyncExternalStore)(t.subscribe,t.isReopening,()=>!1)},"N",0,r])},678485,364692,t=>{var e=t.i(954616),s=t.i(266027),i=t.i(618566),r=t.i(271645),n=t.i(46929);function a(t){return`/sign-in?${new URLSearchParams({notice:"ended",returnTo:t}).toString()}`}t.s(["I",0,"/sign-in/enter?returnTo=%2F","K",0,"/sign-in/nothing-to-manage","g",0,"/sign-in/no-rights","V",0,a],364692);var u=t.i(427702);let o=(0,r.createContext)(void 0);function h(){let t=(0,i.useRouter)(),e=(0,r.useContext)(o);if(void 0===e)throw Error("useWayOut runs inside the root layout, which provides the way out");return{...e,leave:s=>{e.leave(()=>{s.startsWith("/")?t.replace(s):window.location.assign(s)})}}}t.s(["X",0,o,"n",0,function(t){let e=h(),i=(0,u.I)(),o=(0,s.f)(i.console.session.queryOptions()).data?.kind==="account",c=t.find(t=>"UNAUTHORIZED"===(0,n.N)(t)),l=void 0===c?void 0:function(t,{isAccount:e}){return e?a(`${window.location.pathname}${window.location.search}`):(0,n.K)(t)?"/sign-in?notice=signed-in-elsewhere":"/sign-in"}(c,{isAccount:o}),d=(0,r.useEffectEvent)(t=>{e.leave(t)});(0,r.useEffect)(()=>{void 0!==l&&d(l)},[l])},"P",0,function(){let t=(0,u.I)(),s=h(),i=(0,e.f)(t.console.signOut.mutationOptions({networkMode:"always"}));return{signOut:(t,e)=>{s.holdCalls(),i.mutate(void 0,{onSuccess:()=>{s.leave(t)},onError:()=>{s.letCallsGo(),e()}})},isSigningOut:i.isPending}},"V",0,h,"s",0,function(t){let e=(0,i.usePathname)();(0,r.useLayoutEffect)(()=>()=>{t.pageGoes()},[t,e])}],678485)}],618566,(t,e,s)=>{e.exports=t.r(976562)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[286491,992571,t=>{var e=t.i(619273),s=t.i(540143),i=t.i(936553),r=t.i(88587);function n(t){return{onFetch:(s,i)=>{let r=s.options,n=s.fetchOptions?.meta?.fetchMore?.direction,o=s.state.data?.pages||[],h=s.state.data?.pageParams||[],c={pages:[],pageParams:[]},l=0,d=async()=>{let i=!1,d=(0,e.W)(s.options,s.fetchOptions),f=async(t,r,n)=>{let a;if(i)return Promise.reject(s.signal.reason);if(null==r&&t.pages.length)return Promise.resolve(t);let u=(a={client:s.client,queryKey:s.queryKey,pageParam:r,direction:n?"backward":"forward",meta:s.options.meta},(0,e.d)(a,()=>s.signal,()=>i=!0),a),o=await d(u),{maxPages:h}=s.options,c=n?e.R:e.E;return{pages:c(t.pages,o,h),pageParams:c(t.pageParams,r,h)}};if(n&&o.length){let t="backward"===n,e=t?u:a,s={pages:o,pageParams:h};c=await f(s,e(r,s),t)}else{let e=t??o.length;do{let t=0===l?h[0]??r.initialPageParam:a(r,c);if(l>0&&null==t)break;c=await f(c,t),l++}while(l<e)}return c};s.options.persister?s.fetchFn=()=>s.options.persister?.(d,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},i):s.fetchFn=d}}}function a(t,{pages:e,pageParams:s}){let i=e.length-1;return e.length>0?t.getNextPageParam(e[i],e,s[i],s):void 0}function u(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}t.s(["B",0,function(t,e){return!!e&&null!=a(t,e)},"u",0,function(t,e){return!!e&&!!t.getPreviousPageParam&&null!=u(t,e)},"T",0,n],992571);var o=class extends r.f{#t;#e;#s;#i;#r;#n;#a;#u;constructor(t){super(),this.#u=!1,this.#a=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#i=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=l(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#n?.promise}setOptions(t){if(this.options={...this.#a,...t},t?._type&&(this.#t=t._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let t=l(this.options);void 0!==t.data&&(this.setState(c(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#i.remove(this)}setData(t,s){let i=(0,e.M)(this.state.data,t,this.options);return this.#o({data:i,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),i}setState(t){this.#o({type:"setState",state:t})}cancel(t){let s=this.#n?.promise;return this.#n?.cancel(t),s?s.then(e.z).catch(e.z):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(t=>!1!==(0,e.S)(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e.V||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(t=>"static"===(0,e.S)(t.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(t=0){return void 0===this.state.data||"static"!==t&&(!!this.state.isInvalidated||!(0,e.C)(this.state.dataUpdatedAt,t))}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){let e=this.observers.indexOf(t);-1!==e&&(this.observers.splice(e,1),this.observers.length||(this.#n&&(this.#u||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(t,s){let r;if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let a=new AbortController,u=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#u=!0,a.signal)})},o=()=>{let t,i=(0,e.W)(this.options,s),r=(u(t={client:this.#r,queryKey:this.queryKey,meta:this.meta}),t);return(this.#u=!1,this.options.persister)?this.options.persister(i,r,this):i(r)},h=(u(r={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:o}),r);("infinite"===this.#t?n(this.options.pages):this.options.behavior)?.onFetch(h,this),this.#s=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==h.fetchOptions?.meta)&&this.#o({type:"fetch",meta:h.fetchOptions?.meta});let c=this.#n=(0,i.v)({initialPromise:s?.initialPromise,fn:h.fetchFn,onCancel:t=>{t instanceof i.x&&t.revert&&this.setState({...this.#s,fetchStatus:"idle"}),a.abort()},onFail:(t,e)=>{this.#o({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0});try{let t=await c.start();if(void 0===t)throw Error(`${this.queryHash} data is undefined`);return this.setData(t),this.#i.config.onSuccess?.(t,this),this.#i.config.onSettled?.(t,this.state.error,this),t}catch(t){if(t instanceof i.x){if(t.silent)return this.#n.promise;else if(t.revert){if(void 0===this.state.data)throw t;return this.state.data}}throw this.#o({type:"error",error:t}),this.#i.config.onError?.(t,this),this.#i.config.onSettled?.(this.state.data,t,this),t}finally{this.#n===c&&(this.#n=void 0),this.scheduleGc()}}#o(t){let e=e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...h(e.data,this.options),fetchMeta:t.meta??null};case"success":let s={...e,...c(t.data,t.dataUpdatedAt),dataUpdateCount:e.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=t.manual?s:void 0,s;case"error":let i=t.error;return{...e,error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}};this.state=e(this.state),s.f.batch(()=>{this.observers.slice().forEach(t=>{t.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:t})})}};function h(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,i.e)(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}function c(t,e){return{data:t,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function l(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,i=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}t.s(["X",0,o,"W",0,h],286491)},317751,t=>{var e=t.i(619273),s=t.i(175555),i=t.i(540143),r=t.i(814448),n=t.i(915823),a=t.i(114272),u=class extends n.f{#h;#c;#l;constructor(t={}){super(),this.config=t,this.#h=new Set,this.#c=new Map,this.#l=0}build(t,e,s){let i=new a.I({client:t,mutationCache:this,mutationId:++this.#l,options:t.defaultMutationOptions(e),state:s});return this.add(i),i}add(t){this.#h.add(t);let e=o(t);if("string"==typeof e){let s=this.#c.get(e);s?s.push(t):this.#c.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#h.delete(t)){let e=o(t);if("string"==typeof e){let s=this.#c.get(e);if(s)if(s.length>1){let e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&this.#c.delete(e)}}this.notify({type:"removed",mutation:t})}canRun(t){let e=o(t);if("string"!=typeof e)return!0;{let s=this.#c.get(e)?.find(t=>"pending"===t.state.status);return!s||s===t}}runNext(t){let e=o(t);return"string"==typeof e?this.#c.get(e)?.find(e=>e!==t&&e.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){i.f.batch(()=>{this.#h.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#h.clear(),this.#c.clear()})}getAll(){return Array.from(this.#h)}find(t){let s={exact:!0,...t};return this.getAll().find(t=>(0,e.L)(s,t))}findAll(t={}){return this.getAll().filter(s=>(0,e.L)(t,s))}notify(t){i.f.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return i.f.batch(()=>Promise.all(t.map(t=>t.continue().catch(e.z))))}};function o(t){return t.options.scope?.id}var h=n,c=t.i(286491),l=class extends h.f{#d;constructor(t={}){super(),this.config=t,this.#d=new Map}build(t,s,i){let r=s.queryKey,n=s.queryHash??(0,e.J)(r,s),a=this.get(n);return a||(a=new c.X({client:t,queryKey:r,queryHash:n,options:t.defaultQueryOptions(s),state:i,defaultOptions:t.getQueryDefaults(r)}),this.add(a)),a}add(t){this.#d.has(t.queryHash)||(this.#d.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){this.#d.get(t.queryHash)===t&&(t.destroy(),this.#d.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){i.f.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#d.get(t)}getAll(){return[...this.#d.values()]}find(t){let s={exact:!0,...t};return this.getAll().find(t=>(0,e.N)(s,t))}findAll(t={}){let s=this.getAll();return Object.keys(t).length>0?s.filter(s=>(0,e.N)(t,s)):s}notify(t){i.f.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){i.f.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){i.f.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},d=class{#f;#p;#a;#y;#m;#v;#g;#b;constructor(t={}){this.#f=t.queryCache||new l,this.#p=t.mutationCache||new u,this.#a=t.defaultOptions||{},this.#y=new Map,this.#m=new Map,this.#v=0}mount(){this.#v++,1===this.#v&&(this.#g=s.f.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#f.onFocus())}),this.#b=r.f.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#f.onOnline())}))}unmount(){this.#v--,0===this.#v&&(this.#g?.(),this.#g=void 0,this.#b?.(),this.#b=void 0)}isFetching(t){return this.#f.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#p.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#f.get(e.queryHash)?.state.data}ensureQueryData(t){let s=this.defaultQueryOptions(t),i=this.#f.build(this,s),r=i.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime((0,e.S)(s.staleTime,i))&&this.prefetchQuery(s),Promise.resolve(r))}getQueriesData(t){return this.#f.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,s,i){let r=this.defaultQueryOptions({queryKey:t}),n=this.#f.get(r.queryHash)?.state.data,a=(0,e.b)(s,n);if(void 0!==a)return this.#f.build(this,r).setData(a,{...i,manual:!0})}setQueriesData(t,e,s){return i.f.batch(()=>this.#f.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#f.get(e.queryHash)?.state}removeQueries(t){let e=this.#f;i.f.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#f;return i.f.batch(()=>{let i=s.findAll(t),r=new Set(i);return i.forEach(t=>{t.reset()}),this.refetchQueries({type:"active",predicate:t=>r.has(t)},e)})}cancelQueries(t,s={}){let r={revert:!0,...s};return Promise.all(i.f.batch(()=>this.#f.findAll(t).map(t=>t.cancel(r)))).then(e.z).catch(e.z)}invalidateQueries(t,e={}){return i.f.batch(()=>(this.#f.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,s={}){let r={...s,cancelRefetch:s.cancelRefetch??!0};return Promise.all(i.f.batch(()=>this.#f.findAll(t).filter(t=>!t.isDisabled()&&!t.isStatic()).map(t=>{let s=t.fetch(void 0,r);return r.throwOnError||(s=s.catch(e.z)),"paused"===t.state.fetchStatus?Promise.resolve():s}))).then(e.z)}async query(t){let s=this.defaultQueryOptions(t);void 0===s.retry&&(s.retry=!1);let i=this.#f.build(this,s),r=i.isStaleByTime((0,e.S)(s.staleTime,i))?await i.fetch(s):i.state.data,n=s.select;return n?n(r):r}fetchQuery(t){let s=this.defaultQueryOptions(t);void 0===s.retry&&(s.retry=!1);let i=this.#f.build(this,s);return i.isStaleByTime((0,e.S)(s.staleTime,i))?i.fetch(s):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(e.z).catch(e.z)}infiniteQuery(t){return t._type="infinite",this.query(t)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(e.z).catch(e.z)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return r.f.isOnline()?this.#p.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#f}getMutationCache(){return this.#p}getDefaultOptions(){return this.#a}setDefaultOptions(t){this.#a=t}setQueryDefaults(t,s){this.#y.set((0,e.q)(t),{queryKey:t,defaultOptions:s})}getQueryDefaults(t){let s=[...this.#y.values()],i={};return s.forEach(s=>{(0,e.P)(t,s.queryKey)&&Object.assign(i,s.defaultOptions)}),i}setMutationDefaults(t,s){this.#m.set((0,e.q)(t),{mutationKey:t,defaultOptions:s})}getMutationDefaults(t){let s=[...this.#m.values()],i={};return s.forEach(s=>{(0,e.P)(t,s.mutationKey)&&Object.assign(i,s.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;let s={...this.#a.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return s.queryHash||(s.queryHash=(0,e.J)(s.queryKey,s)),void 0===s.refetchOnReconnect&&(s.refetchOnReconnect="always"!==s.networkMode),void 0===s.throwOnError&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===e.V&&(s.enabled=!1),s}defaultMutationOptions(t){return t?._defaulted?t:{...this.#a.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#f.clear(),this.#p.clear()}};t.s(["f",0,d],317751)},869230,t=>{var e=t.i(180166),s=t.i(619273),i=t.i(273911),r=t.i(915823),n=t.i(175555),a=t.i(540143),u=t.i(286491),o=class extends r.f{#r;#S=void 0;#O=void 0;#R=void 0;#C;#Q;#q;#w;#P;#I;#D;#E;#F;#T=new Set;constructor(t,e){super(),this.options=e,this.#r=t,this.#q=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#S.addObserver(this),h(this.#S,this.options)?this.#A():this.updateResult(),this.#U())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#S,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#S,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#M(),this.#x(),this.#S.removeObserver(this)}setOptions(t){let e=this.options,i=this.#S;if(this.options=this.#r.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,s.S)(this.options.enabled,this.#S))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#k(),this.#S.setOptions(this.options),e._defaulted&&!(0,s.U)(this.options,e)&&this.#r.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#S,observer:this});let r=this.hasListeners();r&&l(this.#S,i,this.options,e)&&this.#A(),this.updateResult(),r&&(this.#S!==i||(0,s.S)(this.options.enabled,this.#S)!==(0,s.S)(e.enabled,this.#S)||(0,s.S)(this.options.staleTime,this.#S)!==(0,s.S)(e.staleTime,this.#S))&&this.#K();let n=this.#H();r&&(this.#S!==i||(0,s.S)(this.options.enabled,this.#S)!==(0,s.S)(e.enabled,this.#S)||n!==this.#F)&&this.#z(n)}getOptimisticResult(t){let e=this.#r.getQueryCache().build(this.#r,t),i=this.createResult(e,t);return(0,s.U)(this.getCurrentResult(),i)||(this.#R=i,this.#Q=this.options,this.#C=this.#S.state),i}getCurrentResult(){return this.#R}trackResult(t,e){return new Proxy(t,{get:(t,s)=>(this.trackProp(s),e?.(s),Reflect.get(t,s))})}trackProp(t){this.#T.add(t)}getCurrentQuery(){return this.#S}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e,s=this.#r.defaultQueryOptions(t),i=this.#r.getQueryCache().build(this.#r,s),r=()=>{},n=new Promise(t=>{e=t,r=this.#r.getQueryCache().subscribe(e=>{"updated"===e.type&&e.query.queryHash===i.queryHash&&void 0!==i.state.data&&(r(),t(this.createResult(i,s)))})});return Promise.race([i.fetch().then(()=>{let t=this.createResult(i,s);return e?.(t),t}).finally(()=>{r()}),n])}fetch(t){return this.#A({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#R))}#A(t){this.#k();let e=this.#S.fetch(this.options,t);return t?.throwOnError||(e=e.catch(s.z)),e}#_(t){return!(0,i.f)()&&!1!==(0,s.S)(this.options.enabled,this.#S)&&(0,s.u)(t)}#K(){this.#M();let t=(0,s.S)(this.options.staleTime,this.#S);if(this.#R.isStale||!this.#_(t))return;let i=(0,s.C)(this.#R.dataUpdatedAt,t)+1;this.#D=e.U.setTimeout(()=>{this.#R.isStale||this.updateResult()},i)}#H(){return(0,s.S)(this.options.refetchInterval,this.#S)??!1}#z(t){this.#x(),this.#F=t,0!==this.#F&&this.#_(this.#F)&&(this.#E=e.U.setInterval(()=>{(this.options.refetchIntervalInBackground||n.f.isFocused())&&this.#A()},this.#F))}#U(){this.#K(),this.#z(this.#H())}#M(){void 0!==this.#D&&(e.U.clearTimeout(this.#D),this.#D=void 0)}#x(){void 0!==this.#E&&(e.U.clearInterval(this.#E),this.#E=void 0)}createResult(t,e){let i,r=this.#S,n=this.options,a=this.#R,o=this.#C,c=this.#Q,f=t!==r?t.state:this.#O,{state:p}=t,y={...p},m=!1;if(e._optimisticResults){let s=this.hasListeners(),i=!s&&h(t,e),a=s&&l(t,r,e,n);(i||a)&&(y={...y,...(0,u.W)(p.data,t.options)}),"isRestoring"===e._optimisticResults&&(y.fetchStatus="idle")}let{error:v,errorUpdatedAt:g,status:b}=y;i=y.data;let S=!1;if(void 0!==e.placeholderData&&void 0===i&&"pending"===b){let t;a?.isPlaceholderData&&e.placeholderData===c?.placeholderData?(t=a.data,S=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#I?.state.data,this.#I):e.placeholderData,void 0!==t&&(b="success",i=(0,s.M)(a?.data,t,e),m=!0)}if(e.select&&void 0!==i&&!S)if(a&&i===o?.data&&e.select===this.#w)i=this.#P;else try{this.#w=e.select,i=e.select(i),i=(0,s.M)(a?.data,i,e),this.#P=i,this.#q=null}catch(t){this.#q=t}else void 0===i&&(this.#q=null);this.#q&&(v=this.#q,i=this.#P,g=Date.now(),b="error",m=!1);let O="fetching"===y.fetchStatus,R="pending"===b,C="error"===b,Q=R&&O,q=void 0!==i;return{status:b,fetchStatus:y.fetchStatus,isPending:R,isSuccess:"success"===b,isError:C,isInitialLoading:Q,isLoading:Q,data:i,dataUpdatedAt:y.dataUpdatedAt,error:v,errorUpdatedAt:g,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:y.dataUpdateCount>f.dataUpdateCount||y.errorUpdateCount>f.errorUpdateCount,isFetching:O,isRefetching:O&&!R,isLoadingError:C&&!q,isPaused:"paused"===y.fetchStatus,isPlaceholderData:m,isRefetchError:C&&q,isStale:d(t,e),refetch:this.refetch,isEnabled:!1!==(0,s.S)(e.enabled,t)}}updateResult(){let t=this.#R,e=this.createResult(this.#S,this.options);if(this.#C=this.#S.state,this.#Q=this.options,void 0!==this.#C.data&&(this.#I=this.#S),(0,s.U)(e,t))return;this.#R=e;let i=(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,s="function"==typeof e?e():e;if("all"===s||!s&&!this.#T.size)return!0;let i=new Set(s??this.#T);return this.options.throwOnError&&i.add("error"),Object.keys(this.#R).some(e=>this.#R[e]!==t[e]&&i.has(e))})();a.f.batch(()=>{i&&this.listeners.forEach(t=>{t(this.#R)}),this.#r.getQueryCache().notify({query:this.#S,type:"observerResultsUpdated"})})}#k(){let t=this.#r.getQueryCache().build(this.#r,this.options);if(t===this.#S)return;let e=this.#S;this.#S=t,this.#O=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#U()}};function h(t,e){return!1!==(0,s.S)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==(0,s.S)(e.retryOnMount,t))||void 0!==t.state.data&&c(t,e,e.refetchOnMount)}function c(t,e,i){if(!1!==(0,s.S)(e.enabled,t)&&"static"!==(0,s.S)(e.staleTime,t)){let r=(0,s.S)(i,t);return"always"===r||!1!==r&&d(t,e)}return!1}function l(t,e,i,r){return(t!==e||!1===(0,s.S)(r.enabled,t))&&(!i.suspense||"error"!==t.state.status)&&d(t,i)}function d(t,e){return!1!==(0,s.S)(e.enabled,t)&&t.isStaleByTime((0,s.S)(e.staleTime,t))}t.s(["f",0,o])},381384,673664,427001,254440,t=>{let e;var s=t.i(271645);let i=s.createContext(!1);i.Provider,t.s(["f",0,()=>s.useContext(i)],381384),t.i(843476);let r=s.createContext((e=!1,{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}));t.s(["f",0,()=>s.useContext(r)],673664);var n=t.i(619273);t.s(["l",0,(t,e,s)=>{let i=s?.state.error&&"function"==typeof t.throwOnError?(0,n.Z)(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||i)&&!e.isReset()&&(t.retryOnMount=!1)},"P",0,({result:t,errorResetBoundary:e,throwOnError:s,query:i,suspense:r})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(r&&void 0===t.data||(0,n.Z)(s,[t.error,i])),"E",0,t=>{s.useEffect(()=>{t.clearReset()},[t])}],427001),t.s(["p",0,t=>{if(t.suspense){let e=t=>"static"===t?t:Math.max(t??1e3,1e3),s=t.staleTime;t.staleTime="function"==typeof s?(...t)=>e(s(...t)):e(s),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3))}},"X",0,(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()}),"Q",0,(t,e)=>t?.suspense&&e.isPending],254440)},469637,t=>{t.i(247167);var e=t.i(912598),s=t.i(381384),i=t.i(673664),r=t.i(427001),n=t.i(254440),a=t.i(271645),u=t.i(619273),o=t.i(540143);t.s(["f",0,function(t,h,c){let l=(0,s.f)(),d=(0,i.f)(),f=(0,e.d)(c),p=f.defaultQueryOptions(t),y=f.getQueryCache().get(p.queryHash),m=!1!==t.subscribed;p._optimisticResults=l?"isRestoring":m?"optimistic":void 0,(0,n.p)(p),(0,r.l)(p,d,y),(0,r.E)(d);let[v]=a.useState(()=>new h(f,p)),g=v.getOptimisticResult(p),b=!l&&m;if(a.useSyncExternalStore(a.useCallback(t=>{let e=b?v.subscribe(o.f.batchCalls(t)):u.z;return v.updateResult(),e},[v,b]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),a.useEffect(()=>{v.setOptions(p)},[p,v]),(0,n.Q)(p,g))throw(0,n.X)(p,v,d);if((0,r.P)({result:g,errorResetBoundary:d,throwOnError:p.throwOnError,query:y,suspense:p.suspense}))throw g.error;return p.notifyOnChangeProps?g:v.trackResult(g)}])},266027,t=>{var e=t.i(469637),s=t.i(869230);t.s(["f",0,function(t,i){return(0,e.f)(t,s.f,i)}])},814387,t=>{var e=t.i(456420);let s={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};s.node;let i=(0,e.f)(s);t.s(["f",0,i])},560964,t=>{var e=t.i(814387);t.s(["f",()=>e.f])},46929,t=>{function e(t){if("object"!=typeof t||null===t||!("data"in t))return;let{data:e}=t;return"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e)):void 0}t.s(["K",0,function(t){return e(t)?.refusal==="SIGNED_IN_ELSEWHERE"},"v",0,function(t){let s=e(t)?.refusal;return"string"==typeof s?s:void 0},"O",0,function(t){let s=e(t)?.retryAt;if("string"!=typeof s)return;let i=new Date(s);return Number.isNaN(i.getTime())?void 0:i},"N",0,function(t){let s=e(t)?.code;return"string"==typeof s?s:void 0}])},123938,t=>{var e=t.i(271645);let s=(0,e.createContext)(void 0),i={reopen:()=>void 0,isReopening:()=>!1,subscribe:()=>()=>void 0};function r(){return(0,e.useContext)(s)??i}t.s(["t",0,s,"M",0,function(t){let e=!1,s=new Set,i=()=>{for(let t of s)t()};return{reopen:()=>{e=!0,i(),t.close()},opened:()=>{e&&(e=!1,i())},isReopening:()=>e,subscribe:t=>(s.add(t),()=>{s.delete(t)})}},"h",0,function(){let t=r();return(0,e.useSyncExternalStore)(t.subscribe,t.isReopening,()=>!1)},"N",0,r])},678485,364692,t=>{var e=t.i(954616),s=t.i(266027),i=t.i(618566),r=t.i(271645),n=t.i(46929);function a(t){return`/sign-in?${new URLSearchParams({notice:"ended",returnTo:t}).toString()}`}t.s(["I",0,"/sign-in/enter?returnTo=%2F","K",0,"/sign-in/nothing-to-manage","g",0,"/sign-in/no-rights","V",0,a],364692);var u=t.i(427702);let o=(0,r.createContext)(void 0);function h(){let t=(0,i.useRouter)(),e=(0,r.useContext)(o);if(void 0===e)throw Error("useWayOut runs inside the root layout, which provides the way out");return{...e,leave:s=>{e.leave(()=>{s.startsWith("/")?t.replace(s):window.location.assign(s)})}}}t.s(["X",0,o,"n",0,function(t){let e=h(),i=(0,u.I)(),o=(0,s.f)(i.console.session.queryOptions()).data?.kind==="account",c=t.find(t=>"UNAUTHORIZED"===(0,n.N)(t)),l=void 0===c?void 0:function(t,{isAccount:e}){return e?a(`${window.location.pathname}${window.location.search}`):(0,n.K)(t)?"/sign-in?notice=signed-in-elsewhere":"/sign-in"}(c,{isAccount:o}),d=(0,r.useEffectEvent)(t=>{e.leave(t)});(0,r.useEffect)(()=>{void 0!==l&&d(l)},[l])},"P",0,function(){let t=(0,u.I)(),s=h(),i=(0,e.f)(t.console.signOut.mutationOptions({networkMode:"always"}));return{signOut:(t,e)=>{s.holdCalls(),i.mutate(void 0,{onSuccess:()=>{s.leave(t)},onError:()=>{s.letCallsGo(),e()}})},isSigningOut:i.isPending}},"V",0,h,"s",0,function(t){let e=(0,i.usePathname)();(0,r.useLayoutEffect)(()=>()=>{t.pageGoes()},[t,e])}],678485)}],618566,(t,e,s)=>{e.exports=t.r(976562)}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,876561,e=>{var t=e.i(456420);let n={name:"archive",size:24,node:[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],876561)},847211,e=>{var t=e.i(456420);let n={name:"ban",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],847211)},271567,e=>{var t=e.i(456420);let n={name:"bot",size:24,node:[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],271567)},152886,e=>{var t=e.i(456420);let n={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],152886)},559092,e=>{var t=e.i(456420);let n={name:"circle-dot",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],559092)},119002,892870,e=>{var t=e.i(456420);let n={name:"circle-pause",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],aliases:["pause-circle"]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],119002);let i={name:"user-check",size:24,node:[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]};i.node;let l=(0,t.f)(i);e.s(["f",0,l],892870)},821048,e=>{var t=e.i(456420);let n={name:"circle-slash",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],821048)},316984,e=>{var t=e.i(456420);let n={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],316984)},474544,e=>{var t=e.i(456420);let n={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],474544)},671028,e=>{var t=e.i(456420);let n={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],671028)},787703,e=>{var t=e.i(456420);let n={name:"git-pull-request",size:24,node:[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],787703)},981658,e=>{var t=e.i(456420);let n={name:"hourglass",size:24,node:[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],981658)},124007,e=>{var t=e.i(456420);let n={name:"link",size:24,node:[["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"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],124007)},806537,e=>{var t=e.i(456420);let n={name:"lock",size:24,node:[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],806537)},96315,e=>{var t=e.i(456420);let n={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],96315)},911147,e=>{var t=e.i(456420);let n={name:"octagon-pause",size:24,node:[["path",{d:"M10 15V9",key:"1lckn7"}],["path",{d:"M14 15V9",key:"1muqhk"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}]],aliases:["pause-octagon"]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],911147)},457665,e=>{var t=e.i(456420);let n={name:"power",size:24,node:[["path",{d:"M12 2v10",key:"mnfbl"}],["path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04",key:"obofu9"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],457665)},841220,e=>{var t=e.i(456420);let n={name:"server",size:24,node:[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],841220)},383035,e=>{var t=e.i(456420);let n={name:"square-terminal",size:24,node:[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],aliases:["terminal-square"]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],383035)},466787,e=>{var t=e.i(456420);let n={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};n.node;let a=(0,t.f)(n);e.s(["f",0,a],466787)},781830,e=>{var t=e.i(843476),n=e.i(559092),a=e.i(235056),i=e.i(787703),l=e.i(124007),r=e.i(96315),o=e.i(812437),d=e.i(999808),s=e.i(849635),c=e.i(793361),f=e.i(805236);let h={pullRequest:i.f,issue:n.f,link:l.f,message:r.f,unknown:a.f};function u({report:e,now:n,viewerFleetId:a,isTimeInTitle:i,testId:l}){let r=new Date(e.reportedAt),o=i?`${(0,c.O)(e)} \xb7 ${(0,c.c)(new Date(e.reportChangedAt),n)} \xb7 ${(0,c.b)(r,n)}`:(0,c.O)(e);return(0,t.jsxs)("span",{"data-testid":l,"data-state":e.state,title:o,className:"flex min-w-0 items-center gap-1.5 text-meta",children:[(0,t.jsx)(d.W,{state:e.state,className:"shrink-0"}),null===e.task?null:(0,t.jsx)(y,{task:{...e.task,canOpen:e.taskView?.canOpen===!0,fleetName:e.taskView?.fleetName??null},viewerFleetId:a,testId:`${l}-task`}),null===e.step?null:(0,t.jsx)(m,{text:(0,f.w)(e.step,"row"),testId:`${l}-step`}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note}),i?null:(0,t.jsx)("time",{dateTime:e.reportedAt,title:(0,s.o)(r),className:"shrink-0 text-muted-foreground tabular-nums",children:(0,c.R)(r,n)})]})}function p({report:e,now:n,viewerFleetId:a,testId:i}){let l=new Date(e.reportChangedAt);return(0,t.jsxs)("span",{"data-testid":i,"data-state":e.state,title:(0,c.O)(e),className:"flex min-w-0 flex-col gap-0.5 text-body",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)(d.W,{state:e.state,className:"shrink-0"}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note})]}),null===e.task&&null===e.step?null:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[null===e.task?null:(0,t.jsx)(y,{task:{...e.task,canOpen:e.taskView?.canOpen===!0,fleetName:e.taskView?.fleetName??null},viewerFleetId:a,testId:`${i}-task`}),null===e.step?null:(0,t.jsx)(m,{text:(0,f.w)(e.step,"full"),testId:`${i}-step`})]}),(0,t.jsx)("time",{dateTime:e.reportChangedAt,title:`${(0,s.o)(l)} \xb7 ${(0,c.b)(new Date(e.reportedAt),n)}`,"data-testid":`${i}-changed`,className:"text-meta text-muted-foreground tabular-nums",children:(0,c.c)(l,n)})]})}function y({task:e,viewerFleetId:n,testId:a}){let{icon:i,label:l,title:r,href:d}=(0,f.X)(e,n),s=h[i],c=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:l})]}),u="inline-flex min-w-0 max-w-48 shrink-0 items-center gap-1 font-mono text-meta";return null===d?(0,t.jsx)("span",{"data-testid":a,title:r,className:(0,o.f)(u,"text-muted-foreground"),children:c}):(0,t.jsx)("a",{"data-testid":a,href:d,target:"url"===e.kind?"_blank":void 0,rel:"noreferrer",title:r,className:(0,o.f)(u,"text-foreground underline underline-offset-2 focus-visible:outline-2 focus-visible:outline-ring"),children:c})}function m({text:e,testId:n}){return(0,t.jsx)("span",{"data-testid":n,className:"shrink-0 whitespace-nowrap text-meta text-muted-foreground tabular-nums",children:e})}e.s(["f",0,function({report:e,now:n,variant:a,viewerFleetId:i,isTimeInTitle:l=!1,testId:r}){return null===e?(0,t.jsx)("span",{"data-testid":r,"data-state":"none",className:(0,o.f)("flex min-w-0 items-center gap-1.5 text-muted-foreground","full"===a?"text-body":"text-meta"),children:"No report yet"}):"full"===a?(0,t.jsx)(p,{report:e,now:n,viewerFleetId:i,testId:r}):(0,t.jsx)(u,{report:e,now:n,viewerFleetId:i,isTimeInTitle:l,testId:r})}])},566297,e=>{var t=e.i(843476),n=e.i(271645),a=e.i(917540),i=e.i(826808),l=e.i(448695),r=e.i(681924),o=e.i(368066),d=e.i(348184);function s({memberName:e,replacedText:n,isOpen:a,onOpenChange:i,onConfirm:l}){return(0,t.jsx)(o.AlertDialog,{open:a,onOpenChange:i,children:(0,t.jsxs)(o.AlertDialogContent,{"data-testid":"new-crew-line-confirm",className:d.f.phoneSheet,children:[(0,t.jsxs)(o.AlertDialogHeader,{children:[(0,t.jsxs)(o.AlertDialogTitle,{children:["Get a new crew line for ",e,"?"]}),(0,t.jsx)(o.AlertDialogDescription,{children:n??"Its new secret is shown once, with its launch note."})]}),(0,t.jsxs)(o.AlertDialogFooter,{children:[(0,t.jsx)(o.AlertDialogClose,{render:(0,t.jsx)(r.f,{}),children:"Cancel"}),(0,t.jsx)(r.f,{variant:"primary","data-testid":"new-crew-line-confirm-submit",onClick:l,children:"Get new crew line"})]})]})})}let c=(0,a.f)(()=>e.A(733971).then(e=>e.CrewLineDialog),e=>e.isOpen);function f(e){let a=(0,l.c)(),[r,o]=(0,n.useState)(!1),[d,f]=(0,n.useState)(!1),[h,u]=(0,n.useState)(void 0),p=()=>{e&&a.mutate({squadronId:e.squadronId,shipId:e.member.shipId})},y=a.data?"shown":a.isError?"error":"issuing";return{isReady:e?.ship!==void 0,start:()=>{e?.ship&&(a.reset(),u((0,i.$)(e.ship)),f(!0))},dialog:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{memberName:e.member.name,replacedText:h,isOpen:d,onOpenChange:f,onConfirm:()=>{f(!1),o(!0),p()}}),(0,t.jsx)(c,{memberName:e.member.name,state:y,template:e.template,launchNote:a.data?.launchNote,model:a.data?.model,crewLines:a.data?.crewLines,error:a.error?.message,isOpen:r,onOpenChange:e=>{o(e),e||a.reset()},onConfirm:p})]}):null}}e.s(["a",0,function({isPrimary:e=!1,testId:n,...a}){let i=f(a);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.f,{size:"xs",variant:e?"primary":"secondary",disabled:!i.isReady,"data-testid":n,onClick:i.start,children:"Get new crew line"}),i.dialog]})},"R",0,function({of:e,children:t}){return t(f(e))},"v",0,f],566297)},127361,e=>{let t={DEVICE:"Device",CLOUD:"Cloud",SERVER:"Server",OTHER:"Other"};e.s(["f",0,function(e){return t[e]}])},793361,805236,e=>{var t=e.i(849635);let n={working:"Working",blocked:"Blocked",idle:"Idle"};e.s(["W",0,n,"m",0,{working:"active",blocked:"waiting",idle:"ended"},"R",0,function(e,n){let a=Math.max(0,n.getTime()-e.getTime());return a<6e4?`${String(Math.floor(a/1e3))} s`:a<36e5?`${String(Math.floor(a/6e4))} min`:a<864e5?`${String(Math.floor(a/36e5))} h`:(0,t.W)(e,n)},"c",0,function(e,n){let a=(0,t.W)(e,n);return`changed ${"Just now"===a?"just now":a}`},"e",0,function(e){return JSON.stringify(e,null,2)},"t",0,function(e){return`JSON \xb7 ${String(e)} bytes`},"O",0,function(e){let t=n[e.state];return null===e.note?t:`${t}: ${e.note}`},"b",0,function(e,n){let a=(0,t.W)(e,n);return`reported ${"Just now"===a?"just now":a}`}],793361);let a=/^\/[^/]+\/[^/]+\/(pull|issues)\/(\d+)\/?$/;e.s(["w",0,function(e,t){return"row"===t?`${String(e.at)}/${String(e.of)}`:`step ${String(e.at)} of ${String(e.of)}`},"X",0,function(e,t){let{url:n,fleetId:i,messageId:l}=e;if("url"===e.kind&&"string"==typeof n&&URL.canParse(n))return function(e){let{host:t,pathname:n}=new URL(e),i="github.com"===t?a.exec(n):null;return i?.[1]==="pull"?{icon:"pullRequest",label:`PR #${i[2]??""}`,title:e,href:e}:i?.[1]==="issues"?{icon:"issue",label:`#${i[2]??""}`,title:e,href:e}:{icon:"link",label:`${t}${n.replace(/\/$/,"")}`,title:e,href:e}}(n);if("message"===e.kind&&"string"==typeof i&&"string"==typeof l){var r;let n,a=`${i} \xb7 ${l}`,o=i===t?"a message":`a message in ${"string"==typeof e.fleetName?e.fleetName:(n=(r=i).indexOf("_")+1+6,r.length<=n+4+1?r:`${r.slice(0,n)}…${r.slice(-4)}`)}`,d=`/messages/${l}`;return{icon:"message",label:o,title:a,href:!0!==e.canOpen||void 0===t?null:i===t?d:`/sign-in/enter?fleet=${i}&returnTo=${encodeURIComponent(d)}`}}return{icon:"unknown",label:"a task of unknown type",title:`kind: ${e.kind}`,href:null}}],805236)},890135,e=>{e.s(["D",0,"argo","z",0,function(e){return e.charAt(0).toUpperCase()+e.slice(1)},"v",0,function(e,t){return`${String(e)} ${1===e?t.one:t.many}`},"X",0,function(e){return{kind:"ship",party:e}},"n",0,function(e){return{kind:"text",text:e}}])},743006,e=>{var t=e.i(266027),n=e.i(427702);e.s(["f",0,function(){let e=(0,n.I)();return(0,t.f)(e.console.session.queryOptions()).data?.fleetId}])},826808,e=>{var t=e.i(890135);let n={one:"delivery",many:"deliveries"};function a(e){if(0===e)return"Nothing is in flight, so no delivery moves.";let n=1===e?"returns":"return";return`${(0,t.v)(e,{one:"in-flight delivery",many:"in-flight deliveries"})} ${n} to pending. Nothing is lost.`}e.s(["j",0,function(e){return`${(0,t.v)(e,n)} will be abandoned`},"R",0,a,"b",0,function(e,t){return t===e},"$",0,function(e){if("crewed"===e.status){let t=null===e.location?"the session crewing it":`the session on ${e.location.description??e.location.kind.toLowerCase()}`;return`This ends ${t}. ${a(e.inFlightDeliveries)}`}if(null!==e.startingPrompt&&!e.startingPrompt.isClaimed)return"The crew line issued earlier, not claimed yet, stops working."},"v",0,function(e){return 0===e?"Retire ship":`Retire and abandon ${(0,t.v)(e,n)}`}])},853573,e=>{var t=e.i(970597),n=e.i(619273),a=e.i(621482),i=e.i(586448),l=e.i(266027),r=e.i(905387),o=e.i(731877),d=e.i(427702);e.s(["v",0,function(e){let t=(0,d.I)();return(0,l.f)(t.fleet.message.queryOptions(void 0===e?n.V:{messageId:e},{refetchInterval:r.L}))},"d",0,function(e){let t=(0,d.I)();return(0,o.d)((0,a.f)(t.fleet.messageDeliveries.infiniteQueryOptions(void 0===e?n.V:{messageId:e,limit:o.q},{getNextPageParam:o.J,refetchInterval:r.L})))},"u",0,function(e){let a=(0,d.I)();return(0,l.f)(a.fleet.ship.queryOptions(void 0===e?n.V:{shipId:e},{refetchInterval:r.L,select:e=>(0,t.f)(e)?e:null}))},"e",0,function(e){let t=(0,d.I)();return(0,o.d)((0,a.f)(t.fleet.shipMessages.infiniteQueryOptions({shipId:e,limit:o.q},{getNextPageParam:o.J})))},"l",0,function(e){let t=(0,d.I)();return(0,o.d)((0,a.f)(t.fleet.shipTimeline.infiniteQueryOptions({shipId:e,limit:o.q},{getNextPageParam:o.J})))},"j",0,function(e){let t=(0,d.I)();return(0,l.f)(t.fleet.shipWay.queryOptions({shipId:e},{refetchInterval:r.L}))},"J",0,function(e){let n=(0,d.I)(),a=(0,i.f)({queries:e.map(e=>n.fleet.ship.queryOptions({shipId:e},{refetchInterval:r.L}))}),l=new Map;for(let e of a)e.data&&(0,t.f)(e.data)&&l.set(e.data.id,e.data);return l}])},368066,e=>{var t=e.i(843476),n=e.i(366250),a=e.i(581239),i=e.i(156736),l=e.i(209793),r=e.i(784324),o=e.i(264951),d=e.i(77173);let s=e.i(313488).f;e.s(["Backdrop",()=>a.f,"Close",()=>i.f,"Description",()=>l.f,"Popup",()=>r.f,"Portal",()=>o.f,"Root",0,function(e){return(0,n.f)("alert-dialog",e)},"Title",()=>d.f,"Trigger",0,s],734604);var c=e.i(734604),c=c,f=c,h=c,u=c,p=c,y=c,m=c,k=e.i(812437),g=e.i(348184);e.s(["AlertDialog",0,function(e){return(0,t.jsx)(c.Root,{"data-slot":"alert-dialog",...e})},"AlertDialogClose",0,function(e){return(0,t.jsx)(f.Close,{"data-slot":"alert-dialog-close",...e})},"AlertDialogContent",0,function({className:e,size:n,children:a,...i}){return(0,t.jsxs)(h.Portal,{children:[(0,t.jsx)(u.Backdrop,{"data-slot":"alert-dialog-overlay",className:g.f.overlay}),(0,t.jsx)(p.Popup,{"data-slot":"alert-dialog-content",className:(0,k.f)(g.f.popup({size:n}),e),...i,children:a})]})},"AlertDialogDescription",0,function({className:e,...n}){return(0,t.jsx)(m.Description,{"data-slot":"alert-dialog-description",className:(0,k.f)(g.f.description,e),...n})},"AlertDialogFooter",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,k.f)(g.f.footer,e),...n})},"AlertDialogHeader",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,k.f)(g.f.header,e),...n})},"AlertDialogTitle",0,function({className:e,...n}){return(0,t.jsx)(y.Title,{"data-slot":"alert-dialog-title",className:(0,k.f)(g.f.title,e),...n})}],368066)},999808,e=>{var t=e.i(843476),n=e.i(779432),a=e.i(876561),i=e.i(152886),l=e.i(119002),r=e.i(911147),o=e.i(466787),d=e.i(892870),s=e.i(812437);let c={alert:{word:"Alert",Icon:o.f,tone:"attention"},awaitingCrew:{word:"Awaiting crew",Icon:i.f,tone:"waiting"},blocked:{word:"Blocked",Icon:r.f,tone:"blocked"},working:{word:"Working",Icon:n.f,tone:"active"},idle:{word:"Idle",Icon:l.f,tone:null},crewed:{word:"Crewed",Icon:d.f,tone:"ok"},retired:{word:"Retired",Icon:a.f,tone:"ended"}},f={attention:"text-tone-attention-fg",waiting:"text-tone-waiting-fg",blocked:"text-tone-blocked-fg",active:"text-tone-active-fg",ok:"text-tone-ok-fg",ended:"text-tone-ended-fg",none:"text-muted-foreground"},h={meta:"text-meta",caption:"text-caption leading-4.25"};e.s(["W",0,function({state:e,isBadge:n=!1,size:a="meta",className:i}){let{word:l,Icon:r,tone:o}=c[e],d=o??"none";return(0,t.jsxs)("span",{"data-testid":"ship-state","data-tone":d,className:(0,s.f)("inline-flex items-center gap-1.25 font-medium",f[d],n?(0,s.f)("rounded-full border border-tone-attention-border bg-tone-attention-bg px-2 py-px",h.caption):h[a],i),children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"size-3.5 shrink-0"}),l]})},"b",0,function(e){return c[e].word}])},33479,749655,987255,106501,25799,395925,e=>{var t=e.i(843476),n=e.i(456420);let a={name:"alarm-clock",size:24,node:[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]]};a.node;let i=(0,n.f)(a);e.s(["f",0,i],749655);let l={name:"anchor",size:24,node:[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]]};l.node;let r=(0,n.f)(l);e.s(["f",0,r],987255);var o=e.i(876561),d=e.i(847211);let s={name:"calendar-check",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]};s.node;let c=(0,n.f)(s),f={name:"calendar-clock",size:24,node:[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v3",key:"otl347"}],["path",{d:"M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338",key:"7hb8p4"}],["path",{d:"M3 9h5.859",key:"numkqi"}],["path",{d:"M8 2v3",key:"1ioesn"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]};f.node;let h=(0,n.f)(f);e.s(["f",0,h],106501);let u={name:"calendar-x",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m14 13-4 4",key:"1gib57"}],["path",{d:"m10 13 4 4",key:"153uiq"}]]};u.node;let p=(0,n.f)(u);var y=e.i(422768);let m={name:"circle-arrow-right",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m12 16 4-4-4-4",key:"1i9zcv"}],["path",{d:"M8 12h8",key:"1wcyev"}]],aliases:["arrow-right-circle"]};m.node;let k=(0,n.f)(m),g={name:"circle-check-big",size:24,node:[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aliases:["check-circle"]};g.node;let x=(0,n.f)(g);var v=e.i(119002);let b={name:"circle-play",size:24,node:[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],aliases:["play-circle"]};b.node;let w=(0,n.f)(b);var I=e.i(821048),M=e.i(474544),j=e.i(285595),z=e.i(152886);let N={name:"circle-dot-dashed",size:24,node:[["path",{d:"M10.1 2.18a9.93 9.93 0 0 1 3.8 0",key:"1qdqn0"}],["path",{d:"M17.6 3.71a9.95 9.95 0 0 1 2.69 2.7",key:"1bq7p6"}],["path",{d:"M21.82 10.1a9.93 9.93 0 0 1 0 3.8",key:"1rlaqf"}],["path",{d:"M20.29 17.6a9.95 9.95 0 0 1-2.7 2.69",key:"1xk03u"}],["path",{d:"M13.9 21.82a9.94 9.94 0 0 1-3.8 0",key:"l7re25"}],["path",{d:"M6.4 20.29a9.95 9.95 0 0 1-2.69-2.7",key:"1v18p6"}],["path",{d:"M2.18 13.9a9.93 9.93 0 0 1 0-3.8",key:"xdo6bj"}],["path",{d:"M3.71 6.4a9.95 9.95 0 0 1 2.7-2.69",key:"1jjmaz"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]};N.node;let $=(0,n.f)(N),q={name:"circle-minus",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],aliases:["minus-circle"]};q.node;let A=(0,n.f)(q);var C=e.i(316984);let O={name:"flag-off",size:24,node:[["path",{d:"M16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1q158e"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M4 22V4",key:"1plyxx"}],["path",{d:"M7.656 2H8c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10.347",key:"xj1b71"}]]};O.node;let D=(0,n.f)(O);var R=e.i(671028),S=e.i(981658),T=e.i(444594),V=e.i(611568),P=e.i(806537);let L={name:"mail-check",size:24,node:[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]};L.node;let H=(0,n.f)(L);e.s(["f",0,H],25799);let F={name:"octagon-alert",size:24,node:[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]],aliases:["alert-octagon"]};F.node;let W=(0,n.f)(F);var J=e.i(457665);let U={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]};U.node;let B=(0,n.f)(U);e.s(["f",0,B],395925);let E={name:"sailboat",size:24,node:[["path",{d:"M10 2v15",key:"1qf71f"}],["path",{d:"M7 22a4 4 0 0 1-4-4 1 1 0 0 1 1-1h16a1 1 0 0 1 1 1 4 4 0 0 1-4 4z",key:"1pxcvx"}],["path",{d:"M9.159 2.46a1 1 0 0 1 1.521-.193l9.977 8.98A1 1 0 0 1 20 13H4a1 1 0 0 1-.824-1.567z",key:"5oog16"}]]};E.node;let G=(0,n.f)(E);var Q=e.i(466787),X=e.i(892870);let K={name:"user-round-search",size:24,node:[["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.9-1.9",key:"1e5ubv"}]]};K.node;let _=(0,n.f)(K);var Y=e.i(705918),Z=e.i(812437);let ee={waiting:"border-transparent bg-transparent px-0.5 text-tone-waiting-fg",active:"border-transparent bg-transparent px-0.5 text-tone-active-fg",ok:"border-transparent bg-transparent px-0.5 text-tone-ok-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg",ended:"border-transparent bg-transparent px-0.5 text-tone-ended-fg"},et={awaitingCrew:{tone:"waiting",Icon:z.f,label:"Awaiting crew"},crewed:{tone:"ok",Icon:X.f,label:"Crewed"},retired:{tone:"ended",Icon:o.f,label:"Retired"},pending:{tone:"waiting",Icon:S.f,label:"Pending"},received:{tone:"active",Icon:T.f,label:"Received"},handed:{tone:"active",Icon:k,label:"Handed (pulled)"},handedPushed:{tone:"active",Icon:k,label:"Handed"},overdue:{tone:"attention",Icon:i,label:"Overdue"},acknowledged:{tone:"ok",Icon:j.f,label:"Acknowledged"},handled:{tone:"ok",Icon:x,label:"Handled"},notHandled:{tone:"attention",Icon:y.f,label:"Not handled"},undeliverable:{tone:"attention",Icon:C.f,label:"Undeliverable"},dismissed:{tone:"ended",Icon:A,label:"Dismissed"},abandoned:{tone:"ended",Icon:d.f,label:"Abandoned"},forming:{tone:"waiting",Icon:$,label:"Forming"},sailing:{tone:"ok",Icon:G,label:"Sailing"},"standing-down":{tone:"active",Icon:r,label:"Standing down"},disbanded:{tone:"ended",Icon:D,label:"Disbanded"},"at-limit":{tone:"waiting",Icon:R.f,label:"At limit"},"over-limit":{tone:"attention",Icon:Q.f,label:"Over limit"},needsCrew:{tone:"waiting",Icon:M.f,label:"Needs crew"},crewedByHand:{tone:"ok",Icon:X.f,label:"Crewed by hand"},crewing:{tone:"active",Icon:V.f,label:"Crewing"},running:{tone:"ok",Icon:w,label:"Running"},restarting:{tone:"waiting",Icon:B,label:"Restarting"},crashed:{tone:"attention",Icon:C.f,label:"Crashed"},releasing:{tone:"active",Icon:J.f,label:"Releasing"},stuck:{tone:"attention",Icon:W,label:"Stuck"},delivering:{tone:"ok",Icon:H,label:"Delivering"},noShipCanTake:{tone:"attention",Icon:I.f,label:"No ship can take"},waitingForCrew:{tone:"waiting",Icon:_,label:"Waiting for crew"},stalledInFlight:{tone:"waiting",Icon:v.f,label:"Stalled in flight"},active:{tone:"ok",Icon:h,label:"Active"},paused:{tone:"waiting",Icon:v.f,label:"Paused"},ended:{tone:"ended",Icon:c,label:"Ended"},cancelled:{tone:"ended",Icon:p,label:"Cancelled"},sealing:{tone:"active",Icon:P.f,label:"Sealing"},sealed:{tone:"ok",Icon:P.f,label:"Sealed"},reachable:{tone:"ok",Icon:j.f,label:"Reachable"},notReachable:{tone:"attention",Icon:y.f,label:"Not reachable"},alert:{tone:"attention",Icon:Q.f,label:"Alert"}};e.s(["T",0,function({status:e,className:n}){let{tone:a,Icon:i,label:l}=et[e];return(0,t.jsxs)(Y.f,{variant:"outline","data-slot":"status-badge","data-status":e,className:(0,Z.f)(ee[a],"abandoned"===e?"border-dashed border-tone-ended-border px-1.5":void 0,n),children:[(0,t.jsx)(i,{"aria-hidden":!0}),l]})},"g",0,function(e){return et[e].label}],33479)}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,405934,370359,e=>{var t=e.i(271645),n=e.i(956789),r=e.i(53687),i=e.i(590803),a=e.i(667865),l=e.i(828918),o=e.i(146376),s=e.i(673327),u=e.i(621082);let d="data-composite-item-active";e.s(["f",0,d],370359);var c=e.i(584446),f=e.i(838452),v=e.i(552245),m=e.i(872855),h=e.i(843476);e.s(["f",0,function(e){let{render:x,className:b,style:p,refs:g=n.v,props:y=n.v,state:C=n.w,stateAttributesMapping:w,highlightedIndex:k,onHighlightedIndexChange:j,orientation:R,grid:M,loopFocus:T,onLoop:A,enableHomeAndEndKeys:z,onMapChange:S,stopEventPropagation:N=!0,rootRef:E,disabledIndices:I,modifierKeys:$,highlightItemOnHover:D=!1,tag:V="div",...L}=e,{props:K,highlightedIndex:P,onHighlightedIndexChange:H,elementsRef:O,onMapChange:F,relayKeyboardEvent:B}=function(e){let{loopFocus:r=!0,orientation:f="both",grid:v,onLoop:m,direction:h,highlightedIndex:x,onHighlightedIndexChange:b,rootRef:p,enableHomeAndEndKeys:g=!1,stopEventPropagation:y,disabledIndices:C,modifierKeys:w=n.v}=e,[k,j]=t.useState(0),R=null!=v,M=t.useRef(null),T=(0,l.A)(M,p),A=t.useRef([]),z=t.useRef(!1),S=t.useRef(null),N=x??k,E=(0,a.f)((e,t=!1)=>{if(S.current=A.current[e]??null,(b??j)(e),t){let t=A.current[e];(0,s.l)(M.current,t,h,f)}}),I=(0,a.f)(e=>{if(0===e.size)return;if(z.current){let e=A.current,t=e.indexOf(S.current);if(-1===t){let t=e[N];!t||(0,u.K)(e,N,C)?E(function(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(!(!i||(0,u.K)(e,r,t))){if(i.hasAttribute(d))return r;-1===n&&(n=r)}}return Math.max(n,0)}(e,C)):S.current=t}else t!==N&&E(t);return}z.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(d))??null,r=n?e.get(n)?.index??-1:-1;if(-1!==r)E(r);else if((0,u.K)(t,N,C)){let e=(0,u.e)(t,{disabledIndices:C});(0,u.c)(t,e)||E(e)}(0,s.l)(M.current,n,h,f)});(0,o.f)(()=>{if(null==C||null!=x||!z.current)return;let e=A.current;if((0,u.K)(e,N,C)){let t=(0,u.e)(e,{disabledIndices:C});(0,u.c)(e,t)||E(t)}},[C,x,N,A,E]);let $=(0,a.f)((e,t,n)=>m?m(e,t,n,A):n),D=(0,a.f)(e=>{let t=e.key===s.Z||e.key===s.C;if(!s.J.has(e.key)||!g&&t||function(e,t){for(let n of s.a)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}(e,w)||!M.current)return;let n="rtl"===h,a=n?s.b:s.q,l=n?s.q:s.b,o="vertical"===f?s.e:a,d="vertical"===f?s.V:l,x=(0,c.Z)(e.nativeEvent);if(null!=x&&(0,s.X)(x)&&!(0,i.f)(x)){let t=x.selectionStart,n=x.selectionEnd,r=x.value;if(null==t||e.shiftKey||t!==n||e.key!==d&&t<r.length||e.key!==o&&t>0)return}let b=N,p=(0,u.J)(A,C),k=(0,u._)(A,C);null!=v&&(b=v({disabledIndices:C,elementsRef:A,event:e,highlightedIndex:N,loopFocus:r,maxIndex:k,minIndex:p,onLoop:$,orientation:f,rtl:n}));let j="vertical"!==f&&e.key===a||"horizontal"!==f&&e.key===s.e,T="vertical"!==f&&e.key===l||"horizontal"!==f&&e.key===s.V;g&&(e.key===s.Z?b=p:e.key===s.C&&(b=k)),b===N&&(j||T)&&(r&&b===k&&j?(b=p,m&&(b=m(e,N,b,A))):r&&b===p&&T?(b=k,m&&(b=m(e,N,b,A))):b=(0,u.e)(A.current,{startingIndex:b,decrement:T,disabledIndices:C})),b===N||(0,u.c)(A.current,b)||(y&&e.stopPropagation(),(R||t||j||T)&&e.preventDefault(),E(b,!0),queueMicrotask(()=>{A.current[b]?.focus()}))});return{props:{ref:T,onFocus(e){let t=M.current,n=(0,c.Z)(e.nativeEvent);t&&null!=n&&(0,s.X)(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:D},highlightedIndex:N,onHighlightedIndexChange:E,elementsRef:A,onMapChange:I,relayKeyboardEvent:D}}({grid:M,loopFocus:T,onLoop:A,orientation:R,highlightedIndex:k,onHighlightedIndexChange:j,rootRef:E,stopEventPropagation:N,enableHomeAndEndKeys:z,direction:(0,m.f)(),disabledIndices:I,modifierKeys:$}),Z=(0,v.f)(V,e,{state:C,ref:g,props:[K,...y,L],stateAttributesMapping:w}),q=t.useMemo(()=>({highlightedIndex:P,onHighlightedIndexChange:H,highlightItemOnHover:D,relayKeyboardEvent:B}),[P,H,D,B]);return(0,h.jsx)(f.e.Provider,{value:q,children:(0,h.jsx)(r.f,{elementsRef:O,onMapChange:e=>{S?.(e),F(e)},children:Z})})}],405934)},552348,e=>{var t=e.i(216856);e.s(["f",0,t])},590803,e=>{e.s(["f",0,function(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}])},226091,e=>{var t=e.i(456420);let n={name:"file-text",size:24,node:[["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 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],226091)},861966,e=>{var t=e.i(843476),n=e.i(689664),r=e.i(508734),i=e.i(271645),a=e.i(681924);e.s(["f",0,function({value:e,label:l,size:o="xs",isLabeled:s=!1,onCopied:u,onCopyFailed:d,className:c,"data-testid":f}){let[v,m]=(0,i.useState)(!1);async function h(){try{await navigator.clipboard.writeText(e)}catch{d?.();return}m(!0),u?.(),setTimeout(()=>{m(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.f,{variant:"ghost",size:o,isIconOnly:!s,"aria-label":l,title:s?void 0:l,icon:v?(0,t.jsx)(n.f,{"aria-hidden":!0}):(0,t.jsx)(r.f,{"aria-hidden":!0}),className:c,"data-testid":f,onClick:()=>{h()},children:s?v?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:v?"Copied.":""})]})}])},182880,603067,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(590222),i=e.i(866616),a=e.i(861966);e.s(["f",0,function({crewLines:e,subject:l,testIdPrefix:o,onCopied:s,onCopyFailed:u}){let[d,c]=(0,n.useState)(e[0]?.harness),f=e.find(e=>e.harness===d)??e[0];if(!f)return null;let v=(0,i.i)(f.harness);return(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 max-sm:flex-col max-sm:items-stretch",children:[(0,t.jsx)(r.Tabs,{value:f.harness,onValueChange:t=>{let n=e.find(e=>e.harness===t);n&&c(n.harness)},children:(0,t.jsx)(r.TabsList,{"aria-label":`Crew ${l} from`,children:e.map(e=>(0,t.jsx)(r.TabsTrigger,{value:e.harness,"data-testid":`${o}-${e.harness}-tab`,children:(0,i.i)(e.harness)},e.harness))})}),(0,t.jsx)("code",{"data-testid":`${o}-${f.harness}`,title:f.line,className:"min-w-0 grow truncate rounded-md bg-muted px-2 py-1 font-mono text-code text-foreground",children:f.line}),(0,t.jsx)(a.f,{value:f.line,label:`Copy the ${v} crew line for ${l}`,isLabeled:!0,onCopied:s,onCopyFailed:u,"data-testid":`${o}-${f.harness}-copy`})]})}],182880);var l=e.i(226091);e.s(["f",0,function({note:e,model:n,template:r,testId:i}){return null===e&&null===n?null:(0,t.jsxs)("div",{className:"flex items-start gap-2 rounded-md bg-muted px-3 py-2 text-meta",children:[(0,t.jsx)(l.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"text-muted-foreground",children:["Launch note",void 0===r?"":` \xb7 ${r}`]}),null!==e&&(0,t.jsx)("span",{"data-testid":i,children:e}),null!==n&&(0,t.jsxs)("span",{children:["Runs ",(0,t.jsx)("span",{className:"font-mono",children:n})]})]})]})}],603067)},866616,e=>{var t=e.i(849635);let n={"claude-code":{word:"Claude Code",kind:"coding"},codex:{word:"Codex",kind:"coding"},copilot:{word:"Copilot",kind:"coding"},"claude-chat":{word:"Claude chat",kind:"chat"},chatgpt:{word:"ChatGPT",kind:"chat"},grok:{word:"Grok",kind:"chat"},grokbot:{word:"Grokbot",kind:"bot"},console:{word:"Console",kind:"console"}};function r(e){return n[e]?.word??e}e.s(["i",0,function(e){return"chat"===e?"Chat":r(e)},"Y",0,function(e,n){if(void 0===e.version)return;if(void 0===e.modelsConfirmedAt||null===e.modelsConfirmedAt)return`${e.version} \xb7 no model confirmed`;let r=(0,t.W)(new Date(e.modelsConfirmedAt),n);return`${e.version} \xb7 models confirmed ${"Just now"===r?"just now":r}`},"_",0,function(e){return n[e]?.kind},"f",0,r])},590222,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(951437),i=e.i(146376),a=e.i(667865),l=e.i(552245),o=e.i(53687),s=e.i(733332);let u=n.createContext(void 0);function d(){let e=n.useContext(u);if(void 0===e)throw Error((0,s.f)(64));return e}let c={tabActivationDirection:e=>({"data-activation-direction":e})};var f=e.i(675606),v=e.i(216856),v=v,m=v,h=e.i(552348);let x=n.forwardRef(function(e,s){let{className:d,defaultValue:x=0,onValueChange:g,orientation:y="horizontal",render:C,value:w,style:k,...j}=e,R=void 0!==e.defaultValue,M=n.useRef([]),[T,A]=n.useState(()=>new Map),[z,S]=(0,r.f)({controlled:w,default:x,name:"Tabs",state:"value"}),N=void 0!==w,[E,I]=n.useState(()=>new Map),$=n.useRef(void 0),D=n.useCallback(e=>b(E,e),[E]),[V,L]=n.useState(()=>({previousValue:z,tabActivationDirection:"none"})),{previousValue:K,tabActivationDirection:P}=V,H=P,O=!1;K!==z&&(H=p(K,z,y,E),O=null!=K&&null!=z&&null==D(z));let F=O?K:z,B=K!==F||P!==H;(0,i.f)(()=>{B&&L({previousValue:F,tabActivationDirection:H})},[F,B,H]);let Z=(0,a.f)((e,t)=>{t.activationDirection=p(z,e,y,E),g?.(e,t),t.isCanceled||S(e)}),q=(0,a.f)((e,t)=>{g?.(e,(0,f.j)(t,void 0,void 0,{activationDirection:"none"}))}),G=(0,a.f)((e,t)=>(A(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{A(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),J=n.useCallback(e=>T.get(e),[T]),U=n.useCallback(e=>{for(let t of E.values())if(e===t.value)return t.id},[E]),W=n.useMemo(()=>({getTabElementBySelectedValue:D,getTabIdByPanelValue:U,getTabPanelIdByValue:J,onValueChange:Z,orientation:y,registerMountedTabPanel:G,setTabMap:I,tabActivationDirection:H,value:z}),[D,U,J,Z,y,G,I,H,z]),X=n.useMemo(()=>{for(let e of E.values())if(e.value===z)return e},[E,z]),_=n.useMemo(()=>{for(let e of E.values())if(!e.disabled)return e.value},[E]),Y=n.useRef(!R),Q=n.useRef(x),ee=n.useRef(R),et=n.useRef(!1);(0,i.f)(()=>{if(N)return;function e(e,t){S(e),L({previousValue:e,tabActivationDirection:"none"}),q(e,t),Y.current=!1}if(0===E.size){et.current&&null!==z&&!$.current?.isConnected&&e(null,m.missing);return}et.current=!0,$.current=E.keys().next().value;let t=X?.disabled,n=null==X&&null!==z;if(t||z!==Q.current||(ee.current=!1),ee.current&&t&&z===Q.current)return;let r=Y.current;if(t||n){let n=_??null;if(z===n){Y.current=!1;return}let i=m.missing;r?i=v.initial:t&&(i=h.f.disabled),e(n,i);return}r&&null!=X&&(q(z,v.initial),Y.current=!1)},[_,N,q,X,S,E,z]);let en={orientation:y,tabActivationDirection:H},er=(0,l.f)("div",e,{state:en,ref:s,props:j,stateAttributesMapping:c});return(0,t.jsx)(u.Provider,{value:W,children:(0,t.jsx)(o.f,{elementsRef:M,children:er})})});function b(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function p(e,t,n,r){if(null==e||null==t)return"none";let[i,a,l]="horizontal"===n?["left","left","right"]:["top","up","down"],o=b(r,e),s=b(r,t);if(null==o||null==s)return o!==s&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?l:a:"none";let u=o.getBoundingClientRect()[i],d=s.getBoundingClientRect()[i];return d<u?a:d>u?l:"none"}var g=e.i(108868),y=e.i(788015),C=e.i(540886),w=e.i(370359),k=e.i(395530),j=e.i(838452);let R=n.createContext(void 0);var M=e.i(380025),T=e.i(584446);let A=n.forwardRef(function(e,t){let{className:r,disabled:o=!1,render:u,value:v,id:m,nativeButton:h=!0,style:x,...b}=e,{value:p,getTabPanelIdByValue:A,onValueChange:z,orientation:S,tabActivationDirection:N}=d(),{activateOnFocus:E,registerTabResizeObserverElement:I,tabsListElement:$}=function(){let e=n.useContext(R);if(void 0===e)throw Error((0,s.f)(65));return e}(),{highlightedIndex:D,onHighlightedIndexChange:V}=(0,j.o)(),L=(0,y.f)(m),K=n.useMemo(()=>({disabled:o,id:L,value:v}),[o,L,v]),{compositeProps:P,compositeRef:H,index:O}=(0,k.f)({metadata:K}),F=v===p,B=n.useRef(!1),Z=n.useRef(null),q=(0,a.f)(e=>{Z.current?.(),Z.current=e?I(e):null});(0,i.f)(()=>{if(B.current){B.current=!1;return}if(F&&O>-1&&D!==O){if(null!=$){let e=(0,T.T)((0,g.f)($));if(e&&(0,T.I)($,e))return}o||V(O)}},[F,O,D,V,o,$]);let{getButtonProps:G,buttonRef:J}=(0,C.f)({disabled:o,native:h,focusableWhenDisabled:!0}),U=A(v),W=n.useRef(!1),X=n.useRef(!1);function _(e){z(v,(0,f.j)(M.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,l.f)("button",e,{state:{disabled:o,active:F,orientation:S,tabActivationDirection:N},ref:[t,J,H,q],props:[P,{role:"tab","aria-controls":U,"aria-selected":F,id:L,onClick:function(e){F||o||_(e)},onFocus:function(e){F||o||E&&(!W.current||X.current)&&_(e)},onPointerDown:function(e){if(F||o)return;W.current=!0,X.current=0===e.button;let t=(0,g.f)(e.currentTarget);function n(){W.current=!1,X.current=!1,t.removeEventListener("pointerup",n),t.removeEventListener("pointercancel",n)}t.addEventListener("pointerup",n),t.addEventListener("pointercancel",n)},[w.f]:F?"":void 0,onKeyDownCapture(){B.current=!0}},b,G],stateAttributesMapping:c})});var z=e.i(144394),S=e.i(474354),N=e.i(137584),E=e.i(223910),I=e.i(673553),$=e.i(180862),$=$,D=$;$.startingStyle,D.endingStyle;let V={...c,...S.f},L=n.forwardRef(function(e,t){let{className:r,value:a,render:o,keepMounted:s=!1,style:u,...c}=e,{value:f,getTabIdByPanelValue:v,orientation:m,tabActivationDirection:h,registerMountedTabPanel:x}=d(),b=(0,y.f)(),{ref:p,index:g}=(0,I.f)(),C=a===f,{mounted:w,transitionStatus:k,setMounted:j}=(0,E.f)(C),R=!w,M=v(a),T=n.useRef(null),A=(0,l.f)("div",e,{state:{hidden:R,orientation:m,tabActivationDirection:h,transitionStatus:k},ref:[t,p,T],props:[{"aria-labelledby":M,hidden:R,id:b,role:"tabpanel",tabIndex:C?0:-1,inert:(0,z.f)(!C),"data-index":g},c],stateAttributesMapping:V});return((0,N.f)({open:C,ref:T,onComplete(){C||j(!1)}}),(0,i.f)(()=>{if(null!=b&&(!R||s))return x(a,b)},[R,s,a,b,x]),s||w)?A:null});var K=e.i(956789),P=e.i(405934);let H=n.forwardRef(function(e,r){let{activateOnFocus:l=!1,className:o,loopFocus:s=!0,render:u,style:f,...v}=e,{orientation:m,setTabMap:h,tabActivationDirection:x}=d(),[b,p]=n.useState(0),[g,y]=n.useState(null),C=n.useRef(new Set),w=n.useRef(new Set),k=n.useRef(null);(0,i.f)(()=>{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>{C.current.forEach(e=>{e()})});return k.current=e,g&&e.observe(g),w.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),k.current=null}},[g]);let j=(0,a.f)(e=>(C.current.add(e),()=>{C.current.delete(e)})),M=(0,a.f)(e=>(w.current.add(e),k.current?.observe(e),()=>{w.current.delete(e),k.current?.unobserve(e)})),T=n.useMemo(()=>({activateOnFocus:l,registerIndicatorUpdateListener:j,registerTabResizeObserverElement:M,tabsListElement:g}),[l,j,M,g]);return(0,t.jsx)(R.Provider,{value:T,children:(0,t.jsx)(P.f,{render:u,className:o,style:f,state:{orientation:m,tabActivationDirection:x},refs:[r,y],props:[{"aria-orientation":"vertical"===m?"vertical":void 0,role:"tablist"},v],stateAttributesMapping:c,highlightedIndex:b,enableHomeAndEndKeys:!0,loopFocus:s,orientation:m,onHighlightedIndexChange:p,onMapChange:h,disabledIndices:K.v})})});e.s(["List",0,H,"Panel",0,L,"Root",0,x,"Tab",0,A],69281);var O=e.i(69281),O=O,F=O,B=O,Z=O,q=e.i(225913),G=e.i(812437);let J=(0,q.f)("",{variants:{variant:{segmented:"inline-flex items-center gap-0.5 rounded-md border border-border bg-muted p-0.75",line:"flex items-center gap-6 border-b border-border"}},defaultVariants:{variant:"segmented"}}),U=(0,q.f)("group/tab inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap text-muted-foreground transition-colors duration-(--duration-fast) outline-none hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring data-active:text-foreground data-disabled:pointer-events-none data-disabled:opacity-45",{variants:{variant:{segmented:"h-7 gap-1.5 rounded-sm px-2.5 text-meta data-active:bg-card data-active:shadow-sm",line:"mb-[-1px] h-10 border-b-2 border-transparent px-0.5 text-body data-active:border-foreground"}},defaultVariants:{variant:"segmented"}});e.s(["Tabs",0,function({className:e,...n}){return(0,t.jsx)(O.Root,{"data-slot":"tabs",className:(0,G.f)("flex flex-col gap-4",e),...n})},"TabsContent",0,function({className:e,...n}){return(0,t.jsx)(Z.Panel,{"data-slot":"tabs-content",className:(0,G.f)("outline-none",e),...n})},"TabsCount",0,function({className:e,...n}){return(0,t.jsx)("span",{"data-slot":"tabs-count",className:(0,G.f)("text-muted-foreground tabular-nums group-data-active/tab:text-foreground in-data-[variant=line]:inline-flex in-data-[variant=line]:size-5 in-data-[variant=line]:items-center in-data-[variant=line]:justify-center in-data-[variant=line]:rounded-full in-data-[variant=line]:bg-secondary in-data-[variant=line]:text-micro",e),...n})},"TabsList",0,function({className:e,variant:n="segmented",...r}){return(0,t.jsx)(F.List,{"data-slot":"tabs-list","data-variant":n,className:(0,G.f)(J({variant:n}),"max-sm:flex max-sm:w-full max-sm:gap-0.5 max-sm:rounded-lg max-sm:border max-sm:border-border max-sm:bg-muted max-sm:p-1",e),...r})},"TabsTrigger",0,function({className:e,variant:n="segmented",...r}){return(0,t.jsx)(B.Tab,{"data-slot":"tabs-trigger",className:(0,G.f)(U({variant:n}),"max-sm:h-(--size-control-touch) max-sm:flex-1 max-sm:rounded-md max-sm:border-0 max-sm:px-3 max-sm:text-body-touch max-sm:data-active:bg-card max-sm:data-active:shadow-sm",e),...r})}],590222)}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,591703,e=>{var t=e.i(843476),i=e.i(383035),s=e.i(812437),r=e.i(861966);e.s(["f",0,function({label:e,code:n,isWrapped:o=!1,copyValue:a,copyLabel:l=`Copy ${e.toLowerCase()}`,onCopied:d,onCopyFailed:c,codeTestId:p,copyTestId:u}){return(0,t.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,t.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(i.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e})]}),(0,t.jsx)(r.f,{value:a??n,label:l,isLabeled:!0,onCopied:d,onCopyFailed:c,"data-testid":u})]}),(0,t.jsx)("pre",{"data-testid":p,className:(0,s.f)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",o?"break-all whitespace-pre-wrap":"whitespace-pre"),children:n})]})}])},861966,e=>{var t=e.i(843476),i=e.i(689664),s=e.i(508734),r=e.i(271645),n=e.i(681924);e.s(["f",0,function({value:e,label:o,size:a="xs",isLabeled:l=!1,onCopied:d,onCopyFailed:c,className:p,"data-testid":u}){let[h,x]=(0,r.useState)(!1);async function f(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}x(!0),d?.(),setTimeout(()=>{x(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{variant:"ghost",size:a,isIconOnly:!l,"aria-label":o,title:l?void 0:o,icon:h?(0,t.jsx)(i.f,{"aria-hidden":!0}):(0,t.jsx)(s.f,{"aria-hidden":!0}),className:p,"data-testid":u,onClick:()=>{f()},children:l?h?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:h?"Copied.":""})]})}])},756478,e=>{var t=e.i(843476),i=e.i(866616),s=e.i(591703);e.s(["f",0,function({crewLines:e,subject:r,testIdPrefix:n,onCopied:o,onCopyFailed:a}){return e.map(({harness:e,line:l})=>(0,t.jsx)(s.f,{label:`Crew line, ${(0,i.f)(e)} with the Aeolus Fleet plugin`,code:l,isWrapped:!0,copyLabel:`Copy the ${(0,i.f)(e)} crew line for ${r}`,codeTestId:`${n}-${e}`,copyTestId:`${n}-${e}-copy`,onCopied:o,onCopyFailed:a},e))}])},378214,e=>{var t=e.i(843476),i=e.i(331513);let s={claudeCode:`${i.f}/blob/main/docs/guides/claude-code.md#1-install-the-plugin-once-per-machine`,codex:"https://github.com/ThomasHendrickx/aeolus-fleet-trierarch/blob/main/plugins/aeolus-fleet/README.md#install-for-codex-desktop-or-cli",copilot:"https://github.com/ThomasHendrickx/aeolus-fleet-trierarch/blob/main/plugins/aeolus-fleet/README.md#install-for-the-github-copilot-cli"},r="underline underline-offset-2";e.s(["f",0,function(){return(0,t.jsxs)("p",{className:"text-meta text-muted-foreground",children:["A crew line needs the Aeolus Fleet plugin, installed once per computer:"," ",(0,t.jsx)("a",{href:s.claudeCode,target:"_blank",rel:"noreferrer","data-testid":"plugin-install-claude-code",className:r,children:"install it in Claude Code"}),","," ",(0,t.jsx)("a",{href:s.codex,target:"_blank",rel:"noreferrer","data-testid":"plugin-install-codex",className:r,children:"in Codex"})," ","or"," ",(0,t.jsx)("a",{href:s.copilot,target:"_blank",rel:"noreferrer","data-testid":"plugin-install-copilot",className:r,children:"in Copilot"}),"."]})}])},482532,e=>{var t=e.i(843476),i=e.i(422768),s=e.i(810818),r=e.i(825398),n=e.i(271645),o=e.i(849635),a=e.i(331513),l=e.i(681924),d=e.i(923060),c=e.i(348184),p=e.i(588671),u=e.i(895e3),h=e.i(591703),x=e.i(756478),f=e.i(378214);let m=`${a.f}/blob/main/docs/guides/chatgpt.md`;function g({shipName:e,prompt:r,crewLines:o}){let[a,l]=(0,n.useState)(!1),d=()=>{l(!1)},c=()=>{l(!0)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"flex gap-2 rounded-lg border border-border bg-muted px-3 py-2 text-meta text-foreground",children:[(0,t.jsx)(s.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-medium",children:"Shown once. Copy it now."})," If you lose it, get a new one; this one then stops working."]})]}),(0,t.jsx)(h.f,{label:`Crew instructions for a chat, for ${e}`,code:r,isWrapped:!0,copyLabel:`Copy the crew instructions for a chat, for ${e}`,codeTestId:"starting-prompt-text",copyTestId:"starting-prompt-copy",onCopied:d,onCopyFailed:c}),(0,t.jsx)(x.f,{crewLines:o,subject:e,testIdPrefix:"starting-prompt-crew-line",onCopied:d,onCopyFailed:c}),(0,t.jsx)(f.f,{}),(0,t.jsx)("p",{role:"status",className:"flex items-center gap-1.5 text-meta text-destructive-text empty:hidden",children:a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),"Could not copy: select the text and copy it by hand."]}):null})]})}e.s(["StartingPromptDialog",0,function(e){var i;let{shipName:s,state:a,prompt:h,crewLines:x,replacesUnclaimed:f,error:j,isOpen:b,onOpenChange:C,onConfirm:w}=e,y="issuing"===a,N=(0,n.useRef)(null);return(0,t.jsx)(d.Dialog,{open:b,onOpenChange:e=>{y||C(e)},children:(0,t.jsxs)(d.DialogContent,{size:"md","data-testid":"starting-prompt-dialog",className:c.f.phoneFullScreen,initialFocus:()=>(N.current?.focus({focusVisible:!0}),!1),children:[(0,t.jsxs)(d.DialogHeader,{children:[(0,t.jsxs)(d.DialogTitle,{children:["Starting prompt for ",s]}),(0,t.jsxs)(d.DialogDescription,{children:["Paste the crew instructions into a chat (ChatGPT, Claude chat), or a crew line into Claude Code, Codex or Copilot with the Aeolus Fleet plugin.","error"===a?null:` Any earlier prompt for ${s} stops working now.`," ",(0,t.jsx)("a",{ref:N,href:m,target:"_blank",rel:"noreferrer","data-testid":"starting-prompt-chatgpt-guide",className:"underline underline-offset-2",children:"Connect a ChatGPT chat"}),"."]})]}),"error"!==a&&f?(0,t.jsxs)("p",{className:"rounded-lg border border-tone-waiting-border bg-tone-waiting-bg px-3 py-2 text-meta text-tone-waiting-fg",children:["This prompt stops the one issued"," ",(0,t.jsx)("time",{dateTime:f.issuedAt,children:(0,o.B)(new Date(f.issuedAt))})," ","working."]}):null,y?(0,t.jsxs)("div",{"aria-busy":!0,className:"flex flex-col gap-3",children:[(0,t.jsx)("span",{className:"sr-only",children:"Issuing a starting prompt..."}),(0,t.jsx)(p.f,{className:"h-10 w-full rounded-lg"}),(0,t.jsx)(p.f,{className:"h-40 w-full rounded-lg"})]}):null,"shown"===a&&void 0!==h&&void 0!==x?(0,t.jsx)(g,{shipName:s,prompt:h,crewLines:x}):null,"error"===a?(0,t.jsx)(u.f,{title:"Couldn’t issue a starting prompt",description:`${(i=j??"The server did not answer.",/[.!?]$/.test(i)?i:`${i}.`)} No new secret was created; any earlier prompt still works.`}):null,(0,t.jsxs)(d.DialogFooter,{children:["issuing"===a||"shown"===a?(0,t.jsx)(d.DialogClose,{render:(0,t.jsx)(l.f,{variant:"primary",disabled:y}),children:"Done"}):null,"error"===a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.DialogClose,{render:(0,t.jsx)(l.f,{}),children:"Close"}),(0,t.jsx)(l.f,{variant:"primary",icon:(0,t.jsx)(r.f,{}),onClick:w,children:"Try again"})]}):null]})]})})}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,405934,370359,e=>{var t=e.i(271645),n=e.i(956789),r=e.i(53687),i=e.i(590803),a=e.i(667865),l=e.i(828918),s=e.i(146376),o=e.i(673327),d=e.i(621082);let u="data-composite-item-active";e.s(["f",0,u],370359);var c=e.i(584446),f=e.i(838452),p=e.i(552245),h=e.i(872855),m=e.i(843476);e.s(["f",0,function(e){let{render:x,className:g,style:v,refs:b=n.v,props:y=n.v,state:w=n.w,stateAttributesMapping:k,highlightedIndex:j,onHighlightedIndexChange:C,orientation:M,grid:z,loopFocus:A,onLoop:R,enableHomeAndEndKeys:S,onMapChange:$,stopEventPropagation:N=!0,rootRef:D,disabledIndices:T,modifierKeys:I,highlightItemOnHover:P=!1,tag:L="div",...E}=e,{props:V,highlightedIndex:H,onHighlightedIndexChange:K,elementsRef:O,onMapChange:W,relayKeyboardEvent:q}=function(e){let{loopFocus:r=!0,orientation:f="both",grid:p,onLoop:h,direction:m,highlightedIndex:x,onHighlightedIndexChange:g,rootRef:v,enableHomeAndEndKeys:b=!1,stopEventPropagation:y,disabledIndices:w,modifierKeys:k=n.v}=e,[j,C]=t.useState(0),M=null!=p,z=t.useRef(null),A=(0,l.A)(z,v),R=t.useRef([]),S=t.useRef(!1),$=t.useRef(null),N=x??j,D=(0,a.f)((e,t=!1)=>{if($.current=R.current[e]??null,(g??C)(e),t){let t=R.current[e];(0,o.l)(z.current,t,m,f)}}),T=(0,a.f)(e=>{if(0===e.size)return;if(S.current){let e=R.current,t=e.indexOf($.current);if(-1===t){let t=e[N];!t||(0,d.K)(e,N,w)?D(function(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(!(!i||(0,d.K)(e,r,t))){if(i.hasAttribute(u))return r;-1===n&&(n=r)}}return Math.max(n,0)}(e,w)):$.current=t}else t!==N&&D(t);return}S.current=!0;let t=Array.from(e.keys()),n=t.find(e=>e?.hasAttribute(u))??null,r=n?e.get(n)?.index??-1:-1;if(-1!==r)D(r);else if((0,d.K)(t,N,w)){let e=(0,d.e)(t,{disabledIndices:w});(0,d.c)(t,e)||D(e)}(0,o.l)(z.current,n,m,f)});(0,s.f)(()=>{if(null==w||null!=x||!S.current)return;let e=R.current;if((0,d.K)(e,N,w)){let t=(0,d.e)(e,{disabledIndices:w});(0,d.c)(e,t)||D(t)}},[w,x,N,R,D]);let I=(0,a.f)((e,t,n)=>h?h(e,t,n,R):n),P=(0,a.f)(e=>{let t=e.key===o.Z||e.key===o.C;if(!o.J.has(e.key)||!b&&t||function(e,t){for(let n of o.a)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}(e,k)||!z.current)return;let n="rtl"===m,a=n?o.b:o.q,l=n?o.q:o.b,s="vertical"===f?o.e:a,u="vertical"===f?o.V:l,x=(0,c.Z)(e.nativeEvent);if(null!=x&&(0,o.X)(x)&&!(0,i.f)(x)){let t=x.selectionStart,n=x.selectionEnd,r=x.value;if(null==t||e.shiftKey||t!==n||e.key!==u&&t<r.length||e.key!==s&&t>0)return}let g=N,v=(0,d.J)(R,w),j=(0,d._)(R,w);null!=p&&(g=p({disabledIndices:w,elementsRef:R,event:e,highlightedIndex:N,loopFocus:r,maxIndex:j,minIndex:v,onLoop:I,orientation:f,rtl:n}));let C="vertical"!==f&&e.key===a||"horizontal"!==f&&e.key===o.e,A="vertical"!==f&&e.key===l||"horizontal"!==f&&e.key===o.V;b&&(e.key===o.Z?g=v:e.key===o.C&&(g=j)),g===N&&(C||A)&&(r&&g===j&&C?(g=v,h&&(g=h(e,N,g,R))):r&&g===v&&A?(g=j,h&&(g=h(e,N,g,R))):g=(0,d.e)(R.current,{startingIndex:g,decrement:A,disabledIndices:w})),g===N||(0,d.c)(R.current,g)||(y&&e.stopPropagation(),(M||t||C||A)&&e.preventDefault(),D(g,!0),queueMicrotask(()=>{R.current[g]?.focus()}))});return{props:{ref:A,onFocus(e){let t=z.current,n=(0,c.Z)(e.nativeEvent);t&&null!=n&&(0,o.X)(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:P},highlightedIndex:N,onHighlightedIndexChange:D,elementsRef:R,onMapChange:T,relayKeyboardEvent:P}}({grid:z,loopFocus:A,onLoop:R,orientation:M,highlightedIndex:j,onHighlightedIndexChange:C,rootRef:D,stopEventPropagation:N,enableHomeAndEndKeys:S,direction:(0,h.f)(),disabledIndices:T,modifierKeys:I}),F=(0,p.f)(L,e,{state:w,ref:b,props:[V,...y,E],stateAttributesMapping:k}),J=t.useMemo(()=>({highlightedIndex:H,onHighlightedIndexChange:K,highlightItemOnHover:P,relayKeyboardEvent:q}),[H,K,P,q]);return(0,m.jsx)(f.e.Provider,{value:J,children:(0,m.jsx)(r.f,{elementsRef:O,onMapChange:e=>{$?.(e),W(e)},children:F})})}],405934)},552348,e=>{var t=e.i(216856);e.s(["f",0,t])},590803,e=>{e.s(["f",0,function(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}])},508734,e=>{var t=e.i(456420);let n={name:"copy",size:24,node:[["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"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],508734)},772382,e=>{var t=e.i(456420);let n={name:"eye",size:24,node:[["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"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],772382)},615331,e=>{var t=e.i(456420);let n={name:"radio",size:24,node:[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],615331)},383035,e=>{var t=e.i(456420);let n={name:"square-terminal",size:24,node:[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],aliases:["terminal-square"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],383035)},64790,e=>{var t=e.i(456420);let n={name:"wifi-off",size:24,node:[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],64790)},253341,e=>{var t=e.i(411382),n=e.i(214126),r=e.i(213056),i=e.i(980815),a=e.i(383615);t.z.object({shipId:(0,a.f)("ship")}),t.z.object({messageId:(0,a.f)("message"),sentAt:n.z.iso.datetime(),isNew:r.z.boolean()}),t.z.object({deliveryId:(0,a.f)("delivery")}),i.z.strictObject({}),e.s(["f",0,function(e){let[t=""]=e.split(";");return"application/vnd.aeolus.ping"===t.trim().toLowerCase()}])},591703,e=>{var t=e.i(843476),n=e.i(383035),r=e.i(812437),i=e.i(861966);e.s(["f",0,function({label:e,code:a,isWrapped:l=!1,copyValue:s,copyLabel:o=`Copy ${e.toLowerCase()}`,onCopied:d,onCopyFailed:u,codeTestId:c,copyTestId:f}){return(0,t.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,t.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(n.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:e})]}),(0,t.jsx)(i.f,{value:s??a,label:o,isLabeled:!0,onCopied:d,onCopyFailed:u,"data-testid":f})]}),(0,t.jsx)("pre",{"data-testid":c,className:(0,r.f)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",l?"break-all whitespace-pre-wrap":"whitespace-pre"),children:a})]})}])},861966,e=>{var t=e.i(843476),n=e.i(689664),r=e.i(508734),i=e.i(271645),a=e.i(681924);e.s(["f",0,function({value:e,label:l,size:s="xs",isLabeled:o=!1,onCopied:d,onCopyFailed:u,className:c,"data-testid":f}){let[p,h]=(0,i.useState)(!1);async function m(){try{await navigator.clipboard.writeText(e)}catch{u?.();return}h(!0),d?.(),setTimeout(()=>{h(!1)},1500)}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.f,{variant:"ghost",size:s,isIconOnly:!o,"aria-label":l,title:o?void 0:l,icon:p?(0,t.jsx)(n.f,{"aria-hidden":!0}):(0,t.jsx)(r.f,{"aria-hidden":!0}),className:c,"data-testid":f,onClick:()=>{m()},children:o?p?"Copied":"Copy":null}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:p?"Copied.":""})]})}])},379369,e=>{var t=e.i(253341),n=e.i(849635);function r(e,t){return{icon:e,...t}}function i(e){switch(e.kind){case"fleet":return{icon:"fleet",words:"Fleet"};case"agent":return{icon:"agent",words:"Agent"};case"trierarch":case"pluginWatcher":case"personApp":case"gateway":case"adapter":{let{icon:t,text:n}=a(e);return{icon:t,words:n}}}}function a(e){switch(e.kind){case"trierarch":return{icon:"computer",text:`Trierarch on ${e.trierarch.name}`};case"pluginWatcher":return{icon:"watcher",text:"Plugin watcher"};case"personApp":return{icon:"computer",text:"Person's app"};case"gateway":return{icon:"computer",text:"Gateway"};case"adapter":return{icon:"computer",text:"Adapter"}}}function l(e){return"handed"!==e.state||e.isPulled?e.state:"handedPushed"}e.s(["C",0,l,"s",0,a,"W",0,function(e,a){let{now:s,machines:o=[]}=a,d=(0,t.f)(e.contentType),u=d&&("pending"===e.delivery.state||"received"===e.delivery.state||"handed"===e.delivery.state),c=d&&(u||"acknowledged"===e.delivery.state)?function(e,t){let{history:i}=e.delivery,a=i.find(e=>"DeliveryHanded"===e.type),l=i.find(e=>"DeliveryAcknowledged"===e.type);if(l&&a){let e=new Date(l.occurredAt).getTime()-new Date(a.occurredAt).getTime(),t=e<6e4?`${String(Math.floor(Math.max(0,e)/1e3))} s`:(0,n.m)(new Date(a.occurredAt),new Date(l.occurredAt));return r("ping",{tone:"neutral",text:`Answered ping in ${t} after hand-over`})}let s=`Pinged ${(0,n.W)(new Date(e.sentAt),t).toLowerCase()}`,o=a?` \xb7 handed ${(0,n.W)(new Date(a.occurredAt),t).toLowerCase()}`:"";return r("ping",{tone:"waiting",text:`${s}${o} \xb7 no answer yet`})}(e,s):function(e,t){let{state:a,attempts:l,way:s}=e.delivery,o=(0,n.W)(new Date(s.since),t);if(null===s.holder)return r("time",{tone:"neutral",text:o});let{icon:d,words:u}=i(s.holder);if("handed"!==a)return r(d,{tone:"acknowledged"===a?"neutral":"waiting",text:`${u} \xb7 ${o}`});if(s.isPulled){let e=l>1?` \xb7 handed (pulled) ${String(l)} times`:"";return r(d,{tone:"waiting",text:`${u} (pulled) \xb7 ${o} \xb7 not acknowledged${e}`})}let c=l>1?` \xb7 attempt ${String(l)} of ${String(5)}`:"";return r(d,{tone:"waiting",text:`${u} \xb7 ${o} \xb7 not confirmed${c}`})}(e,s);return{status:function(e){let{state:t,way:n}=e.delivery;return l({state:t,isPulled:n.isPulled})}(e),lines:[c,...d?[]:function(e){let{state:t,way:n}=e.delivery;return"acknowledged"!==t?[]:n.isPulled?[r("unknown",{tone:"neutral",text:"Handled: not reported (pull ship)"})]:n.lease?.isEnded?[r("unknown",{tone:"waiting",text:"Handled unknown: lease ended"})]:[]}(e),...function(e,t){let{now:a,machines:l}=t,{state:s,way:o}=e.delivery,d=[],u="pending"===s||"received"===s,c=o.lease?.turn;u&&c?.turn==="busy"&&d.push(r("busy",{tone:"active",text:`Session busy since ${(0,n.l)(new Date(c.at),a)}`}));let f="received"===s||"handed"===s;f&&o.crew?.status==="restarting"&&d.push(r("restart",{tone:"waiting",text:`Session restarting (restart ${String(o.crew.attempt)})`})),f&&o.crew?.status==="crashed"&&d.push(r("died",{tone:"attention",text:"Session crashed"})),f&&o.crew?.status==="running"&&o.crew.attempt>0&&null!==o.crew.startedAt&&d.push(r("restart",{tone:"neutral",text:`Session restarted ${(0,n.l)(new Date(o.crew.startedAt),a)}`}));let p=o.lease?.by,h=p?.kind==="trierarch"?l.find(e=>e.shipId===p.trierarch.id):void 0;if(p&&u&&h?.isSilent){let e=null===h.lastSeenAt?"":` since ${(0,n.l)(new Date(h.lastSeenAt),a)}`;d.push(r("silent",{tone:"attention",text:`${i(p).words} silent${e}`}))}return o.overdue&&d.push(r("clock",{tone:"attention",text:`argo told at ${String(o.overdue.minutes)} min`})),"notHandled"===s&&d.push(r("died",{tone:"attention",text:`Session died twice \xb7 argo told ${(0,n.l)(new Date(o.since),a)}`})),d}(e,{now:s,machines:o})]}}])},257148,e=>{var t=e.i(843476),n=e.i(779432),r=e.i(119002),i=e.i(911147),a=e.i(793361),l=e.i(805236),s=e.i(849635);let o={working:n.f,blocked:i.f,idle:r.f},d={working:"text-tone-active-fg",blocked:"text-tone-waiting-fg",idle:"text-tone-ended-fg"};e.s(["f",0,function({progress:e,now:n}){if(null===e)return null;let r=o[e.state],i=new Date(e.reportChangedAt);return(0,t.jsxs)("span",{"data-testid":"message-recipient-progress",className:"flex w-full min-w-0 flex-wrap items-center gap-x-2 gap-y-1 text-meta",children:[(0,t.jsxs)("span",{className:`inline-flex items-center gap-1.5 font-medium ${d[e.state]}`,children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"size-(--size-icon-sm)"}),a.W[e.state]]}),null===e.step?null:(0,t.jsx)("span",{className:"text-muted-foreground tabular-nums",children:(0,l.w)(e.step,"full")}),null===e.note?null:(0,t.jsx)("span",{className:"min-w-0 truncate text-foreground",children:e.note}),(0,t.jsx)("time",{dateTime:e.reportChangedAt,title:(0,s.o)(i),className:"text-muted-foreground tabular-nums",children:(0,a.c)(i,n)})]})}])},639124,e=>{var t=e.i(843476),n=e.i(890135),r=e.i(539448);e.s(["f",0,function({parts:e,className:i}){let a;return(0,t.jsx)("span",{className:i,children:(a=new Map,e.map(e=>{let t="text"===e.kind?`text:${e.text}`:`ship:${e.party.id}`,n=a.get(t)??0;return a.set(t,n+1),{key:`${t}#${String(n)}`,part:e}})).map(({key:e,part:i})=>"text"===i.kind?(0,t.jsx)("span",{children:i.text},e):(0,t.jsx)(r.f,{name:i.party.name,shipId:i.party.id,isSuffixShown:i.party.name!==n.D,className:"align-baseline"},e))})}])},446157,e=>{var t=e.i(843476),n=e.i(749655),r=e.i(456420);let i={name:"arrow-down-to-line",size:24,node:[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]};i.node;let a=(0,r.f)(i);var l=e.i(271567),s=e.i(119002),o=e.i(275043),o=o,d=e.i(474544),u=e.i(772382);let c={name:"heart-crack",size:24,node:[["path",{d:"M12.409 5.824c-.702.792-1.15 1.496-1.415 2.166l2.153 2.156a.5.5 0 0 1 0 .707l-2.293 2.293a.5.5 0 0 0 0 .707L12 15",key:"idzbju"}],["path",{d:"M13.508 20.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5a5.5 5.5 0 0 1 9.591-3.677.6.6 0 0 0 .818.001A5.5 5.5 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5z",key:"1su70f"}]]};c.node;let f=(0,r.f)(c),p={name:"loader",size:24,node:[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]};p.node;let h=(0,r.f)(p);var m=e.i(446513),x=e.i(615331),g=e.i(395925),v=e.i(841220),b=e.i(64790),y=e.i(812437),w=e.i(33479);let k={fleet:v.f,computer:m.f,watcher:u.f,pull:a,agent:l.f,time:d.f,clock:n.f,busy:h,idle:s.f,restart:g.f,silent:b.f,died:f,ping:x.f,unknown:o.f},j={neutral:"text-muted-foreground",waiting:"text-tone-waiting-fg",active:"text-tone-active-fg",attention:"text-tone-attention-fg"};function C({line:e,testId:n}){let r=k[e.icon];return(0,t.jsxs)("li",{"data-testid":n,className:(0,y.f)("flex items-center gap-1.5 text-meta max-sm:text-body-touch",j[e.tone]),children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{children:e.text})]})}e.s(["Q",0,C,"R",0,function({status:e,lines:n}){return(0,t.jsxs)("div",{"data-testid":"message-way",className:"flex flex-col gap-1.5",children:[(0,t.jsx)("div",{children:(0,t.jsx)(w.T,{status:e})}),(0,t.jsx)("ul",{"aria-label":"Where it stands",className:"flex flex-col gap-1",children:n.map(e=>(0,t.jsx)(C,{line:e,testId:"message-way-line"},e.text))})]})}],446157)},369693,e=>{var t=e.i(890135);function n(e){let t=e.split(";")[0]?.trim().toLowerCase()??"";return"application/json"===t||t.endsWith("+json")}e.s(["p",0,function(e,t){if(n(t))try{return JSON.stringify(JSON.parse(e),null,2)}catch{return}},"N",0,n,"y",0,function(e,r){let i=n(r)?"JSON":r.split(";")[0]?.trim()??r,a=new TextEncoder().encode(e).byteLength;return`${i} \xb7 ${(0,t.v)(a,{one:"byte",many:"bytes"})}`}])},590222,e=>{var t=e.i(843476),n=e.i(271645),r=e.i(951437),i=e.i(146376),a=e.i(667865),l=e.i(552245),s=e.i(53687),o=e.i(733332);let d=n.createContext(void 0);function u(){let e=n.useContext(d);if(void 0===e)throw Error((0,o.f)(64));return e}let c={tabActivationDirection:e=>({"data-activation-direction":e})};var f=e.i(675606),p=e.i(216856),p=p,h=p,m=e.i(552348);let x=n.forwardRef(function(e,o){let{className:u,defaultValue:x=0,onValueChange:b,orientation:y="horizontal",render:w,value:k,style:j,...C}=e,M=void 0!==e.defaultValue,z=n.useRef([]),[A,R]=n.useState(()=>new Map),[S,$]=(0,r.f)({controlled:k,default:x,name:"Tabs",state:"value"}),N=void 0!==k,[D,T]=n.useState(()=>new Map),I=n.useRef(void 0),P=n.useCallback(e=>g(D,e),[D]),[L,E]=n.useState(()=>({previousValue:S,tabActivationDirection:"none"})),{previousValue:V,tabActivationDirection:H}=L,K=H,O=!1;V!==S&&(K=v(V,S,y,D),O=null!=V&&null!=S&&null==P(S));let W=O?V:S,q=V!==W||H!==K;(0,i.f)(()=>{q&&E({previousValue:W,tabActivationDirection:K})},[W,q,K]);let F=(0,a.f)((e,t)=>{t.activationDirection=v(S,e,y,D),b?.(e,t),t.isCanceled||$(e)}),J=(0,a.f)((e,t)=>{b?.(e,(0,f.j)(t,void 0,void 0,{activationDirection:"none"}))}),B=(0,a.f)((e,t)=>(R(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{R(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),Z=n.useCallback(e=>A.get(e),[A]),U=n.useCallback(e=>{for(let t of D.values())if(e===t.value)return t.id},[D]),X=n.useMemo(()=>({getTabElementBySelectedValue:P,getTabIdByPanelValue:U,getTabPanelIdByValue:Z,onValueChange:F,orientation:y,registerMountedTabPanel:B,setTabMap:T,tabActivationDirection:K,value:S}),[P,U,Z,F,y,B,T,K,S]),G=n.useMemo(()=>{for(let e of D.values())if(e.value===S)return e},[D,S]),Q=n.useMemo(()=>{for(let e of D.values())if(!e.disabled)return e.value},[D]),_=n.useRef(!M),Y=n.useRef(x),ee=n.useRef(M),et=n.useRef(!1);(0,i.f)(()=>{if(N)return;function e(e,t){$(e),E({previousValue:e,tabActivationDirection:"none"}),J(e,t),_.current=!1}if(0===D.size){et.current&&null!==S&&!I.current?.isConnected&&e(null,h.missing);return}et.current=!0,I.current=D.keys().next().value;let t=G?.disabled,n=null==G&&null!==S;if(t||S!==Y.current||(ee.current=!1),ee.current&&t&&S===Y.current)return;let r=_.current;if(t||n){let n=Q??null;if(S===n){_.current=!1;return}let i=h.missing;r?i=p.initial:t&&(i=m.f.disabled),e(n,i);return}r&&null!=G&&(J(S,p.initial),_.current=!1)},[Q,N,J,G,$,D,S]);let en={orientation:y,tabActivationDirection:K},er=(0,l.f)("div",e,{state:en,ref:o,props:C,stateAttributesMapping:c});return(0,t.jsx)(d.Provider,{value:X,children:(0,t.jsx)(s.f,{elementsRef:z,children:er})})});function g(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function v(e,t,n,r){if(null==e||null==t)return"none";let[i,a,l]="horizontal"===n?["left","left","right"]:["top","up","down"],s=g(r,e),o=g(r,t);if(null==s||null==o)return s!==o&&("number"==typeof e||"string"==typeof e)&&typeof e==typeof t?t>e?l:a:"none";let d=s.getBoundingClientRect()[i],u=o.getBoundingClientRect()[i];return u<d?a:u>d?l:"none"}var b=e.i(108868),y=e.i(788015),w=e.i(540886),k=e.i(370359),j=e.i(395530),C=e.i(838452);let M=n.createContext(void 0);var z=e.i(380025),A=e.i(584446);let R=n.forwardRef(function(e,t){let{className:r,disabled:s=!1,render:d,value:p,id:h,nativeButton:m=!0,style:x,...g}=e,{value:v,getTabPanelIdByValue:R,onValueChange:S,orientation:$,tabActivationDirection:N}=u(),{activateOnFocus:D,registerTabResizeObserverElement:T,tabsListElement:I}=function(){let e=n.useContext(M);if(void 0===e)throw Error((0,o.f)(65));return e}(),{highlightedIndex:P,onHighlightedIndexChange:L}=(0,C.o)(),E=(0,y.f)(h),V=n.useMemo(()=>({disabled:s,id:E,value:p}),[s,E,p]),{compositeProps:H,compositeRef:K,index:O}=(0,j.f)({metadata:V}),W=p===v,q=n.useRef(!1),F=n.useRef(null),J=(0,a.f)(e=>{F.current?.(),F.current=e?T(e):null});(0,i.f)(()=>{if(q.current){q.current=!1;return}if(W&&O>-1&&P!==O){if(null!=I){let e=(0,A.T)((0,b.f)(I));if(e&&(0,A.I)(I,e))return}s||L(O)}},[W,O,P,L,s,I]);let{getButtonProps:B,buttonRef:Z}=(0,w.f)({disabled:s,native:m,focusableWhenDisabled:!0}),U=R(p),X=n.useRef(!1),G=n.useRef(!1);function Q(e){S(p,(0,f.j)(z.f.none,e.nativeEvent,void 0,{activationDirection:"none"}))}return(0,l.f)("button",e,{state:{disabled:s,active:W,orientation:$,tabActivationDirection:N},ref:[t,Z,K,J],props:[H,{role:"tab","aria-controls":U,"aria-selected":W,id:E,onClick:function(e){W||s||Q(e)},onFocus:function(e){W||s||D&&(!X.current||G.current)&&Q(e)},onPointerDown:function(e){if(W||s)return;X.current=!0,G.current=0===e.button;let t=(0,b.f)(e.currentTarget);function n(){X.current=!1,G.current=!1,t.removeEventListener("pointerup",n),t.removeEventListener("pointercancel",n)}t.addEventListener("pointerup",n),t.addEventListener("pointercancel",n)},[k.f]:W?"":void 0,onKeyDownCapture(){q.current=!0}},g,B],stateAttributesMapping:c})});var S=e.i(144394),$=e.i(474354),N=e.i(137584),D=e.i(223910),T=e.i(673553),I=e.i(180862),I=I,P=I;I.startingStyle,P.endingStyle;let L={...c,...$.f},E=n.forwardRef(function(e,t){let{className:r,value:a,render:s,keepMounted:o=!1,style:d,...c}=e,{value:f,getTabIdByPanelValue:p,orientation:h,tabActivationDirection:m,registerMountedTabPanel:x}=u(),g=(0,y.f)(),{ref:v,index:b}=(0,T.f)(),w=a===f,{mounted:k,transitionStatus:j,setMounted:C}=(0,D.f)(w),M=!k,z=p(a),A=n.useRef(null),R=(0,l.f)("div",e,{state:{hidden:M,orientation:h,tabActivationDirection:m,transitionStatus:j},ref:[t,v,A],props:[{"aria-labelledby":z,hidden:M,id:g,role:"tabpanel",tabIndex:w?0:-1,inert:(0,S.f)(!w),"data-index":b},c],stateAttributesMapping:L});return((0,N.f)({open:w,ref:A,onComplete(){w||C(!1)}}),(0,i.f)(()=>{if(null!=g&&(!M||o))return x(a,g)},[M,o,a,g,x]),o||k)?R:null});var V=e.i(956789),H=e.i(405934);let K=n.forwardRef(function(e,r){let{activateOnFocus:l=!1,className:s,loopFocus:o=!0,render:d,style:f,...p}=e,{orientation:h,setTabMap:m,tabActivationDirection:x}=u(),[g,v]=n.useState(0),[b,y]=n.useState(null),w=n.useRef(new Set),k=n.useRef(new Set),j=n.useRef(null);(0,i.f)(()=>{if("u"<typeof ResizeObserver)return;let e=new ResizeObserver(()=>{w.current.forEach(e=>{e()})});return j.current=e,b&&e.observe(b),k.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),j.current=null}},[b]);let C=(0,a.f)(e=>(w.current.add(e),()=>{w.current.delete(e)})),z=(0,a.f)(e=>(k.current.add(e),j.current?.observe(e),()=>{k.current.delete(e),j.current?.unobserve(e)})),A=n.useMemo(()=>({activateOnFocus:l,registerIndicatorUpdateListener:C,registerTabResizeObserverElement:z,tabsListElement:b}),[l,C,z,b]);return(0,t.jsx)(M.Provider,{value:A,children:(0,t.jsx)(H.f,{render:d,className:s,style:f,state:{orientation:h,tabActivationDirection:x},refs:[r,y],props:[{"aria-orientation":"vertical"===h?"vertical":void 0,role:"tablist"},p],stateAttributesMapping:c,highlightedIndex:g,enableHomeAndEndKeys:!0,loopFocus:o,orientation:h,onHighlightedIndexChange:v,onMapChange:m,disabledIndices:V.v})})});e.s(["List",0,K,"Panel",0,E,"Root",0,x,"Tab",0,R],69281);var O=e.i(69281),O=O,W=O,q=O,F=O,J=e.i(225913),B=e.i(812437);let Z=(0,J.f)("",{variants:{variant:{segmented:"inline-flex items-center gap-0.5 rounded-md border border-border bg-muted p-0.75",line:"flex items-center gap-6 border-b border-border"}},defaultVariants:{variant:"segmented"}}),U=(0,J.f)("group/tab inline-flex items-center justify-center gap-2 font-medium whitespace-nowrap text-muted-foreground transition-colors duration-(--duration-fast) outline-none hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring data-active:text-foreground data-disabled:pointer-events-none data-disabled:opacity-45",{variants:{variant:{segmented:"h-7 gap-1.5 rounded-sm px-2.5 text-meta data-active:bg-card data-active:shadow-sm",line:"mb-[-1px] h-10 border-b-2 border-transparent px-0.5 text-body data-active:border-foreground"}},defaultVariants:{variant:"segmented"}});e.s(["Tabs",0,function({className:e,...n}){return(0,t.jsx)(O.Root,{"data-slot":"tabs",className:(0,B.f)("flex flex-col gap-4",e),...n})},"TabsContent",0,function({className:e,...n}){return(0,t.jsx)(F.Panel,{"data-slot":"tabs-content",className:(0,B.f)("outline-none",e),...n})},"TabsCount",0,function({className:e,...n}){return(0,t.jsx)("span",{"data-slot":"tabs-count",className:(0,B.f)("text-muted-foreground tabular-nums group-data-active/tab:text-foreground in-data-[variant=line]:inline-flex in-data-[variant=line]:size-5 in-data-[variant=line]:items-center in-data-[variant=line]:justify-center in-data-[variant=line]:rounded-full in-data-[variant=line]:bg-secondary in-data-[variant=line]:text-micro",e),...n})},"TabsList",0,function({className:e,variant:n="segmented",...r}){return(0,t.jsx)(W.List,{"data-slot":"tabs-list","data-variant":n,className:(0,B.f)(Z({variant:n}),"max-sm:flex max-sm:w-full max-sm:gap-0.5 max-sm:rounded-lg max-sm:border max-sm:border-border max-sm:bg-muted max-sm:p-1",e),...r})},"TabsTrigger",0,function({className:e,variant:n="segmented",...r}){return(0,t.jsx)(q.Tab,{"data-slot":"tabs-trigger",className:(0,B.f)(U({variant:n}),"max-sm:h-(--size-control-touch) max-sm:flex-1 max-sm:rounded-md max-sm:border-0 max-sm:px-3 max-sm:text-body-touch max-sm:data-active:bg-card max-sm:data-active:shadow-sm",e),...r})}],590222)}])})();
@@ -1 +1 @@
1
- (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,508734,e=>{var i=e.i(456420);let t={name:"copy",size:24,node:[["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"}]]};t.node;let n=(0,i.f)(t);e.s(["f",0,n],508734)},591703,e=>{var i=e.i(843476),t=e.i(383035),n=e.i(812437),s=e.i(861966);e.s(["f",0,function({label:e,code:r,isWrapped:a=!1,copyValue:o,copyLabel:l=`Copy ${e.toLowerCase()}`,onCopied:d,onCopyFailed:c,codeTestId:h,copyTestId:p}){return(0,i.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,i.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,i.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,i.jsx)("span",{className:"truncate",children:e})]}),(0,i.jsx)(s.f,{value:o??r,label:l,isLabeled:!0,onCopied:d,onCopyFailed:c,"data-testid":p})]}),(0,i.jsx)("pre",{"data-testid":h,className:(0,n.f)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",a?"break-all whitespace-pre-wrap":"whitespace-pre"),children:r})]})}])},861966,e=>{var i=e.i(843476),t=e.i(689664),n=e.i(508734),s=e.i(271645),r=e.i(681924);e.s(["f",0,function({value:e,label:a,size:o="xs",isLabeled:l=!1,onCopied:d,onCopyFailed:c,className:h,"data-testid":p}){let[u,x]=(0,s.useState)(!1);async function m(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}x(!0),d?.(),setTimeout(()=>{x(!1)},1500)}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.f,{variant:"ghost",size:o,isIconOnly:!l,"aria-label":a,title:l?void 0:a,icon:u?(0,i.jsx)(t.f,{"aria-hidden":!0}):(0,i.jsx)(n.f,{"aria-hidden":!0}),className:h,"data-testid":p,onClick:()=>{m()},children:l?u?"Copied":"Copy":null}),(0,i.jsx)("span",{role:"status",className:"sr-only",children:u?"Copied.":""})]})}])},20321,e=>{var i=e.i(843476),t=e.i(810818),n=e.i(591703);e.s(["f",0,function({name:e,setupLine:s,testIdPrefix:r,onCopied:a,onCopyFailed:o}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{className:"flex gap-2 rounded-lg border border-border bg-muted px-3 py-2 text-meta text-foreground",children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,i.jsxs)("span",{children:[(0,i.jsx)("span",{className:"font-medium",children:"Shown once. Copy it now."})," It carries the ship’s secret. If you lose it, get a new setup line on ",e,"’s card."]})]}),(0,i.jsx)(n.f,{label:"Setup line",code:s,isWrapped:!0,copyLabel:`Copy the setup line for ${e}`,codeTestId:`${r}-setup-line`,copyTestId:`${r}-setup-line-copy`,onCopied:a,onCopyFailed:o})]})}])},42325,e=>{var i=e.i(843476),t=e.i(422768),n=e.i(466787),s=e.i(271645),r=e.i(681924),a=e.i(923060),o=e.i(348184),l=e.i(817981),d=e.i(20321);function c({name:e,isPending:t,error:s,onConfirm:o}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.DialogHeader,{children:[(0,i.jsxs)(a.DialogTitle,{children:["Get a new setup line for ",e,"?"]}),(0,i.jsxs)(a.DialogDescription,{children:["The trierarch plugin gives ",e,"’s ship a new secret and builds the setup line with it."]})]}),(0,i.jsxs)("p",{className:"flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-meta text-tone-attention-fg",children:[(0,i.jsx)(n.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0"}),(0,i.jsx)("span",{children:"The old setup line stops working. A trierarch already running with it loses its crew; run the new line on the machine to start it again."})]}),void 0===s?null:(0,i.jsx)(l.f,{title:"Couldn’t get a new setup line",description:`${s} Nothing changed.`}),(0,i.jsxs)(a.DialogFooter,{children:[(0,i.jsx)(a.DialogClose,{render:(0,i.jsx)(r.f,{type:"button",disabled:t}),children:"Cancel"}),(0,i.jsx)(r.f,{variant:"primary",isLoading:t,onClick:o,"data-testid":"new-setup-line-confirm",children:t?"Getting new setup line":"Get new setup line"})]})]})}function h({name:e,setupLine:n}){let[o,l]=(0,s.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.DialogHeader,{children:[(0,i.jsxs)(a.DialogTitle,{children:["New setup line for ",e]}),(0,i.jsxs)(a.DialogDescription,{children:["Run the setup line on the machine. It installs the trierarch, which then crews ",e," and reports what the machine offers."]})]}),(0,i.jsx)(d.f,{name:e,setupLine:n,testIdPrefix:"new-setup-line",onCopied:()=>{l(!1)},onCopyFailed:()=>{l(!0)}}),(0,i.jsx)("p",{role:"status",className:"flex items-center gap-1.5 text-meta text-destructive-text empty:hidden",children:o?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),"Could not copy: select the text and copy it by hand."]}):null}),(0,i.jsx)(a.DialogFooter,{children:(0,i.jsx)(a.DialogClose,{render:(0,i.jsx)(r.f,{variant:"primary"}),children:"Done"})})]})}e.s(["NewSetupLineDialog",0,function({name:e,isOpen:t,onOpenChange:n,isPending:s,error:r,setupLine:l,onConfirm:d}){return(0,i.jsx)(a.Dialog,{open:t,onOpenChange:e=>{s||n(e)},children:(0,i.jsx)(a.DialogContent,{size:"md","data-testid":"new-setup-line-dialog",className:o.f.phoneFullScreen,children:void 0===l?(0,i.jsx)(c,{name:e,isPending:s,error:r,onConfirm:d}):(0,i.jsx)(h,{name:e,setupLine:l})})})}])}])})();
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,508734,e=>{var i=e.i(456420);let t={name:"copy",size:24,node:[["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"}]]};t.node;let n=(0,i.f)(t);e.s(["f",0,n],508734)},591703,e=>{var i=e.i(843476),t=e.i(383035),n=e.i(812437),s=e.i(861966);e.s(["f",0,function({label:e,code:r,isWrapped:a=!1,copyValue:o,copyLabel:l=`Copy ${e.toLowerCase()}`,onCopied:d,onCopyFailed:c,codeTestId:h,copyTestId:p}){return(0,i.jsxs)("div",{"data-slot":"code-block",className:"overflow-hidden rounded-lg border border-border bg-muted",children:[(0,i.jsxs)("div",{className:"flex h-9 items-center justify-between gap-2 border-b border-border pr-1.5 pl-3",children:[(0,i.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 text-caption text-muted-foreground",children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),(0,i.jsx)("span",{className:"truncate",children:e})]}),(0,i.jsx)(s.f,{value:o??r,label:l,isLabeled:!0,onCopied:d,onCopyFailed:c,"data-testid":p})]}),(0,i.jsx)("pre",{"data-testid":h,className:(0,n.f)("overflow-x-auto px-3 py-3 font-mono text-code text-foreground",a?"break-all whitespace-pre-wrap":"whitespace-pre"),children:r})]})}])},861966,e=>{var i=e.i(843476),t=e.i(689664),n=e.i(508734),s=e.i(271645),r=e.i(681924);e.s(["f",0,function({value:e,label:a,size:o="xs",isLabeled:l=!1,onCopied:d,onCopyFailed:c,className:h,"data-testid":p}){let[u,x]=(0,s.useState)(!1);async function m(){try{await navigator.clipboard.writeText(e)}catch{c?.();return}x(!0),d?.(),setTimeout(()=>{x(!1)},1500)}return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.f,{variant:"ghost",size:o,isIconOnly:!l,"aria-label":a,title:l?void 0:a,icon:u?(0,i.jsx)(t.f,{"aria-hidden":!0}):(0,i.jsx)(n.f,{"aria-hidden":!0}),className:h,"data-testid":p,onClick:()=>{m()},children:l?u?"Copied":"Copy":null}),(0,i.jsx)("span",{role:"status",className:"sr-only",children:u?"Copied.":""})]})}])},20321,e=>{var i=e.i(843476),t=e.i(810818),n=e.i(591703);e.s(["f",0,function({name:e,setupLine:s,testIdPrefix:r,onCopied:a,onCopyFailed:o}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{className:"flex gap-2 rounded-lg border border-border bg-muted px-3 py-2 text-meta text-foreground",children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0 text-muted-foreground"}),(0,i.jsxs)("span",{children:[(0,i.jsx)("span",{className:"font-medium",children:"Shown once. Copy it now."})," It carries the ship’s secret. If you lose it, get a new setup line on ",e,"’s card."]})]}),(0,i.jsx)(n.f,{label:"Setup line",code:s,isWrapped:!0,copyLabel:`Copy the setup line for ${e}`,codeTestId:`${r}-setup-line`,copyTestId:`${r}-setup-line-copy`,onCopied:a,onCopyFailed:o})]})}])},42325,e=>{var i=e.i(843476),t=e.i(422768),n=e.i(466787),s=e.i(271645),r=e.i(681924),a=e.i(923060),o=e.i(348184),l=e.i(895e3),d=e.i(20321);function c({name:e,isPending:t,error:s,onConfirm:o}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.DialogHeader,{children:[(0,i.jsxs)(a.DialogTitle,{children:["Get a new setup line for ",e,"?"]}),(0,i.jsxs)(a.DialogDescription,{children:["The trierarch plugin gives ",e,"’s ship a new secret and builds the setup line with it."]})]}),(0,i.jsxs)("p",{className:"flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-meta text-tone-attention-fg",children:[(0,i.jsx)(n.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0"}),(0,i.jsx)("span",{children:"The old setup line stops working. A trierarch already running with it loses its crew; run the new line on the machine to start it again."})]}),void 0===s?null:(0,i.jsx)(l.f,{title:"Couldn’t get a new setup line",description:`${s} Nothing changed.`}),(0,i.jsxs)(a.DialogFooter,{children:[(0,i.jsx)(a.DialogClose,{render:(0,i.jsx)(r.f,{type:"button",disabled:t}),children:"Cancel"}),(0,i.jsx)(r.f,{variant:"primary",isLoading:t,onClick:o,"data-testid":"new-setup-line-confirm",children:t?"Getting new setup line":"Get new setup line"})]})]})}function h({name:e,setupLine:n}){let[o,l]=(0,s.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.DialogHeader,{children:[(0,i.jsxs)(a.DialogTitle,{children:["New setup line for ",e]}),(0,i.jsxs)(a.DialogDescription,{children:["Run the setup line on the machine. It installs the trierarch, which then crews ",e," and reports what the machine offers."]})]}),(0,i.jsx)(d.f,{name:e,setupLine:n,testIdPrefix:"new-setup-line",onCopied:()=>{l(!1)},onCopyFailed:()=>{l(!0)}}),(0,i.jsx)("p",{role:"status",className:"flex items-center gap-1.5 text-meta text-destructive-text empty:hidden",children:o?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.f,{"aria-hidden":!0,className:"size-(--size-icon-sm) shrink-0"}),"Could not copy: select the text and copy it by hand."]}):null}),(0,i.jsx)(a.DialogFooter,{children:(0,i.jsx)(a.DialogClose,{render:(0,i.jsx)(r.f,{variant:"primary"}),children:"Done"})})]})}e.s(["NewSetupLineDialog",0,function({name:e,isOpen:t,onOpenChange:n,isPending:s,error:r,setupLine:l,onConfirm:d}){return(0,i.jsx)(a.Dialog,{open:t,onOpenChange:e=>{s||n(e)},children:(0,i.jsx)(a.DialogContent,{size:"md","data-testid":"new-setup-line-dialog",className:o.f.phoneFullScreen,children:void 0===l?(0,i.jsx)(c,{name:e,isPending:s,error:r,onConfirm:d}):(0,i.jsx)(h,{name:e,setupLine:l})})})}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,133173,e=>{var t=e.i(843476),s=e.i(93976),i=e.i(62050),a=e.i(145017),n=e.i(547125),r=e.i(410030),o=e.i(458998),l=e.i(394313),d=e.i(253535),c=e.i(998919),m=e.i(689664),u=e.i(271645),h=e.i(812437),p=e.i(527256);e.s(["f",0,function({options:e,value:f,onValueChange:x,isFreeText:g=!1,toQuery:v,onQueryChange:b,groupLabel:j,emptyText:w,leadingIcon:N,placeholder:y,id:k,isInvalid:C=!1,"aria-describedby":I,"aria-label":P,"data-testid":S}){let z=e.find(e=>e.value===f),[L,T]=(0,u.useState)(z?.label??(g?f??"":"")),[D,$]=(0,u.useState)(!1),R=e.filter(e=>e.label.toLowerCase().includes(L.trim().toLowerCase())),q=z?.label===L?z:void 0,M=void 0!==q&&(void 0!==q.detail||void 0!==q.trailing),F=g?e.find(e=>e.label===L):z;return(0,t.jsxs)(s.f.Root,{items:R,filter:null,value:F??null,itemToStringLabel:e=>e.label,isItemEqualToValue:(e,t)=>e.value===t.value,inputValue:L,open:D&&""!==L.trim(),onOpenChange:$,onInputValueChange:(e,t)=>{if(g&&"input-change"!==t.reason&&"item-press"!==t.reason)return;let s="input-change"===t.reason&&v?v(e):e;T(s),"input-change"===t.reason&&b?.(s),g?x(""===s?null:s):void 0!==z&&s!==z.label&&x(null)},onValueChange:e=>{e&&(T(e.label),x(g?e.label:e.value))},children:[(0,t.jsxs)("div",{className:"relative w-full [&_svg]:size-(--size-icon)",children:[N?(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-3 flex items-center text-muted-foreground",children:N}):null,(0,t.jsx)(i.f.Input,{id:k,placeholder:y,"aria-invalid":C,"aria-describedby":I,"aria-label":P,"data-testid":S,"data-slot":"combobox-input",className:(0,h.f)((0,p.B)({isMono:!0}),N?"pl-9":void 0,M?"pr-44 max-sm:pr-28":void 0)}),M?(0,t.jsxs)("span",{className:"pointer-events-none absolute inset-y-0 right-2.5 flex items-center gap-2",children:[q.detail?(0,t.jsx)("span",{className:"truncate text-meta text-muted-foreground max-sm:hidden",children:q.detail}):null,q.trailing]}):null]}),(0,t.jsx)(a.f.Portal,{children:(0,t.jsx)(n.f.Positioner,{className:"isolate z-50 outline-none",sideOffset:4,children:(0,t.jsxs)(r.f.Popup,{"data-slot":"combobox-content",className:"max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-y-auto rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-lg duration-(--duration-fast) outline-none data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",children:[w?(0,t.jsx)(o.f.Empty,{className:"px-2.5 py-2 text-meta text-muted-foreground empty:hidden",children:w(L.trim())}):null,(0,t.jsxs)(l.f.List,{children:[j&&R.length>0?(0,t.jsx)("div",{className:"px-2.5 pt-1.5 pb-1 text-caption text-muted-foreground",children:j}):null,R.map(e=>(0,t.jsxs)(d.f.Item,{value:e,"data-slot":"combobox-item",className:"relative flex min-h-8.5 items-center gap-2.5 rounded-sm pr-8 pl-2.5 text-body text-foreground outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-45 data-highlighted:bg-accent",children:[(0,t.jsx)("span",{className:"font-mono text-id font-medium",children:e.label}),e.detail?(0,t.jsx)("span",{className:"truncate text-meta text-muted-foreground",children:e.detail}):null,e.trailing?(0,t.jsx)("span",{className:"ml-auto flex items-center",children:e.trailing}):null,(0,t.jsx)(c.f.ItemIndicator,{className:"absolute right-2.5 flex items-center",children:(0,t.jsx)(m.f,{"aria-hidden":!0,className:"size-(--size-icon)"})})]},e.value))]})]})})})]})}])},443988,e=>{var t=e.i(843476),s=e.i(225913),i=e.i(812437);let a=(0,s.f)("w-full min-w-0 resize-none rounded-md border border-input bg-card px-3 py-2 text-foreground shadow-sm transition-[border-color,box-shadow] duration-(--duration-fast) outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/22 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/16 disabled:cursor-not-allowed disabled:bg-muted disabled:opacity-50 disabled:shadow-none",{variants:{size:{md:"text-body",touch:"rounded-lg text-input-touch"},isMono:{true:"font-mono",false:""}},compoundVariants:[{size:"md",isMono:!0,className:"text-code"}],defaultVariants:{size:"md",isMono:!1}});e.s(["f",0,function({className:e,size:s,isMono:n,rows:r=4,...o}){return(0,t.jsx)("textarea",{"data-slot":"textarea",rows:r,className:(0,i.f)(a({size:s,isMono:n}),e),...o})}])},675774,e=>{var t=e.i(843476),s=e.i(375773),i=e.i(895e3),a=e.i(271645),n=e.i(808041),r=e.i(866616),o=e.i(946033),l=e.i(443988),d=e.i(404032),c=e.i(757364);function m({id:e,label:a,isOptional:n,hint:r,error:o,children:l}){return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)(s.f,{htmlFor:e,children:[a,n?(0,t.jsx)("span",{className:"font-normal text-muted-foreground",children:" optional"}):null]}),l,void 0===r?null:(0,t.jsx)("p",{className:"text-meta text-muted-foreground",children:r}),void 0===o?null:(0,t.jsx)(i.f,{variant:"field",title:o})]})}function u({id:e,items:s,value:i,onPick:a,isDisabled:n,testId:r}){return(0,t.jsxs)(o.d,{items:s,value:i,disabled:n,onValueChange:e=>{"string"==typeof e&&a(e)},children:[(0,t.jsx)(o.P,{id:e,className:"h-(--size-control) w-full","data-testid":r,children:(0,t.jsx)(o.U,{})}),(0,t.jsx)(o.r,{children:Object.entries(s).map(([e,s])=>(0,t.jsx)(o.T,{value:e,children:s},e))})]})}e.s(["f",0,function({shipName:e,offers:s,values:i,onChange:o,firstPromptMaxBytes:h,squadrons:p,refusal:f,isDisabled:x=!1,machineLabels:g}){var v;let b={harness:(0,a.useId)(),workspace:(0,a.useId)(),options:(0,a.useId)(),firstPrompt:(0,a.useId)(),squadron:(0,a.useId)()},j=s.find(e=>e.harness===i.harness),w=e=>f?.field===e?f.reason:void 0,N=(0,n.R)(i.firstPrompt),y=N>h,k=Object.fromEntries([...(j?.repositories??[]).map(e=>[`worktree:${e}`,`${e} \xb7 new worktree`]),...(j?.folders??[]).map(e=>[`folder:${e}`,`${e} \xb7 folder, as it is`])]);return(0,t.jsxs)("div",{className:"flex flex-col gap-4","data-testid":"crew-settings-fields",children:[(0,t.jsx)(m,{id:b.harness,label:"Harness",error:w("harness"),children:(0,t.jsx)(u,{id:b.harness,items:Object.fromEntries(s.map(e=>[e.harness,(0,r.f)(e.harness)])),value:i.harness,isDisabled:x,testId:"crew-settings-harness",onPick:e=>{o((0,n.L)(i,{harness:e,offers:s}))}})}),(0,t.jsx)(m,{id:b.workspace,label:"Workspace",hint:"A repository gets a new git worktree for this ship; a folder is used as it is, shared by the ships in it.",error:w("workspace"),children:(0,t.jsx)(u,{id:b.workspace,items:k,value:void 0===(v=i.workspace)?"":"worktree"===v.kind?`worktree:${v.repository}`:`folder:${v.name}`,isDisabled:x,testId:"crew-settings-workspace",onPick:e=>{o({...i,workspace:function(e){let[t,...s]=e.split(":"),i=s.join(":");return"worktree"===t?{kind:"worktree",repository:i}:"folder"===t?{kind:"folder",name:i}:void 0}(e)})}})}),void 0===g?null:(0,t.jsx)(d.f,{shipName:e,picked:g.chipsOf(i.machineLabels),groups:g.groups,match:g.matchOf(i.machineLabels),max:g.max,isDisabled:x,onAdd:e=>{o({...i,machineLabels:[...i.machineLabels,e]})},onRemove:e=>{o({...i,machineLabels:i.machineLabels.filter(t=>t!==e)})}}),(0,t.jsx)(c.f,{shipName:e,picked:i.mcpServers,offered:j?.mcpServers??[],isDisabled:x,onAdd:e=>{o({...i,mcpServers:[...i.mcpServers,e]})},onRemove:e=>{o({...i,mcpServers:i.mcpServers.filter(t=>t!==e)})}}),(j?.options??[]).map((e,s)=>(0,t.jsx)(m,{id:`${b.options}-${String(s)}`,label:e.name,error:0===s?w("options"):void 0,children:(0,t.jsx)(u,{id:`${b.options}-${String(s)}`,items:Object.fromEntries(e.values.map(t=>[t,t===e.defaultValue?`${t} (default)`:t])),value:i.options[e.name]??"",isDisabled:x,testId:`crew-settings-option-${e.name}`,onPick:t=>{o({...i,options:{...i.options,[e.name]:t}})}})},e.name)),(0,t.jsx)(m,{id:b.firstPrompt,label:"First prompt",isOptional:!0,hint:(0,t.jsxs)("span",{className:"flex justify-between gap-3",children:[(0,t.jsx)("span",{children:"The session starts with it, on its first start only."}),(0,t.jsxs)("span",{className:"tabular-nums",children:[(0,n.Q)(N)," of ",(0,n.Q)(h)]})]}),error:y?`A first prompt is at most ${(0,n.Q)(h)}.`:w("firstPrompt"),children:(0,t.jsx)(l.f,{id:b.firstPrompt,rows:3,disabled:x,"aria-invalid":!!y||void 0,"data-testid":"crew-settings-first-prompt",value:i.firstPrompt,onChange:e=>{o({...i,firstPrompt:e.target.value})}})}),void 0===p?null:(0,t.jsx)(m,{id:b.squadron,label:"Squadron",isOptional:!0,hint:"The session starts with that squadron’s crew line and template.",error:w("squadron"),children:(0,t.jsx)(u,{id:b.squadron,items:{"":"None",...Object.fromEntries(p.map(e=>[e,e]))},value:i.squadron,isDisabled:x,testId:"crew-settings-squadron",onPick:e=>{o({...i,squadron:e})}})})]})}])},404032,757364,e=>{var t=e.i(843476),s=e.i(422768),i=e.i(474544),a=e.i(77071),n=e.i(263676),r=e.i(522016),o=e.i(271645),l=e.i(770703),d=e.i(878608),c=e.i(681924),m=e.i(406734),u=e.i(695960);let h=(0,l.default)(()=>e.A(867858).then(e=>e.LabelPicker),{loadableGenerated:{modules:[259068]},ssr:!1});function p({groups:e,picked:s,isDisabled:i,onAdd:n}){let[l,d]=(0,o.useState)(!1);return(0,t.jsxs)(m.V,{open:l,onOpenChange:d,children:[(0,t.jsx)(m.J,{render:(0,t.jsx)(c.f,{type:"button",variant:"ghost",size:"xs",icon:(0,t.jsx)(a.f,{}),disabled:i,"data-testid":"machine-labels-add"}),children:"Add label"}),(0,t.jsxs)(m.T,{align:"start",sideOffset:6,className:"w-80 p-2","data-testid":"machine-labels-popover",children:[(0,t.jsx)("span",{className:"block px-2 pt-1 pb-2 text-body font-medium",children:"Machine label"}),(0,t.jsx)(h,{groups:e,pickedValueIds:s.map(e=>e.valueId),countWord:"machine",onPick:e=>{d(!1),n(e)}}),(0,t.jsxs)("p",{className:"mt-2 flex items-center justify-between gap-2 border-t border-border px-2 pt-2 text-meta text-muted-foreground",children:["Exact matches, all must hold.",(0,t.jsx)(r.default,{href:"/labels",className:"font-medium text-foreground hover:underline",children:"Manage labels"})]})]})]})}e.s(["f",0,function({shipName:e,picked:a,groups:r,match:l,max:c,isDisabled:m,onAdd:h,onRemove:f,unknown:x=[],onRemoveUnknown:g}){let v=(0,d.o)(a.length);return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5","data-testid":"machine-labels",children:[(0,t.jsxs)("span",{className:"text-body font-medium",children:["Machine labels",(0,t.jsx)("span",{className:"font-normal text-muted-foreground",children:" optional"})]}),(0,t.jsxs)("div",{className:"flex min-h-(--size-control-sm) flex-wrap items-center gap-1.5",children:[0===a.length?(0,t.jsx)("span",{className:"text-meta text-muted-foreground",children:"Any machine"}):null,a.map((e,s)=>(0,t.jsxs)(o.Fragment,{children:[0===s?null:(0,t.jsx)("span",{className:"text-meta text-muted-foreground",children:"and"}),(0,t.jsx)(u.f,{chip:e,testId:"machine-label",...m?{}:{onRemove:()=>{f(e.valueId)}}})]},e.valueId)),x.map(e=>(0,t.jsxs)("span",{"data-testid":"machine-label-unknown",title:`${e}: not in this fleet`,className:"inline-flex h-5.5 items-center gap-1 rounded-sm border border-tone-attention-border bg-tone-attention-bg px-1.5 font-mono text-id text-tone-attention-fg [&_svg]:size-3",children:[(0,t.jsx)(s.f,{"aria-hidden":!0}),e,void 0===g||m?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${e}`,onClick:()=>{g(e)},className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs hover:bg-accent focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(n.X,{"aria-hidden":!0})})]},e)),a.length+x.length>=c?null:(0,t.jsx)(p,{groups:r,picked:a,isDisabled:m,onAdd:h})]}),0===x.length?null:(0,t.jsxs)("p",{role:"alert","data-testid":"machine-labels-unknown-note",className:"text-meta text-tone-attention-fg",children:["Not in this fleet: ",x.join(", "),". Forming refuses ",1===x.length?"it":"them",": define ",1===x.length?"it":"them"," on the Labels page, or remove ",1===x.length?"it":"them"," here."]}),0===a.length?null:0===l.matching.length?(0,t.jsxs)("p",{role:"status","data-testid":"machine-labels-match",className:"flex items-start gap-2 rounded-lg border border-tone-waiting-border bg-tone-waiting-bg px-3 py-2 text-meta text-tone-waiting-fg [&_svg]:mt-0.5 [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0",children:[(0,t.jsx)(i.f,{"aria-hidden":!0}),(0,t.jsxs)("span",{children:["No machine matches ",v.these,". You can still request: it waits on Needs crew until a machine ",v.carries,"."]})]}):(0,t.jsxs)("p",{className:"text-meta","data-testid":"machine-labels-match",children:["Matches ",l.matching.length," of ",l.total," ",1===l.total?"machine":"machines",": ",l.matching.join(", "),"."]}),(0,t.jsxs)("p",{className:"text-meta text-muted-foreground",children:["The plugin places ",e," only on a machine that carries every label here. Leave it empty for any machine."]})]})}],404032);var f=e.i(646013),x=e.i(912407);function g({server:e,onRemove:s}){return(0,t.jsxs)("span",{"data-testid":"mcp-server",className:"inline-flex h-5.5 max-w-full min-w-0 shrink-0 items-center gap-1 rounded-sm border border-border bg-secondary px-1.5 font-mono text-id whitespace-nowrap text-foreground [&_svg]:size-3 [&_svg]:shrink-0 [&_svg]:text-muted-foreground",children:[(0,t.jsx)("span",{className:"truncate",children:e}),void 0===s?null:(0,t.jsx)("button",{type:"button","aria-label":`Remove ${e}`,onClick:s,className:"-mr-1 ml-0.5 inline-flex size-4 items-center justify-center rounded-xs text-muted-foreground hover:bg-accent hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring",children:(0,t.jsx)(n.X,{"aria-hidden":!0})})]})}e.s(["f",0,function({shipName:e,picked:s,offered:i,isDisabled:n=!1,onAdd:r,onRemove:o}){let l=i.filter(e=>!s.includes(e)),d=i.length>0&&0===l.length,m=(0,t.jsx)(c.f,{type:"button",variant:"ghost",size:"xs",icon:(0,t.jsx)(a.f,{}),disabled:n||d,focusableWhenDisabled:d&&!n,"data-testid":"mcp-servers-add",children:"Add server"});return(0,t.jsxs)("div",{className:"flex flex-col gap-1.5","data-testid":"mcp-servers",children:[(0,t.jsxs)("span",{className:"text-body font-medium",children:["MCP servers",(0,t.jsx)("span",{className:"font-normal text-muted-foreground",children:" optional"})]}),(0,t.jsxs)("div",{className:"flex min-h-(--size-control-sm) flex-wrap items-center gap-1.5",children:[0===s.length?(0,t.jsx)("span",{className:"text-meta text-muted-foreground",children:"None"}):null,s.map(e=>(0,t.jsx)(g,{server:e,onRemove:n?void 0:()=>{o(e)}},e)),d?(0,t.jsxs)(x.Tooltip,{children:[(0,t.jsx)(x.TooltipTrigger,{render:m}),(0,t.jsx)(x.TooltipContent,{children:"Every offered server is added."})]}):(0,t.jsxs)(f.DropdownMenu,{children:[(0,t.jsx)(f.DropdownMenuTrigger,{render:m}),(0,t.jsx)(f.DropdownMenuContent,{align:"start",children:0===l.length?(0,t.jsx)("p",{"data-testid":"mcp-servers-none-offered",className:"max-w-64 px-2 py-1.5 text-meta text-muted-foreground",children:"No machine offers an MCP server for this harness yet."}):l.map(e=>(0,t.jsx)(f.DropdownMenuItem,{className:"font-mono text-id",onClick:()=>{r(e)},children:e},e))})]})]}),(0,t.jsxs)("p",{className:"text-meta text-muted-foreground",children:[e,"’s session starts with these servers’ tools, read-only. The plugin places it only on a machine that offers every one."]})]})}],757364)},902527,e=>{var t=e.i(843476),s=e.i(367795),i=e.i(285595),a=e.i(316984),n=e.i(980799),r=e.i(271645),o=e.i(681924),l=e.i(812437),d=e.i(923060),c=e.i(348184),m=e.i(527256),u=e.i(375773),h=e.i(682592),p=e.i(681382),f=e.i(895e3),x=e.i(34512),g=e.i(808041),v=e.i(165160),b=e.i(133173),j=e.i(443988),w=e.i(675774),N=e.i(577435),y=e.i(516752);function k({types:e,taken:c,onTypedChange:C,isPending:I,error:P,shipLimit:S,accountUrl:z,crewRequest:L,scopeGroups:T,onSubmit:D}){let{shipHandleMaxLength:$,firstPromptMaxBytes:R}=(0,x.x)(),q=(0,r.useId)(),M=(0,r.useId)(),F=(0,r.useId)(),O=(0,r.useId)(),V=(0,r.useId)(),A=(0,r.useId)(),[E,_]=(0,r.useState)(""),[B,U]=(0,r.useState)(""),[Q,W]=(0,r.useState)(""),[H,X]=(0,r.useState)([]),[G,K]=(0,r.useState)(void 0!==L),[Y,Z]=(0,r.useState)(()=>(0,g.P)(L?.offers??[])),J=Y.machineLabels.length>0&&L?.machineLabels?.matchOf(Y.machineLabels).matching.length===0,ee=(0,g.B)(Y),et=L?.check?.kind==="refused"?L.check:void 0,es=!G||void 0===L||void 0!==ee&&void 0===et&&(0,g.R)(Y.firstPrompt)<=R,ei=(0,v.L)(E,{activeNames:c.names}),ea="invalid"===ei.kind||"reserved"===ei.kind||"taken"===ei.kind,en=B.trim(),er=(0,s.C)(en),eo=""!==en&&!er,el="available"===ei.kind&&er&&void 0===S&&es,ed=void 0!==L&&G;return(0,t.jsxs)("form",{noValidate:!0,"data-testid":"commission-form",className:"contents",onSubmit:e=>{e.preventDefault(),el&&D({name:E,type:en,...""===Q.trim()?{}:{note:Q},...0===H.length?{}:{scopes:[...H]}},G?void 0===L?{settings:{}}:void 0===ee?void 0:{settings:ee}:void 0)},children:[(0,t.jsxs)(d.DialogHeader,{children:[(0,t.jsx)(d.DialogTitle,{children:"Commission a ship"}),(0,t.jsx)(d.DialogDescription,{children:ed?"A durable identity with its own inbox, and a crew request so it gets a session right away.":"A ship is a durable agent identity with its own inbox. Next, you get the starting prompt."})]}),void 0===S?null:(0,t.jsx)(N.f,{...(0,y.y)(S),accountUrl:z,testId:"commission-ship-limit"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,t.jsx)(u.f,{htmlFor:q,children:"Name"}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground tabular-nums",children:[E.length," / ",$]})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(m.e,{id:q,isMono:!0,autoComplete:"off",autoCapitalize:"off",spellCheck:!1,placeholder:"e.g. reviewer-02","data-testid":"commission-name","aria-invalid":!!ea||void 0,"aria-describedby":M,className:"pr-9 max-sm:h-(--size-control-touch) max-sm:text-input-touch",value:E,onChange:e=>{_((0,v.I)(e.target.value)),C?.({name:(0,v.I)(e.target.value),type:en})}}),"available"===ei.kind?(0,t.jsx)(i.f,{"aria-hidden":!0,className:"absolute top-1/2 right-3 size-(--size-icon) -translate-y-1/2 text-tone-ok-fg"}):ea?(0,t.jsx)(a.f,{"aria-hidden":!0,className:"absolute top-1/2 right-3 size-(--size-icon) -translate-y-1/2 text-destructive-text"}):null]}),(0,t.jsx)("p",{id:M,"aria-live":"polite",className:(0,l.f)("text-meta",ea?"text-destructive-text":"text-muted-foreground"),children:ei.message})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)(u.f,{htmlFor:F,children:"Type"}),(0,t.jsx)(b.f,{id:F,options:e.map(e=>({value:e,label:e})),value:""===B?null:B,onValueChange:e=>{U(e??""),C?.({name:E,type:(e??"").trim()})},isFreeText:!0,toQuery:v.I,leadingIcon:(0,t.jsx)(n.f,{}),placeholder:"e.g. reviewer",isInvalid:eo,"aria-describedby":O,"data-testid":"commission-type"}),(0,t.jsx)("p",{id:O,className:(0,l.f)("text-meta",eo?"text-destructive-text":"text-muted-foreground"),children:eo?`Use 1 to ${String($)} lowercase letters, digits, hyphens or colons.`:(0,v.t)(B,c.typeShipCounts.get(en))})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)(u.f,{htmlFor:V,children:"Note (optional)"}),(0,t.jsx)(j.f,{id:V,rows:2,"data-testid":"commission-note",value:Q,onChange:e=>{W(e.target.value)}})]}),void 0===T?(0,t.jsx)("p",{className:"text-meta text-muted-foreground","data-testid":"commission-scopes-reading",children:"Reading the fleet's scopes."}):T.map(e=>(0,t.jsxs)("div",{className:"flex flex-col gap-2","data-testid":`commission-scopes-${e.namespace??"fleet"}`,children:[(0,t.jsx)(h.ScopePicker,{label:(0,t.jsxs)(t.Fragment,{children:[e.title," ",null===e.namespace?null:(0,t.jsx)("span",{className:"font-mono text-id text-muted-foreground",children:e.namespace})]}),listed:e.scopes,picked:H.filter(t=>e.scopes.some(e=>e.scope===t)),onPick:t=>{X(s=>[...s.filter(t=>!e.scopes.some(e=>e.scope===t)),...t])},isDisabled:I}),null===e.namespace?(0,t.jsx)("p",{className:"text-meta text-muted-foreground",children:"Every ship sends and receives. Fleet access lets its session act as the console does; crew ships lets a trierarch start their sessions. It cannot be changed later."}):null]},e.namespace??"")),(0,t.jsxs)("div",{className:"flex flex-col gap-3 border-t border-border pt-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)(u.f,{htmlFor:A,children:"Request a crew"}),(0,t.jsx)(p.Switch,{id:A,checked:G,onCheckedChange:K,"data-testid":"commission-request-crew"})]}),(0,t.jsx)("p",{className:"-mt-2 text-meta text-muted-foreground",children:void 0===L?`Puts ${""===E?"the ship":E} on your Needs crew list until you crew it by hand. You get its starting prompt next either way.`:"The trierarch plugin picks a trierarch that starts the session and keeps it crewed."}),ed?(0,t.jsx)(w.f,{shipName:""===E.trim()?"this ship":E.trim(),offers:L.offers,values:Y,firstPromptMaxBytes:R,onChange:e=>{Z(e),L.onSettingsChange((0,g.B)(e))},squadrons:L.squadrons,refusal:et,isDisabled:I,...void 0===L.machineLabels?{}:{machineLabels:L.machineLabels}}):null]}),void 0===P?null:(0,t.jsx)(f.f,{title:"Not commissioned",description:P}),(0,t.jsxs)(d.DialogFooter,{className:"items-center",children:[void 0===L?null:(0,t.jsx)("span",{className:"mr-auto text-meta text-muted-foreground","data-testid":"commission-crew-note",children:G?J?"The request will wait for a machine with these labels.":L.check?.kind==="noRoom"?"The request will wait for room.":"Uncheck Request a crew to get the starting prompt instead.":null}),(0,t.jsx)(d.DialogClose,{render:(0,t.jsx)(o.f,{type:"button",disabled:I}),children:"Cancel"}),(0,t.jsx)(o.f,{type:"submit",variant:"primary",isLoading:I,disabled:!el,"data-testid":"commission-submit",children:I?"Commissioning":ed?"Commission and request crew":"Commission ship"})]})]})}e.s(["CommissionDialog",0,function(e){let{isOpen:s,onOpenChange:i,isPending:a}=e;return(0,t.jsx)(d.Dialog,{open:s,onOpenChange:e=>{a||i(e)},children:(0,t.jsx)(d.DialogContent,{size:"md","data-testid":"commission-dialog",className:c.f.phoneFullScreen,children:(0,t.jsx)(k,{...e})})})}])},165160,e=>{var t=e.i(367795),s=e.i(890135);let i=`Lowercase letters, digits, hyphens and colons, up to ${String(t.Z)} characters, unique among active ships.`;e.s(["I",0,function(e){return e.toLowerCase()},"L",0,function(e,a){return""===e?{kind:"empty",message:i}:(0,t.C)(e)?e===s.D?{kind:"reserved",message:`${s.D} is reserved for the operator ship.`}:e===a.current?{kind:"unchanged",message:"That is its name now."}:a.activeNames.includes(e)?{kind:"taken",message:`${e} is already used by an active ship.`}:{kind:"available",message:`${e} is available.`}:{kind:"invalid",message:`Use 1 to ${String(t.Z)} lowercase letters, digits, hyphens or colons.`}},"t",0,function(e,t){let s=e.trim();return""===s||void 0===t?"Free text. Pick a type in use or write a new one.":0===t?`No ship uses this type yet. ${s} becomes a new type.`:1===t?"1 ship uses this type.":`${String(t)} ships use this type.`}])},375773,e=>{var t=e.i(843476),s=e.i(812437);e.s(["f",0,function({className:e,htmlFor:i,...a}){return(0,t.jsx)("label",{"data-slot":"label",htmlFor:i,className:(0,s.f)("text-body font-medium text-foreground select-none",e),...a})}])},681382,e=>{var t=e.i(843476),s=e.i(271645),i=e.i(951437),a=e.i(828918),n=e.i(146376),r=e.i(502077),o=e.i(956789),l=e.i(552245),d=e.i(788015),c=e.i(540886),m=e.i(733332);let u=s.createContext(void 0),h={...e.i(875812).s,checked:e=>e?{"data-checked":""}:{"data-unchecked":""}};var p=e.i(64350),f=e.i(469690),x=e.i(381104),g=e.i(884708),v=e.i(247778),b=e.i(31421),j=e.i(538489),w=e.i(675606),N=e.i(380025),y=e.i(606039);let k=s.forwardRef(function(e,m){let{checked:k,className:C,defaultChecked:I,"aria-labelledby":P,form:S,id:z,inputRef:L,name:T,nativeButton:D=!1,onCheckedChange:$,readOnly:R=!1,required:q=!1,disabled:M=!1,render:F,uncheckedValue:O,value:V,style:A,...E}=e,{clearErrors:_}=(0,g.f)(),{state:B,setTouched:U,setDirty:Q,validityData:W,setFilled:H,setFocused:X,validationMode:G,disabled:K,name:Y,validation:Z}=(0,f.U)(),{labelId:J}=(0,v.f)(),ee=K||M,et=Y??T,es=s.useRef(null),ei=(0,a.A)(es,L,Z.inputRef),ea=s.useRef(null),en=(0,d.f)(),er=(0,j.f)({id:z}),eo=D?void 0:er,[el,ed]=(0,i.f)({controlled:k,default:!!I,name:"Switch",state:"checked"});(0,x.f)(ea,en,el,void 0,!ee,T),(0,n.f)(()=>{H(el)},[el,H]),(0,y.f)(el,()=>{_(et),Q(el!==W.initialValue),Z.change(el)});let{getButtonProps:ec,buttonRef:em}=(0,c.f)({disabled:ee,native:D}),eu=(0,b.f)(P,J,es,!D,eo),eh={...Z.getValidationProps(ee),checked:el,disabled:ee,form:S,id:eo,name:et,required:q,style:et?r.L:r.p,tabIndex:-1,type:"checkbox","aria-hidden":!0,ref:ei,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(R)return void e.preventDefault();let t=e.currentTarget.checked,s=(0,w.j)(N.f.none,e.nativeEvent);$?.(t,s),s.isCanceled||ed(t)},onClick(e){e.stopPropagation()},onFocus(){ea.current?.focus()},...void 0!==V?{value:V}:o.w},ep=s.useMemo(()=>({...B,checked:el,disabled:ee,readOnly:R,required:q}),[B,el,ee,R,q]),ef=(0,l.f)("span",e,{state:ep,ref:[m,ea,em],props:[{id:D?er:en,role:"switch","aria-checked":el,"aria-readonly":R||void 0,"aria-required":q||void 0,"aria-labelledby":eu,onFocus(){ee||X(!0)},onBlur(){let e=es.current;e&&!ee&&(U(!0),X(!1),"onBlur"===G&&Z.commit(e.checked))},onClick(e){if(R||ee)return;e.preventDefault();let t=es.current;t&&(0,p.f)(t,e)}},E,ec,e=>Z.getValidationProps(ee,e)],stateAttributesMapping:h});return(0,t.jsxs)(u.Provider,{value:ep,children:[ef,!el&&et&&void 0!==O&&(0,t.jsx)("input",{type:"hidden",form:S,name:et,value:O,disabled:ee}),(0,t.jsx)("input",{...eh,suppressHydrationWarning:!0})]})}),C=s.forwardRef(function(e,t){let{render:i,className:a,style:n,...r}=e,o=function(){let e=s.useContext(u);if(void 0===e)throw Error((0,m.f)(63));return e}();return(0,l.f)("span",e,{state:o,ref:t,stateAttributesMapping:h,props:r})});e.s(["Root",0,k,"Thumb",0,C],450994);var I=e.i(450994),I=I,P=I,S=e.i(812437);e.s(["Switch",0,function({className:e,...s}){return(0,t.jsx)(I.Root,{"data-slot":"switch",className:(0,S.f)("peer inline-flex h-5 w-8.5 shrink-0 items-center rounded-full border border-transparent bg-input p-0.5 transition-colors duration-(--duration-fast) outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring data-checked:bg-primary data-disabled:opacity-45",e),...s,children:(0,t.jsx)(P.Thumb,{"data-slot":"switch-thumb",className:"pointer-events-none block size-4 rounded-full bg-card shadow-sm transition-transform duration-(--duration-fast) data-checked:translate-x-3.5"})})}],681382)},682592,e=>{var t=e.i(843476),s=e.i(524189),s=s,i=e.i(93976),a=s,n=s,r=s,o=s,l=s,d=e.i(62050),c=e.i(145017),m=e.i(547125),u=e.i(410030),h=e.i(458998),p=e.i(394313),f=e.i(253535),x=e.i(998919),g=e.i(689664),v=e.i(263676);let b=({scope:e,description:t})=>({value:e,description:t});e.s(["ScopePicker",0,function({label:e,listed:j,picked:w,onPick:N,isDisabled:y=!1}){let{contains:k}=s.useFilter(),C=[...j.map(b),...w.filter(e=>!j.some(t=>t.scope===e)).map(e=>({value:e,description:"No longer defined in the fleet"}))],I=C.filter(e=>w.includes(e.value));return(0,t.jsxs)(i.f.Root,{multiple:!0,items:C,value:I,disabled:y,itemToStringLabel:e=>e.value,isItemEqualToValue:(e,t)=>e.value===t.value,onValueChange:(e,t)=>{"escape-key"===t.reason?t.cancel():N(e.map(e=>e.value))},filter:(e,t)=>k(e.value,t)||k(e.description,t),children:[(0,t.jsxs)("div",{className:"grid gap-1.5","data-testid":"scope-picker",children:[(0,t.jsx)(a.Label,{className:"text-body font-medium text-foreground",children:e}),(0,t.jsx)(n.InputGroup,{className:"flex min-h-(--size-control) flex-wrap items-center gap-1 rounded-md border border-input bg-background px-2 py-1 has-disabled:opacity-50",children:(0,t.jsxs)(r.Chips,{className:"contents",children:[I.map(e=>(0,t.jsxs)(o.Chip,{"data-testid":"scope-picker-chip",className:"inline-flex items-center gap-1 rounded-sm border border-border bg-muted px-1.5 font-mono text-id text-foreground","aria-label":e.value,children:[e.value,(0,t.jsx)(l.ChipRemove,{className:"text-muted-foreground hover:text-foreground","aria-label":`Remove ${e.value}`,children:(0,t.jsx)(v.X,{"aria-hidden":!0,className:"size-3"})})]},e.value)),(0,t.jsx)(d.f.Input,{"data-testid":"scope-picker-search",placeholder:0===I.length?"Search the fleet's scopes":"",className:"h-6 min-w-32 flex-1 bg-transparent text-body outline-none placeholder:text-muted-foreground"})]})})]}),(0,t.jsx)(c.f.Portal,{children:(0,t.jsx)(m.f.Positioner,{sideOffset:4,className:"z-50",children:(0,t.jsxs)(u.f.Popup,{className:"max-h-72 w-(--anchor-width) overflow-auto rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md",children:[(0,t.jsx)(h.f.Empty,{className:"px-2 py-1 text-meta text-muted-foreground empty:hidden",children:"No scope listed matches."}),(0,t.jsx)(p.f.List,{children:e=>(0,t.jsxs)(f.f.Item,{value:e,"data-testid":"scope-picker-option",className:"grid cursor-default grid-cols-[1rem_1fr] gap-x-2 rounded-sm px-2 py-1 data-highlighted:bg-accent",children:[(0,t.jsx)(x.f.ItemIndicator,{className:"row-span-2 pt-0.5",children:(0,t.jsx)(g.f,{"aria-hidden":!0,className:"size-3.5"})}),(0,t.jsx)("span",{className:"col-start-2 font-mono text-code",children:e.value}),(0,t.jsx)("span",{className:"col-start-2 text-meta text-muted-foreground",children:e.description})]},e.value)})]})})})]})}],682592)}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,443988,e=>{var t=e.i(843476),i=e.i(225913),n=e.i(812437);let a=(0,i.f)("w-full min-w-0 resize-none rounded-md border border-input bg-card px-3 py-2 text-foreground shadow-sm transition-[border-color,box-shadow] duration-(--duration-fast) outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/22 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/16 disabled:cursor-not-allowed disabled:bg-muted disabled:opacity-50 disabled:shadow-none",{variants:{size:{md:"text-body",touch:"rounded-lg text-input-touch"},isMono:{true:"font-mono",false:""}},compoundVariants:[{size:"md",isMono:!0,className:"text-code"}],defaultVariants:{size:"md",isMono:!1}});e.s(["f",0,function({className:e,size:i,isMono:s,rows:o=4,...r}){return(0,t.jsx)("textarea",{"data-slot":"textarea",rows:o,className:(0,n.f)(a({size:i,isMono:s}),e),...r})}])},89204,135956,e=>{var t=e.i(843476),i=e.i(895e3),n=e.i(483069),a=e.i(861966);function s(e){return`aeolus:fleet = ${e}`}e.s(["X",0,function({fleetId:e,id:i}){return(0,t.jsxs)("p",{id:i,className:"text-meta text-muted-foreground",children:["An AWS KMS key whose policy lets this installation use it with the condition"," ",(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 whitespace-nowrap",children:[(0,t.jsxs)("span",{className:"font-mono text-id text-foreground",title:s(e),children:["aeolus:fleet = ",(0,n.H)(e)]}),(0,t.jsx)(a.f,{value:s(e),label:"Copy condition",size:"xs","data-testid":"sealing-copy-condition"})]})]})},"e",0,s],135956),e.s(["f",0,function({refusal:e,fleetId:a,failed:o}){switch(e.kind){case"keyNotBoundToFleet":return(0,t.jsx)(i.f,{title:"The key’s policy doesn’t name this fleet",description:(0,t.jsxs)(t.Fragment,{children:["Add the condition"," ",(0,t.jsxs)("span",{className:"font-mono",title:s(a),children:["aeolus:fleet = ",(0,n.H)(a)]})," ","to it and try again. Nothing changed."]})});case"keyUnavailable":return(0,t.jsx)(i.f,{title:`Couldn’t use the key: ${e.reason}`,description:"access denied"===e.reason?"Your KMS refused this installation. Grant it use of the key and try again. Nothing changed.":`Your KMS answers: ${e.reason}. Try again once the key is reachable. Nothing changed.`});case"currentKeyUnavailable":return(0,t.jsx)(i.f,{title:"Your current company key is not reachable",description:"Changing it needs the current key too. Nothing changed. With a recovery key, recover with core’s command line."});case"other":return(0,t.jsx)(i.f,{title:o,description:`Refused: ${e.message}. Nothing changed.`})}}],89204)},428001,e=>{var t=e.i(843476),i=e.i(271645),n=e.i(681924),a=e.i(923060),s=e.i(348184),o=e.i(375773),r=e.i(443988),l=e.i(483069),d=e.i(135956),c=e.i(89204);function u({fleetId:e,current:s,isPending:h,refusal:m,onChange:f}){let g=(0,i.useId)(),x=(0,i.useId)(),[y,p]=(0,i.useState)(""),b=""!==y.trim()&&y.trim()!==s&&!h;return(0,t.jsxs)("form",{noValidate:!0,className:"contents",onSubmit:e=>{e.preventDefault(),b&&f({companyKey:y.trim()})},children:[(0,t.jsx)(a.DialogHeader,{children:(0,t.jsx)(a.DialogTitle,{children:"Change company key"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:"text-meta font-medium",children:"Current"}),(0,t.jsx)("p",{className:"font-mono text-id text-muted-foreground",title:s,children:(0,l.i)(s)})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,t.jsx)(o.f,{htmlFor:g,children:"New company key"}),(0,t.jsx)(r.f,{id:g,isMono:!0,rows:2,autoComplete:"off",autoCapitalize:"off",spellCheck:!1,placeholder:"arn:aws:kms:eu-central-1:111122223333:key/…","data-testid":"change-company-key-input","aria-describedby":x,className:"max-sm:text-input-touch",value:y,onChange:e=>{p(e.target.value)}}),(0,t.jsx)(d.X,{fleetId:e,id:x})]}),(0,t.jsxs)("ul",{className:"list-disc pl-5 text-meta text-foreground",children:[(0,t.jsx)("li",{children:"Every data key moves to the new key. No payload is sealed again."}),(0,t.jsx)("li",{children:"The current key must stay reachable until this is done."})]}),void 0===m?null:(0,t.jsx)(c.f,{refusal:m,fleetId:e,failed:"Couldn’t change the company key"}),(0,t.jsxs)(a.DialogFooter,{children:[(0,t.jsx)(a.DialogClose,{render:(0,t.jsx)(n.f,{type:"button",disabled:h}),children:"Cancel"}),(0,t.jsx)(n.f,{type:"submit",variant:"primary",isLoading:h,disabled:!b,"data-testid":"change-company-key-submit",children:h?"Moving the data keys…":"Change company key"})]})]})}e.s(["ChangeCompanyKeyDialog",0,function({isOpen:e,onOpenChange:i,...n}){return(0,t.jsx)(a.Dialog,{open:e,onOpenChange:e=>{n.isPending||i(e)},children:(0,t.jsx)(a.DialogContent,{size:"md","data-testid":"change-company-key-dialog",className:s.f.phoneFullScreen,children:e?(0,t.jsx)(u,{...n}):null})})}])},375773,e=>{var t=e.i(843476),i=e.i(812437);e.s(["f",0,function({className:e,htmlFor:n,...a}){return(0,t.jsx)("label",{"data-slot":"label",htmlFor:n,className:(0,i.f)("text-body font-medium text-foreground select-none",e),...a})}])}])})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,155627,387068,e=>{var t=e.i(271645);Object.keys(e.i(875812).t),e.s(["f",0,function(e,t){return!e.matches(":disabled")&&(!t||e.form===t||null===e.form&&!e.hasAttribute("form"))}],155627);var r=e.i(733332);let n=t.createContext(void 0);e.s(["f",0,function(e=!1){let i=t.useContext(n);if(!i&&!e)throw Error((0,r.f)(86));return i}],387068)},469690,875812,381104,e=>{var t=e.i(733332),r=e.i(271645),n=e.i(956789);let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},l={valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},a={disabled:!1,...l};e.s(["q",0,a,"S",0,l,"t",0,i,"s",0,{valid:e=>null===e?null:e?{"data-valid":""}:{"data-invalid":""}}],875812);let o={invalid:void 0,name:void 0,validityData:{state:i,errors:[],error:"",value:"",initialValue:null},setValidityData:n.x,disabled:void 0,setTouched:n.x,setDirty:n.x,setFilled:n.x,setFocused:n.x,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:a,registerFieldControl:n.x,validation:{getValidationProps:(e,t=n.w)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:n.x,getInputControl:()=>null,commit:async()=>{},change:n.x}},s=r.createContext(o);function u(e=!0){let i=r.useContext(s);if(i.setValidityData===n.x&&!e)throw Error((0,t.f)(28));return i}e.s(["T",0,o,"H",0,s,"U",0,u],469690);var d=e.i(146376),f=e.i(388940);e.s(["f",0,function(e,t,r,n,i=!0,l){let{registerFieldControl:a}=u(),o=(0,f.f)(()=>Symbol());(0,d.f)(()=>{let s=o.current;i?a(s,{controlRef:e,getValue:n,id:t,name:l,value:r}):a(s,void 0)},[e,i,n,t,l,a,o,r]),(0,d.f)(()=>{let e=o.current;return()=>{a(e,void 0)}},[a,o])}],381104)},884708,e=>{e.i(247167);var t=e.i(271645),r=e.i(956789);let n=t.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:r.x,validationMode:"onSubmit",submitCountRef:{current:0}});e.s(["f",0,function(){return t.useContext(n)}])},31421,e=>{var t=e.i(271645),r=e.i(146376),n=e.i(788015);e.s(["f",0,function(e,i,l,a=!0,o){let[s,u]=t.useState(),d=(0,n.f)(o?`${o}-label`:void 0),f=e??i??s;return(0,r.f)(()=>{let t=e||i||!a?void 0:function(e,t){let r=function(e){if(!e)return;let t=e.parentElement;if(t&&"LABEL"===t.tagName)return t;let r=e.id;if(r){let t=e.nextElementSibling;if(t&&t.htmlFor===r)return t}let n=e.labels;return n&&n[0]}(e);if(r)return!r.id&&t&&(r.id=t),r.id||void 0}(l.current,d);s!==t&&u(t)}),f}])},538489,247778,e=>{var t=e.i(271645),r=e.i(146376),n=e.i(667865),i=e.i(388940),l=e.i(956789),a=e.i(788015);let o=t.createContext({controlId:void 0,registerControlId:l.x,resetControlId:l.x,labelId:void 0,setLabelId:l.x,messageIds:[],setMessageIds:l.x,getDescriptionProps:e=>e});function s(){return t.useContext(o)}e.s(["f",0,s],247778),e.s(["f",0,function(e={}){let{id:o,enabled:u=!0}=e,{controlId:d,registerControlId:f,resetControlId:c}=s(),m=(0,a.f)(),v=(0,i.f)(()=>Symbol()),x=t.useRef(!1),p=t.useRef(!1),g=(0,n.f)(()=>{x.current&&f!==l.x&&(x.current=!1,f(v.current,void 0))});return(0,r.f)(()=>{let e;if(!u||f===l.x)return void g();if(void 0!==o)p.current=!0,e=o;else{if(!p.current)return void c();e=m}void 0===e?g():(x.current=!0,f(v.current,e))},[o,u,f,c,m,v,g]),(0,r.f)(()=>g,[g]),(u?d:void 0)??o??m}],538489)},186698,e=>{e.s(["f",0,function(e){if(null==e)return"";if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}])},373374,e=>{e.i(247167);var t=e.i(271645),r=e.i(951437),n=e.i(667865),i=e.i(788015),l=e.i(584446),a=e.i(673327),o=e.i(405934),s=e.i(469690),u=e.i(381104),d=e.i(875812),f=e.i(155627),c=e.i(387068),m=e.i(884708),v=e.i(247778),x=e.i(606039),p=e.i(798260),g=e.i(843476);let b=[a.B],h=t.forwardRef(function(e,a){let{render:h,className:y,disabled:j,readOnly:w,required:C,onValueChange:k,value:R,defaultValue:N,form:A,name:M,inputRef:z,id:T,style:I,...E}=e,{setTouched:O,setFocused:S,validationMode:P,name:V,disabled:F,state:B,validation:D,setDirty:L,setFilled:q,validityData:U}=(0,s.U)(),{labelId:K}=(0,v.f)(),{clearErrors:$,elementRef:H}=(0,m.f)(),_=(0,c.f)(!0),J=F||j,W=V??M,G=(0,i.f)(T),[Y,Q]=(0,r.f)({controlled:R,default:N,name:"RadioGroup",state:"value"}),[X,Z]=t.useState(!1),ee=(0,n.f)((e,t)=>{k?.(e,t),t.isCanceled||Q(e)}),et=D.getInputControl,er=t.useMemo(()=>({get current(){return et()}}),[et]),en=t.useRef(null),ei=t.useRef(null);function el(e){let t;return z&&("function"==typeof z?t=z(e):z.current=e),en.current=e,t}let ea=(0,n.f)(e=>{if(!e||e.disabled)return;ei.current||(ei.current=e);let t=en.current,r=e.checked||null==t||t.disabled?el(e):void 0;return()=>{ei.current===e&&(ei.current=null),en.current===e?r?(r(),en.current=null):el(null):r?.()}}),eo=(0,n.f)(()=>{let e=H.current;if(!e)return Y??null;for(let t of D.registeredInputs.keys())if(t.checked&&(0,f.f)(t,e))return Y??null;return null});(0,u.f)(er,G,Y??null,eo,!J,M),(0,x.f)(Y,()=>{$(W),L(Y!==U.initialValue),q(null!=Y),D.change(Y);let e=ei.current;null==Y&&e&&!e.disabled&&el(e)});let es=K??_?.legendId,eu={...B,disabled:J??!1,required:C??!1,readOnly:w??!1},ed=t.useMemo(()=>({checkedValue:Y,disabled:J,form:A,validation:D,name:W,readOnly:w,registerInputRef:ea,required:C,setCheckedValue:ee,setTouched:Z,touched:X}),[Y,J,A,D,W,w,ea,C,ee,Z,X]);return(0,g.jsx)(p.J.Provider,{value:ed,children:(0,g.jsx)(o.f,{render:h,className:y,style:I,state:eu,props:[{id:T,role:"radiogroup","aria-required":C||void 0,"aria-disabled":J||void 0,"aria-readonly":w||void 0,"aria-labelledby":es,onFocus(){S(!0)},onBlur(e){(0,l.I)(e.currentTarget,e.relatedTarget)||(O(!0),S(!1),"onBlur"===P&&D.commit(Y))},onKeyDownCapture(e){e.key.startsWith("Arrow")&&(Z(!0),S(!0))}},E,e=>D.getValidationProps(J??!1,e)],refs:[a],stateAttributesMapping:d.s,enableHomeAndEndKeys:!1,modifierKeys:b})})});e.s(["f",0,h])},798260,e=>{e.i(247167);var t=e.i(271645);let r=t.createContext(void 0);e.s(["J",0,r,"e",0,function(){return t.useContext(r)}])},774835,66747,e=>{var t=e.i(271645),r=e.i(828918),n=e.i(146376),i=e.i(502077),l=e.i(956789),a=e.i(675606),o=e.i(380025),s=e.i(643444),u=e.i(64350),d=e.i(788015),f=e.i(552245),c=e.i(540886),m=e.i(370359),v=e.i(348990),x=e.i(469690),p=e.i(157153),g=e.i(247778),b=e.i(31421),h=e.i(538489),y=e.i(798260),j=e.i(186698),w=e.i(733332);let C=t.createContext(void 0);var k=e.i(843476);let R=t.forwardRef(function(e,w){let{render:R,className:N,disabled:A=!1,readOnly:M=!1,required:z=!1,"aria-labelledby":T,value:I,inputRef:E,nativeButton:O=!1,id:S,style:P,...V}=e,F=(0,y.e)(),{disabled:B,readOnly:D,required:L,form:q,checkedValue:U,touched:K=!1,validation:$,name:H,setCheckedValue:_=l.x,setTouched:J=l.x,registerInputRef:W=l.x}=F??{},{setTouched:G,setFilled:Y,state:Q,disabled:X}=(0,x.U)(),Z=(0,p.f)(),{labelId:ee,getDescriptionProps:et}=(0,g.f)(),er=X||Z.disabled||B||A,en=D||M,ei=L||z,el=F?U===I:""===I,ea=t.useRef(null),eo=t.useRef(null),es=$?.registerInput,eu=t.useCallback(e=>es?.(e,{controlRef:ea,value:void 0}),[es]),ed=(0,r.A)(E,eo,W,eu);(0,n.f)(()=>{eo.current?.checked&&Y(!0)},[Y]),(0,n.f)(()=>{if(eo.current){if(er&&el)return void W(null);W(eo.current)}},[el,er,W]);let ef=(0,d.f)(),ec=(0,h.f)({id:S}),em=O?void 0:ec,ev={role:"radio","aria-checked":el,"aria-labelledby":(0,b.f)(T,ee,eo,!O,em),[m.f]:el?"":void 0,id:O?ec:ef,onKeyDown(e){"Enter"===e.key&&e.preventDefault()},onClick(e){if(e.defaultPrevented||er||en)return;e.preventDefault();let t=eo.current;t&&(0,u.f)(t,e)},onFocus(e){e.defaultPrevented||er||en||!K||(eo.current?.click(),J(!1))}},{getButtonProps:ex,buttonRef:ep}=(0,c.f)({disabled:er,native:O,composite:!1}),eg={type:"radio",ref:ed,form:q,id:em,name:H,tabIndex:-1,style:H?i.L:i.p,"aria-hidden":!0,...void 0!==I?{value:(0,j.f)(I)}:l.w,disabled:er,checked:el,required:ei,readOnly:en,onChange(e){if(e.nativeEvent.defaultPrevented||er||en||void 0===I)return;let t=(0,a.j)(o.f.none,e.nativeEvent);_(I,t),t.isCanceled||G(!0)},onClick(e){e.stopPropagation()},onFocus(){ea.current?.focus()}},eb=t.useMemo(()=>({...Q,required:ei,disabled:er,readOnly:en,checked:el}),[Q,er,en,el,ei]),eh=void 0!==F,ey=[w,ea,ep],ej=[ev,V,ex,et,$?e=>$.getValidationProps(er,e):l.w],ew=(0,f.f)("span",e,{enabled:!eh,state:eb,ref:ey,props:ej,stateAttributesMapping:s.f});return(0,k.jsxs)(C.Provider,{value:eb,children:[eh?(0,k.jsx)(v.f,{tag:"span",render:R,className:N,style:P,state:eb,refs:ey,props:ej,stateAttributesMapping:s.f}):ew,(0,k.jsx)("input",{...eg,suppressHydrationWarning:!0})]})});var N=e.i(137584),A=e.i(223910);let M=t.forwardRef(function(e,r){let{render:n,className:i,style:l,keepMounted:a=!1,...o}=e,u=function(){let e=t.useContext(C);if(void 0===e)throw Error((0,w.f)(52));return e}(),d=u.checked,{mounted:c,transitionStatus:m,setMounted:v}=(0,A.f)(d),x={...u,transitionStatus:m},p=t.useRef(null),g=(0,f.f)("span",e,{ref:[r,p],state:x,props:o,stateAttributesMapping:s.f});return((0,N.f)({batch:!0,enabled:!d,open:d,ref:p,onComplete(){d||v(!1)}}),a||c)?g:null});e.s(["Indicator",0,M,"Root",0,R],66747);var z=e.i(66747);e.s(["f",0,z],774835)},643444,157153,e=>{var t=e.i(474354),r=e.i(875812);let n={checked:e=>e?{"data-checked":""}:{"data-unchecked":""},...t.f,...r.s};e.s(["f",0,n],643444);var i=e.i(271645);let l=i.createContext({disabled:!1});e.s(["f",0,function(){return i.useContext(l)}],157153)},713203,265858,484325,42191,450001,868931,e=>{var t=e.i(271645);e.s(["f",0,function(e){let r=t.useRef(!0);r.current&&(r.current=!1,e())}],713203);var r=e.i(229315),n=e.i(883977),i=e.i(146376),l=e.i(388940),a=e.i(990627),o=e.i(46420),s=e.i(156341);e.s(["f",0,function(e){let{open:t=!1,onOpenChange:u,elements:d={}}=e,f=(0,n.f)(),c=null!=(0,o.G)(),m=(0,l.f)(()=>new s.f({open:t,transitionStatus:void 0,onOpenChange:u,referenceElement:d.reference??null,floatingElement:d.floating??null,triggerElements:new a.f,floatingId:f,syncOnly:!1,nested:c})).current;return(0,i.f)(()=>{let e={open:t,floatingId:f};void 0!==d.reference&&(e.referenceElement=d.reference,e.domReferenceElement=(0,r.m)(d.reference)?d.reference:null),void 0!==d.floating&&(e.floatingElement=d.floating),m.update(e)},[t,f,d.reference,d.floating,m]),m.context.onOpenChange=u,m.context.nested=c,m}],265858);let u=(e,t)=>Object.is(e,t);function d(e,t,r){return null==e||null==t?Object.is(e,t):r(e,t)}function f(e,t,r){return!!e&&e.some(e=>void 0!==e&&d(t,e,r))}function c(e,t,r){return e?e.findIndex(e=>void 0!==e&&d(e,t,r)):-1}function m(e,t,r,n){let i=n&&Array.isArray(t)?e.findIndex(function(e,t){if(t!==u)return r=>f(e,r,t);let r=new Set(e);return r.delete(void 0),t=>r.has(t)&&(0!==t||e.some(e=>Object.is(t,e)))}(t,r)):c(e,t,r);return -1===i?null:i}e.s(["i",0,d,"t",0,u,"u",0,c,"m",0,m,"H",0,function(e,t,r){return Array.isArray(e)&&Array.isArray(t)?!function(e,t,r=Object.is){let{length:n}=e;if(n!==t.length)return!1;for(let i=0;i<n;i+=1)if(!r(e[i],t[i]))return!1;return!0}(e,t,(e,t)=>d(e,t,r)):e!==t},"j",0,function(e,t,r){return e.filter(e=>!d(t,e,r))},"b",0,function(e,t,r,n,i,l){return f(n,t,i)?null!=l&&e>l&&f(n,r[l],i)?l:e:e===l?m(r,n,i,!0):l},"v",0,f],484325);var v=e.i(186698),x=e.i(843476);function p(e){var t;return"object"==typeof(t=e?.[0])&&null!=t&&Array.isArray(t.items)}function g(e){return p(e)?e.flatMap(e=>e.items):e}function b(e,t){if(t&&null!=e)return t(e)??"";if(e&&"object"==typeof e){if("label"in e&&null!=e.label)return String(e.label);if("value"in e)return String(e.value)}return(0,v.f)(e)}function h(e,t,r){if(r&&null!=e)return r(e);if(e&&"object"==typeof e&&"label"in e&&null!=e.label)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??b(e,r);if(Array.isArray(t)){let n=g(t);if(null==e||"object"!=typeof e){let t=n.find(t=>t.value===e);return t&&null!=t.label?t.label:b(e,r)}if("value"in e){let t=n.find(t=>t&&t.value===e.value);if(t&&null!=t.label)return t.label}}return b(e,r)}e.s(["j",0,g,"Y",0,function(e){if(!Array.isArray(e))return null!=e&&"null"in e;if(p(e)){for(let t of e)for(let e of t.items)if(e&&null==e.value&&null!=e.label)return!0;return!1}for(let t of e)if(t&&null==t.value&&null!=t.label)return!0;return!1},"i",0,p,"u",0,function(e,r,n){return e.reduce((e,i,l)=>(l>0&&e.push(", "),e.push((0,x.jsx)(t.Fragment,{children:h(i,r,n)},l)),e),[])},"b",0,h,"B",0,b,"P",0,function(e,t){return t&&null!=e?t(e)??"":e&&"object"==typeof e&&"value"in e&&"label"in e?(0,v.f)(e.value):(0,v.f)(e)}],42191),e.s(["u",0,function(e){return null==e?void 0:`${e}-label`},"$",0,function(e,t){return e??t}],450001);var y=e.i(415618);e.s(["f",0,y],868931)},825398,e=>{var t=e.i(456420);let r={name:"rotate-cw",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],825398)},819759,e=>{var t=e.i(456420);let r={name:"square-pen",size:24,node:[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],aliases:["pen-box","edit","pen-square"]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],819759)},298421,568290,e=>{var t=e.i(843476),r=e.i(456420);let n={name:"chevrons-down",size:24,node:[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]]};n.node;let i=(0,r.f)(n);e.s(["f",0,i],568290);var l=e.i(681924),a=e.i(895e3);e.s(["f",0,function({what:e,isLoading:r,isFailed:n,onLoad:o,area:s}){return n?(0,t.jsx)(a.f,{title:`Couldn’t load ${e}`,description:"What is shown stays as it is. Try again in a moment.",onRetry:o,className:"m-3"}):(0,t.jsx)("div",{className:"flex justify-center border-t border-border px-3.5 py-2.5",children:(0,t.jsx)(l.f,{size:"sm",variant:"ghost",icon:(0,t.jsx)(i,{"aria-hidden":!0}),isLoading:r,onClick:o,"data-testid":`${s}-load-more`,children:r?`Loading ${e}...`:`Load ${e}`})})}],298421)},509892,e=>{var t=e.i(843476),r=e.i(819759),n=e.i(681924),i=e.i(812437),l=e.i(577880),a=e.i(485538);e.s(["f",0,function({title:e,description:o,titleMeta:s,primaryAction:u,isActionInTitleRow:d=!1,toolbar:f,live:c,onCompose:m,onSearch:v,switcher:x,account:p,banner:g,phoneTitle:b,phoneTopBar:h,children:y}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.f,{breadcrumb:e,live:c,switcher:x,onCompose:m,onSearch:v}),g,h??(0,t.jsx)(a.f,{title:b??e,isTitled:void 0!==b,live:c,switcher:x,account:p,...void 0===b?{onSearch:v}:{},actions:m&&void 0===b?(0,t.jsx)(n.f,{variant:"ghost",size:"touch",isIconOnly:!0,"aria-label":"Compose","data-testid":"top-bar-compose",onClick:m,children:(0,t.jsx)(r.f,{"aria-hidden":!0})}):void 0}),(0,t.jsxs)("main",{className:"flex grow flex-col gap-4 px-6 py-5 max-sm:gap-3.5 max-sm:px-4 max-sm:pt-3.5 max-sm:pb-[calc(var(--size-tabbar)+var(--spacing)*4)]",children:[(0,t.jsxs)("div",{className:(0,i.f)("flex flex-wrap items-start justify-between gap-4 max-sm:gap-3",d&&"max-sm:flex-nowrap",void 0!==b&&"max-sm:sr-only"),children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-1",children:[(0,t.jsx)("h1",{className:"text-title font-semibold tracking-tight text-foreground max-sm:text-title-touch",children:e}),s]}),o?(0,t.jsx)("p",{className:"text-meta text-muted-foreground max-sm:text-body-touch",children:o}):null]}),u?(0,t.jsx)("div",{className:(0,i.f)("shrink-0",!d&&"max-sm:w-full max-sm:[&>*]:w-full",void 0!==b&&"max-sm:hidden"),children:u}):null]}),f,y]})]})}])},527256,e=>{var t=e.i(843476),r=e.i(271645),n=e.i(951437),i=e.i(146376),l=e.i(108868),a=e.i(667865),o=e.i(439957),s=e.i(469690),u=e.i(381104),d=e.i(884708),f=e.i(247778),c=e.i(538489),m=e.i(875812),v=e.i(552245),x=e.i(606039),p=e.i(675606),g=e.i(380025),b=e.i(584446);let h=r.forwardRef(function(e,t){let{render:h,className:y,id:j,name:w,value:C,disabled:k=!1,onValueChange:R,defaultValue:N,autoFocus:A=!1,style:M,...z}=e,{state:T,name:I,disabled:E,setTouched:O,setDirty:S,validityData:P,setFocused:V,setFilled:F,validationMode:B,validation:D}=(0,s.U)(),{clearErrors:L,elementRef:q,submitCountRef:U}=(0,d.f)(),K=E||k,$=I??w,H={...T,disabled:K},{labelId:_}=(0,f.f)(),J=(0,c.f)({id:j}),[W]=(0,n.f)({controlled:C,default:N,name:"FieldControl",state:"value"}),G=void 0!==C,Y=G?W:void 0,Q=null==Y?void 0:String(Y),X=(0,a.f)(()=>D.inputRef.current?.value);(0,u.f)(D.inputRef,J,Q,X,!K,w),(0,i.f)(()=>{let e=Q??D.inputRef.current?.value;void 0!==e&&F(""!==e)},[Q,D.inputRef,F]),(0,x.f)(Q,()=>{void 0!==Q&&(L($),S(Q!==(P.initialValue??"")),D.change(Q))});let Z=r.useRef(null),ee=(0,o.e)();return(0,i.f)(()=>{A&&Z.current===(0,b.T)((0,l.f)(Z.current))&&V(!0)},[A,V]),(0,v.f)("input",e,{ref:[t,Z],state:H,props:[{id:J,disabled:K,name:$,ref:D.inputRef,"aria-labelledby":_,autoFocus:A,...G?{value:Y}:{defaultValue:N},onChange(e){let t=e.currentTarget.value,r=(0,p.j)(g.f.none,e.nativeEvent);R?.(t,r),!G&&(S(t!==(P.initialValue??"")),F(""!==t),e.nativeEvent.defaultPrevented||r.isCanceled||(L($),D.change(t)))},onFocus(){V(!0)},onBlur(e){if(O(!0),V(!1),"onBlur"===B){let t=e.currentTarget.value;D.commit(t),G&&queueMicrotask(()=>{let e=D.inputRef.current?.value;void 0!==e&&e!==t&&e!==(P.initialValue??"")&&D.commit(e)})}},onKeyDown(e){if("INPUT"===e.currentTarget.tagName&&"Enter"===e.key){O(!0);let t=e.currentTarget.value,r=e.currentTarget.form;if(r&&r===q.current&&!e.defaultPrevented){let t=e.currentTarget,r=U.current;ee.start(0,()=>{U.current===r&&D.commit(t.value)})}else D.commit(t)}}},z,e=>D.getValidationProps(K,e)],stateAttributesMapping:m.s})});e.s(["Control",0,h],305359);var y=e.i(305359),y=y;let j=r.forwardRef(function(e,r){return(0,t.jsx)(y.Control,{ref:r,...e})});var w=e.i(225913),C=e.i(812437);let k=(0,w.f)("w-full min-w-0 rounded-md border border-input bg-card text-foreground shadow-sm transition-[border-color,box-shadow] duration-(--duration-fast) outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/22 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/16 disabled:cursor-not-allowed disabled:bg-muted disabled:opacity-50 disabled:shadow-none",{variants:{size:{md:"h-(--size-control) px-3 text-body",touch:"h-(--size-control-touch) rounded-lg px-3 text-input-touch"},isMono:{true:"font-mono",false:""}},defaultVariants:{size:"md",isMono:!1}});e.s(["e",0,function({className:e,size:r,isMono:n,leadingIcon:i,trailingIcon:l,...a}){let o=(0,t.jsx)(j,{"data-slot":"input",className:(0,C.f)(k({size:r,isMono:n}),i?"pl-9":void 0,l?"pr-9":void 0,e),...a});return i||l?(0,t.jsxs)("div",{className:"relative w-full [&_svg]:size-(--size-icon)",children:[i?(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-3 flex items-center text-muted-foreground",children:i}):null,o,l?(0,t.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-3 flex items-center",children:l}):null]}):o},"B",0,k],527256)},895e3,e=>{var t=e.i(843476),r=e.i(422768),n=e.i(456420);let i={name:"cloud-off",size:24,node:[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};i.node;let l=(0,n.f)(i);var a=e.i(825398),o=e.i(681924),s=e.i(812437);e.s(["f",0,function({title:e,description:n,detail:i,onRetry:u,isRetrying:d=!1,variant:f="section",id:c,className:m}){return"field"===f?(0,t.jsxs)("p",{id:c,"data-slot":"inline-error","data-variant":f,className:(0,s.f)("flex items-center gap-1.5 text-meta text-destructive-text [&_svg]:size-(--size-icon-sm) [&_svg]:shrink-0",m),children:[(0,t.jsx)(r.f,{"aria-hidden":!0}),e]}):"section"===f?(0,t.jsxs)("div",{role:"alert","data-slot":"inline-error","data-variant":f,className:(0,s.f)("flex gap-2 rounded-lg border border-tone-attention-border bg-tone-attention-bg p-3 text-tone-attention-fg",m),children:[(0,t.jsx)(r.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon) shrink-0"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)("p",{className:"text-body font-medium",children:e}),n?(0,t.jsx)("p",{className:"text-meta text-foreground",children:n}):null,u?(0,t.jsx)(o.f,{size:"xs",icon:(0,t.jsx)(a.f,{"aria-hidden":!0}),isLoading:d,onClick:u,className:"self-start",children:d?"Trying again…":"Try again"}):null]})]}):(0,t.jsxs)("div",{role:"alert","data-slot":"inline-error","data-variant":f,className:(0,s.f)("flex flex-col items-center gap-3 rounded-lg border border-border bg-card px-6 py-10 text-center",m),children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"flex size-10 items-center justify-center rounded-lg border border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg [&_svg]:size-(--size-icon-xl)",children:(0,t.jsx)(l,{})}),(0,t.jsx)("h2",{className:"text-heading font-semibold text-foreground max-sm:text-heading-touch",children:e}),n?(0,t.jsx)("p",{className:"max-w-96 text-meta text-muted-foreground max-sm:text-body-touch",children:n}):null,i?(0,t.jsx)("code",{className:"rounded-sm border border-border bg-muted px-2 py-0.5 font-mono text-id text-muted-foreground",children:i}):null,u?(0,t.jsx)("div",{className:"flex items-center gap-2 max-sm:w-full max-sm:flex-col",children:(0,t.jsx)(o.f,{size:"sm",icon:(0,t.jsx)(a.f,{"aria-hidden":!0}),onClick:u,className:"max-sm:w-full",children:"Try again"})}):null]})}],895e3)}])})();
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,438529,e=>{"use strict";var r=e.i(843476),i=e.i(357443),s=e.i(271645),t=e.i(784294),a=e.i(681924),n=e.i(923060),o=e.i(348184),l=e.i(895e3);function d({squadronId:e,blueprint:o,roles:c,isPending:m,error:h,onSubmit:x}){let[p,u]=(0,s.useState)(c[0]?.role),g=c.find(e=>e.role===p)??c[0];return g?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.DialogHeader,{children:[(0,r.jsxs)(n.DialogTitle,{children:["Add a member to ",e]}),(0,r.jsx)(n.DialogDescription,{children:"Roles come from its blueprint. Next you get the new member's crew lines."})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("span",{className:"text-meta font-medium",children:"Role"}),(0,r.jsx)("div",{role:"radiogroup","aria-label":"Role",className:"flex flex-col gap-2",children:c.map(e=>(0,r.jsxs)("button",{type:"button",role:"radio","aria-checked":e.role===g.role,"data-testid":"add-member-role",onClick:()=>{u(e.role)},className:"flex items-center gap-3 rounded-md border border-border px-3 py-2 text-left text-meta aria-checked:border-primary aria-checked:ring-1 aria-checked:ring-primary",children:[(0,r.jsx)("span",{className:"rounded-sm bg-muted px-1.5 font-mono",children:e.role}),(0,r.jsx)("span",{className:"font-mono text-muted-foreground",children:e.template}),(0,r.jsxs)("span",{className:"ml-auto text-muted-foreground",children:[e.now," now"]})]},e.role))})]}),(0,r.jsxs)("p",{className:"flex items-start gap-2 rounded-md bg-muted px-3 py-2 text-meta text-muted-foreground",children:[(0,r.jsx)(i.f,{"aria-hidden":!0,className:"mt-0.5 size-(--size-icon-sm) shrink-0"}),(0,r.jsxs)("span",{children:["A new ship of the role ",g.role,", template ",(0,r.jsx)("span",{className:"font-mono",children:g.template}),void 0===g.checkInMinutes?"":`, checks in ${(0,t.P)(g.checkInMinutes)}`,". Blueprint ",o," has ",g.inBlueprint," ",g.role,"; the squadron then has ",g.now+1,"."]})]}),void 0!==h&&(0,r.jsx)(l.f,{variant:"field",title:"Couldn’t add the member",description:`${h} No ship was commissioned.`}),(0,r.jsxs)(n.DialogFooter,{children:[(0,r.jsx)(n.DialogClose,{render:(0,r.jsx)(a.f,{type:"button",disabled:m}),children:"Cancel"}),(0,r.jsx)(a.f,{variant:"primary",isLoading:m,"data-testid":"add-member-submit",onClick:()=>{x(g.role)},children:m?"Adding":"Add member"})]})]}):null}e.s(["AddMemberDialog",0,function(e){let{isOpen:i,onOpenChange:s,isPending:t}=e;return(0,r.jsx)(n.Dialog,{open:i,onOpenChange:e=>{t||s(e)},children:(0,r.jsx)(n.DialogContent,{size:"md","data-testid":"add-member-dialog",className:o.f.phoneFullScreen,children:(0,r.jsx)(d,{...e})})})}])}]);