@aeolus-fleet/console 0.29.1 → 0.29.2

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 (153) 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 +14 -14
  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 +14 -14
  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 +14 -14
  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 +14 -14
  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)/needs-attention/page/server-reference-manifest.json +14 -14
  17. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page.js.nft.json +1 -1
  18. package/.next/standalone/packages/console/.next/server/app/(console)/needs-attention/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page/server-reference-manifest.json +14 -14
  20. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page.js.nft.json +1 -1
  21. package/.next/standalone/packages/console/.next/server/app/(console)/needs-crew/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/packages/console/.next/server/app/(console)/network/page/server-reference-manifest.json +14 -14
  23. package/.next/standalone/packages/console/.next/server/app/(console)/network/page.js.nft.json +1 -1
  24. package/.next/standalone/packages/console/.next/server/app/(console)/network/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/packages/console/.next/server/app/(console)/page/server-reference-manifest.json +14 -14
  26. package/.next/standalone/packages/console/.next/server/app/(console)/page.js.nft.json +1 -1
  27. package/.next/standalone/packages/console/.next/server/app/(console)/page_client-reference-manifest.js +1 -1
  28. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page/server-reference-manifest.json +14 -14
  29. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page.js.nft.json +1 -1
  30. package/.next/standalone/packages/console/.next/server/app/(console)/settings/page_client-reference-manifest.js +1 -1
  31. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page/server-reference-manifest.json +14 -14
  32. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page.js.nft.json +1 -1
  33. package/.next/standalone/packages/console/.next/server/app/(console)/ships/[shipId]/page_client-reference-manifest.js +1 -1
  34. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page/server-reference-manifest.json +14 -14
  35. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page.js.nft.json +1 -1
  36. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/[squadronId]/page_client-reference-manifest.js +1 -1
  37. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page/server-reference-manifest.json +14 -14
  38. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page.js.nft.json +1 -1
  39. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/blueprints/[name]/page_client-reference-manifest.js +1 -1
  40. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page/server-reference-manifest.json +14 -14
  41. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page.js.nft.json +1 -1
  42. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/page_client-reference-manifest.js +1 -1
  43. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page/server-reference-manifest.json +14 -14
  44. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page.js.nft.json +1 -1
  45. package/.next/standalone/packages/console/.next/server/app/(console)/squadrons/templates/[name]/page_client-reference-manifest.js +1 -1
  46. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page/server-reference-manifest.json +14 -14
  47. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page.js.nft.json +1 -1
  48. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/[shipId]/page_client-reference-manifest.js +1 -1
  49. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page/server-reference-manifest.json +14 -14
  50. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page.js.nft.json +1 -1
  51. package/.next/standalone/packages/console/.next/server/app/(console)/trierarchs/page_client-reference-manifest.js +1 -1
  52. package/.next/standalone/packages/console/.next/server/app/_global-error.html +1 -1
  53. package/.next/standalone/packages/console/.next/server/app/_global-error.rsc +1 -1
  54. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  55. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  56. package/.next/standalone/packages/console/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  57. package/.next/standalone/packages/console/.next/server/app/_not-found/page.js.nft.json +1 -1
  58. package/.next/standalone/packages/console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  59. package/.next/standalone/packages/console/.next/server/app/api/reads/[read]/route.js +2 -3
  60. package/.next/standalone/packages/console/.next/server/app/api/reads/[read]/route.js.nft.json +1 -1
  61. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page.js.nft.json +1 -1
  62. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/confirm/page_client-reference-manifest.js +1 -1
  63. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/out/route.js +2 -2
  64. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/out/route.js.nft.json +1 -1
  65. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page.js.nft.json +1 -1
  66. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/refused/page_client-reference-manifest.js +1 -1
  67. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/route.js +2 -2
  68. package/.next/standalone/packages/console/.next/server/app/sign-in/argo/route.js.nft.json +1 -1
  69. package/.next/standalone/packages/console/.next/server/app/sign-in/done/route.js +1 -1
  70. package/.next/standalone/packages/console/.next/server/app/sign-in/done/route.js.nft.json +1 -1
  71. package/.next/standalone/packages/console/.next/server/app/sign-in/enter/route.js +1 -1
  72. package/.next/standalone/packages/console/.next/server/app/sign-in/enter/route.js.nft.json +1 -1
  73. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page.js.nft.json +1 -1
  74. package/.next/standalone/packages/console/.next/server/app/sign-in/failed/page_client-reference-manifest.js +1 -1
  75. package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page.js.nft.json +1 -1
  76. package/.next/standalone/packages/console/.next/server/app/sign-in/no-rights/page_client-reference-manifest.js +1 -1
  77. package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page.js.nft.json +1 -1
  78. package/.next/standalone/packages/console/.next/server/app/sign-in/nothing-to-manage/page_client-reference-manifest.js +1 -1
  79. package/.next/standalone/packages/console/.next/server/app/sign-in/out/route.js +1 -1
  80. package/.next/standalone/packages/console/.next/server/app/sign-in/out/route.js.nft.json +1 -1
  81. package/.next/standalone/packages/console/.next/server/app/sign-in/page.js.nft.json +1 -1
  82. package/.next/standalone/packages/console/.next/server/app/sign-in/page_client-reference-manifest.js +1 -1
  83. package/.next/standalone/packages/console/.next/server/app/sign-in/renew/route.js +1 -1
  84. package/.next/standalone/packages/console/.next/server/app/sign-in/renew/route.js.nft.json +1 -1
  85. package/.next/standalone/packages/console/.next/server/app/sign-in/start/route.js +1 -1
  86. package/.next/standalone/packages/console/.next/server/app/sign-in/start/route.js.nft.json +1 -1
  87. package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page.js.nft.json +1 -1
  88. package/.next/standalone/packages/console/.next/server/app/sign-in/unreachable/page_client-reference-manifest.js +1 -1
  89. package/.next/standalone/packages/console/.next/server/app/version/route.js.nft.json +1 -1
  90. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__0-jlz27._.js +3 -0
  91. package/.next/standalone/packages/console/.next/server/chunks/{[root-of-the-server]__0t12h4i._.js → [root-of-the-server]__09wt4n4._.js} +2 -2
  92. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__0_vf--n._.js +3 -0
  93. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__0i467le._.js +3 -0
  94. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1cfwaji._.js +1 -1
  95. package/.next/standalone/packages/console/.next/server/chunks/{[root-of-the-server]__100cvar._.js → [root-of-the-server]__1gl3yl5._.js} +2 -2
  96. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1u6ep0m._.js +3 -0
  97. package/.next/standalone/packages/console/.next/server/chunks/{[root-of-the-server]__1fjj038._.js → [root-of-the-server]__1u98gxt._.js} +2 -2
  98. package/.next/standalone/packages/console/.next/server/chunks/_01mvwcx._.js +3 -0
  99. package/.next/standalone/packages/console/.next/server/chunks/_11q6cmj._.js +3 -0
  100. package/.next/standalone/packages/console/.next/server/chunks/_1uqphll._.js +1 -1
  101. package/.next/standalone/packages/console/.next/server/chunks/ssr/{0ysl_console_features_trierarchs_ui_organisms_join-machine-dialog_tsx_1eqj0kg._.js → 0ysl_console_features_trierarchs_ui_organisms_join-machine-dialog_tsx_1za3g1j._.js} +1 -1
  102. package/.next/standalone/packages/console/.next/server/chunks/ssr/_03xphjy._.js +1 -1
  103. package/.next/standalone/packages/console/.next/server/chunks/ssr/_0ulogg0._.js +1 -1
  104. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_00nr7jk._.js → _0z-2-5l._.js} +1 -1
  105. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_0t5vycl._.js → _19ck6rb._.js} +1 -1
  106. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1k7vocd._.js +1 -1
  107. package/.next/standalone/packages/console/.next/server/chunks/ssr/_1u0h4gj._.js +1 -1
  108. package/.next/standalone/packages/console/.next/server/chunks/ssr/{_05iucx0._.js → _1ztyinn._.js} +1 -1
  109. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_00qg_s6._.js +1 -1
  110. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_02v53na._.js +1 -1
  111. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_02wkudy._.js +1 -1
  112. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_04rox65._.js +1 -1
  113. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_05zitd2._.js +1 -1
  114. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_065nea1._.js +1 -1
  115. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0h_376h._.js +1 -1
  116. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_1oejgf3._.js → packages_console_0hhvtiq._.js} +1 -1
  117. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0ko_ogs._.js +1 -1
  118. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0sr2-oa._.js +1 -1
  119. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_0ysbad7._.js +1 -1
  120. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_108sez2._.js +1 -1
  121. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_063bzdk._.js → packages_console_11dyuje._.js} +1 -1
  122. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_0ck4_ja._.js → packages_console_199kw0r._.js} +1 -1
  123. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1jy5-0g._.js +1 -1
  124. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_0_a01vy._.js → packages_console_1ldpxis._.js} +1 -1
  125. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1n8w8x0._.js +1 -1
  126. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1oz8iu7._.js +1 -1
  127. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1rdu3gt._.js +1 -1
  128. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_1yfimad._.js +1 -1
  129. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_overview-page_tsx_15siba6._.js +1 -1
  130. package/.next/standalone/packages/console/.next/server/chunks/ssr/packages_console_app_(console)_signed-in-layout_tsx_13vv8fo._.js +1 -1
  131. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_components_organisms_crew-line-dialog_tsx_02i3rrb._.js → packages_console_components_organisms_crew-line-dialog_tsx_1n7fl_y._.js} +1 -1
  132. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_1ir165v._.js → packages_console_features_1a4rx_k._.js} +1 -1
  133. package/.next/standalone/packages/console/.next/server/chunks/ssr/{packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_1gq_60i._.js → packages_console_features_squadrons_organisms_form-squadron-dialog_tsx_0157v1c._.js} +1 -1
  134. package/.next/standalone/packages/console/.next/server/middleware-build-manifest.js +3 -3
  135. package/.next/standalone/packages/console/.next/server/pages/500.html +1 -1
  136. package/.next/standalone/packages/console/.next/server/server-reference-manifest.js +1 -1
  137. package/.next/standalone/packages/console/.next/server/server-reference-manifest.json +15 -15
  138. package/.next/standalone/packages/console/.next/static/chunks/{0gtglg3etrj5u.js → 0r6ln-xb5hs_c.js} +1 -1
  139. package/.next/standalone/packages/console/.next/static/chunks/{3g6b5hm825cu-.css → 1-3m9ur_9k2ly.css} +1 -1
  140. package/.next/standalone/packages/console/.next/static/chunks/{1zksq905-zu5o.js → 121x3ixnt3ycn.js} +1 -1
  141. package/.next/standalone/packages/console/.next/static/chunks/3a5gbs3i-8p4w.js +1 -0
  142. package/.next/standalone/packages/console/package.json +3 -3
  143. package/package.json +3 -3
  144. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__068mq_-._.js +0 -3
  145. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1_k7w7t._.js +0 -3
  146. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1ab1dve._.js +0 -3
  147. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__1jqu864._.js +0 -3
  148. package/.next/standalone/packages/console/.next/server/chunks/[root-of-the-server]__217-ins._.js +0 -3
  149. package/.next/standalone/packages/console/.next/server/chunks/packages_console_lib_argo-sign-in_ts_1lekusk._.js +0 -3
  150. package/.next/standalone/packages/console/.next/static/chunks/0ncph3getfmwa.js +0 -1
  151. /package/.next/standalone/packages/console/.next/static/{U8JtyWT3d9UE3bpmiocT0 → vJo17J2Bhsq_zOcKyKRk2}/_buildManifest.js +0 -0
  152. /package/.next/standalone/packages/console/.next/static/{U8JtyWT3d9UE3bpmiocT0 → vJo17J2Bhsq_zOcKyKRk2}/_clientMiddlewareManifest.js +0 -0
  153. /package/.next/standalone/packages/console/.next/static/{U8JtyWT3d9UE3bpmiocT0 → vJo17J2Bhsq_zOcKyKRk2}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"00b3a6e3dd4947e3c8861269a0baee1f8fd14a190c\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"connectSquadrons\"\n },\n \"40a84d2e26fc936ca6e35e78357965925f8e52bf2f\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"addMember\"\n },\n \"4084510b58ea9de5b308080e8fbdb3f1eeae3f0316\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"addRepository\"\n },\n \"40798d8cf5d25ce9b32273d7b09ccad8608a5b2644\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"forceStandDown\"\n },\n \"40f5af89477a9a65024a3e1a2997fc22136d05a6fa\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"formSquadron\"\n },\n \"40c99ca6ebc69075ce62cee7eae8574725c9d6650d\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"newCrewLine\"\n },\n \"0051ffa086ace1134318742ac4b991ebe59b076105\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"refreshCatalogue\"\n },\n \"401ed6b9fd216096ac9016720c971ae75e6f8942c0\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"removeMember\"\n },\n \"403f733f34564e8345132dcb16a09cbfb921964622\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"removeRepository\"\n },\n \"40ef0c4b2764e103cc5d371d5abfd09074e035b6e0\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"standDown\"\n },\n \"001baeaaaa10832eda0f91ae0cfd23ee0c5459e018\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/gateway-actions.ts\",\n \"exportedName\": \"connectGateway\"\n },\n \"00f973252010a9b499f299dd5d68b1764f16a88d9f\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/trierarch-plugin-actions.ts\",\n \"exportedName\": \"connectTrierarchPlugin\"\n },\n \"40dfca40407fcf471f19fa284401fbb055ba90dde1\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/trierarch-plugin-actions.ts\",\n \"exportedName\": \"joinMachine\"\n },\n \"400be2fc6cd3e78add7644a593899ef854570ee725\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/questions-actions.ts\",\n \"exportedName\": \"answerQuestion\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"DVcy9hx7yg95+G98yfPQRjCXLyWSJqpFPnuDGOazaA0=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"00b397b6bcbbda3f8ca7a4129373f317c8734f1f12\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"connectSquadrons\"\n },\n \"409b7dc5e40480c5c0afa62d96174dbb6a80b6894f\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"addMember\"\n },\n \"40298bd625cbd1200cab5dc0151991be1021fff91d\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"addRepository\"\n },\n \"40876a65a55c3fc82cff15070a2ce65dd4ce01ad30\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"forceStandDown\"\n },\n \"409f37614e9d161d52134aee28404590f94e844629\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"formSquadron\"\n },\n \"403137724afb8c4ce2877d2e3555f0f90140d5472b\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"newCrewLine\"\n },\n \"00ef5c30dbf03bce2b79e704efec4c5a8e9532429a\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"refreshCatalogue\"\n },\n \"4020663a4d1efbaf9a37cd3346c3d3a3bdbdde8c3b\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"removeMember\"\n },\n \"40648eb9de0795374d0448cfb1f8997cebbf6e12de\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"removeRepository\"\n },\n \"401f4817da1a2baa0f3783191090e24a075c416bdd\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/squadrons-actions.ts\",\n \"exportedName\": \"standDown\"\n },\n \"004a95f6c9327e3a32c5162e8700586a0c2fcaa38b\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/gateway-actions.ts\",\n \"exportedName\": \"connectGateway\"\n },\n \"00c7f169d7fbe41100e217101248e25d4a4d181b64\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/trierarch-plugin-actions.ts\",\n \"exportedName\": \"connectTrierarchPlugin\"\n },\n \"408d4a96587483e23a7aa593da6c836f7628cb5f4d\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/trierarch-plugin-actions.ts\",\n \"exportedName\": \"joinMachine\"\n },\n \"4000f2a412ddbe9d32784f5b027058aa7d65acd38f\": {\n \"workers\": {\n \"app/(console)/fleet-health/[cause]/page\": {\n \"moduleId\": 52012,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/fleet-health/page\": {\n \"moduleId\": 87229,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/inbox/page\": {\n \"moduleId\": 88503,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/labels/page\": {\n \"moduleId\": 20279,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-attention/page\": {\n \"moduleId\": 73050,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/needs-crew/page\": {\n \"moduleId\": 89067,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/network/page\": {\n \"moduleId\": 66623,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/page\": {\n \"moduleId\": 46180,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/settings/page\": {\n \"moduleId\": 28870,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/ships/[shipId]/page\": {\n \"moduleId\": 68006,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/[squadronId]/page\": {\n \"moduleId\": 68127,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/blueprints/[name]/page\": {\n \"moduleId\": 95835,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/page\": {\n \"moduleId\": 76869,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/squadrons/templates/[name]/page\": {\n \"moduleId\": 31648,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/[shipId]/page\": {\n \"moduleId\": 21980,\n \"async\": false,\n \"codeHash\": null\n },\n \"app/(console)/trierarchs/page\": {\n \"moduleId\": 48110,\n \"async\": false,\n \"codeHash\": null\n }\n },\n \"filename\": \"packages/console/lib/questions-actions.ts\",\n \"exportedName\": \"answerQuestion\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"fMCSu85e1Yy26/Z3ypmtpM80/KXq8J17uEVbBOsAmaY=\"\n}"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "node": {
3
- "00b3a6e3dd4947e3c8861269a0baee1f8fd14a190c": {
3
+ "00b397b6bcbbda3f8ca7a4129373f317c8734f1f12": {
4
4
  "workers": {
5
5
  "app/(console)/fleet-health/[cause]/page": {
6
6
  "moduleId": 52012,
@@ -86,7 +86,7 @@
86
86
  "filename": "packages/console/lib/squadrons-actions.ts",
87
87
  "exportedName": "connectSquadrons"
88
88
  },
89
- "40a84d2e26fc936ca6e35e78357965925f8e52bf2f": {
89
+ "409b7dc5e40480c5c0afa62d96174dbb6a80b6894f": {
90
90
  "workers": {
91
91
  "app/(console)/fleet-health/[cause]/page": {
92
92
  "moduleId": 52012,
@@ -172,7 +172,7 @@
172
172
  "filename": "packages/console/lib/squadrons-actions.ts",
173
173
  "exportedName": "addMember"
174
174
  },
175
- "4084510b58ea9de5b308080e8fbdb3f1eeae3f0316": {
175
+ "40298bd625cbd1200cab5dc0151991be1021fff91d": {
176
176
  "workers": {
177
177
  "app/(console)/fleet-health/[cause]/page": {
178
178
  "moduleId": 52012,
@@ -258,7 +258,7 @@
258
258
  "filename": "packages/console/lib/squadrons-actions.ts",
259
259
  "exportedName": "addRepository"
260
260
  },
261
- "40798d8cf5d25ce9b32273d7b09ccad8608a5b2644": {
261
+ "40876a65a55c3fc82cff15070a2ce65dd4ce01ad30": {
262
262
  "workers": {
263
263
  "app/(console)/fleet-health/[cause]/page": {
264
264
  "moduleId": 52012,
@@ -344,7 +344,7 @@
344
344
  "filename": "packages/console/lib/squadrons-actions.ts",
345
345
  "exportedName": "forceStandDown"
346
346
  },
347
- "40f5af89477a9a65024a3e1a2997fc22136d05a6fa": {
347
+ "409f37614e9d161d52134aee28404590f94e844629": {
348
348
  "workers": {
349
349
  "app/(console)/fleet-health/[cause]/page": {
350
350
  "moduleId": 52012,
@@ -430,7 +430,7 @@
430
430
  "filename": "packages/console/lib/squadrons-actions.ts",
431
431
  "exportedName": "formSquadron"
432
432
  },
433
- "40c99ca6ebc69075ce62cee7eae8574725c9d6650d": {
433
+ "403137724afb8c4ce2877d2e3555f0f90140d5472b": {
434
434
  "workers": {
435
435
  "app/(console)/fleet-health/[cause]/page": {
436
436
  "moduleId": 52012,
@@ -516,7 +516,7 @@
516
516
  "filename": "packages/console/lib/squadrons-actions.ts",
517
517
  "exportedName": "newCrewLine"
518
518
  },
519
- "0051ffa086ace1134318742ac4b991ebe59b076105": {
519
+ "00ef5c30dbf03bce2b79e704efec4c5a8e9532429a": {
520
520
  "workers": {
521
521
  "app/(console)/fleet-health/[cause]/page": {
522
522
  "moduleId": 52012,
@@ -602,7 +602,7 @@
602
602
  "filename": "packages/console/lib/squadrons-actions.ts",
603
603
  "exportedName": "refreshCatalogue"
604
604
  },
605
- "401ed6b9fd216096ac9016720c971ae75e6f8942c0": {
605
+ "4020663a4d1efbaf9a37cd3346c3d3a3bdbdde8c3b": {
606
606
  "workers": {
607
607
  "app/(console)/fleet-health/[cause]/page": {
608
608
  "moduleId": 52012,
@@ -688,7 +688,7 @@
688
688
  "filename": "packages/console/lib/squadrons-actions.ts",
689
689
  "exportedName": "removeMember"
690
690
  },
691
- "403f733f34564e8345132dcb16a09cbfb921964622": {
691
+ "40648eb9de0795374d0448cfb1f8997cebbf6e12de": {
692
692
  "workers": {
693
693
  "app/(console)/fleet-health/[cause]/page": {
694
694
  "moduleId": 52012,
@@ -774,7 +774,7 @@
774
774
  "filename": "packages/console/lib/squadrons-actions.ts",
775
775
  "exportedName": "removeRepository"
776
776
  },
777
- "40ef0c4b2764e103cc5d371d5abfd09074e035b6e0": {
777
+ "401f4817da1a2baa0f3783191090e24a075c416bdd": {
778
778
  "workers": {
779
779
  "app/(console)/fleet-health/[cause]/page": {
780
780
  "moduleId": 52012,
@@ -860,7 +860,7 @@
860
860
  "filename": "packages/console/lib/squadrons-actions.ts",
861
861
  "exportedName": "standDown"
862
862
  },
863
- "001baeaaaa10832eda0f91ae0cfd23ee0c5459e018": {
863
+ "004a95f6c9327e3a32c5162e8700586a0c2fcaa38b": {
864
864
  "workers": {
865
865
  "app/(console)/fleet-health/[cause]/page": {
866
866
  "moduleId": 52012,
@@ -946,7 +946,7 @@
946
946
  "filename": "packages/console/lib/gateway-actions.ts",
947
947
  "exportedName": "connectGateway"
948
948
  },
949
- "00f973252010a9b499f299dd5d68b1764f16a88d9f": {
949
+ "00c7f169d7fbe41100e217101248e25d4a4d181b64": {
950
950
  "workers": {
951
951
  "app/(console)/fleet-health/[cause]/page": {
952
952
  "moduleId": 52012,
@@ -1032,7 +1032,7 @@
1032
1032
  "filename": "packages/console/lib/trierarch-plugin-actions.ts",
1033
1033
  "exportedName": "connectTrierarchPlugin"
1034
1034
  },
1035
- "40dfca40407fcf471f19fa284401fbb055ba90dde1": {
1035
+ "408d4a96587483e23a7aa593da6c836f7628cb5f4d": {
1036
1036
  "workers": {
1037
1037
  "app/(console)/fleet-health/[cause]/page": {
1038
1038
  "moduleId": 52012,
@@ -1118,7 +1118,7 @@
1118
1118
  "filename": "packages/console/lib/trierarch-plugin-actions.ts",
1119
1119
  "exportedName": "joinMachine"
1120
1120
  },
1121
- "400be2fc6cd3e78add7644a593899ef854570ee725": {
1121
+ "4000f2a412ddbe9d32784f5b027058aa7d65acd38f": {
1122
1122
  "workers": {
1123
1123
  "app/(console)/fleet-health/[cause]/page": {
1124
1124
  "moduleId": 52012,
@@ -1206,5 +1206,5 @@
1206
1206
  }
1207
1207
  },
1208
1208
  "edge": {},
1209
- "encryptionKey": "DVcy9hx7yg95+G98yfPQRjCXLyWSJqpFPnuDGOazaA0="
1209
+ "encryptionKey": "fMCSu85e1Yy26/Z3ypmtpM80/KXq8J17uEVbBOsAmaY="
1210
1210
  }
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42047,e=>{"use strict";var t=e.i(43476),s=e.i(80799),i=e.i(22016),a=e.i(18566),n=e.i(71645),l=e.i(74296),r=e.i(65041),o=e.i(52886),d=e.i(85512),c=e.i(92870),u=e.i(65324);let h={ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg"};function m({label:e,shortLabel:s,value:a,detail:n,href:l,icon:r,tone:o,testId:d}){return(0,t.jsxs)(i.default,{href:l,"data-testid":d,className:"flex min-w-0 flex-col gap-2 rounded-lg border border-border bg-card px-4.5 py-4 shadow-sm transition-colors duration-(--duration-fast) hover:bg-accent max-sm:gap-1.5 max-sm:rounded-xl max-sm:px-3.5 max-sm:py-3",children:[(0,t.jsxs)("span",{className:"flex items-center justify-between gap-2 text-meta font-medium text-muted-foreground",children:[(0,t.jsx)("span",{className:"max-sm:hidden",children:e}),(0,t.jsx)("span",{className:"sm:hidden",children:s??e}),(0,t.jsx)("span",{className:(0,u.classNames)("flex size-6.5 shrink-0 items-center justify-center rounded-md border max-sm:size-5.5",h[o]),children:(0,t.jsx)(r,{"aria-hidden":!0,className:"size-3.5"})})]}),(0,t.jsx)("span",{className:"text-[28px] leading-none font-semibold tracking-tight tabular-nums text-foreground max-sm:text-2xl",children:a}),(0,t.jsx)("span",{className:"truncate text-meta text-muted-foreground",children:n})]})}var p=e.i(5387),x=e.i(90437),f=e.i(96676),g=e.i(49635);function j(e){return e.filter(e=>"agent"===e.kind&&"retired"!==e.status)}function v(){var e;let s,i,a,n,l=(0,p.useFleetSnapshot)(),r=(0,x.useFleetHealth)(),u=(0,f.useNow)();if(!l.data)return null;let h=(a=(i=(s=j((e={ships:l.data,stuck:r.data?.stuck??[],now:u}).ships)).filter(e=>"awaitingCrew"===e.status)).flatMap(e=>null===e.awaitingCrewSince?[]:[{name:e.name,since:new Date(e.awaitingCrewSince)}]).sort((e,t)=>e.since.getTime()-t.since.getTime())[0],n=e.stuck.map(e=>new Date(e.oldestSince)).sort((e,t)=>e.getTime()-t.getTime())[0],{activeCount:s.length,crewedCount:s.filter(e=>"crewed"===e.status).length,awaitingCount:i.length,longestWait:a&&{name:a.name,wait:(0,g.duration)(a.since,e.now)},oldestStuck:n&&(0,g.duration)(n,e.now)});return 0===h.activeCount?null:(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 max-sm:grid-cols-2 max-sm:gap-2.5","data-testid":"overview-metrics",children:[(0,t.jsx)(m,{label:"Ships crewed",shortLabel:"Crewed",value:h.crewedCount,detail:`of ${String(h.activeCount)} active ships`,href:"/?status=crewed",icon:c.UserCheck,tone:"ok",testId:"overview-crewed"}),(0,t.jsx)(m,{label:"Awaiting crew",value:h.awaitingCount,detail:h.longestWait?`Longest wait: ${h.longestWait.name}, ${h.longestWait.wait}`:"Every active ship is crewed",href:"/?status=awaitingCrew",icon:o.CircleDashed,tone:"waiting",testId:"overview-awaiting"}),(0,t.jsx)(m,{label:"Stuck",value:(0,x.stuckCountOf)(r.data)??0,detail:h.oldestStuck?`Deliveries stuck, oldest ${h.oldestStuck}`:"Delivering",href:"/fleet-health",icon:d.OctagonAlert,tone:"attention",testId:"overview-stuck"})]})}var w=e.i(77071),b=e.i(17540),k=e.i(25242),y=e.i(8041),C=e.i(78608),N=e.i(41880),S=e.i(49092),q=e.i(87600),I=e.i(16752),T=e.i(86165),R=e.i(48695),z=e.i(265);let L=(0,b.lazyDialog)(()=>e.A(38801).then(e=>e.CommissionDialog),e=>e.isOpen),O=(0,b.lazyDialog)(()=>e.A(95953).then(e=>e.StartingPromptDialog),e=>e.isOpen);function $({isOpen:e,onOpenChange:s}){var i;let a,r=(0,p.useFleetSnapshot)(),o=(0,S.useFleetLimits)(),d=(0,q.useHostedAccountUrl)(),c=(0,p.useCommissionShip)(),u=(0,p.useRequestCrew)(),h="connected"===(0,z.useTrierarchPluginConnection)(),m=(0,z.useMachines)(),x=(0,T.useSquadronsConnection)(),f=(0,R.useSquadrons)(),[g,j]=(0,n.useState)(!1),[v,b]=(0,n.useState)(null),P=(0,y.offersOf)(m.data??[]),M=(0,p.useLabelContext)(),{shipLabelsMax:A,fleetScopes:V}=(0,k.useConsoleConstants)(),F=(0,p.useFleetScopes)(),B=void 0===M||void 0===m.data?void 0:(0,C.machineLabelsInputOf)(M,{machines:m.data,shipLabelsMax:A}),D=(0,z.useCrewSettingsCheck)(e&&h?null===v?(0,y.settingsOf)((0,y.defaultValues)(P)):v:void 0),E=(r.data??[]).filter(e=>"retired"!==e.status),H=(e,t)=>{c.mutate(e,{onSuccess:({shipId:i})=>{s(!1);let a=h&&void 0!==t;a||j(!0),void 0!==t&&u.mutate({shipId:i,settings:t.settings},{onSuccess:()=>{a&&(0,N.showToast)({title:`${e.name} commissioned, crew requested`,description:"The trierarch plugin assigns a trierarch that fits.",tone:"success"})},onError:t=>{(0,N.showToast)({title:`Couldn’t request a crew for ${e.name}`,description:`${t.message} The ship is commissioned; request a crew on its page.`,tone:"error"})}})}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Button,{variant:"primary",icon:(0,t.jsx)(w.Plus,{}),"data-testid":"fleet-commission",onClick:()=>{c.reset(),b(null),s(!0)},children:"Commission ship"}),(0,t.jsx)(L,{activeShips:E,isOpen:e,onOpenChange:s,isPending:c.isPending,error:c.error?.message,shipLimit:(0,I.shipLimitReached)(o.data),accountUrl:d,scopeGroups:void 0===F.data?void 0:(i=F.data,a=new Map(i.filter(({declaredBy:e})=>null===e).flatMap(({scopes:e})=>e.map(({scope:e,description:t})=>[e,t]))),[{title:"Fleet access",namespace:null,scopes:V.flatMap(e=>{let t=a.get(e);return void 0===t?[]:[{scope:e,description:t}]})},...i.flatMap(({namespace:e,declaredBy:t,scopes:s})=>null===t||0===s.length?[]:[{title:t.name,namespace:e,scopes:s.map(({scope:e,description:t})=>({scope:e,description:t}))}])]),...h?{crewRequest:{offers:P,squadrons:"connected"===x?(f.data??[]).filter(e=>"disbanded"!==e.state).map(e=>e.id):void 0,...void 0===B?{}:{machineLabels:B},check:D.data,onSettingsChange:b}}:{},onSubmit:(e,t)=>{let s={...e,idempotencyKey:crypto.randomUUID()};h&&void 0!==t?D.checkNow().catch(()=>void 0).then(e=>{e?.kind!=="refused"&&H(s,t)}).catch(()=>void 0):H(s,t)}}),(0,t.jsx)(O,{shipName:c.variables?.name??"",state:"shown",prompt:c.data?.prompt??void 0,crewLines:c.data?.crewLines??void 0,isOpen:g&&void 0!==c.data,onOpenChange:e=>{e||(j(!1),c.reset())},onConfirm:()=>void 0})]})}var P=e.i(56420);let M={name:"infinity",size:24,node:[["path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8",key:"18ogeb"}]]};M.node;let A=(0,P.default)(M);var V=e.i(30274),F=e.i(49287),B=e.i(78865);let D={ships:{label:"Ships",unit:"ships",Icon:F.Ship},messages:{label:"Messages today",unit:"messages",Icon:V.Send}},E={below:"bg-primary",at:"bg-tone-waiting-fg",over:"bg-tone-attention-fg"},H={at:"at-limit",over:"over-limit"};function U({kind:e,count:s,limit:i,resetsAt:a}){let{label:n,unit:l,Icon:r}=D[e],o=(0,I.meterState)({count:s,limit:i}),d=H[o],c=(0,I.meterCaption)({count:s,limit:i}),h=null===i?0:0===i?1:Math.min(s/i,1);return(0,t.jsxs)("div",{"data-testid":`limit-meter-${e}`,"data-state":o,className:"flex flex-col gap-2 rounded-lg border border-border bg-card p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-meta font-medium text-muted-foreground",children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"size-(--size-icon-sm)"}),n]}),void 0===d?null:(0,t.jsx)(B.StatusBadge,{status:d})]}),(0,t.jsxs)("p",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"text-metric font-semibold tabular-nums",children:(0,I.meterCount)(s)}),(0,t.jsx)("span",{className:"text-body text-muted-foreground",children:null===i?l:`of ${(0,I.meterCount)(i)} ${l}`})]}),null===i?(0,t.jsxs)("p",{className:"inline-flex items-center gap-1.5 text-meta text-muted-foreground",children:[(0,t.jsx)(A,{"aria-hidden":!0,className:"size-(--size-icon-sm)"}),"No limit"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{role:"meter","aria-label":`${n}: ${String(s)} of ${String(i)}`,"aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":i,className:"block h-1.5 overflow-hidden rounded-full bg-secondary",children:(0,t.jsx)("span",{className:(0,u.classNames)("block h-full rounded-full","none"===o?void 0:E[o]),style:{width:`${String(100*h)}%`}})}),(0,t.jsxs)("p",{"data-testid":`limit-meter-${e}-caption`,className:"text-caption text-muted-foreground",children:[c,void 0===a?null:` \xb7 resets at ${(0,I.resetTime)(a)}`]})]})]})}function K(){let e=(0,S.useFleetLimits)().data,s=(0,q.useHostedAccountUrl)();return(0,I.hasLimits)(e)?(0,t.jsxs)("section",{"aria-labelledby":"overview-limits-title","data-testid":"overview-limits",className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("h2",{id:"overview-limits-title",className:"text-body font-semibold",children:"Limits"}),void 0===s?null:(0,t.jsx)("a",{href:s,"data-testid":"overview-limits-view",className:"text-meta font-medium text-primary underline underline-offset-2",children:"View limits"})]}),(0,t.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,t.jsx)(U,{kind:"ships",count:e.ships.count,limit:e.ships.limit}),(0,t.jsx)(U,{kind:"messages",count:e.dailyMessages.count,limit:e.dailyMessages.limit,resetsAt:e.dailyMessages.resetsAt})]})]}):null}var W=e.i(9176),_=e.i(84294),G=e.i(72382),J=e.i(31458),Q=e.i(69309),X=e.i(66595);let Y={name:"sliders-horizontal",size:24,node:[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]};Y.node;let Z=(0,P.default)(Y);var ee=e.i(26478),et=e.i(38919);let es=["console","claudeCode","codex","trierarch","plugin","other"],ei={console:"Console",claudeCode:"Claude Code",codex:"Codex",trierarch:"Trierarch",plugin:"Plugin",other:"Other"},ea={"claude-code":"claudeCode",codex:"codex"};function en(e){return es.some(t=>t===e)}let el={awaitingCrew:"Awaiting crew",crewed:"Crewed",retired:"Retired"};function er(e,{column:t,squadronsOf:s}){switch(t){case"ship":return e.name;case"status":return el[e.status];case"report":return("agent"===e.kind||"plugin"===e.kind)&&"crewed"===e.status?e.report?.note??void 0:void 0;case"squadronAndLabels":{let t=s?.get(e.id);if(void 0!==t&&null!==t.role)return t.squadronId;let[i]=e.labels;return void 0===i?void 0:`${i.key}=${i.value}`}case"runsOn":if("crewed"!==e.status||"viewer"===e.kind)return;return"operator"===e.kind?"console":e.harness??void 0;case"seen":return e.lastSeenAt??void 0}}var eo=e.i(54492),ed=e.i(80581),ec=e.i(49841);let eu={query:"",filters:{status:[],crewRequest:[],kind:[],type:[],squadron:[],isRetiredShown:!1,labelValueIds:[]},sort:null},eh=new Set;function em(e,t){return 0===e.length||void 0!==t&&e.includes(t)}function ep(e,t){return e.kind!==t.kind?"operator"===e.kind?-1:+("operator"===t.kind):0}function ex(e,t){return[...new Set(e.filter(e=>t||"retired"!==e.status).map(e=>e.type))].toSorted((e,t)=>e.localeCompare(t))}function ef(e){return e.filter(e=>"retired"===e.status).length}function eg(e){return[...new Set([...e.values()].map(e=>e.squadronId))].toSorted((e,t)=>e.localeCompare(t))}let ej={crewed:"Crewed",awaitingCrew:"Awaiting crew"};function ev(e){return eb(e).length+e.labelValueIds.length}function ew(e,t){return 0===t.length?void 0:`${e}: ${t.join(", ")}`}function eb(e){return[ew("Status",e.status.map(e=>ej[e])),ew("Crew request",e.crewRequest.map(ec.crewRequestKeyWord)),ew("Kind",e.kind.map(e=>ei[e])),ew("Type",e.type),ew("Squadron",e.squadron),e.isRetiredShown?"Retired shown":void 0].filter(e=>void 0!==e)}var ek=e.i(66390),ey=e.i(12470),eC=e.i(91727),eN=e.i(75867),eS=e.i(14732),eq=e.i(67874),eI=e.i(17981),eT=e.i(95960);function eR({chips:e,width:s,testId:a,href:n}){if(0===e.length)return null;let{shown:l,folded:r}=0===s?{shown:[],folded:e}:(0,ed.rowChips)(e,s);return(0,t.jsxs)("span",{"data-testid":a,className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[l.map((e,s)=>(0,t.jsx)(eT.LabelChip,{chip:e,className:0===s?"min-w-0 shrink":void 0},e.valueId)),0===r.length?null:void 0===n?(0,t.jsxs)("span",{title:r.map(ed.chipTitleOf).join("; "),className:"inline-flex h-5.5 shrink-0 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium text-foreground tabular-nums",children:["+",r.length,(0,t.jsx)("span",{className:"sr-only",children:" more labels"})]}):(0,t.jsxs)(i.default,{href:n,title:r.map(ed.chipTitleOf).join("; "),"aria-label":`View ${r.length} more labels`,className:"inline-flex h-5.5 shrink-0 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium text-foreground tabular-nums hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",children:["+",r.length]})]})}var ez=e.i(88393);let eL={name:"signal",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]};eL.node;let eO=(0,P.default)(eL),e$={name:"signal-low",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]};e$.node;let eP=(0,P.default)(e$),eM={name:"signal-medium",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]};eM.node;let eA=(0,P.default)(eM);var eV=e.i(63240);let eF={fresh:{Icon:eO,tone:"text-tone-ok-fg"},while:{Icon:eA,tone:"text-muted-foreground"},long:{Icon:eP,tone:"text-tone-waiting-fg"}};function eB({seenAt:e,now:s,testId:i}){let a;if(null===e)return null;let n=new Date(e),l=(a=s.getTime()-n.getTime())<6e4?"fresh":a<=9e5?"while":"long",{Icon:r,tone:o}=eF[l],d=(0,g.lastSeen)(n,s);return(0,t.jsxs)(eV.Tooltip,{children:[(0,t.jsx)(eV.TooltipTrigger,{render:(0,t.jsx)("span",{role:"img","aria-label":d,"data-testid":i,"data-signal":l,className:(0,u.classNames)("inline-flex [&_svg]:size-(--size-icon) max-sm:[&_svg]:size-4",o)}),children:(0,t.jsx)(r,{"aria-hidden":!0})}),(0,t.jsx)(eV.TooltipContent,{children:d})]})}var eD=e.i(63481);function eE({model:e,now:s}){let i=function(e,t){var s;let i=new Date(e.statedAt),a=Math.max(0,t.getTime()-i.getTime()),n=(s=e.id).startsWith("@")||/@\d+\.\d+\.\d+$/.test(s)?"Software":"Model";if(a<6e4)return`${n}, stated ${String(Math.floor(a/1e3))} s ago`;let l=(0,g.relativeTime)(i,t);return`${n}, stated ${l.charAt(0).toLowerCase()}${l.slice(1)}`}(e,s);return(0,t.jsxs)(eV.Tooltip,{children:[(0,t.jsxs)(eV.TooltipTrigger,{render:(0,t.jsx)("span",{"data-testid":"fleet-model-hint",className:"min-w-0 truncate font-mono text-id text-muted-foreground"}),children:[e.id,(0,t.jsxs)("span",{className:"sr-only",children:[", ",i]})]}),(0,t.jsx)(eV.TooltipContent,{children:(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"font-mono",children:e.id}),(0,t.jsx)("span",{children:i})]})})]})}var eH=e.i(81830),eU=e.i(1935),eK=e.i(39448),eW=e.i(46033);function e_({label:e,items:s,picked:i,onPickedChange:a,size:n="sm",valueClassName:l,testId:r}){let o=function(e,t){let[s]=e;return void 0===s?{kind:"all"}:1===e.length?{kind:"one",word:t[s]??s}:{kind:"several",count:e.length}}(i,s);return(0,t.jsxs)(eW.Select,{multiple:!0,value:0===i.length?["all"]:[...i],onValueChange:e=>{a(i.length>0&&e.includes("all")?[]:e.filter(e=>"all"!==e))},children:[(0,t.jsx)(eW.SelectTrigger,{size:n,"aria-label":e,"data-testid":r,children:(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:e}),"several"===o.kind?(0,t.jsxs)("span",{className:"inline-flex size-5 items-center justify-center rounded-full bg-primary text-caption font-semibold text-primary-foreground tabular-nums",children:[o.count,(0,t.jsx)("span",{className:"sr-only",children:" picked"})]}):(0,t.jsx)("span",{className:(0,u.classNames)("font-medium","one"===o.kind?l:void 0),children:"one"===o.kind?o.word:"All"})]})}),(0,t.jsxs)(eW.SelectContent,{children:[(0,t.jsx)(eW.SelectItem,{value:"all",children:"All"}),Object.entries(s).map(([e,s])=>(0,t.jsx)(eW.SelectItem,{value:e,className:l,children:s},e))]})]})}function eG({label:e,allLabel:s="All",items:i,picked:a,onPickedChange:n,layout:r="chips",testId:o}){return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"text-meta font-medium text-muted-foreground",children:e}),(0,t.jsxs)("div",{role:"group","aria-label":e,"data-testid":o,className:"segments"===r?"flex gap-1.5 [&>*]:flex-1":"flex flex-wrap gap-1.5",children:[(0,t.jsx)(l.Button,{variant:0===a.length?"primary":"secondary",size:"touch","aria-pressed":0===a.length,onClick:()=>{n([])},children:s}),Object.entries(i).map(([e,s])=>{let i=a.includes(e);return(0,t.jsx)(l.Button,{variant:i?"primary":"secondary",size:"touch","aria-pressed":i,onClick:()=>{n(i?a.filter(t=>t!==e):[...a,e])},children:s},e)})]})]})}var eJ=e.i(16327),eQ=e.i(68401),eX=e.i(70703),eY=e.i(6734);let eZ=(0,eX.default)(()=>e.A(67858).then(e=>e.LabelPicker),{loadableGenerated:{modules:[59068]},ssr:!1});function e0({groups:e,picked:s,onPick:a,trigger:l}){let[r,o]=(0,n.useState)(!1);return(0,t.jsxs)(eY.Popover,{open:r,onOpenChange:o,children:[(0,t.jsx)(eY.PopoverTrigger,{render:l}),(0,t.jsxs)(eY.PopoverContent,{align:"start",sideOffset:6,className:"w-80 p-2","data-testid":"label-filter-popover",children:[(0,t.jsx)("span",{className:"block px-2 pt-1 pb-2 text-body font-medium",children:"Filter by label"}),(0,t.jsx)(eZ,{groups:e,pickedValueIds:s.map(e=>e.valueId),onPick:e=>{a(e),o(!1)}}),(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)(i.default,{href:"/labels",className:"font-medium text-foreground hover:underline","data-testid":"label-filter-manage",children:"Manage labels"})]})]})]})}function e1({groups:e,picked:i,onPick:a}){return(0,t.jsx)(e0,{groups:e,picked:i,onPick:a,trigger:(0,t.jsxs)(l.Button,{variant:"secondary",size:"sm",icon:(0,t.jsx)(s.Tag,{}),"data-testid":"fleet-filter-labels",children:["Labels",0===i.length?null:(0,t.jsxs)("span",{className:"inline-flex size-5 items-center justify-center rounded-full bg-primary text-caption font-semibold text-primary-foreground tabular-nums",children:[i.length,(0,t.jsx)("span",{className:"sr-only",children:" picked"})]}),(0,t.jsx)(eJ.ChevronDown,{"aria-hidden":!0,className:"text-muted-foreground"})]})})}function e2({groups:e,picked:s,onPick:i,onRemove:a,onClear:n}){return 0===s.length?null:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1.5 text-meta max-sm:hidden","data-testid":"fleet-picked-labels",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Ships with"}),s.map((e,s)=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[0===s?null:(0,t.jsx)("span",{className:"text-muted-foreground",children:"and"}),(0,t.jsx)(eT.LabelChip,{chip:e,testId:"fleet-picked-label",onRemove:()=>{a(e.valueId)}})]},e.valueId)),(0,t.jsx)(e0,{groups:e,picked:s,onPick:i,trigger:(0,t.jsx)(l.Button,{variant:"ghost",size:"xs",icon:(0,t.jsx)(w.Plus,{}),children:"Add"})}),(0,t.jsx)("span",{"aria-hidden":!0,className:"h-4 w-px bg-border"}),(0,t.jsx)(l.Button,{variant:"ghost",size:"xs",onClick:n,"data-testid":"fleet-labels-clear",children:"Clear labels"})]})}function e4({groups:e,picked:s,onPick:a,onRemove:r}){let[o,d]=(0,n.useState)(!1);return(0,t.jsxs)("div",{className:"flex flex-col gap-2","data-testid":"fleet-filter-labels-touch",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2 text-meta font-medium text-muted-foreground",children:["Labels ",(0,t.jsx)("span",{className:"font-normal",children:"all must hold"})]}),0===s.length?null:(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2 text-meta",children:s.map((e,s)=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[0===s?null:(0,t.jsx)("span",{className:"text-muted-foreground",children:"and"}),(0,t.jsx)(eT.LabelChip,{chip:e,onRemove:()=>{r(e.valueId)}})]},e.valueId))}),o?(0,t.jsx)("div",{className:"rounded-lg border border-border p-2",children:(0,t.jsx)(eZ,{groups:e,pickedValueIds:s.map(e=>e.valueId),size:"touch",onPick:e=>{a(e),d(!1)}})}):(0,t.jsx)(l.Button,{variant:"secondary",size:"touch",icon:(0,t.jsx)(w.Plus,{}),className:"self-start",onClick:()=>{d(!0)},children:"Add label"}),(0,t.jsxs)(i.default,{href:"/labels",className:"inline-flex items-center gap-1.5 self-start text-meta text-muted-foreground hover:underline [&_svg]:size-(--size-icon-sm)",children:[(0,t.jsx)(eQ.Tags,{"aria-hidden":!0}),"All labels and their owners"]})]})}function e5(e,t){return{...e,filters:{...e.filters,labelValueIds:t}}}function e8(e){return Object.hasOwn(ej,e)}function e6(e){return Object.fromEntries((0,ec.crewRequestKeysOf)(e).map(e=>[e,(0,ec.crewRequestKeyWord)(e)]))}function e7(e,t){return Object.hasOwn(t,e)}function e3(e){return Object.fromEntries(e.map(e=>[e,e]))}function e9({ship:e,squadron:s,isPluginShip:i}){return"operator"===e.kind?(0,t.jsxs)(ek.Badge,{variant:"kind",children:[(0,t.jsx)(ee.UserRound,{"aria-hidden":!0}),"operator"]}):"viewer"===e.kind?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-viewer",children:[(0,t.jsx)(G.Eye,{"aria-hidden":!0}),"viewer"]}):i?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-plugin",children:[(0,t.jsx)(Q.Plug,{"aria-hidden":!0}),"plugin"]}):s?.role===null?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-flagship",children:[(0,t.jsx)(J.Flag,{"aria-hidden":!0}),"flagship"]}):null}function te({ship:e,now:s}){return"crewed"!==e.status||"viewer"===e.kind?null:(0,t.jsxs)("span",{"data-testid":"fleet-runs-on",className:"flex min-w-0 items-center gap-3 max-sm:flex-wrap max-sm:gap-y-1",children:[(0,t.jsx)(eD.LocationTag,{kind:"operator"===e.kind&&null!==e.location?"DEVICE":e.location?.kind??null,description:e.location?.description,harness:"operator"===e.kind?"console":e.harness,size:"sm",className:"shrink-0"}),"agent"===e.kind&&null!==e.model?(0,t.jsx)(eE,{model:e.model,now:s}):null]})}function tt({ship:e,squadron:s,labels:i}){let a=s?.role===null?void 0:s,n=void 0===i?[]:(0,ed.chipsOf)(e,i).filter(e=>void 0===a||("squadron"!==e.key||e.value!==a.squadronId)&&("squadron-role"!==e.key||e.value!==a.role));return void 0===a&&0===n.length?null:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 overflow-hidden",children:[void 0===a?null:(0,t.jsx)("span",{className:"min-w-0 shrink",title:null===a.role?a.squadronId:`${a.squadronId} \xb7 ${a.role}`,children:(0,t.jsx)(eU.SquadronTag,{squadronId:a.squadronId,size:"sm"})}),(0,t.jsx)(eR,{chips:n,width:22*(void 0===a),testId:"fleet-labels",href:`/ships/${e.id}`})]})}function ts({ship:e,now:s,next:i}){let a=("agent"===e.kind||"plugin"===e.kind)&&"crewed"===e.status;return(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 max-sm:flex-col max-sm:items-stretch [&:has(button)>[data-testid=fleet-report]]:hidden",children:[a?(0,t.jsx)(eH.ReportLine,{report:e.report,now:s,variant:"row",isTimeInTitle:!0,testId:"fleet-report"}):null,i]})}function ti({ships:e,view:s,onViewChange:i,size:a,squadronsOf:n,labels:r}){let o=e6((0,k.useConsoleConstants)().crewStatuses),{filters:d}=s,c=ef(e),h="sm"===a?"fleet-show-retired":"fleet-show-retired-touch",m=e=>{i({...s,filters:{...d,...e}})},p="touch"===a;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e_,{label:"Status",items:ej,picked:d.status,onPickedChange:e=>{m({status:e.filter(e8)})},size:a,testId:p?void 0:"fleet-filter-status"}),(0,t.jsx)(e_,{label:"Crew request",items:o,picked:d.crewRequest,onPickedChange:e=>{m({crewRequest:e.filter(e=>e7(e,o))})},size:a,testId:p?void 0:"fleet-filter-crew-request"}),(0,t.jsx)(e_,{label:"Kind",items:ei,picked:d.kind,onPickedChange:e=>{m({kind:e.filter(en)})},size:a,testId:p?void 0:"fleet-filter-kind"}),(0,t.jsx)(e_,{label:"Type",items:e3(ex(e,d.isRetiredShown)),picked:d.type,onPickedChange:e=>{m({type:e})},size:a,valueClassName:"font-mono",testId:p?void 0:"fleet-filter-type"}),n&&(0,t.jsx)(e_,{label:"Squadron",items:e3(eg(n)),picked:d.squadron,onPickedChange:e=>{m({squadron:e})},size:a,testId:p?void 0:"fleet-filter-squadron"}),void 0===r||p?null:(0,t.jsx)(e1,{groups:(0,ed.filterGroupsOf)(r),picked:(0,ed.pickedChips)(d.labelValueIds,r),onPick:e=>{i(e5(s,[...d.labelValueIds,e]))}}),eb(d).length>0&&!p?(0,t.jsx)(l.Button,{variant:"ghost",size:"xs","data-testid":"fleet-filters-clear",onClick:()=>{i({...s,filters:eu.filters})},children:"Clear filters"}):null,(0,t.jsxs)("div",{className:(0,u.classNames)("inline-flex items-center gap-2",p?"py-2":"sm:ml-auto"),children:[(0,t.jsx)(eN.Switch,{id:h,"data-testid":p?void 0:"fleet-show-retired",checked:d.isRetiredShown,onCheckedChange:e=>{m({isRetiredShown:e})}}),(0,t.jsxs)(eC.Label,{htmlFor:h,className:(0,u.classNames)("font-normal text-muted-foreground",p?"text-body-touch":"text-meta"),children:["Show retired (",c,")"]})]})]})}function ta({ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:r}){let o=e6((0,k.useConsoleConstants)().crewStatuses),{filters:d}=s,c=e=>{i({...s,filters:{...d,...e}})},u=ev(d),h=ef(e);return(0,t.jsxs)(et.Sheet,{children:[(0,t.jsx)(et.SheetTrigger,{render:(0,t.jsx)(l.Button,{size:"touch",isIconOnly:!0,"aria-label":u>0?`Filter ships, ${String(u)} active`:"Filter ships","data-testid":"fleet-filters-open",icon:(0,t.jsx)(Z,{}),className:"relative sm:hidden",children:u>0?(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute top-1.5 right-1.5 size-2 rounded-full bg-primary"}):null})}),(0,t.jsxs)(et.SheetContent,{side:"bottom",children:[(0,t.jsxs)(et.SheetHeader,{className:"flex-row items-center justify-between",children:[(0,t.jsx)(et.SheetTitle,{children:"Filter ships"}),(0,t.jsx)(l.Button,{variant:"ghost",size:"touch","data-testid":"fleet-filters-reset",onClick:()=>{i({...s,filters:eu.filters})},children:"Reset"})]}),(0,t.jsxs)(et.SheetBody,{className:"flex flex-col gap-4 pb-4",children:[(0,t.jsx)(eG,{label:"Status",layout:"segments",items:ej,picked:d.status,onPickedChange:e=>{c({status:e.filter(e8)})}}),(0,t.jsx)(eG,{label:"Crew request",items:o,picked:d.crewRequest,onPickedChange:e=>{c({crewRequest:e.filter(e=>e7(e,o))})}}),(0,t.jsx)(eG,{label:"Kind",items:ei,picked:d.kind,onPickedChange:e=>{c({kind:e.filter(en)})},testId:"fleet-filter-kind-touch"}),(0,t.jsx)(eG,{label:"Type",allLabel:"All types",items:e3(ex(e,d.isRetiredShown)),picked:d.type,onPickedChange:e=>{c({type:e})}}),n&&(0,t.jsx)(eG,{label:"Squadron",items:e3(eg(n)),picked:d.squadron,onPickedChange:e=>{c({squadron:e})}}),void 0===r?null:(0,t.jsx)(e4,{groups:(0,ed.filterGroupsOf)(r),picked:(0,ed.pickedChips)(d.labelValueIds,r),onPick:e=>{i(e5(s,[...d.labelValueIds,e]))},onRemove:e=>{i(e5(s,d.labelValueIds.filter(t=>t!==e)))}}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 py-1",children:[(0,t.jsxs)(eC.Label,{htmlFor:"fleet-show-retired-touch",className:"text-body-touch font-normal",children:["Show retired ships ",(0,t.jsxs)("span",{className:"text-muted-foreground",children:["(",h,")"]})]}),(0,t.jsx)(eN.Switch,{id:"fleet-show-retired-touch",checked:d.isRetiredShown,onCheckedChange:e=>{c({isRetiredShown:e})}})]}),(0,t.jsx)(et.SheetClose,{render:(0,t.jsx)(l.Button,{size:"touch","data-testid":"fleet-filters-apply"}),children:1===a?"Show 1 ship":`Show ${String(a)} ships`})]})]})]})}function tn({view:e,onViewChange:s,labels:i}){let a=eb(e.filters),n=void 0===i?[]:(0,ed.pickedChips)(e.filters.labelValueIds,i);return 0===a.length&&0===n.length?null:(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center gap-1.5 sm:hidden","data-testid":"fleet-filter-chips",children:[a.map(e=>(0,t.jsx)(ek.Badge,{variant:"outline",className:"max-w-full truncate",children:e},e)),n.map(i=>(0,t.jsx)(eT.LabelChip,{chip:i,onRemove:()=>{s(e5(e,e.filters.labelValueIds.filter(e=>e!==i.valueId)))}},i.valueId)),(0,t.jsx)(l.Button,{variant:"ghost",size:"touch",onClick:()=>{s({...e,filters:eu.filters})},children:"Clear filters"})]})}function tl({ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:l}){return(0,t.jsxs)("div",{"data-slot":"fleet-toolbar",className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("div",{className:"w-60 max-sm:min-w-0 max-sm:flex-1",children:(0,t.jsx)(ey.Input,{type:"search","aria-label":"Search ships by name or type",placeholder:"Search ships by name","data-testid":"fleet-search",value:s.query,onChange:e=>{i({...s,query:e.target.value})},leadingIcon:(0,t.jsx)(X.Search,{}),className:"h-(--size-control-sm) text-meta max-sm:h-(--size-control-touch) max-sm:text-input-touch"})}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2 max-sm:hidden sm:flex-1",children:(0,t.jsx)(ti,{ships:e,view:s,onViewChange:i,squadronsOf:n,labels:l,size:"sm"})}),(0,t.jsx)(ta,{ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:l}),(0,t.jsx)(tn,{view:s,onViewChange:i,labels:l}),(0,t.jsxs)("p",{"aria-live":"polite",className:"text-meta text-muted-foreground tabular-nums max-sm:w-full",children:[a," of ",e.length," ships"]})]})}function tr({ship:e}){return(0,t.jsx)(eK.ShipName,{name:e.name,shipId:e.id,isSuffixShown:"retired"===e.status,href:"operator"===e.kind?"/inbox":`/ships/${e.id}`,className:"[&_a]:max-sm:whitespace-normal [&_a]:max-sm:break-all [&_a]:max-sm:text-body-touch"})}let to=[{column:"ship",head:"Ship"},{column:"status",head:"Status"},{column:"report",head:"Report"},{column:"squadronAndLabels",head:"Squadron and labels"},{column:"runsOn",head:"Runs on"},{column:"seen",head:"Seen"}];function td({ships:e,highlightedShipIds:s,now:i,renderRowActions:a,squadronsOf:n,labels:l,pluginShipIds:r,sort:o,onSort:d}){return(0,t.jsx)("div",{className:"max-sm:hidden",children:(0,t.jsxs)(eS.Table,{"aria-label":"Ships",className:"min-w-320 table-fixed",children:[(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{className:"w-56"}),(0,t.jsx)("col",{className:"w-40"}),(0,t.jsx)("col",{className:"w-64"}),(0,t.jsx)("col",{className:"w-56"}),(0,t.jsx)("col",{className:"w-80"}),(0,t.jsx)("col",{className:"w-12"}),(0,t.jsx)("col",{className:"w-12"})]}),(0,t.jsx)(eS.TableHeader,{children:(0,t.jsxs)(eS.TableRow,{children:[to.map(({column:e,head:s})=>void 0===d?(0,t.jsx)(eS.TableHead,{children:s},e):(0,t.jsx)(eS.TableSortHead,{"data-testid":`fleet-sort-${e}`,direction:o?.column===e?o.direction:null,onSort:()=>{d(e)},children:s},e)),(0,t.jsx)(eS.TableHead,{children:(0,t.jsx)("span",{className:"sr-only",children:"Actions"})})]})}),(0,t.jsx)(eS.TableBody,{children:e.map(e=>(0,t.jsxs)(eS.TableRow,{"data-testid":`fleet-row-${e.name}`,"data-new":s?.has(e.id)?"":void 0,className:"h-12",children:[(0,t.jsx)(eS.TableCell,{children:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 whitespace-nowrap",children:[(0,t.jsx)(tr,{ship:e}),(0,t.jsx)(e9,{ship:e,squadron:n?.get(e.id),isPluginShip:r?.has(e.id)??!1})]})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(B.StatusBadge,{status:e.status})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(ts,{ship:e,now:i,next:a?.(e,"next")})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(tt,{ship:e,squadron:n?.get(e.id),labels:l})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(te,{ship:e,now:i})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(eB,{seenAt:e.lastSeenAt,now:i,testId:"fleet-last-seen"})}),(0,t.jsx)(eS.TableCell,{className:"w-10 text-right",children:a?.(e,"table")})]},e.id))})]})})}function tc({ships:e,highlightedShipIds:s,now:i,renderRowActions:a,squadronsOf:n,pluginShipIds:l}){return(0,t.jsx)("ul",{"aria-label":"Ships",className:"overflow-hidden rounded-lg border border-border bg-card sm:hidden",children:e.map(e=>(0,t.jsxs)("li",{"data-testid":`fleet-card-${e.name}`,"data-new":s?.has(e.id)?"":void 0,className:"flex items-start gap-2 border-b border-border px-3.5 py-3 last:border-0 data-new:animate-highlight",children:[(0,t.jsxs)("div",{className:"flex min-w-0 grow flex-col gap-1.5",children:[(0,t.jsx)("div",{className:"text-body-touch",children:(0,t.jsx)(tr,{ship:e})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(B.StatusBadge,{status:e.status}),(0,t.jsx)(e9,{ship:e,squadron:n?.get(e.id),isPluginShip:l?.has(e.id)??!1})]}),(0,t.jsx)(tt,{ship:e,squadron:n?.get(e.id)}),(0,t.jsx)(ts,{ship:e,now:i,next:a?.(e,"next")}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1",children:[(0,t.jsx)(te,{ship:e,now:i}),(0,t.jsx)(eB,{seenAt:e.lastSeenAt,now:i})]})]}),a?.(e,"phone")]},e.id))})}function tu({ships:e,view:s,onViewChange:i,state:a,error:n,highlightedShipIds:r,now:o,renderRowActions:d,emptyAction:c,squadronsOf:u,labels:h,pluginShipIds:m}){var p,x,f;let g,j,v;if("loading"===a)return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"loading",className:"flex flex-col gap-3",children:[(0,t.jsx)(ez.LoadingSkeleton,{variant:"table",rows:6,label:"Loading the fleet",className:"max-sm:hidden"}),(0,t.jsx)(ez.LoadingSkeleton,{variant:"list",rows:5,label:"Loading the fleet",className:"sm:hidden"})]});if("error"===a)return(0,t.jsx)(eI.InlineError,{variant:"page",title:"Couldn’t load the fleet",description:"This page couldn’t reach the fleet server. Check that the server is running and reachable from this browser, then try again.",detail:n?.detail,onRetry:n?.onRetry});let w={highlightedShipIds:r,now:o,renderRowActions:d,squadronsOf:u,pluginShipIds:m};if(e.every(e=>"operator"===e.kind||"retired"===e.status)){let s=e.filter(e=>"operator"===e.kind);return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"empty",className:"flex flex-col gap-3",children:[(0,t.jsx)(td,{ships:s,labels:h,...w}),(0,t.jsx)(tc,{ships:s,...w}),(0,t.jsx)(eq.EmptyState,{icon:(0,t.jsx)(F.Ship,{}),title:"No ships besides argo yet",description:"argo is your own ship: messages to the operator land in its inbox. Commission a ship to add an agent to the fleet.",action:c})]})}let b=(j=null===(p={...s,squadronsOf:u,pluginShipIds:m}).sort?ep:(x=p.sort,f=p.squadronsOf,g=("ascending"===x.direction?1:-1)*("seen"===x.column?-1:1),(e,t)=>{let s=er(e,{column:x.column,squadronsOf:f}),i=er(t,{column:x.column,squadronsOf:f});return void 0===s||void 0===i?Number(void 0===s)-Number(void 0===i):g*s.localeCompare(i,void 0,{sensitivity:"base"})}),e.filter(e=>{let t;return(""===(t=p.query.trim().toLowerCase())||e.name.toLowerCase().includes(t)||e.type.toLowerCase().includes(t))&&function(e,t){let{filters:s,squadronsOf:i,pluginShipIds:a=eh}=t;if("retired"===e.status&&!s.isRetiredShown)return!1;let n="retired"===e.status?void 0:e.status;return em(s.squadron,i?.get(e.id)?.squadronId)&&em(s.status,n)&&em(s.crewRequest,(0,ec.crewRequestKey)((0,eo.crewRequestStage)(e)))&&em(s.kind,"operator"===e.kind||"viewer"===e.kind?"console":a.has(e.id)?"plugin":"trierarch"===e.type?"trierarch":(null===e.harness?void 0:ea[e.harness])??"other")&&em(s.type,e.type)&&(0,ed.carriesEvery)(e,s.labelValueIds)}(e,p)}).toSorted((e,t)=>j(e,t)||e.name.localeCompare(t.name)||e.id.localeCompare(t.id))),k=s.query.trim();return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"ready",className:"flex flex-col gap-3",children:[(0,t.jsx)(tl,{ships:e,view:s,onViewChange:i,shownCount:b.length,squadronsOf:u,labels:h}),void 0===h?null:(0,t.jsx)(e2,{groups:(0,ed.filterGroupsOf)(h),picked:(0,ed.pickedChips)(s.filters.labelValueIds,h),onPick:e=>{i(e5(s,[...s.filters.labelValueIds,e]))},onRemove:e=>{i(e5(s,s.filters.labelValueIds.filter(t=>t!==e)))},onClear:()=>{i(e5(s,[]))}}),0===b.length?(0,t.jsx)(eq.EmptyState,{variant:"no-results",title:""===k?"No ships match these filters.":`No ships match “${k}”.`,action:(0,t.jsx)(l.Button,{size:"xs","data-testid":"fleet-clear-filters",onClick:()=>{i({...eu,sort:s.sort})},children:(v=ev(s.filters)>0,""===k?"Clear filters":v?"Clear search and filters":"Clear search")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(td,{ships:b,labels:h,sort:s.sort,onSort:e=>{var t;i({...s,sort:(t=s.sort,t?.column!==e?{column:e,direction:"ascending"}:"ascending"===t.direction?{column:e,direction:"descending"}:null)})},...w}),(0,t.jsx)(tc,{ships:b,...w})]})]})}function th({view:e,onViewChange:s,newShipIds:i,renderRowActions:a}){let n=(0,p.useFleetSnapshot)(),l=(0,f.useNow)(),r=(0,R.useSquadrons)(),o=(0,p.useLabelContext)(),d=(0,W.usePluginShipIds)();return(0,t.jsx)("section",{"aria-label":"Fleet",className:"flex flex-col gap-3",children:(0,t.jsx)(tu,{ships:n.data??[],view:e,onViewChange:s,state:n.isPending?"loading":n.isError?"error":"ready",error:{detail:n.error?.message,onRetry:()=>{n.refetch()}},highlightedShipIds:i,now:l,renderRowActions:a,squadronsOf:r.data?(0,_.shipsInSquadrons)(r.data):void 0,labels:o,pluginShipIds:d})})}var tm=e.i(21959),tp=e.i(15327),tx=e.i(77435),tf=e.i(77821),tg=e.i(87964),tj=e.i(62687),tv=e.i(90262),tw=e.i(18423),tb=e.i(78485),tk=e.i(3979);e.s(["OverviewPage",0,function({view:e,isCommissionAsked:o}){let d=(0,a.useRouter)(),c=(0,p.useFleetSnapshot)(),u=(0,tw.useLiveFleet)(),h=(0,tg.useConsoleFrame)(),m=(0,I.messageLimitReached)((0,S.useFleetLimits)().data),x=(0,q.useHostedAccountUrl)(),f=(0,tv.useAccess)(),g=(0,tk.usePluginNav)(),[w,b]=(0,n.useState)(!1),[k,y]=(0,n.useOptimistic)(e);(0,tb.useSignInWhenSessionEnds)([c.error,u.error]);let C=e=>{let t=(function(e){let t=new URLSearchParams;for(let[s,i]of(""!==e.query&&t.set("q",e.query),[["status",e.filters.status],["crew",e.filters.crewRequest],["kind",e.filters.kind],["type",e.filters.type],["squadron",e.filters.squadron]]))for(let e of i)t.append(s,e);for(let s of(e.filters.isRetiredShown&&t.set("retired","1"),e.filters.labelValueIds))t.append("label",s);return null!==e.sort&&(t.set("sort",e.sort.column),"descending"===e.sort.direction&&t.set("order","desc")),t})(e).toString();(0,n.startTransition)(()=>{y(e),d.replace(""===t?"/":`/?${t}`,{scroll:!1})})};return(0,t.jsxs)(tf.ListPage,{...h,title:"Fleet overview",description:c.data?function(e){let t=j(e.ships).length,s=e.ships.filter(e=>"agent"===e.kind&&"retired"===e.status).length;if(0===t&&0===s)return e.canCommission?"Only argo so far. Ships you commission appear here.":"Only argo so far.";let i=0===s?"":`, ${String(s)} retired`;return`${1===t?"1 active ship":`${String(t)} active ships`} and argo${i}. Changes appear as they happen.`}({ships:c.data,canCommission:f.canManage}):"Loading your fleet",primaryAction:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 max-sm:flex-col max-sm:items-stretch",children:[(0,t.jsx)(l.Button,{render:(0,t.jsx)(i.default,{href:"/labels"}),nativeButton:!1,icon:(0,t.jsx)(s.Tag,{}),"data-testid":"overview-labels",children:f.canDefineLabels?"Manage labels":"View labels"}),f.canManage?(0,t.jsx)($,{isOpen:w||o,onOpenChange:t=>{b(t),!t&&o&&C(e)}}):null]}),live:u.live,children:[(0,t.jsx)(tj.FleetSegments,{active:"ships",needsCrewCount:g.needsCrewCount}),void 0===m?null:(0,t.jsx)(tx.LimitNotice,{...(0,I.messageLimitNotice)(m),accountUrl:x,testId:"overview-message-limit"}),(0,t.jsx)(K,{}),(0,t.jsx)(v,{}),(0,t.jsx)(th,{view:k,onViewChange:C,newShipIds:u.newShipIds,renderRowActions:(e,s)=>(0,t.jsx)(tm.ShipActions,{ship:e,layout:"table"===s?"menu":"phone"===s?"sheet":"next",compose:r.ComposeMessage,crewLineFlow:tp.NewCrewLineFlow})})]})}],42047)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,42047,e=>{"use strict";var t=e.i(43476),s=e.i(80799),i=e.i(22016),a=e.i(18566),n=e.i(71645),l=e.i(74296),r=e.i(65041),o=e.i(52886),d=e.i(85512),c=e.i(92870),u=e.i(65324);let h={ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg"};function m({label:e,shortLabel:s,value:a,detail:n,href:l,icon:r,tone:o,testId:d}){return(0,t.jsxs)(i.default,{href:l,"data-testid":d,className:"flex min-w-0 flex-col gap-2 rounded-lg border border-border bg-card px-4.5 py-4 shadow-sm transition-colors duration-(--duration-fast) hover:bg-accent max-sm:gap-1.5 max-sm:rounded-xl max-sm:px-3.5 max-sm:py-3",children:[(0,t.jsxs)("span",{className:"flex items-center justify-between gap-2 text-meta font-medium text-muted-foreground",children:[(0,t.jsx)("span",{className:"max-sm:hidden",children:e}),(0,t.jsx)("span",{className:"sm:hidden",children:s??e}),(0,t.jsx)("span",{className:(0,u.classNames)("flex size-6.5 shrink-0 items-center justify-center rounded-md border max-sm:size-5.5",h[o]),children:(0,t.jsx)(r,{"aria-hidden":!0,className:"size-3.5"})})]}),(0,t.jsx)("span",{className:"text-[28px] leading-none font-semibold tracking-tight tabular-nums text-foreground max-sm:text-2xl",children:a}),(0,t.jsx)("span",{className:"truncate text-meta text-muted-foreground",children:n})]})}var p=e.i(5387),x=e.i(90437),f=e.i(96676),g=e.i(49635);function j(e){return e.filter(e=>"agent"===e.kind&&"retired"!==e.status)}function v(){var e;let s,i,a,n,l=(0,p.useFleetSnapshot)(),r=(0,x.useFleetHealth)(),u=(0,f.useNow)();if(!l.data)return null;let h=(a=(i=(s=j((e={ships:l.data,stuck:r.data?.stuck??[],now:u}).ships)).filter(e=>"awaitingCrew"===e.status)).flatMap(e=>null===e.awaitingCrewSince?[]:[{name:e.name,since:new Date(e.awaitingCrewSince)}]).sort((e,t)=>e.since.getTime()-t.since.getTime())[0],n=e.stuck.map(e=>new Date(e.oldestSince)).sort((e,t)=>e.getTime()-t.getTime())[0],{activeCount:s.length,crewedCount:s.filter(e=>"crewed"===e.status).length,awaitingCount:i.length,longestWait:a&&{name:a.name,wait:(0,g.duration)(a.since,e.now)},oldestStuck:n&&(0,g.duration)(n,e.now)});return 0===h.activeCount?null:(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 max-sm:grid-cols-2 max-sm:gap-2.5","data-testid":"overview-metrics",children:[(0,t.jsx)(m,{label:"Ships crewed",shortLabel:"Crewed",value:h.crewedCount,detail:`of ${String(h.activeCount)} active ships`,href:"/?status=crewed",icon:c.UserCheck,tone:"ok",testId:"overview-crewed"}),(0,t.jsx)(m,{label:"Awaiting crew",value:h.awaitingCount,detail:h.longestWait?`Longest wait: ${h.longestWait.name}, ${h.longestWait.wait}`:"Every active ship is crewed",href:"/?status=awaitingCrew",icon:o.CircleDashed,tone:"waiting",testId:"overview-awaiting"}),(0,t.jsx)(m,{label:"Stuck",value:(0,x.stuckCountOf)(r.data)??0,detail:h.oldestStuck?`Deliveries stuck, oldest ${h.oldestStuck}`:"Delivering",href:"/fleet-health",icon:d.OctagonAlert,tone:"attention",testId:"overview-stuck"})]})}var w=e.i(77071),b=e.i(17540),k=e.i(25242),y=e.i(8041),C=e.i(78608),N=e.i(41880),S=e.i(49092),q=e.i(87600),I=e.i(16752),T=e.i(86165),z=e.i(48695),R=e.i(265);let L=(0,b.lazyDialog)(()=>e.A(38801).then(e=>e.CommissionDialog),e=>e.isOpen),O=(0,b.lazyDialog)(()=>e.A(95953).then(e=>e.StartingPromptDialog),e=>e.isOpen);function $({isOpen:e,onOpenChange:s}){var i;let a,r=(0,p.useFleetSnapshot)(),o=(0,S.useFleetLimits)(),d=(0,q.useHostedAccountUrl)(),c=(0,p.useCommissionShip)(),u=(0,p.useRequestCrew)(),h="connected"===(0,R.useTrierarchPluginConnection)(),m=(0,R.useMachines)(),x=(0,T.useSquadronsConnection)(),f=(0,z.useSquadrons)(),[g,j]=(0,n.useState)(!1),[v,b]=(0,n.useState)(null),P=(0,y.offersOf)(m.data??[]),M=(0,p.useLabelContext)(),{shipLabelsMax:A,fleetScopes:V}=(0,k.useConsoleConstants)(),F=(0,p.useFleetScopes)(),B=void 0===M||void 0===m.data?void 0:(0,C.machineLabelsInputOf)(M,{machines:m.data,shipLabelsMax:A}),D=(0,R.useCrewSettingsCheck)(e&&h?null===v?(0,y.settingsOf)((0,y.defaultValues)(P)):v:void 0),E=(r.data??[]).filter(e=>"retired"!==e.status),H=(e,t)=>{c.mutate(e,{onSuccess:({shipId:i})=>{s(!1);let a=h&&void 0!==t;a||j(!0),void 0!==t&&u.mutate({shipId:i,settings:t.settings},{onSuccess:()=>{a&&(0,N.showToast)({title:`${e.name} commissioned, crew requested`,description:"The trierarch plugin assigns a trierarch that fits.",tone:"success"})},onError:t=>{(0,N.showToast)({title:`Couldn’t request a crew for ${e.name}`,description:`${t.message} The ship is commissioned; request a crew on its page.`,tone:"error"})}})}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Button,{variant:"primary",icon:(0,t.jsx)(w.Plus,{}),"data-testid":"fleet-commission",onClick:()=>{c.reset(),b(null),s(!0)},children:"Commission ship"}),(0,t.jsx)(L,{activeShips:E,isOpen:e,onOpenChange:s,isPending:c.isPending,error:c.error?.message,shipLimit:(0,I.shipLimitReached)(o.data),accountUrl:d,scopeGroups:void 0===F.data?void 0:(i=F.data,a=new Map(i.filter(({declaredBy:e})=>null===e).flatMap(({scopes:e})=>e.map(({scope:e,description:t})=>[e,t]))),[{title:"Fleet access",namespace:null,scopes:V.flatMap(e=>{let t=a.get(e);return void 0===t?[]:[{scope:e,description:t}]})},...i.flatMap(({namespace:e,declaredBy:t,scopes:s})=>null===t||0===s.length?[]:[{title:t.name,namespace:e,scopes:s.map(({scope:e,description:t})=>({scope:e,description:t}))}])]),...h?{crewRequest:{offers:P,squadrons:"connected"===x?(f.data??[]).filter(e=>"disbanded"!==e.state).map(e=>e.id):void 0,...void 0===B?{}:{machineLabels:B},check:D.data,onSettingsChange:b}}:{},onSubmit:(e,t)=>{let s={...e,idempotencyKey:crypto.randomUUID()};h&&void 0!==t?D.checkNow().catch(()=>void 0).then(e=>{e?.kind!=="refused"&&H(s,t)}).catch(()=>void 0):H(s,t)}}),(0,t.jsx)(O,{shipName:c.variables?.name??"",state:"shown",prompt:c.data?.prompt??void 0,crewLines:c.data?.crewLines??void 0,isOpen:g&&void 0!==c.data,onOpenChange:e=>{e||(j(!1),c.reset())},onConfirm:()=>void 0})]})}var P=e.i(56420);let M={name:"infinity",size:24,node:[["path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8",key:"18ogeb"}]]};M.node;let A=(0,P.default)(M);var V=e.i(30274),F=e.i(49287),B=e.i(78865);let D={ships:{label:"Ships",unit:"ships",Icon:F.Ship},messages:{label:"Messages today",unit:"messages",Icon:V.Send}},E={below:"bg-primary",at:"bg-tone-waiting-fg",over:"bg-tone-attention-fg"},H={at:"at-limit",over:"over-limit"};function U({kind:e,count:s,limit:i,resetsAt:a}){let{label:n,unit:l,Icon:r}=D[e],o=(0,I.meterState)({count:s,limit:i}),d=H[o],c=(0,I.meterCaption)({count:s,limit:i}),h=null===i?0:0===i?1:Math.min(s/i,1);return(0,t.jsxs)("div",{"data-testid":`limit-meter-${e}`,"data-state":o,className:"flex flex-col gap-2 rounded-lg border border-border bg-card p-4",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-meta font-medium text-muted-foreground",children:[(0,t.jsx)(r,{"aria-hidden":!0,className:"size-(--size-icon-sm)"}),n]}),void 0===d?null:(0,t.jsx)(B.StatusBadge,{status:d})]}),(0,t.jsxs)("p",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"text-metric font-semibold tabular-nums",children:(0,I.meterCount)(s)}),(0,t.jsx)("span",{className:"text-body text-muted-foreground",children:null===i?l:`of ${(0,I.meterCount)(i)} ${l}`})]}),null===i?(0,t.jsxs)("p",{className:"inline-flex items-center gap-1.5 text-meta text-muted-foreground",children:[(0,t.jsx)(A,{"aria-hidden":!0,className:"size-(--size-icon-sm)"}),"No limit"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{role:"meter","aria-label":`${n}: ${String(s)} of ${String(i)}`,"aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":i,className:"block h-1.5 overflow-hidden rounded-full bg-secondary",children:(0,t.jsx)("span",{className:(0,u.classNames)("block h-full rounded-full","none"===o?void 0:E[o]),style:{width:`${String(100*h)}%`}})}),(0,t.jsxs)("p",{"data-testid":`limit-meter-${e}-caption`,className:"text-caption text-muted-foreground",children:[c,void 0===a?null:` \xb7 resets at ${(0,I.resetTime)(a)}`]})]})]})}function K(){let e=(0,S.useFleetLimits)().data,s=(0,q.useHostedAccountUrl)();return(0,I.hasLimits)(e)?(0,t.jsxs)("section",{"aria-labelledby":"overview-limits-title","data-testid":"overview-limits",className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,t.jsx)("h2",{id:"overview-limits-title",className:"text-body font-semibold",children:"Limits"}),void 0===s?null:(0,t.jsx)("a",{href:s,"data-testid":"overview-limits-view",className:"text-meta font-medium text-primary underline underline-offset-2",children:"View limits"})]}),(0,t.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,t.jsx)(U,{kind:"ships",count:e.ships.count,limit:e.ships.limit}),(0,t.jsx)(U,{kind:"messages",count:e.dailyMessages.count,limit:e.dailyMessages.limit,resetsAt:e.dailyMessages.resetsAt})]})]}):null}var W=e.i(9176),_=e.i(84294),G=e.i(72382),J=e.i(31458),Q=e.i(69309),X=e.i(66595);let Y={name:"sliders-horizontal",size:24,node:[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]};Y.node;let Z=(0,P.default)(Y);var ee=e.i(26478),et=e.i(38919);let es=["console","claudeCode","codex","trierarch","plugin","other"],ei={console:"Console",claudeCode:"Claude Code",codex:"Codex",trierarch:"Trierarch",plugin:"Plugin",other:"Other"},ea={"claude-code":"claudeCode",codex:"codex"};function en(e){return es.some(t=>t===e)}let el={awaitingCrew:"Awaiting crew",crewed:"Crewed",retired:"Retired"};function er(e,{column:t,squadronsOf:s}){switch(t){case"ship":return e.name;case"status":return el[e.status];case"report":return("agent"===e.kind||"plugin"===e.kind)&&"crewed"===e.status?e.report?.note??void 0:void 0;case"squadronAndLabels":{let t=s?.get(e.id);if(void 0!==t&&null!==t.role)return t.squadronId;let[i]=e.labels;return void 0===i?void 0:`${i.key}=${i.value}`}case"runsOn":if("crewed"!==e.status||"viewer"===e.kind)return;return"operator"===e.kind?"console":e.harness??void 0;case"seen":return e.lastSeenAt??void 0}}var eo=e.i(54492),ed=e.i(80581),ec=e.i(49841);let eu={query:"",filters:{status:[],crewRequest:[],kind:[],type:[],squadron:[],isRetiredShown:!1,labelValueIds:[]},sort:null},eh=new Set;function em(e,t){return 0===e.length||void 0!==t&&e.includes(t)}function ep(e,t){return e.kind!==t.kind?"operator"===e.kind?-1:+("operator"===t.kind):0}function ex(e,t){return[...new Set(e.filter(e=>t||"retired"!==e.status).map(e=>e.type))].toSorted((e,t)=>e.localeCompare(t))}function ef(e){return e.filter(e=>"retired"===e.status).length}function eg(e){return[...new Set([...e.values()].map(e=>e.squadronId))].toSorted((e,t)=>e.localeCompare(t))}let ej={crewed:"Crewed",awaitingCrew:"Awaiting crew"};function ev(e){return eb(e).length+e.labelValueIds.length}function ew(e,t){return 0===t.length?void 0:`${e}: ${t.join(", ")}`}function eb(e){return[ew("Status",e.status.map(e=>ej[e])),ew("Crew request",e.crewRequest.map(ec.crewRequestKeyWord)),ew("Kind",e.kind.map(e=>ei[e])),ew("Type",e.type),ew("Squadron",e.squadron),e.isRetiredShown?"Retired shown":void 0].filter(e=>void 0!==e)}var ek=e.i(66390),ey=e.i(12470),eC=e.i(91727),eN=e.i(75867),eS=e.i(14732),eq=e.i(67874),eI=e.i(17981),eT=e.i(95960);function ez({chips:e,width:s,testId:a,href:n}){if(0===e.length)return null;let{shown:l,folded:r}=0===s?{shown:[],folded:e}:(0,ed.rowChips)(e,s);return(0,t.jsxs)("span",{"data-testid":a,className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[l.map((e,s)=>(0,t.jsx)(eT.LabelChip,{chip:e,className:0===s?"min-w-0 shrink":void 0},e.valueId)),0===r.length?null:void 0===n?(0,t.jsxs)("span",{title:r.map(ed.chipTitleOf).join("; "),className:"inline-flex h-5.5 shrink-0 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium text-foreground tabular-nums",children:["+",r.length,(0,t.jsx)("span",{className:"sr-only",children:" more labels"})]}):(0,t.jsxs)(i.default,{href:n,title:r.map(ed.chipTitleOf).join("; "),"aria-label":`View ${r.length} more labels`,className:"inline-flex h-5.5 shrink-0 items-center rounded-sm bg-secondary px-1.5 text-caption font-medium text-foreground tabular-nums hover:underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring",children:["+",r.length]})]})}var eR=e.i(88393);let eL={name:"signal",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M17 20V8",key:"1tkaf5"}],["path",{d:"M22 4v16",key:"sih9yq"}]]};eL.node;let eO=(0,P.default)(eL),e$={name:"signal-low",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}]]};e$.node;let eP=(0,P.default)(e$),eM={name:"signal-medium",size:24,node:[["path",{d:"M2 20h.01",key:"4haj6o"}],["path",{d:"M7 20v-4",key:"j294jx"}],["path",{d:"M12 20v-8",key:"i3yub9"}]]};eM.node;let eA=(0,P.default)(eM);var eV=e.i(63240);let eF={fresh:{Icon:eO,tone:"text-tone-ok-fg"},while:{Icon:eA,tone:"text-muted-foreground"},long:{Icon:eP,tone:"text-tone-waiting-fg"}};function eB({seenAt:e,now:s,testId:i}){let a;if(null===e)return null;let n=new Date(e),l=(a=s.getTime()-n.getTime())<6e4?"fresh":a<=9e5?"while":"long",{Icon:r,tone:o}=eF[l],d=(0,g.lastSeen)(n,s);return(0,t.jsxs)(eV.Tooltip,{children:[(0,t.jsx)(eV.TooltipTrigger,{render:(0,t.jsx)("span",{role:"img","aria-label":d,"data-testid":i,"data-signal":l,className:(0,u.classNames)("inline-flex [&_svg]:size-(--size-icon) max-sm:[&_svg]:size-4",o)}),children:(0,t.jsx)(r,{"aria-hidden":!0})}),(0,t.jsx)(eV.TooltipContent,{children:d})]})}var eD=e.i(63481);function eE({model:e,now:s}){let i=function(e,t){var s;let i=new Date(e.statedAt),a=Math.max(0,t.getTime()-i.getTime()),n=(s=e.id).startsWith("@")||/@\d+\.\d+\.\d+$/.test(s)?"Software":"Model";if(a<6e4)return`${n}, stated ${String(Math.floor(a/1e3))} s ago`;let l=(0,g.relativeTime)(i,t);return`${n}, stated ${l.charAt(0).toLowerCase()}${l.slice(1)}`}(e,s);return(0,t.jsxs)(eV.Tooltip,{children:[(0,t.jsxs)(eV.TooltipTrigger,{render:(0,t.jsx)("span",{"data-testid":"fleet-model-hint",className:"min-w-0 truncate font-mono text-id text-muted-foreground"}),children:[e.id,(0,t.jsxs)("span",{className:"sr-only",children:[", ",i]})]}),(0,t.jsx)(eV.TooltipContent,{children:(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"font-mono",children:e.id}),(0,t.jsx)("span",{children:i})]})})]})}var eH=e.i(81830),eU=e.i(1935),eK=e.i(39448),eW=e.i(46033);function e_({label:e,items:s,picked:i,onPickedChange:a,size:n="sm",valueClassName:l,testId:r}){let o=function(e,t){let[s]=e;return void 0===s?{kind:"all"}:1===e.length?{kind:"one",word:t[s]??s}:{kind:"several",count:e.length}}(i,s);return(0,t.jsxs)(eW.Select,{multiple:!0,value:0===i.length?["all"]:[...i],onValueChange:e=>{a(i.length>0&&e.includes("all")?[]:e.filter(e=>"all"!==e))},children:[(0,t.jsx)(eW.SelectTrigger,{size:n,"aria-label":e,"data-testid":r,children:(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:e}),"several"===o.kind?(0,t.jsxs)("span",{className:"inline-flex size-5 items-center justify-center rounded-full bg-primary text-caption font-semibold text-primary-foreground tabular-nums",children:[o.count,(0,t.jsx)("span",{className:"sr-only",children:" picked"})]}):(0,t.jsx)("span",{className:(0,u.classNames)("font-medium","one"===o.kind?l:void 0),children:"one"===o.kind?o.word:"All"})]})}),(0,t.jsxs)(eW.SelectContent,{children:[(0,t.jsx)(eW.SelectItem,{value:"all",children:"All"}),Object.entries(s).map(([e,s])=>(0,t.jsx)(eW.SelectItem,{value:e,className:l,children:s},e))]})]})}function eG({label:e,allLabel:s="All",items:i,picked:a,onPickedChange:n,layout:r="chips",testId:o}){return(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"text-meta font-medium text-muted-foreground",children:e}),(0,t.jsxs)("div",{role:"group","aria-label":e,"data-testid":o,className:"segments"===r?"flex gap-1.5 [&>*]:flex-1":"flex flex-wrap gap-1.5",children:[(0,t.jsx)(l.Button,{variant:0===a.length?"primary":"secondary",size:"touch","aria-pressed":0===a.length,onClick:()=>{n([])},children:s}),Object.entries(i).map(([e,s])=>{let i=a.includes(e);return(0,t.jsx)(l.Button,{variant:i?"primary":"secondary",size:"touch","aria-pressed":i,onClick:()=>{n(i?a.filter(t=>t!==e):[...a,e])},children:s},e)})]})]})}var eJ=e.i(16327),eQ=e.i(68401),eX=e.i(70703),eY=e.i(6734);let eZ=(0,eX.default)(()=>e.A(67858).then(e=>e.LabelPicker),{loadableGenerated:{modules:[59068]},ssr:!1});function e0({groups:e,picked:s,onPick:a,trigger:l}){let[r,o]=(0,n.useState)(!1);return(0,t.jsxs)(eY.Popover,{open:r,onOpenChange:o,children:[(0,t.jsx)(eY.PopoverTrigger,{render:l}),(0,t.jsxs)(eY.PopoverContent,{align:"start",sideOffset:6,className:"w-80 p-2","data-testid":"label-filter-popover",children:[(0,t.jsx)("span",{className:"block px-2 pt-1 pb-2 text-body font-medium",children:"Filter by label"}),(0,t.jsx)(eZ,{groups:e,pickedValueIds:s.map(e=>e.valueId),onPick:e=>{a(e),o(!1)}}),(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)(i.default,{href:"/labels",className:"font-medium text-foreground hover:underline","data-testid":"label-filter-manage",children:"Manage labels"})]})]})]})}function e1({groups:e,picked:i,onPick:a}){return(0,t.jsx)(e0,{groups:e,picked:i,onPick:a,trigger:(0,t.jsxs)(l.Button,{variant:"secondary",size:"sm",icon:(0,t.jsx)(s.Tag,{}),"data-testid":"fleet-filter-labels",children:["Labels",0===i.length?null:(0,t.jsxs)("span",{className:"inline-flex size-5 items-center justify-center rounded-full bg-primary text-caption font-semibold text-primary-foreground tabular-nums",children:[i.length,(0,t.jsx)("span",{className:"sr-only",children:" picked"})]}),(0,t.jsx)(eJ.ChevronDown,{"aria-hidden":!0,className:"text-muted-foreground"})]})})}function e2({groups:e,picked:s,onPick:i,onRemove:a,onClear:n}){return 0===s.length?null:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1.5 text-meta max-sm:hidden","data-testid":"fleet-picked-labels",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Ships with"}),s.map((e,s)=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[0===s?null:(0,t.jsx)("span",{className:"text-muted-foreground",children:"and"}),(0,t.jsx)(eT.LabelChip,{chip:e,testId:"fleet-picked-label",onRemove:()=>{a(e.valueId)}})]},e.valueId)),(0,t.jsx)(e0,{groups:e,picked:s,onPick:i,trigger:(0,t.jsx)(l.Button,{variant:"ghost",size:"xs",icon:(0,t.jsx)(w.Plus,{}),children:"Add"})}),(0,t.jsx)("span",{"aria-hidden":!0,className:"h-4 w-px bg-border"}),(0,t.jsx)(l.Button,{variant:"ghost",size:"xs",onClick:n,"data-testid":"fleet-labels-clear",children:"Clear labels"})]})}function e4({groups:e,picked:s,onPick:a,onRemove:r}){let[o,d]=(0,n.useState)(!1);return(0,t.jsxs)("div",{className:"flex flex-col gap-2","data-testid":"fleet-filter-labels-touch",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2 text-meta font-medium text-muted-foreground",children:["Labels ",(0,t.jsx)("span",{className:"font-normal",children:"all must hold"})]}),0===s.length?null:(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-2 text-meta",children:s.map((e,s)=>(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[0===s?null:(0,t.jsx)("span",{className:"text-muted-foreground",children:"and"}),(0,t.jsx)(eT.LabelChip,{chip:e,onRemove:()=>{r(e.valueId)}})]},e.valueId))}),o?(0,t.jsx)("div",{className:"rounded-lg border border-border p-2",children:(0,t.jsx)(eZ,{groups:e,pickedValueIds:s.map(e=>e.valueId),size:"touch",onPick:e=>{a(e),d(!1)}})}):(0,t.jsx)(l.Button,{variant:"secondary",size:"touch",icon:(0,t.jsx)(w.Plus,{}),className:"self-start",onClick:()=>{d(!0)},children:"Add label"}),(0,t.jsxs)(i.default,{href:"/labels",className:"inline-flex items-center gap-1.5 self-start text-meta text-muted-foreground hover:underline [&_svg]:size-(--size-icon-sm)",children:[(0,t.jsx)(eQ.Tags,{"aria-hidden":!0}),"All labels and their owners"]})]})}function e5(e,t){return{...e,filters:{...e.filters,labelValueIds:t}}}function e8(e){return Object.hasOwn(ej,e)}function e6(e){return Object.fromEntries((0,ec.crewRequestKeysOf)(e).map(e=>[e,(0,ec.crewRequestKeyWord)(e)]))}function e7(e,t){return Object.hasOwn(t,e)}function e3(e){return Object.fromEntries(e.map(e=>[e,e]))}function e9({ship:e,squadron:s,isPluginShip:i}){return"operator"===e.kind?(0,t.jsxs)(ek.Badge,{variant:"kind",children:[(0,t.jsx)(ee.UserRound,{"aria-hidden":!0}),"operator"]}):"viewer"===e.kind?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-viewer",children:[(0,t.jsx)(G.Eye,{"aria-hidden":!0}),"viewer"]}):i?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-plugin",children:[(0,t.jsx)(Q.Plug,{"aria-hidden":!0}),"plugin"]}):s?.role===null?(0,t.jsxs)(ek.Badge,{variant:"kind","data-testid":"fleet-flagship",children:[(0,t.jsx)(J.Flag,{"aria-hidden":!0}),"flagship"]}):null}function te({ship:e,now:s}){return"crewed"!==e.status||"viewer"===e.kind?null:(0,t.jsxs)("span",{"data-testid":"fleet-runs-on",className:"flex min-w-0 items-center gap-3 max-sm:flex-wrap max-sm:gap-y-1",children:[(0,t.jsx)(eD.LocationTag,{kind:"operator"===e.kind&&null!==e.location?"DEVICE":e.location?.kind??null,description:e.location?.description,harness:"operator"===e.kind?"console":e.harness,size:"sm",className:"shrink-0"}),"agent"===e.kind&&null!==e.model?(0,t.jsx)(eE,{model:e.model,now:s}):null]})}function tt({ship:e,squadron:s,labels:i}){let a=s?.role===null?void 0:s,n=void 0===i?[]:(0,ed.chipsOf)(e,i).filter(e=>void 0===a||("squadron"!==e.key||e.value!==a.squadronId)&&("squadron-role"!==e.key||e.value!==a.role));return void 0===a&&0===n.length?null:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 overflow-hidden",children:[void 0===a?null:(0,t.jsx)("span",{className:"min-w-0 shrink",title:null===a.role?a.squadronId:`${a.squadronId} \xb7 ${a.role}`,children:(0,t.jsx)(eU.SquadronTag,{squadronId:a.squadronId,size:"sm"})}),(0,t.jsx)(ez,{chips:n,width:22*(void 0===a),testId:"fleet-labels",href:`/ships/${e.id}`})]})}function ts({ship:e,now:s,next:i}){let a=("agent"===e.kind||"plugin"===e.kind)&&"crewed"===e.status;return(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 max-sm:flex-col max-sm:items-stretch [&:has(button)>[data-testid=fleet-report]]:hidden",children:[a?(0,t.jsx)(eH.ReportLine,{report:e.report,now:s,variant:"row",isTimeInTitle:!0,testId:"fleet-report"}):null,i]})}function ti({ships:e,view:s,onViewChange:i,size:a,squadronsOf:n,labels:r}){let o=e6((0,k.useConsoleConstants)().crewStatuses),{filters:d}=s,c=e=>{i({...s,filters:{...d,...e}})},u="touch"===a;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(e_,{label:"Status",items:ej,picked:d.status,onPickedChange:e=>{c({status:e.filter(e8)})},size:a,testId:u?void 0:"fleet-filter-status"}),(0,t.jsx)(e_,{label:"Crew request",items:o,picked:d.crewRequest,onPickedChange:e=>{c({crewRequest:e.filter(e=>e7(e,o))})},size:a,testId:u?void 0:"fleet-filter-crew-request"}),(0,t.jsx)(e_,{label:"Kind",items:ei,picked:d.kind,onPickedChange:e=>{c({kind:e.filter(en)})},size:a,testId:u?void 0:"fleet-filter-kind"}),(0,t.jsx)(e_,{label:"Type",items:e3(ex(e,d.isRetiredShown)),picked:d.type,onPickedChange:e=>{c({type:e})},size:a,valueClassName:"font-mono",testId:u?void 0:"fleet-filter-type"}),n&&(0,t.jsx)(e_,{label:"Squadron",items:e3(eg(n)),picked:d.squadron,onPickedChange:e=>{c({squadron:e})},size:a,testId:u?void 0:"fleet-filter-squadron"}),void 0===r||u?null:(0,t.jsx)(e1,{groups:(0,ed.filterGroupsOf)(r),picked:(0,ed.pickedChips)(d.labelValueIds,r),onPick:e=>{i(e5(s,[...d.labelValueIds,e]))}}),eb(d).length>0&&!u?(0,t.jsx)(l.Button,{variant:"ghost",size:"xs","data-testid":"fleet-filters-clear",onClick:()=>{i({...s,filters:eu.filters})},children:"Clear filters"}):null]})}function ta({ships:e,view:s,onViewChange:i}){let a="fleet-show-retired";return(0,t.jsxs)("div",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(eN.Switch,{id:a,"data-testid":"fleet-show-retired",checked:s.filters.isRetiredShown,onCheckedChange:e=>{i({...s,filters:{...s.filters,isRetiredShown:e}})}}),(0,t.jsxs)(eC.Label,{htmlFor:a,className:"text-meta font-normal text-muted-foreground",children:["Show retired (",ef(e),")"]})]})}function tn({ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:r}){let o=e6((0,k.useConsoleConstants)().crewStatuses),{filters:d}=s,c=e=>{i({...s,filters:{...d,...e}})},u=ev(d),h=ef(e);return(0,t.jsxs)(et.Sheet,{children:[(0,t.jsx)(et.SheetTrigger,{render:(0,t.jsx)(l.Button,{size:"touch",isIconOnly:!0,"aria-label":u>0?`Filter ships, ${String(u)} active`:"Filter ships","data-testid":"fleet-filters-open",icon:(0,t.jsx)(Z,{}),className:"relative sm:hidden",children:u>0?(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute top-1.5 right-1.5 size-2 rounded-full bg-primary"}):null})}),(0,t.jsxs)(et.SheetContent,{side:"bottom",children:[(0,t.jsxs)(et.SheetHeader,{className:"flex-row items-center justify-between",children:[(0,t.jsx)(et.SheetTitle,{children:"Filter ships"}),(0,t.jsx)(l.Button,{variant:"ghost",size:"touch","data-testid":"fleet-filters-reset",onClick:()=>{i({...s,filters:eu.filters})},children:"Reset"})]}),(0,t.jsxs)(et.SheetBody,{className:"flex flex-col gap-4 pb-4",children:[(0,t.jsx)(eG,{label:"Status",layout:"segments",items:ej,picked:d.status,onPickedChange:e=>{c({status:e.filter(e8)})}}),(0,t.jsx)(eG,{label:"Crew request",items:o,picked:d.crewRequest,onPickedChange:e=>{c({crewRequest:e.filter(e=>e7(e,o))})}}),(0,t.jsx)(eG,{label:"Kind",items:ei,picked:d.kind,onPickedChange:e=>{c({kind:e.filter(en)})},testId:"fleet-filter-kind-touch"}),(0,t.jsx)(eG,{label:"Type",allLabel:"All types",items:e3(ex(e,d.isRetiredShown)),picked:d.type,onPickedChange:e=>{c({type:e})}}),n&&(0,t.jsx)(eG,{label:"Squadron",items:e3(eg(n)),picked:d.squadron,onPickedChange:e=>{c({squadron:e})}}),void 0===r?null:(0,t.jsx)(e4,{groups:(0,ed.filterGroupsOf)(r),picked:(0,ed.pickedChips)(d.labelValueIds,r),onPick:e=>{i(e5(s,[...d.labelValueIds,e]))},onRemove:e=>{i(e5(s,d.labelValueIds.filter(t=>t!==e)))}}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 py-1",children:[(0,t.jsxs)(eC.Label,{htmlFor:"fleet-show-retired-touch",className:"text-body-touch font-normal",children:["Show retired ships ",(0,t.jsxs)("span",{className:"text-muted-foreground",children:["(",h,")"]})]}),(0,t.jsx)(eN.Switch,{id:"fleet-show-retired-touch",checked:d.isRetiredShown,onCheckedChange:e=>{c({isRetiredShown:e})}})]}),(0,t.jsx)(et.SheetClose,{render:(0,t.jsx)(l.Button,{size:"touch","data-testid":"fleet-filters-apply"}),children:1===a?"Show 1 ship":`Show ${String(a)} ships`})]})]})]})}function tl({view:e,onViewChange:s,labels:i}){let a=eb(e.filters),n=void 0===i?[]:(0,ed.pickedChips)(e.filters.labelValueIds,i);return 0===a.length&&0===n.length?null:(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center gap-1.5 sm:hidden","data-testid":"fleet-filter-chips",children:[a.map(e=>(0,t.jsx)(ek.Badge,{variant:"outline",className:"max-w-full truncate",children:e},e)),n.map(i=>(0,t.jsx)(eT.LabelChip,{chip:i,onRemove:()=>{s(e5(e,e.filters.labelValueIds.filter(e=>e!==i.valueId)))}},i.valueId)),(0,t.jsx)(l.Button,{variant:"ghost",size:"touch",onClick:()=>{s({...e,filters:eu.filters})},children:"Clear filters"})]})}function tr({ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:l}){return(0,t.jsxs)("div",{"data-slot":"fleet-toolbar",className:"flex flex-wrap items-center gap-2 sm:flex-nowrap sm:items-start",children:[(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 flex-wrap items-center gap-2",children:[(0,t.jsx)("div",{className:"w-60 max-sm:min-w-0 max-sm:flex-1",children:(0,t.jsx)(ey.Input,{type:"search","aria-label":"Search ships by name or type",placeholder:"Search ships by name","data-testid":"fleet-search",value:s.query,onChange:e=>{i({...s,query:e.target.value})},leadingIcon:(0,t.jsx)(X.Search,{}),className:"h-(--size-control-sm) text-meta max-sm:h-(--size-control-touch) max-sm:text-input-touch"})}),(0,t.jsx)("div",{className:"max-sm:hidden sm:contents",children:(0,t.jsx)(ti,{ships:e,view:s,onViewChange:i,squadronsOf:n,labels:l,size:"sm"})}),(0,t.jsx)(tn,{ships:e,view:s,onViewChange:i,shownCount:a,squadronsOf:n,labels:l})]}),(0,t.jsx)(tl,{view:s,onViewChange:i,labels:l}),(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2 max-sm:w-full sm:h-(--size-control-sm)",children:[(0,t.jsx)("div",{className:"max-sm:hidden",children:(0,t.jsx)(ta,{ships:e,view:s,onViewChange:i})}),(0,t.jsxs)("p",{"aria-live":"polite",className:"text-meta text-muted-foreground tabular-nums",children:[a," of ",e.length," ships"]})]})]})}function to({ship:e}){return(0,t.jsx)(eK.ShipName,{name:e.name,shipId:e.id,isSuffixShown:"retired"===e.status,href:"operator"===e.kind?"/inbox":`/ships/${e.id}`,className:"[&_a]:max-sm:whitespace-normal [&_a]:max-sm:break-all [&_a]:max-sm:text-body-touch"})}let td=[{column:"ship",head:"Ship"},{column:"status",head:"Status"},{column:"report",head:"Report"},{column:"squadronAndLabels",head:"Squadron and labels"},{column:"runsOn",head:"Runs on"},{column:"seen",head:"Seen"}];function tc({ships:e,highlightedShipIds:s,now:i,renderRowActions:a,squadronsOf:n,labels:l,pluginShipIds:r,sort:o,onSort:d}){return(0,t.jsx)("div",{className:"max-sm:hidden",children:(0,t.jsxs)(eS.Table,{"aria-label":"Ships",className:"min-w-320 table-fixed",children:[(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{className:"w-56"}),(0,t.jsx)("col",{className:"w-40"}),(0,t.jsx)("col",{className:"w-64"}),(0,t.jsx)("col",{className:"w-56"}),(0,t.jsx)("col",{className:"w-80"}),(0,t.jsx)("col",{className:"w-12"}),(0,t.jsx)("col",{className:"w-12"})]}),(0,t.jsx)(eS.TableHeader,{children:(0,t.jsxs)(eS.TableRow,{children:[td.map(({column:e,head:s})=>void 0===d?(0,t.jsx)(eS.TableHead,{children:s},e):(0,t.jsx)(eS.TableSortHead,{"data-testid":`fleet-sort-${e}`,direction:o?.column===e?o.direction:null,onSort:()=>{d(e)},children:s},e)),(0,t.jsx)(eS.TableHead,{children:(0,t.jsx)("span",{className:"sr-only",children:"Actions"})})]})}),(0,t.jsx)(eS.TableBody,{children:e.map(e=>(0,t.jsxs)(eS.TableRow,{"data-testid":`fleet-row-${e.name}`,"data-new":s?.has(e.id)?"":void 0,className:"h-12",children:[(0,t.jsx)(eS.TableCell,{children:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2 whitespace-nowrap",children:[(0,t.jsx)(to,{ship:e}),(0,t.jsx)(e9,{ship:e,squadron:n?.get(e.id),isPluginShip:r?.has(e.id)??!1})]})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(B.StatusBadge,{status:e.status})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(ts,{ship:e,now:i,next:a?.(e,"next")})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(tt,{ship:e,squadron:n?.get(e.id),labels:l})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(te,{ship:e,now:i})}),(0,t.jsx)(eS.TableCell,{children:(0,t.jsx)(eB,{seenAt:e.lastSeenAt,now:i,testId:"fleet-last-seen"})}),(0,t.jsx)(eS.TableCell,{className:"w-10 text-right",children:a?.(e,"table")})]},e.id))})]})})}function tu({ships:e,highlightedShipIds:s,now:i,renderRowActions:a,squadronsOf:n,pluginShipIds:l}){return(0,t.jsx)("ul",{"aria-label":"Ships",className:"overflow-hidden rounded-lg border border-border bg-card sm:hidden",children:e.map(e=>(0,t.jsxs)("li",{"data-testid":`fleet-card-${e.name}`,"data-new":s?.has(e.id)?"":void 0,className:"flex items-start gap-2 border-b border-border px-3.5 py-3 last:border-0 data-new:animate-highlight",children:[(0,t.jsxs)("div",{className:"flex min-w-0 grow flex-col gap-1.5",children:[(0,t.jsx)("div",{className:"text-body-touch",children:(0,t.jsx)(to,{ship:e})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)(B.StatusBadge,{status:e.status}),(0,t.jsx)(e9,{ship:e,squadron:n?.get(e.id),isPluginShip:l?.has(e.id)??!1})]}),(0,t.jsx)(tt,{ship:e,squadron:n?.get(e.id)}),(0,t.jsx)(ts,{ship:e,now:i,next:a?.(e,"next")}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1",children:[(0,t.jsx)(te,{ship:e,now:i}),(0,t.jsx)(eB,{seenAt:e.lastSeenAt,now:i})]})]}),a?.(e,"phone")]},e.id))})}function th({ships:e,view:s,onViewChange:i,state:a,error:n,highlightedShipIds:r,now:o,renderRowActions:d,emptyAction:c,squadronsOf:u,labels:h,pluginShipIds:m}){var p,x,f;let g,j,v;if("loading"===a)return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"loading",className:"flex flex-col gap-3",children:[(0,t.jsx)(eR.LoadingSkeleton,{variant:"table",rows:6,label:"Loading the fleet",className:"max-sm:hidden"}),(0,t.jsx)(eR.LoadingSkeleton,{variant:"list",rows:5,label:"Loading the fleet",className:"sm:hidden"})]});if("error"===a)return(0,t.jsx)(eI.InlineError,{variant:"page",title:"Couldn’t load the fleet",description:"This page couldn’t reach the fleet server. Check that the server is running and reachable from this browser, then try again.",detail:n?.detail,onRetry:n?.onRetry});let w={highlightedShipIds:r,now:o,renderRowActions:d,squadronsOf:u,pluginShipIds:m};if(e.every(e=>"operator"===e.kind||"retired"===e.status)){let s=e.filter(e=>"operator"===e.kind);return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"empty",className:"flex flex-col gap-3",children:[(0,t.jsx)(tc,{ships:s,labels:h,...w}),(0,t.jsx)(tu,{ships:s,...w}),(0,t.jsx)(eq.EmptyState,{icon:(0,t.jsx)(F.Ship,{}),title:"No ships besides argo yet",description:"argo is your own ship: messages to the operator land in its inbox. Commission a ship to add an agent to the fleet.",action:c})]})}let b=(j=null===(p={...s,squadronsOf:u,pluginShipIds:m}).sort?ep:(x=p.sort,f=p.squadronsOf,g=("ascending"===x.direction?1:-1)*("seen"===x.column?-1:1),(e,t)=>{let s=er(e,{column:x.column,squadronsOf:f}),i=er(t,{column:x.column,squadronsOf:f});return void 0===s||void 0===i?Number(void 0===s)-Number(void 0===i):g*s.localeCompare(i,void 0,{sensitivity:"base"})}),e.filter(e=>{let t;return(""===(t=p.query.trim().toLowerCase())||e.name.toLowerCase().includes(t)||e.type.toLowerCase().includes(t))&&function(e,t){let{filters:s,squadronsOf:i,pluginShipIds:a=eh}=t;if("retired"===e.status&&!s.isRetiredShown)return!1;let n="retired"===e.status?void 0:e.status;return em(s.squadron,i?.get(e.id)?.squadronId)&&em(s.status,n)&&em(s.crewRequest,(0,ec.crewRequestKey)((0,eo.crewRequestStage)(e)))&&em(s.kind,"operator"===e.kind||"viewer"===e.kind?"console":a.has(e.id)?"plugin":"trierarch"===e.type?"trierarch":(null===e.harness?void 0:ea[e.harness])??"other")&&em(s.type,e.type)&&(0,ed.carriesEvery)(e,s.labelValueIds)}(e,p)}).toSorted((e,t)=>j(e,t)||e.name.localeCompare(t.name)||e.id.localeCompare(t.id))),k=s.query.trim();return(0,t.jsxs)("div",{"data-slot":"fleet-table","data-state":"ready",className:"flex flex-col gap-3",children:[(0,t.jsx)(tr,{ships:e,view:s,onViewChange:i,shownCount:b.length,squadronsOf:u,labels:h}),void 0===h?null:(0,t.jsx)(e2,{groups:(0,ed.filterGroupsOf)(h),picked:(0,ed.pickedChips)(s.filters.labelValueIds,h),onPick:e=>{i(e5(s,[...s.filters.labelValueIds,e]))},onRemove:e=>{i(e5(s,s.filters.labelValueIds.filter(t=>t!==e)))},onClear:()=>{i(e5(s,[]))}}),0===b.length?(0,t.jsx)(eq.EmptyState,{variant:"no-results",title:""===k?"No ships match these filters.":`No ships match “${k}”.`,action:(0,t.jsx)(l.Button,{size:"xs","data-testid":"fleet-clear-filters",onClick:()=>{i({...eu,sort:s.sort})},children:(v=ev(s.filters)>0,""===k?"Clear filters":v?"Clear search and filters":"Clear search")})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(tc,{ships:b,labels:h,sort:s.sort,onSort:e=>{var t;i({...s,sort:(t=s.sort,t?.column!==e?{column:e,direction:"ascending"}:"ascending"===t.direction?{column:e,direction:"descending"}:null)})},...w}),(0,t.jsx)(tu,{ships:b,...w})]})]})}function tm({view:e,onViewChange:s,newShipIds:i,renderRowActions:a}){let n=(0,p.useFleetSnapshot)(),l=(0,f.useNow)(),r=(0,z.useSquadrons)(),o=(0,p.useLabelContext)(),d=(0,W.usePluginShipIds)();return(0,t.jsx)("section",{"aria-label":"Fleet",className:"flex flex-col gap-3",children:(0,t.jsx)(th,{ships:n.data??[],view:e,onViewChange:s,state:n.isPending?"loading":n.isError?"error":"ready",error:{detail:n.error?.message,onRetry:()=>{n.refetch()}},highlightedShipIds:i,now:l,renderRowActions:a,squadronsOf:r.data?(0,_.shipsInSquadrons)(r.data):void 0,labels:o,pluginShipIds:d})})}var tp=e.i(21959),tx=e.i(15327),tf=e.i(77435),tg=e.i(77821),tj=e.i(87964),tv=e.i(62687),tw=e.i(90262),tb=e.i(18423),tk=e.i(78485),ty=e.i(3979);e.s(["OverviewPage",0,function({view:e,isCommissionAsked:o}){let d=(0,a.useRouter)(),c=(0,p.useFleetSnapshot)(),u=(0,tb.useLiveFleet)(),h=(0,tj.useConsoleFrame)(),m=(0,I.messageLimitReached)((0,S.useFleetLimits)().data),x=(0,q.useHostedAccountUrl)(),f=(0,tw.useAccess)(),g=(0,ty.usePluginNav)(),[w,b]=(0,n.useState)(!1),[k,y]=(0,n.useOptimistic)(e);(0,tk.useSignInWhenSessionEnds)([c.error,u.error]);let C=e=>{let t=(function(e){let t=new URLSearchParams;for(let[s,i]of(""!==e.query&&t.set("q",e.query),[["status",e.filters.status],["crew",e.filters.crewRequest],["kind",e.filters.kind],["type",e.filters.type],["squadron",e.filters.squadron]]))for(let e of i)t.append(s,e);for(let s of(e.filters.isRetiredShown&&t.set("retired","1"),e.filters.labelValueIds))t.append("label",s);return null!==e.sort&&(t.set("sort",e.sort.column),"descending"===e.sort.direction&&t.set("order","desc")),t})(e).toString();(0,n.startTransition)(()=>{y(e),d.replace(""===t?"/":`/?${t}`,{scroll:!1})})};return(0,t.jsxs)(tg.ListPage,{...h,title:"Fleet overview",description:c.data?function(e){let t=j(e.ships).length,s=e.ships.filter(e=>"agent"===e.kind&&"retired"===e.status).length;if(0===t&&0===s)return e.canCommission?"Only argo so far. Ships you commission appear here.":"Only argo so far.";let i=0===s?"":`, ${String(s)} retired`;return`${1===t?"1 active ship":`${String(t)} active ships`} and argo${i}. Changes appear as they happen.`}({ships:c.data,canCommission:f.canManage}):"Loading your fleet",primaryAction:(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2 max-sm:flex-col max-sm:items-stretch",children:[(0,t.jsx)(l.Button,{render:(0,t.jsx)(i.default,{href:"/labels"}),nativeButton:!1,icon:(0,t.jsx)(s.Tag,{}),"data-testid":"overview-labels",children:f.canDefineLabels?"Manage labels":"View labels"}),f.canManage?(0,t.jsx)($,{isOpen:w||o,onOpenChange:t=>{b(t),!t&&o&&C(e)}}):null]}),live:u.live,children:[(0,t.jsx)(tv.FleetSegments,{active:"ships",needsCrewCount:g.needsCrewCount}),void 0===m?null:(0,t.jsx)(tf.LimitNotice,{...(0,I.messageLimitNotice)(m),accountUrl:x,testId:"overview-message-limit"}),(0,t.jsx)(K,{}),(0,t.jsx)(v,{}),(0,t.jsx)(tm,{view:k,onViewChange:C,newShipIds:u.newShipIds,renderRowActions:(e,s)=>(0,t.jsx)(tp.ShipActions,{ship:e,layout:"table"===s?"menu":"phone"===s?"sheet":"next",compose:r.ComposeMessage,crewLineFlow:tx.NewCrewLineFlow})})]})}],42047)}]);