@aeolus-fleet/gateway 0.30.0 → 0.32.0
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/core-version.d.ts +1 -1
- package/dist/adapters/fleet/core-version.js +1 -1
- package/dist/adapters/fleet/proxy-ships-as-actor.js +5 -1
- package/dist/adapters/fleet/proxy-ships-as-actor.js.map +1 -1
- package/dist/adapters/fleet/rest-fleet-door.d.ts +2 -0
- package/dist/adapters/fleet/rest-fleet-door.js +51 -7
- package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
- package/dist/adapters/http/mcp-endpoint.js +1 -1
- package/dist/adapters/http/mcp-endpoint.js.map +1 -1
- package/dist/adapters/http/person-tools.d.ts +4 -7
- package/dist/adapters/http/person-tools.js +76 -11
- package/dist/adapters/http/person-tools.js.map +1 -1
- package/dist/adapters/pagasae/email-channel.js +4 -2
- package/dist/adapters/pagasae/email-channel.js.map +1 -1
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +50 -50
- 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 +2 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +2 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +2 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +2 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/A2aPush.d.ts +0 -7
- package/dist/adapters/prisma/generated/models/Party.d.ts +70 -1
- package/dist/adapters/prisma/scope-requirements.d.ts +10 -0
- package/dist/adapters/prisma/scope-requirements.js +37 -0
- package/dist/adapters/prisma/scope-requirements.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +154 -8
- package/dist/adapters/trpc/router.js +130 -11
- package/dist/adapters/trpc/router.js.map +1 -1
- package/dist/app.js +38 -9
- package/dist/app.js.map +1 -1
- package/dist/core/a2a-out/agent-event.d.ts +1 -1
- package/dist/core/a2a-out/agent-event.js +2 -2
- package/dist/core/a2a-out/agent-event.js.map +1 -1
- package/dist/core/a2a-out/agent-statement.d.ts +2 -1
- package/dist/core/a2a-out/agent-statement.js +5 -2
- package/dist/core/a2a-out/agent-statement.js.map +1 -1
- package/dist/core/a2a-out/hand-a2a-message.d.ts +7 -2
- package/dist/core/a2a-out/hand-a2a-message.js +15 -1
- package/dist/core/a2a-out/hand-a2a-message.js.map +1 -1
- package/dist/core/a2a-out/read-agent-statement.d.ts +1 -0
- package/dist/core/a2a-out/read-agent-statement.js +1 -1
- package/dist/core/a2a-out/read-agent-statement.js.map +1 -1
- package/dist/core/a2a-out/state-a2a-agent.d.ts +3 -2
- package/dist/core/a2a-out/state-a2a-agent.js +3 -2
- package/dist/core/a2a-out/state-a2a-agent.js.map +1 -1
- package/dist/core/account-sign-in/account-in-view.d.ts +10 -1
- package/dist/core/account-sign-in/account-in-view.js +17 -4
- package/dist/core/account-sign-in/account-in-view.js.map +1 -1
- package/dist/core/connection/ports.d.ts +8 -0
- package/dist/core/mcp-out/hand-call.d.ts +6 -2
- package/dist/core/mcp-out/hand-call.js +14 -1
- package/dist/core/mcp-out/hand-call.js.map +1 -1
- package/dist/core/mcp-out/state-party.d.ts +3 -2
- package/dist/core/mcp-out/state-party.js +2 -2
- package/dist/core/mcp-out/state-party.js.map +1 -1
- package/dist/core/mcp-out/statement.d.ts +16 -0
- package/dist/core/mcp-out/statement.js +10 -3
- package/dist/core/mcp-out/statement.js.map +1 -1
- package/dist/core/meetings/change-own-mic.d.ts +24 -0
- package/dist/core/meetings/change-own-mic.js +21 -0
- package/dist/core/meetings/change-own-mic.js.map +1 -0
- package/dist/core/meetings/mic-standing.d.ts +18 -0
- package/dist/core/meetings/mic-standing.js +11 -0
- package/dist/core/meetings/mic-standing.js.map +1 -0
- package/dist/core/meetings/ports.d.ts +70 -0
- package/dist/core/meetings/ports.js +2 -0
- package/dist/core/meetings/ports.js.map +1 -0
- package/dist/core/meetings/read-meeting.d.ts +30 -0
- package/dist/core/meetings/read-meeting.js +26 -0
- package/dist/core/meetings/read-meeting.js.map +1 -0
- package/dist/core/operator/ports.d.ts +4 -4
- package/dist/core/parties/add-a2a-agent.js +1 -1
- package/dist/core/parties/add-a2a-agent.js.map +1 -1
- package/dist/core/parties/check-approving.d.ts +36 -0
- package/dist/core/parties/check-approving.js +48 -0
- package/dist/core/parties/check-approving.js.map +1 -0
- package/dist/core/parties/check-required-scopes.d.ts +34 -0
- package/dist/core/parties/check-required-scopes.js +27 -0
- package/dist/core/parties/check-required-scopes.js.map +1 -0
- package/dist/core/parties/ports.d.ts +21 -0
- package/dist/core/parties/read-listed-scopes.d.ts +17 -0
- package/dist/core/parties/read-listed-scopes.js +23 -0
- package/dist/core/parties/read-listed-scopes.js.map +1 -0
- package/dist/core/parties/read-scope-requirements.d.ts +18 -0
- package/dist/core/parties/read-scope-requirements.js +17 -0
- package/dist/core/parties/read-scope-requirements.js.map +1 -0
- package/dist/core/parties/scope-requirements.d.ts +34 -0
- package/dist/core/parties/scope-requirements.js +37 -0
- package/dist/core/parties/scope-requirements.js.map +1 -0
- package/dist/core/parties/set-scope-requirements.d.ts +45 -0
- package/dist/core/parties/set-scope-requirements.js +48 -0
- package/dist/core/parties/set-scope-requirements.js.map +1 -0
- package/dist/core/parties/switch-tools.d.ts +39 -0
- package/dist/core/parties/switch-tools.js +38 -0
- package/dist/core/parties/switch-tools.js.map +1 -0
- package/dist/core/parties/tool-switches.d.ts +4 -2
- package/dist/core/parties/tool-switches.js +2 -1
- package/dist/core/parties/tool-switches.js.map +1 -1
- package/dist/core/people/inbox-entry.d.ts +2 -2
- package/dist/core/people/inbox-entry.js +9 -2
- package/dist/core/people/inbox-entry.js.map +1 -1
- package/dist/core/people/open-delivery.d.ts +3 -1
- package/dist/core/people/open-delivery.js +1 -1
- package/dist/core/people/open-delivery.js.map +1 -1
- package/dist/core/people/ports.d.ts +11 -4
- package/dist/core/people/wake-person.d.ts +22 -10
- package/dist/core/people/wake-person.js +88 -20
- package/dist/core/people/wake-person.js.map +1 -1
- package/dist/core/people/web-push-channel.js +1 -1
- package/dist/core/people/web-push-channel.js.map +1 -1
- package/dist/core/shared/errors.d.ts +1 -1
- package/dist/core/shared/errors.js.map +1 -1
- package/package.json +3 -3
- package/src/adapters/prisma/migrations/20261025140000_scope_requirements/migration.sql +3 -0
- package/src/adapters/prisma/schema.prisma +69 -65
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +2 -0
- package/web/.next/build-manifest.json +27 -3
- package/web/.next/diagnostics/route-bundle-stats.json +122 -70
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/routes-manifest.json +14 -0
- package/web/.next/server/app/(console)/gateway-off/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/gateway-off/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/gateway-off/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/gateway-off/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/gateway-off/page/server-reference-manifest.json +15 -0
- package/web/.next/server/app/(console)/gateway-off/page.js +19 -0
- package/web/.next/server/app/(console)/gateway-off/page.js.map +5 -0
- package/web/.next/server/app/(console)/gateway-off/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/gateway-off/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/app-paths-manifest.json +3 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/build-manifest.json +23 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/next-font-manifest.json +11 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/react-loadable-manifest.json +1 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/server-reference-manifest.json +35 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js +21 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.map +5 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.nft.json +1 -0
- package/web/.next/server/app/(console)/meetings/[meetingId]/page_client-reference-manifest.js +3 -0
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page/server-reference-manifest.json +17 -7
- package/web/.next/server/app/(console)/outside-parties/[name]/change/page.js +4 -4
- 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/server-reference-manifest.json +15 -5
- package/web/.next/server/app/(console)/outside-parties/[name]/page.js +4 -4
- 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/server-reference-manifest.json +17 -7
- package/web/.next/server/app/(console)/outside-parties/[name]/retire/page.js +4 -4
- 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/server-reference-manifest.json +17 -7
- package/web/.next/server/app/(console)/outside-parties/add/page.js +3 -4
- 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/server-reference-manifest.json +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/server-reference-manifest.json +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/server-reference-manifest.json +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)/overview/changes/route.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/focus/route.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/(console)/overview/page.js +3 -3
- package/web/.next/server/app/(console)/overview/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page/server-reference-manifest.json +2 -2
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/overview/requests/[requestId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/(console)/parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page.js.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/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/pick/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/pick/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +2 -0
- package/web/.next/server/chunks/[root-of-the-server]__0ykc8bq_c06a1._.js +10 -10
- package/web/.next/server/chunks/[root-of-the-server]__0ykc8bq_c06a1._.js.map +1 -1
- 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/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(console)_overview_requests_[requestId]_page_actions_0uki9j3mtuz9e.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0-og0bl8lr2xq._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0-og0bl8lr2xq._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00erqdm9cmhh7._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.js +3 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__00q22dte1g2ww._.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]__0n2us07jk-78w._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0rr5u24i9tjyc._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1-c9wugbbwsp3._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1-c9wugbbwsp3._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__11w36a4le04vy._.js → [root-of-the-server]__1dc6okf5os70a._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dc6okf5os70a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1dtyycvqa6uht._.js +1 -1
- package/web/.next/server/chunks/ssr/_0-lfpqqlgfhzj._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_00dg5cvqofspn._.js +3 -0
- package/web/.next/server/chunks/ssr/_00dg5cvqofspn._.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/_0_kakdt7lb6z-._.js +3 -0
- package/web/.next/server/chunks/ssr/_0_kakdt7lb6z-._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0bhvvyz0q_0ja._.js +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js +4 -0
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.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/_0w2ptjht34s6t._.js +3 -0
- package/web/.next/server/chunks/ssr/_0w2ptjht34s6t._.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/_1_wav28san6dm._.js +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js +3 -0
- package/web/.next/server/chunks/ssr/_1uuy6gkkhq6bx._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js +3 -0
- package/web/.next/server/chunks/ssr/_1y1ovmdhl9_ml._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_07sxnbglqc5q9._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_07sxnbglqc5q9._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0_cxkn6vujxay._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0_cxkn6vujxay._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_0qlo87g8tugr4._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_0qlo87g8tugr4._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_15ceu3jhtifcw._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_15ceu3jhtifcw._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_1jvz31plyg2f-._.js +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_1jvz31plyg2f-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_utils_FloatingPortalLite_mjs_1uzc1ezeugtex._.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_@base-ui_react_utils_FloatingPortalLite_mjs_1uzc1ezeugtex._.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js.map +1 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js +3 -0
- package/web/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0-ufi2al5ubig._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0-ufi2al5ubig._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_09zipglxee7tv._.js +3 -0
- package/web/.next/server/chunks/ssr/web_09zipglxee7tv._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0v-7sowo0hupw._.js +1 -1
- 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_1wcpaty_bz55q._.js +3 -0
- package/web/.next/server/chunks/ssr/web_1wcpaty_bz55q._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(console)_overview_page_actions_18on1ziyg1nzy.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_0ahlkugj7fu3n._.js → web_features_0xbnkk4hfgr9v._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_0ahlkugj7fu3n._.js.map → web_features_0xbnkk4hfgr9v._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_0xnlgtw8bfqaa._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_10xz3ojtvfi7h._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_10xz3ojtvfi7h._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_1_2m6l73qk7qw._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_1k6q2m0sl54-8._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_1k6q2m0sl54-8._.js.map +1 -0
- 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_forms_1u0akr22eh_x_._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_forms_1u0akr22eh_x_._.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_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 +3 -0
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.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_0_9c27knfvw7u._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_outside-party_0_9c27knfvw7u._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_0udx5lm8igils._.js +3 -0
- package/web/.next/server/chunks/ssr/{web_features_overview_16dyz2ngvs14b._.js.map → web_features_overview_0udx5lm8igils._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_hooks_overview-actions_ts_0-wrat07d1y5g._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_hooks_overview-actions_ts_0-wrat07d1y5g._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_1wuk95dw2_whp._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_1wuk95dw2_whp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_state_decision-panel_tsx_0kpd26ggtr6h_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_overview_ui_10mb24kjiffea._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_overview_ui_10mb24kjiffea._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_parties_actions_ts_0r-tbfsig2ty-._.js +1 -1
- package/web/.next/server/middleware-build-manifest.js +27 -3
- package/web/.next/server/next-font-manifest.js +1 -1
- package/web/.next/server/next-font-manifest.json +8 -0
- 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 +76 -26
- package/web/.next/static/chunks/10wzmy096av_5.css +3 -0
- package/web/.next/static/chunks/{2_41h3v090ur9.js → 1ffk4chq_kmie.js} +1 -1
- package/web/.next/static/chunks/1nyfzf-d7kj96.js +1 -0
- package/web/.next/static/chunks/202avng4-d5jq.js +1 -0
- package/web/.next/static/chunks/{00njqo86bx2kb.js → 26kio8jl2dc6u.js} +1 -1
- package/web/.next/static/chunks/2cd4e71s711ad.js +1 -0
- package/web/.next/static/chunks/2i3ydqqupow_x.js +1 -0
- package/web/.next/static/chunks/2jvq5fses35mf.js +1 -0
- package/web/.next/static/chunks/2riya89_i0je8.js +1 -0
- package/web/.next/static/chunks/{31vy122d9fvme.js → 2sx1mxv2u71xx.js} +1 -1
- package/web/.next/static/chunks/3_pwm8b3mf4mf.js +1 -0
- package/web/.next/static/chunks/3f3s544ovqebz.js +1 -0
- package/web/.next/static/chunks/{2x00o45pdbkok.js → 3x_8doukmdfpu.js} +1 -1
- package/web/.next/static/chunks/{3apnqdh48__yw.js → 3yunex2p9do7t.js} +1 -1
- package/web/.next/static/chunks/{1aa1d23q1vokr.js → 40sj32h7okqjq.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 +34 -0
- package/dist/core/parties/switch-tool.d.ts +0 -29
- package/dist/core/parties/switch-tool.js +0 -33
- package/dist/core/parties/switch-tool.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0m57jyae0dn_7._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0m57jyae0dn_7._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__11w36a4le04vy._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1k25lo5ka4mgd._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1k25lo5ka4mgd._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1yjb00o7x58xv._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1yjb00o7x58xv._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_0cyjln1rocvt5._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_0cyjln1rocvt5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/node_modules_1ins1z8o_qrka._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules_1ins1z8o_qrka._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0i_kwiszuiqcp._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0i_kwiszuiqcp._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_1--8ungjj--ht._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1--8ungjj--ht._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_1qq_ruz59ldc9._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_1qq_ruz59ldc9._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_forms_form-state_ts_2142hiopykfk1._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_forms_form-state_ts_2142hiopykfk1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_ui_20x5u9bhxeehi._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_outside-party_ui_20x5u9bhxeehi._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_overview_16dyz2ngvs14b._.js +0 -3
- package/web/.next/static/chunks/047i2x2j--shk.css +0 -3
- package/web/.next/static/chunks/0g4cpamshfwmn.js +0 -1
- package/web/.next/static/chunks/0j84uiid6fsim.js +0 -1
- package/web/.next/static/chunks/1ca21kggixrjz.js +0 -1
- package/web/.next/static/chunks/23ud2e13dn8f4.js +0 -1
- package/web/.next/static/chunks/3okm5g88ig1l3.js +0 -1
- /package/web/.next/static/{Az1CqrzgGHMZVR4nw9717 → JmnMsO8U6uK0nukLKdccI}/_buildManifest.js +0 -0
- /package/web/.next/static/{Az1CqrzgGHMZVR4nw9717 → JmnMsO8U6uK0nukLKdccI}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{Az1CqrzgGHMZVR4nw9717 → JmnMsO8U6uK0nukLKdccI}/_ssgManifest.js +0 -0
package/web/.next/server/chunks/ssr/node_modules_@aeolus-fleet_common_dist_header_1jvz31plyg2f-._.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(()=>{"use strict";module.exports=[19654,a=>{var b=a.i(87924),c=a.i(72131),d=a.i(22050),e=a.i(24715),f=a.i(57738),g=a.i(54662);let h=c.createContext(void 0);function i(a){let b=c.useContext(h);if(void 0===b&&!a)throw Error((0,g.f)(72));return b}var j=a.i(68536),k=a.i(54401),l=a.i(26476),m=a.i(30116),n=a.i(14209);function o(a){return null!=a&&null!=a.clientX}var p=a.i(38939),q=a.i(94552),r=a.i(84204),s=a.i(76459),t=a.i(17498),u=a.i(39802),v=a.i(17017),w=a.i(51943);let x={...v.j,disabled:a=>a.disabled,instantType:a=>a.instantType,isInstantPhase:a=>a.isInstantPhase,trackCursorAxis:a=>a.trackCursorAxis,disableHoverablePopup:a=>a.disableHoverablePopup,lastOpenChangeReason:a=>a.openChangeReason,closeOnClick:a=>a.closeOnClick,appliedTriggerProps:(a,b)=>b?a.activeTriggerProps:void 0,closeDelay:a=>a.closeDelay,adaptiveOrigin:a=>a.adaptiveOrigin};class y extends t.f{constructor(a,b,d){var e;let f=new w.f;super(function(a,b,c,d=!1){return{...(0,v.i)(b,c,d),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...a}}(a,f,b,d),(e=f,{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}),x)}setOpen=(a,b)=>{(0,r.c)(this,a,b,{extraState:{openChangeReason:b.reason}})};cancelPendingOpen(a){this.state.floatingRootContext.dispatchOpenChange(!1,(0,q.j)(u.f.triggerPress,a))}}var z=a.i(62600),z=z,A=a.i(29433),B=a.i(47462);let C=(0,d.U)(function(a){let{disabled:d=!1,defaultOpen:e=!1,open:g,disableHoverablePopup:i=!1,trackCursorAxis:j="none",actionsRef:k,onOpenChange:l,onOpenChangeComplete:m,handle:n,triggerId:o,defaultTriggerId:p=null,children:s}=a,t=(0,r.$)((a,b)=>new y({open:e,openProp:g,activeTriggerId:p,triggerIdProp:o},a,b));t.useControlledProp("openProp",g),t.useControlledProp("triggerIdProp",o),t.useContextCallback("onOpenChange",l),t.useContextCallback("onOpenChangeComplete",m);let u=t.useState("open"),v=!d&&u,w=t.useState("activeTriggerId"),x=t.useState("mounted"),C=t.useState("payload");t.useSyncedValues({trackCursorAxis:j,disableHoverablePopup:i,disabled:d}),(0,r._)(t,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:E,transitionStatus:F}=(0,r.L)(v,t),G=t.useState("isInstantPhase"),H=t.useState("instantType"),I=t.useState("lastOpenChangeReason"),J=c.useRef(null);(0,f.f)(()=>{u&&d&&t.setOpen(!1,(0,q.j)(z.disabled))},[u,d,t]),(0,f.f)(()=>{"ending"===F&&I===A.f.none||"ending"!==F&&G?("delay"!==H&&(J.current=H),t.set("instantType","delay")):null!==J.current&&(t.set("instantType",J.current),J.current=null)},[F,G,I,H,t]),(0,f.f)(()=>{v&&null==w&&t.set("payload",void 0)},[t,w,v]),c.useImperativeHandle(k,()=>({unmount:E,close:()=>t.setOpen(!1,(0,q.j)(B.f.imperativeAction))}),[E,t]);let K=v||x||!d&&"none"!==j;return(0,b.jsxs)(h.Provider,{value:t,children:[n&&(0,b.jsx)(r.d,{handle:n,store:t}),K&&(0,b.jsx)(D,{store:t,disabled:d,trackCursorAxis:j}),"function"==typeof s?s({payload:C}):s]})});function D({store:a,disabled:b,trackCursorAxis:d}){let f=a.useState("floatingRootContext"),g=(0,p.f)(f,{enabled:!b,referencePress:()=>a.select("closeOnClick")}),h=function(a,b={}){let{enabled:d=!0,axis:e="both"}=b,f=a.useState("open"),g=a.useState("floatingElement"),h=a.useState("domReferenceElement"),i=a.context.dataRef,p=c.useRef(!1),q=c.useRef(null),[r,s]=c.useState(),[t,u]=c.useState([]),v=(0,k.f)(b=>{a.set("positionReference",b)}),w=(0,k.f)((b,c,d)=>{if(!p.current&&(!i.current.openEvent||o(i.current.openEvent))){var f,g;let j,k,l;a.set("positionReference",(f=d??h,g={x:b,y:c,axis:e,dataRef:i,pointerType:r},j=null,k=null,l=!1,{contextElement:f||void 0,getBoundingClientRect(){let a=f?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},b="x"===g.axis||"both"===g.axis,c="y"===g.axis||"both"===g.axis,d=["mouseenter","mousemove"].includes(g.dataRef.current.openEvent?.type||"")&&"touch"!==g.pointerType,e="y"===g.axis?a.width:0,h="x"===g.axis?a.height:0,i=a.x,m=a.y;return null==j&&g.x&&b&&(j=a.x-g.x),null==k&&g.y&&c&&(k=a.y-g.y),i-=j||0,m-=k||0,(!l||d)&&(i=b&&null!=g.x?g.x:i,m=c&&null!=g.y?g.y:m),l=!0,{width:e,height:h,x:i,y:m,top:m,right:i+e,bottom:m+h,left:i}}}))}}),x=(0,k.f)(a=>{f?q.current||(w(a.clientX,a.clientY,a.currentTarget),u([])):w(a.clientX,a.clientY,a.currentTarget)}),y=(0,n.J)(r)?g:f;c.useEffect(()=>{if(!d)return void v(h);if(!y)return;function a(){q.current?.(),q.current=null}let b=(0,l.K)(g);return!i.current.openEvent||o(i.current.openEvent)?q.current=(0,j.f)(b,"mousemove",function(b){let c=(0,m.Z)(b);(0,m.I)(g,c)?a():w(b.clientX,b.clientY)}):v(h),a},[y,d,g,i,h,a,w,v,t]),c.useEffect(()=>()=>{a.set("positionReference",null)},[a]),c.useEffect(()=>{d&&!g&&(p.current=!1)},[d,g]),c.useEffect(()=>{!d&&f&&(p.current=!0)},[d,f]);let z=c.useMemo(()=>{function a(a){s(a.pointerType)}return{onPointerDown:a,onPointerEnter:a,onMouseMove:x,onMouseEnter:x}},[x]);return c.useMemo(()=>d?{reference:z,trigger:z}:{},[d,z])}(f,{enabled:!b&&"none"!==d,axis:"none"===d?void 0:d}),i=c.useMemo(()=>(0,s.w)(h.reference,g.reference),[h.reference,g.reference]);return(0,r.y)(a,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:g.floating??e.w}),null}var E=a.i(36069),F=a.i(89862),G=a.i(4478),H=a.i(26184),I=a.i(97151),J=a.i(557);let K=c.createContext(void 0);var L=a.i(25003),M=a.i(85252);let N=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new E.U,currentIdRef:{current:null},currentContextRef:{current:null}});function O(a){let{children:d,delay:e,timeoutMs:g=0}=a,h=c.useRef(e),i=c.useRef(e),j=c.useRef(null),k=c.useRef(null),l=(0,E.e)();return(0,f.f)(()=>{if(i.current=e,!j.current){h.current=e;return}h.current={open:(0,M.c)(h.current,"open"),close:(0,M.c)(e,"close")}},[e,j,h,i]),(0,b.jsx)(N.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:h,initialDelayRef:i,currentIdRef:j,timeoutMs:g,currentContextRef:k,timeout:l}),[g,l]),children:d})}var P=a.i(84842),Q=a.i(5735),R=a.i(33123),S=a.i(72077),T=a.i(63734);let U="data-base-ui-tooltip-trigger";function V(a){let b=(0,m.Z)(a);return(0,l.m)(b)?b:null}let W=(0,d.u)(function(a,b){let{render:d,className:e,style:h,handle:j,payload:k,disabled:l,delay:o,closeOnClick:p=!0,closeDelay:s,id:t,...u}=a,v=i(!0),w=(0,I.f)(j)??v;if(!w)throw Error((0,g.f)(82));let x=(0,J.f)(t),y=w.useState("isTriggerActive",x),z=w.useState("isOpenedByTrigger",x),B=w.useState("floatingRootContext"),C=c.useRef(null),D=s??0,{registerTrigger:O,isMountedByThisTrigger:W}=(0,r.F)(x,C,w,{payload:k,closeOnClick:p,closeDelay:D}),X=c.useContext(K),{activeIdRef:Y,delayRef:Z,isInstantPhase:$,hasProvider:_}=function(a,b={open:!1}){let{open:d}=b,e=a.useState("floatingId"),{currentIdRef:g,delayRef:h,timeoutMs:i,initialDelayRef:j,currentContextRef:k,hasProvider:l,timeout:m}=c.useContext(N),[n,o]=c.useState(!1),p=c.useRef(d);return(0,f.f)(()=>{p.current=d},[d]),(0,f.f)(()=>{function b(){k.current?.setIsInstantPhase(!1),g.current=null,k.current=null,h.current=j.current,m.clear()}if(g.current&&!d&&g.current===e){if(o(!1),i)return m.start(i,()=>{a.select("open")||g.current&&g.current!==e||b()}),()=>{(p.current||g.current!==e)&&m.clear()};b()}},[d,e,g,h,i,j,k,m,a]),(0,f.f)(()=>{if(!d)return;let b=k.current,c=g.current;m.clear(),k.current={onOpenChange:a.setOpen,setIsInstantPhase:o},g.current=e,h.current={open:0,close:(0,M.c)(j.current,"close")},null!==c&&c!==e?(o(!0),b?.setIsInstantPhase(!0),b?.onOpenChange(!1,(0,q.j)(A.f.none))):(o(!1),b?.setIsInstantPhase(!1))},[d,e,a,g,h,j,k,m]),(0,f.f)(()=>()=>{g.current===e&&(k.current=null,p.current)&&(g.current=null,h.current=j.current,m.clear())},[k,g,h,e,j,m]),c.useMemo(()=>({activeIdRef:g,hasProvider:l,delayRef:h,isInstantPhase:n}),[g,l,h,n])}(B,{open:z}),aa=(0,S.s)(B);w.useSyncedValue("isInstantPhase",$);let ab=w.useState("disabled"),ac=l??ab,ad=(0,F.f)(ac),ae=w.useState("trackCursorAxis"),af=w.useState("disableHoverablePopup"),ag=c.useRef(!1),ah=(0,E.e)(),ai=c.useRef(void 0);function aj(){return _&&null!=Y.current?0:o??X??600}function ak(a){let b=C.current;if(!b||!a)return!1;let c=(0,m.h)(a,`[${U}]`);return null!==c&&c!==b&&(0,m.I)(b,c)}let al=(0,Q.f)(B,{enabled:!ac,mouseOnly:!0,move:!1,handleClose:af||"both"===ae?null:(0,L.f)(),restMs:aj,delay:()=>null==s&&_?{close:(0,M.c)(Z.current,"close")}:{close:D},triggerElementRef:C,isActiveTrigger:y,isClosing:()=>"ending"===w.select("transitionStatus"),shouldOpen:()=>!ag.current}),am=(0,P.f)(B,{enabled:!ac}).reference,an=w.useState("appliedTriggerProps",W||"none"!==ae);return(0,H.a)("button",a,{state:{open:z},ref:[b,O,C],props:[al,am,an,{onMouseOver(a){(a=>{let b,c=ag.current,d=V(a),e=(ag.current=b=ak(d),b&&(aa.openChangeTimeout.clear(),aa.restTimeout.clear(),aa.restTimeoutPending=!1,ah.clear()),b),f=C.current,g=f&&d&&(0,m.I)(f,d);if(e&&w.select("open")&&w.select("lastOpenChangeReason")===R.f.triggerHover)return w.setOpen(!1,(0,q.j)(R.f.triggerHover,a));if(c&&!e&&g&&!ad.current&&!w.select("open")&&f&&(0,n.J)(ai.current)){let b=()=>{ag.current||ad.current||w.select("open")||w.setOpen(!0,(0,q.j)(R.f.triggerHover,a,f))},c=aj();0===c?(ah.clear(),b()):ah.start(c,b)}})(a.nativeEvent)},onFocus(a){ak(V(a.nativeEvent))&&a.preventBaseUIHandler()},onMouseLeave(){ag.current=!1,ah.clear(),ai.current=void 0},onPointerEnter(a){ai.current=a.pointerType},onPointerDown(a){ai.current=a.pointerType,w.set("closeOnClick",p),p&&!w.select("open")&&w.cancelPendingOpen(a.nativeEvent)},onClick(a){p&&!w.select("open")&&w.cancelPendingOpen(a.nativeEvent)},id:x,[T.f]:ac?"":void 0,[U]:ac?void 0:""},u],stateAttributesMapping:G.J})}),X=c.createContext(void 0);var Y=a.i(35112),Z=a.i(54098);let $=c.forwardRef(function(a,d){let{children:e,container:f,className:g,render:h,style:i,...j}=a,{node:k,subtree:l}=(0,Z.o)({container:f,ref:d,componentProps:a,elementProps:j});return l||k?(0,b.jsxs)(c.Fragment,{children:[l,k&&Y.createPortal(e,k)]}):null}),_=c.forwardRef(function(a,c){let{keepMounted:d=!1,...e}=a;return i().useState("mounted")||d?(0,b.jsx)(X.Provider,{value:d,children:(0,b.jsx)($,{ref:c,...e})}):null}),aa=c.createContext(void 0);var ab=a.i(44871),ac=a.i(82204),ad=a.i(56011);let ae=c.forwardRef(function(a,d){let{render:e,className:f,anchor:h,positionMethod:j="absolute",side:k="top",align:l="center",sideOffset:m=0,alignOffset:n=0,collisionBoundary:o="clipping-ancestors",collisionPadding:p=5,arrowPadding:q=5,sticky:r=!1,disableAnchorTracking:s=!1,collisionAvoidance:t=ac.n,style:u,...v}=a,w=i(),x=function(){let a=c.useContext(X);if(void 0===a)throw Error((0,g.f)(70));return a}(),y=w.useState("open"),z=w.useState("mounted"),A=w.useState("trackCursorAxis"),B=w.useState("disableHoverablePopup"),C=w.useState("floatingRootContext"),D=w.useState("instantType"),E=w.useState("transitionStatus"),F=w.useState("adaptiveOrigin"),G=(0,ab.f)({anchor:h,positionMethod:j,floatingRootContext:C,mounted:z,side:k,sideOffset:m,align:l,alignOffset:n,collisionBoundary:o,collisionPadding:p,sticky:r,arrowPadding:q,disableAnchorTracking:s,keepMounted:x,collisionAvoidance:t,adaptiveOrigin:F}),H=c.useMemo(()=>({open:y,side:G.side,align:G.align,anchorHidden:G.anchorHidden,instant:"none"!==A?"tracking-cursor":D}),[y,G.side,G.align,G.anchorHidden,A,D]),I=(0,ad.f)(a,H,{styles:G.positionerStyles,transitionStatus:E,props:v,refs:[d,w.useStateSetter("positionerElement")],hidden:!z,inert:!y||"both"===A||B});return(0,b.jsx)(aa.Provider,{value:G,children:I})});var af=a.i(5687),ag=a.i(3861),ah=a.i(81673);let ai=c.forwardRef(function(a,b){let{render:d,className:e,style:f,...h}=a,j=i(),{side:k,align:l}=function(){let a=c.useContext(aa);if(void 0===a)throw Error((0,g.f)(71));return a}(),m=j.useState("open"),n=j.useState("instantType"),o=j.useState("transitionStatus"),p=j.useState("popupProps"),q=j.useState("floatingRootContext"),s=j.useState("disabled"),t=j.useState("closeDelay");(0,af.f)({open:m,ref:j.context.popupRef,onComplete(){m&&j.context.onOpenChangeComplete?.(!0)}}),(0,ah.f)(q,{enabled:!s,closeDelay:t});let u=j.useStateSetter("popupElement");return(0,H.a)("div",a,{state:{open:m,side:k,align:l,instant:n,transitionStatus:o},ref:[b,j.context.popupRef,u],props:[r.X,p,(0,ag.f)(o),h],stateAttributesMapping:G.M})});a.s(["Popup",0,ai,"Portal",0,_,"Positioner",0,ae,"Provider",0,function(a){let{delay:d,closeDelay:e,timeout:f=400}=a,g=c.useMemo(()=>({open:d,close:e}),[d,e]);return(0,b.jsx)(K.Provider,{value:d,children:(0,b.jsx)(O,{delay:g,timeoutMs:f,children:a.children})})},"Root",0,C,"Trigger",0,W],3191),a.i(3191),a.i(18486),a.s([],19654)},68835,a=>{a.i(87924),a.i(72131),a.s([])}]})();
|
|
1
|
+
(()=>{"use strict";module.exports=[19654,a=>{var b=a.i(87924),c=a.i(72131),d=a.i(22050),e=a.i(24715),f=a.i(57738),g=a.i(54662);let h=c.createContext(void 0);function i(a){let b=c.useContext(h);if(void 0===b&&!a)throw Error((0,g.f)(72));return b}var j=a.i(68536),k=a.i(54401),l=a.i(26476),m=a.i(30116),n=a.i(14209);function o(a){return null!=a&&null!=a.clientX}var p=a.i(38939),q=a.i(94552),r=a.i(84204),s=a.i(32318),t=a.i(17498),u=a.i(39802),v=a.i(17017),w=a.i(51943);let x={...v.j,disabled:a=>a.disabled,instantType:a=>a.instantType,isInstantPhase:a=>a.isInstantPhase,trackCursorAxis:a=>a.trackCursorAxis,disableHoverablePopup:a=>a.disableHoverablePopup,lastOpenChangeReason:a=>a.openChangeReason,closeOnClick:a=>a.closeOnClick,appliedTriggerProps:(a,b)=>b?a.activeTriggerProps:void 0,closeDelay:a=>a.closeDelay,adaptiveOrigin:a=>a.adaptiveOrigin};class y extends t.f{constructor(a,b,d){var e;let f=new w.f;super(function(a,b,c,d=!1){return{...(0,v.i)(b,c,d),disabled:!1,instantType:void 0,isInstantPhase:!1,trackCursorAxis:"none",disableHoverablePopup:!1,openChangeReason:null,closeOnClick:!0,closeDelay:0,adaptiveOrigin:void 0,...a}}(a,f,b,d),(e=f,{popupRef:c.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerElements:e}),x)}setOpen=(a,b)=>{(0,r.c)(this,a,b,{extraState:{openChangeReason:b.reason}})};cancelPendingOpen(a){this.state.floatingRootContext.dispatchOpenChange(!1,(0,q.j)(u.f.triggerPress,a))}}var z=a.i(62600),z=z,A=a.i(29433),B=a.i(47462);let C=(0,d.U)(function(a){let{disabled:d=!1,defaultOpen:e=!1,open:g,disableHoverablePopup:i=!1,trackCursorAxis:j="none",actionsRef:k,onOpenChange:l,onOpenChangeComplete:m,handle:n,triggerId:o,defaultTriggerId:p=null,children:s}=a,t=(0,r.$)((a,b)=>new y({open:e,openProp:g,activeTriggerId:p,triggerIdProp:o},a,b));t.useControlledProp("openProp",g),t.useControlledProp("triggerIdProp",o),t.useContextCallback("onOpenChange",l),t.useContextCallback("onOpenChangeComplete",m);let u=t.useState("open"),v=!d&&u,w=t.useState("activeTriggerId"),x=t.useState("mounted"),C=t.useState("payload");t.useSyncedValues({trackCursorAxis:j,disableHoverablePopup:i,disabled:d}),(0,r._)(t,{closeOnActiveTriggerUnmount:!0});let{forceUnmount:E,transitionStatus:F}=(0,r.L)(v,t),G=t.useState("isInstantPhase"),H=t.useState("instantType"),I=t.useState("lastOpenChangeReason"),J=c.useRef(null);(0,f.f)(()=>{u&&d&&t.setOpen(!1,(0,q.j)(z.disabled))},[u,d,t]),(0,f.f)(()=>{"ending"===F&&I===A.f.none||"ending"!==F&&G?("delay"!==H&&(J.current=H),t.set("instantType","delay")):null!==J.current&&(t.set("instantType",J.current),J.current=null)},[F,G,I,H,t]),(0,f.f)(()=>{v&&null==w&&t.set("payload",void 0)},[t,w,v]),c.useImperativeHandle(k,()=>({unmount:E,close:()=>t.setOpen(!1,(0,q.j)(B.f.imperativeAction))}),[E,t]);let K=v||x||!d&&"none"!==j;return(0,b.jsxs)(h.Provider,{value:t,children:[n&&(0,b.jsx)(r.d,{handle:n,store:t}),K&&(0,b.jsx)(D,{store:t,disabled:d,trackCursorAxis:j}),"function"==typeof s?s({payload:C}):s]})});function D({store:a,disabled:b,trackCursorAxis:d}){let f=a.useState("floatingRootContext"),g=(0,p.f)(f,{enabled:!b,referencePress:()=>a.select("closeOnClick")}),h=function(a,b={}){let{enabled:d=!0,axis:e="both"}=b,f=a.useState("open"),g=a.useState("floatingElement"),h=a.useState("domReferenceElement"),i=a.context.dataRef,p=c.useRef(!1),q=c.useRef(null),[r,s]=c.useState(),[t,u]=c.useState([]),v=(0,k.f)(b=>{a.set("positionReference",b)}),w=(0,k.f)((b,c,d)=>{if(!p.current&&(!i.current.openEvent||o(i.current.openEvent))){var f,g;let j,k,l;a.set("positionReference",(f=d??h,g={x:b,y:c,axis:e,dataRef:i,pointerType:r},j=null,k=null,l=!1,{contextElement:f||void 0,getBoundingClientRect(){let a=f?.getBoundingClientRect()||{width:0,height:0,x:0,y:0},b="x"===g.axis||"both"===g.axis,c="y"===g.axis||"both"===g.axis,d=["mouseenter","mousemove"].includes(g.dataRef.current.openEvent?.type||"")&&"touch"!==g.pointerType,e="y"===g.axis?a.width:0,h="x"===g.axis?a.height:0,i=a.x,m=a.y;return null==j&&g.x&&b&&(j=a.x-g.x),null==k&&g.y&&c&&(k=a.y-g.y),i-=j||0,m-=k||0,(!l||d)&&(i=b&&null!=g.x?g.x:i,m=c&&null!=g.y?g.y:m),l=!0,{width:e,height:h,x:i,y:m,top:m,right:i+e,bottom:m+h,left:i}}}))}}),x=(0,k.f)(a=>{f?q.current||(w(a.clientX,a.clientY,a.currentTarget),u([])):w(a.clientX,a.clientY,a.currentTarget)}),y=(0,n.J)(r)?g:f;c.useEffect(()=>{if(!d)return void v(h);if(!y)return;function a(){q.current?.(),q.current=null}let b=(0,l.K)(g);return!i.current.openEvent||o(i.current.openEvent)?q.current=(0,j.f)(b,"mousemove",function(b){let c=(0,m.Z)(b);(0,m.I)(g,c)?a():w(b.clientX,b.clientY)}):v(h),a},[y,d,g,i,h,a,w,v,t]),c.useEffect(()=>()=>{a.set("positionReference",null)},[a]),c.useEffect(()=>{d&&!g&&(p.current=!1)},[d,g]),c.useEffect(()=>{!d&&f&&(p.current=!0)},[d,f]);let z=c.useMemo(()=>{function a(a){s(a.pointerType)}return{onPointerDown:a,onPointerEnter:a,onMouseMove:x,onMouseEnter:x}},[x]);return c.useMemo(()=>d?{reference:z,trigger:z}:{},[d,z])}(f,{enabled:!b&&"none"!==d,axis:"none"===d?void 0:d}),i=c.useMemo(()=>(0,s.w)(h.reference,g.reference),[h.reference,g.reference]);return(0,r.y)(a,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:g.floating??e.w}),null}var E=a.i(36069),F=a.i(89862),G=a.i(4478),H=a.i(26184),I=a.i(97151),J=a.i(557);let K=c.createContext(void 0);var L=a.i(25003),M=a.i(85252);let N=c.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new E.U,currentIdRef:{current:null},currentContextRef:{current:null}});function O(a){let{children:d,delay:e,timeoutMs:g=0}=a,h=c.useRef(e),i=c.useRef(e),j=c.useRef(null),k=c.useRef(null),l=(0,E.e)();return(0,f.f)(()=>{if(i.current=e,!j.current){h.current=e;return}h.current={open:(0,M.c)(h.current,"open"),close:(0,M.c)(e,"close")}},[e,j,h,i]),(0,b.jsx)(N.Provider,{value:c.useMemo(()=>({hasProvider:!0,delayRef:h,initialDelayRef:i,currentIdRef:j,timeoutMs:g,currentContextRef:k,timeout:l}),[g,l]),children:d})}var P=a.i(84842),Q=a.i(5735),R=a.i(33123),S=a.i(72077),T=a.i(63734);let U="data-base-ui-tooltip-trigger";function V(a){let b=(0,m.Z)(a);return(0,l.m)(b)?b:null}let W=(0,d.u)(function(a,b){let{render:d,className:e,style:h,handle:j,payload:k,disabled:l,delay:o,closeOnClick:p=!0,closeDelay:s,id:t,...u}=a,v=i(!0),w=(0,I.f)(j)??v;if(!w)throw Error((0,g.f)(82));let x=(0,J.f)(t),y=w.useState("isTriggerActive",x),z=w.useState("isOpenedByTrigger",x),B=w.useState("floatingRootContext"),C=c.useRef(null),D=s??0,{registerTrigger:O,isMountedByThisTrigger:W}=(0,r.F)(x,C,w,{payload:k,closeOnClick:p,closeDelay:D}),X=c.useContext(K),{activeIdRef:Y,delayRef:Z,isInstantPhase:$,hasProvider:_}=function(a,b={open:!1}){let{open:d}=b,e=a.useState("floatingId"),{currentIdRef:g,delayRef:h,timeoutMs:i,initialDelayRef:j,currentContextRef:k,hasProvider:l,timeout:m}=c.useContext(N),[n,o]=c.useState(!1),p=c.useRef(d);return(0,f.f)(()=>{p.current=d},[d]),(0,f.f)(()=>{function b(){k.current?.setIsInstantPhase(!1),g.current=null,k.current=null,h.current=j.current,m.clear()}if(g.current&&!d&&g.current===e){if(o(!1),i)return m.start(i,()=>{a.select("open")||g.current&&g.current!==e||b()}),()=>{(p.current||g.current!==e)&&m.clear()};b()}},[d,e,g,h,i,j,k,m,a]),(0,f.f)(()=>{if(!d)return;let b=k.current,c=g.current;m.clear(),k.current={onOpenChange:a.setOpen,setIsInstantPhase:o},g.current=e,h.current={open:0,close:(0,M.c)(j.current,"close")},null!==c&&c!==e?(o(!0),b?.setIsInstantPhase(!0),b?.onOpenChange(!1,(0,q.j)(A.f.none))):(o(!1),b?.setIsInstantPhase(!1))},[d,e,a,g,h,j,k,m]),(0,f.f)(()=>()=>{g.current===e&&(k.current=null,p.current)&&(g.current=null,h.current=j.current,m.clear())},[k,g,h,e,j,m]),c.useMemo(()=>({activeIdRef:g,hasProvider:l,delayRef:h,isInstantPhase:n}),[g,l,h,n])}(B,{open:z}),aa=(0,S.s)(B);w.useSyncedValue("isInstantPhase",$);let ab=w.useState("disabled"),ac=l??ab,ad=(0,F.f)(ac),ae=w.useState("trackCursorAxis"),af=w.useState("disableHoverablePopup"),ag=c.useRef(!1),ah=(0,E.e)(),ai=c.useRef(void 0);function aj(){return _&&null!=Y.current?0:o??X??600}function ak(a){let b=C.current;if(!b||!a)return!1;let c=(0,m.h)(a,`[${U}]`);return null!==c&&c!==b&&(0,m.I)(b,c)}let al=(0,Q.f)(B,{enabled:!ac,mouseOnly:!0,move:!1,handleClose:af||"both"===ae?null:(0,L.f)(),restMs:aj,delay:()=>null==s&&_?{close:(0,M.c)(Z.current,"close")}:{close:D},triggerElementRef:C,isActiveTrigger:y,isClosing:()=>"ending"===w.select("transitionStatus"),shouldOpen:()=>!ag.current}),am=(0,P.f)(B,{enabled:!ac}).reference,an=w.useState("appliedTriggerProps",W||"none"!==ae);return(0,H.a)("button",a,{state:{open:z},ref:[b,O,C],props:[al,am,an,{onMouseOver(a){(a=>{let b,c=ag.current,d=V(a),e=(ag.current=b=ak(d),b&&(aa.openChangeTimeout.clear(),aa.restTimeout.clear(),aa.restTimeoutPending=!1,ah.clear()),b),f=C.current,g=f&&d&&(0,m.I)(f,d);if(e&&w.select("open")&&w.select("lastOpenChangeReason")===R.f.triggerHover)return w.setOpen(!1,(0,q.j)(R.f.triggerHover,a));if(c&&!e&&g&&!ad.current&&!w.select("open")&&f&&(0,n.J)(ai.current)){let b=()=>{ag.current||ad.current||w.select("open")||w.setOpen(!0,(0,q.j)(R.f.triggerHover,a,f))},c=aj();0===c?(ah.clear(),b()):ah.start(c,b)}})(a.nativeEvent)},onFocus(a){ak(V(a.nativeEvent))&&a.preventBaseUIHandler()},onMouseLeave(){ag.current=!1,ah.clear(),ai.current=void 0},onPointerEnter(a){ai.current=a.pointerType},onPointerDown(a){ai.current=a.pointerType,w.set("closeOnClick",p),p&&!w.select("open")&&w.cancelPendingOpen(a.nativeEvent)},onClick(a){p&&!w.select("open")&&w.cancelPendingOpen(a.nativeEvent)},id:x,[T.f]:ac?"":void 0,[U]:ac?void 0:""},u],stateAttributesMapping:G.J})}),X=c.createContext(void 0);var Y=a.i(53116);let Z=c.forwardRef(function(a,c){let{keepMounted:d=!1,...e}=a;return i().useState("mounted")||d?(0,b.jsx)(X.Provider,{value:d,children:(0,b.jsx)(Y.f,{ref:c,...e})}):null}),$=c.createContext(void 0);var _=a.i(44871),aa=a.i(82204),ab=a.i(56011);let ac=c.forwardRef(function(a,d){let{render:e,className:f,anchor:h,positionMethod:j="absolute",side:k="top",align:l="center",sideOffset:m=0,alignOffset:n=0,collisionBoundary:o="clipping-ancestors",collisionPadding:p=5,arrowPadding:q=5,sticky:r=!1,disableAnchorTracking:s=!1,collisionAvoidance:t=aa.n,style:u,...v}=a,w=i(),x=function(){let a=c.useContext(X);if(void 0===a)throw Error((0,g.f)(70));return a}(),y=w.useState("open"),z=w.useState("mounted"),A=w.useState("trackCursorAxis"),B=w.useState("disableHoverablePopup"),C=w.useState("floatingRootContext"),D=w.useState("instantType"),E=w.useState("transitionStatus"),F=w.useState("adaptiveOrigin"),G=(0,_.f)({anchor:h,positionMethod:j,floatingRootContext:C,mounted:z,side:k,sideOffset:m,align:l,alignOffset:n,collisionBoundary:o,collisionPadding:p,sticky:r,arrowPadding:q,disableAnchorTracking:s,keepMounted:x,collisionAvoidance:t,adaptiveOrigin:F}),H=c.useMemo(()=>({open:y,side:G.side,align:G.align,anchorHidden:G.anchorHidden,instant:"none"!==A?"tracking-cursor":D}),[y,G.side,G.align,G.anchorHidden,A,D]),I=(0,ab.f)(a,H,{styles:G.positionerStyles,transitionStatus:E,props:v,refs:[d,w.useStateSetter("positionerElement")],hidden:!z,inert:!y||"both"===A||B});return(0,b.jsx)($.Provider,{value:G,children:I})});var ad=a.i(5687),ae=a.i(88352),af=a.i(81673);let ag=c.forwardRef(function(a,b){let{render:d,className:e,style:f,...h}=a,j=i(),{side:k,align:l}=function(){let a=c.useContext($);if(void 0===a)throw Error((0,g.f)(71));return a}(),m=j.useState("open"),n=j.useState("instantType"),o=j.useState("transitionStatus"),p=j.useState("popupProps"),q=j.useState("floatingRootContext"),s=j.useState("disabled"),t=j.useState("closeDelay");(0,ad.f)({open:m,ref:j.context.popupRef,onComplete(){m&&j.context.onOpenChangeComplete?.(!0)}}),(0,af.f)(q,{enabled:!s,closeDelay:t});let u=j.useStateSetter("popupElement");return(0,H.a)("div",a,{state:{open:m,side:k,align:l,instant:n,transitionStatus:o},ref:[b,j.context.popupRef,u],props:[r.X,p,(0,ae.f)(o),h],stateAttributesMapping:G.M})});a.s(["Popup",0,ag,"Portal",0,Z,"Positioner",0,ac,"Provider",0,function(a){let{delay:d,closeDelay:e,timeout:f=400}=a,g=c.useMemo(()=>({open:d,close:e}),[d,e]);return(0,b.jsx)(K.Provider,{value:d,children:(0,b.jsx)(O,{delay:g,timeoutMs:f,children:a.children})})},"Root",0,C,"Trigger",0,W],3191),a.i(3191),a.i(18486),a.s([],19654)},68835,a=>{a.i(87924),a.i(72131),a.s([])}]})();
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=node_modules_%40aeolus-fleet_common_dist_header_1jvz31plyg2f-._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../node_modules/%40base-ui/react/tooltip/trigger/TooltipTrigger.mjs","../../../../../node_modules/%40base-ui/react/floating-ui-react/hooks/useClientPoint.mjs","../../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRoot.mjs","../../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProviderContext.mjs","../../../../../node_modules/%40base-ui/react/floating-ui-react/components/FloatingDelayGroup.mjs","../../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRootContext.mjs","../../../../../node_modules/%40base-ui/react/utils/FloatingPortalLite.mjs","../../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortal.mjs","../../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositionerContext.mjs","../../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositioner.mjs","../../../../../node_modules/%40base-ui/react/tooltip/popup/TooltipPopup.mjs","../../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProvider.mjs","../../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortalContext.mjs","../../../../../node_modules/%40base-ui/react/tooltip/utils/constants.mjs","../../../../../node_modules/%40base-ui/react/tooltip/store/TooltipStore.mjs","../../../../../node_modules/%40aeolus-fleet/common/src/header/atoms/tooltip.tsx","../../../../../node_modules/%40aeolus-fleet/common/src/header/command-palette.tsx"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { fastComponentRef } from '@base-ui/utils/fastHooks';\nimport { useTimeout } from '@base-ui/utils/useTimeout';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { usePopupHandleStore, useTriggerDataForwarding } from \"../../utils/popups/index.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useTooltipProviderContext } from \"../provider/TooltipProviderContext.mjs\";\nimport { safePolygon, useDelayGroup, useFocus, useHoverReferenceInteraction } from \"../../floating-ui-react/index.mjs\";\nimport { closest, contains, getTarget } from \"../../floating-ui-react/utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../../floating-ui-react/utils/event.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useHoverInteractionSharedState } from \"../../floating-ui-react/hooks/useHoverInteractionSharedState.mjs\";\nimport { getDelay } from \"../../floating-ui-react/hooks/useHoverShared.mjs\";\nimport * as TooltipTriggerDataAttributes from \"./TooltipTriggerDataAttributes.mjs\";\nimport { OPEN_DELAY } from \"../utils/constants.mjs\";\nconst TOOLTIP_TRIGGER_IDENTIFIER = 'data-base-ui-tooltip-trigger';\nfunction getTargetElement(event) {\n const target = getTarget(event);\n return isElement(target) ? target : null;\n}\n\n/**\n * An element to attach the tooltip to.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipTrigger = fastComponentRef(function TooltipTrigger(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n handle,\n payload,\n disabled: disabledProp,\n delay,\n closeOnClick = true,\n closeDelay,\n id: idProp,\n ...elementProps\n } = componentProps;\n const rootContext = useTooltipRootContext(true);\n const handleStore = usePopupHandleStore(handle);\n const store = handleStore ?? rootContext;\n if (!store) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle.' : _formatErrorMessage(82));\n }\n const thisTriggerId = useBaseUiId(idProp);\n const isTriggerActive = store.useState('isTriggerActive', thisTriggerId);\n const isOpenedByThisTrigger = store.useState('isOpenedByTrigger', thisTriggerId);\n const floatingRootContext = store.useState('floatingRootContext');\n const triggerElementRef = React.useRef(null);\n const closeDelayWithDefault = closeDelay ?? 0;\n const {\n registerTrigger,\n isMountedByThisTrigger\n } = useTriggerDataForwarding(thisTriggerId, triggerElementRef, store, {\n payload,\n closeOnClick,\n closeDelay: closeDelayWithDefault\n });\n const providerDelay = useTooltipProviderContext();\n const {\n activeIdRef,\n delayRef,\n isInstantPhase,\n hasProvider\n } = useDelayGroup(floatingRootContext, {\n open: isOpenedByThisTrigger\n });\n const hoverInteraction = useHoverInteractionSharedState(floatingRootContext);\n store.useSyncedValue('isInstantPhase', isInstantPhase);\n const rootDisabled = store.useState('disabled');\n const disabled = disabledProp ?? rootDisabled;\n const disabledRef = useValueAsRef(disabled);\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const isNestedTriggerHoveredRef = React.useRef(false);\n const nestedTriggerOpenTimeout = useTimeout();\n // Local copy so it can be cleared on mouseLeave without resetting the hover hook's own pointerType.\n const pointerTypeRef = React.useRef(undefined);\n function getOpenDelay() {\n // Adjacent tooltips open instantly while the group is active.\n if (hasProvider && activeIdRef.current != null) {\n return 0;\n }\n return delay ?? providerDelay ?? OPEN_DELAY;\n }\n function isEnabledNestedTriggerTarget(target) {\n const triggerEl = triggerElementRef.current;\n if (!triggerEl || !target) {\n return false;\n }\n const nearestTrigger = closest(target, `[${TOOLTIP_TRIGGER_IDENTIFIER}]`);\n return nearestTrigger !== null && nearestTrigger !== triggerEl && contains(triggerEl, nearestTrigger);\n }\n function detectNestedTriggerHover(target) {\n const nestedTriggerHovered = isEnabledNestedTriggerTarget(target);\n isNestedTriggerHoveredRef.current = nestedTriggerHovered;\n if (nestedTriggerHovered) {\n hoverInteraction.openChangeTimeout.clear();\n hoverInteraction.restTimeout.clear();\n hoverInteraction.restTimeoutPending = false;\n nestedTriggerOpenTimeout.clear();\n }\n return nestedTriggerHovered;\n }\n const hoverProps = useHoverReferenceInteraction(floatingRootContext, {\n enabled: !disabled,\n mouseOnly: true,\n move: false,\n handleClose: !disableHoverablePopup && trackCursorAxis !== 'both' ? safePolygon() : null,\n restMs: getOpenDelay,\n delay() {\n if (closeDelay == null && hasProvider) {\n return {\n close: getDelay(delayRef.current, 'close')\n };\n }\n return {\n close: closeDelayWithDefault\n };\n },\n triggerElementRef,\n isActiveTrigger: isTriggerActive,\n isClosing: () => store.select('transitionStatus') === 'ending',\n shouldOpen() {\n return !isNestedTriggerHoveredRef.current;\n }\n });\n const focusProps = useFocus(floatingRootContext, {\n enabled: !disabled\n }).reference;\n const handleNestedTriggerHover = event => {\n const wasNestedTriggerHovered = isNestedTriggerHoveredRef.current;\n const target = getTargetElement(event);\n const nestedTriggerHovered = detectNestedTriggerHover(target);\n const triggerEl = triggerElementRef.current;\n const targetInsideTrigger = triggerEl && target && contains(triggerEl, target);\n\n // Only close hover-opened parents. Focus/click-like opens remain owned by\n // their original interaction and should not be clobbered by nested hover.\n if (nestedTriggerHovered && store.select('open') && store.select('lastOpenChangeReason') === REASONS.triggerHover) {\n store.setOpen(false, createChangeEventDetails(REASONS.triggerHover, event));\n return;\n }\n if (wasNestedTriggerHovered && !nestedTriggerHovered && targetInsideTrigger && !disabledRef.current && !store.select('open') && triggerEl &&\n // Match the hover hook's non-strict mouse fallback for mouse-only event sequences.\n isMouseLikePointerType(pointerTypeRef.current)) {\n const open = () => {\n if (!isNestedTriggerHoveredRef.current && !disabledRef.current && !store.select('open')) {\n store.setOpen(true, createChangeEventDetails(REASONS.triggerHover, event, triggerEl));\n }\n };\n const openDelay = getOpenDelay();\n\n // With `move: false`, the hover hook only listens to mouseenter/mouseleave\n // on the parent trigger. Leaving a nested child for the parent area fires\n // no event the hook can react to, so reopen locally.\n if (openDelay === 0) {\n nestedTriggerOpenTimeout.clear();\n open();\n } else {\n nestedTriggerOpenTimeout.start(openDelay, open);\n }\n }\n };\n const rootTriggerProps = store.useState('appliedTriggerProps', isMountedByThisTrigger || trackCursorAxis !== 'none');\n const state = {\n open: isOpenedByThisTrigger\n };\n const element = useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, registerTrigger, triggerElementRef],\n props: [hoverProps, focusProps, rootTriggerProps, {\n onMouseOver(event) {\n handleNestedTriggerHover(event.nativeEvent);\n },\n onFocus(event) {\n if (isEnabledNestedTriggerTarget(getTargetElement(event.nativeEvent))) {\n event.preventBaseUIHandler();\n }\n },\n onMouseLeave() {\n isNestedTriggerHoveredRef.current = false;\n nestedTriggerOpenTimeout.clear();\n pointerTypeRef.current = undefined;\n },\n onPointerEnter(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n store.set('closeOnClick', closeOnClick);\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n onClick(event) {\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n id: thisTriggerId,\n [TooltipTriggerDataAttributes.triggerDisabled]: disabled ? '' : undefined,\n [TOOLTIP_TRIGGER_IDENTIFIER]: disabled ? undefined : ''\n }, elementProps],\n stateAttributesMapping: triggerOpenStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipTrigger.displayName = \"TooltipTrigger\";","'use client';\n\nimport * as React from 'react';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { getWindow } from '@floating-ui/utils/dom';\nimport { contains, getTarget } from \"../utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../utils/event.mjs\";\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n const domRect = domElement?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(data.dataRef.current.openEvent?.type || '') && data.pointerType !== 'touch';\n const width = data.axis === 'y' ? domRect.width : 0;\n const height = data.axis === 'x' ? domRect.height : 0;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nexport function useClientPoint(store, props = {}) {\n const {\n enabled = true,\n axis = 'both'\n } = props;\n const open = store.useState('open');\n const floating = store.useState('floatingElement');\n const domReference = store.useState('domReferenceElement');\n const dataRef = store.context.dataRef;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const resetReference = useStableCallback(reference => {\n store.set('positionReference', reference);\n });\n const setReference = useStableCallback((newX, newY, referenceElement) => {\n if (initialRef.current) {\n return;\n }\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n store.set('positionReference', createVirtualElement(referenceElement ?? domReference, {\n x: newX,\n y: newY,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useStableCallback(event => {\n if (!open) {\n setReference(event.clientX, event.clientY, event.currentTarget);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReference(event.clientX, event.clientY, event.currentTarget);\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n React.useEffect(() => {\n if (!enabled) {\n resetReference(domReference);\n return undefined;\n }\n if (!openCheck) {\n return undefined;\n }\n function cleanupListener() {\n cleanupListenerRef.current?.();\n cleanupListenerRef.current = null;\n }\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n cleanupListener();\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n cleanupListenerRef.current = addEventListener(win, 'mousemove', handleMouseMove);\n } else {\n resetReference(domReference);\n }\n return cleanupListener;\n }, [openCheck, enabled, floating, dataRef, domReference, store, setReference, resetReference, reactive]);\n\n // Clear virtual cursor references when the hook unmounts. Enabled flips are handled above.\n React.useEffect(() => () => {\n store.set('positionReference', null);\n }, [store]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(event) {\n setPointerType(event.pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference,\n trigger: reference\n } : {}, [enabled, reference]);\n}","'use client';\n\nimport * as React from 'react';\nimport { fastComponent } from '@base-ui/utils/fastHooks';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { TooltipRootContext } from \"./TooltipRootContext.mjs\";\nimport { useClientPoint, useDismiss } from \"../../floating-ui-react/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { PopupHandleAttachment, useImplicitActiveTrigger, usePopupRootStore, useOpenStateTransitions, usePopupInteractionProps } from \"../../utils/popups/index.mjs\";\nimport { mergeProps } from \"../../merge-props/index.mjs\";\nimport { TooltipStore } from \"../store/TooltipStore.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\n\n/**\n * Groups all parts of the tooltip.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const TooltipRoot = fastComponent(function TooltipRoot(props) {\n const {\n disabled = false,\n defaultOpen = false,\n open: openProp,\n disableHoverablePopup = false,\n trackCursorAxis = 'none',\n actionsRef,\n onOpenChange,\n onOpenChangeComplete,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null,\n children\n } = props;\n const store = usePopupRootStore((floatingId, nested) => new TooltipStore({\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp\n }, floatingId, nested));\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const openState = store.useState('open');\n const open = !disabled && openState;\n const activeTriggerId = store.useState('activeTriggerId');\n const mounted = store.useState('mounted');\n const payload = store.useState('payload');\n store.useSyncedValues({\n trackCursorAxis,\n disableHoverablePopup,\n disabled\n });\n useImplicitActiveTrigger(store, {\n closeOnActiveTriggerUnmount: true\n });\n const {\n forceUnmount,\n transitionStatus\n } = useOpenStateTransitions(open, store);\n const isInstantPhase = store.useState('isInstantPhase');\n const instantType = store.useState('instantType');\n const lastOpenChangeReason = store.useState('lastOpenChangeReason');\n\n // Animations should be instant in two cases:\n // 1) Opening during the provider's instant phase (adjacent tooltip opens instantly)\n // 2) Closing because another tooltip opened (reason === 'none')\n // Otherwise, allow the animation to play. In particular, do not disable animations\n // during the 'ending' phase unless it's due to a sibling opening.\n const previousInstantTypeRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (openState && disabled) {\n store.setOpen(false, createChangeEventDetails(REASONS.disabled));\n }\n }, [openState, disabled, store]);\n useIsoLayoutEffect(() => {\n if (transitionStatus === 'ending' && lastOpenChangeReason === REASONS.none || transitionStatus !== 'ending' && isInstantPhase) {\n // Capture the current instant type so we can restore it later\n // and set to 'delay' to disable animations while moving from one trigger to another\n // within a delay group.\n if (instantType !== 'delay') {\n previousInstantTypeRef.current = instantType;\n }\n store.set('instantType', 'delay');\n } else if (previousInstantTypeRef.current !== null) {\n store.set('instantType', previousInstantTypeRef.current);\n previousInstantTypeRef.current = null;\n }\n }, [transitionStatus, isInstantPhase, lastOpenChangeReason, instantType, store]);\n useIsoLayoutEffect(() => {\n if (open) {\n if (activeTriggerId == null) {\n store.set('payload', undefined);\n }\n }\n }, [store, activeTriggerId, open]);\n React.useImperativeHandle(actionsRef, () => ({\n unmount: forceUnmount,\n close: () => store.setOpen(false, createChangeEventDetails(REASONS.imperativeAction))\n }), [forceUnmount, store]);\n const shouldRenderInteractions = open || mounted || !disabled && trackCursorAxis !== 'none';\n return /*#__PURE__*/_jsxs(TooltipRootContext.Provider, {\n value: store,\n children: [handle && /*#__PURE__*/_jsx(PopupHandleAttachment, {\n handle: handle,\n store: store\n }), shouldRenderInteractions && /*#__PURE__*/_jsx(TooltipInteractions, {\n store: store,\n disabled: disabled,\n trackCursorAxis: trackCursorAxis\n }), typeof children === 'function' ? children({\n payload\n }) : children]\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipRoot.displayName = \"TooltipRoot\";\nfunction TooltipInteractions({\n store,\n disabled,\n trackCursorAxis\n}) {\n const floatingRootContext = store.useState('floatingRootContext');\n const dismiss = useDismiss(floatingRootContext, {\n enabled: !disabled,\n referencePress: () => store.select('closeOnClick')\n });\n const clientPoint = useClientPoint(floatingRootContext, {\n enabled: !disabled && trackCursorAxis !== 'none',\n axis: trackCursorAxis === 'none' ? undefined : trackCursorAxis\n });\n\n // Both hooks return `trigger: reference` (same object identity), so the active and\n // inactive trigger props can never differ. `useClientPoint` has no floating-side props.\n const triggerProps = React.useMemo(() => mergeProps(clientPoint.reference, dismiss.reference), [clientPoint.reference, dismiss.reference]);\n usePopupInteractionProps(store, {\n activeTriggerProps: triggerProps,\n inactiveTriggerProps: triggerProps,\n popupProps: dismiss.floating ?? EMPTY_OBJECT\n });\n return null;\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * Holds the provider's `delay` value. `closeDelay` is handled by the delay group.\n */\nexport const TooltipProviderContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipProviderContext.displayName = \"TooltipProviderContext\";\nexport function useTooltipProviderContext() {\n return React.useContext(TooltipProviderContext);\n}","'use client';\n\nimport * as React from 'react';\nimport { useTimeout, Timeout } from '@base-ui/utils/useTimeout';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { getDelay } from \"../hooks/useHoverShared.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n hasProvider: false,\n timeoutMs: 0,\n delayRef: {\n current: 0\n },\n initialDelayRef: {\n current: 0\n },\n timeout: new Timeout(),\n currentIdRef: {\n current: null\n },\n currentContextRef: {\n current: null\n }\n});\nif (process.env.NODE_ENV !== \"production\") FloatingDelayGroupContext.displayName = \"FloatingDelayGroupContext\";\nfunction resetDelayRef(delayRef, initialDelayRef) {\n delayRef.current = initialDelayRef.current;\n}\n/**\n * Experimental next version of `FloatingDelayGroup` to become the default\n * in the future. This component is not yet stable.\n * Provides context for a group of floating elements that should share a\n * `delay`. Unlike `FloatingDelayGroup`, `useDelayGroup` with this\n * component does not cause a re-render of unrelated consumers of the\n * context when the delay changes.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const delayRef = React.useRef(delay);\n const initialDelayRef = React.useRef(delay);\n const currentIdRef = React.useRef(null);\n const currentContextRef = React.useRef(null);\n const timeout = useTimeout();\n useIsoLayoutEffect(() => {\n initialDelayRef.current = delay;\n if (!currentIdRef.current) {\n delayRef.current = delay;\n return;\n }\n delayRef.current = {\n open: getDelay(delayRef.current, 'open'),\n close: getDelay(delay, 'close')\n };\n }, [delay, currentIdRef, delayRef, initialDelayRef]);\n return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n hasProvider: true,\n delayRef,\n initialDelayRef,\n currentIdRef,\n timeoutMs,\n currentContextRef,\n timeout\n }), [timeoutMs, timeout]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function useDelayGroup(store, options = {\n open: false\n}) {\n const {\n open\n } = options;\n const floatingId = store.useState('floatingId');\n const groupContext = React.useContext(FloatingDelayGroupContext);\n const {\n currentIdRef,\n delayRef,\n timeoutMs,\n initialDelayRef,\n currentContextRef,\n hasProvider,\n timeout\n } = groupContext;\n const [isInstantPhase, setIsInstantPhase] = React.useState(false);\n const openRef = React.useRef(open);\n useIsoLayoutEffect(() => {\n openRef.current = open;\n }, [open]);\n useIsoLayoutEffect(() => {\n function unset() {\n currentContextRef.current?.setIsInstantPhase(false);\n currentIdRef.current = null;\n currentContextRef.current = null;\n delayRef.current = initialDelayRef.current;\n timeout.clear();\n }\n if (!currentIdRef.current) {\n return undefined;\n }\n if (!open && currentIdRef.current === floatingId) {\n setIsInstantPhase(false);\n if (timeoutMs) {\n const closingId = floatingId;\n timeout.start(timeoutMs, () => {\n // If another tooltip has taken over the group, skip resetting.\n if (store.select('open') || currentIdRef.current && currentIdRef.current !== closingId) {\n return;\n }\n unset();\n });\n return () => {\n if (openRef.current || currentIdRef.current !== closingId) {\n timeout.clear();\n }\n };\n }\n unset();\n }\n return undefined;\n }, [open, floatingId, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout, store]);\n useIsoLayoutEffect(() => {\n if (!open) {\n return;\n }\n const prevContext = currentContextRef.current;\n const prevId = currentIdRef.current;\n\n // A new tooltip is opening, so cancel any pending timeout that would reset\n // the group's delay back to the initial value.\n timeout.clear();\n currentContextRef.current = {\n onOpenChange: store.setOpen,\n setIsInstantPhase\n };\n currentIdRef.current = floatingId;\n delayRef.current = {\n open: 0,\n close: getDelay(initialDelayRef.current, 'close')\n };\n if (prevId !== null && prevId !== floatingId) {\n setIsInstantPhase(true);\n prevContext?.setIsInstantPhase(true);\n prevContext?.onOpenChange(false, createChangeEventDetails(REASONS.none));\n } else {\n setIsInstantPhase(false);\n prevContext?.setIsInstantPhase(false);\n }\n }, [open, floatingId, store, currentIdRef, delayRef, initialDelayRef, currentContextRef, timeout]);\n useIsoLayoutEffect(() => {\n return () => {\n if (currentIdRef.current === floatingId) {\n currentContextRef.current = null;\n if (!openRef.current) {\n return;\n }\n currentIdRef.current = null;\n resetDelayRef(delayRef, initialDelayRef);\n timeout.clear();\n }\n };\n }, [currentContextRef, currentIdRef, delayRef, floatingId, initialDelayRef, timeout]);\n return React.useMemo(() => ({\n activeIdRef: currentIdRef,\n hasProvider,\n delayRef,\n isInstantPhase\n }), [currentIdRef, hasProvider, delayRef, isInstantPhase]);\n}","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipRootContext.displayName = \"TooltipRootContext\";\nexport function useTooltipRootContext(optional) {\n const context = React.useContext(TooltipRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.' : _formatErrorMessage(72));\n }\n return context;\n}","'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\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPortalContext } from \"./TooltipPortalContext.mjs\";\nimport { FloatingPortalLite } from \"../../utils/FloatingPortalLite.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPortal = /*#__PURE__*/React.forwardRef(function TooltipPortal(props, forwardedRef) {\n const {\n keepMounted = false,\n ...portalProps\n } = props;\n const store = useTooltipRootContext();\n const mounted = store.useState('mounted');\n const shouldRender = mounted || keepMounted;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(TooltipPortalContext.Provider, {\n value: keepMounted,\n children: /*#__PURE__*/_jsx(FloatingPortalLite, {\n ref: forwardedRef,\n ...portalProps\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPortal.displayName = \"TooltipPortal\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPositionerContext.displayName = \"TooltipPositionerContext\";\nexport function useTooltipPositionerContext() {\n const context = React.useContext(TooltipPositionerContext);\n if (context === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.' : _formatErrorMessage(71));\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPositionerContext } from \"./TooltipPositionerContext.mjs\";\nimport { useAnchorPositioning } from \"../../internals/useAnchorPositioning.mjs\";\nimport { useTooltipPortalContext } from \"../portal/TooltipPortalContext.mjs\";\nimport { POPUP_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\n\n/**\n * Positions the tooltip against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPositioner = /*#__PURE__*/React.forwardRef(function TooltipPositioner(componentProps, forwardedRef) {\n const {\n render,\n className,\n anchor,\n positionMethod = 'absolute',\n side = 'top',\n align = 'center',\n sideOffset = 0,\n alignOffset = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding = 5,\n arrowPadding = 5,\n sticky = false,\n disableAnchorTracking = false,\n collisionAvoidance = POPUP_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const keepMounted = useTooltipPortalContext();\n const open = store.useState('open');\n const mounted = store.useState('mounted');\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const floatingRootContext = store.useState('floatingRootContext');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const adaptiveOrigin = store.useState('adaptiveOrigin');\n const positioning = useAnchorPositioning({\n anchor,\n positionMethod,\n floatingRootContext,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n collisionBoundary,\n collisionPadding,\n sticky,\n arrowPadding,\n disableAnchorTracking,\n keepMounted,\n collisionAvoidance,\n adaptiveOrigin\n });\n const state = React.useMemo(() => ({\n open,\n side: positioning.side,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden,\n instant: trackCursorAxis !== 'none' ? 'tracking-cursor' : instantType\n }), [open, positioning.side, positioning.align, positioning.anchorHidden, trackCursorAxis, instantType]);\n const element = usePositioner(componentProps, state, {\n styles: positioning.positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, store.useStateSetter('positionerElement')],\n hidden: !mounted,\n inert: !open || trackCursorAxis === 'both' || disableHoverablePopup\n });\n return /*#__PURE__*/_jsx(TooltipPositionerContext.Provider, {\n value: positioning,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPositioner.displayName = \"TooltipPositioner\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.mjs\";\nimport { popupTransitionStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"../../internals/getDisabledMountTransitionStyles.mjs\";\nimport { useHoverFloatingInteraction } from \"../../floating-ui-react/index.mjs\";\nimport { FOCUSABLE_POPUP_PROPS } from \"../../utils/popups/index.mjs\";\n\n/**\n * A container for the tooltip contents.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPopup = /*#__PURE__*/React.forwardRef(function TooltipPopup(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const {\n side,\n align\n } = useTooltipPositionerContext();\n const open = store.useState('open');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const popupProps = store.useState('popupProps');\n const floatingContext = store.useState('floatingRootContext');\n const disabled = store.useState('disabled');\n const closeDelay = store.useState('closeDelay');\n useOpenChangeComplete({\n open,\n ref: store.context.popupRef,\n onComplete() {\n if (open) {\n store.context.onOpenChangeComplete?.(true);\n }\n }\n });\n useHoverFloatingInteraction(floatingContext, {\n enabled: !disabled,\n closeDelay\n });\n const setPopupElement = store.useStateSetter('popupElement');\n const state = {\n open,\n side,\n align,\n instant: instantType,\n transitionStatus\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, store.context.popupRef, setPopupElement],\n props: [FOCUSABLE_POPUP_PROPS, popupProps, getDisabledMountTransitionStyles(transitionStatus), elementProps],\n stateAttributesMapping: popupTransitionStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPopup.displayName = \"TooltipPopup\";","'use client';\n\nimport * as React from 'react';\nimport { FloatingDelayGroup } from \"../../floating-ui-react/index.mjs\";\nimport { TooltipProviderContext } from \"./TooltipProviderContext.mjs\";\n\n/**\n * Provides a shared delay for multiple tooltips. The grouping logic ensures that\n * once a tooltip becomes visible, the adjacent tooltips will be shown instantly.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipProvider = function TooltipProvider(props) {\n const {\n delay,\n closeDelay,\n timeout = 400\n } = props;\n const delayValue = React.useMemo(() => ({\n open: delay,\n close: closeDelay\n }), [delay, closeDelay]);\n return /*#__PURE__*/_jsx(TooltipProviderContext.Provider, {\n value: delay,\n children: /*#__PURE__*/_jsx(FloatingDelayGroup, {\n delay: delayValue,\n timeoutMs: timeout,\n children: props.children\n })\n });\n};\nif (process.env.NODE_ENV !== \"production\") TooltipProvider.displayName = \"TooltipProvider\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPortalContext.displayName = \"TooltipPortalContext\";\nexport function useTooltipPortalContext() {\n const value = React.useContext(TooltipPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Portal> is missing.' : _formatErrorMessage(70));\n }\n return value;\n}","export const OPEN_DELAY = 600;","import * as React from 'react';\nimport { ReactStore } from '@base-ui/utils/store';\nimport { NOOP } from '@base-ui/utils/empty';\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { NullStore } from \"../../utils/NullStore.mjs\";\nimport { applyPopupOpenChange, createInitialPopupStoreState, popupStoreSelectors, PopupTriggerMap } from \"../../utils/popups/index.mjs\";\nconst selectors = {\n ...popupStoreSelectors,\n disabled: state => state.disabled,\n instantType: state => state.instantType,\n isInstantPhase: state => state.isInstantPhase,\n trackCursorAxis: state => state.trackCursorAxis,\n disableHoverablePopup: state => state.disableHoverablePopup,\n lastOpenChangeReason: state => state.openChangeReason,\n closeOnClick: state => state.closeOnClick,\n // Active and inactive trigger props are the same object, so a constant for triggers that discard\n // them keeps those triggers from re-rendering when the props change.\n appliedTriggerProps: (state, apply) => apply ? state.activeTriggerProps : undefined,\n closeDelay: state => state.closeDelay,\n adaptiveOrigin: state => state.adaptiveOrigin\n};\n\n/**\n * The store view that detached handle-backed triggers read from. Both the real `TooltipStore` and\n * the inert fallback store satisfy it, so a trigger can read from whichever store the handle\n * currently exposes. Narrowed to the members a trigger actually uses — the trigger-data members plus\n * `setOpen`/`cancelPendingOpen` (called directly by the trigger) and `useSyncedValue` — so the\n * exposed surface can't bypass the open-change pipeline; on the detached fallback store every one of\n * these mutations is a no-op.\n */\n\nexport class TooltipStore extends ReactStore {\n constructor(initialState, floatingId, nested) {\n const triggerElements = new PopupTriggerMap();\n super(createInitialState(initialState, triggerElements, floatingId, nested), createInitialContext(triggerElements), selectors);\n }\n setOpen = (nextOpen, eventDetails) => {\n applyPopupOpenChange(this, nextOpen, eventDetails, {\n extraState: {\n openChangeReason: eventDetails.reason\n }\n });\n };\n\n // Used by trigger clicks to clear a delayed hover open without reporting a public open-state change.\n cancelPendingOpen(event) {\n this.state.floatingRootContext.dispatchOpenChange(false, createChangeEventDetails(REASONS.triggerPress, event));\n }\n}\n\n/**\n * Creates the inert fallback store used by detached handle-backed triggers while no `Tooltip.Root`\n * is attached. It preserves a tooltip-specific trigger registry in context so detached triggers can\n * register before migrating to the live root store. `setOpen`/`cancelPendingOpen` are no-ops\n * (matching the inert reads/writes of `NullStore`), so a trigger can call them from hover/click\n * handlers while detached without any effect.\n */\nexport function createNullTooltipStore() {\n const triggerElements = new PopupTriggerMap();\n const store = new NullStore(Object.freeze(createInitialState(undefined, triggerElements)), Object.freeze(createInitialContext(triggerElements)), selectors);\n return Object.assign(store, {\n setOpen: NOOP,\n cancelPendingOpen: NOOP\n });\n}\nfunction createInitialState(initialState, triggerElements, floatingId, nested = false) {\n const state = {\n ...createInitialPopupStoreState(triggerElements, floatingId, nested),\n disabled: false,\n instantType: undefined,\n isInstantPhase: false,\n trackCursorAxis: 'none',\n disableHoverablePopup: false,\n openChangeReason: null,\n closeOnClick: true,\n closeDelay: 0,\n adaptiveOrigin: undefined,\n ...initialState\n };\n return state;\n}\nfunction createInitialContext(triggerElements) {\n return {\n popupRef: /*#__PURE__*/React.createRef(),\n onOpenChange: undefined,\n onOpenChangeComplete: undefined,\n triggerElements\n };\n}","unable to read source [project]/node_modules/@aeolus-fleet/common/src/header/atoms/tooltip.tsx","unable to read source [project]/node_modules/@aeolus-fleet/common/src/header/command-palette.tsx"],"names":["TooltipRootContext","undefined","useTooltipRootContext","optional","context","Error"],"mappings":"8DEEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OGHA,EAAA,EAAA,CAAA,CAAA,OAEO,IAAMA,EAAkC,EAAA,aAAmB,IAAhC,EAAiCC,GAE5D,MAFsC,GAE7BC,EAAsBC,CAAQ,EAC5C,IAAMC,EAAU,EAAA,UAAgB,CAACJ,GACjC,QAAgBC,IAAZG,GAAyB,CAACD,EAC5B,MAAM,AAAIE,EAD4B,IACtB,AAAwI,CAAA,EAAA,EAAA,CAAA,AAAmB,EAAC,KAE9K,OAAOD,CACT,CJTA,IAAA,EAAA,EAAA,CAAA,CAAA,MIM4D,CJL5D,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OA+CA,SAAS,EAAkB,CAAK,EAC9B,OAAO,AAAS,SAAyB,MAAjB,EAAM,OAAO,AACvC,CCjDA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OYTA,EAAA,EAAA,CAAA,CAAA,OAGA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EA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CAC5G,uBAAwB,EAAA,CAA2B,AACrD,EAEF,iECpD+B,SAAS,AAAgB,CAAK,EAC3D,GAAM,OACJ,CAAK,YACL,CAAU,SACV,EAAU,GAAG,CACd,CAAG,EACEA,EAAa,EAAA,OAAa,CAAC,IAAM,CAAC,CACtC,KAAM,EACN,MAAO,EACT,CAAC,CAAG,CAAC,EAAO,EAAW,EACvB,MAAoB,CAAb,AAAa,EAAA,EAAA,GAAA,AAAI,EAAC,EAAP,AAA8B,QAAQ,CAAE,CACxD,MAAO,EACP,SAAuB,CAAb,AAAa,EAAA,EAAA,GAAA,AAAI,EAAC,EAAP,AAA2B,CAC9C,MAAO,EACP,UAAW,EACX,SAAU,EAAM,QAAQ,AAC1B,EACF,EACF,4CI3B2B,CAAmB,CAAC,CAAA,CAAA,2CCD6B,EAAA,CAAA,CAAA","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRootContext.mjs","../../../../../node_modules/%40base-ui/react/floating-ui-react/hooks/useClientPoint.mjs","../../../../../node_modules/%40base-ui/react/tooltip/root/TooltipRoot.mjs","../../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProviderContext.mjs","../../../../../node_modules/%40base-ui/react/floating-ui-react/components/FloatingDelayGroup.mjs","../../../../../node_modules/%40base-ui/react/tooltip/trigger/TooltipTrigger.mjs","../../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortalContext.mjs","../../../../../node_modules/%40base-ui/react/tooltip/portal/TooltipPortal.mjs","../../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositionerContext.mjs","../../../../../node_modules/%40base-ui/react/tooltip/positioner/TooltipPositioner.mjs","../../../../../node_modules/%40base-ui/react/tooltip/popup/TooltipPopup.mjs","../../../../../node_modules/%40base-ui/react/tooltip/provider/TooltipProvider.mjs","../../../../../node_modules/%40aeolus-fleet/common/src/header/atoms/tooltip.tsx","../../../../../node_modules/%40base-ui/react/tooltip/utils/constants.mjs","../../../../../node_modules/%40base-ui/react/tooltip/store/TooltipStore.mjs","../../../../../node_modules/%40aeolus-fleet/common/src/header/command-palette.tsx"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipRootContext.displayName = \"TooltipRootContext\";\nexport function useTooltipRootContext(optional) {\n const context = React.useContext(TooltipRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.' : _formatErrorMessage(72));\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { addEventListener } from '@base-ui/utils/addEventListener';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { getWindow } from '@floating-ui/utils/dom';\nimport { contains, getTarget } from \"../utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../utils/event.mjs\";\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n const domRect = domElement?.getBoundingClientRect() || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(data.dataRef.current.openEvent?.type || '') && data.pointerType !== 'touch';\n const width = data.axis === 'y' ? domRect.width : 0;\n const height = data.axis === 'x' ? domRect.height : 0;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nexport function useClientPoint(store, props = {}) {\n const {\n enabled = true,\n axis = 'both'\n } = props;\n const open = store.useState('open');\n const floating = store.useState('floatingElement');\n const domReference = store.useState('domReferenceElement');\n const dataRef = store.context.dataRef;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const resetReference = useStableCallback(reference => {\n store.set('positionReference', reference);\n });\n const setReference = useStableCallback((newX, newY, referenceElement) => {\n if (initialRef.current) {\n return;\n }\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n store.set('positionReference', createVirtualElement(referenceElement ?? domReference, {\n x: newX,\n y: newY,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useStableCallback(event => {\n if (!open) {\n setReference(event.clientX, event.clientY, event.currentTarget);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReference(event.clientX, event.clientY, event.currentTarget);\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n React.useEffect(() => {\n if (!enabled) {\n resetReference(domReference);\n return undefined;\n }\n if (!openCheck) {\n return undefined;\n }\n function cleanupListener() {\n cleanupListenerRef.current?.();\n cleanupListenerRef.current = null;\n }\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n cleanupListener();\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n cleanupListenerRef.current = addEventListener(win, 'mousemove', handleMouseMove);\n } else {\n resetReference(domReference);\n }\n return cleanupListener;\n }, [openCheck, enabled, floating, dataRef, domReference, store, setReference, resetReference, reactive]);\n\n // Clear virtual cursor references when the hook unmounts. Enabled flips are handled above.\n React.useEffect(() => () => {\n store.set('positionReference', null);\n }, [store]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(event) {\n setPointerType(event.pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference,\n trigger: reference\n } : {}, [enabled, reference]);\n}","'use client';\n\nimport * as React from 'react';\nimport { fastComponent } from '@base-ui/utils/fastHooks';\nimport { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { TooltipRootContext } from \"./TooltipRootContext.mjs\";\nimport { useClientPoint, useDismiss } from \"../../floating-ui-react/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { PopupHandleAttachment, useImplicitActiveTrigger, usePopupRootStore, useOpenStateTransitions, usePopupInteractionProps } from \"../../utils/popups/index.mjs\";\nimport { mergeProps } from \"../../merge-props/index.mjs\";\nimport { TooltipStore } from \"../store/TooltipStore.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\n\n/**\n * Groups all parts of the tooltip.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const TooltipRoot = fastComponent(function TooltipRoot(props) {\n const {\n disabled = false,\n defaultOpen = false,\n open: openProp,\n disableHoverablePopup = false,\n trackCursorAxis = 'none',\n actionsRef,\n onOpenChange,\n onOpenChangeComplete,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null,\n children\n } = props;\n const store = usePopupRootStore((floatingId, nested) => new TooltipStore({\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp\n }, floatingId, nested));\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const openState = store.useState('open');\n const open = !disabled && openState;\n const activeTriggerId = store.useState('activeTriggerId');\n const mounted = store.useState('mounted');\n const payload = store.useState('payload');\n store.useSyncedValues({\n trackCursorAxis,\n disableHoverablePopup,\n disabled\n });\n useImplicitActiveTrigger(store, {\n closeOnActiveTriggerUnmount: true\n });\n const {\n forceUnmount,\n transitionStatus\n } = useOpenStateTransitions(open, store);\n const isInstantPhase = store.useState('isInstantPhase');\n const instantType = store.useState('instantType');\n const lastOpenChangeReason = store.useState('lastOpenChangeReason');\n\n // Animations should be instant in two cases:\n // 1) Opening during the provider's instant phase (adjacent tooltip opens instantly)\n // 2) Closing because another tooltip opened (reason === 'none')\n // Otherwise, allow the animation to play. In particular, do not disable animations\n // during the 'ending' phase unless it's due to a sibling opening.\n const previousInstantTypeRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (openState && disabled) {\n store.setOpen(false, createChangeEventDetails(REASONS.disabled));\n }\n }, [openState, disabled, store]);\n useIsoLayoutEffect(() => {\n if (transitionStatus === 'ending' && lastOpenChangeReason === REASONS.none || transitionStatus !== 'ending' && isInstantPhase) {\n // Capture the current instant type so we can restore it later\n // and set to 'delay' to disable animations while moving from one trigger to another\n // within a delay group.\n if (instantType !== 'delay') {\n previousInstantTypeRef.current = instantType;\n }\n store.set('instantType', 'delay');\n } else if (previousInstantTypeRef.current !== null) {\n store.set('instantType', previousInstantTypeRef.current);\n previousInstantTypeRef.current = null;\n }\n }, [transitionStatus, isInstantPhase, lastOpenChangeReason, instantType, store]);\n useIsoLayoutEffect(() => {\n if (open) {\n if (activeTriggerId == null) {\n store.set('payload', undefined);\n }\n }\n }, [store, activeTriggerId, open]);\n React.useImperativeHandle(actionsRef, () => ({\n unmount: forceUnmount,\n close: () => store.setOpen(false, createChangeEventDetails(REASONS.imperativeAction))\n }), [forceUnmount, store]);\n const shouldRenderInteractions = open || mounted || !disabled && trackCursorAxis !== 'none';\n return /*#__PURE__*/_jsxs(TooltipRootContext.Provider, {\n value: store,\n children: [handle && /*#__PURE__*/_jsx(PopupHandleAttachment, {\n handle: handle,\n store: store\n }), shouldRenderInteractions && /*#__PURE__*/_jsx(TooltipInteractions, {\n store: store,\n disabled: disabled,\n trackCursorAxis: trackCursorAxis\n }), typeof children === 'function' ? children({\n payload\n }) : children]\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipRoot.displayName = \"TooltipRoot\";\nfunction TooltipInteractions({\n store,\n disabled,\n trackCursorAxis\n}) {\n const floatingRootContext = store.useState('floatingRootContext');\n const dismiss = useDismiss(floatingRootContext, {\n enabled: !disabled,\n referencePress: () => store.select('closeOnClick')\n });\n const clientPoint = useClientPoint(floatingRootContext, {\n enabled: !disabled && trackCursorAxis !== 'none',\n axis: trackCursorAxis === 'none' ? undefined : trackCursorAxis\n });\n\n // Both hooks return `trigger: reference` (same object identity), so the active and\n // inactive trigger props can never differ. `useClientPoint` has no floating-side props.\n const triggerProps = React.useMemo(() => mergeProps(clientPoint.reference, dismiss.reference), [clientPoint.reference, dismiss.reference]);\n usePopupInteractionProps(store, {\n activeTriggerProps: triggerProps,\n inactiveTriggerProps: triggerProps,\n popupProps: dismiss.floating ?? EMPTY_OBJECT\n });\n return null;\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * Holds the provider's `delay` value. `closeDelay` is handled by the delay group.\n */\nexport const TooltipProviderContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipProviderContext.displayName = \"TooltipProviderContext\";\nexport function useTooltipProviderContext() {\n return React.useContext(TooltipProviderContext);\n}","'use client';\n\nimport * as React from 'react';\nimport { useTimeout, Timeout } from '@base-ui/utils/useTimeout';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { getDelay } from \"../hooks/useHoverShared.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n hasProvider: false,\n timeoutMs: 0,\n delayRef: {\n current: 0\n },\n initialDelayRef: {\n current: 0\n },\n timeout: new Timeout(),\n currentIdRef: {\n current: null\n },\n currentContextRef: {\n current: null\n }\n});\nif (process.env.NODE_ENV !== \"production\") FloatingDelayGroupContext.displayName = \"FloatingDelayGroupContext\";\nfunction resetDelayRef(delayRef, initialDelayRef) {\n delayRef.current = initialDelayRef.current;\n}\n/**\n * Experimental next version of `FloatingDelayGroup` to become the default\n * in the future. This component is not yet stable.\n * Provides context for a group of floating elements that should share a\n * `delay`. Unlike `FloatingDelayGroup`, `useDelayGroup` with this\n * component does not cause a re-render of unrelated consumers of the\n * context when the delay changes.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const delayRef = React.useRef(delay);\n const initialDelayRef = React.useRef(delay);\n const currentIdRef = React.useRef(null);\n const currentContextRef = React.useRef(null);\n const timeout = useTimeout();\n useIsoLayoutEffect(() => {\n initialDelayRef.current = delay;\n if (!currentIdRef.current) {\n delayRef.current = delay;\n return;\n }\n delayRef.current = {\n open: getDelay(delayRef.current, 'open'),\n close: getDelay(delay, 'close')\n };\n }, [delay, currentIdRef, delayRef, initialDelayRef]);\n return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n hasProvider: true,\n delayRef,\n initialDelayRef,\n currentIdRef,\n timeoutMs,\n currentContextRef,\n timeout\n }), [timeoutMs, timeout]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function useDelayGroup(store, options = {\n open: false\n}) {\n const {\n open\n } = options;\n const floatingId = store.useState('floatingId');\n const groupContext = React.useContext(FloatingDelayGroupContext);\n const {\n currentIdRef,\n delayRef,\n timeoutMs,\n initialDelayRef,\n currentContextRef,\n hasProvider,\n timeout\n } = groupContext;\n const [isInstantPhase, setIsInstantPhase] = React.useState(false);\n const openRef = React.useRef(open);\n useIsoLayoutEffect(() => {\n openRef.current = open;\n }, [open]);\n useIsoLayoutEffect(() => {\n function unset() {\n currentContextRef.current?.setIsInstantPhase(false);\n currentIdRef.current = null;\n currentContextRef.current = null;\n delayRef.current = initialDelayRef.current;\n timeout.clear();\n }\n if (!currentIdRef.current) {\n return undefined;\n }\n if (!open && currentIdRef.current === floatingId) {\n setIsInstantPhase(false);\n if (timeoutMs) {\n const closingId = floatingId;\n timeout.start(timeoutMs, () => {\n // If another tooltip has taken over the group, skip resetting.\n if (store.select('open') || currentIdRef.current && currentIdRef.current !== closingId) {\n return;\n }\n unset();\n });\n return () => {\n if (openRef.current || currentIdRef.current !== closingId) {\n timeout.clear();\n }\n };\n }\n unset();\n }\n return undefined;\n }, [open, floatingId, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout, store]);\n useIsoLayoutEffect(() => {\n if (!open) {\n return;\n }\n const prevContext = currentContextRef.current;\n const prevId = currentIdRef.current;\n\n // A new tooltip is opening, so cancel any pending timeout that would reset\n // the group's delay back to the initial value.\n timeout.clear();\n currentContextRef.current = {\n onOpenChange: store.setOpen,\n setIsInstantPhase\n };\n currentIdRef.current = floatingId;\n delayRef.current = {\n open: 0,\n close: getDelay(initialDelayRef.current, 'close')\n };\n if (prevId !== null && prevId !== floatingId) {\n setIsInstantPhase(true);\n prevContext?.setIsInstantPhase(true);\n prevContext?.onOpenChange(false, createChangeEventDetails(REASONS.none));\n } else {\n setIsInstantPhase(false);\n prevContext?.setIsInstantPhase(false);\n }\n }, [open, floatingId, store, currentIdRef, delayRef, initialDelayRef, currentContextRef, timeout]);\n useIsoLayoutEffect(() => {\n return () => {\n if (currentIdRef.current === floatingId) {\n currentContextRef.current = null;\n if (!openRef.current) {\n return;\n }\n currentIdRef.current = null;\n resetDelayRef(delayRef, initialDelayRef);\n timeout.clear();\n }\n };\n }, [currentContextRef, currentIdRef, delayRef, floatingId, initialDelayRef, timeout]);\n return React.useMemo(() => ({\n activeIdRef: currentIdRef,\n hasProvider,\n delayRef,\n isInstantPhase\n }), [currentIdRef, hasProvider, delayRef, isInstantPhase]);\n}","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { fastComponentRef } from '@base-ui/utils/fastHooks';\nimport { useTimeout } from '@base-ui/utils/useTimeout';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { usePopupHandleStore, useTriggerDataForwarding } from \"../../utils/popups/index.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\nimport { useTooltipProviderContext } from \"../provider/TooltipProviderContext.mjs\";\nimport { safePolygon, useDelayGroup, useFocus, useHoverReferenceInteraction } from \"../../floating-ui-react/index.mjs\";\nimport { closest, contains, getTarget } from \"../../floating-ui-react/utils/element.mjs\";\nimport { isMouseLikePointerType } from \"../../floating-ui-react/utils/event.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { useHoverInteractionSharedState } from \"../../floating-ui-react/hooks/useHoverInteractionSharedState.mjs\";\nimport { getDelay } from \"../../floating-ui-react/hooks/useHoverShared.mjs\";\nimport * as TooltipTriggerDataAttributes from \"./TooltipTriggerDataAttributes.mjs\";\nimport { OPEN_DELAY } from \"../utils/constants.mjs\";\nconst TOOLTIP_TRIGGER_IDENTIFIER = 'data-base-ui-tooltip-trigger';\nfunction getTargetElement(event) {\n const target = getTarget(event);\n return isElement(target) ? target : null;\n}\n\n/**\n * An element to attach the tooltip to.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipTrigger = fastComponentRef(function TooltipTrigger(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n handle,\n payload,\n disabled: disabledProp,\n delay,\n closeOnClick = true,\n closeDelay,\n id: idProp,\n ...elementProps\n } = componentProps;\n const rootContext = useTooltipRootContext(true);\n const handleStore = usePopupHandleStore(handle);\n const store = handleStore ?? rootContext;\n if (!store) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle.' : _formatErrorMessage(82));\n }\n const thisTriggerId = useBaseUiId(idProp);\n const isTriggerActive = store.useState('isTriggerActive', thisTriggerId);\n const isOpenedByThisTrigger = store.useState('isOpenedByTrigger', thisTriggerId);\n const floatingRootContext = store.useState('floatingRootContext');\n const triggerElementRef = React.useRef(null);\n const closeDelayWithDefault = closeDelay ?? 0;\n const {\n registerTrigger,\n isMountedByThisTrigger\n } = useTriggerDataForwarding(thisTriggerId, triggerElementRef, store, {\n payload,\n closeOnClick,\n closeDelay: closeDelayWithDefault\n });\n const providerDelay = useTooltipProviderContext();\n const {\n activeIdRef,\n delayRef,\n isInstantPhase,\n hasProvider\n } = useDelayGroup(floatingRootContext, {\n open: isOpenedByThisTrigger\n });\n const hoverInteraction = useHoverInteractionSharedState(floatingRootContext);\n store.useSyncedValue('isInstantPhase', isInstantPhase);\n const rootDisabled = store.useState('disabled');\n const disabled = disabledProp ?? rootDisabled;\n const disabledRef = useValueAsRef(disabled);\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const isNestedTriggerHoveredRef = React.useRef(false);\n const nestedTriggerOpenTimeout = useTimeout();\n // Local copy so it can be cleared on mouseLeave without resetting the hover hook's own pointerType.\n const pointerTypeRef = React.useRef(undefined);\n function getOpenDelay() {\n // Adjacent tooltips open instantly while the group is active.\n if (hasProvider && activeIdRef.current != null) {\n return 0;\n }\n return delay ?? providerDelay ?? OPEN_DELAY;\n }\n function isEnabledNestedTriggerTarget(target) {\n const triggerEl = triggerElementRef.current;\n if (!triggerEl || !target) {\n return false;\n }\n const nearestTrigger = closest(target, `[${TOOLTIP_TRIGGER_IDENTIFIER}]`);\n return nearestTrigger !== null && nearestTrigger !== triggerEl && contains(triggerEl, nearestTrigger);\n }\n function detectNestedTriggerHover(target) {\n const nestedTriggerHovered = isEnabledNestedTriggerTarget(target);\n isNestedTriggerHoveredRef.current = nestedTriggerHovered;\n if (nestedTriggerHovered) {\n hoverInteraction.openChangeTimeout.clear();\n hoverInteraction.restTimeout.clear();\n hoverInteraction.restTimeoutPending = false;\n nestedTriggerOpenTimeout.clear();\n }\n return nestedTriggerHovered;\n }\n const hoverProps = useHoverReferenceInteraction(floatingRootContext, {\n enabled: !disabled,\n mouseOnly: true,\n move: false,\n handleClose: !disableHoverablePopup && trackCursorAxis !== 'both' ? safePolygon() : null,\n restMs: getOpenDelay,\n delay() {\n if (closeDelay == null && hasProvider) {\n return {\n close: getDelay(delayRef.current, 'close')\n };\n }\n return {\n close: closeDelayWithDefault\n };\n },\n triggerElementRef,\n isActiveTrigger: isTriggerActive,\n isClosing: () => store.select('transitionStatus') === 'ending',\n shouldOpen() {\n return !isNestedTriggerHoveredRef.current;\n }\n });\n const focusProps = useFocus(floatingRootContext, {\n enabled: !disabled\n }).reference;\n const handleNestedTriggerHover = event => {\n const wasNestedTriggerHovered = isNestedTriggerHoveredRef.current;\n const target = getTargetElement(event);\n const nestedTriggerHovered = detectNestedTriggerHover(target);\n const triggerEl = triggerElementRef.current;\n const targetInsideTrigger = triggerEl && target && contains(triggerEl, target);\n\n // Only close hover-opened parents. Focus/click-like opens remain owned by\n // their original interaction and should not be clobbered by nested hover.\n if (nestedTriggerHovered && store.select('open') && store.select('lastOpenChangeReason') === REASONS.triggerHover) {\n store.setOpen(false, createChangeEventDetails(REASONS.triggerHover, event));\n return;\n }\n if (wasNestedTriggerHovered && !nestedTriggerHovered && targetInsideTrigger && !disabledRef.current && !store.select('open') && triggerEl &&\n // Match the hover hook's non-strict mouse fallback for mouse-only event sequences.\n isMouseLikePointerType(pointerTypeRef.current)) {\n const open = () => {\n if (!isNestedTriggerHoveredRef.current && !disabledRef.current && !store.select('open')) {\n store.setOpen(true, createChangeEventDetails(REASONS.triggerHover, event, triggerEl));\n }\n };\n const openDelay = getOpenDelay();\n\n // With `move: false`, the hover hook only listens to mouseenter/mouseleave\n // on the parent trigger. Leaving a nested child for the parent area fires\n // no event the hook can react to, so reopen locally.\n if (openDelay === 0) {\n nestedTriggerOpenTimeout.clear();\n open();\n } else {\n nestedTriggerOpenTimeout.start(openDelay, open);\n }\n }\n };\n const rootTriggerProps = store.useState('appliedTriggerProps', isMountedByThisTrigger || trackCursorAxis !== 'none');\n const state = {\n open: isOpenedByThisTrigger\n };\n const element = useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, registerTrigger, triggerElementRef],\n props: [hoverProps, focusProps, rootTriggerProps, {\n onMouseOver(event) {\n handleNestedTriggerHover(event.nativeEvent);\n },\n onFocus(event) {\n if (isEnabledNestedTriggerTarget(getTargetElement(event.nativeEvent))) {\n event.preventBaseUIHandler();\n }\n },\n onMouseLeave() {\n isNestedTriggerHoveredRef.current = false;\n nestedTriggerOpenTimeout.clear();\n pointerTypeRef.current = undefined;\n },\n onPointerEnter(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n store.set('closeOnClick', closeOnClick);\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n onClick(event) {\n if (closeOnClick && !store.select('open')) {\n store.cancelPendingOpen(event.nativeEvent);\n }\n },\n id: thisTriggerId,\n [TooltipTriggerDataAttributes.triggerDisabled]: disabled ? '' : undefined,\n [TOOLTIP_TRIGGER_IDENTIFIER]: disabled ? undefined : ''\n }, elementProps],\n stateAttributesMapping: triggerOpenStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipTrigger.displayName = \"TooltipTrigger\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPortalContext.displayName = \"TooltipPortalContext\";\nexport function useTooltipPortalContext() {\n const value = React.useContext(TooltipPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Tooltip.Portal> is missing.' : _formatErrorMessage(70));\n }\n return value;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPortalContext } from \"./TooltipPortalContext.mjs\";\nimport { FloatingPortalLite } from \"../../utils/FloatingPortalLite.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPortal = /*#__PURE__*/React.forwardRef(function TooltipPortal(props, forwardedRef) {\n const {\n keepMounted = false,\n ...portalProps\n } = props;\n const store = useTooltipRootContext();\n const mounted = store.useState('mounted');\n const shouldRender = mounted || keepMounted;\n if (!shouldRender) {\n return null;\n }\n return /*#__PURE__*/_jsx(TooltipPortalContext.Provider, {\n value: keepMounted,\n children: /*#__PURE__*/_jsx(FloatingPortalLite, {\n ref: forwardedRef,\n ...portalProps\n })\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPortal.displayName = \"TooltipPortal\";","'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const TooltipPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPositionerContext.displayName = \"TooltipPositionerContext\";\nexport function useTooltipPositionerContext() {\n const context = React.useContext(TooltipPositionerContext);\n if (context === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.' : _formatErrorMessage(71));\n }\n return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { TooltipPositionerContext } from \"./TooltipPositionerContext.mjs\";\nimport { useAnchorPositioning } from \"../../internals/useAnchorPositioning.mjs\";\nimport { useTooltipPortalContext } from \"../portal/TooltipPortalContext.mjs\";\nimport { POPUP_COLLISION_AVOIDANCE } from \"../../internals/constants.mjs\";\nimport { usePositioner } from \"../../utils/usePositioner.mjs\";\n\n/**\n * Positions the tooltip against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPositioner = /*#__PURE__*/React.forwardRef(function TooltipPositioner(componentProps, forwardedRef) {\n const {\n render,\n className,\n anchor,\n positionMethod = 'absolute',\n side = 'top',\n align = 'center',\n sideOffset = 0,\n alignOffset = 0,\n collisionBoundary = 'clipping-ancestors',\n collisionPadding = 5,\n arrowPadding = 5,\n sticky = false,\n disableAnchorTracking = false,\n collisionAvoidance = POPUP_COLLISION_AVOIDANCE,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const keepMounted = useTooltipPortalContext();\n const open = store.useState('open');\n const mounted = store.useState('mounted');\n const trackCursorAxis = store.useState('trackCursorAxis');\n const disableHoverablePopup = store.useState('disableHoverablePopup');\n const floatingRootContext = store.useState('floatingRootContext');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const adaptiveOrigin = store.useState('adaptiveOrigin');\n const positioning = useAnchorPositioning({\n anchor,\n positionMethod,\n floatingRootContext,\n mounted,\n side,\n sideOffset,\n align,\n alignOffset,\n collisionBoundary,\n collisionPadding,\n sticky,\n arrowPadding,\n disableAnchorTracking,\n keepMounted,\n collisionAvoidance,\n adaptiveOrigin\n });\n const state = React.useMemo(() => ({\n open,\n side: positioning.side,\n align: positioning.align,\n anchorHidden: positioning.anchorHidden,\n instant: trackCursorAxis !== 'none' ? 'tracking-cursor' : instantType\n }), [open, positioning.side, positioning.align, positioning.anchorHidden, trackCursorAxis, instantType]);\n const element = usePositioner(componentProps, state, {\n styles: positioning.positionerStyles,\n transitionStatus,\n props: elementProps,\n refs: [forwardedRef, store.useStateSetter('positionerElement')],\n hidden: !mounted,\n inert: !open || trackCursorAxis === 'both' || disableHoverablePopup\n });\n return /*#__PURE__*/_jsx(TooltipPositionerContext.Provider, {\n value: positioning,\n children: element\n });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPositioner.displayName = \"TooltipPositioner\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.mjs\";\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.mjs\";\nimport { popupTransitionStateMapping } from \"../../utils/popupStateMapping.mjs\";\nimport { useOpenChangeComplete } from \"../../internals/useOpenChangeComplete.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"../../internals/getDisabledMountTransitionStyles.mjs\";\nimport { useHoverFloatingInteraction } from \"../../floating-ui-react/index.mjs\";\nimport { FOCUSABLE_POPUP_PROPS } from \"../../utils/popups/index.mjs\";\n\n/**\n * A container for the tooltip contents.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPopup = /*#__PURE__*/React.forwardRef(function TooltipPopup(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n ...elementProps\n } = componentProps;\n const store = useTooltipRootContext();\n const {\n side,\n align\n } = useTooltipPositionerContext();\n const open = store.useState('open');\n const instantType = store.useState('instantType');\n const transitionStatus = store.useState('transitionStatus');\n const popupProps = store.useState('popupProps');\n const floatingContext = store.useState('floatingRootContext');\n const disabled = store.useState('disabled');\n const closeDelay = store.useState('closeDelay');\n useOpenChangeComplete({\n open,\n ref: store.context.popupRef,\n onComplete() {\n if (open) {\n store.context.onOpenChangeComplete?.(true);\n }\n }\n });\n useHoverFloatingInteraction(floatingContext, {\n enabled: !disabled,\n closeDelay\n });\n const setPopupElement = store.useStateSetter('popupElement');\n const state = {\n open,\n side,\n align,\n instant: instantType,\n transitionStatus\n };\n const element = useRenderElement('div', componentProps, {\n state,\n ref: [forwardedRef, store.context.popupRef, setPopupElement],\n props: [FOCUSABLE_POPUP_PROPS, popupProps, getDisabledMountTransitionStyles(transitionStatus), elementProps],\n stateAttributesMapping: popupTransitionStateMapping\n });\n return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPopup.displayName = \"TooltipPopup\";","'use client';\n\nimport * as React from 'react';\nimport { FloatingDelayGroup } from \"../../floating-ui-react/index.mjs\";\nimport { TooltipProviderContext } from \"./TooltipProviderContext.mjs\";\n\n/**\n * Provides a shared delay for multiple tooltips. The grouping logic ensures that\n * once a tooltip becomes visible, the adjacent tooltips will be shown instantly.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipProvider = function TooltipProvider(props) {\n const {\n delay,\n closeDelay,\n timeout = 400\n } = props;\n const delayValue = React.useMemo(() => ({\n open: delay,\n close: closeDelay\n }), [delay, closeDelay]);\n return /*#__PURE__*/_jsx(TooltipProviderContext.Provider, {\n value: delay,\n children: /*#__PURE__*/_jsx(FloatingDelayGroup, {\n delay: delayValue,\n timeoutMs: timeout,\n children: props.children\n })\n });\n};\nif (process.env.NODE_ENV !== \"production\") TooltipProvider.displayName = \"TooltipProvider\";","unable to read source [project]/node_modules/@aeolus-fleet/common/src/header/atoms/tooltip.tsx","export const OPEN_DELAY = 600;","import * as React from 'react';\nimport { ReactStore } from '@base-ui/utils/store';\nimport { NOOP } from '@base-ui/utils/empty';\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\nimport { NullStore } from \"../../utils/NullStore.mjs\";\nimport { applyPopupOpenChange, createInitialPopupStoreState, popupStoreSelectors, PopupTriggerMap } from \"../../utils/popups/index.mjs\";\nconst selectors = {\n ...popupStoreSelectors,\n disabled: state => state.disabled,\n instantType: state => state.instantType,\n isInstantPhase: state => state.isInstantPhase,\n trackCursorAxis: state => state.trackCursorAxis,\n disableHoverablePopup: state => state.disableHoverablePopup,\n lastOpenChangeReason: state => state.openChangeReason,\n closeOnClick: state => state.closeOnClick,\n // Active and inactive trigger props are the same object, so a constant for triggers that discard\n // them keeps those triggers from re-rendering when the props change.\n appliedTriggerProps: (state, apply) => apply ? state.activeTriggerProps : undefined,\n closeDelay: state => state.closeDelay,\n adaptiveOrigin: state => state.adaptiveOrigin\n};\n\n/**\n * The store view that detached handle-backed triggers read from. Both the real `TooltipStore` and\n * the inert fallback store satisfy it, so a trigger can read from whichever store the handle\n * currently exposes. Narrowed to the members a trigger actually uses — the trigger-data members plus\n * `setOpen`/`cancelPendingOpen` (called directly by the trigger) and `useSyncedValue` — so the\n * exposed surface can't bypass the open-change pipeline; on the detached fallback store every one of\n * these mutations is a no-op.\n */\n\nexport class TooltipStore extends ReactStore {\n constructor(initialState, floatingId, nested) {\n const triggerElements = new PopupTriggerMap();\n super(createInitialState(initialState, triggerElements, floatingId, nested), createInitialContext(triggerElements), selectors);\n }\n setOpen = (nextOpen, eventDetails) => {\n applyPopupOpenChange(this, nextOpen, eventDetails, {\n extraState: {\n openChangeReason: eventDetails.reason\n }\n });\n };\n\n // Used by trigger clicks to clear a delayed hover open without reporting a public open-state change.\n cancelPendingOpen(event) {\n this.state.floatingRootContext.dispatchOpenChange(false, createChangeEventDetails(REASONS.triggerPress, event));\n }\n}\n\n/**\n * Creates the inert fallback store used by detached handle-backed triggers while no `Tooltip.Root`\n * is attached. It preserves a tooltip-specific trigger registry in context so detached triggers can\n * register before migrating to the live root store. `setOpen`/`cancelPendingOpen` are no-ops\n * (matching the inert reads/writes of `NullStore`), so a trigger can call them from hover/click\n * handlers while detached without any effect.\n */\nexport function createNullTooltipStore() {\n const triggerElements = new PopupTriggerMap();\n const store = new NullStore(Object.freeze(createInitialState(undefined, triggerElements)), Object.freeze(createInitialContext(triggerElements)), selectors);\n return Object.assign(store, {\n setOpen: NOOP,\n cancelPendingOpen: NOOP\n });\n}\nfunction createInitialState(initialState, triggerElements, floatingId, nested = false) {\n const state = {\n ...createInitialPopupStoreState(triggerElements, floatingId, nested),\n disabled: false,\n instantType: undefined,\n isInstantPhase: false,\n trackCursorAxis: 'none',\n disableHoverablePopup: false,\n openChangeReason: null,\n closeOnClick: true,\n closeDelay: 0,\n adaptiveOrigin: undefined,\n ...initialState\n };\n return state;\n}\nfunction createInitialContext(triggerElements) {\n return {\n popupRef: /*#__PURE__*/React.createRef(),\n onOpenChange: undefined,\n onOpenChangeComplete: undefined,\n triggerElements\n };\n}","unable to read source [project]/node_modules/@aeolus-fleet/common/src/header/command-palette.tsx"],"names":["TooltipRootContext","undefined","useTooltipRootContext","optional","context","Error"],"mappings":"8DEEA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OFHA,EAAA,EAAA,CAAA,CAAA,OAEO,IAAMA,EAAkC,EAAA,aAAmB,IAAhC,EAAiCC,GAE5D,MAFsC,GAE7BC,EAAsBC,CAAQ,EAC5C,IAAMC,EAAU,EAAA,UAAgB,CAACJ,GACjC,QAAgBC,IAAZG,GAAyB,CAACD,EAC5B,MAAM,AAAIE,EAD4B,IACtB,AAAwI,CAAA,EAAA,EAAA,CAAA,AAAmB,EAAC,KAE9K,OAAOD,CACT,CCTA,IAAA,EAAA,EAAA,CAAA,CAAA,MDM4D,CCL5D,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OA+CA,SAAS,EAAkB,CAAK,EAC9B,OAAO,AAAS,SAAyB,MAAjB,EAAM,OAAO,AACvC,CCjDA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OYTA,EAAA,EAAA,CAAA,CAAA,OAGA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA,OAAA,EAAA,EAAA,CAAA,CAAA,OACA,IAAM,EAAY,CAChB,GAAG,EAAA,CAAmB,CACtB,SAAU,GAAS,EAAM,QAAQ,CACjC,YAAa,GAAS,EAAM,WA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>{"use strict";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])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_%40base-ui_react_utils_FloatingPortalLite_mjs_1uzc1ezeugtex._.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/%40base-ui/react/utils/FloatingPortalLite.mjs"],"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\";"],"names":["FloatingPortalLite","componentProps","forwardedRef","children","container","className","render","style","elementProps","node","portalNode","subtree","portalSubtree","ref"],"mappings":"uCAEA,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,GAAY,AACnG,EADqD,CAH5C,IAKX","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[78872,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["gateway-off",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(45900)),"[project]/web/app/(console)/gateway-off/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/gateway-off/page",pathname:"/gateway-off",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],78872)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_1s46s8vlfx01v.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/gateway-off/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"gateway-off\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/gateway-off/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/gateway-off/page\",\n pathname: \"/gateway-off\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAWA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAsCA,EAAA,CAAA,CAAA,OAjDA,IAAMA,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAsB,AAAtB,EAAuB,IAAA,EAAA,CAAA,CAAA,QACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAwC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC/DC,EAA+B,CAAA,EAAA,EAAA,sBAAsB,AAAtB,EAAuB,IAAA,EAAA,CAAA,CAAA,QACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAM5DE,EAAO,CAAC,GAAI,CAClB,SAAY,CAAC,YAAa,CAC1B,SAAY,CAAC,cAAe,CAC5B,SAAY,CAAC,WAAY,CACzB,EAAG,CACDC,SAAU,CAAG,EAAI,KAAQ,CAVQ,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,QAUF,mDACxD,AAD2G,EACxG,EAAE,CAAC,AACN,EAAG,CACDA,SAAU,CAAG,CAAE,EAAG,EAAE,CAAC,AACvB,EAAG,CACDA,SAAU,CAAG,EAAI,OAAU,CAACN,EAA8B,yCAAyC,CACnG,YAAa,CAACC,EAAoC,kCAAkC,CACpF,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,AACpI,EAAG,EAAE,CAAC,AACN,EAAG,CACD,OAAU,CAACR,EAA8B,+BAA+B,CACxE,YAAa,CAACC,EAAoC,kCAAkC,CACpF,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,CAClI,eAAgB,CAACC,EAAuC,6EAA6E,AACvI,EAAG,EAAE,CAAC,CACAQ,EAAuBC,EAAsBC,CAAC,CAACC,IAAI,CAACF,GACpDG,EAA0BH,EAAsBI,CAAC,CAACF,IAAI,CAACF,GACvDK,EAAa,CAAA,EAAA,EAAA,CAAA,AAAuB,EAAC,CACvCR,OACAS,KAAM,8BACNC,SAAU,eACVC,QAAST,EACTU,UAAWN,EACXO,eAAAA,EAAAA,cAAc,AAClB,GACaC,EAAeN,EAAWM,YAAY,CACtCC,EAAcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO","ignoreList":[0]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[5530,a=>{"use strict";var b=a.i(12948),c=a.i(67436),d=a.i(94331);a.i(70408);let e=(0,b.instrumentModuleGetter)(()=>a.r(98556)),f=(0,b.instrumentModuleGetter)(()=>a.r(92528)),g=(0,b.instrumentModuleGetter)(()=>a.r(13718)),h=(0,b.instrumentModuleGetter)(()=>a.r(18198)),i=(0,b.instrumentModuleGetter)(()=>a.r(62212)),j=(0,b.instrumentModuleGetter)(()=>a.r(36884)),k=(0,b.instrumentModuleGetter)(()=>a.r(92528)),l=(0,b.instrumentModuleGetter)(()=>a.r(13718)),m=(0,b.instrumentModuleGetter)(()=>a.r(18198)),n=["",{children:["(console)",{children:["meetings",{children:["[meetingId]",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(13628)),"[project]/web/app/(console)/meetings/[meetingId]/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/web/app/(console)/layout.tsx"],"not-found":[k,"[project]/web/app/not-found.tsx"],forbidden:[l,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/web/app/layout.tsx"],"not-found":[f,"[project]/web/app/not-found.tsx"],forbidden:[g,"[project]/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/node_modules/next/dist/client/components/builtin/global-error.js"]},[]],o=a.r.bind(a),p=a.l.bind(a),q=(0,c.f)({tree:n,page:"/(console)/meetings/[meetingId]/page",pathname:"/meetings/[meetingId]",require:o,loadChunk:p,interopDefault:d.interopDefault}),r=q.__next_app__,s=q.routeModule,t=q.handler;var u=a.i(22922);a.s(["ClientPageRoot",()=>u.ClientPageRoot,"ClientSegmentRoot",()=>u.ClientSegmentRoot,"Fragment",()=>u.Fragment,"HTTPAccessFallbackBoundary",()=>u.HTTPAccessFallbackBoundary,"InstantValidation",()=>u.InstantValidation,"LayoutRouter",()=>u.LayoutRouter,"LoadingBoundaryProvider",()=>u.LoadingBoundaryProvider,"RenderFromTemplateContext",()=>u.RenderFromTemplateContext,"RootLayoutBoundary",()=>u.RootLayoutBoundary,"SegmentViewNode",()=>u.SegmentViewNode,"SegmentViewStateNode",()=>u.SegmentViewStateNode,"__next_app__",0,r,"captureOwnerStack",()=>u.captureOwnerStack,"collectPrefetchHints",()=>u.collectPrefetchHints,"collectSegmentData",()=>u.collectSegmentData,"createElement",()=>u.createElement,"createMetadataComponents",()=>u.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>u.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>u.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>u.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>u.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>u.createTemporaryReferenceSet,"decodeAction",()=>u.decodeAction,"decodeFormState",()=>u.decodeFormState,"decodeReply",()=>u.decodeReply,"handler",0,t,"isEmptyHTMLPrelude",()=>u.isEmptyHTMLPrelude,"patchFetch",()=>u.patchFetch,"preconnect",()=>u.preconnect,"preloadFont",()=>u.preloadFont,"preloadStyle",()=>u.preloadStyle,"prerender",()=>u.prerender,"prerenderToNodeStream",()=>u.prerenderToNodeStream,"renderToPipeableStream",()=>u.renderToPipeableStream,"renderToReadableStream",()=>u.renderToReadableStream,"routeModule",0,s,"serverHooks",()=>u.serverHooks,"taintObjectReference",()=>u.taintObjectReference],5530)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=node_modules_next_dist_esm_build_templates_app-page_20d8hq6wsqwh_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28console%29/meetings/%5BmeetingId%5D/page"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__not$2d$found__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__forbidden__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__unauthorized__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__page__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(console)\", {\n\"children\": [\"meetings\", {\n\"children\": [\"[meetingId]\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$9__, \"[project]/web/app/(console)/meetings/[meetingId]/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/web/app/(console)/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$6__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$7__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$8__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/web/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/web/app/not-found.tsx\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/node_modules/next/dist/client/components/builtin/global-error.js\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(console)/meetings/[meetingId]/page\",\n pathname: \"/meetings/[meetingId]\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","not-found #6","forbidden #7","unauthorized #8","page #9","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler"],"mappings":"sCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAWA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OAyCA,EAAA,CAAA,CAAA,OApDA,IAAMA,EAA+B,CAAA,EAA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G,EAAE,CAAC,AACN,EAAG,CACD,OAAU,CAACR,EAA8B,+BAA+B,CACxE,YAAa,CAACC,EAAoC,kCAAkC,CACpF,UAAa,CAACC,EAAiC,0EAA0E,CACzH,aAAgB,CAACC,EAAoC,6EAA6E,CAClI,eAAgB,CAACC,EAAuC,6EAA6E,AACvI,EAAG,EAAE,CAAC,CACAQ,EAAuBC,EAAsBC,CAAC,CAACC,IAAI,CAACF,GACpDG,EAA0BH,EAAsBI,CAAC,CAACF,IAAI,CAACF,GACvDK,EAAa,CAAA,EAAA,EAAA,CAAA,AAAuB,EAAC,MACvCR,EACAS,KAAM,uCACNC,SAAU,wBACVC,QAAST,EACTU,UAAWN,EACXO,eAAAA,EAAAA,cAAc,AAClB,GACaC,EAAeN,EAAWM,YAAY,CACtCC,EAAcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO","ignoreList":[0]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[[4825,a=>{var b=a.i(7997),c=a.i(717),d=a.i(66283),e=a.i(10351),f=a.i(22126)
|
|
1
|
+
module.exports=[[4825,a=>{var b=a.i(7997),c=a.i(717),d=a.i(66283),e=a.i(10351),f=a.i(22126),g=a.i(67395);function h({waiting:a,toDecide:c}){if(void 0===a&&void 0===c)return(0,b.jsx)("h1",{className:"text-heading font-semibold",children:"Nothing waits on you"});let d=(a??0)+(c??0),e=[void 0===a?void 0:`${String(a)} for you`,void 0===c?void 0:`${String(c)} to decide`].filter(a=>void 0!==a);return(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("span",{"data-testid":"overview-total",className:"inline-flex size-12 items-center justify-center rounded-full border-4 border-tone-waiting-border text-section font-semibold",children:d}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{className:"text-heading font-semibold",children:0===d?"Nothing waits on you":"Waits on you"}),(0,b.jsx)("p",{className:"text-muted-foreground",children:e.join(" · ")})]})]})}function i({width:a}){return(0,b.jsx)("span",{className:`block h-4 animate-pulse rounded bg-muted ${a}`})}function j(){return(0,b.jsxs)("div",{"aria-busy":"true","aria-label":"Loading the Overview",className:"grid gap-6",children:[(0,b.jsxs)("div",{className:"flex items-center gap-4",children:[(0,b.jsx)("span",{className:"size-12 animate-pulse rounded-full bg-muted"}),(0,b.jsxs)("div",{className:"grid flex-1 gap-2",children:[(0,b.jsx)(i,{width:"w-48"}),(0,b.jsx)(i,{width:"w-32"})]})]}),(0,b.jsx)("div",{className:"grid gap-2",children:["a","b","c"].map(a=>(0,b.jsx)("span",{className:"block h-14 animate-pulse rounded-md bg-muted"},a))})]})}var k=a.i(65044),l=a.i(78942),m=a.i(20285),n=a.i(40623);let o={approve:"You approved the request.",deny:"You denied the request."};async function p({api:a,fleetId:c}){let{inbox:d,wakeChannels:f,toDecide:g,mine:i}=await (0,e.m)(a),j=new Date;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(h,{waiting:d?.waiting,toDecide:g?.length}),void 0===d?null:(0,b.jsx)(l.InboxPanel,{fleetId:c,inbox:d}),void 0===f?null:(0,b.jsx)(n.WakePanel,{fleetId:c,channels:f}),void 0===g?null:0===g.length?(0,b.jsx)("p",{className:"text-muted-foreground",children:"No request waits for a decision."}):(0,b.jsx)(k.f,{title:"To decide",requests:g,now:j,hrefOf:a=>`/overview/requests/${encodeURIComponent(a.requestId)}?fleet=${encodeURIComponent(c)}`}),void 0===i||0===i.length?null:(0,b.jsx)(k.f,{title:"Your requests",requests:i,now:j})]})}async function q({searchParams:a}){let h=await (0,d._)({path:e.K,searchParams:a});if("noSignIn"===h.kind)return(0,b.jsx)(f.f,{});let{decided:i}=a,k="string"==typeof i?o[i]:void 0;return(0,b.jsxs)("div",{className:"grid gap-6",children:[(0,b.jsx)(m.LiveRefresh,{fleetId:h.fleetId}),void 0===k?null:(0,b.jsx)(g.f,{message:k,isFailure:!1}),(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(j,{}),children:(0,b.jsx)(p,{api:h.api,fleetId:h.fleetId})})]})}async function r({searchParams:a}){return(0,b.jsx)(q,{searchParams:await a})}a.s(["default",0,r,"metadata",0,{title:"Overview"}],4825)},73315,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call InboxPanel() from the server but InboxPanel 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/overview/state/inbox-panel.tsx","InboxPanel");a.s(["InboxPanel",0,b])},78942,a=>{var b=a.i(73315);a.n(b)},8077,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call WakePanel() from the server but WakePanel 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/overview/state/wake-panel.tsx","WakePanel");a.s(["WakePanel",0,b])},40623,a=>{var b=a.i(8077);a.n(b)}],15360,function(a){a.n(a.i(4825))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=web_0-ufi2al5ubig._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../web/features/overview/state/overview.tsx","../../../../../web/features/overview/ui/notice.tsx","../../../../../web/features/overview/ui/overview-lead.tsx","../../../../../web/features/overview/ui/overview-skeleton.tsx","../../../../../web/app/%28console%29/overview/page.tsx","../../../../../web/features/overview/state/inbox-panel.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/overview/state/inbox-panel.tsx%22%20%7D","../../../../../web/features/overview/state/wake-panel.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/overview/state/wake-panel.tsx%22%20%7D"],"sourcesContent":["import { Suspense } from 'react';\n\nimport type { GatewayApi } from '../../../lib/gateway-api/gateway-api';\nimport { signedInPage, type SearchParams } from '../../../lib/gateway-api/page-api';\nimport { OVERVIEW_PATH, readOverview } from '../hooks/read-overview';\nimport { NoSignIn } from '../../sign-in/ui/no-sign-in';\nimport { Notice } from '../ui/notice';\nimport { OverviewLead } from '../ui/overview-lead';\nimport { OverviewSkeleton } from '../ui/overview-skeleton';\nimport { RequestsList } from '../ui/requests-list';\nimport { InboxPanel } from './inbox-panel';\nimport { LiveRefresh } from './live-refresh';\nimport { WakePanel } from './wake-panel';\n\n/** What a decision the person just made came to, said once they are back. */\nconst DECIDED: Record<string, string> = {\n approve: 'You approved the request.',\n deny: 'You denied the request.',\n};\n\nasync function OverviewParts({ api, fleetId }: { api: GatewayApi; fleetId: string }) {\n const { inbox, wakeChannels, toDecide, mine } = await readOverview(api);\n const now = new Date();\n return (\n <>\n <OverviewLead waiting={inbox?.waiting} toDecide={toDecide?.length} />\n {inbox === undefined ? null : <InboxPanel fleetId={fleetId} inbox={inbox} />}\n {wakeChannels === undefined ? null : <WakePanel fleetId={fleetId} channels={wakeChannels} />}\n {toDecide === undefined ? null : toDecide.length === 0 ? (\n <p className=\"text-muted-foreground\">No request waits for a decision.</p>\n ) : (\n <RequestsList title=\"To decide\" requests={toDecide} now={now} hrefOf={(request) => `/overview/requests/${encodeURIComponent(request.requestId)}?fleet=${encodeURIComponent(fleetId)}`} />\n )}\n {mine === undefined || mine.length === 0 ? null : <RequestsList title=\"Your requests\" requests={mine} now={now} />}\n </>\n );\n}\n\n/**\n * The Overview (design B, Signal): what waits on the person, their inbox\n * and the channels that wake them, the requests to decide for an approver,\n * oldest first, and the requests they asked. Signed out, the browser goes to sign in before anything shows;\n * signed in, the shape shows while the parts load. It reads itself again\n * whenever the fleet's requests change.\n */\nexport async function Overview({ searchParams }: { searchParams: SearchParams }) {\n const page = await signedInPage({ path: OVERVIEW_PATH, searchParams });\n if (page.kind === 'noSignIn') {\n return <NoSignIn />;\n }\n const { decided } = searchParams;\n const said = typeof decided === 'string' ? DECIDED[decided] : undefined;\n return (\n <div className=\"grid gap-6\">\n <LiveRefresh fleetId={page.fleetId} />\n {said === undefined ? null : <Notice message={said} isFailure={false} />}\n <Suspense fallback={<OverviewSkeleton />}>\n <OverviewParts api={page.api} fleetId={page.fleetId} />\n </Suspense>\n </div>\n );\n}\n","/** What an action came to, said in place: a success as a status, a failure as an alert by the control. */\nexport function Notice({ message, isFailure }: { message: string; isFailure: boolean }) {\n return isFailure ? (\n <p role=\"alert\" data-testid=\"overview-failure\" className=\"rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2 text-tone-attention-fg\">\n {message}\n </p>\n ) : (\n <p role=\"status\" data-testid=\"overview-success\" className=\"rounded-md border border-tone-ok-border bg-tone-ok-bg px-3 py-2 text-tone-ok-fg\">\n {message}\n </p>\n );\n}\n","/**\n * What waits on the person, counted: deliveries for them and requests to\n * decide. A count they have no part in is left out; with neither, nothing\n * waits on them.\n */\nexport function OverviewLead({ waiting, toDecide }: { waiting: number | undefined; toDecide: number | undefined }) {\n if (waiting === undefined && toDecide === undefined) {\n return <h1 className=\"text-heading font-semibold\">Nothing waits on you</h1>;\n }\n const total = (waiting ?? 0) + (toDecide ?? 0);\n const counts = [waiting === undefined ? undefined : `${String(waiting)} for you`, toDecide === undefined ? undefined : `${String(toDecide)} to decide`].filter((count) => count !== undefined);\n return (\n <div className=\"flex items-center gap-4\">\n <span data-testid=\"overview-total\" className=\"inline-flex size-12 items-center justify-center rounded-full border-4 border-tone-waiting-border text-section font-semibold\">\n {total}\n </span>\n <div>\n <h1 className=\"text-heading font-semibold\">{total === 0 ? 'Nothing waits on you' : 'Waits on you'}</h1>\n <p className=\"text-muted-foreground\">{counts.join(' · ')}</p>\n </div>\n </div>\n );\n}\n","function Bar({ width }: { width: string }) {\n return <span className={`block h-4 animate-pulse rounded bg-muted ${width}`} />;\n}\n\n/** The Overview's shape while it loads: the lead, then a list. */\nexport function OverviewSkeleton() {\n return (\n <div aria-busy=\"true\" aria-label=\"Loading the Overview\" className=\"grid gap-6\">\n <div className=\"flex items-center gap-4\">\n <span className=\"size-12 animate-pulse rounded-full bg-muted\" />\n <div className=\"grid flex-1 gap-2\">\n <Bar width=\"w-48\" />\n <Bar width=\"w-32\" />\n </div>\n </div>\n <div className=\"grid gap-2\">\n {['a', 'b', 'c'].map((row) => (\n <span key={row} className=\"block h-14 animate-pulse rounded-md bg-muted\" />\n ))}\n </div>\n </div>\n );\n}\n","import type { Metadata } from 'next';\n\nimport { Overview } from '../../../features/overview/state/overview';\nimport type { SearchParams } from '../../../lib/gateway-api/page-api';\n\nexport const metadata: Metadata = { title: 'Overview' };\n\nexport default async function OverviewPage({ searchParams }: { searchParams: Promise<SearchParams> }) {\n return <Overview searchParams={await searchParams} />;\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const InboxPanel = registerClientReference(\n function() { throw new Error(\"Attempted to call InboxPanel() from the server but InboxPanel 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.\"); },\n \"[project]/web/features/overview/state/inbox-panel.tsx\",\n \"InboxPanel\",\n);\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const WakePanel = registerClientReference(\n function() { throw new Error(\"Attempted to call WakePanel() from the server but WakePanel 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.\"); },\n \"[project]/web/features/overview/state/wake-panel.tsx\",\n \"WakePanel\",\n);\n"],"names":["Notice","message","isFailure","role","className","InboxPanel","Error","WakePanel"],"mappings":"0CAAA,EAAA,EAAA,CAAA,CAAA,KAGA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCJO,SAASA,EAAO,SAAEC,CAAO,WAAEC,CAAS,CAA2C,EACpF,OAAOA,EACL,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEC,KAAK,QAAQ,cAAY,mBAAmBC,UAAU,gHACtDH,IAGH,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAEE,KAAK,SAAS,cAAY,mBAAmBC,UAAU,2FACvDH,GAGP,CC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C,WAAa,MAAM,AAAID,MAAM,gOAAkO,EAC/P,uDACA","ignoreList":[5,6]}
|
|
1
|
+
{"version":3,"sources":["../../../../../web/features/overview/state/overview.tsx","../../../../../web/features/overview/ui/overview-lead.tsx","../../../../../web/features/overview/ui/overview-skeleton.tsx","../../../../../web/app/%28console%29/overview/page.tsx","../../../../../web/features/overview/state/inbox-panel.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/overview/state/inbox-panel.tsx%22%20%7D","../../../../../web/features/overview/state/wake-panel.tsx/__nextjs-internal-proxy.mjs%20%7B%20server%20%3D%3E%20%22%5Bproject%5D/web/features/overview/state/wake-panel.tsx%22%20%7D"],"sourcesContent":["import { Suspense } from 'react';\n\nimport type { GatewayApi } from '../../../lib/gateway-api/gateway-api';\nimport { signedInPage, type SearchParams } from '../../../lib/gateway-api/page-api';\nimport { OVERVIEW_PATH, readOverview } from '../hooks/read-overview';\nimport { NoSignIn } from '../../sign-in/ui/no-sign-in';\nimport { Notice } from '../ui/notice';\nimport { OverviewLead } from '../ui/overview-lead';\nimport { OverviewSkeleton } from '../ui/overview-skeleton';\nimport { RequestsList } from '../ui/requests-list';\nimport { InboxPanel } from './inbox-panel';\nimport { LiveRefresh } from './live-refresh';\nimport { WakePanel } from './wake-panel';\n\n/** What a decision the person just made came to, said once they are back. */\nconst DECIDED: Record<string, string> = {\n approve: 'You approved the request.',\n deny: 'You denied the request.',\n};\n\nasync function OverviewParts({ api, fleetId }: { api: GatewayApi; fleetId: string }) {\n const { inbox, wakeChannels, toDecide, mine } = await readOverview(api);\n const now = new Date();\n return (\n <>\n <OverviewLead waiting={inbox?.waiting} toDecide={toDecide?.length} />\n {inbox === undefined ? null : <InboxPanel fleetId={fleetId} inbox={inbox} />}\n {wakeChannels === undefined ? null : <WakePanel fleetId={fleetId} channels={wakeChannels} />}\n {toDecide === undefined ? null : toDecide.length === 0 ? (\n <p className=\"text-muted-foreground\">No request waits for a decision.</p>\n ) : (\n <RequestsList title=\"To decide\" requests={toDecide} now={now} hrefOf={(request) => `/overview/requests/${encodeURIComponent(request.requestId)}?fleet=${encodeURIComponent(fleetId)}`} />\n )}\n {mine === undefined || mine.length === 0 ? null : <RequestsList title=\"Your requests\" requests={mine} now={now} />}\n </>\n );\n}\n\n/**\n * The Overview (design B, Signal): what waits on the person, their inbox\n * and the channels that wake them, the requests to decide for an approver,\n * oldest first, and the requests they asked. Signed out, the browser goes to sign in before anything shows;\n * signed in, the shape shows while the parts load. It reads itself again\n * whenever the fleet's requests change.\n */\nexport async function Overview({ searchParams }: { searchParams: SearchParams }) {\n const page = await signedInPage({ path: OVERVIEW_PATH, searchParams });\n if (page.kind === 'noSignIn') {\n return <NoSignIn />;\n }\n const { decided } = searchParams;\n const said = typeof decided === 'string' ? DECIDED[decided] : undefined;\n return (\n <div className=\"grid gap-6\">\n <LiveRefresh fleetId={page.fleetId} />\n {said === undefined ? null : <Notice message={said} isFailure={false} />}\n <Suspense fallback={<OverviewSkeleton />}>\n <OverviewParts api={page.api} fleetId={page.fleetId} />\n </Suspense>\n </div>\n );\n}\n","/**\n * What waits on the person, counted: deliveries for them and requests to\n * decide. A count they have no part in is left out; with neither, nothing\n * waits on them.\n */\nexport function OverviewLead({ waiting, toDecide }: { waiting: number | undefined; toDecide: number | undefined }) {\n if (waiting === undefined && toDecide === undefined) {\n return <h1 className=\"text-heading font-semibold\">Nothing waits on you</h1>;\n }\n const total = (waiting ?? 0) + (toDecide ?? 0);\n const counts = [waiting === undefined ? undefined : `${String(waiting)} for you`, toDecide === undefined ? undefined : `${String(toDecide)} to decide`].filter((count) => count !== undefined);\n return (\n <div className=\"flex items-center gap-4\">\n <span data-testid=\"overview-total\" className=\"inline-flex size-12 items-center justify-center rounded-full border-4 border-tone-waiting-border text-section font-semibold\">\n {total}\n </span>\n <div>\n <h1 className=\"text-heading font-semibold\">{total === 0 ? 'Nothing waits on you' : 'Waits on you'}</h1>\n <p className=\"text-muted-foreground\">{counts.join(' · ')}</p>\n </div>\n </div>\n );\n}\n","function Bar({ width }: { width: string }) {\n return <span className={`block h-4 animate-pulse rounded bg-muted ${width}`} />;\n}\n\n/** The Overview's shape while it loads: the lead, then a list. */\nexport function OverviewSkeleton() {\n return (\n <div aria-busy=\"true\" aria-label=\"Loading the Overview\" className=\"grid gap-6\">\n <div className=\"flex items-center gap-4\">\n <span className=\"size-12 animate-pulse rounded-full bg-muted\" />\n <div className=\"grid flex-1 gap-2\">\n <Bar width=\"w-48\" />\n <Bar width=\"w-32\" />\n </div>\n </div>\n <div className=\"grid gap-2\">\n {['a', 'b', 'c'].map((row) => (\n <span key={row} className=\"block h-14 animate-pulse rounded-md bg-muted\" />\n ))}\n </div>\n </div>\n );\n}\n","import type { Metadata } from 'next';\n\nimport { Overview } from '../../../features/overview/state/overview';\nimport type { SearchParams } from '../../../lib/gateway-api/page-api';\n\nexport const metadata: Metadata = { title: 'Overview' };\n\nexport default async function OverviewPage({ searchParams }: { searchParams: Promise<SearchParams> }) {\n return <Overview searchParams={await searchParams} />;\n}\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const InboxPanel = registerClientReference(\n function() { throw new Error(\"Attempted to call InboxPanel() from the server but InboxPanel 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.\"); },\n \"[project]/web/features/overview/state/inbox-panel.tsx\",\n \"InboxPanel\",\n);\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport const WakePanel = registerClientReference(\n function() { throw new Error(\"Attempted to call WakePanel() from the server but WakePanel 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.\"); },\n \"[project]/web/features/overview/state/wake-panel.tsx\",\n \"WakePanel\",\n);\n"],"names":["OverviewLead","waiting","toDecide","undefined","className","total","counts","String","filter","count","join","InboxPanel","Error","WakePanel"],"mappings":"0CAAA,EAA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AA,EAD1B,AAC0B,EAD1B,CAAA,CAAA,OAC0B,uBAAA,AAAuB,EAC7C,WAAa,MAAM,AAAIC,MAAM,kOAAoO,EACjQ,wDACA,mFCHG,IAAMC,EAAY,CAAA,EADzB,AACyB,EADzB,CAAA,CAAA,OACyB,uBAAA,AAAuB,EAC5C,WAAa,MAAM,AAAID,MAAM,gOAAkO,EAC/P,uDACA","ignoreList":[4,5]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[[17423,a=>{var b=a.i(7997),c=a.i(66283),d=a.i(67395),e=a.i(22126),f=a.i(58725),g=a.i(47547);function h({items:a}){return 0===a.length?(0,b.jsx)("p",{className:"text-muted-foreground",children:"No one has contributed yet."}):(0,b.jsx)("ol",{"data-testid":"meeting-contributions",className:"grid gap-3",children:a.map(a=>(0,b.jsxs)("li",{className:"grid gap-1 rounded-md border border-border bg-card p-3 text-card-foreground",children:[(0,b.jsxs)("span",{className:"text-caption text-muted-foreground",children:[a.sender.name," · ",new Date(a.sentAt).toUTCString()]}),(0,b.jsx)("p",{className:"whitespace-pre-wrap break-words",children:a.payload})]},a.messageId))})}let i={crewed:"crewed",awaitingCrew:"awaiting crew",retired:"retired"},j={present:"in the meeting",left:"left",revoked:"revoked"};function k({participants:a}){return(0,b.jsxs)("section",{className:"grid gap-2",children:[(0,b.jsxs)("h2",{className:"text-section font-semibold",children:["Participants · ",a.length]}),(0,b.jsx)("ul",{"data-testid":"meeting-participants",className:"grid gap-1",children:a.map(a=>(0,b.jsxs)("li",{className:"flex flex-wrap justify-between gap-2",children:[(0,b.jsx)("span",{children:a.name}),(0,b.jsxs)("span",{className:"text-caption text-muted-foreground",children:[i[a.status]," · ",j[a.state]]})]},a.shipId))})]})}var l=a.i(53853);async function m({meetingId:a,searchParams:i}){var j,n;let o=await (0,c._)({path:`${f.f}/${encodeURIComponent(a)}`,searchParams:i});if("noSignIn"===o.kind)return(0,b.jsx)(e.f,{});let{cursor:p}=i,q=await (j=o.api,n={meetingId:a,cursor:"string"==typeof p?p:void 0},(0,c.F)(j.people.meeting.query({meetingId:n.meetingId,...void 0===n.cursor?{}:{cursor:n.cursor}}))),r=`/overview?fleet=${encodeURIComponent(o.fleetId)}`;if(!q.isOk)return(0,b.jsxs)("div",{className:"grid gap-4",children:[(0,b.jsx)(d.f,{message:q.refusal,isFailure:!0}),(0,b.jsx)("a",{href:r,className:"text-muted-foreground hover:underline",children:"← Overview"})]});let s=q.value,t=(0,g.v)(s),u=(0,f.H)({fleetId:o.fleetId,meetingId:a});return(0,b.jsxs)("div",{"data-testid":"meeting",className:"grid gap-6",children:[(0,b.jsx)("a",{href:r,className:"text-muted-foreground hover:underline",children:"← Overview"}),(0,b.jsxs)("header",{className:"grid gap-1",children:[(0,b.jsx)("h1",{className:"text-heading font-semibold",children:s.title??"Meeting"}),(0,b.jsxs)("span",{className:"text-caption text-muted-foreground",children:["Moderated by ",s.moderator.name," · owned by ",s.owner.name]})]}),(0,b.jsxs)("section",{className:"grid gap-3 rounded-lg border border-border bg-card p-4 text-card-foreground shadow-sm",children:[(0,b.jsx)("p",{"data-testid":"meeting-standing",children:t.said}),(0,b.jsxs)("p",{"data-testid":"meeting-mic",className:"text-caption text-muted-foreground",children:[(0,g.s)(s),0===s.mic.requests.length?null:` In line: ${s.mic.requests.map(({ship:a})=>a.name).join(", ")}.`]}),(0,b.jsx)(l.MeetingControls,{fleetId:o.fleetId,meetingId:s.meetingId,controls:t.controls})]}),(0,b.jsx)(h,{items:s.contributions.items}),(0,b.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,b.jsx)("a",{href:u,className:"text-muted-foreground hover:underline",children:"Read again"}),null===s.contributions.nextCursor?null:(0,b.jsx)("a",{"data-testid":"meeting-older",href:(0,f.H)({fleetId:o.fleetId,meetingId:a,cursor:s.contributions.nextCursor}),className:"text-muted-foreground hover:underline",children:"Older contributions"})]}),(0,b.jsx)(k,{participants:s.participants})]})}async function n({params:a,searchParams:c}){let[{meetingId:d},e]=await Promise.all([a,c]);return(0,b.jsx)(m,{meetingId:d,searchParams:e})}a.s(["default",0,n,"metadata",0,{title:"Meeting"}],17423)},75298,a=>{let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call MeetingControls() from the server but MeetingControls 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/meeting/state/meeting-controls.tsx","MeetingControls");a.s(["MeetingControls",0,b])},53853,a=>{var b=a.i(75298);a.n(b)}],13628,function(a){a.n(a.i(17423))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=web_09zipglxee7tv._.js.map
|