@opengeni/react 6.37.3 → 6.37.4-canary.45279257475001
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/app/app-state.js +32 -32
- package/dist/app/components/Composer.css +1 -1
- package/dist/app/components/Composer.css.map +1 -1
- package/dist/app/components/Composer.js +44 -43
- package/dist/app/components/add-card-dialog.js +3 -2
- package/dist/app/components/add-card-dialog.js.map +1 -1
- package/dist/app/components/add-card.js +3 -3
- package/dist/app/components/agent/agent-capability-picker.js +9 -9
- package/dist/app/components/agents/agent-can-use.js +48 -47
- package/dist/app/components/agents/agent-form-page.js +143 -142
- package/dist/app/components/agents/agent-form-page.js.map +1 -1
- package/dist/app/components/agents/agent-page.js +124 -123
- package/dist/app/components/agents/agent-setup-sections.js +78 -77
- package/dist/app/components/agents/agent-skills.js +14 -13
- package/dist/app/components/agents/agent-trigger-chat-field.js +6 -6
- package/dist/app/components/agents/agent-trigger-dialog.js +34 -33
- package/dist/app/components/agents/agent-trigger-picker.js +8 -8
- package/dist/app/components/agents/agent-trigger-repositories.js +16 -16
- package/dist/app/components/agents/agents-page.js +96 -95
- package/dist/app/components/agents/agents-page.js.map +1 -1
- package/dist/app/components/agents/composer-agent-chip.js +60 -59
- package/dist/app/components/agents/session-agent-chip.js +55 -54
- package/dist/app/components/artifacts/app-package.js +13 -12
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +29 -28
- package/dist/app/components/artifacts/artifact-page-chrome.js +1 -1
- package/dist/app/components/artifacts/artifact-viewer.js +67 -66
- package/dist/app/components/artifacts/artifact-viewer.js.map +1 -1
- package/dist/app/components/artifacts/chat-interactive-block.js +30 -29
- package/dist/app/components/artifacts/chat-interactive-block.js.map +1 -1
- package/dist/app/components/artifacts/copy-artifact-link.js +2 -2
- package/dist/app/components/artifacts/file-reach-dialog.js +13 -12
- package/dist/app/components/artifacts/inline-chat-image.js +52 -51
- package/dist/app/components/artifacts/ready-made-apps.js +13 -12
- package/dist/app/components/artifacts/retained-file-preview.js +58 -57
- package/dist/app/components/artifacts/retained-text-preview.js +8 -8
- package/dist/app/components/artifacts/site-actions.js +12 -12
- package/dist/app/components/artifacts/site-audience.js +9 -8
- package/dist/app/components/artifacts/site-conversations.js +35 -35
- package/dist/app/components/artifacts/site-data.js +27 -26
- package/dist/app/components/artifacts/site-public-link.js +3 -3
- package/dist/app/components/artifacts/site-publishing-page.js +69 -68
- package/dist/app/components/artifacts/site-publishing.js +54 -53
- package/dist/app/components/artifacts/site-settings.js +68 -67
- package/dist/app/components/artifacts/site-version-menu.js +10 -10
- package/dist/app/components/billing-class-mark.js +7 -7
- package/dist/app/components/capabilities/capability-detail-sheet.js +18 -17
- package/dist/app/components/capabilities/capability-logo-source.js +29 -28
- package/dist/app/components/capabilities/capability-logo.js +1 -1
- package/dist/app/components/capabilities/connection-account-picker.js +2 -2
- package/dist/app/components/capabilities/connection-ownership-selector.js +4 -3
- package/dist/app/components/capabilities/connector-tool-permissions.js +8 -8
- package/dist/app/components/capabilities/detail-dialog.js +3 -2
- package/dist/app/components/capabilities/native-connect-setup.js +32 -31
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +6 -6
- package/dist/app/components/capabilities/perform-capability-action.js +2 -2
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +32 -31
- package/dist/app/components/capabilities/session-capability-card.css +1 -1
- package/dist/app/components/capabilities/session-capability-card.css.map +1 -1
- package/dist/app/components/capabilities/session-capability-card.js +136 -135
- package/dist/app/components/capabilities/session-capability-card.js.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.css +1 -1
- package/dist/app/components/capabilities/session-chrome-card.css.map +1 -1
- package/dist/app/components/capabilities/session-chrome-card.js +49 -48
- package/dist/app/components/capabilities/session-connect-inputs-card.js +34 -33
- package/dist/app/components/capabilities/session-custom-mcp-card.js +39 -38
- package/dist/app/components/capabilities/session-github-card.js +45 -44
- package/dist/app/components/capabilities/session-machine-card.css +1 -1
- package/dist/app/components/capabilities/session-machine-card.css.map +1 -1
- package/dist/app/components/capabilities/session-machine-card.js +50 -49
- package/dist/app/components/capabilities/session-personal-github-card.js +33 -32
- package/dist/app/components/capabilities/session-plugin-card.js +21 -20
- package/dist/app/components/capabilities/use-capabilities-catalog.js +1 -1
- package/dist/app/components/capabilities/use-connection-accounts.js +2 -2
- package/dist/app/components/chat-payment-pages.js +2 -2
- package/dist/app/components/command-menu/chat-status.js +26 -26
- package/dist/app/components/command-menu/chat-switcher.js +87 -86
- package/dist/app/components/command-menu/chat-switcher.js.map +1 -1
- package/dist/app/components/command-menu/command-menu.js +332 -330
- package/dist/app/components/command-menu/command-menu.js.map +1 -1
- package/dist/app/components/command-menu/shortcut-sheet.js +27 -26
- package/dist/app/components/command-menu/shortcut-sheet.js.map +1 -1
- package/dist/app/components/composer-capabilities-menu-body.js +7 -7
- package/dist/app/components/composer-mobile-plus-panel.js +29 -28
- package/dist/app/components/composer-mobile-plus-panel.js.map +1 -1
- package/dist/app/components/composer-mobile-plus.js +5 -4
- package/dist/app/components/credit-required-gate.js +7 -7
- package/dist/app/components/credit-required-prompt.js +25 -24
- package/dist/app/components/credit-required-prompt.js.map +1 -1
- package/dist/app/components/credits/checkout-credits-celebration.js +4 -3
- package/dist/app/components/credits/checkout-return.js +4 -3
- package/dist/app/components/credits/checkout-return.js.map +1 -1
- package/dist/app/components/credits/coupon-redeem.js +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +7 -7
- package/dist/app/components/credits/own-subscription-plan-notice.js +3 -3
- package/dist/app/components/desktop/app-shots.css +1 -1
- package/dist/app/components/desktop/app-shots.css.map +1 -1
- package/dist/app/components/desktop/app-shots.js +10 -9
- package/dist/app/components/desktop/app-update.js +3 -3
- package/dist/app/components/desktop/computer-use.js +3 -3
- package/dist/app/components/desktop/this-computer.css +1 -1
- package/dist/app/components/desktop/this-computer.css.map +1 -1
- package/dist/app/components/desktop/this-computer.js +7 -6
- package/dist/app/components/feedback.js +11 -10
- package/dist/app/components/follow-up-repository-menu-body.js +13 -13
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +3 -3
- package/dist/app/components/in-app-help-link.js +3 -3
- package/dist/app/components/knowledge/agent-learning-settings.js +3 -3
- package/dist/app/components/machines/connect-machine-dialog.css +1 -1
- package/dist/app/components/machines/connect-machine-dialog.css.map +1 -1
- package/dist/app/components/machines/connect-machine-dialog.js +25 -24
- package/dist/app/components/manual-repository-editor.js +3 -3
- package/dist/app/components/markdown.js +16 -15
- package/dist/app/components/model-identity.js +3 -3
- package/dist/app/components/models/models-ui.js +17 -16
- package/dist/app/components/models/provider-mark.js +3 -3
- package/dist/app/components/models/subscription-usage.js +5 -5
- package/dist/app/components/my-things.js +16 -15
- package/dist/app/components/my-things.js.map +1 -1
- package/dist/app/components/own-where-it-works.js +11 -10
- package/dist/app/components/personal-resource-attachment-surface.js +4 -4
- package/dist/app/components/pickers.js +11 -11
- package/dist/app/components/rail/channel-create-dialog.js +7 -6
- package/dist/app/components/rail/project-glyph.js +53 -52
- package/dist/app/components/rail/project-profile.js +74 -73
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +155 -154
- package/dist/app/components/rail/session-header.js +125 -124
- package/dist/app/components/rail/session-list.js +152 -151
- package/dist/app/components/rail/session-row-content.js +6 -6
- package/dist/app/components/rail/session-row-hover-details.js +36 -36
- package/dist/app/components/rail/session-shell.js +192 -191
- package/dist/app/components/rail/site-session-group-heading.js +36 -36
- package/dist/app/components/repository-picker.js +13 -13
- package/dist/app/components/secrets/session-secrets-panel.js +4 -4
- package/dist/app/components/session/agent-configuration-panel.js +45 -44
- package/dist/app/components/session/agent-configuration-panel.js.map +1 -1
- package/dist/app/components/session/artifact-session-page.js +7 -7
- package/dist/app/components/session/banners.js +20 -19
- package/dist/app/components/session/chat-avatar.js +53 -52
- package/dist/app/components/session/console-new-conversation.css +1 -1
- package/dist/app/components/session/console-new-conversation.css.map +1 -1
- package/dist/app/components/session/console-new-conversation.js +110 -109
- package/dist/app/components/session/descendant-requests.js +110 -109
- package/dist/app/components/session/descendant-requests.js.map +1 -1
- package/dist/app/components/session/editable-artifacts-workspace.js +60 -59
- package/dist/app/components/session/editable-artifacts-workspace.js.map +1 -1
- package/dist/app/components/session/failed-session-banner.js +29 -28
- package/dist/app/components/session/failed-session-banner.js.map +1 -1
- package/dist/app/components/session/failure-recovery-boundary.js +3 -3
- package/dist/app/components/session/human-input-delegation-record.js +3 -3
- package/dist/app/components/session/human-input.js +88 -87
- package/dist/app/components/session/inspector.js +146 -145
- package/dist/app/components/session/inspector.js.map +1 -1
- package/dist/app/components/session/linked-panel.js +3 -3
- package/dist/app/components/session/message-actions.js +11 -10
- package/dist/app/components/session/message-actions.js.map +1 -1
- package/dist/app/components/session/model-recovery-notice.js +4 -4
- package/dist/app/components/session/new-session-settings-menu.css +1 -1
- package/dist/app/components/session/new-session-settings-menu.css.map +1 -1
- package/dist/app/components/session/new-session-settings-menu.js +30 -29
- package/dist/app/components/session/new-session-setup-strip.js +56 -55
- package/dist/app/components/session/pull-request-panel.js +25 -24
- package/dist/app/components/session/sandbox-recovery-actions.js +5 -4
- package/dist/app/components/session/sandbox-switcher.js +22 -22
- package/dist/app/components/session/sandbox-workspace.js +120 -119
- package/dist/app/components/session/search-markdown-highlight.js +17 -16
- package/dist/app/components/session/search-results-view.js +18 -17
- package/dist/app/components/session/session-admin-access.js +14 -13
- package/dist/app/components/session/session-admission-notice.js +11 -11
- package/dist/app/components/session/session-avatar-picker.js +60 -59
- package/dist/app/components/session/session-avatar.js +55 -54
- package/dist/app/components/session/session-machine-access-notice.js +11 -11
- package/dist/app/components/session/session-profile-dialog.js +71 -70
- package/dist/app/components/session/session-profile-editor.js +72 -71
- package/dist/app/components/session/session-retention.js +6 -6
- package/dist/app/components/session/session-search-dialog.js +21 -20
- package/dist/app/components/session/session-search-dialog.js.map +1 -1
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +32 -31
- package/dist/app/components/session/session-tenancy-control.js.map +1 -1
- package/dist/app/components/session/session-unattended-setting.js +1 -1
- package/dist/app/components/session/session-usage-limit-section.js +11 -11
- package/dist/app/components/session/share-chat-dialog.js +11 -10
- package/dist/app/components/session/subagents.js +23 -23
- package/dist/app/components/session/subscription-account-indicator.js +25 -25
- package/dist/app/components/session/subscription-account-menu.js +7 -7
- package/dist/app/components/session-connectors-menu-body.js +10 -10
- package/dist/app/components/settings/row-select.js +6 -6
- package/dist/app/components/toaster.js +2 -2
- package/dist/app/components/transcription-settings.js +10 -10
- package/dist/app/components/ui/destructive-confirm.js +11 -10
- package/dist/app/components/usage/usage-entry.js +8 -8
- package/dist/app/components/window-bar.js +26 -26
- package/dist/app/components/workspace-composer-plus.js +44 -43
- package/dist/app/components/workspace-reach.js +6 -6
- package/dist/app/embed/session-app.css +1 -1
- package/dist/app/embed/session-app.css.map +1 -1
- package/dist/app/embed/session-app.js +388 -387
- package/dist/app/lib/actions/actions-provider.js +19 -19
- package/dist/app/lib/agent-capabilities.js +4 -4
- package/dist/app/lib/app-connect-card.js +15 -14
- package/dist/app/lib/app-shared-key-dialog.js +9 -8
- package/dist/app/lib/app-surfaces.js +2 -2
- package/dist/app/lib/app-sync-opt-in.js +6 -5
- package/dist/app/lib/codex-usage-query.js +3 -3
- package/dist/app/lib/composer-agent.js +2 -2
- package/dist/app/lib/composer-connectors.js +33 -32
- package/dist/app/lib/composer-send-blocking.js +2 -2
- package/dist/app/lib/console-site.js +8 -7
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/events.js +30 -29
- package/dist/app/lib/failed-session-copy.js +5 -5
- package/dist/app/lib/feedback-capture.js +2 -2
- package/dist/app/lib/model-access-onboarding.js +4 -4
- package/dist/app/lib/move-chat-to-machine.js +5 -5
- package/dist/app/lib/personal-resource-attachments.js +1 -1
- package/dist/app/lib/session-branch-cache.js +19 -19
- package/dist/app/lib/session-create.js +5 -5
- package/dist/app/lib/session-group-pagination.js +19 -19
- package/dist/app/lib/session-hover-facts.js +26 -26
- package/dist/app/lib/session-list-dirty-scopes.js +20 -20
- package/dist/app/lib/session-model.js +2 -2
- package/dist/app/lib/session-rail.js +16 -16
- package/dist/app/lib/session-rename.js +3 -3
- package/dist/app/lib/sessions-group.js +23 -23
- package/dist/app/lib/site-tool-consent-dialog.js +25 -24
- package/dist/app/lib/site-tool-consent-dialog.js.map +1 -1
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +6 -6
- package/dist/app/lib/use-artifact-catalog.js +2 -2
- package/dist/app/lib/use-duplicate-site.js +5 -5
- package/dist/app/lib/use-follow-up-repositories.js +7 -6
- package/dist/app/lib/use-personal-resource-attachment.js +2 -2
- package/dist/app/lib/use-workspace-machines.js +9 -9
- package/dist/app/lib/use-workspace-model-catalog.js +5 -5
- package/dist/app/lib/use-workspace-rigs.js +6 -6
- package/dist/app/lib/workspace-navigation-preference.js +5 -5
- package/dist/app/lib/workspace-scope-context.js +4 -4
- package/dist/app/routes/app-page-view.js +22 -21
- package/dist/app/routes/app-page-view.js.map +1 -1
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +153 -152
- package/dist/app/routes/artifacts.js.map +1 -1
- package/dist/app/routes/retained-artifact.js +106 -105
- package/dist/app/routes/retained-artifact.js.map +1 -1
- package/dist/app/routes/session-unavailable.js +6 -6
- package/dist/app/routes/session.css +1 -1
- package/dist/app/routes/session.css.map +1 -1
- package/dist/app/routes/session.js +246 -245
- package/dist/app/routes/sessions-index-hydration.js +6 -6
- package/dist/app/routes/sessions-index.css +1 -1
- package/dist/app/routes/sessions-index.css.map +1 -1
- package/dist/app/routes/sessions-index.js +202 -201
- package/dist/app/routes/site-view.css +1 -1
- package/dist/app/routes/site-view.css.map +1 -1
- package/dist/app/routes/site-view.js +195 -194
- package/dist/app/routes/site-view.js.map +1 -1
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +9 -8
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +51 -50
- package/dist/automation-model.js +6 -6
- package/dist/automations.js +71 -70
- package/dist/automations.js.map +1 -1
- package/dist/browser-viewer-O5FJOWWI.js +23 -0
- package/dist/chat-interactive-block-TQTOUHRC.js +22 -0
- package/dist/chunk-23TTCFRP.js +3690 -0
- package/dist/chunk-2BOFLWNJ.js +129 -0
- package/dist/chunk-2NO5QJCL.js +438 -0
- package/dist/chunk-2NO5QJCL.js.map +1 -0
- package/dist/chunk-3DMD2KHT.js +851 -0
- package/dist/chunk-3DOISS3I.js +132 -0
- package/dist/chunk-3KWTXE4O.js +199 -0
- package/dist/chunk-3TRERIPD.js +93 -0
- package/dist/chunk-3UXBTL7Z.js +92 -0
- package/dist/chunk-3XEKXNB4.js +283 -0
- package/dist/chunk-3ZJUQG4K.js +428 -0
- package/dist/chunk-42WTAUUW.js +335 -0
- package/dist/chunk-46ZC5VNC.js +38 -0
- package/dist/chunk-4BVEFGX7.js +166 -0
- package/dist/chunk-4IOFV4S4.js +401 -0
- package/dist/chunk-4ISXBLJV.js +137 -0
- package/dist/chunk-4L2MBYLH.js +283 -0
- package/dist/chunk-4N3B25HA.js +850 -0
- package/dist/chunk-4N3B25HA.js.map +1 -0
- package/dist/chunk-4NWUZ6SL.js +176 -0
- package/dist/chunk-4QVX6CTT.js +318 -0
- package/dist/chunk-4YARO4Y5.js +2984 -0
- package/dist/chunk-4Z7BPBS7.js +34 -0
- package/dist/chunk-55ILMX6B.js +794 -0
- package/dist/chunk-57OAQTWD.js +103 -0
- package/dist/chunk-5BRPLALX.js +380 -0
- package/dist/chunk-5BRPLALX.js.map +1 -0
- package/dist/chunk-5EF4JI6Q.js +214 -0
- package/dist/chunk-5EF4JI6Q.js.map +1 -0
- package/dist/chunk-5GXX3NI7.js +46 -0
- package/dist/chunk-5VE3PPSK.js +353 -0
- package/dist/chunk-62T2ZPD5.js +266 -0
- package/dist/chunk-655JT4VH.js +251 -0
- package/dist/chunk-65OPNLE4.js +505 -0
- package/dist/chunk-67PIP46J.js +229 -0
- package/dist/chunk-6CAK65QV.js +211 -0
- package/dist/chunk-6CDBX3XG.js +33 -0
- package/dist/chunk-6D3D2JWY.js +278 -0
- package/dist/chunk-6DGQB6GT.js +107 -0
- package/dist/chunk-6NFK3J2O.js +188 -0
- package/dist/chunk-6R3QX3AC.js +538 -0
- package/dist/chunk-6S5OMLAL.js +400 -0
- package/dist/chunk-6SG2VVVB.js +249 -0
- package/dist/chunk-6U57GGJI.js +110 -0
- package/dist/chunk-6V2PEFPS.js +98 -0
- package/dist/chunk-6VASZZVV.js +3321 -0
- package/dist/chunk-7BBYH5R5.js +168 -0
- package/dist/chunk-7EO3T3IX.js +209 -0
- package/dist/chunk-7EZQ6EKM.js +158 -0
- package/dist/chunk-7HI53NPP.js +15 -0
- package/dist/chunk-7J4BFENI.js +37 -0
- package/dist/chunk-7LSGNY2L.js +114 -0
- package/dist/chunk-7MMONDFK.js +1236 -0
- package/dist/chunk-7MWPBGDX.js +175 -0
- package/dist/chunk-7NSDIQMY.js +371 -0
- package/dist/chunk-7XPDLT5G.js +231 -0
- package/dist/chunk-A3BCF4MV.js +378 -0
- package/dist/chunk-A5GX3CAE.js +849 -0
- package/dist/chunk-AAHQJWEP.js +515 -0
- package/dist/chunk-AAWEPZOG.js +144 -0
- package/dist/chunk-ABRT345L.js +598 -0
- package/dist/chunk-AJ7KJ7XZ.js +4519 -0
- package/dist/chunk-AJ7KJ7XZ.js.map +1 -0
- package/dist/chunk-ANXFE2EP.js +91 -0
- package/dist/chunk-AQNE4XWU.js +271 -0
- package/dist/chunk-AV2OMWDS.js +4979 -0
- package/dist/chunk-AYHMHAU5.js +1019 -0
- package/dist/chunk-AZ637XK3.js +50 -0
- package/dist/chunk-B6AH43UQ.js +2434 -0
- package/dist/chunk-BBECLK22.js +383 -0
- package/dist/chunk-BWYPJG3P.js +158 -0
- package/dist/chunk-CI7F4Y26.js +396 -0
- package/dist/chunk-CNLSXEQC.js +931 -0
- package/dist/chunk-COCB4HE3.js +65 -0
- package/dist/chunk-CPEVLG3B.js +357 -0
- package/dist/chunk-CRHH5C6Z.js +5920 -0
- package/dist/chunk-CRHH5C6Z.js.map +1 -0
- package/dist/chunk-CVC4RO7D.js +155 -0
- package/dist/chunk-CY6RLRHJ.js +3110 -0
- package/dist/chunk-D3WLSMCL.js +117 -0
- package/dist/chunk-D7SSOJEU.js +178 -0
- package/dist/chunk-DBOD5WXT.js +818 -0
- package/dist/chunk-DFWSRIFL.js +162 -0
- package/dist/chunk-DITZUBOK.js +126 -0
- package/dist/chunk-DKD2ZZSJ.js +287 -0
- package/dist/chunk-DOJWHSRD.js +246 -0
- package/dist/chunk-DR6LZXJI.js +187 -0
- package/dist/chunk-DV73XOVB.js +650 -0
- package/dist/chunk-DYO7DNDD.js +316 -0
- package/dist/chunk-DYZASWWT.js +234 -0
- package/dist/chunk-EAJHD44A.js +573 -0
- package/dist/chunk-EAJHD44A.js.map +1 -0
- package/dist/chunk-EC5HUNXI.js +1263 -0
- package/dist/chunk-ECQ7FV3E.js +247 -0
- package/dist/chunk-ECVCSZWY.js +406 -0
- package/dist/chunk-EMXO5HCY.js +333 -0
- package/dist/chunk-ENJX5TAA.js +265 -0
- package/dist/chunk-EQSYPIAI.js +66 -0
- package/dist/chunk-EV73XMK3.js +1152 -0
- package/dist/chunk-F2SGC74A.js +2553 -0
- package/dist/chunk-F3LIUDXN.js +738 -0
- package/dist/chunk-F3LIUDXN.js.map +1 -0
- package/dist/chunk-F5ABIEWA.js +1029 -0
- package/dist/chunk-F5ABIEWA.js.map +1 -0
- package/dist/chunk-F5DEBD4D.js +230 -0
- package/dist/chunk-F6JJBUQ2.js +566 -0
- package/dist/chunk-FEVZDJOZ.js +1024 -0
- package/dist/chunk-FF22IUY3.js +121 -0
- package/dist/chunk-FILRDNUQ.js +256 -0
- package/dist/chunk-FLB3BP2E.js +227 -0
- package/dist/chunk-FZVMMHPC.js +639 -0
- package/dist/chunk-G6D5NVWM.js +112 -0
- package/dist/chunk-GGH5STTP.js +192 -0
- package/dist/chunk-GGHX6GS7.js +187 -0
- package/dist/chunk-GIHE7U3Y.js +174 -0
- package/dist/chunk-GO5VIAA7.js +264 -0
- package/dist/chunk-GSK637QS.js +27 -0
- package/dist/chunk-HBYO34CP.js +56 -0
- package/dist/chunk-HFROJDFQ.js +118 -0
- package/dist/chunk-HGEDFQ7G.js +251 -0
- package/dist/chunk-HH3QTFGV.js +1356 -0
- package/dist/chunk-HHFFPE67.js +220 -0
- package/dist/chunk-HHYTB5OL.js +246 -0
- package/dist/chunk-HPKWAHHI.js +48 -0
- package/dist/chunk-HSPOCEGP.js +373 -0
- package/dist/chunk-IC74VN2I.js +608 -0
- package/dist/chunk-ICSQO2CV.js +1021 -0
- package/dist/chunk-IEZE7SL6.js +3070 -0
- package/dist/chunk-IGHNTARW.js +170 -0
- package/dist/chunk-IKYS56PQ.js +138 -0
- package/dist/chunk-IO474NRY.js +56 -0
- package/dist/chunk-IP2CCFAV.js +723 -0
- package/dist/chunk-IT5GF54F.js +3851 -0
- package/dist/chunk-IX67G5FD.js +270 -0
- package/dist/chunk-IXNJK7KJ.js +292 -0
- package/dist/chunk-IZWTARYT.js +276 -0
- package/dist/chunk-JBV2HY43.js +108 -0
- package/dist/chunk-JE62XK5K.js +33 -0
- package/dist/chunk-JFAWCALM.js +85 -0
- package/dist/chunk-JQGPATQZ.js +83 -0
- package/dist/chunk-JYZGX5UZ.js +274 -0
- package/dist/chunk-K227GMSM.js +72 -0
- package/dist/chunk-KB2O7JIJ.js +449 -0
- package/dist/chunk-KT6GC67G.js +12 -0
- package/dist/chunk-KTGKGHEA.js +75 -0
- package/dist/chunk-KU77XHWB.js +285 -0
- package/dist/chunk-KZIRVLCM.js +175 -0
- package/dist/chunk-L3DUSTRN.js +259 -0
- package/dist/chunk-L6WVCO6D.js +61 -0
- package/dist/chunk-L7PCZEEG.js +79 -0
- package/dist/chunk-LEN2DVU6.js +311 -0
- package/dist/chunk-LGOQW2CE.js +191 -0
- package/dist/chunk-LK2JO72Y.js +389 -0
- package/dist/chunk-LSJPFW34.js +3996 -0
- package/dist/chunk-LSJPFW34.js.map +1 -0
- package/dist/chunk-LXLHIOJM.js +584 -0
- package/dist/chunk-LYQQ4VBE.js +1333 -0
- package/dist/chunk-M22ZHQ7S.js +1628 -0
- package/dist/chunk-M5RKFV6K.js +20 -0
- package/dist/chunk-MCPKUVMQ.js +99 -0
- package/dist/chunk-MDGNCUAC.js +145 -0
- package/dist/chunk-MFLU3466.js +99 -0
- package/dist/chunk-MIUJ3EH5.js +60 -0
- package/dist/chunk-MO3XJQN2.js +629 -0
- package/dist/chunk-MTHAYXDH.js +107 -0
- package/dist/chunk-MVYQDBE6.js +79 -0
- package/dist/chunk-NA7VZQPL.js +307 -0
- package/dist/chunk-ND6FWOSO.js +2431 -0
- package/dist/chunk-NGTCSS53.js +24 -0
- package/dist/chunk-NGTCSS53.js.map +1 -0
- package/dist/chunk-NIFPH34L.js +351 -0
- package/dist/chunk-NKYC6WHQ.js +103 -0
- package/dist/chunk-NML7VKLU.js +391 -0
- package/dist/chunk-NPAWLKJB.js +41 -0
- package/dist/chunk-NQSKI2YD.js +1185 -0
- package/dist/chunk-NXQFBC22.js +114 -0
- package/dist/chunk-NXRZMHVM.js +43 -0
- package/dist/chunk-NYU5DE4K.js +1309 -0
- package/dist/chunk-O2EEYPIZ.js +48 -0
- package/dist/chunk-O4TOEISQ.js +67 -0
- package/dist/chunk-O533L2TG.js +129 -0
- package/dist/chunk-O664PL2U.js +47 -0
- package/dist/chunk-O664PL2U.js.map +1 -0
- package/dist/chunk-ON6ZGJDW.js +532 -0
- package/dist/chunk-OPELE3Z4.js +311 -0
- package/dist/chunk-OTSUC6PP.js +234 -0
- package/dist/chunk-OXM267RC.js +128 -0
- package/dist/chunk-OXM267RC.js.map +1 -0
- package/dist/chunk-OZNL5OKT.js +1184 -0
- package/dist/chunk-P3PDKPLK.js +432 -0
- package/dist/chunk-PCZBYN2H.js +372 -0
- package/dist/chunk-PIPXXQFV.js +57 -0
- package/dist/chunk-PMUZUPPE.js +131 -0
- package/dist/chunk-PN52EIFV.js +113 -0
- package/dist/chunk-PPQJIVGM.js +175 -0
- package/dist/chunk-PQYFOTNI.js +469 -0
- package/dist/chunk-PUX4YJAW.js +1095 -0
- package/dist/chunk-PYMQM65Y.js +125 -0
- package/dist/chunk-Q5UO7GT5.js +404 -0
- package/dist/chunk-QA5UNVHD.js +85 -0
- package/dist/chunk-QDZR7FXG.js +215 -0
- package/dist/chunk-QNOWKKZ4.js +40 -0
- package/dist/chunk-QUXQYYZO.js +73 -0
- package/dist/chunk-QVOTPOXK.js +29 -0
- package/dist/chunk-R2DSOIME.js +772 -0
- package/dist/chunk-RFQQXXJ6.js +366 -0
- package/dist/chunk-RLWI34XM.js +27 -0
- package/dist/chunk-RMWCGSEP.js +124 -0
- package/dist/chunk-ROTEQD2Z.js +441 -0
- package/dist/chunk-RPCWZFP7.js +296 -0
- package/dist/chunk-RW5QRWVI.js +141 -0
- package/dist/chunk-RZZHOHL6.js +5089 -0
- package/dist/chunk-S5STZCBZ.js +133 -0
- package/dist/chunk-SD4A5P24.js +1803 -0
- package/dist/chunk-SJM4TCWJ.js +197 -0
- package/dist/chunk-SJXK56WZ.js +905 -0
- package/dist/chunk-SJXK56WZ.js.map +1 -0
- package/dist/chunk-SQYTYXR4.js +100 -0
- package/dist/chunk-SRDHDIRQ.js +177 -0
- package/dist/chunk-SVC674IM.js +263 -0
- package/dist/chunk-SYYFA7W7.js +23 -0
- package/dist/chunk-T2UUHB7V.js +1187 -0
- package/dist/chunk-TBOH54QP.js +298 -0
- package/dist/chunk-TG2GO424.js +196 -0
- package/dist/chunk-TOJNLC42.js +107 -0
- package/dist/chunk-TW75KM7T.js +412 -0
- package/dist/chunk-TWWAPJYE.js +26 -0
- package/dist/chunk-UARZCGWU.js +202 -0
- package/dist/chunk-UCNTAS2U.js +2580 -0
- package/dist/chunk-UD7IARSL.js +162 -0
- package/dist/chunk-UDKZKGUQ.js +379 -0
- package/dist/chunk-UEUYUUZA.js +3183 -0
- package/dist/chunk-UEUYUUZA.js.map +1 -0
- package/dist/chunk-UJRSZ6ZB.js +391 -0
- package/dist/chunk-UTM23O3G.js +50 -0
- package/dist/chunk-UUJSS56V.js +4570 -0
- package/dist/chunk-UWSF733U.js +42 -0
- package/dist/chunk-V4ZYJWU3.js +386 -0
- package/dist/chunk-VEIT2EGK.js +207 -0
- package/dist/chunk-VGG6DOTN.js +172 -0
- package/dist/chunk-VGSGAQJX.js +82 -0
- package/dist/chunk-VHK5CBIG.js +2317 -0
- package/dist/chunk-VLA2DTYG.js +154 -0
- package/dist/chunk-VSN6XKZ5.js +278 -0
- package/dist/chunk-VW6TOTDQ.js +111 -0
- package/dist/chunk-W3HKBWPM.js +406 -0
- package/dist/chunk-WDYM5SFM.js +73 -0
- package/dist/chunk-WJ4AZ2AR.js +2551 -0
- package/dist/chunk-WMQHP4E3.js +214 -0
- package/dist/chunk-WP5A6F6P.js +269 -0
- package/dist/chunk-WUR2DYJX.js +527 -0
- package/dist/chunk-WUR2DYJX.js.map +1 -0
- package/dist/chunk-WWQH3L6M.js +407 -0
- package/dist/chunk-WYIC3CXE.js +157 -0
- package/dist/chunk-WYIC3CXE.js.map +1 -0
- package/dist/chunk-X3T6ULUZ.js +297 -0
- package/dist/chunk-XA32OUL4.js +52 -0
- package/dist/chunk-XCICIQIE.js +113 -0
- package/dist/chunk-XHRIUCBD.js +138 -0
- package/dist/chunk-XJBWVT5X.js +1177 -0
- package/dist/chunk-XKQRWJFE.js +270 -0
- package/dist/chunk-XN3EVUB5.js +134 -0
- package/dist/chunk-XT6GBN2G.js +828 -0
- package/dist/chunk-XYVDTM4D.js +184 -0
- package/dist/chunk-XZO5X3KH.js +84 -0
- package/dist/chunk-Y34DIEOG.js +201 -0
- package/dist/chunk-YAIYUFCX.js +114 -0
- package/dist/chunk-YFLRBEDS.js +200 -0
- package/dist/chunk-YIKMBS4B.js +10053 -0
- package/dist/chunk-YIKMBS4B.js.map +1 -0
- package/dist/chunk-YQX227EF.js +403 -0
- package/dist/chunk-YVAB57JZ.js +340 -0
- package/dist/chunk-YWHSODBB.js +250 -0
- package/dist/chunk-YWJHCJQW.js +218 -0
- package/dist/chunk-Z37DSW2K.js +570 -0
- package/dist/chunk-ZELN2B72.js +399 -0
- package/dist/chunk-ZFGGR2JW.js +236 -0
- package/dist/chunk-ZL7SEED7.js +773 -0
- package/dist/composer.js +37 -36
- package/dist/computer-viewer-CNYFTUGF.js +21 -0
- package/dist/connect.js +31 -30
- package/dist/connection-step-up-EZRZW2LY.js +147 -0
- package/dist/connection-step-up-EZRZW2LY.js.map +1 -0
- package/dist/desktop-dictation.js +24 -24
- package/dist/desktop.js +2 -2
- package/dist/editor.js +2 -2
- package/dist/embedded-new-voice-A56WDECM.js +25 -0
- package/dist/embedded-voice-CBTSMIWW.js +25 -0
- package/dist/fleet-decision-row-6PQTGI2U.js +361 -0
- package/dist/in-chat-connect-model.js +5 -5
- package/dist/index.js +299 -298
- package/dist/interaction.js +9 -9
- package/dist/latest-question-F3VPDR7U.js +1 -1
- package/dist/lib/modal-layer.d.ts +11 -0
- package/dist/machine-request-model.js +1 -1
- package/dist/machines.js +8 -8
- package/dist/meetings-recorder.js +1 -1
- package/dist/meetings.js +117 -116
- package/dist/meetings.js.map +1 -1
- package/dist/messages/en.d.ts +1 -0
- package/dist/messages.js +1 -1
- package/dist/model-policy-picker-menu-ZU72JATS.js +23 -0
- package/dist/payment-page-card-5VEUANFD.js +227 -0
- package/dist/payment-page-card-5VEUANFD.js.map +1 -0
- package/dist/platform-activity-row-5IQT6R5Z.js +156 -0
- package/dist/queue-surface-implementation-TPCJ4R6N.js +933 -0
- package/dist/queue-surface-implementation-TPCJ4R6N.js.map +1 -0
- package/dist/realtime.js +17 -17
- package/dist/recorder-host-G5M676VM.js +80 -0
- package/dist/recordings.js +3 -3
- package/dist/sandbox-files-HCXOP6ZO.js +29 -0
- package/dist/session-app.css +1 -1
- package/dist/session-app.css.map +1 -1
- package/dist/session-app.js +388 -387
- package/dist/session-connect-cards-MYJRQWSA.js +28 -0
- package/dist/session-list-model.js +2 -2
- package/dist/session-realtime-YFVGQFJK.js +30 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +96 -95
- package/dist/session.js +42 -42
- package/dist/sites.js +3 -3
- package/dist/terminal.js +2 -2
- package/dist/this-computer.js +4 -3
- package/dist/timeline-annotation-markers-5ELTFV5B.js +157 -0
- package/dist/timeline-annotation-selection-XHUOFRIY.js +208 -0
- package/dist/timeline-annotations-dialog-X2VNDYZ4.js +283 -0
- package/dist/timeline-model.js +58 -58
- package/dist/ui/access-list.js +24 -23
- package/dist/ui/access-list.js.map +1 -1
- package/dist/ui/cadence-picker.js +7 -7
- package/dist/ui/choice-cards.js +3 -3
- package/dist/ui/confirm-dialog.js +4 -3
- package/dist/ui/copy-field.js +3 -3
- package/dist/ui/detail-page.js +6 -5
- package/dist/ui/detail-sheet.js +6 -5
- package/dist/ui/dialog.js +2 -1
- package/dist/ui/diff-view.js +3 -3
- package/dist/ui/disclosure.js +7 -6
- package/dist/ui/email-chips-input.js +3 -3
- package/dist/ui/field.js +2 -2
- package/dist/ui/flush-form-page.js +8 -7
- package/dist/ui/form-dialog.js +7 -6
- package/dist/ui/list-row.js +6 -6
- package/dist/ui/load-failure.js +3 -3
- package/dist/ui/relative-time.js +3 -3
- package/dist/ui/revision-history.js +13 -13
- package/dist/ui/role-select.js +12 -11
- package/dist/ui/select-menu.js +5 -5
- package/dist/ui/settings-nav.js +6 -6
- package/dist/ui/sheet.js +3 -2
- package/dist/ui/usage-meter.js +4 -4
- package/dist/usage.js +3 -3
- package/dist/workbench.js +11 -11
- package/package.json +6 -5
- package/src/app/components/command-menu/command-menu.tsx +232 -228
- package/src/components/automations/automation-model.ts +1 -0
- package/src/components/file-browser.tsx +69 -64
- package/src/components/session-capability-frame.tsx +36 -34
- package/src/components/this-computer/this-computer-setup.tsx +36 -29
- package/src/lib/modal-layer.tsx +33 -0
- package/src/messages/en.ts +1 -0
- package/src/timeline/screenshot-lightbox.tsx +137 -128
- package/src/ui/detail-sheet.tsx +44 -40
- package/src/ui/dialog.tsx +39 -35
- package/src/ui/form-dialog-layer.test.tsx +4 -3
- package/src/ui/form-dialog.tsx +28 -26
- package/src/ui/sheet.tsx +36 -46
- package/styles/compiled.css +57 -12
- package/styles/index.css +19 -0
- package/styles/this-computer.css +1 -1
- package/dist/browser-viewer-J6O65JXH.js +0 -23
- package/dist/chat-interactive-block-R5JEJYMR.js +0 -22
- package/dist/chunk-236GMLCR.js +0 -50
- package/dist/chunk-24S44WBL.js +0 -200
- package/dist/chunk-27HN57HE.js +0 -274
- package/dist/chunk-2FLGURHP.js +0 -297
- package/dist/chunk-2SH6CLOR.js +0 -378
- package/dist/chunk-2XZ3EUSP.js +0 -505
- package/dist/chunk-2ZC62PY4.js +0 -113
- package/dist/chunk-36YTBVYF.js +0 -197
- package/dist/chunk-3775TQE5.js +0 -10053
- package/dist/chunk-3775TQE5.js.map +0 -1
- package/dist/chunk-3CF2B2LD.js +0 -110
- package/dist/chunk-3GENISSH.js +0 -129
- package/dist/chunk-3IEVQMGO.js +0 -2431
- package/dist/chunk-3N3EN7FA.js +0 -34
- package/dist/chunk-3NMKLLEB.js +0 -218
- package/dist/chunk-3VSKLEUE.js +0 -4570
- package/dist/chunk-3X4HTUUR.js +0 -538
- package/dist/chunk-3XHPCZ6N.js +0 -380
- package/dist/chunk-3XHPCZ6N.js.map +0 -1
- package/dist/chunk-4GFLP4OY.js +0 -131
- package/dist/chunk-4GUPD7CJ.js +0 -234
- package/dist/chunk-4OGDD2EM.js +0 -2434
- package/dist/chunk-4T2RJ2HY.js +0 -93
- package/dist/chunk-4XEPZARK.js +0 -391
- package/dist/chunk-4YJGB22T.js +0 -570
- package/dist/chunk-4YNWA5YG.js +0 -236
- package/dist/chunk-4ZRGFCSP.js +0 -5919
- package/dist/chunk-4ZRGFCSP.js.map +0 -1
- package/dist/chunk-54NTSBQO.js +0 -33
- package/dist/chunk-5BRK72J5.js +0 -214
- package/dist/chunk-5BRK72J5.js.map +0 -1
- package/dist/chunk-5CGZOJN7.js +0 -111
- package/dist/chunk-5ERDSF2C.js +0 -79
- package/dist/chunk-5I6CWDA6.js +0 -3176
- package/dist/chunk-5I6CWDA6.js.map +0 -1
- package/dist/chunk-5JG277OH.js +0 -92
- package/dist/chunk-5JOTMM3F.js +0 -3996
- package/dist/chunk-5JOTMM3F.js.map +0 -1
- package/dist/chunk-5ORXRVXV.js +0 -469
- package/dist/chunk-5XVOL3KH.js +0 -931
- package/dist/chunk-67BMBRTK.js +0 -406
- package/dist/chunk-67JCL67N.js +0 -84
- package/dist/chunk-6F34IWSA.js +0 -47
- package/dist/chunk-6F34IWSA.js.map +0 -1
- package/dist/chunk-6GCMLYER.js +0 -432
- package/dist/chunk-6GODDS6F.js +0 -103
- package/dist/chunk-6GYRHQVL.js +0 -5089
- package/dist/chunk-6LF2ZE52.js +0 -851
- package/dist/chunk-6MSTIFAL.js +0 -406
- package/dist/chunk-6OMREP52.js +0 -187
- package/dist/chunk-6P3QOMPV.js +0 -57
- package/dist/chunk-6SPEMI7K.js +0 -850
- package/dist/chunk-6SPEMI7K.js.map +0 -1
- package/dist/chunk-6WGJB6GO.js +0 -65
- package/dist/chunk-72PGXQDN.js +0 -399
- package/dist/chunk-75LF7LSI.js +0 -307
- package/dist/chunk-7CIMPDGL.js +0 -26
- package/dist/chunk-7EJWP62C.js +0 -271
- package/dist/chunk-7FY47EN2.js +0 -138
- package/dist/chunk-7I4KWTJS.js +0 -112
- package/dist/chunk-7J3TLTPI.js +0 -50
- package/dist/chunk-7M5DPUGZ.js +0 -215
- package/dist/chunk-7ZQVRVNI.js +0 -1263
- package/dist/chunk-A2QOUEU3.js +0 -256
- package/dist/chunk-A36WG3BT.js +0 -175
- package/dist/chunk-ADFUTR45.js +0 -138
- package/dist/chunk-ADNH5GSP.js +0 -1236
- package/dist/chunk-AGW5H6QV.js +0 -1356
- package/dist/chunk-AHBEBGLO.js +0 -27
- package/dist/chunk-AJIGRQIO.js +0 -311
- package/dist/chunk-AP63EUPJ.js +0 -145
- package/dist/chunk-ATWXYAWP.js +0 -227
- package/dist/chunk-AU2DT7O2.js +0 -29
- package/dist/chunk-AX65L6QV.js +0 -316
- package/dist/chunk-AZHZ2EU4.js +0 -333
- package/dist/chunk-B57G2C45.js +0 -357
- package/dist/chunk-BIQMUTVW.js +0 -1333
- package/dist/chunk-BOZN54YB.js +0 -149
- package/dist/chunk-BOZN54YB.js.map +0 -1
- package/dist/chunk-BPCI4ZGR.js +0 -4979
- package/dist/chunk-BRJLN3ZL.js +0 -67
- package/dist/chunk-BY7AWWDB.js +0 -177
- package/dist/chunk-CBSBNUGV.js +0 -523
- package/dist/chunk-CBSBNUGV.js.map +0 -1
- package/dist/chunk-CGS44LYC.js +0 -1022
- package/dist/chunk-CGS44LYC.js.map +0 -1
- package/dist/chunk-CHKHQHOO.js +0 -3070
- package/dist/chunk-CSGKUDNB.js +0 -1024
- package/dist/chunk-CZPN2HP3.js +0 -441
- package/dist/chunk-D2VP4C5B.js +0 -515
- package/dist/chunk-D32VVOBJ.js +0 -738
- package/dist/chunk-D32VVOBJ.js.map +0 -1
- package/dist/chunk-D4AF4SOJ.js +0 -246
- package/dist/chunk-DCML4SXQ.js +0 -201
- package/dist/chunk-DECSYLBP.js +0 -572
- package/dist/chunk-DECSYLBP.js.map +0 -1
- package/dist/chunk-DEKCTHXM.js +0 -639
- package/dist/chunk-DGS62JWP.js +0 -828
- package/dist/chunk-DHXRMZPQ.js +0 -276
- package/dist/chunk-DJ4X4U4A.js +0 -1021
- package/dist/chunk-DLMMQMKZ.js +0 -2551
- package/dist/chunk-DWPE3Y7M.js +0 -144
- package/dist/chunk-EFD4DD3E.js +0 -113
- package/dist/chunk-EGSRY63C.js +0 -251
- package/dist/chunk-EIVA3MAH.js +0 -85
- package/dist/chunk-EJYHPNXD.js +0 -103
- package/dist/chunk-EQ263DHZ.js +0 -27
- package/dist/chunk-EVJ42E62.js +0 -137
- package/dist/chunk-EW3N5SCT.js +0 -1628
- package/dist/chunk-F47X7XPQ.js +0 -124
- package/dist/chunk-F4ESDJTE.js +0 -400
- package/dist/chunk-F7NV3EL5.js +0 -2580
- package/dist/chunk-FFWVFU6S.js +0 -48
- package/dist/chunk-FPPPLIGK.js +0 -1184
- package/dist/chunk-FUJ6DWRZ.js +0 -207
- package/dist/chunk-FWEMP52Y.js +0 -199
- package/dist/chunk-FX4HG4FR.js +0 -37
- package/dist/chunk-FZOK37SC.js +0 -155
- package/dist/chunk-GBGJIR6F.js +0 -404
- package/dist/chunk-GCURVP5U.js +0 -211
- package/dist/chunk-GFMRMSFN.js +0 -196
- package/dist/chunk-GH4VY3H5.js +0 -178
- package/dist/chunk-GJFTPSGN.js +0 -278
- package/dist/chunk-GKOIWZ4C.js +0 -794
- package/dist/chunk-GNTEF5TL.js +0 -158
- package/dist/chunk-GQF2HWQE.js +0 -407
- package/dist/chunk-GXYS6BI3.js +0 -311
- package/dist/chunk-H27MS36Q.js +0 -318
- package/dist/chunk-H4NDK35I.js +0 -85
- package/dist/chunk-H6DJIEO6.js +0 -269
- package/dist/chunk-HC7C4ZN2.js +0 -608
- package/dist/chunk-HUKGLWAY.js +0 -174
- package/dist/chunk-HUS2QEPV.js +0 -428
- package/dist/chunk-HUTQJY3F.js +0 -23
- package/dist/chunk-HWOYJOKK.js +0 -266
- package/dist/chunk-I46F7LUI.js +0 -15
- package/dist/chunk-I57PYKVN.js +0 -386
- package/dist/chunk-IBI3N3P7.js +0 -56
- package/dist/chunk-IEUZ4ASX.js +0 -3110
- package/dist/chunk-IHLF7R6Q.js +0 -1309
- package/dist/chunk-J3XWJ2A6.js +0 -209
- package/dist/chunk-J45WTHTL.js +0 -229
- package/dist/chunk-J4OOKDRV.js +0 -40
- package/dist/chunk-J6YVN3W7.js +0 -162
- package/dist/chunk-JOZFVEBN.js +0 -2984
- package/dist/chunk-K7GGLL2U.js +0 -231
- package/dist/chunk-KDHWX7XH.js +0 -292
- package/dist/chunk-KMLELG4O.js +0 -46
- package/dist/chunk-KQY4P4EO.js +0 -373
- package/dist/chunk-KSDCQPJY.js +0 -12
- package/dist/chunk-KW4OJ3RS.js +0 -175
- package/dist/chunk-KWOYMJKM.js +0 -1803
- package/dist/chunk-KYDLVMKA.js +0 -99
- package/dist/chunk-KZYQNVXE.js +0 -449
- package/dist/chunk-L3GNEC6B.js +0 -1019
- package/dist/chunk-L5JV7MAF.js +0 -372
- package/dist/chunk-LC5E7CVA.js +0 -191
- package/dist/chunk-LEYZQZFS.js +0 -121
- package/dist/chunk-LFMTPBET.js +0 -265
- package/dist/chunk-LFQI2C46.js +0 -175
- package/dist/chunk-LH3SDMDC.js +0 -172
- package/dist/chunk-LJKZGQTI.js +0 -192
- package/dist/chunk-LQDSZPB5.js +0 -73
- package/dist/chunk-LTYUE572.js +0 -117
- package/dist/chunk-M3WCB73E.js +0 -379
- package/dist/chunk-M47MKLW2.js +0 -283
- package/dist/chunk-M5FX5KH5.js +0 -629
- package/dist/chunk-MHL727ZE.js +0 -129
- package/dist/chunk-N3AAMSBH.js +0 -170
- package/dist/chunk-N4TJ7A7I.js +0 -41
- package/dist/chunk-NFZAMHSR.js +0 -401
- package/dist/chunk-NRAVQJE2.js +0 -61
- package/dist/chunk-NU4HYZ3C.js +0 -48
- package/dist/chunk-NUZNJSL5.js +0 -285
- package/dist/chunk-NY5DX43C.js +0 -133
- package/dist/chunk-O3C4BASC.js +0 -773
- package/dist/chunk-O5JDQZGV.js +0 -176
- package/dist/chunk-OMYT3X2Y.js +0 -107
- package/dist/chunk-OSQ6YGZW.js +0 -412
- package/dist/chunk-OWXSWGP3.js +0 -263
- package/dist/chunk-PBCSPCF6.js +0 -43
- package/dist/chunk-PBKG2OPJ.js +0 -849
- package/dist/chunk-PCP5GF77.js +0 -366
- package/dist/chunk-PCSRHFRF.js +0 -75
- package/dist/chunk-PHNHJKEL.js +0 -287
- package/dist/chunk-PIPD74PT.js +0 -650
- package/dist/chunk-PMBZMVKE.js +0 -33
- package/dist/chunk-PMVZYQ5W.js +0 -107
- package/dist/chunk-POUIWV6K.js +0 -2553
- package/dist/chunk-PTSRBKQC.js +0 -118
- package/dist/chunk-Q5AQJQXU.js +0 -114
- package/dist/chunk-QAS2OFG5.js +0 -371
- package/dist/chunk-QCJ6SNCP.js +0 -532
- package/dist/chunk-QFMPAR74.js +0 -73
- package/dist/chunk-QHF4B7R4.js +0 -166
- package/dist/chunk-QHGWFKTK.js +0 -52
- package/dist/chunk-QJ4YC4PM.js +0 -353
- package/dist/chunk-QMFX5BDA.js +0 -3851
- package/dist/chunk-QSG6FWOK.js +0 -126
- package/dist/chunk-QTT5574G.js +0 -154
- package/dist/chunk-R6CFPY3F.js +0 -278
- package/dist/chunk-R6OBJ7LF.js +0 -131
- package/dist/chunk-R6OBJ7LF.js.map +0 -1
- package/dist/chunk-RAUWORZV.js +0 -1187
- package/dist/chunk-RG7PMYWW.js +0 -82
- package/dist/chunk-RLS563ST.js +0 -403
- package/dist/chunk-RQAE6DI7.js +0 -259
- package/dist/chunk-RWWQLVGV.js +0 -184
- package/dist/chunk-S6GFECVG.js +0 -56
- package/dist/chunk-SBWVYYRA.js +0 -283
- package/dist/chunk-SHW2QUOE.js +0 -158
- package/dist/chunk-SQJQVTHA.js +0 -3690
- package/dist/chunk-STTCF3OR.js +0 -202
- package/dist/chunk-SVG5U7UN.js +0 -270
- package/dist/chunk-SY6V3Z2U.js +0 -270
- package/dist/chunk-T3WYQHAO.js +0 -42
- package/dist/chunk-TCDDOFRG.js +0 -79
- package/dist/chunk-TGG3ODCS.js +0 -99
- package/dist/chunk-TL6UOSMX.js +0 -4519
- package/dist/chunk-TL6UOSMX.js.map +0 -1
- package/dist/chunk-TU6FW6IJ.js +0 -566
- package/dist/chunk-TXSZR2SB.js +0 -188
- package/dist/chunk-TYZ3WUKG.js +0 -1095
- package/dist/chunk-U3GQZEAO.js +0 -584
- package/dist/chunk-U4EMW7RP.js +0 -249
- package/dist/chunk-UBSHJB6M.js +0 -83
- package/dist/chunk-UFRXYZCJ.js +0 -125
- package/dist/chunk-UHBIXNRW.js +0 -100
- package/dist/chunk-UJB54P4M.js +0 -335
- package/dist/chunk-UJKVMFFF.js +0 -114
- package/dist/chunk-UJSXNGKJ.js +0 -141
- package/dist/chunk-UNOJ5PNN.js +0 -3321
- package/dist/chunk-UOBJFO25.js +0 -351
- package/dist/chunk-UPRN4FBY.js +0 -38
- package/dist/chunk-UQQUMT5P.js +0 -91
- package/dist/chunk-UTFX46TK.js +0 -1177
- package/dist/chunk-V5HRUE42.js +0 -396
- package/dist/chunk-VCWRMKTQ.js +0 -296
- package/dist/chunk-VJAP57SP.js +0 -114
- package/dist/chunk-VMJN6YQL.js +0 -391
- package/dist/chunk-VUNGU657.js +0 -20
- package/dist/chunk-VWEGG7JQ.js +0 -134
- package/dist/chunk-VWT7ORWC.js +0 -437
- package/dist/chunk-VWT7ORWC.js.map +0 -1
- package/dist/chunk-VXGQVX53.js +0 -1152
- package/dist/chunk-W7UFWXZ6.js +0 -72
- package/dist/chunk-WKBJNGYV.js +0 -230
- package/dist/chunk-WZZV7DUU.js +0 -723
- package/dist/chunk-XDWW2DLJ.js +0 -247
- package/dist/chunk-XF55A7CC.js +0 -162
- package/dist/chunk-XGUBIE35.js +0 -187
- package/dist/chunk-XIUJL352.js +0 -66
- package/dist/chunk-XKPVWLMM.js +0 -383
- package/dist/chunk-XSR6J5LY.js +0 -234
- package/dist/chunk-Y2LD4FTV.js +0 -132
- package/dist/chunk-Y3TQ2M2O.js +0 -214
- package/dist/chunk-Y5HXP2NR.js +0 -251
- package/dist/chunk-Y6CNWBV3.js +0 -264
- package/dist/chunk-YGPMLIFT.js +0 -2317
- package/dist/chunk-YIR4KVJO.js +0 -389
- package/dist/chunk-YN6UVG4Z.js +0 -250
- package/dist/chunk-YNIDJOGT.js +0 -340
- package/dist/chunk-YP4SNX4P.js +0 -220
- package/dist/chunk-YPIOAMHD.js +0 -246
- package/dist/chunk-YPM3T3UM.js +0 -598
- package/dist/chunk-YRJZYQ5A.js +0 -898
- package/dist/chunk-YRJZYQ5A.js.map +0 -1
- package/dist/chunk-YVODOJZG.js +0 -298
- package/dist/chunk-ZAGLLXX5.js +0 -107
- package/dist/chunk-ZD67RM6G.js +0 -60
- package/dist/chunk-ZLY7M463.js +0 -1185
- package/dist/chunk-ZNIG3CPB.js +0 -98
- package/dist/chunk-ZOQKWIFS.js +0 -108
- package/dist/chunk-ZU5WVSHV.js +0 -168
- package/dist/chunk-ZWEVJPXC.js +0 -818
- package/dist/chunk-ZWFLYN7T.js +0 -772
- package/dist/computer-viewer-ZISZUM4L.js +0 -21
- package/dist/connection-step-up-UQHDCXFE.js +0 -146
- package/dist/connection-step-up-UQHDCXFE.js.map +0 -1
- package/dist/embedded-new-voice-UWSSA7AB.js +0 -25
- package/dist/embedded-voice-T34K465A.js +0 -25
- package/dist/fleet-decision-row-REAWMEHI.js +0 -361
- package/dist/model-policy-picker-menu-2CTRKSDJ.js +0 -23
- package/dist/payment-page-card-OOOFGIMH.js +0 -226
- package/dist/payment-page-card-OOOFGIMH.js.map +0 -1
- package/dist/platform-activity-row-EZYTZPYR.js +0 -156
- package/dist/queue-surface-implementation-HDZ42LN7.js +0 -932
- package/dist/queue-surface-implementation-HDZ42LN7.js.map +0 -1
- package/dist/recorder-host-6HFQQTNI.js +0 -80
- package/dist/sandbox-files-6JY7WVMO.js +0 -28
- package/dist/session-connect-cards-VTSJODCX.js +0 -27
- package/dist/session-realtime-G3ZGG3KR.js +0 -30
- package/dist/timeline-annotation-markers-S6DMHCI6.js +0 -157
- package/dist/timeline-annotation-selection-UFZOKL5E.js +0 -208
- package/dist/timeline-annotations-dialog-FPJ4MPHD.js +0 -283
- /package/dist/{browser-viewer-J6O65JXH.js.map → browser-viewer-O5FJOWWI.js.map} +0 -0
- /package/dist/{chat-interactive-block-R5JEJYMR.js.map → chat-interactive-block-TQTOUHRC.js.map} +0 -0
- /package/dist/{chunk-SQJQVTHA.js.map → chunk-23TTCFRP.js.map} +0 -0
- /package/dist/{chunk-3GENISSH.js.map → chunk-2BOFLWNJ.js.map} +0 -0
- /package/dist/{chunk-6LF2ZE52.js.map → chunk-3DMD2KHT.js.map} +0 -0
- /package/dist/{chunk-Y2LD4FTV.js.map → chunk-3DOISS3I.js.map} +0 -0
- /package/dist/{chunk-FWEMP52Y.js.map → chunk-3KWTXE4O.js.map} +0 -0
- /package/dist/{chunk-4T2RJ2HY.js.map → chunk-3TRERIPD.js.map} +0 -0
- /package/dist/{chunk-5JG277OH.js.map → chunk-3UXBTL7Z.js.map} +0 -0
- /package/dist/{chunk-M47MKLW2.js.map → chunk-3XEKXNB4.js.map} +0 -0
- /package/dist/{chunk-HUS2QEPV.js.map → chunk-3ZJUQG4K.js.map} +0 -0
- /package/dist/{chunk-UJB54P4M.js.map → chunk-42WTAUUW.js.map} +0 -0
- /package/dist/{chunk-UPRN4FBY.js.map → chunk-46ZC5VNC.js.map} +0 -0
- /package/dist/{chunk-QHF4B7R4.js.map → chunk-4BVEFGX7.js.map} +0 -0
- /package/dist/{chunk-NFZAMHSR.js.map → chunk-4IOFV4S4.js.map} +0 -0
- /package/dist/{chunk-EVJ42E62.js.map → chunk-4ISXBLJV.js.map} +0 -0
- /package/dist/{chunk-SBWVYYRA.js.map → chunk-4L2MBYLH.js.map} +0 -0
- /package/dist/{chunk-O5JDQZGV.js.map → chunk-4NWUZ6SL.js.map} +0 -0
- /package/dist/{chunk-H27MS36Q.js.map → chunk-4QVX6CTT.js.map} +0 -0
- /package/dist/{chunk-JOZFVEBN.js.map → chunk-4YARO4Y5.js.map} +0 -0
- /package/dist/{chunk-3N3EN7FA.js.map → chunk-4Z7BPBS7.js.map} +0 -0
- /package/dist/{chunk-GKOIWZ4C.js.map → chunk-55ILMX6B.js.map} +0 -0
- /package/dist/{chunk-6GODDS6F.js.map → chunk-57OAQTWD.js.map} +0 -0
- /package/dist/{chunk-KMLELG4O.js.map → chunk-5GXX3NI7.js.map} +0 -0
- /package/dist/{chunk-QJ4YC4PM.js.map → chunk-5VE3PPSK.js.map} +0 -0
- /package/dist/{chunk-HWOYJOKK.js.map → chunk-62T2ZPD5.js.map} +0 -0
- /package/dist/{chunk-EGSRY63C.js.map → chunk-655JT4VH.js.map} +0 -0
- /package/dist/{chunk-2XZ3EUSP.js.map → chunk-65OPNLE4.js.map} +0 -0
- /package/dist/{chunk-J45WTHTL.js.map → chunk-67PIP46J.js.map} +0 -0
- /package/dist/{chunk-GCURVP5U.js.map → chunk-6CAK65QV.js.map} +0 -0
- /package/dist/{chunk-PMBZMVKE.js.map → chunk-6CDBX3XG.js.map} +0 -0
- /package/dist/{chunk-R6CFPY3F.js.map → chunk-6D3D2JWY.js.map} +0 -0
- /package/dist/{chunk-PMVZYQ5W.js.map → chunk-6DGQB6GT.js.map} +0 -0
- /package/dist/{chunk-TXSZR2SB.js.map → chunk-6NFK3J2O.js.map} +0 -0
- /package/dist/{chunk-3X4HTUUR.js.map → chunk-6R3QX3AC.js.map} +0 -0
- /package/dist/{chunk-F4ESDJTE.js.map → chunk-6S5OMLAL.js.map} +0 -0
- /package/dist/{chunk-U4EMW7RP.js.map → chunk-6SG2VVVB.js.map} +0 -0
- /package/dist/{chunk-3CF2B2LD.js.map → chunk-6U57GGJI.js.map} +0 -0
- /package/dist/{chunk-ZNIG3CPB.js.map → chunk-6V2PEFPS.js.map} +0 -0
- /package/dist/{chunk-UNOJ5PNN.js.map → chunk-6VASZZVV.js.map} +0 -0
- /package/dist/{chunk-ZU5WVSHV.js.map → chunk-7BBYH5R5.js.map} +0 -0
- /package/dist/{chunk-J3XWJ2A6.js.map → chunk-7EO3T3IX.js.map} +0 -0
- /package/dist/{chunk-SHW2QUOE.js.map → chunk-7EZQ6EKM.js.map} +0 -0
- /package/dist/{chunk-I46F7LUI.js.map → chunk-7HI53NPP.js.map} +0 -0
- /package/dist/{chunk-FX4HG4FR.js.map → chunk-7J4BFENI.js.map} +0 -0
- /package/dist/{chunk-Q5AQJQXU.js.map → chunk-7LSGNY2L.js.map} +0 -0
- /package/dist/{chunk-ADNH5GSP.js.map → chunk-7MMONDFK.js.map} +0 -0
- /package/dist/{chunk-KW4OJ3RS.js.map → chunk-7MWPBGDX.js.map} +0 -0
- /package/dist/{chunk-QAS2OFG5.js.map → chunk-7NSDIQMY.js.map} +0 -0
- /package/dist/{chunk-K7GGLL2U.js.map → chunk-7XPDLT5G.js.map} +0 -0
- /package/dist/{chunk-2SH6CLOR.js.map → chunk-A3BCF4MV.js.map} +0 -0
- /package/dist/{chunk-PBKG2OPJ.js.map → chunk-A5GX3CAE.js.map} +0 -0
- /package/dist/{chunk-D2VP4C5B.js.map → chunk-AAHQJWEP.js.map} +0 -0
- /package/dist/{chunk-DWPE3Y7M.js.map → chunk-AAWEPZOG.js.map} +0 -0
- /package/dist/{chunk-YPM3T3UM.js.map → chunk-ABRT345L.js.map} +0 -0
- /package/dist/{chunk-UQQUMT5P.js.map → chunk-ANXFE2EP.js.map} +0 -0
- /package/dist/{chunk-7EJWP62C.js.map → chunk-AQNE4XWU.js.map} +0 -0
- /package/dist/{chunk-BPCI4ZGR.js.map → chunk-AV2OMWDS.js.map} +0 -0
- /package/dist/{chunk-L3GNEC6B.js.map → chunk-AYHMHAU5.js.map} +0 -0
- /package/dist/{chunk-7J3TLTPI.js.map → chunk-AZ637XK3.js.map} +0 -0
- /package/dist/{chunk-4OGDD2EM.js.map → chunk-B6AH43UQ.js.map} +0 -0
- /package/dist/{chunk-XKPVWLMM.js.map → chunk-BBECLK22.js.map} +0 -0
- /package/dist/{chunk-GNTEF5TL.js.map → chunk-BWYPJG3P.js.map} +0 -0
- /package/dist/{chunk-V5HRUE42.js.map → chunk-CI7F4Y26.js.map} +0 -0
- /package/dist/{chunk-5XVOL3KH.js.map → chunk-CNLSXEQC.js.map} +0 -0
- /package/dist/{chunk-6WGJB6GO.js.map → chunk-COCB4HE3.js.map} +0 -0
- /package/dist/{chunk-B57G2C45.js.map → chunk-CPEVLG3B.js.map} +0 -0
- /package/dist/{chunk-FZOK37SC.js.map → chunk-CVC4RO7D.js.map} +0 -0
- /package/dist/{chunk-IEUZ4ASX.js.map → chunk-CY6RLRHJ.js.map} +0 -0
- /package/dist/{chunk-LTYUE572.js.map → chunk-D3WLSMCL.js.map} +0 -0
- /package/dist/{chunk-GH4VY3H5.js.map → chunk-D7SSOJEU.js.map} +0 -0
- /package/dist/{chunk-ZWEVJPXC.js.map → chunk-DBOD5WXT.js.map} +0 -0
- /package/dist/{chunk-J6YVN3W7.js.map → chunk-DFWSRIFL.js.map} +0 -0
- /package/dist/{chunk-QSG6FWOK.js.map → chunk-DITZUBOK.js.map} +0 -0
- /package/dist/{chunk-PHNHJKEL.js.map → chunk-DKD2ZZSJ.js.map} +0 -0
- /package/dist/{chunk-YPIOAMHD.js.map → chunk-DOJWHSRD.js.map} +0 -0
- /package/dist/{chunk-XGUBIE35.js.map → chunk-DR6LZXJI.js.map} +0 -0
- /package/dist/{chunk-PIPD74PT.js.map → chunk-DV73XOVB.js.map} +0 -0
- /package/dist/{chunk-AX65L6QV.js.map → chunk-DYO7DNDD.js.map} +0 -0
- /package/dist/{chunk-4GUPD7CJ.js.map → chunk-DYZASWWT.js.map} +0 -0
- /package/dist/{chunk-7ZQVRVNI.js.map → chunk-EC5HUNXI.js.map} +0 -0
- /package/dist/{chunk-XDWW2DLJ.js.map → chunk-ECQ7FV3E.js.map} +0 -0
- /package/dist/{chunk-67BMBRTK.js.map → chunk-ECVCSZWY.js.map} +0 -0
- /package/dist/{chunk-AZHZ2EU4.js.map → chunk-EMXO5HCY.js.map} +0 -0
- /package/dist/{chunk-LFMTPBET.js.map → chunk-ENJX5TAA.js.map} +0 -0
- /package/dist/{chunk-XIUJL352.js.map → chunk-EQSYPIAI.js.map} +0 -0
- /package/dist/{chunk-VXGQVX53.js.map → chunk-EV73XMK3.js.map} +0 -0
- /package/dist/{chunk-POUIWV6K.js.map → chunk-F2SGC74A.js.map} +0 -0
- /package/dist/{chunk-WKBJNGYV.js.map → chunk-F5DEBD4D.js.map} +0 -0
- /package/dist/{chunk-TU6FW6IJ.js.map → chunk-F6JJBUQ2.js.map} +0 -0
- /package/dist/{chunk-CSGKUDNB.js.map → chunk-FEVZDJOZ.js.map} +0 -0
- /package/dist/{chunk-LEYZQZFS.js.map → chunk-FF22IUY3.js.map} +0 -0
- /package/dist/{chunk-A2QOUEU3.js.map → chunk-FILRDNUQ.js.map} +0 -0
- /package/dist/{chunk-ATWXYAWP.js.map → chunk-FLB3BP2E.js.map} +0 -0
- /package/dist/{chunk-DEKCTHXM.js.map → chunk-FZVMMHPC.js.map} +0 -0
- /package/dist/{chunk-7I4KWTJS.js.map → chunk-G6D5NVWM.js.map} +0 -0
- /package/dist/{chunk-LJKZGQTI.js.map → chunk-GGH5STTP.js.map} +0 -0
- /package/dist/{chunk-6OMREP52.js.map → chunk-GGHX6GS7.js.map} +0 -0
- /package/dist/{chunk-HUKGLWAY.js.map → chunk-GIHE7U3Y.js.map} +0 -0
- /package/dist/{chunk-Y6CNWBV3.js.map → chunk-GO5VIAA7.js.map} +0 -0
- /package/dist/{chunk-AHBEBGLO.js.map → chunk-GSK637QS.js.map} +0 -0
- /package/dist/{chunk-S6GFECVG.js.map → chunk-HBYO34CP.js.map} +0 -0
- /package/dist/{chunk-PTSRBKQC.js.map → chunk-HFROJDFQ.js.map} +0 -0
- /package/dist/{chunk-Y5HXP2NR.js.map → chunk-HGEDFQ7G.js.map} +0 -0
- /package/dist/{chunk-AGW5H6QV.js.map → chunk-HH3QTFGV.js.map} +0 -0
- /package/dist/{chunk-YP4SNX4P.js.map → chunk-HHFFPE67.js.map} +0 -0
- /package/dist/{chunk-D4AF4SOJ.js.map → chunk-HHYTB5OL.js.map} +0 -0
- /package/dist/{chunk-FFWVFU6S.js.map → chunk-HPKWAHHI.js.map} +0 -0
- /package/dist/{chunk-KQY4P4EO.js.map → chunk-HSPOCEGP.js.map} +0 -0
- /package/dist/{chunk-HC7C4ZN2.js.map → chunk-IC74VN2I.js.map} +0 -0
- /package/dist/{chunk-DJ4X4U4A.js.map → chunk-ICSQO2CV.js.map} +0 -0
- /package/dist/{chunk-CHKHQHOO.js.map → chunk-IEZE7SL6.js.map} +0 -0
- /package/dist/{chunk-N3AAMSBH.js.map → chunk-IGHNTARW.js.map} +0 -0
- /package/dist/{chunk-7FY47EN2.js.map → chunk-IKYS56PQ.js.map} +0 -0
- /package/dist/{chunk-IBI3N3P7.js.map → chunk-IO474NRY.js.map} +0 -0
- /package/dist/{chunk-WZZV7DUU.js.map → chunk-IP2CCFAV.js.map} +0 -0
- /package/dist/{chunk-QMFX5BDA.js.map → chunk-IT5GF54F.js.map} +0 -0
- /package/dist/{chunk-SVG5U7UN.js.map → chunk-IX67G5FD.js.map} +0 -0
- /package/dist/{chunk-KDHWX7XH.js.map → chunk-IXNJK7KJ.js.map} +0 -0
- /package/dist/{chunk-DHXRMZPQ.js.map → chunk-IZWTARYT.js.map} +0 -0
- /package/dist/{chunk-ZOQKWIFS.js.map → chunk-JBV2HY43.js.map} +0 -0
- /package/dist/{chunk-54NTSBQO.js.map → chunk-JE62XK5K.js.map} +0 -0
- /package/dist/{chunk-EIVA3MAH.js.map → chunk-JFAWCALM.js.map} +0 -0
- /package/dist/{chunk-UBSHJB6M.js.map → chunk-JQGPATQZ.js.map} +0 -0
- /package/dist/{chunk-27HN57HE.js.map → chunk-JYZGX5UZ.js.map} +0 -0
- /package/dist/{chunk-W7UFWXZ6.js.map → chunk-K227GMSM.js.map} +0 -0
- /package/dist/{chunk-KZYQNVXE.js.map → chunk-KB2O7JIJ.js.map} +0 -0
- /package/dist/{chunk-KSDCQPJY.js.map → chunk-KT6GC67G.js.map} +0 -0
- /package/dist/{chunk-PCSRHFRF.js.map → chunk-KTGKGHEA.js.map} +0 -0
- /package/dist/{chunk-NUZNJSL5.js.map → chunk-KU77XHWB.js.map} +0 -0
- /package/dist/{chunk-A36WG3BT.js.map → chunk-KZIRVLCM.js.map} +0 -0
- /package/dist/{chunk-RQAE6DI7.js.map → chunk-L3DUSTRN.js.map} +0 -0
- /package/dist/{chunk-NRAVQJE2.js.map → chunk-L6WVCO6D.js.map} +0 -0
- /package/dist/{chunk-TCDDOFRG.js.map → chunk-L7PCZEEG.js.map} +0 -0
- /package/dist/{chunk-GXYS6BI3.js.map → chunk-LEN2DVU6.js.map} +0 -0
- /package/dist/{chunk-LC5E7CVA.js.map → chunk-LGOQW2CE.js.map} +0 -0
- /package/dist/{chunk-YIR4KVJO.js.map → chunk-LK2JO72Y.js.map} +0 -0
- /package/dist/{chunk-U3GQZEAO.js.map → chunk-LXLHIOJM.js.map} +0 -0
- /package/dist/{chunk-BIQMUTVW.js.map → chunk-LYQQ4VBE.js.map} +0 -0
- /package/dist/{chunk-EW3N5SCT.js.map → chunk-M22ZHQ7S.js.map} +0 -0
- /package/dist/{chunk-VUNGU657.js.map → chunk-M5RKFV6K.js.map} +0 -0
- /package/dist/{chunk-TGG3ODCS.js.map → chunk-MCPKUVMQ.js.map} +0 -0
- /package/dist/{chunk-AP63EUPJ.js.map → chunk-MDGNCUAC.js.map} +0 -0
- /package/dist/{chunk-KYDLVMKA.js.map → chunk-MFLU3466.js.map} +0 -0
- /package/dist/{chunk-ZD67RM6G.js.map → chunk-MIUJ3EH5.js.map} +0 -0
- /package/dist/{chunk-M5FX5KH5.js.map → chunk-MO3XJQN2.js.map} +0 -0
- /package/dist/{chunk-OMYT3X2Y.js.map → chunk-MTHAYXDH.js.map} +0 -0
- /package/dist/{chunk-5ERDSF2C.js.map → chunk-MVYQDBE6.js.map} +0 -0
- /package/dist/{chunk-75LF7LSI.js.map → chunk-NA7VZQPL.js.map} +0 -0
- /package/dist/{chunk-3IEVQMGO.js.map → chunk-ND6FWOSO.js.map} +0 -0
- /package/dist/{chunk-UOBJFO25.js.map → chunk-NIFPH34L.js.map} +0 -0
- /package/dist/{chunk-EJYHPNXD.js.map → chunk-NKYC6WHQ.js.map} +0 -0
- /package/dist/{chunk-4XEPZARK.js.map → chunk-NML7VKLU.js.map} +0 -0
- /package/dist/{chunk-N4TJ7A7I.js.map → chunk-NPAWLKJB.js.map} +0 -0
- /package/dist/{chunk-ZLY7M463.js.map → chunk-NQSKI2YD.js.map} +0 -0
- /package/dist/{chunk-VJAP57SP.js.map → chunk-NXQFBC22.js.map} +0 -0
- /package/dist/{chunk-PBCSPCF6.js.map → chunk-NXRZMHVM.js.map} +0 -0
- /package/dist/{chunk-IHLF7R6Q.js.map → chunk-NYU5DE4K.js.map} +0 -0
- /package/dist/{chunk-NU4HYZ3C.js.map → chunk-O2EEYPIZ.js.map} +0 -0
- /package/dist/{chunk-BRJLN3ZL.js.map → chunk-O4TOEISQ.js.map} +0 -0
- /package/dist/{chunk-MHL727ZE.js.map → chunk-O533L2TG.js.map} +0 -0
- /package/dist/{chunk-QCJ6SNCP.js.map → chunk-ON6ZGJDW.js.map} +0 -0
- /package/dist/{chunk-AJIGRQIO.js.map → chunk-OPELE3Z4.js.map} +0 -0
- /package/dist/{chunk-XSR6J5LY.js.map → chunk-OTSUC6PP.js.map} +0 -0
- /package/dist/{chunk-FPPPLIGK.js.map → chunk-OZNL5OKT.js.map} +0 -0
- /package/dist/{chunk-6GCMLYER.js.map → chunk-P3PDKPLK.js.map} +0 -0
- /package/dist/{chunk-L5JV7MAF.js.map → chunk-PCZBYN2H.js.map} +0 -0
- /package/dist/{chunk-6P3QOMPV.js.map → chunk-PIPXXQFV.js.map} +0 -0
- /package/dist/{chunk-4GFLP4OY.js.map → chunk-PMUZUPPE.js.map} +0 -0
- /package/dist/{chunk-EFD4DD3E.js.map → chunk-PN52EIFV.js.map} +0 -0
- /package/dist/{chunk-LFQI2C46.js.map → chunk-PPQJIVGM.js.map} +0 -0
- /package/dist/{chunk-5ORXRVXV.js.map → chunk-PQYFOTNI.js.map} +0 -0
- /package/dist/{chunk-TYZ3WUKG.js.map → chunk-PUX4YJAW.js.map} +0 -0
- /package/dist/{chunk-UFRXYZCJ.js.map → chunk-PYMQM65Y.js.map} +0 -0
- /package/dist/{chunk-GBGJIR6F.js.map → chunk-Q5UO7GT5.js.map} +0 -0
- /package/dist/{chunk-H4NDK35I.js.map → chunk-QA5UNVHD.js.map} +0 -0
- /package/dist/{chunk-7M5DPUGZ.js.map → chunk-QDZR7FXG.js.map} +0 -0
- /package/dist/{chunk-J4OOKDRV.js.map → chunk-QNOWKKZ4.js.map} +0 -0
- /package/dist/{chunk-QFMPAR74.js.map → chunk-QUXQYYZO.js.map} +0 -0
- /package/dist/{chunk-AU2DT7O2.js.map → chunk-QVOTPOXK.js.map} +0 -0
- /package/dist/{chunk-ZWFLYN7T.js.map → chunk-R2DSOIME.js.map} +0 -0
- /package/dist/{chunk-PCP5GF77.js.map → chunk-RFQQXXJ6.js.map} +0 -0
- /package/dist/{chunk-EQ263DHZ.js.map → chunk-RLWI34XM.js.map} +0 -0
- /package/dist/{chunk-F47X7XPQ.js.map → chunk-RMWCGSEP.js.map} +0 -0
- /package/dist/{chunk-CZPN2HP3.js.map → chunk-ROTEQD2Z.js.map} +0 -0
- /package/dist/{chunk-VCWRMKTQ.js.map → chunk-RPCWZFP7.js.map} +0 -0
- /package/dist/{chunk-UJSXNGKJ.js.map → chunk-RW5QRWVI.js.map} +0 -0
- /package/dist/{chunk-6GYRHQVL.js.map → chunk-RZZHOHL6.js.map} +0 -0
- /package/dist/{chunk-NY5DX43C.js.map → chunk-S5STZCBZ.js.map} +0 -0
- /package/dist/{chunk-KWOYMJKM.js.map → chunk-SD4A5P24.js.map} +0 -0
- /package/dist/{chunk-36YTBVYF.js.map → chunk-SJM4TCWJ.js.map} +0 -0
- /package/dist/{chunk-UHBIXNRW.js.map → chunk-SQYTYXR4.js.map} +0 -0
- /package/dist/{chunk-BY7AWWDB.js.map → chunk-SRDHDIRQ.js.map} +0 -0
- /package/dist/{chunk-OWXSWGP3.js.map → chunk-SVC674IM.js.map} +0 -0
- /package/dist/{chunk-HUTQJY3F.js.map → chunk-SYYFA7W7.js.map} +0 -0
- /package/dist/{chunk-RAUWORZV.js.map → chunk-T2UUHB7V.js.map} +0 -0
- /package/dist/{chunk-YVODOJZG.js.map → chunk-TBOH54QP.js.map} +0 -0
- /package/dist/{chunk-GFMRMSFN.js.map → chunk-TG2GO424.js.map} +0 -0
- /package/dist/{chunk-ZAGLLXX5.js.map → chunk-TOJNLC42.js.map} +0 -0
- /package/dist/{chunk-OSQ6YGZW.js.map → chunk-TW75KM7T.js.map} +0 -0
- /package/dist/{chunk-7CIMPDGL.js.map → chunk-TWWAPJYE.js.map} +0 -0
- /package/dist/{chunk-STTCF3OR.js.map → chunk-UARZCGWU.js.map} +0 -0
- /package/dist/{chunk-F7NV3EL5.js.map → chunk-UCNTAS2U.js.map} +0 -0
- /package/dist/{chunk-XF55A7CC.js.map → chunk-UD7IARSL.js.map} +0 -0
- /package/dist/{chunk-M3WCB73E.js.map → chunk-UDKZKGUQ.js.map} +0 -0
- /package/dist/{chunk-VMJN6YQL.js.map → chunk-UJRSZ6ZB.js.map} +0 -0
- /package/dist/{chunk-236GMLCR.js.map → chunk-UTM23O3G.js.map} +0 -0
- /package/dist/{chunk-3VSKLEUE.js.map → chunk-UUJSS56V.js.map} +0 -0
- /package/dist/{chunk-T3WYQHAO.js.map → chunk-UWSF733U.js.map} +0 -0
- /package/dist/{chunk-I57PYKVN.js.map → chunk-V4ZYJWU3.js.map} +0 -0
- /package/dist/{chunk-FUJ6DWRZ.js.map → chunk-VEIT2EGK.js.map} +0 -0
- /package/dist/{chunk-LH3SDMDC.js.map → chunk-VGG6DOTN.js.map} +0 -0
- /package/dist/{chunk-RG7PMYWW.js.map → chunk-VGSGAQJX.js.map} +0 -0
- /package/dist/{chunk-YGPMLIFT.js.map → chunk-VHK5CBIG.js.map} +0 -0
- /package/dist/{chunk-QTT5574G.js.map → chunk-VLA2DTYG.js.map} +0 -0
- /package/dist/{chunk-GJFTPSGN.js.map → chunk-VSN6XKZ5.js.map} +0 -0
- /package/dist/{chunk-5CGZOJN7.js.map → chunk-VW6TOTDQ.js.map} +0 -0
- /package/dist/{chunk-6MSTIFAL.js.map → chunk-W3HKBWPM.js.map} +0 -0
- /package/dist/{chunk-LQDSZPB5.js.map → chunk-WDYM5SFM.js.map} +0 -0
- /package/dist/{chunk-DLMMQMKZ.js.map → chunk-WJ4AZ2AR.js.map} +0 -0
- /package/dist/{chunk-Y3TQ2M2O.js.map → chunk-WMQHP4E3.js.map} +0 -0
- /package/dist/{chunk-H6DJIEO6.js.map → chunk-WP5A6F6P.js.map} +0 -0
- /package/dist/{chunk-GQF2HWQE.js.map → chunk-WWQH3L6M.js.map} +0 -0
- /package/dist/{chunk-2FLGURHP.js.map → chunk-X3T6ULUZ.js.map} +0 -0
- /package/dist/{chunk-QHGWFKTK.js.map → chunk-XA32OUL4.js.map} +0 -0
- /package/dist/{chunk-2ZC62PY4.js.map → chunk-XCICIQIE.js.map} +0 -0
- /package/dist/{chunk-ADFUTR45.js.map → chunk-XHRIUCBD.js.map} +0 -0
- /package/dist/{chunk-UTFX46TK.js.map → chunk-XJBWVT5X.js.map} +0 -0
- /package/dist/{chunk-SY6V3Z2U.js.map → chunk-XKQRWJFE.js.map} +0 -0
- /package/dist/{chunk-VWEGG7JQ.js.map → chunk-XN3EVUB5.js.map} +0 -0
- /package/dist/{chunk-DGS62JWP.js.map → chunk-XT6GBN2G.js.map} +0 -0
- /package/dist/{chunk-RWWQLVGV.js.map → chunk-XYVDTM4D.js.map} +0 -0
- /package/dist/{chunk-67JCL67N.js.map → chunk-XZO5X3KH.js.map} +0 -0
- /package/dist/{chunk-DCML4SXQ.js.map → chunk-Y34DIEOG.js.map} +0 -0
- /package/dist/{chunk-UJKVMFFF.js.map → chunk-YAIYUFCX.js.map} +0 -0
- /package/dist/{chunk-24S44WBL.js.map → chunk-YFLRBEDS.js.map} +0 -0
- /package/dist/{chunk-RLS563ST.js.map → chunk-YQX227EF.js.map} +0 -0
- /package/dist/{chunk-YNIDJOGT.js.map → chunk-YVAB57JZ.js.map} +0 -0
- /package/dist/{chunk-YN6UVG4Z.js.map → chunk-YWHSODBB.js.map} +0 -0
- /package/dist/{chunk-3NMKLLEB.js.map → chunk-YWJHCJQW.js.map} +0 -0
- /package/dist/{chunk-4YJGB22T.js.map → chunk-Z37DSW2K.js.map} +0 -0
- /package/dist/{chunk-72PGXQDN.js.map → chunk-ZELN2B72.js.map} +0 -0
- /package/dist/{chunk-4YNWA5YG.js.map → chunk-ZFGGR2JW.js.map} +0 -0
- /package/dist/{chunk-O3C4BASC.js.map → chunk-ZL7SEED7.js.map} +0 -0
- /package/dist/{computer-viewer-ZISZUM4L.js.map → computer-viewer-CNYFTUGF.js.map} +0 -0
- /package/dist/{embedded-new-voice-UWSSA7AB.js.map → embedded-new-voice-A56WDECM.js.map} +0 -0
- /package/dist/{embedded-voice-T34K465A.js.map → embedded-voice-CBTSMIWW.js.map} +0 -0
- /package/dist/{fleet-decision-row-REAWMEHI.js.map → fleet-decision-row-6PQTGI2U.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-2CTRKSDJ.js.map → model-policy-picker-menu-ZU72JATS.js.map} +0 -0
- /package/dist/{platform-activity-row-EZYTZPYR.js.map → platform-activity-row-5IQT6R5Z.js.map} +0 -0
- /package/dist/{recorder-host-6HFQQTNI.js.map → recorder-host-G5M676VM.js.map} +0 -0
- /package/dist/{sandbox-files-6JY7WVMO.js.map → sandbox-files-HCXOP6ZO.js.map} +0 -0
- /package/dist/{session-connect-cards-VTSJODCX.js.map → session-connect-cards-MYJRQWSA.js.map} +0 -0
- /package/dist/{session-realtime-G3ZGG3KR.js.map → session-realtime-YFVGQFJK.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-S6DMHCI6.js.map → timeline-annotation-markers-5ELTFV5B.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-UFZOKL5E.js.map → timeline-annotation-selection-XHUOFRIY.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-FPJ4MPHD.js.map → timeline-annotations-dialog-X2VNDYZ4.js.map} +0 -0
|
@@ -0,0 +1,1029 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
defaultThisComputerLabels
|
|
4
|
+
} from "./chunk-PCZBYN2H.js";
|
|
5
|
+
import {
|
|
6
|
+
ModalLayer
|
|
7
|
+
} from "./chunk-NGTCSS53.js";
|
|
8
|
+
import {
|
|
9
|
+
usePortalTokenStyle
|
|
10
|
+
} from "./chunk-XEA5BCMA.js";
|
|
11
|
+
import {
|
|
12
|
+
useOpenGeniText
|
|
13
|
+
} from "./chunk-CRHH5C6Z.js";
|
|
14
|
+
|
|
15
|
+
// src/this-computer.ts
|
|
16
|
+
import {
|
|
17
|
+
ENGLISH_MAC_SYSTEM_NAMES,
|
|
18
|
+
macSystemNames as macSystemNames2,
|
|
19
|
+
nextMissingPermission as nextMissingPermission2,
|
|
20
|
+
thisComputerNeedsPermissions as thisComputerNeedsPermissions3,
|
|
21
|
+
thisComputerPermissionSteps as thisComputerPermissionSteps3,
|
|
22
|
+
thisComputerReady as thisComputerReady3,
|
|
23
|
+
THIS_COMPUTER_PERMISSION_ORDER
|
|
24
|
+
} from "@opengeni/sdk/this-computer";
|
|
25
|
+
|
|
26
|
+
// src/components/this-computer/use-this-computer.ts
|
|
27
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
28
|
+
import {
|
|
29
|
+
thisComputerNeedsPermissions,
|
|
30
|
+
thisComputerPermissionSteps
|
|
31
|
+
} from "@opengeni/sdk/this-computer";
|
|
32
|
+
function hostErrorText(caught) {
|
|
33
|
+
if (!(caught instanceof Error) || !caught.message) return null;
|
|
34
|
+
return caught.message.replace(/^Error invoking remote method '[^']+': (?:\w*Error: )?/u, "");
|
|
35
|
+
}
|
|
36
|
+
function useThisComputer(host, workspaceId, options = {}) {
|
|
37
|
+
const [status, setStatus] = useState(null);
|
|
38
|
+
const [acting, setActing] = useState(false);
|
|
39
|
+
const [actionError, setActionError] = useState(null);
|
|
40
|
+
const [pending, setPending] = useState(null);
|
|
41
|
+
const [asking, setAsking] = useState(null);
|
|
42
|
+
const askingRef = useRef(null);
|
|
43
|
+
const askQuietMs = options.askQuietMs ?? ASK_QUIET_MS;
|
|
44
|
+
const turnOnLimitMs = options.turnOnLimitMs ?? TURN_ON_LIMIT_MS;
|
|
45
|
+
const [stalled, setStalled] = useState(false);
|
|
46
|
+
const [attempt, setAttempt] = useState(0);
|
|
47
|
+
const live = useRef(true);
|
|
48
|
+
const stopAsking = useCallback(() => {
|
|
49
|
+
for (const timer of askingRef.current?.timers ?? []) window.clearTimeout(timer);
|
|
50
|
+
askingRef.current = null;
|
|
51
|
+
setAsking(null);
|
|
52
|
+
}, []);
|
|
53
|
+
const statusRef = useRef(status);
|
|
54
|
+
statusRef.current = status;
|
|
55
|
+
const askNextRef = useRef(() => void 0);
|
|
56
|
+
const generation = useRef(0);
|
|
57
|
+
const actionInFlight = useRef(false);
|
|
58
|
+
const reading = useRef(null);
|
|
59
|
+
const refresh = useCallback(() => {
|
|
60
|
+
if (!host) return;
|
|
61
|
+
const inFlight = reading.current;
|
|
62
|
+
if (inFlight && inFlight.generation === generation.current) {
|
|
63
|
+
inFlight.again = true;
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const mine = { generation: generation.current, again: false };
|
|
67
|
+
reading.current = mine;
|
|
68
|
+
void host.status(workspaceId).then((next) => {
|
|
69
|
+
if (!live.current || mine.generation !== generation.current) return;
|
|
70
|
+
setStatus((current) => sameStatus(current, next));
|
|
71
|
+
askNextRef.current(next);
|
|
72
|
+
}).catch(() => void 0).finally(() => {
|
|
73
|
+
if (reading.current !== mine) return;
|
|
74
|
+
reading.current = null;
|
|
75
|
+
if (mine.again && live.current) refreshRef.current();
|
|
76
|
+
});
|
|
77
|
+
}, [host, workspaceId]);
|
|
78
|
+
const refreshRef = useRef(refresh);
|
|
79
|
+
refreshRef.current = refresh;
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
live.current = true;
|
|
82
|
+
generation.current += 1;
|
|
83
|
+
setStatus(null);
|
|
84
|
+
setActionError(null);
|
|
85
|
+
stopAsking();
|
|
86
|
+
refresh();
|
|
87
|
+
if (!host) return;
|
|
88
|
+
const unsubscribe = host.onChange(refresh);
|
|
89
|
+
const onFocus = () => {
|
|
90
|
+
const current = askingRef.current;
|
|
91
|
+
if (current && Date.now() - current.at > RETURN_GRACE_MS) current.returned = true;
|
|
92
|
+
refresh();
|
|
93
|
+
};
|
|
94
|
+
window.addEventListener("focus", onFocus);
|
|
95
|
+
return () => {
|
|
96
|
+
live.current = false;
|
|
97
|
+
stopAsking();
|
|
98
|
+
unsubscribe();
|
|
99
|
+
window.removeEventListener("focus", onFocus);
|
|
100
|
+
};
|
|
101
|
+
}, [host, refresh, stopAsking]);
|
|
102
|
+
const pollMs = options.pollMs ?? (status?.management === "service" && status.state !== "not_connected" ? 5e3 : void 0);
|
|
103
|
+
useEffect(() => {
|
|
104
|
+
if (!host || !pollMs) return;
|
|
105
|
+
const timer = window.setInterval(refresh, pollMs);
|
|
106
|
+
return () => window.clearInterval(timer);
|
|
107
|
+
}, [host, pollMs, refresh]);
|
|
108
|
+
const waiting = status?.state === "connected" && status.reconnecting === true && !status.error && // Asking for a permission, or waiting on one, is the person's step, not a stall.
|
|
109
|
+
asking === null && !thisComputerNeedsPermissions(status) && pending === null && !acting;
|
|
110
|
+
useEffect(() => {
|
|
111
|
+
if (!waiting) {
|
|
112
|
+
setStalled(false);
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
const timer = window.setTimeout(() => setStalled(true), turnOnLimitMs);
|
|
116
|
+
return () => window.clearTimeout(timer);
|
|
117
|
+
}, [waiting, turnOnLimitMs, attempt]);
|
|
118
|
+
const stalledRef = useRef(stalled);
|
|
119
|
+
stalledRef.current = stalled;
|
|
120
|
+
const act = useCallback(async (action) => {
|
|
121
|
+
if (actionInFlight.current) return null;
|
|
122
|
+
actionInFlight.current = true;
|
|
123
|
+
const mine = generation.current;
|
|
124
|
+
setActing(true);
|
|
125
|
+
setActionError(null);
|
|
126
|
+
setStalled(false);
|
|
127
|
+
setAttempt((count) => count + 1);
|
|
128
|
+
try {
|
|
129
|
+
const result = await action();
|
|
130
|
+
return live.current && mine === generation.current ? result : null;
|
|
131
|
+
} catch (caught) {
|
|
132
|
+
if (live.current && mine === generation.current) setActionError(hostErrorText(caught) ?? "");
|
|
133
|
+
return null;
|
|
134
|
+
} finally {
|
|
135
|
+
actionInFlight.current = false;
|
|
136
|
+
if (live.current) setActing(false);
|
|
137
|
+
refreshRef.current();
|
|
138
|
+
}
|
|
139
|
+
}, []);
|
|
140
|
+
const ask = useCallback(
|
|
141
|
+
(id) => {
|
|
142
|
+
if (!host?.requestPermission) return;
|
|
143
|
+
for (const timer of askingRef.current?.timers ?? []) window.clearTimeout(timer);
|
|
144
|
+
const entry = { id, at: Date.now(), returned: false, timers: [] };
|
|
145
|
+
askingRef.current = entry;
|
|
146
|
+
setAsking(id);
|
|
147
|
+
const mine = generation.current;
|
|
148
|
+
const stillHere = () => {
|
|
149
|
+
if (askingRef.current !== entry || !live.current) return;
|
|
150
|
+
if (typeof document.hasFocus !== "function" || document.hasFocus()) {
|
|
151
|
+
entry.returned = true;
|
|
152
|
+
refreshRef.current();
|
|
153
|
+
} else entry.timers.push(window.setTimeout(stillHere, askQuietMs));
|
|
154
|
+
};
|
|
155
|
+
entry.timers.push(
|
|
156
|
+
window.setTimeout(() => {
|
|
157
|
+
if (askingRef.current !== entry || !live.current) return;
|
|
158
|
+
entry.returned = true;
|
|
159
|
+
refreshRef.current();
|
|
160
|
+
}, ASK_LIMIT_MS)
|
|
161
|
+
);
|
|
162
|
+
void host.requestPermission(id).catch(() => void 0).finally(() => {
|
|
163
|
+
if (!live.current || mine !== generation.current) return;
|
|
164
|
+
refreshRef.current();
|
|
165
|
+
if (askingRef.current === entry)
|
|
166
|
+
entry.timers.push(window.setTimeout(stillHere, askQuietMs));
|
|
167
|
+
});
|
|
168
|
+
},
|
|
169
|
+
[askQuietMs, host]
|
|
170
|
+
);
|
|
171
|
+
const askNext = useCallback(
|
|
172
|
+
(next) => {
|
|
173
|
+
const current = askingRef.current;
|
|
174
|
+
if (!current) return;
|
|
175
|
+
const missing = missingStep(next);
|
|
176
|
+
if (missing !== null && missing !== current.id) return ask(missing);
|
|
177
|
+
if (missing === null || current.returned) stopAsking();
|
|
178
|
+
},
|
|
179
|
+
[ask, stopAsking]
|
|
180
|
+
);
|
|
181
|
+
askNextRef.current = askNext;
|
|
182
|
+
const allowPermissions = useCallback(
|
|
183
|
+
(next) => {
|
|
184
|
+
const missing = missingStep(next ?? statusRef.current);
|
|
185
|
+
if (missing !== null) ask(missing);
|
|
186
|
+
},
|
|
187
|
+
[ask]
|
|
188
|
+
);
|
|
189
|
+
const connect = useCallback(
|
|
190
|
+
async (connectOptions) => {
|
|
191
|
+
if (!host) return null;
|
|
192
|
+
const next = await act(() => host.connect(workspaceId, connectOptions));
|
|
193
|
+
if (next && live.current) setStatus((current) => sameStatus(current, next));
|
|
194
|
+
return next;
|
|
195
|
+
},
|
|
196
|
+
[act, host, workspaceId]
|
|
197
|
+
);
|
|
198
|
+
const pause = useCallback(async () => {
|
|
199
|
+
if (host) await act(() => host.pause());
|
|
200
|
+
}, [act, host]);
|
|
201
|
+
const resume = useCallback(async () => {
|
|
202
|
+
if (!host) return;
|
|
203
|
+
const next = await act(async () => {
|
|
204
|
+
await host.resume();
|
|
205
|
+
return await host.status(workspaceId).catch(() => null);
|
|
206
|
+
});
|
|
207
|
+
if (next && live.current) setStatus((current) => sameStatus(current, next));
|
|
208
|
+
}, [act, host, workspaceId]);
|
|
209
|
+
const disconnect = useCallback(async () => {
|
|
210
|
+
if (host?.disconnect) await act(() => host.disconnect(workspaceId));
|
|
211
|
+
}, [act, host, workspaceId]);
|
|
212
|
+
const turnOn = useCallback(async () => {
|
|
213
|
+
if (!host || actionInFlight.current) return null;
|
|
214
|
+
const wasStalled = stalledRef.current;
|
|
215
|
+
setPending("on");
|
|
216
|
+
try {
|
|
217
|
+
const next = await act(async () => {
|
|
218
|
+
let current = await host.status(workspaceId);
|
|
219
|
+
if (current.state === "connected" && current.errorCode === "reconnect_required") {
|
|
220
|
+
return await host.connect(workspaceId, { screenControl: true });
|
|
221
|
+
}
|
|
222
|
+
if (current.state === "paused" || current.state === "connected" && (current.error || current.reconnecting && wasStalled)) {
|
|
223
|
+
await host.resume();
|
|
224
|
+
current = await host.status(workspaceId);
|
|
225
|
+
}
|
|
226
|
+
if (current.state !== "not_connected" && current.state !== "not_installed") return current;
|
|
227
|
+
return await host.connect(workspaceId, { screenControl: true });
|
|
228
|
+
});
|
|
229
|
+
if (next && live.current) {
|
|
230
|
+
setStatus((current) => sameStatus(current, next));
|
|
231
|
+
const missing = missingStep(next);
|
|
232
|
+
if (missing !== null) ask(missing);
|
|
233
|
+
}
|
|
234
|
+
return next;
|
|
235
|
+
} finally {
|
|
236
|
+
if (live.current) setPending(null);
|
|
237
|
+
}
|
|
238
|
+
}, [act, ask, host, workspaceId]);
|
|
239
|
+
const turnOff = useCallback(async () => {
|
|
240
|
+
if (!host || actionInFlight.current) return;
|
|
241
|
+
stopAsking();
|
|
242
|
+
setPending("off");
|
|
243
|
+
try {
|
|
244
|
+
const next = await act(async () => {
|
|
245
|
+
await host.pause();
|
|
246
|
+
return await host.status(workspaceId).catch(() => null);
|
|
247
|
+
});
|
|
248
|
+
if (next && live.current) setStatus((current) => sameStatus(current, next));
|
|
249
|
+
} finally {
|
|
250
|
+
if (live.current) setPending(null);
|
|
251
|
+
}
|
|
252
|
+
}, [act, host, stopAsking, workspaceId]);
|
|
253
|
+
const requestPermission = useCallback(
|
|
254
|
+
async (id) => {
|
|
255
|
+
if (!host?.requestPermission) return;
|
|
256
|
+
await host.requestPermission(id).catch(() => void 0);
|
|
257
|
+
refresh();
|
|
258
|
+
},
|
|
259
|
+
[host, refresh]
|
|
260
|
+
);
|
|
261
|
+
const canDisconnect = Boolean(host?.disconnect);
|
|
262
|
+
return useMemo(
|
|
263
|
+
() => ({
|
|
264
|
+
status,
|
|
265
|
+
acting,
|
|
266
|
+
actionError,
|
|
267
|
+
canDisconnect,
|
|
268
|
+
pending,
|
|
269
|
+
asking,
|
|
270
|
+
stalled,
|
|
271
|
+
refresh,
|
|
272
|
+
connect,
|
|
273
|
+
pause,
|
|
274
|
+
resume,
|
|
275
|
+
disconnect,
|
|
276
|
+
turnOn,
|
|
277
|
+
turnOff,
|
|
278
|
+
allowPermissions,
|
|
279
|
+
requestPermission
|
|
280
|
+
}),
|
|
281
|
+
[
|
|
282
|
+
status,
|
|
283
|
+
acting,
|
|
284
|
+
actionError,
|
|
285
|
+
canDisconnect,
|
|
286
|
+
pending,
|
|
287
|
+
asking,
|
|
288
|
+
stalled,
|
|
289
|
+
refresh,
|
|
290
|
+
connect,
|
|
291
|
+
pause,
|
|
292
|
+
resume,
|
|
293
|
+
disconnect,
|
|
294
|
+
turnOn,
|
|
295
|
+
turnOff,
|
|
296
|
+
allowPermissions,
|
|
297
|
+
requestPermission
|
|
298
|
+
]
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
var RETURN_GRACE_MS = 1500;
|
|
302
|
+
var ASK_QUIET_MS = 8e3;
|
|
303
|
+
var TURN_ON_LIMIT_MS = 6e4;
|
|
304
|
+
var ASK_LIMIT_MS = 10 * 6e4;
|
|
305
|
+
function missingStep(status) {
|
|
306
|
+
if (status?.state !== "connected") return null;
|
|
307
|
+
return thisComputerPermissionSteps(status).find((step) => !step.granted)?.id ?? null;
|
|
308
|
+
}
|
|
309
|
+
function sameStatus(current, next) {
|
|
310
|
+
return current && JSON.stringify(current) === JSON.stringify(next) ? current : next;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// src/components/this-computer/this-computer-setup.tsx
|
|
314
|
+
import {
|
|
315
|
+
macSystemNames,
|
|
316
|
+
nextMissingPermission,
|
|
317
|
+
thisComputerNeedsPermissions as thisComputerNeedsPermissions2,
|
|
318
|
+
thisComputerPermissionSteps as thisComputerPermissionSteps2,
|
|
319
|
+
thisComputerReady
|
|
320
|
+
} from "@opengeni/sdk/this-computer";
|
|
321
|
+
import { CheckIcon, XIcon } from "lucide-react";
|
|
322
|
+
import { Dialog } from "radix-ui";
|
|
323
|
+
import { useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
|
|
324
|
+
|
|
325
|
+
// src/components/this-computer/illustrations.tsx
|
|
326
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
327
|
+
function AppIcon({
|
|
328
|
+
src,
|
|
329
|
+
name,
|
|
330
|
+
size = 22
|
|
331
|
+
}) {
|
|
332
|
+
return src ? /* @__PURE__ */ jsx("img", { className: "og-tc-app-icon", src, alt: "", width: size, height: size }) : /* @__PURE__ */ jsx("span", { className: "og-tc-app-icon og-tc-app-icon-fallback", style: { width: size, height: size }, children: name.trim().charAt(0).toUpperCase() });
|
|
333
|
+
}
|
|
334
|
+
function ComputerIllustration({ mark }) {
|
|
335
|
+
return /* @__PURE__ */ jsxs("div", { className: "og-tc-art og-tc-art-computer", "aria-hidden": true, children: [
|
|
336
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 220 120", className: "og-tc-art-svg", children: [
|
|
337
|
+
/* @__PURE__ */ jsx("rect", { className: "og-tc-art-screen", x: "30", y: "8", width: "160", height: "98", rx: "9" }),
|
|
338
|
+
/* @__PURE__ */ jsx("rect", { className: "og-tc-art-window", x: "46", y: "22", width: "128", height: "70", rx: "6" }),
|
|
339
|
+
/* @__PURE__ */ jsx("circle", { className: "og-tc-art-dot", cx: "56", cy: "31", r: "2.6" }),
|
|
340
|
+
/* @__PURE__ */ jsx("circle", { className: "og-tc-art-dot", cx: "64", cy: "31", r: "2.6" }),
|
|
341
|
+
/* @__PURE__ */ jsx("circle", { className: "og-tc-art-dot", cx: "72", cy: "31", r: "2.6" }),
|
|
342
|
+
/* @__PURE__ */ jsx("rect", { className: "og-tc-art-line", x: "56", y: "44", width: "78", height: "6", rx: "3" }),
|
|
343
|
+
/* @__PURE__ */ jsx(
|
|
344
|
+
"rect",
|
|
345
|
+
{
|
|
346
|
+
className: "og-tc-art-line og-tc-art-line-soft",
|
|
347
|
+
x: "56",
|
|
348
|
+
y: "56",
|
|
349
|
+
width: "104",
|
|
350
|
+
height: "6",
|
|
351
|
+
rx: "3"
|
|
352
|
+
}
|
|
353
|
+
),
|
|
354
|
+
/* @__PURE__ */ jsx(
|
|
355
|
+
"rect",
|
|
356
|
+
{
|
|
357
|
+
className: "og-tc-art-line og-tc-art-line-soft",
|
|
358
|
+
x: "56",
|
|
359
|
+
y: "68",
|
|
360
|
+
width: "62",
|
|
361
|
+
height: "6",
|
|
362
|
+
rx: "3"
|
|
363
|
+
}
|
|
364
|
+
),
|
|
365
|
+
/* @__PURE__ */ jsx("rect", { className: "og-tc-art-button", x: "128", y: "72", width: "36", height: "13", rx: "4" }),
|
|
366
|
+
/* @__PURE__ */ jsx("rect", { className: "og-tc-art-stand", x: "96", y: "106", width: "28", height: "7", rx: "2" }),
|
|
367
|
+
/* @__PURE__ */ jsx("g", { className: "og-tc-art-pointer", children: /* @__PURE__ */ jsx("path", { d: "M0 0l11 7.5-5 1.2-2.6 4.6z" }) })
|
|
368
|
+
] }),
|
|
369
|
+
mark ? /* @__PURE__ */ jsx("span", { className: "og-tc-art-mark", children: mark }) : null
|
|
370
|
+
] });
|
|
371
|
+
}
|
|
372
|
+
function SettingsRowIllustration({
|
|
373
|
+
listName,
|
|
374
|
+
appName,
|
|
375
|
+
appIcon,
|
|
376
|
+
allowed
|
|
377
|
+
}) {
|
|
378
|
+
return /* @__PURE__ */ jsx(
|
|
379
|
+
"div",
|
|
380
|
+
{
|
|
381
|
+
className: "og-tc-art og-tc-art-settings",
|
|
382
|
+
"data-allowed": allowed ? "" : void 0,
|
|
383
|
+
"aria-hidden": true,
|
|
384
|
+
children: /* @__PURE__ */ jsxs("div", { className: "og-tc-settings-window", children: [
|
|
385
|
+
/* @__PURE__ */ jsxs("div", { className: "og-tc-settings-bar", children: [
|
|
386
|
+
/* @__PURE__ */ jsx("span", {}),
|
|
387
|
+
/* @__PURE__ */ jsx("span", {}),
|
|
388
|
+
/* @__PURE__ */ jsx("span", {}),
|
|
389
|
+
/* @__PURE__ */ jsx("b", { children: listName })
|
|
390
|
+
] }),
|
|
391
|
+
/* @__PURE__ */ jsxs("div", { className: "og-tc-settings-row og-tc-settings-row-ghost", children: [
|
|
392
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-app-icon og-tc-app-icon-ghost" }),
|
|
393
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-settings-ghost-name" }),
|
|
394
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-switch", "data-on": "" })
|
|
395
|
+
] }),
|
|
396
|
+
/* @__PURE__ */ jsxs("div", { className: "og-tc-settings-row og-tc-settings-row-target", children: [
|
|
397
|
+
/* @__PURE__ */ jsx(AppIcon, { src: appIcon ?? null, name: appName, size: 20 }),
|
|
398
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-settings-name", children: appName }),
|
|
399
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-switch og-tc-switch-target", "data-on": allowed ? "" : void 0 }),
|
|
400
|
+
/* @__PURE__ */ jsx("svg", { className: "og-tc-settings-pointer", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M2 1l11 7-5 1-2.5 4.5z" }) })
|
|
401
|
+
] })
|
|
402
|
+
] })
|
|
403
|
+
}
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
function FolderPromptIllustration({
|
|
407
|
+
message,
|
|
408
|
+
allow,
|
|
409
|
+
dontAllow,
|
|
410
|
+
appIcon,
|
|
411
|
+
appName,
|
|
412
|
+
allowed
|
|
413
|
+
}) {
|
|
414
|
+
return /* @__PURE__ */ jsx("div", { className: "og-tc-art og-tc-art-prompt", "data-allowed": allowed ? "" : void 0, "aria-hidden": true, children: /* @__PURE__ */ jsxs("div", { className: "og-tc-prompt-window", children: [
|
|
415
|
+
/* @__PURE__ */ jsxs("span", { className: "og-tc-prompt-icon", children: [
|
|
416
|
+
/* @__PURE__ */ jsx("svg", { viewBox: "0 0 40 32", className: "og-tc-prompt-folder", children: /* @__PURE__ */ jsx("path", { d: "M2 6a3 3 0 0 1 3-3h10l4 4h16a3 3 0 0 1 3 3v17a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3z" }) }),
|
|
417
|
+
/* @__PURE__ */ jsx("span", { className: "og-tc-prompt-badge", children: /* @__PURE__ */ jsx(AppIcon, { src: appIcon ?? null, name: appName, size: 16 }) })
|
|
418
|
+
] }),
|
|
419
|
+
/* @__PURE__ */ jsx("p", { className: "og-tc-prompt-message", children: message }),
|
|
420
|
+
/* @__PURE__ */ jsxs("div", { className: "og-tc-prompt-buttons", children: [
|
|
421
|
+
/* @__PURE__ */ jsx("span", { children: dontAllow }),
|
|
422
|
+
/* @__PURE__ */ jsxs("span", { className: "og-tc-prompt-allow", children: [
|
|
423
|
+
allow,
|
|
424
|
+
/* @__PURE__ */ jsx("svg", { className: "og-tc-settings-pointer", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M2 1l11 7-5 1-2.5 4.5z" }) })
|
|
425
|
+
] })
|
|
426
|
+
] })
|
|
427
|
+
] }) });
|
|
428
|
+
}
|
|
429
|
+
function DoneIllustration() {
|
|
430
|
+
return /* @__PURE__ */ jsx("div", { className: "og-tc-art og-tc-art-done", "aria-hidden": true, children: /* @__PURE__ */ jsxs("svg", { viewBox: "0 0 64 64", className: "og-tc-done-check", children: [
|
|
431
|
+
/* @__PURE__ */ jsx("circle", { cx: "32", cy: "32", r: "30" }),
|
|
432
|
+
/* @__PURE__ */ jsx("path", { d: "M19 33l9 9 18-20" })
|
|
433
|
+
] }) });
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
// src/components/this-computer/this-computer-setup.tsx
|
|
437
|
+
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
438
|
+
var ALLOWED_PAUSE_MS = 1100;
|
|
439
|
+
var PERMISSION_POLL_MS = 1e3;
|
|
440
|
+
var FOLDER_SETTLE_MS = 700;
|
|
441
|
+
function useThisComputerSetupOpen(computer) {
|
|
442
|
+
const [open, setOpen] = useState2(false);
|
|
443
|
+
const reopened = useRef2(false);
|
|
444
|
+
const pending = computer.status?.setupPending === true;
|
|
445
|
+
useEffect2(() => {
|
|
446
|
+
if (!pending || reopened.current) return;
|
|
447
|
+
reopened.current = true;
|
|
448
|
+
setOpen(true);
|
|
449
|
+
}, [pending]);
|
|
450
|
+
return [open, setOpen];
|
|
451
|
+
}
|
|
452
|
+
function ThisComputerSetup({
|
|
453
|
+
open,
|
|
454
|
+
onOpenChange,
|
|
455
|
+
computer,
|
|
456
|
+
platform,
|
|
457
|
+
productName: desktopProductName,
|
|
458
|
+
appIcon: desktopAppIcon,
|
|
459
|
+
agentMark,
|
|
460
|
+
labels: given,
|
|
461
|
+
container,
|
|
462
|
+
onReady
|
|
463
|
+
}) {
|
|
464
|
+
const catalogText = useOpenGeniText();
|
|
465
|
+
const labels = given ?? defaultThisComputerLabels(catalogText);
|
|
466
|
+
const { status } = computer;
|
|
467
|
+
const serviceBacked = status?.management === "service";
|
|
468
|
+
const productName = status?.permissionAppName ?? desktopProductName;
|
|
469
|
+
const appIcon = serviceBacked ? null : desktopAppIcon;
|
|
470
|
+
const ready = thisComputerReady(status) && !status?.reconnecting;
|
|
471
|
+
const [phase, setPhase] = useState2("intro");
|
|
472
|
+
const [failure, setFailure] = useState2(null);
|
|
473
|
+
const [requested, setRequested] = useState2(null);
|
|
474
|
+
const [justAllowed, setJustAllowed] = useState2(null);
|
|
475
|
+
const [folderAsk, setFolderAsk] = useState2("idle");
|
|
476
|
+
const anchor = useRef2(null);
|
|
477
|
+
const portalStyle = usePortalTokenStyle(anchor.current);
|
|
478
|
+
const wasOpen = useRef2(false);
|
|
479
|
+
const permissions = thisComputerPermissionSteps2(status);
|
|
480
|
+
const permissionsKnown = permissions.length > 0;
|
|
481
|
+
useEffect2(() => {
|
|
482
|
+
if (open && !wasOpen.current) {
|
|
483
|
+
setFailure(null);
|
|
484
|
+
setRequested(null);
|
|
485
|
+
setJustAllowed(null);
|
|
486
|
+
setFolderAsk("idle");
|
|
487
|
+
setPhase(
|
|
488
|
+
thisComputerNeedsPermissions2(status) ? "permissions" : ready ? "done" : status?.busy ? "working" : "intro"
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
wasOpen.current = open;
|
|
492
|
+
}, [open, status, ready]);
|
|
493
|
+
const { acting } = computer;
|
|
494
|
+
const readingBeforeTurnOn = useRef2(void 0);
|
|
495
|
+
useEffect2(() => {
|
|
496
|
+
if (!open || !status || status.busy || acting) return;
|
|
497
|
+
if (status === readingBeforeTurnOn.current) return;
|
|
498
|
+
const waiting = phase === "working" || phase === "permissions" && !permissionsKnown;
|
|
499
|
+
if (waiting || phase === "done") {
|
|
500
|
+
if (thisComputerNeedsPermissions2(status)) setPhase("permissions");
|
|
501
|
+
else if (ready) setPhase("done");
|
|
502
|
+
else if (status.state === "connected") setPhase("working");
|
|
503
|
+
else if (status.state === "not_connected" || status.state === "not_installed") {
|
|
504
|
+
setFailure(
|
|
505
|
+
status.errorCode !== "removed" && (status.error || status.errorCode) ? labels.error(status.errorCode ?? null, status.error) : null
|
|
506
|
+
);
|
|
507
|
+
setPhase("intro");
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}, [open, phase, status, ready, acting, permissionsKnown, labels]);
|
|
511
|
+
const { refresh } = computer;
|
|
512
|
+
useEffect2(() => {
|
|
513
|
+
if (!open || phase !== "permissions") return;
|
|
514
|
+
const timer = window.setInterval(refresh, PERMISSION_POLL_MS);
|
|
515
|
+
return () => window.clearInterval(timer);
|
|
516
|
+
}, [open, phase, refresh]);
|
|
517
|
+
const missing = nextMissingPermission(status);
|
|
518
|
+
const current = justAllowed ?? missing;
|
|
519
|
+
const shownRef = useRef2(null);
|
|
520
|
+
useEffect2(() => {
|
|
521
|
+
if (phase !== "permissions") {
|
|
522
|
+
shownRef.current = null;
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
const shown = shownRef.current;
|
|
526
|
+
if (justAllowed === null && shown !== null && status?.permissions?.some((permission) => permission.id === shown && permission.granted)) {
|
|
527
|
+
setJustAllowed(shown);
|
|
528
|
+
setRequested(null);
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
if (justAllowed === null && permissionsKnown) shownRef.current = missing;
|
|
532
|
+
}, [phase, missing, justAllowed, status, permissionsKnown]);
|
|
533
|
+
useEffect2(() => {
|
|
534
|
+
if (justAllowed === null) return;
|
|
535
|
+
const timer = window.setTimeout(() => {
|
|
536
|
+
shownRef.current = missing;
|
|
537
|
+
setJustAllowed(null);
|
|
538
|
+
if (missing === null && permissionsKnown && ready) setPhase("done");
|
|
539
|
+
}, ALLOWED_PAUSE_MS);
|
|
540
|
+
return () => window.clearTimeout(timer);
|
|
541
|
+
}, [justAllowed, missing, permissionsKnown, ready]);
|
|
542
|
+
useEffect2(() => {
|
|
543
|
+
if (phase === "permissions" && missing === null && justAllowed === null && status) {
|
|
544
|
+
if (status.state === "connected" && !status.reconnecting && permissionsKnown)
|
|
545
|
+
setPhase("done");
|
|
546
|
+
}
|
|
547
|
+
}, [phase, missing, justAllowed, status, permissionsKnown]);
|
|
548
|
+
const readyNotified = useRef2(false);
|
|
549
|
+
useEffect2(() => {
|
|
550
|
+
if (phase === "done" && open && !readyNotified.current) {
|
|
551
|
+
readyNotified.current = true;
|
|
552
|
+
onReady?.();
|
|
553
|
+
}
|
|
554
|
+
if (phase !== "done") readyNotified.current = false;
|
|
555
|
+
}, [phase, open, onReady]);
|
|
556
|
+
async function turnOn() {
|
|
557
|
+
readingBeforeTurnOn.current = status;
|
|
558
|
+
setFailure(null);
|
|
559
|
+
setPhase("working");
|
|
560
|
+
const next = await computer.turnOn();
|
|
561
|
+
if (!next || next.state !== "connected") {
|
|
562
|
+
setFailure(
|
|
563
|
+
labels.error(next?.errorCode ?? null, next?.error ?? computer.actionError ?? null)
|
|
564
|
+
);
|
|
565
|
+
setPhase("intro");
|
|
566
|
+
return;
|
|
567
|
+
}
|
|
568
|
+
setPhase(
|
|
569
|
+
thisComputerNeedsPermissions2(next) ? "permissions" : next.reconnecting ? "working" : "done"
|
|
570
|
+
);
|
|
571
|
+
}
|
|
572
|
+
const machineName = status?.machineName ?? "";
|
|
573
|
+
const close = () => onOpenChange(false);
|
|
574
|
+
const busyConnecting = phase === "working";
|
|
575
|
+
const closable = phase !== "working" || !acting && !status?.busy;
|
|
576
|
+
let lead = null;
|
|
577
|
+
let body = null;
|
|
578
|
+
let title;
|
|
579
|
+
let description;
|
|
580
|
+
let footer;
|
|
581
|
+
if (phase === "done") {
|
|
582
|
+
title = labels.doneTitle;
|
|
583
|
+
description = labels.done(machineName, platform);
|
|
584
|
+
lead = /* @__PURE__ */ jsx2(DoneIllustration, {});
|
|
585
|
+
body = labels.tryThis ? /* @__PURE__ */ jsx2("p", { className: "og-tc-try", children: labels.tryThis }) : null;
|
|
586
|
+
footer = /* @__PURE__ */ jsx2("button", { type: "button", className: "og-tc-button og-tc-primary og-tc-wide", onClick: close, children: labels.close });
|
|
587
|
+
} else if (phase === "permissions" && current && permissionsKnown) {
|
|
588
|
+
const index = Math.max(
|
|
589
|
+
0,
|
|
590
|
+
permissions.findIndex((permission) => permission.id === current)
|
|
591
|
+
);
|
|
592
|
+
const step = labels.permission(current, productName);
|
|
593
|
+
const system = computer.status?.systemNames ?? macSystemNames(typeof navigator === "undefined" ? [] : navigator.languages);
|
|
594
|
+
const allowed = justAllowed === current;
|
|
595
|
+
const waiting = requested === current && !allowed;
|
|
596
|
+
const folders = current === "files";
|
|
597
|
+
const refused = folders && folderAsk === "asked" && !allowed;
|
|
598
|
+
title = step.title;
|
|
599
|
+
description = step.why;
|
|
600
|
+
lead = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
601
|
+
/* @__PURE__ */ jsx2("ol", { className: "og-tc-steps", "aria-label": labels.stepOf(index + 1, permissions.length), children: permissions.map((permission, position) => /* @__PURE__ */ jsx2(
|
|
602
|
+
"li",
|
|
603
|
+
{
|
|
604
|
+
"data-state": permission.granted || permission.id === justAllowed ? "done" : position === index ? "current" : "todo"
|
|
605
|
+
},
|
|
606
|
+
permission.id
|
|
607
|
+
)) }),
|
|
608
|
+
/* @__PURE__ */ jsx2("p", { className: "og-tc-step-count", children: labels.stepOf(index + 1, permissions.length) })
|
|
609
|
+
] });
|
|
610
|
+
body = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
611
|
+
folders && !refused ? /* @__PURE__ */ jsx2(
|
|
612
|
+
FolderPromptIllustration,
|
|
613
|
+
{
|
|
614
|
+
message: system.folderQuestion.replace("{app}", productName),
|
|
615
|
+
allow: system.allow,
|
|
616
|
+
dontAllow: system.dontAllow,
|
|
617
|
+
appName: productName,
|
|
618
|
+
appIcon: appIcon ?? null,
|
|
619
|
+
allowed
|
|
620
|
+
}
|
|
621
|
+
) : /* @__PURE__ */ jsx2(
|
|
622
|
+
SettingsRowIllustration,
|
|
623
|
+
{
|
|
624
|
+
listName: computer.status?.systemNames?.permissionList[current] ?? step.listName,
|
|
625
|
+
appName: productName,
|
|
626
|
+
appIcon: appIcon ?? null,
|
|
627
|
+
allowed
|
|
628
|
+
},
|
|
629
|
+
current
|
|
630
|
+
),
|
|
631
|
+
/* @__PURE__ */ jsx2("div", { className: "og-tc-step-state", role: "status", "aria-live": "polite", children: allowed ? /* @__PURE__ */ jsxs2("span", { className: "og-tc-allowed", children: [
|
|
632
|
+
/* @__PURE__ */ jsx2(CheckIcon, { "aria-hidden": true }),
|
|
633
|
+
labels.allowed
|
|
634
|
+
] }) : refused ? /* @__PURE__ */ jsx2("span", { className: "og-tc-hint", children: labels.foldersRefused(productName) }) : folders ? /* @__PURE__ */ jsxs2("span", { className: folderAsk === "asking" ? "og-tc-waiting" : "og-tc-hint", children: [
|
|
635
|
+
folderAsk === "asking" ? /* @__PURE__ */ jsx2("span", { className: "og-tc-pulse", "aria-hidden": true }) : null,
|
|
636
|
+
labels.waitingForFolders(system.allow)
|
|
637
|
+
] }) : waiting ? /* @__PURE__ */ jsxs2("span", { className: "og-tc-waiting", children: [
|
|
638
|
+
/* @__PURE__ */ jsx2("span", { className: "og-tc-pulse", "aria-hidden": true }),
|
|
639
|
+
labels.waitingForSwitch(productName, system.openSettings)
|
|
640
|
+
] }) : /* @__PURE__ */ jsx2("span", { className: "og-tc-hint", children: labels.passwordHint }) }),
|
|
641
|
+
serviceBacked ? /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
642
|
+
/* @__PURE__ */ jsx2("p", { className: "og-tc-fine", children: catalogText("thisComputer.servicePermissions") }),
|
|
643
|
+
/* @__PURE__ */ jsx2(
|
|
644
|
+
"button",
|
|
645
|
+
{
|
|
646
|
+
type: "button",
|
|
647
|
+
className: "og-tc-button og-tc-secondary",
|
|
648
|
+
disabled: computer.acting,
|
|
649
|
+
onClick: () => void (status?.state === "paused" ? computer.resume() : computer.pause()),
|
|
650
|
+
children: status?.state === "paused" ? labels.resume : labels.pause
|
|
651
|
+
}
|
|
652
|
+
)
|
|
653
|
+
] }) : waiting && (current === "screenRecording" || current === "inputMonitoring") ? /* @__PURE__ */ jsx2("p", { className: "og-tc-fine", children: labels.quitHint(productName, system.later) }) : null
|
|
654
|
+
] });
|
|
655
|
+
const askFolders = async () => {
|
|
656
|
+
setRequested("files");
|
|
657
|
+
setFolderAsk("asking");
|
|
658
|
+
await computer.requestPermission("files");
|
|
659
|
+
window.setTimeout(() => setFolderAsk("asked"), FOLDER_SETTLE_MS);
|
|
660
|
+
};
|
|
661
|
+
footer = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
662
|
+
/* @__PURE__ */ jsx2("button", { type: "button", className: "og-tc-button og-tc-quiet", onClick: close, children: labels.later }),
|
|
663
|
+
folders && !refused ? /* @__PURE__ */ jsx2(
|
|
664
|
+
"button",
|
|
665
|
+
{
|
|
666
|
+
type: "button",
|
|
667
|
+
className: "og-tc-button og-tc-primary",
|
|
668
|
+
disabled: allowed || folderAsk !== "idle",
|
|
669
|
+
onClick: () => void askFolders(),
|
|
670
|
+
children: labels.askFolders
|
|
671
|
+
}
|
|
672
|
+
) : /* @__PURE__ */ jsx2(
|
|
673
|
+
"button",
|
|
674
|
+
{
|
|
675
|
+
type: "button",
|
|
676
|
+
className: `og-tc-button ${waiting && !refused ? "og-tc-secondary" : "og-tc-primary"}`,
|
|
677
|
+
disabled: allowed,
|
|
678
|
+
onClick: () => {
|
|
679
|
+
setRequested(current);
|
|
680
|
+
void computer.requestPermission(current);
|
|
681
|
+
},
|
|
682
|
+
children: waiting && !refused ? labels.openSettingsAgain : labels.openSettings
|
|
683
|
+
}
|
|
684
|
+
)
|
|
685
|
+
] });
|
|
686
|
+
} else if (phase === "working" || phase === "permissions" && !permissionsKnown) {
|
|
687
|
+
const progress = status?.setupProgress;
|
|
688
|
+
title = status?.management === "service" ? catalogText("thisComputer.reconnecting", { machineName }) : labels.settingUp(machineName);
|
|
689
|
+
description = status?.management === "service" ? catalogText("thisComputer.serviceConnecting") : labels.settingUpDetail;
|
|
690
|
+
lead = /* @__PURE__ */ jsx2(ComputerIllustration, { mark: agentMark });
|
|
691
|
+
body = /* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2(
|
|
692
|
+
"div",
|
|
693
|
+
{
|
|
694
|
+
className: "og-tc-progress",
|
|
695
|
+
role: "progressbar",
|
|
696
|
+
"aria-label": title,
|
|
697
|
+
"aria-valuemin": 0,
|
|
698
|
+
"aria-valuemax": 100,
|
|
699
|
+
...progress === void 0 ? {} : { "aria-valuenow": Math.round(progress * 100) },
|
|
700
|
+
"data-indeterminate": progress === void 0 ? "" : void 0,
|
|
701
|
+
children: /* @__PURE__ */ jsx2(
|
|
702
|
+
"span",
|
|
703
|
+
{
|
|
704
|
+
style: progress === void 0 ? void 0 : { width: `${Math.max(4, progress * 100)}%` }
|
|
705
|
+
}
|
|
706
|
+
)
|
|
707
|
+
}
|
|
708
|
+
) });
|
|
709
|
+
footer = null;
|
|
710
|
+
} else {
|
|
711
|
+
title = labels.title;
|
|
712
|
+
description = labels.intro(machineName);
|
|
713
|
+
lead = /* @__PURE__ */ jsx2(ComputerIllustration, { mark: agentMark });
|
|
714
|
+
body = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
715
|
+
/* @__PURE__ */ jsx2("ul", { className: "og-tc-abilities", children: labels.abilities.map((ability) => /* @__PURE__ */ jsxs2("li", { children: [
|
|
716
|
+
/* @__PURE__ */ jsx2(CheckIcon, { "aria-hidden": true }),
|
|
717
|
+
ability
|
|
718
|
+
] }, ability)) }),
|
|
719
|
+
/* @__PURE__ */ jsx2("p", { className: "og-tc-safety", children: serviceBacked ? catalogText("thisComputer.existingService") : labels.safety(platform) }),
|
|
720
|
+
failure ? /* @__PURE__ */ jsx2("p", { className: "og-tc-error", role: "alert", children: failure }) : null
|
|
721
|
+
] });
|
|
722
|
+
footer = /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
723
|
+
/* @__PURE__ */ jsx2("button", { type: "button", className: "og-tc-button og-tc-quiet", onClick: close, children: labels.notNow }),
|
|
724
|
+
/* @__PURE__ */ jsx2("button", { type: "button", className: "og-tc-button og-tc-primary", onClick: () => void turnOn(), children: failure ? labels.tryAgain : labels.turnOn })
|
|
725
|
+
] });
|
|
726
|
+
}
|
|
727
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
728
|
+
/* @__PURE__ */ jsx2("span", { ref: anchor, hidden: true }),
|
|
729
|
+
/* @__PURE__ */ jsx2(Dialog.Root, { open, onOpenChange, children: /* @__PURE__ */ jsx2(Dialog.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx2(ModalLayer, { className: "og-root og-tc-overlay", style: portalStyle, children: /* @__PURE__ */ jsxs2(
|
|
730
|
+
Dialog.Content,
|
|
731
|
+
{
|
|
732
|
+
className: "og-root og-tc-dialog",
|
|
733
|
+
style: portalStyle,
|
|
734
|
+
"data-phase": phase,
|
|
735
|
+
onOpenAutoFocus: (event) => {
|
|
736
|
+
event.preventDefault();
|
|
737
|
+
event.currentTarget?.focus();
|
|
738
|
+
},
|
|
739
|
+
onInteractOutside: (event) => {
|
|
740
|
+
if (phase !== "intro" && phase !== "done") event.preventDefault();
|
|
741
|
+
},
|
|
742
|
+
children: [
|
|
743
|
+
!closable ? null : /* @__PURE__ */ jsx2(Dialog.Close, { className: "og-tc-close", "aria-label": labels.close, children: /* @__PURE__ */ jsx2(XIcon, { "aria-hidden": true }) }),
|
|
744
|
+
/* @__PURE__ */ jsx2("div", { className: "og-tc-body", "aria-busy": busyConnecting || void 0, children: /* @__PURE__ */ jsxs2(
|
|
745
|
+
"div",
|
|
746
|
+
{
|
|
747
|
+
className: "og-tc-content",
|
|
748
|
+
children: [
|
|
749
|
+
lead,
|
|
750
|
+
/* @__PURE__ */ jsx2(Dialog.Title, { className: "og-tc-title", children: title }),
|
|
751
|
+
/* @__PURE__ */ jsx2(Dialog.Description, { className: "og-tc-description", children: description }),
|
|
752
|
+
body
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
phase === "permissions" ? `p-${current}` : phase
|
|
756
|
+
) }),
|
|
757
|
+
footer ? /* @__PURE__ */ jsx2("div", { className: "og-tc-footer", children: footer }) : null
|
|
758
|
+
]
|
|
759
|
+
}
|
|
760
|
+
) }) }) })
|
|
761
|
+
] });
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
// src/components/this-computer/this-computer-status.tsx
|
|
765
|
+
import {
|
|
766
|
+
thisComputerReady as thisComputerReady2
|
|
767
|
+
} from "@opengeni/sdk/this-computer";
|
|
768
|
+
import { LaptopIcon, XIcon as XIcon2 } from "lucide-react";
|
|
769
|
+
import { useCallback as useCallback2, useEffect as useEffect3, useState as useState3 } from "react";
|
|
770
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
771
|
+
function thisComputerView(status) {
|
|
772
|
+
if (!status || status.state === "unavailable") return "hidden";
|
|
773
|
+
if (status.state === "paused") return status.busy ? "resuming" : "paused";
|
|
774
|
+
if (status.state === "connected") {
|
|
775
|
+
if (!thisComputerReady2(status)) return "finish_setup";
|
|
776
|
+
return status.reconnecting ? "reconnecting" : "ready";
|
|
777
|
+
}
|
|
778
|
+
return status.busy ? "setting_up" : "off";
|
|
779
|
+
}
|
|
780
|
+
function thisComputerError(computer, labels) {
|
|
781
|
+
const { status, actionError } = computer;
|
|
782
|
+
if (status?.errorCode === "removed" && !status.busy) {
|
|
783
|
+
return actionError ? labels.error(null, actionError) : null;
|
|
784
|
+
}
|
|
785
|
+
return actionError !== null || status?.error ? labels.error(status?.errorCode ?? null, status?.error || actionError || null) : null;
|
|
786
|
+
}
|
|
787
|
+
function percent(status) {
|
|
788
|
+
return status?.setupProgress === void 0 ? "" : ` ${Math.round(status.setupProgress * 100)}%`;
|
|
789
|
+
}
|
|
790
|
+
function settingUpLine(status, labels) {
|
|
791
|
+
const machineName = status?.machineName ?? "";
|
|
792
|
+
return status?.management === "service" ? labels.reconnecting(machineName) : `${labels.settingUp(machineName)}${percent(status)}`;
|
|
793
|
+
}
|
|
794
|
+
function storageKey(workspaceId) {
|
|
795
|
+
return `opengeni.desktop.thisComputer.dismissed.${workspaceId}`;
|
|
796
|
+
}
|
|
797
|
+
function useThisComputerOfferDismissed(workspaceId) {
|
|
798
|
+
const read = useCallback2(() => {
|
|
799
|
+
try {
|
|
800
|
+
return window.localStorage.getItem(storageKey(workspaceId)) === "1";
|
|
801
|
+
} catch {
|
|
802
|
+
return false;
|
|
803
|
+
}
|
|
804
|
+
}, [workspaceId]);
|
|
805
|
+
const [dismissed, setDismissed] = useState3(read);
|
|
806
|
+
useEffect3(() => setDismissed(read()), [read]);
|
|
807
|
+
const dismiss = useCallback2(() => {
|
|
808
|
+
try {
|
|
809
|
+
window.localStorage.setItem(storageKey(workspaceId), "1");
|
|
810
|
+
} catch {
|
|
811
|
+
}
|
|
812
|
+
setDismissed(true);
|
|
813
|
+
}, [workspaceId]);
|
|
814
|
+
return [dismissed, dismiss];
|
|
815
|
+
}
|
|
816
|
+
function ThisComputerOffer({
|
|
817
|
+
computer,
|
|
818
|
+
labels: given,
|
|
819
|
+
onSetup,
|
|
820
|
+
dismissed = false,
|
|
821
|
+
onDismiss,
|
|
822
|
+
icon,
|
|
823
|
+
className
|
|
824
|
+
}) {
|
|
825
|
+
const catalogText = useOpenGeniText();
|
|
826
|
+
const labels = given ?? defaultThisComputerLabels(catalogText);
|
|
827
|
+
const { status } = computer;
|
|
828
|
+
const view = thisComputerView(status);
|
|
829
|
+
const machineName = status?.machineName ?? "";
|
|
830
|
+
const mark = icon ?? /* @__PURE__ */ jsx3(LaptopIcon, { "aria-hidden": true });
|
|
831
|
+
const classes = ["og-tc-offer", className].filter(Boolean).join(" ");
|
|
832
|
+
if (view === "setting_up" || view === "resuming" || view === "reconnecting") {
|
|
833
|
+
const error = view === "reconnecting" ? thisComputerError(computer, labels) : null;
|
|
834
|
+
return /* @__PURE__ */ jsxs3("div", { className: classes, "data-view": view, role: "status", title: error ?? void 0, children: [
|
|
835
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-spinner", "aria-hidden": true }),
|
|
836
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-line", children: view === "resuming" ? labels.resuming : view === "reconnecting" ? labels.reconnecting(machineName) : settingUpLine(status, labels) })
|
|
837
|
+
] });
|
|
838
|
+
}
|
|
839
|
+
if (view === "paused") {
|
|
840
|
+
return /* @__PURE__ */ jsxs3("div", { className: classes, "data-view": view, children: [
|
|
841
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-mark", children: mark }),
|
|
842
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-line", children: labels.paused(machineName) }),
|
|
843
|
+
/* @__PURE__ */ jsx3(
|
|
844
|
+
"button",
|
|
845
|
+
{
|
|
846
|
+
type: "button",
|
|
847
|
+
className: "og-tc-button og-tc-secondary og-tc-small",
|
|
848
|
+
disabled: computer.acting,
|
|
849
|
+
onClick: () => void computer.resume(),
|
|
850
|
+
children: labels.resume
|
|
851
|
+
}
|
|
852
|
+
)
|
|
853
|
+
] });
|
|
854
|
+
}
|
|
855
|
+
if (view === "finish_setup") {
|
|
856
|
+
return /* @__PURE__ */ jsxs3("div", { className: classes, "data-view": view, "data-card": "", children: [
|
|
857
|
+
/* @__PURE__ */ jsxs3("div", { className: "og-tc-offer-head", children: [
|
|
858
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-mark", children: mark }),
|
|
859
|
+
/* @__PURE__ */ jsxs3("div", { children: [
|
|
860
|
+
/* @__PURE__ */ jsx3("p", { className: "og-tc-offer-title", children: labels.finishSetup }),
|
|
861
|
+
/* @__PURE__ */ jsx3("p", { className: "og-tc-offer-text", children: labels.finishSetupDetail })
|
|
862
|
+
] })
|
|
863
|
+
] }),
|
|
864
|
+
/* @__PURE__ */ jsx3("div", { className: "og-tc-offer-actions", children: /* @__PURE__ */ jsx3(
|
|
865
|
+
"button",
|
|
866
|
+
{
|
|
867
|
+
type: "button",
|
|
868
|
+
className: "og-tc-button og-tc-primary og-tc-small",
|
|
869
|
+
onClick: onSetup,
|
|
870
|
+
children: labels.finishSetup
|
|
871
|
+
}
|
|
872
|
+
) })
|
|
873
|
+
] });
|
|
874
|
+
}
|
|
875
|
+
if (view !== "off" || dismissed) return null;
|
|
876
|
+
return /* @__PURE__ */ jsxs3("div", { className: classes, "data-view": view, "data-card": "", children: [
|
|
877
|
+
/* @__PURE__ */ jsxs3("div", { className: "og-tc-offer-head", children: [
|
|
878
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-mark", children: mark }),
|
|
879
|
+
/* @__PURE__ */ jsxs3("div", { children: [
|
|
880
|
+
/* @__PURE__ */ jsx3("p", { className: "og-tc-offer-title", children: labels.title }),
|
|
881
|
+
/* @__PURE__ */ jsx3("p", { className: "og-tc-offer-text", children: labels.offer(machineName) })
|
|
882
|
+
] }),
|
|
883
|
+
onDismiss ? /* @__PURE__ */ jsx3(
|
|
884
|
+
"button",
|
|
885
|
+
{
|
|
886
|
+
type: "button",
|
|
887
|
+
className: "og-tc-offer-dismiss",
|
|
888
|
+
"aria-label": labels.notNow,
|
|
889
|
+
onClick: onDismiss,
|
|
890
|
+
children: /* @__PURE__ */ jsx3(XIcon2, { "aria-hidden": true })
|
|
891
|
+
}
|
|
892
|
+
) : null
|
|
893
|
+
] }),
|
|
894
|
+
/* @__PURE__ */ jsx3("div", { className: "og-tc-offer-actions", children: /* @__PURE__ */ jsx3("button", { type: "button", className: "og-tc-button og-tc-primary og-tc-small", onClick: onSetup, children: labels.offerAction }) })
|
|
895
|
+
] });
|
|
896
|
+
}
|
|
897
|
+
function ThisComputerPanel({
|
|
898
|
+
computer,
|
|
899
|
+
platform,
|
|
900
|
+
labels: given,
|
|
901
|
+
onSetup,
|
|
902
|
+
icon,
|
|
903
|
+
className
|
|
904
|
+
}) {
|
|
905
|
+
const catalogText = useOpenGeniText();
|
|
906
|
+
const labels = given ?? defaultThisComputerLabels(catalogText);
|
|
907
|
+
const { status } = computer;
|
|
908
|
+
const view = thisComputerView(status);
|
|
909
|
+
const [confirmingOff, setConfirmingOff] = useState3(false);
|
|
910
|
+
useEffect3(() => {
|
|
911
|
+
if (view !== "ready" && view !== "reconnecting" && view !== "paused" && view !== "finish_setup")
|
|
912
|
+
setConfirmingOff(false);
|
|
913
|
+
}, [view]);
|
|
914
|
+
if (view === "hidden") return null;
|
|
915
|
+
const machineName = status?.machineName ?? "";
|
|
916
|
+
const error = thisComputerError(computer, labels);
|
|
917
|
+
let line;
|
|
918
|
+
let actions;
|
|
919
|
+
switch (view) {
|
|
920
|
+
case "ready":
|
|
921
|
+
case "reconnecting":
|
|
922
|
+
line = view === "ready" ? labels.ready(machineName) : labels.reconnecting(machineName);
|
|
923
|
+
actions = /* @__PURE__ */ jsx3(
|
|
924
|
+
"button",
|
|
925
|
+
{
|
|
926
|
+
type: "button",
|
|
927
|
+
className: "og-tc-button og-tc-secondary og-tc-small",
|
|
928
|
+
disabled: computer.acting,
|
|
929
|
+
onClick: () => void computer.pause(),
|
|
930
|
+
children: labels.pause
|
|
931
|
+
}
|
|
932
|
+
);
|
|
933
|
+
break;
|
|
934
|
+
case "paused":
|
|
935
|
+
line = labels.paused(machineName);
|
|
936
|
+
actions = /* @__PURE__ */ jsx3(
|
|
937
|
+
"button",
|
|
938
|
+
{
|
|
939
|
+
type: "button",
|
|
940
|
+
className: "og-tc-button og-tc-primary og-tc-small",
|
|
941
|
+
disabled: computer.acting,
|
|
942
|
+
onClick: () => void computer.resume(),
|
|
943
|
+
children: labels.resume
|
|
944
|
+
}
|
|
945
|
+
);
|
|
946
|
+
break;
|
|
947
|
+
case "resuming":
|
|
948
|
+
line = labels.resuming;
|
|
949
|
+
actions = /* @__PURE__ */ jsx3("span", { className: "og-tc-spinner", "aria-hidden": true });
|
|
950
|
+
break;
|
|
951
|
+
case "finish_setup":
|
|
952
|
+
line = labels.finishSetupDetail;
|
|
953
|
+
actions = /* @__PURE__ */ jsx3("button", { type: "button", className: "og-tc-button og-tc-primary og-tc-small", onClick: onSetup, children: labels.finishSetup });
|
|
954
|
+
break;
|
|
955
|
+
case "setting_up":
|
|
956
|
+
line = settingUpLine(status, labels);
|
|
957
|
+
actions = /* @__PURE__ */ jsx3("span", { className: "og-tc-spinner", "aria-hidden": true });
|
|
958
|
+
break;
|
|
959
|
+
default:
|
|
960
|
+
line = labels.offer(machineName);
|
|
961
|
+
actions = /* @__PURE__ */ jsx3("button", { type: "button", className: "og-tc-button og-tc-primary og-tc-small", onClick: onSetup, children: labels.turnOn });
|
|
962
|
+
}
|
|
963
|
+
const connected = view === "ready" || view === "reconnecting" || view === "paused" || view === "finish_setup";
|
|
964
|
+
return /* @__PURE__ */ jsxs3("section", { className: ["og-tc-panel", className].filter(Boolean).join(" "), "data-view": view, children: [
|
|
965
|
+
/* @__PURE__ */ jsxs3("div", { className: "og-tc-panel-row", children: [
|
|
966
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-offer-mark", children: icon ?? /* @__PURE__ */ jsx3(LaptopIcon, { "aria-hidden": true }) }),
|
|
967
|
+
/* @__PURE__ */ jsxs3("div", { className: "og-tc-panel-text", children: [
|
|
968
|
+
/* @__PURE__ */ jsxs3("p", { className: "og-tc-offer-title", children: [
|
|
969
|
+
labels.title,
|
|
970
|
+
/* @__PURE__ */ jsx3("span", { className: "og-tc-dot", "data-view": view, "aria-hidden": true })
|
|
971
|
+
] }),
|
|
972
|
+
/* @__PURE__ */ jsx3("p", { className: "og-tc-offer-text", role: "status", children: line })
|
|
973
|
+
] }),
|
|
974
|
+
/* @__PURE__ */ jsx3("div", { className: "og-tc-panel-actions", children: actions })
|
|
975
|
+
] }),
|
|
976
|
+
error ? /* @__PURE__ */ jsx3("p", { className: "og-tc-error", role: "alert", children: error }) : null,
|
|
977
|
+
connected && computer.canDisconnect ? confirmingOff ? /* @__PURE__ */ jsxs3("div", { className: "og-tc-confirm", role: "group", "aria-label": labels.turnOff, children: [
|
|
978
|
+
/* @__PURE__ */ jsx3("p", { children: labels.turnOffConfirm(machineName) }),
|
|
979
|
+
/* @__PURE__ */ jsxs3("div", { children: [
|
|
980
|
+
/* @__PURE__ */ jsx3(
|
|
981
|
+
"button",
|
|
982
|
+
{
|
|
983
|
+
type: "button",
|
|
984
|
+
className: "og-tc-button og-tc-quiet og-tc-small",
|
|
985
|
+
onClick: () => setConfirmingOff(false),
|
|
986
|
+
children: labels.cancel
|
|
987
|
+
}
|
|
988
|
+
),
|
|
989
|
+
/* @__PURE__ */ jsx3(
|
|
990
|
+
"button",
|
|
991
|
+
{
|
|
992
|
+
type: "button",
|
|
993
|
+
className: "og-tc-button og-tc-danger og-tc-small",
|
|
994
|
+
disabled: computer.acting,
|
|
995
|
+
onClick: () => void computer.disconnect().then(() => setConfirmingOff(false)),
|
|
996
|
+
children: computer.acting ? labels.turningOff : labels.turnOff
|
|
997
|
+
}
|
|
998
|
+
)
|
|
999
|
+
] })
|
|
1000
|
+
] }) : /* @__PURE__ */ jsxs3("p", { className: "og-tc-panel-foot", children: [
|
|
1001
|
+
/* @__PURE__ */ jsx3("span", { children: status?.management === "service" ? catalogText("thisComputer.servicePauseHint") : view === "paused" ? labels.resumeHint(platform) : labels.pauseHint(platform) }),
|
|
1002
|
+
/* @__PURE__ */ jsx3("button", { type: "button", className: "og-tc-link", onClick: () => setConfirmingOff(true), children: labels.turnOff })
|
|
1003
|
+
] }) : null,
|
|
1004
|
+
view === "off" && status?.management === "service" ? /* @__PURE__ */ jsx3("p", { className: "og-tc-panel-foot", children: catalogText("thisComputer.existingService") }) : null
|
|
1005
|
+
] });
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export {
|
|
1009
|
+
hostErrorText,
|
|
1010
|
+
useThisComputer,
|
|
1011
|
+
AppIcon,
|
|
1012
|
+
ComputerIllustration,
|
|
1013
|
+
SettingsRowIllustration,
|
|
1014
|
+
DoneIllustration,
|
|
1015
|
+
useThisComputerSetupOpen,
|
|
1016
|
+
ThisComputerSetup,
|
|
1017
|
+
thisComputerView,
|
|
1018
|
+
useThisComputerOfferDismissed,
|
|
1019
|
+
ThisComputerOffer,
|
|
1020
|
+
ThisComputerPanel,
|
|
1021
|
+
ENGLISH_MAC_SYSTEM_NAMES,
|
|
1022
|
+
macSystemNames2 as macSystemNames,
|
|
1023
|
+
nextMissingPermission2 as nextMissingPermission,
|
|
1024
|
+
thisComputerNeedsPermissions3 as thisComputerNeedsPermissions,
|
|
1025
|
+
thisComputerPermissionSteps3 as thisComputerPermissionSteps,
|
|
1026
|
+
thisComputerReady3 as thisComputerReady,
|
|
1027
|
+
THIS_COMPUTER_PERMISSION_ORDER
|
|
1028
|
+
};
|
|
1029
|
+
//# sourceMappingURL=chunk-F5ABIEWA.js.map
|