@cloudflare/realtimekit-ui 2.1.1-staging.1 → 2.2.0-staging.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/{TextMessage-BC_FZZjt.js → TextMessage-BA97TnvX.js} +1 -1
- package/dist/cjs/{chat-D-UECZep.js → chat-NY588mAE.js} +1 -1
- package/dist/cjs/{config-QKPY7hOX.js → config-Chzt-h7l.js} +2 -2
- package/dist/cjs/{debounce-DvnLkO30.js → debounce-CoFZKdWb.js} +1 -1
- package/dist/cjs/{index-BUlqL6tn.js → index-BeKaBV5F.js} +1 -1
- package/dist/cjs/index-Bi2L8zQ7.js +6 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ai_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +2 -2
- package/dist/cjs/{rtk-audio-visualizer_4.cjs.entry.js → rtk-audio-visualizer_3.cjs.entry.js} +14 -82
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +6 -6
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +90 -13
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-message.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +2 -2
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +3 -3
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-clock.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-controlbar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-debugger.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +2 -2
- package/dist/cjs/rtk-dialog.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +2 -2
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +4 -4
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +2 -2
- package/dist/cjs/rtk-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-header.cjs.entry.js +2 -2
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +2 -2
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +2 -2
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/rtk-leave-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +2 -2
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-logo.cjs.entry.js +2 -2
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +2 -2
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +81 -10
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +2 -2
- package/dist/cjs/rtk-name-tag.cjs.entry.js +2 -2
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-notification.cjs.entry.js +4 -4
- package/dist/cjs/rtk-notifications.cjs.entry.js +3 -3
- package/dist/cjs/rtk-participant-count.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 +3 -3
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-participants.cjs.entry.js +3 -3
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-poll_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +47 -41
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-settings.cjs.entry.js +2 -2
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +10 -5
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
- package/dist/cjs/rtk-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +2 -2
- package/dist/cjs/rtk-stage.cjs.entry.js +2 -2
- package/dist/cjs/rtk-switch.cjs.entry.js +74 -0
- package/dist/cjs/rtk-transcript.cjs.entry.js +2 -2
- package/dist/cjs/rtk-transcripts.cjs.entry.js +2 -2
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +2 -2
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +2 -2
- package/dist/cjs/{ui-kit-metadata-Cjs7_Xqr.js → ui-kit-metadata-zBJ8NnVE.js} +2 -2
- package/dist/cjs/{ui-store-CrqwtYqt.js → ui-store-DSyXGfDZ.js} +10 -0
- package/dist/collection/components/rtk-ai/rtk-ai.js +2 -2
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +2 -2
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +2 -2
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +2 -2
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +2 -2
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +2 -2
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +2 -2
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +2 -2
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +2 -2
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +2 -2
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +2 -2
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +2 -2
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +2 -2
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +149 -0
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +140 -13
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +2 -2
- package/dist/collection/components/rtk-chat/rtk-chat.js +3 -3
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +2 -2
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +2 -2
- 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 +2 -2
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +2 -2
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +2 -2
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +3 -3
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +2 -2
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +2 -2
- package/dist/collection/components/rtk-clock/rtk-clock.js +1 -1
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +2 -2
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +2 -2
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +1 -1
- package/dist/collection/components/rtk-counter/rtk-counter.js +2 -2
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +2 -2
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +2 -2
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +2 -2
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +2 -2
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +2 -2
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +2 -2
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +2 -2
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +2 -2
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +2 -2
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +2 -2
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +2 -2
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +2 -2
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +2 -2
- 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 +3 -3
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +2 -2
- package/dist/collection/components/rtk-grid/rtk-grid.js +2 -2
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +2 -2
- package/dist/collection/components/rtk-header/rtk-header.js +2 -2
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +2 -2
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +2 -2
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +2 -2
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +2 -2
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +1 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +2 -2
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +2 -2
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +2 -2
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +2 -2
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +2 -2
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +2 -2
- package/dist/collection/components/rtk-logo/rtk-logo.js +1 -1
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +3 -3
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +2 -2
- package/dist/collection/components/rtk-menu/rtk-menu.js +2 -2
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +2 -2
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +2 -2
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +1 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +1 -1
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +136 -0
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +107 -10
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +2 -2
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +2 -2
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +2 -2
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +2 -2
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +2 -2
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +2 -2
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +2 -2
- package/dist/collection/components/rtk-notification/rtk-notification.js +2 -2
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +2 -2
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +2 -2
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +2 -2
- package/dist/collection/components/rtk-participant/rtk-participant.js +2 -2
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +2 -2
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +2 -2
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +2 -2
- package/dist/collection/components/rtk-participants/rtk-participants.js +2 -2
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +2 -2
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +2 -2
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +2 -2
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +2 -2
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +2 -2
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +2 -2
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +2 -2
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +2 -2
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +2 -2
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +2 -2
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +2 -2
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +2 -2
- package/dist/collection/components/rtk-poll/rtk-poll.js +2 -2
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +2 -2
- package/dist/collection/components/rtk-polls/rtk-polls.js +2 -2
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +2 -2
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +2 -2
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +2 -2
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +2 -2
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +47 -41
- package/dist/collection/components/rtk-settings/rtk-settings.js +2 -2
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +2 -2
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +2 -2
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +2 -2
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +1 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +35 -4
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +2 -2
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +3 -3
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +2 -2
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +2 -2
- 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-spotlight-indicator/rtk-spotlight-indicator.js +2 -2
- package/dist/collection/components/rtk-stage/rtk-stage.js +2 -2
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +2 -2
- package/dist/collection/components/rtk-switch/rtk-switch.js +2 -2
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +2 -2
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +2 -2
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +2 -2
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +1 -1
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +1 -1
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +3 -3
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +2 -2
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +2 -2
- package/dist/collection/lib/icons/default-icon-pack.js +2 -0
- package/dist/collection/lib/lang/default-language.js +6 -0
- package/dist/collection/lib/overrides.js +1 -0
- package/dist/collection/utils/ui-kit-metadata.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p--EktoJd3.js +1 -0
- package/dist/components/{p-7MYbXrJb.js → p--F3BGV0E.js} +1 -1
- package/dist/components/{p-B-Um3Y0q.js → p-0I1N5xHK.js} +1 -1
- package/dist/components/{p-CqIpJqLB.js → p-36vx_Mui.js} +1 -1
- package/dist/components/p-9axQDs3P.js +1 -0
- package/dist/components/{p-D3Csm8eQ.js → p-B0Fo3cKf.js} +1 -1
- package/dist/components/{p-G-tM5Cb1.js → p-B2EHfWpD.js} +1 -1
- package/dist/components/{p-DjY5-zh6.js → p-B2RoJ1tz.js} +1 -1
- package/dist/components/{p-TUA15Ldm.js → p-B3ATJ-iD.js} +1 -1
- package/dist/components/{p-CO2yazTI.js → p-B5Ikq3LV.js} +1 -1
- package/dist/components/{p-CzenMmyk.js → p-B6IcTqkN.js} +1 -1
- package/dist/components/{p-BSNjo06h.js → p-BBRpBb3D.js} +1 -1
- package/dist/components/{p-B8oiDtR2.js → p-BC__OeWi.js} +1 -1
- package/dist/components/{p-dd1Gb3yO.js → p-BGaDuggr.js} +1 -1
- package/dist/components/{p-jMTHZUBS.js → p-BNjHUNwU.js} +1 -1
- package/dist/components/{p-YvtLtXG0.js → p-BQMMBSP2.js} +1 -1
- package/dist/components/{p-C8f6mc2h.js → p-BVRIm4Vt.js} +1 -1
- package/dist/components/{p-CFixwcvq.js → p-BWLmBQB7.js} +1 -1
- package/dist/components/{p-BXDIi4ef.js → p-BWqnoSw2.js} +1 -1
- package/dist/components/{p-C4lt-ETX.js → p-BX3gY1PP.js} +1 -1
- package/dist/components/{p-CMjUxdV6.js → p-Bc2jtNZw.js} +1 -1
- package/dist/components/{p-BOEr6Iwn.js → p-Be6GRqFL.js} +1 -1
- package/dist/components/{p-CRh2Y0y5.js → p-BeJhcBfy.js} +1 -1
- package/dist/components/{p-smk-gW4k.js → p-BeWjGx1n.js} +1 -1
- package/dist/components/{p-C6xptC8n.js → p-BjG7yuwj.js} +1 -1
- package/dist/components/{p-Bki9SL7E.js → p-BjZJaxt1.js} +1 -1
- package/dist/components/{p-JLHMB5KF.js → p-Bjx68Nkv.js} +1 -1
- package/dist/components/{p-4YgSkkuy.js → p-Bp8UGnBB.js} +1 -1
- package/dist/components/{p-Dguuxuf6.js → p-Bs5Z4Y29.js} +1 -1
- package/dist/components/{p-CnRk9_SJ.js → p-Btj1QSzG.js} +1 -1
- package/dist/components/{p-Dy4fzIMn.js → p-BugzZ4hY.js} +1 -1
- package/dist/components/{p-C8uVSyiQ.js → p-ByMjaTnP.js} +1 -1
- package/dist/components/{p-C47OQEBv.js → p-C07P-YzZ.js} +1 -1
- package/dist/components/{p-Bn0NaoHe.js → p-C7Rh2NRS.js} +1 -1
- package/dist/components/{p-lZCkNPO8.js → p-C8IQnQjR.js} +1 -1
- package/dist/components/{p-B5VTCZYP.js → p-CGVMdadq.js} +1 -1
- package/dist/components/{p-DybK0cgl.js → p-CH7w_Zrp.js} +1 -1
- package/dist/components/{p-CZ-yWzjf.js → p-CHSH0L_g.js} +1 -1
- package/dist/components/{p-BmRBlzRm.js → p-CM3Y2kOg.js} +1 -1
- package/dist/components/{p-Cm_EjOFw.js → p-CWxtbDEh.js} +1 -1
- package/dist/components/{p-CcZ1rLgH.js → p-CXDRC8Nb.js} +1 -1
- package/dist/components/{p-BnrujTeq.js → p-C_e0a6jQ.js} +1 -1
- package/dist/components/{p-oXrlIvqH.js → p-CcGN9NRd.js} +1 -1
- package/dist/components/{p-C2sFSKW3.js → p-CiX87kt0.js} +1 -1
- package/dist/components/{p-D5_4BJmf.js → p-CjOKLEdP.js} +1 -1
- package/dist/components/{p-BDLrJQ3A.js → p-CkNlX5-Y.js} +1 -1
- package/dist/components/p-CtPr1nvA.js +1 -0
- package/dist/components/{p-CQs7VlOJ.js → p-CugPCiPF.js} +1 -1
- package/dist/components/{p-fRvBvGz0.js → p-CxPXk2ws.js} +1 -1
- package/dist/components/{p-CuvMKEb3.js → p-D34dZlkT.js} +1 -1
- package/dist/components/{p-CQTewof6.js → p-D9cHynev.js} +1 -1
- package/dist/components/{p-Cer_tqK4.js → p-DAGCKEFc.js} +1 -1
- package/dist/components/{p-BrckmZjB.js → p-DAq4FN_d.js} +1 -1
- package/dist/components/{p-Dzj9iKF_.js → p-DC-3Hg9I.js} +1 -1
- package/dist/components/{p-Dr9eIVd4.js → p-DNy6quyg.js} +1 -1
- package/dist/components/{p-3mW_xZnk.js → p-DPENu38v.js} +1 -1
- package/dist/components/{p-DfawVT5m.js → p-DUIWB0ra.js} +1 -1
- package/dist/components/{p-Bj2I3AdD.js → p-DW9czTAD.js} +1 -1
- package/dist/components/{p-CcwCRJb3.js → p-DalLUQa1.js} +1 -1
- package/dist/components/{p-3tT2SY78.js → p-Dc5xkFI9.js} +1 -1
- package/dist/components/{p-BdxzrANc.js → p-Dp2LhUKa.js} +1 -1
- package/dist/components/{p-yDQrj0hk.js → p-Ds5j-VXZ.js} +1 -1
- package/dist/components/{p-CsfjUh-o.js → p-DuRlksIi.js} +1 -1
- package/dist/components/{p-D7MMFHbo.js → p-DxZ5v-a-.js} +1 -1
- package/dist/components/{p-CYoLYETf.js → p-GMH-Dp75.js} +1 -1
- package/dist/components/{p-BlOYC_3W.js → p-GtIz3u0L.js} +1 -1
- package/dist/components/{p-Bj1kNPpe.js → p-HuHRVcj4.js} +1 -1
- package/dist/components/{p-BDVl60pn.js → p-Ic4M6IZs.js} +1 -1
- package/dist/components/{p-CYD_rssA.js → p-IilUR0Z4.js} +1 -1
- package/dist/components/{p-24rczPkc.js → p-U9jg1DvO.js} +1 -1
- package/dist/components/{p-D6A3HkFv.js → p-Zkjzr8ZL.js} +1 -1
- package/dist/components/p-aXMUeMjU.js +1 -0
- package/dist/components/{p-Brlo91Mk.js → p-g5NPAxAj.js} +1 -1
- package/dist/components/{p-SUA0Nsyy.js → p-gBEnKt4T.js} +1 -1
- package/dist/components/{p-Bjaz-VFa.js → p-ifBo9NHb.js} +1 -1
- package/dist/components/{p-QjucuYy0.js → p-kGPSVdob.js} +1 -1
- package/dist/components/{p-GyIcfxbi.js → p-msSLVaDl.js} +1 -1
- package/dist/components/{p-CC_VHXzN.js → p-oXCkwBKR.js} +1 -1
- package/dist/components/{p-Ce9i2yF0.js → p-uxGiMP6W.js} +1 -1
- package/dist/components/{p-BEJdtq2m.js → p-vADJB1c2.js} +1 -1
- package/dist/components/{p-BUnJ03If.js → p-xLck_VlO.js} +1 -1
- package/dist/components/rtk-ai-toggle.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-audio-visualizer.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-broadcast-message-modal.js +1 -1
- package/dist/components/rtk-camera-selector.js +1 -1
- package/dist/components/rtk-camera-toggle.js +1 -1
- package/dist/components/rtk-caption-toggle.js +1 -1
- package/dist/components/rtk-chat-composer-ui.js +1 -1
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.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 +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector-ui.js +1 -1
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat-toggle.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-clock.js +1 -1
- 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-audio.js +1 -1
- package/dist/components/rtk-debugger-screenshare.js +1 -1
- package/dist/components/rtk-debugger-system.js +1 -1
- package/dist/components/rtk-debugger-toggle.js +1 -1
- package/dist/components/rtk-debugger-video.js +1 -1
- package/dist/components/rtk-debugger.js +1 -1
- package/dist/components/rtk-dialog-manager.js +1 -1
- package/dist/components/rtk-dialog.js +1 -1
- 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-ended-screen.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 +1 -1
- package/dist/components/rtk-header.js +1 -1
- package/dist/components/rtk-idle-screen.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-leave-meeting.js +1 -1
- package/dist/components/rtk-livestream-indicator.js +1 -1
- package/dist/components/rtk-livestream-player.js +1 -1
- package/dist/components/rtk-livestream-toggle.js +1 -1
- package/dist/components/rtk-logo.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting-title.js +1 -1
- package/dist/components/rtk-meeting.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-mic-toggle.js +1 -1
- package/dist/components/rtk-microphone-selector.js +1 -1
- package/dist/components/rtk-mixed-grid.js +1 -1
- package/dist/components/rtk-more-toggle.js +1 -1
- package/dist/components/rtk-mute-all-button.js +1 -1
- package/dist/components/rtk-mute-all-confirmation.js +1 -1
- package/dist/components/rtk-name-tag.js +1 -1
- package/dist/components/rtk-network-indicator.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-count.js +1 -1
- package/dist/components/rtk-participant-setup.js +1 -1
- package/dist/components/rtk-participant-tile.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/rtk-permissions-message.js +1 -1
- package/dist/components/rtk-pinned-message-selector.js +1 -1
- package/dist/components/rtk-pip-toggle.js +1 -1
- package/dist/components/rtk-plugin-main.js +1 -1
- package/dist/components/rtk-plugins-toggle.js +1 -1
- 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 +1 -1
- package/dist/components/rtk-polls.js +1 -1
- package/dist/components/rtk-recording-indicator.js +1 -1
- package/dist/components/rtk-recording-toggle.js +1 -1
- package/dist/components/rtk-screen-share-toggle.js +1 -1
- package/dist/components/rtk-screenshare-view.js +1 -1
- package/dist/components/rtk-settings-audio.js +1 -1
- package/dist/components/rtk-settings-toggle.js +1 -1
- package/dist/components/rtk-settings-video.js +1 -1
- package/dist/components/rtk-settings.js +1 -1
- package/dist/components/rtk-setup-screen.js +1 -1
- package/dist/components/rtk-sidebar-ui.js +1 -1
- package/dist/components/rtk-sidebar.js +1 -1
- package/dist/components/rtk-simple-grid.js +1 -1
- package/dist/components/rtk-speaker-selector.js +1 -1
- package/dist/components/rtk-spinner.js +1 -1
- package/dist/components/rtk-spotlight-grid.js +1 -1
- package/dist/components/rtk-spotlight-indicator.js +1 -1
- package/dist/components/rtk-stage-toggle.js +1 -1
- 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-transcript.js +1 -1
- package/dist/components/rtk-transcripts.js +1 -1
- package/dist/components/rtk-ui-provider.js +1 -1
- package/dist/components/rtk-viewer-count.js +1 -1
- package/dist/components/rtk-waiting-screen.js +1 -1
- package/dist/docs/docs-components.json +3784 -652
- package/dist/docs/docs-vscode.json +14 -0
- package/dist/esm/{TextMessage-DU5jn82l.js → TextMessage-BZiVGmY1.js} +1 -1
- package/dist/esm/{chat-CTWJuGSF.js → chat-lvouWi7J.js} +1 -1
- package/dist/esm/{config-CvBBWjUo.js → config-B2jDqnc2.js} +2 -2
- package/dist/esm/{debounce-D73CxE5J.js → debounce-aR8pwob-.js} +1 -1
- package/dist/esm/{index-CH0HBE_K.js → index-CgECHQfr.js} +1 -1
- package/dist/esm/index-gJCRRBX0.js +6 -2
- package/dist/esm/index.js +6 -6
- package/dist/esm/loader.js +697 -524
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-ai-toggle.entry.js +2 -2
- package/dist/esm/rtk-ai-transcriptions.entry.js +2 -2
- package/dist/esm/rtk-ai_3.entry.js +2 -2
- package/dist/esm/rtk-audio-grid.entry.js +2 -2
- package/dist/esm/rtk-audio-tile.entry.js +2 -2
- package/dist/esm/{rtk-audio-visualizer_4.entry.js → rtk-audio-visualizer_3.entry.js} +16 -83
- package/dist/esm/rtk-avatar_26.entry.js +6 -6
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +2 -2
- package/dist/esm/rtk-camera-selector_2.entry.js +2 -2
- package/dist/esm/rtk-camera-toggle.entry.js +90 -13
- package/dist/esm/rtk-caption-toggle.entry.js +2 -2
- package/dist/esm/rtk-chat-composer-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-message.entry.js +2 -2
- package/dist/esm/rtk-chat-messages-ui.entry.js +2 -2
- package/dist/esm/rtk-chat-search-results.entry.js +2 -2
- package/dist/esm/rtk-chat-selector-ui.entry.js +3 -3
- package/dist/esm/rtk-chat-toggle.entry.js +2 -2
- package/dist/esm/rtk-clock.entry.js +2 -2
- package/dist/esm/rtk-controlbar-button.entry.js +2 -2
- package/dist/esm/rtk-controlbar.entry.js +2 -2
- package/dist/esm/rtk-debugger-audio_4.entry.js +2 -2
- package/dist/esm/rtk-debugger-toggle.entry.js +2 -2
- package/dist/esm/rtk-debugger.entry.js +2 -2
- package/dist/esm/rtk-dialog-manager.entry.js +2 -2
- package/dist/esm/rtk-dialog.entry.js +2 -2
- package/dist/esm/rtk-ended-screen.entry.js +2 -2
- package/dist/esm/rtk-file-dropzone.entry.js +2 -2
- package/dist/esm/rtk-file-message_3.entry.js +4 -4
- package/dist/esm/rtk-fullscreen-toggle.entry.js +2 -2
- package/dist/esm/rtk-grid-pagination.entry.js +2 -2
- package/dist/esm/rtk-grid.entry.js +2 -2
- package/dist/esm/rtk-header.entry.js +2 -2
- package/dist/esm/rtk-idle-screen.entry.js +2 -2
- package/dist/esm/rtk-image-viewer.entry.js +2 -2
- package/dist/esm/rtk-information-tooltip.entry.js +2 -2
- package/dist/esm/rtk-leave-button.entry.js +2 -2
- package/dist/esm/rtk-livestream-indicator_3.entry.js +2 -2
- package/dist/esm/rtk-livestream-toggle.entry.js +2 -2
- package/dist/esm/rtk-logo.entry.js +2 -2
- package/dist/esm/rtk-meeting-title.entry.js +2 -2
- package/dist/esm/rtk-message-list-view.entry.js +3 -3
- package/dist/esm/rtk-mic-toggle.entry.js +81 -10
- package/dist/esm/rtk-mixed-grid.entry.js +2 -2
- package/dist/esm/rtk-more-toggle.entry.js +2 -2
- package/dist/esm/rtk-mute-all-button.entry.js +2 -2
- package/dist/esm/rtk-name-tag.entry.js +2 -2
- package/dist/esm/rtk-network-indicator.entry.js +2 -2
- package/dist/esm/rtk-notification.entry.js +4 -4
- package/dist/esm/rtk-notifications.entry.js +3 -3
- package/dist/esm/rtk-participant-count.entry.js +2 -2
- package/dist/esm/rtk-participant-setup.entry.js +2 -2
- package/dist/esm/rtk-participant_2.entry.js +3 -3
- package/dist/esm/rtk-participants-audio.entry.js +2 -2
- package/dist/esm/rtk-participants-stage-list_4.entry.js +2 -2
- package/dist/esm/rtk-participants-toggle.entry.js +2 -2
- package/dist/esm/rtk-participants.entry.js +3 -3
- package/dist/esm/rtk-pip-toggle.entry.js +2 -2
- package/dist/esm/rtk-plugin-main_2.entry.js +2 -2
- package/dist/esm/rtk-plugins-toggle.entry.js +2 -2
- package/dist/esm/rtk-poll_2.entry.js +2 -2
- package/dist/esm/rtk-polls-toggle.entry.js +2 -2
- package/dist/esm/rtk-recording-indicator.entry.js +2 -2
- package/dist/esm/rtk-recording-toggle.entry.js +2 -2
- package/dist/esm/rtk-screen-share-toggle.entry.js +2 -2
- package/dist/esm/rtk-screenshare-view.entry.js +47 -41
- package/dist/esm/rtk-settings-audio_2.entry.js +2 -2
- package/dist/esm/rtk-settings-toggle.entry.js +2 -2
- package/dist/esm/rtk-settings.entry.js +2 -2
- package/dist/esm/rtk-setup-screen.entry.js +10 -5
- package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
- package/dist/esm/rtk-sidebar.entry.js +2 -2
- package/dist/esm/rtk-simple-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
- package/dist/esm/rtk-spotlight-indicator.entry.js +2 -2
- package/dist/esm/rtk-stage-toggle.entry.js +2 -2
- package/dist/esm/rtk-stage.entry.js +2 -2
- package/dist/esm/rtk-switch.entry.js +72 -0
- package/dist/esm/rtk-transcript.entry.js +2 -2
- package/dist/esm/rtk-transcripts.entry.js +2 -2
- package/dist/esm/rtk-ui-provider.entry.js +2 -2
- package/dist/esm/rtk-waiting-screen.entry.js +2 -2
- package/dist/esm/{ui-kit-metadata-BfDGhHU-.js → ui-kit-metadata-DBkOnyOI.js} +2 -2
- package/dist/esm/{ui-store-Bx-7w8Yb.js → ui-store-25wIB_YH.js} +10 -1
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-00ae47eb.entry.js +1 -0
- package/dist/realtimekit-ui/{p-660aa537.entry.js → p-0ce5b00f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d5c12931.entry.js → p-0df18cd8.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6d717ccc.entry.js → p-13a913a9.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6568b1ab.entry.js → p-18607b9a.entry.js} +1 -1
- package/dist/realtimekit-ui/p-1eac1ada.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5f27dd4a.entry.js → p-1ff01d5f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-20588357.entry.js +1 -0
- package/dist/realtimekit-ui/{p-37e705b5.entry.js → p-21119a4d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-183a312c.entry.js → p-22cd2a40.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-643a1927.entry.js → p-2999cb8d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4b3dce1f.entry.js → p-2eb73b5f.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8153ed7f.entry.js → p-2f380c20.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3b485618.entry.js → p-32079fea.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bf065dd7.entry.js → p-341159c7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-c8333864.entry.js → p-39a410f5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-205434fe.entry.js → p-3a0eaf1e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e352d5e2.entry.js → p-3ab9b329.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-363ce42f.entry.js → p-3d95065e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6195c623.entry.js → p-465c4010.entry.js} +1 -1
- package/dist/realtimekit-ui/p-467cb881.entry.js +1 -0
- package/dist/realtimekit-ui/{p-a2553f7d.entry.js → p-4b2ce9e5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0249fd5.entry.js → p-4d59e280.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b94dfda1.entry.js → p-54c71e62.entry.js} +1 -1
- package/dist/realtimekit-ui/p-590350ae.entry.js +1 -0
- package/dist/realtimekit-ui/{p-7bdd40b8.entry.js → p-5ea44aa5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-205f9429.entry.js → p-60e672f3.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-21796886.entry.js → p-60f90e32.entry.js} +1 -1
- package/dist/realtimekit-ui/p-63413c07.entry.js +1 -0
- package/dist/realtimekit-ui/{p-cc5ea463.entry.js → p-64b7ca52.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-058620d5.entry.js → p-64f46d1e.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e1735083.entry.js → p-6568c9be.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8dd67156.entry.js → p-69445dc5.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-718bae68.entry.js → p-69e11a90.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9d52fc8e.entry.js → p-69ee90c7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-abde760f.entry.js → p-6a985345.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-fef5f872.entry.js → p-6bca148a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-933c3a7c.entry.js → p-70672349.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-b245131f.entry.js → p-72b2fe54.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-723738bd.entry.js → p-73f2a2db.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-dfa06095.entry.js → p-7711649a.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-86b82dbf.entry.js → p-77648ee7.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-83861ea9.entry.js → p-7878ab30.entry.js} +1 -1
- package/dist/realtimekit-ui/p-7d7409e5.entry.js +1 -0
- package/dist/realtimekit-ui/{p-1ce8eaf9.entry.js → p-8206b22d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-828ecefa.entry.js +1 -0
- package/dist/realtimekit-ui/{p-207ce4c5.entry.js → p-82a226df.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-995ce594.entry.js → p-8a481d43.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-68e8289e.entry.js → p-8dc6db09.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9c7b6b83.entry.js → p-94a286d0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-6d121798.entry.js → p-95818179.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-348d4b7d.entry.js → p-9675893b.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-bdb23405.entry.js → p-96b81823.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9c53a0b7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4wo9JvMs.js → p-B3SWd1rN.js} +1 -1
- package/dist/realtimekit-ui/p-C8tHk7bV.js +1 -0
- package/dist/realtimekit-ui/{p-DE_WFbDN.js → p-CGOvNX5H.js} +1 -1
- package/dist/realtimekit-ui/{p-B0XvZgA2.js → p-CRQsZMW5.js} +1 -1
- package/dist/realtimekit-ui/p-DgbGa7ou.js +1 -0
- package/dist/realtimekit-ui/{p-c4vw1R9K.js → p-Dj-6QheV.js} +1 -1
- package/dist/realtimekit-ui/{p-f97af682.entry.js → p-a05269d4.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-9e279393.entry.js → p-a1febe2c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-a478656f.entry.js +1 -0
- package/dist/realtimekit-ui/{p-aef96d8b.entry.js → p-a5afae52.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-732b25be.entry.js → p-a6b6f977.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4d93a6be.entry.js → p-a732dd55.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f58ede34.entry.js → p-aa1bcc8d.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-f8463bf8.entry.js → p-b29b686b.entry.js} +1 -1
- package/dist/realtimekit-ui/p-b415ff27.entry.js +1 -0
- package/dist/realtimekit-ui/{p-5ed86313.entry.js → p-b56fe105.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-3f7688e2.entry.js → p-b783a853.entry.js} +1 -1
- package/dist/realtimekit-ui/p-bef64365.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b5a8fe62.entry.js → p-c1efb757.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-d4c7a8ad.entry.js → p-c35040dc.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-75057984.entry.js → p-c7f7f0ee.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8b2ffaa1.entry.js → p-c8cad0a6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a4d9e0e1.entry.js → p-cc9228ee.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e2a9aea6.entry.js → p-cdf80add.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-8f04a055.entry.js → p-cf9e2497.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-16734ef7.entry.js → p-cfa03301.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a4704c24.entry.js → p-d7b10d53.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-5f2c7eca.entry.js → p-d91222ea.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-625aa771.entry.js → p-da857425.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-4c6cf53f.entry.js → p-dcced1f6.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-57b4007f.entry.js → p-df0fe032.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-26e7752a.entry.js → p-df5b5a98.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-efd86516.entry.js → p-e54dbacd.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-a713e193.entry.js → p-f202a199.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e7b02202.entry.js → p-fbde8aee.entry.js} +1 -1
- package/dist/realtimekit-ui/p-x7gw0EVy.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +17 -1
- package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +15 -1
- package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +3 -2
- package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +3 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +2 -0
- package/dist/types/components.d.ts +50 -10
- package/dist/types/lib/icons/default-icon-pack.d.ts +2 -0
- package/dist/types/lib/lang/default-language.d.ts +6 -0
- package/dist/types/lib/overrides.d.ts +4 -0
- package/package.json +1 -4
- package/dist/components/p-Bx38FZhs.js +0 -1
- package/dist/components/p-CNApM3eU.js +0 -1
- package/dist/components/p-D4GSX-co.js +0 -1
- package/dist/components/p-D9p14DJ_.js +0 -1
- package/dist/realtimekit-ui/p-1786b535.entry.js +0 -1
- package/dist/realtimekit-ui/p-3bd80e90.entry.js +0 -1
- package/dist/realtimekit-ui/p-4c2cba57.entry.js +0 -1
- package/dist/realtimekit-ui/p-56315661.entry.js +0 -1
- package/dist/realtimekit-ui/p-5f9ca1bf.entry.js +0 -1
- package/dist/realtimekit-ui/p-6e1c70b8.entry.js +0 -1
- package/dist/realtimekit-ui/p-7690e88e.entry.js +0 -1
- package/dist/realtimekit-ui/p-77352289.entry.js +0 -1
- package/dist/realtimekit-ui/p-7ca93eef.entry.js +0 -1
- package/dist/realtimekit-ui/p-BPp8I5C6.js +0 -1
- package/dist/realtimekit-ui/p-D2jt9uAV.js +0 -1
- package/dist/realtimekit-ui/p-a0a519d4.entry.js +0 -1
- package/dist/realtimekit-ui/p-c69a406e.entry.js +0 -1
- package/dist/realtimekit-ui/p-fJjgai7z.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as r,H as t,c as e,h as o,d as a,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as c,i}from"./p-
|
|
1
|
+
import{p as r,H as t,c as e,h as o,d as a,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as c,i}from"./p-aXMUeMjU.js";import{g as n}from"./p-HuHRVcj4.js";import{S as p}from"./p-ByMjaTnP.js";import{d as l}from"./p-BYIBbfJ8.js";var h=function(r,t,e,o){var a,s=arguments.length,c=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,e,o);else for(var i=r.length-1;i>=0;i--)(a=r[i])&&(c=(s<3?a(c):s>3?a(t,e,c):a(t,e))||c);return s>3&&c&&Object.defineProperty(t,e,c),c};const d=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.groupChanged=e(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=c,this.t=i(),this.showParticipantsPanel=!1,this.query="",this.onScopeClick=r=>{this.showParticipantsPanel=!1,this.groupChanged.emit(r)}}toggleParticipants(){this.showParticipantsPanel=!this.showParticipantsPanel}getGroups(){return this.groups.filter((r=>r.name.toLowerCase().includes(this.query.toLowerCase())))}getName(){if(!this.selectedGroupId||"everyone"===this.selectedGroupId)return this.t("everyone");const r=this.groups.find((r=>r.userId===this.selectedGroupId));return r?r.name:this.t("everyone")}render(){const r=Object.keys(this.unreadCounts).reduce(((r,t)=>r+this.unreadCounts[t]),0);return o(a,null,o("div",{class:"chat-scope-selector"},this.showParticipantsPanel&&o("div",{class:"participants-container"},o("div",{class:"search",part:"search"},o("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),o("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),value:this.query,onInput:r=>{this.query=r.target.value},part:"search-input"})),o("ul",{class:"scope-list scrollbar"},""===this.query&&o("li",{class:"scope scope-special",onClick:()=>this.onScopeClick("everyone")},o("div",{class:"everyone-icon"},o("rtk-icon",{icon:this.iconPack.participants})),this.t("everyone"),this.unreadCounts.everyone>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,this.unreadCounts.everyone))),this.getGroups().map((r=>{const t=this.unreadCounts[n([this.selfUserId,r.userId])];return o("li",{class:"scope",onClick:()=>this.onScopeClick(r),key:r.userId},r.name,t>0&&o("div",{class:"unread-count",part:"unread-count"},o("span",null,t)))})))),o("button",{onClick:()=>this.toggleParticipants()},o("span",null,`${this.t("to")} ${this.getName()}`," ",r>0&&o("div",{class:"unread-count selector"},o("span",null,r))),o("rtk-icon",{icon:this.showParticipantsPanel?this.iconPack.chevron_up:this.iconPack.chevron_down}))))}static get style(){return":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))) 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{display:flex;flex-direction:column}.chat-scope-selector{position:relative;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));z-index:10}.chat-scope-selector button{width:100%;border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-4, 16px);display:flex;align-items:center;justify-content:space-between;--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-1000, 255 255 255));font-size:14px;cursor:pointer;height:var(--rtk-space-12, 48px)}.chat-scope-selector button span{display:flex;align-items:center;justify-content:flex-start}.chat-scope-selector button rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}.chat-scope-selector .search{position:sticky;box-sizing:border-box;display:flex;align-items:center;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));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-0, 0px)}.chat-scope-selector .search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.chat-scope-selector .search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--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-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.chat-scope-selector .search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.chat-scope-selector .participants-container{position:absolute;width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));top:var(--rtk-space-12, 48px);animation:0.3s slide-down ease}@keyframes slide-down{from{transform:translateY(-50px)}to{transform:translateY(0%)}}.chat-scope-selector .scope-list{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);list-style-type:none;padding-left:var(--rtk-space-0, 0px);padding-right:var(--rtk-space-0, 0px);overflow:auto;max-height:375px}.chat-scope-selector .scope-list .scope{position:relative;display:flex;flex-direction:row;align-items:center;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px)}.chat-scope-selector .scope-list .scope:hover{cursor:pointer;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.chat-scope-selector .scope-list .scope-special{margin-top:var(--rtk-space-4, 16px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}.chat-scope-selector .scope-list .everyone-icon>rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px);color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)))}.chat-scope-selector .scope-list .everyone-icon{display:flex;height:100%;width:100%;align-items:center;justify-content:center;margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px}.unread-count.selector{position:unset;margin-left:var(--rtk-space-2, 8px)}.unread-count{position:absolute;right:var(--rtk-space-3, 12px);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}rtk-avatar{height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px)}"}},[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]}]);function g(){"undefined"!=typeof customElements&&["rtk-chat-selector-ui","rtk-icon"].forEach((r=>{switch(r){case"rtk-chat-selector-ui":customElements.get(s(r))||customElements.define(s(r),d);break;case"rtk-icon":customElements.get(s(r))||l()}}))}h([p()],d.prototype,"iconPack",void 0),h([p()],d.prototype,"t",void 0),g();const b=d,k=g;export{b as RtkChatSelectorUi,k as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as p}from"./p-Dp2LhUKa.js";const s=o,a=p;export{s as RtkChatSelector,a as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,c as s,h as e,d as a,t as n}from"./p-BBHQOrFK.js";import{e as
|
|
1
|
+
import{p as t,H as i,c as s,h as e,d as a,t as n}from"./p-BBHQOrFK.js";import{e as r,i as o}from"./p-aXMUeMjU.js";import{c}from"./p-D9HGXWKc.js";import{S as h}from"./p-ByMjaTnP.js";import{d as l}from"./p-BC__OeWi.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-Bc2jtNZw.js";var u=function(t,i,s,e){var a,n=arguments.length,r=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(n<3?a(r):n>3?a(i,s,r):a(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const v=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.unreadMessageCount=0,this.variant="button",this.iconPack=r,this.t=o(),this.chatActive=!1,this.canViewChat=!1,this.pageSize=11,this.onChatUpdate=({action:t,message:i})=>{var s;this.chatActive||"add"===t&&i.userId!==(null===(s=this.meeting)||void 0===s?void 0:s.self.userId)&&this.unreadMessageCount<=10&&(this.unreadMessageCount+=1)},this.toggleChat=()=>{const t=this.states;this.chatActive=!((null==t?void 0:t.activeSidebar)&&"chat"===(null==t?void 0:t.sidebar)),this.chatActive&&(this.unreadMessageCount=0),this.stateUpdate.emit({activeSidebar:this.chatActive,sidebar:this.chatActive?"chat":void 0,activeMoreMenu:!1})},this.updateCanView=()=>{this.canViewChat=c(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s,e,a,n;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.chat)||void 0===i||i.removeListener("chatUpdate",this.onChatUpdate),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.updateCanView),null===(n=null===(a=this.meeting)||void 0===a?void 0:a.self)||void 0===n||n.permissions.removeListener("chatUpdate",this.updateCanView)}meetingChanged(t){var i,s,e;t&&(this.setUnreadMessageCount(),this.canViewChat=c(t),null===(i=t.chat)||void 0===i||i.addListener("chatUpdate",this.onChatUpdate),null===(s=null==t?void 0:t.stage)||void 0===s||s.on("stageStatusUpdate",this.updateCanView),null===(e=null==t?void 0:t.self)||void 0===e||e.permissions.on("chatUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.chatActive=!0===t.activeSidebar&&"chat"===t.sidebar)}async setUnreadMessageCount(){var t,i;const s=this.meeting.chat;if(!s)return;const e=null!==(i=null===(t=this.meeting.meta)||void 0===t?void 0:t.meetingStartedTimestamp.getTime())&&void 0!==i?i:0,a=await s.fetchPublicMessages({timestamp:e,limit:this.pageSize,direction:"after"});this.unreadMessageCount=a.length}handleChatActiveChange(){this.chatActive||this.states.activeSidebar||this.buttonEl.focus()}render(){return this.meeting?this.canViewChat?e(a,{title:this.t("chat")},0!==this.unreadMessageCount&&!this.chatActive&&e("div",{class:"unread-count",part:"unread-count"},e("span",null,this.unreadMessageCount<this.pageSize?this.unreadMessageCount:"10+")),e("rtk-controlbar-button",{ref:t=>this.buttonEl=t,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})):e(a,{"data-hidden":!0}):null}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}}static get style(){return":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%)}"}},[1,"rtk-chat-toggle",{variant:[513],meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],unreadMessageCount:[32],chatActive:[32],canViewChat:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],chatActive:[{handleChatActiveChange:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-chat-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-chat-toggle":customElements.get(n(t))||customElements.define(n(t),v);break;case"rtk-controlbar-button":customElements.get(n(t))||l();break;case"rtk-icon":customElements.get(n(t))||d();break;case"rtk-spinner":customElements.get(n(t))||p()}}))}u([h()],v.prototype,"meeting",void 0),u([h()],v.prototype,"states",void 0),u([h()],v.prototype,"iconPack",void 0),u([h()],v.prototype,"t",void 0),g();const m=v,b=g;export{m as RtkChatToggle,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as p}from"./p-Bp8UGnBB.js";const s=o,r=p;export{s as RtkChat,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,d as n,t as s}from"./p-BBHQOrFK.js";import{e as a}from"./p-
|
|
1
|
+
import{p as t,H as e,h as i,d as n,t as s}from"./p-BBHQOrFK.js";import{e as a}from"./p-aXMUeMjU.js";import{S as r}from"./p-ByMjaTnP.js";import{d as o}from"./p-BYIBbfJ8.js";var c=function(t,e,i,n){var s,a=arguments.length,r=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(a<3?s(r):a>3?s(e,i,r):s(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const d=t=>(""+Math.trunc(t)).padStart(2,"0"),l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,n;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(n=t.meta)||void 0===n||n.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=d(t/3600)+":"),e+=`${d(t%3600/60)}:${d(t%60)}`,e}render(){return i(n,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[i("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),i("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}static get style(){return":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:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}"}},[1,"rtk-clock",{meeting:[16],iconPack:[16],size:[513],startedTime:[32],timeDiff:[32]},void 0,{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}]);function m(){"undefined"!=typeof customElements&&["rtk-clock","rtk-icon"].forEach((t=>{switch(t){case"rtk-clock":customElements.get(s(t))||customElements.define(s(t),l);break;case"rtk-icon":customElements.get(s(t))||o()}}))}c([r()],l.prototype,"meeting",void 0),c([r()],l.prototype,"iconPack",void 0),m();const h=l,f=m;export{h as RtkClock,f as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-D34dZlkT.js";const p=o,r=s;export{p as RtkConfirmationModal,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-BC__OeWi.js";const p=o,r=s;export{p as RtkControlbarButton,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,d as
|
|
1
|
+
import{p as t,H as e,h as i,d as a,t as r}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import{c as s,e as o,i as n}from"./p-aXMUeMjU.js";import"./p-C0vp-Q7v.js";import"./p-Bs5Z4Y29.js";import{R as c}from"./p-CBJjerDR.js";import{S as p}from"./p-ByMjaTnP.js";var f=function(t,e,i,a){var r,s=arguments.length,o=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,a);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(o=(s<3?r(o):s>3?r(e,i,o):r(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=s(),this.iconPack=o,this.t=n()}render(){return i(a,{key:"68af3001ce88b084a7f11db7bbd201cad5bf477f"},!this.disableRender&&i(c,{key:"0f9084065a6ffb76744d97c78b81cb62022fe6af",element:"rtk-controlbar",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),i("slot",{key:"fb6acf7e94afc107c0ce8dc721c568020f5fd35c"}))}static get style(){return":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{box-sizing:border-box;display:flex;align-items:center;gap:var(--rtk-space-0\\.5, 2px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);position:relative;z-index:10}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{padding-top:var(--rtk-space-0, 0px) !important}}"}},[257,"rtk-controlbar",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function l(){"undefined"!=typeof customElements&&["rtk-controlbar"].forEach((t=>{"rtk-controlbar"===t&&(customElements.get(r(t))||customElements.define(r(t),d))}))}f([p()],d.prototype,"meeting",void 0),f([p()],d.prototype,"config",void 0),f([p()],d.prototype,"states",void 0),f([p()],d.prototype,"iconPack",void 0),f([p()],d.prototype,"t",void 0),l();const m=d,b=l;export{m as RtkControlbar,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-DxZ5v-a-.js";const a=o,p=s;export{a as RtkCounter,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p--F3BGV0E.js";const p=o,r=s;export{p as RtkDebuggerAudio,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-DPENu38v.js";const p=o,r=s;export{p as RtkDebuggerScreenshare,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-DW9czTAD.js";const p=o,r=s;export{p as RtkDebuggerSystem,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as s,h as o,d as r,t as i}from"./p-BBHQOrFK.js";import{i as
|
|
1
|
+
import{p as t,H as e,c as s,h as o,d as r,t as i}from"./p-BBHQOrFK.js";import{i as a,e as n}from"./p-aXMUeMjU.js";import{S as c}from"./p-ByMjaTnP.js";import{d as l}from"./p-BC__OeWi.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as m}from"./p-Bc2jtNZw.js";var u=function(t,e,s,o){var r,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(i<3?r(a):i>3?r(e,s,a):r(e,s))||a);return i>3&&a&&Object.defineProperty(e,s,a),a};const g=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.t=a(),this.iconPack=n}toggleDebugger(){var t;this.stateUpdate.emit({activeDebugger:!(null===(t=this.states)||void 0===t?void 0:t.activeDebugger),activeMoreMenu:!1})}render(){return o(r,{key:"33f74fc915ee6fe35432cda13c27812bc505e516",title:this.t("Troubleshooting")},o("rtk-controlbar-button",{key:"24981c8bbaaa255dd0c7f77d9ef13eee0c9939a7",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleDebugger(),icon:this.iconPack.debug,label:this.t("Troubleshooting"),variant:this.variant}))}static get style(){return":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:block}"}},[1,"rtk-debugger-toggle",{variant:[513],meeting:[16],states:[16],t:[16],iconPack:[16],size:[513]}]);function p(){"undefined"!=typeof customElements&&["rtk-debugger-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-debugger-toggle":customElements.get(i(t))||customElements.define(i(t),g);break;case"rtk-controlbar-button":customElements.get(i(t))||l();break;case"rtk-icon":customElements.get(i(t))||f();break;case"rtk-spinner":customElements.get(i(t))||m()}}))}u([c()],g.prototype,"meeting",void 0),u([c()],g.prototype,"states",void 0),u([c()],g.prototype,"t",void 0),u([c()],g.prototype,"iconPack",void 0),p();const b=g,d=p;export{b as RtkDebuggerToggle,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p-U9jg1DvO.js";const p=o,r=s;export{p as RtkDebuggerVideo,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,c as e,h as o,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-D4GSX-co.js";import{S as c}from"./p-C8uVSyiQ.js";import{d}from"./p-D6vw6bT2.js";import{d as b}from"./p-7MYbXrJb.js";import{d as l}from"./p-3mW_xZnk.js";import{d as g}from"./p-Bj2I3AdD.js";import{d as p}from"./p-24rczPkc.js";import{d as h}from"./p-BYIBbfJ8.js";var u=function(t,r,e,o){var a,s=arguments.length,i=s<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,o);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(s<3?a(i):s>3?a(r,e,i):a(r,e))||i);return s>3&&i&&Object.defineProperty(r,e,i),i};const k=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.iconPack=i,this.t=n(),this.activeTab="audio",this.isMobileMainVisible=!1,this.progress=0}connectedCallback(){document.addEventListener("keydown",this.keyPressListener)}disconnectedCallback(){this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener)}progressUpdate(t){this.progress=t.detail}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeDebugger:!1})}getActiveTab(){switch(this.activeTab){case"audio":return this.t("debugger.audio.troubleshooting.label");case"screenshare":return this.t("debugger.screenshare.troubleshooting.label");case"video":return this.t("debugger.video.troubleshooting.label");case"system":return this.t("debugger.system.troubleshooting.label");default:return this.t("debugger.troubleshooting.label")}}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t,size:this.size},r=this.getActiveTab(),e=void 0!==navigator.getBattery;return o(a,null,o("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},o("header",null,o("h3",null,this.t("debugger.troubleshooting.label"))),o("nav",null,o("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("debugger.audio.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("debugger.video.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"screenshare"===this.activeTab},onClick:()=>this.changeTab("screenshare")},this.t("debugger.screenshare.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.share_screen_start}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"system"===this.activeTab,hidden:!e},onClick:()=>this.changeTab("system")},this.t("debugger.system.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.settings}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))))),o("main",{class:{active:this.isMobileMainVisible},part:"main-content"},"sm"===this.size&&o("header",null,o("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},o("rtk-icon",{icon:this.iconPack.chevron_left})),o("h4",null,r)),"audio"===this.activeTab&&o("rtk-debugger-audio",Object.assign({},t)),"video"===this.activeTab&&o("rtk-debugger-video",Object.assign({},t)),"screenshare"===this.activeTab&&o("rtk-debugger-screenshare",Object.assign({},t)),"system"===this.activeTab&&e&&o("rtk-debugger-system",Object.assign({},t))))}static get style(){return":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))) 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;width:100%;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);--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-1000, 255 255 255));max-width:calc(100vw - var(--rtk-space-8, 32px));max-height:calc(100dvh - var(--rtk-space-8, 32px))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);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)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;width:var(--rtk-space-56, 224px);flex:none;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}aside button{box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--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);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside nav{display:flex;flex-direction:column;gap:var(--rtk-space-2, 8px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;min-height:0px;min-width:var(--rtk-space-0, 0px);flex:1 1 0%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:flex}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}"}},[1,"rtk-debugger",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],progress:[32]},[[0,"testProgress","progressUpdate"]]]);function v(){"undefined"!=typeof customElements&&["rtk-debugger","rtk-button","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-icon"].forEach((t=>{switch(t){case"rtk-debugger":customElements.get(s(t))||customElements.define(s(t),k);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-debugger-audio":customElements.get(s(t))||b();break;case"rtk-debugger-screenshare":customElements.get(s(t))||l();break;case"rtk-debugger-system":customElements.get(s(t))||g();break;case"rtk-debugger-video":customElements.get(s(t))||p();break;case"rtk-icon":customElements.get(s(t))||h()}}))}u([c()],k.prototype,"meeting",void 0),u([c()],k.prototype,"states",void 0),u([c()],k.prototype,"iconPack",void 0),u([c()],k.prototype,"t",void 0),v();const m=k,w=v;export{m as RtkDebugger,w as defineCustomElement}
|
|
1
|
+
import{p as t,H as r,c as e,h as o,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as n}from"./p-aXMUeMjU.js";import{S as c}from"./p-ByMjaTnP.js";import{d}from"./p-D6vw6bT2.js";import{d as b}from"./p--F3BGV0E.js";import{d as l}from"./p-DPENu38v.js";import{d as g}from"./p-DW9czTAD.js";import{d as p}from"./p-U9jg1DvO.js";import{d as h}from"./p-BYIBbfJ8.js";var u=function(t,r,e,o){var a,s=arguments.length,i=s<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,o);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(s<3?a(i):s>3?a(r,e,i):a(r,e))||i);return s>3&&i&&Object.defineProperty(r,e,i),i};const k=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.iconPack=i,this.t=n(),this.activeTab="audio",this.isMobileMainVisible=!1,this.progress=0}connectedCallback(){document.addEventListener("keydown",this.keyPressListener)}disconnectedCallback(){this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener)}progressUpdate(t){this.progress=t.detail}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeDebugger:!1})}getActiveTab(){switch(this.activeTab){case"audio":return this.t("debugger.audio.troubleshooting.label");case"screenshare":return this.t("debugger.screenshare.troubleshooting.label");case"video":return this.t("debugger.video.troubleshooting.label");case"system":return this.t("debugger.system.troubleshooting.label");default:return this.t("debugger.troubleshooting.label")}}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t,size:this.size},r=this.getActiveTab(),e=void 0!==navigator.getBattery;return o(a,null,o("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},o("header",null,o("h3",null,this.t("debugger.troubleshooting.label"))),o("nav",null,o("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("debugger.audio.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("debugger.video.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"screenshare"===this.activeTab},onClick:()=>this.changeTab("screenshare")},this.t("debugger.screenshare.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.share_screen_start}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"button",class:{active:"system"===this.activeTab,hidden:!e},onClick:()=>this.changeTab("system")},this.t("debugger.system.label"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.settings}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))))),o("main",{class:{active:this.isMobileMainVisible},part:"main-content"},"sm"===this.size&&o("header",null,o("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},o("rtk-icon",{icon:this.iconPack.chevron_left})),o("h4",null,r)),"audio"===this.activeTab&&o("rtk-debugger-audio",Object.assign({},t)),"video"===this.activeTab&&o("rtk-debugger-video",Object.assign({},t)),"screenshare"===this.activeTab&&o("rtk-debugger-screenshare",Object.assign({},t)),"system"===this.activeTab&&e&&o("rtk-debugger-system",Object.assign({},t))))}static get style(){return":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))) 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;width:100%;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);--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-1000, 255 255 255));max-width:calc(100vw - var(--rtk-space-8, 32px));max-height:calc(100dvh - var(--rtk-space-8, 32px))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px)}header h3{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.back-btn{border-radius:var(--rtk-border-radius-sm, 4px);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)}.back-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;width:var(--rtk-space-56, 224px);flex:none;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}aside button{box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:14px;--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);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside nav{display:flex;flex-direction:column;gap:var(--rtk-space-2, 8px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.hidden{display:none}main{position:relative;box-sizing:border-box;display:flex;height:100%;min-height:0px;min-width:var(--rtk-space-0, 0px);flex:1 1 0%;flex-direction:column}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));width:100% !important;max-width:100% !important;padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside button.hidden{display:none}:host([size='sm']) aside.hide{display:none}aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) aside button:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;height:100%;width:100%;padding:var(--rtk-space-0, 0px)}aside button:host([size='sm']) main{display:none}:host([size='sm']) aside button:host([size='sm']) main{display:none}:host([size='sm']) main.active{display:flex}:host([size='sm']) header{margin:var(--rtk-space-0, 0px);justify-content:center}:host([size='sm']) header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb:hover{border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.progress-bar{height:var(--rtk-space-1, 4px);width:100%;overflow:hidden;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.progress-indicator{height:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}"}},[1,"rtk-debugger",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],activeTab:[32],isMobileMainVisible:[32],progress:[32]},[[0,"testProgress","progressUpdate"]]]);function v(){"undefined"!=typeof customElements&&["rtk-debugger","rtk-button","rtk-debugger-audio","rtk-debugger-screenshare","rtk-debugger-system","rtk-debugger-video","rtk-icon"].forEach((t=>{switch(t){case"rtk-debugger":customElements.get(s(t))||customElements.define(s(t),k);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-debugger-audio":customElements.get(s(t))||b();break;case"rtk-debugger-screenshare":customElements.get(s(t))||l();break;case"rtk-debugger-system":customElements.get(s(t))||g();break;case"rtk-debugger-video":customElements.get(s(t))||p();break;case"rtk-icon":customElements.get(s(t))||h()}}))}u([c()],k.prototype,"meeting",void 0),u([c()],k.prototype,"states",void 0),u([c()],k.prototype,"iconPack",void 0),u([c()],k.prototype,"t",void 0),v();const m=k,w=v;export{m as RtkDebugger,w as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as o,h as i,d as s,t as a}from"./p-BBHQOrFK.js";import{c as r,e as n,i as l}from"./p-
|
|
1
|
+
import{p as t,H as e,c as o,h as i,d as s,t as a}from"./p-BBHQOrFK.js";import{c as r,e as n,i as l}from"./p-aXMUeMjU.js";import{S as m}from"./p-ByMjaTnP.js";import{R as c}from"./p-CBJjerDR.js";import{d as k}from"./p-DAGCKEFc.js";import{d}from"./p-DNy6quyg.js";import{d as u}from"./p-Btj1QSzG.js";import{d as g}from"./p-B3ATJ-iD.js";import{d as p}from"./p-xLck_VlO.js";import{d as h}from"./p-D6vw6bT2.js";import{d as f}from"./p-D34dZlkT.js";import{d as v}from"./p-DxZ5v-a-.js";import{d as b}from"./p-BeWjGx1n.js";import{d as j}from"./p-BYIBbfJ8.js";import{d as C}from"./p-BVRIm4Vt.js";import{d as E}from"./p-g5NPAxAj.js";import{d as D}from"./p-CkNlX5-Y.js";import{d as R}from"./p-vADJB1c2.js";import{d as P}from"./p-C07P-YzZ.js";import{d as y}from"./p-Bc2jtNZw.js";import{d as B}from"./p-DHSRRtn3.js";var O=function(t,e,o,i){var s,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(e,o,r):s(e,o))||r);return a>3&&r&&Object.defineProperty(e,o,r),r};const S=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=o(this,"rtkStateUpdate",7),this.config=r(),this.iconPack=n,this.t=l(),this.updateStoreState=(t,e)=>{this.stateUpdate.emit({[t]:e})},this.cancelJoinStage=async()=>{var t,e,o;"ACCEPTED_TO_JOIN_STAGE"===(null===(t=this.meeting.stage)||void 0===t?void 0:t.status)&&await(null===(o=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===o?void 0:o.leave()),this.updateStoreState("activeJoinStage",!1)},this.joinStage=async()=>{await this.meeting.stage.join()},this.stageStatusUpdateListener=t=>{var e;(null===(e=this.states)||void 0===e?void 0:e.activeJoinStage)&&"ON_STAGE"===t&&this.updateStoreState("activeJoinStage",!1)}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;null===(t=this.meeting.stage)||void 0===t||t.removeListener("stageStatusUpdate",this.stageStatusUpdateListener)}meetingChanged(t){if(!t)return;const{stage:e}=t;null==e||e.addListener("stageStatusUpdate",this.stageStatusUpdateListener)}render(){var t,e,o,a;if(!this.meeting)return;const r={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t},n=this.states;if(null!=(null==n?void 0:n.image)){const t=()=>{this.stateUpdate.emit({image:null})};return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:t,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},i(c,{element:"rtk-image-viewer",defaults:r,props:{image:n.image,onClose:t}})))}if(!0===(null==n?void 0:n.activeSettings))return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeSettings",!1),iconPack:this.iconPack,t:this.t},i(c,{element:"rtk-settings",defaults:r})));if(!0===(null==n?void 0:n.activeDebugger))return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeDebugger",!1),iconPack:this.iconPack,t:this.t},i(c,{element:"rtk-debugger",defaults:r})));if(!0===(null==n?void 0:n.activeLeaveConfirmation))return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeLeaveConfirmation",!1),iconPack:this.iconPack,t:this.t},i("rtk-leave-meeting",Object.assign({},r))));if(!0===(null===(t=null==n?void 0:n.activePermissionsMessage)||void 0===t?void 0:t.enabled))return i(s,null,i("rtk-dialog",{open:!0,hideCloseButton:!0,iconPack:this.iconPack,t:this.t},i("rtk-permissions-message",Object.assign({},r))));if(!0===(null===(e=null==n?void 0:n.activeBreakoutRoomsManager)||void 0===e?void 0:e.active))return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBreakoutRoomsManager",{active:!1,data:void 0}),iconPack:this.iconPack,t:this.t},i("rtk-breakout-rooms-manager",Object.assign({},r))));if(!0===(null===(o=null==n?void 0:n.activeConfirmationModal)||void 0===o?void 0:o.active))return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeConfirmationModal",!1),iconPack:this.iconPack,t:this.t},i("rtk-confirmation-modal",Object.assign({},r))));if(!0===(null===(a=null==n?void 0:n.activeOverlayModal)||void 0===a?void 0:a.active))return i(s,null,i("rtk-overlay-modal",{meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t}));if(null==n?void 0:n.activeBroadcastMessageModal)return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>this.updateStoreState("activeBroadcastMessageModal",!1),iconPack:this.iconPack,t:this.t},i("rtk-broadcast-message-modal",Object.assign({},r))));if(!0===(null==n?void 0:n.activeJoinStage)){const t={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")};return i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:this.cancelJoinStage,iconPack:this.iconPack,t:this.t},i("rtk-join-stage",Object.assign({dataConfig:t,onRtkJoinStage:this.joinStage,onRtkLeaveStage:this.cancelJoinStage},r))))}return!0===(null==n?void 0:n.activeMuteAllConfirmation)?i(s,null,i("rtk-dialog",{open:!0,onRtkDialogClose:()=>{this.updateStoreState("activeMuteAllConfirmation",!1)},iconPack:this.iconPack,t:this.t},i("rtk-mute-all-confirmation",Object.assign({},r)))):void 0}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":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:block}"}},[1,"rtk-dialog-manager",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16]},void 0,{meeting:[{meetingChanged:0}]}]);function A(){"undefined"!=typeof customElements&&["rtk-dialog-manager","rtk-avatar","rtk-breakout-room-manager","rtk-breakout-room-participants","rtk-breakout-rooms-manager","rtk-broadcast-message-modal","rtk-button","rtk-confirmation-modal","rtk-counter","rtk-dialog","rtk-icon","rtk-join-stage","rtk-leave-meeting","rtk-mute-all-confirmation","rtk-overlay-modal","rtk-permissions-message","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-dialog-manager":customElements.get(a(t))||customElements.define(a(t),S);break;case"rtk-avatar":customElements.get(a(t))||k();break;case"rtk-breakout-room-manager":customElements.get(a(t))||d();break;case"rtk-breakout-room-participants":customElements.get(a(t))||u();break;case"rtk-breakout-rooms-manager":customElements.get(a(t))||g();break;case"rtk-broadcast-message-modal":customElements.get(a(t))||p();break;case"rtk-button":customElements.get(a(t))||h();break;case"rtk-confirmation-modal":customElements.get(a(t))||f();break;case"rtk-counter":customElements.get(a(t))||v();break;case"rtk-dialog":customElements.get(a(t))||b();break;case"rtk-icon":customElements.get(a(t))||j();break;case"rtk-join-stage":customElements.get(a(t))||C();break;case"rtk-leave-meeting":customElements.get(a(t))||E();break;case"rtk-mute-all-confirmation":customElements.get(a(t))||D();break;case"rtk-overlay-modal":customElements.get(a(t))||R();break;case"rtk-permissions-message":customElements.get(a(t))||P();break;case"rtk-spinner":customElements.get(a(t))||y();break;case"rtk-tooltip":customElements.get(a(t))||B()}}))}O([m()],S.prototype,"meeting",void 0),O([m()],S.prototype,"config",void 0),O([m()],S.prototype,"states",void 0),O([m()],S.prototype,"iconPack",void 0),O([m()],S.prototype,"t",void 0),A();const _=S,x=A;export{_ as RtkDialogManager,x as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as
|
|
1
|
+
import{R as o,d as s}from"./p-BeWjGx1n.js";const p=o,r=s;export{p as RtkDialog,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as
|
|
1
|
+
import{R as o,d as s}from"./p-B0Fo3cKf.js";const p=o,r=s;export{p as RtkDraftAttachmentView,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as r}from"./p-CtPr1nvA.js";const s=o,t=r;export{s as RtkEmojiPickerButton,t as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p-CXDRC8Nb.js";const p=o,r=s;export{p as RtkEmojiPicker,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{c as o,e as i,i as n}from"./p-
|
|
1
|
+
import{p as t,H as e,h as r,d as s,t as a}from"./p-BBHQOrFK.js";import{c as o,e as i,i as n}from"./p-aXMUeMjU.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import"./p-Bs5Z4Y29.js";import{S as c}from"./p-ByMjaTnP.js";import{d as p}from"./p-BYIBbfJ8.js";import{d}from"./p-CHSH0L_g.js";var l=function(t,e,r,s){var a,o=arguments.length,i=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(i=(o<3?a(i):o>3?a(e,r,i):a(e,r))||i);return o>3&&i&&Object.defineProperty(e,r,i),i};const m=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=o(),this.icon=i,this.t=n(),this.iconPack=i,this.message=""}connectedCallback(){this.statesChanged(this.states)}getBreakoutRoomsMessage(t){var e;let r;return"connected-meeting"===(null==t?void 0:t.roomLeftState)&&(r=(null===(e=this.states.activeBreakoutRoomsManager)||void 0===e?void 0:e.destinationMeetingId)===this.meeting.connectedMeetings.parentMeeting.id?"breakout_rooms.move_reason.switch_main_room":"breakout_rooms.move_reason.switch_room"),r}statesChanged(t){if(null!=t)switch(null==t?void 0:t.roomLeftState){case"left":this.message="ended.left";break;case"kicked":this.message="ended.kicked";break;case"disconnected":this.message="ended.disconnected";break;case"rejected":this.message="ended.rejected";break;case"connected-meeting":this.message=this.getBreakoutRoomsMessage(t);break;case"unauthorized":this.message="ended.unauthorized";break;default:this.message="ended"}}renderBreakoutRoomScreen(){return r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-icon",{icon:this.iconPack.breakout_rooms}),r("p",{part:"message",class:"breakout"},this.t(this.message))))}render(){if(!this.meeting)return null;const t=this.states;return"connected-meeting"===t.roomLeftState?this.renderBreakoutRoomScreen():r(s,null,r("div",{class:"ctr",part:"container"},r("rtk-logo",{meeting:this.meeting,config:this.config,part:"logo",t:this.t}),r("p",{part:"message"},this.t(this.message)),"disconnected"===(null==t?void 0:t.roomLeftState)&&r("span",{part:"description"},this.t("ended.network"))))}static get watchers(){return{states:[{statesChanged:0}]}}static get style(){return":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{height:100%;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}.rejoin-button{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-6, 24px);padding-bottom:var(--rtk-space-6, 24px);padding-left:var(--rtk-space-16, 64px);padding-right:var(--rtk-space-16, 64px)}.rejoin-icon{margin-right:var(--rtk-space-2, 8px)}p{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}p.breakout{font-size:20px;display:flex;flex-direction:column;align-items:center}p.breakout span{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}span{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}"}},[1,"rtk-ended-screen",{config:[16],size:[513],states:[16],t:[16],iconPack:[16],meeting:[16],icon:[32],message:[32]},void 0,{states:[{statesChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ended-screen","rtk-icon","rtk-logo"].forEach((t=>{switch(t){case"rtk-ended-screen":customElements.get(a(t))||customElements.define(a(t),m);break;case"rtk-icon":customElements.get(a(t))||p();break;case"rtk-logo":customElements.get(a(t))||d()}}))}l([c()],m.prototype,"config",void 0),l([c()],m.prototype,"states",void 0),l([c()],m.prototype,"t",void 0),l([c()],m.prototype,"iconPack",void 0),l([c()],m.prototype,"meeting",void 0),g();const k=m,h=g;export{k as RtkEndedScreen,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as o,h as r,d as c,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-
|
|
1
|
+
import{p as t,H as e,c as o,h as r,d as c,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-aXMUeMjU.js";import"./p-Bs5Z4Y29.js";import{S as n}from"./p-ByMjaTnP.js";import{d as p}from"./p-BYIBbfJ8.js";var d=function(t,e,o,r){var c,s=arguments.length,i=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(c=t[a])&&(i=(s<3?c(i):s>3?c(e,o,i):c(e,o))||i);return s>3&&i&&Object.defineProperty(e,o,i),i};const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onDropCallback=o(this,"dropCallback",7),this.iconPack=i,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return r(c,{key:"31d5ca1c0b9612c257ca9fb2233c6c1d2a4d049f"},r("div",{key:"697c79cbd3c736b7efb890fddfca94c393b48d08",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"3fea26663f603965ef5dfc7d548cdcfc892bbc90",icon:this.iconPack.attach}),r("p",{key:"cab674da2e590d75ad20ca66661753cb52771925"},this.t("chat.send_attachment"))))}static get style(){return"#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--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-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}"}},[1,"rtk-file-dropzone",{hostEl:[16],iconPack:[16],t:[16],dropzoneActivated:[32]}]);function f(){"undefined"!=typeof customElements&&["rtk-file-dropzone","rtk-icon"].forEach((t=>{switch(t){case"rtk-file-dropzone":customElements.get(s(t))||customElements.define(s(t),l);break;case"rtk-icon":customElements.get(s(t))||p()}}))}d([n()],l.prototype,"iconPack",void 0),d([n()],l.prototype,"t",void 0),f();const b=l,h=f;export{b as RtkFileDropzone,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-0I1N5xHK.js";const p=o,r=s;export{p as RtkFileMessageView,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p-BjG7yuwj.js";const j=o,p=s;export{j as RtkFileMessage,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-BNjHUNwU.js";const p=o,r=s;export{p as RtkFilePickerButton,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p-DAq4FN_d.js";const p=o,r=s;export{p as RtkFullscreenToggle,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,h as i,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as e}from"./p-
|
|
1
|
+
import{p as t,H as r,h as i,d as a,t as s}from"./p-BBHQOrFK.js";import{e as o,i as e}from"./p-aXMUeMjU.js";import{S as n}from"./p-ByMjaTnP.js";import{d as c}from"./p-t72veIFj.js";import{d as h}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as p}from"./p-DHSRRtn3.js";var l=function(t,r,i,a){var s,o=arguments.length,e=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(e=(o<3?s(e):o>3?s(r,i,e):s(r,i))||e);return o>3&&e&&Object.defineProperty(r,i,e),e};const g=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="rounded",this.iconPack=o,this.t=e(),this.page=1,this.pageCount=0,this.activeCount=0,this.activeComputedCount=0,this.showPagination=!1,this.onPageChanged=({currentPage:t,pageCount:r})=>{this.pageCount=r,this.page=t},this.toggleGridPagination=c((()=>{var t;const{self:r,participants:i}=this.meeting,{mobile:a,desktop:s}=null===(t=r.config)||void 0===t?void 0:t.maxVideoStreams,o="sm"===this.size?a:s,e=i.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus)).length;this.showPagination=!(e<o)}),50),this.onParticipantJoin=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onParticipantLeave=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.onStateStatusUpdate=c((()=>{this.pageCount=this.meeting.participants.pageCount,this.toggleGridPagination()}),50),this.prevPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>1?t.setPage(this.page-=1):"PAGINATED"===t.viewMode&&t.setViewMode("ACTIVE_GRID")},this.nextPage=()=>{if(!this.meeting)return;const{participants:t}=this.meeting;this.page>0&&this.page<this.pageCount?t.setPage(this.page+=1):t.count>0&&0===this.pageCount&&t.setViewMode("PAGINATED")}}connectedCallback(){this.meetingChanged(this.meeting),this.sizeChanged()}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:r}=this.meeting;t.removeListener("pageChanged",this.onPageChanged),t.removeListener("viewModeChanged",this.onPageChanged),t.joined.removeListener("participantJoined",this.onParticipantJoin),t.joined.removeListener("participantLeft",this.onParticipantLeave),t.joined.removeListener("stageStatusUpdate",this.onStateStatusUpdate),r.removeListener("stageStatusUpdate",this.onStateStatusUpdate)}meetingChanged(t){if(null!=t){const{stage:r,participants:i}=t;this.page=i.currentPage,this.pageCount=i.pageCount,i.addListener("viewModeChanged",this.onPageChanged),i.addListener("pageChanged",this.onPageChanged),i.joined.addListener("participantJoined",this.onParticipantJoin),i.joined.addListener("participantLeft",this.onParticipantLeave),i.joined.addListener("stageStatusUpdate",this.onStateStatusUpdate),r.addListener("stageStatusUpdate",this.onStateStatusUpdate),this.activeCount=this.meeting.participants.joined.size,this.activeComputedCount=this.meeting.participants.joined.size,this.toggleGridPagination()}}sizeChanged(){this.toggleGridPagination()}render(){if(!this.meeting)return null;const{meta:t}=this.meeting;return"AUDIO_ROOM"!==(null==t?void 0:t.viewType)&&this.showPagination?i(a,null,i("rtk-button",{class:"prev",variant:"secondary",kind:"icon",disabled:0===this.pageCount,onClick:this.prevPage,"aria-label":this.t("page.prev")},i("rtk-icon",{icon:this.iconPack.chevron_left})),"grid"!==this.variant&&i("div",{class:"center"},i("span",{class:"page"},0===this.pageCount?i("rtk-tooltip",{label:this.t("layout.auto")},i("rtk-button",{kind:"icon",class:"auto"},i("rtk-icon",{icon:this.iconPack.wand}))):this.page),0!==this.pageCount&&[i("span",{class:"slash"},"/"),i("span",{class:"pages"},this.pageCount)]),"grid"===this.variant&&this.pageCount>0&&i("div",{class:"dots"},[...Array(this.pageCount)].map(((t,r)=>i("div",{key:"dot-"+r,class:{dot:!0,active:r+1===this.page}})))),i("rtk-button",{class:"next",variant:"secondary",kind:"icon",disabled:0!==this.page&&this.page===this.pageCount,onClick:this.nextPage,"aria-label":this.t("page.next")},i("rtk-icon",{icon:this.iconPack.chevron_right,tabIndex:-1,"aria-hidden":!0}))):i(a,{"data-hidden":!0})}static get watchers(){return{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}}static get style(){return":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;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;font-size:16px}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}:host([size='sm']) .center{margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px)}:host([size='sm']) rtk-button{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px)}:host([size='sm']) rtk-button rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}rtk-button{--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)}.center{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.center .page{color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.center .slash{margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-0\\.5, 2px)}.center .pages{align-self:flex-end;font-size:12px}:host([variant='rounded']){overflow:hidden;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button{border-radius:9999px;border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='rounded']) rtk-button:not([disabled]):hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='rounded']) rtk-button:not([disabled]):focus{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}:host([variant='grid']) rtk-button{position:absolute;top:50%;height:var(--rtk-space-20, 80px);width:var(--rtk-space-20, 80px);opacity:0.2;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}:host([variant='grid']) rtk-button:hover{opacity:1}:host([variant='grid']) rtk-button{transform:translateY(-50%)}:host([variant='grid']) rtk-button.prev{left:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) rtk-button.next{right:var(--rtk-space-0, 0px);border-top-left-radius:9999px;border-bottom-left-radius:9999px}:host([variant='grid']) rtk-button.auto{left:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);border-top-right-radius:9999px;border-bottom-right-radius:9999px}:host([variant='grid']) .dots{position:absolute;left:50%;bottom:var(--rtk-space-3, 12px);display:flex;align-items:center;transform:translateX(-50%)}:host([variant='grid']) .dots .dot{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-2, 8px);width:var(--rtk-space-2, 8px);cursor:pointer;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([variant='grid']) .dots .dot:last-child{margin-right:var(--rtk-space-0, 0px)}:host([variant='grid']) .dots .dot.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host([variant='grid'][size='sm']) rtk-button{height:var(--rtk-space-14, 56px);width:var(--rtk-space-14, 56px);opacity:0.1}"}},[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]},void 0,{meeting:[{meetingChanged:0}],size:[{sizeChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-grid-pagination","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-grid-pagination":customElements.get(s(t))||customElements.define(s(t),g);break;case"rtk-button":customElements.get(s(t))||h();break;case"rtk-icon":customElements.get(s(t))||d();break;case"rtk-tooltip":customElements.get(s(t))||p()}}))}l([n()],g.prototype,"meeting",void 0),l([n()],g.prototype,"states",void 0),l([n()],g.prototype,"iconPack",void 0),l([n()],g.prototype,"t",void 0),u();const b=g,k=u;export{b as RtkGridPagination,k as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as i,c as s,h as e,d as r,t as a}from"./p-BBHQOrFK.js";import{c as n,e as o,i as h}from"./p-D4GSX-co.js";import{d as p}from"./p-t72veIFj.js";import{R as c}from"./p-CBJjerDR.js";import{a as l}from"./p-C0vp-Q7v.js";import{S as d}from"./p-C8uVSyiQ.js";import{d as g}from"./p-CmmyVCoN.js";import{d as m}from"./p-D6vw6bT2.js";import{d as v}from"./p-B8oiDtR2.js";import{d as u}from"./p-BrckmZjB.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as k}from"./p-D5_4BJmf.js";import{d as x}from"./p-CQTewof6.js";import{d as b}from"./p-CMjUxdV6.js";import{d as S}from"./p-Ce9i2yF0.js";var y=function(t,i,s,e){var r,a=arguments.length,n=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(i,s,n):r(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const C=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=h(),this.gridSize=g,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.refreshParticipants=p((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=l(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.refreshParticipants.cancel(),this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:r}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==r||r.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.refreshParticipants),e.active.removeListener("participantJoined",this.refreshParticipants),e.active.removeListener("participantsUpdate",this.refreshParticipants),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,r,a;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:n,plugins:o,stage:h}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...n.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...n.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=n.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==o?void 0:o.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==h||h.addListener("stageStatusUpdate",this.stageStatusListener),null==o||o.all.addListener("stateUpdate",this.onPluginStateUpdate),n.addListener("viewModeChanged",this.onViewModeChanged),n.active.addListener("participantLeft",this.refreshParticipants),null===(r=null==n?void 0:n.joined)||void 0===r||r.on("stageStatusUpdate",this.peerStageStatusListener),n.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),n.active.addListener("participantJoined",this.refreshParticipants),n.active.addListener("participantsUpdate",this.refreshParticipants),n.pinned.addListener("participantJoined",this.onParticipantPinned),n.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(a=t.stage)||void 0===a?void 0:a.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),...!["ACTIVE_GRID","MANUAL"].includes(s.viewMode)||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,s,a;const n={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),e("h3",null,this.t("disconnected")),e("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const n=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(s=null==n?void 0:n.send)||void 0===s?void 0:s.state)||"connected"!==(null===(a=null==n?void 0:n.recv)||void 0===a?void 0:a.state))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("offline")),e("p",null,this.t("offline.description"))))}return"failed"===this.roomState?e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("failed")),e("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?e(r,null,e("rtk-livestream-player",{meeting:this.meeting,size:this.size}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?e(r,null,e("div",{class:"webinar-stage"},e("div",{class:"center"},this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_host")),e("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):e(r,null,e(c,{element:"rtk-grid",defaults:n,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}static get style(){return":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:block;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}"}},[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]},void 0,{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}]);function w(){"undefined"!=typeof customElements&&["rtk-grid","rtk-button","rtk-controlbar-button","rtk-fullscreen-toggle","rtk-icon","rtk-livestream-indicator","rtk-livestream-player","rtk-spinner","rtk-viewer-count"].forEach((t=>{switch(t){case"rtk-grid":customElements.get(a(t))||customElements.define(a(t),C);break;case"rtk-button":customElements.get(a(t))||m();break;case"rtk-controlbar-button":customElements.get(a(t))||v();break;case"rtk-fullscreen-toggle":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-livestream-indicator":customElements.get(a(t))||k();break;case"rtk-livestream-player":customElements.get(a(t))||x();break;case"rtk-spinner":customElements.get(a(t))||b();break;case"rtk-viewer-count":customElements.get(a(t))||S()}}))}y([d()],C.prototype,"meeting",void 0),y([d()],C.prototype,"states",void 0),y([d()],C.prototype,"config",void 0),y([d()],C.prototype,"iconPack",void 0),y([d()],C.prototype,"t",void 0),w();const j=C,P=w;export{j as RtkGrid,P as defineCustomElement}
|
|
1
|
+
import{p as t,H as i,c as s,h as e,d as r,t as a}from"./p-BBHQOrFK.js";import{c as n,e as o,i as h}from"./p-aXMUeMjU.js";import{d as p}from"./p-t72veIFj.js";import{R as c}from"./p-CBJjerDR.js";import{a as d}from"./p-C0vp-Q7v.js";import{S as l}from"./p-ByMjaTnP.js";import{d as g}from"./p-CmmyVCoN.js";import{d as m}from"./p-D6vw6bT2.js";import{d as v}from"./p-BC__OeWi.js";import{d as u}from"./p-DAq4FN_d.js";import{d as f}from"./p-BYIBbfJ8.js";import{d as k}from"./p-CjOKLEdP.js";import{d as x}from"./p-D9cHynev.js";import{d as b}from"./p-Bc2jtNZw.js";import{d as S}from"./p-uxGiMP6W.js";var y=function(t,i,s,e){var r,a=arguments.length,n=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(a<3?r(n):a>3?r(i,s,n):r(i,s))||n);return a>3&&n&&Object.defineProperty(i,s,n),n};const C=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.hideSelf=!1,this.participants=[],this.pinnedParticipants=[],this.screenShareParticipants=[],this.plugins=[],this.emptyStage=!1,this.showLiveStreamPlayer=!1,this.canCurrentPeerHost=!1,this.pipSupported=!1,this.pipEnabled=!1,this.hidden=!1,this.layout="row",this.aspectRatio="16:9",this.gap=8,this.config=n(),this.iconPack=o,this.t=h(),this.gridSize=g,this.overrides={},this.invalidRoomStates=["init","waitlisted","ended","kicked","rejected"],this.filterParticipants=t=>{var i;if(this.overrides&&(null===(i=this.overrides)||void 0===i?void 0:i.videoUnsubscribed)){const i=this.overrides.videoUnsubscribed.preset;i.length>0&&(t=t.filter((t=>!i.some((i=>void 0!==t.presetName&&t.presetName.match(i))))))}return t},this.onViewModeChanged=()=>{this.meeting&&this.updateActiveParticipants()},this.refreshParticipants=p((()=>{this.updateActiveParticipants()}),50),this.stageStatusListener=()=>{this.updateActiveParticipants(),this.showLiveStreamPlayer=d(this.meeting),"ON_STAGE"!==this.meeting.stage.status&&this.removeScreenShare(this.meeting.self)},this.peerStageStatusListener=t=>{this.updateActiveParticipants(),"ON_STAGE"!==this.meeting.stage.status&&(this.removePinned(t),this.removeScreenShare(t))},this.onScreenShareUpdate=t=>{t.screenShareEnabled?this.addScreenShare(t):this.removeScreenShare(t)},this.onSelfScreenShareUpdate=({screenShareEnabled:t})=>{t?this.addScreenShare(this.meeting.self):this.removeScreenShare(this.meeting.self)},this.toggleTileListener=({hidden:t})=>{this.hidden=t,this.updateActiveParticipants()},this.onPluginStateUpdate=(t,{active:i})=>{i?this.plugins.some((i=>i.id===t.id))||(this.plugins=[...this.plugins,t]):this.plugins=this.plugins.filter((i=>i.id!==t.id))},this.onParticipantPinned=()=>{this.updateActiveParticipants()},this.onParticipantUnpinned=()=>{this.updateActiveParticipants()},this.updateRoomStateListener=()=>{this.roomState=this.meeting.self.roomState}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting(this.meeting)}disconnectMeeting(t){var i;if(!t)return;this.refreshParticipants.cancel(),this.participants=[],this.plugins=[];const{self:s,participants:e,plugins:r}=t;s.removeListener("pinned",this.onParticipantPinned),s.removeListener("unpinned",this.onParticipantUnpinned),s.removeListener("roomLeft",this.updateRoomStateListener),s.removeListener("roomJoined",this.updateRoomStateListener),s.removeListener("screenShareUpdate",this.onSelfScreenShareUpdate),s.removeListener("toggleTile",this.toggleTileListener),null==r||r.all.removeListener("stateUpdate",this.onPluginStateUpdate),null===(i=t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.stageStatusListener),e.removeListener("viewModeChanged",this.onViewModeChanged),e.active.removeListener("participantLeft",this.refreshParticipants),e.active.removeListener("participantJoined",this.refreshParticipants),e.active.removeListener("participantsUpdate",this.refreshParticipants),e.pinned.removeListener("participantJoined",this.onParticipantPinned),e.pinned.removeListener("participantLeft",this.onParticipantUnpinned),e.joined.removeListener("screenShareUpdate",this.onScreenShareUpdate),e.joined.removeListener("stageStatusUpdate",this.peerStageStatusListener)}meetingChanged(t,i){var s,e,r,a;if(null!==i&&this.disconnectMeeting(i),null!=t){const{self:i,participants:n,plugins:o,stage:h}=t;this.pipSupported=(null===(s=this.meeting.participants.pip)||void 0===s?void 0:s.isSupported())&&(null===(e=t.self.config)||void 0===e?void 0:e.pipMode),this.pipSupported&&this.meeting.participants.pip.init();const{permissions:p}=i;this.roomState=i.roomState,this.hideSelf="ON_STAGE"!==this.meeting.stage.status||(null==p?void 0:p.isRecorder)||p.hiddenParticipant,this.participants=this.filterParticipants([...n.active.toArray(),...i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...n.pinned.toArray(),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=n.joined.toArray().filter((t=>t.screenShareEnabled)),this.plugins=(null==o?void 0:o.active.toArray())||[],(null==p?void 0:p.stageEnabled)&&(this.canCurrentPeerHost=p.acceptStageRequests||"ALLOWED"===p.canProduceAudio||"ALLOWED"===p.canProduceVideo||"ALLOWED"===p.canProduceScreenshare,this.updateStage()),this.hidden=t.self.hidden,i.addListener("roomLeft",this.updateRoomStateListener),i.addListener("roomJoined",this.updateRoomStateListener),i.addListener("screenShareUpdate",this.onSelfScreenShareUpdate),i.addListener("pinned",this.onParticipantPinned),i.addListener("unpinned",this.onParticipantUnpinned),i.addListener("toggleTile",this.toggleTileListener),null==h||h.addListener("stageStatusUpdate",this.stageStatusListener),null==o||o.all.addListener("stateUpdate",this.onPluginStateUpdate),n.addListener("viewModeChanged",this.onViewModeChanged),n.active.addListener("participantLeft",this.refreshParticipants),null===(r=null==n?void 0:n.joined)||void 0===r||r.on("stageStatusUpdate",this.peerStageStatusListener),n.joined.addListener("screenShareUpdate",this.onScreenShareUpdate),n.active.addListener("participantJoined",this.refreshParticipants),n.active.addListener("participantsUpdate",this.refreshParticipants),n.pinned.addListener("participantJoined",this.onParticipantPinned),n.pinned.addListener("participantLeft",this.onParticipantUnpinned),(null===(a=t.stage)||void 0===a?void 0:a.status)&&this.stageStatusListener()}}overridesChanged(t){this.updateActiveParticipants()}screenShareParticipantsChanged(t){const i=t.length>0;!!this.states.activeScreenShare!==i&&(this.stateUpdate.emit({activeScreenShare:i}),this.states.activeScreenShare=i)}pluginsChanged(t){const i=t.length>0;!!this.states.activePlugin!==i&&(this.stateUpdate.emit({activePlugin:i}),this.states.activePlugin=i)}pinnedParticipantsChanged(t){const i=t.length>0;!!this.states.activeSpotlight!==i&&(this.stateUpdate.emit({activeSpotlight:i}),this.states.activeSpotlight=i)}updateActiveParticipants(){var t;const{self:i,participants:s,stage:e}=this.meeting;this.hideSelf=this.hidden||"ON_STAGE"!==e.status||(null===(t=i.permissions)||void 0===t?void 0:t.isRecorder)||i.permissions.hiddenParticipant,this.participants=this.filterParticipants([...s.active.toArray().filter((t=>t.id!==i.id)),...!["ACTIVE_GRID","MANUAL"].includes(s.viewMode)||i.isPinned||this.hideSelf?[]:[i]]),this.pinnedParticipants=[...s.pinned.toArray().filter((t=>t.id!==i.id)),...i.isPinned&&!this.hideSelf?[i]:[]],this.screenShareParticipants=s.joined.toArray().filter((t=>t.screenShareEnabled)),i.screenShareEnabled&&(this.screenShareParticipants=this.screenShareParticipants.concat([i])),this.updateStage()}updateStage(){var t;const{self:i}=this.meeting;this.meeting&&(this.emptyStage=!!(null===(t=null==i?void 0:i.permissions)||void 0===t?void 0:t.stageEnabled)&&0===this.participants.length&&0===this.pinnedParticipants.length)}addScreenShare(t){this.screenShareParticipants.some((i=>i.id===t.id))||(this.screenShareParticipants=[...this.screenShareParticipants,t])}removeScreenShare(t){this.screenShareParticipants=this.screenShareParticipants.filter((i=>i.id!==t.id))}removePinned(t){this.pinnedParticipants=this.pinnedParticipants.filter((i=>i.id!==t.id))}render(){var t,i,s,a;const n={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};if(this.invalidRoomStates.includes(this.roomState))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.join_stage,size:"xl"}),e("h3",null,this.t("disconnected")),e("p",null,this.t("disconnected.description"))));if("disconnected"===this.roomState){const n=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState;if("connected"!==(null===(s=null==n?void 0:n.send)||void 0===s?void 0:s.state)||"connected"!==(null===(a=null==n?void 0:n.recv)||void 0===a?void 0:a.state))return e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("offline")),e("p",null,this.t("offline.description"))))}return"failed"===this.roomState?e(r,null,e("div",{class:"offline-grid"},e("rtk-icon",{icon:this.iconPack.disconnected,size:"xl"}),e("h3",null,this.t("failed")),e("p",null,this.t("failed.description")))):this.showLiveStreamPlayer?e(r,null,e("rtk-livestream-player",{meeting:this.meeting,size:this.size}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t})):this.emptyStage?e(r,null,e("div",{class:"webinar-stage"},e("div",{class:"center"},this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_host")),e("span",{class:"description",part:"description"},this.t("stage.empty_host_summary"))),!this.canCurrentPeerHost&&e("div",{class:"ctr",part:"container"},e("p",{class:"message",part:"message"},this.t("stage.empty_viewer")))))):e(r,null,e(c,{element:"rtk-grid",defaults:n,childProps:{participants:this.participants,screenShareParticipants:this.screenShareParticipants,plugins:this.plugins,pinnedParticipants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,layout:this.layout,gridSize:this.gridSize},onlyChildren:!0}),e("rtk-livestream-indicator",{meeting:this.meeting,size:"sm",t:this.t}),e("rtk-viewer-count",{meeting:this.meeting,variant:"embedded",t:this.t}))}static get watchers(){return{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}}static get style(){return":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:block;height:100%;width:100%}.offline-grid{display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}.offline-grid h3{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);font-size:20px;font-weight:500;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}.offline-grid p{margin-top:var(--rtk-space-1, 4px);margin-bottom:var(--rtk-space-1, 4px);margin-left:var(--rtk-space-0, 0px);margin-right:var(--rtk-space-0, 0px);text-align:center;font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.offline-grid rtk-icon{margin-bottom:var(--rtk-space-2, 8px)}.webinar-stage{box-sizing:border-box;height:100%;display:flex;align-content:center;align-items:center;justify-content:center;text-align:center}.webinar-stage h2{margin:var(--rtk-space-0, 0px);font-weight:normal}rtk-viewer-count{display:none}.ctr{display:flex;flex-direction:column;align-items:center}.message{font-size:16px;border-radius:var(--rtk-border-radius-lg, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding-left:var(--rtk-space-8, 32px);padding-right:var(--rtk-space-8, 32px);padding-top:var(--rtk-space-4, 16px);padding-bottom:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.description{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);font-size:14px}rtk-livestream-indicator{display:none}@media only screen and (max-device-height: 480px) and (orientation: landscape){rtk-viewer-count[variant='embedded']{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}rtk-livestream-indicator{position:absolute;top:var(--rtk-space-0, 0px);left:var(--rtk-space-2, 8px);z-index:20;margin-top:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0, 0px);display:flex}}"}},[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]},void 0,{meeting:[{meetingChanged:0}],overrides:[{overridesChanged:0}],screenShareParticipants:[{screenShareParticipantsChanged:0}],plugins:[{pluginsChanged:0}],pinnedParticipants:[{pinnedParticipantsChanged:0}]}]);function j(){"undefined"!=typeof customElements&&["rtk-grid","rtk-button","rtk-controlbar-button","rtk-fullscreen-toggle","rtk-icon","rtk-livestream-indicator","rtk-livestream-player","rtk-spinner","rtk-viewer-count"].forEach((t=>{switch(t){case"rtk-grid":customElements.get(a(t))||customElements.define(a(t),C);break;case"rtk-button":customElements.get(a(t))||m();break;case"rtk-controlbar-button":customElements.get(a(t))||v();break;case"rtk-fullscreen-toggle":customElements.get(a(t))||u();break;case"rtk-icon":customElements.get(a(t))||f();break;case"rtk-livestream-indicator":customElements.get(a(t))||k();break;case"rtk-livestream-player":customElements.get(a(t))||x();break;case"rtk-spinner":customElements.get(a(t))||b();break;case"rtk-viewer-count":customElements.get(a(t))||S()}}))}y([l()],C.prototype,"meeting",void 0),y([l()],C.prototype,"states",void 0),y([l()],C.prototype,"config",void 0),y([l()],C.prototype,"iconPack",void 0),y([l()],C.prototype,"t",void 0),j();const w=C,P=j;export{w as RtkGrid,P as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import{c as
|
|
1
|
+
import{p as t,H as e,h as a,d as i,t as s}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import{c as n,e as r,i as o}from"./p-aXMUeMjU.js";import"./p-C0vp-Q7v.js";import"./p-Bs5Z4Y29.js";import{R as c}from"./p-CBJjerDR.js";import{S as d}from"./p-ByMjaTnP.js";var p=function(t,e,a,i){var s,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,a,i);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(n<3?s(r):n>3?s(e,a,r):s(e,a))||r);return n>3&&r&&Object.defineProperty(e,a,r),r};const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="solid",this.disableRender=!1,this.config=n(),this.iconPack=r,this.t=o()}render(){return a(i,{key:"a323f95dac8cde8fdb77b1ecb0950402b7d418bb"},!this.disableRender&&a(c,{key:"a7beb145a76f2f879af3f54c9ec08317865b17d2",element:"rtk-header",defaults:{meeting:this.meeting,config:this.config,states:this.states,t:this.t,iconPack:this.iconPack,size:this.size},onlyChildren:!0}),a("slot",{key:"5bee25d9949611736d9c772e438314655ab8ae58"}))}static get style(){return":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-12, 48px);align-items:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}@media only screen and (max-device-height: 480px) and (orientation: landscape){:host{display:none !important}}@media only screen and (max-height: 480px) and (orientation: landscape){:host{display:none !important}}"}},[257,"rtk-header",{variant:[513],disableRender:[4,"disable-render"],meeting:[16],config:[16],states:[16],iconPack:[16],t:[16],size:[513]}]);function f(){"undefined"!=typeof customElements&&["rtk-header"].forEach((t=>{"rtk-header"===t&&(customElements.get(s(t))||customElements.define(s(t),l))}))}p([d()],l.prototype,"meeting",void 0),p([d()],l.prototype,"config",void 0),p([d()],l.prototype,"states",void 0),p([d()],l.prototype,"iconPack",void 0),p([d()],l.prototype,"t",void 0),f();const m=l,h=f;export{m as RtkHeader,h as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as r,d as o,t as a}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import{c as i,e as n,i as s}from"./p-
|
|
1
|
+
import{p as t,H as e,h as r,d as o,t as a}from"./p-BBHQOrFK.js";import"./p-Rq_6y0HI.js";import{c as i,e as n,i as s}from"./p-aXMUeMjU.js";import"./p-C0vp-Q7v.js";import"./p-Bs5Z4Y29.js";import{S as c}from"./p-ByMjaTnP.js";import{d as l}from"./p-BYIBbfJ8.js";import{d}from"./p-CHSH0L_g.js";import{d as p}from"./p-Bc2jtNZw.js";var g=function(t,e,r,o){var a,i=arguments.length,n=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(n=(i<3?a(n):i>3?a(e,r,n):a(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=i(),this.iconPack=n,this.t=s(),this.socketStateUpdate=({state:t})=>{var e;this.connectionState=t,"connected"===t&&((null===(e=this.states)||void 0===e?void 0:e.preJoinError)||(this.preJoinError=void 0))}}connectedCallback(){this.meetingChanged(this.meeting,void 0),this.statesChanged(this.states)}disconnectedCallback(){var t,e;null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("socketConnectionUpdate",this.socketStateUpdate)}meetingChanged(t,e){var r,o,a,i;null===(r=null==e?void 0:e.meta)||void 0===r||r.removeListener("socketConnectionUpdate",this.socketStateUpdate),t&&(this.connectionState=null===(a=null===(o=t.meta)||void 0===o?void 0:o.socketState)||void 0===a?void 0:a.state,null===(i=t.meta)||void 0===i||i.addListener("socketConnectionUpdate",this.socketStateUpdate))}statesChanged(t){this.preJoinError=null==t?void 0:t.preJoinError}render(){var t,e;const a=null===(t=this.preJoinError)||void 0===t?void 0:t.message,i=null===(e=this.preJoinError)||void 0===e?void 0:e.code,n=!!this.connectionState&&"connected"!==this.connectionState&&!a,s=a||this.t("failed"===this.connectionState?"network.lost_extended":"network.lost");return r(o,{key:"5fbe382c783b15c48e8eeed8bed062e6a80bffca"},r("slot",{key:"45e242986aad838894c2f27292f163d62367398c"},r("div",{key:"7d67aec81786055ece1ab723628a8d574497a89a",class:"ctr",part:"container"},r("rtk-logo",{key:"4619a800a8a28678d7872a0c246a92d1a08ec359",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),a||n?r("div",{class:"error-state"},r("div",{class:"no-network-badge",part:"network-badge",role:"alert"},r("rtk-icon",{size:"md",variant:"danger",icon:this.iconPack.disconnected,part:"network-badge-icon"}),s),this.meeting&&a&&r("a",{class:"troubleshoot-link",href:"https://test.realtime.cloudflare.com?authToken="+this.meeting.__internals__.authToken,target:"_blank",rel:"noopener noreferrer"},this.t("network.troubleshoot")),i&&r("span",{class:"error-code",part:"error-code"},this.t("join.error_code"),": ",i)):r("rtk-spinner",{"aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}}static get style(){return":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{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ctr{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-8, 32px)}.no-network-badge{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:row;align-items:center;justify-content:flex-start;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));background-color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.1);padding-top:var(--rtk-space-1, 4px);padding-bottom:var(--rtk-space-1, 4px);font-size:12px;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.75)}.no-network-badge rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px)}.error-state{display:flex;width:100%;flex-direction:column;align-items:center}.troubleshoot-link{margin-top:var(--rtk-space-1, 4px);font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-400, 53 110 253) / var(--tw-text-opacity));text-decoration-line:underline;text-underline-offset:2px}.troubleshoot-link:hover{--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}.error-code{margin-top:var(--rtk-space-1, 4px);font-size:10px;color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}rtk-logo.loaded{height:var(--rtk-space-12, 48px)}rtk-spinner{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-text-opacity))}"}},[257,"rtk-idle-screen",{meeting:[16],states:[16],config:[16],iconPack:[16],t:[16],preJoinError:[32],connectionState:[32]},void 0,{meeting:[{meetingChanged:0}],states:[{statesChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-idle-screen","rtk-icon","rtk-logo","rtk-spinner"].forEach((t=>{switch(t){case"rtk-idle-screen":customElements.get(a(t))||customElements.define(a(t),k);break;case"rtk-icon":customElements.get(a(t))||l();break;case"rtk-logo":customElements.get(a(t))||d();break;case"rtk-spinner":customElements.get(a(t))||p()}}))}g([c()],k.prototype,"meeting",void 0),g([c()],k.prototype,"states",void 0),g([c()],k.prototype,"config",void 0),g([c()],k.prototype,"iconPack",void 0),g([c()],k.prototype,"t",void 0),v();const h=k,m=v;export{h as RtkIdleScreen,m as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as
|
|
1
|
+
import{R as o,d as s}from"./p-Be6GRqFL.js";const p=o,r=s;export{p as RtkImageMessageView,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as o,d as s}from"./p-
|
|
1
|
+
import{R as o,d as s}from"./p-Dc5xkFI9.js";const p=o,r=s;export{p as RtkImageMessage,r as defineCustomElement}
|