@opengeni/react 6.35.1-canary.45051251770001 → 6.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/app-state.js +32 -32
- package/dist/app/components/Composer.js +43 -43
- package/dist/app/components/add-card-dialog.js +1 -1
- package/dist/app/components/add-card.js +2 -2
- package/dist/app/components/agent/agent-capability-picker.js +9 -9
- package/dist/app/components/agents/agent-can-use.js +47 -47
- package/dist/app/components/agents/agent-form-page.js +139 -139
- package/dist/app/components/agents/agent-page.js +122 -122
- package/dist/app/components/agents/agent-setup-sections.js +74 -74
- package/dist/app/components/agents/agent-skills.js +13 -13
- package/dist/app/components/agents/agent-trigger-chat-field.js +6 -6
- package/dist/app/components/agents/agent-trigger-dialog.js +31 -31
- package/dist/app/components/agents/agent-trigger-picker.js +8 -8
- package/dist/app/components/agents/agents-page.js +87 -87
- package/dist/app/components/agents/composer-agent-chip.js +59 -59
- package/dist/app/components/agents/session-agent-chip.js +55 -55
- package/dist/app/components/artifacts/app-package.js +11 -11
- package/dist/app/components/artifacts/artifact-browse-controls.js +3 -3
- package/dist/app/components/artifacts/artifact-library.js +28 -28
- package/dist/app/components/artifacts/artifact-page-chrome.js +1 -1
- package/dist/app/components/artifacts/artifact-viewer.js +65 -65
- package/dist/app/components/artifacts/chat-interactive-block.js +27 -27
- package/dist/app/components/artifacts/copy-artifact-link.js +1 -1
- package/dist/app/components/artifacts/file-reach-dialog.js +12 -12
- package/dist/app/components/artifacts/inline-chat-image.js +52 -52
- package/dist/app/components/artifacts/retained-file-preview.js +58 -58
- 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 +7 -7
- package/dist/app/components/artifacts/site-conversations.js +34 -34
- package/dist/app/components/artifacts/site-data.js +26 -26
- package/dist/app/components/artifacts/site-public-link.js +3 -3
- package/dist/app/components/artifacts/site-publishing-page.js +69 -69
- package/dist/app/components/artifacts/site-publishing.js +54 -54
- package/dist/app/components/artifacts/site-settings.js +68 -68
- package/dist/app/components/artifacts/site-version-menu.js +9 -9
- package/dist/app/components/billing-class-mark.js +8 -8
- package/dist/app/components/capabilities/capability-detail-sheet.js +16 -16
- package/dist/app/components/capabilities/capability-logo-source.js +28 -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/connector-tool-permissions.js +8 -8
- package/dist/app/components/capabilities/native-connect-setup.js +32 -32
- package/dist/app/components/capabilities/own-logins-shared-heads-up.js +6 -6
- package/dist/app/components/capabilities/perform-capability-action.js +4 -4
- package/dist/app/components/capabilities/prepared-mcp-setup-card.js +31 -31
- package/dist/app/components/capabilities/session-capability-card.js +146 -146
- package/dist/app/components/capabilities/session-chrome-card.js +49 -49
- package/dist/app/components/capabilities/session-connect-inputs-card.js +33 -33
- package/dist/app/components/capabilities/session-custom-mcp-card.js +38 -38
- package/dist/app/components/capabilities/session-github-card.js +44 -44
- package/dist/app/components/capabilities/session-machine-card.js +50 -50
- package/dist/app/components/capabilities/session-personal-github-card.js +32 -32
- package/dist/app/components/capabilities/session-plugin-card.js +21 -21
- package/dist/app/components/capabilities/use-capabilities-catalog.js +1 -1
- package/dist/app/components/capabilities/use-connection-accounts.js +3 -3
- 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 +86 -86
- package/dist/app/components/command-menu/command-menu.js +109 -109
- package/dist/app/components/command-menu/shortcut-sheet.js +23 -23
- package/dist/app/components/composer-capabilities-menu-body.js +7 -7
- package/dist/app/components/composer-mobile-plus-panel.js +29 -29
- package/dist/app/components/composer-mobile-plus.js +3 -3
- package/dist/app/components/credit-required-gate.js +6 -6
- package/dist/app/components/credit-required-prompt.js +24 -24
- package/dist/app/components/credits/checkout-credits-celebration.js +1 -1
- package/dist/app/components/credits/checkout-return.js +1 -1
- package/dist/app/components/credits/coupon-redeem.js +1 -1
- package/dist/app/components/credits/credit-refusal-notice.js +8 -8
- package/dist/app/components/credits/own-subscription-plan-notice.js +3 -3
- package/dist/app/components/desktop/app-shots.js +9 -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.js +6 -6
- package/dist/app/components/feedback.js +10 -10
- package/dist/app/components/follow-up-repository-menu-body.js +14 -14
- package/dist/app/components/follow-up-repository-picker.js +1 -1
- package/dist/app/components/github-app-connect-launcher.js +2 -2
- 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.js +25 -25
- package/dist/app/components/manual-repository-editor.js +3 -3
- package/dist/app/components/markdown.js +16 -16
- package/dist/app/components/model-identity.js +3 -3
- package/dist/app/components/models/models-ui.js +17 -17
- 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 +15 -15
- package/dist/app/components/own-where-it-works.js +10 -10
- package/dist/app/components/personal-resource-attachment-surface.js +4 -4
- package/dist/app/components/pickers.js +12 -12
- package/dist/app/components/rail/channel-create-dialog.js +6 -6
- package/dist/app/components/rail/project-glyph.js +52 -52
- package/dist/app/components/rail/project-profile.js +73 -73
- package/dist/app/components/rail/rail-context.js +2 -2
- package/dist/app/components/rail/rail-sections.js +155 -155
- package/dist/app/components/rail/session-header.js +124 -124
- package/dist/app/components/rail/session-list.js +154 -154
- package/dist/app/components/rail/session-row-content.js +7 -7
- package/dist/app/components/rail/session-row-hover-details.js +37 -37
- package/dist/app/components/rail/session-shell.js +192 -192
- package/dist/app/components/rail/site-session-group-heading.js +36 -36
- package/dist/app/components/repository-picker.js +14 -14
- package/dist/app/components/secrets/session-secrets-panel.js +4 -4
- package/dist/app/components/session/agent-configuration-panel.js +48 -48
- package/dist/app/components/session/artifact-session-page.js +7 -7
- package/dist/app/components/session/banners.js +20 -20
- package/dist/app/components/session/chat-avatar.js +52 -52
- package/dist/app/components/session/console-new-conversation.js +111 -111
- package/dist/app/components/session/descendant-requests.js +109 -109
- package/dist/app/components/session/editable-artifacts-workspace.js +59 -59
- package/dist/app/components/session/failed-session-banner.js +30 -30
- 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 +86 -86
- package/dist/app/components/session/inspector.js +142 -142
- package/dist/app/components/session/linked-panel.js +3 -3
- package/dist/app/components/session/message-actions.js +10 -10
- package/dist/app/components/session/model-recovery-notice.js +4 -4
- package/dist/app/components/session/new-session-settings-menu.js +28 -28
- package/dist/app/components/session/new-session-setup-strip.js +55 -55
- package/dist/app/components/session/pull-request-panel.js +25 -25
- package/dist/app/components/session/sandbox-recovery-actions.js +3 -3
- package/dist/app/components/session/sandbox-switcher.js +22 -22
- package/dist/app/components/session/sandbox-workspace.js +118 -118
- package/dist/app/components/session/search-markdown-highlight.js +17 -17
- package/dist/app/components/session/search-results-view.js +18 -18
- package/dist/app/components/session/session-admin-access.js +13 -13
- package/dist/app/components/session/session-admission-notice.js +11 -11
- package/dist/app/components/session/session-avatar-picker.js +59 -59
- package/dist/app/components/session/session-avatar.js +54 -54
- package/dist/app/components/session/session-machine-access-notice.js +11 -11
- package/dist/app/components/session/session-profile-dialog.js +70 -70
- package/dist/app/components/session/session-profile-editor.js +71 -71
- package/dist/app/components/session/session-retention.js +6 -6
- package/dist/app/components/session/session-search-dialog.js +20 -20
- package/dist/app/components/session/session-skill-reviews.js +5 -5
- package/dist/app/components/session/session-tenancy-control.js +26 -26
- 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 +10 -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 +10 -10
- package/dist/app/components/usage/usage-entry.js +8 -8
- package/dist/app/components/window-bar.js +24 -24
- package/dist/app/components/workspace-composer-plus.js +43 -43
- package/dist/app/components/workspace-reach.js +6 -6
- package/dist/app/embed/session-app.js +398 -398
- package/dist/app/lib/actions/actions-provider.js +18 -18
- package/dist/app/lib/agent-capabilities.js +4 -4
- package/dist/app/lib/app-connect-card.js +14 -14
- package/dist/app/lib/app-shared-key-dialog.js +8 -8
- package/dist/app/lib/app-surfaces.js +1 -1
- package/dist/app/lib/app-sync-opt-in.js +4 -4
- 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 +32 -32
- package/dist/app/lib/composer-send-blocking.js +3 -3
- package/dist/app/lib/console-site.js +6 -6
- package/dist/app/lib/console-text.js +2 -2
- package/dist/app/lib/deployment-free-model.js +2 -2
- package/dist/app/lib/events.js +29 -29
- package/dist/app/lib/failed-session-copy.js +6 -6
- package/dist/app/lib/feedback-capture.js +2 -2
- package/dist/app/lib/free-credit-gap.js +2 -2
- package/dist/app/lib/model-access-onboarding.js +5 -5
- package/dist/app/lib/model-policy.js +1 -1
- 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 +3 -3
- package/dist/app/lib/session-rail.js +16 -16
- package/dist/app/lib/session-rename.js +4 -4
- package/dist/app/lib/sessions-group.js +23 -23
- package/dist/app/lib/site-tool-consent-dialog.js +23 -23
- package/dist/app/lib/site-tool-consent.js +1 -1
- package/dist/app/lib/turn-failure-analytics.js +8 -8
- package/dist/app/lib/unavailable-session-model.js +2 -2
- package/dist/app/lib/use-artifact-catalog.js +2 -2
- package/dist/app/lib/use-duplicate-site.js +4 -4
- package/dist/app/lib/use-follow-up-repositories.js +5 -5
- 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 +7 -7
- 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 +17 -17
- package/dist/app/routes/app-page.js +2 -2
- package/dist/app/routes/artifacts.js +152 -152
- package/dist/app/routes/retained-artifact.js +108 -108
- package/dist/app/routes/session-unavailable.js +5 -5
- package/dist/app/routes/session.js +249 -249
- package/dist/app/routes/sessions-index-hydration.js +6 -6
- package/dist/app/routes/sessions-index.js +207 -207
- package/dist/app/routes/site-view.js +200 -200
- package/dist/artifacts-document.js +4 -4
- package/dist/artifacts-presentation.js +7 -7
- package/dist/artifacts-spreadsheet.js +4 -4
- package/dist/artifacts.js +50 -50
- package/dist/automation-model.js +7 -7
- package/dist/automations.js +65 -65
- package/dist/browser-viewer-EIEMRVFF.js +23 -0
- package/dist/chat-interactive-block-FV37LWYZ.js +22 -0
- package/dist/chunk-2COBAJC7.js +818 -0
- package/dist/chunk-2HS3IUXE.js +170 -0
- package/dist/chunk-2JTMFYCT.js +296 -0
- package/dist/chunk-2JXKP4M6.js +114 -0
- package/dist/chunk-2P5K7CBH.js +269 -0
- package/dist/chunk-2XGRHMRI.js +250 -0
- package/dist/chunk-332BYSAZ.js +65 -0
- package/dist/chunk-3EM5GTP3.js +158 -0
- package/dist/chunk-3L5ATO4A.js +52 -0
- package/dist/chunk-3S3PJB7J.js +107 -0
- package/dist/chunk-3SBKYPNM.js +270 -0
- package/dist/chunk-3Z7VA6ET.js +114 -0
- package/dist/chunk-43BRJBEV.js +207 -0
- package/dist/chunk-46LZO4ZO.js +188 -0
- package/dist/chunk-46ZC5VNC.js +38 -0
- package/dist/chunk-4AH4EEHE.js +298 -0
- package/dist/chunk-4D3YJNVN.js +270 -0
- package/dist/chunk-4E5QVAT4.js +4480 -0
- package/dist/chunk-4E5QVAT4.js.map +1 -0
- package/dist/chunk-4I4RTI4D.js +37 -0
- package/dist/chunk-4KASGJTF.js +287 -0
- package/dist/chunk-4RUKLIOF.js +1263 -0
- package/dist/chunk-4UU7FN3I.js +650 -0
- package/dist/chunk-4VEIBNC2.js +427 -0
- package/dist/chunk-4VEIBNC2.js.map +1 -0
- package/dist/chunk-4ZRNASBF.js +2551 -0
- package/dist/chunk-5EJBPQI2.js +41 -0
- package/dist/chunk-5G4IGG7F.js +209 -0
- package/dist/chunk-5JAYZOAW.js +131 -0
- package/dist/chunk-5JOKVDSR.js +789 -0
- package/dist/chunk-5MP3G7ZV.js +1236 -0
- package/dist/chunk-5OVRMKP5.js +42 -0
- package/dist/chunk-5SGTRULO.js +1184 -0
- package/dist/chunk-5SOL4INY.js +572 -0
- package/dist/chunk-5Y34P32B.js +27 -0
- package/dist/chunk-62HIKJ5F.js +72 -0
- package/dist/chunk-62T2ZPD5.js +266 -0
- package/dist/chunk-63VNZRLY.js +386 -0
- package/dist/chunk-6CDBX3XG.js +33 -0
- package/dist/chunk-6D3D2JWY.js +278 -0
- package/dist/chunk-6DOIINY4.js +201 -0
- package/dist/chunk-6DQBUKGJ.js +112 -0
- package/dist/chunk-6SETNFNH.js +1399 -0
- package/dist/chunk-6XYFMHNT.js +56 -0
- package/dist/chunk-6YU3WV2P.js +33 -0
- package/dist/chunk-6YUHDFOZ.js +351 -0
- package/dist/chunk-72EOXOR7.js +1185 -0
- package/dist/chunk-72ND4ALI.js +532 -0
- package/dist/chunk-757LE32E.js +283 -0
- package/dist/chunk-7S2S4MXR.js +138 -0
- package/dist/chunk-7SYCHMXS.js +200 -0
- package/dist/chunk-7TVAPQOV.js +5089 -0
- package/dist/chunk-7UDLRDHK.js +214 -0
- package/dist/chunk-7YLQCMZP.js +357 -0
- package/dist/chunk-A5GX3CAE.js +849 -0
- package/dist/chunk-A7EBV2EB.js +318 -0
- package/dist/chunk-AB5SPXUR.js +114 -0
- package/dist/chunk-AHVQGL5A.js +202 -0
- package/dist/chunk-AI77ZKEV.js +26 -0
- package/dist/chunk-AIX2D6RB.js +1019 -0
- package/dist/chunk-AVSIHP7Q.js +192 -0
- package/dist/chunk-AWK23Q32.js +107 -0
- package/dist/chunk-AYVWA6KD.js +432 -0
- package/dist/chunk-AYZXE4IM.js +2553 -0
- package/dist/chunk-AZGGSPTE.js +124 -0
- package/dist/chunk-B45TB4HY.js +931 -0
- package/dist/chunk-BIUJHNVR.js +46 -0
- package/dist/chunk-BJUOKUE5.js +234 -0
- package/dist/chunk-BPEEVMKH.js +292 -0
- package/dist/chunk-BPHPAGYF.js +74 -0
- package/dist/chunk-BXMND6YU.js +307 -0
- package/dist/chunk-C6OM2SRG.js +117 -0
- package/dist/chunk-CIRCUDKF.js +1309 -0
- package/dist/chunk-CLKR4UG3.js +403 -0
- package/dist/chunk-CPX6BHER.js +554 -0
- package/dist/chunk-CVC4RO7D.js +155 -0
- package/dist/chunk-D3YJAQGK.js +103 -0
- package/dist/chunk-DFQ72BLS.js +1024 -0
- package/dist/chunk-DG65PJOZ.js +4564 -0
- package/dist/chunk-DNAXAS5R.js +406 -0
- package/dist/chunk-DO247ITS.js +175 -0
- package/dist/chunk-DONBARLL.js +154 -0
- package/dist/chunk-DTLXQ3ZU.js +373 -0
- package/dist/chunk-EAXTACI4.js +274 -0
- package/dist/chunk-EDPH7AJH.js +412 -0
- package/dist/chunk-EER3B3G5.js +10036 -0
- package/dist/chunk-EER3B3G5.js.map +1 -0
- package/dist/chunk-EFKQHCGJ.js +276 -0
- package/dist/chunk-EILSPMVD.js +133 -0
- package/dist/chunk-EK7KIETS.js +211 -0
- package/dist/chunk-EMWT6GOK.js +437 -0
- package/dist/chunk-EO22NST7.js +259 -0
- package/dist/chunk-ER5MYLIE.js +256 -0
- package/dist/chunk-ES5HKVQF.js +234 -0
- package/dist/chunk-EXRQ5ATC.js +738 -0
- package/dist/chunk-EXRQ5ATC.js.map +1 -0
- package/dist/chunk-F26YBYAZ.js +111 -0
- package/dist/chunk-F6QP4GSK.js +515 -0
- package/dist/chunk-F7QEO7M2.js +851 -0
- package/dist/chunk-FJFGDLXB.js +12 -0
- package/dist/chunk-FLLJ2WXW.js +113 -0
- package/dist/chunk-FMBJKMT4.js +107 -0
- package/dist/chunk-FPN4I4CG.js +3690 -0
- package/dist/chunk-FUXFJTXL.js +3070 -0
- package/dist/chunk-FXFOKD7A.js +449 -0
- package/dist/chunk-FZI4QOAV.js +3996 -0
- package/dist/chunk-FZI4QOAV.js.map +1 -0
- package/dist/chunk-G6SSSX5R.js +158 -0
- package/dist/chunk-GBGCMHBB.js +608 -0
- package/dist/chunk-GIHE7U3Y.js +174 -0
- package/dist/chunk-GJ4GTYOD.js +372 -0
- package/dist/chunk-GLSDWNFV.js +432 -0
- package/dist/chunk-GMGAW3T6.js +278 -0
- package/dist/chunk-GNGI6XFN.js +43 -0
- package/dist/chunk-GO5VIAA7.js +264 -0
- package/dist/chunk-GSW4YHZE.js +229 -0
- package/dist/chunk-GUC6IWEY.js +407 -0
- package/dist/chunk-GWAY3SO5.js +15 -0
- package/dist/chunk-GXOTNT5D.js +168 -0
- package/dist/chunk-GZZCVF76.js +3851 -0
- package/dist/chunk-H4VMHFOX.js +214 -0
- package/dist/chunk-HA5RFQAF.js +110 -0
- package/dist/chunk-HFROJDFQ.js +118 -0
- package/dist/chunk-HHFFPE67.js +220 -0
- package/dist/chunk-HJLHGXWL.js +103 -0
- package/dist/chunk-HKNMNL7B.js +2984 -0
- package/dist/chunk-HT7MBHLY.js +1021 -0
- package/dist/chunk-I5FSUZVW.js +584 -0
- package/dist/chunk-IINQO425.js +246 -0
- package/dist/chunk-IIXNEOK4.js +1022 -0
- package/dist/chunk-IM3WA5AL.js +311 -0
- package/dist/chunk-IX4P4OGR.js +399 -0
- package/dist/chunk-IX5VHZYS.js +129 -0
- package/dist/chunk-JB3TSUZO.js +263 -0
- package/dist/chunk-JIC6RLUB.js +27 -0
- package/dist/chunk-JNJIZCTN.js +172 -0
- package/dist/chunk-JNV5ZPUV.js +828 -0
- package/dist/chunk-JPQFVR24.js +50 -0
- package/dist/chunk-JPZVMXDP.js +1333 -0
- package/dist/chunk-JVPF34MX.js +215 -0
- package/dist/chunk-KED67KAF.js +85 -0
- package/dist/chunk-KJ72GMZ2.js +378 -0
- package/dist/chunk-KTGKGHEA.js +75 -0
- package/dist/chunk-KU77XHWB.js +285 -0
- package/dist/chunk-KVPQUADA.js +5915 -0
- package/dist/chunk-KVPQUADA.js.map +1 -0
- package/dist/chunk-KXBLLFOO.js +249 -0
- package/dist/chunk-L6WVCO6D.js +61 -0
- package/dist/chunk-LIOZ2MXJ.js +380 -0
- package/dist/chunk-LIOZ2MXJ.js.map +1 -0
- package/dist/chunk-LPEFULJY.js +73 -0
- package/dist/chunk-LRMGPO7E.js +98 -0
- package/dist/chunk-LVKTKORH.js +121 -0
- package/dist/chunk-MCPKUVMQ.js +99 -0
- package/dist/chunk-MFLU3466.js +99 -0
- package/dist/chunk-MIUJ3EH5.js +60 -0
- package/dist/chunk-MIUMNTIJ.js +175 -0
- package/dist/chunk-ML46TXRM.js +113 -0
- package/dist/chunk-MO3XJQN2.js +629 -0
- package/dist/chunk-MQRHTOQ2.js +218 -0
- package/dist/chunk-MVYQDBE6.js +79 -0
- package/dist/chunk-NIPON7YB.js +850 -0
- package/dist/chunk-NIPON7YB.js.map +1 -0
- package/dist/chunk-NPBEUU22.js +196 -0
- package/dist/chunk-NSXKGS2K.js +178 -0
- package/dist/chunk-NUEFORM6.js +2317 -0
- package/dist/chunk-NZOFNQNC.js +176 -0
- package/dist/chunk-O664PL2U.js +47 -0
- package/dist/chunk-O664PL2U.js.map +1 -0
- package/dist/chunk-OATXCLTY.js +211 -0
- package/dist/chunk-OG3ELROW.js +538 -0
- package/dist/chunk-OI4WS7FW.js +162 -0
- package/dist/chunk-OITGZUDC.js +82 -0
- package/dist/chunk-OKD2LBMK.js +333 -0
- package/dist/chunk-OLFOGAWU.js +273 -0
- package/dist/chunk-OLFOGAWU.js.map +1 -0
- package/dist/chunk-OSA4CGST.js +134 -0
- package/dist/chunk-OXYAKUFU.js +401 -0
- package/dist/chunk-OYMSMU5O.js +396 -0
- package/dist/chunk-P4NZ72KY.js +162 -0
- package/dist/chunk-PBYL2VIM.js +379 -0
- package/dist/chunk-PDW3OOSZ.js +505 -0
- package/dist/chunk-PGRKTQIW.js +523 -0
- package/dist/chunk-PPQJIVGM.js +175 -0
- package/dist/chunk-PYMQM65Y.js +125 -0
- package/dist/chunk-Q273Q33U.js +166 -0
- package/dist/chunk-Q4CLS2HL.js +340 -0
- package/dist/chunk-QA5UNVHD.js +85 -0
- package/dist/chunk-QFOBUA2J.js +428 -0
- package/dist/chunk-QLIM4D56.js +1095 -0
- package/dist/chunk-QMQF5U2D.js +20 -0
- package/dist/chunk-QNOWKKZ4.js +40 -0
- package/dist/chunk-QPOUPVPD.js +144 -0
- package/dist/chunk-QTJAQ6DS.js +48 -0
- package/dist/chunk-QUOFP3G7.js +404 -0
- package/dist/chunk-QVOTPOXK.js +29 -0
- package/dist/chunk-QYZ5RVGM.js +184 -0
- package/dist/chunk-R7CVDKRN.js +2580 -0
- package/dist/chunk-RB7MXNZD.js +639 -0
- package/dist/chunk-RDZQFZOQ.js +187 -0
- package/dist/chunk-RIHKEGWS.js +194 -0
- package/dist/chunk-ROSB7GF6.js +57 -0
- package/dist/chunk-RP3YMYCX.js +723 -0
- package/dist/chunk-RPHXJHNX.js +271 -0
- package/dist/chunk-RVC3M66H.js +191 -0
- package/dist/chunk-S3OTJAAC.js +283 -0
- package/dist/chunk-SBWPMVRN.js +56 -0
- package/dist/chunk-SERECSAR.js +138 -0
- package/dist/chunk-SHSEF3GJ.js +187 -0
- package/dist/chunk-SMS2M3RG.js +772 -0
- package/dist/chunk-SRDHDIRQ.js +177 -0
- package/dist/chunk-SXRYA7NN.js +389 -0
- package/dist/chunk-SYA3WYG4.js +1187 -0
- package/dist/chunk-SYYFA7W7.js +23 -0
- package/dist/chunk-T2QDSTBH.js +371 -0
- package/dist/chunk-TFSCGFYV.js +251 -0
- package/dist/chunk-TGCKZOSX.js +246 -0
- package/dist/chunk-THILLYQM.js +132 -0
- package/dist/chunk-TI6LGUEZ.js +2412 -0
- package/dist/chunk-TSY6YZL2.js +366 -0
- package/dist/chunk-TW2RHTLH.js +3321 -0
- package/dist/chunk-TWA5G277.js +141 -0
- package/dist/chunk-TZZ2S4XI.js +247 -0
- package/dist/chunk-U5D3K53R.js +58 -0
- package/dist/chunk-UECD27LX.js +251 -0
- package/dist/chunk-UFJDETKG.js +108 -0
- package/dist/chunk-UHCFYX4I.js +570 -0
- package/dist/chunk-UHTURYJO.js +898 -0
- package/dist/chunk-UJH63JT3.js +67 -0
- package/dist/chunk-UOLDS6S5.js +1152 -0
- package/dist/chunk-UUE3OGXI.js +84 -0
- package/dist/chunk-UUNJ2E57.js +391 -0
- package/dist/chunk-UYQVWRAH.js +199 -0
- package/dist/chunk-UYWVK7JQ.js +234 -0
- package/dist/chunk-UYWWUEL4.js +126 -0
- package/dist/chunk-V4CQKX5H.js +48 -0
- package/dist/chunk-V4QM7GDQ.js +3176 -0
- package/dist/chunk-V5Y74WII.js +91 -0
- package/dist/chunk-VGGZLUQK.js +129 -0
- package/dist/chunk-VGX636MB.js +311 -0
- package/dist/chunk-VGZLFQO2.js +773 -0
- package/dist/chunk-VJWZATNF.js +137 -0
- package/dist/chunk-VMWCIC2N.js +50 -0
- package/dist/chunk-VPWKTIU5.js +227 -0
- package/dist/chunk-VXOLG6YB.js +469 -0
- package/dist/chunk-W2NAU5VB.js +1628 -0
- package/dist/chunk-WGORKMR3.js +353 -0
- package/dist/chunk-WMIDELSJ.js +391 -0
- package/dist/chunk-WSOSGL2G.js +383 -0
- package/dist/chunk-WXUUOM4X.js +400 -0
- package/dist/chunk-WZ74QHLE.js +4863 -0
- package/dist/chunk-WZ74QHLE.js.map +1 -0
- package/dist/chunk-X2OWM2ME.js +1870 -0
- package/dist/chunk-X6UMGG4T.js +68 -0
- package/dist/chunk-XDXKB25W.js +93 -0
- package/dist/chunk-XE4PHI74.js +231 -0
- package/dist/chunk-XHF2XNU5.js +73 -0
- package/dist/chunk-XLJ4SQFS.js +230 -0
- package/dist/chunk-XOD4FX6M.js +2434 -0
- package/dist/chunk-XODQ2GPF.js +3110 -0
- package/dist/chunk-XT54RTAM.js +441 -0
- package/dist/chunk-YAVW5OJ5.js +131 -0
- package/dist/chunk-YDQHFJM2.js +83 -0
- package/dist/chunk-YH6O6OQ6.js +1356 -0
- package/dist/chunk-YIKPC2QP.js +794 -0
- package/dist/chunk-ZD7PKYC4.js +335 -0
- package/dist/chunk-ZEQYHEWP.js +406 -0
- package/dist/chunk-ZP3QCPYG.js +21 -0
- package/dist/chunk-ZRVUCTSI.js +265 -0
- package/dist/chunk-ZSI3ITRK.js +449 -0
- package/dist/chunk-ZZMEQCIZ.js +236 -0
- package/dist/components/browser-viewer.d.ts +4 -1
- package/dist/composer.js +35 -35
- package/dist/computer-viewer-ZBY3BPYW.js +21 -0
- package/dist/connect.js +30 -30
- package/dist/connection-step-up-JQ4OFSQN.js +145 -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-ZB5XLKLU.js +25 -0
- package/dist/embedded-voice-MZJISDCS.js +25 -0
- package/dist/fleet-decision-row-LG3SYVR3.js +361 -0
- package/dist/human-input-model.d.ts +2 -0
- package/dist/in-chat-connect-model.js +6 -6
- package/dist/index.js +298 -298
- package/dist/interaction.d.ts +2 -0
- package/dist/interaction.js +11 -9
- package/dist/interaction.js.map +1 -1
- package/dist/latest-question-QWJTXMFA.js +1 -1
- 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 +116 -116
- package/dist/messages/en.d.ts +12 -0
- package/dist/messages.js +1 -1
- package/dist/model-levels.js +2 -2
- package/dist/model-picker-model.js +2 -2
- package/dist/model-policy-picker-menu-5Y72PLNF.js +23 -0
- package/dist/model-policy.js +1 -1
- package/dist/payment-page-card-YPSXRHBA.js +226 -0
- package/dist/platform-activity-row-ZU4MEBNK.js +156 -0
- package/dist/queue-surface-implementation-6Q25RPH6.js +932 -0
- package/dist/realtime.js +17 -17
- package/dist/recorder-host-JD4GWJ2Z.js +80 -0
- package/dist/recordings.js +3 -3
- package/dist/sandbox-files-HCLEEJMU.js +28 -0
- package/dist/session-app.js +398 -398
- package/dist/session-connect-cards-DRKEN3Z4.js +27 -0
- package/dist/session-list-model.js +3 -3
- package/dist/session-realtime-IZOTTRH6.js +30 -0
- package/dist/session-realtime.js +2 -2
- package/dist/session-ui.js +95 -95
- package/dist/session.js +42 -42
- package/dist/sites.js +3 -3
- package/dist/terminal.js +2 -2
- package/dist/this-computer.js +3 -3
- package/dist/timeline-annotation-markers-WWXNJOXI.js +157 -0
- package/dist/timeline-annotation-selection-ZKRIQFIQ.js +208 -0
- package/dist/timeline-annotations-dialog-4IMKTOXJ.js +283 -0
- package/dist/timeline-model.js +58 -58
- package/dist/ui/access-list.js +23 -23
- package/dist/ui/cadence-picker.js +7 -7
- package/dist/ui/choice-cards.js +3 -3
- package/dist/ui/confirm-dialog.js +2 -2
- package/dist/ui/copy-field.js +3 -3
- package/dist/ui/detail-page.js +5 -5
- package/dist/ui/detail-sheet.js +5 -5
- package/dist/ui/diff-view.js +3 -3
- package/dist/ui/disclosure.js +6 -6
- package/dist/ui/email-chips-input.js +3 -3
- package/dist/ui/field.js +2 -2
- package/dist/ui/flush-form-page.js +7 -7
- package/dist/ui/form-dialog.js +6 -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 +11 -11
- package/dist/ui/select-menu.js +5 -5
- package/dist/ui/settings-nav.js +6 -6
- package/dist/ui/sheet.js +2 -2
- package/dist/ui/usage-meter.js +4 -4
- package/dist/usage.js +3 -3
- package/dist/workbench.js +11 -11
- package/package.json +5 -6
- package/src/components/browser-viewer.tsx +109 -72
- package/src/components/secret-question-field.tsx +2 -1
- package/src/human-input-model.ts +53 -10
- package/src/interaction.ts +2 -0
- package/src/messages/en.ts +12 -0
- package/src/model-policy.ts +3 -1
- package/dist/browser-viewer-5DCULGWS.js +0 -23
- package/dist/chat-interactive-block-ISMUKH3P.js +0 -22
- package/dist/chunk-22NKV5QE.js +0 -133
- package/dist/chunk-25SCFA2X.js +0 -794
- package/dist/chunk-2NJRDH3Z.js +0 -4480
- package/dist/chunk-2NJRDH3Z.js.map +0 -1
- package/dist/chunk-2O5EDTVB.js +0 -723
- package/dist/chunk-2R7AOT3Y.js +0 -400
- package/dist/chunk-2XQFDRP6.js +0 -234
- package/dist/chunk-34XY4PWB.js +0 -2412
- package/dist/chunk-37J33BLN.js +0 -107
- package/dist/chunk-3AXHBU7K.js +0 -818
- package/dist/chunk-3B4D4BV7.js +0 -270
- package/dist/chunk-3EQMXU5V.js +0 -403
- package/dist/chunk-3QUDVXDR.js +0 -227
- package/dist/chunk-3SKJO525.js +0 -215
- package/dist/chunk-3Y2VSFYS.js +0 -26
- package/dist/chunk-3Y7IJPHB.js +0 -3321
- package/dist/chunk-3YLXGP2I.js +0 -515
- package/dist/chunk-4AUUNEQY.js +0 -15
- package/dist/chunk-4D4XXJJJ.js +0 -379
- package/dist/chunk-4DW5QEAP.js +0 -201
- package/dist/chunk-4KF5I3H5.js +0 -335
- package/dist/chunk-4PG2BEQA.js +0 -175
- package/dist/chunk-4SW3EUNM.js +0 -83
- package/dist/chunk-4T2KWNYX.js +0 -378
- package/dist/chunk-4TTWUMDP.js +0 -168
- package/dist/chunk-4WKITG7P.js +0 -132
- package/dist/chunk-4YXA5UO3.js +0 -287
- package/dist/chunk-4ZCTHNOA.js +0 -298
- package/dist/chunk-52BUMJQB.js +0 -98
- package/dist/chunk-53ZK2JFE.js +0 -538
- package/dist/chunk-5ABIZ7YT.js +0 -371
- package/dist/chunk-5AHIKB3O.js +0 -449
- package/dist/chunk-5DEP55DK.js +0 -251
- package/dist/chunk-5ERDSF2C.js +0 -79
- package/dist/chunk-5G55HNJB.js +0 -412
- package/dist/chunk-62AHHCFV.js +0 -340
- package/dist/chunk-644P2VLV.js +0 -407
- package/dist/chunk-6F34IWSA.js +0 -47
- package/dist/chunk-6F34IWSA.js.map +0 -1
- package/dist/chunk-6QDXVH45.js +0 -114
- package/dist/chunk-6TBA45QF.js +0 -12
- package/dist/chunk-6Y3EFN4Q.js +0 -265
- package/dist/chunk-73P7NEOX.js +0 -52
- package/dist/chunk-7CLQ7RQV.js +0 -828
- package/dist/chunk-7M57K6K5.js +0 -505
- package/dist/chunk-7QORJTVI.js +0 -3690
- package/dist/chunk-ABO54U65.js +0 -108
- package/dist/chunk-ANCI6T7S.js +0 -406
- package/dist/chunk-AO27D7GY.js +0 -1021
- package/dist/chunk-ATQ3O5E6.js +0 -144
- package/dist/chunk-AXBSHKRP.js +0 -246
- package/dist/chunk-AZC5P5PV.js +0 -131
- package/dist/chunk-B6YDINPE.js +0 -68
- package/dist/chunk-BJNSS4UV.js +0 -399
- package/dist/chunk-BKYHS4IH.js +0 -276
- package/dist/chunk-BOCDCQYX.js +0 -41
- package/dist/chunk-BOP5TAUU.js +0 -229
- package/dist/chunk-BPD6VRVH.js +0 -432
- package/dist/chunk-BSAKPNKY.js +0 -263
- package/dist/chunk-BUBEMKK3.js +0 -4845
- package/dist/chunk-BUBEMKK3.js.map +0 -1
- package/dist/chunk-BXKNGFX5.js +0 -5089
- package/dist/chunk-CBHZXVSI.js +0 -207
- package/dist/chunk-CGEAOUXW.js +0 -246
- package/dist/chunk-CGWLKFQF.js +0 -2580
- package/dist/chunk-CIDJMJ44.js +0 -380
- package/dist/chunk-CIDJMJ44.js.map +0 -1
- package/dist/chunk-CNLR3MVZ.js +0 -175
- package/dist/chunk-CPN7JXYV.js +0 -93
- package/dist/chunk-DDCDQ4BF.js +0 -2551
- package/dist/chunk-DK5L6E4G.js +0 -391
- package/dist/chunk-DMDJPQCR.js +0 -5903
- package/dist/chunk-DMDJPQCR.js.map +0 -1
- package/dist/chunk-DNNW2FSP.js +0 -256
- package/dist/chunk-DRPIGAMM.js +0 -4564
- package/dist/chunk-DUZZB4C6.js +0 -283
- package/dist/chunk-DWH35C5X.js +0 -56
- package/dist/chunk-DWW2MA3S.js +0 -278
- package/dist/chunk-E4NQIEA3.js +0 -85
- package/dist/chunk-E4SAFP76.js +0 -112
- package/dist/chunk-EO7NZKIX.js +0 -249
- package/dist/chunk-EQSANTUC.js +0 -84
- package/dist/chunk-EVHNQCEM.js +0 -214
- package/dist/chunk-EVRLHFIG.js +0 -187
- package/dist/chunk-FAVXYNTK.js +0 -67
- package/dist/chunk-FRDJUZ6E.js +0 -91
- package/dist/chunk-FWRKCWQO.js +0 -141
- package/dist/chunk-G65TM5FL.js +0 -166
- package/dist/chunk-G7TU7QDO.js +0 -432
- package/dist/chunk-GGIPEZLL.js +0 -849
- package/dist/chunk-GKA5LFYR.js +0 -21
- package/dist/chunk-GMQFRX2V.js +0 -406
- package/dist/chunk-HE5BTYPR.js +0 -37
- package/dist/chunk-HI6TPRY5.js +0 -1356
- package/dist/chunk-HLNSIXSJ.js +0 -357
- package/dist/chunk-HUKGLWAY.js +0 -174
- package/dist/chunk-HUTQJY3F.js +0 -23
- package/dist/chunk-HWDHA4KS.js +0 -137
- package/dist/chunk-HWDKTGNX.js +0 -1263
- package/dist/chunk-HWOJ7JSO.js +0 -20
- package/dist/chunk-HWOYJOKK.js +0 -266
- package/dist/chunk-HXVKXFIC.js +0 -56
- package/dist/chunk-HYVRYGY3.js +0 -270
- package/dist/chunk-I5ZTAMDP.js +0 -27
- package/dist/chunk-IGVRNMXK.js +0 -154
- package/dist/chunk-IHNCZONS.js +0 -230
- package/dist/chunk-IIUBCLH6.js +0 -437
- package/dist/chunk-IQKLWMIF.js +0 -373
- package/dist/chunk-IQWAFZGW.js +0 -191
- package/dist/chunk-J3GK2LZP.js +0 -292
- package/dist/chunk-J4OOKDRV.js +0 -40
- package/dist/chunk-JBNCFLMW.js +0 -3996
- package/dist/chunk-JBNCFLMW.js.map +0 -1
- package/dist/chunk-JY4ACIKP.js +0 -194
- package/dist/chunk-KDZ7WKYY.js +0 -192
- package/dist/chunk-KGTZGR4F.js +0 -172
- package/dist/chunk-KKIJYI7N.js +0 -351
- package/dist/chunk-KLOB3IXX.js +0 -175
- package/dist/chunk-KMZUIWL6.js +0 -107
- package/dist/chunk-KUYTRUIE.js +0 -214
- package/dist/chunk-KYDLVMKA.js +0 -99
- package/dist/chunk-KZQDP2JM.js +0 -155
- package/dist/chunk-L22AVXXW.js +0 -187
- package/dist/chunk-L5AQCKRR.js +0 -311
- package/dist/chunk-LG3WCCUT.js +0 -188
- package/dist/chunk-LRE7WH6D.js +0 -1095
- package/dist/chunk-LSQP22UI.js +0 -176
- package/dist/chunk-LTNBDO5B.js +0 -72
- package/dist/chunk-LUUFLV27.js +0 -113
- package/dist/chunk-M2KDPKQC.js +0 -126
- package/dist/chunk-M5FX5KH5.js +0 -629
- package/dist/chunk-MD27CX2K.js +0 -1022
- package/dist/chunk-MEUAI3B7.js +0 -199
- package/dist/chunk-MFYH4N6I.js +0 -650
- package/dist/chunk-MPW67ODY.js +0 -639
- package/dist/chunk-MRNOTVGF.js +0 -366
- package/dist/chunk-MTOWY5MX.js +0 -307
- package/dist/chunk-MVLHO6AU.js +0 -441
- package/dist/chunk-N4AHWDN2.js +0 -121
- package/dist/chunk-NABGUV6O.js +0 -48
- package/dist/chunk-NH6OLIQD.js +0 -1628
- package/dist/chunk-NKCK4LBK.js +0 -103
- package/dist/chunk-NNE73MK2.js +0 -1333
- package/dist/chunk-NPKFHO6N.js +0 -584
- package/dist/chunk-NRRRO3NJ.js +0 -851
- package/dist/chunk-NSLCRIQ6.js +0 -386
- package/dist/chunk-NUZNJSL5.js +0 -285
- package/dist/chunk-NYTKZQ2V.js +0 -234
- package/dist/chunk-O4UAH7WR.js +0 -427
- package/dist/chunk-O4UAH7WR.js.map +0 -1
- package/dist/chunk-OAEI3MUO.js +0 -50
- package/dist/chunk-OCWCZRVU.js +0 -3110
- package/dist/chunk-ODR2Q4JQ.js +0 -1236
- package/dist/chunk-ODWNT3XC.js +0 -3176
- package/dist/chunk-OE6XABJ3.js +0 -269
- package/dist/chunk-OEGJWY2U.js +0 -3851
- package/dist/chunk-OHJXHKQT.js +0 -162
- package/dist/chunk-OJE3WTHK.js +0 -391
- package/dist/chunk-OJNZTTQE.js +0 -353
- package/dist/chunk-OMYNOB7U.js +0 -124
- package/dist/chunk-OX234K6A.js +0 -1399
- package/dist/chunk-OYJ7KP6H.js +0 -1152
- package/dist/chunk-OZGG6TS7.js +0 -554
- package/dist/chunk-P5DGNIGZ.js +0 -773
- package/dist/chunk-PCSRHFRF.js +0 -75
- package/dist/chunk-PGDGX6PO.js +0 -178
- package/dist/chunk-PGMXITPB.js +0 -85
- package/dist/chunk-PHNLFMBS.js +0 -158
- package/dist/chunk-PJF47YJJ.js +0 -202
- package/dist/chunk-PMBZMVKE.js +0 -33
- package/dist/chunk-PNLVWZSM.js +0 -211
- package/dist/chunk-PQ7WJAKL.js +0 -74
- package/dist/chunk-PTLRNXWE.js +0 -200
- package/dist/chunk-PTSRBKQC.js +0 -118
- package/dist/chunk-PX64T6XV.js +0 -134
- package/dist/chunk-PYS63BC6.js +0 -138
- package/dist/chunk-QHPB7VSA.js +0 -111
- package/dist/chunk-QJQTLBT3.js +0 -73
- package/dist/chunk-QR74WLXN.js +0 -65
- package/dist/chunk-QZSIADFZ.js +0 -523
- package/dist/chunk-R2T4IUNB.js +0 -29
- package/dist/chunk-R6CFPY3F.js +0 -278
- package/dist/chunk-R6OBJ7LF.js +0 -131
- package/dist/chunk-R6WQLIFX.js +0 -73
- package/dist/chunk-R7QHNWYL.js +0 -1309
- package/dist/chunk-R7ZIFQ7D.js +0 -738
- package/dist/chunk-R7ZIFQ7D.js.map +0 -1
- package/dist/chunk-RCKXQ2RY.js +0 -3070
- package/dist/chunk-RCN3SVJC.js +0 -211
- package/dist/chunk-RDTZN6HR.js +0 -372
- package/dist/chunk-RET43Z3F.js +0 -43
- package/dist/chunk-REUQ464X.js +0 -898
- package/dist/chunk-RIOTQESW.js +0 -107
- package/dist/chunk-RPJC2JCE.js +0 -209
- package/dist/chunk-RT2GW3LO.js +0 -10035
- package/dist/chunk-RT2GW3LO.js.map +0 -1
- package/dist/chunk-RULIWGQ6.js +0 -2984
- package/dist/chunk-RWZ5XML5.js +0 -103
- package/dist/chunk-RYWPD5WU.js +0 -572
- package/dist/chunk-RYYBQ4PW.js +0 -129
- package/dist/chunk-S44ADSZG.js +0 -236
- package/dist/chunk-SB3LGY34.js +0 -27
- package/dist/chunk-SG4FA5CX.js +0 -33
- package/dist/chunk-SMCHRNUL.js +0 -129
- package/dist/chunk-SMSEI6VH.js +0 -184
- package/dist/chunk-SNACGK3Z.js +0 -177
- package/dist/chunk-SOZTO34S.js +0 -2553
- package/dist/chunk-SP7XRRGB.js +0 -428
- package/dist/chunk-STA75WRF.js +0 -383
- package/dist/chunk-SUO5NPEX.js +0 -318
- package/dist/chunk-T2NC7ALH.js +0 -333
- package/dist/chunk-T3OUZVHU.js +0 -250
- package/dist/chunk-T4YOQ6DF.js +0 -789
- package/dist/chunk-TGG3ODCS.js +0 -99
- package/dist/chunk-TLR2SX7T.js +0 -2317
- package/dist/chunk-TXCGPEWC.js +0 -243
- package/dist/chunk-TXCGPEWC.js.map +0 -1
- package/dist/chunk-TZGJPDZL.js +0 -259
- package/dist/chunk-U7KNZEMU.js +0 -271
- package/dist/chunk-UDDZDC2Q.js +0 -772
- package/dist/chunk-UFIETNB2.js +0 -469
- package/dist/chunk-UFRXYZCJ.js +0 -125
- package/dist/chunk-UILJ5INQ.js +0 -170
- package/dist/chunk-UJ4DLPYG.js +0 -449
- package/dist/chunk-UKDLZ76A.js +0 -2434
- package/dist/chunk-UMYCZQSL.js +0 -1870
- package/dist/chunk-UPRN4FBY.js +0 -38
- package/dist/chunk-UQBYKWGG.js +0 -311
- package/dist/chunk-UQR5RZ5I.js +0 -218
- package/dist/chunk-UWPSCSIZ.js +0 -57
- package/dist/chunk-UYLO2JP2.js +0 -158
- package/dist/chunk-V2YSF3MJ.js +0 -114
- package/dist/chunk-VAJQQKSG.js +0 -283
- package/dist/chunk-VDHWFRTL.js +0 -58
- package/dist/chunk-VLDKWGHD.js +0 -61
- package/dist/chunk-VLODMRE3.js +0 -138
- package/dist/chunk-VM6BM3NV.js +0 -389
- package/dist/chunk-VRVB2XSO.js +0 -117
- package/dist/chunk-W2PBDF4F.js +0 -231
- package/dist/chunk-W7BNYXRT.js +0 -296
- package/dist/chunk-WCA777NS.js +0 -1187
- package/dist/chunk-WDDAHRBC.js +0 -404
- package/dist/chunk-WEXKKIPB.js +0 -1024
- package/dist/chunk-WG7OVUCV.js +0 -401
- package/dist/chunk-WMW4AXVG.js +0 -570
- package/dist/chunk-WRMMZYZC.js +0 -931
- package/dist/chunk-WYICOILE.js +0 -50
- package/dist/chunk-WYNXSYTH.js +0 -532
- package/dist/chunk-X62OJCQW.js +0 -234
- package/dist/chunk-XBFNNP6B.js +0 -608
- package/dist/chunk-XDXPGA3N.js +0 -850
- package/dist/chunk-XDXPGA3N.js.map +0 -1
- package/dist/chunk-XFP3AIZO.js +0 -247
- package/dist/chunk-XSL5GKL3.js +0 -110
- package/dist/chunk-XVXYLCSC.js +0 -82
- package/dist/chunk-XX2J7H2J.js +0 -196
- package/dist/chunk-Y6CNWBV3.js +0 -264
- package/dist/chunk-YEFIICAN.js +0 -46
- package/dist/chunk-YJBRNXFL.js +0 -1184
- package/dist/chunk-YP4SNX4P.js +0 -220
- package/dist/chunk-YQ6AYWGT.js +0 -162
- package/dist/chunk-YWKJSF3R.js +0 -396
- package/dist/chunk-Z3EQ3XBB.js +0 -114
- package/dist/chunk-ZD67RM6G.js +0 -60
- package/dist/chunk-ZMCVED5L.js +0 -1185
- package/dist/chunk-ZOTNM76R.js +0 -42
- package/dist/chunk-ZP7BJXQ5.js +0 -113
- package/dist/chunk-ZRNDPAED.js +0 -274
- package/dist/chunk-ZUQKQP3T.js +0 -251
- package/dist/chunk-ZVT2KQTH.js +0 -48
- package/dist/chunk-ZXDIEGD5.js +0 -1019
- package/dist/computer-viewer-KLRAA56S.js +0 -21
- package/dist/connection-step-up-PWIIW3KK.js +0 -145
- package/dist/embedded-new-voice-P2RCFI3X.js +0 -25
- package/dist/embedded-voice-HY5F4D2I.js +0 -25
- package/dist/fleet-decision-row-UEXT7NAN.js +0 -361
- package/dist/model-policy-picker-menu-AAGNLTEG.js +0 -23
- package/dist/payment-page-card-MHTYJHCW.js +0 -226
- package/dist/platform-activity-row-7VAPGRZQ.js +0 -156
- package/dist/queue-surface-implementation-AE5P3PSA.js +0 -932
- package/dist/recorder-host-I53BQIRX.js +0 -80
- package/dist/sandbox-files-LGE7EDX2.js +0 -28
- package/dist/session-connect-cards-QNL7WRKJ.js +0 -27
- package/dist/session-realtime-ZMXMK5EV.js +0 -30
- package/dist/timeline-annotation-markers-5RICTVVW.js +0 -157
- package/dist/timeline-annotation-selection-ITAHBOFW.js +0 -208
- package/dist/timeline-annotations-dialog-7PGBTPVD.js +0 -283
- /package/dist/{browser-viewer-5DCULGWS.js.map → browser-viewer-EIEMRVFF.js.map} +0 -0
- /package/dist/{chat-interactive-block-ISMUKH3P.js.map → chat-interactive-block-FV37LWYZ.js.map} +0 -0
- /package/dist/{chunk-3AXHBU7K.js.map → chunk-2COBAJC7.js.map} +0 -0
- /package/dist/{chunk-UILJ5INQ.js.map → chunk-2HS3IUXE.js.map} +0 -0
- /package/dist/{chunk-W7BNYXRT.js.map → chunk-2JTMFYCT.js.map} +0 -0
- /package/dist/{chunk-V2YSF3MJ.js.map → chunk-2JXKP4M6.js.map} +0 -0
- /package/dist/{chunk-OE6XABJ3.js.map → chunk-2P5K7CBH.js.map} +0 -0
- /package/dist/{chunk-T3OUZVHU.js.map → chunk-2XGRHMRI.js.map} +0 -0
- /package/dist/{chunk-QR74WLXN.js.map → chunk-332BYSAZ.js.map} +0 -0
- /package/dist/{chunk-UYLO2JP2.js.map → chunk-3EM5GTP3.js.map} +0 -0
- /package/dist/{chunk-73P7NEOX.js.map → chunk-3L5ATO4A.js.map} +0 -0
- /package/dist/{chunk-RIOTQESW.js.map → chunk-3S3PJB7J.js.map} +0 -0
- /package/dist/{chunk-HYVRYGY3.js.map → chunk-3SBKYPNM.js.map} +0 -0
- /package/dist/{chunk-6QDXVH45.js.map → chunk-3Z7VA6ET.js.map} +0 -0
- /package/dist/{chunk-CBHZXVSI.js.map → chunk-43BRJBEV.js.map} +0 -0
- /package/dist/{chunk-LG3WCCUT.js.map → chunk-46LZO4ZO.js.map} +0 -0
- /package/dist/{chunk-UPRN4FBY.js.map → chunk-46ZC5VNC.js.map} +0 -0
- /package/dist/{chunk-4ZCTHNOA.js.map → chunk-4AH4EEHE.js.map} +0 -0
- /package/dist/{chunk-3B4D4BV7.js.map → chunk-4D3YJNVN.js.map} +0 -0
- /package/dist/{chunk-HE5BTYPR.js.map → chunk-4I4RTI4D.js.map} +0 -0
- /package/dist/{chunk-4YXA5UO3.js.map → chunk-4KASGJTF.js.map} +0 -0
- /package/dist/{chunk-HWDKTGNX.js.map → chunk-4RUKLIOF.js.map} +0 -0
- /package/dist/{chunk-MFYH4N6I.js.map → chunk-4UU7FN3I.js.map} +0 -0
- /package/dist/{chunk-DDCDQ4BF.js.map → chunk-4ZRNASBF.js.map} +0 -0
- /package/dist/{chunk-BOCDCQYX.js.map → chunk-5EJBPQI2.js.map} +0 -0
- /package/dist/{chunk-RPJC2JCE.js.map → chunk-5G4IGG7F.js.map} +0 -0
- /package/dist/{chunk-AZC5P5PV.js.map → chunk-5JAYZOAW.js.map} +0 -0
- /package/dist/{chunk-T4YOQ6DF.js.map → chunk-5JOKVDSR.js.map} +0 -0
- /package/dist/{chunk-ODR2Q4JQ.js.map → chunk-5MP3G7ZV.js.map} +0 -0
- /package/dist/{chunk-ZOTNM76R.js.map → chunk-5OVRMKP5.js.map} +0 -0
- /package/dist/{chunk-YJBRNXFL.js.map → chunk-5SGTRULO.js.map} +0 -0
- /package/dist/{chunk-RYWPD5WU.js.map → chunk-5SOL4INY.js.map} +0 -0
- /package/dist/{chunk-SB3LGY34.js.map → chunk-5Y34P32B.js.map} +0 -0
- /package/dist/{chunk-LTNBDO5B.js.map → chunk-62HIKJ5F.js.map} +0 -0
- /package/dist/{chunk-HWOYJOKK.js.map → chunk-62T2ZPD5.js.map} +0 -0
- /package/dist/{chunk-NSLCRIQ6.js.map → chunk-63VNZRLY.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-4DW5QEAP.js.map → chunk-6DOIINY4.js.map} +0 -0
- /package/dist/{chunk-E4SAFP76.js.map → chunk-6DQBUKGJ.js.map} +0 -0
- /package/dist/{chunk-OX234K6A.js.map → chunk-6SETNFNH.js.map} +0 -0
- /package/dist/{chunk-HXVKXFIC.js.map → chunk-6XYFMHNT.js.map} +0 -0
- /package/dist/{chunk-SG4FA5CX.js.map → chunk-6YU3WV2P.js.map} +0 -0
- /package/dist/{chunk-KKIJYI7N.js.map → chunk-6YUHDFOZ.js.map} +0 -0
- /package/dist/{chunk-ZMCVED5L.js.map → chunk-72EOXOR7.js.map} +0 -0
- /package/dist/{chunk-WYNXSYTH.js.map → chunk-72ND4ALI.js.map} +0 -0
- /package/dist/{chunk-DUZZB4C6.js.map → chunk-757LE32E.js.map} +0 -0
- /package/dist/{chunk-VLODMRE3.js.map → chunk-7S2S4MXR.js.map} +0 -0
- /package/dist/{chunk-PTLRNXWE.js.map → chunk-7SYCHMXS.js.map} +0 -0
- /package/dist/{chunk-BXKNGFX5.js.map → chunk-7TVAPQOV.js.map} +0 -0
- /package/dist/{chunk-EVHNQCEM.js.map → chunk-7UDLRDHK.js.map} +0 -0
- /package/dist/{chunk-HLNSIXSJ.js.map → chunk-7YLQCMZP.js.map} +0 -0
- /package/dist/{chunk-GGIPEZLL.js.map → chunk-A5GX3CAE.js.map} +0 -0
- /package/dist/{chunk-SUO5NPEX.js.map → chunk-A7EBV2EB.js.map} +0 -0
- /package/dist/{chunk-Z3EQ3XBB.js.map → chunk-AB5SPXUR.js.map} +0 -0
- /package/dist/{chunk-PJF47YJJ.js.map → chunk-AHVQGL5A.js.map} +0 -0
- /package/dist/{chunk-3Y2VSFYS.js.map → chunk-AI77ZKEV.js.map} +0 -0
- /package/dist/{chunk-ZXDIEGD5.js.map → chunk-AIX2D6RB.js.map} +0 -0
- /package/dist/{chunk-KDZ7WKYY.js.map → chunk-AVSIHP7Q.js.map} +0 -0
- /package/dist/{chunk-37J33BLN.js.map → chunk-AWK23Q32.js.map} +0 -0
- /package/dist/{chunk-G7TU7QDO.js.map → chunk-AYVWA6KD.js.map} +0 -0
- /package/dist/{chunk-SOZTO34S.js.map → chunk-AYZXE4IM.js.map} +0 -0
- /package/dist/{chunk-OMYNOB7U.js.map → chunk-AZGGSPTE.js.map} +0 -0
- /package/dist/{chunk-WRMMZYZC.js.map → chunk-B45TB4HY.js.map} +0 -0
- /package/dist/{chunk-YEFIICAN.js.map → chunk-BIUJHNVR.js.map} +0 -0
- /package/dist/{chunk-NYTKZQ2V.js.map → chunk-BJUOKUE5.js.map} +0 -0
- /package/dist/{chunk-J3GK2LZP.js.map → chunk-BPEEVMKH.js.map} +0 -0
- /package/dist/{chunk-PQ7WJAKL.js.map → chunk-BPHPAGYF.js.map} +0 -0
- /package/dist/{chunk-MTOWY5MX.js.map → chunk-BXMND6YU.js.map} +0 -0
- /package/dist/{chunk-VRVB2XSO.js.map → chunk-C6OM2SRG.js.map} +0 -0
- /package/dist/{chunk-R7QHNWYL.js.map → chunk-CIRCUDKF.js.map} +0 -0
- /package/dist/{chunk-3EQMXU5V.js.map → chunk-CLKR4UG3.js.map} +0 -0
- /package/dist/{chunk-OZGG6TS7.js.map → chunk-CPX6BHER.js.map} +0 -0
- /package/dist/{chunk-KZQDP2JM.js.map → chunk-CVC4RO7D.js.map} +0 -0
- /package/dist/{chunk-NKCK4LBK.js.map → chunk-D3YJAQGK.js.map} +0 -0
- /package/dist/{chunk-WEXKKIPB.js.map → chunk-DFQ72BLS.js.map} +0 -0
- /package/dist/{chunk-DRPIGAMM.js.map → chunk-DG65PJOZ.js.map} +0 -0
- /package/dist/{chunk-GMQFRX2V.js.map → chunk-DNAXAS5R.js.map} +0 -0
- /package/dist/{chunk-CNLR3MVZ.js.map → chunk-DO247ITS.js.map} +0 -0
- /package/dist/{chunk-IGVRNMXK.js.map → chunk-DONBARLL.js.map} +0 -0
- /package/dist/{chunk-IQKLWMIF.js.map → chunk-DTLXQ3ZU.js.map} +0 -0
- /package/dist/{chunk-ZRNDPAED.js.map → chunk-EAXTACI4.js.map} +0 -0
- /package/dist/{chunk-5G55HNJB.js.map → chunk-EDPH7AJH.js.map} +0 -0
- /package/dist/{chunk-BKYHS4IH.js.map → chunk-EFKQHCGJ.js.map} +0 -0
- /package/dist/{chunk-22NKV5QE.js.map → chunk-EILSPMVD.js.map} +0 -0
- /package/dist/{chunk-PNLVWZSM.js.map → chunk-EK7KIETS.js.map} +0 -0
- /package/dist/{chunk-IIUBCLH6.js.map → chunk-EMWT6GOK.js.map} +0 -0
- /package/dist/{chunk-TZGJPDZL.js.map → chunk-EO22NST7.js.map} +0 -0
- /package/dist/{chunk-DNNW2FSP.js.map → chunk-ER5MYLIE.js.map} +0 -0
- /package/dist/{chunk-2XQFDRP6.js.map → chunk-ES5HKVQF.js.map} +0 -0
- /package/dist/{chunk-QHPB7VSA.js.map → chunk-F26YBYAZ.js.map} +0 -0
- /package/dist/{chunk-3YLXGP2I.js.map → chunk-F6QP4GSK.js.map} +0 -0
- /package/dist/{chunk-NRRRO3NJ.js.map → chunk-F7QEO7M2.js.map} +0 -0
- /package/dist/{chunk-6TBA45QF.js.map → chunk-FJFGDLXB.js.map} +0 -0
- /package/dist/{chunk-LUUFLV27.js.map → chunk-FLLJ2WXW.js.map} +0 -0
- /package/dist/{chunk-KMZUIWL6.js.map → chunk-FMBJKMT4.js.map} +0 -0
- /package/dist/{chunk-7QORJTVI.js.map → chunk-FPN4I4CG.js.map} +0 -0
- /package/dist/{chunk-RCKXQ2RY.js.map → chunk-FUXFJTXL.js.map} +0 -0
- /package/dist/{chunk-5AHIKB3O.js.map → chunk-FXFOKD7A.js.map} +0 -0
- /package/dist/{chunk-PHNLFMBS.js.map → chunk-G6SSSX5R.js.map} +0 -0
- /package/dist/{chunk-XBFNNP6B.js.map → chunk-GBGCMHBB.js.map} +0 -0
- /package/dist/{chunk-HUKGLWAY.js.map → chunk-GIHE7U3Y.js.map} +0 -0
- /package/dist/{chunk-RDTZN6HR.js.map → chunk-GJ4GTYOD.js.map} +0 -0
- /package/dist/{chunk-BPD6VRVH.js.map → chunk-GLSDWNFV.js.map} +0 -0
- /package/dist/{chunk-DWW2MA3S.js.map → chunk-GMGAW3T6.js.map} +0 -0
- /package/dist/{chunk-RET43Z3F.js.map → chunk-GNGI6XFN.js.map} +0 -0
- /package/dist/{chunk-Y6CNWBV3.js.map → chunk-GO5VIAA7.js.map} +0 -0
- /package/dist/{chunk-BOP5TAUU.js.map → chunk-GSW4YHZE.js.map} +0 -0
- /package/dist/{chunk-644P2VLV.js.map → chunk-GUC6IWEY.js.map} +0 -0
- /package/dist/{chunk-4AUUNEQY.js.map → chunk-GWAY3SO5.js.map} +0 -0
- /package/dist/{chunk-4TTWUMDP.js.map → chunk-GXOTNT5D.js.map} +0 -0
- /package/dist/{chunk-OEGJWY2U.js.map → chunk-GZZCVF76.js.map} +0 -0
- /package/dist/{chunk-KUYTRUIE.js.map → chunk-H4VMHFOX.js.map} +0 -0
- /package/dist/{chunk-XSL5GKL3.js.map → chunk-HA5RFQAF.js.map} +0 -0
- /package/dist/{chunk-PTSRBKQC.js.map → chunk-HFROJDFQ.js.map} +0 -0
- /package/dist/{chunk-YP4SNX4P.js.map → chunk-HHFFPE67.js.map} +0 -0
- /package/dist/{chunk-RWZ5XML5.js.map → chunk-HJLHGXWL.js.map} +0 -0
- /package/dist/{chunk-RULIWGQ6.js.map → chunk-HKNMNL7B.js.map} +0 -0
- /package/dist/{chunk-AO27D7GY.js.map → chunk-HT7MBHLY.js.map} +0 -0
- /package/dist/{chunk-NPKFHO6N.js.map → chunk-I5FSUZVW.js.map} +0 -0
- /package/dist/{chunk-AXBSHKRP.js.map → chunk-IINQO425.js.map} +0 -0
- /package/dist/{chunk-MD27CX2K.js.map → chunk-IIXNEOK4.js.map} +0 -0
- /package/dist/{chunk-UQBYKWGG.js.map → chunk-IM3WA5AL.js.map} +0 -0
- /package/dist/{chunk-BJNSS4UV.js.map → chunk-IX4P4OGR.js.map} +0 -0
- /package/dist/{chunk-SMCHRNUL.js.map → chunk-IX5VHZYS.js.map} +0 -0
- /package/dist/{chunk-BSAKPNKY.js.map → chunk-JB3TSUZO.js.map} +0 -0
- /package/dist/{chunk-I5ZTAMDP.js.map → chunk-JIC6RLUB.js.map} +0 -0
- /package/dist/{chunk-KGTZGR4F.js.map → chunk-JNJIZCTN.js.map} +0 -0
- /package/dist/{chunk-7CLQ7RQV.js.map → chunk-JNV5ZPUV.js.map} +0 -0
- /package/dist/{chunk-OAEI3MUO.js.map → chunk-JPQFVR24.js.map} +0 -0
- /package/dist/{chunk-NNE73MK2.js.map → chunk-JPZVMXDP.js.map} +0 -0
- /package/dist/{chunk-3SKJO525.js.map → chunk-JVPF34MX.js.map} +0 -0
- /package/dist/{chunk-E4NQIEA3.js.map → chunk-KED67KAF.js.map} +0 -0
- /package/dist/{chunk-4T2KWNYX.js.map → chunk-KJ72GMZ2.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-EO7NZKIX.js.map → chunk-KXBLLFOO.js.map} +0 -0
- /package/dist/{chunk-VLDKWGHD.js.map → chunk-L6WVCO6D.js.map} +0 -0
- /package/dist/{chunk-QJQTLBT3.js.map → chunk-LPEFULJY.js.map} +0 -0
- /package/dist/{chunk-52BUMJQB.js.map → chunk-LRMGPO7E.js.map} +0 -0
- /package/dist/{chunk-N4AHWDN2.js.map → chunk-LVKTKORH.js.map} +0 -0
- /package/dist/{chunk-TGG3ODCS.js.map → chunk-MCPKUVMQ.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-KLOB3IXX.js.map → chunk-MIUMNTIJ.js.map} +0 -0
- /package/dist/{chunk-ZP7BJXQ5.js.map → chunk-ML46TXRM.js.map} +0 -0
- /package/dist/{chunk-M5FX5KH5.js.map → chunk-MO3XJQN2.js.map} +0 -0
- /package/dist/{chunk-UQR5RZ5I.js.map → chunk-MQRHTOQ2.js.map} +0 -0
- /package/dist/{chunk-5ERDSF2C.js.map → chunk-MVYQDBE6.js.map} +0 -0
- /package/dist/{chunk-XX2J7H2J.js.map → chunk-NPBEUU22.js.map} +0 -0
- /package/dist/{chunk-PGDGX6PO.js.map → chunk-NSXKGS2K.js.map} +0 -0
- /package/dist/{chunk-TLR2SX7T.js.map → chunk-NUEFORM6.js.map} +0 -0
- /package/dist/{chunk-LSQP22UI.js.map → chunk-NZOFNQNC.js.map} +0 -0
- /package/dist/{chunk-RCN3SVJC.js.map → chunk-OATXCLTY.js.map} +0 -0
- /package/dist/{chunk-53ZK2JFE.js.map → chunk-OG3ELROW.js.map} +0 -0
- /package/dist/{chunk-YQ6AYWGT.js.map → chunk-OI4WS7FW.js.map} +0 -0
- /package/dist/{chunk-XVXYLCSC.js.map → chunk-OITGZUDC.js.map} +0 -0
- /package/dist/{chunk-T2NC7ALH.js.map → chunk-OKD2LBMK.js.map} +0 -0
- /package/dist/{chunk-PX64T6XV.js.map → chunk-OSA4CGST.js.map} +0 -0
- /package/dist/{chunk-WG7OVUCV.js.map → chunk-OXYAKUFU.js.map} +0 -0
- /package/dist/{chunk-YWKJSF3R.js.map → chunk-OYMSMU5O.js.map} +0 -0
- /package/dist/{chunk-OHJXHKQT.js.map → chunk-P4NZ72KY.js.map} +0 -0
- /package/dist/{chunk-4D4XXJJJ.js.map → chunk-PBYL2VIM.js.map} +0 -0
- /package/dist/{chunk-7M57K6K5.js.map → chunk-PDW3OOSZ.js.map} +0 -0
- /package/dist/{chunk-QZSIADFZ.js.map → chunk-PGRKTQIW.js.map} +0 -0
- /package/dist/{chunk-4PG2BEQA.js.map → chunk-PPQJIVGM.js.map} +0 -0
- /package/dist/{chunk-UFRXYZCJ.js.map → chunk-PYMQM65Y.js.map} +0 -0
- /package/dist/{chunk-G65TM5FL.js.map → chunk-Q273Q33U.js.map} +0 -0
- /package/dist/{chunk-62AHHCFV.js.map → chunk-Q4CLS2HL.js.map} +0 -0
- /package/dist/{chunk-PGMXITPB.js.map → chunk-QA5UNVHD.js.map} +0 -0
- /package/dist/{chunk-SP7XRRGB.js.map → chunk-QFOBUA2J.js.map} +0 -0
- /package/dist/{chunk-LRE7WH6D.js.map → chunk-QLIM4D56.js.map} +0 -0
- /package/dist/{chunk-HWOJ7JSO.js.map → chunk-QMQF5U2D.js.map} +0 -0
- /package/dist/{chunk-J4OOKDRV.js.map → chunk-QNOWKKZ4.js.map} +0 -0
- /package/dist/{chunk-ATQ3O5E6.js.map → chunk-QPOUPVPD.js.map} +0 -0
- /package/dist/{chunk-ZVT2KQTH.js.map → chunk-QTJAQ6DS.js.map} +0 -0
- /package/dist/{chunk-WDDAHRBC.js.map → chunk-QUOFP3G7.js.map} +0 -0
- /package/dist/{chunk-R2T4IUNB.js.map → chunk-QVOTPOXK.js.map} +0 -0
- /package/dist/{chunk-SMSEI6VH.js.map → chunk-QYZ5RVGM.js.map} +0 -0
- /package/dist/{chunk-CGWLKFQF.js.map → chunk-R7CVDKRN.js.map} +0 -0
- /package/dist/{chunk-MPW67ODY.js.map → chunk-RB7MXNZD.js.map} +0 -0
- /package/dist/{chunk-EVRLHFIG.js.map → chunk-RDZQFZOQ.js.map} +0 -0
- /package/dist/{chunk-JY4ACIKP.js.map → chunk-RIHKEGWS.js.map} +0 -0
- /package/dist/{chunk-UWPSCSIZ.js.map → chunk-ROSB7GF6.js.map} +0 -0
- /package/dist/{chunk-2O5EDTVB.js.map → chunk-RP3YMYCX.js.map} +0 -0
- /package/dist/{chunk-U7KNZEMU.js.map → chunk-RPHXJHNX.js.map} +0 -0
- /package/dist/{chunk-IQWAFZGW.js.map → chunk-RVC3M66H.js.map} +0 -0
- /package/dist/{chunk-VAJQQKSG.js.map → chunk-S3OTJAAC.js.map} +0 -0
- /package/dist/{chunk-DWH35C5X.js.map → chunk-SBWPMVRN.js.map} +0 -0
- /package/dist/{chunk-PYS63BC6.js.map → chunk-SERECSAR.js.map} +0 -0
- /package/dist/{chunk-L22AVXXW.js.map → chunk-SHSEF3GJ.js.map} +0 -0
- /package/dist/{chunk-UDDZDC2Q.js.map → chunk-SMS2M3RG.js.map} +0 -0
- /package/dist/{chunk-SNACGK3Z.js.map → chunk-SRDHDIRQ.js.map} +0 -0
- /package/dist/{chunk-VM6BM3NV.js.map → chunk-SXRYA7NN.js.map} +0 -0
- /package/dist/{chunk-WCA777NS.js.map → chunk-SYA3WYG4.js.map} +0 -0
- /package/dist/{chunk-HUTQJY3F.js.map → chunk-SYYFA7W7.js.map} +0 -0
- /package/dist/{chunk-5ABIZ7YT.js.map → chunk-T2QDSTBH.js.map} +0 -0
- /package/dist/{chunk-ZUQKQP3T.js.map → chunk-TFSCGFYV.js.map} +0 -0
- /package/dist/{chunk-CGEAOUXW.js.map → chunk-TGCKZOSX.js.map} +0 -0
- /package/dist/{chunk-4WKITG7P.js.map → chunk-THILLYQM.js.map} +0 -0
- /package/dist/{chunk-34XY4PWB.js.map → chunk-TI6LGUEZ.js.map} +0 -0
- /package/dist/{chunk-MRNOTVGF.js.map → chunk-TSY6YZL2.js.map} +0 -0
- /package/dist/{chunk-3Y7IJPHB.js.map → chunk-TW2RHTLH.js.map} +0 -0
- /package/dist/{chunk-FWRKCWQO.js.map → chunk-TWA5G277.js.map} +0 -0
- /package/dist/{chunk-XFP3AIZO.js.map → chunk-TZZ2S4XI.js.map} +0 -0
- /package/dist/{chunk-VDHWFRTL.js.map → chunk-U5D3K53R.js.map} +0 -0
- /package/dist/{chunk-5DEP55DK.js.map → chunk-UECD27LX.js.map} +0 -0
- /package/dist/{chunk-ABO54U65.js.map → chunk-UFJDETKG.js.map} +0 -0
- /package/dist/{chunk-WMW4AXVG.js.map → chunk-UHCFYX4I.js.map} +0 -0
- /package/dist/{chunk-REUQ464X.js.map → chunk-UHTURYJO.js.map} +0 -0
- /package/dist/{chunk-FAVXYNTK.js.map → chunk-UJH63JT3.js.map} +0 -0
- /package/dist/{chunk-OYJ7KP6H.js.map → chunk-UOLDS6S5.js.map} +0 -0
- /package/dist/{chunk-EQSANTUC.js.map → chunk-UUE3OGXI.js.map} +0 -0
- /package/dist/{chunk-OJE3WTHK.js.map → chunk-UUNJ2E57.js.map} +0 -0
- /package/dist/{chunk-MEUAI3B7.js.map → chunk-UYQVWRAH.js.map} +0 -0
- /package/dist/{chunk-X62OJCQW.js.map → chunk-UYWVK7JQ.js.map} +0 -0
- /package/dist/{chunk-M2KDPKQC.js.map → chunk-UYWWUEL4.js.map} +0 -0
- /package/dist/{chunk-NABGUV6O.js.map → chunk-V4CQKX5H.js.map} +0 -0
- /package/dist/{chunk-ODWNT3XC.js.map → chunk-V4QM7GDQ.js.map} +0 -0
- /package/dist/{chunk-FRDJUZ6E.js.map → chunk-V5Y74WII.js.map} +0 -0
- /package/dist/{chunk-RYYBQ4PW.js.map → chunk-VGGZLUQK.js.map} +0 -0
- /package/dist/{chunk-L5AQCKRR.js.map → chunk-VGX636MB.js.map} +0 -0
- /package/dist/{chunk-P5DGNIGZ.js.map → chunk-VGZLFQO2.js.map} +0 -0
- /package/dist/{chunk-HWDHA4KS.js.map → chunk-VJWZATNF.js.map} +0 -0
- /package/dist/{chunk-WYICOILE.js.map → chunk-VMWCIC2N.js.map} +0 -0
- /package/dist/{chunk-3QUDVXDR.js.map → chunk-VPWKTIU5.js.map} +0 -0
- /package/dist/{chunk-UFIETNB2.js.map → chunk-VXOLG6YB.js.map} +0 -0
- /package/dist/{chunk-NH6OLIQD.js.map → chunk-W2NAU5VB.js.map} +0 -0
- /package/dist/{chunk-OJNZTTQE.js.map → chunk-WGORKMR3.js.map} +0 -0
- /package/dist/{chunk-DK5L6E4G.js.map → chunk-WMIDELSJ.js.map} +0 -0
- /package/dist/{chunk-STA75WRF.js.map → chunk-WSOSGL2G.js.map} +0 -0
- /package/dist/{chunk-2R7AOT3Y.js.map → chunk-WXUUOM4X.js.map} +0 -0
- /package/dist/{chunk-UMYCZQSL.js.map → chunk-X2OWM2ME.js.map} +0 -0
- /package/dist/{chunk-B6YDINPE.js.map → chunk-X6UMGG4T.js.map} +0 -0
- /package/dist/{chunk-CPN7JXYV.js.map → chunk-XDXKB25W.js.map} +0 -0
- /package/dist/{chunk-W2PBDF4F.js.map → chunk-XE4PHI74.js.map} +0 -0
- /package/dist/{chunk-R6WQLIFX.js.map → chunk-XHF2XNU5.js.map} +0 -0
- /package/dist/{chunk-IHNCZONS.js.map → chunk-XLJ4SQFS.js.map} +0 -0
- /package/dist/{chunk-UKDLZ76A.js.map → chunk-XOD4FX6M.js.map} +0 -0
- /package/dist/{chunk-OCWCZRVU.js.map → chunk-XODQ2GPF.js.map} +0 -0
- /package/dist/{chunk-MVLHO6AU.js.map → chunk-XT54RTAM.js.map} +0 -0
- /package/dist/{chunk-R6OBJ7LF.js.map → chunk-YAVW5OJ5.js.map} +0 -0
- /package/dist/{chunk-4SW3EUNM.js.map → chunk-YDQHFJM2.js.map} +0 -0
- /package/dist/{chunk-HI6TPRY5.js.map → chunk-YH6O6OQ6.js.map} +0 -0
- /package/dist/{chunk-25SCFA2X.js.map → chunk-YIKPC2QP.js.map} +0 -0
- /package/dist/{chunk-4KF5I3H5.js.map → chunk-ZD7PKYC4.js.map} +0 -0
- /package/dist/{chunk-ANCI6T7S.js.map → chunk-ZEQYHEWP.js.map} +0 -0
- /package/dist/{chunk-GKA5LFYR.js.map → chunk-ZP3QCPYG.js.map} +0 -0
- /package/dist/{chunk-6Y3EFN4Q.js.map → chunk-ZRVUCTSI.js.map} +0 -0
- /package/dist/{chunk-UJ4DLPYG.js.map → chunk-ZSI3ITRK.js.map} +0 -0
- /package/dist/{chunk-S44ADSZG.js.map → chunk-ZZMEQCIZ.js.map} +0 -0
- /package/dist/{computer-viewer-KLRAA56S.js.map → computer-viewer-ZBY3BPYW.js.map} +0 -0
- /package/dist/{connection-step-up-PWIIW3KK.js.map → connection-step-up-JQ4OFSQN.js.map} +0 -0
- /package/dist/{embedded-new-voice-P2RCFI3X.js.map → embedded-new-voice-ZB5XLKLU.js.map} +0 -0
- /package/dist/{embedded-voice-HY5F4D2I.js.map → embedded-voice-MZJISDCS.js.map} +0 -0
- /package/dist/{fleet-decision-row-UEXT7NAN.js.map → fleet-decision-row-LG3SYVR3.js.map} +0 -0
- /package/dist/{model-policy-picker-menu-AAGNLTEG.js.map → model-policy-picker-menu-5Y72PLNF.js.map} +0 -0
- /package/dist/{payment-page-card-MHTYJHCW.js.map → payment-page-card-YPSXRHBA.js.map} +0 -0
- /package/dist/{platform-activity-row-7VAPGRZQ.js.map → platform-activity-row-ZU4MEBNK.js.map} +0 -0
- /package/dist/{queue-surface-implementation-AE5P3PSA.js.map → queue-surface-implementation-6Q25RPH6.js.map} +0 -0
- /package/dist/{recorder-host-I53BQIRX.js.map → recorder-host-JD4GWJ2Z.js.map} +0 -0
- /package/dist/{sandbox-files-LGE7EDX2.js.map → sandbox-files-HCLEEJMU.js.map} +0 -0
- /package/dist/{session-connect-cards-QNL7WRKJ.js.map → session-connect-cards-DRKEN3Z4.js.map} +0 -0
- /package/dist/{session-realtime-ZMXMK5EV.js.map → session-realtime-IZOTTRH6.js.map} +0 -0
- /package/dist/{timeline-annotation-markers-5RICTVVW.js.map → timeline-annotation-markers-WWXNJOXI.js.map} +0 -0
- /package/dist/{timeline-annotation-selection-ITAHBOFW.js.map → timeline-annotation-selection-ZKRIQFIQ.js.map} +0 -0
- /package/dist/{timeline-annotations-dialog-7PGBTPVD.js.map → timeline-annotations-dialog-4IMKTOXJ.js.map} +0 -0
package/dist/chunk-REUQ464X.js
DELETED
|
@@ -1,898 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
displayImageSrc
|
|
4
|
-
} from "./chunk-S5ORWTCJ.js";
|
|
5
|
-
import {
|
|
6
|
-
Button
|
|
7
|
-
} from "./chunk-7QQN3KNP.js";
|
|
8
|
-
import {
|
|
9
|
-
containedPortal
|
|
10
|
-
} from "./chunk-UD6AAZSC.js";
|
|
11
|
-
import {
|
|
12
|
-
usePortalTokenStyle
|
|
13
|
-
} from "./chunk-XEA5BCMA.js";
|
|
14
|
-
import {
|
|
15
|
-
cn
|
|
16
|
-
} from "./chunk-TXS65BB2.js";
|
|
17
|
-
import {
|
|
18
|
-
useOpenGeniText
|
|
19
|
-
} from "./chunk-DMDJPQCR.js";
|
|
20
|
-
|
|
21
|
-
// src/lib/keyboard-targets.ts
|
|
22
|
-
var TEXT_ENTRY = 'input, textarea, select, [contenteditable]:not([contenteditable="false"])';
|
|
23
|
-
function isTextEntryTarget(target) {
|
|
24
|
-
if (!(target instanceof HTMLElement)) return false;
|
|
25
|
-
return target.isContentEditable || target.closest(TEXT_ENTRY) !== null;
|
|
26
|
-
}
|
|
27
|
-
function ownsArrowKeys(target) {
|
|
28
|
-
return isTextEntryTarget(target) || target instanceof HTMLElement && target.closest('[role="menu"], [role="listbox"], [role="grid"], [role="slider"]') !== null;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// src/components/zoom-pan-image.tsx
|
|
32
|
-
import { MinusIcon, PlusIcon } from "lucide-react";
|
|
33
|
-
import {
|
|
34
|
-
useCallback,
|
|
35
|
-
useEffect,
|
|
36
|
-
useLayoutEffect,
|
|
37
|
-
useMemo,
|
|
38
|
-
useRef,
|
|
39
|
-
useState
|
|
40
|
-
} from "react";
|
|
41
|
-
|
|
42
|
-
// src/lib/zoom-pan.ts
|
|
43
|
-
var MAX_FIT_UPSCALE = 2;
|
|
44
|
-
var MAX_ZOOM = 8;
|
|
45
|
-
var FIT_PADDING = 16;
|
|
46
|
-
var STEPS = [0.1, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 2, 3, 4, 6, 8];
|
|
47
|
-
var EPSILON = 5e-3;
|
|
48
|
-
function fitScale(image, viewport, padding = FIT_PADDING) {
|
|
49
|
-
const width = Math.max(1, viewport.width - padding * 2);
|
|
50
|
-
const height = Math.max(1, viewport.height - padding * 2);
|
|
51
|
-
return Math.min(width / image.width, height / image.height, MAX_FIT_UPSCALE);
|
|
52
|
-
}
|
|
53
|
-
function minScale(image, viewport) {
|
|
54
|
-
return Math.min(fitScale(image, viewport), 1);
|
|
55
|
-
}
|
|
56
|
-
function clampAxis(offset, content, viewport) {
|
|
57
|
-
if (content <= viewport) return (viewport - content) / 2;
|
|
58
|
-
return Math.min(0, Math.max(viewport - content, offset));
|
|
59
|
-
}
|
|
60
|
-
function clampView(view, image, viewport) {
|
|
61
|
-
return {
|
|
62
|
-
...view,
|
|
63
|
-
x: clampAxis(view.x, image.width * view.scale, viewport.width),
|
|
64
|
-
y: clampAxis(view.y, image.height * view.scale, viewport.height)
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function fitView(image, viewport) {
|
|
68
|
-
return clampView({ scale: fitScale(image, viewport), x: 0, y: 0, fit: true }, image, viewport);
|
|
69
|
-
}
|
|
70
|
-
function zoomTo(view, scale, point, image, viewport) {
|
|
71
|
-
const fit = fitScale(image, viewport);
|
|
72
|
-
const next = Math.min(MAX_ZOOM, Math.max(minScale(image, viewport), scale));
|
|
73
|
-
if (Math.abs(next - fit) < EPSILON) return fitView(image, viewport);
|
|
74
|
-
const ratio = next / view.scale;
|
|
75
|
-
return clampView(
|
|
76
|
-
{
|
|
77
|
-
scale: next,
|
|
78
|
-
x: point.x - (point.x - view.x) * ratio,
|
|
79
|
-
y: point.y - (point.y - view.y) * ratio,
|
|
80
|
-
fit: false
|
|
81
|
-
},
|
|
82
|
-
image,
|
|
83
|
-
viewport
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
function stepScale(view, direction, image, viewport) {
|
|
87
|
-
const stops = [...STEPS, fitScale(image, viewport)].sort((a, b) => a - b);
|
|
88
|
-
if (direction > 0) return stops.find((stop) => stop > view.scale + EPSILON) ?? MAX_ZOOM;
|
|
89
|
-
return stops.reverse().find((stop) => stop < view.scale - EPSILON) ?? minScale(image, viewport);
|
|
90
|
-
}
|
|
91
|
-
function panBy(view, dx, dy, image, viewport) {
|
|
92
|
-
return clampView({ ...view, x: view.x + dx, y: view.y + dy }, image, viewport);
|
|
93
|
-
}
|
|
94
|
-
function pinchTo(view, from, to, image, viewport) {
|
|
95
|
-
const moved = panBy(
|
|
96
|
-
view,
|
|
97
|
-
to.middle.x - from.middle.x,
|
|
98
|
-
to.middle.y - from.middle.y,
|
|
99
|
-
image,
|
|
100
|
-
viewport
|
|
101
|
-
);
|
|
102
|
-
if (!(from.distance > 0) || !(to.distance > 0)) return moved;
|
|
103
|
-
return zoomTo(moved, moved.scale * (to.distance / from.distance), to.middle, image, viewport);
|
|
104
|
-
}
|
|
105
|
-
function canPan(view, image, viewport) {
|
|
106
|
-
return image.width * view.scale > viewport.width + 0.5 || image.height * view.scale > viewport.height + 0.5;
|
|
107
|
-
}
|
|
108
|
-
function toggleAt(view, point, image, viewport) {
|
|
109
|
-
if (!view.fit) return fitView(image, viewport);
|
|
110
|
-
const target = Math.abs(view.scale - 1) < EPSILON ? 2 : 1;
|
|
111
|
-
return zoomTo(view, target, point, image, viewport);
|
|
112
|
-
}
|
|
113
|
-
function clickZoomDirection(view, image, viewport) {
|
|
114
|
-
const next = toggleAt(view, { x: 0, y: 0 }, image, viewport);
|
|
115
|
-
return next.scale > view.scale + EPSILON ? "in" : "out";
|
|
116
|
-
}
|
|
117
|
-
function zoomPercent(view) {
|
|
118
|
-
return Math.round(view.scale * 100);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// src/components/zoom-pan-image.tsx
|
|
122
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
123
|
-
function validSize(size) {
|
|
124
|
-
return !!size && size.width > 0 && size.height > 0;
|
|
125
|
-
}
|
|
126
|
-
function settle(state) {
|
|
127
|
-
if (!validSize(state.image) || !validSize(state.viewport)) return { ...state, view: null };
|
|
128
|
-
if (!state.view || state.view.fit)
|
|
129
|
-
return { ...state, view: fitView(state.image, state.viewport) };
|
|
130
|
-
return { ...state, view: clampView(state.view, state.image, state.viewport) };
|
|
131
|
-
}
|
|
132
|
-
function useZoomPan(resetKey) {
|
|
133
|
-
const [stored, setStored] = useState({
|
|
134
|
-
key: resetKey,
|
|
135
|
-
image: null,
|
|
136
|
-
viewport: null,
|
|
137
|
-
view: null
|
|
138
|
-
});
|
|
139
|
-
const state = stored.key === resetKey ? stored : { key: resetKey, image: null, viewport: stored.viewport, view: null };
|
|
140
|
-
if (stored.key !== resetKey) setStored(state);
|
|
141
|
-
const key = useRef(resetKey);
|
|
142
|
-
key.current = resetKey;
|
|
143
|
-
const update = useCallback((change) => {
|
|
144
|
-
setStored(
|
|
145
|
-
(current) => change(
|
|
146
|
-
current.key === key.current ? current : { key: key.current, image: null, viewport: current.viewport, view: null }
|
|
147
|
-
)
|
|
148
|
-
);
|
|
149
|
-
}, []);
|
|
150
|
-
const move = useCallback(
|
|
151
|
-
(change) => update(
|
|
152
|
-
(current) => current.view && current.image && current.viewport ? { ...current, view: change(current.view, current.image, current.viewport) } : current
|
|
153
|
-
),
|
|
154
|
-
[update]
|
|
155
|
-
);
|
|
156
|
-
const { image, viewport, view } = state;
|
|
157
|
-
return useMemo(() => {
|
|
158
|
-
const centre = (size) => size ? { x: size.width / 2, y: size.height / 2 } : { x: 0, y: 0 };
|
|
159
|
-
return {
|
|
160
|
-
view,
|
|
161
|
-
image,
|
|
162
|
-
viewport,
|
|
163
|
-
percent: view ? zoomPercent(view) : null,
|
|
164
|
-
canZoomIn: !!view && view.scale < MAX_ZOOM - 1e-3,
|
|
165
|
-
canZoomOut: !!view && !!image && !!viewport && view.scale > minScale(image, viewport) + 1e-3,
|
|
166
|
-
setImage: (size) => update(
|
|
167
|
-
(current) => validSize(size) && (current.image?.width !== size.width || current.image?.height !== size.height) ? settle({ ...current, image: size, view: null }) : current
|
|
168
|
-
),
|
|
169
|
-
setViewport: (size) => update(
|
|
170
|
-
(current) => validSize(size) && (current.viewport?.width !== size.width || current.viewport?.height !== size.height) ? settle({ ...current, viewport: size }) : current
|
|
171
|
-
),
|
|
172
|
-
zoomIn: (point) => move(
|
|
173
|
-
(current, img, port) => zoomTo(current, stepScale(current, 1, img, port), point ?? centre(port), img, port)
|
|
174
|
-
),
|
|
175
|
-
zoomOut: (point) => move(
|
|
176
|
-
(current, img, port) => zoomTo(current, stepScale(current, -1, img, port), point ?? centre(port), img, port)
|
|
177
|
-
),
|
|
178
|
-
zoomBy: (factor, point) => move((current, img, port) => zoomTo(current, current.scale * factor, point, img, port)),
|
|
179
|
-
pinch: (from, to) => move((current, img, port) => pinchTo(current, from, to, img, port)),
|
|
180
|
-
fit: () => move((_current, img, port) => fitView(img, port)),
|
|
181
|
-
toggleAt: (point) => move((current, img, port) => toggleAt(current, point, img, port)),
|
|
182
|
-
panBy: (dx, dy) => move((current, img, port) => panBy(current, dx, dy, img, port))
|
|
183
|
-
};
|
|
184
|
-
}, [image, viewport, view, update, move]);
|
|
185
|
-
}
|
|
186
|
-
function zoomShortcut(event) {
|
|
187
|
-
if (!(event.metaKey || event.ctrlKey) || event.altKey) return null;
|
|
188
|
-
switch (event.key) {
|
|
189
|
-
case "=":
|
|
190
|
-
case "+":
|
|
191
|
-
return "in";
|
|
192
|
-
case "-":
|
|
193
|
-
case "_":
|
|
194
|
-
return "out";
|
|
195
|
-
case "0":
|
|
196
|
-
return "fit";
|
|
197
|
-
}
|
|
198
|
-
switch (event.code) {
|
|
199
|
-
case "Equal":
|
|
200
|
-
case "NumpadAdd":
|
|
201
|
-
return "in";
|
|
202
|
-
case "Minus":
|
|
203
|
-
case "NumpadSubtract":
|
|
204
|
-
return "out";
|
|
205
|
-
case "Digit0":
|
|
206
|
-
case "Numpad0":
|
|
207
|
-
return "fit";
|
|
208
|
-
}
|
|
209
|
-
return null;
|
|
210
|
-
}
|
|
211
|
-
function useZoomPanShortcuts(controller, enabled) {
|
|
212
|
-
const latest = useRef(controller);
|
|
213
|
-
latest.current = controller;
|
|
214
|
-
useEffect(() => {
|
|
215
|
-
if (!enabled) return;
|
|
216
|
-
const onKeyDown = (event) => {
|
|
217
|
-
const action = zoomShortcut(event);
|
|
218
|
-
if (!action || isTextEntryTarget(event.target)) return;
|
|
219
|
-
event.preventDefault();
|
|
220
|
-
event.stopPropagation();
|
|
221
|
-
if (!latest.current.view) return;
|
|
222
|
-
if (action === "in") latest.current.zoomIn();
|
|
223
|
-
else if (action === "out") latest.current.zoomOut();
|
|
224
|
-
else latest.current.fit();
|
|
225
|
-
};
|
|
226
|
-
window.addEventListener("keydown", onKeyDown, { capture: true });
|
|
227
|
-
return () => window.removeEventListener("keydown", onKeyDown, { capture: true });
|
|
228
|
-
}, [enabled]);
|
|
229
|
-
}
|
|
230
|
-
var CLICK_SLOP = 4;
|
|
231
|
-
function distance(a, b) {
|
|
232
|
-
return Math.hypot(a.x - b.x, a.y - b.y);
|
|
233
|
-
}
|
|
234
|
-
function middle(a, b) {
|
|
235
|
-
return { x: (a.x + b.x) / 2, y: (a.y + b.y) / 2 };
|
|
236
|
-
}
|
|
237
|
-
function wheelPixels(event, delta) {
|
|
238
|
-
return event.deltaMode === 1 ? delta * 16 : event.deltaMode === 2 ? delta * 400 : delta;
|
|
239
|
-
}
|
|
240
|
-
function ZoomPanSurface({
|
|
241
|
-
controller,
|
|
242
|
-
src,
|
|
243
|
-
alt,
|
|
244
|
-
naturalSize,
|
|
245
|
-
onBackdropClick,
|
|
246
|
-
onError,
|
|
247
|
-
className,
|
|
248
|
-
imageClassName
|
|
249
|
-
}) {
|
|
250
|
-
const surface = useRef(null);
|
|
251
|
-
const img = useRef(null);
|
|
252
|
-
const latest = useRef(controller);
|
|
253
|
-
latest.current = controller;
|
|
254
|
-
const pointers = useRef(/* @__PURE__ */ new Map());
|
|
255
|
-
const gesture = useRef(null);
|
|
256
|
-
const [dragging, setDragging] = useState(false);
|
|
257
|
-
const { view, image, viewport } = controller;
|
|
258
|
-
const local = useCallback((event) => {
|
|
259
|
-
const rect = surface.current?.getBoundingClientRect();
|
|
260
|
-
return { x: event.clientX - (rect?.left ?? 0), y: event.clientY - (rect?.top ?? 0) };
|
|
261
|
-
}, []);
|
|
262
|
-
const knownWidth = naturalSize?.width ?? 0;
|
|
263
|
-
const knownHeight = naturalSize?.height ?? 0;
|
|
264
|
-
useLayoutEffect(() => {
|
|
265
|
-
if (knownWidth > 0 && knownHeight > 0)
|
|
266
|
-
latest.current.setImage({ width: knownWidth, height: knownHeight });
|
|
267
|
-
}, [knownWidth, knownHeight]);
|
|
268
|
-
useLayoutEffect(() => {
|
|
269
|
-
const element = surface.current;
|
|
270
|
-
if (!element) return;
|
|
271
|
-
const measure = () => {
|
|
272
|
-
const width = element.clientWidth;
|
|
273
|
-
const height = element.clientHeight;
|
|
274
|
-
if (width > 0 && height > 0) latest.current.setViewport({ width, height });
|
|
275
|
-
};
|
|
276
|
-
const loaded = img.current;
|
|
277
|
-
if (loaded?.complete && loaded.naturalWidth > 0 && loaded.naturalHeight > 0)
|
|
278
|
-
latest.current.setImage({ width: loaded.naturalWidth, height: loaded.naturalHeight });
|
|
279
|
-
measure();
|
|
280
|
-
if (typeof ResizeObserver === "undefined") return;
|
|
281
|
-
const observer = new ResizeObserver(measure);
|
|
282
|
-
observer.observe(element);
|
|
283
|
-
return () => observer.disconnect();
|
|
284
|
-
}, []);
|
|
285
|
-
useEffect(() => {
|
|
286
|
-
const element = surface.current;
|
|
287
|
-
if (!element) return;
|
|
288
|
-
const onWheel = (event) => {
|
|
289
|
-
const current = latest.current;
|
|
290
|
-
if (!current.view || !current.image || !current.viewport) return;
|
|
291
|
-
if (event.ctrlKey || event.metaKey) {
|
|
292
|
-
event.preventDefault();
|
|
293
|
-
const delta = Math.max(-60, Math.min(60, wheelPixels(event, event.deltaY)));
|
|
294
|
-
current.zoomBy(Math.exp(-delta * 6e-3), local(event));
|
|
295
|
-
return;
|
|
296
|
-
}
|
|
297
|
-
if (!canPan(current.view, current.image, current.viewport)) return;
|
|
298
|
-
event.preventDefault();
|
|
299
|
-
const dx = wheelPixels(event, event.shiftKey && !event.deltaX ? event.deltaY : event.deltaX);
|
|
300
|
-
const dy = event.shiftKey && !event.deltaX ? 0 : wheelPixels(event, event.deltaY);
|
|
301
|
-
current.panBy(-dx, -dy);
|
|
302
|
-
};
|
|
303
|
-
let gestureScale = 1;
|
|
304
|
-
const onGestureStart = (event) => {
|
|
305
|
-
event.preventDefault();
|
|
306
|
-
gestureScale = 1;
|
|
307
|
-
};
|
|
308
|
-
const onGestureChange = (event) => {
|
|
309
|
-
const scale = event.scale;
|
|
310
|
-
const point = event;
|
|
311
|
-
if (typeof scale !== "number" || scale <= 0) return;
|
|
312
|
-
event.preventDefault();
|
|
313
|
-
latest.current.zoomBy(
|
|
314
|
-
scale / gestureScale,
|
|
315
|
-
local({ clientX: point.clientX ?? 0, clientY: point.clientY ?? 0 })
|
|
316
|
-
);
|
|
317
|
-
gestureScale = scale;
|
|
318
|
-
};
|
|
319
|
-
element.addEventListener("wheel", onWheel, { passive: false });
|
|
320
|
-
element.addEventListener("gesturestart", onGestureStart, { passive: false });
|
|
321
|
-
element.addEventListener("gesturechange", onGestureChange, { passive: false });
|
|
322
|
-
return () => {
|
|
323
|
-
element.removeEventListener("wheel", onWheel);
|
|
324
|
-
element.removeEventListener("gesturestart", onGestureStart);
|
|
325
|
-
element.removeEventListener("gesturechange", onGestureChange);
|
|
326
|
-
};
|
|
327
|
-
}, [local]);
|
|
328
|
-
const insideImage = (point, client) => {
|
|
329
|
-
if (view && image)
|
|
330
|
-
return point.x >= view.x && point.y >= view.y && point.x <= view.x + image.width * view.scale && point.y <= view.y + image.height * view.scale;
|
|
331
|
-
const rect = img.current?.getBoundingClientRect();
|
|
332
|
-
return !!rect && rect.width > 0 && client.clientX >= rect.left && client.clientX <= rect.right && client.clientY >= rect.top && client.clientY <= rect.bottom;
|
|
333
|
-
};
|
|
334
|
-
const onPointerDown = (event) => {
|
|
335
|
-
if (event.pointerType === "mouse" && event.button !== 0) return;
|
|
336
|
-
try {
|
|
337
|
-
event.currentTarget.setPointerCapture(event.pointerId);
|
|
338
|
-
} catch {
|
|
339
|
-
}
|
|
340
|
-
const point = local(event);
|
|
341
|
-
pointers.current.set(event.pointerId, point);
|
|
342
|
-
const points = [...pointers.current.values()];
|
|
343
|
-
if (points.length === 1) gesture.current = { moved: false, start: point, pinch: null };
|
|
344
|
-
else if (points.length === 2 && gesture.current) {
|
|
345
|
-
gesture.current.moved = true;
|
|
346
|
-
gesture.current.pinch = {
|
|
347
|
-
distance: distance(points[0], points[1]),
|
|
348
|
-
middle: middle(points[0], points[1])
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
const onPointerMove = (event) => {
|
|
353
|
-
const previous = pointers.current.get(event.pointerId);
|
|
354
|
-
const current = gesture.current;
|
|
355
|
-
if (!previous || !current) return;
|
|
356
|
-
const point = local(event);
|
|
357
|
-
pointers.current.set(event.pointerId, point);
|
|
358
|
-
const points = [...pointers.current.values()];
|
|
359
|
-
if (points.length >= 2 && current.pinch) {
|
|
360
|
-
const next = {
|
|
361
|
-
distance: distance(points[0], points[1]),
|
|
362
|
-
middle: middle(points[0], points[1])
|
|
363
|
-
};
|
|
364
|
-
controller.pinch(current.pinch, next);
|
|
365
|
-
current.pinch = next;
|
|
366
|
-
return;
|
|
367
|
-
}
|
|
368
|
-
if (!current.moved && distance(point, current.start) > CLICK_SLOP) current.moved = true;
|
|
369
|
-
if (current.moved && view && image && viewport && canPan(view, image, viewport)) {
|
|
370
|
-
setDragging(true);
|
|
371
|
-
controller.panBy(point.x - previous.x, point.y - previous.y);
|
|
372
|
-
}
|
|
373
|
-
};
|
|
374
|
-
const onPointerEnd = (event) => {
|
|
375
|
-
if (!pointers.current.delete(event.pointerId)) return;
|
|
376
|
-
const current = gesture.current;
|
|
377
|
-
if (pointers.current.size > 0) {
|
|
378
|
-
if (current) current.pinch = null;
|
|
379
|
-
return;
|
|
380
|
-
}
|
|
381
|
-
gesture.current = null;
|
|
382
|
-
setDragging(false);
|
|
383
|
-
if (event.type !== "pointerup" || !current || current.moved) return;
|
|
384
|
-
const point = local(event);
|
|
385
|
-
if (!insideImage(point, event)) onBackdropClick?.();
|
|
386
|
-
else if (view) controller.toggleAt(point);
|
|
387
|
-
};
|
|
388
|
-
const pannable = !!view && !!image && !!viewport && canPan(view, image, viewport);
|
|
389
|
-
const clickZoom = view && image && viewport ? clickZoomDirection(view, image, viewport) : null;
|
|
390
|
-
const imageCursor = dragging ? "cursor-grabbing" : pannable ? "cursor-grab" : clickZoom === "in" ? "cursor-zoom-in" : clickZoom === "out" ? "cursor-zoom-out" : void 0;
|
|
391
|
-
return /* @__PURE__ */ jsx(
|
|
392
|
-
"div",
|
|
393
|
-
{
|
|
394
|
-
ref: surface,
|
|
395
|
-
"data-zoom-pan-surface": true,
|
|
396
|
-
role: "presentation",
|
|
397
|
-
onPointerDown,
|
|
398
|
-
onPointerMove,
|
|
399
|
-
onPointerUp: onPointerEnd,
|
|
400
|
-
onPointerCancel: onPointerEnd,
|
|
401
|
-
className: cn(
|
|
402
|
-
"absolute inset-0 touch-none overflow-hidden select-none",
|
|
403
|
-
dragging && "cursor-grabbing",
|
|
404
|
-
className
|
|
405
|
-
),
|
|
406
|
-
children: /* @__PURE__ */ jsx(
|
|
407
|
-
"img",
|
|
408
|
-
{
|
|
409
|
-
ref: img,
|
|
410
|
-
src: displayImageSrc(src),
|
|
411
|
-
alt,
|
|
412
|
-
draggable: false,
|
|
413
|
-
"data-zoom-scale": view ? view.scale.toFixed(3) : void 0,
|
|
414
|
-
"data-zoom-click": clickZoom ?? void 0,
|
|
415
|
-
onLoad: (event) => {
|
|
416
|
-
const element = event.currentTarget;
|
|
417
|
-
if (element.naturalWidth > 0 && element.naturalHeight > 0)
|
|
418
|
-
controller.setImage({ width: element.naturalWidth, height: element.naturalHeight });
|
|
419
|
-
},
|
|
420
|
-
onError,
|
|
421
|
-
style: view && image ? {
|
|
422
|
-
position: "absolute",
|
|
423
|
-
left: 0,
|
|
424
|
-
top: 0,
|
|
425
|
-
width: image.width * view.scale,
|
|
426
|
-
height: image.height * view.scale,
|
|
427
|
-
maxWidth: "none",
|
|
428
|
-
maxHeight: "none",
|
|
429
|
-
// Whole pixels, so an image at actual size is never resampled.
|
|
430
|
-
transform: `translate3d(${Math.round(view.x)}px, ${Math.round(view.y)}px, 0)`,
|
|
431
|
-
// Past 2x, show the screenshot's own pixels crisply instead of blurring them.
|
|
432
|
-
imageRendering: view.scale >= 2 ? "pixelated" : void 0
|
|
433
|
-
} : void 0,
|
|
434
|
-
className: cn(
|
|
435
|
-
// The image takes the pointer only for its cursor; presses still reach
|
|
436
|
-
// the surface, which decides between zoom and backdrop by position.
|
|
437
|
-
"block [-webkit-touch-callout:none]",
|
|
438
|
-
imageCursor,
|
|
439
|
-
!view && "absolute inset-0 m-auto max-h-[calc(100%-2rem)] max-w-[calc(100%-2rem)]",
|
|
440
|
-
imageClassName
|
|
441
|
-
)
|
|
442
|
-
}
|
|
443
|
-
)
|
|
444
|
-
}
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
|
-
function shortcutModifier() {
|
|
448
|
-
if (typeof navigator === "undefined") return "Ctrl";
|
|
449
|
-
return /Mac|iPhone|iPad/u.test(navigator.platform) ? "\u2318" : "Ctrl";
|
|
450
|
-
}
|
|
451
|
-
function ZoomControls({
|
|
452
|
-
controller,
|
|
453
|
-
labels,
|
|
454
|
-
className,
|
|
455
|
-
buttonClassName
|
|
456
|
-
}) {
|
|
457
|
-
const modifier = useMemo(shortcutModifier, []);
|
|
458
|
-
const t = useOpenGeniText();
|
|
459
|
-
const zoomOut = labels?.zoomOut ?? t("timeline.screenshotLightbox.zoomOut");
|
|
460
|
-
const zoomIn = labels?.zoomIn ?? t("timeline.screenshotLightbox.zoomIn");
|
|
461
|
-
const fit = labels?.fit ?? t("timeline.screenshotLightbox.fit");
|
|
462
|
-
const { view } = controller;
|
|
463
|
-
return /* @__PURE__ */ jsxs("div", { "data-zoom-controls": true, className: cn("flex shrink-0 items-center gap-0.5", className), children: [
|
|
464
|
-
/* @__PURE__ */ jsx(
|
|
465
|
-
Button,
|
|
466
|
-
{
|
|
467
|
-
type: "button",
|
|
468
|
-
variant: "ghost",
|
|
469
|
-
size: "icon-sm",
|
|
470
|
-
className: cn("pointer-coarse:size-11", buttonClassName),
|
|
471
|
-
"aria-label": zoomOut,
|
|
472
|
-
title: `${zoomOut} (${modifier}\u2212)`,
|
|
473
|
-
disabled: !controller.canZoomOut,
|
|
474
|
-
onClick: () => controller.zoomOut(),
|
|
475
|
-
children: /* @__PURE__ */ jsx(MinusIcon, { "aria-hidden": "true" })
|
|
476
|
-
}
|
|
477
|
-
),
|
|
478
|
-
/* @__PURE__ */ jsx("span", { "data-zoom-percent": true, className: "min-w-11 text-center text-xs tabular-nums opacity-80", children: controller.percent === null ? "" : `${controller.percent}%` }),
|
|
479
|
-
/* @__PURE__ */ jsx(
|
|
480
|
-
Button,
|
|
481
|
-
{
|
|
482
|
-
type: "button",
|
|
483
|
-
variant: "ghost",
|
|
484
|
-
size: "icon-sm",
|
|
485
|
-
className: cn("pointer-coarse:size-11", buttonClassName),
|
|
486
|
-
"aria-label": zoomIn,
|
|
487
|
-
title: `${zoomIn} (${modifier}+)`,
|
|
488
|
-
disabled: !controller.canZoomIn,
|
|
489
|
-
onClick: () => controller.zoomIn(),
|
|
490
|
-
children: /* @__PURE__ */ jsx(PlusIcon, { "aria-hidden": "true" })
|
|
491
|
-
}
|
|
492
|
-
),
|
|
493
|
-
/* @__PURE__ */ jsx(
|
|
494
|
-
Button,
|
|
495
|
-
{
|
|
496
|
-
type: "button",
|
|
497
|
-
variant: "ghost",
|
|
498
|
-
size: "sm",
|
|
499
|
-
className: cn("h-8 px-2 text-xs pointer-coarse:h-11", buttonClassName),
|
|
500
|
-
title: `${fit} (${modifier}0)`,
|
|
501
|
-
disabled: !view || view.fit,
|
|
502
|
-
onClick: () => controller.fit(),
|
|
503
|
-
children: fit
|
|
504
|
-
}
|
|
505
|
-
)
|
|
506
|
-
] });
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// src/timeline/screenshot-lightbox.tsx
|
|
510
|
-
import { ChevronLeftIcon, ChevronRightIcon, DownloadIcon, XIcon } from "lucide-react";
|
|
511
|
-
import { AnimatePresence, motion } from "motion/react";
|
|
512
|
-
import {
|
|
513
|
-
createContext,
|
|
514
|
-
useCallback as useCallback2,
|
|
515
|
-
useContext,
|
|
516
|
-
useEffect as useEffect2,
|
|
517
|
-
useMemo as useMemo2,
|
|
518
|
-
useRef as useRef2,
|
|
519
|
-
useState as useState2
|
|
520
|
-
} from "react";
|
|
521
|
-
import { Dialog } from "radix-ui";
|
|
522
|
-
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
523
|
-
var DialogContainedPortal = containedPortal(Dialog.Portal);
|
|
524
|
-
var LightboxContext = createContext(null);
|
|
525
|
-
var LightboxGalleryContext = createContext(null);
|
|
526
|
-
var GALLERY_ROOT_SELECTOR = "[data-og-timeline-scroller]";
|
|
527
|
-
var LIGHTBOX_INTERACTIVE_SELECTOR = "a, button, [data-zoom-controls], [data-zoom-pan-surface]";
|
|
528
|
-
function isLightboxBackdrop(target, content) {
|
|
529
|
-
return target instanceof Element && content.contains(target) && !target.closest(LIGHTBOX_INTERACTIVE_SELECTOR);
|
|
530
|
-
}
|
|
531
|
-
var NO_WINDOW_DRAG = "[-webkit-app-region:no-drag] [app-region:no-drag]";
|
|
532
|
-
var ROUND_BUTTON = cn(
|
|
533
|
-
"inline-flex items-center justify-center rounded-full",
|
|
534
|
-
"border border-white/15 bg-black/60 text-white/70 backdrop-blur",
|
|
535
|
-
"transition-colors hover:border-white/30 hover:bg-white/15 hover:text-white",
|
|
536
|
-
"active:border-white/40 active:bg-white/25 active:text-white",
|
|
537
|
-
"focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-white/50"
|
|
538
|
-
);
|
|
539
|
-
function useLightboxGalleryItem(ref, entry) {
|
|
540
|
-
const registry = useContext(LightboxGalleryContext);
|
|
541
|
-
const latest = useRef2(entry);
|
|
542
|
-
latest.current = entry;
|
|
543
|
-
const enabled = entry !== null;
|
|
544
|
-
useEffect2(() => {
|
|
545
|
-
const element = ref.current;
|
|
546
|
-
if (!registry || !element || !enabled) return;
|
|
547
|
-
return registry.register({
|
|
548
|
-
element,
|
|
549
|
-
entry: latest
|
|
550
|
-
});
|
|
551
|
-
}, [registry, ref, enabled]);
|
|
552
|
-
}
|
|
553
|
-
function useLightbox() {
|
|
554
|
-
return useContext(LightboxContext) ?? NOOP;
|
|
555
|
-
}
|
|
556
|
-
function useLightboxOptional() {
|
|
557
|
-
return useContext(LightboxContext);
|
|
558
|
-
}
|
|
559
|
-
var NOOP = { open: () => {
|
|
560
|
-
} };
|
|
561
|
-
function createLightboxSourceOwner() {
|
|
562
|
-
let releaseCurrent = null;
|
|
563
|
-
return {
|
|
564
|
-
replace(release) {
|
|
565
|
-
const previous = releaseCurrent;
|
|
566
|
-
releaseCurrent = release ?? null;
|
|
567
|
-
previous?.();
|
|
568
|
-
},
|
|
569
|
-
release() {
|
|
570
|
-
const release = releaseCurrent;
|
|
571
|
-
releaseCurrent = null;
|
|
572
|
-
release?.();
|
|
573
|
-
}
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
function LightboxProvider({ children }) {
|
|
577
|
-
const ancestor = useContext(LightboxContext);
|
|
578
|
-
if (ancestor) {
|
|
579
|
-
return /* @__PURE__ */ jsx2(Fragment, { children });
|
|
580
|
-
}
|
|
581
|
-
return /* @__PURE__ */ jsx2(LightboxRoot, { children });
|
|
582
|
-
}
|
|
583
|
-
function LightboxRoot({ children }) {
|
|
584
|
-
const t = useOpenGeniText();
|
|
585
|
-
const [state, setState] = useState2(null);
|
|
586
|
-
const [tokenSource, setTokenSource] = useState2(null);
|
|
587
|
-
const sourceOwner = useMemo2(() => createLightboxSourceOwner(), []);
|
|
588
|
-
const portalStyle = usePortalTokenStyle(tokenSource);
|
|
589
|
-
const entries = useRef2(/* @__PURE__ */ new Set());
|
|
590
|
-
const [gallery, setGallery] = useState2(null);
|
|
591
|
-
const generation = useRef2(0);
|
|
592
|
-
const pressedBackdrop = useRef2(false);
|
|
593
|
-
const zoom = useZoomPan(state?.src ?? "");
|
|
594
|
-
useZoomPanShortcuts(zoom, state !== null);
|
|
595
|
-
const registry = useMemo2(
|
|
596
|
-
() => ({
|
|
597
|
-
register(item) {
|
|
598
|
-
entries.current.add(item);
|
|
599
|
-
return () => {
|
|
600
|
-
entries.current.delete(item);
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
}),
|
|
604
|
-
[]
|
|
605
|
-
);
|
|
606
|
-
const releaseCurrentSource = useCallback2(() => {
|
|
607
|
-
sourceOwner.release();
|
|
608
|
-
}, [sourceOwner]);
|
|
609
|
-
useEffect2(
|
|
610
|
-
() => () => {
|
|
611
|
-
generation.current++;
|
|
612
|
-
releaseCurrentSource();
|
|
613
|
-
},
|
|
614
|
-
[releaseCurrentSource]
|
|
615
|
-
);
|
|
616
|
-
const discoverGallery = useCallback2((source, token) => {
|
|
617
|
-
const root = source.closest(GALLERY_ROOT_SELECTOR) ?? source.ownerDocument.body;
|
|
618
|
-
const candidates = [...entries.current].filter((item) => item.element.isConnected && root.contains(item.element)).sort(
|
|
619
|
-
(a, b) => a.element.compareDocumentPosition(b.element) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1
|
|
620
|
-
);
|
|
621
|
-
const current = candidates.filter((item) => item.element.contains(source)).pop();
|
|
622
|
-
if (!current) return;
|
|
623
|
-
void Promise.all(
|
|
624
|
-
candidates.map(
|
|
625
|
-
(item) => item === current ? Promise.resolve(true) : (item.entry.current.isImage?.() ?? Promise.resolve(true)).catch(() => false)
|
|
626
|
-
)
|
|
627
|
-
).then((images) => {
|
|
628
|
-
if (generation.current !== token) return;
|
|
629
|
-
const items = candidates.filter((_, index) => images[index]);
|
|
630
|
-
if (items.length > 1) setGallery({ items, index: items.indexOf(current) });
|
|
631
|
-
});
|
|
632
|
-
}, []);
|
|
633
|
-
const open = useCallback2(
|
|
634
|
-
(src, caption, source, label = t("timeline.screenshotLightbox.screenshot"), downloadFilename, controlLabels, releaseSource) => {
|
|
635
|
-
const token = ++generation.current;
|
|
636
|
-
sourceOwner.replace(releaseSource);
|
|
637
|
-
setTokenSource(source ?? null);
|
|
638
|
-
setGallery(null);
|
|
639
|
-
setState({
|
|
640
|
-
src,
|
|
641
|
-
label,
|
|
642
|
-
...caption ? { caption } : {},
|
|
643
|
-
...downloadFilename ? { downloadFilename } : {},
|
|
644
|
-
...controlLabels ? { controlLabels } : {}
|
|
645
|
-
});
|
|
646
|
-
if (source) discoverGallery(source, token);
|
|
647
|
-
},
|
|
648
|
-
[sourceOwner, discoverGallery, t]
|
|
649
|
-
);
|
|
650
|
-
const close = useCallback2(() => {
|
|
651
|
-
generation.current++;
|
|
652
|
-
releaseCurrentSource();
|
|
653
|
-
setState(null);
|
|
654
|
-
setTokenSource(null);
|
|
655
|
-
setGallery(null);
|
|
656
|
-
}, [releaseCurrentSource]);
|
|
657
|
-
const step = useCallback2(
|
|
658
|
-
(delta) => {
|
|
659
|
-
if (!gallery) return;
|
|
660
|
-
const token = ++generation.current;
|
|
661
|
-
const count = gallery.items.length;
|
|
662
|
-
void (async () => {
|
|
663
|
-
for (let offset = 1; offset < count; offset++) {
|
|
664
|
-
const index = ((gallery.index + delta * offset) % count + count) % count;
|
|
665
|
-
const image = await gallery.items[index].entry.current.load().catch(() => null);
|
|
666
|
-
if (generation.current !== token) {
|
|
667
|
-
image?.release?.();
|
|
668
|
-
return;
|
|
669
|
-
}
|
|
670
|
-
if (!image) continue;
|
|
671
|
-
sourceOwner.replace(image.release);
|
|
672
|
-
setGallery({ items: gallery.items, index });
|
|
673
|
-
setState(
|
|
674
|
-
(previous) => previous ? {
|
|
675
|
-
src: image.src,
|
|
676
|
-
label: image.label ?? previous.label,
|
|
677
|
-
...image.caption ? { caption: image.caption } : {},
|
|
678
|
-
...previous.controlLabels ? { controlLabels: previous.controlLabels } : {}
|
|
679
|
-
} : previous
|
|
680
|
-
);
|
|
681
|
-
return;
|
|
682
|
-
}
|
|
683
|
-
})();
|
|
684
|
-
},
|
|
685
|
-
[gallery, sourceOwner]
|
|
686
|
-
);
|
|
687
|
-
const galleryOpen = state !== null && gallery !== null;
|
|
688
|
-
useEffect2(() => {
|
|
689
|
-
if (!galleryOpen) return;
|
|
690
|
-
const onKeyDown = (event) => {
|
|
691
|
-
if (event.defaultPrevented || event.altKey || event.ctrlKey || event.metaKey) return;
|
|
692
|
-
if (isTextEntryTarget(event.target)) return;
|
|
693
|
-
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
694
|
-
event.preventDefault();
|
|
695
|
-
step(event.key === "ArrowLeft" ? -1 : 1);
|
|
696
|
-
}
|
|
697
|
-
};
|
|
698
|
-
window.addEventListener("keydown", onKeyDown);
|
|
699
|
-
return () => window.removeEventListener("keydown", onKeyDown);
|
|
700
|
-
}, [galleryOpen, step]);
|
|
701
|
-
const controller = useMemo2(() => ({ open }), [open]);
|
|
702
|
-
return /* @__PURE__ */ jsxs2(LightboxContext.Provider, { value: controller, children: [
|
|
703
|
-
/* @__PURE__ */ jsx2(LightboxGalleryContext.Provider, { value: registry, children }),
|
|
704
|
-
/* @__PURE__ */ jsx2(Dialog.Root, { open: state !== null, onOpenChange: (next) => !next && close(), children: /* @__PURE__ */ jsx2(AnimatePresence, { children: state !== null ? /* @__PURE__ */ jsxs2(DialogContainedPortal, { forceMount: true, children: [
|
|
705
|
-
/* @__PURE__ */ jsx2(Dialog.Overlay, { asChild: true, forceMount: true, children: /* @__PURE__ */ jsx2(
|
|
706
|
-
motion.div,
|
|
707
|
-
{
|
|
708
|
-
initial: { opacity: 0 },
|
|
709
|
-
animate: { opacity: 1 },
|
|
710
|
-
exit: { opacity: 0 },
|
|
711
|
-
transition: { duration: 0.15 },
|
|
712
|
-
className: cn(
|
|
713
|
-
"og-root fixed inset-0 z-50 bg-black/90 backdrop-blur-md",
|
|
714
|
-
NO_WINDOW_DRAG
|
|
715
|
-
),
|
|
716
|
-
style: portalStyle
|
|
717
|
-
}
|
|
718
|
-
) }),
|
|
719
|
-
/* @__PURE__ */ jsx2(
|
|
720
|
-
Dialog.Content,
|
|
721
|
-
{
|
|
722
|
-
asChild: true,
|
|
723
|
-
forceMount: true,
|
|
724
|
-
"data-window-layer": true,
|
|
725
|
-
"aria-label": state.label,
|
|
726
|
-
onOpenAutoFocus: (event) => event.preventDefault(),
|
|
727
|
-
children: /* @__PURE__ */ jsxs2(
|
|
728
|
-
motion.div,
|
|
729
|
-
{
|
|
730
|
-
initial: { opacity: 0, scale: 0.98 },
|
|
731
|
-
animate: { opacity: 1, scale: 1 },
|
|
732
|
-
exit: { opacity: 0, scale: 0.98 },
|
|
733
|
-
transition: { duration: 0.18, ease: [0.16, 1, 0.3, 1] },
|
|
734
|
-
onPointerDown: (event) => {
|
|
735
|
-
pressedBackdrop.current = isLightboxBackdrop(event.target, event.currentTarget);
|
|
736
|
-
},
|
|
737
|
-
onClick: (event) => {
|
|
738
|
-
const pressed = pressedBackdrop.current;
|
|
739
|
-
pressedBackdrop.current = false;
|
|
740
|
-
const selection = event.currentTarget.ownerDocument.getSelection();
|
|
741
|
-
if (pressed && (!selection || selection.isCollapsed) && isLightboxBackdrop(event.target, event.currentTarget)) {
|
|
742
|
-
close();
|
|
743
|
-
}
|
|
744
|
-
},
|
|
745
|
-
className: cn(
|
|
746
|
-
"og-root fixed inset-0 z-50 flex items-center justify-center p-6 sm:p-12",
|
|
747
|
-
NO_WINDOW_DRAG
|
|
748
|
-
),
|
|
749
|
-
style: portalStyle,
|
|
750
|
-
children: [
|
|
751
|
-
/* @__PURE__ */ jsx2(Dialog.Title, { className: "sr-only", children: state.label }),
|
|
752
|
-
/* @__PURE__ */ jsx2(Dialog.Description, { className: "sr-only", children: state.caption ?? t("timeline.screenshotLightbox.expandedLowercase", {
|
|
753
|
-
lowerCase: state.label.toLowerCase()
|
|
754
|
-
}) }),
|
|
755
|
-
gallery ? /* @__PURE__ */ jsx2(
|
|
756
|
-
LightboxStepButton,
|
|
757
|
-
{
|
|
758
|
-
direction: "previous",
|
|
759
|
-
label: state.controlLabels?.previous ?? t("timeline.screenshotLightbox.previousImage"),
|
|
760
|
-
onClick: () => step(-1)
|
|
761
|
-
}
|
|
762
|
-
) : null,
|
|
763
|
-
/* @__PURE__ */ jsxs2(
|
|
764
|
-
"figure",
|
|
765
|
-
{
|
|
766
|
-
className: cn(
|
|
767
|
-
"m-0 flex size-full min-h-0 flex-col items-center gap-3",
|
|
768
|
-
gallery && "px-12 sm:px-16"
|
|
769
|
-
),
|
|
770
|
-
children: [
|
|
771
|
-
/* @__PURE__ */ jsx2("div", { className: "relative min-h-0 w-full flex-1", children: /* @__PURE__ */ jsx2(
|
|
772
|
-
ZoomPanSurface,
|
|
773
|
-
{
|
|
774
|
-
controller: zoom,
|
|
775
|
-
src: state.src,
|
|
776
|
-
alt: state.caption ?? state.label,
|
|
777
|
-
onBackdropClick: close,
|
|
778
|
-
imageClassName: "rounded-og-md border border-white/10 shadow-og-lg"
|
|
779
|
-
}
|
|
780
|
-
) }),
|
|
781
|
-
/* @__PURE__ */ jsx2(
|
|
782
|
-
ZoomControls,
|
|
783
|
-
{
|
|
784
|
-
controller: zoom,
|
|
785
|
-
labels: {
|
|
786
|
-
zoomIn: state.controlLabels?.zoomIn ?? t("timeline.screenshotLightbox.zoomIn"),
|
|
787
|
-
zoomOut: state.controlLabels?.zoomOut ?? t("timeline.screenshotLightbox.zoomOut"),
|
|
788
|
-
fit: state.controlLabels?.fit ?? t("timeline.screenshotLightbox.fit")
|
|
789
|
-
},
|
|
790
|
-
className: "rounded-full border border-white/15 bg-black/60 px-1 text-white/70 backdrop-blur",
|
|
791
|
-
buttonClassName: "rounded-full text-white/70 hover:bg-white/10 hover:text-white disabled:text-white/30"
|
|
792
|
-
}
|
|
793
|
-
),
|
|
794
|
-
gallery ? /* @__PURE__ */ jsxs2("figcaption", { className: "flex max-w-2xl flex-col items-center gap-1 text-center font-og-mono text-og-xs", children: [
|
|
795
|
-
state.caption ? /* @__PURE__ */ jsx2("span", { className: "text-white/55", children: state.caption }) : null,
|
|
796
|
-
/* @__PURE__ */ jsxs2("span", { className: "tabular-nums text-white/35", "aria-live": "polite", children: [
|
|
797
|
-
gallery.index + 1,
|
|
798
|
-
" ",
|
|
799
|
-
t("timeline.screenshotLightbox.ofLength", {
|
|
800
|
-
length: gallery.items.length
|
|
801
|
-
})
|
|
802
|
-
] })
|
|
803
|
-
] }) : state.caption ? /* @__PURE__ */ jsx2("figcaption", { className: "max-w-2xl text-center font-og-mono text-og-xs text-white/55", children: state.caption }) : /* @__PURE__ */ jsx2("figcaption", { className: "font-og-mono text-og-xs uppercase tracking-[0.1em] text-white/35", children: t("timeline.screenshotLightbox.escOrClickOutsideTo") })
|
|
804
|
-
]
|
|
805
|
-
}
|
|
806
|
-
),
|
|
807
|
-
/* @__PURE__ */ jsx2(
|
|
808
|
-
ScreenshotLightboxControls,
|
|
809
|
-
{
|
|
810
|
-
src: state.src,
|
|
811
|
-
downloadFilename: state.downloadFilename,
|
|
812
|
-
controlLabels: state.controlLabels
|
|
813
|
-
}
|
|
814
|
-
),
|
|
815
|
-
gallery ? /* @__PURE__ */ jsx2(
|
|
816
|
-
LightboxStepButton,
|
|
817
|
-
{
|
|
818
|
-
direction: "next",
|
|
819
|
-
label: state.controlLabels?.next ?? t("timeline.screenshotLightbox.nextImage"),
|
|
820
|
-
onClick: () => step(1)
|
|
821
|
-
}
|
|
822
|
-
) : null
|
|
823
|
-
]
|
|
824
|
-
}
|
|
825
|
-
)
|
|
826
|
-
}
|
|
827
|
-
)
|
|
828
|
-
] }) : null }) })
|
|
829
|
-
] });
|
|
830
|
-
}
|
|
831
|
-
function LightboxStepButton({
|
|
832
|
-
direction,
|
|
833
|
-
label,
|
|
834
|
-
onClick
|
|
835
|
-
}) {
|
|
836
|
-
const Icon = direction === "previous" ? ChevronLeftIcon : ChevronRightIcon;
|
|
837
|
-
return /* @__PURE__ */ jsx2(
|
|
838
|
-
"button",
|
|
839
|
-
{
|
|
840
|
-
type: "button",
|
|
841
|
-
onClick,
|
|
842
|
-
"aria-label": label,
|
|
843
|
-
className: cn(
|
|
844
|
-
ROUND_BUTTON,
|
|
845
|
-
"absolute top-1/2 z-10 size-11 -translate-y-1/2",
|
|
846
|
-
direction === "previous" ? "left-3 sm:left-6" : "right-3 sm:right-6"
|
|
847
|
-
),
|
|
848
|
-
children: /* @__PURE__ */ jsx2(Icon, { className: "size-5" })
|
|
849
|
-
}
|
|
850
|
-
);
|
|
851
|
-
}
|
|
852
|
-
function ScreenshotLightboxControls({
|
|
853
|
-
src,
|
|
854
|
-
downloadFilename,
|
|
855
|
-
controlLabels
|
|
856
|
-
}) {
|
|
857
|
-
const t = useOpenGeniText();
|
|
858
|
-
return /* @__PURE__ */ jsxs2(
|
|
859
|
-
"div",
|
|
860
|
-
{
|
|
861
|
-
"data-lightbox-controls": true,
|
|
862
|
-
className: "absolute right-3 top-3 z-10 flex items-center gap-2 sm:right-6 sm:top-6",
|
|
863
|
-
children: [
|
|
864
|
-
downloadFilename ? /* @__PURE__ */ jsx2(
|
|
865
|
-
"a",
|
|
866
|
-
{
|
|
867
|
-
href: src,
|
|
868
|
-
download: downloadFilename,
|
|
869
|
-
className: cn(ROUND_BUTTON, "size-9"),
|
|
870
|
-
"aria-label": controlLabels?.download ?? t("timeline.screenshotLightbox.downloadDownloadfilename", { downloadFilename }),
|
|
871
|
-
children: /* @__PURE__ */ jsx2(DownloadIcon, { className: "size-4" })
|
|
872
|
-
}
|
|
873
|
-
) : null,
|
|
874
|
-
/* @__PURE__ */ jsx2(
|
|
875
|
-
Dialog.Close,
|
|
876
|
-
{
|
|
877
|
-
className: cn(ROUND_BUTTON, "size-9"),
|
|
878
|
-
"aria-label": controlLabels?.close ?? t("timeline.screenshotLightbox.close"),
|
|
879
|
-
children: /* @__PURE__ */ jsx2(XIcon, { className: "size-4" })
|
|
880
|
-
}
|
|
881
|
-
)
|
|
882
|
-
]
|
|
883
|
-
}
|
|
884
|
-
);
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export {
|
|
888
|
-
ownsArrowKeys,
|
|
889
|
-
useZoomPan,
|
|
890
|
-
useZoomPanShortcuts,
|
|
891
|
-
ZoomPanSurface,
|
|
892
|
-
ZoomControls,
|
|
893
|
-
useLightboxGalleryItem,
|
|
894
|
-
useLightbox,
|
|
895
|
-
useLightboxOptional,
|
|
896
|
-
LightboxProvider
|
|
897
|
-
};
|
|
898
|
-
//# sourceMappingURL=chunk-REUQ464X.js.map
|