@aeolus-fleet/gateway 0.36.0 → 0.36.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/dist/adapters/fleet/active-ships.d.ts +8 -0
- package/dist/adapters/fleet/active-ships.js +22 -0
- package/dist/adapters/fleet/active-ships.js.map +1 -0
- package/dist/adapters/fleet/every-listed-ship.d.ts +21 -0
- package/dist/adapters/fleet/every-listed-ship.js +28 -0
- package/dist/adapters/fleet/every-listed-ship.js.map +1 -0
- package/dist/adapters/fleet/fleet-ships.d.ts +1 -3
- package/dist/adapters/fleet/fleet-ships.js +5 -22
- package/dist/adapters/fleet/fleet-ships.js.map +1 -1
- package/dist/adapters/fleet/rest-fleet-door.js +40 -6
- package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
- package/dist/adapters/http/party-sign-in-routes.d.ts +7 -0
- package/dist/adapters/http/party-sign-in-routes.js +18 -0
- package/dist/adapters/http/party-sign-in-routes.js.map +1 -1
- package/dist/adapters/http/person-tools.js +3 -2
- package/dist/adapters/http/person-tools.js.map +1 -1
- package/dist/adapters/http/slack-routes.d.ts +2 -0
- package/dist/adapters/http/slack-routes.js +12 -4
- package/dist/adapters/http/slack-routes.js.map +1 -1
- package/dist/adapters/mcp/mcp-servers.d.ts +8 -2
- package/dist/adapters/mcp/mcp-servers.js +8 -4
- package/dist/adapters/mcp/mcp-servers.js.map +1 -1
- package/dist/adapters/prisma/basket-entries.js +4 -2
- package/dist/adapters/prisma/basket-entries.js.map +1 -1
- package/dist/adapters/prisma/connected-chats.d.ts +4 -0
- package/dist/adapters/prisma/connected-chats.js +21 -0
- package/dist/adapters/prisma/connected-chats.js.map +1 -0
- package/dist/adapters/prisma/fleet-forgetter.js +1 -1
- package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +6 -1
- package/dist/adapters/prisma/generated/client.d.ts +6 -1
- package/dist/adapters/prisma/generated/internal/class.d.ts +11 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +95 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +19 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +19 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +19 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/BasketEntry.d.ts +114 -18
- package/dist/adapters/prisma/generated/models/ItemOutcome.d.ts +91 -1
- package/dist/adapters/prisma/generated/models/OpenedDelivery.d.ts +95 -2
- package/dist/adapters/prisma/generated/models/Party.d.ts +32 -1
- package/dist/adapters/prisma/generated/models/SlackLinkStep.d.ts +1005 -0
- package/dist/adapters/prisma/generated/models/SlackLinkStep.js +2 -0
- package/dist/adapters/prisma/generated/models/SlackLinkStep.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +1 -0
- package/dist/adapters/prisma/item-outcomes.d.ts +6 -1
- package/dist/adapters/prisma/item-outcomes.js +19 -3
- package/dist/adapters/prisma/item-outcomes.js.map +1 -1
- package/dist/adapters/prisma/opened-deliveries.js +5 -0
- package/dist/adapters/prisma/opened-deliveries.js.map +1 -1
- package/dist/adapters/prisma/party-store.js +4 -1
- package/dist/adapters/prisma/party-store.js.map +1 -1
- package/dist/adapters/prisma/slack-link-steps.d.ts +8 -0
- package/dist/adapters/prisma/slack-link-steps.js +28 -0
- package/dist/adapters/prisma/slack-link-steps.js.map +1 -0
- package/dist/adapters/prisma/slack-posts.js +4 -3
- package/dist/adapters/prisma/slack-posts.js.map +1 -1
- package/dist/adapters/slack/slack-messages.d.ts +2 -0
- package/dist/adapters/slack/slack-messages.js +124 -18
- package/dist/adapters/slack/slack-messages.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +54 -2
- package/dist/adapters/trpc/router.js +25 -1
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.js +39 -13
- package/dist/app.js.map +1 -1
- package/dist/core/mcp-out/grant-calls.js +1 -1
- package/dist/core/mcp-out/grant-calls.js.map +1 -1
- package/dist/core/mcp-out/hand-call.js +1 -1
- package/dist/core/mcp-out/hand-call.js.map +1 -1
- package/dist/core/mcp-out/keep-server-title.d.ts +13 -0
- package/dist/core/mcp-out/keep-server-title.js +14 -0
- package/dist/core/mcp-out/keep-server-title.js.map +1 -0
- package/dist/core/mcp-out/ports.d.ts +10 -0
- package/dist/core/parties/approve-party.js +1 -1
- package/dist/core/parties/approve-party.js.map +1 -1
- package/dist/core/parties/party.d.ts +2 -0
- package/dist/core/parties/party.js.map +1 -1
- package/dist/core/parties/ports.d.ts +5 -0
- package/dist/core/party-grants/listing-connection.js +2 -2
- package/dist/core/party-grants/listing-connection.js.map +1 -1
- package/dist/core/party-grants/tell-sign-in-needed.d.ts +2 -0
- package/dist/core/party-grants/tell-sign-in-needed.js +16 -4
- package/dist/core/party-grants/tell-sign-in-needed.js.map +1 -1
- package/dist/core/people/act-in-place.d.ts +42 -0
- package/dist/core/people/act-in-place.js +26 -0
- package/dist/core/people/act-in-place.js.map +1 -0
- package/dist/core/people/answer-delivery.js +13 -1
- package/dist/core/people/answer-delivery.js.map +1 -1
- package/dist/core/people/basket.d.ts +32 -10
- package/dist/core/people/basket.js +24 -6
- package/dist/core/people/basket.js.map +1 -1
- package/dist/core/people/count-basket.d.ts +4 -3
- package/dist/core/people/count-basket.js +9 -3
- package/dist/core/people/count-basket.js.map +1 -1
- package/dist/core/people/done-delivery.js +1 -1
- package/dist/core/people/done-delivery.js.map +1 -1
- package/dist/core/people/finish-own-step.js +2 -2
- package/dist/core/people/finish-own-step.js.map +1 -1
- package/dist/core/people/inbox-entry.d.ts +17 -1
- package/dist/core/people/inbox-entry.js +28 -1
- package/dist/core/people/inbox-entry.js.map +1 -1
- package/dist/core/people/item-job.d.ts +3 -1
- package/dist/core/people/item-job.js +5 -1
- package/dist/core/people/item-job.js.map +1 -1
- package/dist/core/people/item-outcome.d.ts +21 -2
- package/dist/core/people/item-outcome.js.map +1 -1
- package/dist/core/people/item-places.d.ts +26 -0
- package/dist/core/people/item-places.js +12 -0
- package/dist/core/people/item-places.js.map +1 -0
- package/dist/core/people/open-delivery.d.ts +6 -6
- package/dist/core/people/open-delivery.js +13 -10
- package/dist/core/people/open-delivery.js.map +1 -1
- package/dist/core/people/opened-of.d.ts +5 -1
- package/dist/core/people/opened-of.js +5 -1
- package/dist/core/people/opened-of.js.map +1 -1
- package/dist/core/people/ports.d.ts +40 -3
- package/dist/core/people/put-in-basket.d.ts +8 -6
- package/dist/core/people/put-in-basket.js +16 -5
- package/dist/core/people/put-in-basket.js.map +1 -1
- package/dist/core/people/read-basket.d.ts +8 -3
- package/dist/core/people/read-basket.js +8 -10
- package/dist/core/people/read-basket.js.map +1 -1
- package/dist/core/people/read-bridge-home.d.ts +39 -11
- package/dist/core/people/read-bridge-home.js +74 -12
- package/dist/core/people/read-bridge-home.js.map +1 -1
- package/dist/core/people/read-chats.d.ts +21 -0
- package/dist/core/people/read-chats.js +20 -0
- package/dist/core/people/read-chats.js.map +1 -0
- package/dist/core/people/read-inbox.d.ts +19 -9
- package/dist/core/people/read-inbox.js +57 -15
- package/dist/core/people/read-inbox.js.map +1 -1
- package/dist/core/people/read-record.d.ts +37 -11
- package/dist/core/people/read-record.js +44 -12
- package/dist/core/people/read-record.js.map +1 -1
- package/dist/core/people/read-send-to.d.ts +23 -0
- package/dist/core/people/read-send-to.js +37 -0
- package/dist/core/people/read-send-to.js.map +1 -0
- package/dist/core/people/read-your-fleet.d.ts +19 -0
- package/dist/core/people/read-your-fleet.js +22 -0
- package/dist/core/people/read-your-fleet.js.map +1 -0
- package/dist/core/people/remove-from-basket.d.ts +2 -1
- package/dist/core/people/remove-from-basket.js +4 -1
- package/dist/core/people/remove-from-basket.js.map +1 -1
- package/dist/core/people/routing.d.ts +13 -4
- package/dist/core/people/routing.js +14 -0
- package/dist/core/people/routing.js.map +1 -1
- package/dist/core/people/send-basket.d.ts +11 -7
- package/dist/core/people/send-basket.js +68 -11
- package/dist/core/people/send-basket.js.map +1 -1
- package/dist/core/people/send-message.d.ts +3 -1
- package/dist/core/people/send-message.js +9 -2
- package/dist/core/people/send-message.js.map +1 -1
- package/dist/core/people/send-stored-answers.d.ts +4 -3
- package/dist/core/people/send-stored-answers.js +62 -12
- package/dist/core/people/send-stored-answers.js.map +1 -1
- package/dist/core/people/stale-item.d.ts +40 -0
- package/dist/core/people/stale-item.js +36 -0
- package/dist/core/people/stale-item.js.map +1 -0
- package/dist/core/people/wake-person.d.ts +3 -1
- package/dist/core/people/wake-person.js +4 -2
- package/dist/core/people/wake-person.js.map +1 -1
- package/dist/core/people/your-fleet.d.ts +44 -0
- package/dist/core/people/your-fleet.js +64 -0
- package/dist/core/people/your-fleet.js.map +1 -0
- package/dist/core/slack/answer-in-slack.d.ts +15 -9
- package/dist/core/slack/answer-in-slack.js +43 -18
- package/dist/core/slack/answer-in-slack.js.map +1 -1
- package/dist/core/slack/ask-to-link-slack.d.ts +28 -0
- package/dist/core/slack/ask-to-link-slack.js +31 -0
- package/dist/core/slack/ask-to-link-slack.js.map +1 -0
- package/dist/core/slack/complete-link.d.ts +6 -1
- package/dist/core/slack/complete-link.js +6 -0
- package/dist/core/slack/complete-link.js.map +1 -1
- package/dist/core/slack/done-in-slack.d.ts +36 -0
- package/dist/core/slack/done-in-slack.js +63 -0
- package/dist/core/slack/done-in-slack.js.map +1 -0
- package/dist/core/slack/edit-slack-posts.d.ts +7 -5
- package/dist/core/slack/edit-slack-posts.js +13 -10
- package/dist/core/slack/edit-slack-posts.js.map +1 -1
- package/dist/core/slack/edited-post-of.d.ts +19 -0
- package/dist/core/slack/edited-post-of.js +77 -0
- package/dist/core/slack/edited-post-of.js.map +1 -0
- package/dist/core/slack/ports.d.ts +68 -10
- package/dist/core/slack/pressed-post-of.d.ts +9 -0
- package/dist/core/slack/pressed-post-of.js +18 -0
- package/dist/core/slack/pressed-post-of.js.map +1 -0
- package/dist/core/slack/read-slack-dropped-out.d.ts +23 -0
- package/dist/core/slack/read-slack-dropped-out.js +24 -0
- package/dist/core/slack/read-slack-dropped-out.js.map +1 -0
- package/dist/core/slack/read-slack-link.d.ts +4 -0
- package/dist/core/slack/read-slack-link.js +5 -0
- package/dist/core/slack/read-slack-link.js.map +1 -1
- package/dist/core/slack/show-in-slack.js +8 -7
- package/dist/core/slack/show-in-slack.js.map +1 -1
- package/dist/core/slack/slack-post-of.d.ts +24 -12
- package/dist/core/slack/slack-post-of.js +118 -37
- package/dist/core/slack/slack-post-of.js.map +1 -1
- package/dist/core/slack/slack-post.d.ts +13 -1
- package/dist/core/slack/slack-post.js +16 -1
- package/dist/core/slack/slack-post.js.map +1 -1
- package/dist/core/slack/slack-press.d.ts +1 -1
- package/dist/core/slack/slack-press.js +2 -1
- package/dist/core/slack/slack-press.js.map +1 -1
- package/dist/person-waiters.js +3 -1
- package/dist/person-waiters.js.map +1 -1
- package/package.json +2 -1
- package/src/adapters/prisma/migrations/20261104090000_basket_entries_note_alone/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261105090000_slack_link_steps/migration.sql +10 -0
- package/src/adapters/prisma/migrations/20261106090000_opened_deliveries_withdrawn_steps/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261107090000_opened_deliveries_step_link/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261107100000_opened_deliveries_opened_in/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261108090000_item_outcomes_note_and_seen/migration.sql +4 -0
- package/src/adapters/prisma/migrations/20261108090000_parties_display_name/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261109090000_basket_entries_option_label/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261109100000_basket_entries_sent/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261110090000_connected_chats_indexes/migration.sql +5 -0
- package/src/adapters/prisma/schema.prisma +41 -6
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +10 -8
- package/web/.next/build-manifest.json +114 -90
- package/web/.next/diagnostics/route-bundle-stats.json +264 -206
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/routes-manifest.json +12 -0
- package/web/.next/server/app/(bridge)/bridge/basket/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/basket/page/build-manifest.json +4 -4
- package/web/.next/server/app/{(console) → (bridge)}/bridge/basket/page/next-font-manifest.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/basket/page/server-reference-manifest.json +105 -0
- package/web/.next/server/app/{(console)/bridge/settings/requests/[requestId] → (bridge)/bridge/basket}/page.js +14 -13
- package/web/.next/server/app/(bridge)/bridge/basket/page.js.nft.json +1 -0
- package/web/.next/server/app/(bridge)/bridge/basket/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/changes/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/changes/route.js +8 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/changes/route.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/changes/route_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/done/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page/build-manifest.json +4 -4
- package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page/next-font-manifest.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page/server-reference-manifest.json +25 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page.js +15 -14
- package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/fleet/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/{(console)/bridge/settings → (bridge)/bridge/fleet}/page/build-manifest.json +4 -4
- package/web/.next/server/app/{(console)/bridge/settings → (bridge)/bridge/fleet}/page/next-font-manifest.json +1 -1
- package/web/.next/server/app/{(console)/bridge/settings → (bridge)/bridge/fleet}/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/fleet/page.js +24 -0
- package/web/.next/server/app/{(console)/bridge/basket → (bridge)/bridge/fleet}/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/fleet/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/focus/route/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/focus/route.js +8 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/focus/route.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/focus/route_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/page/build-manifest.json +4 -4
- package/web/.next/server/app/{(console) → (bridge)}/bridge/page/next-font-manifest.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/page/server-reference-manifest.json +95 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/page.js +16 -14
- package/web/.next/server/app/{(console) → (bridge)}/bridge/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/page/build-manifest.json +23 -0
- package/web/.next/server/app/(bridge)/bridge/settings/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(bridge)/bridge/settings/page/server-reference-manifest.json +15 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/page.js +13 -12
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page/build-manifest.json +23 -0
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/requests/[requestId]/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page.js +26 -0
- package/web/.next/server/app/{(console) → (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 +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/build-manifest.json +23 -0
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/routing/page/server-reference-manifest.json +15 -15
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/routing/page.js +15 -14
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page.js.map +5 -0
- package/web/.next/server/app/{(console) → (bridge)}/bridge/settings/routing/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/build-manifest.json +23 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/server-reference-manifest.json +95 -0
- package/web/.next/server/app/{(console)/bridge/basket → (bridge)/bridge/stay-aware}/page.js +15 -14
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page.js.map +5 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page.js.nft.json +1 -0
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/gateway-off/page/build-manifest.json +4 -4
- 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 +2 -2
- 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/build-manifest.json +4 -4
- 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 +2 -2
- 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)/outside-parties/[name]/change/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/[name]/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/(console)/outside-parties/[name]/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/[name]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page/server-reference-manifest.json +18 -18
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/add/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(console)/outside-parties/add/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/add/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-agent/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/add-a2a-client/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/outside-parties/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/outside-parties/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/outside-parties/page.js +2 -2
- package/web/.next/server/app/(console)/outside-parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/outside-parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/parties/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/(console)/parties/page.js +2 -2
- 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/build-manifest.json +4 -4
- 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 +2 -2
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/slack/disconnect/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(console)/slack/disconnect/page.js +2 -2
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/slack/expose/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(console)/slack/expose/page.js +2 -2
- 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/link/route.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/page/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/slack/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(console)/slack/page.js +2 -2
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/(console)/slack/remove/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(console)/slack/remove/page.js +4 -4
- 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/page/build-manifest.json +4 -4
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error/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/build-manifest.json +4 -4
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js +2 -2
- 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/authorize/failed/page/build-manifest.json +4 -4
- package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/failed/page.js +3 -2
- 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/build-manifest.json +4 -4
- package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/pick/page.js +7 -5
- 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/build-manifest.json +4 -4
- 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 +3 -2
- 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-paths-manifest.json +10 -8
- package/web/.next/server/chunks/0b9d__next-internal_server_app_(bridge)_bridge_changes_route_actions_0wd1c_8tnx6-f.js +3 -0
- package/web/.next/server/chunks/[root-of-the-server]__1j0sdz18lzulo._.js +2 -2
- package/web/.next/server/chunks/[root-of-the-server]__1o2xxi_001xql._.js +2 -2
- package/web/.next/server/chunks/_0up_7s_05-7vm._.js +3 -0
- package/web/.next/server/chunks/_0up_7s_05-7vm._.js.map +1 -0
- package/web/.next/server/chunks/_0xw0b7avhvg75._.js +1 -1
- package/web/.next/server/chunks/_1w2t6c0hpdsrn._.js +1 -1
- package/web/.next/server/chunks/_1xaed_q500ez6._.js +3 -0
- package/web/.next/server/chunks/_1xaed_q500ez6._.js.map +1 -0
- package/web/.next/server/chunks/_20ne4s-e_jzxp._.js +1 -1
- package/web/.next/server/chunks/_20ne4s-e_jzxp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js +3 -0
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js.map +1 -0
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js +3 -0
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js.map +1 -0
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js +3 -0
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js.map +1 -0
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_change_page_actions_04td11fxohsfm.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_page_actions_0u-45itza1ls7.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_[name]_retire_page_actions_0s7ps6i0ts7v5.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add-a2a-client_page_actions_0d_wgiu94c32e.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_outside-parties_add_page_actions_0yfz_dfn-8uo7.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__001xx3sm5ur-e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__1yyaeeylnezpi._.js → [root-of-the-server]__04_bc8g0oe4jt._.js} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a6a1yc_ac-qt._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a8db18tyk__5._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0a8db18tyk__5._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0e4l5gt01o04p._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0e4l5gt01o04p._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0gptrhg3mj4hs._.js +57 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0gptrhg3mj4hs._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k3g0p3t9t0c-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0kjcooo3pi4_k._.js +57 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0kjcooo3pi4_k._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rmg7huc074bf._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rmg7huc074bf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__10s9e8g5x-ws8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13v3maun347sn._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13v3maun347sn._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__13yoncr_nx3jc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0gnfxe62edx95._.js → [root-of-the-server]__179upda-y7uap._.js} +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]__1hgu6f5hpnykv._.js +57 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1hgu6f5hpnykv._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1j6n8jj7-5t6v._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1j6n8jj7-5t6v._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qpow96uit9t8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qtzvez4cn5be._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1qtzvez4cn5be._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ul9rrs2g66lm._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ul9rrs2g66lm._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__20gvfqy33wcds._.js +57 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__20gvfqy33wcds._.js.map +1 -0
- 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/_03lk54yp-yhw3._.js +2 -2
- package/web/.next/server/chunks/ssr/_03lk54yp-yhw3._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0cnpz5jm2_9xf._.js +3 -0
- package/web/.next/server/chunks/ssr/_0cnpz5jm2_9xf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0f7ucdt7bfmun._.js +3 -0
- package/web/.next/server/chunks/ssr/_0f7ucdt7bfmun._.js.map +1 -0
- 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/_0kk7op86em7z2._.js +3 -0
- package/web/.next/server/chunks/ssr/_0kk7op86em7z2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0oekmfmigr0qv._.js +3 -0
- package/web/.next/server/chunks/ssr/_0oekmfmigr0qv._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0pirspvjp3ggl._.js +3 -0
- package/web/.next/server/chunks/ssr/_0pirspvjp3ggl._.js.map +1 -0
- 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/_0v_x6k3ztfvx0._.js +3 -0
- package/web/.next/server/chunks/ssr/_0v_x6k3ztfvx0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0vid8-myyy-_4._.js +3 -0
- package/web/.next/server/chunks/ssr/_0vid8-myyy-_4._.js.map +1 -0
- 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/_0y5eahpucp8g_._.js +3 -0
- package/web/.next/server/chunks/ssr/_0y5eahpucp8g_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_13fbnlwrl24s3._.js +3 -0
- package/web/.next/server/chunks/ssr/_13fbnlwrl24s3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_14k1oldo5chf8._.js +3 -0
- package/web/.next/server/chunks/ssr/_14k1oldo5chf8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_15whg3fd67b9x._.js +3 -0
- package/web/.next/server/chunks/ssr/_15whg3fd67b9x._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_17zzluh48wsdb._.js +3 -0
- package/web/.next/server/chunks/ssr/_17zzluh48wsdb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_18xv7kh7i655_._.js +3 -0
- package/web/.next/server/chunks/ssr/_18xv7kh7i655_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1_wav28san6dm._.js +1 -1
- package/web/.next/server/chunks/ssr/_1_ym4hwge_4r0._.js +3 -0
- package/web/.next/server/chunks/ssr/_1_ym4hwge_4r0._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1a9wrl8uw7x-y._.js +3 -0
- package/web/.next/server/chunks/ssr/_1a9wrl8uw7x-y._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{_1hmjvjuxx92vo._.js → _1airu8wwf7z1b._.js} +2 -2
- package/web/.next/server/chunks/ssr/_1airu8wwf7z1b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1e2o809f0ekry._.js +1 -1
- package/web/.next/server/chunks/ssr/{_0a_nsm-ye2r6v._.js → _1gbkqq8ra1nei._.js} +2 -2
- package/web/.next/server/chunks/ssr/_1gbkqq8ra1nei._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1i5zdy3tp2ykh._.js +3 -0
- package/web/.next/server/chunks/ssr/_1i5zdy3tp2ykh._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1i8ofnr1a5yle._.js +3 -0
- package/web/.next/server/chunks/ssr/_1i8ofnr1a5yle._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1iorutn_o9hja._.js +3 -0
- package/web/.next/server/chunks/ssr/_1iorutn_o9hja._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1kdx8a0j5cxyl._.js +3 -0
- package/web/.next/server/chunks/ssr/_1kdx8a0j5cxyl._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1mg5oon0wpocg._.js +3 -0
- package/web/.next/server/chunks/ssr/_1mg5oon0wpocg._.js.map +1 -0
- 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/_1pp0z5srqqqyl._.js +3 -0
- package/web/.next/server/chunks/ssr/_1pp0z5srqqqyl._.js.map +1 -0
- 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/_1rfpx4ze-3l8z._.js +3 -0
- package/web/.next/server/chunks/ssr/{web_features_0mi9a9pdzkdji._.js.map → _1rfpx4ze-3l8z._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1t74yvog5g6g2._.js +3 -0
- package/web/.next/server/chunks/ssr/_1t74yvog5g6g2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1ve-ao6odintc._.js +3 -0
- package/web/.next/server/chunks/ssr/_1ve-ao6odintc._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1xuikhitica6p._.js +3 -0
- package/web/.next/server/chunks/ssr/_1xuikhitica6p._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1zmd3armaxhyu._.js +4 -0
- package/web/.next/server/chunks/ssr/_1zmd3armaxhyu._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0489ke-80obwd._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0489ke-80obwd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0gpbs01t1c_a4._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0gpbs01t1c_a4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0ue_35q2cegwf._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0ue_35q2cegwf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0zgrzr0ui3gi8._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0zgrzr0ui3gi8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_174jf4d4t_bo_._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_174jf4d4t_bo_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_1qxtjrbc2-6xd._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_1qxtjrbc2-6xd._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_0t_cmi-llaq7g._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_0t_cmi-llaq7g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_app-switcher_08qq5-uxv7jii.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_app-switcher_08qq5-uxv7jii.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_class-names_1h5pbm2ucssiq.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_class-names_1h5pbm2ucssiq.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_0jlwmxa9rk8p_._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_0jlwmxa9rk8p_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_19e_nxxf4a88q._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_19e_nxxf4a88q._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_1cvjxnw-b3pnv._.js +3 -0
- package/web/.next/server/chunks/ssr/{node_modules_@base-ui_react_1lbvjrzg8s2ox._.js.map → node_modules_@base-ui_react_1cvjxnw-b3pnv._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_toast_index_parts_mjs_20gwon7142aop._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_toast_index_parts_mjs_20gwon7142aop._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_bell_mjs_1sxms6d0wfxa2._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_bell_mjs_1sxms6d0wfxa2._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_search_mjs_047mxu6_po4kl._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_search_mjs_047mxu6_po4kl._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_08hq6z46rczo0._.js +2 -2
- package/web/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +2 -2
- package/web/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0g15rgn4n-oiz.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0g15rgn4n-oiz.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hzwtyh-646p2.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0hzwtyh-646p2.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0mm8dt8tws1fz.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0mm8dt8tws1fz.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tcy7phl8a4gj.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0tcy7phl8a4gj.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ynno0usi0bwx.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11x159_oszki3.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_11x159_oszki3.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_128zox167vtjm.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dltrn6ii5dd6.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dltrn6ii5dd6.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hm1iu016c1fy.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1hm1iu016c1fy.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zaoeyy4_vir_.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zaoeyy4_vir_.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0_peudz6-o69m._.js +3 -0
- package/web/.next/server/chunks/ssr/web_0_peudz6-o69m._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0cxcy088wnfmw._.js +3 -0
- package/web/.next/server/chunks/ssr/web_0cxcy088wnfmw._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0oz8bypfxh82g._.js +3 -0
- package/web/.next/server/chunks/ssr/web_0oz8bypfxh82g._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0pk41f5m34jvi._.js +3 -0
- package/web/.next/server/chunks/ssr/web_0pk41f5m34jvi._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0wys4l6za8umr._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_1fi1x3y7rg7mf._.js +3 -0
- package/web/.next/server/chunks/ssr/web_1fi1x3y7rg7mf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_1irsulms62lzf._.js +3 -0
- package/web/.next/server/chunks/ssr/web_1irsulms62lzf._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_1k2rrq-kr6f9k._.js +3 -0
- package/web/.next/server/chunks/ssr/web_1k2rrq-kr6f9k._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_1qvxzqmq4aw94._.js +3 -0
- package/web/.next/server/chunks/ssr/web_1qvxzqmq4aw94._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js +3 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js.map +1 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js +3 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js.map +1 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js +3 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js.map +1 -0
- package/web/.next/server/chunks/ssr/{web_app_(console)_bridge_error_tsx_10gkrn3ey8162._.js → web_app_(bridge)_bridge_error_tsx_0-142o0iqsh3j._.js} +2 -2
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_error_tsx_0-142o0iqsh3j._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_error_tsx_1m86qyp1bl9pi._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_error_tsx_1m86qyp1bl9pi._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_fleet_page_tsx_0uvtx8hiy8g0n._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_fleet_page_tsx_0uvtx8hiy8g0n._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_settings_page_tsx_1z5yr8ss25q7n._.js +3 -0
- package/web/.next/server/chunks/ssr/web_app_(bridge)_bridge_settings_page_tsx_1z5yr8ss25q7n._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{web_features_0f6r-m-dq36vf._.js → web_features_025l9l6m2zkya._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_0f6r-m-dq36vf._.js.map → web_features_025l9l6m2zkya._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_05aos-xwnl3m_._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_05aos-xwnl3m_._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_0bwqcs9wjf4y8._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_0bwqcs9wjf4y8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{web_features_0d48z2epb6oie._.js → web_features_0f2pobf_t4wjt._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_0d48z2epb6oie._.js.map → web_features_0f2pobf_t4wjt._.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_0w95y19yk5w14._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_bridge_0w95y19yk5w14._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_bridge_1mi9qlb-z5iwt._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_1mi9qlb-z5iwt._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_fleet_ui_fleet-numbers_tsx_0_afv4j248_w-._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_bridge_fleet_ui_fleet-numbers_tsx_0_afv4j248_w-._.js.map +1 -0
- 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_hooks_bridge-actions_ts_0h-_xm2rcb-ij._.js.map +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_home-panel_tsx_1cc5zdhxogl_2._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_home-panel_tsx_1cc5zdhxogl_2._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_ui_1y4g3fe75nqn5._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_ui_1y4g3fe75nqn5._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_ui_item-row_tsx_0c_a8wjzwsr7j._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_bridge_ui_item-row_tsx_0c_a8wjzwsr7j._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_frame_0pe8cwpxe1egb._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_frame_0pe8cwpxe1egb._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_frame_ui_gateway-header_tsx_0e9tekx4jf7ng._.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_paths_ts_0vbj9elyqekpp._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_outside-parties_paths_ts_0vbj9elyqekpp._.js.map +1 -0
- 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/chunks/web__next-internal_server_app_(bridge)_bridge_focus_route_actions_0fx2vmqfq23mq.js +3 -0
- package/web/.next/server/middleware-build-manifest.js +114 -90
- package/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/server/next-font-manifest.json +14 -6
- 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 +163 -101
- package/web/.next/static/chunks/{40j58bya72xh1.js → 0k33n07zesv12.js} +1 -1
- package/web/.next/static/chunks/0ozz8jadgfdrx.js +1 -0
- package/web/.next/static/chunks/{1166rxt6h6ilq.js → 1c8q9h-van9r6.js} +1 -1
- package/web/.next/static/chunks/1nzfw6ajt5nf9.js +55 -0
- package/web/.next/static/chunks/1uhmdmkn5gsk2.js +1 -0
- package/web/.next/static/chunks/1v36iovy1f5cj.js +1 -0
- package/web/.next/static/chunks/1vhvy8bx4fxur.js +1 -0
- package/web/.next/static/chunks/1vhx_nu9nxo1v.js +1 -0
- package/web/.next/static/chunks/{3hvw5n04pbwg8.js → 23vvtbj-zoa_f.js} +1 -1
- package/web/.next/static/chunks/24vn5i6ojvl8l.js +1 -0
- package/web/.next/static/chunks/2dgbb29jkr_tu.js +1 -0
- package/web/.next/static/chunks/2ewacyhp73due.js +1 -0
- package/web/.next/static/chunks/2fimf0wcjnmpj.js +1 -0
- package/web/.next/static/chunks/2fk9ydkphmyna.js +1 -0
- package/web/.next/static/chunks/2l6hafvocw-rd.js +1 -0
- package/web/.next/static/chunks/2ld8_nap7g_uy.js +1 -0
- package/web/.next/static/chunks/2mpwg-t6pat39.js +1 -0
- package/web/.next/static/chunks/2pvcbql986wln.js +1 -0
- package/web/.next/static/chunks/2s1efgj6gxjgl.js +1 -0
- package/web/.next/static/chunks/2zlx-c_0x38uo.css +3 -0
- package/web/.next/static/chunks/34u_331hqync_.js +1 -0
- package/web/.next/static/chunks/39tst46ewpx_k.js +1 -0
- package/web/.next/static/chunks/{322fzslly9wpf.js → 3_bb0g4jkqn8q.js} +1 -1
- package/web/.next/static/chunks/3d5z1i-6yksxd.js +1 -0
- package/web/.next/static/chunks/3jq9vu8tr29j2.js +1 -0
- package/web/.next/static/chunks/3kenmp9pjwgf2.js +1 -0
- package/web/.next/static/chunks/3knqujtrdi225.js +1 -0
- package/web/.next/static/chunks/{0lzisjsmhlhjf.js → 3zhaqdsq15d1e.js} +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/types/routes.d.ts +3 -1
- package/web/.next/types/validator.ts +50 -16
- package/dist/core/people/stale-question.d.ts +0 -28
- package/dist/core/people/stale-question.js +0 -26
- package/dist/core/people/stale-question.js.map +0 -1
- package/web/.next/server/app/(console)/bridge/basket/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/basket/page/server-reference-manifest.json +0 -75
- package/web/.next/server/app/(console)/bridge/basket/page_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/changes/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/changes/route.js +0 -8
- package/web/.next/server/app/(console)/bridge/changes/route_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/done/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/done/page/server-reference-manifest.json +0 -75
- package/web/.next/server/app/(console)/bridge/done/page_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/focus/route/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/focus/route.js +0 -8
- package/web/.next/server/app/(console)/bridge/focus/route_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/page/server-reference-manifest.json +0 -65
- package/web/.next/server/app/(console)/bridge/page_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/settings/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/settings/page_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/settings/requests/[requestId]/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/settings/requests/[requestId]/page/build-manifest.json +0 -23
- package/web/.next/server/app/(console)/bridge/settings/requests/[requestId]/page/next-font-manifest.json +0 -11
- package/web/.next/server/app/(console)/bridge/settings/requests/[requestId]/page_client-reference-manifest.js +0 -3
- package/web/.next/server/app/(console)/bridge/settings/routing/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/(console)/bridge/settings/routing/page/build-manifest.json +0 -23
- package/web/.next/server/app/(console)/bridge/settings/routing/page/next-font-manifest.json +0 -11
- package/web/.next/server/app/(console)/bridge/settings/routing/page_client-reference-manifest.js +0 -3
- package/web/.next/server/chunks/0b9d__next-internal_server_app_(console)_bridge_changes_route_actions_0hj8aqohz6bu6.js +0 -3
- package/web/.next/server/chunks/_05qgg3__4kdbm._.js +0 -3
- package/web/.next/server/chunks/_05qgg3__4kdbm._.js.map +0 -1
- package/web/.next/server/chunks/_1uap5tql2vvsb._.js +0 -3
- package/web/.next/server/chunks/_1uap5tql2vvsb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/01fr_app_(console)_bridge_settings_requests_[requestId]_page_actions_1au-p5lgnv5e-.js +0 -3
- package/web/.next/server/chunks/ssr/01fr_app_(console)_bridge_settings_requests_[requestId]_page_actions_1au-p5lgnv5e-.js.map +0 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_bridge_settings_routing_page_actions_136lm_jip4d_x.js +0 -3
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_bridge_settings_routing_page_actions_136lm_jip4d_x.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00jy4lqrcvxvc._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00jy4lqrcvxvc._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k-5_al3xk509._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0k-5_al3xk509._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18v7b5ga58a9n._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18v7b5ga58a9n._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1nxy_j9eswr3i._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1rf344o33bmi4._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1rf344o33bmi4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0a_nsm-ye2r6v._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0h-ua-y4p4u1p._.js +0 -3
- package/web/.next/server/chunks/ssr/_0h-ua-y4p4u1p._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_0swrejvekuzfx._.js +0 -3
- package/web/.next/server/chunks/ssr/_0swrejvekuzfx._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_12fsn_33ga-n0._.js +0 -3
- package/web/.next/server/chunks/ssr/_12fsn_33ga-n0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1hmjvjuxx92vo._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1jx41z6kmxtt0._.js +0 -3
- package/web/.next/server/chunks/ssr/_1jx41z6kmxtt0._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1q2s-hb67yjfb._.js +0 -3
- package/web/.next/server/chunks/ssr/_1q2s-hb67yjfb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1qdpkpsskm5wj._.js +0 -3
- package/web/.next/server/chunks/ssr/_1qdpkpsskm5wj._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1yi3j4a16uet-._.js +0 -3
- package/web/.next/server/chunks/ssr/_1yi3j4a16uet-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_01oyodz1bs245._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_01oyodz1bs245._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_16d4um5s513wz._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_16d4um5s513wz._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_1lbvjrzg8s2ox._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_0hkpfqt9ne626._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_0hkpfqt9ne626._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_031g89sb4kgzn.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_031g89sb4kgzn.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09rviehv6rh0n.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09rviehv6rh0n.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ka8v6_fxug8r.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0ka8v6_fxug8r.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c8zekuy1gkch.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1c8zekuy1gkch.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dhzng2nnu0m7.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1dhzng2nnu0m7.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1rya2ag3z4vug.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1rya2ag3z4vug.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_0i_1uraygw2ld._.js +0 -3
- package/web/.next/server/chunks/ssr/web_0i_1uraygw2ld._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_0wz4onhfbq359._.js +0 -3
- package/web/.next/server/chunks/ssr/web_0wz4onhfbq359._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_1-hlf1xzemd3-._.js +0 -3
- package/web/.next/server/chunks/ssr/web_1-hlf1xzemd3-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_107a79_nx4jdd._.js +0 -3
- package/web/.next/server/chunks/ssr/web_107a79_nx4jdd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_127_b93avkwaq._.js +0 -3
- package/web/.next/server/chunks/ssr/web_127_b93avkwaq._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_basket_page_actions_102xk3g8eko_q.js +0 -3
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_basket_page_actions_102xk3g8eko_q.js.map +0 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_done_page_actions_0mm90xd2feta2.js +0 -3
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_done_page_actions_0mm90xd2feta2.js.map +0 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_page_actions_082880qz6xa5k.js +0 -3
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_bridge_page_actions_082880qz6xa5k.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_bridge_error_tsx_0ty_yk1robyaj._.js +0 -3
- package/web/.next/server/chunks/ssr/web_app_(console)_bridge_error_tsx_0ty_yk1robyaj._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_bridge_error_tsx_10gkrn3ey8162._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_app_(console)_bridge_settings_page_tsx_0xzphp7k9ge1u._.js +0 -3
- package/web/.next/server/chunks/ssr/web_app_(console)_bridge_settings_page_tsx_0xzphp7k9ge1u._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0mi9a9pdzkdji._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0s8erick0xk77._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0s8erick0xk77._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0wuo5bgp5tabn._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0wuo5bgp5tabn._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_1je122n6carea._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1je122n6carea._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_1n1hy3nwha2vi._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1n1hy3nwha2vi._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_1nrnskep6p8ci._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1nrnskep6p8ci._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_0-mhu0jaig2u3._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_bridge_0-mhu0jaig2u3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_0219fbfmsi68-._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_bridge_0219fbfmsi68-._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_11jndonu4o8fq._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_bridge_11jndonu4o8fq._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_0354e3wb0dzx1._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_bridge_state_0354e3wb0dzx1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_live-refresh_tsx_1c1xk-oe0kllv._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_bridge_state_live-refresh_tsx_1c1xk-oe0kllv._.js.map +0 -1
- package/web/.next/server/chunks/web__next-internal_server_app_(console)_bridge_focus_route_actions_0syd_u8mgzdmi.js +0 -3
- package/web/.next/static/chunks/0c1tqlbsvq1dj.js +0 -1
- package/web/.next/static/chunks/0fh11dkddwf_2.js +0 -1
- package/web/.next/static/chunks/0fu7je2vzzzh7.js +0 -1
- package/web/.next/static/chunks/0zbcy0_3jemrv.js +0 -1
- package/web/.next/static/chunks/180aowme095ds.js +0 -1
- package/web/.next/static/chunks/1ehmzxr697ifa.js +0 -1
- package/web/.next/static/chunks/1lyv8ukt_q3ph.js +0 -1
- package/web/.next/static/chunks/1ymfhxs-xqiy6.js +0 -1
- package/web/.next/static/chunks/2799kv0y5g2va.js +0 -1
- package/web/.next/static/chunks/2gghdkr64z9f9.js +0 -1
- package/web/.next/static/chunks/2hoi73vy1wqpo.js +0 -1
- package/web/.next/static/chunks/2jr8r6g9kk42a.js +0 -1
- package/web/.next/static/chunks/2mtfca4qk_s34.js +0 -1
- package/web/.next/static/chunks/36fnm0ezsx1eh.js +0 -1
- package/web/.next/static/chunks/3f2trjz7_wrzh.js +0 -1
- package/web/.next/static/chunks/3ow9h8hreko-p.css +0 -3
- package/web/.next/static/chunks/3pd8pele5x1o9.js +0 -1
- package/web/.next/static/chunks/3rt603msircrl.js +0 -1
- package/web/.next/static/chunks/3srfjz42u14tx.js +0 -1
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/basket/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/basket/page.js.map +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/changes/route/build-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/changes/route/server-reference-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/changes/route.js.map +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/done/page.js.map +0 -0
- /package/web/.next/server/app/{(console)/bridge → (bridge)/bridge/fleet}/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console)/bridge → (bridge)/bridge/fleet}/page.js.map +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/focus/route/build-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/focus/route/server-reference-manifest.json +0 -0
- /package/web/.next/server/app/{(console) → (bridge)}/bridge/focus/route.js.map +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings → (bridge)/bridge}/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings → (bridge)/bridge}/page.js.map +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings/requests/[requestId] → (bridge)/bridge/settings}/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings/requests/[requestId] → (bridge)/bridge/settings}/page.js.map +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings/routing → (bridge)/bridge/settings/requests/[requestId]}/page/react-loadable-manifest.json +0 -0
- /package/web/.next/server/app/{(console)/bridge/settings/routing → (bridge)/bridge/settings/requests/[requestId]}/page.js.map +0 -0
- /package/web/.next/server/chunks/{0b9d__next-internal_server_app_(console)_bridge_changes_route_actions_0hj8aqohz6bu6.js.map → 0b9d__next-internal_server_app_(bridge)_bridge_changes_route_actions_0wd1c_8tnx6-f.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__1yyaeeylnezpi._.js.map → [root-of-the-server]__04_bc8g0oe4jt._.js.map} +0 -0
- /package/web/.next/server/chunks/ssr/{[root-of-the-server]__0gnfxe62edx95._.js.map → [root-of-the-server]__179upda-y7uap._.js.map} +0 -0
- /package/web/.next/server/chunks/{web__next-internal_server_app_(console)_bridge_focus_route_actions_0syd_u8mgzdmi.js.map → web__next-internal_server_app_(bridge)_bridge_focus_route_actions_0fx2vmqfq23mq.js.map} +0 -0
- /package/web/.next/static/{IMWKx2sJwt7EwwpStr8tb → 2O8_FQX7YN47L5_OxojXH}/_buildManifest.js +0 -0
- /package/web/.next/static/{IMWKx2sJwt7EwwpStr8tb → 2O8_FQX7YN47L5_OxojXH}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{IMWKx2sJwt7EwwpStr8tb → 2O8_FQX7YN47L5_OxojXH}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
(()=>{"use strict";module.exports=[13095,(a,b,c)=>{function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},1324,a=>{a.s(["H",0,"fleet","v",0,function(a,b){let c=a.get(b);return"string"==typeof c?c:""},"O",0,function(a){return Object.fromEntries([...a.entries()].flatMap(([a,b])=>"string"==typeof b?[[a,b]]:[]))}])},70043,a=>{var b=a.i(37936),c=a.i(5246),d=a.i(67591);async function e(a){(0,d.x)(a)&&(await (0,c.cookies)()).set(d.g,a,{path:"/",sameSite:"lax",maxAge:31536e3})}(0,a.i(13095).ensureServerEntryExports)([e]),(0,b.registerServerReference)(e,"
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},1324,a=>{a.s(["H",0,"fleet","v",0,function(a,b){let c=a.get(b);return"string"==typeof c?c:""},"O",0,function(a){return Object.fromEntries([...a.entries()].flatMap(([a,b])=>"string"==typeof b?[[a,b]]:[]))}])},70043,a=>{var b=a.i(37936),c=a.i(5246),d=a.i(67591);async function e(a){(0,d.x)(a)&&(await (0,c.cookies)()).set(d.g,a,{path:"/",sameSite:"lax",maxAge:31536e3})}(0,a.i(13095).ensureServerEntryExports)([e]),(0,b.registerServerReference)(e,"403ec53693609bd0af152d60542fb78701d7dcbb23",null),a.s(["f",0,e])},72913,a=>{let b="/outside-parties",c=`${b}/add`,d=`${b}/add-a2a-client`,e=`${b}/add-a2a-agent`;a.s(["u",0,e,"Z",0,d,"y",0,c,"$",0,b,"N",0,function(a,c){return`${b}/${encodeURIComponent(a)}${void 0===c?"":`/${c}`}`}])},18379,a=>{var b=a.i(29517);let c=["messages:send","messages:receive"],d="scope:",e="scopesShown";a.s(["_",0,c,"e",0,e,"u",0,d,"t",0,function(a,f){let g,{form:h,scopes:i}=f,j=h.ownerShipId?.trim();if(void 0!==j&&j!==a.ownerShipId){let a=(0,b.f)("ship").safeParse(j);if(!a.success)return{kind:"refused",message:"The owner's ship id is not a ship id (shp_...)"};g=a.data}let k=void 0===g?{}:{ownerShipId:g},l=a.scopes;if("true"!==h[e]||null===l)return{kind:"changes",...k,grant:[],revoke:[]};let m=i.filter(a=>!c.includes(a)),n=a=>void 0!==h[`${d}${a}`];return{kind:"changes",...k,grant:m.filter(a=>n(a)&&!l.includes(a)),revoke:m.filter(a=>!n(a)&&l.includes(a))}}])}]})();
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=_1e2o809f0ekry._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
(()=>{"use strict";module.exports=[13095,(a,b,c)=>{function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},33703,a=>{var b=a.i(70043);a.S([b,"403ec53693609bd0af152d60542fb78701d7dcbb23,f"],33703)},70043,a=>{var b=a.i(37936),c=a.i(5246),d=a.i(67591);async function e(a){(0,d.x)(a)&&(await (0,c.cookies)()).set(d.g,a,{path:"/",sameSite:"lax",maxAge:31536e3})}(0,a.i(13095).ensureServerEntryExports)([e]),(0,b.registerServerReference)(e,"403ec53693609bd0af152d60542fb78701d7dcbb23",null),a.s(["f",0,e])}]})();
|
|
3
3
|
|
|
4
|
-
//# sourceMappingURL=
|
|
4
|
+
//# sourceMappingURL=_1gbkqq8ra1nei._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../web/.next-internal/server/app/%28bridge%29/bridge/fleet/page/actions.js%20%28server%20actions%20loader%29","../../../../../web/features/frame/actions.ts"],"sourcesContent":["// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","export {setTheme as '403ec53693609bd0af152d60542fb78701d7dcbb23'} from 'ACTIONS_MODULE0'\n","'use server';\n\n/** The header's theme choice, kept for this browser for a year. */\nimport { cookies } from 'next/headers';\n\nimport { isTheme, THEME_COOKIE } from './theme';\n\nconst YEAR_SECONDS = 365 * 24 * 60 * 60;\n\nexport async function setTheme(theme: unknown): Promise<void> {\n if (!isTheme(theme)) {\n return;\n }\n (await cookies()).set(THEME_COOKIE, theme, { path: '/', sameSite: 'lax', maxAge: YEAR_SECONDS });\n}\n"],"names":["ensureServerEntryExports","actions","i","length","action","Error","registerServerReference","YEAR_SECONDS","setTheme","theme","set","path","sameSite","maxAge"],"mappings":"mDAGO,SAASA,EAAyBC,CAAc,EACrD,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQE,MAAM,CAAED,IAAK,CACvC,IAAME,EAASH,CAAO,CAACC,EAAE,CACzB,GAAsB,YAAlB,AAA8B,OAAvBE,EACT,MAAUC,AAAJ,MACJ,CAAC,2DAA2D,EAAE,OAAOD,EAAO;AAAA,oEAAuE,CAAC,CAG1J,CACF,0EATgBJ,2BAAAA,qCAAAA,sBCHoC,OAAA,cAAA,CAAA,EAAA,aAAA,oCAC3CM,0BAAAA,qCAAAA,EAAAA,uBAAuB,YAAQ,CAAA,CAAA,IAAA,cCDxC,IAAA,EAAA,EAAA,CAAA,CAAA,iGCGA,EAAA,EAAA,CAAA,CAAA,MAEA,EAAA,EAAA,CAAA,CAAA,OAIO,eAAeE,EAASC,CAAc,EACtC,CAAA,EAAA,EAAA,CAAA,AAAO,EAACA,IAGb,CAAC,GAHoB,GAGd,CAAA,EAAA,EAAA,OAAA,AAAO,GAAA,CAAE,CAAEC,GAAG,CAAC,EAAA,CAAY,CAAED,EAAO,CAAEE,KAAM,IAAKC,SAAU,MAAOC,OANtD,CAM8DN,KANxD,CAMqE,EAChG,EAPgC,KAAK,mCAEfC,IAAAA,CAAAA,EAAAA,EAAAA,uBAAAA,EAAAA,EAAAA,6CAAAA","ignoreList":[0,1]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[22432,21817,43256,27350,a=>{var b=a.i(82360);a.s(["f",0,b],22432),a.s(["f",0,b],21817),a.s(["f",0,b],43256),a.s(["f",0,b],27350)},53116,a=>{var b=a.i(72131),c=a.i(35112),d=a.i(54098),e=a.i(87924);let f=b.forwardRef(function(a,f){let{children:g,container:h,className:i,render:j,style:k,...l}=a,{node:m,subtree:n}=(0,d.o)({container:h,ref:f,componentProps:a,elementProps:l});return n||m?(0,e.jsxs)(b.Fragment,{children:[n,m&&c.createPortal(g,m)]}):null});a.s(["f",0,f])},32043,a=>{var b=a.i(87924);let c={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"},d={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"};a.s(["i",0,function({isPending:a,pendingLabel:e,variant:f="secondary",size:g="regular",children:h,className:i="",disabled:j,...k}){return(0,b.jsx)("button",{...k,disabled:!0===j||a,"aria-busy":a,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${d[g]} ${c[f]} ${i}`,children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),e]}):h})},"o",0,d])},30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}])},77237,a=>{var b=a.i(87924),c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}])},47763,a=>{var b=a.i(87924);let c={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"};a.s(["T",0,function({tone:a,label:d}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 text-caption ${c[a]}`,children:d})},"E",0,function({children:a,isMono:c=!1}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-md border border-border px-2 text-caption ${c?"font-mono":""}`,children:a})}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1i5zdy3tp2ykh._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/%40base-ui/react/utils/FloatingPortalLite.mjs","../../../../../web/features/bridge/ui/action-button.tsx","../../../../../web/features/forms/form-state.ts","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/forms/ui/outcome.tsx","../../../../../web/features/forms/ui/submit-button.tsx","../../../../../web/features/outside-parties/ui/status-badge.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useFloatingPortalNode } from \"../floating-ui-react/components/FloatingPortal.mjs\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * `FloatingPortal` includes tabbable logic handling for focus management.\n * For components that don't need tabbable logic, use `FloatingPortalLite`.\n * @internal\n */\nexport const FloatingPortalLite = /*#__PURE__*/React.forwardRef(function FloatingPortalLite(componentProps, forwardedRef) {\n const {\n children,\n container,\n className,\n render,\n style,\n ...elementProps\n } = componentProps;\n const {\n node: portalNode,\n subtree: portalSubtree\n } = useFloatingPortalNode({\n container,\n ref: forwardedRef,\n componentProps,\n elementProps\n });\n if (!portalSubtree && !portalNode) {\n return null;\n }\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [portalSubtree, portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode)]\n });\n});\nif (process.env.NODE_ENV !== \"production\") FloatingPortalLite.displayName = \"FloatingPortalLite\";","import type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nconst VARIANTS = {\n primary: 'bg-primary text-primary-foreground hover:bg-primary-hover',\n secondary: 'border border-border bg-card text-card-foreground hover:bg-accent',\n ghost: 'text-foreground hover:bg-accent',\n} as const;\n\n/** A row's buttons are small on a desktop, and a thumb's size on a phone (Bridge mockups, home). */\nexport const SIZES = {\n regular: 'h-9 gap-2 px-4',\n row: 'h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta',\n /** A basket entry's buttons (basket.html). */\n small: 'h-8 gap-2 px-3 text-meta',\n /** A place card's one action (routing.html). */\n xs: 'h-7 gap-1.5 px-2.5 text-caption font-medium',\n} as const;\n\n/**\n * A button for an action: the moment it is pressed and until the answer\n * comes, it shows a spinner and its working label, and cannot run twice.\n */\nexport function ActionButton({\n isPending,\n pendingLabel,\n variant = 'secondary',\n size = 'regular',\n children,\n className = '',\n disabled,\n ...button\n}: ButtonHTMLAttributes<HTMLButtonElement> & { isPending: boolean; pendingLabel: string; variant?: keyof typeof VARIANTS; size?: keyof typeof SIZES; children: ReactNode }) {\n return (\n <button\n {...button}\n disabled={disabled === true || isPending}\n aria-busy={isPending}\n className={`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${SIZES[size]} ${VARIANTS[variant]} ${className}`}\n >\n {isPending ? (\n <>\n <span aria-hidden=\"true\" className=\"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent\" />\n {pendingLabel}\n </>\n ) : (\n children\n )}\n </button>\n );\n}\n","/**\n * What a page's form (a server action) answers the browser: nothing yet,\n * done with what changed, or refused with why, as the API said it. The\n * open network's warning asks for a confirm (interop I-3).\n */\nexport type FormState =\n | { kind: 'idle' }\n | { kind: 'done'; message: string }\n | { kind: 'refused'; message: string }\n | { kind: 'openNetwork'; message: string };\n\nexport const IDLE: FormState = { kind: 'idle' };\n\n/** A form's text field, empty when it was not sent. */\nexport function fieldOf(form: FormData, name: string): string {\n const value = form.get(name);\n return typeof value === 'string' ? value : '';\n}\n\n/** The form's fields as text, files left out. */\nexport function fieldsOf(form: FormData): Record<string, string> {\n return Object.fromEntries([...form.entries()].flatMap(([name, value]) => (typeof value === 'string' ? [[name, value]] : [])));\n}\n\n/** The fleet a page's form names: the page's own, sent in a hidden field. */\nexport const FLEET_FIELD = 'fleet';\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","import type { FormState } from '../form-state';\n\n/** How a form ended: what changed, or why it was refused. Nothing while it has not been sent. */\nexport function Outcome({ state, testId }: { state: FormState; testId?: string }) {\n switch (state.kind) {\n case 'idle':\n return null;\n case 'done':\n return (\n <p role=\"status\" data-testid={testId} className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {state.message}\n </p>\n );\n case 'refused':\n case 'openNetwork':\n return (\n <p role=\"alert\" data-testid={testId} className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {state.message}\n </p>\n );\n }\n}\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useFormStatus } from 'react-dom';\n\nimport { BUTTONS, type ButtonKind } from './look';\n\n/** A form's button: it says the form is on its way at once, and takes no second press meanwhile. */\nexport function SubmitButton({ children, pending, kind = 'primary', testId }: { children: ReactNode; pending: string; kind?: ButtonKind; testId?: string }) {\n const status = useFormStatus();\n return (\n <button type=\"submit\" className={BUTTONS[kind]} disabled={status.pending} aria-busy={status.pending} data-testid={testId}>\n {status.pending ? pending : children}\n </button>\n );\n}\n","import type { Tone } from '../party-kinds';\n\nconst TONES: Record<Tone, string> = {\n waiting: 'border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg',\n active: 'border-tone-active-border bg-tone-active-bg text-tone-active-fg',\n ok: 'border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg',\n attention: 'border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg',\n ended: 'border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg',\n};\n\n/** A status in its tone, as the console shows one. */\nexport function StatusBadge({ tone, label }: { tone: Tone; label: string }) {\n return <span className={`inline-flex items-center rounded-full border px-2 text-caption ${TONES[tone]}`}>{label}</span>;\n}\n\n/** A plain tag: a protocol, a side, an id. */\nexport function Tag({ children, isMono = false }: { children: React.ReactNode; isMono?: boolean }) {\n return <span className={`inline-flex items-center rounded-md border border-border px-2 text-caption ${isMono ? 'font-mono' : ''}`}>{children}</span>;\n}\n"],"names":["FloatingPortalLite","componentProps","forwardedRef","children","container","className","render","style","elementProps","node","portalNode","subtree","portalSubtree","ref","VARIANTS","primary","secondary","ghost","SIZES","regular","row","small","xs","ActionButton","isPending","pendingLabel","variant","size","disabled","button","IDLE","kind","fieldOf","form","name","value","get","fieldsOf","Object","fromEntries","entries","flatMap","FLEET_FIELD","CARD","BUTTON","BUTTONS","destructive","INPUT","LABEL","Outcome","state","testId","role","message","SubmitButton","pending","status","type","TONES","waiting","active","ok","attention","ended","StatusBadge","tone","label","Tag","isMono"],"mappings":"+KAEA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAMO,IAAMA,EAAkC,EAAA,UAAgB,CAAC,MAA9B,GAAuCA,AAAmBC,CAAc,CAAEC,C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Q,QAAEiE,GAAS,CAAK,CAAmD,EAC/F,MAAO,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK/D,UAAW,CAAC,2EAA2E,EAAE+D,EAAS,YAAc,GAAA,CAAI,UAAGjE,GACtI","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[97024,a=>{var b=a.i(64831);let c={name:"circle-check",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]],aliases:["check-circle-2"]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],97024)},2550,a=>{var b=a.i(4803);a.s(["f",()=>b.f])},9809,a=>{var b=a.i(64831);let c={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"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],9809)},99306,a=>{let b={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"}},c={slack:"Slack",chat:"A chat","web-push":"Web push",email:"Email"},d=["decide","do"],e="Bridge keeps every item.",f={label:"Not offered",isOk:!1},g={label:"Off",isOk:!1},h="Says only that something waits, with a link here.",i=`${h} Nothing is on until you turn it on.`,j="through the gateway. Lists what waits when you ask it.",k={slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};a.s(["I",0,b,"k",0,c,"N",0,["slack","chat","web-push","email"],"g",0,function(a){return 0===a.length?{state:{label:"Not connected",isOk:!1},description:`claude.ai or another MCP client, ${j}`,action:"none"}:{state:{label:"Connected",isOk:!0},description:`${new Intl.ListFormat("en",{type:"conjunction"}).format(a)}, ${j}`,action:"none"}},"t",0,function({isOffered:a,isOnForAnyJob:b}){return a?b?{state:{label:"On",isOk:!0},description:h,action:"turnOff"}:{state:g,description:i,action:"turnOn"}:{state:f,description:"This gateway sends no email.",action:"none"}},"T",0,function(a,b){return a.jobs.filter(({job:a,places:c})=>c.email!==b&&(!b||d.includes(a))).map(({job:a})=>({job:a,place:"email",isOn:b}))},"r",0,function(a){let b=["Bridge",...a.map(a=>k[a])],c=b.at(-1),d=1===b.length?"Bridge":`${b.slice(0,-1).join(", ")} and ${String(c)}`;return`Shows in ${d}, as Where things show sets for Decide. One answer, wherever you give it.`},"H",0,function(a){if(null===a)return{state:{label:"Not connected",isOk:!1},description:"This fleet has no Slack workspace.",action:"none"};let{workspaceName:b,link:c}=a;return null===c?{state:{label:"Not linked",isOk:!1},description:`Link your Slack account in ${b} to see items there and answer them.`,action:"link"}:{state:{label:"Linked",isOk:!0},description:`As @${c.slackName} in ${b}. A button press or a thread reply there is yours.`,action:"unlink"}},"b",0,function(a){let{job:d,place:f,isOn:g,waiting:h,isChatOn:i}=a,{name:j,item:k,items:l}=b[d],m=`${c[f]} is ${g?"on":"off"} for ${j}`;return g?"chat"===f?{title:m,detail:`A chat lists every ${k} not done when you ask it.`}:{title:m,detail:`${c[f]} shows ${l} that arrive from now on.${void 0===h||0===h?"":` The ${String(h)} already waiting ${1===h?"stays":"stay"} ${i?"in Bridge and in a chat":"in Bridge"}.`}`}:{title:m,detail:"everything-else"===d&&"slack"===f?`Bots only: a bot ship's messages and replies to Slack still show there. ${e}`:e}},"B",0,function(a){if(!a.isOffered)return{state:f,description:"This gateway sends no web push.",action:"none"};if(!a.isTaken)return{state:g,description:"This browser takes no web push.",action:"none"};let b=a.browsers.find(({endpoint:b,isGone:c})=>b===a.ownEndpoint&&!c);return void 0===b?{state:g,description:i,action:"turnOn"}:{state:{label:"This browser",isOk:!0},description:`${b.browser}. ${h}`,action:"remove"}}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1i8ofnr1a5yle._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/lucide-react/src/icons/circle-check.ts","../../../../../node_modules/lucide-react/src/icons/hand.ts","../../../../../web/features/bridge/services/routing.ts"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'circle-check',\n size: 24,\n node: [\n ['circle', { cx: '12', cy: '12', r: '10', key: '1mglay' }],\n ['path', { d: 'm16 9-5.5 5.5L8 12', key: 'xofnsj' }],\n ],\n aliases: ['check-circle-2'],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst CircleCheck = createLucideIcon(__iconData);\n\nexport default CircleCheck;\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'hand',\n size: 24,\n node: [\n ['path', { d: 'M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2', key: '1fvzgz' }],\n ['path', { d: 'M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2', key: '1kc0my' }],\n ['path', { d: 'M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8', key: '10h0bg' }],\n [\n 'path',\n {\n 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',\n key: '1s1gnw',\n },\n ],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Hand\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/hand\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hand = createLucideIcon(__iconData);\n\nexport default Hand;\n","/**\n * Where things show as Bridge's routing page shows it (Bridge, section 8;\n * the routing mockup): the jobs and places by the names the person reads,\n * each place card's state and its one action, and the toast that says what\n * a change does (CC20).\n */\nimport type { inferRouterOutputs } from '@trpc/server';\n\nimport type { GatewayRouter } from '../../../../src/adapters/trpc/router.js';\n\n/** Where each job shows besides Bridge, per place, as the API answers it. */\nexport type RoutingView = inferRouterOutputs<GatewayRouter>['people']['routing'];\nexport type RoutedJob = RoutingView['jobs'][number]['job'];\nexport type RoutedPlace = keyof RoutingView['offered'];\n\nexport const ROUTED_PLACES: readonly RoutedPlace[] = ['slack', 'chat', 'web-push', 'email'];\n\nexport const JOB_NAMES: Readonly<Record<RoutedJob, { readonly name: string; readonly holds: string; readonly item: string; readonly items: string }>> = {\n decide: { name: 'Decide', holds: 'Questions from your ships', item: 'question', items: 'questions' },\n do: { name: 'Do what only you can', holds: 'Steps: sign in, create, approve', item: 'step', items: 'steps' },\n 'stay-aware': { name: 'Stay aware', holds: 'Alerts and notices', item: 'alert or notice', items: 'alerts and notices' },\n 'everything-else': { name: 'Everything else', holds: 'Replies and other messages', item: 'message', items: 'messages' },\n};\n\nexport const PLACE_NAMES: Readonly<Record<RoutedPlace, string>> = { slack: 'Slack', chat: 'A chat', 'web-push': 'Web push', email: 'Email' };\n\n/** The jobs that wait on the person, which email's Turn on wakes them for: email says only that something waits. */\nconst WAITING_JOBS: readonly RoutedJob[] = ['decide', 'do'];\n\nconst KEEPS_EVERY_ITEM = 'Bridge keeps every item.';\n\n/** What the toast after a change says: its title, and what the place now shows. */\nexport interface RoutingToast {\n readonly title: string;\n readonly detail: string;\n}\n\n/** What already waits of each job: the count in what waits, the unseen to stay aware of; none for everything else, which does not wait. */\nexport type WaitingByJob = Readonly<Record<RoutedJob, number | undefined>>;\n\nexport function waitingByJobOf({ waiting, stayAware }: { waiting: readonly { readonly job: RoutedJob }[]; stayAware: number }): WaitingByJob {\n const countOf = (job: RoutedJob) => waiting.filter((item) => item.job === job).length;\n return { decide: countOf('decide'), do: countOf('do'), 'stay-aware': stayAware, 'everything-else': undefined };\n}\n\n/** The sentence on what stays where it is: those already waiting stay in Bridge, and in a chat while one shows the job; none when nothing waits. */\nfunction alreadyWaitingOf(waiting: number | undefined, isChatOn: boolean): string {\n if (waiting === undefined || waiting === 0) {\n return '';\n }\n const where = isChatOn ? 'in Bridge and in a chat' : 'in Bridge';\n return ` The ${String(waiting)} already waiting ${waiting === 1 ? 'stays' : 'stay'} ${where}.`;\n}\n\n/**\n * What turning a place on or off for a job does (CC20): a chat lists every\n * item not done; a place that pushes shows only what arrives from now on,\n * those already waiting staying where they are; Slack off for everything\n * else still shows a bot ship's messages (Bots only).\n */\nexport function turnedToastOf(change: { job: RoutedJob; place: RoutedPlace; isOn: boolean; waiting: number | undefined; isChatOn: boolean }): RoutingToast {\n const { job, place, isOn, waiting, isChatOn } = change;\n const { name, item, items } = JOB_NAMES[job];\n const title = `${PLACE_NAMES[place]} is ${isOn ? 'on' : 'off'} for ${name}`;\n if (!isOn) {\n return { title, detail: job === 'everything-else' && place === 'slack' ? `Bots only: a bot ship's messages and replies to Slack still show there. ${KEEPS_EVERY_ITEM}` : KEEPS_EVERY_ITEM };\n }\n if (place === 'chat') {\n return { title, detail: `A chat lists every ${item} not done when you ask it.` };\n }\n return { title, detail: `${PLACE_NAMES[place]} shows ${items} that arrive from now on.${alreadyWaitingOf(waiting, isChatOn)}` };\n}\n\n/** A place card's one action: none, or the one its state offers. */\nexport type PlaceAction = 'none' | 'link' | 'unlink' | 'remove' | 'turnOn' | 'turnOff';\n\n/** A place card as the page draws it: its state in a badge, what it does, and its one action. */\nexport interface PlaceCard {\n readonly state: { readonly label: string; readonly isOk: boolean };\n readonly description: string;\n readonly action: PlaceAction;\n}\n\nconst NOT_OFFERED = { label: 'Not offered', isOk: false } as const;\nconst OFF = { label: 'Off', isOk: false } as const;\nconst WAKE_SAYS = 'Says only that something waits, with a link here.';\nconst WAKE_OFF = `${WAKE_SAYS} Nothing is on until you turn it on.`;\nconst CHAT_LISTS = 'through the gateway. Lists what waits when you ask it.';\n\n/** Slack's card: linked as the person's Slack name, not linked yet, or no workspace in the fleet. */\nexport function slackCardOf(slack: { workspaceName: string; link: { slackName: string } | null } | null): PlaceCard {\n if (slack === null) {\n return { state: { label: 'Not connected', isOk: false }, description: 'This fleet has no Slack workspace.', action: 'none' };\n }\n const { workspaceName, link } = slack;\n return link === null\n ? { state: { label: 'Not linked', isOk: false }, description: `Link your Slack account in ${workspaceName} to see items there and answer them.`, action: 'link' }\n : { state: { label: 'Linked', isOk: true }, description: `As @${link.slackName} in ${workspaceName}. A button press or a thread reply there is yours.`, action: 'unlink' };\n}\n\n/** A chat's card: connected, naming the chats signed in as the person, or not connected. */\nexport function chatCardOf(names: readonly string[]): PlaceCard {\n return names.length === 0\n ? { state: { label: 'Not connected', isOk: false }, description: `claude.ai or another MCP client, ${CHAT_LISTS}`, action: 'none' }\n : { state: { label: 'Connected', isOk: true }, description: `${new Intl.ListFormat('en', { type: 'conjunction' }).format(names)}, ${CHAT_LISTS}`, action: 'none' };\n}\n\n/** Web push's card, about this browser: on here, off here, a browser that takes none, or a gateway that sends none. */\nexport function webPushCardOf(webPush: {\n isOffered: boolean;\n isTaken: boolean;\n ownEndpoint: string | undefined;\n browsers: readonly { readonly endpoint: string; readonly browser: string; readonly isGone: boolean }[];\n}): PlaceCard {\n if (!webPush.isOffered) {\n return { state: NOT_OFFERED, description: 'This gateway sends no web push.', action: 'none' };\n }\n if (!webPush.isTaken) {\n return { state: OFF, description: 'This browser takes no web push.', action: 'none' };\n }\n const own = webPush.browsers.find(({ endpoint, isGone }) => endpoint === webPush.ownEndpoint && !isGone);\n return own === undefined ? { state: OFF, description: WAKE_OFF, action: 'turnOn' } : { state: { label: 'This browser', isOk: true }, description: `${own.browser}. ${WAKE_SAYS}`, action: 'remove' };\n}\n\n/** Email's card: on while any job wakes by email, else off; or a gateway that sends none. */\nexport function emailCardOf({ isOffered, isOnForAnyJob }: { isOffered: boolean; isOnForAnyJob: boolean }): PlaceCard {\n if (!isOffered) {\n return { state: NOT_OFFERED, description: 'This gateway sends no email.', action: 'none' };\n }\n return isOnForAnyJob ? { state: { label: 'On', isOk: true }, description: WAKE_SAYS, action: 'turnOff' } : { state: OFF, description: WAKE_OFF, action: 'turnOn' };\n}\n\n/** What email's Turn on and Turn off change: on for what waits on the person where it is off; off for every job it is on for. */\nexport function emailTurnsOf(routing: Pick<RoutingView, 'jobs'>, isOn: boolean): { job: RoutedJob; place: 'email'; isOn: boolean }[] {\n return routing.jobs.filter(({ job, places }) => places.email !== isOn && (!isOn || WAITING_JOBS.includes(job))).map(({ job }) => ({ job, place: 'email', isOn }));\n}\n\n/** The places as a sentence names them after Bridge. */\nconst PLACE_WORDS: Readonly<Record<RoutedPlace, string>> = { slack: 'Slack', chat: 'a chat', 'web-push': 'web push', email: 'email' };\n\n/** The places besides Bridge that show a question: those routing has on for Decide that the gateway offers, in routing's order. */\nexport function decidePlacesOf(routing: RoutingView): RoutedPlace[] {\n const decide = routing.jobs.find(({ job }) => job === 'decide');\n return ROUTED_PLACES.filter((place) => routing.offered[place] && decide?.places[place] === true);\n}\n\n/** Where an opened question shows (decide.html): Bridge and the places on for Decide, and that one answer counts wherever it is given. */\nexport function shownInOf(places: readonly RoutedPlace[]): string {\n const named = ['Bridge', ...places.map((place) => PLACE_WORDS[place])];\n const last = named.at(-1);\n const list = named.length === 1 ? 'Bridge' : `${named.slice(0, -1).join(', ')} and ${String(last)}`;\n return `Shows in ${list}, as Where things show sets for Decide. One answer, wherever you give it.`;\n}\n"],"names":["ROUTED_PLACES","JOB_NAMES","decide","name","holds","item","items","do","PLACE_NAMES","slack","chat","email","WAITING_JOBS","KEEPS_EVERY_ITEM","waitingByJobOf","waiting","stayAware","countOf","job","filter","length","undefined","alreadyWaitingOf","isChatOn","where","String","turnedToastOf","change","place","isOn","title","detail","NOT_OFFERED","label","isOk","OFF","WAKE_SAYS","WAKE_OFF","CHAT_LISTS","slackCardOf","state","description","action","workspaceName","link","slackName","chatCardOf","names","Intl","ListFormat","type","format","webPushCardOf","webPush","isOffered","isTaken","own","browsers","find","endpoint","isGone","ownEndpoint","browser","emailCardOf","isOnForAnyJob","emailTurnsOf","routing","jobs","places","includes","map","PLACE_WORDS","decidePlacesOf","offered","shownInOf","named","last","at","list","slice","join"],"mappings":"8DAGO,CAAA,CAAA,CAAA,CAAM,AAAN,CAAA,CAAmC,CACxC,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,AADK,CAAA,AACL,CADK,AACL,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CACN,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CACN,IAAA,CAAA,AAAM,CACJ,CAAC,QAAA,CAAU,AAAV,CAAU,AAAE,EAAA,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAM,CAAA,CAAA,CAAA,AAAI,IAAA,CAAA,AAAM,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,AAAM,GAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACzD,CAAC,CAAA,CAAA,C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,WAAW,EAAI,CAACD,GACjG,YAAevC,IAARmC,EAAoB,CAAEhB,MAAOL,EAAKM,YAAaJ,EAAUK,OAAQ,QAAS,EAAI,CAAEF,MAAO,CAAEP,MAAO,eAAgBC,KAAM,EAAK,EAAGO,YAAa,CAAA,EAAGe,EAAIM,OAAO,CAAC,EAAE,EAAE1B,EAAAA,CAAW,CAAEM,OAAQ,QAAS,CACrM","ignoreList":[0,1]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[22432,21817,43256,27350,a=>{var b=a.i(82360);a.s(["f",0,b],22432),a.s(["f",0,b],21817),a.s(["f",0,b],43256),a.s(["f",0,b],27350)},53116,a=>{var b=a.i(72131),c=a.i(35112),d=a.i(54098),e=a.i(87924);let f=b.forwardRef(function(a,f){let{children:g,container:h,className:i,render:j,style:k,...l}=a,{node:m,subtree:n}=(0,d.o)({container:h,ref:f,componentProps:a,elementProps:l});return n||m?(0,e.jsxs)(b.Fragment,{children:[n,m&&c.createPortal(g,m)]}):null});a.s(["f",0,f])},32043,a=>{var b=a.i(87924);let c={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"},d={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"};a.s(["i",0,function({isPending:a,pendingLabel:e,variant:f="secondary",size:g="regular",children:h,className:i="",disabled:j,...k}){return(0,b.jsx)("button",{...k,disabled:!0===j||a,"aria-busy":a,className:`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${d[g]} ${c[f]} ${i}`,children:a?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{"aria-hidden":"true",className:"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent"}),e]}):h})},"o",0,d])},30587,a=>{a.s(["H",0,"fleet","Q",0,{kind:"idle"}])},31614,a=>{var b=a.i(87924),c=a.i(72131),d=a.i(30587),e=a.i(36855),f=a.i(77237);a.s(["ActionForm",0,function({action:a,fleetId:g,children:h,submit:i,className:j="grid gap-3",testId:k}){let[l,m]=(0,c.useActionState)(a,d.Q);return(0,b.jsxs)("form",{action:m,className:j,"data-testid":k,children:[(0,b.jsx)("input",{type:"hidden",name:d.H,value:g}),h,(0,b.jsx)("div",{children:(0,b.jsx)(f.f,{pending:i.pending,...void 0===i.kind?{}:{kind:i.kind},children:i.label})}),(0,b.jsx)(e.f,{state:l})]})}])},88412,a=>{let b="inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60",c={primary:`${b} bg-primary text-primary-foreground hover:bg-primary-hover`,secondary:`${b} border border-border bg-card hover:bg-accent`,destructive:`${b} bg-destructive text-destructive-foreground`};a.s(["x",0,c,"r",0,"rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm","w",0,"h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code","z",0,"grid gap-1"])},36855,a=>{var b=a.i(87924);a.s(["f",0,function({state:a,testId:c}){switch(a.kind){case"idle":return null;case"done":return(0,b.jsx)("p",{role:"status","data-testid":c,className:"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg",children:a.message});case"refused":case"openNetwork":return(0,b.jsx)("p",{role:"alert","data-testid":c,className:"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg",children:a.message})}}])},77237,a=>{var b=a.i(87924),c=a.i(35112),d=a.i(88412);a.s(["f",0,function({children:a,pending:e,kind:f="primary",testId:g}){let h=(0,c.useFormStatus)();return(0,b.jsx)("button",{type:"submit",className:d.x[f],disabled:h.pending,"aria-busy":h.pending,"data-testid":g,children:h.pending?e:a})}])},47763,a=>{var b=a.i(87924);let c={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"};a.s(["T",0,function({tone:a,label:d}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-full border px-2 text-caption ${c[a]}`,children:d})},"E",0,function({children:a,isMono:c=!1}){return(0,b.jsx)("span",{className:`inline-flex items-center rounded-md border border-border px-2 text-caption ${c?"font-mono":""}`,children:a})}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1iorutn_o9hja._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/%40base-ui/react/utils/FloatingPortalLite.mjs","../../../../../web/features/bridge/ui/action-button.tsx","../../../../../web/features/forms/form-state.ts","../../../../../web/features/forms/ui/action-form.tsx","../../../../../web/features/forms/ui/look.ts","../../../../../web/features/forms/ui/outcome.tsx","../../../../../web/features/forms/ui/submit-button.tsx","../../../../../web/features/outside-parties/ui/status-badge.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useFloatingPortalNode } from \"../floating-ui-react/components/FloatingPortal.mjs\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * `FloatingPortal` includes tabbable logic handling for focus management.\n * For components that don't need tabbable logic, use `FloatingPortalLite`.\n * @internal\n */\nexport const FloatingPortalLite = /*#__PURE__*/React.forwardRef(function FloatingPortalLite(componentProps, forwardedRef) {\n const {\n children,\n container,\n className,\n render,\n style,\n ...elementProps\n } = componentProps;\n const {\n node: portalNode,\n subtree: portalSubtree\n } = useFloatingPortalNode({\n container,\n ref: forwardedRef,\n componentProps,\n elementProps\n });\n if (!portalSubtree && !portalNode) {\n return null;\n }\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [portalSubtree, portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode)]\n });\n});\nif (process.env.NODE_ENV !== \"production\") FloatingPortalLite.displayName = \"FloatingPortalLite\";","import type { ButtonHTMLAttributes, ReactNode } from 'react';\n\nconst VARIANTS = {\n primary: 'bg-primary text-primary-foreground hover:bg-primary-hover',\n secondary: 'border border-border bg-card text-card-foreground hover:bg-accent',\n ghost: 'text-foreground hover:bg-accent',\n} as const;\n\n/** A row's buttons are small on a desktop, and a thumb's size on a phone (Bridge mockups, home). */\nexport const SIZES = {\n regular: 'h-9 gap-2 px-4',\n row: 'h-9 gap-2 px-4 text-body sm:h-6 sm:gap-1.5 sm:px-2.5 sm:text-meta',\n /** A basket entry's buttons (basket.html). */\n small: 'h-8 gap-2 px-3 text-meta',\n /** A place card's one action (routing.html). */\n xs: 'h-7 gap-1.5 px-2.5 text-caption font-medium',\n} as const;\n\n/**\n * A button for an action: the moment it is pressed and until the answer\n * comes, it shows a spinner and its working label, and cannot run twice.\n */\nexport function ActionButton({\n isPending,\n pendingLabel,\n variant = 'secondary',\n size = 'regular',\n children,\n className = '',\n disabled,\n ...button\n}: ButtonHTMLAttributes<HTMLButtonElement> & { isPending: boolean; pendingLabel: string; variant?: keyof typeof VARIANTS; size?: keyof typeof SIZES; children: ReactNode }) {\n return (\n <button\n {...button}\n disabled={disabled === true || isPending}\n aria-busy={isPending}\n className={`inline-flex items-center rounded-md disabled:cursor-not-allowed disabled:opacity-70 ${SIZES[size]} ${VARIANTS[variant]} ${className}`}\n >\n {isPending ? (\n <>\n <span aria-hidden=\"true\" className=\"size-3.5 animate-spin rounded-full border-2 border-current border-t-transparent\" />\n {pendingLabel}\n </>\n ) : (\n children\n )}\n </button>\n );\n}\n","/**\n * What a page's form (a server action) answers the browser: nothing yet,\n * done with what changed, or refused with why, as the API said it. The\n * open network's warning asks for a confirm (interop I-3).\n */\nexport type FormState =\n | { kind: 'idle' }\n | { kind: 'done'; message: string }\n | { kind: 'refused'; message: string }\n | { kind: 'openNetwork'; message: string };\n\nexport const IDLE: FormState = { kind: 'idle' };\n\n/** A form's text field, empty when it was not sent. */\nexport function fieldOf(form: FormData, name: string): string {\n const value = form.get(name);\n return typeof value === 'string' ? value : '';\n}\n\n/** The form's fields as text, files left out. */\nexport function fieldsOf(form: FormData): Record<string, string> {\n return Object.fromEntries([...form.entries()].flatMap(([name, value]) => (typeof value === 'string' ? [[name, value]] : [])));\n}\n\n/** The fleet a page's form names: the page's own, sent in a hidden field. */\nexport const FLEET_FIELD = 'fleet';\n","'use client';\n\nimport { useActionState, type ReactNode } from 'react';\n\nimport { FLEET_FIELD, IDLE, type FormState } from '../form-state';\nimport type { ButtonKind } from './look';\nimport { Outcome } from './outcome';\nimport { SubmitButton } from './submit-button';\n\n/** A page's form: its fields, the fleet it is for, its button, and how it ended. */\nexport function ActionForm({\n action,\n fleetId,\n children,\n submit,\n className = 'grid gap-3',\n testId,\n}: {\n action: (previous: FormState, form: FormData) => Promise<FormState>;\n fleetId: string;\n children?: ReactNode;\n submit: { label: ReactNode; pending: string; kind?: ButtonKind };\n className?: string;\n testId?: string;\n}) {\n const [state, formAction] = useActionState(action, IDLE);\n return (\n <form action={formAction} className={className} data-testid={testId}>\n <input type=\"hidden\" name={FLEET_FIELD} value={fleetId} />\n {children}\n <div>\n <SubmitButton pending={submit.pending} {...(submit.kind === undefined ? {} : { kind: submit.kind })}>\n {submit.label}\n </SubmitButton>\n </div>\n <Outcome state={state} />\n </form>\n );\n}\n","/** The classes the pages share, on the design tokens: a card and the button kinds. */\nexport const CARD = 'rounded-lg border border-border bg-card p-6 text-card-foreground shadow-sm';\n\nconst BUTTON = 'inline-flex h-9 items-center justify-center gap-2 rounded-md px-4 font-medium disabled:opacity-60';\n\nexport const BUTTONS = {\n primary: `${BUTTON} bg-primary text-primary-foreground hover:bg-primary-hover`,\n secondary: `${BUTTON} border border-border bg-card hover:bg-accent`,\n destructive: `${BUTTON} bg-destructive text-destructive-foreground`,\n} as const;\n\nexport type ButtonKind = keyof typeof BUTTONS;\n\nexport const INPUT = 'h-9 w-full rounded-md border border-input bg-background px-3 font-mono text-code';\n\nexport const LABEL = 'grid gap-1';\n","import type { FormState } from '../form-state';\n\n/** How a form ended: what changed, or why it was refused. Nothing while it has not been sent. */\nexport function Outcome({ state, testId }: { state: FormState; testId?: string }) {\n switch (state.kind) {\n case 'idle':\n return null;\n case 'done':\n return (\n <p role=\"status\" data-testid={testId} className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {state.message}\n </p>\n );\n case 'refused':\n case 'openNetwork':\n return (\n <p role=\"alert\" data-testid={testId} className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {state.message}\n </p>\n );\n }\n}\n","'use client';\n\nimport type { ReactNode } from 'react';\nimport { useFormStatus } from 'react-dom';\n\nimport { BUTTONS, type ButtonKind } from './look';\n\n/** A form's button: it says the form is on its way at once, and takes no second press meanwhile. */\nexport function SubmitButton({ children, pending, kind = 'primary', testId }: { children: ReactNode; pending: string; kind?: ButtonKind; testId?: string }) {\n const status = useFormStatus();\n return (\n <button type=\"submit\" className={BUTTONS[kind]} disabled={status.pending} aria-busy={status.pending} data-testid={testId}>\n {status.pending ? pending : children}\n </button>\n );\n}\n","import type { Tone } from '../party-kinds';\n\nconst TONES: Record<Tone, string> = {\n waiting: 'border-tone-waiting-border bg-tone-waiting-bg text-tone-waiting-fg',\n active: 'border-tone-active-border bg-tone-active-bg text-tone-active-fg',\n ok: 'border-tone-ok-border bg-tone-ok-bg text-tone-ok-fg',\n attention: 'border-tone-attention-border bg-tone-attention-bg text-tone-attention-fg',\n ended: 'border-tone-ended-border bg-tone-ended-bg text-tone-ended-fg',\n};\n\n/** A status in its tone, as the console shows one. */\nexport function StatusBadge({ tone, label }: { tone: Tone; label: string }) {\n return <span className={`inline-flex items-center rounded-full border px-2 text-caption ${TONES[tone]}`}>{label}</span>;\n}\n\n/** A plain tag: a protocol, a side, an id. */\nexport function Tag({ children, isMono = false }: { children: React.ReactNode; isMono?: boolean }) {\n return <span className={`inline-flex items-center rounded-md border border-border px-2 text-caption ${isMono ? 'font-mono' : ''}`}>{children}</span>;\n}\n"],"names":["FloatingPortalLite","componentProps","forwardedRef","children","container","className","render","style","elementProps","node","portalNode","subtree","portalSubtree","ref","VARIANTS","primary","secondary","ghost","SIZES","regular","row","small","xs","ActionButton","isPending","pendingLabel","variant","size","disabled","button","IDLE","kind","fieldOf","form","name","value","get","fieldsOf","Object","fromEntries","entries","flatMap","FLEET_FIELD","ActionForm","action","fleetId","submit","testId","state","formAction","type","pending","undefined","label","CARD","BUTTON","BUTTONS","destructive","INPUT","LABEL","Outcome","role","message","SubmitButton","status","TONES","waiting","active","ok","attention","ended","StatusBadge","tone","Tag","isMono"],"mappings":"+KAEA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAMO,IAAMA,EAAkC,EAAA,UAAgB,CAAC,MAA9B,GAAuCA,AAAmBC,CAAc,CAAEC,CAAY,EACtH,GAAM,AADqC,UAEzCC,CAAQ,WACRC,CAAS,WACTC,CAAS,QACTC,CAAM,OACNC,CAAK,CACL,GAAGC,EACJ,CAAGP,EACE,CACJQ,KAAMC,CAAU,CAChBC,QAASC,CAAa,CACvB,CAAG,CAAA,EAAA,EAAA,CAAA,AAAqB,EAAC,WACxBR,EACAS,IAAKX,iBACLD,eACAO,CACF,UACA,AAAI,AAACI,GAAkBF,EAGH,CAAA,EAAA,EAAA,IAAA,AAAK,CAHU,CAGT,CAHJ,CAGI,QAAc,CAAE,CACxCP,SAAU,CAACS,EAAeF,GAA2B,EAAA,SAAb,GAAkC,CAACP,EAAUO,GACvF,AADmG,EAA9C,CAH5C,IAKX,8CCjCA,IAAMI,EAAW,CACfC,QAAS,4DACTC,UAAW,oEACXC,MAAO,iCACT,EAGaC,EAAQ,CACnBC,QAAS,iBACTC,IAAK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EAA8B,CAClCC,QAAS,qEACTC,OAAQ,kEACRC,GAAI,sDACJC,UAAW,2EACXC,MAAO,8DACT,aAGO,SAASC,AAAY,MAAEC,CAAI,OAAEnB,CAAK,CAAiC,EACxE,MAAO,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAKhD,UAAW,CAAC,+DAA+D,EAAE4D,CAAK,CAACO,EAAK,CAAA,CAAE,UAAGnB,GAC5G,QAGO,SAASoB,AAAI,UAAEtE,CAAQ,QAAEuE,GAAS,CAAK,CAAmD,EAC/F,MAAO,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAKrE,UAAW,CAAC,2EAA2E,EAAEqE,EAAS,YAAc,GAAA,CAAI,UAAGvE,GACtI","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[74215,a=>{var b=a.i(76965);a.s(["X",()=>b.f])},69762,a=>{var b=a.i(5050);let c=(0,b.createServerReference)("6050935e24e32a35e279e7c292c8a9aa38508db651",b.callServer,void 0,b.findSourceMapURL,"removeFromBasket");a.s(["f",0,c])},91777,34129,a=>{var b=a.i(87924),c=a.i(99271),d=a.i(76983),e=a.i(72131),f=a.i(52779),g=a.i(25959),h=a.i(50958),i=a.i(83417),j=a.i(26914),k=a.i(84122),l=a.i(41668),m=a.i(69762),n=a.i(16550),o=a.i(17758),p=a.i(86970),q=a.i(11725),r=a.i(74352),s=a.i(10039),t=a.i(40197),u=a.i(21341),v=a.i(68758),w=a.i(5358),x=a.i(32024),y=a.i(95900),z=a.i(48514),A=a.i(21338),B=a.i(37987),C=a.i(69035),D=a.i(21777),E=a.i(85804),F=a.i(93817),G=a.i(52357),H=a.i(58983),I=a.i(48819),J=a.i(33540),K=a.i(74746),L=a.i(98238),M=a.i(74215),N=a.i(88412);let O={alert:"Alert",waiting:"Waiting",working:"Working",idle:"Idle"},P={alert:"bg-tone-attention-bg text-tone-attention-fg",waiting:"bg-tone-waiting-bg text-tone-waiting-fg",working:"bg-tone-ok-bg text-tone-ok-fg",idle:"bg-tone-ended-bg text-tone-ended-fg"},Q="flex min-h-9 w-full items-center gap-2 rounded-md border border-input bg-background px-2";function R({to:a,isLocked:c,onClear:d,isRefused:e}){return(0,b.jsxs)("div",{"data-testid":"bridge-send-to",className:`${Q} justify-between py-1 ${c?"bg-muted":""} ${e?"border-destructive ring-2 ring-tone-attention-border":""}`,children:[(0,b.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-sm border border-border bg-secondary px-1.5 py-0.5 font-mono text-code",children:[(0,b.jsx)(L.f,{"aria-hidden":"true",className:"size-3.5 text-muted-foreground"}),a]}),(0,b.jsx)("button",{type:"button","aria-label":`Clear ${a}`,onClick:d,className:"inline-flex size-7 items-center justify-center rounded-md hover:bg-accent disabled:opacity-60",children:(0,b.jsx)(M.X,{"aria-hidden":"true",className:"size-4"})})]})}function S({sendTo:a,onPick:c}){let[d,f]=(0,e.useState)(""),[g,h]=(0,e.useState)(!1),i="read"===a.kind?a.value.ships:[];return(0,b.jsxs)(A.f.Root,{inline:!0,open:g,onOpenChange:h,items:i,filteredItems:(0,z.t)(i,d),inputValue:d,onInputValueChange:a=>{f(a),h(!0)},itemToStringLabel:a=>a.name,value:null,onValueChange:a=>{null!==a&&c(a.name)},autoHighlight:!0,children:[(0,b.jsxs)("div",{className:`${Q} focus-within:border-ring focus-within:ring-2 focus-within:ring-ring/30`,children:[(0,b.jsx)(J.f,{"aria-hidden":"true",className:"size-4 text-muted-foreground"}),(0,b.jsx)(B.f.Input,{id:"bridge-send-to","data-testid":"bridge-send-to-search",placeholder:"Search your fleet's ships",onFocus:()=>{h(!0)},className:"h-9 w-full bg-transparent outline-none"})]}),g?(0,b.jsxs)("div",{"data-testid":"bridge-send-ships",className:"max-h-72 overflow-auto rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md",children:[(0,b.jsx)("div",{className:"px-2 py-1 text-caption text-muted-foreground",children:"Ships you can send to"}),(0,b.jsx)(C.f.Empty,{className:"px-2 py-1 text-muted-foreground",children:"reading"===a.kind?"Reading the ships you can send to...":"unreadable"===a.kind?a.message:"No ship you can send to matches."}),(0,b.jsx)(D.f.List,{children:a=>(0,b.jsxs)(E.f.Item,{value:a,className:"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 data-highlighted:bg-accent",children:[(0,b.jsx)(L.f,{"aria-hidden":"true",className:"size-4 text-muted-foreground"}),(0,b.jsx)("span",{className:"flex-1",children:a.name}),null===a.state?null:(0,b.jsx)("span",{className:`rounded-sm px-1 text-caption ${P[a.state]}`,children:O[a.state]})]},a.name)})]}):null]})}function T({phase:a}){switch(a.kind){case"writing":return null;case"sending":return(0,b.jsxs)("p",{role:"status","data-testid":"bridge-send-sending",className:"flex items-center gap-2",children:[(0,b.jsx)(H.f,{"aria-hidden":"true",className:"size-4 animate-spin text-tone-waiting-fg"}),"Sending. Bridge waits until the fleet has stored it."]});case"failed":return(0,b.jsxs)("p",{role:"alert","data-testid":"bridge-send-failure",className:"flex items-start gap-2 text-destructive-text",children:[(0,b.jsx)(F.f,{"aria-hidden":"true",className:"mt-0.5 size-4 shrink-0"}),"noAnswer"===a.failure.kind?"The fleet did not answer, so it may not be stored. Your message is kept here. Send again: it carries the same key, so it arrives once.":"Not sent. Your message is kept here: pick another ship, or cancel."]})}}function U({sendTo:a,to:c,isFromAlert:d,message:e,phase:f,onPick:g,onWrite:h,onSend:i,onClose:j}){let k="sending"===f.kind,l="failed"===f.kind?f.failure:void 0,m=l?.kind==="noAnswer",n="read"===a.kind?a.value.sentAs:void 0,o=k?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(H.f,{"aria-hidden":"true",className:"size-4 animate-spin"}),"Sending..."]}):m?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(I.f,{"aria-hidden":"true",className:"size-4"}),"Send again"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(K.f,{"aria-hidden":"true",className:"size-4"}),"Send"]}),p=k||!(0,z.f)({to:c,message:e})||l?.kind==="refused";return(0,b.jsxs)("form",{"data-testid":"bridge-send-form",className:"flex h-full flex-col",onSubmit:a=>{a.preventDefault(),p||i()},children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 border-b border-border px-4 py-3 sm:border-0 sm:px-5 sm:pt-5 sm:pb-0",children:[(0,b.jsx)("button",{type:"button","aria-label":"Close",onClick:j,className:"inline-flex size-8 items-center justify-center rounded-md hover:bg-accent disabled:opacity-60 sm:order-last sm:ml-auto",children:(0,b.jsx)(M.X,{"aria-hidden":"true",className:"size-5"})}),(0,b.jsx)("h2",{className:"text-heading font-semibold",children:"Send a ship a message"})]}),(0,b.jsxs)("div",{className:"grid flex-1 content-start gap-4 overflow-auto px-4 py-4 sm:px-5",children:[(0,b.jsxs)("div",{className:"grid gap-1.5",children:[(0,b.jsx)("label",{htmlFor:"bridge-send-to",className:"font-semibold",children:"To"}),null===c?(0,b.jsx)(S,{sendTo:a,onPick:g}):(0,b.jsx)(R,{to:c,isLocked:k,isRefused:l?.kind==="refused",onClear:()=>{g(null)}}),l?.kind==="refused"?(0,b.jsx)("span",{"data-testid":"bridge-send-refusal",className:"text-destructive-text",children:l.reason}):d&&null!==c&&"writing"===f.kind?(0,b.jsx)("span",{className:"text-caption text-muted-foreground",children:"Filled in from the alert; change it if you like."}):null]}),(0,b.jsxs)("div",{className:"grid gap-1.5",children:[(0,b.jsx)("label",{htmlFor:"bridge-send-message",className:"font-semibold",children:"Message"}),(0,b.jsx)("textarea",{id:"bridge-send-message","data-testid":"bridge-send-message",disabled:k,rows:5,value:e,placeholder:"Write what the ship should know or do.",onChange:a=>{h(a.target.value)},className:"min-h-32 rounded-md border border-input bg-background px-3 py-2 disabled:bg-muted disabled:text-muted-foreground"}),(0,b.jsx)("span",{className:"text-caption text-muted-foreground",children:"Text or Markdown, up to 256 KB."})]}),(0,b.jsx)(T,{phase:f})]}),(0,b.jsxs)("div",{className:"grid gap-3 border-t border-border px-4 py-3 sm:flex sm:items-center sm:justify-between sm:px-5",children:[(0,b.jsxs)("span",{className:"flex items-center gap-2 text-caption text-muted-foreground",children:[(0,b.jsx)(G.f,{"aria-hidden":"true",className:"size-4"}),void 0===n?"Sent as your person ship.":`Sent as ${n}, your person ship.`]}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsx)("button",{type:"button",disabled:k,onClick:j,className:"hidden h-9 items-center rounded-md px-4 font-medium hover:bg-accent disabled:opacity-60 sm:inline-flex",children:"Cancel"}),(0,b.jsx)("button",{type:"submit","data-testid":"bridge-send",disabled:p,"aria-busy":k,className:`${N.x.primary} h-11 w-full sm:h-9 sm:w-auto`,children:o})]})]})]})}var V=a.i(805),W=a.i(60232),X=a.i(62043),Y=a.i(11591),Z=a.i(58710),$=a.i(93294),_=a.i(94894),aa=a.i(97024);function ab(){let{toasts:a}=d.f.useToastManager();return(0,b.jsx)(V.f.Portal,{children:(0,b.jsx)(W.f.Viewport,{className:"fixed right-4 bottom-4 z-50 grid w-[min(24rem,calc(100vw-2rem))] gap-2",children:a.map(a=>(0,b.jsx)(X.f.Root,{toast:a,"data-testid":"bridge-send-toast",className:"rounded-lg border border-border bg-popover px-4 py-3 text-popover-foreground shadow-lg",children:(0,b.jsxs)(Y.f.Content,{className:"flex items-start gap-3",children:[(0,b.jsx)(aa.f,{"aria-hidden":"true",className:"mt-0.5 size-4 shrink-0 text-tone-ok-fg"}),(0,b.jsxs)("div",{className:"grid flex-1 gap-1",children:[(0,b.jsx)(Z.f.Title,{className:"font-semibold"}),(0,b.jsx)($.f.Description,{className:"text-muted-foreground"})]}),(0,b.jsx)(_.f.Close,{"aria-label":"Close",className:"inline-flex size-7 items-center justify-center rounded-md hover:bg-accent",children:(0,b.jsx)(M.X,{"aria-hidden":"true",className:"size-4"})})]})},a.id))})})}let ac=(0,e.createContext)(void 0);function ad(){return(0,e.useContext)(ac)}function ae({fleetId:a,children:c}){let[f,g]=(0,e.useState)(),[h,i]=(0,e.useState)({kind:"reading"}),j=(0,e.useRef)(null),k=(0,e.useRef)(0),[,l]=(0,e.useTransition)(),m=d.f.useToastManager(),n=()=>{g(void 0)};return(0,b.jsxs)(ac,{value:b=>{k.current+=1,j.current=null,g({to:b?.alertShip??null,isFromAlert:void 0!==b,message:"",phase:{kind:"writing"}}),i({kind:"reading"}),l(async()=>{let b=await (0,x.f)(a);i(b.isOk?{kind:"read",value:b.value}:{kind:"unreadable",message:b.message})})},children:[c,(0,b.jsx)(t.f.Root,{open:void 0!==f,onOpenChange:a=>{a||n()},children:(0,b.jsxs)(u.f.Portal,{children:[(0,b.jsx)(v.f.Backdrop,{className:"fixed inset-0 z-40 bg-(--overlay)"}),(0,b.jsx)(w.f.Popup,{"data-testid":"bridge-send-dialog","aria-label":"Send a ship a message",initialFocus:()=>document.getElementById(f?.to===null?"bridge-send-to":"bridge-send-message"),className:"fixed inset-0 z-50 bg-popover text-popover-foreground sm:inset-auto sm:top-[10vh] sm:left-1/2 sm:max-h-[80vh] sm:w-[min(34rem,calc(100vw-2rem))] sm:-translate-x-1/2 sm:overflow-auto sm:rounded-lg sm:border sm:border-border sm:shadow-lg",children:void 0===f?null:(0,b.jsx)(U,{sendTo:h,to:f.to,isFromAlert:f.isFromAlert,message:f.message,phase:f.phase,onPick:a=>{g({...f,to:a,isFromAlert:!1,phase:{kind:"writing"}})},onWrite:a=>{g({...f,message:a,phase:"failed"===f.phase.kind&&"refused"===f.phase.failure.kind?f.phase:{kind:"writing"}})},onSend:()=>{var b;let c,d;null!==f.to&&(b={...f,to:f.to},c=(0,z.g)({last:j.current,to:b.to,message:b.message,newKey:crypto.randomUUID()}),j.current={key:c,to:b.to,message:b.message},g({...b,phase:{kind:"sending"}}),d=k.current,l(async()=>{let e=await (0,y.f)({fleet:a,to:b.to,payload:b.message,idempotencyKey:c}),f=k.current!==d;if(e.isOk){f||g(void 0);let a="read"===h.kind?h.value.sentAs:"your person ship";m.add({...(0,z.q)({to:b.to,sentAs:a,storedAt:e.value.storedAt}),timeout:0})}else f||g({...b,phase:{kind:"failed",failure:(0,z.S)(e)}})}))},onClose:n})})]})}),(0,b.jsx)(ab,{})]})}function af({fleetId:a,children:d}){return(0,b.jsx)(c.f.Provider,{children:(0,b.jsx)(ae,{fleetId:a,children:d})})}a.s(["T",0,af,"P",0,ad],34129);var ag=a.i(18145);function ah({fleetId:a,decidePlaces:c,consoleUrl:t,children:u}){let v=d.f.useToastManager(),w=ad(),[x,y]=(0,e.useState)(),[z,A]=(0,e.useState)(""),[B,C]=(0,e.useState)(),[D,E]=(0,e.useState)(),[F,G]=(0,e.useState)(),[H,I]=(0,e.useState)(),[J,K]=(0,e.useState)(),[L,M]=(0,e.useState)(),[,N]=(0,e.useTransition)(),[O,P]=(0,e.useState)(0);(0,ag.R)(void 0===x?void 0:(0,o.u)(x.opened.job),()=>{y(void 0)});let Q=b=>{C(b.deliveryId),I(void 0),M(void 0),N(async()=>{let c=await (0,j.f)(a,b.deliveryId);if(C(void 0),c.isOk){let a=b.inBasket??null;y({delivery:c.value,opened:{job:b.job,isAlert:b.isAlert??!1,wasNew:"seen"!==b.state},inBasket:a,finished:null}),A(a?.note??""),K(void 0)}else I({deliveryId:b.deliveryId,message:c.message})})},R=({control:a,action:b,onSettled:c})=>{G(a),K(void 0),N(async()=>{let a=await b();G(void 0),a.isOk?c(a.value):K(a.message)})},S=a=>()=>{y(void 0),M(a)},T=void 0===x?void 0:{deliveryId:x.delivery.deliveryId,job:x.opened.job};return(0,b.jsx)(r.f,{list:(0,b.jsxs)("div",{className:"grid gap-4",children:[void 0===L?null:(0,b.jsx)(s.f,{message:L,isFailure:!1}),u({open:Q,openingId:B,putPick:(b,c)=>{E(b.deliveryId),I(void 0),M(void 0),N(async()=>{let d=await (0,l.f)({fleet:a,deliveryId:b.deliveryId,option:c});E(void 0),d.isOk?(M(`Option ${String(c)} is in the basket, not sent: ${b.from} receives it when you send the basket.`),P(a=>a+1)):I({deliveryId:b.deliveryId,message:d.message})})},puttingId:D,failure:H,opened:T})]},O),item:void 0===x?void 0:(({delivery:d,inBasket:e,opened:j,finished:l})=>{let o=d.question?.id;return(0,b.jsx)(q.u,{delivery:d,opened:j,meetingHref:void 0===d.meetingId?void 0:(0,f.f)({fleetId:a,meetingId:d.meetingId}),consoleUrl:t,basketHref:(0,g.f)(n.H,a),inBasket:e,finished:l,places:c,note:z,working:F,failure:J,onNoteChange:A,onAnswer:b=>{R({control:void 0===b?{kind:"note"}:{kind:"option",option:b},action:()=>(0,h.f)({fleet:a,deliveryId:d.deliveryId,input:{questionId:d.question?.id,option:b,note:z}}),onSettled:S(`Your answer went to ${d.from}.`)})},onPut:b=>{R({control:null===b?{kind:"note"}:{kind:"option",option:b},action:()=>(0,k.f)({fleet:a,deliveryId:d.deliveryId,option:b,optionLabel:d.question?.options.find(({key:a})=>a===b)?.label??null,note:z}),onSettled:a=>{y({delivery:d,opened:j,finished:l,inBasket:a}),v.add((0,p.f)(a.option))}})},onRemove:()=>{void 0!==o&&R({control:{kind:"remove"},action:()=>(0,m.f)(a,o),onSettled:S(`Your answer to “${d.title}” is out of the basket; the question still waits on you.`)})},onDone:()=>{R({control:{kind:"done"},action:()=>(0,i.f)({fleet:a,deliveryId:d.deliveryId}),onSettled:S(`Done with “${d.title}”.`)})},onFinishStep:b=>{R({control:{kind:b},action:()=>(0,i.f)({fleet:a,deliveryId:d.deliveryId,step:{outcome:b,note:z}}),onSettled:()=>{y({delivery:d,inBasket:e,opened:j,finished:{outcome:b,note:z.trim(),at:new Date().toISOString()}})}})},onOpen:a=>{Q({deliveryId:a,job:j.job})},onSendMessage:void 0===d.alertShip||void 0===w?void 0:a=>{w({alertShip:a})},onBack:()=>{y(void 0)}},d.deliveryId)})(x)})}a.s(["f",0,function({fleetId:a,decidePlaces:d,consoleUrl:e,children:f}){return(0,b.jsx)(af,{fleetId:a,children:(0,b.jsxs)(c.f.Provider,{children:[(0,b.jsx)(ah,{fleetId:a,decidePlaces:d,consoleUrl:e,children:f}),(0,b.jsx)(p.o,{})]})})}],91777)},86970,93294,32024,95900,48514,48819,a=>{var b=a.i(87924),c=a.i(76983),d=a.i(805),e=a.i(60232),f=a.i(62043),g=a.i(11591),h=a.i(58710),i=a.i(64267);a.s(["f",0,i],93294);var i=i,j=a.i(55596);a.s(["o",0,function(){let{toasts:a}=c.f.useToastManager();return(0,b.jsx)(d.f.Portal,{children:(0,b.jsx)(e.f.Viewport,{className:"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid",children:a.map(a=>(0,b.jsxs)(f.f.Root,{toast:a,"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,b.jsx)(j.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0"}),(0,b.jsxs)(g.f.Content,{className:"grid flex-1 gap-1",children:[(0,b.jsx)(h.f.Title,{className:"font-medium"}),(0,b.jsx)(i.Description,{className:"text-caption text-muted-foreground"})]})]},a.id))})})},"f",0,function(a){return{title:null===a?"Your note alone in the basket":`Option ${String(a)} in the basket`,description:"Not sent. Still waiting on you until you send it."}}],86970);var k=a.i(5050);let l=(0,k.createServerReference)("4053d936439268d18b4bb24ccb80741d4998f4a69e",k.callServer,void 0,k.findSourceMapURL,"readSendTo");a.s(["f",0,l],32024);let m=(0,k.createServerReference)("4085d7bd3cb14a5b63344a43b7dfdb8f4079e95e2a",k.callServer,void 0,k.findSourceMapURL,"sendShipMessage");a.s(["f",0,m],95900);var n=a.i(46059),o=a.i(98868);let p=new Set(["BAD_REQUEST","FORBIDDEN"]);n.z.object({ship:n.z.object({name:o.z.string().min(1)})}),a.s(["f",0,function({to:a,message:b}){return null!==a&&""!==b.trim()},"g",0,function({last:a,to:b,message:c,newKey:d}){return null!==a&&a.to===b&&a.message===c?a.key:d},"S",0,function({code:a,message:b}){return void 0!==a&&p.has(a)?{kind:"refused",reason:b}:{kind:"noAnswer"}},"q",0,function({to:a,sentAs:b,storedAt:c}){return{title:`Sent to ${a}`,description:`Stored by the fleet at ${new Date(c).toISOString().slice(11,16)} UTC, sent as ${b}. ${a} receives it when it next looks.`}},"t",0,function(a,b){let c=b.trim().toLowerCase();return""===c?a:a.filter(({name:a})=>a.toLowerCase().includes(c))}],48514);var q=a.i(64831);let r={name:"rotate-cw",size:24,node:[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]};r.node;let s=(0,q.f)(r);a.s(["f",0,s],48819)},52779,50958,83417,26914,84122,41668,a=>{a.s(["f",0,function(a){let b=new URLSearchParams({fleet:a.fleetId,...void 0===a.cursor?{}:{cursor:a.cursor}});return`/meetings/${encodeURIComponent(a.meetingId)}?${b.toString()}`}],52779);var b=a.i(5050);let c=(0,b.createServerReference)("40fb3c9b60f409e9d7f4301b0cd5dbbb0079b0b5ea",b.callServer,void 0,b.findSourceMapURL,"answerDelivery");a.s(["f",0,c],50958);let d=(0,b.createServerReference)("4012c933c13b7b99c26d61a5bed3d60ed41fd5e253",b.callServer,void 0,b.findSourceMapURL,"doneDelivery");a.s(["f",0,d],83417);let e=(0,b.createServerReference)("609a2b2041824dadd08bf54ae421b7d5f7088bab02",b.callServer,void 0,b.findSourceMapURL,"openDelivery");a.s(["f",0,e],26914);let f=(0,b.createServerReference)("407a6fe3f2e6041fa40819ae482a35a393193dd1b9",b.callServer,void 0,b.findSourceMapURL,"putInBasket");a.s(["f",0,f],84122);let g=(0,b.createServerReference)("40b3a7c25633f32ede1058cdd28484f56b049150d9",b.callServer,void 0,b.findSourceMapURL,"putPickInBasket");a.s(["f",0,g],41668)}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1kdx8a0j5cxyl._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../web/features/bridge/hooks/data%3Aec69f1%20%3Ctext/javascript%3E","../../../../../web/features/bridge/state/item-focus.tsx","../../../../../web/features/bridge/state/send-message.tsx","../../../../../web/features/bridge/ui/send-message-form.tsx","../../../../../web/features/bridge/fleet/services/your-fleet.ts","../../../../../web/features/bridge/ui/sent-toasts.tsx","../../../../../web/features/bridge/ui/basket-toast.tsx","../../../../../web/features/bridge/hooks/data%3A166cc1%20%3Ctext/javascript%3E","../../../../../web/features/bridge/hooks/data%3Ac46319%20%3Ctext/javascript%3E","../../../../../web/features/bridge/services/send-message.ts","../../../../../node_modules/lucide-react/src/icons/rotate-cw.ts","../../../../../web/features/meeting/paths.ts","../../../../../web/features/bridge/hooks/data%3Ac799cc%20%3Ctext/javascript%3E","../../../../../web/features/bridge/hooks/data%3A4804cc%20%3Ctext/javascript%3E","../../../../../web/features/bridge/hooks/data%3Afcc169%20%3Ctext/javascript%3E","../../../../../web/features/bridge/hooks/data%3Ab1e0af%20%3Ctext/javascript%3E","../../../../../web/features/bridge/hooks/data%3Ae00c67%20%3Ctext/javascript%3E"],"sourcesContent":["/* __next_internal_action_entry_do_not_use__ [{\"6050935e24e32a35e279e7c292c8a9aa38508db651\":{\"name\":\"removeFromBasket\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_5=/*#__PURE__*/createServerReference(\"6050935e24e32a35e279e7c292c8a9aa38508db651\",callServer,void 0,findSourceMapURL,\"removeFromBasket\");export{$$RSC_SERVER_ACTION_5 as removeFromBasket};","'use client';\n\nimport { Toast } from '@base-ui/react/toast';\nimport { useState, useTransition, type ReactNode } from 'react';\n\nimport { meetingPathOf } from '../../meeting/paths';\nimport { inFleet } from '../../../lib/gateway-api/page-account';\nimport { answerDelivery, doneDelivery, openDelivery, putInBasket, putPickInBasket, removeFromBasket, type ActionOutcome } from '../hooks/bridge-actions';\nimport { BRIDGE_BASKET_PATH } from '../paths';\nimport type { FocusedDelivery } from '../services/deliveries';\nimport { openedScreenOf } from '../services/shell';\nimport type { HomeItem } from '../services/items';\nimport type { RoutedPlace } from '../services/routing';\nimport { BasketToasts, putToastOf } from '../ui/basket-toast';\nimport { DeliveryCard, type DeliveryControl, type InBasket, type Opened, type StepFinished } from '../ui/delivery-card';\nimport { ItemSplit } from '../ui/item-split';\nimport { Notice } from '../ui/notice';\nimport { SendMessageProvider, useSendMessage } from './send-message';\nimport { useOpenedItem } from './opened-item';\n\n/** An item to open: by its delivery, with its job, whether an alert, whether it was new, and the answer to it in the basket, if any. A replacement opened from its stale item is new. */\nexport interface ToOpen {\n readonly deliveryId: string;\n readonly job: HomeItem['job'];\n readonly isAlert?: boolean;\n readonly state?: HomeItem['state'];\n readonly inBasket?: InBasket | null;\n}\n\n/** A question to put its asker's pick in the basket from its row: by its delivery, from its asker. */\nexport interface ToPut {\n readonly deliveryId: string;\n readonly from: string;\n}\n\n/** What a list of items gets to open one or put a pick in the basket from its row: the presses, the one opening or putting, and why one could not be. */\nexport interface ItemOpening {\n readonly open: (item: ToOpen) => void;\n readonly openingId: string | undefined;\n readonly putPick: (item: ToPut, option: number) => void;\n readonly puttingId: string | undefined;\n readonly failure: { deliveryId: string; message: string } | undefined;\n /** The item open beside the list, by its delivery and job; none while the list is shown alone. */\n readonly opened: { readonly deliveryId: string; readonly job: HomeItem['job'] } | undefined;\n}\n\n/**\n * A list of Bridge's items with one in focus at a time. Opening is the\n * person's own act, so it is a press, never a link: the gateway acknowledges\n * the item for them, and it is shown whole. An alert or a notice seen is\n * done at once (CC16), so it shows with no answer to give, as does a\n * question its asker withdrew or replaced; a replaced one opens its\n * replacement. A step ends done or cannot with the note, sent at once,\n * never through the basket (CC23), and stays open showing its outcome. A question's answer goes in the basket (CC24): the\n * question stays open saying so, with a toast (basket.html), and comes out\n * of it there; from its row, a new question's pick goes in it at once, opened by the same press. Answering or being done says so in place, and the page reads\n * itself again. A question names where it shows when the page read its places.\n * An opened alert offers to send its ship a message, as home offers to send\n * any ship one (aeolus-fleet #1547). The open item shows beside its list on\n * a desktop, and on its own screen on a phone (aeolus-fleet#1538).\n */\nexport function ItemFocus({ fleetId, decidePlaces, consoleUrl, children }: { fleetId: string; decidePlaces?: readonly RoutedPlace[]; /** The fleet's console, where an opened alert's ship shows its Health. */ consoleUrl?: string; children: (opening: ItemOpening) => ReactNode }) {\n return (\n <SendMessageProvider fleetId={fleetId}>\n <Toast.Provider>\n <FocusedItems fleetId={fleetId} decidePlaces={decidePlaces} consoleUrl={consoleUrl}>{children}</FocusedItems>\n <BasketToasts />\n </Toast.Provider>\n </SendMessageProvider>\n );\n}\n\nfunction FocusedItems({ fleetId, decidePlaces, consoleUrl, children }: { fleetId: string; decidePlaces?: readonly RoutedPlace[]; consoleUrl?: string; children: (opening: ItemOpening) => ReactNode }) {\n const toasts = Toast.useToastManager();\n const sendMessage = useSendMessage();\n const [focus, setFocus] = useState<{ delivery: FocusedDelivery; opened: Opened; inBasket: InBasket | null; finished: StepFinished | null } | undefined>();\n const [note, setNote] = useState('');\n const [openingId, setOpeningId] = useState<string | undefined>();\n const [puttingId, setPuttingId] = useState<string | undefined>();\n const [working, setWorking] = useState<DeliveryControl | undefined>();\n const [openFailure, setOpenFailure] = useState<{ deliveryId: string; message: string } | undefined>();\n const [failure, setFailure] = useState<string | undefined>();\n const [done, setDone] = useState<string | undefined>();\n const [, startTransition] = useTransition();\n // Each pick put from a row shows the list anew, as it is after a card: it reads the page as the action left it.\n const [shownTimes, setShownTimes] = useState(0);\n useOpenedItem(focus === undefined ? undefined : openedScreenOf(focus.opened.job), () => {\n setFocus(undefined);\n });\n\n const open = (item: ToOpen) => {\n setOpeningId(item.deliveryId);\n setOpenFailure(undefined);\n setDone(undefined);\n startTransition(async () => {\n const outcome = await openDelivery(fleetId, item.deliveryId);\n setOpeningId(undefined);\n if (outcome.isOk) {\n const inBasket = item.inBasket ?? null;\n setFocus({ delivery: outcome.value, opened: { job: item.job, isAlert: item.isAlert ?? false, wasNew: item.state !== 'seen' }, inBasket, finished: null });\n setNote(inBasket?.note ?? '');\n setFailure(undefined);\n } else {\n setOpenFailure({ deliveryId: item.deliveryId, message: outcome.message });\n }\n });\n };\n\n /** Opens a question and puts its asker's pick in the basket, with no note, from its row: nothing is sent (CC24). */\n const putPick = (item: ToPut, option: number) => {\n setPuttingId(item.deliveryId);\n setOpenFailure(undefined);\n setDone(undefined);\n startTransition(async () => {\n const outcome = await putPickInBasket({ fleet: fleetId, deliveryId: item.deliveryId, option });\n setPuttingId(undefined);\n if (outcome.isOk) {\n setDone(`Option ${String(option)} is in the basket, not sent: ${item.from} receives it when you send the basket.`);\n setShownTimes((times) => times + 1);\n } else {\n setOpenFailure({ deliveryId: item.deliveryId, message: outcome.message });\n }\n });\n };\n\n const settle = <T,>({ control, action, onSettled }: { control: DeliveryControl; action: () => Promise<ActionOutcome<T>>; onSettled: (value: T) => void }) => {\n setWorking(control);\n setFailure(undefined);\n startTransition(async () => {\n const outcome = await action();\n setWorking(undefined);\n if (outcome.isOk) {\n onSettled(outcome.value);\n } else {\n setFailure(outcome.message);\n }\n });\n };\n\n /** Back to the list, saying what was done. */\n const leave = (said: string) => () => {\n setFocus(undefined);\n setDone(said);\n };\n\n const cardOf = ({ delivery, inBasket, opened, finished }: NonNullable<typeof focus>) => {\n const questionId = delivery.question?.id;\n return (\n <DeliveryCard\n key={delivery.deliveryId}\n delivery={delivery}\n opened={opened}\n meetingHref={delivery.meetingId === undefined ? undefined : meetingPathOf({ fleetId, meetingId: delivery.meetingId })}\n consoleUrl={consoleUrl}\n basketHref={inFleet(BRIDGE_BASKET_PATH, fleetId)}\n inBasket={inBasket}\n finished={finished}\n places={decidePlaces}\n note={note}\n working={working}\n failure={failure}\n onNoteChange={setNote}\n onAnswer={(option) => { settle({ control: option === undefined ? { kind: 'note' } : { kind: 'option', option }, action: () => answerDelivery({ fleet: fleetId, deliveryId: delivery.deliveryId, input: { questionId: delivery.question?.id, option, note } }), onSettled: leave(`Your answer went to ${delivery.from}.`) }); }\n }\n onPut={(option) => { settle({ control: option === null ? { kind: 'note' } : { kind: 'option', option }, action: () => putInBasket({ fleet: fleetId, deliveryId: delivery.deliveryId, option, optionLabel: delivery.question?.options.find(({ key }) => key === option)?.label ?? null, note }), onSettled: (put) => {\n setFocus({ delivery, opened, finished, inBasket: put });\n toasts.add(putToastOf(put.option));\n } }); }}\n onRemove={() => {\n if (questionId !== undefined) {\n settle({ control: { kind: 'remove' }, action: () => removeFromBasket(fleetId, questionId), onSettled: leave(`Your answer to “${delivery.title}” is out of the basket; the question still waits on you.`) });\n }\n }}\n onDone={() => { settle({ control: { kind: 'done' }, action: () => doneDelivery({ fleet: fleetId, deliveryId: delivery.deliveryId }), onSettled: leave(`Done with “${delivery.title}”.`) }); }}\n onFinishStep={(outcome) => {\n settle({\n control: { kind: outcome },\n action: () => doneDelivery({ fleet: fleetId, deliveryId: delivery.deliveryId, step: { outcome, note } }),\n onSettled: () => { setFocus({ delivery, inBasket, opened, finished: { outcome, note: note.trim(), at: new Date().toISOString() } }); },\n });\n }}\n onOpen={(deliveryId) => { open({ deliveryId, job: opened.job }); }}\n onSendMessage={delivery.alertShip === undefined || sendMessage === undefined ? undefined : (alertShip) => { sendMessage({ alertShip }); }}\n onBack={() => { setFocus(undefined); }}\n />\n );\n };\n\n const opened = focus === undefined ? undefined : { deliveryId: focus.delivery.deliveryId, job: focus.opened.job };\n return (\n <ItemSplit\n list={\n <div key={shownTimes} className=\"grid gap-4\">\n {done === undefined ? null : <Notice message={done} isFailure={false} />}\n {children({ open, openingId, putPick, puttingId, failure: openFailure, opened })}\n </div>\n }\n item={focus === undefined ? undefined : cardOf(focus)}\n />\n );\n}\n","'use client';\n\nimport { Dialog } from '@base-ui/react/dialog';\nimport { Toast } from '@base-ui/react/toast';\nimport { createContext, useContext, useRef, useState, useTransition, type ReactNode } from 'react';\n\nimport { readSendTo, sendShipMessage } from '../hooks/bridge-actions';\nimport { keyToSend, sendFailureOf, sentNoticeOf, type LastSend } from '../services/send-message';\nimport { SendMessageForm, type SendPhase, type SendToRead } from '../ui/send-message-form';\nimport { SentToasts } from '../ui/sent-toasts';\n\n/** Opens the form to send a ship a message, with the ship filled in when it opens from an alert. */\ntype OpenSendMessage = (from?: { alertShip: string }) => void;\n\nconst SendMessageContext = createContext<OpenSendMessage | undefined>(undefined);\n\n/** The opener of the form to send a ship a message, where a page offers it. */\nexport function useSendMessage(): OpenSendMessage | undefined {\n return useContext(SendMessageContext);\n}\n\n/** The form as it stands while open. */\ninterface Draft {\n readonly to: string | null;\n readonly isFromAlert: boolean;\n readonly message: string;\n readonly phase: SendPhase;\n}\n\n/**\n * Bridge's form to send a ship a message (aeolus-fleet #1547,\n * send-message.html), for the pages under it to open: from home, or from an\n * opened alert with its ship filled in. Opening reads who the person can\n * send to; Send goes as the person ship and waits until the fleet stored\n * it, then closes with a toast. It opens on what the person fills in first:\n * the ship from home, the message from an alert. A message is not an answer, so it never\n * goes through the basket. Cancel or close keeps nothing. Closed while it\n * sends, the send goes on: stored, the toast says so; failed, the form\n * opens again with the message kept, unless the person opened it anew. A send sent again\n * with the same ship and message carries the same key, so it arrives once.\n */\nfunction SendMessageDialog({ fleetId, children }: { fleetId: string; children: ReactNode }) {\n const [draft, setDraft] = useState<Draft | undefined>();\n const [sendTo, setSendTo] = useState<SendToRead>({ kind: 'reading' });\n const lastSend = useRef<LastSend | null>(null);\n /** How many times the form opened: a send answered after the person opened it anew leaves the new form alone. */\n const openings = useRef(0);\n const [, startTransition] = useTransition();\n const toasts = Toast.useToastManager();\n\n const open: OpenSendMessage = (from) => {\n openings.current += 1;\n lastSend.current = null;\n setDraft({ to: from?.alertShip ?? null, isFromAlert: from !== undefined, message: '', phase: { kind: 'writing' } });\n setSendTo({ kind: 'reading' });\n startTransition(async () => {\n const read = await readSendTo(fleetId);\n setSendTo(read.isOk ? { kind: 'read', value: read.value } : { kind: 'unreadable', message: read.message });\n });\n };\n\n const close = () => {\n setDraft(undefined);\n };\n\n const send = (sending: Draft & { to: string }) => {\n const key = keyToSend({ last: lastSend.current, to: sending.to, message: sending.message, newKey: crypto.randomUUID() });\n lastSend.current = { key, to: sending.to, message: sending.message };\n setDraft({ ...sending, phase: { kind: 'sending' } });\n const opening = openings.current;\n startTransition(async () => {\n const sent = await sendShipMessage({ fleet: fleetId, to: sending.to, payload: sending.message, idempotencyKey: key });\n const isOpenedAnew = openings.current !== opening;\n if (sent.isOk) {\n if (!isOpenedAnew) {\n setDraft(undefined);\n }\n const sentAs = sendTo.kind === 'read' ? sendTo.value.sentAs : 'your person ship';\n toasts.add({ ...sentNoticeOf({ to: sending.to, sentAs, storedAt: sent.value.storedAt }), timeout: 0 });\n } else if (!isOpenedAnew) {\n setDraft({ ...sending, phase: { kind: 'failed', failure: sendFailureOf(sent) } });\n }\n });\n };\n\n return (\n <SendMessageContext value={open}>\n {children}\n <Dialog.Root\n open={draft !== undefined}\n onOpenChange={(isOpen) => {\n if (!isOpen) {\n close();\n }\n }}\n >\n <Dialog.Portal>\n <Dialog.Backdrop className=\"fixed inset-0 z-40 bg-(--overlay)\" />\n <Dialog.Popup\n data-testid=\"bridge-send-dialog\"\n aria-label=\"Send a ship a message\"\n initialFocus={() => document.getElementById(draft?.to === null ? 'bridge-send-to' : 'bridge-send-message')}\n className=\"fixed inset-0 z-50 bg-popover text-popover-foreground sm:inset-auto sm:top-[10vh] sm:left-1/2 sm:max-h-[80vh] sm:w-[min(34rem,calc(100vw-2rem))] sm:-translate-x-1/2 sm:overflow-auto sm:rounded-lg sm:border sm:border-border sm:shadow-lg\"\n >\n {draft === undefined ? null : (\n <SendMessageForm\n sendTo={sendTo}\n to={draft.to}\n isFromAlert={draft.isFromAlert}\n message={draft.message}\n phase={draft.phase}\n onPick={(to) => { setDraft({ ...draft, to, isFromAlert: false, phase: { kind: 'writing' } }); }}\n onWrite={(message) => { setDraft({ ...draft, message, phase: draft.phase.kind === 'failed' && draft.phase.failure.kind === 'refused' ? draft.phase : { kind: 'writing' } }); }}\n onSend={() => {\n if (draft.to !== null) {\n send({ ...draft, to: draft.to });\n }\n }}\n onClose={close}\n />\n )}\n </Dialog.Popup>\n </Dialog.Portal>\n </Dialog.Root>\n <SentToasts />\n </SendMessageContext>\n );\n}\n\n/** Offers the pages under it the form to send a ship a message, and the toasts it raises once a message is stored. */\nexport function SendMessageProvider({ fleetId, children }: { fleetId: string; children: ReactNode }) {\n return (\n <Toast.Provider>\n <SendMessageDialog fleetId={fleetId}>{children}</SendMessageDialog>\n </Toast.Provider>\n );\n}\n","'use client';\n\nimport { Combobox } from '@base-ui/react/combobox';\nimport { CircleAlert, Info, LoaderCircle, RotateCw, Search, Send, Ship, X } from 'lucide-react';\nimport { useState } from 'react';\n\nimport { BUTTONS } from '../../forms/ui/look';\nimport { STATE_LABELS, type ShipState } from '../fleet/services/your-fleet';\nimport { isSendable, shipsMatching, type SendableShip, type SendFailure } from '../services/send-message';\n\n/** Where the form stands: written in, on its way to the fleet, or failed, kept for the person. */\nexport type SendPhase = { readonly kind: 'writing' } | { readonly kind: 'sending' } | { readonly kind: 'failed'; readonly failure: SendFailure };\n\n/** Who the person can send to, as the form read it on opening: reading, read, or why it could not be read. */\nexport type SendToRead =\n | { readonly kind: 'reading' }\n | { readonly kind: 'read'; readonly value: { readonly sentAs: string; readonly ships: readonly SendableShip[] } }\n | { readonly kind: 'unreadable'; readonly message: string };\n\n/** Each state's tone, as Your fleet colours its word. */\nconst STATE_TONES: Record<ShipState, string> = {\n alert: 'bg-tone-attention-bg text-tone-attention-fg',\n waiting: 'bg-tone-waiting-bg text-tone-waiting-fg',\n working: 'bg-tone-ok-bg text-tone-ok-fg',\n idle: 'bg-tone-ended-bg text-tone-ended-fg',\n};\n\nconst FIELD = 'flex min-h-9 w-full items-center gap-2 rounded-md border border-input bg-background px-2';\n\n/** The ship picked, as a chip with its ship mark, and the button that clears it, on even while the form sends, as drawn. */\nfunction PickedShip({ to, isLocked, onClear, isRefused }: { to: string; isLocked: boolean; onClear: () => void; isRefused: boolean }) {\n return (\n <div data-testid=\"bridge-send-to\" className={`${FIELD} justify-between py-1 ${isLocked ? 'bg-muted' : ''} ${isRefused ? 'border-destructive ring-2 ring-tone-attention-border' : ''}`}>\n <span className=\"inline-flex items-center gap-1.5 rounded-sm border border-border bg-secondary px-1.5 py-0.5 font-mono text-code\">\n <Ship aria-hidden=\"true\" className=\"size-3.5 text-muted-foreground\" />\n {to}\n </span>\n <button type=\"button\" aria-label={`Clear ${to}`} onClick={onClear} className=\"inline-flex size-7 items-center justify-center rounded-md hover:bg-accent disabled:opacity-60\">\n <X aria-hidden=\"true\" className=\"size-4\" />\n </button>\n </div>\n );\n}\n\n/**\n * Picks the ship to send to, filtered as the person types: the ships their\n * person ship may send to. The list opens in the form, under To and at its\n * full width, pushing Message down, as drawn.\n */\nfunction ShipSearch({ sendTo, onPick }: { sendTo: SendToRead; onPick: (to: string) => void }) {\n const [typed, setTyped] = useState('');\n const [isListOpen, setIsListOpen] = useState(false);\n const ships = sendTo.kind === 'read' ? sendTo.value.ships : [];\n return (\n <Combobox.Root\n inline\n open={isListOpen}\n onOpenChange={setIsListOpen}\n items={ships}\n filteredItems={shipsMatching(ships, typed)}\n inputValue={typed}\n onInputValueChange={(value: string) => {\n setTyped(value);\n setIsListOpen(true);\n }}\n itemToStringLabel={(ship: SendableShip) => ship.name}\n value={null}\n onValueChange={(picked: SendableShip | null) => {\n if (picked !== null) {\n onPick(picked.name);\n }\n }}\n autoHighlight\n >\n <div className={`${FIELD} focus-within:border-ring focus-within:ring-2 focus-within:ring-ring/30`}>\n <Search aria-hidden=\"true\" className=\"size-4 text-muted-foreground\" />\n <Combobox.Input id=\"bridge-send-to\" data-testid=\"bridge-send-to-search\" placeholder=\"Search your fleet's ships\" onFocus={() => { setIsListOpen(true); }} className=\"h-9 w-full bg-transparent outline-none\" />\n </div>\n {isListOpen ? (\n <div data-testid=\"bridge-send-ships\" className=\"max-h-72 overflow-auto rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md\">\n <div className=\"px-2 py-1 text-caption text-muted-foreground\">Ships you can send to</div>\n <Combobox.Empty className=\"px-2 py-1 text-muted-foreground\">\n {sendTo.kind === 'reading' ? 'Reading the ships you can send to...' : sendTo.kind === 'unreadable' ? sendTo.message : 'No ship you can send to matches.'}\n </Combobox.Empty>\n <Combobox.List>\n {(ship: SendableShip) => (\n <Combobox.Item key={ship.name} value={ship} className=\"flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 data-highlighted:bg-accent\">\n <Ship aria-hidden=\"true\" className=\"size-4 text-muted-foreground\" />\n <span className=\"flex-1\">{ship.name}</span>\n {ship.state === null ? null : <span className={`rounded-sm px-1 text-caption ${STATE_TONES[ship.state]}`}>{STATE_LABELS[ship.state]}</span>}\n </Combobox.Item>\n )}\n </Combobox.List>\n </div>\n ) : null}\n </Combobox.Root>\n );\n}\n\n/** What the form says under the message: sending, or why the last send failed and what the person can do. */\nfunction PhaseLine({ phase }: { phase: SendPhase }) {\n switch (phase.kind) {\n case 'writing':\n return null;\n case 'sending':\n return (\n <p role=\"status\" data-testid=\"bridge-send-sending\" className=\"flex items-center gap-2\">\n <LoaderCircle aria-hidden=\"true\" className=\"size-4 animate-spin text-tone-waiting-fg\" />\n Sending. Bridge waits until the fleet has stored it.\n </p>\n );\n case 'failed':\n return (\n <p role=\"alert\" data-testid=\"bridge-send-failure\" className=\"flex items-start gap-2 text-destructive-text\">\n <CircleAlert aria-hidden=\"true\" className=\"mt-0.5 size-4 shrink-0\" />\n {phase.failure.kind === 'noAnswer' ? 'The fleet did not answer, so it may not be stored. Your message is kept here. Send again: it carries the same key, so it arrives once.' : 'Not sent. Your message is kept here: pick another ship, or cancel.'}\n </p>\n );\n }\n}\n\n/**\n * The form to send a ship a message (send-message.html), inside its dialog:\n * To, the ship picked or searched among those the person ship may send to;\n * the message; and Send, off until both are there. While it sends the form\n * locks. Failed, the message stays: no answer offers Send again, under the\n * same key; a refusal says the fleet's reason under To, for another ship\n * to be picked. Sending locks the message, Cancel and Send only; Close and\n * the clear of the ship stay on, as drawn. The line saying the ship came\n * from the alert goes once a send was tried. On the phone it fills the\n * screen, Send full width.\n */\nexport function SendMessageForm({\n sendTo,\n to,\n isFromAlert,\n message,\n phase,\n onPick,\n onWrite,\n onSend,\n onClose,\n}: {\n sendTo: SendToRead;\n to: string | null;\n /** Whether To was filled in from an opened alert and not changed since. */\n isFromAlert: boolean;\n message: string;\n phase: SendPhase;\n onPick: (to: string | null) => void;\n onWrite: (message: string) => void;\n onSend: () => void;\n onClose: () => void;\n}) {\n const isSending = phase.kind === 'sending';\n const failure = phase.kind === 'failed' ? phase.failure : undefined;\n const isNoAnswer = failure?.kind === 'noAnswer';\n const sentAs = sendTo.kind === 'read' ? sendTo.value.sentAs : undefined;\n const sendLabel = isSending ? (\n <>\n <LoaderCircle aria-hidden=\"true\" className=\"size-4 animate-spin\" />\n Sending...\n </>\n ) : isNoAnswer ? (\n <>\n <RotateCw aria-hidden=\"true\" className=\"size-4\" />\n Send again\n </>\n ) : (\n <>\n <Send aria-hidden=\"true\" className=\"size-4\" />\n Send\n </>\n );\n const isSendOff = isSending || !isSendable({ to, message }) || failure?.kind === 'refused';\n return (\n <form\n data-testid=\"bridge-send-form\"\n className=\"flex h-full flex-col\"\n onSubmit={(event) => {\n event.preventDefault();\n if (!isSendOff) {\n onSend();\n }\n }}\n >\n <div className=\"flex items-center gap-3 border-b border-border px-4 py-3 sm:border-0 sm:px-5 sm:pt-5 sm:pb-0\">\n <button type=\"button\" aria-label=\"Close\" onClick={onClose} className=\"inline-flex size-8 items-center justify-center rounded-md hover:bg-accent disabled:opacity-60 sm:order-last sm:ml-auto\">\n <X aria-hidden=\"true\" className=\"size-5\" />\n </button>\n <h2 className=\"text-heading font-semibold\">Send a ship a message</h2>\n </div>\n <div className=\"grid flex-1 content-start gap-4 overflow-auto px-4 py-4 sm:px-5\">\n <div className=\"grid gap-1.5\">\n <label htmlFor=\"bridge-send-to\" className=\"font-semibold\">\n To\n </label>\n {to === null ? (\n <ShipSearch sendTo={sendTo} onPick={onPick} />\n ) : (\n <PickedShip to={to} isLocked={isSending} isRefused={failure?.kind === 'refused'} onClear={() => { onPick(null); }} />\n )}\n {failure?.kind === 'refused' ? (\n <span data-testid=\"bridge-send-refusal\" className=\"text-destructive-text\">\n {failure.reason}\n </span>\n ) : isFromAlert && to !== null && phase.kind === 'writing' ? (\n <span className=\"text-caption text-muted-foreground\">Filled in from the alert; change it if you like.</span>\n ) : null}\n </div>\n <div className=\"grid gap-1.5\">\n <label htmlFor=\"bridge-send-message\" className=\"font-semibold\">\n Message\n </label>\n <textarea\n id=\"bridge-send-message\"\n data-testid=\"bridge-send-message\"\n disabled={isSending}\n rows={5}\n value={message}\n placeholder=\"Write what the ship should know or do.\"\n onChange={(event) => { onWrite(event.target.value); }}\n className=\"min-h-32 rounded-md border border-input bg-background px-3 py-2 disabled:bg-muted disabled:text-muted-foreground\"\n />\n <span className=\"text-caption text-muted-foreground\">Text or Markdown, up to 256 KB.</span>\n </div>\n <PhaseLine phase={phase} />\n </div>\n <div className=\"grid gap-3 border-t border-border px-4 py-3 sm:flex sm:items-center sm:justify-between sm:px-5\">\n <span className=\"flex items-center gap-2 text-caption text-muted-foreground\">\n <Info aria-hidden=\"true\" className=\"size-4\" />\n {sentAs === undefined ? 'Sent as your person ship.' : `Sent as ${sentAs}, your person ship.`}\n </span>\n <div className=\"flex gap-2\">\n <button type=\"button\" disabled={isSending} onClick={onClose} className=\"hidden h-9 items-center rounded-md px-4 font-medium hover:bg-accent disabled:opacity-60 sm:inline-flex\">\n Cancel\n </button>\n <button type=\"submit\" data-testid=\"bridge-send\" disabled={isSendOff} aria-busy={isSending} className={`${BUTTONS.primary} h-11 w-full sm:h-9 sm:w-auto`}>\n {sendLabel}\n </button>\n </div>\n </div>\n </form>\n );\n}\n","/**\n * Your fleet as Bridge shows it (Bridge home, as Harbour draws it,\n * docs/design/fleet-overview): each state's word and tone, each group's\n * name, and Harbour's lead line. Pure view logic, no React and no API client.\n */\nimport type { inferRouterOutputs } from '@trpc/server';\n\nimport type { GatewayRouter } from '../../../../../src/adapters/trpc/router.js';\n\n/** Your fleet as the API answers it: the ship count, how many are in each state, and the tiles by group. */\nexport type YourFleet = inferRouterOutputs<GatewayRouter>['people']['yourFleet'];\n\nexport type FleetGroup = YourFleet['groups'][number]['group'];\n\nexport type ShipState = keyof YourFleet['counts'];\n\nexport type FleetTile = YourFleet['groups'][number]['tiles'][number];\n\n/** The states in the order the numbers show them. */\nexport const SHIP_STATES: readonly ShipState[] = ['alert', 'waiting', 'working', 'idle'];\n\nexport const STATE_LABELS: Record<ShipState, string> = { alert: 'Alert', waiting: 'Waiting', working: 'Working', idle: 'Idle' };\n\nexport const GROUP_LABELS: Record<FleetGroup, string> = { people: 'People', agents: 'Agents', plugins: 'Plugins', throughTheGateway: 'Through the gateway' };\n\n/** Harbour's lead line words each state so; working and idle first, as most ships are. */\nconst SUMMARY_PARTS: readonly { state: ShipState; words: string }[] = [\n { state: 'working', words: 'working' },\n { state: 'idle', words: 'idle' },\n { state: 'waiting', words: 'waiting' },\n { state: 'alert', words: 'with an alert' },\n];\n\n/** How many ships, in words: \"1 ship\", \"15 ships\". */\nexport function shipsOf(count: number): string {\n return `${String(count)} ${count === 1 ? 'ship' : 'ships'}`;\n}\n\n/** Harbour's lead line: the ships, then how many are in each state any ship is in. */\nexport function summaryOf(fleet: YourFleet): string {\n if (fleet.shipCount === 0) {\n return 'No ships';\n }\n const parts = SUMMARY_PARTS.filter(({ state }) => fleet.counts[state] > 0).map(({ state, words }) => `${String(fleet.counts[state])} ${words}`);\n return `${shipsOf(fleet.shipCount)}: ${parts.join(', ')}`;\n}\n","'use client';\n\nimport { Toast } from '@base-ui/react/toast';\nimport { CircleCheck, X } from 'lucide-react';\n\n/** The toasts the form raised, each saying a message was sent and stored. */\nexport function SentToasts() {\n const { toasts } = Toast.useToastManager();\n return (\n <Toast.Portal>\n <Toast.Viewport className=\"fixed right-4 bottom-4 z-50 grid w-[min(24rem,calc(100vw-2rem))] gap-2\">\n {toasts.map((toast) => (\n <Toast.Root key={toast.id} toast={toast} data-testid=\"bridge-send-toast\" className=\"rounded-lg border border-border bg-popover px-4 py-3 text-popover-foreground shadow-lg\">\n <Toast.Content className=\"flex items-start gap-3\">\n <CircleCheck aria-hidden=\"true\" className=\"mt-0.5 size-4 shrink-0 text-tone-ok-fg\" />\n <div className=\"grid flex-1 gap-1\">\n <Toast.Title className=\"font-semibold\" />\n <Toast.Description className=\"text-muted-foreground\" />\n </div>\n <Toast.Close aria-label=\"Close\" className=\"inline-flex size-7 items-center justify-center rounded-md hover:bg-accent\">\n <X aria-hidden=\"true\" className=\"size-4\" />\n </Toast.Close>\n </Toast.Content>\n </Toast.Root>\n ))}\n </Toast.Viewport>\n </Toast.Portal>\n );\n}\n","'use client';\n\nimport { Toast } from '@base-ui/react/toast';\nimport { ShoppingBasket } from 'lucide-react';\n\n/** What a toast says: what happened, then what it means. */\nexport interface ToastWords {\n readonly title: string;\n readonly description: string;\n}\n\n/** What the toast says once an answer is in the basket (basket.html): what went in, not sent, still waiting. */\nexport function putToastOf(option: number | null): ToastWords {\n return { title: option === null ? 'Your note alone in the basket' : `Option ${String(option)} in the basket`, description: 'Not sent. Still waiting on you until you send it.' };\n}\n\n/** The toasts Bridge raised for the basket, each behind the basket icon, on the popover, gone by themselves: at the left on a desktop and none on a phone, as basket.html draws them. */\nexport function BasketToasts() {\n const { toasts } = Toast.useToastManager();\n return (\n <Toast.Portal>\n <Toast.Viewport className=\"fixed bottom-4 left-4 z-50 hidden w-[min(24rem,calc(100vw-2rem))] gap-2 sm:grid\">\n {toasts.map((toast) => (\n <Toast.Root key={toast.id} toast={toast} 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\">\n <ShoppingBasket aria-hidden className=\"mt-0.5 size-4 shrink-0\" />\n <Toast.Content className=\"grid flex-1 gap-1\">\n <Toast.Title className=\"font-medium\" />\n <Toast.Description className=\"text-caption text-muted-foreground\" />\n </Toast.Content>\n </Toast.Root>\n ))}\n </Toast.Viewport>\n </Toast.Portal>\n );\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"4053d936439268d18b4bb24ccb80741d4998f4a69e\":{\"name\":\"readSendTo\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_8=/*#__PURE__*/createServerReference(\"4053d936439268d18b4bb24ccb80741d4998f4a69e\",callServer,void 0,findSourceMapURL,\"readSendTo\");export{$$RSC_SERVER_ACTION_8 as readSendTo};","/* __next_internal_action_entry_do_not_use__ [{\"4085d7bd3cb14a5b63344a43b7dfdb8f4079e95e2a\":{\"name\":\"sendShipMessage\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_9=/*#__PURE__*/createServerReference(\"4085d7bd3cb14a5b63344a43b7dfdb8f4079e95e2a\",callServer,void 0,findSourceMapURL,\"sendShipMessage\");export{$$RSC_SERVER_ACTION_9 as sendShipMessage};","/**\n * Bridge's form to send a ship a message (aeolus-fleet #1547,\n * send-message.html): which ships it offers, when Send is on, the key a\n * send carries, why one failed, what the toast says once the fleet stored\n * it, and the ship an opened alert is about. Pure view logic, no React and\n * no API client.\n */\nimport { ALERT_CONTENT_TYPE } from '@aeolus-fleet/common';\nimport type { inferRouterOutputs } from '@trpc/server';\nimport { z } from 'zod';\n\nimport type { GatewayRouter } from '../../../../src/adapters/trpc/router.js';\nimport { SHIP_STATES, type ShipState, type YourFleet } from '../fleet/services/your-fleet';\n\n/** Who the person can send a message to, as the API answers it: the ships their person ship may send to now, and the name it sends as. */\nexport type SendTo = inferRouterOutputs<GatewayRouter>['people']['sendTo'];\n\n/** A ship the form offers: by name, with its state as Your fleet shows it, none where Your fleet does not show the ship. */\nexport interface SendableShip {\n readonly name: string;\n readonly state: ShipState | null;\n}\n\n/**\n * The ships the person ship may send to, each in its state as Your fleet\n * shows it, in Your fleet's order: alerts first, then waiting, working and\n * idle, ties by name; a ship Your fleet does not show, or every ship when it\n * could not be read, comes after, with no state.\n */\nexport function sendableShipsOf(ships: readonly string[], fleet: YourFleet | undefined): readonly SendableShip[] {\n const states = new Map((fleet?.groups ?? []).flatMap(({ tiles }) => tiles.map(({ name, state }) => [name, state] as const)));\n const rank = (state: ShipState | null) => (state === null ? SHIP_STATES.length : SHIP_STATES.indexOf(state));\n return ships\n .map((name) => ({ name, state: states.get(name) ?? null }))\n .toSorted((one, other) => rank(one.state) - rank(other.state) || one.name.localeCompare(other.name));\n}\n\n/** The ships whose name holds what the person typed, whatever its case; every ship while nothing is typed. */\nexport function shipsMatching(ships: readonly SendableShip[], typed: string): readonly SendableShip[] {\n const sought = typed.trim().toLowerCase();\n return sought === '' ? ships : ships.filter(({ name }) => name.toLowerCase().includes(sought));\n}\n\n/** Send is on once a ship is picked and something is written. */\nexport function isSendable({ to, message }: { to: string | null; message: string }): boolean {\n return to !== null && message.trim() !== '';\n}\n\n/** A send the form made: its key, and the ship and message it carried. */\nexport interface LastSend {\n readonly key: string;\n readonly to: string;\n readonly message: string;\n}\n\n/**\n * The key a send carries: the last send's again while the ship and the\n * message are the same, so a message sent again arrives once; a new one\n * otherwise, as a changed message is a new message.\n */\nexport function keyToSend({ last, to, message, newKey }: { last: LastSend | null; to: string; message: string; newKey: string }): string {\n return last !== null && last.to === to && last.message === message ? last.key : newKey;\n}\n\n/** Why a send failed: the fleet refused it, in its own words, or no answer came, so it may be stored. */\nexport type SendFailure = { readonly kind: 'refused'; readonly reason: string } | { readonly kind: 'noAnswer' };\n\n/** The API's codes for a send the fleet refused: its reason is the person's to read. */\nconst REFUSED_CODES = new Set(['BAD_REQUEST', 'FORBIDDEN']);\n\n/** A refusal when the fleet refused the send; no answer for anything else, as the message may be stored. */\nexport function sendFailureOf({ code, message }: { code?: string | undefined; message: string }): SendFailure {\n return code !== undefined && REFUSED_CODES.has(code) ? { kind: 'refused', reason: message } : { kind: 'noAnswer' };\n}\n\n/** Where a time shows to the minute in an ISO 8601 time: hours and minutes, in UTC. */\nconst MINUTE = { start: 11, end: 16 } as const;\n\n/** What the toast says once the fleet stored the message: to whom, when in UTC as every Bridge time, and as which person ship. */\nexport function sentNoticeOf({ to, sentAs, storedAt }: { to: string; sentAs: string; storedAt: string }): { title: string; description: string } {\n return {\n title: `Sent to ${to}`,\n description: `Stored by the fleet at ${new Date(storedAt).toISOString().slice(MINUTE.start, MINUTE.end)} UTC, sent as ${sentAs}. ${to} receives it when it next looks.`,\n };\n}\n\n/** What Bridge reads of an alert to send its ship a message: the ship, by name. */\nconst alertShipSchema = z.object({ ship: z.object({ name: z.string().min(1) }) });\n\n/** The ship an alert is about, by name; none for any other message, or an alert whose payload does not read. */\nexport function alertShipOf(opened: { contentType: string; payload: string }): string | undefined {\n const [essence = ''] = opened.contentType.split(';');\n if (essence.trim().toLowerCase() !== ALERT_CONTENT_TYPE) {\n return undefined;\n }\n try {\n return alertShipSchema.safeParse(JSON.parse(opened.payload)).data?.ship.name;\n } catch {\n return undefined;\n }\n}\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'rotate-cw',\n size: 24,\n node: [\n ['path', { d: 'M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8', key: '1p45f6' }],\n ['path', { d: 'M21 3v5h-5', key: '1q7to0' }],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name RotateCw\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/rotate-cw\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst RotateCw = createLucideIcon(__iconData);\n\nexport default RotateCw;\n","/** Where a meeting's page is, for server and client code alike. */\n\n/** The meeting page's address, before the meeting's id. */\nexport const MEETINGS_PATH = '/meetings';\n\n/** The address of a meeting's page in a fleet, at the page of contributions after the cursor, if one is given. */\nexport function meetingPathOf(meeting: { fleetId: string; meetingId: string; cursor?: string }): string {\n const query = new URLSearchParams({ fleet: meeting.fleetId, ...(meeting.cursor === undefined ? {} : { cursor: meeting.cursor }) });\n return `${MEETINGS_PATH}/${encodeURIComponent(meeting.meetingId)}?${query.toString()}`;\n}\n","/* __next_internal_action_entry_do_not_use__ [{\"40fb3c9b60f409e9d7f4301b0cd5dbbb0079b0b5ea\":{\"name\":\"answerDelivery\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_2=/*#__PURE__*/createServerReference(\"40fb3c9b60f409e9d7f4301b0cd5dbbb0079b0b5ea\",callServer,void 0,findSourceMapURL,\"answerDelivery\");export{$$RSC_SERVER_ACTION_2 as answerDelivery};","/* __next_internal_action_entry_do_not_use__ [{\"4012c933c13b7b99c26d61a5bed3d60ed41fd5e253\":{\"name\":\"doneDelivery\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_7=/*#__PURE__*/createServerReference(\"4012c933c13b7b99c26d61a5bed3d60ed41fd5e253\",callServer,void 0,findSourceMapURL,\"doneDelivery\");export{$$RSC_SERVER_ACTION_7 as doneDelivery};","/* __next_internal_action_entry_do_not_use__ [{\"609a2b2041824dadd08bf54ae421b7d5f7088bab02\":{\"name\":\"openDelivery\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_1=/*#__PURE__*/createServerReference(\"609a2b2041824dadd08bf54ae421b7d5f7088bab02\",callServer,void 0,findSourceMapURL,\"openDelivery\");export{$$RSC_SERVER_ACTION_1 as openDelivery};","/* __next_internal_action_entry_do_not_use__ [{\"407a6fe3f2e6041fa40819ae482a35a393193dd1b9\":{\"name\":\"putInBasket\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_3=/*#__PURE__*/createServerReference(\"407a6fe3f2e6041fa40819ae482a35a393193dd1b9\",callServer,void 0,findSourceMapURL,\"putInBasket\");export{$$RSC_SERVER_ACTION_3 as putInBasket};","/* __next_internal_action_entry_do_not_use__ [{\"40b3a7c25633f32ede1058cdd28484f56b049150d9\":{\"name\":\"putPickInBasket\"}},\"web/features/bridge/hooks/bridge-actions.ts\",\"\"] */\"use turbopack: no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_4=/*#__PURE__*/createServerReference(\"40b3a7c25633f32ede1058cdd28484f56b049150d9\",callServer,void 0,findSourceMapURL,\"putPickInBasket\");export{$$RSC_SERVER_ACTION_4 as putPickInBasket};"],"names":["$$RSC_SERVER_ACTION_5","SHIP_STATES","STATE_LABELS","alert","waiting","working","idle","GROUP_LABELS","people","agents","plugins","throughTheGateway","SUMMARY_PARTS","state","words","shipsOf","count","String","summaryOf","fleet","shipCount","parts","filter","counts","map","join","MEETINGS_PATH","meetingPathOf","meeting","query","URLSearchParams","fleetId","cursor","undefined","encodeURIComponent","meetingId","toString"],"mappings":"4FAA8M,IAAA,EAAA,EAAA,CAAA,CAAA,MAAsG,IAAMA,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAa,AAAqB,EAAC,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAK,EAAE,EAAA,gBAAgB,CAAC,qECEn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AAC,qCCA/I,IAAM,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAa,AAAqB,EAAC,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAK,EAAE,EAAA,gBAAgBA,CAAC,qCCAhJJ,IAAM,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAkC,AAArB,EAAsB,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAK,EAAE,EAAA,gBAAgB,CAACI,oCCA3I,IAAM,EAAmC,CAAA,EAAA,EAAA,iBAAb,IAAa,AAAqB,EAAC,KAAxB,wCAAqE,EAAA,UAAU,CAAC,KAAKZ,EAAE,EAAA,gBAAgB,CAAC","ignoreList":[10]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[83900,37149,62591,86708,a=>{var b=a.i(64831);let c={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"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],83900);let e={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"}]]};e.node;let f=(0,b.f)(e);a.s(["f",0,f],37149);let g={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"}]]};g.node;let h=(0,b.f)(g);a.s(["f",0,h],62591);let i={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"]};i.node;let j=(0,b.f)(i);a.s(["f",0,j],86708)},33540,a=>{var b=a.i(64831);let c={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],33540)},20988,a=>{var b=a.i(87924),c=a.i(56672),d=a.i(5759);a.s(["LastReadHeading",0,function(){let a=(0,d.useLastReadAt)();return void 0===a?null:(0,b.jsxs)("div",{className:"max-sm:hidden",children:[(0,b.jsx)("h1",{id:"bridge-waiting-heading",className:"text-heading font-semibold",children:"Waiting on you"}),(0,b.jsx)("p",{className:"text-muted-foreground","data-testid":"bridge-last-read",children:`Last read ${(0,c.C)(a)}`})]})}])}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1mg5oon0wpocg._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/lucide-react/src/icons/sparkles.ts","../../../../../node_modules/lucide-react/src/icons/hash.ts","../../../../../node_modules/lucide-react/src/icons/mail.ts","../../../../../node_modules/lucide-react/src/icons/bell.ts","../../../../../node_modules/lucide-react/src/icons/search.ts","../../../../../web/features/bridge/state/last-read-heading.tsx"],"sourcesContent":["import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'sparkles',\n size: 24,\n node: [\n [\n 'path',\n {\n 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',\n key: '1s2grr',\n },\n ],\n ['path', { d: 'M20 2v4', key: '1rf3ol' }],\n ['path', { d: 'M22 4h-4', key: 'gwowj6' }],\n ['circle', { cx: '4', cy: '20', r: '2', key: '6kqj1y' }],\n ],\n aliases: ['stars'],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Sparkles\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/sparkles\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Sparkles = createLucideIcon(__iconData);\n\nexport default Sparkles;\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'hash',\n size: 24,\n node: [\n ['line', { x1: '4', x2: '20', y1: '9', y2: '9', key: '4lhtct' }],\n ['line', { x1: '4', x2: '20', y1: '15', y2: '15', key: 'vyu0kd' }],\n ['line', { x1: '10', x2: '8', y1: '3', y2: '21', key: '1ggp8o' }],\n ['line', { x1: '16', x2: '14', y1: '3', y2: '21', key: 'weycgp' }],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Hash\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/hash\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Hash = createLucideIcon(__iconData);\n\nexport default Hash;\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'mail',\n size: 24,\n node: [\n ['path', { d: 'm22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7', key: '132q7q' }],\n ['rect', { x: '2', y: '4', width: '20', height: '16', rx: '2', key: 'izxlao' }],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Mail\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/mail\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Mail = createLucideIcon(__iconData);\n\nexport default Mail;\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'bell',\n size: 24,\n node: [\n ['path', { d: 'M10.268 21a2 2 0 0 0 3.464 0', key: 'vwvbt9' }],\n [\n 'path',\n {\n 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',\n key: '11g9vi',\n },\n ],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Bell\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/bell\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Bell = createLucideIcon(__iconData);\n\nexport default Bell;\n","import createLucideIcon from '../createLucideIcon';\nimport type { LucideIconNode, LucideIconData } from '../types';\n\nexport const __iconData: LucideIconData = {\n name: 'search',\n size: 24,\n node: [\n ['path', { d: 'm21 21-4.34-4.34', key: '14j7rj' }],\n ['circle', { cx: '11', cy: '11', r: '8', key: '4ej97u' }],\n ],\n};\n\n/**\n * @deprecated Access `__iconData` instead.\n */\nexport const __iconNode: LucideIconNode[] = __iconData.node;\n\n/**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Search = createLucideIcon(__iconData);\n\nexport default Search;\n","'use client';\n\nimport { lastReadTimeOf } from '../services/last-read';\nimport { useLastReadAt } from './kept-read';\n\n/**\n * Bridge home's title row as last read, while the record cannot be read\n * (states.html): what waits, and when it was read in place of the count,\n * above the banners; left out on the phone, as its frame draws it. Read now,\n * home's lists carry their own title row.\n */\nexport function LastReadHeading() {\n const lastReadAt = useLastReadAt();\n if (lastReadAt === undefined) {\n return null;\n }\n return (\n <div className=\"max-sm:hidden\">\n <h1 id=\"bridge-waiting-heading\" className=\"text-heading font-semibold\">\n Waiting on you\n </h1>\n <p className=\"text-muted-foreground\" data-testid=\"bridge-last-read\">{`Last read ${lastReadTimeOf(lastReadAt)}`}</p>\n </div>\n );\n}\n"],"names":["LastReadHeading","lastReadAt","undefined","className","id"],"mappings":"kHGOK,CDAA,ADAA,AEAA,CAAA,ADAA,ADAA,CEAA,AFAA,ACAA,CCAA,AFAA,ACAA,CCAA,AFAA,ACAA,CDAA,AEAA,ADAA,CAAA,ADAA,AEAA,gDAA4D,CDAC,ADAC,AEC/D,uJAIS,CFK+B,CAAA,CAAA,CAAA,GEIW,CAAA,CAAA,CAAA,CAAA,aAa1C,EAAiB,CAA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AAI5B,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAIE,UAAU,0BACb,CAAA,EAAA,EAAA,GAAA,EAAC,KAAA,CAAGC,GAAG,yBAAyBD,UAAU,sCAA6B,mBAGvE,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEA,UAAU,wBAAwB,cAAY,4BAAoB,CAAC,UAAU,EAAE,CAAA,EAAA,EAAA,CAAA,AAAc,EAACF,GAAAA,CAAa,KAGpH","ignoreList":[0,1,2,3,4]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
(()=>{"use strict";module.exports=[13095,(a,b,c)=>{function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Error(`A "use server" file can only export async functions, found ${typeof c}.
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},73290,a=>{var b=a.i(70043);a.S([b,"
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/invalid-use-server-value`)}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},37936,(a,b,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},73290,a=>{var b=a.i(70043);a.S([b,"403ec53693609bd0af152d60542fb78701d7dcbb23,f"],73290)},70043,a=>{var b=a.i(37936),c=a.i(5246),d=a.i(67591);async function e(a){(0,d.x)(a)&&(await (0,c.cookies)()).set(d.g,a,{path:"/",sameSite:"lax",maxAge:31536e3})}(0,a.i(13095).ensureServerEntryExports)([e]),(0,b.registerServerReference)(e,"403ec53693609bd0af152d60542fb78701d7dcbb23",null),a.s(["f",0,e])}]})();
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=_1pjtire7rqla0._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../web/.next-internal/server/app/_not-found/page/actions.js%20%28server%20actions%20loader%29","../../../../../web/features/frame/actions.ts"],"sourcesContent":["// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","export {setTheme as '
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../web/.next-internal/server/app/_not-found/page/actions.js%20%28server%20actions%20loader%29","../../../../../web/features/frame/actions.ts"],"sourcesContent":["// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","export {setTheme as '403ec53693609bd0af152d60542fb78701d7dcbb23'} from 'ACTIONS_MODULE0'\n","'use server';\n\n/** The header's theme choice, kept for this browser for a year. */\nimport { cookies } from 'next/headers';\n\nimport { isTheme, THEME_COOKIE } from './theme';\n\nconst YEAR_SECONDS = 365 * 24 * 60 * 60;\n\nexport async function setTheme(theme: unknown): Promise<void> {\n if (!isTheme(theme)) {\n return;\n }\n (await cookies()).set(THEME_COOKIE, theme, { path: '/', sameSite: 'lax', maxAge: YEAR_SECONDS });\n}\n"],"names":["ensureServerEntryExports","actions","i","length","action","Error","registerServerReference","YEAR_SECONDS","setTheme","theme","set","path","sameSite","maxAge"],"mappings":"mDAGO,SAASA,EAAyBC,CAAc,EACrD,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQE,MAAM,CAAED,IAAK,CACvC,IAAME,EAASH,CAAO,CAACC,EAAE,CACzB,GAAsB,YAAlB,AAA8B,OAAvBE,EACT,MAAUC,AAAJ,MACJ,CAAC,2DAA2D,EAAE,OAAOD,EAAO;AAAA,oEAAuE,CAAC,CAG1J,CACF,0EATgBJ,2BAAAA,qCAAAA,sBCHoC,OAAA,cAAA,CAAA,EAAA,aAAA,oCAC3CM,0BAAAA,qCAAAA,EAAAA,uBAAuB,YAAQ,CAAA,CAAA,IAAA,cCDxC,IAAA,EAAA,EAAA,CAAA,CAAA,iGCGA,EAAA,EAAA,CAAA,CAAA,MAEA,EAAA,EAAA,CAAA,CAAA,OAIO,eAAeE,EAASC,CAAc,EACtC,CAAA,EAAA,EAAA,CAAA,AAAO,EAACA,IAGb,CAAC,GAHoB,GAGd,CAAA,EAAA,EAAA,OAAA,AAAO,GAAA,CAAE,CAAEC,GAAG,CAAC,EAAA,CAAY,CAAED,EAAO,CAAEE,KAAM,IAAKC,SAAU,MAAOC,OANtD,CAM8DN,KANxD,CAMqE,EAChG,EAPgC,KAAK,mCAEfC,IAAAA,CAAAA,EAAAA,EAAAA,uBAAAA,EAAAA,EAAAA,6CAAAA","ignoreList":[0,1]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";module.exports=[80845,a=>{var b=a.i(92277);let c={name:"ship",size:24,node:[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 9.189V13",key:"yp40p3"}],["path",{d:"M19 12V6a2 2 0 00-2-2H7a2 2 0 00-2 2v6",key:"1wcigf"}],["path",{d:"M19.38 19A11.6 11.6 0 0021 13l-8.188-3.639a2 2 0 00-1.624 0L3 13.001a11.6 11.6 0 002.81 7.76",key:"1kdp0u"}],["path",{d:"M2 20c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1s1.2 1 2.5 1c2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"1l8w7g"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],80845)},22120,48473,a=>{var b=a.i(92277);let c={name:"shopping-basket",size:24,node:[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]};c.node;let d=(0,b.f)(c);a.s(["f",0,d],22120);let e={name:"sliders-horizontal",size:24,node:[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]};e.node;let f=(0,b.f)(e);a.s(["f",0,f],48473)},10692,a=>{var b=a.i(717),c=a.i(66283);let d=(0,b.cache)(async a=>{try{return{kind:"read",value:await a.people.yourFleet.query()}}catch(b){let a=(0,c.U)(b);if("FORBIDDEN"===a)return{kind:"forbidden"};if("UNAUTHORIZED"===a)throw b;return{kind:"unreadable",message:void 0===a?"The gateway did not answer.":(0,c.s)(b)}}});a.s(["f",0,d])},87665,a=>{a.s(["f",0,"/bridge/fleet"])},88276,36369,34117,49644,67737,20941,22840,a=>{var b=a.i(717),c=a.i(10692),d=a.i(66283);let e=["slack","chat","web-push","email"],f={home:{name:"Bridge",hasBack:!1,tab:"waiting"},basket:{name:"Basket",hasBack:!0,tab:"waiting"},"stay-aware":{name:"Stay aware",hasBack:!1,tab:"aware"},done:{name:"Done",hasBack:!1,tab:"done"},fleet:{name:"Your fleet",hasBack:!1,tab:"fleet"},routing:{name:"Where things show",hasBack:!0,tab:null},settings:{name:"Settings",hasBack:!0,tab:null}};function g({home:a,basket:b,fleetAlerts:c}){switch(a.kind){case"read":return{waiting:a.value.waiting.count,stayAware:a.value.stayAware.filter(({state:a})=>"new"===a).length,basket:b,fleetAlerts:c};case"none":return{waiting:0,stayAware:0,basket:b,fleetAlerts:c};case"unreadable":return{waiting:void 0,stayAware:void 0,basket:b,fleetAlerts:c}}}a.s(["f",0,function(a){return f[a]},"E",0,g],36369);let h={decide:void 0,do:void 0,"stay-aware":void 0,"everything-else":void 0};async function i(a){try{return await a}catch(a){if("FORBIDDEN"===(0,d.U)(a))return;throw a}}async function j(a){try{return{kind:"read",value:await a}}catch(b){let a=(0,d.U)(b);if("FORBIDDEN"===a)return{kind:"none"};if("UNAUTHORIZED"===a)throw b;return{kind:"unreadable",whoDidNotAnswer:void 0===a?"gateway":"fleet"}}}let k=(0,b.cache)(a=>j(a.people.home.query()));async function l(a){try{return await a.slack.droppedOut.query()}catch(a){return"FORBIDDEN"===(0,d.U)(a)?null:void 0}}async function m(a){try{var b;let c;return c=(b=await a.people.routing.query()).jobs.find(({job:a})=>"decide"===a),e.filter(a=>b.offered[a]&&c?.places[a]===!0)}catch{return}}async function n(a){let b=await j(a.people.basketCount.query());return"read"===b.kind?b.value.count:0}async function o(a){let[b,d,e]=await Promise.all([k(a),n(a),(0,c.f)(a)]);return g({home:b,basket:d,fleetAlerts:"read"===e.kind?e.value.counts.alert:void 0})}async function p(a){let[b,c]=await Promise.all([i(a.requests.toDecide.query()),i(a.requests.mine.query())]);return{toDecide:b,mine:c}}async function q(a){let[b,c,d,e,f]=await Promise.all([i(a.people.routing.query()),i(a.people.wakeChannels.query()),i(a.slack.link.query()),i(a.people.chats.query()),k(a)]),g="read"===f.kind?function({waiting:a,stayAware:b}){let c=b=>a.filter(a=>a.job===b).length;return{decide:c("decide"),do:c("do"),"stay-aware":b,"everything-else":void 0}}({waiting:f.value.waiting.items,stayAware:f.value.stayAware.length}):h;return{routing:b,wakeChannels:c,slackLink:d,chats:e?.names??[],waitingByJob:g}}async function r(a,b){let c=await i(a.requests.toDecide.query())??[];return{request:c.find(a=>a.requestId===b),toDecide:c}}a.s(["M",0,function(a){return j(a.people.basket.query())},"I",0,k,"W",0,q,"n",0,p,"S",0,m,"x",0,function(a,b){return j(a.people.record.query({cursor:b}))},"F",0,r,"N",0,o,"P",0,l,"c",0,function(a){return"unreadable"===a.kind?void 0:new Date().toISOString()}],88276);var s=a.i(92277);let t={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"}]]};t.node;let u=(0,s.f)(t);a.s(["f",0,u],34117);let v={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]};v.node;let w=(0,s.f)(v);a.s(["f",0,w],49644);let x={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};x.node;let y=(0,s.f)(x);a.s(["f",0,y],67737);let z={name:"inbox",size:24,node:[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]};z.node;let A=(0,s.f)(z);a.s(["f",0,A],20941);let B={name:"route",size:24,node:[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]};B.node;let C=(0,s.f)(B);a.s(["f",0,C],22840)},36554,a=>{var b=a.i(7997),c=a.i(717),d=a.i(16421),e=a.i(8403),f=a.i(69979),g=a.i(7421),h=a.i(22126),i=a.i(88276),j=a.i(34117),k=a.i(49644),l=a.i(67737),m=a.i(20941),n=a.i(22840),o=a.i(80845),p=a.i(22120),q=a.i(48473),r=a.i(55476),s=a.i(72913),t=a.i(87665),u=a.i(29660),v=a.i(43414);let w={waiting:"bg-tone-waiting-bg text-tone-waiting-fg",basket:"bg-primary text-primary-foreground",attention:"bg-tone-attention-bg text-tone-attention-fg",plain:"bg-secondary text-foreground"};function x({count:a,tone:c,className:d}){return void 0===a||0===a?null:(0,b.jsx)("span",{className:(0,v.f)("inline-flex h-[18px] min-w-[18px] items-center justify-center rounded-full px-[5px] text-micro font-semibold tabular-nums",w[c],d),children:a})}function y({entry:a}){let{key:c,label:d,href:e,Icon:f,isCurrent:g,count:h}=a;return(0,b.jsxs)("a",{href:e,"data-testid":`bridge-side-${c}`,"aria-current":g?"page":void 0,className:`flex h-[30px] items-center gap-2.5 rounded-md px-2.5 text-foreground ${g?"bg-accent font-medium [&>svg]:text-primary":"hover:bg-accent"}`,children:[(0,b.jsx)(f,{"aria-hidden":!0,className:"size-4 shrink-0"}),d,void 0===h?null:(0,b.jsx)(x,{count:h.value,tone:h.tone,className:"ml-auto"})]})}function z({fleetId:a,screen:c,counts:d,accountUrl:e,foot:f}){let g=(a,b)=>({key:a,isCurrent:a===c,...b}),h=[g("home",{label:"Waiting on you",href:(0,r.i)(u.P,a),Icon:m.f,count:{value:d.waiting,tone:"waiting"}}),...d.basket>0||"basket"===c?[g("basket",{label:"Basket",href:(0,r.i)(u.H,a),Icon:p.f,count:{value:d.basket,tone:"basket"}})]:[],g("stay-aware",{label:"Stay aware",href:(0,r.i)(u.C,a),Icon:j.f,count:{value:d.stayAware,tone:"plain"}}),g("done",{label:"Done",href:(0,r.i)(u.a,a),Icon:k.f}),g("fleet",{label:"Your fleet",href:(0,r.i)(t.f,a),Icon:o.f,count:{value:d.fleetAlerts,tone:"attention"}})],i=[g("routing",{label:"Where things show",href:(0,r.i)(u.i,a),Icon:n.f}),{key:"outside-parties",label:"Outside parties",href:(0,r.i)(s.$,a),Icon:l.f,isCurrent:!1},...void 0===e?[]:[{key:"account",label:"Fleets and account",href:e,Icon:q.f,isCurrent:!1}]];return(0,b.jsxs)("aside",{"data-testid":"bridge-sidebar",className:"sticky top-0 flex h-dvh w-(--size-sidebar) shrink-0 flex-col gap-0.5 border-r border-border bg-sidebar p-3 text-sidebar-foreground max-sm:hidden",children:[(0,b.jsxs)("div",{className:"mb-2.5 flex h-10 items-center gap-2.5 px-2 font-semibold",children:[(0,b.jsx)("span",{className:"inline-flex size-7 items-center justify-center rounded-md bg-primary text-primary-foreground",children:(0,b.jsx)(o.f,{"aria-hidden":!0,className:"size-4"})}),"Bridge"]}),(0,b.jsx)("nav",{"aria-label":"Bridge",className:"flex flex-col gap-0.5",children:h.map(a=>(0,b.jsx)(y,{entry:a},a.key))}),(0,b.jsxs)("nav",{"aria-label":"Settings",className:"flex flex-col gap-0.5",children:[(0,b.jsx)("a",{href:(0,r.i)(u.T,a),"data-testid":"bridge-side-settings","aria-current":"settings"===c?"page":void 0,className:`px-2.5 pt-3.5 pb-1.5 text-caption font-medium hover:text-foreground ${"settings"===c?"text-foreground":"text-muted-foreground"}`,children:"Settings"}),i.map(a=>(0,b.jsx)(y,{entry:a},a.key))]}),(0,b.jsx)("div",{className:"mt-auto flex min-w-0 items-center gap-2.5 border-t border-border p-2",children:f})]})}var A=a.i(36369);function B({fleetId:a,count:c}){return(0,b.jsxs)("div",{"data-testid":"bridge-basket-bar",className:"flex items-center gap-2.5 border-t border-border bg-highlight px-3.5 py-2",children:[(0,b.jsx)(p.f,{"aria-hidden":!0,className:"size-4 text-primary"}),(0,b.jsxs)("span",{children:[(0,b.jsxs)("b",{className:"font-semibold",children:["Basket ",c]})," ",(0,b.jsx)("span",{className:"text-muted-foreground",children:"not sent"})]}),(0,b.jsx)("a",{href:(0,r.i)(u.H,a),className:"ml-auto inline-flex h-8 items-center rounded-md bg-primary px-3 font-medium text-primary-foreground hover:bg-primary-hover",children:"Open"})]})}function C({fleetId:a,screen:c,counts:d}){let{tab:e}=(0,A.f)(c),f=[{key:"waiting",label:"Waiting",path:u.P,Icon:m.f,count:{value:d.waiting,tone:"waiting"}},{key:"aware",label:"Aware",path:u.C,Icon:j.f,count:{value:d.stayAware,tone:"plain"}},{key:"done",label:"Done",path:u.a,Icon:k.f},{key:"fleet",label:"Fleet",path:t.f,Icon:o.f,count:{value:d.fleetAlerts,tone:"attention"}}];return(0,b.jsxs)("div",{className:"sticky bottom-0 z-30 bg-background sm:hidden",children:[d.basket>0&&"basket"!==c?(0,b.jsx)(B,{fleetId:a,count:d.basket}):null,(0,b.jsx)("nav",{"aria-label":"Bridge",className:"flex h-(--size-tabbar) border-t border-border pb-3",children:f.map(({key:c,label:d,path:f,Icon:g,count:h})=>(0,b.jsxs)("a",{href:(0,r.i)(f,a),"data-testid":`bridge-tab-${c}`,"aria-current":c===e?"page":void 0,className:`relative flex flex-1 flex-col items-center justify-center gap-1 text-micro font-medium ${c===e?"text-primary":"text-muted-foreground"}`,children:[(0,b.jsx)(g,{"aria-hidden":!0,className:"size-(--size-icon-tab)"}),d,void 0===h?null:(0,b.jsx)(x,{count:h.value,tone:h.tone,className:"absolute top-1 left-[calc(50%+6px)] h-4 min-w-4 text-[10px]"})]},c))})]})}var D=a.i(21476),E=a.i(93738);let F={waiting:void 0,stayAware:void 0,basket:0,fleetAlerts:void 0};async function G({counts:a,children:c}){let d=await a;return(0,b.jsx)(D.KeptRead,{readAt:void 0===d.waiting?void 0:new Date().toISOString(),children:c(d)})}async function H(a){let[b,c]=await Promise.all([(0,d.f)(),(0,e.f)()]);return void 0===b?{account:void 0,fleetName:void 0}:{account:{email:b.account.email,accountUrl:b.apps.find(({app:a})=>"account"===a)?.url,theme:c},fleetName:b.fleets.find(({id:b})=>b===a)?.name}}async function I({api:a,fleetId:d,screen:e,children:f}){let g=(0,i.N)(a);g.catch(()=>void 0);let{account:h,fleetName:j}=await H(d),k=a=>(0,b.jsx)(z,{fleetId:d,screen:e,counts:a,accountUrl:h?.accountUrl,foot:void 0===h?null:(0,b.jsx)(E.SidebarPerson,{account:h,fleetName:j})}),l=a=>(0,b.jsx)(C,{fleetId:d,screen:e,counts:a});return(0,b.jsxs)("div",{className:"flex min-h-dvh",children:[(0,b.jsx)(c.Suspense,{fallback:k(F),children:(0,b.jsx)(G,{counts:g,children:k})}),(0,b.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,b.jsx)(E.ShellFrame,{fleetId:d,fleetName:j,screen:e,account:h,children:f}),(0,b.jsx)(c.Suspense,{fallback:l(F),children:(0,b.jsx)(G,{counts:g,children:l})})]})]})}a.s(["L",0,function(){return(0,b.jsx)(f.f,{header:(0,b.jsx)(g.f,{}),children:(0,b.jsx)(h.f,{})})},"n",0,I],36554)},52079,a=>{var b=a.i(11857);(0,b.registerClientReference)(function(){throw Error("Attempted to call AsLastRead() from the server but AsLastRead is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/bridge/state/kept-read.tsx","AsLastRead");let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call KeptRead() from the server but KeptRead is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/bridge/state/kept-read.tsx","KeptRead");(0,b.registerClientReference)(function(){throw Error("Attempted to call useLastReadAt() from the server but useLastReadAt is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/bridge/state/kept-read.tsx","useLastReadAt"),a.s(["KeptRead",0,c])},21476,a=>{var b=a.i(52079);a.n(b)},57244,a=>{var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ShellFrame() from the server but ShellFrame is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/bridge/state/shell-frame.tsx","ShellFrame"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call SidebarPerson() from the server but SidebarPerson is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/web/features/bridge/state/shell-frame.tsx","SidebarPerson");a.s(["ShellFrame",0,c,"SidebarPerson",0,d])},93738,a=>{var b=a.i(57244);a.n(b)}]})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_1pp0z5srqqqyl._.js.map
|