@cloudflare/realtimekit-ui 1.1.0-staging.3 → 1.1.0-staging.5
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/browser.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +1 -1
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-avatar_24.cjs.entry.js +267 -247
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +9 -9
- package/dist/cjs/rtk-channel-creator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-channel-details.cjs.entry.js +1 -1
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +1 -1
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +27 -22
- package/dist/cjs/rtk-clock.cjs.entry.js +3 -3
- package/dist/cjs/rtk-controlbar.cjs.entry.js +1 -1
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +1 -1
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +8 -8
- package/dist/cjs/rtk-header.cjs.entry.js +1 -1
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +1 -1
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +1 -1
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/rtk-leave-button.cjs.entry.js +1 -1
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +1 -1
- package/dist/cjs/rtk-notification.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participant_2.cjs.entry.js +14 -14
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +1 -1
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +1 -1
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +4 -4
- package/dist/cjs/rtk-poll_2.cjs.entry.js +3 -3
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +1 -1
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +5 -5
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +1 -1
- package/dist/cjs/rtk-transcript.cjs.entry.js +1 -1
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +1 -1
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +1 -1
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +1 -1
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +2 -2
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +1 -1
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +2 -2
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +29 -29
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +2 -2
- package/dist/collection/components/rtk-chat/rtk-chat.css +45 -8
- package/dist/collection/components/rtk-chat/rtk-chat.js +15 -7
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +2 -2
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +3 -3
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +3 -3
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +1 -1
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +27 -26
- package/dist/collection/components/rtk-clock/rtk-clock.js +3 -3
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +1 -1
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +1 -1
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +1 -1
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +1 -1
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +1 -1
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +1 -1
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +2 -2
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +1 -1
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +1 -1
- package/dist/collection/components/rtk-header/rtk-header.js +1 -1
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +1 -1
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +4 -4
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +3 -3
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +1 -1
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +1 -1
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +1 -1
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +1 -1
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +1 -1
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +3 -3
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +5 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +23 -1
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +1 -1
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +1 -1
- package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +1 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +5 -5
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +272 -256
- package/dist/collection/components/rtk-participant/rtk-participant.js +12 -12
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +1 -1
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +1 -1
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +1 -1
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +1 -1
- package/dist/collection/components/rtk-poll/rtk-poll.js +1 -1
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +3 -3
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +1 -1
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +5 -5
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +1 -1
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +1 -1
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +1 -1
- package/dist/collection/components/rtk-switch/rtk-switch.js +1 -1
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +1 -1
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +1 -1
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +1 -1
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +1 -1
- package/dist/components/{p-9f7b9764.js → p-00bb4abb.js} +6 -6
- package/dist/components/{p-5248ee44.js → p-02b840f8.js} +3 -3
- package/dist/components/{p-a54ac879.js → p-0b2b3442.js} +2 -2
- package/dist/components/p-0d472019.js +362 -0
- package/dist/components/{p-94ba6c49.js → p-0e5cc539.js} +2 -2
- package/dist/components/{p-8901c589.js → p-0f2de0f8.js} +10 -7
- package/dist/components/{p-3a3650bd.js → p-107e55c1.js} +1 -1
- package/dist/components/{p-e62d961a.js → p-1a9e3806.js} +1 -1
- package/dist/components/{p-1da75fdd.js → p-1f5a4682.js} +2 -2
- package/dist/components/{p-bb55fa0c.js → p-2309fb19.js} +2 -2
- package/dist/components/{p-ff320cbb.js → p-241a8245.js} +1 -1
- package/dist/components/{p-93069a8c.js → p-2447a26f.js} +2 -2
- package/dist/components/{p-3bc68ec4.js → p-28170a8d.js} +9 -9
- package/dist/components/{p-ffe562b1.js → p-294cda89.js} +3 -3
- package/dist/components/{p-9c88019e.js → p-2a65883d.js} +1 -1
- package/dist/components/{p-d9845780.js → p-32c6e86d.js} +36 -28
- package/dist/components/{p-0c512fd1.js → p-39e8b34a.js} +1 -1
- package/dist/components/{p-ff8753e8.js → p-3e58e0f3.js} +1 -1
- package/dist/components/{p-2e6987aa.js → p-43d6a221.js} +2 -2
- package/dist/components/{p-7e8d976d.js → p-45220ce9.js} +2 -2
- package/dist/components/{p-962c2e24.js → p-46d99dd9.js} +2 -2
- package/dist/components/{p-9ff37f98.js → p-48acb953.js} +1 -1
- package/dist/components/{p-d9b1945a.js → p-4902c5cf.js} +1 -1
- package/dist/components/{p-5ac9b786.js → p-4aede34c.js} +1 -1
- package/dist/components/{p-6366df1e.js → p-4e5a54c2.js} +10 -10
- package/dist/components/{p-8b4e32b7.js → p-4ebf9684.js} +1 -1
- package/dist/components/{p-94bd91b3.js → p-540d8eb9.js} +1 -1
- package/dist/components/{p-ad7cabcc.js → p-5476e3f3.js} +2 -2
- package/dist/components/{p-471a529a.js → p-5669b6e7.js} +4 -4
- package/dist/components/{p-626c7a5f.js → p-598dc3f2.js} +2 -2
- package/dist/components/{p-c36a303c.js → p-616ae7ab.js} +2 -2
- package/dist/components/{p-a94b2e67.js → p-6739a399.js} +2 -2
- package/dist/components/{p-ad331530.js → p-6c9a833e.js} +1 -1
- package/dist/components/{p-1614fe8f.js → p-713c7ed7.js} +3 -3
- package/dist/components/{p-222454dc.js → p-7148ec6a.js} +1 -1
- package/dist/components/{p-ef493e1b.js → p-761c0e78.js} +1 -1
- package/dist/components/{p-3b6af603.js → p-7f489600.js} +1 -1
- package/dist/components/{p-0e8ff1cc.js → p-819cb785.js} +1 -1
- package/dist/components/{p-68af4225.js → p-89025409.js} +3 -3
- package/dist/components/{p-7a04f0cc.js → p-8cfdac0d.js} +5 -5
- package/dist/components/{p-41224895.js → p-8d6b21d5.js} +3 -3
- package/dist/components/{p-6c20da11.js → p-a25f3aca.js} +2 -2
- package/dist/components/{p-d0c5e808.js → p-a51db0d6.js} +16 -16
- package/dist/components/{p-a48e2cf0.js → p-a73665b4.js} +7 -7
- package/dist/components/{p-a24156ce.js → p-a8a6496d.js} +1 -1
- package/dist/components/{p-b58a185f.js → p-ae376177.js} +14 -14
- package/dist/components/{p-01c968b1.js → p-af3b99f4.js} +2 -2
- package/dist/components/{p-d81ba93a.js → p-bb4983b8.js} +2 -2
- package/dist/components/{p-c2b64e33.js → p-c334f0e5.js} +2 -2
- package/dist/components/{p-88bef213.js → p-cf8f725b.js} +1 -1
- package/dist/components/{p-d6146a96.js → p-d765dbe4.js} +6 -6
- package/dist/components/{p-6523d14b.js → p-da9018ea.js} +6 -6
- package/dist/components/{p-0d582365.js → p-dc3143c0.js} +2 -2
- package/dist/components/{p-58b56794.js → p-e0510925.js} +1 -1
- package/dist/components/{p-5e67d672.js → p-eeb37b16.js} +1 -1
- package/dist/components/{p-f2a47b5b.js → p-fa476519.js} +5 -5
- package/dist/components/{p-fa8f6b4a.js → p-fb836f65.js} +1 -1
- package/dist/components/{p-ba788f9e.js → p-fb900e8f.js} +2 -2
- package/dist/components/{p-262671ff.js → p-fef53de3.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +2 -2
- package/dist/components/rtk-ai-transcriptions.js +1 -1
- package/dist/components/rtk-ai.js +1 -1
- package/dist/components/rtk-audio-grid.js +1 -1
- package/dist/components/rtk-audio-tile.js +3 -3
- package/dist/components/rtk-avatar.js +1 -1
- package/dist/components/rtk-breakout-room-manager.js +1 -1
- package/dist/components/rtk-breakout-room-participants.js +1 -1
- package/dist/components/rtk-breakout-rooms-manager.js +1 -1
- package/dist/components/rtk-breakout-rooms-toggle.js +2 -2
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-toggle.js +3 -3
- package/dist/components/rtk-caption-toggle.js +2 -2
- package/dist/components/rtk-channel-creator.js +4 -4
- package/dist/components/rtk-channel-details.js +1 -1
- package/dist/components/rtk-channel-header.js +4 -4
- package/dist/components/rtk-channel-selector-ui.js +4 -4
- package/dist/components/rtk-channel-selector-view.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +4 -4
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-message.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +14 -14
- package/dist/components/rtk-chat-search-results.js +11 -11
- package/dist/components/rtk-chat-toggle.js +30 -26
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +3 -3
- package/dist/components/rtk-confirmation-modal.js +1 -1
- package/dist/components/rtk-controlbar-button.js +1 -1
- package/dist/components/rtk-controlbar.js +1 -1
- package/dist/components/rtk-counter.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +3 -3
- package/dist/components/rtk-dialog-manager.js +14 -14
- package/dist/components/rtk-draft-attachment-view.js +1 -1
- package/dist/components/rtk-emoji-picker-button.js +1 -1
- package/dist/components/rtk-emoji-picker.js +1 -1
- package/dist/components/rtk-file-dropzone.js +1 -1
- package/dist/components/rtk-file-message-view.js +1 -1
- package/dist/components/rtk-file-message.js +1 -1
- package/dist/components/rtk-file-picker-button.js +1 -1
- package/dist/components/rtk-fullscreen-toggle.js +1 -1
- package/dist/components/rtk-grid-pagination.js +1 -1
- package/dist/components/rtk-grid.js +4 -4
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +2 -2
- package/dist/components/rtk-image-message-view.js +1 -1
- package/dist/components/rtk-image-message.js +1 -1
- package/dist/components/rtk-image-viewer.js +1 -1
- package/dist/components/rtk-information-tooltip.js +1 -1
- package/dist/components/rtk-join-stage.js +1 -1
- package/dist/components/rtk-leave-button.js +3 -3
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +2 -2
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +21 -21
- package/dist/components/rtk-menu-item.js +1 -1
- package/dist/components/rtk-menu-list.js +1 -1
- package/dist/components/rtk-menu.js +1 -1
- package/dist/components/rtk-message-list-view.js +4 -4
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +3 -3
- package/dist/components/rtk-mixed-grid.js +3 -3
- package/dist/components/rtk-more-toggle.js +4 -4
- package/dist/components/rtk-mute-all-button.js +3 -3
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-notification.js +1 -1
- package/dist/components/rtk-notifications.js +1 -1
- package/dist/components/rtk-overlay-modal.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-participant-setup.js +2 -2
- package/dist/components/rtk-participant.js +1 -1
- package/dist/components/rtk-participants-audio.js +1 -1
- package/dist/components/rtk-participants-stage-list.js +1 -1
- package/dist/components/rtk-participants-stage-queue.js +1 -1
- package/dist/components/rtk-participants-toggle.js +2 -2
- package/dist/components/rtk-participants-viewer-list.js +1 -1
- package/dist/components/rtk-participants-waiting-list.js +1 -1
- package/dist/components/rtk-participants.js +11 -11
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pip-toggle.js +2 -2
- package/dist/components/rtk-plugins-toggle.js +2 -2
- package/dist/components/rtk-plugins.js +1 -1
- package/dist/components/rtk-poll-form.js +1 -1
- package/dist/components/rtk-poll.js +1 -1
- package/dist/components/rtk-polls-toggle.js +2 -2
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +2 -2
- package/dist/components/rtk-screen-share-toggle.js +3 -3
- package/dist/components/rtk-screenshare-view.js +6 -6
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +3 -3
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +3 -3
- package/dist/components/rtk-setup-screen.js +1 -1
- package/dist/components/rtk-sidebar.js +5 -5
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +2 -2
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +3 -3
- package/dist/components/rtk-stage.js +1 -1
- package/dist/components/rtk-switch.js +1 -1
- package/dist/components/rtk-tab-bar.js +1 -1
- package/dist/components/rtk-text-composer-view.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/components/rtk-text-message.js +1 -1
- package/dist/components/rtk-tooltip.js +1 -1
- package/dist/components/rtk-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +1 -1
- package/dist/components/rtk-virtualized-participant-list.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +88 -66
- package/dist/docs/docs-vscode.json +4 -0
- package/dist/esm/loader.js +397 -371
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-transcriptions.entry.js +1 -1
- package/dist/esm/rtk-audio-grid.entry.js +1 -1
- package/dist/esm/rtk-audio-visualizer_4.entry.js +1 -1
- package/dist/esm/rtk-avatar_24.entry.js +267 -247
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +4 -4
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +9 -9
- package/dist/esm/rtk-channel-creator.entry.js +2 -2
- package/dist/esm/rtk-channel-details.entry.js +1 -1
- package/dist/esm/rtk-channel-selector-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-search-results.entry.js +1 -1
- package/dist/esm/rtk-chat-toggle.entry.js +27 -22
- package/dist/esm/rtk-clock.entry.js +3 -3
- package/dist/esm/rtk-controlbar.entry.js +1 -1
- package/dist/esm/rtk-debugger-toggle.entry.js +1 -1
- package/dist/esm/rtk-file-dropzone.entry.js +1 -1
- package/dist/esm/rtk-file-message_3.entry.js +8 -8
- package/dist/esm/rtk-header.entry.js +1 -1
- package/dist/esm/rtk-idle-screen.entry.js +1 -1
- package/dist/esm/rtk-image-viewer.entry.js +1 -1
- package/dist/esm/rtk-information-tooltip.entry.js +1 -1
- package/dist/esm/rtk-leave-button.entry.js +1 -1
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +1 -1
- package/dist/esm/rtk-notification.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +14 -14
- package/dist/esm/rtk-participants-audio.entry.js +1 -1
- package/dist/esm/rtk-participants-stage-list_4.entry.js +1 -1
- package/dist/esm/rtk-plugins_2.entry.js +4 -4
- package/dist/esm/rtk-poll_2.entry.js +3 -3
- package/dist/esm/rtk-recording-indicator.entry.js +1 -1
- package/dist/esm/rtk-screenshare-view.entry.js +5 -5
- package/dist/esm/rtk-settings-toggle.entry.js +1 -1
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +1 -1
- package/dist/esm/rtk-transcript.entry.js +1 -1
- package/dist/esm/rtk-waiting-screen.entry.js +1 -1
- package/dist/realtimekit-ui/{p-d2a92f27.entry.js → p-00445029.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-42989f41.entry.js → p-02c6b025.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-af6436dd.entry.js → p-0baa78d7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6ba99cc3.entry.js → p-1fe6003b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-21d4bb9c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-ed34d8a1.entry.js → p-23784be6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f19668ba.entry.js → p-2441260e.entry.js} +1 -1
- package/dist/realtimekit-ui/p-322957ed.entry.js +1 -0
- package/dist/realtimekit-ui/{p-9ac1b986.entry.js → p-323d1aa4.entry.js} +1 -1
- package/dist/realtimekit-ui/p-44d69c6b.entry.js +1 -0
- package/dist/realtimekit-ui/p-48c87789.entry.js +1 -0
- package/dist/realtimekit-ui/{p-c43c2382.entry.js → p-53680d55.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5ebc57f8.entry.js → p-54a88fdf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-beedd1b5.entry.js → p-5892c1e0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b64eae39.entry.js → p-612a8d25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6437ff4e.entry.js → p-64206b62.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-2f9211b9.entry.js → p-67ead213.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-29c11bdb.entry.js → p-6896e819.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-73a56e4f.entry.js → p-7a9a226e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-298befae.entry.js → p-80e51a73.entry.js} +1 -1
- package/dist/realtimekit-ui/p-820dad23.entry.js +1 -0
- package/dist/realtimekit-ui/p-83db4de1.entry.js +1 -0
- package/dist/realtimekit-ui/{p-844143f8.entry.js → p-85b3c0c4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b4975a33.entry.js → p-8778b3e6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-447ffea0.entry.js → p-a1408db4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1a78c129.entry.js → p-a67e2a25.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3d5ebc77.entry.js → p-a680da64.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b6cee65a.entry.js → p-a7172c2d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-78968008.entry.js → p-a852e0cf.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-503371f7.entry.js → p-ac6c8ebe.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-132fca40.entry.js → p-b25f7d7b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b51e813e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-f6918dd7.entry.js → p-be5bdd0a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c5f704a3.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a849f2b3.entry.js → p-cc226b51.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6928aa8e.entry.js → p-cda276d6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-d880fb69.entry.js +1 -0
- package/dist/realtimekit-ui/p-f457ae6f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-3482a231.entry.js → p-f6c82f1b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-fa86682c.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +4 -6
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +2 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +68 -53
- package/dist/types/components.d.ts +17 -5
- package/package.json +1 -1
- package/dist/components/p-8e160343.js +0 -357
- package/dist/realtimekit-ui/p-02889d02.entry.js +0 -1
- package/dist/realtimekit-ui/p-0485834f.entry.js +0 -1
- package/dist/realtimekit-ui/p-190523f5.entry.js +0 -1
- package/dist/realtimekit-ui/p-2f6fd6de.entry.js +0 -1
- package/dist/realtimekit-ui/p-3a4e302b.entry.js +0 -1
- package/dist/realtimekit-ui/p-93e9fb59.entry.js +0 -1
- package/dist/realtimekit-ui/p-a9cb6a16.entry.js +0 -1
- package/dist/realtimekit-ui/p-bf234650.entry.js +0 -1
- package/dist/realtimekit-ui/p-ce5a911d.entry.js +0 -1
- package/dist/realtimekit-ui/p-d5144f9d.entry.js +0 -1
- package/dist/realtimekit-ui/p-db831ab6.entry.js +0 -1
package/dist/esm/loader.js
CHANGED
|
@@ -2040,7 +2040,7 @@ const globalScripts = () => {};
|
|
|
2040
2040
|
const defineCustomElements = async (win, options) => {
|
|
2041
2041
|
if (typeof window === 'undefined') return undefined;
|
|
2042
2042
|
await globalScripts();
|
|
2043
|
-
return bootstrapLazy(JSON.parse("[[\"rtk-avatar_24\",[[1,\"rtk-meeting\",{\"loadConfigFromPreset\":[1028,\"load-config-from-preset\"],\"applyDesignSystem\":[1028,\"apply-design-system\"],\"mode\":[513],\"leaveOnUnmount\":[4,\"leave-on-unmount\"],\"meeting\":[16],\"showSetupScreen\":[1028,\"show-setup-screen\"],\"t\":[16],\"config\":[1040],\"size\":[1537],\"gridLayout\":[1,\"grid-layout\"],\"iconPack\":[16],\"overrides\":[16]},null,{\"meeting\":[\"meetingChanged\"],\"iconPack\":[\"iconPackChanged\"],\"t\":[\"tChanged\"],\"config\":[\"configChanged\"],\"overrides\":[\"overridesChanged\"]}],[1,\"rtk-chat\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"disablePrivateChat\":[4,\"disable-private-chat\"],\"privatePresetFilter\":[16],\"displayFilter\":[16],\"canPinMessages\":[32],\"unreadCountGroups\":[32],\"chatGroups\":[32],\"selectedGroup\":[32],\"now\":[32],\"dropzoneActivated\":[32],\"showLatestMessageButton\":[32],\"canSend\":[32],\"canSendTextMessage\":[32],\"canSendFiles\":[32],\"canPrivateMessage\":[32],\"canSendPrivateTexts\":[32],\"canSendPrivateFiles\":[32],\"emojiPickerEnabled\":[32],\"chatRecipientId\":[32],\"participants\":[32],\"selectedParticipant\":[32],\"channels\":[32],\"selectedChannelId\":[32],\"editingMessage\":[32],\"replyMessage\":[32],\"searchQuery\":[32],\"selectorState\":[32],\"creatingChannel\":[32],\"showPinnedMessages\":[32]},[[8,\"editMessageInit\",\"onEditMessageInit\"],[0,\"switchChannel\",\"channelSwitchListener\"]],{\"meeting\":[\"meetingChanged\"],\"chatGroups\":[\"chatGroupsChanged\"],\"displayFilter\":[\"onDisplayFilterChanged\"]}],[1,\"rtk-chat-messages-ui-paginated\",{\"meeting\":[16],\"selectedChannel\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"leftAlign\":[4,\"left-align\"],\"children\":[32],\"permissionsChanged\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"selectedChannelId\":[\"channelChanged\"]}],[1,\"rtk-chat-composer-view\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"message\":[1],\"quotedMessage\":[1,\"quoted-message\"],\"storageKey\":[1,\"storage-key\"],\"inputTextPlaceholder\":[1,\"input-text-placeholder\"],\"isEditing\":[4,\"is-editing\"],\"iconPack\":[16],\"t\":[16],\"maxLength\":[2,\"max-length\"],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"rateLimits\":[16],\"fileToUpload\":[32],\"isEmojiPickerOpen\":[32],\"disableSendButton\":[32],\"rateLimitsBreached\":[32]}],[1,\"rtk-channel-selector-view\",{\"channels\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"disableSearch\":[4,\"disable-search\"],\"hideAvatar\":[4,\"hide-avatar\"],\"iconPack\":[16],\"t\":[16],\"viewAs\":[1,\"view-as\"],\"searchQuery\":[32],\"showDropdown\":[32]}],[1,\"rtk-draft-attachment-view\",{\"iconPack\":[16],\"t\":[16],\"attachment\":[16],\"filePreview\":[32]},null,{\"attachment\":[\"onAttachmentChange\"]}],[1,\"rtk-emoji-picker-button\",{\"iconPack\":[16],\"t\":[16],\"isActive\":[4,\"is-active\"]}],[1,\"rtk-file-picker-button\",{\"filter\":[1],\"label\":[1],\"icon\":[1],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-text-composer-view\",{\"disabled\":[4],\"placeholder\":[1],\"value\":[1],\"maxLength\":[2,\"max-length\"],\"rateLimitBreached\":[4,\"rate-limit-breached\"],\"keyDownHandler\":[16],\"iconPack\":[16],\"t\":[16],\"maxLengthBreached\":[32],\"setText\":[64]}],[1,\"rtk-message-view\",{\"actions\":[16],\"variant\":[1],\"viewType\":[1,\"view-type\"],\"avatarUrl\":[1,\"avatar-url\"],\"hideAvatar\":[4,\"hide-avatar\"],\"authorName\":[1,\"author-name\"],\"isSelf\":[4,\"is-self\"],\"hideAuthorName\":[4,\"hide-author-name\"],\"hideMetadata\":[4,\"hide-metadata\"],\"time\":[16],\"iconPack\":[16]}],[1,\"rtk-emoji-picker\",{\"iconPack\":[16],\"t\":[16],\"focusWhenOpened\":[4,\"focus-when-opened\"],\"emojiList\":[32],\"filterVal\":[32],\"filteredEmojis\":[32]}],[1,\"rtk-image-message-view\",{\"url\":[1],\"iconPack\":[16],\"t\":[16],\"status\":[32]}],[1,\"rtk-paginated-list\",{\"pageSize\":[2,\"page-size\"],\"pagesAllowed\":[2,\"pages-allowed\"],\"fetchData\":[16],\"createNodes\":[16],\"selectedItemId\":[1,\"selected-item-id\"],\"autoScroll\":[4,\"auto-scroll\"],\"iconPack\":[16],\"t\":[16],\"emptyListLabel\":[1,\"empty-list-label\"],\"isLoading\":[32],\"isLoadingTop\":[32],\"isLoadingBottom\":[32],\"hasMoreDataAtTop\":[32],\"rerenderBoolean\":[32],\"shouldRenderNewNodes\":[32],\"hasNewNodesToRender\":[32],\"showEmptyListLabel\":[32],\"onNewNode\":[64],\"onNodeDelete\":[64],\"onNodeUpdate\":[64]},null,{\"selectedItemId\":[\"onItemChanged\"]}],[1,\"rtk-file-message-view\",{\"name\":[1],\"size\":[2],\"url\":[1],\"iconPack\":[16]}],[0,\"rtk-text-message-view\",{\"text\":[1],\"isMarkdown\":[4,\"is-markdown\"]}],[1,\"rtk-markdown-view\",{\"text\":[1],\"maxLength\":[2,\"max-length\"]}],[1,\"rtk-menu\",{\"size\":[513],\"placement\":[1],\"offset\":[2],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-menu-item\",{\"size\":[513],\"menuVariant\":[1,\"menu-variant\"],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-menu-list\",{\"iconPack\":[16],\"menuVariant\":[1,\"menu-variant\"],\"t\":[16]}],[1,\"rtk-avatar\",{\"participant\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]}],[1,\"rtk-tooltip\",{\"label\":[1],\"variant\":[513],\"disabled\":[516],\"open\":[516],\"kind\":[513],\"size\":[513],\"placement\":[1],\"delay\":[2],\"isInFocus\":[32]},null,{\"open\":[\"openChanged\"]}],[1,\"rtk-spinner\",{\"iconPack\":[16],\"size\":[513]}],[17,\"rtk-button\",{\"size\":[513],\"variant\":[513],\"kind\":[513],\"reverse\":[516],\"disabled\":[516],\"type\":[513]}],[1,\"rtk-icon\",{\"icon\":[1],\"variant\":[513],\"size\":[513]}]]],[\"rtk-dialog-manager\",[[1,\"rtk-dialog-manager\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participants\",[[1,\"rtk-participants\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"defaultParticipantsTabId\":[1,\"default-participants-tab-id\"],\"t\":[16],\"currentParticipantsTabId\":[32],\"tabs\":[32],\"hasRequests\":[32],\"search\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"currentParticipantsTabId\":[\"currentParticipantsTabIdChanged\"]}]]],[\"rtk-chat-messages-ui\",[[1,\"rtk-chat-messages-ui\",{\"selectedGroup\":[1,\"selected-group\"],\"messages\":[16],\"selfUserId\":[1,\"self-user-id\"],\"canPinMessages\":[4,\"can-pin-messages\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"now\":[32],\"showLatestMessageButton\":[32]},null,{\"messages\":[\"chatChanged\"],\"selectedGroup\":[\"selectedBucketChanged\"]}]]],[\"rtk-chat-search-results\",[[1,\"rtk-chat-search-results\",{\"meeting\":[16],\"query\":[1],\"channelId\":[1,\"channel-id\"],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-settings\",[[1,\"rtk-settings\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"networkStatus\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-grid\",[[1,\"rtk-grid\",{\"layout\":[513],\"aspectRatio\":[513,\"aspect-ratio\"],\"meeting\":[16],\"gap\":[514],\"size\":[513],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"overrides\":[8],\"participants\":[32],\"pinnedParticipants\":[32],\"screenShareParticipants\":[32],\"plugins\":[32],\"emptyStage\":[32],\"showLiveStreamPlayer\":[32],\"canCurrentPeerHost\":[32],\"pipSupported\":[32],\"pipEnabled\":[32],\"hidden\":[32],\"roomState\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"overrides\":[\"overridesChanged\"],\"screenShareParticipants\":[\"screenShareParticipantsChanged\"],\"plugins\":[\"pluginsChanged\"],\"pinnedParticipants\":[\"pinnedParticipantsChanged\"]}]]],[\"rtk-sidebar\",[[1,\"rtk-sidebar\",{\"enabledSections\":[1040],\"defaultSection\":[1,\"default-section\"],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513],\"currentTab\":[32],\"isFloating\":[32],\"enablePinning\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"view\":[\"viewChanged\"]}]]],[\"rtk-channel-header\",[[0,\"rtk-channel-header\",{\"meeting\":[16],\"channel\":[16],\"iconPack\":[16],\"t\":[16],\"showBackButton\":[4,\"show-back-button\"],\"showChannelDetailsDialog\":[32],\"showSearchBar\":[32],\"members\":[32]},null,{\"channel\":[\"onChannelChanged\"]}]]],[\"rtk-chat-composer-ui\",[[1,\"rtk-chat-composer-ui\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"prefill\":[16],\"members\":[16],\"channelId\":[1,\"channel-id\"],\"emojiPickerActive\":[32],\"mentionQuery\":[32],\"focusedMemberIndex\":[32],\"filePreview\":[32]},null,{\"channelId\":[\"onChannelChanged\"]}]]],[\"rtk-mixed-grid\",[[1,\"rtk-mixed-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"screenShareParticipants\":[16],\"plugins\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"activeTab\":[32],\"initialised\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"screenShareParticipants\":[\"screenShareParticipantsChanged\"],\"plugins\":[\"pluginsChanged\"]}]]],[\"rtk-setup-screen\",[[1,\"rtk-setup-screen\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"displayName\":[32],\"isJoining\":[32],\"canEditName\":[32],\"canProduceAudio\":[32],\"connectionState\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-audio-tile\",[[1,\"rtk-audio-tile\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"participant\":[16],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-camera-toggle\",[[1,\"rtk-camera-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32],\"canProduceVideo\":[32],\"cameraPermission\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-channel-creator\",[[1,\"rtk-channel-creator\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"channelName\":[32],\"searchQuery\":[32],\"step\":[32],\"loading\":[32],\"selectedMemberIds\":[32],\"focusedMemberIndex\":[32],\"showAllMembersList\":[32]}]]],[\"rtk-channel-selector-ui\",[[1,\"rtk-channel-selector-ui\",{\"channels\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"iconPack\":[16],\"t\":[16],\"showRecentMessage\":[4,\"show-recent-message\"],\"isHidden\":[32],\"searchQuery\":[32]}]]],[\"rtk-mic-toggle\",[[1,\"rtk-mic-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"audioEnabled\":[32],\"canProduceAudio\":[32],\"micPermission\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-mute-all-button\",[[1,\"rtk-mute-all-button\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canDisable\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-screen-share-toggle\",[[1,\"rtk-screen-share-toggle\",{\"states\":[16],\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"maxScreenShareCount\":[32],\"screenShareCount\":[32],\"screenShareEnabled\":[32],\"canScreenShare\":[32],\"shareScreenPermission\":[32],\"screenShareState\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-stage-toggle\",[[1,\"rtk-stage-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"states\":[16],\"t\":[16],\"stageStatus\":[32],\"state\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-ai\",[[1,\"rtk-ai\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513]},null,{\"view\":[\"viewChanged\"]}]]],[\"rtk-ai-toggle\",[[1,\"rtk-ai-toggle\",{\"variant\":[513],\"states\":[16],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"aiActive\":[32]},null,{\"states\":[\"statesChanged\"]}]]],[\"rtk-breakout-rooms-toggle\",[[1,\"rtk-breakout-rooms-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canToggle\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-caption-toggle\",[[1,\"rtk-caption-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"captionEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-chat-toggle\",[[1,\"rtk-chat-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"unreadMessageCount\":[32],\"chatActive\":[32],\"canViewChat\":[32],\"hasNewMessages\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"chatActive\":[\"handleChatActiveChange\"]}]]],[\"rtk-debugger-toggle\",[[1,\"rtk-debugger-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513]}]]],[\"rtk-grid-pagination\",[[1,\"rtk-grid-pagination\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"page\":[32],\"pageCount\":[32],\"activeCount\":[32],\"activeComputedCount\":[32],\"showPagination\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"size\":[\"sizeChanged\"]}]]],[\"rtk-idle-screen\",[[1,\"rtk-idle-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-leave-button\",[[1,\"rtk-leave-button\",{\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-livestream-toggle\",[[1,\"rtk-livestream-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"livestreamState\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-more-toggle\",[[1,\"rtk-more-toggle\",{\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-notifications\",[[1,\"rtk-notifications\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"size\":[513],\"iconPack\":[16],\"notifications\":[32],\"paused\":[32]},[[8,\"rtkApiError\",\"apiErrorListener\"],[8,\"rtkSendNotification\",\"sendNotificationListener\"]],{\"meeting\":[\"meetingChanged\"],\"config\":[\"configChanged\"],\"states\":[\"statesChanged\"]}]]],[\"rtk-participants-audio\",[[1,\"rtk-participants-audio\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"preloadedAudioElem\":[16],\"showPlayDialog\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participants-toggle\",[[1,\"rtk-participants-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"participantsActive\":[32],\"waitlistedParticipants\":[32],\"stageRequestedParticipants\":[32],\"badgeCount\":[32],\"canViewParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"participantsActive\":[\"handleParticipantsActiveChange\"]}]]],[\"rtk-pip-toggle\",[[1,\"rtk-pip-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"pipSupported\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugins-toggle\",[[1,\"rtk-plugins-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pluginsActive\":[32],\"canViewPlugins\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"pluginsActive\":[\"handlePluginsActiveChange\"]}]]],[\"rtk-polls-toggle\",[[1,\"rtk-polls-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pollsActive\":[32],\"unreadPollsCount\":[32],\"canViewPolls\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"pollsActive\":[\"handlePollsActiveChange\"]}]]],[\"rtk-recording-toggle\",[[1,\"rtk-recording-toggle\",{\"variant\":[513],\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513],\"disabled\":[4],\"recordingState\":[32],\"canRecord\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-screenshare-view\",[[1,\"rtk-screenshare-view\",{\"hideFullScreenButton\":[4,\"hide-full-screen-button\"],\"nameTagPosition\":[513,\"name-tag-position\"],\"participant\":[16],\"meeting\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoExpanded\":[32],\"screenShareEnabled\":[32],\"isFullScreen\":[32],\"remoteControlInfo\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-settings-toggle\",[[1,\"rtk-settings-toggle\",{\"variant\":[513],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ended-screen\",[[1,\"rtk-ended-screen\",{\"config\":[16],\"size\":[513],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"meeting\":[16],\"icon\":[32],\"message\":[32]},null,{\"states\":[\"statesChanged\"]}]]],[\"rtk-image-viewer\",[[1,\"rtk-image-viewer\",{\"image\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16]}]]],[\"rtk-message-list-view\",[[0,\"rtk-message-list-view\",{\"messages\":[16],\"renderer\":[16],\"loadMore\":[16],\"visibleItemsCount\":[2,\"visible-items-count\"],\"estimateItemSize\":[2,\"estimate-item-size\"],\"iconPack\":[16],\"range\":[32],\"isFetching\":[32],\"autoScroll\":[32],\"totalHeight\":[32]},null,{\"messages\":[\"messagesUpdated\"]}]]],[\"rtk-chat-selector-ui\",[[1,\"rtk-chat-selector-ui\",{\"selfUserId\":[1,\"self-user-id\"],\"selectedGroupId\":[1,\"selected-group-id\"],\"unreadCounts\":[16],\"groups\":[16],\"iconPack\":[16],\"t\":[16],\"showParticipantsPanel\":[32],\"query\":[32]}]]],[\"rtk-clock\",[[1,\"rtk-clock\",{\"meeting\":[16],\"iconPack\":[16],\"size\":[513],\"startedTime\":[32],\"timeDiff\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"startedTime\":[\"startedTimeChanged\"]}]]],[\"rtk-file-dropzone\",[[1,\"rtk-file-dropzone\",{\"hostEl\":[16],\"iconPack\":[16],\"t\":[16],\"dropzoneActivated\":[32]}]]],[\"rtk-information-tooltip\",[[1,\"rtk-information-tooltip\",{\"iconPack\":[16]}]]],[\"rtk-meeting-title\",[[1,\"rtk-meeting-title\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-network-indicator\",[[1,\"rtk-network-indicator\",{\"participant\":[16],\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isScreenShare\":[4,\"is-screen-share\"],\"score\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-participant-count\",[[1,\"rtk-participant-count\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"participantCount\":[32],\"isViewer\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-recording-indicator\",[[1,\"rtk-recording-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isRecording\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-transcripts\",[[1,\"rtk-transcripts\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"transcripts\":[32],\"listenerAttached\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"]}]]],[\"rtk-waiting-screen\",[[1,\"rtk-waiting-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-grid\",[[1,\"rtk-audio-grid\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"hideSelf\":[4,\"hide-self\"],\"activeParticipants\":[32],\"onStageParticipants\":[32],\"offStageParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-controlbar\",[[1,\"rtk-controlbar\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-header\",[[1,\"rtk-header\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-participant-setup\",[[1,\"rtk-participant-setup\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoState\":[32],\"isPinned\":[32]},null,{\"participant\":[\"participantsChanged\"],\"videoState\":[\"videoStateChanged\"]}]]],[\"rtk-simple-grid\",[[1,\"rtk-simple-grid\",{\"participants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"dimensions\":[32],\"mediaConnection\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-spotlight-grid\",[[1,\"rtk-spotlight-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16]}]]],[\"rtk-stage\",[[1,\"rtk-stage\",{\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ui-provider\",[[4,\"rtk-ui-provider\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"mode\":[513],\"showSetupScreen\":[4,\"show-setup-screen\"],\"overrides\":[16]},null,{\"meeting\":[\"meetingChanged\"],\"iconPack\":[\"iconPackChanged\"],\"t\":[\"tChanged\"],\"config\":[\"configChanged\"],\"overrides\":[\"overridesChanged\"]}]]],[\"rtk-chat-message\",[[1,\"rtk-chat-message\",{\"message\":[16],\"isContinued\":[4,\"is-continued\"],\"child\":[16],\"isUnread\":[4,\"is-unread\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isSelf\":[4,\"is-self\"],\"canEdit\":[4,\"can-edit\"],\"canDelete\":[4,\"can-delete\"],\"canReply\":[4,\"can-reply\"],\"canPin\":[4,\"can-pin\"],\"disableControls\":[4,\"disable-controls\"],\"alignRight\":[4,\"align-right\"],\"senderDisplayPicture\":[1,\"sender-display-picture\"],\"hideAvatar\":[4,\"hide-avatar\"],\"leftAlign\":[4,\"left-align\"],\"now\":[32]}]]],[\"rtk-channel-details\",[[1,\"rtk-channel-details\",{\"channel\":[16],\"t\":[16],\"iconPack\":[16],\"members\":[16]}]]],[\"rtk-notification\",[[1,\"rtk-notification\",{\"notification\":[16],\"paused\":[4],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]},null,{\"paused\":[\"pausedChanged\"],\"notification\":[\"notificationChanged\"]}]]],[\"rtk-ai-transcriptions\",[[1,\"rtk-ai-transcriptions\",{\"t\":[16],\"meeting\":[16],\"initialTranscriptions\":[16],\"participantQuery\":[32],\"isProcessing\":[32],\"transcriptions\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"transcriptions\":[\"transcriptionsChanged\"]}]]],[\"rtk-name-tag\",[[1,\"rtk-name-tag\",{\"participant\":[16],\"meeting\":[16],\"size\":[513],\"isScreenShare\":[4,\"is-screen-share\"],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"length\":[32]},null,{\"size\":[\"sizeChanged\"]}]]],[\"rtk-transcript\",[[1,\"rtk-transcript\",{\"transcript\":[16],\"t\":[16],\"timeout\":[32]},null,{\"transcript\":[\"transcriptChanged\"]}]]],[\"rtk-settings-audio_2\",[[1,\"rtk-settings-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-settings-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugins_2\",[[1,\"rtk-polls\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"create\":[32],\"polls\":[32],\"permissions\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-plugins\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"plugins\":[32],\"canStartPlugins\":[32],\"canClosePlugins\":[32],\"activatedPluginsId\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugin-main_2\",[[1,\"rtk-tab-bar\",{\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"layout\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[16],\"tabs\":[16]}],[1,\"rtk-plugin-main\",{\"meeting\":[16],\"plugin\":[16],\"iconPack\":[16],\"t\":[16],\"canClosePlugin\":[32],\"viewModeEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"plugin\":[\"pluginChanged\"]}]]],[\"rtk-fullscreen-toggle\",[[1,\"rtk-fullscreen-toggle\",{\"states\":[16],\"targetElement\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"fullScreenActive\":[32],\"isFullScreenSupported\":[32]}]]],[\"rtk-sidebar-ui\",[[1,\"rtk-sidebar-ui\",{\"view\":[513],\"tabs\":[16],\"hideHeader\":[4,\"hide-header\"],\"hideCloseAction\":[4,\"hide-close-action\"],\"currentTab\":[1,\"current-tab\"],\"iconPack\":[16],\"focusCloseButton\":[4,\"focus-close-button\"],\"t\":[16]},null,{\"currentTab\":[\"handleFocusCloseButton\"]}]]],[\"rtk-spotlight-indicator\",[[1,\"rtk-spotlight-indicator\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"canSpotlight\":[32],\"isSpotlighted\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-livestream-indicator_3\",[[1,\"rtk-livestream-player\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"playbackUrl\":[32],\"isSupported\":[32],\"playerState\":[32],\"livestreamState\":[32],\"playerError\":[32],\"livestreamId\":[32],\"audioPlaybackError\":[32],\"qualityLevels\":[32],\"selectedQuality\":[32],\"currentTime\":[32],\"duration\":[32],\"hideControls\":[32],\"isDragging\":[32],\"seekPosition\":[32],\"isSeeking\":[32]},null,{\"livestreamState\":[\"updateLivestreamId\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-livestream-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isLivestreaming\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-viewer-count\",{\"meeting\":[16],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"viewerCount\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-dialog\",[[1,\"rtk-dialog\",{\"hideCloseButton\":[4,\"hide-close-button\"],\"disableEscapeKey\":[4,\"disable-escape-key\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"open\":[1540]}]]],[\"rtk-logo\",[[1,\"rtk-logo\",{\"logoUrl\":[1025,\"logo-url\"],\"config\":[16],\"meeting\":[16],\"t\":[16]},null,{\"config\":[\"configChanged\"],\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participant_2\",[[1,\"rtk-participant\",{\"meeting\":[16],\"states\":[16],\"view\":[1],\"participant\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"audioEnabled\":[32],\"videoEnabled\":[32],\"isPinned\":[32],\"isHidden\":[32],\"isOnStage\":[32],\"canDisableParticipantAudio\":[32],\"canDisableParticipantVideo\":[32],\"canKickParticipant\":[32],\"canPinParticipant\":[32],\"canAllowParticipantOnStage\":[32],\"menuOpen\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participant\":[\"participantChanged\"]}],[0,\"rtk-virtualized-participant-list\",{\"items\":[16],\"renderItem\":[16],\"itemHeight\":[1026,\"item-height\"],\"bufferedItemsCount\":[2,\"buffered-items-count\"],\"emptyListElement\":[16],\"visibleStart\":[32],\"visibleEnd\":[32]},null,{\"items\":[\"itemsChanged\"]}]]],[\"rtk-participants-stage-list_4\",[[1,\"rtk-participants-viewer-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"search\":[1],\"t\":[16],\"stageViewers\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"search\":[\"searchChanged\"]}],[1,\"rtk-participants-stage-queue\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"stageRequestedParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-participants-waiting-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"waitlistedParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-participants-stage-list\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"search\":[1],\"participants\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"search\":[\"searchChanged\"]}]]],[\"rtk-poll_2\",[[1,\"rtk-poll-form\",{\"iconPack\":[16],\"t\":[16],\"options\":[32],\"anonymous\":[32],\"hideVotes\":[32],\"error\":[32]}],[1,\"rtk-poll\",{\"poll\":[16],\"self\":[1],\"permissions\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-camera-selector_2\",[[1,\"rtk-participant-tile\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"meeting\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isPinned\":[32],\"mediaConnectionError\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participant\":[\"participantsChanged\"]}],[1,\"rtk-camera-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"videoDevices\":[32],\"currentDevice\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-breakout-room-manager_3\",[[1,\"rtk-breakout-room-manager\",{\"meeting\":[16],\"assigningParticipants\":[4,\"assigning-participants\"],\"mode\":[1],\"states\":[16],\"allowDelete\":[4,\"allow-delete\"],\"iconPack\":[16],\"t\":[16],\"isDragMode\":[4,\"is-drag-mode\"],\"room\":[16],\"defaultExpanded\":[4,\"default-expanded\"],\"editingTitleRoomId\":[32],\"newTitle\":[32],\"showExpandedCard\":[32],\"glowingCard\":[32]}],[1,\"rtk-breakout-room-participants\",{\"meeting\":[16],\"participantIds\":[16],\"iconPack\":[16],\"t\":[16],\"selectedParticipantIds\":[16],\"search\":[32],\"participantsToShow\":[32],\"isDragging\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participantIds\":[\"participantsChanged\"],\"search\":[\"searchChanged\"]}],[1,\"rtk-counter\",{\"size\":[513],\"value\":[2],\"minValue\":[2,\"min-value\"],\"iconPack\":[16],\"t\":[16],\"input\":[32]},null,{\"input\":[\"watchStateHandler\"]}]]],[\"rtk-file-message_3\",[[0,\"rtk-image-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"],\"status\":[32]}],[0,\"rtk-file-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}],[0,\"rtk-text-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}]]],[\"rtk-debugger-audio_4\",[[1,\"rtk-debugger-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"audioProducerScoreStats\":[\"audioProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-screenshare\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32]},null,{\"videoProducerScoreStats\":[\"videoProducerScoreStatsChanged\"],\"audioProducerScoreStats\":[\"audioProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-system\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isBatterySectionOpen\":[32],\"batterySectionHealth\":[32],\"battery\":[32],\"batteryFormattedStats\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"videoProducerScoreStats\":[\"videoProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-breakout-rooms-manager_9\",[[1,\"rtk-breakout-rooms-manager\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"loading\":[32],\"roomConfig\":[32],\"draftState\":[32],\"assigningParticipants\":[32],\"selectedParticipants\":[32],\"ephemeralStatusText\":[32],\"isDragMode\":[32]},[[0,\"participantDelete\",\"onParticipantDelete\"],[0,\"participantsDragging\",\"toggleDragMode\"],[0,\"selectedParticipantsUpdate\",\"updateSelectedParticipants\"],[0,\"allParticipantsToggleUpdate\",\"updateAllParticipants\"]],{\"selectedParticipants\":[\"onSelectedParticipantsChanged\"]}],[1,\"rtk-debugger\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"progress\":[32]},[[0,\"testProgress\",\"progressUpdate\"]]],[1,\"rtk-broadcast-message-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"messagePayload\":[32],\"successMessage\":[32]}],[1,\"rtk-join-stage\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"dataConfig\":[16],\"isLoading\":[32]}],[1,\"rtk-permissions-message\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"states\":[16],\"device\":[32],\"currentStep\":[32],\"svgSteps\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-confirmation-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-leave-meeting\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"canEndMeeting\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-mute-all-confirmation\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"allowUnmute\":[32]}],[1,\"rtk-overlay-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-visualizer_4\",[[1,\"rtk-audio-visualizer\",{\"variant\":[513],\"participant\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"hideMuted\":[4,\"hide-muted\"],\"isScreenShare\":[4,\"is-screen-share\"],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[\"participantChanged\"]}],[1,\"rtk-speaker-selector\",{\"meeting\":[16],\"states\":[16],\"variant\":[1],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"speakerDevices\":[32],\"currentDevices\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-microphone-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"audioinputDevices\":[32],\"canProduceAudio\":[32],\"currentDevices\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-switch\",{\"checked\":[1028],\"readonly\":[4],\"disabled\":[516],\"iconPack\":[16],\"t\":[16]},null,{\"checked\":[\"checkedChange\"]}]]],[\"rtk-controlbar-button\",[[17,\"rtk-controlbar-button\",{\"variant\":[513],\"showWarning\":[4,\"show-warning\"],\"size\":[513],\"label\":[1],\"icon\":[1],\"isLoading\":[4,\"is-loading\"],\"disabled\":[516],\"iconPack\":[16],\"brandIcon\":[516,\"brand-icon\"]}]]]]"), options);
|
|
2043
|
+
return bootstrapLazy(JSON.parse("[[\"rtk-avatar_24\",[[1,\"rtk-meeting\",{\"loadConfigFromPreset\":[1028,\"load-config-from-preset\"],\"applyDesignSystem\":[1028,\"apply-design-system\"],\"mode\":[513],\"leaveOnUnmount\":[4,\"leave-on-unmount\"],\"meeting\":[16],\"showSetupScreen\":[1028,\"show-setup-screen\"],\"t\":[16],\"config\":[1040],\"size\":[1537],\"gridLayout\":[1,\"grid-layout\"],\"iconPack\":[16],\"overrides\":[16]},null,{\"meeting\":[\"meetingChanged\"],\"iconPack\":[\"iconPackChanged\"],\"t\":[\"tChanged\"],\"config\":[\"configChanged\"],\"overrides\":[\"overridesChanged\"]}],[1,\"rtk-chat\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"overrides\":[16],\"disablePrivateChat\":[4,\"disable-private-chat\"],\"privatePresetFilter\":[16],\"displayFilter\":[16],\"canPinMessages\":[32],\"unreadCountGroups\":[32],\"chatGroups\":[32],\"selectedGroup\":[32],\"now\":[32],\"dropzoneActivated\":[32],\"showLatestMessageButton\":[32],\"canSend\":[32],\"canSendTextMessage\":[32],\"canSendFiles\":[32],\"canPrivateMessage\":[32],\"canSendPrivateTexts\":[32],\"canSendPrivateFiles\":[32],\"emojiPickerEnabled\":[32],\"chatRecipientId\":[32],\"participants\":[32],\"selectedParticipant\":[32],\"channels\":[32],\"selectedChannelId\":[32],\"editingMessage\":[32],\"replyMessage\":[32],\"searchQuery\":[32],\"selectorState\":[32],\"creatingChannel\":[32],\"showPinnedMessages\":[32]},[[8,\"editMessageInit\",\"onEditMessageInit\"],[0,\"switchChannel\",\"channelSwitchListener\"]],{\"meeting\":[\"meetingChanged\"],\"chatGroups\":[\"chatGroupsChanged\"],\"displayFilter\":[\"onDisplayFilterChanged\"]}],[1,\"rtk-chat-messages-ui-paginated\",{\"meeting\":[16],\"selectedChannel\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"leftAlign\":[4,\"left-align\"],\"children\":[32],\"permissionsChanged\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"selectedChannelId\":[\"channelChanged\"]}],[1,\"rtk-chat-composer-view\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"message\":[1],\"quotedMessage\":[1,\"quoted-message\"],\"storageKey\":[1,\"storage-key\"],\"inputTextPlaceholder\":[1,\"input-text-placeholder\"],\"isEditing\":[4,\"is-editing\"],\"iconPack\":[16],\"t\":[16],\"maxLength\":[2,\"max-length\"],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"rateLimits\":[16],\"fileToUpload\":[32],\"isEmojiPickerOpen\":[32],\"disableSendButton\":[32],\"rateLimitsBreached\":[32]}],[1,\"rtk-channel-selector-view\",{\"channels\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"disableSearch\":[4,\"disable-search\"],\"hideAvatar\":[4,\"hide-avatar\"],\"iconPack\":[16],\"t\":[16],\"viewAs\":[1,\"view-as\"],\"searchQuery\":[32],\"showDropdown\":[32]}],[1,\"rtk-draft-attachment-view\",{\"iconPack\":[16],\"t\":[16],\"attachment\":[16],\"filePreview\":[32]},null,{\"attachment\":[\"onAttachmentChange\"]}],[1,\"rtk-emoji-picker-button\",{\"iconPack\":[16],\"t\":[16],\"isActive\":[4,\"is-active\"]}],[1,\"rtk-file-picker-button\",{\"filter\":[1],\"label\":[1],\"icon\":[1],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-text-composer-view\",{\"disabled\":[4],\"placeholder\":[1],\"value\":[1],\"maxLength\":[2,\"max-length\"],\"rateLimitBreached\":[4,\"rate-limit-breached\"],\"keyDownHandler\":[16],\"iconPack\":[16],\"t\":[16],\"maxLengthBreached\":[32],\"setText\":[64]}],[1,\"rtk-message-view\",{\"actions\":[16],\"variant\":[1],\"pinned\":[4],\"viewType\":[1,\"view-type\"],\"avatarUrl\":[1,\"avatar-url\"],\"hideAvatar\":[4,\"hide-avatar\"],\"authorName\":[1,\"author-name\"],\"isSelf\":[4,\"is-self\"],\"hideAuthorName\":[4,\"hide-author-name\"],\"hideMetadata\":[4,\"hide-metadata\"],\"time\":[16],\"iconPack\":[16]}],[1,\"rtk-emoji-picker\",{\"iconPack\":[16],\"t\":[16],\"focusWhenOpened\":[4,\"focus-when-opened\"],\"emojiList\":[32],\"filterVal\":[32],\"filteredEmojis\":[32]}],[1,\"rtk-image-message-view\",{\"url\":[1],\"iconPack\":[16],\"t\":[16],\"status\":[32]}],[1,\"rtk-paginated-list\",{\"pageSize\":[2,\"page-size\"],\"pagesAllowed\":[2,\"pages-allowed\"],\"emptyListLabel\":[1,\"empty-list-label\"],\"fetchData\":[16],\"createNodes\":[16],\"selectedItemId\":[1,\"selected-item-id\"],\"autoScroll\":[4,\"auto-scroll\"],\"iconPack\":[16],\"t\":[16],\"rerenderBoolean\":[32],\"showEmptyListLabel\":[32],\"isLoading\":[32],\"isLoadingTop\":[32],\"isLoadingBottom\":[32],\"onNewNode\":[64],\"onNodeDelete\":[64],\"onNodeUpdate\":[64]}],[1,\"rtk-file-message-view\",{\"name\":[1],\"size\":[2],\"url\":[1],\"iconPack\":[16]}],[0,\"rtk-text-message-view\",{\"text\":[1],\"isMarkdown\":[4,\"is-markdown\"]}],[1,\"rtk-markdown-view\",{\"text\":[1],\"maxLength\":[2,\"max-length\"]}],[1,\"rtk-menu\",{\"size\":[513],\"placement\":[1],\"offset\":[2],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-menu-item\",{\"size\":[513],\"menuVariant\":[1,\"menu-variant\"],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-menu-list\",{\"iconPack\":[16],\"menuVariant\":[1,\"menu-variant\"],\"t\":[16]}],[1,\"rtk-avatar\",{\"participant\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]}],[1,\"rtk-tooltip\",{\"label\":[1],\"variant\":[513],\"disabled\":[516],\"open\":[516],\"kind\":[513],\"size\":[513],\"placement\":[1],\"delay\":[2],\"isInFocus\":[32]},null,{\"open\":[\"openChanged\"]}],[1,\"rtk-spinner\",{\"iconPack\":[16],\"size\":[513]}],[17,\"rtk-button\",{\"size\":[513],\"variant\":[513],\"kind\":[513],\"reverse\":[516],\"disabled\":[516],\"type\":[513]}],[1,\"rtk-icon\",{\"icon\":[1],\"variant\":[513],\"size\":[513]}]]],[\"rtk-dialog-manager\",[[1,\"rtk-dialog-manager\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participants\",[[1,\"rtk-participants\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"defaultParticipantsTabId\":[1,\"default-participants-tab-id\"],\"t\":[16],\"currentParticipantsTabId\":[32],\"tabs\":[32],\"hasRequests\":[32],\"search\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"currentParticipantsTabId\":[\"currentParticipantsTabIdChanged\"]}]]],[\"rtk-chat-messages-ui\",[[1,\"rtk-chat-messages-ui\",{\"selectedGroup\":[1,\"selected-group\"],\"messages\":[16],\"selfUserId\":[1,\"self-user-id\"],\"canPinMessages\":[4,\"can-pin-messages\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"now\":[32],\"showLatestMessageButton\":[32]},null,{\"messages\":[\"chatChanged\"],\"selectedGroup\":[\"selectedBucketChanged\"]}]]],[\"rtk-chat-search-results\",[[1,\"rtk-chat-search-results\",{\"meeting\":[16],\"query\":[1],\"channelId\":[1,\"channel-id\"],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-settings\",[[1,\"rtk-settings\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"networkStatus\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-grid\",[[1,\"rtk-grid\",{\"layout\":[513],\"aspectRatio\":[513,\"aspect-ratio\"],\"meeting\":[16],\"gap\":[514],\"size\":[513],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"overrides\":[8],\"participants\":[32],\"pinnedParticipants\":[32],\"screenShareParticipants\":[32],\"plugins\":[32],\"emptyStage\":[32],\"showLiveStreamPlayer\":[32],\"canCurrentPeerHost\":[32],\"pipSupported\":[32],\"pipEnabled\":[32],\"hidden\":[32],\"roomState\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"overrides\":[\"overridesChanged\"],\"screenShareParticipants\":[\"screenShareParticipantsChanged\"],\"plugins\":[\"pluginsChanged\"],\"pinnedParticipants\":[\"pinnedParticipantsChanged\"]}]]],[\"rtk-sidebar\",[[1,\"rtk-sidebar\",{\"enabledSections\":[1040],\"defaultSection\":[1,\"default-section\"],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513],\"currentTab\":[32],\"isFloating\":[32],\"enablePinning\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"view\":[\"viewChanged\"]}]]],[\"rtk-channel-header\",[[0,\"rtk-channel-header\",{\"meeting\":[16],\"channel\":[16],\"iconPack\":[16],\"t\":[16],\"showBackButton\":[4,\"show-back-button\"],\"showChannelDetailsDialog\":[32],\"showSearchBar\":[32],\"members\":[32]},null,{\"channel\":[\"onChannelChanged\"]}]]],[\"rtk-chat-composer-ui\",[[1,\"rtk-chat-composer-ui\",{\"canSendTextMessage\":[4,\"can-send-text-message\"],\"canSendFiles\":[4,\"can-send-files\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"disableEmojiPicker\":[4,\"disable-emoji-picker\"],\"prefill\":[16],\"members\":[16],\"channelId\":[1,\"channel-id\"],\"emojiPickerActive\":[32],\"mentionQuery\":[32],\"focusedMemberIndex\":[32],\"filePreview\":[32]},null,{\"channelId\":[\"onChannelChanged\"]}]]],[\"rtk-mixed-grid\",[[1,\"rtk-mixed-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"screenShareParticipants\":[16],\"plugins\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16],\"activeTab\":[32],\"initialised\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"screenShareParticipants\":[\"screenShareParticipantsChanged\"],\"plugins\":[\"pluginsChanged\"]}]]],[\"rtk-setup-screen\",[[1,\"rtk-setup-screen\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"displayName\":[32],\"isJoining\":[32],\"canEditName\":[32],\"canProduceAudio\":[32],\"connectionState\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-audio-tile\",[[1,\"rtk-audio-tile\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"participant\":[16],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-camera-toggle\",[[1,\"rtk-camera-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32],\"canProduceVideo\":[32],\"cameraPermission\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-channel-creator\",[[1,\"rtk-channel-creator\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"channelName\":[32],\"searchQuery\":[32],\"step\":[32],\"loading\":[32],\"selectedMemberIds\":[32],\"focusedMemberIndex\":[32],\"showAllMembersList\":[32]}]]],[\"rtk-channel-selector-ui\",[[1,\"rtk-channel-selector-ui\",{\"channels\":[16],\"selectedChannelId\":[1,\"selected-channel-id\"],\"iconPack\":[16],\"t\":[16],\"showRecentMessage\":[4,\"show-recent-message\"],\"isHidden\":[32],\"searchQuery\":[32]}]]],[\"rtk-mic-toggle\",[[1,\"rtk-mic-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"audioEnabled\":[32],\"canProduceAudio\":[32],\"micPermission\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-mute-all-button\",[[1,\"rtk-mute-all-button\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canDisable\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-screen-share-toggle\",[[1,\"rtk-screen-share-toggle\",{\"states\":[16],\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"maxScreenShareCount\":[32],\"screenShareCount\":[32],\"screenShareEnabled\":[32],\"canScreenShare\":[32],\"shareScreenPermission\":[32],\"screenShareState\":[32],\"stageStatus\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-stage-toggle\",[[1,\"rtk-stage-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"states\":[16],\"t\":[16],\"stageStatus\":[32],\"state\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-ai\",[[1,\"rtk-ai\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"view\":[513]},null,{\"view\":[\"viewChanged\"]}]]],[\"rtk-ai-toggle\",[[1,\"rtk-ai-toggle\",{\"variant\":[513],\"states\":[16],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"aiActive\":[32]},null,{\"states\":[\"statesChanged\"]}]]],[\"rtk-breakout-rooms-toggle\",[[1,\"rtk-breakout-rooms-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"canToggle\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-caption-toggle\",[[1,\"rtk-caption-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"captionEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-chat-toggle\",[[1,\"rtk-chat-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"unreadMessageCount\":[32],\"chatActive\":[32],\"canViewChat\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"chatActive\":[\"handleChatActiveChange\"]}]]],[\"rtk-debugger-toggle\",[[1,\"rtk-debugger-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513]}]]],[\"rtk-grid-pagination\",[[1,\"rtk-grid-pagination\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"page\":[32],\"pageCount\":[32],\"activeCount\":[32],\"activeComputedCount\":[32],\"showPagination\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"size\":[\"sizeChanged\"]}]]],[\"rtk-idle-screen\",[[1,\"rtk-idle-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-leave-button\",[[1,\"rtk-leave-button\",{\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-livestream-toggle\",[[1,\"rtk-livestream-toggle\",{\"variant\":[513],\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"livestreamState\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-more-toggle\",[[1,\"rtk-more-toggle\",{\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-notifications\",[[1,\"rtk-notifications\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"size\":[513],\"iconPack\":[16],\"notifications\":[32],\"paused\":[32]},[[8,\"rtkApiError\",\"apiErrorListener\"],[8,\"rtkSendNotification\",\"sendNotificationListener\"]],{\"meeting\":[\"meetingChanged\"],\"config\":[\"configChanged\"],\"states\":[\"statesChanged\"]}]]],[\"rtk-participants-audio\",[[1,\"rtk-participants-audio\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"preloadedAudioElem\":[16],\"showPlayDialog\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participants-toggle\",[[1,\"rtk-participants-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"participantsActive\":[32],\"waitlistedParticipants\":[32],\"stageRequestedParticipants\":[32],\"badgeCount\":[32],\"canViewParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"participantsActive\":[\"handleParticipantsActiveChange\"]}]]],[\"rtk-pip-toggle\",[[1,\"rtk-pip-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"pipSupported\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugins-toggle\",[[1,\"rtk-plugins-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pluginsActive\":[32],\"canViewPlugins\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"pluginsActive\":[\"handlePluginsActiveChange\"]}]]],[\"rtk-polls-toggle\",[[1,\"rtk-polls-toggle\",{\"variant\":[513],\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"pollsActive\":[32],\"unreadPollsCount\":[32],\"canViewPolls\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"],\"pollsActive\":[\"handlePollsActiveChange\"]}]]],[\"rtk-recording-toggle\",[[1,\"rtk-recording-toggle\",{\"variant\":[513],\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"size\":[513],\"disabled\":[4],\"recordingState\":[32],\"canRecord\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-screenshare-view\",[[1,\"rtk-screenshare-view\",{\"hideFullScreenButton\":[4,\"hide-full-screen-button\"],\"nameTagPosition\":[513,\"name-tag-position\"],\"participant\":[16],\"meeting\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoExpanded\":[32],\"screenShareEnabled\":[32],\"isFullScreen\":[32],\"remoteControlInfo\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-settings-toggle\",[[1,\"rtk-settings-toggle\",{\"variant\":[513],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ended-screen\",[[1,\"rtk-ended-screen\",{\"config\":[16],\"size\":[513],\"states\":[16],\"t\":[16],\"iconPack\":[16],\"meeting\":[16],\"icon\":[32],\"message\":[32]},null,{\"states\":[\"statesChanged\"]}]]],[\"rtk-image-viewer\",[[1,\"rtk-image-viewer\",{\"image\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16]}]]],[\"rtk-message-list-view\",[[0,\"rtk-message-list-view\",{\"messages\":[16],\"renderer\":[16],\"loadMore\":[16],\"visibleItemsCount\":[2,\"visible-items-count\"],\"estimateItemSize\":[2,\"estimate-item-size\"],\"iconPack\":[16],\"range\":[32],\"isFetching\":[32],\"autoScroll\":[32],\"totalHeight\":[32]},null,{\"messages\":[\"messagesUpdated\"]}]]],[\"rtk-chat-selector-ui\",[[1,\"rtk-chat-selector-ui\",{\"selfUserId\":[1,\"self-user-id\"],\"selectedGroupId\":[1,\"selected-group-id\"],\"unreadCounts\":[16],\"groups\":[16],\"iconPack\":[16],\"t\":[16],\"showParticipantsPanel\":[32],\"query\":[32]}]]],[\"rtk-clock\",[[1,\"rtk-clock\",{\"meeting\":[16],\"iconPack\":[16],\"size\":[513],\"startedTime\":[32],\"timeDiff\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"startedTime\":[\"startedTimeChanged\"]}]]],[\"rtk-file-dropzone\",[[1,\"rtk-file-dropzone\",{\"hostEl\":[16],\"iconPack\":[16],\"t\":[16],\"dropzoneActivated\":[32]}]]],[\"rtk-information-tooltip\",[[1,\"rtk-information-tooltip\",{\"iconPack\":[16]}]]],[\"rtk-meeting-title\",[[1,\"rtk-meeting-title\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-network-indicator\",[[1,\"rtk-network-indicator\",{\"participant\":[16],\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"isScreenShare\":[4,\"is-screen-share\"],\"score\":[32]},null,{\"participant\":[\"participantChanged\"]}]]],[\"rtk-participant-count\",[[1,\"rtk-participant-count\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"participantCount\":[32],\"isViewer\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-recording-indicator\",[[1,\"rtk-recording-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isRecording\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-transcripts\",[[1,\"rtk-transcripts\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"t\":[16],\"transcripts\":[32],\"listenerAttached\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"states\":[\"statesChanged\"]}]]],[\"rtk-waiting-screen\",[[1,\"rtk-waiting-screen\",{\"meeting\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-grid\",[[1,\"rtk-audio-grid\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"size\":[513],\"t\":[16],\"hideSelf\":[4,\"hide-self\"],\"activeParticipants\":[32],\"onStageParticipants\":[32],\"offStageParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-controlbar\",[[1,\"rtk-controlbar\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-header\",[[1,\"rtk-header\",{\"variant\":[513],\"disableRender\":[4,\"disable-render\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513]}]]],[\"rtk-participant-setup\",[[1,\"rtk-participant-setup\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoState\":[32],\"isPinned\":[32]},null,{\"participant\":[\"participantsChanged\"],\"videoState\":[\"videoStateChanged\"]}]]],[\"rtk-simple-grid\",[[1,\"rtk-simple-grid\",{\"participants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"dimensions\":[32],\"mediaConnection\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-spotlight-grid\",[[1,\"rtk-spotlight-grid\",{\"layout\":[513],\"participants\":[16],\"pinnedParticipants\":[16],\"aspectRatio\":[1,\"aspect-ratio\"],\"gap\":[2],\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"iconPack\":[16],\"t\":[16],\"gridSize\":[16]}]]],[\"rtk-stage\",[[1,\"rtk-stage\",{\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-ui-provider\",[[4,\"rtk-ui-provider\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"mode\":[513],\"showSetupScreen\":[4,\"show-setup-screen\"],\"overrides\":[16]},null,{\"meeting\":[\"meetingChanged\"],\"iconPack\":[\"iconPackChanged\"],\"t\":[\"tChanged\"],\"config\":[\"configChanged\"],\"overrides\":[\"overridesChanged\"]}]]],[\"rtk-chat-message\",[[1,\"rtk-chat-message\",{\"message\":[16],\"isContinued\":[4,\"is-continued\"],\"child\":[16],\"isUnread\":[4,\"is-unread\"],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isSelf\":[4,\"is-self\"],\"canEdit\":[4,\"can-edit\"],\"canDelete\":[4,\"can-delete\"],\"canReply\":[4,\"can-reply\"],\"canPin\":[4,\"can-pin\"],\"disableControls\":[4,\"disable-controls\"],\"alignRight\":[4,\"align-right\"],\"senderDisplayPicture\":[1,\"sender-display-picture\"],\"hideAvatar\":[4,\"hide-avatar\"],\"leftAlign\":[4,\"left-align\"],\"now\":[32]}]]],[\"rtk-channel-details\",[[1,\"rtk-channel-details\",{\"channel\":[16],\"t\":[16],\"iconPack\":[16],\"members\":[16]}]]],[\"rtk-notification\",[[1,\"rtk-notification\",{\"notification\":[16],\"paused\":[4],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"imageState\":[32]},null,{\"paused\":[\"pausedChanged\"],\"notification\":[\"notificationChanged\"]}]]],[\"rtk-ai-transcriptions\",[[1,\"rtk-ai-transcriptions\",{\"t\":[16],\"meeting\":[16],\"initialTranscriptions\":[16],\"participantQuery\":[32],\"isProcessing\":[32],\"transcriptions\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"transcriptions\":[\"transcriptionsChanged\"]}]]],[\"rtk-name-tag\",[[1,\"rtk-name-tag\",{\"participant\":[16],\"meeting\":[16],\"size\":[513],\"isScreenShare\":[4,\"is-screen-share\"],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"length\":[32]},null,{\"size\":[\"sizeChanged\"]}]]],[\"rtk-transcript\",[[1,\"rtk-transcript\",{\"transcript\":[16],\"t\":[16],\"timeout\":[32]},null,{\"transcript\":[\"transcriptChanged\"]}]]],[\"rtk-settings-audio_2\",[[1,\"rtk-settings-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-settings-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"videoEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugins_2\",[[1,\"rtk-polls\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"create\":[32],\"polls\":[32],\"permissions\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-plugins\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"plugins\":[32],\"canStartPlugins\":[32],\"canClosePlugins\":[32],\"activatedPluginsId\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-plugin-main_2\",[[1,\"rtk-tab-bar\",{\"size\":[513],\"meeting\":[16],\"states\":[16],\"config\":[16],\"layout\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[16],\"tabs\":[16]}],[1,\"rtk-plugin-main\",{\"meeting\":[16],\"plugin\":[16],\"iconPack\":[16],\"t\":[16],\"canClosePlugin\":[32],\"viewModeEnabled\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"plugin\":[\"pluginChanged\"]}]]],[\"rtk-fullscreen-toggle\",[[1,\"rtk-fullscreen-toggle\",{\"states\":[16],\"targetElement\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"fullScreenActive\":[32],\"isFullScreenSupported\":[32]}]]],[\"rtk-sidebar-ui\",[[1,\"rtk-sidebar-ui\",{\"view\":[513],\"tabs\":[16],\"hideHeader\":[4,\"hide-header\"],\"hideCloseAction\":[4,\"hide-close-action\"],\"currentTab\":[1,\"current-tab\"],\"iconPack\":[16],\"focusCloseButton\":[4,\"focus-close-button\"],\"t\":[16]},null,{\"currentTab\":[\"handleFocusCloseButton\"]}]]],[\"rtk-spotlight-indicator\",[[1,\"rtk-spotlight-indicator\",{\"meeting\":[16],\"iconPack\":[16],\"t\":[16],\"size\":[513],\"canSpotlight\":[32],\"isSpotlighted\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-livestream-indicator_3\",[[1,\"rtk-livestream-player\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"playbackUrl\":[32],\"isSupported\":[32],\"playerState\":[32],\"livestreamState\":[32],\"playerError\":[32],\"livestreamId\":[32],\"audioPlaybackError\":[32],\"qualityLevels\":[32],\"selectedQuality\":[32],\"currentTime\":[32],\"duration\":[32],\"hideControls\":[32],\"isDragging\":[32],\"seekPosition\":[32],\"isSeeking\":[32]},null,{\"livestreamState\":[\"updateLivestreamId\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-livestream-indicator\",{\"meeting\":[16],\"size\":[513],\"t\":[16],\"iconPack\":[16],\"isLivestreaming\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-viewer-count\",{\"meeting\":[16],\"variant\":[513],\"iconPack\":[16],\"t\":[16],\"viewerCount\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-dialog\",[[1,\"rtk-dialog\",{\"hideCloseButton\":[4,\"hide-close-button\"],\"disableEscapeKey\":[4,\"disable-escape-key\"],\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"open\":[1540]}]]],[\"rtk-logo\",[[1,\"rtk-logo\",{\"logoUrl\":[1025,\"logo-url\"],\"config\":[16],\"meeting\":[16],\"t\":[16]},null,{\"config\":[\"configChanged\"],\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-participant_2\",[[1,\"rtk-participant\",{\"meeting\":[16],\"states\":[16],\"view\":[1],\"participant\":[16],\"iconPack\":[16],\"t\":[16],\"config\":[16],\"audioEnabled\":[32],\"videoEnabled\":[32],\"isPinned\":[32],\"isHidden\":[32],\"isOnStage\":[32],\"canDisableParticipantAudio\":[32],\"canDisableParticipantVideo\":[32],\"canKickParticipant\":[32],\"canPinParticipant\":[32],\"canAllowParticipantOnStage\":[32],\"menuOpen\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participant\":[\"participantChanged\"]}],[0,\"rtk-virtualized-participant-list\",{\"items\":[16],\"renderItem\":[16],\"itemHeight\":[1026,\"item-height\"],\"bufferedItemsCount\":[2,\"buffered-items-count\"],\"emptyListElement\":[16],\"visibleStart\":[32],\"visibleEnd\":[32]},null,{\"items\":[\"itemsChanged\"]}]]],[\"rtk-participants-stage-list_4\",[[1,\"rtk-participants-viewer-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"search\":[1],\"t\":[16],\"stageViewers\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"search\":[\"searchChanged\"]}],[1,\"rtk-participants-stage-queue\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"stageRequestedParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-participants-waiting-list\",{\"meeting\":[16],\"config\":[16],\"size\":[513],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"waitlistedParticipants\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-participants-stage-list\",{\"meeting\":[16],\"states\":[16],\"config\":[16],\"size\":[513],\"hideHeader\":[4,\"hide-header\"],\"iconPack\":[16],\"view\":[1],\"t\":[16],\"search\":[1],\"participants\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"search\":[\"searchChanged\"]}]]],[\"rtk-poll_2\",[[1,\"rtk-poll-form\",{\"iconPack\":[16],\"t\":[16],\"options\":[32],\"anonymous\":[32],\"hideVotes\":[32],\"error\":[32]}],[1,\"rtk-poll\",{\"poll\":[16],\"self\":[1],\"permissions\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-camera-selector_2\",[[1,\"rtk-participant-tile\",{\"nameTagPosition\":[513,\"name-tag-position\"],\"isPreview\":[4,\"is-preview\"],\"participant\":[16],\"meeting\":[16],\"states\":[16],\"config\":[16],\"variant\":[513],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isPinned\":[32],\"mediaConnectionError\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participant\":[\"participantsChanged\"]}],[1,\"rtk-camera-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"videoDevices\":[32],\"currentDevice\":[32],\"canProduceVideo\":[32]},null,{\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-breakout-room-manager_3\",[[1,\"rtk-breakout-room-manager\",{\"meeting\":[16],\"assigningParticipants\":[4,\"assigning-participants\"],\"mode\":[1],\"states\":[16],\"allowDelete\":[4,\"allow-delete\"],\"iconPack\":[16],\"t\":[16],\"isDragMode\":[4,\"is-drag-mode\"],\"room\":[16],\"defaultExpanded\":[4,\"default-expanded\"],\"editingTitleRoomId\":[32],\"newTitle\":[32],\"showExpandedCard\":[32],\"glowingCard\":[32]}],[1,\"rtk-breakout-room-participants\",{\"meeting\":[16],\"participantIds\":[16],\"iconPack\":[16],\"t\":[16],\"selectedParticipantIds\":[16],\"search\":[32],\"participantsToShow\":[32],\"isDragging\":[32]},null,{\"meeting\":[\"meetingChanged\"],\"participantIds\":[\"participantsChanged\"],\"search\":[\"searchChanged\"]}],[1,\"rtk-counter\",{\"size\":[513],\"value\":[2],\"minValue\":[2,\"min-value\"],\"iconPack\":[16],\"t\":[16],\"input\":[32]},null,{\"input\":[\"watchStateHandler\"]}]]],[\"rtk-file-message_3\",[[0,\"rtk-image-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"],\"status\":[32]}],[0,\"rtk-file-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}],[0,\"rtk-text-message\",{\"message\":[16],\"now\":[16],\"isContinued\":[516,\"is-continued\"],\"iconPack\":[16],\"t\":[16],\"showBubble\":[4,\"show-bubble\"]}]]],[\"rtk-debugger-audio_4\",[[1,\"rtk-debugger-audio\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"audioProducerScoreStats\":[\"audioProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-screenshare\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"audioProducerFormattedStats\":[32],\"audioProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32]},null,{\"videoProducerScoreStats\":[\"videoProducerScoreStatsChanged\"],\"audioProducerScoreStats\":[\"audioProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-system\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isBatterySectionOpen\":[32],\"batterySectionHealth\":[32],\"battery\":[32],\"batteryFormattedStats\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-debugger-video\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"isNetworkOpen\":[32],\"isDevicesOpen\":[32],\"videoProducerFormattedStats\":[32],\"videoProducerScoreStats\":[32],\"networkBasedMediaHealth\":[32],\"devicesHealth\":[32]},null,{\"videoProducerScoreStats\":[\"videoProducerScoreStatsChanged\"],\"meeting\":[\"meetingChanged\"]}]]],[\"rtk-breakout-rooms-manager_9\",[[1,\"rtk-breakout-rooms-manager\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"loading\":[32],\"roomConfig\":[32],\"draftState\":[32],\"assigningParticipants\":[32],\"selectedParticipants\":[32],\"ephemeralStatusText\":[32],\"isDragMode\":[32]},[[0,\"participantDelete\",\"onParticipantDelete\"],[0,\"participantsDragging\",\"toggleDragMode\"],[0,\"selectedParticipantsUpdate\",\"updateSelectedParticipants\"],[0,\"allParticipantsToggleUpdate\",\"updateAllParticipants\"]],{\"selectedParticipants\":[\"onSelectedParticipantsChanged\"]}],[1,\"rtk-debugger\",{\"meeting\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"activeTab\":[32],\"isMobileMainVisible\":[32],\"progress\":[32]},[[0,\"testProgress\",\"progressUpdate\"]]],[1,\"rtk-broadcast-message-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"messagePayload\":[32],\"successMessage\":[32]}],[1,\"rtk-join-stage\",{\"meeting\":[16],\"config\":[16],\"states\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"dataConfig\":[16],\"isLoading\":[32]}],[1,\"rtk-permissions-message\",{\"meeting\":[16],\"t\":[16],\"iconPack\":[16],\"states\":[16],\"device\":[32],\"currentStep\":[32],\"svgSteps\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-confirmation-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}],[1,\"rtk-leave-meeting\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"canEndMeeting\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-mute-all-confirmation\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16],\"allowUnmute\":[32]}],[1,\"rtk-overlay-modal\",{\"meeting\":[16],\"states\":[16],\"iconPack\":[16],\"t\":[16]}]]],[\"rtk-audio-visualizer_4\",[[1,\"rtk-audio-visualizer\",{\"variant\":[513],\"participant\":[16],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"hideMuted\":[4,\"hide-muted\"],\"isScreenShare\":[4,\"is-screen-share\"],\"audioEnabled\":[32],\"volume\":[32]},null,{\"participant\":[\"participantChanged\"]}],[1,\"rtk-speaker-selector\",{\"meeting\":[16],\"states\":[16],\"variant\":[1],\"size\":[513],\"iconPack\":[16],\"t\":[16],\"speakerDevices\":[32],\"currentDevices\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-microphone-selector\",{\"meeting\":[16],\"size\":[513],\"iconPack\":[16],\"variant\":[1],\"t\":[16],\"audioinputDevices\":[32],\"canProduceAudio\":[32],\"currentDevices\":[32]},null,{\"meeting\":[\"meetingChanged\"]}],[1,\"rtk-switch\",{\"checked\":[1028],\"readonly\":[4],\"disabled\":[516],\"iconPack\":[16],\"t\":[16]},null,{\"checked\":[\"checkedChange\"]}]]],[\"rtk-controlbar-button\",[[17,\"rtk-controlbar-button\",{\"variant\":[513],\"showWarning\":[4,\"show-warning\"],\"size\":[513],\"label\":[1],\"icon\":[1],\"isLoading\":[4,\"is-loading\"],\"disabled\":[516],\"iconPack\":[16],\"brandIcon\":[516,\"brand-icon\"]}]]]]"), options);
|
|
2044
2044
|
};
|
|
2045
2045
|
|
|
2046
2046
|
const FlagsmithFeatureFlags = {
|
|
@@ -10554,18 +10554,6 @@ const formatDateTime = (date) => {
|
|
|
10554
10554
|
return date.toDateString() + ' ' + date.toLocaleTimeString();
|
|
10555
10555
|
};
|
|
10556
10556
|
|
|
10557
|
-
/**
|
|
10558
|
-
* Scroll to bottom of an element.
|
|
10559
|
-
*
|
|
10560
|
-
* Works in all browsers - just that in Safari, the smooth scrolling doesn't work.
|
|
10561
|
-
* @param el The bottom of which element you want to scroll down to
|
|
10562
|
-
*/
|
|
10563
|
-
const smoothScrollToBottom = (el, smooth = true) => {
|
|
10564
|
-
if (el == null)
|
|
10565
|
-
return;
|
|
10566
|
-
el.scrollTo({ top: el.scrollHeight, behavior: smooth ? 'smooth' : 'auto' });
|
|
10567
|
-
};
|
|
10568
|
-
|
|
10569
10557
|
const rtkAvatarCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px);align-items:center;justify-content:center;font-size:28px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));overflow:clip;border-radius:9999px;-webkit-user-select:none;-moz-user-select:none;user-select:none}rtk-icon{height:50%;width:50%}.image-ctr{display:flex;height:100%;width:100%;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}img{height:var(--rtk-space-0, 0px);width:var(--rtk-space-0, 0px);-o-object-fit:cover;object-fit:cover}img.loaded{height:100%;width:100%}.initials{display:flex;height:100%;width:100%;align-items:center;justify-content:center;text-transform:uppercase}.image{display:flex;height:100%;width:100%;align-items:center;justify-content:center}.image img{display:none;height:100%;width:100%;-o-object-fit:cover;object-fit:cover}.image img.loaded{display:block}:host([variant='hexagon']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%)}:host([variant='square']){border-radius:var(--rtk-border-radius-none, 0);clip-path:polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)}:host([size='sm']){height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);font-size:12px}:host([size='md']){height:var(--rtk-space-28, 112px);width:var(--rtk-space-28, 112px)}:host([size='lg']){height:var(--rtk-space-32, 128px);width:var(--rtk-space-32, 128px)}";
|
|
10570
10558
|
const RtkAvatarStyle0 = rtkAvatarCss;
|
|
10571
10559
|
|
|
@@ -10639,7 +10627,7 @@ const RtkButton = class {
|
|
|
10639
10627
|
};
|
|
10640
10628
|
RtkButton.style = RtkButtonStyle0;
|
|
10641
10629
|
|
|
10642
|
-
const rtkChannelSelectorViewCss = ".scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-
|
|
10630
|
+
const rtkChannelSelectorViewCss = ".scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n flex-direction: column;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));\n position: relative;\n z-index: 10;\n height: var(--rtk-space-12, 48px);\n min-height: 48px;\n}\n\n.dropdown-trigger {\n height: 100%;\n width: 100%;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n padding: var(--rtk-space-4, 16px);\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n display: flex;\n align-items: center;\n justify-content: space-between;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n font-size: 14px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n cursor: pointer;\n position: absolute;\n z-index: 20;\n}\n\n.dropdown-trigger span {\n display: flex;\n flex: 1 1 0%;\n align-items: center;\n justify-content: flex-start;\n gap: var(--rtk-space-2, 8px);\n}\n\n.dropdown-trigger rtk-icon {\n margin-left: var(--rtk-space-1, 4px);\n height: var(--rtk-space-4, 16px);\n width: var(--rtk-space-4, 16px);\n flex-shrink: 0;\n}\n\n@container chatcontainer (height < 360px) {\n .dropdown-trigger {\n padding: var(--rtk-space-2, 8px);\n }\n .dropdown {\n top: var(--rtk-space-8, 32px) !important;\n }\n .search-container {\n padding-left: var(--rtk-space-0, 0px) !important;\n padding-right: var(--rtk-space-0, 0px) !important;\n padding-top: var(--rtk-space-0, 0px) !important;\n padding-bottom: var(--rtk-space-0, 0px) !important;\n }\n input {\n height: var(--rtk-space-8, 32px) !important;\n border-radius: var(--rtk-border-radius-none, 0) !important;\n }\n .avatar-icon {\n height: var(--rtk-space-3, 12px) !important;\n width: var(--rtk-space-3, 12px) !important;\n padding: var(--rtk-space-1, 4px) !important;\n }\n}\n\n.dropdown {\n position: absolute;\n width: 100%;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));\n border-bottom-width: var(--rtk-border-width-sm, 1px);\n border-right-width: var(--rtk-border-width-none, 0);\n border-left-width: var(--rtk-border-width-none, 0);\n border-top-width: var(--rtk-border-width-none, 0);\n border-style: solid;\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));\n top: var(--rtk-space-12, 48px);\n z-index: 10;\n animation: 0.3s slide-down ease;\n}\n\n.dropdown .channels-container {\n max-height: var(--rtk-space-80, 320px);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n}\n\n.list .channel .channel-data {\n align-items: flex-start;\n}\n\n.unread-count {\n display: flex;\n justify-content: center;\n height: var(--rtk-space-5, 20px);\n min-width: var(--rtk-space-3, 12px);\n border-radius: 9999px;\n padding-left: var(--rtk-space-1, 4px);\n padding-right: var(--rtk-space-1, 4px);\n font-size: 12px;\n line-height: 1.25rem;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\ninput {\n height: var(--rtk-space-9, 36px);\n width: 100%;\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\n.search-container {\n display: flex;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: center;\n padding-top: var(--rtk-space-3, 12px);\n padding-bottom: var(--rtk-space-3, 12px);\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-2, 8px);\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.search-container rtk-icon {\n margin-left: calc(var(--rtk-space-8, 32px) * -1);\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channels-container {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n overflow-y: auto;\n}\n\nrtk-avatar {\n height: var(--rtk-space-4, 16px) !important;\n width: var(--rtk-space-4, 16px) !important;\n overflow: clip;\n border-radius: 9999px;\n padding: var(--rtk-space-2, 8px);\n font-size: 12px;\n}\n\n.channel {\n flex-shrink: 0;\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n box-sizing: border-box;\n border-width: var(--rtk-border-width-none, 0);\n border-style: none;\n background-color: transparent;\n outline: 2px solid transparent;\n outline-offset: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--rtk-space-2, 8px);\n width: 100%;\n padding-left: var(--rtk-space-2, 8px);\n padding-right: var(--rtk-space-3, 12px);\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.channel:hover {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));\n}\n\n.channel .channel-data {\n flex: 1 1 0%;\n align-items: center;\n justify-content: space-between;\n display: flex;\n gap: var(--rtk-space-2, 8px);\n}\n\n.channel .name {\n font-size: 16px;\n}\n\n.channel .name, \n .channel .last-message {\n max-width: var(--rtk-space-40, 160px);\n text-align: left;\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n}\n\n.channel .no-message {\n font-style: italic;\n}\n\n.channel .avatar-icon {\n height: var(--rtk-space-4, 16px);\n width: var(--rtk-space-4, 16px);\n padding: var(--rtk-space-2, 8px);\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n overflow: clip;\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n}\n\n.channel time, \n .channel .last-message {\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76));\n}\n\n.channel.active {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.channel.active .unread-count {\n background-color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity));\n}\n\n.channel.active time {\n color: rgb(var(--rtk-colors-text-on-brand-800, var(--rtk-colors-text-800, 255 255 255 / 0.76)));\n}\n\n.channel.active .last-message {\n color: rgb(var(--rtk-colors-text-on-brand-700, var(--rtk-colors-text-700, 255 255 255 / 0.64)));\n}\n\n.channel.active rtk-avatar {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));\n}\n\n.col {\n gap: var(--rtk-space-1, 4px);\n display: flex;\n flex-direction: column;\n}\n\n.channel-meta {\n flex-shrink: 0;\n align-items: flex-end;\n}\n\n@keyframes slide-down {\n from {\n transform: translateY(-50px);\n }\n to {\n transform: translateY(0%);\n }\n}\n";
|
|
10643
10631
|
const RtkChannelSelectorViewStyle0 = rtkChannelSelectorViewCss;
|
|
10644
10632
|
|
|
10645
10633
|
var __decorate$g$1 = function (decorators, target, key, desc) {
|
|
@@ -10766,8 +10754,8 @@ const RtkChannelSelectorView = class {
|
|
|
10766
10754
|
'last-message': true,
|
|
10767
10755
|
'no-message': !channel.latestMessage,
|
|
10768
10756
|
} }, h("rtk-text-message-view", { isMarkdown: true, text: channel.latestMessage })))), h("div", { class: "col channel-meta" }, channel.latestMessageTime && (h("time", { class: "time" }, this.getTimeLabel(channel.latestMessageTime))), channel.unreadCount > 0 && (h("div", { class: "unread-count" }, channel.unreadCount))))));
|
|
10769
|
-
})))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, this.selectedChannelId &&
|
|
10770
|
-
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '
|
|
10757
|
+
})))), this.viewAs === 'dropdown' && (h("button", { key: '0c87f90d6d0fe22284995ab7259689f80a862829', class: "dropdown-trigger", onClick: this.toggleDropdown }, h("span", { key: 'd1a364f2c5c57d19702d0b8707ca661c1dc4c14f' }, h("rtk-icon", { key: 'a4a028e536459fab6de2884e25b0312d2a36bc32', icon: this.iconPack.participants }), this.selectedChannelId &&
|
|
10758
|
+
`${this.t('to')} ${this.getChannelById(this.selectedChannelId).name}`, this.getTotalUnreads() > 0 && (h("div", { key: '83c8efae8daed7dce4c4fdb55b523876c71a9a85', class: "unread-count" }, this.getTotalUnreads()))), h("rtk-icon", { key: '855ff62e593c7c14f448bbd5b8cf898e13d5d391', icon: this.showDropdown ? this.iconPack.chevron_up : this.iconPack.chevron_down })))));
|
|
10771
10759
|
}
|
|
10772
10760
|
get $el() { return getElement(this); }
|
|
10773
10761
|
};
|
|
@@ -10779,7 +10767,7 @@ __decorate$g$1([
|
|
|
10779
10767
|
], RtkChannelSelectorView.prototype, "t", void 0);
|
|
10780
10768
|
RtkChannelSelectorView.style = RtkChannelSelectorViewStyle0;
|
|
10781
10769
|
|
|
10782
|
-
const rtkChatCss = ":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: column;\n font-size: 14px;\n position: relative;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\nh3 {\n margin: var(--rtk-space-0, 0px);\n display: flex;\n height: var(--rtk-space-12, 48px);\n align-items: center;\n justify-content: center;\n font-size: 16px;\n font-weight: 400;\n color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));\n text-align: center;\n}\n\n#dropzone {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n z-index: 10;\n display: none;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n#dropzone.active {\n display: flex;\n animation: 0.2s slide-up ease-in;\n}\n\nrtk-chat-messages-ui,\nrtk-chat-messages-ui-paginated {\n flex: 1 0 0;\n}\n\nrtk-chat-composer-view {\n margin: var(--rtk-space-2, 8px);\n}\n\n.chat-container {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: row;\n container-type: size;\n container-name: chatcontainer;\n}\n\n@container chatcontainer (height < 360px) {\n rtk-channel-selector-view {\n height: var(--rtk-space-8, 32px);\n min-height: 24px;\n }\n}\n\n.chat {\n display: flex;\n flex: 1 1 0%;\n flex-direction: column;\n}\n\n.banner {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.banner .welcome-new-channel {\n width: var(--rtk-space-48, 192px);\n}\n\n.banner .create-channel-illustration {\n height: var(--rtk-space-40, 160px);\n width: var(--rtk-space-40, 160px);\n}\n\n.channel-selector-header {\n box-sizing: border-box;\n height: var(--rtk-space-16, 64px);\n padding: var(--rtk-space-4, 16px);\n display: flex;\n justify-content: space-between;\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.channel-selector-header .channel-create-btn {\n width: var(--rtk-space-8, 32px);\n justify-content: center;\n}\n\n.channel-selector-header .channel-create-btn:hover {\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\n.view-chats-btn {\n margin-top: var(--rtk-space-4, 16px);\n}\n\n.selector-container {\n z-index: 50;\n width: 100%;\n max-width: var(--rtk-space-80, 320px);\n border-right: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.selector-container.hide {\n display: none;\n}\n\n.mobile-close-btn {\n display: none;\n}\n\n.selector-container.mobile {\n height: 100%;\n width: 100%;\n max-width: 100%;\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);\n display: flex;\n}\n\n.selector-container.mobile rtk-channel-selector-view {\n max-width: var(--rtk-space-96, 384px);\n animation: 0.3s swipe-in;\n}\n\n.selector-container.mobile .mobile-close-btn {\n margin-top: var(--rtk-space-4, 16px);\n margin-bottom: var(--rtk-space-4, 16px);\n margin-left: var(--rtk-space-6, 24px);\n margin-right: var(--rtk-space-6, 24px);\n display: block;\n}\n\n.pinned-messages-header {\n display: flex;\n align-items: center;\n gap: var(--rtk-space-2, 8px);\n padding: var(--rtk-space-
|
|
10770
|
+
const rtkChatCss = ":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.scrollbar {\n /* For Firefox */\n scrollbar-width: thin;\n scrollbar-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent);\n}\n\n/* For WebKit */\n.scrollbar::-webkit-scrollbar {\n height: var(--rtk-space-1\\.5, 6px);\n width: var(--rtk-space-1\\.5, 6px);\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-background, transparent);\n}\n\n.scrollbar::-webkit-scrollbar-thumb {\n border-radius: 9999px;\n background-color: var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)));\n}\n\n\n:host {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: column;\n font-size: 14px;\n position: relative;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n}\n\nh3 {\n margin: var(--rtk-space-0, 0px);\n display: flex;\n height: var(--rtk-space-12, 48px);\n align-items: center;\n justify-content: center;\n font-size: 16px;\n font-weight: 400;\n color: rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));\n text-align: center;\n}\n\n#dropzone {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n z-index: 10;\n display: none;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));\n color: rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));\n}\n\n#dropzone.active {\n display: flex;\n animation: 0.2s slide-up ease-in;\n}\n\nrtk-chat-messages-ui,\nrtk-chat-messages-ui-paginated {\n flex: 1 0 0;\n}\n\nrtk-chat-composer-view {\n margin: var(--rtk-space-2, 8px);\n}\n\n.chat-container {\n display: flex;\n height: 100%;\n width: 100%;\n flex-direction: row;\n container-type: size;\n container-name: chatcontainer;\n}\n\n@container chatcontainer (height < 360px) {\n rtk-channel-selector-view {\n height: var(--rtk-space-8, 32px);\n min-height: 24px;\n }\n}\n\n.chat {\n display: flex;\n flex: 1 1 0%;\n flex-direction: column;\n}\n\n.banner {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.banner .welcome-new-channel {\n width: var(--rtk-space-48, 192px);\n}\n\n.banner .create-channel-illustration {\n height: var(--rtk-space-40, 160px);\n width: var(--rtk-space-40, 160px);\n}\n\n.channel-selector-header {\n box-sizing: border-box;\n height: var(--rtk-space-16, 64px);\n padding: var(--rtk-space-4, 16px);\n display: flex;\n justify-content: space-between;\n border-bottom: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-700, 44 44 44));\n}\n\n.channel-selector-header .channel-create-btn {\n width: var(--rtk-space-8, 32px);\n justify-content: center;\n}\n\n.channel-selector-header .channel-create-btn:hover {\n --tw-text-opacity: 1;\n color: rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));\n}\n\n.view-chats-btn {\n margin-top: var(--rtk-space-4, 16px);\n}\n\n.selector-container {\n z-index: 50;\n width: 100%;\n max-width: var(--rtk-space-80, 320px);\n border-right: var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));\n}\n\n.selector-container.hide {\n display: none;\n}\n\n.mobile-close-btn {\n display: none;\n}\n\n.selector-container.mobile {\n height: 100%;\n width: 100%;\n max-width: 100%;\n position: absolute;\n top: var(--rtk-space-0, 0px);\n right: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0.6);\n display: flex;\n}\n\n.selector-container.mobile rtk-channel-selector-view {\n max-width: var(--rtk-space-96, 384px);\n animation: 0.3s swipe-in;\n}\n\n.selector-container.mobile .mobile-close-btn {\n margin-top: var(--rtk-space-4, 16px);\n margin-bottom: var(--rtk-space-4, 16px);\n margin-left: var(--rtk-space-6, 24px);\n margin-right: var(--rtk-space-6, 24px);\n display: block;\n}\n\n.pinned-messages {\n position: relative;\n display: flex;\n flex-direction: column;\n}\n\n.pinned-messages-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--rtk-space-2, 8px);\n padding: var(--rtk-space-4, 16px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n font-size: 14px;\n cursor: pointer;\n}\n\n.pinned-messages-header div {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: var(--rtk-space-2, 8px);\n}\n\n.pinned-messages-header rtk-icon {\n height: var(--rtk-space-3, 12px);\n width: var(--rtk-space-3, 12px);\n}\n\n.pinned-messages-content {\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));\n position: absolute;\n left: var(--rtk-space-0, 0px);\n top: 100%;\n z-index: 50;\n width: 100%;\n}\n\n.pinned-message {\n display: flex;\n cursor: pointer;\n flex-direction: row;\n align-items: center;\n gap: var(--rtk-space-2, 8px);\n --tw-border-opacity: 1;\n border-color: rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));\n padding: var(--rtk-space-4, 16px);\n border-bottom-width: var(--rtk-border-width-sm, 1px);\n border-right-width: var(--rtk-border-width-none, 0);\n border-left-width: var(--rtk-border-width-none, 0);\n border-top-width: var(--rtk-border-width-none, 0);\n border-style: solid;\n}\n\n.pinned-message-avatar {\n height: var(--rtk-space-6, 24px) !important;\n width: var(--rtk-space-6, 24px) !important;\n}\n\n@keyframes swipe-in {\n from {\n transform: translateX(-100%);\n }\n to {\n transform: translateX(0);\n }\n}\n";
|
|
10783
10771
|
const RtkChatStyle0 = rtkChatCss;
|
|
10784
10772
|
|
|
10785
10773
|
var __decorate$f$1 = function (decorators, target, key, desc) {
|
|
@@ -11076,13 +11064,25 @@ const RtkChat = class {
|
|
|
11076
11064
|
};
|
|
11077
11065
|
return [everyone, ...participants];
|
|
11078
11066
|
};
|
|
11079
|
-
this.
|
|
11080
|
-
|
|
11067
|
+
this.getPinnedMessageLabel = (message) => {
|
|
11068
|
+
if (message.type === 'text')
|
|
11069
|
+
return message.message;
|
|
11070
|
+
if (message.type === 'image')
|
|
11071
|
+
return 'Image';
|
|
11072
|
+
if (message.type === 'file')
|
|
11073
|
+
return 'File';
|
|
11074
|
+
return '';
|
|
11081
11075
|
};
|
|
11082
11076
|
this.renderPinnedMessagesHeader = () => {
|
|
11083
11077
|
if (this.meeting.chat.pinned.length === 0)
|
|
11084
11078
|
return null;
|
|
11085
|
-
|
|
11079
|
+
/**
|
|
11080
|
+
* We do not display a picture against the avatar because the chatMessage API does not provide it.
|
|
11081
|
+
*/
|
|
11082
|
+
return (h("div", { class: "pinned-messages" }, h("div", { class: "pinned-messages-header", onClick: () => (this.showPinnedMessages = !this.showPinnedMessages) }, h("div", null, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }), this.t('chat.pinned_msgs'), ` (${this.meeting.chat.pinned.length})`), h("rtk-icon", { icon: this.showPinnedMessages ? this.iconPack.chevron_up : this.iconPack.chevron_down, size: "sm" })), this.showPinnedMessages && (h("div", { class: "pinned-messages-content" }, this.meeting.chat.pinned.map((message) => {
|
|
11083
|
+
const label = this.getPinnedMessageLabel(message);
|
|
11084
|
+
return (h("div", { class: "pinned-message" }, h("rtk-avatar", { class: "pinned-message-avatar", participant: { name: message.displayName, picture: '' }, size: "sm" }), h("span", null, label.length > 20 ? `${label.substring(0, 20)}...` : label)));
|
|
11085
|
+
})))));
|
|
11086
11086
|
};
|
|
11087
11087
|
}
|
|
11088
11088
|
connectedCallback() {
|
|
@@ -11236,10 +11236,6 @@ const RtkChat = class {
|
|
|
11236
11236
|
if (!this.meeting) {
|
|
11237
11237
|
return null;
|
|
11238
11238
|
}
|
|
11239
|
-
let chatMessages = this.chatGroups[this.selectedGroup] || [];
|
|
11240
|
-
if (this.showPinnedMessages && this.meeting.chat.pinned.length !== 0) {
|
|
11241
|
-
chatMessages = chatMessages.filter((chat) => chat.type === 'chat' && chat.message.pinned);
|
|
11242
|
-
}
|
|
11243
11239
|
return (h(Host, null, h("div", { class: "chat-container" }, h("div", { class: "chat" }, this.isFileMessagingAllowed() && (h("div", { id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { icon: this.iconPack.attach }), h("p", null, this.t('chat.send_attachment')))), this.renderPinnedMessagesHeader(), this.isPrivateChatSupported() && (h("rtk-channel-selector-view", { channels: this.getPrivateChatRecipients(), selectedChannelId: ((_a = this.selectedParticipant) === null || _a === void 0 ? void 0 : _a.userId) || 'everyone', onChannelChange: this.updateRecipients, t: this.t, viewAs: "dropdown" })), h("rtk-chat-messages-ui-paginated", { meeting: this.meeting, onPinMessage: this.onPinMessage, onDeleteMessage: this.onDeleteMessage, size: this.size, iconPack: this.iconPack, t: this.t }), this.renderComposerUI()))));
|
|
11244
11240
|
}
|
|
11245
11241
|
get host() { return getElement(this); }
|
|
@@ -11590,9 +11586,9 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
11590
11586
|
}
|
|
11591
11587
|
const isSelf = message.userId === this.meeting.self.userId;
|
|
11592
11588
|
const viewType = isSelf ? 'outgoing' : 'incoming';
|
|
11593
|
-
return (h("div",
|
|
11589
|
+
return (h("div", null, h("div", { class: "message-wrapper" }, h("rtk-message-view", { pinned: message.pinned, time: message.time, actions: this.getMessageActions(message), authorName: message.displayName, isSelf: isSelf, avatarUrl: displayPicture, hideAuthorName: isContinued, viewType: viewType, variant: "bubble", onAction: (event) => this.onMessageActionHandler(event.detail, message) }, h("div", null, h("div", { class: "body" }, message.type === 'text' && (h("rtk-text-message-view", { text: message.message, isMarkdown: true })), message.type === 'file' && (h("rtk-file-message-view", { name: message.name, url: message.link, size: message.size })), message.type === 'image' && (h("rtk-image-message-view", { url: message.link, onPreview: () => {
|
|
11594
11590
|
this.stateUpdate.emit({ image: message });
|
|
11595
|
-
} })))
|
|
11591
|
+
} }))))))));
|
|
11596
11592
|
};
|
|
11597
11593
|
this.chatUpdateListener = (data) => {
|
|
11598
11594
|
if (this.selectedChannelId && data.message.channelId !== this.selectedChannelId)
|
|
@@ -11638,7 +11634,7 @@ const RtkChatMessagesUiPaginated = class {
|
|
|
11638
11634
|
this.lastReadMessageIndex = -1;
|
|
11639
11635
|
}
|
|
11640
11636
|
render() {
|
|
11641
|
-
return (h(Host, { key: '
|
|
11637
|
+
return (h(Host, { key: '012b7189dfbdccfd8017cc9023263e6a7e9afd44' }, h("rtk-paginated-list", { key: '0ea37ee880fda0acdd7460b6da5f03e11ac304bf', ref: (el) => (this.$paginatedListRef = el), pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.getChatMessages, createNodes: this.createChatNodes, selectedItemId: this.selectedChannelId, emptyListLabel: this.t('chat.empty_channel') }, h("slot", { key: '53cb197b6d9319f470e87fe73d7ca0d158778e3f' }))));
|
|
11642
11638
|
}
|
|
11643
11639
|
get host() { return getElement(this); }
|
|
11644
11640
|
static get watchers() { return {
|
|
@@ -11711,7 +11707,7 @@ const RtkDraftAttachmentView = class {
|
|
|
11711
11707
|
this.onAttachmentChange();
|
|
11712
11708
|
}
|
|
11713
11709
|
render() {
|
|
11714
|
-
return (h(Host, { key: '
|
|
11710
|
+
return (h(Host, { key: 'f6ede093bcdf8100807baab4de2a296fc4960a07' }, h("div", { key: 'b19bbe9b2ea58ea4adccc2028a1b24ea6bc9f0a9', class: "preview-overlay" }, h("div", { key: 'cbb2bfcb3a50e6e7fbfd4109eb340ba51d6a162d', class: "preview" }, h("rtk-tooltip", { key: '15b50c547470b0fa22014e0992a1c7e26b234573', label: this.t('chat.cancel_upload') }, h("rtk-button", { key: '940332a51747af3368ffec497d5ef76fa64ecf75', variant: "secondary", kind: "icon", onClick: this.onDeleteClickHandler }, h("rtk-icon", { key: 'cc04b0ac70753e970ff638f187ad5f702dc3656b', icon: this.iconPack.dismiss }))), this.attachment.type === 'image' ? (h("img", { class: "preview-image", src: this.filePreview })) : (h("div", { class: "preview-file" }, h("span", null, this.filePreview)))))));
|
|
11715
11711
|
}
|
|
11716
11712
|
static get watchers() { return {
|
|
11717
11713
|
"attachment": ["onAttachmentChange"]
|
|
@@ -11796,7 +11792,7 @@ const RtkEmojiPicker = class {
|
|
|
11796
11792
|
return (h("div", { id: "emoji-grid", class: "scrollbar max-w-40" }, this.filteredEmojis.map((e) => (h("rtk-button", { key: `emoji-button-${e.name}`, class: "emoji", variant: "ghost", kind: "icon", title: e.name, onClick: () => this.handleEmojiClick(e.emoji) }, e.emoji)))));
|
|
11797
11793
|
}
|
|
11798
11794
|
render() {
|
|
11799
|
-
return (h(Host, { key: '
|
|
11795
|
+
return (h(Host, { key: '6581d26d75a7b869d0ba00243ec74ee06b927e7d' }, h("div", { key: '3705d8c557ac3e05769171998e9176e7e40a232c', class: 'close-parent' }, h("rtk-button", { key: 'b437e579cb828a709de255ddfa6b751e4bdfbe51', variant: "ghost", kind: "icon", class: "close", onClick: () => { var _a; return (_a = this.pickerClose) === null || _a === void 0 ? void 0 : _a.emit(); }, "aria-label": this.t('close') }, h("rtk-icon", { key: '7fac79a21c6be57156d17ceeff9ceb2834bbf709', icon: this.iconPack.dismiss }))), h("div", { key: '46cb2af6654ef36b7258baf47e3cd9e5bd60bf89', class: 'emoji-parent' }, h("input", { key: 'cfde33638d531f9bac1b1bf25d966a369f4dfb38', value: this.filterVal, onInput: (event) => this.handleInputChange(event.target), placeholder: this.t('search'), ref: (el) => (this.inputElement = el) }), this.mapEmojiList())));
|
|
11800
11796
|
}
|
|
11801
11797
|
};
|
|
11802
11798
|
__decorate$b$1([
|
|
@@ -11829,7 +11825,7 @@ const RtkEmojiPickerButton = class {
|
|
|
11829
11825
|
this.t = useLanguage();
|
|
11830
11826
|
}
|
|
11831
11827
|
render() {
|
|
11832
|
-
return (h("rtk-tooltip", { key: '
|
|
11828
|
+
return (h("rtk-tooltip", { key: '45ef1f18da6d1ecc3c02882590cd22e930461562', label: this.t('chat.send_emoji') }, h("rtk-button", { key: '6504abab2f1c6537443699c53a8cbdcf13530cba', variant: "ghost", kind: "icon", class: { active: this.isActive }, title: this.t('chat.send_emoji') }, h("rtk-icon", { key: 'd730c81abce72d9c3226f1f666941e1136bee77f', icon: this.iconPack.emoji_multiple }))));
|
|
11833
11829
|
}
|
|
11834
11830
|
};
|
|
11835
11831
|
__decorate$a$1([
|
|
@@ -11860,7 +11856,7 @@ const RtkFileMessageView = class {
|
|
|
11860
11856
|
this.iconPack = defaultIconPack;
|
|
11861
11857
|
}
|
|
11862
11858
|
render() {
|
|
11863
|
-
return (h("div", { key: '
|
|
11859
|
+
return (h("div", { key: '5cc29b4780f581a2f8b045e5051bcc66f3fdaf55', class: "file" }, h("rtk-button", { key: '4100b47bc1d72f08ec5fe645291bfbb58e3a6486', variant: "secondary", kind: "icon", onClick: () => downloadFile(sanitizeLink(this.url), { name: this.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '52ae14abb7c27b89861d5ba4c907d606257628c9', icon: this.iconPack.download })), h("div", { key: '02c9ad8d173172a85cc474273a966607d456360e', class: "file-data" }, h("div", { key: '6ceca21685d04f175006ba35a6de194cc98879ad', class: "name" }, this.name), h("div", { key: 'b07d07bcaedee3fd6fbcfe81ce2f6bf757655b5f', class: "file-data-split" }, h("div", { key: '280635ef486de02bc68ca3e774be14fa5a461d1c', class: "ext" }, getExtension(this.name)), h("span", { key: '84f72d8b37b7d15c257faed036b76c737eec780b', class: "divider" }), h("div", { key: '1b88f48f51afe3fceb57920c3d17f586e848a25f', class: "size" }, getFileSize(this.size))))));
|
|
11864
11860
|
}
|
|
11865
11861
|
};
|
|
11866
11862
|
__decorate$9$1([
|
|
@@ -11916,7 +11912,7 @@ const RtkFilePickerButton = class {
|
|
|
11916
11912
|
render() {
|
|
11917
11913
|
const label = this.label || this.t('chat.send_file');
|
|
11918
11914
|
const icon = this.iconPack[this.icon];
|
|
11919
|
-
return (h("rtk-tooltip", { key: '
|
|
11915
|
+
return (h("rtk-tooltip", { key: '057a0a5a714dbbde228e3481e53adea4f88fb3ad', label: label }, h("rtk-button", { key: '04193df1053b14687fb9464a122b9158707bdda1', variant: "ghost", kind: "icon", onClick: () => this.uploadFile(), title: label }, h("rtk-icon", { key: 'ed2fce30b93dfce9dd6b967d5993c93496cf3388', icon: icon }))));
|
|
11920
11916
|
}
|
|
11921
11917
|
};
|
|
11922
11918
|
__decorate$8$2([
|
|
@@ -11976,7 +11972,7 @@ const RtkImageMessageView = class {
|
|
|
11976
11972
|
this.status = 'loading';
|
|
11977
11973
|
}
|
|
11978
11974
|
render() {
|
|
11979
|
-
return (h("div", { key: '
|
|
11975
|
+
return (h("div", { key: '066606e6ae62634b2466bb46b453e0c2d91b17ea', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'f042e5d3c1a6341e9fc0845e6643016f1be5b5f7', src: sanitizeLink(this.url), onLoad: () => {
|
|
11980
11976
|
this.status = 'loaded';
|
|
11981
11977
|
}, onError: () => {
|
|
11982
11978
|
this.status = 'errored';
|
|
@@ -11984,9 +11980,9 @@ const RtkImageMessageView = class {
|
|
|
11984
11980
|
if (this.status === 'loaded') {
|
|
11985
11981
|
this.onPreview.emit(this.url);
|
|
11986
11982
|
}
|
|
11987
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
11983
|
+
} }), this.status === 'loading' && (h("div", { key: 'd4a5030468fbf70afae62bd55ae4d0fa989e15c2', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '216aba361a46cc100e7d26cc2daf1ffb0948d695', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '01f5da8f70872c9fa22dc9a9b70b046b0001d05b', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: '0f7e6fed2730f6366d07fc6afddb2b247e9b7d3a', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '5ac0e61c65a88a8d6b9ee54c900b856854d1b84b', class: "actions" }, h("rtk-button", { key: 'fd83dfecd7b5d9c3976374c3c55731b1f026fc0a', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
11988
11984
|
this.onPreview.emit(this.url);
|
|
11989
|
-
} }, h("rtk-icon", { key: '
|
|
11985
|
+
} }, h("rtk-icon", { key: '3ca7384fa28e6716345acacf9225ae9471ff8d63', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: '198787808c389e4df48d3609a53c2d27cf2e7fb3', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.url, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'f38fe3da48d1fc854001c719164c95f0673808c5', icon: this.iconPack.download }))))));
|
|
11990
11986
|
}
|
|
11991
11987
|
};
|
|
11992
11988
|
__decorate$7$2([
|
|
@@ -12077,7 +12073,7 @@ const RtkMarkdownView = class {
|
|
|
12077
12073
|
const slicedMessage = this.text.slice(0, this.maxLength);
|
|
12078
12074
|
const withReply = extractReplyBlock(slicedMessage, true);
|
|
12079
12075
|
const withoutReply = stripOutReplyBlock(slicedMessage);
|
|
12080
|
-
return (h("p", { key: '
|
|
12076
|
+
return (h("p", { key: '787e6d3177f4faf1c8dcd7c73d83a6de9c57b42b' }, withReply.length !== 0 && h("blockquote", { key: '1c4b82fb870994e6707d35adcd5e6f2f0e65dd26' }, this.renderMessage(withReply)), withoutReply.length !== 0 && this.renderMessage(withoutReply)));
|
|
12081
12077
|
}
|
|
12082
12078
|
};
|
|
12083
12079
|
RtkMarkdownView.style = RtkMarkdownViewStyle0;
|
|
@@ -12452,7 +12448,7 @@ const RtkMenu$1 = class {
|
|
|
12452
12448
|
});
|
|
12453
12449
|
}
|
|
12454
12450
|
render() {
|
|
12455
|
-
return (h(Host, { key: '
|
|
12451
|
+
return (h(Host, { key: '15461c803838be1651df6116a61598ce8ab988f9' }, h("span", { key: 'f36cdd2f1141f46a993daa880682382904a72509', id: "trigger", ref: (el) => (this.triggerEl = el), onClick: () => {
|
|
12456
12452
|
this.clickedThis = true;
|
|
12457
12453
|
if (this.menuListEl.style.display !== 'block') {
|
|
12458
12454
|
this.menuListEl.style.display = 'block';
|
|
@@ -12461,7 +12457,7 @@ const RtkMenu$1 = class {
|
|
|
12461
12457
|
else {
|
|
12462
12458
|
this.menuListEl.style.display = 'none';
|
|
12463
12459
|
}
|
|
12464
|
-
} }, h("slot", { key: '
|
|
12460
|
+
} }, h("slot", { key: 'af622c9dbb3394cb46a6bb909a45c5e3248b1a09', name: "trigger" })), h("span", { key: '445258e31b4b775fbc22b268234fe15a33f809c9', part: "menu-list", id: "menu-list", ref: (el) => (this.menuListEl = el) }, h("slot", { key: '87396622c6078253736cbe43a1cac55c6f90754f' }))));
|
|
12465
12461
|
}
|
|
12466
12462
|
};
|
|
12467
12463
|
__decorate$6$2([
|
|
@@ -12496,7 +12492,7 @@ const RtkMenuItem = class {
|
|
|
12496
12492
|
this.t = useLanguage();
|
|
12497
12493
|
}
|
|
12498
12494
|
render() {
|
|
12499
|
-
return (h(Host, { key: '
|
|
12495
|
+
return (h(Host, { key: '8679dae05e846bb8b83a1dbc9580aa2dcad18ccd', class: { [this.menuVariant]: true } }, h("slot", { key: 'da53376b8188bfc47f904d348212fedff932b03a', name: "start" }), h("slot", { key: '4394a3afa13bd298880c1be5255f5a004c5ed42e' }), h("slot", { key: '2be62c70172912e6516ce207b571ea4794aa4f6c', name: "end" })));
|
|
12500
12496
|
}
|
|
12501
12497
|
};
|
|
12502
12498
|
__decorate$5$2([
|
|
@@ -12531,7 +12527,7 @@ const RtkMenuList = class {
|
|
|
12531
12527
|
this.t = useLanguage();
|
|
12532
12528
|
}
|
|
12533
12529
|
render() {
|
|
12534
|
-
return (h(Host, { key: '
|
|
12530
|
+
return (h(Host, { key: 'b743da0bae39c93cff7896968a64c84166b8a751', class: { [this.menuVariant]: true } }, h("slot", { key: '46ca973e68fccbf5c8c7544f61bb9745840d0054' })));
|
|
12535
12531
|
}
|
|
12536
12532
|
};
|
|
12537
12533
|
__decorate$4$2([
|
|
@@ -12542,7 +12538,7 @@ __decorate$4$2([
|
|
|
12542
12538
|
], RtkMenuList.prototype, "t", void 0);
|
|
12543
12539
|
RtkMenuList.style = RtkMenuListStyle0;
|
|
12544
12540
|
|
|
12545
|
-
const rtkMessageViewCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{max-width:var(--rtk-space-96, 384px)}.message-wrapper{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:var(--rtk-space-2, 8px)}.message-wrapper.incoming{flex-direction:row}.message{display:flex;flex-direction:column;align-items:flex-end}.incoming .message{display:flex;flex-direction:column;align-items:flex-start}.header{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);align-self:flex-end;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:12px;font-weight:600}.incoming .header{align-self:flex-start}.body{display:flex;flex-direction:column;min-width:var(--rtk-space-24, 96px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:14px;line-height:1.375;position:relative}.bubble{max-width:90%;padding:var(--rtk-space-2, 8px);border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:var(--rtk-border-radius-md, 8px)}.incoming .bubble{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.metadata{margin-top:var(--rtk-space-2, 8px);align-self:flex-end;font-size:
|
|
12541
|
+
const rtkMessageViewCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{max-width:var(--rtk-space-96, 384px)}.message-wrapper{display:flex;flex-direction:row-reverse;align-items:flex-start;gap:var(--rtk-space-2, 8px)}.message-wrapper.incoming{flex-direction:row}.message{display:flex;flex-direction:column;align-items:flex-end}.incoming .message{display:flex;flex-direction:column;align-items:flex-start}.header{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);align-self:flex-end;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:12px;font-weight:600}.incoming .header{align-self:flex-start}.body{display:flex;flex-direction:column;min-width:var(--rtk-space-24, 96px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));font-size:14px;line-height:1.375;position:relative}.bubble{max-width:90%;padding:var(--rtk-space-2, 8px);border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:var(--rtk-border-radius-md, 8px)}.incoming .bubble{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.metadata{margin-top:var(--rtk-space-2, 8px);display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px);align-self:flex-end;font-size:11px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.avatar{display:none}rtk-menu{position:absolute;right:var(--rtk-space-1, 4px);top:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-lg, 12px)}rtk-menu rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);cursor:pointer}.actions{display:flex;align-items:center;justify-content:center;border-width:1px;border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-bg-opacity));padding:var(--rtk-space-1, 4px);border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none}.actions rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.incoming rtk-avatar{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.incoming .actions{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}@media (min-width: 400px){.avatar{display:flex;width:var(--rtk-space-6, 24px)}.avatar rtk-avatar{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);font-size:10px;overflow:clip;border-radius:9999px}}@media (hover: hover){rtk-menu{visibility:hidden}.body:hover rtk-menu{visibility:visible}}";
|
|
12546
12542
|
const RtkMessageViewStyle0 = rtkMessageViewCss;
|
|
12547
12543
|
|
|
12548
12544
|
var __decorate$3$5 = function (decorators, target, key, desc) {
|
|
@@ -12563,6 +12559,8 @@ const RtkMessageView = class {
|
|
|
12563
12559
|
this.actions = [];
|
|
12564
12560
|
/** Appearance */
|
|
12565
12561
|
this.variant = 'bubble';
|
|
12562
|
+
/** Is message pinned */
|
|
12563
|
+
this.pinned = false;
|
|
12566
12564
|
/** Render */
|
|
12567
12565
|
this.viewType = 'outgoing';
|
|
12568
12566
|
/** Hides avatar */
|
|
@@ -12580,7 +12578,7 @@ const RtkMessageView = class {
|
|
|
12580
12578
|
return (h("rtk-menu", { placement: this.isSelf ? 'bottom-start' : 'bottom-end', offset: 1 }, h("button", { slot: "trigger", class: "actions" }, h("rtk-icon", { icon: this.iconPack.chevron_down })), h("rtk-menu-list", { menuVariant: this.isSelf ? 'primary' : 'secondary' }, this.actions.map((action) => (h("rtk-menu-item", { menuVariant: this.isSelf ? 'primary' : 'secondary', onClick: () => this.onAction.emit(action.id) }, action.icon && h("rtk-icon", { icon: action.icon, slot: "start" }), action.label))))));
|
|
12581
12579
|
}
|
|
12582
12580
|
render() {
|
|
12583
|
-
return (h(Host, { key: '
|
|
12581
|
+
return (h(Host, { key: '7a4f7b9cd801a12871077b56c96213d6c7f53685' }, h("div", { key: '2b1731b82f709cf90f6d7ab239a8a516886de227', class: { 'message-wrapper': true, [this.viewType]: true } }, !this.hideAvatar && (h("aside", { key: '9963f792a5475c74e8170c0baec328162828163d', class: "avatar", part: "avatar" }, h("rtk-avatar", { key: 'e09b73fbba38f108809e6444940e8053c71a0276', participant: { name: this.authorName, picture: this.avatarUrl }, size: "sm" }))), h("div", { key: 'cdd752fa1553c5977251dcb0a32ecc5b65984514', class: "message", part: "message" }, !this.hideAuthorName && (h("div", { key: 'd0a758ac727a0a9b1757e8a61caf57bfadc20d08', class: "header" }, this.authorName, " ", this.isSelf ? ' (You)' : '')), h("div", { key: '32687e9a0462eaad2d625eb93d82205a23f99f51', class: { body: true, bubble: this.variant === 'bubble' } }, h("slot", { key: 'ca2022939cb8becf5d81655a37e344ff930a3251' }), !this.hideMetadata && !!this.time && (h("div", { key: '11dec318a44909b3080dcd29b3a6c4074ce394e3', class: "metadata", title: formatDateTime(this.time) }, this.pinned && h("rtk-icon", { key: '7a68a35c7113407f3676ee09de42fcab50485f39', icon: this.iconPack.pin, size: "sm" }), elapsedDuration(this.time, new Date(Date.now())))), this.actions.length !== 0 && this.renderActions())))));
|
|
12584
12582
|
}
|
|
12585
12583
|
};
|
|
12586
12584
|
__decorate$3$5([
|
|
@@ -12588,9 +12586,37 @@ __decorate$3$5([
|
|
|
12588
12586
|
], RtkMessageView.prototype, "iconPack", void 0);
|
|
12589
12587
|
RtkMessageView.style = RtkMessageViewStyle0;
|
|
12590
12588
|
|
|
12591
|
-
const rtkPaginatedListCss = ".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;flex:1}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh)
|
|
12589
|
+
const rtkPaginatedListCss = ".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;flex:1}.container{box-sizing:border-box;display:flex;flex-direction:column-reverse;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);flex:1 0 0px;overflow-y:scroll}.file-picker{display:none}.chat *:first-child{margin-top:var(--rtk-space-0, 0px)}.chat .head{display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);overflow-wrap:break-word;font-size:14px;line-height:1.375}.chat .body .emoji{font-size:24px}p{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}rtk-text-message,rtk-image-message,rtk-file-message{margin-top:var(--rtk-space-4, 16px);display:block;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);font-family:var(--rtk-font-family, sans-serif);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}*[is-continued]{margin-top:var(--rtk-space-3, 12px)}rtk-text-message[is-continued]{margin-top:var(--rtk-space-2, 8px)}.chat .image{position:relative;height:var(--rtk-space-40, 160px);max-width:var(--rtk-space-64, 256px);cursor:pointer}.chat .image img{display:none;height:100%;width:100%;border-radius:var(--rtk-border-radius-sm, 4px);-o-object-fit:cover;object-fit:cover}.chat .image .image-spinner{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.chat .image .image-spinner rtk-spinner{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat .image .image-errored{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-sm, 4px);background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}.chat .image .actions{display:none;height:var(--rtk-space-8, 32px);align-items:center;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:var(--rtk-border-radius-none, 0);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.chat .image .actions .action:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.image.loaded img{display:block}.image.loaded .image-spinner{display:none}.image:hover .actions,.image:focus .actions{display:flex}.chat .file{display:flex;align-items:center;gap:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-1\\.5, 6px);padding-bottom:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.chat .file .file-data{flex:1 1 0%}.chat .file .file-data .name{word-break:break-all;color:rgb(var(--rtk-colors-text-1000, 255 255 255));overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split{margin-top:var(--rtk-space-0\\.5, 2px);display:flex;align-items:center;font-size:12px}.chat .file .file-data .file-data-split .ext{margin-right:var(--rtk-space-2, 8px);text-transform:uppercase;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat .file .file-data .file-data-split .divider{height:var(--rtk-space-4, 16px);width:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.chat .file .file-data .file-data-split .size{margin-left:var(--rtk-space-2, 8px)}.smallest-dom-element{width:1px}#top-scroll{transform:translateY(20vh);transform:translateY(20px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.show-new-messages-ctr{position:absolute;bottom:var(--rtk-space-4, 16px);right:var(--rtk-space-4, 16px);z-index:10;margin-top:calc(var(--rtk-space-14, 56px) * -1);--tw-translate-y:var(--rtk-space-28, 112px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages-ctr.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:pointer;opacity:1}.show-new-messages{pointer-events:auto;border-radius:9999px}.show-new-messages:hover{border-radius:9999px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}rtk-spinner,.empty-list{margin:auto}.page-wrapper{margin-left:var(--rtk-space-1, 4px);margin-right:var(--rtk-space-1, 4px);display:flex;flex-direction:column-reverse}.message-wrapper{margin-bottom:var(--rtk-space-2, 8px)}.pinned .message-wrapper{position:relative}.pinned .pin-icon{position:absolute;right:calc(var(--rtk-space-1, 4px) * -1);top:calc(var(--rtk-space-1, 4px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px)}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}.load-more-on-top-container{pointer-events:none;position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-4, 16px);z-index:10}.load-more-icon{pointer-events:auto;border-radius:9999px}.load-more-icon:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-ring-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";
|
|
12592
12590
|
const RtkPaginatedListStyle0 = rtkPaginatedListCss;
|
|
12593
12591
|
|
|
12592
|
+
/**
|
|
12593
|
+
* HOW INFINITE SCROLL WORKS:
|
|
12594
|
+
*
|
|
12595
|
+
* We use intersectionObserver to scroll up.
|
|
12596
|
+
* We use scrollEnd listener to scroll down.
|
|
12597
|
+
*
|
|
12598
|
+
* Why?
|
|
12599
|
+
* intersectionObserver doesn't work reliably for 2 way scrolling but has great ux,
|
|
12600
|
+
* so we use it to smoothly scroll up.
|
|
12601
|
+
*
|
|
12602
|
+
* We have empty divs at the top and bottom ($topRef, $bottomRef)
|
|
12603
|
+
* which act as triggers to tell that we have reached the top or end of our messages and need to fetch new messages,
|
|
12604
|
+
*
|
|
12605
|
+
* When scrolling up, we can't remove pages as intersectionObserver relies on
|
|
12606
|
+
* the index of dom elements to work properly.
|
|
12607
|
+
* So instead, we fetch older messages and push them to the end of the 2d array
|
|
12608
|
+
* if length exceeds pagesAllowed, we free up the pages and keep the first empty index in memory (firstEmptyIndex).
|
|
12609
|
+
*
|
|
12610
|
+
* For scrolling down, when scroll ends we see if the bottomRef is in view.
|
|
12611
|
+
* If yes, we fetch the new page and insert it at the firstEmptyIndex.
|
|
12612
|
+
* We update timestamps & firstEmptyIndex, then we rerender.
|
|
12613
|
+
*
|
|
12614
|
+
* If we have exceeded our page allowance we delete old pages.
|
|
12615
|
+
*
|
|
12616
|
+
* In this case deleting pages is okay as we are not relying on the index of dom elements to detect page end.
|
|
12617
|
+
*
|
|
12618
|
+
* This also simplifies the code because when a user scrolls up we do not need to manage a lastEmptyIndex.
|
|
12619
|
+
*/
|
|
12594
12620
|
var __decorate$2$8 = function (decorators, target, key, desc) {
|
|
12595
12621
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12596
12622
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -12604,274 +12630,257 @@ var __decorate$2$8 = function (decorators, target, key, desc) {
|
|
|
12604
12630
|
const RtkPaginatedList = class {
|
|
12605
12631
|
constructor(hostRef) {
|
|
12606
12632
|
registerInstance(this, hostRef);
|
|
12633
|
+
/**
|
|
12634
|
+
* when scrolling up, we can't remove pages as intersectionObserver relies on
|
|
12635
|
+
* the index of dom elements to stay stable.
|
|
12636
|
+
* So, instead we free up the pages and keep the last empty index in memory.
|
|
12637
|
+
*/
|
|
12638
|
+
this.firstEmptyIndex = -1;
|
|
12639
|
+
this.maxTS = 0;
|
|
12640
|
+
// the length of pages will always be pageSize + 2
|
|
12641
|
+
this.pages = [];
|
|
12642
|
+
/** label to show when empty */
|
|
12643
|
+
this.emptyListLabel = null;
|
|
12644
|
+
this.rerenderBoolean = false;
|
|
12645
|
+
this.showEmptyListLabel = false;
|
|
12607
12646
|
/** Icon pack */
|
|
12608
12647
|
this.iconPack = defaultIconPack;
|
|
12609
12648
|
/** Language */
|
|
12610
12649
|
this.t = useLanguage();
|
|
12611
|
-
/** label to show when empty */
|
|
12612
|
-
this.emptyListLabel = null;
|
|
12613
12650
|
this.isLoading = false;
|
|
12614
12651
|
this.isLoadingTop = false;
|
|
12615
12652
|
this.isLoadingBottom = false;
|
|
12616
|
-
this.hasMoreDataAtTop = false;
|
|
12617
|
-
this.rerenderBoolean = false;
|
|
12618
|
-
/**
|
|
12619
|
-
* This gets disabled when the user scrolls up and the bottom node
|
|
12620
|
-
* is not visible anymore.
|
|
12621
|
-
*/
|
|
12622
|
-
this.shouldRenderNewNodes = true;
|
|
12623
12653
|
/**
|
|
12624
|
-
*
|
|
12625
|
-
*
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
this.
|
|
12629
|
-
/**
|
|
12630
|
-
*
|
|
12631
|
-
*
|
|
12632
|
-
|
|
12633
|
-
* A list of pages where each page contains a number of Nodes
|
|
12634
|
-
* [
|
|
12635
|
-
* [Node 1, Node 2, Node 3.... Node N],
|
|
12636
|
-
* [Node 1, Node 2, Node 3.... Node N],
|
|
12637
|
-
* ]
|
|
12638
|
-
*/
|
|
12639
|
-
this.pagesToRender = [[]];
|
|
12640
|
-
this.currentTime = () => {
|
|
12641
|
-
return new Date().getTime();
|
|
12642
|
-
};
|
|
12654
|
+
* Even when auto scroll is enabled, we only want to scroll if a new realtime message has arrived.
|
|
12655
|
+
* This variable tells us if we should respect auto scroll after a new page has been loaded.
|
|
12656
|
+
* It is also used by the scroll to bottom button.
|
|
12657
|
+
* */
|
|
12658
|
+
this.shouldScrollToBottom = false;
|
|
12659
|
+
/** UI Indicator for the "scroll to bottom" button.
|
|
12660
|
+
* Toggles on when a new node is added and autoscroll is disabled.
|
|
12661
|
+
* Toggles off when all nodes are loaded */
|
|
12662
|
+
this.showNewMessagesCTR = false;
|
|
12643
12663
|
this.observe = (el) => {
|
|
12644
12664
|
if (!el)
|
|
12645
12665
|
return;
|
|
12646
12666
|
this.intersectionObserver.observe(el);
|
|
12647
12667
|
};
|
|
12668
|
+
this.isAtBottom = () => {
|
|
12669
|
+
const rect = this.$bottomRef.getBoundingClientRect();
|
|
12670
|
+
return rect.top >= 0 && rect.bottom <= window.innerHeight;
|
|
12671
|
+
};
|
|
12648
12672
|
}
|
|
12649
12673
|
/**
|
|
12650
|
-
*
|
|
12674
|
+
* Adds a new node to the beginning of the paginated list
|
|
12675
|
+
* @param {DataNode} node - The data node to add to the beginning of the list
|
|
12651
12676
|
*/
|
|
12652
12677
|
async onNewNode(node) {
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12678
|
+
// Always update the maxTS. New messages will load on scroll till the end cursor (newTS) reaches this value.
|
|
12679
|
+
this.maxTS = Math.max(this.maxTS, node.timeMs);
|
|
12680
|
+
// if we are at the bottom of the page
|
|
12681
|
+
if (this.firstEmptyIndex === -1) {
|
|
12682
|
+
// append messages to the page if page has not reached full capacity
|
|
12683
|
+
if (this.pages[0].length < this.pageSize) {
|
|
12684
|
+
this.pages[0].unshift(node);
|
|
12685
|
+
this.newTS = node.timeMs;
|
|
12686
|
+
this.rerender();
|
|
12687
|
+
}
|
|
12688
|
+
else {
|
|
12689
|
+
// if page is at full capacity, load next page
|
|
12690
|
+
this.loadNextPage();
|
|
12691
|
+
}
|
|
12656
12692
|
}
|
|
12657
|
-
|
|
12658
|
-
this.
|
|
12693
|
+
// If autoscroll is enabled, this method will scroll to the bottom
|
|
12694
|
+
if (this.autoScroll) {
|
|
12695
|
+
this.shouldScrollToBottom = true;
|
|
12696
|
+
this.scrollToBottom();
|
|
12697
|
+
}
|
|
12698
|
+
else {
|
|
12699
|
+
this.showNewMessagesCTR = true;
|
|
12700
|
+
}
|
|
12701
|
+
}
|
|
12702
|
+
// this method is called recursively based on shouldScrollToBottom (see scrollEnd listener)
|
|
12703
|
+
scrollToBottom() {
|
|
12704
|
+
this.$bottomRef.scrollIntoView({ behavior: 'smooth' });
|
|
12659
12705
|
}
|
|
12660
12706
|
/**
|
|
12661
|
-
*
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
this.
|
|
12707
|
+
* Deletes a node anywhere from the list
|
|
12708
|
+
* @param {string} id - The id of the node to delete
|
|
12709
|
+
* */
|
|
12710
|
+
async onNodeDelete(id) {
|
|
12711
|
+
// Iterate only over pages that have content (not empty)
|
|
12712
|
+
for (let i = this.pages.length - 1; i > this.firstEmptyIndex; i--) {
|
|
12713
|
+
const index = this.pages[i].findIndex((node) => node.id === id);
|
|
12714
|
+
// message in view
|
|
12715
|
+
if (index !== -1) {
|
|
12716
|
+
// delete message
|
|
12717
|
+
this.pages[i].splice(index, 1);
|
|
12718
|
+
if (i === this.firstEmptyIndex + 1) {
|
|
12719
|
+
// if newest page is empty, update first empty index
|
|
12720
|
+
if (this.pages[i].length === 0)
|
|
12721
|
+
this.firstEmptyIndex++;
|
|
12722
|
+
// update timestamp, first empty index could be -1, so we need to cap it at 0
|
|
12723
|
+
this.newTS = this.pages[Math.max(this.firstEmptyIndex, 0)][0].timeMs;
|
|
12724
|
+
}
|
|
12725
|
+
else if (i === this.firstEmptyIndex + this.pagesAllowed) {
|
|
12726
|
+
// if oldest page is empty, remove it
|
|
12727
|
+
if (this.pages[i].length === 0)
|
|
12728
|
+
this.pages.pop();
|
|
12729
|
+
// update timestamp
|
|
12730
|
+
const lastPage = this.pages[this.firstEmptyIndex + this.pagesAllowed];
|
|
12731
|
+
this.oldTS = lastPage[lastPage.length - 1].timeMs;
|
|
12732
|
+
}
|
|
12733
|
+
this.rerender();
|
|
12734
|
+
}
|
|
12668
12735
|
}
|
|
12669
12736
|
}
|
|
12670
12737
|
/**
|
|
12671
|
-
*
|
|
12672
|
-
|
|
12673
|
-
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
return newItem;
|
|
12679
|
-
}
|
|
12680
|
-
return item;
|
|
12681
|
-
}));
|
|
12682
|
-
if (shouldRerender)
|
|
12683
|
-
this.rerender();
|
|
12684
|
-
}
|
|
12685
|
-
onItemChanged(newItemId, oldItemId) {
|
|
12686
|
-
if (newItemId !== oldItemId) {
|
|
12687
|
-
this.pagesToRender = [[]];
|
|
12688
|
-
this.loadFirstPage().then(() => this.rerender());
|
|
12689
|
-
}
|
|
12738
|
+
* Updates a new node anywhere in the list
|
|
12739
|
+
* @param {string} _id - The id of the node to update
|
|
12740
|
+
* @param {DataNode} _node - The updated data node
|
|
12741
|
+
* */
|
|
12742
|
+
async onNodeUpdate(_id, _node) { }
|
|
12743
|
+
rerender() {
|
|
12744
|
+
this.rerenderBoolean = !this.rerenderBoolean;
|
|
12690
12745
|
}
|
|
12691
12746
|
connectedCallback() {
|
|
12692
12747
|
this.rerender = debounce$1(this.rerender.bind(this), 50, { maxWait: 200 });
|
|
12693
|
-
this.autoScroll = true;
|
|
12694
12748
|
this.intersectionObserver = new IntersectionObserver((entries) => {
|
|
12695
|
-
writeTask(() => {
|
|
12749
|
+
writeTask(async () => {
|
|
12696
12750
|
for (const entry of entries) {
|
|
12697
|
-
if (entry.target.id === 'bottom-scroll') {
|
|
12698
|
-
if (entry.isIntersecting)
|
|
12699
|
-
this.loadBottom();
|
|
12700
|
-
else
|
|
12701
|
-
this.shouldRenderNewNodes = false;
|
|
12702
|
-
}
|
|
12703
12751
|
if (entry.target.id === 'top-scroll' && entry.isIntersecting) {
|
|
12704
|
-
this.
|
|
12752
|
+
this.isLoadingTop = true;
|
|
12753
|
+
await this.loadPrevPage();
|
|
12754
|
+
this.isLoadingTop = false;
|
|
12705
12755
|
}
|
|
12706
12756
|
}
|
|
12707
12757
|
});
|
|
12708
12758
|
});
|
|
12709
12759
|
}
|
|
12710
|
-
disconnectedCallback() {
|
|
12711
|
-
this.intersectionObserver.disconnect();
|
|
12712
|
-
}
|
|
12713
12760
|
componentDidLoad() {
|
|
12714
|
-
/**
|
|
12715
|
-
* Adding observes here so that on the first render we scroll down
|
|
12716
|
-
* and shouldRenderNewNodes remains true
|
|
12717
|
-
*/
|
|
12718
|
-
this.loadFirstPage();
|
|
12719
12761
|
this.observe(this.$topRef);
|
|
12720
|
-
|
|
12721
|
-
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
12726
|
-
|
|
12727
|
-
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
|
-
|
|
12731
|
-
|
|
12762
|
+
if (this.$containerRef) {
|
|
12763
|
+
this.$containerRef.onscrollend = async () => {
|
|
12764
|
+
/**
|
|
12765
|
+
* Load new page if:
|
|
12766
|
+
* if there are nodes to load at the bottom (maxTS > newTS)
|
|
12767
|
+
* or if there are pages to fill at the bottom (firstEmptyIndex > -1)
|
|
12768
|
+
*/
|
|
12769
|
+
if (this.isAtBottom() && (this.maxTS > this.newTS || this.firstEmptyIndex > -1)) {
|
|
12770
|
+
this.isLoadingBottom = true;
|
|
12771
|
+
await this.loadNextPage();
|
|
12772
|
+
this.isLoadingBottom = false;
|
|
12773
|
+
if (this.shouldScrollToBottom)
|
|
12774
|
+
this.scrollToBottom();
|
|
12775
|
+
}
|
|
12776
|
+
};
|
|
12777
|
+
}
|
|
12732
12778
|
}
|
|
12733
|
-
|
|
12734
|
-
|
|
12735
|
-
* If there is only one unfilled page or no page, no need to check
|
|
12736
|
-
* for top since it will be empty
|
|
12737
|
-
*/
|
|
12738
|
-
if (this.pagesToRender.length === 0)
|
|
12779
|
+
async loadPrevPage() {
|
|
12780
|
+
if (this.isLoading)
|
|
12739
12781
|
return;
|
|
12740
|
-
if (this.pagesToRender.length === 1 && this.pagesToRender[0].length < this.pageSize)
|
|
12741
|
-
return;
|
|
12742
|
-
/**
|
|
12743
|
-
* TODO: Make this more flexible currently this only works with chat
|
|
12744
|
-
*/
|
|
12745
|
-
const oldestVNode = this.pagesToRender[0][0];
|
|
12746
|
-
const oldestTimestamp = oldestVNode.timeMs;
|
|
12747
|
-
// TODO: scrollIntoView
|
|
12748
|
-
const onPageRendered = () => { }; // oldestVNode.$elm$?.scrollIntoView();
|
|
12749
|
-
this.isLoadingTop = true;
|
|
12750
|
-
this.loadPage(oldestTimestamp - 1, this.pageSize, true, onPageRendered, 'top');
|
|
12751
|
-
}
|
|
12752
|
-
loadBottom() {
|
|
12753
12782
|
/**
|
|
12754
|
-
*
|
|
12755
|
-
*
|
|
12783
|
+
* NOTE(ikabra): this case also runs on initial load
|
|
12784
|
+
* if scrolling up ->
|
|
12785
|
+
* fetch older messages and push to the end of the array
|
|
12786
|
+
* cleanup 1st non empty page from the array if length exceeds pagesAllowed
|
|
12756
12787
|
*/
|
|
12757
|
-
if
|
|
12758
|
-
|
|
12759
|
-
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
|
|
12788
|
+
// if no old timestamp, it means we are at initial state
|
|
12789
|
+
if (!this.oldTS)
|
|
12790
|
+
this.oldTS = new Date().getTime();
|
|
12791
|
+
// load data
|
|
12792
|
+
this.isLoading = true;
|
|
12793
|
+
const data = await this.fetchData(this.oldTS - 1, this.pageSize, true);
|
|
12794
|
+
this.isLoading = false;
|
|
12795
|
+
// no more old messages to show, we are at the top of the page
|
|
12796
|
+
if (!data.length)
|
|
12763
12797
|
return;
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
firstPage.unshift(node);
|
|
12780
|
-
}
|
|
12781
|
-
else {
|
|
12782
|
-
/**
|
|
12783
|
-
* If first page is full then add a new page to the start
|
|
12784
|
-
*/
|
|
12785
|
-
const newPage = [node];
|
|
12786
|
-
this.pagesToRender.unshift(newPage);
|
|
12787
|
-
this.removeLastPageIfNeeded(false);
|
|
12788
|
-
}
|
|
12789
|
-
}
|
|
12790
|
-
else {
|
|
12791
|
-
const [lastPage] = this.pagesToRender.slice(-1);
|
|
12792
|
-
if (lastPage && (lastPage === null || lastPage === void 0 ? void 0 : lastPage.length) < this.pageSize) {
|
|
12793
|
-
/**
|
|
12794
|
-
* If last page is not full then just add it
|
|
12795
|
-
*/
|
|
12796
|
-
lastPage.push(node);
|
|
12797
|
-
}
|
|
12798
|
-
else {
|
|
12799
|
-
/**
|
|
12800
|
-
* If last page is full add a new page with just
|
|
12801
|
-
* this node
|
|
12802
|
-
*/
|
|
12803
|
-
const newPage = [node];
|
|
12804
|
-
this.pagesToRender.push(newPage);
|
|
12805
|
-
this.removeLastPageIfNeeded(true);
|
|
12798
|
+
// add old data to the end of the array
|
|
12799
|
+
this.pages.push(data);
|
|
12800
|
+
// clear old pages when we reach the limit
|
|
12801
|
+
if (this.pages.length > this.pagesAllowed) {
|
|
12802
|
+
this.pages[this.pages.length - this.pagesAllowed - 1] = [];
|
|
12803
|
+
/**
|
|
12804
|
+
* find last non empty page in range (this.pages.length, this.firstEmptyIndex)
|
|
12805
|
+
* we are doing this because any of the middle pages in the currently rendered pages
|
|
12806
|
+
* could be empty as we allow deleting messages.
|
|
12807
|
+
* This helps us set the first empty index correctly.
|
|
12808
|
+
*/
|
|
12809
|
+
for (let i = this.firstEmptyIndex + 1; i < this.pages.length; i++) {
|
|
12810
|
+
if (this.pages[i].length > 0)
|
|
12811
|
+
break;
|
|
12812
|
+
this.firstEmptyIndex = i;
|
|
12806
12813
|
}
|
|
12807
12814
|
}
|
|
12815
|
+
// update the old timestamp
|
|
12816
|
+
const lastPage = this.pages[this.pages.length - 1];
|
|
12817
|
+
this.oldTS = lastPage[lastPage.length - 1].timeMs;
|
|
12818
|
+
// update the new timestamp
|
|
12819
|
+
this.newTS = this.pages[this.firstEmptyIndex + 1][0].timeMs;
|
|
12820
|
+
this.rerender();
|
|
12808
12821
|
}
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
|
|
12814
|
-
|
|
12815
|
-
|
|
12816
|
-
|
|
12822
|
+
async loadNextPage() {
|
|
12823
|
+
if (this.isLoading)
|
|
12824
|
+
return;
|
|
12825
|
+
// new timestamp needs to be assigned by loadPrevPage method
|
|
12826
|
+
if (!this.newTS) {
|
|
12827
|
+
this.showNewMessagesCTR = false;
|
|
12828
|
+
this.shouldScrollToBottom = false;
|
|
12829
|
+
return;
|
|
12830
|
+
}
|
|
12831
|
+
// load data
|
|
12817
12832
|
this.isLoading = true;
|
|
12818
|
-
const data =
|
|
12833
|
+
const data = await this.fetchData(this.newTS + 1, this.pageSize, false);
|
|
12819
12834
|
this.isLoading = false;
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
this.
|
|
12835
|
+
// no more new messages to load
|
|
12836
|
+
if (!data.length) {
|
|
12837
|
+
this.showNewMessagesCTR = false;
|
|
12838
|
+
this.shouldScrollToBottom = false;
|
|
12839
|
+
// remove extra pages from the start if any (could be due to users deleting messages)
|
|
12840
|
+
this.pages = this.pages.filter((page) => page.length > 0);
|
|
12841
|
+
this.firstEmptyIndex = -1;
|
|
12842
|
+
return;
|
|
12823
12843
|
}
|
|
12824
|
-
|
|
12825
|
-
|
|
12844
|
+
// when filling empty pages
|
|
12845
|
+
if (this.firstEmptyIndex > -1) {
|
|
12846
|
+
this.pages[this.firstEmptyIndex] = data.reverse();
|
|
12826
12847
|
}
|
|
12827
|
-
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
* then start rendering new nodes;
|
|
12831
|
-
*/
|
|
12832
|
-
if (!reversed) {
|
|
12833
|
-
this.hasNewNodesToRender = false;
|
|
12834
|
-
this.shouldRenderNewNodes = true;
|
|
12835
|
-
}
|
|
12836
|
-
onPageRendered([]);
|
|
12837
|
-
return;
|
|
12848
|
+
else {
|
|
12849
|
+
// when already at the bottom and loading messages in realtime
|
|
12850
|
+
this.pages.unshift(data.reverse());
|
|
12838
12851
|
}
|
|
12839
|
-
|
|
12840
|
-
|
|
12841
|
-
onPageRendered(data);
|
|
12842
|
-
}
|
|
12843
|
-
rerender() {
|
|
12844
|
-
this.rerenderBoolean = !this.rerenderBoolean;
|
|
12845
|
-
}
|
|
12846
|
-
removeLastPageIfNeeded(removeFromStart) {
|
|
12847
|
-
if (this.pagesToRender.length > this.pagesAllowed) {
|
|
12848
|
-
if (removeFromStart)
|
|
12849
|
-
this.pagesToRender.shift();
|
|
12850
|
-
else
|
|
12851
|
-
this.pagesToRender.pop();
|
|
12852
|
+
if (this.pages.length > this.pagesAllowed) {
|
|
12853
|
+
this.pages.pop();
|
|
12852
12854
|
}
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
|
-
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12855
|
+
// smallest value for firstEmptyIndex can be -1, so we cap the index at 0
|
|
12856
|
+
this.newTS = this.pages[Math.max(0, this.firstEmptyIndex)][0].timeMs;
|
|
12857
|
+
// remove all empty pages from the end
|
|
12858
|
+
for (let i = this.pages.length - 1; i > this.firstEmptyIndex; i--) {
|
|
12859
|
+
if (this.pages[i].length > 0)
|
|
12860
|
+
break;
|
|
12861
|
+
// if page is empty, remove it
|
|
12862
|
+
this.pages.pop();
|
|
12863
|
+
}
|
|
12864
|
+
// update the old timestamp
|
|
12865
|
+
const lastPage = this.pages[this.pages.length - 1];
|
|
12866
|
+
this.oldTS = lastPage[lastPage.length - 1].timeMs;
|
|
12867
|
+
// when scrolling too fast scroll a bit to the top to be able to load new messages when you scroll down
|
|
12868
|
+
if (this.$containerRef.scrollTop === 0)
|
|
12869
|
+
this.$containerRef.scrollTop = -60;
|
|
12870
|
+
// smallest value for this index can be -1 (indicates we are at the bottom of the page).
|
|
12871
|
+
this.firstEmptyIndex = Math.max(-1, this.firstEmptyIndex - 1);
|
|
12872
|
+
this.rerender();
|
|
12862
12873
|
}
|
|
12863
12874
|
render() {
|
|
12864
|
-
var _a;
|
|
12865
12875
|
/**
|
|
12866
12876
|
* div.container is flex=column-reverse
|
|
12867
12877
|
* which is why div#bottom-scroll comes before div#top-scroll
|
|
12868
|
-
* div.page-wrapper prevents reversal of messages
|
|
12869
12878
|
*/
|
|
12870
|
-
return (h(Host, { key: '
|
|
12879
|
+
return (h(Host, { key: '91ac7d0ca3fb720259945ffaa97f465b34c694fa' }, h("div", { key: '33896c19ecc4359ae163c65b5c71b9f17673e765', class: "scrollbar container", part: "container", ref: (el) => (this.$containerRef = el) }, h("div", { key: 'e26a5ef3979ec132277b9598afc17ea65683f6c8', class: { 'show-new-messages-ctr': true, active: this.showNewMessagesCTR } }, h("rtk-button", { key: 'e769a8f54a298af456552733dc9de27d059e5138', class: "show-new-messages", kind: "icon", variant: "secondary", part: "show-new-messages", onClick: () => {
|
|
12880
|
+
this.shouldScrollToBottom = true;
|
|
12881
|
+
this.scrollToBottom();
|
|
12882
|
+
} }, h("rtk-icon", { key: '6fb4cbc2247eb971004a94926b95ebd0f90ab0fd', icon: this.iconPack.chevron_down }))), h("div", { key: 'e91dd8f25012e4509e0ff3cb4d6b65aa9467d427', class: "smallest-dom-element", id: "bottom-scroll", ref: (el) => (this.$bottomRef = el) }), this.isLoadingBottom && this.pages.length > 0 && h("rtk-spinner", { key: '199c0ccffd57716bd5a05dcef8610113d3c58d3d', size: "sm" }), this.isLoading && this.pages.length < 1 && h("rtk-spinner", { key: 'b8a3e08a25b2bc1d50b5a9b1b2deda802ae5eb28', size: "lg" }), !this.isLoading && this.pages.flat().length === 0 ? (h("div", { class: "empty-list" }, this.t('list.empty'))) : (h("div", { class: "page-wrapper" }, this.pages.map((page, pageIndex) => (h("div", { class: "page", "data-page-index": pageIndex }, this.createNodes([...page].reverse())))))), this.isLoadingTop && this.pages.length > 0 && h("rtk-spinner", { key: '2cb56b4f70d37548fd9aa71b961559b43c54a922', size: "sm" }), h("div", { key: '4b183c49bfe60fd63af40e02b9b46215c08bb484', class: "smallest-dom-element", id: "top-scroll", ref: (el) => (this.$topRef = el) }))));
|
|
12871
12883
|
}
|
|
12872
|
-
static get watchers() { return {
|
|
12873
|
-
"selectedItemId": ["onItemChanged"]
|
|
12874
|
-
}; }
|
|
12875
12884
|
};
|
|
12876
12885
|
__decorate$2$8([
|
|
12877
12886
|
SyncWithStore()
|
|
@@ -12903,7 +12912,7 @@ const RtkSpinner = class {
|
|
|
12903
12912
|
this.size = 'md';
|
|
12904
12913
|
}
|
|
12905
12914
|
render() {
|
|
12906
|
-
return (h(Host, { key: '
|
|
12915
|
+
return (h(Host, { key: 'c042cbd31d8fa9e58c0cbbc5646575a3172fc824' }, h("rtk-icon", { key: '0171ba3d5f7506e2c67eb813c5ad5b263352088d', class: "spinner", icon: this.iconPack.spinner })));
|
|
12907
12916
|
}
|
|
12908
12917
|
};
|
|
12909
12918
|
__decorate$1$d([
|
|
@@ -12981,7 +12990,7 @@ const RtkTextComposerView = class {
|
|
|
12981
12990
|
}
|
|
12982
12991
|
}
|
|
12983
12992
|
render() {
|
|
12984
|
-
return (h("div", { key: '
|
|
12993
|
+
return (h("div", { key: 'e5f7fa2bd4a2386ff5185001981477ccacf24556', class: "chat-input", part: "chat-input-container" }, this.maxLengthBreached > 0 && (h("div", { key: '4c06c853ddc7bebafe45fdb2e2c5c9e1c20021fe', class: 'text-error ' + (this.maxLengthBreached === this.maxLength ? 'breached' : '') }, h("rtk-icon", { key: '524037dc257f0aea206fbc3503d1fe1cb03449be', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.maxLengthBreached, " / ", this.maxLength, " ", this.t('chat.max_limit_warning'))), this.rateLimitBreached && (h("div", { key: 'cf975664f367f2621593239ab1cf2e73f5acdb45', class: 'text-error breached' }, h("rtk-icon", { key: '70a6555f1fa9752f91951181b46e0ed0e7eb8679', id: "warning-indicator", icon: this.iconPack.warning, part: "warning-indicator" }), ' ', this.t('chat.rate_limit_error'))), h("textarea", { key: '7fc7280dd143cd701d5037e04c2b36c3ea8ec023', ref: (el) => (this.$textArea = el), placeholder: this.placeholder, disabled: this.disabled, onInput: this.onInputHandler, onKeyDown: this.keyDownHandler, part: "chat-input", value: this.value })));
|
|
12985
12994
|
}
|
|
12986
12995
|
};
|
|
12987
12996
|
__decorate$1k([
|
|
@@ -13002,7 +13011,7 @@ const RtkTextMessageView = class {
|
|
|
13002
13011
|
this.isMarkdown = false;
|
|
13003
13012
|
}
|
|
13004
13013
|
render() {
|
|
13005
|
-
return (h("p", { key: '
|
|
13014
|
+
return (h("p", { key: 'b4cbabb44d32f96a23cd72f108d6a36b05491c97', class: { text: true, emoji: hasOnlyEmojis(this.text) } }, this.isMarkdown ? h("rtk-markdown-view", { text: this.text }) : this.text));
|
|
13006
13015
|
}
|
|
13007
13016
|
};
|
|
13008
13017
|
RtkTextMessageView.style = RtkTextMessageViewStyle0;
|
|
@@ -13108,7 +13117,7 @@ const RtkMenu = class {
|
|
|
13108
13117
|
});
|
|
13109
13118
|
}
|
|
13110
13119
|
render() {
|
|
13111
|
-
return (h(Host, { key: '
|
|
13120
|
+
return (h(Host, { key: '5278137bc9b99d9fe9ffeb0fc30bd887d600494d' }, h("span", { key: 'cbefda068a15340dad76668c3696a10bd94cb8e9', part: "trigger", id: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'f160cf29ece64145e795a9a11459bd458482c446' })), h("div", { key: '1056b2bbc8cbacd3c32280d334d9f703a578b5ef', part: "tooltip", class: "tooltip", id: "tooltip", role: "tooltip", ref: (el) => (this.tooltipEl = el) }, h("div", { key: '6c6816fa1b18d49fa22ab6ffb600aaa23c5b9ec5', id: "arrow", ref: (el) => (this.arrowEl = el), part: "arrow" }), this.label, h("slot", { key: '3c2d3425b2e8b4d810de2ce40394491c4698aede', name: "tooltip" }))));
|
|
13112
13121
|
}
|
|
13113
13122
|
static get watchers() { return {
|
|
13114
13123
|
"open": ["openChanged"]
|
|
@@ -13386,7 +13395,7 @@ const RtkAudioGrid = class {
|
|
|
13386
13395
|
}
|
|
13387
13396
|
render() {
|
|
13388
13397
|
const onStage = this.activeParticipants.concat(this.onStageParticipants);
|
|
13389
|
-
return (h(Host, { key: '
|
|
13398
|
+
return (h(Host, { key: '1fe3a85bc93c05e225d68f21055e1017a7f70d58' }, h("div", { key: 'af48ec158bcd5b6a9c2326703aac739643053c05', class: "content scrollbar" }, h("div", { key: 'c8141f9cb9f9eee023419c3c99cc98098907208b', class: "stage grid" }, this.renderGrid(onStage)), this.offStageParticipants.length > 0 && (h("div", { key: '43bc09bdf14e0faac406f8f5f0f0a244ec95624a', class: "waitlist-area" }, h("div", { key: '609530579f746d37e16839dd82afd8f04c183101', class: "listening-title" }, this.offStageParticipants.length, " ", this.t('grid.listening')), h("div", { key: '410f40724a1816bd12e925e5de5a2212f0202c6a', class: "waitlist-grid grid" }, this.renderGrid(this.offStageParticipants))))), h("slot", { key: 'f3ecc1e452e89239e3cb3327b597805fd01b6a1b' })));
|
|
13390
13399
|
}
|
|
13391
13400
|
get host() { return getElement(this); }
|
|
13392
13401
|
static get watchers() { return {
|
|
@@ -14321,9 +14330,9 @@ const RtkChannelCreator = class {
|
|
|
14321
14330
|
(_a = this.inputTextRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
14322
14331
|
}
|
|
14323
14332
|
render() {
|
|
14324
|
-
return (h(Host, { key: '
|
|
14333
|
+
return (h(Host, { key: '0e938e24a3838a8b3cff8be5f8f56e0e828a656a' }, h("header", { key: 'b0aed03cea09e2105feee1bbfd1acad453cc924e' }, this.step === 1 ? this.t('chat.new_channel') : this.t('chat.add_members')), this.step === 1 && (h("input", { key: 'f252b9a1d899fa189837d6dd44097ee3e132907b', class: "channel-name-input", type: "text", placeholder: this.t('chat.channel_name'), ref: (el) => (this.inputTextRef = el), onInput: (e) => {
|
|
14325
14334
|
this.channelName = e.target.value.trim();
|
|
14326
|
-
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '
|
|
14335
|
+
} })), this.step === 2 && this.renderMemberSelector(), h("footer", { key: '4dc3bc442c35be9c21d5c0a510aac74f8f94bc6a' }, h("rtk-button", { key: 'de530ede30a33ae9cf14c155cbf3b53d25d434ae', kind: "button", size: "lg", disabled: this.channelName.length === 0, onClick: this.onClickHandler }, this.step === 1 ? this.t('chat.add_members') : this.t('create')))));
|
|
14327
14336
|
}
|
|
14328
14337
|
get $el() { return getElement(this); }
|
|
14329
14338
|
};
|
|
@@ -14600,7 +14609,7 @@ const RtkChannelSelectorUi = class {
|
|
|
14600
14609
|
}
|
|
14601
14610
|
}
|
|
14602
14611
|
render() {
|
|
14603
|
-
return (h(Host, { key: '
|
|
14612
|
+
return (h(Host, { key: '8c0e21c2edeb6cedf5e4332d361dd06fef80e2c3' }, h("div", { key: 'b4f0bdc102cf4a6bdaafe945ccacc65691cda6c8', class: "container", ref: (el) => (this.$el = el) }, this.isHidden && (h("rtk-button", { key: 'c0a4ffa6a83074b59d39827dd0d49db89d0bbe86', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '51316a7127bc3f780d4110fe62a6114156859fef', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))), h("slot", { key: '9f62d231516e418d40e73ff4e7128c3df93fa516', name: "header" }), h("div", { key: 'e337d9c1c2599b894812d1f9d68740ddff45a417', class: "search-wrapper" }, h("div", { key: 'a4e60014174739d658cac4a8a2b4cc6170a718c3', class: "search" }, h("input", { key: 'e4b02408f7893c2ac6dc4d7f52dbafbd6acba59b', type: "search", autocomplete: "off", placeholder: this.t('chat.search_conversations'), onInput: this.onSearchInput }), h("rtk-icon", { key: 'ab9fd67f26aebf1062ed89d0411f00cd3a1ce30b', icon: this.iconPack.search, class: "search-icon" }))), h("div", { key: 'ac46c45d8f8ee6a93c04748e8eae278fecc9d2a9', class: "channel-container scrollbar", role: "list" }, this.channels
|
|
14604
14613
|
.filter((channel) => this.searchQuery === '' || channel.displayName.includes(this.searchQuery))
|
|
14605
14614
|
.map((channel) => {
|
|
14606
14615
|
return (h("div", { class: {
|
|
@@ -14610,7 +14619,7 @@ const RtkChannelSelectorUi = class {
|
|
|
14610
14619
|
}, role: "listitem", onClick: () => {
|
|
14611
14620
|
this.channelSelected(channel.id);
|
|
14612
14621
|
} }, this.renderChannelDisplayPic(channel), h("div", { class: "channel-card", "is-direct-message": channel.isDirectMessage }, h("div", { class: 'recent-message-row' }, h("span", { class: "channel-name" }, channel.displayName), channel.latestMessage && (h("span", { class: "latest-msg-time" }, this.getTimeLabel(channel.latestMessage)))), h("div", { class: 'recent-message-row' }, this.renderRecentMessage(channel), channel.unreadCount > 0 && channel.id !== this.selectedChannelId ? (h("span", { class: "new-msgs-count" }, channel.unreadCount < 99 ? channel.unreadCount : '99+')) : null))));
|
|
14613
|
-
}))), !this.isHidden && (h("div", { key: '
|
|
14622
|
+
}))), !this.isHidden && (h("div", { key: '7c886fbae80b1248db515317cfcf525eb74ffa6b', class: "overlay-container" }, h("rtk-button", { key: 'f48116160f38d361ec4842dbe2a550a1154d0b00', kind: "icon", variant: "ghost", size: "md", onClick: this.onRevealClicked, class: "sidebar-btn" }, h("rtk-icon", { key: '29f1f41eb90dddacf0ef6a42479d7468a03ee005', icon: this.isHidden ? this.iconPack.chevron_left : this.iconPack.dismiss }))))));
|
|
14614
14623
|
}
|
|
14615
14624
|
};
|
|
14616
14625
|
__decorate$1a([
|
|
@@ -14933,6 +14942,18 @@ var rtkChatComposerUi_entry = /*#__PURE__*/Object.freeze({
|
|
|
14933
14942
|
rtk_chat_composer_ui: RtkChatComposerUi
|
|
14934
14943
|
});
|
|
14935
14944
|
|
|
14945
|
+
/**
|
|
14946
|
+
* Scroll to bottom of an element.
|
|
14947
|
+
*
|
|
14948
|
+
* Works in all browsers - just that in Safari, the smooth scrolling doesn't work.
|
|
14949
|
+
* @param el The bottom of which element you want to scroll down to
|
|
14950
|
+
*/
|
|
14951
|
+
const smoothScrollToBottom = (el, smooth = true) => {
|
|
14952
|
+
if (el == null)
|
|
14953
|
+
return;
|
|
14954
|
+
el.scrollTo({ top: el.scrollHeight, behavior: smooth ? 'smooth' : 'auto' });
|
|
14955
|
+
};
|
|
14956
|
+
|
|
14936
14957
|
const rtkChatMessagesUiCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));word-break:break-word}.chat-container{box-sizing:border-box;display:flex;flex-direction:column;padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);flex:1 0 0px;overflow-y:scroll}.chat-container .spacer{flex:1 1 auto}.chat-container .chat{flex:0 0 auto}.file-picker{display:none}.chat .head{margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.chat .head .name{margin-right:var(--rtk-space-2, 8px);font-size:12px;font-weight:700}.chat .head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat .body{overflow-wrap:break-word;line-height:1.5}.chat .body .emoji{font-size:24px}p{margin:var(--rtk-space-0, 0px);line-height:1.5}rtk-message-view{margin-top:var(--rtk-space-2, 8px);display:block;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));box-sizing:border-box}rtk-message-view::part(message){flex-grow:1}*[is-continued] rtk-message-view{margin-top:var(--rtk-space-1, 4px)}.pinned .message-wrapper{position:relative}.pinned .pin-button{position:absolute;right:var(--rtk-space-4, 16px);top:calc(var(--rtk-space-4, 16px) * -1);display:flex;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.pinned .pin-button:hover rtk-button{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-600, 13 81 253) / var(--tw-bg-opacity))}.pinned rtk-message-view{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px)}a{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));text-decoration-line:none}a:hover{text-decoration-line:underline}.new-chat-marker{display:flex;width:100%;align-items:center;gap:var(--rtk-space-2, 8px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.new-chat-marker::before{content:'';height:1px;flex:1 1 0%;background-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / 0.5)}.show-new-messages-ctr{pointer-events:none;display:flex;justify-content:flex-end;padding:var(--rtk-space-3, 12px);z-index:0;margin-top:calc(var(--rtk-space-14, 56px) * -1)}.show-new-messages{pointer-events:auto;--tw-translate-y:var(--rtk-space-16, 64px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.show-new-messages.active{--tw-translate-y:var(--rtk-space-0, 0px);transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}";
|
|
14937
14958
|
const RtkChatMessagesUiStyle0 = rtkChatMessagesUiCss;
|
|
14938
14959
|
|
|
@@ -15085,7 +15106,7 @@ const RtkChatMessagesUi = class {
|
|
|
15085
15106
|
var _a;
|
|
15086
15107
|
let prevMessage = null;
|
|
15087
15108
|
let reachedFirstUnread = false;
|
|
15088
|
-
return (h(Host, { key: '
|
|
15109
|
+
return (h(Host, { key: '1e00d65234971f64cb44cfc9f3f27523ef4184eb' }, h("div", { key: '6f1f50001914707a79782e2b035f7f056545bd73', class: "chat-container scrollbar", ref: (el) => (this.$chat = el), part: "container" }, h("div", { key: '0e2513409c533ce131341d8d636f95cde39bd1e4', class: "spacer", part: "spacer" }), h("div", { key: 'c677a4a1f80fb07f59157358aff8008d2cf52569', class: "chat", part: "chat" }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.map((item) => {
|
|
15089
15110
|
if (item.type === 'chat') {
|
|
15090
15111
|
const { message } = item;
|
|
15091
15112
|
const isSelfMessage = message.userId === this.selfUserId;
|
|
@@ -15104,10 +15125,10 @@ const RtkChatMessagesUi = class {
|
|
|
15104
15125
|
} })))), message.pinned && (h("div", { class: "pin-button", part: "pin-button" }, h("rtk-tooltip", { label: this.t('unpin') }, h("rtk-button", { kind: "icon", variant: "ghost", onClick: () => this.onMessageActionHandler('pin_message', message), disabled: !this.canPinMessages }, h("rtk-icon", { icon: this.iconPack.pin, size: "sm" }))))))));
|
|
15105
15126
|
}
|
|
15106
15127
|
return null;
|
|
15107
|
-
}))), h("div", { key: '
|
|
15128
|
+
}))), h("div", { key: 'b0cd46132b3cd70b784f94a8c97a3fbeef57900f', class: "show-new-messages-ctr" }, h("rtk-button", { key: 'd8faf61563052ad61ef2cc19e6f8d91993bae58d', class: {
|
|
15108
15129
|
'show-new-messages': true,
|
|
15109
15130
|
active: this.showLatestMessageButton,
|
|
15110
|
-
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: '
|
|
15131
|
+
}, kind: "icon", part: "show-new-messages", onClick: this.scrollToBottom }, h("rtk-icon", { key: 'ef37ed2fc35d087ac95a75393a2470ce9def4670', icon: this.iconPack.chevron_down })))));
|
|
15111
15132
|
}
|
|
15112
15133
|
static get watchers() { return {
|
|
15113
15134
|
"messages": ["chatChanged"],
|
|
@@ -15161,7 +15182,7 @@ const RtkChatSearchResults = class {
|
|
|
15161
15182
|
};
|
|
15162
15183
|
}
|
|
15163
15184
|
render() {
|
|
15164
|
-
return (h(Host, { key: '
|
|
15185
|
+
return (h(Host, { key: 'e71457e70093c4de4d453d3905aaeedf7ef91df3' }, h("rtk-paginated-list", { key: '4a8f9360d483804ed31c512ddc9ae91454ab1c89', pageSize: this.pageSize, pagesAllowed: 3, fetchData: this.searchMessages, createNodes: this.nodeRenderer, selectedItemId: this.query })));
|
|
15165
15186
|
}
|
|
15166
15187
|
};
|
|
15167
15188
|
__decorate$17([
|
|
@@ -15295,7 +15316,7 @@ const canViewPlugins = (meeting) => {
|
|
|
15295
15316
|
return plugins.canClose || plugins.canStart;
|
|
15296
15317
|
};
|
|
15297
15318
|
|
|
15298
|
-
const rtkChatToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-
|
|
15319
|
+
const rtkChatToggleCss = ":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.unread-count{position:absolute;right:var(--rtk-space-4, 16px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}.unread-count-dot{position:absolute;right:var(--rtk-space-3, 12px);z-index:10;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));border-radius:50%;display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";
|
|
15299
15320
|
const RtkChatToggleStyle0 = rtkChatToggleCss;
|
|
15300
15321
|
|
|
15301
15322
|
var __decorate$15 = function (decorators, target, key, desc) {
|
|
@@ -15321,17 +15342,15 @@ const RtkChatToggle = class {
|
|
|
15321
15342
|
this.t = useLanguage();
|
|
15322
15343
|
this.chatActive = false;
|
|
15323
15344
|
this.canViewChat = false;
|
|
15324
|
-
|
|
15325
|
-
* Only used when paginated chat is enabled
|
|
15326
|
-
*/
|
|
15327
|
-
this.hasNewMessages = false;
|
|
15345
|
+
this.pageSize = 11;
|
|
15328
15346
|
this.onChatUpdate = ({ action, message }) => {
|
|
15329
15347
|
var _a;
|
|
15330
15348
|
if (this.chatActive)
|
|
15331
15349
|
return;
|
|
15332
15350
|
if (action === 'add' && message.userId !== ((_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId)) {
|
|
15333
|
-
this.
|
|
15334
|
-
|
|
15351
|
+
if (this.unreadMessageCount <= 10) {
|
|
15352
|
+
this.unreadMessageCount += 1;
|
|
15353
|
+
}
|
|
15335
15354
|
}
|
|
15336
15355
|
};
|
|
15337
15356
|
this.toggleChat = () => {
|
|
@@ -15339,7 +15358,6 @@ const RtkChatToggle = class {
|
|
|
15339
15358
|
this.chatActive = !((states === null || states === void 0 ? void 0 : states.activeSidebar) && (states === null || states === void 0 ? void 0 : states.sidebar) === 'chat');
|
|
15340
15359
|
if (this.chatActive) {
|
|
15341
15360
|
this.unreadMessageCount = 0;
|
|
15342
|
-
this.hasNewMessages = false;
|
|
15343
15361
|
}
|
|
15344
15362
|
this.stateUpdate.emit({
|
|
15345
15363
|
activeSidebar: this.chatActive,
|
|
@@ -15363,27 +15381,36 @@ const RtkChatToggle = class {
|
|
|
15363
15381
|
(_f = (_e = this.meeting) === null || _e === void 0 ? void 0 : _e.self) === null || _f === void 0 ? void 0 : _f.permissions.removeListener('chatUpdate', this.updateCanView);
|
|
15364
15382
|
}
|
|
15365
15383
|
meetingChanged(meeting) {
|
|
15366
|
-
var _a, _b, _c
|
|
15384
|
+
var _a, _b, _c;
|
|
15367
15385
|
if (!meeting)
|
|
15368
15386
|
return;
|
|
15369
|
-
|
|
15370
|
-
var _a;
|
|
15371
|
-
if ((_a = res === null || res === void 0 ? void 0 : res.messages) === null || _a === void 0 ? void 0 : _a.length)
|
|
15372
|
-
this.hasNewMessages = true;
|
|
15373
|
-
});
|
|
15374
|
-
const meetingStartedTimeMs = (_c = (_b = meeting.meta) === null || _b === void 0 ? void 0 : _b.meetingStartedTimestamp.getTime()) !== null && _c !== void 0 ? _c : 0;
|
|
15375
|
-
const newMessages = (_d = meeting.chat) === null || _d === void 0 ? void 0 : _d.messages.filter((m) => m.timeMs > meetingStartedTimeMs);
|
|
15376
|
-
this.unreadMessageCount = newMessages.length || 0;
|
|
15377
|
-
(_e = meeting.chat) === null || _e === void 0 ? void 0 : _e.addListener('chatUpdate', this.onChatUpdate);
|
|
15387
|
+
this.setUnreadMessageCount();
|
|
15378
15388
|
this.canViewChat = canViewChat(meeting);
|
|
15379
|
-
(
|
|
15380
|
-
(
|
|
15389
|
+
(_a = meeting.chat) === null || _a === void 0 ? void 0 : _a.addListener('chatUpdate', this.onChatUpdate);
|
|
15390
|
+
(_b = meeting === null || meeting === void 0 ? void 0 : meeting.stage) === null || _b === void 0 ? void 0 : _b.on('stageStatusUpdate', this.updateCanView);
|
|
15391
|
+
(_c = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _c === void 0 ? void 0 : _c.permissions.on('chatUpdate', this.updateCanView);
|
|
15381
15392
|
}
|
|
15382
15393
|
statesChanged(states) {
|
|
15383
15394
|
if (states != null) {
|
|
15384
15395
|
this.chatActive = states.activeSidebar === true && states.sidebar === 'chat';
|
|
15385
15396
|
}
|
|
15386
15397
|
}
|
|
15398
|
+
async setUnreadMessageCount() {
|
|
15399
|
+
var _a, _b;
|
|
15400
|
+
const chat = this.meeting.chat;
|
|
15401
|
+
if (!chat)
|
|
15402
|
+
return;
|
|
15403
|
+
const { messages } = await chat.getMessages(new Date().getTime(), this.pageSize, true);
|
|
15404
|
+
const meetingStartedTimeMs = (_b = (_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.meetingStartedTimestamp.getTime()) !== null && _b !== void 0 ? _b : 0;
|
|
15405
|
+
const newMessages = messages.filter((m) => m.timeMs > meetingStartedTimeMs);
|
|
15406
|
+
if (newMessages.length === messages.length && messages.length > 0) {
|
|
15407
|
+
// all messages are new, so we can't know the exact count, but we know there are at least pageSize - 1 new messages
|
|
15408
|
+
this.unreadMessageCount = this.pageSize - 1;
|
|
15409
|
+
}
|
|
15410
|
+
else {
|
|
15411
|
+
this.unreadMessageCount = newMessages.length;
|
|
15412
|
+
}
|
|
15413
|
+
}
|
|
15387
15414
|
handleChatActiveChange() {
|
|
15388
15415
|
// Chat sidebar closed without opening a different sidebar
|
|
15389
15416
|
if (!this.chatActive && !this.states.activeSidebar) {
|
|
@@ -15395,8 +15422,7 @@ const RtkChatToggle = class {
|
|
|
15395
15422
|
return null;
|
|
15396
15423
|
if (!this.canViewChat)
|
|
15397
15424
|
return h(Host, { "data-hidden": true });
|
|
15398
|
-
return (h(Host, { title: this.t('chat') }, this.
|
|
15399
|
-
, h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
|
|
15425
|
+
return (h(Host, { title: this.t('chat') }, this.unreadMessageCount !== 0 && !this.chatActive && (h("div", { class: "unread-count", part: "unread-count" }, h("span", null, this.unreadMessageCount < this.pageSize ? this.unreadMessageCount : '10+'))), h("rtk-controlbar-button", { ref: (el) => (this.buttonEl = el), part: "controlbar-button", size: this.size, iconPack: this.iconPack, class: { active: this.chatActive }, onClick: this.toggleChat, icon: this.iconPack.chat, label: this.t('chat'), variant: this.variant })));
|
|
15400
15426
|
}
|
|
15401
15427
|
static get watchers() { return {
|
|
15402
15428
|
"meeting": ["meetingChanged"],
|
|
@@ -15494,9 +15520,9 @@ const RtkClock = class {
|
|
|
15494
15520
|
}
|
|
15495
15521
|
render() {
|
|
15496
15522
|
const showClock = this.startedTime !== undefined;
|
|
15497
|
-
return (h(Host, { key: '
|
|
15498
|
-
h("rtk-icon", { key: '
|
|
15499
|
-
h("span", { key: '
|
|
15523
|
+
return (h(Host, { key: 'a389e7c6a9fc8183f3228564bfa61f606ceaf979', "data-hidden": !showClock, tabIndex: 0, role: "timer", "aria-live": "off" }, this.startedTime !== undefined && [
|
|
15524
|
+
h("rtk-icon", { key: '5fe283d25031c367f018d7a99ea46ed0c0d46a86', icon: this.iconPack.clock, "aria-hidden": true, tabIndex: -1, part: "icon" }),
|
|
15525
|
+
h("span", { key: 'e5e134c951f7bbb3f161ae01d88d9c83ed85c798', part: "text" }, this.getFormattedTime()),
|
|
15500
15526
|
]));
|
|
15501
15527
|
}
|
|
15502
15528
|
static get watchers() { return {
|
|
@@ -15553,7 +15579,7 @@ const RtkControlbar = class {
|
|
|
15553
15579
|
iconPack: this.iconPack,
|
|
15554
15580
|
size: this.size,
|
|
15555
15581
|
};
|
|
15556
|
-
return (h(Host, { key: '
|
|
15582
|
+
return (h(Host, { key: 'f42df94eb381604cc1e4e9716e7908cab55da6b2' }, !this.disableRender && (h(Render, { key: '2c961c3e2546e7610cd2e18ea8aeaf72dbdd1075', element: "rtk-controlbar", defaults: defaults, onlyChildren: true })), h("slot", { key: '9e2a7239b36ba2f4c40bf7c7d63441c833927a97' })));
|
|
15557
15583
|
}
|
|
15558
15584
|
};
|
|
15559
15585
|
__decorate$13([
|
|
@@ -15610,7 +15636,7 @@ const RtkDebuggerToggle = class {
|
|
|
15610
15636
|
});
|
|
15611
15637
|
}
|
|
15612
15638
|
render() {
|
|
15613
|
-
return (h(Host, { key: '
|
|
15639
|
+
return (h(Host, { key: '38be7c2de47b57a51bb6feedc0f8ea05801eec58', title: this.t('Troubleshooting') }, h("rtk-controlbar-button", { key: '18d8b11e7a57d4930c2d300eaeb60b9a77c45c5c', size: this.size, iconPack: this.iconPack, onClick: () => this.toggleDebugger(), icon: this.iconPack.debug, label: this.t('Troubleshooting'), variant: this.variant })));
|
|
15614
15640
|
}
|
|
15615
15641
|
};
|
|
15616
15642
|
__decorate$12([
|
|
@@ -15928,7 +15954,7 @@ const RtkFileDropzone = class {
|
|
|
15928
15954
|
});
|
|
15929
15955
|
}
|
|
15930
15956
|
render() {
|
|
15931
|
-
return (h(Host, { key: '
|
|
15957
|
+
return (h(Host, { key: '6a205001d1e1e1f7c54855005cab34b81e95c9b9' }, h("div", { key: 'b87bcc6c90819127b2783665e541b69ce49f1032', id: "dropzone", class: { active: this.dropzoneActivated }, part: "dropzone" }, h("rtk-icon", { key: '1f603086a79a170a4fc3f3df53df9cfdfbae73fe', icon: this.iconPack.attach }), h("p", { key: '0b4914a3fb881006b1af20533750e6b273a82a48' }, this.t('chat.send_attachment')))));
|
|
15932
15958
|
}
|
|
15933
15959
|
};
|
|
15934
15960
|
__decorate$$([
|
|
@@ -17124,7 +17150,7 @@ const RtkHeader = class {
|
|
|
17124
17150
|
iconPack: this.iconPack,
|
|
17125
17151
|
size: this.size,
|
|
17126
17152
|
};
|
|
17127
|
-
return (h(Host, { key: '
|
|
17153
|
+
return (h(Host, { key: 'cc998eacd57a6ab5492229b6eb900caf9aa6cfaa' }, !this.disableRender && h(Render, { key: 'c8bfb68227fcea6955c7e4d07cfe3d1eb9d7906d', element: "rtk-header", defaults: defaults, onlyChildren: true }), h("slot", { key: '50848506efeeccf7a6bd4539d65374eb64279d17' })));
|
|
17128
17154
|
}
|
|
17129
17155
|
};
|
|
17130
17156
|
__decorate$Y([
|
|
@@ -17173,7 +17199,7 @@ const RtkIdleScreen = class {
|
|
|
17173
17199
|
this.t = useLanguage();
|
|
17174
17200
|
}
|
|
17175
17201
|
render() {
|
|
17176
|
-
return (h(Host, { key: '
|
|
17202
|
+
return (h(Host, { key: '9542c3ce51e79f077f59e3c260884b117ee8d327' }, h("slot", { key: 'b0d7e6f916ef6bc00eb77c89a6ee6c4f55fe81c5' }, h("div", { key: '028702fec102195179abb5ad93803478cda2cd4d', class: "ctr", part: "container" }, h("rtk-logo", { key: '5fa9163f969de1ee7f9f02b585138e16d583bf2b', meeting: this.meeting, config: this.config, t: this.t, part: "logo" }), h("rtk-spinner", { key: 'cbf0b91e0455cb2be65059766d6eb713674f2dcb', "aria-label": "Idle, waiting for meeting data", part: "spinner", iconPack: this.iconPack })))));
|
|
17177
17203
|
}
|
|
17178
17204
|
};
|
|
17179
17205
|
__decorate$X([
|
|
@@ -17232,7 +17258,7 @@ const RtkImageViewer = class {
|
|
|
17232
17258
|
document.removeEventListener('click', this.handleOutsideClick);
|
|
17233
17259
|
}
|
|
17234
17260
|
render() {
|
|
17235
|
-
return (h(Host, { key: '
|
|
17261
|
+
return (h(Host, { key: 'd3d145c8bd304fbe0e9420e7746ea15872772f3b', class: "scrollbar", onClick: (e) => e.stopPropagation() }, h("div", { key: '3f9ceed6d177439c39438dbb6ac60d08d630bf0e', class: "header" }, h("div", { key: '3944264dcf9903e55b544bda02dfa8d6643ba3ff', class: "shared-by-user" }, this.t('chat.img.shared_by'), ' ', h("span", { key: '540b69c4f1abdd437a003fa4ba9c9ddf8aa71dd8', class: "displayName" }, formatName(shorten(this.image.displayName)))), h("div", { key: 'ed632e11bcdf8fa46a2c1bd0f6b02884ee635b5a', class: "actions" }, h("rtk-button", { key: '677ef4df0f7235a27c925b1e742a61222c90049f', onClick: () => downloadFile(this.image.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: '2479f3a5e2f9eff5359d377625d06337b2023e8c', icon: this.iconPack.download, slot: "start" }), "Download"), h("rtk-button", { key: '6ff009deb6e385481254e9fa6a7ae30f1676cff0', kind: "icon", variant: "secondary", onClick: () => this.close.emit() }, h("rtk-icon", { key: '6ad51918f8e76980f61c02c10b9a2cccfe5a2a7f', icon: this.iconPack.dismiss })))), h("div", { key: '5fd522972d26d9b4815ffe37d2d418b784e751ae', class: "image-ctr" }, h("img", { key: 'a45df563ecdf79e020e3269f6fd055aee27cfab0', src: this.image.link }))));
|
|
17236
17262
|
}
|
|
17237
17263
|
};
|
|
17238
17264
|
__decorate$W([
|
|
@@ -17268,7 +17294,7 @@ const RtkInformationTooltip = class {
|
|
|
17268
17294
|
this.iconPack = defaultIconPack;
|
|
17269
17295
|
}
|
|
17270
17296
|
render() {
|
|
17271
|
-
return (h(Host, { key: '
|
|
17297
|
+
return (h(Host, { key: 'e6592aeb2d479a084f6100d1a32f6df61c2e979c' }, h("div", { key: '9406039d36b98781c2eb8dbbe37fab9a3390c90b', class: "tooltip-container" }, h("rtk-icon", { key: '97fd3324d790e8dc81d81bb272cacd95a2a95997', icon: this.iconPack.info, size: "sm" }), h("div", { key: 'e3b5b3a8e69cea34a1aa86b1a6eff2008028b673', class: "tooltip" }, h("slot", { key: '88608c68efc3287baf74d717a5e3ca418ef0dc9b', name: "tootlip-text" })))));
|
|
17272
17298
|
}
|
|
17273
17299
|
};
|
|
17274
17300
|
__decorate$V([
|
|
@@ -17310,7 +17336,7 @@ const RtkLeaveButton = class {
|
|
|
17310
17336
|
}
|
|
17311
17337
|
render() {
|
|
17312
17338
|
const text = this.t('leave');
|
|
17313
|
-
return (h(Host, { key: '
|
|
17339
|
+
return (h(Host, { key: 'fc176585ba4617c2b64d05d9b2e1ee66084666aa', label: text }, h("rtk-controlbar-button", { key: 'feb4ee03ff7d16bf6ab858a3207a628121fd477b', size: this.size, iconPack: this.iconPack, class: "leave red-icon", onClick: this.leave, icon: this.iconPack.call_end, label: text, variant: this.variant, part: "controlbar-button" })));
|
|
17314
17340
|
}
|
|
17315
17341
|
};
|
|
17316
17342
|
__decorate$U([
|
|
@@ -17765,11 +17791,11 @@ const RtkMessageListView = class {
|
|
|
17765
17791
|
this.updateTotalHeight();
|
|
17766
17792
|
}
|
|
17767
17793
|
render() {
|
|
17768
|
-
return (h("div", { key: '
|
|
17794
|
+
return (h("div", { key: '17ccb3852a89ddb77e5799413f8ee0ef0ac7c132', class: "scrollbar content-wrapper", ref: (el) => (this.$listRef = el), onScroll: this.handleScroll }, h("div", { key: '044af22a10ae312a46d90f29dc9a793d86540fb8', class: "scroller" }, h("div", { key: '15a2b213883f210a44081c05c317f9da7a58380c', style: {
|
|
17769
17795
|
height: `${this.totalHeight}px`,
|
|
17770
|
-
} }), h("div", { key: '
|
|
17796
|
+
} }), h("div", { key: '918071c6d3aed045814c1c2b3908572edae480ac', class: "smallest-dom-element", id: "list-end", ref: (el) => (this.$listEndRef = el) })), h("div", { key: '19b2f45794fa73f44d54b9b91ef1cab0df6c4aae', class: "content", style: {
|
|
17771
17797
|
transform: `translateY(${this.getRangeSize(0, this.range.start)}px)`,
|
|
17772
|
-
} }, this.isFetching && (h("div", { key: '
|
|
17798
|
+
} }, this.isFetching && (h("div", { key: '1a05d8ec0a4a11812afef413226c472d797e7ebe', class: "loader" }, h("rtk-spinner", { key: '29f275642f8f8be5d9cbe12ff0eeedba48e1b4c1', size: "md" }))), this.getVisibleItems().map((msg, index) => (h("div", { key: msg.id, ref: (el) => this.rendererInternal(el, msg, index) }))))));
|
|
17773
17799
|
}
|
|
17774
17800
|
static get watchers() { return {
|
|
17775
17801
|
"messages": ["messagesUpdated"]
|
|
@@ -18233,10 +18259,10 @@ const RtkMoreToggle = class {
|
|
|
18233
18259
|
}
|
|
18234
18260
|
render() {
|
|
18235
18261
|
const text = this.t('more');
|
|
18236
|
-
return (h(Host, { key: '
|
|
18262
|
+
return (h(Host, { key: 'ae92dc374ab721ea86cfe8d0f658be4f4c624d51', title: text }, this.states.activeMoreMenu && (h("div", { key: '061d68748259df66e729ff830c9d72909b8185a6', class: "more-menu" }, h("slot", { key: '6a89ae4f51c32c560c83bb5fa10f694797f4d20c', name: "more-elements" }))), h("rtk-controlbar-button", { key: '775fcd968101f57f070159f6992ad55527fd424a', size: this.size, iconPack: this.iconPack, onClick: (e) => {
|
|
18237
18263
|
e.stopPropagation();
|
|
18238
18264
|
this.toggleMoreMenu();
|
|
18239
|
-
}, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '
|
|
18265
|
+
}, icon: this.iconPack.horizontal_dots, label: text, part: "controlbar-button" }), h("slot", { key: '4b2006186051bf7c0e80dc4d9536d610d25ae7ba', name: "expanded" })));
|
|
18240
18266
|
}
|
|
18241
18267
|
get host() { return getElement(this); }
|
|
18242
18268
|
};
|
|
@@ -19195,11 +19221,11 @@ const RtkParticipantSetup = class {
|
|
|
19195
19221
|
}
|
|
19196
19222
|
render() {
|
|
19197
19223
|
var _a, _b, _c, _d;
|
|
19198
|
-
return (h(Host, { key: '
|
|
19224
|
+
return (h(Host, { key: '0e892e1dfa9613f7fdd62dbca7254284eb6df977' }, h("video", { key: 'bc958a758eef2ada959c848ea85ab337daec8dc7', ref: (el) => (this.videoEl = el), class: {
|
|
19199
19225
|
visible: (_a = this.videoState) === null || _a === void 0 ? void 0 : _a.videoEnabled,
|
|
19200
19226
|
mirror: this.isMirrored(),
|
|
19201
19227
|
[(_d = (_c = (_b = this.config) === null || _b === void 0 ? void 0 : _b.config) === null || _c === void 0 ? void 0 : _c.videoFit) !== null && _d !== void 0 ? _d : 'cover']: true,
|
|
19202
|
-
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '
|
|
19228
|
+
}, autoPlay: true, playsInline: true, muted: true }), h("slot", { key: '4271e84aaf556c68d2781da4b1e67ce709a1f00c' })));
|
|
19203
19229
|
}
|
|
19204
19230
|
static get watchers() { return {
|
|
19205
19231
|
"participant": ["participantsChanged"],
|
|
@@ -19589,7 +19615,7 @@ const RtkParticipantsAudio = class {
|
|
|
19589
19615
|
await this.handleEvents(meeting);
|
|
19590
19616
|
}
|
|
19591
19617
|
render() {
|
|
19592
|
-
return (h(Host, { key: '
|
|
19618
|
+
return (h(Host, { key: '21a64212a6cc90c14a8f5593269be311b844c574' }, this.showPlayDialog && (h("rtk-dialog", { key: '9572a416560f8ebd569d977b0d6b1758fe9ffaa4', open: true, onRtkDialogClose: this.onRtkDialogClose, hideCloseButton: true, disableEscapeKey: true, iconPack: this.iconPack, t: this.t }, h("div", { key: 'dd3cea3ac1b3ba4feb4f85a0cc2d8505bf25597e', class: "modal" }, h("h3", { key: '3dc9046e0322029cee74b8d5688453f081b529e1' }, this.t('audio_playback.title')), h("p", { key: 'b9b076d73c0ac8fa13e25bfba2ebd6c968d41e58' }, this.t('audio_playback.description')), h("rtk-button", { key: '274d941ea5c4f3b6aa6e94f200dabd84856ebccc', kind: "wide", onClick: () => {
|
|
19593
19619
|
this.audio.play();
|
|
19594
19620
|
this.onRtkDialogClose();
|
|
19595
19621
|
}, title: this.t('audio_playback') }, this.t('audio_playback')))))));
|
|
@@ -20090,7 +20116,7 @@ const RtkRecordingIndicator = class {
|
|
|
20090
20116
|
}
|
|
20091
20117
|
}
|
|
20092
20118
|
render() {
|
|
20093
|
-
return (h(Host, { key: '
|
|
20119
|
+
return (h(Host, { key: '3bc3bfca9c1b7159afd2f79820c2b6e9a6726dfc', "data-hidden": !this.isRecording }, this.isRecording && (h("div", { key: '66fc2ee9663a4d1bfc4f1e3c200e712fa1c8b80f', class: "indicator", "aria-label": this.t('recording.indicator'), part: "indicator" }, h("rtk-icon", { key: '24f268ae015c0d8874a5e398e7e24bbea66b76df', icon: this.iconPack.recording, "aria-hidden": true, tabIndex: -1, part: "icon" }), h("span", { key: '033532a521765c2a5e9c1a5ceafbb453be9c2d86' }, this.t('recording.label'))))));
|
|
20094
20120
|
}
|
|
20095
20121
|
static get watchers() { return {
|
|
20096
20122
|
"meeting": ["meetingChanged"]
|
|
@@ -20676,7 +20702,7 @@ const RtkScreenshareView = class {
|
|
|
20676
20702
|
const icon = this.isFullScreen
|
|
20677
20703
|
? this.iconPack.full_screen_minimize
|
|
20678
20704
|
: this.iconPack.full_screen_maximize;
|
|
20679
|
-
return (h(Host, { key: '
|
|
20705
|
+
return (h(Host, { key: '2f708b5df22fcffc0d19fdf30896e4aaad29684b', class: { isSelf } }, h("div", { key: "video-container", id: "video-container", class: { expand: this.videoExpanded } }, h("video", { key: '7cdbbde096cad5a675757f87291150d5bd8087b6', ref: (el) => (this.videoEl = el), class: {
|
|
20680
20706
|
visible: this.screenShareEnabled,
|
|
20681
20707
|
'fit-in-container': this.participant.supportsRemoteControl,
|
|
20682
20708
|
}, playsInline: true, onPlay: () => {
|
|
@@ -20684,15 +20710,15 @@ const RtkScreenshareView = class {
|
|
|
20684
20710
|
screenshareParticipant: this.participant,
|
|
20685
20711
|
participant: this.meeting.self,
|
|
20686
20712
|
});
|
|
20687
|
-
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: '
|
|
20713
|
+
}, autoPlay: true, muted: true, id: `screen-share-video-${this.participant.id}` })), h("div", { id: "controls", key: "controls" }, !this.hideFullScreenButton && !isSelf && isFullScreenSupported() && (h("rtk-tooltip", { key: 'c3340c5de0b70f2759a4654442a6ba9c85061a34', label: text }, h("rtk-button", { key: '882d093ec8c5af94ed7d15fa246319811eb45350', id: "full-screen-btn", kind: "icon", onClick: this.toggleFullScreen, title: text }, h("rtk-icon", { key: '59cf742dc69dc5407a0c575bef7cd9ad40c648dc', icon: icon, "aria-hidden": true, tabIndex: -1 }))))), isSelf && (h("div", { id: "self-message", key: "self-message" }, h("h3", { key: 'cddd41b2f2ce83d28c52f86c401ea41b847d1197' }, this.t('screenshare.shared')), h("div", { key: '475a0a10753366bf3ae5c25b18086155c1d57be7', class: "actions" }, this.meeting != null && (h("rtk-button", { key: '98dd92a16e1b26e22053868d07add3b38514b3d1', variant: "danger", onClick: () => {
|
|
20688
20714
|
this.meeting.self.disableScreenShare();
|
|
20689
|
-
} }, h("rtk-icon", { key: '
|
|
20715
|
+
} }, h("rtk-icon", { key: '1147425c7c92aa8e8e9b15848e86b64e8fde3d5b', icon: this.iconPack.share_screen_stop, slot: "start" }), this.t('screenshare.stop'))), h("rtk-button", { key: '15aa7c156b00282d7b2c7be66eaef6d78768d166', variant: "secondary", id: "expand-btn", onClick: () => {
|
|
20690
20716
|
this.videoExpanded = !this.videoExpanded;
|
|
20691
|
-
} }, h("rtk-icon", { key: '
|
|
20717
|
+
} }, h("rtk-icon", { key: '3e15e3948c1226eb02ed2f573a57447d2b8459b6', icon: this.videoExpanded
|
|
20692
20718
|
? this.iconPack.full_screen_minimize
|
|
20693
20719
|
: this.iconPack.full_screen_maximize, slot: "start" }), this.videoExpanded
|
|
20694
20720
|
? this.t('screenshare.min_preview')
|
|
20695
|
-
: this.t('screenshare.max_preview'))))), h("slot", { key: '
|
|
20721
|
+
: this.t('screenshare.max_preview'))))), h("slot", { key: 'ec18e9db10beca7faa8191ab4da5f375c9d5e056' })));
|
|
20696
20722
|
}
|
|
20697
20723
|
get host() { return getElement(this); }
|
|
20698
20724
|
static get watchers() { return {
|
|
@@ -20863,7 +20889,7 @@ const RtkSettingsToggle = class {
|
|
|
20863
20889
|
}
|
|
20864
20890
|
render() {
|
|
20865
20891
|
const text = this.t('settings');
|
|
20866
|
-
return (h(Host, { key: '
|
|
20892
|
+
return (h(Host, { key: 'b929e0a6febd8eb959bcb946ae123a0e993aace5', title: text }, h("rtk-controlbar-button", { key: 'a74581d52a7d9b8903098d0f1ff3b33e740206bc', part: "controlbar-button", size: this.size, iconPack: this.iconPack, onClick: () => this.toggleSettings(), icon: this.iconPack.settings, label: text, variant: this.variant })));
|
|
20867
20893
|
}
|
|
20868
20894
|
};
|
|
20869
20895
|
__decorate$x([
|
|
@@ -21327,13 +21353,13 @@ const RtkSpotlightGrid = class {
|
|
|
21327
21353
|
t: this.t,
|
|
21328
21354
|
};
|
|
21329
21355
|
const nonPinnedParticipants = this.participants.filter((p) => this.pinnedParticipants.some((pt) => pt.id != p.id));
|
|
21330
|
-
return (h(Host, { key: '
|
|
21356
|
+
return (h(Host, { key: '3e5596fe72e5df7684bfc51df9df3171358d094a' }, h("main", { key: '8c00ae24704582f775042399624a0274c9384d0c', part: "main" }, h(Render, { key: 'c5a06e7aff1aba7f4120acccf8e6e45d3267fccc', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
21331
21357
|
part: 'main-grid',
|
|
21332
21358
|
participants: this.pinnedParticipants,
|
|
21333
21359
|
aspectRatio: this.aspectRatio,
|
|
21334
21360
|
gap: this.gap,
|
|
21335
21361
|
size: this.getAdaptiveSize(this.pinnedParticipants.length),
|
|
21336
|
-
} })), nonPinnedParticipants.length > 0 && (h("aside", { key: '
|
|
21362
|
+
} })), nonPinnedParticipants.length > 0 && (h("aside", { key: '24bafede04344ea964cf667c5ba90f6fe52d1962', part: "aside", class: this.gridSize.spotlight ? `grid-width-${this.gridSize.spotlight}` : 'grid-width-md' }, h(Render, { key: '2328434d5f2a309e27c4af59d863e3122ec9fbc9', element: "rtk-simple-grid", defaults: defaults, props: {
|
|
21337
21363
|
part: 'aside-grid',
|
|
21338
21364
|
participants: nonPinnedParticipants,
|
|
21339
21365
|
aspectRatio: this.aspectRatio,
|
|
@@ -21388,7 +21414,7 @@ const RtkStage = class {
|
|
|
21388
21414
|
this.t = useLanguage();
|
|
21389
21415
|
}
|
|
21390
21416
|
render() {
|
|
21391
|
-
return (h(Host, { key: '
|
|
21417
|
+
return (h(Host, { key: 'cfccb12248bda74943e89cfd663504499925e73f' }, h("slot", { key: 'c48c7b62c93cefeeaad9904bbd62ea06c376199e' })));
|
|
21392
21418
|
}
|
|
21393
21419
|
};
|
|
21394
21420
|
__decorate$s([
|
|
@@ -21965,7 +21991,7 @@ const RtkWaitingScreen = class {
|
|
|
21965
21991
|
this.t = useLanguage();
|
|
21966
21992
|
}
|
|
21967
21993
|
render() {
|
|
21968
|
-
return (h(Host, { key: '
|
|
21994
|
+
return (h(Host, { key: '42ab084403fb118e17ca88c0aa9ca896d44893b7' }, h("slot", { key: 'd92a248417603793da8efb8d3b914f1730bd2fc0' }, h("div", { key: '45a4c570273ee8e070fea17c340c800859ee72e3', class: "centered", part: "content" }, h("rtk-logo", { key: '7c5fe652ea18ed2cac0c20351525250c83cf8a1d', meeting: this.meeting, config: this.config, part: "logo", t: this.t }), h("p", { key: 'a3ac66ef146ac1f04a9a8e912befa3de40d534a1' }, this.t('waitlist.body_text'))))));
|
|
21969
21995
|
}
|
|
21970
21996
|
};
|
|
21971
21997
|
__decorate$p([
|
|
@@ -22101,7 +22127,7 @@ const RtkAiTranscriptions = class {
|
|
|
22101
22127
|
});
|
|
22102
22128
|
}
|
|
22103
22129
|
render() {
|
|
22104
|
-
return (h(Host, { key: '
|
|
22130
|
+
return (h(Host, { key: '94f60db03785e266280aea971d3b998280840be2' }, h("div", { key: '0c709d7013ffd86748abc3a367e9cb504c2a37f5', class: "search-bar" }, h("input", { key: 'd98c6b1eb8835e59ed48d7a07bd12efbf72c9ae1', type: "text", placeholder: "Search Participant", value: this.participantQuery, onInput: (e) => (this.participantQuery = e.target.value) })), this.isProcessing && (h("div", { key: '041a08dd3e14b3d8c35d2d487d30a281f53338a0', class: "processing" }, h("p", { key: 'c4c90b39ca5ad0fd8161f0e3eb96aba38d959c6e' }, "Processing audio...."))), !this.isProcessing && (h("div", { key: '03bd5836324c9865d0e522d86e51701ec305f6ad', class: "content scrollbar", ref: (el) => (this.contentContainer = el) }, h("div", { key: '1df6f1b8cf06aa6f14d5700a7dfa86177bf3a752', class: "started-message" }, "Transcription started"), this.renderTranscripts()))));
|
|
22105
22131
|
}
|
|
22106
22132
|
static get watchers() { return {
|
|
22107
22133
|
"meeting": ["meetingChanged"],
|
|
@@ -22468,9 +22494,9 @@ const RtkBroadcastMessageModal = class {
|
|
|
22468
22494
|
}, 2000);
|
|
22469
22495
|
}
|
|
22470
22496
|
render() {
|
|
22471
|
-
return (h(Host, { key: '
|
|
22497
|
+
return (h(Host, { key: '6fbeed26fe6bd27b9f0fb5d574437db002931560' }, h("div", { key: '539893028570a33bae6e10dfbbf30a9872660cc9', class: "content-col" }, h("h2", { key: '066aaa4541f135cd6d8d424395cf449f79c61caa' }, "Broadcast message to"), h("select", { key: '413dea8a9bd7a1efbf17948cfb45b655ddb79b71', onChange: (e) => {
|
|
22472
22498
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { to: e.target.value });
|
|
22473
|
-
} }, h("option", { key: '
|
|
22499
|
+
} }, h("option", { key: '72df6790e57bdd905ad96d62c9d6fa57e4a3a41c' }, "Everyone"), h("option", { key: '82650452bb4de2b6d382a14dab3e901d62ca3b13' }, "List of rooms")), h("textarea", { key: '2be2bad10700c89162a06d662198b4eaadd96027', placeholder: "Type message here...", onInput: (e) => {
|
|
22474
22500
|
this.messagePayload = Object.assign(Object.assign({}, this.messagePayload), { message: e.target.value });
|
|
22475
22501
|
} }), this.successMessage ? (h("p", null, "Message sent to ", this.messagePayload.to, h("rtk-icon", { icon: this.iconPack.checkmark }))) : (h("div", { class: "content-row" }, h("rtk-button", { onClick: () => this.close(), variant: "secondary" }, "Cancel"), "\u2002", h("rtk-button", { variant: "primary", onClick: () => this.sendMessage() }, "Send"))))));
|
|
22476
22502
|
}
|
|
@@ -22536,7 +22562,7 @@ const RtkConfirmationModal = class {
|
|
|
22536
22562
|
render() {
|
|
22537
22563
|
var _a, _b;
|
|
22538
22564
|
const state = this.states.activeConfirmationModal;
|
|
22539
|
-
return (h(Host, { key: '
|
|
22565
|
+
return (h(Host, { key: '22ee38d06ab212134ac17a656da1251a3dc05372' }, h("div", { key: 'ed29620d69abd3202a823de32c06d7b2fb71f828', class: "leave-modal" }, h("div", { key: '07466875c79feb312e7df26cec679e62a4fc2991', class: "header" }, h("h2", { key: '4ebc7ab0dc5c2175cb234575435a30e4d1ce7a13', class: "title" }, state.header ? this.t(state.header) : this.t('cta.confirmation'))), state.content && h("p", { key: 'a9fcfa27f006dfb6ee1be60529b2c02611edc4cd', class: "message" }, this.t(state.content)), h("div", { key: '940cb8e8344bd99ba5d5266e284cc5161e666748', class: "content" }, h("div", { key: 'b8862b1db1f77121f9c2032e1f8213eeced5217d', class: "leave-meeting" }, h("rtk-button", { key: '0b4e17540009e0a465097e628904b36c54e17462', variant: "secondary", title: state.cancelText ? this.t(state.cancelText) : this.t('cancel'), onClick: this.close, class: "br-secondary-btn" }, state.cancelText ? this.t(state.cancelText) : this.t('cancel')), h("rtk-button", { key: '5f8c65ea6678c14855ece31827cb4aff714a0965', onClick: () => this.onConfirmation(), variant: (_b = (_a = this.states.activeConfirmationModal) === null || _a === void 0 ? void 0 : _a.variant) !== null && _b !== void 0 ? _b : 'danger', title: state.ctaText ? this.t(state.ctaText) : this.t('yes') }, state.ctaText ? this.t(state.ctaText) : this.t('yes')))))));
|
|
22540
22566
|
}
|
|
22541
22567
|
};
|
|
22542
22568
|
__decorate$6$1([
|
|
@@ -22692,7 +22718,7 @@ const RtkJoinStage = class {
|
|
|
22692
22718
|
iconPack: this.iconPack,
|
|
22693
22719
|
t: this.t,
|
|
22694
22720
|
};
|
|
22695
|
-
return (h(Host, { key: '
|
|
22721
|
+
return (h(Host, { key: 'e5d51e22abdf1f0192e48ea4d4cbb614747edcc1', class: { stage: true } }, h("header", { key: 'd2a658de63ba4df5d5827a3aff348347c271c21d' }, h("h2", { key: '9e0279be859026b0c330bd174a47556b145f14c6' }, this.dataConfig.title)), h(Render, { key: '47b47ff8103b8f0aec5f667750b2f011e55e0eea', element: "rtk-participant-setup", defaults: defaults, props: { participant: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self, size: 'md' }, childProps: { participant: (_b = this.meeting) === null || _b === void 0 ? void 0 : _b.self, size: 'md' }, deepProps: true }), h("div", { key: 'eb435cd2a823279760819d199228eeb4b848b8c7', class: "summary" }, this.dataConfig.description), h("div", { key: '7f161d269e0508e3f184adf590043b707809fac4', class: "container" }, h("rtk-button", { key: '98344f17b421583410b1f279c2ee8dd533090ebb', variant: "secondary", onClick: () => this.leaveStage.emit(), title: this.dataConfig.label.reject }, this.dataConfig.label.reject), h("rtk-button", { key: '5f8cf91e9e864df3c85b63677ab9ac2e17e7aa18', onClick: () => {
|
|
22696
22722
|
if (this.isLoading)
|
|
22697
22723
|
return;
|
|
22698
22724
|
this.isLoading = true;
|
|
@@ -22791,9 +22817,9 @@ const RtkLeaveMeeting = class {
|
|
|
22791
22817
|
}
|
|
22792
22818
|
}
|
|
22793
22819
|
render() {
|
|
22794
|
-
return (h(Host, { key: '
|
|
22820
|
+
return (h(Host, { key: '55991a2b1b60bb963ee7dfb10fbea5d5bc63c186' }, h("div", { key: 'bc50b5a89ff7ee5348aadbba4fe8f709fa35bee9', class: "leave-modal" }, h("div", { key: '7a19d21b272222e7cf83bbb6dbd8bb4284ea9d29', class: "header" }, h("h2", { key: '935e06a35f3669457c63761697a9152972d69c54', class: "title" }, this.t('leave'))), h("p", { key: 'cd1ba755b4f73c0d3fb4c9078ee11afc31cee726', class: "message" }, this.isBreakoutRoomsActive && this.isChildMeeting
|
|
22795
22821
|
? this.t('breakout_rooms.leave_confirmation')
|
|
22796
|
-
: this.t('leave_confirmation')), h("div", { key: '
|
|
22822
|
+
: this.t('leave_confirmation')), h("div", { key: 'd4031f068f492f76d5feb9dd39587263e9b545f0', class: "content" }, h("rtk-button", { key: 'a014dc329e5f861de85468e04715d8aeb87f4e8c', variant: "secondary", onClick: this.close, class: "secondary-btn" }, this.t('cancel')), this.isBreakoutRoomsActive && this.isChildMeeting && this.canJoinMainRoom && (h("rtk-button", { key: '501a689793bb5e1ff2a8d03f5b9d0ab3d6baafbf', variant: "secondary", onClick: this.handleJoinMainRoom, class: "secondary-btn" }, this.t('breakout_rooms.leave_confirmation.main_room_btn'))), h("rtk-button", { key: '35a6941049928fa81f1e0a73b64f4ce937c86451', variant: "danger", title: this.t('leave'), onClick: this.handleLeave }, this.t('leave')), this.canEndMeeting && (h("rtk-button", { key: '7c6367e3f9322235e126c01cc16014f5b2c81ecc', variant: "danger", class: "secondary-btn secondary-danger-btn", onClick: this.handleEndMeeting }, this.t('end.all')))))));
|
|
22797
22823
|
}
|
|
22798
22824
|
static get watchers() { return {
|
|
22799
22825
|
"meeting": ["meetingChanged"]
|
|
@@ -22845,7 +22871,7 @@ const RtkMuteAllConfirmation = class {
|
|
|
22845
22871
|
};
|
|
22846
22872
|
}
|
|
22847
22873
|
render() {
|
|
22848
|
-
return (h(Host, { key: '
|
|
22874
|
+
return (h(Host, { key: 'd7439c9c3ffd1a79974ed8f8a0081aa807a2b103' }, h("div", { key: 'f11f6d201c843384f3e173cf611ea6b26fcfe620', class: "leave-modal" }, h("div", { key: '8475acebc7a3abd14a4d0716b6dbdeabb0f1896e', class: "header" }, h("h2", { key: 'fe5cfaa40eccca120a696555456acd59610bd5f0', class: "title" }, this.t('mute_all.header'))), h("p", { key: '88b6d8faf23e5780d632f9bac0077751bb9db554', class: "message" }, this.t('mute_all.description')), h("div", { key: 'b901ffb7714dbcf5bbda907df1f44214672ded17', class: "content" }, h("div", { key: 'f554e5829ff3250400307f139661a0fe426ee22c', class: "leave-meeting" }, h("rtk-button", { key: 'c300ddc6c3ae02266d4769a964eb3fb246aa7dbd', variant: "secondary", title: this.t('close'), onClick: this.onClose }, this.t('cancel')), h("rtk-button", { key: '897d7d2639a6c51c5fb0ae1b51a111fbba5431c9', variant: "danger", title: this.t('mute_all'), onClick: this.onMuteAll }, this.t('mute_all')))))));
|
|
22849
22875
|
}
|
|
22850
22876
|
};
|
|
22851
22877
|
__decorate$2$7([
|
|
@@ -22892,7 +22918,7 @@ const RtkOverlayModal = class {
|
|
|
22892
22918
|
}
|
|
22893
22919
|
}
|
|
22894
22920
|
render() {
|
|
22895
|
-
return (h(Host, { key: '
|
|
22921
|
+
return (h(Host, { key: 'd2837e184517e21a048bf3c0132db866e76df98e' }, h("rtk-icon", { key: '986632806311740b097ef99ad2cefc286f54b7d4', icon: this.states.activeOverlayModal.icon }), h("h2", { key: 'f7c985545abeefcf0dccd10744c70e84b14c0f1d' }, this.states.activeOverlayModal.title), h("p", { key: '43ab2a1bde3c41732d3e159c493a799f68bcd0c7' }, this.states.activeOverlayModal.description)));
|
|
22896
22922
|
}
|
|
22897
22923
|
};
|
|
22898
22924
|
__decorate$1$c([
|
|
@@ -23069,7 +23095,7 @@ const RtkPermissionsMessage = class {
|
|
|
23069
23095
|
this.stepsTimer = setTimeout(this.nextStep, 2500);
|
|
23070
23096
|
}
|
|
23071
23097
|
const showMacDeepLink = isDeniedBySystem && this.meeting.self.device.osName == 'macOS';
|
|
23072
|
-
return (h(Host, { key: '
|
|
23098
|
+
return (h(Host, { key: '6ae73a5881876423b5065f878457a9c125c30ca8' }, h("h2", { key: 'd92a983a6a5d98f337888da65b5e8438ea6b2f1d' }, h("rtk-icon", { key: '00842b2e9c00b9f37fcd5259190e02282c013913', class: "text-icon", icon: this.iconPack.warning }), this.getTitle()), this.svgSteps.length > 0 && (h("div", { key: 'f86b1fac2420ba4d323a027ff806989a417d03dd', class: 'svg-container' }, this.svgSteps.map((e, index) => (h("p", { innerHTML: e, class: "svg-ins", key: this.currentStep, hidden: index !== this.currentStep }))))), h("div", { key: '8bd0f3b1a8d22fe783c5483273056d2df1e5f8e2' }, this.getMessage()), !isDeniedBySystem && (h("a", { key: 'eb177deab4d6fe72a06f918740a3a892344982d4', class: "need-help-link", href: this.getLink((_c = (_b = (_a = this.states) === null || _a === void 0 ? void 0 : _a.activePermissionsMessage) === null || _b === void 0 ? void 0 : _b.kind) !== null && _c !== void 0 ? _c : 'audio'), target: "_blank", rel: "noreferrer external noreferrer noopener" }, h("rtk-icon", { key: 'b25bb5f60e479f79d462961e5c11ad6d7e5e1844', class: "text-icon", icon: this.iconPack.attach }), this.t('cta.help'))), h("div", { key: 'cebce7cb7b2529bc92ac23420b7ea30025fe80a4', class: "actions" }, h("rtk-button", { key: 'f92b409ace419307243ceaf9de047e61ee6782e7', size: "lg", kind: "wide", variant: "secondary", onClick: this.continue }, this.t('cta.continue')), showMacDeepLink ? (h("rtk-button", { size: "lg", kind: "wide", onClick: this.openMacSystemSettings }, this.t('cta.system_settings'))) : (h("rtk-button", { size: "lg", kind: "wide", onClick: this.reload }, this.t('cta.reload')))), h("slot", { key: '0be270faf43bde77cb109950d59be74be8e1669c' })));
|
|
23073
23099
|
}
|
|
23074
23100
|
static get watchers() { return {
|
|
23075
23101
|
"meeting": ["meetingChanged"]
|
|
@@ -23131,7 +23157,7 @@ const RtkChannelDetails = class {
|
|
|
23131
23157
|
})));
|
|
23132
23158
|
}
|
|
23133
23159
|
render() {
|
|
23134
|
-
return (h(Host, { key: '
|
|
23160
|
+
return (h(Host, { key: '0d50bc8ecef99900be123c21754cc7e865425c65' }, h("header", { key: '4b595171c0c7f10835230d7ed66508d5b2412ac4' }, this.t('chat.channel_members')), this.renderMembers()));
|
|
23135
23161
|
}
|
|
23136
23162
|
};
|
|
23137
23163
|
__decorate$m([
|
|
@@ -23237,11 +23263,11 @@ const RtkChatMessage = class {
|
|
|
23237
23263
|
} })));
|
|
23238
23264
|
}
|
|
23239
23265
|
render() {
|
|
23240
|
-
return (h(Host, { key: '
|
|
23266
|
+
return (h(Host, { key: 'f6a727c485be5af8f6213c40a9b897debac1c62d' }, h("div", { key: '03fff27269d7e3976463692e0e4f15106e4f1cc6', class: {
|
|
23241
23267
|
'message-wrapper': true,
|
|
23242
23268
|
'align-right': this.alignRight,
|
|
23243
23269
|
'left-align': this.leftAlign,
|
|
23244
|
-
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: '
|
|
23270
|
+
}, "is-continued": this.isContinued }, this.renderAvatar(), h("div", { key: 'd62eaa8b99853d7c38586dc2ac1c8163ad4effcf', class: {
|
|
23245
23271
|
message: true,
|
|
23246
23272
|
'show-on-hover': !this.isTouchDevice(),
|
|
23247
23273
|
}, "is-continued": this.isContinued }, this.renderMessage(), this.renderControls()))));
|
|
@@ -59462,7 +59488,7 @@ const RtkNameTag = class {
|
|
|
59462
59488
|
var _a, _b, _c;
|
|
59463
59489
|
const name = formatName(((_a = this.participant) === null || _a === void 0 ? void 0 : _a.name) || '');
|
|
59464
59490
|
const isSelf = ((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id) === ((_c = this.meeting) === null || _c === void 0 ? void 0 : _c.self.id);
|
|
59465
|
-
return (h(Host, { key: '
|
|
59491
|
+
return (h(Host, { key: '03a8cf176ca6a1b688f3bc9bd5c77ef22e8937d9', title: name }, h("slot", { key: 'd38164aeda8e938f49ffceb8e52e3102ddd03d11', name: "start" }), h("span", { key: '026f1cc6bbfcbd3649f73db43b2111af55fea6ee', class: "name" }, this.formatNameTag(name, isSelf)), h("slot", { key: '3a22aa050a15f452b0ec5db3cd5981dccb88aa55', name: "end" })));
|
|
59466
59492
|
}
|
|
59467
59493
|
static get watchers() { return {
|
|
59468
59494
|
"size": ["sizeChanged"]
|
|
@@ -59527,9 +59553,9 @@ const RtkNotification = class {
|
|
|
59527
59553
|
}
|
|
59528
59554
|
render() {
|
|
59529
59555
|
var _a;
|
|
59530
|
-
return (h(Host, { key: '
|
|
59556
|
+
return (h(Host, { key: '1e728f896ce0212c990677528187929c53e70b87' }, h("div", { key: '1855671fbe703e142f873aff2492f7c2190671ed', class: "ctr" }, this.notification.icon != null && (h("rtk-icon", { key: 'b79f092b899ffe893473571ba735fbb0926901d8', class: "icon", icon: this.notification.icon, variant: (_a = this.notification.iconVariant) !== null && _a !== void 0 ? _a : 'primary' })), this.notification.image != null &&
|
|
59531
59557
|
this.notification.icon == null &&
|
|
59532
|
-
this.imageState !== 'errored' && (h("img", { key: '
|
|
59558
|
+
this.imageState !== 'errored' && (h("img", { key: '48b6d72eceb2414e5f045f5f311ed15ebff6ddb7', src: this.notification.image, class: { loaded: this.imageState === 'loaded' }, onLoad: () => (this.imageState = 'loaded'), onError: () => (this.imageState = 'errored') })), h("p", { key: 'c78fd59b339d0f1b91cb168a42d1c44bfdbcad77', class: "message" }, h(TextMessageView, { key: '3ddd5d840631752b6369b3361f71f655ddf814d5', message: this.notification.message })), h("div", { key: 'd160cc17361b7183baf08170bdd79d086584de94', class: "right" }, this.notification.button != null && (h("rtk-button", { key: 'e08976222e6e410cc1cd4d38bfd448f830b48044', size: "sm", variant: this.notification.button.variant, onClick: () => this.notification.button.onClick() }, this.notification.button.text)), h("button", { key: '23b0f91a687d3193df1d26e5e0fdc055f10a385b', onClick: () => this.dismiss.emit(this.notification.id), class: "dismiss" }, h("rtk-icon", { key: 'e055d3607a74898d70905da7720005158d403826', "aria-label": this.t('dismiss'), icon: this.iconPack.dismiss }))))));
|
|
59533
59559
|
}
|
|
59534
59560
|
static get watchers() { return {
|
|
59535
59561
|
"paused": ["pausedChanged"],
|
|
@@ -59650,7 +59676,7 @@ const RtkParticipants = class {
|
|
|
59650
59676
|
}
|
|
59651
59677
|
}
|
|
59652
59678
|
render() {
|
|
59653
|
-
return (h(Host, { key: '
|
|
59679
|
+
return (h(Host, { key: 'd9102eb22990f801c354c45ee0ff46f4a13fef60' }, h("div", { key: '58644b83e1b580f2ffd41a61319e88cfb1aae584', class: "participants-container" }, !this.hideHeader && (h("div", { key: '4063fc5e4322b723f02d40fe80522236a7ae728d', class: "heading-count", part: "heading-count" }, this.t('participants'), " (", this.participants.length, ")")), h("rtk-virtualized-participant-list", { key: '45a95caaa31437c03679394305115045fa6a016f', items: this.participants, renderItem: this.createParticipantNode, part: "participants", class: "participants", emptyListElement: h("div", { class: "empty-stage-list" }, this.search.length > 0 ? this.t('search.could_not_find') : this.t('search.empty')) }))));
|
|
59654
59680
|
}
|
|
59655
59681
|
static get watchers() { return {
|
|
59656
59682
|
"meeting": ["meetingChanged"],
|
|
@@ -60258,7 +60284,7 @@ const RtkPlugins = class {
|
|
|
60258
60284
|
}
|
|
60259
60285
|
}
|
|
60260
60286
|
render() {
|
|
60261
|
-
return (h(Host, { key: '
|
|
60287
|
+
return (h(Host, { key: '4df38ce202b9551b38746e549824ff800ffc9fc1' }, h("ul", { key: '19ad38b73ff77459cfda3227a013c2e28823386f', class: "scrollbar" }, this.plugins.map((plugin) => (h("li", { key: plugin.name, class: "plugin" }, h("div", { class: "metadata" }, h("img", { src: plugin.picture }), h("div", { class: "name" }, plugin.name)), !this.activatedPluginsId.includes(plugin.id) && this.canStartPlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
60262
60288
|
plugin.activate();
|
|
60263
60289
|
this.close();
|
|
60264
60290
|
}, "aria-label": `${this.t('activate')} ${plugin.name}` }, h("rtk-icon", { icon: this.iconPack.rocket, tabIndex: -1, "aria-hidden": true })))), this.activatedPluginsId.includes(plugin.id) && this.canClosePlugins && (h("div", { class: "buttons" }, h("rtk-button", { kind: "icon", size: "lg", onClick: () => {
|
|
@@ -60351,14 +60377,14 @@ const RtkPolls$1 = class RtkPolls {
|
|
|
60351
60377
|
}
|
|
60352
60378
|
render() {
|
|
60353
60379
|
var _a, _b;
|
|
60354
|
-
return (h(Host, { key: '
|
|
60380
|
+
return (h(Host, { key: 'f259b6fa652fe2e81c18d3a0fb85a15d0c091de3' }, h("div", { key: '6cc127127307bcb1a5482a260fe7ccaf65bb1e3d', class: "ctr", part: "container" }, h("div", { key: 'ef9df557e4a5fb99ea2ce66172b7a889410daeea', class: "polls-view scrollbar", ref: (el) => (this.pollEl = el), part: "polls" }, this.polls.length == 0 && this.create !== true && (h("div", { key: '0eb92f8f60ab00fb849b2d656a9d8bafb26195de', class: "empty-polls" }, this.t('polls.empty'))), this.polls.map((item) => {
|
|
60355
60381
|
var _a;
|
|
60356
60382
|
return (h("rtk-poll", { key: item.id, poll: item, onRtkVotePoll: (e) => {
|
|
60357
60383
|
this.onVote(e.detail.id, e.detail.index);
|
|
60358
60384
|
}, self: (_a = this.meeting) === null || _a === void 0 ? void 0 : _a.self.userId, iconPack: this.iconPack, t: this.t, permissions: this.permissions }));
|
|
60359
|
-
}), this.create && (h("rtk-poll-form", { key: '
|
|
60385
|
+
}), this.create && (h("rtk-poll-form", { key: '71fc9e183684f5cafee5f0885af3d679d099a8ec', part: "poll-form", onRtkCreatePoll: (e) => {
|
|
60360
60386
|
this.onCreate(e.detail);
|
|
60361
|
-
}, iconPack: this.iconPack, t: this.t }))), ((_b = (_a = this.permissions) === null || _a === void 0 ? void 0 : _a.polls) === null || _b === void 0 ? void 0 : _b.canCreate) && (h("rtk-button", { key: '
|
|
60387
|
+
}, iconPack: this.iconPack, t: this.t }))), ((_b = (_a = this.permissions) === null || _a === void 0 ? void 0 : _a.polls) === null || _b === void 0 ? void 0 : _b.canCreate) && (h("rtk-button", { key: '0639577353327ded0d1e7db08cbaadac47ec296c', kind: "wide", onClick: () => this.toggleCreateState(), variant: this.create ? 'secondary' : 'primary', part: "button" }, this.create ? this.t('polls.cancel') : this.t('polls.create'))))));
|
|
60362
60388
|
}
|
|
60363
60389
|
static get watchers() { return {
|
|
60364
60390
|
"meeting": ["meetingChanged"]
|
|
@@ -60562,7 +60588,7 @@ const RtkTranscript = class {
|
|
|
60562
60588
|
}, 10000);
|
|
60563
60589
|
}
|
|
60564
60590
|
render() {
|
|
60565
|
-
return (h(Host, { key: '
|
|
60591
|
+
return (h(Host, { key: '178bec61ca4e702446a1d8ef9cc700d614e473cb' }, h("div", { key: 'cc7f9847399f373bb93b74d5b56acb2636df3668', class: "ctr" }, h("p", { key: 'c8d6e26e1ce9038b73ca69e5ca75e658e9df2465', class: "message" }, h("span", { key: '1138ba7e3f8c131fb4c22315791ec480b8233e24', class: "name" }, this.transcript.name), ": ", this.transcript.transcript))));
|
|
60566
60592
|
}
|
|
60567
60593
|
static get watchers() { return {
|
|
60568
60594
|
"transcript": ["transcriptChanged"]
|
|
@@ -61045,7 +61071,7 @@ const RtkSwitch = class {
|
|
|
61045
61071
|
this.onChange.emit(checked);
|
|
61046
61072
|
}
|
|
61047
61073
|
render() {
|
|
61048
|
-
return (h(Host, { key: '
|
|
61074
|
+
return (h(Host, { key: 'c2724826e576f196f000b31cb74ff24a7169c316', role: "switch", tabIndex: this.disabled && 0, "aria-readonly": this.readonly, "aria-checked": this.checked, "aria-disabled": this.disabled, class: { checked: this.checked }, onClick: this.onClick, onKeyPress: this.onKeyPress }, h("div", { key: 'e7a8fec98fb7bc6e2bee20e8b6bd8c45b8cd0bdf', class: "switch", part: "switch" })));
|
|
61049
61075
|
}
|
|
61050
61076
|
static get watchers() { return {
|
|
61051
61077
|
"checked": ["checkedChange"]
|
|
@@ -61369,9 +61395,9 @@ const RtkBreakoutRoomParticipants = class {
|
|
|
61369
61395
|
}, size: "sm" }), h("p", { class: "name", title: name }, shorten(name, 16), this.meeting.self.userId === participant.id && ` (${this.t('you')})`)));
|
|
61370
61396
|
}
|
|
61371
61397
|
render() {
|
|
61372
|
-
return (h(Host, { key: '
|
|
61398
|
+
return (h(Host, { key: '01a707fa50950501d11428747783c1e9828e6572' }, h("div", { key: '535f80747ddc6b0d7b4c2d3d3bd82464284db304', class: "search-wrapper" }, h("div", { key: '14b0ae5148bc13345df0732eeb299354ce7e3ae4', class: "search", part: "search" }, h("rtk-icon", { key: 'c2eda4fadab2d20b16a95786a763748ee5a5e123', icon: this.iconPack.search, part: "search-icon", class: "search-icon" }), h("input", { key: '71b153979188a4eca0368faad5afe22ad4a65d84', type: "search", autocomplete: "off", placeholder: this.t('search'), onInput: this.onSearchInput, part: "search-input" })), h("slot", { key: '3ce56a86dfa9063150ff586f3333ad1a1e363219', name: "shuffle-button" })), h("div", { key: '2eed52da4d3e61f65b69c5dda8054891182615ac', class: "header" }, h("div", { key: 'c661c77b3fcfaea354456f741d2d816666bf4b68', class: "title-wrapper" }, h("span", { key: 'bc52e54641259a5c8f7eb0c749117444594a2f24' }, this.t('breakout_rooms.main_room')), h("span", { key: '9f84a8c77c7af6df6849103235927c68cafda518', class: "participant-count" }, "(", h("rtk-icon", { key: '34d4139b8fa98d3a1594a34a90774cf3bf5dc589', icon: this.iconPack.people }), this.participantsToShow.length, ")")), this.selectedParticipantIds.length !== 0 && (h("rtk-tooltip", { key: '866cf16aa1666a3cbc6521fadee36a50b168cf21', label: this.t('breakout_rooms.select_all') }, h("input", { key: 'd60fc5c1ee7a8e7b63ed7a9fd804f86bb7c945ed', type: "checkbox", checked: this.selectedParticipantIds.length === this.participantsToShow.length, onChange: (e) => this.onToggleAll(!!e.target.checked) })))), h("div", { key: 'fc8b60be1e14fd6fe92276fae65b357a998ae80a', class: "ctr scrollbar", part: "container" }, this.participantsToShow.length > 0 && (h("ul", { key: '9e76ca169c9c3a3fd3796f8e6f20a7ba19906c8f', class: "participants", part: "participants" }, this.participantsToShow.map((participant) => (h("li", { class: { 'participant-item': true, dragging: this.isDragging }, onClick: () => this.onClick(participant), onDragStart: () => this.onDragStart(participant), onDragEnd: () => this.onDragEnd(participant), draggable: this.selectedParticipantIds.length === 0, role: "listitem", key: participant.id }, this.renderPeer(participant), !this.isDragging && (h("input", { type: "checkbox", class: {
|
|
61373
61399
|
'hide-checkbox': this.selectedParticipantIds.length === 0,
|
|
61374
|
-
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '
|
|
61400
|
+
}, checked: this.selectedParticipantIds.includes(participantIdentifier(participant)) }))))))), this.participantsToShow.length === 0 && this.search.length > 0 && (h("div", { key: '179104c8fd8bfe2692147a23d3520ba51f830721', class: "empty-message" }, this.t('participants.errors.empty_results'))), this.participantsToShow.length === 0 && this.search.length === 0 && (h("div", { key: 'c50a8a4ae9863d918108430ffbe61721fd155847', class: "empty-room" }, h("rtk-icon", { key: 'afa0afc1ecda667d26fd921438f9369549c5463b', icon: this.iconPack.people_checked, part: "search-icon", class: "search-icon" }), h("p", { key: 'be9fe2e7d745f88228ecd5053b129b344a626eb6' }, this.t('breakout_rooms.all_assigned')), h("span", { key: 'e16a34744352686361f4a2aff6e90bba44ae3a15' }, this.t('breakout_rooms.empty_main_room')))))));
|
|
61375
61401
|
}
|
|
61376
61402
|
static get watchers() { return {
|
|
61377
61403
|
"meeting": ["meetingChanged"],
|
|
@@ -61430,7 +61456,7 @@ const RtkCounter = class {
|
|
|
61430
61456
|
this.input = Math.max(this.minValue, parseInt(this.input) - 1).toString();
|
|
61431
61457
|
}
|
|
61432
61458
|
render() {
|
|
61433
|
-
return (h(Host, { key: '
|
|
61459
|
+
return (h(Host, { key: 'd30fe362d84f5e387dfe67dc761683b91785bafb' }, h("rtk-button", { key: '5c60d8e4fed3f53236b1099f8360c341df36aa32', kind: "icon", variant: "ghost", onClick: () => this.decrement() }, h("rtk-icon", { key: 'b76e7889f6d94144aa1632159c52fb9580f931f7', icon: this.iconPack.subtract })), h("input", { key: 'cfd43551b1df8dca486b1dfc4f03d427c7e32caf', type: "number", value: this.input, min: this.minValue, onInput: (e) => {
|
|
61434
61460
|
const val = parseInt(e.target.value, 10);
|
|
61435
61461
|
if (isNaN(val) || val < this.minValue) {
|
|
61436
61462
|
this.input = this.minValue.toString();
|
|
@@ -61438,7 +61464,7 @@ const RtkCounter = class {
|
|
|
61438
61464
|
else {
|
|
61439
61465
|
this.input = val.toString();
|
|
61440
61466
|
}
|
|
61441
|
-
} }), h("rtk-button", { key: '
|
|
61467
|
+
} }), h("rtk-button", { key: '4cfe34a4483d12ddbd35b82a6f5d099424b24be3', kind: "icon", variant: "ghost", onClick: () => this.increment() }, h("rtk-icon", { key: 'a06553be5801039bfefb1a2c2542d01c7426a605', icon: this.iconPack.add }))));
|
|
61442
61468
|
}
|
|
61443
61469
|
static get watchers() { return {
|
|
61444
61470
|
"input": ["watchStateHandler"]
|
|
@@ -62149,10 +62175,10 @@ const RtkFileMessage = class {
|
|
|
62149
62175
|
}
|
|
62150
62176
|
render() {
|
|
62151
62177
|
const link = sanitizeLink(this.message.link);
|
|
62152
|
-
return (h(Host, { key: '
|
|
62178
|
+
return (h(Host, { key: '7e77bf95a78614fce8aac5a517e96b766d05684c' }, !this.isContinued && (h(ChatHead, { key: '2369a52afdf95e5d3850ae2e55ccf62212841797', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '21b0fc1a24e50d2487292c812b6d37189f219fdb', class: {
|
|
62153
62179
|
body: true,
|
|
62154
62180
|
bubble: this.showBubble,
|
|
62155
|
-
}, part: "body" }, h("div", { key: '
|
|
62181
|
+
}, part: "body" }, h("div", { key: '8dca01f88c22a64a3b70b26ebaabdcd46afa73a7', class: "file" }, h("div", { key: 'a6bf3e516ce45acc1671df528f998ef057926539', class: "file-data" }, h("div", { key: '8680af670beb6d1fc08e0d47508667b357ff466f', class: "name" }, this.message.name), h("div", { key: '4fcd3cf05e9e14d798e04150337c93577b47104c', class: "file-data-split" }, h("div", { key: '618e81eb6011f9ebde2782f4c039fd787cba666c', class: "ext" }, getExtension(this.message.name)), h("span", { key: 'ac5faddf53f94aab3d1f8f05d8523960de8a300f', class: "divider" }), h("div", { key: 'd28b3acf0f19d99c399f008d0d41c1a8977a821f', class: "size" }, getFileSize(this.message.size)))), h("rtk-button", { key: '4f562573b8b0765a5a94c064ebb9c60e26eb9c1a', variant: "secondary", kind: "icon", onClick: () => downloadFile(link, { name: this.message.name, fallbackName: 'file' }), part: "button" }, h("rtk-icon", { key: '062a9cb80ab29f81fac9b6d76caaa5f5846d3837', icon: this.iconPack.download }))))));
|
|
62156
62182
|
}
|
|
62157
62183
|
};
|
|
62158
62184
|
__decorate$2$1([
|
|
@@ -62192,10 +62218,10 @@ const RtkImageMessage = class {
|
|
|
62192
62218
|
this.status = 'loading';
|
|
62193
62219
|
}
|
|
62194
62220
|
render() {
|
|
62195
|
-
return (h(Host, { key: '
|
|
62221
|
+
return (h(Host, { key: '4d83696c62cb30b3c50201c054aed059f9d087fb' }, !this.isContinued && (h(ChatHead, { key: 'b1f8ca2684e487f9f51106562af2fb7bb7d0ae5e', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '0ffd97ca74224fb7e464b5bbde3d79c8b11c6105', class: {
|
|
62196
62222
|
body: true,
|
|
62197
62223
|
bubble: this.showBubble,
|
|
62198
|
-
}, part: "body" }, h("div", { key: '
|
|
62224
|
+
}, part: "body" }, h("div", { key: 'de64e6fff4b952e08eea1895f6b02ce6de7ea528', class: { image: true, loaded: this.status === 'loaded' } }, h("img", { key: 'fae1d0126e403da11c8d4aeb036ad29484af2bf6', src: sanitizeLink(this.message.link), onLoad: () => {
|
|
62199
62225
|
this.status = 'loaded';
|
|
62200
62226
|
}, onError: () => {
|
|
62201
62227
|
this.status = 'errored';
|
|
@@ -62203,9 +62229,9 @@ const RtkImageMessage = class {
|
|
|
62203
62229
|
if (this.status === 'loaded') {
|
|
62204
62230
|
this.stateUpdate.emit({ image: this.message });
|
|
62205
62231
|
}
|
|
62206
|
-
} }), this.status === 'loading' && (h("div", { key: '
|
|
62232
|
+
} }), this.status === 'loading' && (h("div", { key: 'b5e4c17c94f065f06a513d8601564ca6512d38a9', class: "image-spinner", title: this.t('chat.img.loading'), "aria-label": this.t('chat.img.loading') }, h("rtk-spinner", { key: '4819886ed836fc94d35b48fd2f185bed2f142db6', iconPack: this.iconPack }))), this.status === 'errored' && (h("div", { key: '7d2381426f1867524b59963d025ed6728d0bee34', class: "image-errored", title: this.t('chat.error.img_not_found'), "aria-label": this.t('chat.error.img_not_found') }, h("rtk-icon", { key: 'abe064f6b5ecf9740611362c8c836a1fcf886223', icon: this.iconPack.image_off }))), this.status === 'loaded' && (h("div", { key: '863b9db15ee68f5bd5939b70f7b24f215b250a19', class: "actions" }, h("rtk-button", { key: '6b9d6e415a485fbbe8844a38a3b2d2401aa7ad22', class: "action", variant: "secondary", kind: "icon", onClick: () => {
|
|
62207
62233
|
this.stateUpdate.emit({ image: this.message });
|
|
62208
|
-
} }, h("rtk-icon", { key: '
|
|
62234
|
+
} }, h("rtk-icon", { key: 'a40d297b50b7667b08b9a5d08223b7326c3314be', icon: this.iconPack.full_screen_maximize })), h("rtk-button", { key: 'cb344d52dbcc0c6a55da8017b5664b8a160dd339', class: "action", variant: "secondary", kind: "icon", onClick: () => downloadFile(this.message.link, { fallbackName: 'image' }) }, h("rtk-icon", { key: 'e4a5cee14a5fae2496930dbbdaa3199a6b2d9b6b', icon: this.iconPack.download }))))))));
|
|
62209
62235
|
}
|
|
62210
62236
|
};
|
|
62211
62237
|
__decorate$1$3([
|
|
@@ -62241,10 +62267,10 @@ const RtkTextMessage = class {
|
|
|
62241
62267
|
this.showBubble = false;
|
|
62242
62268
|
}
|
|
62243
62269
|
render() {
|
|
62244
|
-
return (h(Host, { key: '
|
|
62270
|
+
return (h(Host, { key: '43c32eae2f8433487a47b0784fa41f9f254caaf9' }, !this.isContinued && (h(ChatHead, { key: '3d6e8b86782e1d50d04a576ec25c01ed5f66e037', name: this.message.displayName, time: this.message.time, now: this.now })), h("div", { key: '073ec191f2916b760a497346b45dcd4685ae84e7', class: {
|
|
62245
62271
|
body: true,
|
|
62246
62272
|
bubble: this.showBubble,
|
|
62247
|
-
}, part: "body" }, h("div", { key: '
|
|
62273
|
+
}, part: "body" }, h("div", { key: 'e020a664959b894e62b4c02b30cfa42cb4000a29', class: { text: true, emoji: hasOnlyEmojis(this.message.message) } }, h(TextMessageView, { key: '11bb0acfff63f078413a2870f893946eab1596fc', message: this.message.message })))));
|
|
62248
62274
|
}
|
|
62249
62275
|
};
|
|
62250
62276
|
__decorate$9([
|
|
@@ -62551,9 +62577,9 @@ const RtkParticipant = class {
|
|
|
62551
62577
|
iconPack: this.iconPack,
|
|
62552
62578
|
t: this.t,
|
|
62553
62579
|
};
|
|
62554
|
-
return (h(Host, { key: '
|
|
62580
|
+
return (h(Host, { key: 'fca2be3a201295536c8401df43b0d7c574204d67' }, h("div", { class: "left", key: (_e = this.participant) === null || _e === void 0 ? void 0 : _e.id }, h("rtk-avatar", { key: 'fc9a18d3afb9e023f690cc09b61c8fece2117131', participant: this.participant, size: "sm", iconPack: this.iconPack, t: this.t }), h("p", { key: '76bde07e6b502ad5b329ca0780e96b7d13ca6c86', class: "name", title: name }, shorten(name, 16), " ", ((_f = this.meeting) === null || _f === void 0 ? void 0 : _f.self.id) === ((_g = this.participant) === null || _g === void 0 ? void 0 : _g.id) && this.t('(you)'))), this.view === 'sidebar' && (h("div", { key: 'f5475e848b7eb07f36b03514c2f140366fa9db75', class: "right" }, isActiveParticipant && (h("rtk-icon", { key: 'd79d3570137dc8f44d85d4f1325d2b7528ae2b09', class: {
|
|
62555
62581
|
red: !this.audioEnabled,
|
|
62556
|
-
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '
|
|
62582
|
+
}, icon: this.audioEnabled ? this.iconPack.mic_on : this.iconPack.mic_off })), isActiveParticipant && !isAudioRoom && (h("rtk-icon", { key: '8267f27a37e363ddc54708d31c6715fffd6bf057', class: {
|
|
62557
62583
|
red: !this.videoEnabled,
|
|
62558
62584
|
}, icon: this.videoEnabled ? this.iconPack.video_on : this.iconPack.video_off })), (showMenu ||
|
|
62559
62585
|
lenChildren({
|
|
@@ -62562,34 +62588,34 @@ const RtkParticipant = class {
|
|
|
62562
62588
|
childProps: {
|
|
62563
62589
|
participant: this.participant,
|
|
62564
62590
|
},
|
|
62565
|
-
}) > 0) && (h("div", { key: '
|
|
62591
|
+
}) > 0) && (h("div", { key: '16a70e1c20fbc9b60bdc06c2b5621eeb92ffd456', class: "menu" }, h("span", { key: '2283145bee77a1d3cca5b78ab035df9295c0bd12', id: "trigger", onClick: this.onMenuToggle }, h("rtk-button", { key: 'f11c52baf39ff342d4bd6cac5882b7852bea5dd0', variant: "ghost", kind: "icon", slot: "trigger" }, h("rtk-icon", { key: '2d218acada676cb4fc8d2b720fd7a785932b05cb', class: "more", icon: this.iconPack.more_vertical }))), h("span", { key: '57eee96bfe16ec0792f068b1c5125020522b6ea0', id: "menu-list" }, this.menuOpen && (h("rtk-menu-list", { key: '73786a54c181560cf3744d41872860a4f9226182', iconPack: this.iconPack, t: this.t }, this.canPinParticipant && isActiveParticipant && !isAudioRoom && (h("rtk-menu-item", { key: '5e58a73a8ee20e682dfaea8352bf757f21f2074d', onClick: () => {
|
|
62566
62592
|
if (this.isPinned) {
|
|
62567
62593
|
this.participant.unpin();
|
|
62568
62594
|
}
|
|
62569
62595
|
else {
|
|
62570
62596
|
this.participant.pin();
|
|
62571
62597
|
}
|
|
62572
|
-
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '
|
|
62598
|
+
}, iconPack: this.iconPack, t: this.t }, h("rtk-icon", { key: '7b1135f7ea874641440af548c170d7eed932f5aa', icon: this.isPinned ? this.iconPack.pin_off : this.iconPack.pin, slot: "start" }), this.isPinned ? this.t('unpin') : this.t('pin'))), isSelf && (h("rtk-menu-item", { key: '6f1a6e919ad72776e0a318bac3657e358a846e42', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
62573
62599
|
this.isHidden
|
|
62574
62600
|
? this.participant.show()
|
|
62575
62601
|
: this.participant.hide();
|
|
62576
|
-
} }, h("rtk-icon", { key: '
|
|
62602
|
+
} }, h("rtk-icon", { key: '6d2dc3f5a8fcbac7bee5855418f2d310a44ea581', icon: this.isHidden ? this.iconPack.minimize : this.iconPack.maximize, slot: "start" }), !this.meeting.self.hidden ? this.t('minimize') : this.t('maximize'))), this.canDisableParticipantAudio &&
|
|
62577
62603
|
isActiveParticipant &&
|
|
62578
|
-
this.audioEnabled && (h("rtk-menu-item", { key: '
|
|
62604
|
+
this.audioEnabled && (h("rtk-menu-item", { key: '9f15f60f110f41b68a7e48c5f14f1826f291a76a', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
62579
62605
|
this.participant.disableAudio();
|
|
62580
|
-
} }, h("rtk-icon", { key: '
|
|
62606
|
+
} }, h("rtk-icon", { key: '337bd8e35012e5d5db7c899246f5debff0e82a8f', icon: this.iconPack.mic_off, slot: "start" }), this.t('mute'))), this.canDisableParticipantVideo &&
|
|
62581
62607
|
isActiveParticipant &&
|
|
62582
|
-
this.videoEnabled && (h("rtk-menu-item", { key: '
|
|
62608
|
+
this.videoEnabled && (h("rtk-menu-item", { key: '5c57b5c3e63efc77578849e1e631d92bece21b93', iconPack: this.iconPack, t: this.t, onClick: () => {
|
|
62583
62609
|
this.participant.disableVideo();
|
|
62584
|
-
} }, h("rtk-icon", { key: '
|
|
62585
|
-
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '
|
|
62610
|
+
} }, h("rtk-icon", { key: 'dc95678f6f7fdc6dcbce86ee6a13d9891e039770', icon: this.iconPack.video_off, slot: "start" }), this.t('participants.turn_off_video'))), this.canAllowParticipantOnStage &&
|
|
62611
|
+
((_h = this.participant) === null || _h === void 0 ? void 0 : _h.id) !== ((_j = this.meeting) === null || _j === void 0 ? void 0 : _j.self.id) && (h("rtk-menu-item", { key: '60aabc93efd82a76edcea10d895522d9c9d5e68f', iconPack: this.iconPack, t: this.t, class: this.isOnStage ? 'red' : '', onClick: this.inviteToStageToggle }, h("rtk-icon", { key: '6eef25ebdfae1932011b9764cdc3cbf7f07ecd1b', icon: this.isOnStage
|
|
62586
62612
|
? this.iconPack.leave_stage
|
|
62587
62613
|
: this.iconPack.join_stage, slot: "start" }), this.isOnStage
|
|
62588
62614
|
? this.t('stage.remove_from_stage')
|
|
62589
|
-
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '
|
|
62615
|
+
: this.t('stage.add_to_stage'))), !isSelf && this.canKickParticipant && (h("rtk-menu-item", { key: '69ede235912eaf64e025d7b05dae7ee0e9089ab4', iconPack: this.iconPack, t: this.t, class: "red", onClick: () => {
|
|
62590
62616
|
var _a, _b;
|
|
62591
62617
|
(_a = this.meeting) === null || _a === void 0 ? void 0 : _a.participants.kick((_b = this.participant) === null || _b === void 0 ? void 0 : _b.id);
|
|
62592
|
-
} }, h("rtk-icon", { key: '
|
|
62618
|
+
} }, h("rtk-icon", { key: 'e4ad9ac63eea2e436374289d5e0b83a754bf65fd', icon: this.iconPack.dismiss, slot: "start" }), this.t('kick'))), h("slot", { key: '51235a7802e6878c7391c132e4bd8c3c636b57c5' }, h(Render, { key: '5ca8b68b79c748f3ced6cdb33ec8757caa7b597b', element: "rtk-participant", defaults: defaults, childProps: {
|
|
62593
62619
|
participant: this.participant,
|
|
62594
62620
|
}, deepProps: true, onlyChildren: true })))))))))));
|
|
62595
62621
|
}
|
|
@@ -62732,12 +62758,12 @@ const RtkVirtualizedParticipantList = class {
|
|
|
62732
62758
|
render() {
|
|
62733
62759
|
var _a;
|
|
62734
62760
|
const totalHeight = this.items.length * this.itemHeight; // Total height of the list
|
|
62735
|
-
return (h("div", { key: '
|
|
62761
|
+
return (h("div", { key: 'b2f64c371659124c270ecb75efe4ec12498bdf8e', class: "virtual-list-container", style: {
|
|
62736
62762
|
position: 'relative',
|
|
62737
62763
|
height: '100%',
|
|
62738
62764
|
overflowX: 'hidden',
|
|
62739
62765
|
overflowY: 'auto',
|
|
62740
|
-
} }, h("div", { key: '
|
|
62766
|
+
} }, h("div", { key: '3467332664e7bc167748dea0ec64da614ad4915c', style: { height: `${totalHeight}px`, position: 'relative' } }, !((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) ? this.emptyListElement : this.renderItems()), h("div", { key: '738cc8ac54467c1a5b6d257885a19e29c10de5e1', style: { height: `${this.itemHeight}px` } })));
|
|
62741
62767
|
}
|
|
62742
62768
|
get el() { return getElement(this); }
|
|
62743
62769
|
static get watchers() { return {
|
|
@@ -63062,7 +63088,7 @@ const RtkPolls = class {
|
|
|
63062
63088
|
}
|
|
63063
63089
|
render() {
|
|
63064
63090
|
const hasVoted = this.poll.voted.includes(this.self);
|
|
63065
|
-
return (h(Host, { key: '
|
|
63091
|
+
return (h(Host, { key: '2951e932453e7c58f3d2a1bc0952b02c7f231fe2' }, h("div", { key: 'fda1240df8d21e01df14e749593f00ca81a4c4a2', class: "ctr" }, h("p", { key: '08459f706bdb922eddc7a3b7f3b2177293f18371', class: "poll-title" }, this.t('polls.by'), " ", shorten(formatName(this.poll.createdBy), 20)), h("div", { key: 'b8c1d0755a17862bf372c24c72b6ad5f9a774d81', class: "poll" }, h("p", { key: 'cd76bf5da75f3165eecac1c6845bbb5c0a69a99c', class: "poll-question" }, this.poll.question), h("div", { key: '00c702b964872b7883bcd656e3b8e03a1986b28e', class: "poll-answers" }, h("span", { key: 'e51a233616f792e6bcbbb8376099a4a5e9e7dd02' }, this.t('polls.answers')), h("span", { key: 'f3fe545292f85870d11f334c211099bdab8694f0' }, this.poll.voted.length)), this.poll.options.map((item, index) => (h("div", { class: {
|
|
63066
63092
|
active: item.votes.some((x) => x.id === this.self),
|
|
63067
63093
|
'open-vote': this.permissions.polls.canVote && !hasVoted,
|
|
63068
63094
|
'poll-option': true,
|
|
@@ -63146,10 +63172,10 @@ const RtkPoll = class {
|
|
|
63146
63172
|
this.onCreate.emit(pollObject);
|
|
63147
63173
|
}
|
|
63148
63174
|
render() {
|
|
63149
|
-
return (h(Host, { key: '
|
|
63175
|
+
return (h(Host, { key: '3b0e105480e37261b64a99552f20f65b467deb5c' }, h("div", { key: '8682faca7764a1669f589be097ccfee63d49e9b3', class: "create-poll" }, h("p", { key: '723847f27d92eeac805b7c55692d61ce48476eb0' }, this.t('polls.question')), h("textarea", { key: 'e85b887af5077f79a0542aa256cbc1ee2e209c67', onInput: () => {
|
|
63150
63176
|
if (this.error && this.error.code === 0)
|
|
63151
63177
|
this.error = undefined;
|
|
63152
|
-
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '
|
|
63178
|
+
}, ref: (e) => (this.question = e), placeholder: this.t('polls.question.placeholder') }), this.options.map((item, index) => (h("div", { class: "option" }, h("input", { placeholder: this.t('polls.option.placeholder'), value: item, onInput: (event) => this.updateOption(event, index) }), index > 1 && (h("rtk-button", { kind: "icon", class: "auto remove-option", variant: "secondary", onClick: () => this.removeOption(index) }, h("rtk-icon", { icon: this.iconPack.subtract })))))), h("rtk-button", { key: '4b1552030c268c7b9c67e63f47ca4decbaca549f', class: "add-option", variant: "secondary", onClick: () => this.addOption() }, this.t('polls.option')), h("label", { key: '3af3d5e264c8acd9fd2348483489a02aaf9ac770' }, h("input", { key: '39339af087cc40813d79a211fd12866ade71403c', id: "anonymous", type: "checkbox", onChange: (e) => (this.anonymous = e.target.checked) }), this.t('polls.results.anon')), h("label", { key: '30a29efafcbd837057cfed7957d48c04d02e2570' }, h("input", { key: 'e5c949df6cfec33c4c31c14db9d2ff816211ca3f', id: "hideVotes", type: "checkbox", disabled: this.anonymous, checked: this.anonymous ? true : this.hideVotes, onChange: (e) => (this.hideVotes = e.target.checked) }), this.t('polls.results.hide')), h("rtk-button", { key: '994e07e64080cd4251202ac3090da2c4e71f8a02', kind: "wide", onClick: () => this.handleSubmit() }, this.t('polls.create')), this.error && h("span", { key: '27e0ab9385fe99ca5bab3a9ce4c756988dafbea4', class: "error-text" }, this.error.message))));
|
|
63153
63179
|
}
|
|
63154
63180
|
};
|
|
63155
63181
|
__decorate$5([
|