@aeolus-fleet/gateway 0.38.0 → 0.38.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.
- package/README.md +1 -1
- package/dist/adapters/trpc/router.d.ts +10 -0
- package/dist/adapters/trpc/router.js +2 -0
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.js +2 -0
- package/dist/app.js.map +1 -1
- package/dist/core/people/read-item.d.ts +31 -0
- package/dist/core/people/read-item.js +77 -0
- package/dist/core/people/read-item.js.map +1 -0
- package/package.json +7 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/build-manifest.json +3 -3
- package/web/.next/diagnostics/route-bundle-stats.json +65 -65
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/basket/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/bridge/basket/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/basket/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/basket/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/bridge/done/page.js +6 -5
- package/web/.next/server/app/(bridge)/bridge/done/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/fleet/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/fleet/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/fleet/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/fleet/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/messages/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(bridge)/bridge/messages/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/messages/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/messages/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/bridge/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/settings/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page.js +5 -4
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page/server-reference-manifest.json +17 -17
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page/server-reference-manifest.json +17 -17
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add/page/server-reference-manifest.json +12 -12
- package/web/.next/server/app/(bridge)/outside-parties/add/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/add/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/page.js +5 -4
- package/web/.next/server/app/(bridge)/outside-parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/gateway-off/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page.js +1 -1
- package/web/.next/server/app/(console)/gateway-off/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(console)/parties/page.js +1 -1
- package/web/.next/server/app/(console)/parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page.js +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/disconnect/page.js +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/expose/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/expose/page.js +3 -3
- package/web/.next/server/app/(console)/slack/expose/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/expose/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/page.js +1 -1
- package/web/.next/server/app/(console)/slack/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/remove/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/remove/page.js +1 -1
- package/web/.next/server/app/(console)/slack/remove/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/remove/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/apple-icon.png/route.js.nft.json +1 -1
- package/web/.next/server/app/apple-icon.png.body +0 -0
- package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/failed/page.js +1 -1
- package/web/.next/server/app/authorize/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/pick/page.js +1 -1
- package/web/.next/server/app/authorize/pick/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/pick/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page.js +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/web/.next/server/app/icon.svg.body +1 -19
- package/web/.next/server/chunks/_0xw0b7avhvg75._.js +1 -1
- package/web/.next/server/chunks/_0xw0b7avhvg75._.js.map +1 -1
- package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js +1 -1
- package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js.map +1 -1
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js +1 -1
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js.map +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_messages_page_actions_1tg2-lw0i6g9l.js +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_messages_page_actions_1tg2-lw0i6g9l.js.map +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_settings_page_actions_0_te6h-2xxp7l.js +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_settings_page_actions_0_te6h-2xxp7l.js.map +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_change_page_actions_1is-kjq5bubl4.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_change_page_actions_1is-kjq5bubl4.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_page_actions_1mctxtlzsa7xi.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_page_actions_1mctxtlzsa7xi.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_retire_page_actions_0xh6ok1un7s9k.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_retire_page_actions_0xh6ok1un7s9k.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add-a2a-agent_page_actions_1w1q5eavo_loo.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add-a2a-agent_page_actions_1w1q5eavo_loo.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add_page_actions_0urcbg_r0lo7j.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add_page_actions_0urcbg_r0lo7j.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0-h3ug3wdr27n._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0-h3ug3wdr27n._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__03xkymn2kbk1v._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__03xkymn2kbk1v._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__048-rfvdrnoze._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__04g-10_lwy-l2._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__06nuuvz8l91mm._.js +10 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__06nuuvz8l91mm._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07ba2bfe20c_p._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__07ba2bfe20c_p._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0f732g7ojc5-a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0fujyqtfujrz5._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0fujyqtfujrz5._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0gy9anoap9qnn._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0gy9anoap9qnn._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0i_m5r9lyffk8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ibcjk97mwv4x._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ibcjk97mwv4x._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k-5_al3xk509._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k-5_al3xk509._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k6a9o0872_0x._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0khxo9vhpo7sr._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0khxo9vhpo7sr._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0lz_zcfd17a39._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0lz_zcfd17a39._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n-egt7194u1g._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n-egt7194u1g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ovcg5tg3nh49._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ovcg5tg3nh49._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ro-majrw7piv._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ro-majrw7piv._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0zz6fx0keti4r._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0zz6fx0keti4r._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__19p4g16n2nh0b._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__19p4g16n2nh0b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a-kyppd8dwmc._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1a-kyppd8dwmc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1iqxg48po42ig._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1iqxg48po42ig._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1k8mb42yj44l0._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1k8mb42yj44l0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1kynqd8xcwg2b._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1kynqd8xcwg2b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1l_ua7k9ape55._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1l_ua7k9ape55._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ncn4wx-1i09m._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ncn4wx-1i09m._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1r1t1q3fzoqey._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1vrtfw4dxnfxt._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xmvo3lr1_qyo._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0no4kkaie8a0y._.js → _0-785idcov4j4._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0no4kkaie8a0y._.js.map → _0-785idcov4j4._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0_nfv33ug5g31._.js +1 -1
- package/web/.next/server/chunks/ssr/_0_nfv33ug5g31._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0fqd23gyia_8g._.js +1 -1
- package/web/.next/server/chunks/ssr/_0fqd23gyia_8g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0u-5l6op7xjh0._.js → _0nh9w3mh82f53._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0u-5l6op7xjh0._.js.map → _0nh9w3mh82f53._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0dnp_nxhcy1tk._.js → _17pnprd-0lxai._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_14unkhmeoxqym._.js.map → _17pnprd-0lxai._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1cs_0d0h7mhw0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1cs_0d0h7mhw0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1cxulh-x54r6v._.js +3 -0
- package/web/.next/server/chunks/ssr/{_1h28qsfbdt-ph._.js.map → _1cxulh-x54r6v._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1j80let80btdj._.js +3 -0
- package/web/.next/server/chunks/ssr/{_1o4xyxozurta7._.js.map → _1j80let80btdj._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_14unkhmeoxqym._.js → _1q5o7l5d6r_f5._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0dnp_nxhcy1tk._.js.map → _1q5o7l5d6r_f5._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1unzgziqo0j03._.js +57 -0
- package/web/.next/server/chunks/ssr/_1unzgziqo0j03._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1yy6lx5ur8mbz._.js +57 -0
- package/web/.next/server/chunks/ssr/_1yy6lx5ur8mbz._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01dhlues8c7ml.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_01dhlues8c7ml.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_07y8ae2h21f9p.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_07y8ae2h21f9p.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08d89iicdayuk.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08d89iicdayuk.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08sinhjbj9agz.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_08sinhjbj9agz.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0b2haj8_y8lu_.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0b2haj8_y8lu_.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0me2jx2fwv_8c.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0me2jx2fwv_8c.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xxc4eq32ewk5.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0xxc4eq32ewk5.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1klryi6-w9ur5.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1klryi6-w9ur5.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1lo_i86tv4z-6.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1lo_i86tv4z-6.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qmlbi4q1-6b7.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1qmlbi4q1-6b7.js.map +1 -0
- package/web/.next/server/chunks/ssr/{node_modules_next_dist_esm_build_templates_app-page_0g15rgn4n-oiz.js → node_modules_next_dist_esm_build_templates_app-page_1rw6ik0j23aki.js} +2 -2
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1rw6ik0j23aki.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1t0a0nkq0woc8.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1t0a0nkq0woc8.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1unw2j3tp34id.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1unw2j3tp34id.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1uzkkryl0w9c4.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1uzkkryl0w9c4.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1wl_71f8j6j_8.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1wl_71f8j6j_8.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1z7pcoxf6w70s.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1z7pcoxf6w70s.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_00e7-_y92losl._.js +1 -1
- package/web/.next/server/chunks/ssr/web_00e7-_y92losl._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_00r-wf_2cxh1v._.js +1 -1
- package/web/.next/server/chunks/ssr/web_00r-wf_2cxh1v._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_03d5ej1xq-7uh._.js +3 -0
- package/web/.next/server/chunks/ssr/web_03d5ej1xq-7uh._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_09zipglxee7tv._.js +1 -1
- package/web/.next/server/chunks/ssr/web_09zipglxee7tv._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0a9n7acgjrk5c._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0a9n7acgjrk5c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0cxcy088wnfmw._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0cxcy088wnfmw._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0oz8bypfxh82g._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0oz8bypfxh82g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0pk41f5m34jvi._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0pk41f5m34jvi._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0v-7sowo0hupw._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0v-7sowo0hupw._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_0zxufwo8cd7v3._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0zxufwo8cd7v3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_1rmcjkj1pjylk._.js +1 -1
- package/web/.next/server/chunks/ssr/web_1rmcjkj1pjylk._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_1vvrekkq5mirt._.js +1 -1
- package/web/.next/server/chunks/ssr/web_1vvrekkq5mirt._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_fleet_page_actions_19wmo6phgvqfk.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_fleet_page_actions_19wmo6phgvqfk.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_settings_page_tsx_1z5yr8ss25q7n._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_settings_page_tsx_1z5yr8ss25q7n._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_layout_tsx_0io-giu9m2p0z._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_layout_tsx_0io-giu9m2p0z._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_outside-parties_[name]_change_page_tsx_15monuoxw-kse._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_outside-parties_[name]_change_page_tsx_15monuoxw-kse._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_outside-parties_[name]_retire_page_tsx_0pljqvw60fh7t._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(bridge)_outside-parties_[name]_retire_page_tsx_0pljqvw60fh7t._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_parties_page_tsx_0pp63ghly3eyp._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_parties_page_tsx_0pp63ghly3eyp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_page_tsx_0ts7fo7pqicq6._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_page_tsx_0ts7fo7pqicq6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_remove_page_tsx_15q4ril_on0ed._.js +1 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_slack_remove_page_tsx_15q4ril_on0ed._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_16hw9h4_xwpao._.js → web_features_1kv2-nwrqcvkb._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_16hw9h4_xwpao._.js.map → web_features_1kv2-nwrqcvkb._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{web_features_1hnchp2y9ily-._.js → web_features_1ldqjm-0yawn-._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_1hnchp2y9ily-._.js.map → web_features_1ldqjm-0yawn-._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_bridge_03kikxozygua1._.js → web_features_bridge_1kjza9vdof095._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_bridge_03kikxozygua1._.js.map → web_features_bridge_1kjza9vdof095._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_hooks_bridge-actions_ts_0h-_xm2rcb-ij._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_basket-panel_tsx_1qi_kzld0rfgs._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_basket-panel_tsx_1qi_kzld0rfgs._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_decision-panel_tsx_1mzsixgc8zuxc._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_decision-panel_tsx_1mzsixgc8zuxc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_done-panel_tsx_1m844-qb1z9p_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_done-panel_tsx_1m844-qb1z9p_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_message-rows_tsx_1ky4-xa4az_yu._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_message-rows_tsx_1ky4-xa4az_yu._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_messages-panel_tsx_1yvr_ww639d25._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_messages-panel_tsx_1yvr_ww639d25._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_parties_actions_ts_0r-tbfsig2ty-._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_slack_actions_ts_1l3yg9vl20_vu._.js +1 -1
- package/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/server/pages/500.html +1 -1
- package/web/.next/server/preview-props.json +3 -3
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +53 -53
- package/web/.next/static/chunks/{09y_kqg5jr2to.js → 0d9nwi_5jtx1s.js} +1 -1
- package/web/.next/static/chunks/{0j8ndrgty645i.js → 0mgpgj4c1qyd-.js} +1 -1
- package/web/.next/static/chunks/{1y32oubd_6md2.js → 0r0gremjx2f00.js} +1 -1
- package/web/.next/static/chunks/{0qynje165r8pk.js → 0u8l5qlnqqouz.js} +1 -1
- package/web/.next/static/chunks/{1n5114efmpzm8.js → 1-fz8siz2ll12.js} +1 -1
- package/web/.next/static/chunks/{3_5r6ivx93es-.js → 1gws30z-w_b5u.js} +1 -1
- package/web/.next/static/chunks/{31bq1uh9ulaeu.js → 1l7xdbkkzyg84.js} +1 -1
- package/web/.next/static/chunks/{0l4t9n_wkfvga.js → 1qk1rg1nlwibf.js} +1 -1
- package/web/.next/static/chunks/{0n99u0tboun9p.js → 1y0i5sfbser7m.js} +1 -1
- package/web/.next/static/chunks/{1x87y_kcnt2cq.js → 2bwa_vmicucp7.js} +1 -1
- package/web/.next/static/chunks/{0tfn6_lm7dz7s.js → 2h_eln166j2qm.js} +1 -1
- package/web/.next/static/chunks/{0scfm0b6ozb25.js → 2uyfitze_si6t.js} +1 -1
- package/web/.next/static/chunks/{3azyb0n45b1y9.js → 2xewn4wc6-r89.js} +1 -1
- package/web/.next/static/chunks/{1qm1btwpwf1ih.js → 2zy50m3u0ncal.js} +1 -1
- package/web/.next/static/chunks/{1vuekfthkmjng.js → 363hplgln_a8l.js} +1 -1
- package/web/.next/static/chunks/{0_wc_d56c40gm.js → 3_pcw5v326or4.js} +1 -1
- package/web/.next/static/chunks/{0ft62462m_rg0.js → 3jmofkmbej71o.js} +1 -1
- package/web/.next/static/chunks/{3jczm4mvyshsf.js → 3qx9pxz84tr19.js} +1 -1
- package/web/.next/static/chunks/{0g07rkq-36dl0.js → 3vslm1-mw-xs2.js} +1 -1
- package/web/.next/static/media/apple-icon.3r3-hvwfcl7n_.png +0 -0
- package/web/.next/static/media/icon.1btn_u3uez_sn.svg +1 -0
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/validator.ts +17 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0grpi5wnl9ppf._.js +0 -10
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0grpi5wnl9ppf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_16v-4haxv-0-o._.js +0 -57
- package/web/.next/server/chunks/ssr/_16v-4haxv-0-o._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1h28qsfbdt-ph._.js +0 -3
- package/web/.next/server/chunks/ssr/_1o4xyxozurta7._.js +0 -3
- package/web/.next/server/chunks/ssr/_1yl6jrimy685b._.js +0 -57
- package/web/.next/server/chunks/ssr/_1yl6jrimy685b._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_02s6inh4usc9k.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_02s6inh4usc9k.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ad4b2lkk31jj.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ad4b2lkk31jj.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ergh-a6r7yu_.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ergh-a6r7yu_.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0g15rgn4n-oiz.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hzwtyh-646p2.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hzwtyh-646p2.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0mm8dt8tws1fz.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0mm8dt8tws1fz.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tcy7phl8a4gj.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tcy7phl8a4gj.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0vfjfe4aq6spg.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0vfjfe4aq6spg.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yv3l9ohiylc6.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0yv3l9ohiylc6.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-wfs2n5p56lo.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-wfs2n5p56lo.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11x159_oszki3.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11x159_oszki3.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7q9sxgla_vx.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c7q9sxgla_vx.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dcjexx9b9waj.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dcjexx9b9waj.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dltrn6ii5dd6.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dltrn6ii5dd6.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hm1iu016c1fy.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hm1iu016c1fy.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zaoeyy4_vir_.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zaoeyy4_vir_.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_09rcfto3dw4wd._.js +0 -3
- package/web/.next/server/chunks/ssr/web_09rcfto3dw4wd._.js.map +0 -1
- package/web/.next/static/media/apple-icon.3jccaq3p5-lh-.png +0 -0
- package/web/.next/static/media/icon.1o2ogor9e8-fc.svg +0 -19
- /package/web/.next/static/{6etIIH3qFw-_kdbaUFERx → EmsE5wPdK7fJYQ7DzIz5z}/_buildManifest.js +0 -0
- /package/web/.next/static/{6etIIH3qFw-_kdbaUFERx → EmsE5wPdK7fJYQ7DzIz5z}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{6etIIH3qFw-_kdbaUFERx → EmsE5wPdK7fJYQ7DzIz5z}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[70812,71136,96315,28623,e=>{var t=e.i(56420);let r={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],70812);let n={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],71136);let s={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};s.node;let d=(0,t.f)(s);e.s(["f",0,d],96315);let o={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};o.node;let l=(0,t.f)(o);e.s(["f",0,l],28623)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var r=e.i(56420);let a={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};a.node;let n=(0,r.f)(a);e.s(["f",0,n],59381)},66595,e=>{var t=e.i(56420);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],66595)},95187,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(32120),s=e.r(92245),d=e.r(35326)},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},r={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},a=["decide","do"],n="Bridge keeps every item.",i={label:"Not offered",isOk:!1},s={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,r,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:s,description:o,action:"turnOn"}:{state:i,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:r})=>r.email!==t&&(!t||a.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],r=t.at(-1),a=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(r)}`;return`Shows in ${a}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:r}=e;return null===r?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${r.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:a,place:i,isOn:s,waiting:d,isChatOn:o}=e,{name:l,item:c,items:m}=t[a],u=`${r[i]} is ${s?"on":"off"} for ${l}`;return s?"chat"===i?{title:u,detail:`A chat lists every ${c} not done when you ask it.`}:{title:u,detail:`${r[i]} shows ${m} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:u,detail:"everything-else"===a&&"slack"===i?`Bots only: a bot ship's messages and replies to Slack still show there. ${n}`:n}},"B",0,function(e){if(!e.isOffered)return{state:i,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:s,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:r})=>t===e.ownEndpoint&&!r);return void 0===t?{state:s,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},35159,e=>{e.s(["b",0,function(e){let t="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${t}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:t}){return`${e.replace(/\/$/,"")}/ships/${t}`},"E",0,function(e){return`${String(e)} unseen`}])},15685,e=>{var t=e.i(43476),r=e.i(85595),a=e.i(16984),n=e.i(71645),i=e.i(95187);let s=(0,i.createServerReference)("6037093790bdd1fd792094ebc314f7563d028aa186",i.callServer,void 0,i.findSourceMapURL,"readMoreRecord");var d=e.i(12497),o=e.i(55070),l=e.i(29247),c=e.i(54235),m=e.i(92407);function u({question:e,answered:r}){return(0,t.jsx)("ul",{className:"grid gap-2","aria-label":"Options",children:e.options.map(a=>{let n=a.key===r;return(0,t.jsxs)("li",{"data-answered":n,className:`flex items-start gap-3 rounded-md border p-3 ${n?"border-ring ring-1 ring-ring":"border-border text-muted-foreground"}`,children:[(0,t.jsx)("span",{"data-testid":"bridge-done-radio","data-filled":n,"aria-hidden":"true",className:`mt-1 grid size-4 shrink-0 place-items-center rounded-full border ${n?"border-primary":"border-border"}`,children:n?(0,t.jsx)("span",{className:"size-2 rounded-full bg-primary"}):null}),(0,t.jsxs)("span",{className:"grid flex-1 gap-0.5",children:[(0,t.jsxs)("span",{className:"font-medium",children:[a.key,". ",a.label]}),""===a.detail?null:(0,t.jsx)("span",{className:"text-caption text-muted-foreground max-md:hidden",children:a.detail})]}),a.key===e.pick.option?(0,t.jsx)("span",{className:"rounded-sm border border-border px-1.5 text-caption",children:"Their pick"}):null]},a.key)})})}function h({ended:e}){let n=e.isOk?r.f:a.f;return(0,t.jsxs)("div",{"data-testid":"bridge-done-ended",role:"status",className:`flex items-start gap-3 rounded-md border p-3 ${e.isOk?"border-tone-ok-border bg-tone-ok-bg":"border-tone-ended-border bg-tone-ended-bg"}`,children:[(0,t.jsx)(n,{"aria-hidden":!0,className:`mt-0.5 size-4 shrink-0 ${e.isOk?"text-tone-ok-fg":"text-tone-ended-fg"}`}),(0,t.jsxs)("span",{className:"grid gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium",children:e.text}),void 0===e.sent?null:(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:e.sent})]})]})}function p({item:e,timeZone:r}){return(0,t.jsx)("ol",{"data-testid":"bridge-done-history",className:"grid gap-1.5 text-caption max-md:hidden",children:(0,d.L)(e,r).map(e=>(0,t.jsxs)("li",{className:"grid grid-cols-[3rem_0.5rem_minmax(0,1fr)] items-center gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground tabular-nums",children:e.at}),(0,t.jsx)("i",{"aria-hidden":"true",className:`size-1.5 rounded-full ${e.isEnd?"bg-tone-ok-fg":"bg-border"}`}),(0,t.jsxs)("span",{children:[e.text,void 0===e.detail?null:(0,t.jsxs)("span",{className:"text-muted-foreground",children:[" · ",e.detail]})]})]},`${e.at} ${e.text}`))})}function g({item:e,timeZone:r,bridgeHost:a,onBack:n}){let i=(0,l.N)(e),s=(0,l.R)(e,a),o=(0,d.d)(e,r),x={job:e.job,isAlert:e.isAlert,wasNew:!1};return(0,t.jsxs)("section",{"data-testid":"bridge-done-item",className:"grid min-w-0 content-start gap-3 text-card-foreground md:p-5",children:[(0,t.jsx)(c.g,{opened:x,title:(0,d.c)(e),isWorking:!1,onBack:n}),(0,t.jsx)(c.$,{delivery:e,opened:x,timeZone:r}),(0,t.jsx)("h2",{className:"text-heading font-semibold",children:i?.title??e.title}),void 0!==s?(0,t.jsx)(c.l,{step:s,isStale:!1,isFinished:!0}):void 0===i?(0,t.jsx)(m.f,{text:(0,l.Y)(e)}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:c.R,children:(0,t.jsx)(m.f,{text:i.context})}),(0,t.jsx)(u,{question:i,answered:e.outcome?.option??null})]}),void 0===o?null:(0,t.jsx)(h,{ended:o}),(0,t.jsx)(p,{item:e,timeZone:r})]})}var x=e.i(19015),f=e.i(62579),b=e.i(63132);function y(){return()=>void 0}function v(e){return e.outcome?.at??e.sentAt}function j({item:e}){let n=(0,d.o)(e),i=n.isOk?r.f:a.f;return(0,t.jsxs)("span",{"data-testid":"bridge-done-outcome",className:"flex items-start gap-1.5 text-caption",children:[(0,t.jsx)(i,{"aria-hidden":"true",className:`mt-0.5 size-3.5 shrink-0 ${n.isOk?"text-tone-ok-fg":"text-muted-foreground"}`}),n.text]})}e.s(["DonePanel",0,function({fleetId:e,first:r,now:a}){let i=new Date(a),l=(0,n.useSyncExternalStore)(y,()=>Intl.DateTimeFormat().resolvedOptions().timeZone,()=>"UTC"),[c,m]=(0,n.useState)(r.items),[u,h]=(0,n.useState)(r.nextCursor),[p,k]=(0,n.useState)(),[w,N]=(0,n.useState)(),[$,S]=(0,n.useTransition)(),O=c.find(({deliveryId:e})=>e===w);return(0,t.jsx)(f.f,{list:(0,t.jsxs)("section",{className:`grid gap-3 ${void 0===O?"max-w-[44rem]":""}`,"aria-labelledby":"bridge-done-heading",children:[(0,t.jsxs)("div",{className:void 0===O?"":"md:px-3 md:pt-3",children:[(0,t.jsx)("h1",{id:"bridge-done-heading",className:"text-heading font-semibold",children:"Done"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"Everything that reached you, with what came of it and where. Opening one reads it back whole."})]}),0===c.length?(0,t.jsx)("p",{"data-testid":"bridge-record-empty",className:"rounded-md border border-border bg-card p-3 text-muted-foreground",children:"Nothing is done yet."}):(function(e,t){let r=[];for(let a of e){let e=(0,d.Y)(v(a),t),n=r.at(-1);n?.day===e?n.items.push(a):r.push({day:e,items:[a]})}return r})(c,{now:i,timeZone:l}).map(({day:e,items:r})=>(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)("h2",{className:`text-caption text-muted-foreground ${void 0===O?"":"md:px-3"}`,children:e}),(0,t.jsx)("ul",{className:"overflow-hidden rounded-lg border border-border bg-card",children:r.map(e=>(0,t.jsx)(x.V,{item:e,now:i,isNew:!1,isOpen:e.deliveryId===w,outcome:void 0,failure:void 0,time:{at:v(e),said:(0,d.Z)(v(e),l)},detail:(0,t.jsx)(j,{item:e}),onOpen:()=>{N(e.deliveryId)}},e.deliveryId))})]},e)),void 0===p?null:(0,t.jsx)(b.f,{message:p,isFailure:!0}),null===u?null:(0,t.jsx)(o.i,{"data-testid":"bridge-more",className:"justify-self-start",isPending:$,pendingLabel:"Reading...",onClick:()=>{k(void 0),S(async()=>{let t=await s(e,u);t.isOk?(m(e=>[...e,...t.value.items]),h(t.value.nextCursor)):k(t.message)})},children:"Show older"})]}),item:void 0===O?void 0:(0,t.jsx)(g,{item:O,timeZone:l,bridgeHost:window.location.host,onBack:()=>{N(void 0)}})})}],15685)},94528,e=>{var t=e.i(43476),r=e.i(17904),a=e.i(29039);e.s(["FadedAsLastRead",0,function({children:e}){let n=(0,a.useLastReadAt)();return void 0===n?e:(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)("div",{inert:!0,className:"opacity-60 [&_button:not([data-testid=bridge-item-title])]:hidden",children:e}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,r.C)(n)}.`})]})}])},55070,e=>{var t=e.i(43476);let r={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},a={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:n,variant:i="secondary",size:s="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${a[s]} ${r[i]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),n]}):d})},"o",0,a])},19015,e=>{var t=e.i(43476),r=e.i(70812),a=e.i(71136),n=e.i(96315),i=e.i(49287),s=e.i(28623),d=e.i(12497),o=e.i(91604),l=e.i(63132),c=e.i(779);let m={bridge:{icon:i.f,name:"Bridge"},slack:{icon:a.f,name:"Slack"},chat:{icon:s.f,name:"a chat"},"web-push":{icon:r.f,name:"web push"},email:{icon:n.f,name:"email"}};function u(){return(0,t.jsx)("span",{"aria-hidden":"true",className:"text-border",children:"·"})}function h({places:e}){var r;let a,n=["bridge",...e].map(e=>m[e]);return(0,t.jsx)("span",{role:"img","aria-label":`Shows in ${(a=(r=n.map(({name:e})=>e)).at(-1)??"",r.length<2?a:`${r.slice(0,-1).join(", ")} and ${a}`)}`,className:"inline-flex items-center gap-0.5",children:n.map(({icon:e,name:r})=>(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3"},r))})}let p="overflow-hidden motion-safe:animate-row-leave";e.s(["V",0,function({item:e,now:r,isNew:a,isOpen:n=!1,staleKind:i,isLeaving:s=!1,outcome:m,failure:g,onOpen:x,time:f,detail:b,actions:y}){var v;let j=e.isAlert??!1,k=(0,o.P)({job:e.job,isAlert:j}),w=k.icon,N="min-w-0 break-words text-left text-body-touch font-medium sm:truncate sm:text-body",$=void 0===i?e.title:(0,t.jsx)("s",{className:"decoration-muted-foreground",children:e.title});return(0,t.jsxs)("li",{"data-testid":"bridge-item","data-stale":void 0!==i,"data-leaving":s||void 0,"aria-current":!!n||void 0,className:`grid min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border px-3 py-2.5 first:border-t-0 ${function({isOpen:e,isStale:t}){return e?"bg-highlight shadow-[inset_2px_0_0_var(--primary)]":t?"bg-muted":""}({isOpen:n,isStale:void 0!==i})} ${s?p:""}`,children:[(0,t.jsx)(w,{"aria-hidden":"true",className:`mt-0.5 size-4 ${k.tone}`}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-baseline sm:items-center",children:[a?(0,t.jsx)("span",{"aria-label":"New",className:"mr-1.5 size-[7px] shrink-0 -translate-y-px rounded-full bg-primary"}):null,void 0===x?(0,t.jsx)("span",{"data-testid":"bridge-item-title",className:N,children:$}):(0,t.jsx)("button",{type:"button","data-testid":"bridge-item-title",onClick:x,className:`${N} hover:underline`,children:$})]}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)("span",{className:`font-medium ${k.tone}`,children:(0,d.z)({job:e.job,isAlert:j})}),(0,t.jsx)(u,{}),(0,t.jsx)("span",{children:e.from}),void 0===m?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{}),(0,t.jsxs)("span",{"data-testid":"bridge-outcome",className:"inline-flex items-center gap-1.5",children:[void 0===i?null:(0,t.jsx)(c.f,{kind:i}),m]})]}),void 0===e.places?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{}),(0,t.jsx)(h,{places:e.places})]})]})]}),(0,t.jsx)("time",{dateTime:f?.at??e.sentAt,title:(v=f?.at??e.sentAt,`${new Date(v).toISOString().slice(0,16).replace("T"," ")} UTC`),className:"whitespace-nowrap text-right text-caption text-muted-foreground",children:f?.said??(0,d.V)(e.sentAt,r)}),void 0===b?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:b}),null==y?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:y}),void 0===g?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(l.f,{message:g,isFailure:!0})})]})},"U",0,p])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:r}){return r?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",r={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,r,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("40ab6bd38f893b947ce7425fb23bd3633b32ea7611",a.callServer,void 0,a.findSourceMapURL,"setTheme"),i=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:a,theme:s,entries:d=[]}){let[o,l]=(0,r.useState)(s),[c,m]=(0,r.useState)(!1),u=(0,r.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:a,theme:o,themes:i,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),n(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{m(!0),u.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:u,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,r){let[a="",n=""]=e.split("?"),i=new URLSearchParams(n);return i.set(t,r),`${a}?${i.toString()}`}])}],18566,(e,t,r)=>{t.exports=e.r(76562)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[70812,71136,96315,28623,e=>{var t=e.i(56420);let r={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],70812);let n={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],71136);let s={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};s.node;let d=(0,t.f)(s);e.s(["f",0,d],96315);let o={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};o.node;let l=(0,t.f)(o);e.s(["f",0,l],28623)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var r=e.i(56420);let a={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};a.node;let n=(0,r.f)(a);e.s(["f",0,n],59381)},66595,e=>{var t=e.i(56420);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],66595)},95187,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let i=e.r(32120),s=e.r(92245),d=e.r(35326)},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},r={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},a=["decide","do"],n="Bridge keeps every item.",i={label:"Not offered",isOk:!1},s={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,r,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:s,description:o,action:"turnOn"}:{state:i,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:r})=>r.email!==t&&(!t||a.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],r=t.at(-1),a=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(r)}`;return`Shows in ${a}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:r}=e;return null===r?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${r.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:a,place:i,isOn:s,waiting:d,isChatOn:o}=e,{name:l,item:c,items:m}=t[a],u=`${r[i]} is ${s?"on":"off"} for ${l}`;return s?"chat"===i?{title:u,detail:`A chat lists every ${c} not done when you ask it.`}:{title:u,detail:`${r[i]} shows ${m} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:u,detail:"everything-else"===a&&"slack"===i?`Bots only: a bot ship's messages and replies to Slack still show there. ${n}`:n}},"B",0,function(e){if(!e.isOffered)return{state:i,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:s,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:r})=>t===e.ownEndpoint&&!r);return void 0===t?{state:s,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},35159,e=>{e.s(["b",0,function(e){let t="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${t}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:t}){return`${e.replace(/\/$/,"")}/ships/${t}`},"E",0,function(e){return`${String(e)} unseen`}])},15685,e=>{var t=e.i(43476),r=e.i(85595),a=e.i(16984),n=e.i(71645),i=e.i(95187);let s=(0,i.createServerReference)("60df67d7958da9fba6cded6b55d1b8133e8e9a1273",i.callServer,void 0,i.findSourceMapURL,"readMoreRecord");var d=e.i(12497),o=e.i(55070),l=e.i(29247),c=e.i(54235),m=e.i(92407);function u({question:e,answered:r}){return(0,t.jsx)("ul",{className:"grid gap-2","aria-label":"Options",children:e.options.map(a=>{let n=a.key===r;return(0,t.jsxs)("li",{"data-answered":n,className:`flex items-start gap-3 rounded-md border p-3 ${n?"border-ring ring-1 ring-ring":"border-border text-muted-foreground"}`,children:[(0,t.jsx)("span",{"data-testid":"bridge-done-radio","data-filled":n,"aria-hidden":"true",className:`mt-1 grid size-4 shrink-0 place-items-center rounded-full border ${n?"border-primary":"border-border"}`,children:n?(0,t.jsx)("span",{className:"size-2 rounded-full bg-primary"}):null}),(0,t.jsxs)("span",{className:"grid flex-1 gap-0.5",children:[(0,t.jsxs)("span",{className:"font-medium",children:[a.key,". ",a.label]}),""===a.detail?null:(0,t.jsx)("span",{className:"text-caption text-muted-foreground max-md:hidden",children:a.detail})]}),a.key===e.pick.option?(0,t.jsx)("span",{className:"rounded-sm border border-border px-1.5 text-caption",children:"Their pick"}):null]},a.key)})})}function h({ended:e}){let n=e.isOk?r.f:a.f;return(0,t.jsxs)("div",{"data-testid":"bridge-done-ended",role:"status",className:`flex items-start gap-3 rounded-md border p-3 ${e.isOk?"border-tone-ok-border bg-tone-ok-bg":"border-tone-ended-border bg-tone-ended-bg"}`,children:[(0,t.jsx)(n,{"aria-hidden":!0,className:`mt-0.5 size-4 shrink-0 ${e.isOk?"text-tone-ok-fg":"text-tone-ended-fg"}`}),(0,t.jsxs)("span",{className:"grid gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium",children:e.text}),void 0===e.sent?null:(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:e.sent})]})]})}function p({item:e,timeZone:r}){return(0,t.jsx)("ol",{"data-testid":"bridge-done-history",className:"grid gap-1.5 text-caption max-md:hidden",children:(0,d.L)(e,r).map(e=>(0,t.jsxs)("li",{className:"grid grid-cols-[3rem_0.5rem_minmax(0,1fr)] items-center gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground tabular-nums",children:e.at}),(0,t.jsx)("i",{"aria-hidden":"true",className:`size-1.5 rounded-full ${e.isEnd?"bg-tone-ok-fg":"bg-border"}`}),(0,t.jsxs)("span",{children:[e.text,void 0===e.detail?null:(0,t.jsxs)("span",{className:"text-muted-foreground",children:[" · ",e.detail]})]})]},`${e.at} ${e.text}`))})}function g({item:e,timeZone:r,bridgeHost:a,onBack:n}){let i=(0,l.N)(e),s=(0,l.R)(e,a),o=(0,d.d)(e,r),x={job:e.job,isAlert:e.isAlert,wasNew:!1};return(0,t.jsxs)("section",{"data-testid":"bridge-done-item",className:"grid min-w-0 content-start gap-3 text-card-foreground md:p-5",children:[(0,t.jsx)(c.g,{opened:x,title:(0,d.c)(e),isWorking:!1,onBack:n}),(0,t.jsx)(c.$,{delivery:e,opened:x,timeZone:r}),(0,t.jsx)("h2",{className:"text-heading font-semibold",children:i?.title??e.title}),void 0!==s?(0,t.jsx)(c.l,{step:s,isStale:!1,isFinished:!0}):void 0===i?(0,t.jsx)(m.f,{text:(0,l.Y)(e)}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:c.R,children:(0,t.jsx)(m.f,{text:i.context})}),(0,t.jsx)(u,{question:i,answered:e.outcome?.option??null})]}),void 0===o?null:(0,t.jsx)(h,{ended:o}),(0,t.jsx)(p,{item:e,timeZone:r})]})}var x=e.i(19015),f=e.i(62579),b=e.i(63132);function y(){return()=>void 0}function v(e){return e.outcome?.at??e.sentAt}function j({item:e}){let n=(0,d.o)(e),i=n.isOk?r.f:a.f;return(0,t.jsxs)("span",{"data-testid":"bridge-done-outcome",className:"flex items-start gap-1.5 text-caption",children:[(0,t.jsx)(i,{"aria-hidden":"true",className:`mt-0.5 size-3.5 shrink-0 ${n.isOk?"text-tone-ok-fg":"text-muted-foreground"}`}),n.text]})}e.s(["DonePanel",0,function({fleetId:e,first:r,now:a}){let i=new Date(a),l=(0,n.useSyncExternalStore)(y,()=>Intl.DateTimeFormat().resolvedOptions().timeZone,()=>"UTC"),[c,m]=(0,n.useState)(r.items),[u,h]=(0,n.useState)(r.nextCursor),[p,k]=(0,n.useState)(),[w,N]=(0,n.useState)(),[$,S]=(0,n.useTransition)(),O=c.find(({deliveryId:e})=>e===w);return(0,t.jsx)(f.f,{list:(0,t.jsxs)("section",{className:`grid gap-3 ${void 0===O?"max-w-[44rem]":""}`,"aria-labelledby":"bridge-done-heading",children:[(0,t.jsxs)("div",{className:void 0===O?"":"md:px-3 md:pt-3",children:[(0,t.jsx)("h1",{id:"bridge-done-heading",className:"text-heading font-semibold",children:"Done"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:"Everything that reached you, with what came of it and where. Opening one reads it back whole."})]}),0===c.length?(0,t.jsx)("p",{"data-testid":"bridge-record-empty",className:"rounded-md border border-border bg-card p-3 text-muted-foreground",children:"Nothing is done yet."}):(function(e,t){let r=[];for(let a of e){let e=(0,d.Y)(v(a),t),n=r.at(-1);n?.day===e?n.items.push(a):r.push({day:e,items:[a]})}return r})(c,{now:i,timeZone:l}).map(({day:e,items:r})=>(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)("h2",{className:`text-caption text-muted-foreground ${void 0===O?"":"md:px-3"}`,children:e}),(0,t.jsx)("ul",{className:"overflow-hidden rounded-lg border border-border bg-card",children:r.map(e=>(0,t.jsx)(x.V,{item:e,now:i,isNew:!1,isOpen:e.deliveryId===w,outcome:void 0,failure:void 0,time:{at:v(e),said:(0,d.Z)(v(e),l)},detail:(0,t.jsx)(j,{item:e}),onOpen:()=>{N(e.deliveryId)}},e.deliveryId))})]},e)),void 0===p?null:(0,t.jsx)(b.f,{message:p,isFailure:!0}),null===u?null:(0,t.jsx)(o.i,{"data-testid":"bridge-more",className:"justify-self-start",isPending:$,pendingLabel:"Reading...",onClick:()=>{k(void 0),S(async()=>{let t=await s(e,u);t.isOk?(m(e=>[...e,...t.value.items]),h(t.value.nextCursor)):k(t.message)})},children:"Show older"})]}),item:void 0===O?void 0:(0,t.jsx)(g,{item:O,timeZone:l,bridgeHost:window.location.host,onBack:()=>{N(void 0)}})})}],15685)},94528,e=>{var t=e.i(43476),r=e.i(17904),a=e.i(29039);e.s(["FadedAsLastRead",0,function({children:e}){let n=(0,a.useLastReadAt)();return void 0===n?e:(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)("div",{inert:!0,className:"opacity-60 [&_button:not([data-testid=bridge-item-title])]:hidden",children:e}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,r.C)(n)}.`})]})}])},55070,e=>{var t=e.i(43476);let r={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},a={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:n,variant:i="secondary",size:s="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${a[s]} ${r[i]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),n]}):d})},"o",0,a])},19015,e=>{var t=e.i(43476),r=e.i(70812),a=e.i(71136),n=e.i(96315),i=e.i(49287),s=e.i(28623),d=e.i(12497),o=e.i(91604),l=e.i(63132),c=e.i(779);let m={bridge:{icon:i.f,name:"Bridge"},slack:{icon:a.f,name:"Slack"},chat:{icon:s.f,name:"a chat"},"web-push":{icon:r.f,name:"web push"},email:{icon:n.f,name:"email"}};function u(){return(0,t.jsx)("span",{"aria-hidden":"true",className:"text-border",children:"·"})}function h({places:e}){var r;let a,n=["bridge",...e].map(e=>m[e]);return(0,t.jsx)("span",{role:"img","aria-label":`Shows in ${(a=(r=n.map(({name:e})=>e)).at(-1)??"",r.length<2?a:`${r.slice(0,-1).join(", ")} and ${a}`)}`,className:"inline-flex items-center gap-0.5",children:n.map(({icon:e,name:r})=>(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3"},r))})}let p="overflow-hidden motion-safe:animate-row-leave";e.s(["V",0,function({item:e,now:r,isNew:a,isOpen:n=!1,staleKind:i,isLeaving:s=!1,outcome:m,failure:g,onOpen:x,time:f,detail:b,actions:y}){var v;let j=e.isAlert??!1,k=(0,o.P)({job:e.job,isAlert:j}),w=k.icon,N="min-w-0 break-words text-left text-body-touch font-medium sm:truncate sm:text-body",$=void 0===i?e.title:(0,t.jsx)("s",{className:"decoration-muted-foreground",children:e.title});return(0,t.jsxs)("li",{"data-testid":"bridge-item","data-stale":void 0!==i,"data-leaving":s||void 0,"aria-current":!!n||void 0,className:`grid min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border px-3 py-2.5 first:border-t-0 ${function({isOpen:e,isStale:t}){return e?"bg-highlight shadow-[inset_2px_0_0_var(--primary)]":t?"bg-muted":""}({isOpen:n,isStale:void 0!==i})} ${s?p:""}`,children:[(0,t.jsx)(w,{"aria-hidden":"true",className:`mt-0.5 size-4 ${k.tone}`}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-baseline sm:items-center",children:[a?(0,t.jsx)("span",{"aria-label":"New",className:"mr-1.5 size-[7px] shrink-0 -translate-y-px rounded-full bg-primary"}):null,void 0===x?(0,t.jsx)("span",{"data-testid":"bridge-item-title",className:N,children:$}):(0,t.jsx)("button",{type:"button","data-testid":"bridge-item-title",onClick:x,className:`${N} hover:underline`,children:$})]}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)("span",{className:`font-medium ${k.tone}`,children:(0,d.z)({job:e.job,isAlert:j})}),(0,t.jsx)(u,{}),(0,t.jsx)("span",{children:e.from}),void 0===m?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{}),(0,t.jsxs)("span",{"data-testid":"bridge-outcome",className:"inline-flex items-center gap-1.5",children:[void 0===i?null:(0,t.jsx)(c.f,{kind:i}),m]})]}),void 0===e.places?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{}),(0,t.jsx)(h,{places:e.places})]})]})]}),(0,t.jsx)("time",{dateTime:f?.at??e.sentAt,title:(v=f?.at??e.sentAt,`${new Date(v).toISOString().slice(0,16).replace("T"," ")} UTC`),className:"whitespace-nowrap text-right text-caption text-muted-foreground",children:f?.said??(0,d.V)(e.sentAt,r)}),void 0===b?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:b}),null==y?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:y}),void 0===g?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(l.f,{message:g,isFailure:!0})})]})},"U",0,p])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:r}){return r?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",r={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,r,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),r=e.i(71645),a=e.i(95187);let n=(0,a.createServerReference)("406e70c54d0df55ecef3263e68bd02259fd622902e",a.callServer,void 0,a.findSourceMapURL,"setTheme"),i=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:a,theme:s,entries:d=[]}){let[o,l]=(0,r.useState)(s),[c,m]=(0,r.useState)(!1),u=(0,r.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:a,theme:o,themes:i,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),n(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{m(!0),u.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:u,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,r){let[a="",n=""]=e.split("?"),i=new URLSearchParams(n);return i.set(t,r),`${a}?${i.toString()}`}])}],18566,(e,t,r)=>{t.exports=e.r(76562)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[37134,45017,47125,10030,e=>{var t=e.i(24189);e.s(["f",0,t],37134),e.s(["f",0,t],45017),e.s(["f",0,t],47125),e.s(["f",0,t],10030)},66595,e=>{var t=e.i(56420);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],66595)},95187,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return d.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let d=e.r(32120),a=e.r(92245),i=e.r(35326)},55070,e=>{var t=e.i(43476);let r={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},n={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:o,variant:d="secondary",size:a="regular",children:i,className:s="",disabled:c,...u}){return(0,t.jsx)("button",{...u,disabled:!0===c||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${n[a]} ${r[d]} ${s}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),o]}):i})},"o",0,n])},28008,e=>{e.s(["H",0,"fleet","Q",0,{kind:"idle"}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",r={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,r,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},94984,e=>{var t=e.i(43476);e.s(["f",0,function({state:e,testId:r}){switch(e.kind){case"idle":return null;case"done":return(0,t.jsx)("p",{role:"status","data-testid":r,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e.message});case"refused":case"openNetwork":return(0,t.jsx)("p",{role:"alert","data-testid":r,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e.message})}}])},58107,e=>{var t=e.i(43476),r=e.i(74080),n=e.i(30402);e.s(["f",0,function({children:e,pending:o,kind:d="primary",testId:a}){let i=(0,r.useFormStatus)();return(0,t.jsx)("button",{type:"submit",className:n.x[d],disabled:i.pending,"aria-busy":i.pending,"data-testid":a,children:i.pending?o:e})}])},67914,e=>{var t=e.i(43476),r=e.i(71645),n=e.i(95187);let o=(0,n.createServerReference)("
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[37134,45017,47125,10030,e=>{var t=e.i(24189);e.s(["f",0,t],37134),e.s(["f",0,t],45017),e.s(["f",0,t],47125),e.s(["f",0,t],10030)},66595,e=>{var t=e.i(56420);let r={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};r.node;let n=(0,t.f)(r);e.s(["f",0,n],66595)},95187,(e,t,r)=>{Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return d.callServer},createServerReference:function(){return i.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let d=e.r(32120),a=e.r(92245),i=e.r(35326)},55070,e=>{var t=e.i(43476);let r={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},n={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:o,variant:d="secondary",size:a="regular",children:i,className:s="",disabled:c,...u}){return(0,t.jsx)("button",{...u,disabled:!0===c||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${n[a]} ${r[d]} ${s}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),o]}):i})},"o",0,n])},28008,e=>{e.s(["H",0,"fleet","Q",0,{kind:"idle"}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",r={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,r,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},94984,e=>{var t=e.i(43476);e.s(["f",0,function({state:e,testId:r}){switch(e.kind){case"idle":return null;case"done":return(0,t.jsx)("p",{role:"status","data-testid":r,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e.message});case"refused":case"openNetwork":return(0,t.jsx)("p",{role:"alert","data-testid":r,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e.message})}}])},58107,e=>{var t=e.i(43476),r=e.i(74080),n=e.i(30402);e.s(["f",0,function({children:e,pending:o,kind:d="primary",testId:a}){let i=(0,r.useFormStatus)();return(0,t.jsx)("button",{type:"submit",className:n.x[d],disabled:i.pending,"aria-busy":i.pending,"data-testid":a,children:i.pending?o:e})}])},67914,e=>{var t=e.i(43476),r=e.i(71645),n=e.i(95187);let o=(0,n.createServerReference)("406e70c54d0df55ecef3263e68bd02259fd622902e",n.callServer,void 0,n.findSourceMapURL,"setTheme"),d=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:n,theme:a,entries:i=[]}){let[s,c]=(0,r.useState)(a),[u,l]=(0,r.useState)(!1),b=(0,r.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:n,theme:s,themes:d,hasTheme:!0,onThemeChange:e=>{let t;c(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),o(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{l(!0),b.current?.requestSubmit()},isSigningOut:u,entries:i},signOutForm:(0,t.jsx)("form",{ref:b,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},97e3,e=>{var t=e.i(43476);let r={waiting:"border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg",active:"border-tone-active-border bg-tone-active-bg text-tone-active-fg",ok:"border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg",attention:"border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg",ended:"border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg"},n={waiting:"text-tone-waiting-fg",active:"text-tone-active-fg",ok:"text-tone-ok-fg",attention:"rounded-sm border border-tone-attention-border bg-tone-attention-bg px-1.5 text-tone-attention-fg",ended:"text-tone-ended-fg"};e.s(["T",0,function({tone:e,label:o,look:d="pill",icon:a}){return(0,t.jsxs)("span",{className:`inline-flex items-center gap-1.5 text-caption ${"pill"===d?`rounded-full border px-2 ${r[e]}`:`h-5.5 px-0.5 font-medium ${n[e]}`}`,children:[a,o]})},"E",0,function({children:e,isMono:r=!1}){return(0,t.jsx)("span",{className:`inline-flex h-5.5 items-center rounded-sm border border-border px-1.5 text-caption font-medium ${r?"font-mono":""}`,children:e})}])},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,r){let[n="",o=""]=e.split("?"),d=new URLSearchParams(o);return d.set(t,r),`${n}?${d.toString()}`}])}],18566,(e,t,r)=>{t.exports=e.r(76562)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[69288,73459,29599,65194,18364,15440,95318,e=>{e.s(["f",0,function(e,t){e.replaceState(null,"",t)}],69288),e.s(["f",0,function(e){let t=new URLSearchParams({fleet:e.fleetId,...void 0===e.cursor?{}:{cursor:e.cursor}});return`/meetings/${encodeURIComponent(e.meetingId)}?${t.toString()}`}],73459);var t=e.i(95187);let n=(0,t.createServerReference)("40dc940782447fa774ade2cbd00f4f5bb7677a387c",t.callServer,void 0,t.findSourceMapURL,"answerDelivery");e.s(["f",0,n],29599);let i=(0,t.createServerReference)("40f7d239d4fa7db323b65eee64b38f84dd04f23c94",t.callServer,void 0,t.findSourceMapURL,"doneDelivery");e.s(["f",0,i],65194);let s=(0,t.createServerReference)("6094f8831475d7ac21d1dc317952b7d23d22a8110e",t.callServer,void 0,t.findSourceMapURL,"openDelivery");e.s(["f",0,s],18364);let r=(0,t.createServerReference)("40a063a0888116f6fe87ec56db167344aea3de800d",t.callServer,void 0,t.findSourceMapURL,"putInBasket");e.s(["f",0,r],15440);let a=(0,t.createServerReference)("4044bf5bb9d6e6852f8d646440f2b46c84691dfa43",t.callServer,void 0,t.findSourceMapURL,"putPickInBasket");e.s(["f",0,a],95318)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var n=e.i(56420);let i={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};i.node;let s=(0,n.f)(i);e.s(["f",0,s],59381)},66595,e=>{var t=e.i(56420);let n={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],66595)},95187,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var i={callServer:function(){return r.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var s in i)Object.defineProperty(n,s,{enumerable:!0,get:i[s]});let r=e.r(32120),a=e.r(92245),d=e.r(35326)},72395,e=>{var t=e.i(95187);let n=(0,t.createServerReference)("60d2401f70d2510a8be450676693583f551f140dd6",t.callServer,void 0,t.findSourceMapURL,"removeFromBasket");e.s(["f",0,n])},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},n={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},i=["decide","do"],s="Bridge keeps every item.",r={label:"Not offered",isOk:!1},a={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,n,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:a,description:o,action:"turnOn"}:{state:r,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:n})=>n.email!==t&&(!t||i.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],n=t.at(-1),i=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(n)}`;return`Shows in ${i}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:n}=e;return null===n?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${n.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:i,place:r,isOn:a,waiting:d,isChatOn:o}=e,{name:l,item:c,items:u}=t[i],h=`${n[r]} is ${a?"on":"off"} for ${l}`;return a?"chat"===r?{title:h,detail:`A chat lists every ${c} not done when you ask it.`}:{title:h,detail:`${n[r]} shows ${u} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:h,detail:"everything-else"===i&&"slack"===r?`Bots only: a bot ship's messages and replies to Slack still show there. ${s}`:s}},"B",0,function(e){if(!e.isOffered)return{state:r,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:a,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:n})=>t===e.ownEndpoint&&!n);return void 0===t?{state:a,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},35159,e=>{e.s(["b",0,function(e){let t="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${t}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:t}){return`${e.replace(/\/$/,"")}/ships/${t}`},"E",0,function(e){return`${String(e)} unseen`}])},22141,e=>{var t=e.i(43476),n=e.i(56420);let i={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};i.node;let s=(0,n.f)(i);var r=e.i(47211),a=e.i(89664),d=e.i(22768),o=e.i(85595),l=e.i(51481);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let u=(0,n.f)(c);var h=e.i(11568);let f={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};f.node;let p=(0,n.f)(f);var m=e.i(32645),g=e.i(30274),b=e.i(47130),v=e.i(63676),x=e.i(71645),k=e.i(72395),w=e.i(95187);let y=(0,w.createServerReference)("409ca31c546f2ba01b20fd22a7263d9a9ae053642d",w.callServer,void 0,w.findSourceMapURL,"sendBasket");function j(e){return`${new Date(e).toISOString().slice(11,16)} UTC`}let S={bridge:"in Bridge",chat:"in a chat",slack:"in Slack",gateway:"by the gateway"};function $(e){return{desktop:e,phone:e}}function N(e){return 1===e?"1 answer":`${String(e)} answers`}function I(e){return e.length<=1?e.join(""):`${e.slice(0,-1).join(", ")} and ${e.at(-1)??""}`}function R(e){return[...new Set(e.map(({from:e})=>e))]}var O=e.i(55070),T=e.i(63132),L=e.i(3523);let z={sent:o.f,sending:h.f,next:u,unanswered:h.f,refused:d.f,withdrawn:r.f,replaced:m.f,elsewhere:a.f},B={ok:"text-tone-ok-fg",waiting:"text-tone-waiting-fg",attention:"text-tone-attention-fg",off:"text-muted-foreground"};function M({words:e}){return e.desktop===e.phone?(0,t.jsx)("span",{children:e.desktop}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:e.desktop}),(0,t.jsx)("span",{className:"sm:hidden",children:e.phone})]})}function U({line:e}){let n=z[e.icon];return(0,t.jsxs)("p",{"data-testid":"bridge-basket-standing",className:"col-span-2 col-start-2 flex items-start gap-1.5 text-meta",children:[(0,t.jsx)(n,{"aria-hidden":!0,className:`mt-0.5 size-3.5 shrink-0 ${B[e.tone]}`}),(0,t.jsx)("span",{children:(0,t.jsx)(M,{words:e.words})})]})}function A({entry:e,line:n,opening:i,working:r,onRemove:a}){let{standing:d}=e,o="withdrawn"===d.kind||"replaced"===d.kind||"dealtElsewhere"===d.kind,c=void 0!==r||void 0!==i.openingId,u=r?.kind==="remove"&&r.questionId===e.questionId,h="replaced"===d.kind?d.replacementId:null,f=o?"line-through decoration-muted-foreground":"";return(0,t.jsxs)("li",{"data-testid":"bridge-basket-entry","data-standing":d.kind,className:`grid grid-cols-[18px_1fr_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border p-3 first:border-t-0 sm:px-3.5 ${o?"bg-muted":""}`,children:[(0,t.jsx)(l.f,{"aria-hidden":!0,className:"mt-0.5 size-4 text-tone-active-fg"}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsx)("span",{className:`font-medium ${f}`,children:e.title}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsxs)("span",{children:["to ",(0,t.jsx)("b",{className:"font-medium text-foreground",children:e.from})]}),(0,t.jsx)("span",{"aria-hidden":!0,className:"hidden text-border sm:inline",children:"·"}),(0,t.jsxs)("span",{className:"hidden sm:inline",children:["asked at ",(0,t.jsx)("time",{dateTime:e.sentAt,children:j(e.sentAt)})]})]}),(0,t.jsxs)("span",{className:`${o?"hidden sm:flex":"flex"} items-center gap-1.5 text-meta ${f}`,children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-primary"}),null===e.option?"Note alone":null===e.optionLabel?`Option ${String(e.option)}`:`${String(e.option)}. ${e.optionLabel}`]}),null===e.note?null:(0,t.jsxs)("span",{className:"text-caption italic text-muted-foreground",children:['"',e.note,'"']})]}),"waiting"===d.kind?(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-change",size:"small","aria-label":"Change",isPending:i.openingId===e.deliveryId,pendingLabel:"Opening...",disabled:c,onClick:()=>{i.open({deliveryId:e.deliveryId,job:"decide",inBasket:{option:e.option,note:e.note}})},children:[(0,t.jsx)(p,{"aria-hidden":!0,className:"size-3.5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Change"})]}),(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-remove",size:"small",variant:"ghost","aria-label":"Remove",isPending:u,pendingLabel:"Removing...",disabled:c,onClick:()=>{a(e.questionId)},children:[(0,t.jsx)(v.X,{"aria-hidden":!0,className:"size-4 sm:hidden"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Remove"})]})]}):(0,t.jsx)("span",{}),void 0===n?null:(0,t.jsx)(U,{line:n}),i.failure?.deliveryId===e.deliveryId?(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(T.f,{message:i.failure.message,isFailure:!0})}):null,"withdrawn"===d.kind||"replaced"===d.kind||"dealtElsewhere"===d.kind||"refused"===d.kind?(0,t.jsxs)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:[null===h?null:(0,t.jsxs)(O.i,{"data-testid":"bridge-replacement",size:"small",isPending:i.openingId===h,pendingLabel:"Opening...",disabled:c,onClick:()=>{i.open({deliveryId:h,job:"decide"})},children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5"}),"Answer the new question"]}),(0,t.jsx)(O.i,{"data-testid":"bridge-basket-remove",size:"small",variant:"replaced"===d.kind?"ghost":"secondary",isPending:u,pendingLabel:"Removing...",disabled:c,onClick:()=>{a(e.questionId)},children:"refused"===d.kind?"Remove and mark done":"Remove"})]}):null]})}function P({foot:e,isSending:n,isWorking:i,onSend:s}){return"none"===e.kind?null:(0,t.jsxs)("div",{"data-testid":"bridge-basket-foot",className:"flex flex-col items-stretch gap-2 border-t border-border bg-card p-3 sm:flex-row sm:items-center sm:gap-3 sm:px-3.5",children:[(0,t.jsx)("p",{className:"flex-1 text-caption text-muted-foreground",children:(0,t.jsx)(M,{words:e.words})}),"send"===e.kind?(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-send",variant:"primary",className:"justify-center",isPending:n,pendingLabel:"Sending...",disabled:i,onClick:s,children:[(0,t.jsx)(g.f,{"aria-hidden":!0,className:"size-4"}),e.label]}):null,"sending"===e.kind?(0,t.jsxs)("button",{type:"button","data-testid":"bridge-basket-sending",disabled:!0,"aria-busy":"true",className:"inline-flex h-9 items-center justify-center gap-2 rounded-md border border-border bg-card px-4 font-medium text-card-foreground",children:[(0,t.jsx)(h.f,{"aria-hidden":!0,className:"size-4 animate-spin"}),e.progress]}):null]})}function C({summary:e}){return(0,t.jsxs)("div",{"data-testid":"bridge-basket-sent",role:"status",className:"flex max-w-[620px] items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(o.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0 text-tone-ok-fg"}),(0,t.jsxs)("span",{className:"grid gap-1",children:[(0,t.jsx)("span",{className:"font-medium",children:e.title}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:e.description})]})]})}function D(){return(0,t.jsxs)("div",{"data-testid":"bridge-basket-empty",className:"grid max-w-[820px] justify-items-center gap-3 rounded-lg border border-dashed border-border bg-card px-6 py-10 text-center",children:[(0,t.jsx)("span",{className:"inline-flex size-11 items-center justify-center rounded-lg bg-secondary text-muted-foreground",children:(0,t.jsx)(b.f,{"aria-hidden":!0,className:"size-5"})}),(0,t.jsx)("span",{className:"text-heading font-semibold",children:"The basket is empty"}),(0,t.jsx)("span",{className:"max-w-[360px] text-muted-foreground",children:"Pick an option on a question and put it in the basket; it waits here until you send it."})]})}e.s(["BasketPanel",0,function({fleetId:e,basket:n}){let i,s,[r,a]=(0,x.useState)(),[d,o]=(0,x.useState)(),[,l]=(0,x.useTransition)(),c=(i=n.entries.some(({standing:e})=>"sent"===e.kind),s=n.entries.find(({standing:e})=>"sending"===e.kind&&!e.isUnanswered),n.entries.map(e=>(function(e,t){let{standing:n,from:i}=e;switch(n.kind){case"waiting":return;case"sent":{let e=j(n.at);return{icon:"sent",tone:"ok",words:{desktop:`Sent at ${e} and stored. Done.`,phone:`Sent at ${e}. Done.`}}}case"sending":if(n.isUnanswered)return{icon:"unanswered",tone:"waiting",words:{desktop:"The fleet did not answer. Sending again with the same key until it is stored; it arrives once.",phone:"No answer from the fleet. Sending again, same key."}};return t.isSendingNow?{icon:"sending",tone:"waiting",words:$("Sending...")}:{icon:"next",tone:"waiting",words:{desktop:"Next, in the order you added it",phone:"Next"}};case"refused":{let e=`Not sent: ${n.reason}.`,[i=n.reason]=n.reason.split(", so ");return{icon:"refused",tone:"attention",words:{desktop:t.isAnySent?`${e} The others were sent.`:e,phone:`Not sent: ${i}.`}}}case"withdrawn":return{icon:"withdrawn",tone:"off",words:{desktop:`Withdrawn by ${i} at ${j(n.at)}. Not sent; Send skips it.`,phone:`Withdrawn by ${i}. Not sent.`}};case"replaced":{let e=null===n.replacementTitle?".":` with "${n.replacementTitle}"`;return{icon:"replaced",tone:"off",words:{desktop:`Replaced by ${i} at ${j(n.at)}${e} Not sent: its options differ, so answer the new one.`,phone:`Replaced by ${i}. Not sent.`}}}case"dealtElsewhere":return{icon:"elsewhere",tone:"off",words:$(null===n.option?`Done ${S[n.place]}. Nothing is sent from it.`:`Answered ${S[n.place]}: option ${String(n.option)}. Nothing is sent from it.`)}}})(e,{isAnySent:i,isSendingNow:e===s}))),u=function(e){let{entries:t}=e;if(0===t.length||t.some(({standing:e})=>"sent"!==e.kind))return;let n=`To ${I(R(t))}, as you;`;return{title:`${N(t.length)} sent`,description:1===t.length?`${n} stored, and in Done.`:`${n} each stored, each in Done.`}}(n),h=t=>{a({kind:"remove",questionId:t}),o(void 0),l(async()=>{let n=await (0,k.f)(e,t);a(void 0),o(n.isOk?void 0:n.message)})},f=()=>{a({kind:"send"}),o(void 0),l(async()=>{let t=await y(e);a(void 0),o(t.isOk?void 0:t.message)})};return(0,t.jsx)(L.f,{fleetId:e,known:n.entries.map(e=>({deliveryId:e.deliveryId,job:"decide",isAlert:!1,state:"seen",inBasket:{option:e.option,note:e.note}})),children:e=>(0,t.jsxs)("section",{className:"grid gap-4","aria-labelledby":"bridge-basket-heading",children:[(0,t.jsxs)("div",{className:"hidden sm:block",children:[(0,t.jsxs)("h1",{id:"bridge-basket-heading",className:"text-heading font-semibold",children:["Basket ",(0,t.jsx)("span",{"data-testid":"bridge-basket-count",className:"text-primary",children:n.count})]}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:"Answers you picked in Bridge, not sent yet. Nothing goes until you press Send."})]}),void 0===d?null:(0,t.jsx)(T.f,{message:d,isFailure:!0}),void 0===u?null:(0,t.jsx)(C,{summary:u}),0===n.entries.length||void 0!==u?(0,t.jsx)(D,{}):(0,t.jsxs)("div",{className:"max-w-[820px] overflow-hidden rounded-lg border border-border bg-card",children:[(0,t.jsx)("ul",{children:n.entries.map((n,i)=>(0,t.jsx)(A,{entry:n,line:c[i],opening:e,working:r,onRemove:h},n.questionId))}),(0,t.jsx)(P,{foot:function(e){if(e.toSend>0)return function(e){var t;let n=function(e){let t=t=>e.filter(({standing:e})=>e.kind===t).length,n=["withdrawn","replaced"].map(e=>({kind:e,count:t(e)})).filter(({count:e})=>e>0),i=n.map(({kind:e,count:t},i)=>t>1?`the ${String(t)} ${e}`:i===n.length-1?`the ${e} one`:`the ${e}`),s=t("dealtElsewhere"),r=0===s?i:[...i,1===s?"the one answered elsewhere":`the ${String(s)} answered elsewhere`];if(0===r.length)return;let a=I(r),d=1===n.reduce((e,{count:t})=>e+t,s);return`${a.charAt(0).toUpperCase()}${a.slice(1)} ${d?"is":"are"} not sent.`}(e.entries),i=(t=e.toSend,`Send ${N(t)}`);if(void 0!==n)return{kind:"send",words:{desktop:`${String(e.toSend)} to send. ${n}`,phone:n},label:i};let s=e.entries.filter(({standing:e})=>"waiting"===e.kind),r=R(s),a=r.length>1?"each receive their own answer":s.length>1?"receives its own answer to each":"receives its own answer";return{kind:"send",words:{desktop:`${I(r)} ${a}, as you, as if sent one by one.`,phone:"Each asker receives its own answer."},label:i}}(e);let t=e.entries.map(({standing:e})=>e),n=t.filter(({kind:e})=>"sent"===e).length,i=t.filter(({kind:e})=>"sending"===e).length,s=t.filter(({kind:e})=>"refused"===e).length,r=t.some(e=>"sending"===e.kind&&e.isUnanswered);if(i>0&&0===s&&!r)return{kind:"sending",words:{desktop:"You can close Bridge: the gateway keeps sending what is stored as sending.",phone:"You can close Bridge; the gateway keeps sending."},progress:`Sending ${String(n+1)} of ${String(n+i)}`};if(0===i&&0===s)return{kind:"none"};let a=(e,t)=>0===e?[]:[`${String(e)} ${t}`];return{kind:"summary",words:{desktop:`${[...a(n,"sent"),...a(i,"still sending"),...a(s,"not sent")].join(", ")}.`,phone:`${[...a(n,"sent"),...a(i,"sending"),...a(s,"not sent")].join(", ")}.`}}}(n),isSending:r?.kind==="send",isWorking:void 0!==r||void 0!==e.openingId,onSend:f})]})]})})}],22141)},94528,e=>{var t=e.i(43476),n=e.i(17904),i=e.i(29039);e.s(["FadedAsLastRead",0,function({children:e}){let s=(0,i.useLastReadAt)();return void 0===s?e:(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)("div",{inert:!0,className:"opacity-60 [&_button:not([data-testid=bridge-item-title])]:hidden",children:e}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,n.C)(s)}.`})]})}])},3523,e=>{var t=e.i(43476),n=e.i(58487),i=e.i(5654),s=e.i(71645),r=e.i(69288),a=e.i(73459),d=e.i(65894),o=e.i(29599),l=e.i(65194),c=e.i(18364),u=e.i(15440),h=e.i(95318),f=e.i(72395),p=e.i(57228),m=e.i(29247),g=e.i(20347),b=e.i(34244),v=e.i(43328),x=e.i(27538),k=e.i(77826),w=e.i(80734),y=e.i(60296),j=e.i(66734),S=e.i(47130);function $(){let{toasts:e}=i.f.useToastManager();return(0,t.jsx)(v.f.Portal,{children:(0,t.jsx)(x.f.Viewport,{className:"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid",children:e.map(e=>(0,t.jsxs)(k.f.Root,{toast:e,"data-testid":"bridge-basket-toast",className:"flex items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(S.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0"}),(0,t.jsxs)(w.f.Content,{className:"grid flex-1 gap-1",children:[(0,t.jsx)(y.f.Title,{className:"font-medium"}),(0,t.jsx)(j.f.Description,{className:"text-caption text-muted-foreground"})]})]},e.id))})})}var N=e.i(54235),I=e.i(62579),R=e.i(63132),O=e.i(75103),T=e.i(52021);function L({fleetId:e,decidePlaces:n,consoleUrl:v,known:x,children:k}){let w=i.f.useToastManager(),y=(0,O.P)(),[j,S]=(0,s.useState)(),[$,z]=(0,s.useState)(""),[B,M]=(0,s.useState)(),[U,A]=(0,s.useState)(),[P,C]=(0,s.useState)(),[D,q]=(0,s.useState)(),[E,F]=(0,s.useState)(),[Y,H]=(0,s.useState)(),[,W]=(0,s.useTransition)(),[_,V]=(0,s.useState)(0);(0,T.R)(void 0===j?void 0:(0,b.u)(j.opened.job),()=>{S(void 0)});let K=t=>{M(t.deliveryId),q(void 0),H(void 0),W(async()=>{let n=await (0,c.f)(e,t.deliveryId);if(M(void 0),n.isOk){let e=t.inBasket??null;S({delivery:n.value,opened:{job:t.job,isAlert:t.isAlert??!1,wasNew:"seen"!==t.state},inBasket:e,finished:null}),z(e?.note??""),F(void 0)}else q({deliveryId:t.deliveryId,message:n.message})})},Q=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(Q.current)return;Q.current=!0;let e=(0,g.L)(window.location.href,x);"open"===e.kind?K(e.item):"gone"===e.kind&&((0,r.f)(window.history,(0,g.v)(window.location.href,void 0)),H("That item is no longer in your inbox."))});let X=j?.delivery.deliveryId,G=x.find(({deliveryId:e})=>e===X)?.stale??null;(0,s.useEffect)(()=>{null!==G&&void 0!==X&&S(e=>void 0===e?e:{...e,delivery:(0,m.B)(e.delivery,[{deliveryId:X,stale:G}])})},[G,X]);let J=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(!J.current){J.current=!0;return}(0,r.f)(window.history,(0,g.v)(window.location.href,X))},[X]);let Z=({control:e,action:t,onSettled:n})=>{C(e),F(void 0),W(async()=>{let e=await t();C(void 0),e.isOk?n(e.value):F(e.message)})},ee=e=>()=>{S(void 0),H(e)},et=void 0===j?void 0:{deliveryId:j.delivery.deliveryId,job:j.opened.job};return(0,t.jsx)(I.f,{list:(0,t.jsxs)("div",{className:"grid gap-4",children:[void 0===Y?null:(0,t.jsx)(R.f,{message:Y,isFailure:!1}),k({open:K,openingId:B,putPick:(t,n)=>{A(t.deliveryId),q(void 0),H(void 0),W(async()=>{let i=await (0,h.f)({fleet:e,deliveryId:t.deliveryId,option:n});A(void 0),i.isOk?(H(`Option ${String(n)} is in the basket, not sent: ${t.from} receives it when you send the basket.`),V(e=>e+1)):q({deliveryId:t.deliveryId,message:i.message})})},puttingId:U,failure:D,opened:et})]},_),item:void 0===j?void 0:(({delivery:i,inBasket:s,opened:r,finished:c})=>{let h=i.question?.id;return(0,t.jsx)(N.u,{delivery:i,opened:r,meetingHref:void 0===i.meetingId?void 0:(0,a.f)({fleetId:e,meetingId:i.meetingId}),consoleUrl:v,basketHref:(0,d.i)(p.H,e),inBasket:s,finished:c,places:n,note:$,working:P,failure:E,onNoteChange:z,onAnswer:t=>{Z({control:void 0===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,o.f)({fleet:e,deliveryId:i.deliveryId,input:{questionId:i.question?.id,option:t,note:$}}),onSettled:ee(`Your answer went to ${i.from}.`)})},onPut:t=>{Z({control:null===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,u.f)({fleet:e,deliveryId:i.deliveryId,option:t,optionLabel:i.question?.options.find(({key:e})=>e===t)?.label??null,note:$}),onSettled:e=>{var t;S({delivery:i,opened:r,finished:c,inBasket:e}),w.add({title:null===(t=e.option)?"Your note alone in the basket":`Option ${String(t)} in the basket`,description:"Not sent. Still waiting on you until you send it."})}})},onSend:t=>{Z({control:{kind:"send"},action:()=>(0,o.f)({fleet:e,deliveryId:i.deliveryId,input:{questionId:h,option:t??void 0,note:$}}),onSettled:ee(`Your answer went to ${i.from}.`)})},onRemove:()=>{void 0!==h&&Z({control:{kind:"remove"},action:()=>(0,f.f)(e,h),onSettled:ee(`Your answer to “${i.title}” is out of the basket; the question still waits on you.`)})},onDone:()=>{Z({control:{kind:"done"},action:()=>(0,l.f)({fleet:e,deliveryId:i.deliveryId}),onSettled:ee(`Done with “${i.title}”.`)})},onFinishStep:t=>{Z({control:{kind:t},action:()=>(0,l.f)({fleet:e,deliveryId:i.deliveryId,step:{outcome:t,note:$}}),onSettled:()=>{S({delivery:i,inBasket:s,opened:r,finished:{outcome:t,note:$.trim(),at:new Date().toISOString()}})}})},onOpen:e=>{K({deliveryId:e,job:r.job})},onSendMessage:void 0===i.alertShip||void 0===y?void 0:e=>{y({alertShip:e})},onBack:()=>{S(void 0)}},i.deliveryId)})(j)})}e.s(["f",0,function({fleetId:e,decidePlaces:i,consoleUrl:s,known:r,children:a}){return(0,t.jsxs)(n.f.Provider,{children:[(0,t.jsx)(L,{fleetId:e,decidePlaces:i,consoleUrl:s,known:r,children:a}),(0,t.jsx)($,{})]})}],3523)},55070,e=>{var t=e.i(43476);let n={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},i={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:s,variant:r="secondary",size:a="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${i[a]} ${n[r]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),s]}):d})},"o",0,i])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:n}){return n?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",n={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,n,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),n=e.i(71645),i=e.i(95187);let s=(0,i.createServerReference)("40ab6bd38f893b947ce7425fb23bd3633b32ea7611",i.callServer,void 0,i.findSourceMapURL,"setTheme"),r=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:i,theme:a,entries:d=[]}){let[o,l]=(0,n.useState)(a),[c,u]=(0,n.useState)(!1),h=(0,n.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:i,theme:o,themes:r,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),s(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{u(!0),h.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:h,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,n){let[i="",s=""]=e.split("?"),r=new URLSearchParams(s);return r.set(t,n),`${i}?${r.toString()}`}])}],18566,(e,t,n)=>{t.exports=e.r(76562)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[69288,73459,15338,86844,12210,67410,46208,e=>{e.s(["f",0,function(e,t){e.replaceState(null,"",t)}],69288),e.s(["f",0,function(e){let t=new URLSearchParams({fleet:e.fleetId,...void 0===e.cursor?{}:{cursor:e.cursor}});return`/meetings/${encodeURIComponent(e.meetingId)}?${t.toString()}`}],73459);var t=e.i(95187);let n=(0,t.createServerReference)("40db7d83ab9618e36e567bcf66243a9a52614c933c",t.callServer,void 0,t.findSourceMapURL,"answerDelivery");e.s(["f",0,n],15338);let i=(0,t.createServerReference)("40d1b5efb67059d5ee812d8865798359fb723fb4e4",t.callServer,void 0,t.findSourceMapURL,"doneDelivery");e.s(["f",0,i],86844);let s=(0,t.createServerReference)("602390e5d7f0d17092beab792cafdd485bfb28d868",t.callServer,void 0,t.findSourceMapURL,"openDelivery");e.s(["f",0,s],12210);let r=(0,t.createServerReference)("405f92098d95e14188d3c2e2058e1b73d6468d725b",t.callServer,void 0,t.findSourceMapURL,"putInBasket");e.s(["f",0,r],67410);let a=(0,t.createServerReference)("40d6d035364bed586c26cd7d80196b6f40cc3ed5af",t.callServer,void 0,t.findSourceMapURL,"putPickInBasket");e.s(["f",0,a],46208)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var n=e.i(56420);let i={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};i.node;let s=(0,n.f)(i);e.s(["f",0,s],59381)},66595,e=>{var t=e.i(56420);let n={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};n.node;let i=(0,t.f)(n);e.s(["f",0,i],66595)},95187,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var i={callServer:function(){return r.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var s in i)Object.defineProperty(n,s,{enumerable:!0,get:i[s]});let r=e.r(32120),a=e.r(92245),d=e.r(35326)},42648,e=>{var t=e.i(95187);let n=(0,t.createServerReference)("60805144861012c3c1c5af3c3730c5ad189ec00cb2",t.callServer,void 0,t.findSourceMapURL,"removeFromBasket");e.s(["f",0,n])},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},n={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},i=["decide","do"],s="Bridge keeps every item.",r={label:"Not offered",isOk:!1},a={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,n,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:a,description:o,action:"turnOn"}:{state:r,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:n})=>n.email!==t&&(!t||i.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],n=t.at(-1),i=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(n)}`;return`Shows in ${i}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:n}=e;return null===n?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${n.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:i,place:r,isOn:a,waiting:d,isChatOn:o}=e,{name:l,item:c,items:u}=t[i],h=`${n[r]} is ${a?"on":"off"} for ${l}`;return a?"chat"===r?{title:h,detail:`A chat lists every ${c} not done when you ask it.`}:{title:h,detail:`${n[r]} shows ${u} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:h,detail:"everything-else"===i&&"slack"===r?`Bots only: a bot ship's messages and replies to Slack still show there. ${s}`:s}},"B",0,function(e){if(!e.isOffered)return{state:r,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:a,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:n})=>t===e.ownEndpoint&&!n);return void 0===t?{state:a,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},35159,e=>{e.s(["b",0,function(e){let t="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${t}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:t}){return`${e.replace(/\/$/,"")}/ships/${t}`},"E",0,function(e){return`${String(e)} unseen`}])},22141,e=>{var t=e.i(43476),n=e.i(56420);let i={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};i.node;let s=(0,n.f)(i);var r=e.i(47211),a=e.i(89664),d=e.i(22768),o=e.i(85595),l=e.i(51481);let c={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};c.node;let u=(0,n.f)(c);var h=e.i(11568);let p={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};p.node;let f=(0,n.f)(p);var m=e.i(32645),g=e.i(30274),b=e.i(47130),v=e.i(63676),x=e.i(71645),k=e.i(42648),w=e.i(95187);let y=(0,w.createServerReference)("40fd92d933155d577a39b70ae4a0afd206c15a24b6",w.callServer,void 0,w.findSourceMapURL,"sendBasket");function j(e){return`${new Date(e).toISOString().slice(11,16)} UTC`}let S={bridge:"in Bridge",chat:"in a chat",slack:"in Slack",gateway:"by the gateway"};function $(e){return{desktop:e,phone:e}}function N(e){return 1===e?"1 answer":`${String(e)} answers`}function I(e){return e.length<=1?e.join(""):`${e.slice(0,-1).join(", ")} and ${e.at(-1)??""}`}function R(e){return[...new Set(e.map(({from:e})=>e))]}var O=e.i(55070),T=e.i(63132),L=e.i(3523);let z={sent:o.f,sending:h.f,next:u,unanswered:h.f,refused:d.f,withdrawn:r.f,replaced:m.f,elsewhere:a.f},B={ok:"text-tone-ok-fg",waiting:"text-tone-waiting-fg",attention:"text-tone-attention-fg",off:"text-muted-foreground"};function M({words:e}){return e.desktop===e.phone?(0,t.jsx)("span",{children:e.desktop}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"hidden sm:inline",children:e.desktop}),(0,t.jsx)("span",{className:"sm:hidden",children:e.phone})]})}function U({line:e}){let n=z[e.icon];return(0,t.jsxs)("p",{"data-testid":"bridge-basket-standing",className:"col-span-2 col-start-2 flex items-start gap-1.5 text-meta",children:[(0,t.jsx)(n,{"aria-hidden":!0,className:`mt-0.5 size-3.5 shrink-0 ${B[e.tone]}`}),(0,t.jsx)("span",{children:(0,t.jsx)(M,{words:e.words})})]})}function A({entry:e,line:n,opening:i,working:r,onRemove:a}){let{standing:d}=e,o="withdrawn"===d.kind||"replaced"===d.kind||"dealtElsewhere"===d.kind,c=void 0!==r||void 0!==i.openingId,u=r?.kind==="remove"&&r.questionId===e.questionId,h="replaced"===d.kind?d.replacementId:null,p=o?"line-through decoration-muted-foreground":"";return(0,t.jsxs)("li",{"data-testid":"bridge-basket-entry","data-standing":d.kind,className:`grid grid-cols-[18px_1fr_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border p-3 first:border-t-0 sm:px-3.5 ${o?"bg-muted":""}`,children:[(0,t.jsx)(l.f,{"aria-hidden":!0,className:"mt-0.5 size-4 text-tone-active-fg"}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsx)("span",{className:`font-medium ${p}`,children:e.title}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsxs)("span",{children:["to ",(0,t.jsx)("b",{className:"font-medium text-foreground",children:e.from})]}),(0,t.jsx)("span",{"aria-hidden":!0,className:"hidden text-border sm:inline",children:"·"}),(0,t.jsxs)("span",{className:"hidden sm:inline",children:["asked at ",(0,t.jsx)("time",{dateTime:e.sentAt,children:j(e.sentAt)})]})]}),(0,t.jsxs)("span",{className:`${o?"hidden sm:flex":"flex"} items-center gap-1.5 text-meta ${p}`,children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5 shrink-0 text-primary"}),null===e.option?"Note alone":null===e.optionLabel?`Option ${String(e.option)}`:`${String(e.option)}. ${e.optionLabel}`]}),null===e.note?null:(0,t.jsxs)("span",{className:"text-caption italic text-muted-foreground",children:['"',e.note,'"']})]}),"waiting"===d.kind?(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-change",size:"small","aria-label":"Change",isPending:i.openingId===e.deliveryId,pendingLabel:"Opening...",disabled:c,onClick:()=>{i.open({deliveryId:e.deliveryId,job:"decide",inBasket:{option:e.option,note:e.note}})},children:[(0,t.jsx)(f,{"aria-hidden":!0,className:"size-3.5"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Change"})]}),(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-remove",size:"small",variant:"ghost","aria-label":"Remove",isPending:u,pendingLabel:"Removing...",disabled:c,onClick:()=>{a(e.questionId)},children:[(0,t.jsx)(v.X,{"aria-hidden":!0,className:"size-4 sm:hidden"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Remove"})]})]}):(0,t.jsx)("span",{}),void 0===n?null:(0,t.jsx)(U,{line:n}),i.failure?.deliveryId===e.deliveryId?(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(T.f,{message:i.failure.message,isFailure:!0})}):null,"withdrawn"===d.kind||"replaced"===d.kind||"dealtElsewhere"===d.kind||"refused"===d.kind?(0,t.jsxs)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:[null===h?null:(0,t.jsxs)(O.i,{"data-testid":"bridge-replacement",size:"small",isPending:i.openingId===h,pendingLabel:"Opening...",disabled:c,onClick:()=>{i.open({deliveryId:h,job:"decide"})},children:[(0,t.jsx)(s,{"aria-hidden":!0,className:"size-3.5"}),"Answer the new question"]}),(0,t.jsx)(O.i,{"data-testid":"bridge-basket-remove",size:"small",variant:"replaced"===d.kind?"ghost":"secondary",isPending:u,pendingLabel:"Removing...",disabled:c,onClick:()=>{a(e.questionId)},children:"refused"===d.kind?"Remove and mark done":"Remove"})]}):null]})}function P({foot:e,isSending:n,isWorking:i,onSend:s}){return"none"===e.kind?null:(0,t.jsxs)("div",{"data-testid":"bridge-basket-foot",className:"flex flex-col items-stretch gap-2 border-t border-border bg-card p-3 sm:flex-row sm:items-center sm:gap-3 sm:px-3.5",children:[(0,t.jsx)("p",{className:"flex-1 text-caption text-muted-foreground",children:(0,t.jsx)(M,{words:e.words})}),"send"===e.kind?(0,t.jsxs)(O.i,{"data-testid":"bridge-basket-send",variant:"primary",className:"justify-center",isPending:n,pendingLabel:"Sending...",disabled:i,onClick:s,children:[(0,t.jsx)(g.f,{"aria-hidden":!0,className:"size-4"}),e.label]}):null,"sending"===e.kind?(0,t.jsxs)("button",{type:"button","data-testid":"bridge-basket-sending",disabled:!0,"aria-busy":"true",className:"inline-flex h-9 items-center justify-center gap-2 rounded-md border border-border bg-card px-4 font-medium text-card-foreground",children:[(0,t.jsx)(h.f,{"aria-hidden":!0,className:"size-4 animate-spin"}),e.progress]}):null]})}function C({summary:e}){return(0,t.jsxs)("div",{"data-testid":"bridge-basket-sent",role:"status",className:"flex max-w-[620px] items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(o.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0 text-tone-ok-fg"}),(0,t.jsxs)("span",{className:"grid gap-1",children:[(0,t.jsx)("span",{className:"font-medium",children:e.title}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:e.description})]})]})}function D(){return(0,t.jsxs)("div",{"data-testid":"bridge-basket-empty",className:"grid max-w-[820px] justify-items-center gap-3 rounded-lg border border-dashed border-border bg-card px-6 py-10 text-center",children:[(0,t.jsx)("span",{className:"inline-flex size-11 items-center justify-center rounded-lg bg-secondary text-muted-foreground",children:(0,t.jsx)(b.f,{"aria-hidden":!0,className:"size-5"})}),(0,t.jsx)("span",{className:"text-heading font-semibold",children:"The basket is empty"}),(0,t.jsx)("span",{className:"max-w-[360px] text-muted-foreground",children:"Pick an option on a question and put it in the basket; it waits here until you send it."})]})}e.s(["BasketPanel",0,function({fleetId:e,basket:n}){let i,s,[r,a]=(0,x.useState)(),[d,o]=(0,x.useState)(),[,l]=(0,x.useTransition)(),c=(i=n.entries.some(({standing:e})=>"sent"===e.kind),s=n.entries.find(({standing:e})=>"sending"===e.kind&&!e.isUnanswered),n.entries.map(e=>(function(e,t){let{standing:n,from:i}=e;switch(n.kind){case"waiting":return;case"sent":{let e=j(n.at);return{icon:"sent",tone:"ok",words:{desktop:`Sent at ${e} and stored. Done.`,phone:`Sent at ${e}. Done.`}}}case"sending":if(n.isUnanswered)return{icon:"unanswered",tone:"waiting",words:{desktop:"The fleet did not answer. Sending again with the same key until it is stored; it arrives once.",phone:"No answer from the fleet. Sending again, same key."}};return t.isSendingNow?{icon:"sending",tone:"waiting",words:$("Sending...")}:{icon:"next",tone:"waiting",words:{desktop:"Next, in the order you added it",phone:"Next"}};case"refused":{let e=`Not sent: ${n.reason}.`,[i=n.reason]=n.reason.split(", so ");return{icon:"refused",tone:"attention",words:{desktop:t.isAnySent?`${e} The others were sent.`:e,phone:`Not sent: ${i}.`}}}case"withdrawn":return{icon:"withdrawn",tone:"off",words:{desktop:`Withdrawn by ${i} at ${j(n.at)}. Not sent; Send skips it.`,phone:`Withdrawn by ${i}. Not sent.`}};case"replaced":{let e=null===n.replacementTitle?".":` with "${n.replacementTitle}"`;return{icon:"replaced",tone:"off",words:{desktop:`Replaced by ${i} at ${j(n.at)}${e} Not sent: its options differ, so answer the new one.`,phone:`Replaced by ${i}. Not sent.`}}}case"dealtElsewhere":return{icon:"elsewhere",tone:"off",words:$(null===n.option?`Done ${S[n.place]}. Nothing is sent from it.`:`Answered ${S[n.place]}: option ${String(n.option)}. Nothing is sent from it.`)}}})(e,{isAnySent:i,isSendingNow:e===s}))),u=function(e){let{entries:t}=e;if(0===t.length||t.some(({standing:e})=>"sent"!==e.kind))return;let n=`To ${I(R(t))}, as you;`;return{title:`${N(t.length)} sent`,description:1===t.length?`${n} stored, and in Done.`:`${n} each stored, each in Done.`}}(n),h=t=>{a({kind:"remove",questionId:t}),o(void 0),l(async()=>{let n=await (0,k.f)(e,t);a(void 0),o(n.isOk?void 0:n.message)})},p=()=>{a({kind:"send"}),o(void 0),l(async()=>{let t=await y(e);a(void 0),o(t.isOk?void 0:t.message)})};return(0,t.jsx)(L.f,{fleetId:e,known:n.entries.map(e=>({deliveryId:e.deliveryId,job:"decide",isAlert:!1,state:"seen",inBasket:{option:e.option,note:e.note}})),children:e=>(0,t.jsxs)("section",{className:"grid gap-4","aria-labelledby":"bridge-basket-heading",children:[(0,t.jsxs)("div",{className:"hidden sm:block",children:[(0,t.jsxs)("h1",{id:"bridge-basket-heading",className:"text-heading font-semibold",children:["Basket ",(0,t.jsx)("span",{"data-testid":"bridge-basket-count",className:"text-primary",children:n.count})]}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:"Answers you picked in Bridge, not sent yet. Nothing goes until you press Send."})]}),void 0===d?null:(0,t.jsx)(T.f,{message:d,isFailure:!0}),void 0===u?null:(0,t.jsx)(C,{summary:u}),0===n.entries.length||void 0!==u?(0,t.jsx)(D,{}):(0,t.jsxs)("div",{className:"max-w-[820px] overflow-hidden rounded-lg border border-border bg-card",children:[(0,t.jsx)("ul",{children:n.entries.map((n,i)=>(0,t.jsx)(A,{entry:n,line:c[i],opening:e,working:r,onRemove:h},n.questionId))}),(0,t.jsx)(P,{foot:function(e){if(e.toSend>0)return function(e){var t;let n=function(e){let t=t=>e.filter(({standing:e})=>e.kind===t).length,n=["withdrawn","replaced"].map(e=>({kind:e,count:t(e)})).filter(({count:e})=>e>0),i=n.map(({kind:e,count:t},i)=>t>1?`the ${String(t)} ${e}`:i===n.length-1?`the ${e} one`:`the ${e}`),s=t("dealtElsewhere"),r=0===s?i:[...i,1===s?"the one answered elsewhere":`the ${String(s)} answered elsewhere`];if(0===r.length)return;let a=I(r),d=1===n.reduce((e,{count:t})=>e+t,s);return`${a.charAt(0).toUpperCase()}${a.slice(1)} ${d?"is":"are"} not sent.`}(e.entries),i=(t=e.toSend,`Send ${N(t)}`);if(void 0!==n)return{kind:"send",words:{desktop:`${String(e.toSend)} to send. ${n}`,phone:n},label:i};let s=e.entries.filter(({standing:e})=>"waiting"===e.kind),r=R(s),a=r.length>1?"each receive their own answer":s.length>1?"receives its own answer to each":"receives its own answer";return{kind:"send",words:{desktop:`${I(r)} ${a}, as you, as if sent one by one.`,phone:"Each asker receives its own answer."},label:i}}(e);let t=e.entries.map(({standing:e})=>e),n=t.filter(({kind:e})=>"sent"===e).length,i=t.filter(({kind:e})=>"sending"===e).length,s=t.filter(({kind:e})=>"refused"===e).length,r=t.some(e=>"sending"===e.kind&&e.isUnanswered);if(i>0&&0===s&&!r)return{kind:"sending",words:{desktop:"You can close Bridge: the gateway keeps sending what is stored as sending.",phone:"You can close Bridge; the gateway keeps sending."},progress:`Sending ${String(n+1)} of ${String(n+i)}`};if(0===i&&0===s)return{kind:"none"};let a=(e,t)=>0===e?[]:[`${String(e)} ${t}`];return{kind:"summary",words:{desktop:`${[...a(n,"sent"),...a(i,"still sending"),...a(s,"not sent")].join(", ")}.`,phone:`${[...a(n,"sent"),...a(i,"sending"),...a(s,"not sent")].join(", ")}.`}}}(n),isSending:r?.kind==="send",isWorking:void 0!==r||void 0!==e.openingId,onSend:p})]})]})})}],22141)},94528,e=>{var t=e.i(43476),n=e.i(17904),i=e.i(29039);e.s(["FadedAsLastRead",0,function({children:e}){let s=(0,i.useLastReadAt)();return void 0===s?e:(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)("div",{inert:!0,className:"opacity-60 [&_button:not([data-testid=bridge-item-title])]:hidden",children:e}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,n.C)(s)}.`})]})}])},3523,e=>{var t=e.i(43476),n=e.i(58487),i=e.i(5654),s=e.i(71645),r=e.i(69288),a=e.i(73459),d=e.i(65894),o=e.i(15338),l=e.i(86844),c=e.i(12210),u=e.i(67410),h=e.i(46208),p=e.i(42648),f=e.i(57228),m=e.i(29247),g=e.i(20347),b=e.i(34244),v=e.i(43328),x=e.i(27538),k=e.i(77826),w=e.i(80734),y=e.i(60296),j=e.i(66734),S=e.i(47130);function $(){let{toasts:e}=i.f.useToastManager();return(0,t.jsx)(v.f.Portal,{children:(0,t.jsx)(x.f.Viewport,{className:"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid",children:e.map(e=>(0,t.jsxs)(k.f.Root,{toast:e,"data-testid":"bridge-basket-toast",className:"flex items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(S.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0"}),(0,t.jsxs)(w.f.Content,{className:"grid flex-1 gap-1",children:[(0,t.jsx)(y.f.Title,{className:"font-medium"}),(0,t.jsx)(j.f.Description,{className:"text-caption text-muted-foreground"})]})]},e.id))})})}var N=e.i(54235),I=e.i(62579),R=e.i(63132),O=e.i(75103),T=e.i(52021);function L({fleetId:e,decidePlaces:n,consoleUrl:v,known:x,children:k}){let w=i.f.useToastManager(),y=(0,O.P)(),[j,S]=(0,s.useState)(),[$,z]=(0,s.useState)(""),[B,M]=(0,s.useState)(),[U,A]=(0,s.useState)(),[P,C]=(0,s.useState)(),[D,q]=(0,s.useState)(),[E,F]=(0,s.useState)(),[Y,H]=(0,s.useState)(),[,W]=(0,s.useTransition)(),[_,V]=(0,s.useState)(0);(0,T.R)(void 0===j?void 0:(0,b.u)(j.opened.job),()=>{S(void 0)});let K=t=>{M(t.deliveryId),q(void 0),H(void 0),W(async()=>{let n=await (0,c.f)(e,t.deliveryId);if(M(void 0),n.isOk){let e=t.inBasket??null;S({delivery:n.value,opened:{job:t.job,isAlert:t.isAlert??!1,wasNew:"seen"!==t.state},inBasket:e,finished:null}),z(e?.note??""),F(void 0)}else q({deliveryId:t.deliveryId,message:n.message})})},Q=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(Q.current)return;Q.current=!0;let e=(0,g.L)(window.location.href,x);"open"===e.kind?K(e.item):"gone"===e.kind&&((0,r.f)(window.history,(0,g.v)(window.location.href,void 0)),H("That item is no longer in your inbox."))});let X=j?.delivery.deliveryId,G=x.find(({deliveryId:e})=>e===X)?.stale??null;(0,s.useEffect)(()=>{null!==G&&void 0!==X&&S(e=>void 0===e?e:{...e,delivery:(0,m.B)(e.delivery,[{deliveryId:X,stale:G}])})},[G,X]);let J=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(!J.current){J.current=!0;return}(0,r.f)(window.history,(0,g.v)(window.location.href,X))},[X]);let Z=({control:e,action:t,onSettled:n})=>{C(e),F(void 0),W(async()=>{let e=await t();C(void 0),e.isOk?n(e.value):F(e.message)})},ee=e=>()=>{S(void 0),H(e)},et=void 0===j?void 0:{deliveryId:j.delivery.deliveryId,job:j.opened.job};return(0,t.jsx)(I.f,{list:(0,t.jsxs)("div",{className:"grid gap-4",children:[void 0===Y?null:(0,t.jsx)(R.f,{message:Y,isFailure:!1}),k({open:K,openingId:B,putPick:(t,n)=>{A(t.deliveryId),q(void 0),H(void 0),W(async()=>{let i=await (0,h.f)({fleet:e,deliveryId:t.deliveryId,option:n});A(void 0),i.isOk?(H(`Option ${String(n)} is in the basket, not sent: ${t.from} receives it when you send the basket.`),V(e=>e+1)):q({deliveryId:t.deliveryId,message:i.message})})},puttingId:U,failure:D,opened:et})]},_),item:void 0===j?void 0:(({delivery:i,inBasket:s,opened:r,finished:c})=>{let h=i.question?.id;return(0,t.jsx)(N.u,{delivery:i,opened:r,meetingHref:void 0===i.meetingId?void 0:(0,a.f)({fleetId:e,meetingId:i.meetingId}),consoleUrl:v,basketHref:(0,d.i)(f.H,e),inBasket:s,finished:c,places:n,note:$,working:P,failure:E,onNoteChange:z,onAnswer:t=>{Z({control:void 0===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,o.f)({fleet:e,deliveryId:i.deliveryId,input:{questionId:i.question?.id,option:t,note:$}}),onSettled:ee(`Your answer went to ${i.from}.`)})},onPut:t=>{Z({control:null===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,u.f)({fleet:e,deliveryId:i.deliveryId,option:t,optionLabel:i.question?.options.find(({key:e})=>e===t)?.label??null,note:$}),onSettled:e=>{var t;S({delivery:i,opened:r,finished:c,inBasket:e}),w.add({title:null===(t=e.option)?"Your note alone in the basket":`Option ${String(t)} in the basket`,description:"Not sent. Still waiting on you until you send it."})}})},onSend:t=>{Z({control:{kind:"send"},action:()=>(0,o.f)({fleet:e,deliveryId:i.deliveryId,input:{questionId:h,option:t??void 0,note:$}}),onSettled:ee(`Your answer went to ${i.from}.`)})},onRemove:()=>{void 0!==h&&Z({control:{kind:"remove"},action:()=>(0,p.f)(e,h),onSettled:ee(`Your answer to “${i.title}” is out of the basket; the question still waits on you.`)})},onDone:()=>{Z({control:{kind:"done"},action:()=>(0,l.f)({fleet:e,deliveryId:i.deliveryId}),onSettled:ee(`Done with “${i.title}”.`)})},onFinishStep:t=>{Z({control:{kind:t},action:()=>(0,l.f)({fleet:e,deliveryId:i.deliveryId,step:{outcome:t,note:$}}),onSettled:()=>{S({delivery:i,inBasket:s,opened:r,finished:{outcome:t,note:$.trim(),at:new Date().toISOString()}})}})},onOpen:e=>{K({deliveryId:e,job:r.job})},onSendMessage:void 0===i.alertShip||void 0===y?void 0:e=>{y({alertShip:e})},onBack:()=>{S(void 0)}},i.deliveryId)})(j)})}e.s(["f",0,function({fleetId:e,decidePlaces:i,consoleUrl:s,known:r,children:a}){return(0,t.jsxs)(n.f.Provider,{children:[(0,t.jsx)(L,{fleetId:e,decidePlaces:i,consoleUrl:s,known:r,children:a}),(0,t.jsx)($,{})]})}],3523)},55070,e=>{var t=e.i(43476);let n={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},i={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:s,variant:r="secondary",size:a="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${i[a]} ${n[r]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),s]}):d})},"o",0,i])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:n}){return n?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",n={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,n,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),n=e.i(71645),i=e.i(95187);let s=(0,i.createServerReference)("406e70c54d0df55ecef3263e68bd02259fd622902e",i.callServer,void 0,i.findSourceMapURL,"setTheme"),r=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:i,theme:a,entries:d=[]}){let[o,l]=(0,n.useState)(a),[c,u]=(0,n.useState)(!1),h=(0,n.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:i,theme:o,themes:r,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),s(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{u(!0),h.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:h,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,n){let[i="",s=""]=e.split("?"),r=new URLSearchParams(s);return r.set(t,n),`${i}?${r.toString()}`}])}],18566,(e,t,n)=>{t.exports=e.r(76562)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55070,e=>{var r=e.i(43476);let t={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},a={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:n,variant:i="secondary",size:
|
|
1
|
+
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55070,e=>{var r=e.i(43476);let t={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},a={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:n,variant:i="secondary",size:d="regular",children:s,className:o="",disabled:l,...c}){return(0,r.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${a[d]} ${t[i]} ${o}`,children:e?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),n]}):s})},"o",0,a])},63132,e=>{var r=e.i(43476);e.s(["f",0,function({message:e,isFailure:t}){return t?(0,r.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,r.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},17433,e=>{var r=e.i(43476),t=e.i(18566),a=e.i(71645),n=e.i(55070),i=e.i(63132),d=e.i(95187);let s=(0,d.createServerReference)("4097cb91a9268635cf5f76f41a3e71decfce0647ab",d.callServer,void 0,d.findSourceMapURL,"changeMic"),o=(0,d.createServerReference)("40d047a7de4b2ea1609b78e05f1ec57ad6e062cd26",d.callServer,void 0,d.findSourceMapURL,"contribute"),l={request:{label:"Request the mic",pending:"Requesting..."},withdraw:{label:"Withdraw my request",pending:"Withdrawing..."},release:{label:"Release the mic",pending:"Releasing..."}};e.s(["MeetingControls",0,function({fleetId:e,meetingId:d,controls:c}){let u=(0,t.useRouter)(),[g,b]=(0,a.useState)(""),[p,m]=(0,a.useState)(()=>crypto.randomUUID()),[x,h]=(0,a.useState)(),[f,v]=(0,a.useState)(),[,y]=(0,a.useTransition)(),j=({control:e,action:r,onDone:t})=>{h(e),v(void 0),y(async()=>{let e=await r();h(void 0),e.isOk?(t?.(),u.refresh()):v(e.message)})},S=void 0!==x,R=c.filter(e=>"contribute"!==e);return(0,r.jsxs)("div",{className:"grid gap-3",children:[c.includes("contribute")?(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsxs)("label",{className:"grid gap-1",children:[(0,r.jsx)("span",{children:"Your contribution"}),(0,r.jsx)("textarea",{"data-testid":"meeting-text",rows:4,value:g,onChange:e=>{b(e.target.value)},className:"rounded-md border border-input bg-background p-2"})]}),(0,r.jsx)(n.i,{"data-testid":"meeting-contribute",variant:"primary",className:"justify-self-start",isPending:"contribute"===x,pendingLabel:"Sending...",disabled:S,onClick:()=>{j({control:"contribute",action:()=>o({fleet:e,meetingId:d,text:g,idempotencyKey:p}),onDone:()=>{b(""),m(crypto.randomUUID())}})},children:"Contribute"})]}):null,0===R.length?null:(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:R.map(t=>(0,r.jsx)(n.i,{"data-testid":`meeting-${t}`,variant:"request"===t?"primary":"secondary",isPending:x===t,pendingLabel:l[t].pending,disabled:S,onClick:()=>{j({control:t,action:()=>s({fleet:e,meetingId:d,change:t})})},children:l[t].label},t))}),void 0===f?null:(0,r.jsx)(i.f,{message:f,isFailure:!0})]})}],17433)}])})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[43683,e=>{var r=e.i(43476),t=e.i(51230),n=e.i(35159);function o(){}let a=(0,r.jsx)("a",{className:"focus-visible:outline-solid [&:active>span.absolute]:opacity-0"});e.s(["BridgeHarbour",0,function({counts:e,groups:
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[43683,e=>{var r=e.i(43476),t=e.i(51230),n=e.i(35159);function o(){}let a=(0,r.jsx)("a",{className:"focus-visible:outline-solid [&:active>span.absolute]:opacity-0"});e.s(["BridgeHarbour",0,function({counts:e,groups:d,consoleUrl:s,now:c}){return(0,r.jsx)(t.Harbour,{counts:e,groups:d,now:c,hrefOf:void 0===s?void 0:e=>(0,n.c)({consoleUrl:s,shipId:e}),link:a,state:"ready",onRetry:o})}])},66595,e=>{var r=e.i(56420);let t={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};t.node;let n=(0,r.f)(t);e.s(["f",0,n],66595)},95187,(e,r,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return d.findSourceMapURL}};for(var o in n)Object.defineProperty(t,o,{enumerable:!0,get:n[o]});let a=e.r(32120),d=e.r(92245),s=e.r(35326)},35159,e=>{e.s(["b",0,function(e){let r="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${r}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:r}){return`${e.replace(/\/$/,"")}/ships/${r}`},"E",0,function(e){return`${String(e)} unseen`}])},30402,e=>{let r="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",t={primary:`${r} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${r} border border-border bg-card hover:bg-accent`,destructive:`${r} bg-destructive text-destructive-foreground`};e.s(["x",0,t,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var r=e.i(43476),t=e.i(71645),n=e.i(95187);let o=(0,n.createServerReference)("406e70c54d0df55ecef3263e68bd02259fd622902e",n.callServer,void 0,n.findSourceMapURL,"setTheme"),a=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:n,theme:d,entries:s=[]}){let[c,i]=(0,t.useState)(d),[u,l]=(0,t.useState)(!1),f=(0,t.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:n,theme:c,themes:a,hasTheme:!0,onThemeChange:e=>{let r;i(e),document.documentElement.dataset.theme=e,r="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",r),o(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{l(!0),f.current?.requestSubmit()},isSigningOut:u,entries:s},signOutForm:(0,r.jsx)("form",{ref:f,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let r="fleet";e.s(["n",0,r,"i",0,function(e,t){let[n="",o=""]=e.split("?"),a=new URLSearchParams(o);return a.set(r,t),`${n}?${a.toString()}`}])}],18566,(e,r,t)=>{r.exports=e.r(76562)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[69288,73459,29599,65194,18364,15440,95318,e=>{e.s(["f",0,function(e,t){e.replaceState(null,"",t)}],69288),e.s(["f",0,function(e){let t=new URLSearchParams({fleet:e.fleetId,...void 0===e.cursor?{}:{cursor:e.cursor}});return`/meetings/${encodeURIComponent(e.meetingId)}?${t.toString()}`}],73459);var t=e.i(95187);let i=(0,t.createServerReference)("40dc940782447fa774ade2cbd00f4f5bb7677a387c",t.callServer,void 0,t.findSourceMapURL,"answerDelivery");e.s(["f",0,i],29599);let n=(0,t.createServerReference)("40f7d239d4fa7db323b65eee64b38f84dd04f23c94",t.callServer,void 0,t.findSourceMapURL,"doneDelivery");e.s(["f",0,n],65194);let r=(0,t.createServerReference)("6094f8831475d7ac21d1dc317952b7d23d22a8110e",t.callServer,void 0,t.findSourceMapURL,"openDelivery");e.s(["f",0,r],18364);let a=(0,t.createServerReference)("40a063a0888116f6fe87ec56db167344aea3de800d",t.callServer,void 0,t.findSourceMapURL,"putInBasket");e.s(["f",0,a],15440);let s=(0,t.createServerReference)("4044bf5bb9d6e6852f8d646440f2b46c84691dfa43",t.callServer,void 0,t.findSourceMapURL,"putPickInBasket");e.s(["f",0,s],95318)},70812,71136,96315,28623,e=>{var t=e.i(56420);let i={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};i.node;let n=(0,t.f)(i);e.s(["f",0,n],70812);let r={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],71136);let s={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};s.node;let d=(0,t.f)(s);e.s(["f",0,d],96315);let o={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};o.node;let l=(0,t.f)(o);e.s(["f",0,l],28623)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var i=e.i(56420);let n={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};n.node;let r=(0,i.f)(n);e.s(["f",0,r],59381)},66595,e=>{var t=e.i(56420);let i={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};i.node;let n=(0,t.f)(i);e.s(["f",0,n],66595)},95187,(e,t,i)=>{Object.defineProperty(i,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let a=e.r(32120),s=e.r(92245),d=e.r(35326)},72395,e=>{var t=e.i(95187);let i=(0,t.createServerReference)("60d2401f70d2510a8be450676693583f551f140dd6",t.callServer,void 0,t.findSourceMapURL,"removeFromBasket");e.s(["f",0,i])},28287,e=>{var t=e.i(18566),i=e.i(71645);let n={standing:new Set,staleSince:new Map};e.s(["f",0,function(e){let r=(0,t.useRouter)(),[a,s]=(0,i.useState)(n),[d,o]=(0,i.useState)(()=>Date.now()),l=e.map(({deliveryId:e,isStale:t})=>`${e}${t?"!":""}`).join(" ");return(0,i.useEffect)(()=>{let e=Date.now();s(t=>(function(e,t){let{items:i,atMs:n}=t,r=new Set(e.standing),a=new Map(e.staleSince);for(let{deliveryId:e,isStale:t}of i)t?r.has(e)&&!a.has(e)&&a.set(e,n):r.add(e);return{standing:r,staleSince:a}})(t,{items:""===l?[]:l.split(" ").map(e=>({deliveryId:e.replace("!",""),isStale:e.endsWith("!")})),atMs:e})),o(e)},[l]),(0,i.useEffect)(()=>{let e,t=0===(e=[...a.staleSince.values()].flatMap(e=>[e+5e3-300,e+5e3]).filter(e=>e>d)).length?void 0:Math.min(...e);if(void 0===t)return;let i=setTimeout(()=>{o(Date.now()),[...a.staleSince.values()].some(e=>e+5e3===t)&&r.refresh()},t-Date.now());return()=>{clearTimeout(i)}},[a,d,r]),e=>(function(e,t){let{item:i,atMs:n}=t;if(!i.isStale)return"shown";let r=e.staleSince.get(i.deliveryId);if(void 0===r)return e.standing.has(i.deliveryId)?"shown":"gone";let a=n-r;return a>=5e3?"gone":a>=4700?"leaving":"shown"})(a,{item:e,atMs:d})}],28287)},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},i={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},n=["decide","do"],r="Bridge keeps every item.",a={label:"Not offered",isOk:!1},s={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,i,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:s,description:o,action:"turnOn"}:{state:a,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:i})=>i.email!==t&&(!t||n.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],i=t.at(-1),n=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(i)}`;return`Shows in ${n}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:i}=e;return null===i?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${i.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:n,place:a,isOn:s,waiting:d,isChatOn:o}=e,{name:l,item:c,items:u}=t[n],m=`${i[a]} is ${s?"on":"off"} for ${l}`;return s?"chat"===a?{title:m,detail:`A chat lists every ${c} not done when you ask it.`}:{title:m,detail:`${i[a]} shows ${u} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:m,detail:"everything-else"===n&&"slack"===a?`Bots only: a bot ship's messages and replies to Slack still show there. ${r}`:r}},"B",0,function(e){if(!e.isOffered)return{state:a,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:s,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:i})=>t===e.ownEndpoint&&!i);return void 0===t?{state:s,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},85989,e=>{var t=e.i(43476),i=e.i(70812),n=e.i(56420);let r={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};r.node;let a=(0,n.f)(r);var s=e.i(68590),d=e.i(47130),o=e.i(28287),l=e.i(65894),c=e.i(57228),u=e.i(29247),m=e.i(12497),f=e.i(17904),g=e.i(99200),p=e.i(55070),h=e.i(19015),v=e.i(82022);function b({href:e,isOutside:i,children:n,...r}){return(0,t.jsxs)("a",{...r,href:e,...i?{target:"_blank",rel:"noopener noreferrer"}:{},className:`inline-flex items-center rounded-md border border-border bg-card text-card-foreground hover:bg-accent ${p.o.row}`,children:[(0,t.jsx)(v.f,{"aria-hidden":"true",className:"size-3.5"}),n]})}var x=e.i(3523),y=e.i(48680),w=e.i(29039);function j(e){let{stale:t,inBasket:i}=e;return null===t&&null!==i?null===i.option?"In the basket: the note alone":`In the basket: option ${String(i.option)}`:null===t?"seen"===e.state?(0,m.M)(e.seenIn):void 0:(0,u.f)(t,{from:e.from})}function k({item:e,opening:i}){let n=e.stale?.replacementId??null;return null===n?null:(0,t.jsx)(p.i,{"data-testid":"bridge-replacement",size:"row",isPending:i.openingId===n,pendingLabel:"Opening...",disabled:void 0!==i.openingId,onClick:()=>{i.open({deliveryId:n,job:e.job})},children:"do"===e.job?"Open the new step":"Open the new question"})}function S({item:e,opening:i}){return(0,t.jsx)(p.i,{"data-testid":"bridge-open",size:"row",isPending:i.openingId===e.deliveryId,pendingLabel:"Opening...",disabled:void 0!==i.openingId,onClick:()=>{i.open(e)},children:"Open"})}function I({item:e,opening:i}){let n=e.actInPlace;return n?.kind==="ownStep"?(0,t.jsx)(b,{"data-testid":"bridge-own-step",href:n.href,isOutside:!1,children:n.label}):(0,t.jsxs)(t.Fragment,{children:[n?.kind==="putPick"?(0,t.jsxs)(p.i,{"data-testid":"bridge-put-pick",variant:"primary",size:"row",isPending:i.puttingId===e.deliveryId,pendingLabel:"Putting...",disabled:void 0!==i.openingId||void 0!==i.puttingId,onClick:()=>{i.putPick(e,n.option)},children:[(0,t.jsx)(d.f,{"aria-hidden":"true",className:"size-3.5"}),"Put option ",n.option," in the basket"]}):null,n?.kind==="openLink"?(0,t.jsxs)(b,{"data-testid":"bridge-step-link",href:n.href,isOutside:!0,children:["Open ",n.host]}):null,(0,t.jsx)(k,{item:e,opening:i}),(0,t.jsx)(S,{item:e,opening:i})]})}function N(e,t){return void 0===t.openingId?()=>{t.open(e)}:void 0}function O({items:e,readAt:i,opening:n,leaving:r}){let a=void 0!==n.opened;return(0,t.jsx)("ul",{className:a?"border-t border-border":"overflow-hidden rounded-lg border border-border bg-card",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:i,isNew:"new"===e.state,isOpen:n.opened?.deliveryId===e.deliveryId,staleKind:e.stale?.kind,isLeaving:r.has(e.deliveryId),outcome:j(e),failure:n.failure?.deliveryId===e.deliveryId?n.failure.message:void 0,onOpen:N(e,n),actions:a?void 0:(0,t.jsx)(I,{item:e,opening:n})},e.deliveryId))})}function $({items:e,readAt:i,opening:n}){return(0,t.jsx)("ul",{className:void 0===n.opened?"overflow-hidden rounded-lg border border-border bg-card":"border-t border-border",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:i,isNew:"new"===e.state,isOpen:n.opened?.deliveryId===e.deliveryId,outcome:void 0,failure:n.failure?.deliveryId===e.deliveryId?n.failure.message:void 0,onOpen:N(e,n)},e.deliveryId))})}function R({home:e,readAt:i,opening:n,leaving:r}){let{waiting:a,stayAware:s}=e;return"stay-aware"===n.opened.job?(0,t.jsxs)("section",{"aria-labelledby":"bridge-stay-aware-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 px-3 py-2.5",children:[(0,t.jsx)("h2",{id:"bridge-stay-aware-heading",className:"font-semibold",children:"Stay aware"}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[s.filter(({state:e})=>"new"===e).length," unseen"]})]}),(0,t.jsx)($,{items:s,readAt:i,opening:n})]}):(0,t.jsxs)("section",{"aria-labelledby":"bridge-waiting-heading",children:[(0,t.jsxs)("h1",{id:"bridge-waiting-heading",className:"px-3 py-2.5 font-semibold",children:["Waiting on you ",(0,t.jsx)("span",{"data-testid":"bridge-count",className:"text-tone-waiting-fg",children:a.count})]}),(0,t.jsx)(O,{items:a.items,readAt:i,opening:n,leaving:r})]})}function M({fleetId:e,home:n,now:r,opening:d,argo:o,leaving:u=new Set}){let{waiting:m,stayAware:f,messages:p}=n,h=new Date(r),{opened:v}=d;if(void 0!==v)return(0,t.jsx)(R,{home:n,readAt:h,opening:{...d,opened:v},leaving:u});let b=p.filter(({state:e})=>"new"===e).length;return(0,t.jsxs)("div",{className:"grid gap-8",children:[(0,t.jsx)("section",{className:"grid gap-3","aria-labelledby":"bridge-waiting-heading",children:0===m.items.length?(0,t.jsxs)("div",{"data-testid":"bridge-nothing-waits",className:"grid justify-items-center gap-1 rounded-lg border border-border bg-card p-6 text-center",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Nothing waits on you"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Your ships have what they need from you. A question or a step shows here the moment one arrives."})]}):(0,t.jsx)(O,{items:m.items,readAt:h,opening:d,leaving:u})}),0===p.length?null:(0,t.jsxs)("section",{className:"grid gap-3","aria-labelledby":"bridge-messages-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,t.jsxs)("h2",{id:"bridge-messages-heading",className:"inline-flex items-center gap-2 text-section font-semibold",children:[(0,t.jsx)(s.f,{"aria-hidden":"true",className:"size-4 shrink-0"}),"Messages"]}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:(0,g.v)(b)})]}),(0,t.jsx)(y.f,{fleetId:e,messages:p.slice(0,g.d),readAt:h,opening:d,isOpenedOnPage:!0}),p.length>g.d?(0,t.jsxs)("a",{"data-testid":"bridge-all-messages",href:(0,l.i)(c.i,e),className:"flex h-9 items-center justify-center gap-1.5 rounded-lg border border-border bg-card font-medium text-primary hover:bg-accent",children:[(0,g.w)(p.length),(0,t.jsx)(a,{"aria-hidden":"true",className:"size-4"})]}):null]}),o,(0,t.jsxs)("section",{className:"grid gap-3","aria-labelledby":"bridge-stay-aware-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,t.jsxs)("h2",{id:"bridge-stay-aware-heading",className:"inline-flex items-center gap-2 text-section font-semibold",children:[(0,t.jsx)(i.f,{"aria-hidden":"true",className:"size-4 shrink-0"}),"Stay aware"]}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[f.filter(({state:e})=>"new"===e).length," unseen, outside the count"]})]}),0===f.length?(0,t.jsx)("p",{"data-testid":"bridge-nothing-new",className:"rounded-md border border-border bg-card p-3 text-muted-foreground",children:"Nothing new. What you saw is in Done."}):(0,t.jsx)($,{items:f,readAt:h,opening:d})]})]})}function z({items:e,lastReadAt:i}){let n=new Date(i);return(0,t.jsxs)("section",{className:"grid gap-3","aria-label":"Waiting on you, as last read",children:[0===e.length?null:(0,t.jsx)("ul",{inert:!0,className:"overflow-hidden rounded-lg border border-border bg-card opacity-60",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:n,isNew:"new"===e.state,isOpen:!1,staleKind:e.stale?.kind,outcome:j(e),failure:void 0,onOpen:void 0},e.deliveryId))}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,f.C)(i)}.`})]})}function L({deliveryId:e,stale:t}){return{deliveryId:e,isStale:null!==t}}e.s(["HomePanel",0,function({fleetId:e,home:i,now:n,decidePlaces:r,argo:a}){let s=(0,w.useLastReadAt)(),d=(0,o.f)(i.waiting.items.map(L));if(void 0!==s)return(0,t.jsx)(z,{items:i.waiting.items,lastReadAt:s});let l=i.waiting.items.filter(e=>"gone"!==d(L(e))),c=new Set(l.filter(e=>"leaving"===d(L(e))).map(({deliveryId:e})=>e)),u={...i,waiting:{...i.waiting,items:l}};return(0,t.jsx)(x.f,{fleetId:e,decidePlaces:r,known:[...l,...i.stayAware],children:i=>(0,t.jsx)(M,{fleetId:e,home:u,now:n,opening:i,argo:a,leaving:c})})},"StayAwareRows",0,$],85989)},3523,e=>{var t=e.i(43476),i=e.i(58487),n=e.i(5654),r=e.i(71645),a=e.i(69288),s=e.i(73459),d=e.i(65894),o=e.i(29599),l=e.i(65194),c=e.i(18364),u=e.i(15440),m=e.i(95318),f=e.i(72395),g=e.i(57228),p=e.i(29247),h=e.i(20347),v=e.i(34244),b=e.i(43328),x=e.i(27538),y=e.i(77826),w=e.i(80734),j=e.i(60296),k=e.i(66734),S=e.i(47130);function I(){let{toasts:e}=n.f.useToastManager();return(0,t.jsx)(b.f.Portal,{children:(0,t.jsx)(x.f.Viewport,{className:"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid",children:e.map(e=>(0,t.jsxs)(y.f.Root,{toast:e,"data-testid":"bridge-basket-toast",className:"flex items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(S.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0"}),(0,t.jsxs)(w.f.Content,{className:"grid flex-1 gap-1",children:[(0,t.jsx)(j.f.Title,{className:"font-medium"}),(0,t.jsx)(k.f.Description,{className:"text-caption text-muted-foreground"})]})]},e.id))})})}var N=e.i(54235),O=e.i(62579),$=e.i(63132),R=e.i(75103),M=e.i(52021);function z({fleetId:e,decidePlaces:i,consoleUrl:b,known:x,children:y}){let w=n.f.useToastManager(),j=(0,R.P)(),[k,S]=(0,r.useState)(),[I,L]=(0,r.useState)(""),[A,P]=(0,r.useState)(),[T,D]=(0,r.useState)(),[U,B]=(0,r.useState)(),[C,q]=(0,r.useState)(),[E,F]=(0,r.useState)(),[V,_]=(0,r.useState)(),[,H]=(0,r.useTransition)(),[W,Y]=(0,r.useState)(0);(0,M.R)(void 0===k?void 0:(0,v.u)(k.opened.job),()=>{S(void 0)});let K=t=>{P(t.deliveryId),q(void 0),_(void 0),H(async()=>{let i=await (0,c.f)(e,t.deliveryId);if(P(void 0),i.isOk){let e=t.inBasket??null;S({delivery:i.value,opened:{job:t.job,isAlert:t.isAlert??!1,wasNew:"seen"!==t.state},inBasket:e,finished:null}),L(e?.note??""),F(void 0)}else q({deliveryId:t.deliveryId,message:i.message})})},Q=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(Q.current)return;Q.current=!0;let e=(0,h.L)(window.location.href,x);"open"===e.kind?K(e.item):"gone"===e.kind&&((0,a.f)(window.history,(0,h.v)(window.location.href,void 0)),_("That item is no longer in your inbox."))});let G=k?.delivery.deliveryId,J=x.find(({deliveryId:e})=>e===G)?.stale??null;(0,r.useEffect)(()=>{null!==J&&void 0!==G&&S(e=>void 0===e?e:{...e,delivery:(0,p.B)(e.delivery,[{deliveryId:G,stale:J}])})},[J,G]);let X=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!X.current){X.current=!0;return}(0,a.f)(window.history,(0,h.v)(window.location.href,G))},[G]);let Z=({control:e,action:t,onSettled:i})=>{B(e),F(void 0),H(async()=>{let e=await t();B(void 0),e.isOk?i(e.value):F(e.message)})},ee=e=>()=>{S(void 0),_(e)},et=void 0===k?void 0:{deliveryId:k.delivery.deliveryId,job:k.opened.job};return(0,t.jsx)(O.f,{list:(0,t.jsxs)("div",{className:"grid gap-4",children:[void 0===V?null:(0,t.jsx)($.f,{message:V,isFailure:!1}),y({open:K,openingId:A,putPick:(t,i)=>{D(t.deliveryId),q(void 0),_(void 0),H(async()=>{let n=await (0,m.f)({fleet:e,deliveryId:t.deliveryId,option:i});D(void 0),n.isOk?(_(`Option ${String(i)} is in the basket, not sent: ${t.from} receives it when you send the basket.`),Y(e=>e+1)):q({deliveryId:t.deliveryId,message:n.message})})},puttingId:T,failure:C,opened:et})]},W),item:void 0===k?void 0:(({delivery:n,inBasket:r,opened:a,finished:c})=>{let m=n.question?.id;return(0,t.jsx)(N.u,{delivery:n,opened:a,meetingHref:void 0===n.meetingId?void 0:(0,s.f)({fleetId:e,meetingId:n.meetingId}),consoleUrl:b,basketHref:(0,d.i)(g.H,e),inBasket:r,finished:c,places:i,note:I,working:U,failure:E,onNoteChange:L,onAnswer:t=>{Z({control:void 0===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,o.f)({fleet:e,deliveryId:n.deliveryId,input:{questionId:n.question?.id,option:t,note:I}}),onSettled:ee(`Your answer went to ${n.from}.`)})},onPut:t=>{Z({control:null===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,u.f)({fleet:e,deliveryId:n.deliveryId,option:t,optionLabel:n.question?.options.find(({key:e})=>e===t)?.label??null,note:I}),onSettled:e=>{var t;S({delivery:n,opened:a,finished:c,inBasket:e}),w.add({title:null===(t=e.option)?"Your note alone in the basket":`Option ${String(t)} in the basket`,description:"Not sent. Still waiting on you until you send it."})}})},onSend:t=>{Z({control:{kind:"send"},action:()=>(0,o.f)({fleet:e,deliveryId:n.deliveryId,input:{questionId:m,option:t??void 0,note:I}}),onSettled:ee(`Your answer went to ${n.from}.`)})},onRemove:()=>{void 0!==m&&Z({control:{kind:"remove"},action:()=>(0,f.f)(e,m),onSettled:ee(`Your answer to “${n.title}” is out of the basket; the question still waits on you.`)})},onDone:()=>{Z({control:{kind:"done"},action:()=>(0,l.f)({fleet:e,deliveryId:n.deliveryId}),onSettled:ee(`Done with “${n.title}”.`)})},onFinishStep:t=>{Z({control:{kind:t},action:()=>(0,l.f)({fleet:e,deliveryId:n.deliveryId,step:{outcome:t,note:I}}),onSettled:()=>{S({delivery:n,inBasket:r,opened:a,finished:{outcome:t,note:I.trim(),at:new Date().toISOString()}})}})},onOpen:e=>{K({deliveryId:e,job:a.job})},onSendMessage:void 0===n.alertShip||void 0===j?void 0:e=>{j({alertShip:e})},onBack:()=>{S(void 0)}},n.deliveryId)})(k)})}e.s(["f",0,function({fleetId:e,decidePlaces:n,consoleUrl:r,known:a,children:s}){return(0,t.jsxs)(i.f.Provider,{children:[(0,t.jsx)(z,{fleetId:e,decidePlaces:n,consoleUrl:r,known:a,children:s}),(0,t.jsx)(I,{})]})}],3523)},48680,e=>{var t=e.i(43476),i=e.i(18566),n=e.i(71645),r=e.i(95187);let a=(0,r.createServerReference)("40ff8c223183f5fdfbbfad905ca34303c8e9d37ad8",r.callServer,void 0,r.findSourceMapURL,"doneMessage");var s=e.i(99200),d=e.i(89664),o=e.i(22768),l=e.i(12497),c=e.i(55070),u=e.i(19015);function m({message:e,now:i,isOpen:n,isMarkingDone:r,isOpening:a,isBusy:f,failure:g,onDone:p,onOpen:h}){let v=void 0===p,b=v?"":(0,s.R)(e.excerpt);return(0,t.jsx)(u.V,{item:{...e,title:(0,s.R)(e.title)},now:i,isNew:"new"===e.state,isOpen:n,outcome:function({message:e,isOpen:t}){return t?"Seen":"seen"===e.state?(0,l.M)(e.seenIn):void 0}({message:e,isOpen:n}),failure:void 0,onOpen:f?void 0:h,detail:""===b?void 0:(0,t.jsx)("p",{className:"line-clamp-2 max-w-[560px] break-words text-meta text-muted-foreground",children:b}),actions:v?void 0:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.i,{"data-testid":"bridge-message-done",size:"row",isPending:r,pendingLabel:"Marking done...",disabled:f,onClick:p,children:[(0,t.jsx)(d.f,{"aria-hidden":"true",className:"size-3.5"}),"Done"]}),(0,t.jsx)(c.i,{"data-testid":"bridge-message-open",size:"row",isPending:a,pendingLabel:"Opening...",disabled:f,onClick:h,children:"Open"}),void 0===g?null:(0,t.jsxs)("p",{role:"alert","data-testid":"bridge-message-failure",className:"flex basis-full items-center gap-1.5 text-meta text-destructive-text",children:[(0,t.jsx)(o.f,{"aria-hidden":"true",className:"size-3.5 shrink-0"}),g]})]})})}e.s(["f",0,function({fleetId:e,messages:r,readAt:d,opening:o,isOpenedOnPage:l=!1}){let c=(0,i.useRouter)(),[u,f]=(0,n.useState)(),[g,p]=(0,n.useState)(),[h,v]=(0,n.useState)(new Set),[b,x]=(0,n.useState)(),[,y]=(0,n.useTransition)(),w=void 0!==o.opened,j=g??o.openingId,k=void 0!==u||void 0!==j;return(0,t.jsx)("ul",{className:w?"border-t border-border":"overflow-hidden rounded-lg border border-border bg-card",children:r.filter(({deliveryId:e})=>!h.has(e)).map(i=>{var n;return(0,t.jsx)(m,{message:i,now:d,isOpen:o.opened?.deliveryId===i.deliveryId,isMarkingDone:u===i.deliveryId,isOpening:j===i.deliveryId,isBusy:k,failure:(n=i.deliveryId,b?.deliveryId===n?b.message:o.failure?.deliveryId===n?o.failure.message:void 0),onDone:w?void 0:()=>{f(i.deliveryId),x(void 0),y(async()=>{let t=await a({fleet:e,deliveryId:i.deliveryId,isNew:"new"===i.state});f(void 0),t.isOk?v(e=>new Set([...e,i.deliveryId])):x({deliveryId:i.deliveryId,message:(0,s.z)(void 0===t.code?void 0:t.message)})})},onOpen:()=>{l?(p(i.deliveryId),y(()=>{c.push((0,s.C)({fleetId:e,deliveryId:i.deliveryId}))})):o.open(i)}},i.deliveryId)})})}],48680)},55070,e=>{var t=e.i(43476);let i={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},n={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:r,variant:a="secondary",size:s="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${n[s]} ${i[a]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),r]}):d})},"o",0,n])},19015,e=>{var t=e.i(43476),i=e.i(70812),n=e.i(71136),r=e.i(96315),a=e.i(49287),s=e.i(28623),d=e.i(12497),o=e.i(91604),l=e.i(63132),c=e.i(779);let u={bridge:{icon:a.f,name:"Bridge"},slack:{icon:n.f,name:"Slack"},chat:{icon:s.f,name:"a chat"},"web-push":{icon:i.f,name:"web push"},email:{icon:r.f,name:"email"}};function m(){return(0,t.jsx)("span",{"aria-hidden":"true",className:"text-border",children:"·"})}function f({places:e}){var i;let n,r=["bridge",...e].map(e=>u[e]);return(0,t.jsx)("span",{role:"img","aria-label":`Shows in ${(n=(i=r.map(({name:e})=>e)).at(-1)??"",i.length<2?n:`${i.slice(0,-1).join(", ")} and ${n}`)}`,className:"inline-flex items-center gap-0.5",children:r.map(({icon:e,name:i})=>(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3"},i))})}let g="overflow-hidden motion-safe:animate-row-leave";e.s(["V",0,function({item:e,now:i,isNew:n,isOpen:r=!1,staleKind:a,isLeaving:s=!1,outcome:u,failure:p,onOpen:h,time:v,detail:b,actions:x}){var y;let w=e.isAlert??!1,j=(0,o.P)({job:e.job,isAlert:w}),k=j.icon,S="min-w-0 break-words text-left text-body-touch font-medium sm:truncate sm:text-body",I=void 0===a?e.title:(0,t.jsx)("s",{className:"decoration-muted-foreground",children:e.title});return(0,t.jsxs)("li",{"data-testid":"bridge-item","data-stale":void 0!==a,"data-leaving":s||void 0,"aria-current":!!r||void 0,className:`grid min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border px-3 py-2.5 first:border-t-0 ${function({isOpen:e,isStale:t}){return e?"bg-highlight shadow-[inset_2px_0_0_var(--primary)]":t?"bg-muted":""}({isOpen:r,isStale:void 0!==a})} ${s?g:""}`,children:[(0,t.jsx)(k,{"aria-hidden":"true",className:`mt-0.5 size-4 ${j.tone}`}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-baseline sm:items-center",children:[n?(0,t.jsx)("span",{"aria-label":"New",className:"mr-1.5 size-[7px] shrink-0 -translate-y-px rounded-full bg-primary"}):null,void 0===h?(0,t.jsx)("span",{"data-testid":"bridge-item-title",className:S,children:I}):(0,t.jsx)("button",{type:"button","data-testid":"bridge-item-title",onClick:h,className:`${S} hover:underline`,children:I})]}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)("span",{className:`font-medium ${j.tone}`,children:(0,d.z)({job:e.job,isAlert:w})}),(0,t.jsx)(m,{}),(0,t.jsx)("span",{children:e.from}),void 0===u?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)("span",{"data-testid":"bridge-outcome",className:"inline-flex items-center gap-1.5",children:[void 0===a?null:(0,t.jsx)(c.f,{kind:a}),u]})]}),void 0===e.places?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{}),(0,t.jsx)(f,{places:e.places})]})]})]}),(0,t.jsx)("time",{dateTime:v?.at??e.sentAt,title:(y=v?.at??e.sentAt,`${new Date(y).toISOString().slice(0,16).replace("T"," ")} UTC`),className:"whitespace-nowrap text-right text-caption text-muted-foreground",children:v?.said??(0,d.V)(e.sentAt,i)}),void 0===b?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:b}),null==x?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:x}),void 0===p?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(l.f,{message:p,isFailure:!0})})]})},"U",0,g])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:i}){return i?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",i={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,i,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),i=e.i(71645),n=e.i(95187);let r=(0,n.createServerReference)("40ab6bd38f893b947ce7425fb23bd3633b32ea7611",n.callServer,void 0,n.findSourceMapURL,"setTheme"),a=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:n,theme:s,entries:d=[]}){let[o,l]=(0,i.useState)(s),[c,u]=(0,i.useState)(!1),m=(0,i.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:n,theme:o,themes:a,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),r(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{u(!0),m.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:m,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,i){let[n="",r=""]=e.split("?"),a=new URLSearchParams(r);return a.set(t,i),`${n}?${a.toString()}`}])}],18566,(e,t,i)=>{t.exports=e.r(76562)}]);
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[69288,73459,15338,86844,12210,67410,46208,e=>{e.s(["f",0,function(e,t){e.replaceState(null,"",t)}],69288),e.s(["f",0,function(e){let t=new URLSearchParams({fleet:e.fleetId,...void 0===e.cursor?{}:{cursor:e.cursor}});return`/meetings/${encodeURIComponent(e.meetingId)}?${t.toString()}`}],73459);var t=e.i(95187);let i=(0,t.createServerReference)("40db7d83ab9618e36e567bcf66243a9a52614c933c",t.callServer,void 0,t.findSourceMapURL,"answerDelivery");e.s(["f",0,i],15338);let n=(0,t.createServerReference)("40d1b5efb67059d5ee812d8865798359fb723fb4e4",t.callServer,void 0,t.findSourceMapURL,"doneDelivery");e.s(["f",0,n],86844);let r=(0,t.createServerReference)("602390e5d7f0d17092beab792cafdd485bfb28d868",t.callServer,void 0,t.findSourceMapURL,"openDelivery");e.s(["f",0,r],12210);let a=(0,t.createServerReference)("405f92098d95e14188d3c2e2058e1b73d6468d725b",t.callServer,void 0,t.findSourceMapURL,"putInBasket");e.s(["f",0,a],67410);let s=(0,t.createServerReference)("40d6d035364bed586c26cd7d80196b6f40cc3ed5af",t.callServer,void 0,t.findSourceMapURL,"putPickInBasket");e.s(["f",0,s],46208)},70812,71136,96315,28623,e=>{var t=e.i(56420);let i={name:"bell",size:24,node:[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]};i.node;let n=(0,t.f)(i);e.s(["f",0,n],70812);let r={name:"hash",size:24,node:[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]};r.node;let a=(0,t.f)(r);e.s(["f",0,a],71136);let s={name:"mail",size:24,node:[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]};s.node;let d=(0,t.f)(s);e.s(["f",0,d],96315);let o={name:"sparkles",size:24,node:[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};o.node;let l=(0,t.f)(o);e.s(["f",0,l],28623)},51481,59381,e=>{var t=e.i(75043);e.s(["f",()=>t.f],51481);var i=e.i(56420);let n={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]};n.node;let r=(0,i.f)(n);e.s(["f",0,r],59381)},66595,e=>{var t=e.i(56420);let i={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};i.node;let n=(0,t.f)(i);e.s(["f",0,n],66595)},95187,(e,t,i)=>{Object.defineProperty(i,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let a=e.r(32120),s=e.r(92245),d=e.r(35326)},42648,e=>{var t=e.i(95187);let i=(0,t.createServerReference)("60805144861012c3c1c5af3c3730c5ad189ec00cb2",t.callServer,void 0,t.findSourceMapURL,"removeFromBasket");e.s(["f",0,i])},28287,e=>{var t=e.i(18566),i=e.i(71645);let n={standing:new Set,staleSince:new Map};e.s(["f",0,function(e){let r=(0,t.useRouter)(),[a,s]=(0,i.useState)(n),[d,o]=(0,i.useState)(()=>Date.now()),l=e.map(({deliveryId:e,isStale:t})=>`${e}${t?"!":""}`).join(" ");return(0,i.useEffect)(()=>{let e=Date.now();s(t=>(function(e,t){let{items:i,atMs:n}=t,r=new Set(e.standing),a=new Map(e.staleSince);for(let{deliveryId:e,isStale:t}of i)t?r.has(e)&&!a.has(e)&&a.set(e,n):r.add(e);return{standing:r,staleSince:a}})(t,{items:""===l?[]:l.split(" ").map(e=>({deliveryId:e.replace("!",""),isStale:e.endsWith("!")})),atMs:e})),o(e)},[l]),(0,i.useEffect)(()=>{let e,t=0===(e=[...a.staleSince.values()].flatMap(e=>[e+5e3-300,e+5e3]).filter(e=>e>d)).length?void 0:Math.min(...e);if(void 0===t)return;let i=setTimeout(()=>{o(Date.now()),[...a.staleSince.values()].some(e=>e+5e3===t)&&r.refresh()},t-Date.now());return()=>{clearTimeout(i)}},[a,d,r]),e=>(function(e,t){let{item:i,atMs:n}=t;if(!i.isStale)return"shown";let r=e.staleSince.get(i.deliveryId);if(void 0===r)return e.standing.has(i.deliveryId)?"shown":"gone";let a=n-r;return a>=5e3?"gone":a>=4700?"leaving":"shown"})(a,{item:e,atMs:d})}],28287)},31785,e=>{let t={decide:{name:"Decide",holds:"Questions from your ships",item:"question",items:"questions"},do:{name:"Do what only you can",holds:"Steps: sign in, create, approve",item:"step",items:"steps"},"stay-aware":{name:"Stay aware",holds:"Alerts and notices",item:"alert or notice",items:"alerts and notices"},"everything-else":{name:"Everything else",holds:"Replies and other messages",item:"message",items:"messages"}},i={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},n=["decide","do"],r="Bridge keeps every item.",a={label:"Not offered",isOk:!1},s={label:"Off",isOk:!1},d="Says only that something waits, with a link here.",o=`${d} Nothing is on until you turn it on.`,l="through the gateway. Lists what waits when you ask it.",c={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};e.s(["I",0,t,"k",0,i,"N",0,["slack","chat","web-push","email"],"g",0,function(e){return 0===e.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${l}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(e)}, ${l}`,action:"none"}},"t",0,function({isOffered:e,isOnForAnyJob:t}){return e?t?{state:{label:"On",isOk:!0},description:d,action:"turnOff"}:{state:s,description:o,action:"turnOn"}:{state:a,description:"This gateway sends no email.",action:"none"}},"T",0,function(e,t){return e.jobs.filter(({job:e,places:i})=>i.email!==t&&(!t||n.includes(e))).map(({job:e})=>({job:e,place:"email",isOn:t}))},"r",0,function(e){let t=["Bridge",...e.map(e=>c[e])],i=t.at(-1),n=1===t.length?"Bridge":`${t.slice(0,-1).join(", ")} and ${String(i)}`;return`Shows in ${n}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(e){if(null===e)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:t,link:i}=e;return null===i?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${t} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${i.slackName} in ${t}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(e){let{job:n,place:a,isOn:s,waiting:d,isChatOn:o}=e,{name:l,item:c,items:u}=t[n],m=`${i[a]} is ${s?"on":"off"} for ${l}`;return s?"chat"===a?{title:m,detail:`A chat lists every ${c} not done when you ask it.`}:{title:m,detail:`${i[a]} shows ${u} that arrive from now on.${void 0===d||0===d?"":` The ${String(d)} already waiting ${1===d?"stays":"stay"} ${o?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:m,detail:"everything-else"===n&&"slack"===a?`Bots only: a bot ship's messages and replies to Slack still show there. ${r}`:r}},"B",0,function(e){if(!e.isOffered)return{state:a,description:"This gateway sends no web push.",action:"none"};if(!e.isTaken)return{state:s,description:"This browser takes no web push.",action:"none"};let t=e.browsers.find(({endpoint:t,isGone:i})=>t===e.ownEndpoint&&!i);return void 0===t?{state:s,description:o,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${t.browser}. ${d}`,action:"remove"}}])},85989,e=>{var t=e.i(43476),i=e.i(70812),n=e.i(56420);let r={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};r.node;let a=(0,n.f)(r);var s=e.i(68590),d=e.i(47130),o=e.i(28287),l=e.i(65894),c=e.i(57228),u=e.i(29247),m=e.i(12497),f=e.i(17904),g=e.i(99200),p=e.i(55070),h=e.i(19015),v=e.i(82022);function b({href:e,isOutside:i,children:n,...r}){return(0,t.jsxs)("a",{...r,href:e,...i?{target:"_blank",rel:"noopener noreferrer"}:{},className:`inline-flex items-center rounded-md border border-border bg-card text-card-foreground hover:bg-accent ${p.o.row}`,children:[(0,t.jsx)(v.f,{"aria-hidden":"true",className:"size-3.5"}),n]})}var x=e.i(3523),y=e.i(48680),w=e.i(29039);function j(e){let{stale:t,inBasket:i}=e;return null===t&&null!==i?null===i.option?"In the basket: the note alone":`In the basket: option ${String(i.option)}`:null===t?"seen"===e.state?(0,m.M)(e.seenIn):void 0:(0,u.f)(t,{from:e.from})}function k({item:e,opening:i}){let n=e.stale?.replacementId??null;return null===n?null:(0,t.jsx)(p.i,{"data-testid":"bridge-replacement",size:"row",isPending:i.openingId===n,pendingLabel:"Opening...",disabled:void 0!==i.openingId,onClick:()=>{i.open({deliveryId:n,job:e.job})},children:"do"===e.job?"Open the new step":"Open the new question"})}function S({item:e,opening:i}){return(0,t.jsx)(p.i,{"data-testid":"bridge-open",size:"row",isPending:i.openingId===e.deliveryId,pendingLabel:"Opening...",disabled:void 0!==i.openingId,onClick:()=>{i.open(e)},children:"Open"})}function I({item:e,opening:i}){let n=e.actInPlace;return n?.kind==="ownStep"?(0,t.jsx)(b,{"data-testid":"bridge-own-step",href:n.href,isOutside:!1,children:n.label}):(0,t.jsxs)(t.Fragment,{children:[n?.kind==="putPick"?(0,t.jsxs)(p.i,{"data-testid":"bridge-put-pick",variant:"primary",size:"row",isPending:i.puttingId===e.deliveryId,pendingLabel:"Putting...",disabled:void 0!==i.openingId||void 0!==i.puttingId,onClick:()=>{i.putPick(e,n.option)},children:[(0,t.jsx)(d.f,{"aria-hidden":"true",className:"size-3.5"}),"Put option ",n.option," in the basket"]}):null,n?.kind==="openLink"?(0,t.jsxs)(b,{"data-testid":"bridge-step-link",href:n.href,isOutside:!0,children:["Open ",n.host]}):null,(0,t.jsx)(k,{item:e,opening:i}),(0,t.jsx)(S,{item:e,opening:i})]})}function N(e,t){return void 0===t.openingId?()=>{t.open(e)}:void 0}function O({items:e,readAt:i,opening:n,leaving:r}){let a=void 0!==n.opened;return(0,t.jsx)("ul",{className:a?"border-t border-border":"overflow-hidden rounded-lg border border-border bg-card",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:i,isNew:"new"===e.state,isOpen:n.opened?.deliveryId===e.deliveryId,staleKind:e.stale?.kind,isLeaving:r.has(e.deliveryId),outcome:j(e),failure:n.failure?.deliveryId===e.deliveryId?n.failure.message:void 0,onOpen:N(e,n),actions:a?void 0:(0,t.jsx)(I,{item:e,opening:n})},e.deliveryId))})}function $({items:e,readAt:i,opening:n}){return(0,t.jsx)("ul",{className:void 0===n.opened?"overflow-hidden rounded-lg border border-border bg-card":"border-t border-border",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:i,isNew:"new"===e.state,isOpen:n.opened?.deliveryId===e.deliveryId,outcome:void 0,failure:n.failure?.deliveryId===e.deliveryId?n.failure.message:void 0,onOpen:N(e,n)},e.deliveryId))})}function R({home:e,readAt:i,opening:n,leaving:r}){let{waiting:a,stayAware:s}=e;return"stay-aware"===n.opened.job?(0,t.jsxs)("section",{"aria-labelledby":"bridge-stay-aware-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 px-3 py-2.5",children:[(0,t.jsx)("h2",{id:"bridge-stay-aware-heading",className:"font-semibold",children:"Stay aware"}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[s.filter(({state:e})=>"new"===e).length," unseen"]})]}),(0,t.jsx)($,{items:s,readAt:i,opening:n})]}):(0,t.jsxs)("section",{"aria-labelledby":"bridge-waiting-heading",children:[(0,t.jsxs)("h1",{id:"bridge-waiting-heading",className:"px-3 py-2.5 font-semibold",children:["Waiting on you ",(0,t.jsx)("span",{"data-testid":"bridge-count",className:"text-tone-waiting-fg",children:a.count})]}),(0,t.jsx)(O,{items:a.items,readAt:i,opening:n,leaving:r})]})}function M({fleetId:e,home:n,now:r,opening:d,argo:o,leaving:u=new Set}){let{waiting:m,stayAware:f,messages:p}=n,h=new Date(r),{opened:v}=d;if(void 0!==v)return(0,t.jsx)(R,{home:n,readAt:h,opening:{...d,opened:v},leaving:u});let b=p.filter(({state:e})=>"new"===e).length;return(0,t.jsxs)("div",{className:"grid gap-8",children:[(0,t.jsx)("section",{className:"grid gap-3","aria-labelledby":"bridge-waiting-heading",children:0===m.items.length?(0,t.jsxs)("div",{"data-testid":"bridge-nothing-waits",className:"grid justify-items-center gap-1 rounded-lg border border-border bg-card p-6 text-center",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Nothing waits on you"}),(0,t.jsx)("span",{className:"text-muted-foreground",children:"Your ships have what they need from you. A question or a step shows here the moment one arrives."})]}):(0,t.jsx)(O,{items:m.items,readAt:h,opening:d,leaving:u})}),0===p.length?null:(0,t.jsxs)("section",{className:"grid gap-3","aria-labelledby":"bridge-messages-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,t.jsxs)("h2",{id:"bridge-messages-heading",className:"inline-flex items-center gap-2 text-section font-semibold",children:[(0,t.jsx)(s.f,{"aria-hidden":"true",className:"size-4 shrink-0"}),"Messages"]}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:(0,g.v)(b)})]}),(0,t.jsx)(y.f,{fleetId:e,messages:p.slice(0,g.d),readAt:h,opening:d,isOpenedOnPage:!0}),p.length>g.d?(0,t.jsxs)("a",{"data-testid":"bridge-all-messages",href:(0,l.i)(c.i,e),className:"flex h-9 items-center justify-center gap-1.5 rounded-lg border border-border bg-card font-medium text-primary hover:bg-accent",children:[(0,g.w)(p.length),(0,t.jsx)(a,{"aria-hidden":"true",className:"size-4"})]}):null]}),o,(0,t.jsxs)("section",{className:"grid gap-3","aria-labelledby":"bridge-stay-aware-heading",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3",children:[(0,t.jsxs)("h2",{id:"bridge-stay-aware-heading",className:"inline-flex items-center gap-2 text-section font-semibold",children:[(0,t.jsx)(i.f,{"aria-hidden":"true",className:"size-4 shrink-0"}),"Stay aware"]}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[f.filter(({state:e})=>"new"===e).length," unseen, outside the count"]})]}),0===f.length?(0,t.jsx)("p",{"data-testid":"bridge-nothing-new",className:"rounded-md border border-border bg-card p-3 text-muted-foreground",children:"Nothing new. What you saw is in Done."}):(0,t.jsx)($,{items:f,readAt:h,opening:d})]})]})}function z({items:e,lastReadAt:i}){let n=new Date(i);return(0,t.jsxs)("section",{className:"grid gap-3","aria-label":"Waiting on you, as last read",children:[0===e.length?null:(0,t.jsx)("ul",{inert:!0,className:"overflow-hidden rounded-lg border border-border bg-card opacity-60",children:e.map(e=>(0,t.jsx)(h.V,{item:e,now:n,isNew:"new"===e.state,isOpen:!1,staleKind:e.stale?.kind,outcome:j(e),failure:void 0,onOpen:void 0},e.deliveryId))}),(0,t.jsx)("p",{className:"text-caption text-muted-foreground",children:`Shown as last read, at ${(0,f.C)(i)}.`})]})}function L({deliveryId:e,stale:t}){return{deliveryId:e,isStale:null!==t}}e.s(["HomePanel",0,function({fleetId:e,home:i,now:n,decidePlaces:r,argo:a}){let s=(0,w.useLastReadAt)(),d=(0,o.f)(i.waiting.items.map(L));if(void 0!==s)return(0,t.jsx)(z,{items:i.waiting.items,lastReadAt:s});let l=i.waiting.items.filter(e=>"gone"!==d(L(e))),c=new Set(l.filter(e=>"leaving"===d(L(e))).map(({deliveryId:e})=>e)),u={...i,waiting:{...i.waiting,items:l}};return(0,t.jsx)(x.f,{fleetId:e,decidePlaces:r,known:[...l,...i.stayAware],children:i=>(0,t.jsx)(M,{fleetId:e,home:u,now:n,opening:i,argo:a,leaving:c})})},"StayAwareRows",0,$],85989)},3523,e=>{var t=e.i(43476),i=e.i(58487),n=e.i(5654),r=e.i(71645),a=e.i(69288),s=e.i(73459),d=e.i(65894),o=e.i(15338),l=e.i(86844),c=e.i(12210),u=e.i(67410),m=e.i(46208),f=e.i(42648),g=e.i(57228),p=e.i(29247),h=e.i(20347),v=e.i(34244),b=e.i(43328),x=e.i(27538),y=e.i(77826),w=e.i(80734),j=e.i(60296),k=e.i(66734),S=e.i(47130);function I(){let{toasts:e}=n.f.useToastManager();return(0,t.jsx)(b.f.Portal,{children:(0,t.jsx)(x.f.Viewport,{className:"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid",children:e.map(e=>(0,t.jsxs)(y.f.Root,{toast:e,"data-testid":"bridge-basket-toast",className:"flex items-start gap-3 rounded-lg border border-border bg-popover p-4 text-popover-foreground shadow-lg",children:[(0,t.jsx)(S.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0"}),(0,t.jsxs)(w.f.Content,{className:"grid flex-1 gap-1",children:[(0,t.jsx)(j.f.Title,{className:"font-medium"}),(0,t.jsx)(k.f.Description,{className:"text-caption text-muted-foreground"})]})]},e.id))})})}var N=e.i(54235),O=e.i(62579),$=e.i(63132),R=e.i(75103),M=e.i(52021);function z({fleetId:e,decidePlaces:i,consoleUrl:b,known:x,children:y}){let w=n.f.useToastManager(),j=(0,R.P)(),[k,S]=(0,r.useState)(),[I,L]=(0,r.useState)(""),[A,P]=(0,r.useState)(),[T,D]=(0,r.useState)(),[U,B]=(0,r.useState)(),[C,q]=(0,r.useState)(),[E,F]=(0,r.useState)(),[V,_]=(0,r.useState)(),[,H]=(0,r.useTransition)(),[W,Y]=(0,r.useState)(0);(0,M.R)(void 0===k?void 0:(0,v.u)(k.opened.job),()=>{S(void 0)});let K=t=>{P(t.deliveryId),q(void 0),_(void 0),H(async()=>{let i=await (0,c.f)(e,t.deliveryId);if(P(void 0),i.isOk){let e=t.inBasket??null;S({delivery:i.value,opened:{job:t.job,isAlert:t.isAlert??!1,wasNew:"seen"!==t.state},inBasket:e,finished:null}),L(e?.note??""),F(void 0)}else q({deliveryId:t.deliveryId,message:i.message})})},Q=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(Q.current)return;Q.current=!0;let e=(0,h.L)(window.location.href,x);"open"===e.kind?K(e.item):"gone"===e.kind&&((0,a.f)(window.history,(0,h.v)(window.location.href,void 0)),_("That item is no longer in your inbox."))});let G=k?.delivery.deliveryId,J=x.find(({deliveryId:e})=>e===G)?.stale??null;(0,r.useEffect)(()=>{null!==J&&void 0!==G&&S(e=>void 0===e?e:{...e,delivery:(0,p.B)(e.delivery,[{deliveryId:G,stale:J}])})},[J,G]);let X=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!X.current){X.current=!0;return}(0,a.f)(window.history,(0,h.v)(window.location.href,G))},[G]);let Z=({control:e,action:t,onSettled:i})=>{B(e),F(void 0),H(async()=>{let e=await t();B(void 0),e.isOk?i(e.value):F(e.message)})},ee=e=>()=>{S(void 0),_(e)},et=void 0===k?void 0:{deliveryId:k.delivery.deliveryId,job:k.opened.job};return(0,t.jsx)(O.f,{list:(0,t.jsxs)("div",{className:"grid gap-4",children:[void 0===V?null:(0,t.jsx)($.f,{message:V,isFailure:!1}),y({open:K,openingId:A,putPick:(t,i)=>{D(t.deliveryId),q(void 0),_(void 0),H(async()=>{let n=await (0,m.f)({fleet:e,deliveryId:t.deliveryId,option:i});D(void 0),n.isOk?(_(`Option ${String(i)} is in the basket, not sent: ${t.from} receives it when you send the basket.`),Y(e=>e+1)):q({deliveryId:t.deliveryId,message:n.message})})},puttingId:T,failure:C,opened:et})]},W),item:void 0===k?void 0:(({delivery:n,inBasket:r,opened:a,finished:c})=>{let m=n.question?.id;return(0,t.jsx)(N.u,{delivery:n,opened:a,meetingHref:void 0===n.meetingId?void 0:(0,s.f)({fleetId:e,meetingId:n.meetingId}),consoleUrl:b,basketHref:(0,d.i)(g.H,e),inBasket:r,finished:c,places:i,note:I,working:U,failure:E,onNoteChange:L,onAnswer:t=>{Z({control:void 0===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,o.f)({fleet:e,deliveryId:n.deliveryId,input:{questionId:n.question?.id,option:t,note:I}}),onSettled:ee(`Your answer went to ${n.from}.`)})},onPut:t=>{Z({control:null===t?{kind:"note"}:{kind:"option",option:t},action:()=>(0,u.f)({fleet:e,deliveryId:n.deliveryId,option:t,optionLabel:n.question?.options.find(({key:e})=>e===t)?.label??null,note:I}),onSettled:e=>{var t;S({delivery:n,opened:a,finished:c,inBasket:e}),w.add({title:null===(t=e.option)?"Your note alone in the basket":`Option ${String(t)} in the basket`,description:"Not sent. Still waiting on you until you send it."})}})},onSend:t=>{Z({control:{kind:"send"},action:()=>(0,o.f)({fleet:e,deliveryId:n.deliveryId,input:{questionId:m,option:t??void 0,note:I}}),onSettled:ee(`Your answer went to ${n.from}.`)})},onRemove:()=>{void 0!==m&&Z({control:{kind:"remove"},action:()=>(0,f.f)(e,m),onSettled:ee(`Your answer to “${n.title}” is out of the basket; the question still waits on you.`)})},onDone:()=>{Z({control:{kind:"done"},action:()=>(0,l.f)({fleet:e,deliveryId:n.deliveryId}),onSettled:ee(`Done with “${n.title}”.`)})},onFinishStep:t=>{Z({control:{kind:t},action:()=>(0,l.f)({fleet:e,deliveryId:n.deliveryId,step:{outcome:t,note:I}}),onSettled:()=>{S({delivery:n,inBasket:r,opened:a,finished:{outcome:t,note:I.trim(),at:new Date().toISOString()}})}})},onOpen:e=>{K({deliveryId:e,job:a.job})},onSendMessage:void 0===n.alertShip||void 0===j?void 0:e=>{j({alertShip:e})},onBack:()=>{S(void 0)}},n.deliveryId)})(k)})}e.s(["f",0,function({fleetId:e,decidePlaces:n,consoleUrl:r,known:a,children:s}){return(0,t.jsxs)(i.f.Provider,{children:[(0,t.jsx)(z,{fleetId:e,decidePlaces:n,consoleUrl:r,known:a,children:s}),(0,t.jsx)(I,{})]})}],3523)},48680,e=>{var t=e.i(43476),i=e.i(18566),n=e.i(71645),r=e.i(95187);let a=(0,r.createServerReference)("40ad18ec34752337ffe6053724250396ebd972f1f0",r.callServer,void 0,r.findSourceMapURL,"doneMessage");var s=e.i(99200),d=e.i(89664),o=e.i(22768),l=e.i(12497),c=e.i(55070),u=e.i(19015);function m({message:e,now:i,isOpen:n,isMarkingDone:r,isOpening:a,isBusy:f,failure:g,onDone:p,onOpen:h}){let v=void 0===p,b=v?"":(0,s.R)(e.excerpt);return(0,t.jsx)(u.V,{item:{...e,title:(0,s.R)(e.title)},now:i,isNew:"new"===e.state,isOpen:n,outcome:function({message:e,isOpen:t}){return t?"Seen":"seen"===e.state?(0,l.M)(e.seenIn):void 0}({message:e,isOpen:n}),failure:void 0,onOpen:f?void 0:h,detail:""===b?void 0:(0,t.jsx)("p",{className:"line-clamp-2 max-w-[560px] break-words text-meta text-muted-foreground",children:b}),actions:v?void 0:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(c.i,{"data-testid":"bridge-message-done",size:"row",isPending:r,pendingLabel:"Marking done...",disabled:f,onClick:p,children:[(0,t.jsx)(d.f,{"aria-hidden":"true",className:"size-3.5"}),"Done"]}),(0,t.jsx)(c.i,{"data-testid":"bridge-message-open",size:"row",isPending:a,pendingLabel:"Opening...",disabled:f,onClick:h,children:"Open"}),void 0===g?null:(0,t.jsxs)("p",{role:"alert","data-testid":"bridge-message-failure",className:"flex basis-full items-center gap-1.5 text-meta text-destructive-text",children:[(0,t.jsx)(o.f,{"aria-hidden":"true",className:"size-3.5 shrink-0"}),g]})]})})}e.s(["f",0,function({fleetId:e,messages:r,readAt:d,opening:o,isOpenedOnPage:l=!1}){let c=(0,i.useRouter)(),[u,f]=(0,n.useState)(),[g,p]=(0,n.useState)(),[h,v]=(0,n.useState)(new Set),[b,x]=(0,n.useState)(),[,y]=(0,n.useTransition)(),w=void 0!==o.opened,j=g??o.openingId,k=void 0!==u||void 0!==j;return(0,t.jsx)("ul",{className:w?"border-t border-border":"overflow-hidden rounded-lg border border-border bg-card",children:r.filter(({deliveryId:e})=>!h.has(e)).map(i=>{var n;return(0,t.jsx)(m,{message:i,now:d,isOpen:o.opened?.deliveryId===i.deliveryId,isMarkingDone:u===i.deliveryId,isOpening:j===i.deliveryId,isBusy:k,failure:(n=i.deliveryId,b?.deliveryId===n?b.message:o.failure?.deliveryId===n?o.failure.message:void 0),onDone:w?void 0:()=>{f(i.deliveryId),x(void 0),y(async()=>{let t=await a({fleet:e,deliveryId:i.deliveryId,isNew:"new"===i.state});f(void 0),t.isOk?v(e=>new Set([...e,i.deliveryId])):x({deliveryId:i.deliveryId,message:(0,s.z)(void 0===t.code?void 0:t.message)})})},onOpen:()=>{l?(p(i.deliveryId),y(()=>{c.push((0,s.C)({fleetId:e,deliveryId:i.deliveryId}))})):o.open(i)}},i.deliveryId)})})}],48680)},55070,e=>{var t=e.i(43476);let i={primary:"bg-primary text-primary-foreground hover:bg-primary-hover",secondary:"border border-border bg-card text-card-foreground hover:bg-accent",ghost:"text-foreground hover:bg-accent"},n={regular:"h-9 gap-2 px-4",row:"h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta",small:"h-8 gap-2 px-3 text-meta",xs:"h-7 gap-1.5 px-2.5 text-caption font-medium"};e.s(["i",0,function({isPending:e,pendingLabel:r,variant:a="secondary",size:s="regular",children:d,className:o="",disabled:l,...c}){return(0,t.jsx)("button",{...c,disabled:!0===l||e,"aria-busy":e,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${n[s]} ${i[a]} ${o}`,children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),r]}):d})},"o",0,n])},19015,e=>{var t=e.i(43476),i=e.i(70812),n=e.i(71136),r=e.i(96315),a=e.i(49287),s=e.i(28623),d=e.i(12497),o=e.i(91604),l=e.i(63132),c=e.i(779);let u={bridge:{icon:a.f,name:"Bridge"},slack:{icon:n.f,name:"Slack"},chat:{icon:s.f,name:"a chat"},"web-push":{icon:i.f,name:"web push"},email:{icon:r.f,name:"email"}};function m(){return(0,t.jsx)("span",{"aria-hidden":"true",className:"text-border",children:"·"})}function f({places:e}){var i;let n,r=["bridge",...e].map(e=>u[e]);return(0,t.jsx)("span",{role:"img","aria-label":`Shows in ${(n=(i=r.map(({name:e})=>e)).at(-1)??"",i.length<2?n:`${i.slice(0,-1).join(", ")} and ${n}`)}`,className:"inline-flex items-center gap-0.5",children:r.map(({icon:e,name:i})=>(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3"},i))})}let g="overflow-hidden motion-safe:animate-row-leave";e.s(["V",0,function({item:e,now:i,isNew:n,isOpen:r=!1,staleKind:a,isLeaving:s=!1,outcome:u,failure:p,onOpen:h,time:v,detail:b,actions:x}){var y;let w=e.isAlert??!1,j=(0,o.P)({job:e.job,isAlert:w}),k=j.icon,S="min-w-0 break-words text-left text-body-touch font-medium sm:truncate sm:text-body",I=void 0===a?e.title:(0,t.jsx)("s",{className:"decoration-muted-foreground",children:e.title});return(0,t.jsxs)("li",{"data-testid":"bridge-item","data-stale":void 0!==a,"data-leaving":s||void 0,"aria-current":!!r||void 0,className:`grid min-w-0 grid-cols-[1rem_minmax(0,1fr)_auto] items-start gap-x-2.5 gap-y-1.5 border-t border-border px-3 py-2.5 first:border-t-0 ${function({isOpen:e,isStale:t}){return e?"bg-highlight shadow-[inset_2px_0_0_var(--primary)]":t?"bg-muted":""}({isOpen:r,isStale:void 0!==a})} ${s?g:""}`,children:[(0,t.jsx)(k,{"aria-hidden":"true",className:`mt-0.5 size-4 ${j.tone}`}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-baseline sm:items-center",children:[n?(0,t.jsx)("span",{"aria-label":"New",className:"mr-1.5 size-[7px] shrink-0 -translate-y-px rounded-full bg-primary"}):null,void 0===h?(0,t.jsx)("span",{"data-testid":"bridge-item-title",className:S,children:I}):(0,t.jsx)("button",{type:"button","data-testid":"bridge-item-title",onClick:h,className:`${S} hover:underline`,children:I})]}),(0,t.jsxs)("span",{className:"flex flex-wrap items-center gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)("span",{className:`font-medium ${j.tone}`,children:(0,d.z)({job:e.job,isAlert:w})}),(0,t.jsx)(m,{}),(0,t.jsx)("span",{children:e.from}),void 0===u?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)("span",{"data-testid":"bridge-outcome",className:"inline-flex items-center gap-1.5",children:[void 0===a?null:(0,t.jsx)(c.f,{kind:a}),u]})]}),void 0===e.places?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m,{}),(0,t.jsx)(f,{places:e.places})]})]})]}),(0,t.jsx)("time",{dateTime:v?.at??e.sentAt,title:(y=v?.at??e.sentAt,`${new Date(y).toISOString().slice(0,16).replace("T"," ")} UTC`),className:"whitespace-nowrap text-right text-caption text-muted-foreground",children:v?.said??(0,d.V)(e.sentAt,i)}),void 0===b?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:b}),null==x?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2 flex flex-wrap items-center gap-1.5",children:x}),void 0===p?null:(0,t.jsx)("div",{className:"col-span-2 col-start-2",children:(0,t.jsx)(l.f,{message:p,isFailure:!0})})]})},"U",0,g])},63132,e=>{var t=e.i(43476);e.s(["f",0,function({message:e,isFailure:i}){return i?(0,t.jsx)("p",{role:"alert","data-testid":"bridge-failure",className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:e}):(0,t.jsx)("p",{role:"status","data-testid":"bridge-success",className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:e})}])},30402,e=>{let t="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",i={primary:`${t} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${t} border border-border bg-card hover:bg-accent`,destructive:`${t} bg-destructive text-destructive-foreground`};e.s(["x",0,i,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","E",0,"rounded-lg border border-border bg-card p-3 text-card-foreground","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1","D",0,"h-9 w-full appearance-none rounded-md border border-input bg-background pr-8 pl-3"])},67914,e=>{var t=e.i(43476),i=e.i(71645),n=e.i(95187);let r=(0,n.createServerReference)("406e70c54d0df55ecef3263e68bd02259fd622902e",n.callServer,void 0,n.findSourceMapURL,"setTheme"),a=["light","dark","system"];e.s(["f",0,function({email:e,accountUrl:n,theme:s,entries:d=[]}){let[o,l]=(0,i.useState)(s),[c,u]=(0,i.useState)(!1),m=(0,i.useRef)(null);return{account:{name:e,signedInAs:"account",accountUrl:n,theme:o,themes:a,hasTheme:!0,onThemeChange:e=>{let t;l(e),document.documentElement.dataset.theme=e,t="dark"===e||"system"===e&&window.matchMedia("(prefers-color-scheme: dark)").matches,document.documentElement.classList.toggle("dark",t),r(e)},shortcuts:[],helpUrl:"https://github.com/ThomasHendrickx/aeolus-fleet",onSignOut:()=>{u(!0),m.current?.requestSubmit()},isSigningOut:c,entries:d},signOutForm:(0,t.jsx)("form",{ref:m,method:"post",action:"/sign-in/end",hidden:!0})}}],67914)},65894,e=>{let t="fleet";e.s(["n",0,t,"i",0,function(e,i){let[n="",r=""]=e.split("?"),a=new URLSearchParams(r);return a.set(t,i),`${n}?${a.toString()}`}])}],18566,(e,t,i)=>{t.exports=e.r(76562)}]);
|