@cloudflare/realtimekit-ui 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -0
- package/dist/browser.js +1 -0
- package/dist/cjs/ChatHead-d2f094ec.js +46 -0
- package/dist/cjs/ResizeObserver.es-ba961f16.js +930 -0
- package/dist/cjs/TextMessage-5e193665.js +69 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/chat-926e8f05.js +217 -0
- package/dist/cjs/clone-2e9a4cae.js +754 -0
- package/dist/cjs/config-10bea2dc.js +1183 -0
- package/dist/cjs/debounce-6080cc73.js +544 -0
- package/dist/cjs/debounce-6dabb441.js +331 -0
- package/dist/cjs/file-33e9ed90.js +61 -0
- package/dist/cjs/floating-ui.dom.esm-c3c35b98.js +1900 -0
- package/dist/cjs/full-screen-de3e9caf.js +55 -0
- package/dist/cjs/grid-edc342a7.js +99 -0
- package/dist/cjs/hark-c97d0a59.js +301 -0
- package/dist/cjs/index-05554ce6.js +2191 -0
- package/dist/cjs/index-821d14b7.js +227 -0
- package/dist/cjs/index-e33a89b6.js +26 -0
- package/dist/cjs/index.cjs.js +267 -0
- package/dist/cjs/isObjectLike-73d13a39.js +171 -0
- package/dist/cjs/keysIn-8bdbe83d.js +1438 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/notification-a3fb0b56.js +39 -0
- package/dist/cjs/realtimekit-ui.cjs.js +25 -0
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +76 -0
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +138 -0
- package/dist/cjs/rtk-ai.cjs.entry.js +91 -0
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +116 -0
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +130 -0
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +501 -0
- package/dist/cjs/rtk-avatar_54.cjs.entry.js +6377 -0
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +86 -0
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +281 -0
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +186 -0
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +84 -0
- package/dist/cjs/rtk-channel-selector-ui.cjs.entry.js +147 -0
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +315 -0
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +78 -0
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +138 -0
- package/dist/cjs/rtk-clock.cjs.entry.js +98 -0
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +49 -0
- package/dist/cjs/rtk-controlbar.cjs.entry.js +66 -0
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +61 -0
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +109 -0
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +60 -0
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +86 -0
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +159 -0
- package/dist/cjs/rtk-grid.cjs.entry.js +362 -0
- package/dist/cjs/rtk-header.cjs.entry.js +66 -0
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +47 -0
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +62 -0
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +37 -0
- package/dist/cjs/rtk-leave-button.cjs.entry.js +52 -0
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +29148 -0
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +142 -0
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +49 -0
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +285 -0
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +184 -0
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +226 -0
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +77 -0
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +79 -0
- package/dist/cjs/rtk-name-tag.cjs.entry.js +72 -0
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +86 -0
- package/dist/cjs/rtk-participant-count.cjs.entry.js +91 -0
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +118 -0
- package/dist/cjs/rtk-participant_2.cjs.entry.js +419 -0
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +207 -0
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +466 -0
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +150 -0
- package/dist/cjs/rtk-participants.cjs.entry.js +190 -0
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +88 -0
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +196 -0
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +106 -0
- package/dist/cjs/rtk-plugins_2.cjs.entry.js +181 -0
- package/dist/cjs/rtk-poll_2.cjs.entry.js +142 -0
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +117 -0
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +70 -0
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +162 -0
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +265 -0
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +149 -0
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +150 -0
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +57 -0
- package/dist/cjs/rtk-settings.cjs.entry.js +124 -0
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +120 -0
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +80 -0
- package/dist/cjs/rtk-sidebar.cjs.entry.js +151 -0
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +118 -0
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +107 -0
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +85 -0
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +147 -0
- package/dist/cjs/rtk-stage.cjs.entry.js +43 -0
- package/dist/cjs/rtk-transcript.cjs.entry.js +58 -0
- package/dist/cjs/rtk-transcripts.cjs.entry.js +167 -0
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +168 -0
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +47 -0
- package/dist/cjs/scroll-c6404609.js +15 -0
- package/dist/cjs/sidebar-7189b8fd.js +50 -0
- package/dist/cjs/size-2a406e36.js +28 -0
- package/dist/cjs/string-a410fab6.js +64 -0
- package/dist/cjs/ui-store-81ede08e.js +1608 -0
- package/dist/collection/collection-manifest.json +149 -0
- package/dist/collection/components/rtk-ai/rtk-ai.css +69 -0
- package/dist/collection/components/rtk-ai/rtk-ai.js +292 -0
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.css +8 -0
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +257 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.css +139 -0
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +221 -0
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.css +102 -0
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +292 -0
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.css +118 -0
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +308 -0
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.css +46 -0
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +324 -0
- package/dist/collection/components/rtk-avatar/rtk-avatar.css +117 -0
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +202 -0
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.css +272 -0
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +509 -0
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.css +269 -0
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +305 -0
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.css +17 -0
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +273 -0
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.css +379 -0
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +481 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.css +111 -0
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +198 -0
- package/dist/collection/components/rtk-button/rtk-button.css +185 -0
- package/dist/collection/components/rtk-button/rtk-button.js +198 -0
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.css +146 -0
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +263 -0
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.css +22 -0
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +350 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.css +17 -0
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +289 -0
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.css +210 -0
- package/dist/collection/components/rtk-channel-creator/rtk-channel-creator.js +287 -0
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.css +93 -0
- package/dist/collection/components/rtk-channel-details/rtk-channel-details.js +148 -0
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.css +99 -0
- package/dist/collection/components/rtk-channel-header/rtk-channel-header.js +255 -0
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.css +330 -0
- package/dist/collection/components/rtk-channel-selector-ui/rtk-channel-selector-ui.js +283 -0
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.css +306 -0
- package/dist/collection/components/rtk-channel-selector-view/rtk-channel-selector-view.js +341 -0
- package/dist/collection/components/rtk-chat/components/ChatHead.js +6 -0
- package/dist/collection/components/rtk-chat/rtk-chat.css +224 -0
- package/dist/collection/components/rtk-chat/rtk-chat.js +866 -0
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.css +304 -0
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +583 -0
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.css +111 -0
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +535 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.css +428 -0
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +569 -0
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.css +191 -0
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +420 -0
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.css +7 -0
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +465 -0
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.css +22 -0
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +170 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.css +219 -0
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +245 -0
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.css +65 -0
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +338 -0
- package/dist/collection/components/rtk-clock/rtk-clock.css +46 -0
- package/dist/collection/components/rtk-clock/rtk-clock.js +163 -0
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.css +68 -0
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +198 -0
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.css +32 -0
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +259 -0
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.css +188 -0
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +248 -0
- package/dist/collection/components/rtk-counter/rtk-counter.css +64 -0
- package/dist/collection/components/rtk-counter/rtk-counter.js +219 -0
- package/dist/collection/components/rtk-debugger/rtk-debugger.css +262 -0
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +271 -0
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.css +180 -0
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +294 -0
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.css +175 -0
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +339 -0
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.css +176 -0
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +260 -0
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.css +17 -0
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +234 -0
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.css +180 -0
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +306 -0
- package/dist/collection/components/rtk-dialog/rtk-dialog.css +47 -0
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +322 -0
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.css +17 -0
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +343 -0
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.css +81 -0
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +180 -0
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.css +141 -0
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +192 -0
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.css +3 -0
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +113 -0
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.css +80 -0
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +270 -0
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.css +20 -0
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +162 -0
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +186 -0
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.css +76 -0
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +127 -0
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.css +3 -0
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +206 -0
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.css +22 -0
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +268 -0
- package/dist/collection/components/rtk-grid/rtk-grid.css +122 -0
- package/dist/collection/components/rtk-grid/rtk-grid.js +678 -0
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.css +174 -0
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +327 -0
- package/dist/collection/components/rtk-header/rtk-header.css +35 -0
- package/dist/collection/components/rtk-header/rtk-header.js +259 -0
- package/dist/collection/components/rtk-icon/rtk-icon.css +73 -0
- package/dist/collection/components/rtk-icon/rtk-icon.js +124 -0
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.css +40 -0
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +152 -0
- package/dist/collection/components/rtk-image-message/rtk-image-message.css +21 -0
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +235 -0
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.css +117 -0
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +152 -0
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.css +99 -0
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +183 -0
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.css +41 -0
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +65 -0
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.css +131 -0
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +310 -0
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.css +17 -0
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +182 -0
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.css +75 -0
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +239 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.css +65 -0
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +180 -0
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.css +177 -0
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +485 -0
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.css +22 -0
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +315 -0
- package/dist/collection/components/rtk-logo/rtk-logo.css +34 -0
- package/dist/collection/components/rtk-logo/rtk-logo.js +177 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +44 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +136 -0
- package/dist/collection/components/rtk-meeting/rtk-meeting.css +43 -0
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +520 -0
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.css +38 -0
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +128 -0
- package/dist/collection/components/rtk-menu/rtk-menu.css +25 -0
- package/dist/collection/components/rtk-menu/rtk-menu.js +217 -0
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.css +46 -0
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +130 -0
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.css +30 -0
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +100 -0
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.css +68 -0
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +439 -0
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +169 -0
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +283 -0
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.css +27 -0
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +348 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.css +146 -0
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +276 -0
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.css +257 -0
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +577 -0
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.css +61 -0
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +210 -0
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.css +17 -0
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +237 -0
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.css +74 -0
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +185 -0
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.css +55 -0
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +253 -0
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.css +68 -0
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +213 -0
- package/dist/collection/components/rtk-notification/rtk-notification.css +161 -0
- package/dist/collection/components/rtk-notification/rtk-notification.js +226 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.css +30 -0
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +736 -0
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.css +41 -0
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +181 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +337 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +591 -0
- package/dist/collection/components/rtk-participant/rtk-participant.css +91 -0
- package/dist/collection/components/rtk-participant/rtk-participant.js +503 -0
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.css +42 -0
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +205 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.css +111 -0
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +338 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.css +283 -0
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +464 -0
- package/dist/collection/components/rtk-participants/rtk-participants.css +127 -0
- package/dist/collection/components/rtk-participants/rtk-participants.js +404 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.css +46 -0
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +282 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.css +61 -0
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +364 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.css +116 -0
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +285 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.css +50 -0
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +348 -0
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.css +58 -0
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +326 -0
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.css +107 -0
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +263 -0
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.css +110 -0
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +325 -0
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.css +22 -0
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +293 -0
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.css +89 -0
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +232 -0
- package/dist/collection/components/rtk-plugins/rtk-plugins.css +105 -0
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +251 -0
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.css +22 -0
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +301 -0
- package/dist/collection/components/rtk-poll/rtk-poll.css +153 -0
- package/dist/collection/components/rtk-poll/rtk-poll.js +202 -0
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.css +121 -0
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +175 -0
- package/dist/collection/components/rtk-polls/rtk-polls.css +69 -0
- package/dist/collection/components/rtk-polls/rtk-polls.js +242 -0
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.css +51 -0
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +315 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.css +63 -0
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +184 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.css +17 -0
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +342 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.css +22 -0
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +469 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.css +294 -0
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +394 -0
- package/dist/collection/components/rtk-settings/rtk-settings.css +241 -0
- package/dist/collection/components/rtk-settings/rtk-settings.js +286 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.css +59 -0
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +230 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.css +17 -0
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +216 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.css +135 -0
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +256 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.css +175 -0
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +309 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.css +65 -0
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +417 -0
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.css +135 -0
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +289 -0
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.css +20 -0
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +343 -0
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.css +144 -0
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +299 -0
- package/dist/collection/components/rtk-spinner/rtk-spinner.css +52 -0
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +99 -0
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.css +88 -0
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +402 -0
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.css +102 -0
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +195 -0
- package/dist/collection/components/rtk-stage/rtk-stage.css +19 -0
- package/dist/collection/components/rtk-stage/rtk-stage.js +125 -0
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.css +22 -0
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +321 -0
- package/dist/collection/components/rtk-switch/rtk-switch.css +51 -0
- package/dist/collection/components/rtk-switch/rtk-switch.js +211 -0
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.css +194 -0
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +330 -0
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.css +81 -0
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +316 -0
- package/dist/collection/components/rtk-text-message/components/TextMessage.js +62 -0
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +185 -0
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.css +25 -0
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +68 -0
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.css +67 -0
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +349 -0
- package/dist/collection/components/rtk-transcript/rtk-transcript.css +96 -0
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +140 -0
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.css +32 -0
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +281 -0
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.css +5 -0
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +374 -0
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.css +61 -0
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +191 -0
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.css +4 -0
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +264 -0
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.css +45 -0
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +148 -0
- package/dist/collection/exports.js +16 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/lib/addons/index.js +19 -0
- package/dist/collection/lib/audio.js +54 -0
- package/dist/collection/lib/builder/index.js +203 -0
- package/dist/collection/lib/default-ui-config.js +324 -0
- package/dist/collection/lib/grid.js +94 -0
- package/dist/collection/lib/icons/default-icon-pack.js +87 -0
- package/dist/collection/lib/icons/index.js +20 -0
- package/dist/collection/lib/lang/default-language.js +415 -0
- package/dist/collection/lib/lang/index.js +17 -0
- package/dist/collection/lib/notification.js +34 -0
- package/dist/collection/lib/render/index.js +97 -0
- package/dist/collection/lib/render/utils.js +115 -0
- package/dist/collection/lib/visualizer.js +42 -0
- package/dist/collection/theme/colors.js +130 -0
- package/dist/collection/theme/index.js +65 -0
- package/dist/collection/theme/presets/border.js +46 -0
- package/dist/collection/theme/presets/themes.js +35 -0
- package/dist/collection/theme/space.js +17 -0
- package/dist/collection/theme/tests/space.spec.js +17 -0
- package/dist/collection/types/floating-ui.js +1 -0
- package/dist/collection/types/props.js +1 -0
- package/dist/collection/types/rtk-ai.js +1 -0
- package/dist/collection/types/rtk-client.js +10 -0
- package/dist/collection/types/ui-config/config.js +35 -0
- package/dist/collection/types/ui-config/design-tokens.js +1 -0
- package/dist/collection/types/ui-config/index.js +1 -0
- package/dist/collection/types/ui-config/root.js +1 -0
- package/dist/collection/utils/assets.js +13 -0
- package/dist/collection/utils/breakout-rooms-manager.js +299 -0
- package/dist/collection/utils/breakout-rooms.js +69 -0
- package/dist/collection/utils/chat.js +198 -0
- package/dist/collection/utils/clone.js +7 -0
- package/dist/collection/utils/color.js +175 -0
- package/dist/collection/utils/config.js +359 -0
- package/dist/collection/utils/date.js +30 -0
- package/dist/collection/utils/debugger-utils.js +83 -0
- package/dist/collection/utils/file.js +54 -0
- package/dist/collection/utils/flags.js +24 -0
- package/dist/collection/utils/full-screen.js +48 -0
- package/dist/collection/utils/graceful-storage.js +18 -0
- package/dist/collection/utils/livestream.js +100 -0
- package/dist/collection/utils/notification.js +15 -0
- package/dist/collection/utils/provide-design-system.js +114 -0
- package/dist/collection/utils/scroll.js +11 -0
- package/dist/collection/utils/sidebar.js +42 -0
- package/dist/collection/utils/size.js +14 -0
- package/dist/collection/utils/stage.js +9 -0
- package/dist/collection/utils/string.js +56 -0
- package/dist/collection/utils/sync-with-store/index.js +21 -0
- package/dist/collection/utils/sync-with-store/ui-store.js +56 -0
- package/dist/collection/utils/time.js +9 -0
- package/dist/collection/utils/troubleshooter.js +469 -0
- package/dist/collection/utils/user-prefs.js +20 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +246 -0
- package/dist/components/p-00905b54.js +108 -0
- package/dist/components/p-02f19345.js +50 -0
- package/dist/components/p-05d46a0e.js +307 -0
- package/dist/components/p-0752f2ba.js +13 -0
- package/dist/components/p-08020b3c.js +213 -0
- package/dist/components/p-0abe4b8a.js +200 -0
- package/dist/components/p-0b087be2.js +77 -0
- package/dist/components/p-0e02697c.js +85 -0
- package/dist/components/p-0e6f6af9.js +79 -0
- package/dist/components/p-0f77783d.js +951 -0
- package/dist/components/p-11a9a3ec.js +81 -0
- package/dist/components/p-132d39f6.js +131 -0
- package/dist/components/p-18164a2e.js +114 -0
- package/dist/components/p-190af711.js +125 -0
- package/dist/components/p-1b5e871d.js +199 -0
- package/dist/components/p-1ba98d57.js +628 -0
- package/dist/components/p-1edce9ef.js +68 -0
- package/dist/components/p-2134aa95.js +95 -0
- package/dist/components/p-2283539e.js +105 -0
- package/dist/components/p-24ac331b.js +83 -0
- package/dist/components/p-282cc869.js +128 -0
- package/dist/components/p-291cbe98.js +92 -0
- package/dist/components/p-2c3cda13.js +164 -0
- package/dist/components/p-2c95df3f.js +168 -0
- package/dist/components/p-2ca7a08a.js +95 -0
- package/dist/components/p-2f10ccec.js +93 -0
- package/dist/components/p-31964573.js +1892 -0
- package/dist/components/p-31a1dc4d.js +159 -0
- package/dist/components/p-3358d7dc.js +108 -0
- package/dist/components/p-338c7261.js +58 -0
- package/dist/components/p-34ee27d0.js +96 -0
- package/dist/components/p-3628bdcd.js +168 -0
- package/dist/components/p-382270d8.js +32 -0
- package/dist/components/p-39c19f58.js +103 -0
- package/dist/components/p-3d5ca4ac.js +156 -0
- package/dist/components/p-3d754c34.js +62 -0
- package/dist/components/p-3ed36ca2.js +161 -0
- package/dist/components/p-3f882e7c.js +299 -0
- package/dist/components/p-3fb24e88.js +264 -0
- package/dist/components/p-400d8f0d.js +85 -0
- package/dist/components/p-40b08033.js +86 -0
- package/dist/components/p-40b74b04.js +390 -0
- package/dist/components/p-43de959f.js +178 -0
- package/dist/components/p-46923b34.js +1409 -0
- package/dist/components/p-4ee52c16.js +37 -0
- package/dist/components/p-4f0299cf.js +155 -0
- package/dist/components/p-53d81684.js +194 -0
- package/dist/components/p-55910bec.js +116 -0
- package/dist/components/p-5cd5f7db.js +103 -0
- package/dist/components/p-60fdbd75.js +224 -0
- package/dist/components/p-62471047.js +204 -0
- package/dist/components/p-6a516f83.js +179 -0
- package/dist/components/p-736ab8a0.js +211 -0
- package/dist/components/p-74baedf6.js +309 -0
- package/dist/components/p-774b8b25.js +215 -0
- package/dist/components/p-7a0a4ea1.js +115 -0
- package/dist/components/p-7d3797ee.js +223 -0
- package/dist/components/p-80b25cac.js +305 -0
- package/dist/components/p-8149712f.js +105 -0
- package/dist/components/p-815a8bcc.js +97 -0
- package/dist/components/p-8198975c.js +124 -0
- package/dist/components/p-8302e30d.js +76 -0
- package/dist/components/p-838a4971.js +203 -0
- package/dist/components/p-8b197573.js +353 -0
- package/dist/components/p-8ec943fb.js +162 -0
- package/dist/components/p-8fd7ccbf.js +149 -0
- package/dist/components/p-92a1602c.js +64 -0
- package/dist/components/p-92e527ab.js +131 -0
- package/dist/components/p-96be234f.js +26 -0
- package/dist/components/p-96d5823f.js +57 -0
- package/dist/components/p-9bcf0d04.js +1544 -0
- package/dist/components/p-9fc565cf.js +57 -0
- package/dist/components/p-a08b5a59.js +329 -0
- package/dist/components/p-a262dd1a.js +227 -0
- package/dist/components/p-a2f4f9e3.js +67 -0
- package/dist/components/p-a53e3d25.js +316 -0
- package/dist/components/p-a5737efc.js +61 -0
- package/dist/components/p-a83ccdbd.js +40 -0
- package/dist/components/p-a96fd0a2.js +45 -0
- package/dist/components/p-ab98bb45.js +69 -0
- package/dist/components/p-afce90ce.js +150 -0
- package/dist/components/p-b13ddb7d.js +96 -0
- package/dist/components/p-b1f57d50.js +118 -0
- package/dist/components/p-b661e73e.js +24 -0
- package/dist/components/p-b7fe585f.js +134 -0
- package/dist/components/p-b9089444.js +119 -0
- package/dist/components/p-bcb91396.js +43 -0
- package/dist/components/p-bd20259b.js +63 -0
- package/dist/components/p-c15d924f.js +752 -0
- package/dist/components/p-c3592601.js +1641 -0
- package/dist/components/p-c746a8bd.js +357 -0
- package/dist/components/p-c9e399b4.js +29080 -0
- package/dist/components/p-cbdd7a99.js +542 -0
- package/dist/components/p-cf6253c5.js +127 -0
- package/dist/components/p-d80915fb.js +114 -0
- package/dist/components/p-de933b70.js +157 -0
- package/dist/components/p-dfd1dfed.js +101 -0
- package/dist/components/p-e36ef452.js +157 -0
- package/dist/components/p-e560b4b6.js +82 -0
- package/dist/components/p-e8385e2f.js +125 -0
- package/dist/components/p-e889cc60.js +95 -0
- package/dist/components/p-eae68017.js +107 -0
- package/dist/components/p-eb6e37e9.js +148 -0
- package/dist/components/p-ee449660.js +1178 -0
- package/dist/components/p-ee490919.js +148 -0
- package/dist/components/p-f0924403.js +120 -0
- package/dist/components/p-f1dd271e.js +182 -0
- package/dist/components/p-f47d4fe8.js +928 -0
- package/dist/components/p-febe3ebc.js +11 -0
- package/dist/components/p-ff033d49.js +153 -0
- package/dist/components/rtk-ai-toggle.d.ts +11 -0
- package/dist/components/rtk-ai-toggle.js +119 -0
- package/dist/components/rtk-ai-transcriptions.d.ts +11 -0
- package/dist/components/rtk-ai-transcriptions.js +6 -0
- package/dist/components/rtk-ai.d.ts +11 -0
- package/dist/components/rtk-ai.js +134 -0
- package/dist/components/rtk-audio-grid.d.ts +11 -0
- package/dist/components/rtk-audio-grid.js +145 -0
- package/dist/components/rtk-audio-tile.d.ts +11 -0
- package/dist/components/rtk-audio-tile.js +182 -0
- package/dist/components/rtk-audio-visualizer.d.ts +11 -0
- package/dist/components/rtk-audio-visualizer.js +6 -0
- package/dist/components/rtk-avatar.d.ts +11 -0
- package/dist/components/rtk-avatar.js +6 -0
- package/dist/components/rtk-breakout-room-manager.d.ts +11 -0
- package/dist/components/rtk-breakout-room-manager.js +6 -0
- package/dist/components/rtk-breakout-room-participants.d.ts +11 -0
- package/dist/components/rtk-breakout-room-participants.js +6 -0
- package/dist/components/rtk-breakout-rooms-manager.d.ts +11 -0
- package/dist/components/rtk-breakout-rooms-manager.js +6 -0
- package/dist/components/rtk-breakout-rooms-toggle.d.ts +11 -0
- package/dist/components/rtk-breakout-rooms-toggle.js +129 -0
- package/dist/components/rtk-broadcast-message-modal.d.ts +11 -0
- package/dist/components/rtk-broadcast-message-modal.js +6 -0
- package/dist/components/rtk-button.d.ts +11 -0
- package/dist/components/rtk-button.js +6 -0
- package/dist/components/rtk-camera-selector.d.ts +11 -0
- package/dist/components/rtk-camera-selector.js +6 -0
- package/dist/components/rtk-camera-toggle.d.ts +11 -0
- package/dist/components/rtk-camera-toggle.js +237 -0
- package/dist/components/rtk-caption-toggle.d.ts +11 -0
- package/dist/components/rtk-caption-toggle.js +129 -0
- package/dist/components/rtk-channel-creator.d.ts +11 -0
- package/dist/components/rtk-channel-creator.js +6 -0
- package/dist/components/rtk-channel-details.d.ts +11 -0
- package/dist/components/rtk-channel-details.js +6 -0
- package/dist/components/rtk-channel-header.d.ts +11 -0
- package/dist/components/rtk-channel-header.js +6 -0
- package/dist/components/rtk-channel-selector-ui.d.ts +11 -0
- package/dist/components/rtk-channel-selector-ui.js +194 -0
- package/dist/components/rtk-channel-selector-view.d.ts +11 -0
- package/dist/components/rtk-channel-selector-view.js +6 -0
- package/dist/components/rtk-chat-composer-ui.d.ts +11 -0
- package/dist/components/rtk-chat-composer-ui.js +383 -0
- package/dist/components/rtk-chat-composer-view.d.ts +11 -0
- package/dist/components/rtk-chat-composer-view.js +6 -0
- package/dist/components/rtk-chat-message.d.ts +11 -0
- package/dist/components/rtk-chat-message.js +6 -0
- package/dist/components/rtk-chat-messages-ui-paginated.d.ts +11 -0
- package/dist/components/rtk-chat-messages-ui-paginated.js +6 -0
- package/dist/components/rtk-chat-messages-ui.d.ts +11 -0
- package/dist/components/rtk-chat-messages-ui.js +6 -0
- package/dist/components/rtk-chat-search-results.d.ts +11 -0
- package/dist/components/rtk-chat-search-results.js +6 -0
- package/dist/components/rtk-chat-selector-ui.d.ts +11 -0
- package/dist/components/rtk-chat-selector-ui.js +108 -0
- package/dist/components/rtk-chat-toggle.d.ts +11 -0
- package/dist/components/rtk-chat-toggle.js +186 -0
- package/dist/components/rtk-chat.d.ts +11 -0
- package/dist/components/rtk-chat.js +6 -0
- package/dist/components/rtk-clock.d.ts +11 -0
- package/dist/components/rtk-clock.js +127 -0
- package/dist/components/rtk-confirmation-modal.d.ts +11 -0
- package/dist/components/rtk-confirmation-modal.js +6 -0
- package/dist/components/rtk-controlbar-button.d.ts +11 -0
- package/dist/components/rtk-controlbar-button.js +6 -0
- package/dist/components/rtk-controlbar.d.ts +11 -0
- package/dist/components/rtk-controlbar.js +91 -0
- package/dist/components/rtk-counter.d.ts +11 -0
- package/dist/components/rtk-counter.js +6 -0
- package/dist/components/rtk-debugger-audio.d.ts +11 -0
- package/dist/components/rtk-debugger-audio.js +6 -0
- package/dist/components/rtk-debugger-screenshare.d.ts +11 -0
- package/dist/components/rtk-debugger-screenshare.js +6 -0
- package/dist/components/rtk-debugger-system.d.ts +11 -0
- package/dist/components/rtk-debugger-system.js +6 -0
- package/dist/components/rtk-debugger-toggle.d.ts +11 -0
- package/dist/components/rtk-debugger-toggle.js +101 -0
- package/dist/components/rtk-debugger-video.d.ts +11 -0
- package/dist/components/rtk-debugger-video.js +6 -0
- package/dist/components/rtk-debugger.d.ts +11 -0
- package/dist/components/rtk-debugger.js +6 -0
- package/dist/components/rtk-dialog-manager.d.ts +11 -0
- package/dist/components/rtk-dialog-manager.js +6 -0
- package/dist/components/rtk-dialog.d.ts +11 -0
- package/dist/components/rtk-dialog.js +6 -0
- package/dist/components/rtk-draft-attachment-view.d.ts +11 -0
- package/dist/components/rtk-draft-attachment-view.js +6 -0
- package/dist/components/rtk-emoji-picker-button.d.ts +11 -0
- package/dist/components/rtk-emoji-picker-button.js +6 -0
- package/dist/components/rtk-emoji-picker.d.ts +11 -0
- package/dist/components/rtk-emoji-picker.js +6 -0
- package/dist/components/rtk-ended-screen.d.ts +11 -0
- package/dist/components/rtk-ended-screen.js +148 -0
- package/dist/components/rtk-file-dropzone.d.ts +11 -0
- package/dist/components/rtk-file-dropzone.js +87 -0
- package/dist/components/rtk-file-message-view.d.ts +11 -0
- package/dist/components/rtk-file-message-view.js +6 -0
- package/dist/components/rtk-file-message.d.ts +11 -0
- package/dist/components/rtk-file-message.js +6 -0
- package/dist/components/rtk-file-picker-button.d.ts +11 -0
- package/dist/components/rtk-file-picker-button.js +6 -0
- package/dist/components/rtk-fullscreen-toggle.d.ts +11 -0
- package/dist/components/rtk-fullscreen-toggle.js +6 -0
- package/dist/components/rtk-grid-pagination.d.ts +11 -0
- package/dist/components/rtk-grid-pagination.js +207 -0
- package/dist/components/rtk-grid.d.ts +11 -0
- package/dist/components/rtk-grid.js +454 -0
- package/dist/components/rtk-header.d.ts +11 -0
- package/dist/components/rtk-header.js +91 -0
- package/dist/components/rtk-icon.d.ts +11 -0
- package/dist/components/rtk-icon.js +6 -0
- package/dist/components/rtk-idle-screen.d.ts +11 -0
- package/dist/components/rtk-idle-screen.js +86 -0
- package/dist/components/rtk-image-message-view.d.ts +11 -0
- package/dist/components/rtk-image-message-view.js +6 -0
- package/dist/components/rtk-image-message.d.ts +11 -0
- package/dist/components/rtk-image-message.js +6 -0
- package/dist/components/rtk-image-viewer.d.ts +11 -0
- package/dist/components/rtk-image-viewer.js +94 -0
- package/dist/components/rtk-information-tooltip.d.ts +11 -0
- package/dist/components/rtk-information-tooltip.js +61 -0
- package/dist/components/rtk-join-stage.d.ts +11 -0
- package/dist/components/rtk-join-stage.js +6 -0
- package/dist/components/rtk-leave-button.d.ts +11 -0
- package/dist/components/rtk-leave-button.js +90 -0
- package/dist/components/rtk-leave-meeting.d.ts +11 -0
- package/dist/components/rtk-leave-meeting.js +6 -0
- package/dist/components/rtk-livestream-indicator.d.ts +11 -0
- package/dist/components/rtk-livestream-indicator.js +6 -0
- package/dist/components/rtk-livestream-player.d.ts +11 -0
- package/dist/components/rtk-livestream-player.js +6 -0
- package/dist/components/rtk-livestream-toggle.d.ts +11 -0
- package/dist/components/rtk-livestream-toggle.js +184 -0
- package/dist/components/rtk-logo.d.ts +11 -0
- package/dist/components/rtk-logo.js +6 -0
- package/dist/components/rtk-markdown-view.d.ts +11 -0
- package/dist/components/rtk-markdown-view.js +6 -0
- package/dist/components/rtk-meeting-title.d.ts +11 -0
- package/dist/components/rtk-meeting-title.js +74 -0
- package/dist/components/rtk-meeting.d.ts +11 -0
- package/dist/components/rtk-meeting.js +566 -0
- package/dist/components/rtk-menu-item.d.ts +11 -0
- package/dist/components/rtk-menu-item.js +6 -0
- package/dist/components/rtk-menu-list.d.ts +11 -0
- package/dist/components/rtk-menu-list.js +6 -0
- package/dist/components/rtk-menu.d.ts +11 -0
- package/dist/components/rtk-menu.js +6 -0
- package/dist/components/rtk-message-list-view.d.ts +11 -0
- package/dist/components/rtk-message-list-view.js +324 -0
- package/dist/components/rtk-message-view.d.ts +11 -0
- package/dist/components/rtk-message-view.js +6 -0
- package/dist/components/rtk-mic-toggle.d.ts +11 -0
- package/dist/components/rtk-mic-toggle.js +235 -0
- package/dist/components/rtk-microphone-selector.d.ts +11 -0
- package/dist/components/rtk-microphone-selector.js +6 -0
- package/dist/components/rtk-mixed-grid.d.ts +11 -0
- package/dist/components/rtk-mixed-grid.js +298 -0
- package/dist/components/rtk-more-toggle.d.ts +11 -0
- package/dist/components/rtk-more-toggle.js +115 -0
- package/dist/components/rtk-mute-all-button.d.ts +11 -0
- package/dist/components/rtk-mute-all-button.js +128 -0
- package/dist/components/rtk-mute-all-confirmation.d.ts +11 -0
- package/dist/components/rtk-mute-all-confirmation.js +6 -0
- package/dist/components/rtk-name-tag.d.ts +11 -0
- package/dist/components/rtk-name-tag.js +6 -0
- package/dist/components/rtk-network-indicator.d.ts +11 -0
- package/dist/components/rtk-network-indicator.js +117 -0
- package/dist/components/rtk-notification.d.ts +11 -0
- package/dist/components/rtk-notification.js +6 -0
- package/dist/components/rtk-notifications.d.ts +11 -0
- package/dist/components/rtk-notifications.js +6 -0
- package/dist/components/rtk-overlay-modal.d.ts +11 -0
- package/dist/components/rtk-overlay-modal.js +6 -0
- package/dist/components/rtk-paginated-list.d.ts +11 -0
- package/dist/components/rtk-paginated-list.js +6 -0
- package/dist/components/rtk-participant-count.d.ts +11 -0
- package/dist/components/rtk-participant-count.js +121 -0
- package/dist/components/rtk-participant-setup.d.ts +11 -0
- package/dist/components/rtk-participant-setup.js +149 -0
- package/dist/components/rtk-participant-tile.d.ts +11 -0
- package/dist/components/rtk-participant-tile.js +6 -0
- package/dist/components/rtk-participant.d.ts +11 -0
- package/dist/components/rtk-participant.js +6 -0
- package/dist/components/rtk-participants-audio.d.ts +11 -0
- package/dist/components/rtk-participants-audio.js +248 -0
- package/dist/components/rtk-participants-stage-list.d.ts +11 -0
- package/dist/components/rtk-participants-stage-list.js +6 -0
- package/dist/components/rtk-participants-stage-queue.d.ts +11 -0
- package/dist/components/rtk-participants-stage-queue.js +6 -0
- package/dist/components/rtk-participants-toggle.d.ts +11 -0
- package/dist/components/rtk-participants-toggle.js +199 -0
- package/dist/components/rtk-participants-viewer-list.d.ts +11 -0
- package/dist/components/rtk-participants-viewer-list.js +6 -0
- package/dist/components/rtk-participants-waiting-list.d.ts +11 -0
- package/dist/components/rtk-participants-waiting-list.js +6 -0
- package/dist/components/rtk-participants.d.ts +11 -0
- package/dist/components/rtk-participants.js +304 -0
- package/dist/components/rtk-permissions-message.d.ts +11 -0
- package/dist/components/rtk-permissions-message.js +6 -0
- package/dist/components/rtk-pip-toggle.d.ts +11 -0
- package/dist/components/rtk-pip-toggle.js +133 -0
- package/dist/components/rtk-plugin-main.d.ts +11 -0
- package/dist/components/rtk-plugin-main.js +6 -0
- package/dist/components/rtk-plugins-toggle.d.ts +11 -0
- package/dist/components/rtk-plugins-toggle.js +152 -0
- package/dist/components/rtk-plugins.d.ts +11 -0
- package/dist/components/rtk-plugins.js +6 -0
- package/dist/components/rtk-poll-form.d.ts +11 -0
- package/dist/components/rtk-poll-form.js +6 -0
- package/dist/components/rtk-poll.d.ts +11 -0
- package/dist/components/rtk-poll.js +6 -0
- package/dist/components/rtk-polls-toggle.d.ts +11 -0
- package/dist/components/rtk-polls-toggle.js +164 -0
- package/dist/components/rtk-polls.d.ts +11 -0
- package/dist/components/rtk-polls.js +6 -0
- package/dist/components/rtk-recording-indicator.d.ts +11 -0
- package/dist/components/rtk-recording-indicator.js +99 -0
- package/dist/components/rtk-recording-toggle.d.ts +11 -0
- package/dist/components/rtk-recording-toggle.js +206 -0
- package/dist/components/rtk-screen-share-toggle.d.ts +11 -0
- package/dist/components/rtk-screen-share-toggle.js +320 -0
- package/dist/components/rtk-screenshare-view.d.ts +11 -0
- package/dist/components/rtk-screenshare-view.js +197 -0
- package/dist/components/rtk-settings-audio.d.ts +11 -0
- package/dist/components/rtk-settings-audio.js +6 -0
- package/dist/components/rtk-settings-toggle.d.ts +11 -0
- package/dist/components/rtk-settings-toggle.js +96 -0
- package/dist/components/rtk-settings-video.d.ts +11 -0
- package/dist/components/rtk-settings-video.js +6 -0
- package/dist/components/rtk-settings.d.ts +11 -0
- package/dist/components/rtk-settings.js +211 -0
- package/dist/components/rtk-setup-screen.d.ts +11 -0
- package/dist/components/rtk-setup-screen.js +186 -0
- package/dist/components/rtk-sidebar-ui.d.ts +11 -0
- package/dist/components/rtk-sidebar-ui.js +6 -0
- package/dist/components/rtk-sidebar.d.ts +11 -0
- package/dist/components/rtk-sidebar.js +231 -0
- package/dist/components/rtk-simple-grid.d.ts +11 -0
- package/dist/components/rtk-simple-grid.js +147 -0
- package/dist/components/rtk-speaker-selector.d.ts +11 -0
- package/dist/components/rtk-speaker-selector.js +6 -0
- package/dist/components/rtk-spinner.d.ts +11 -0
- package/dist/components/rtk-spinner.js +6 -0
- package/dist/components/rtk-spotlight-grid.d.ts +11 -0
- package/dist/components/rtk-spotlight-grid.js +135 -0
- package/dist/components/rtk-spotlight-indicator.d.ts +11 -0
- package/dist/components/rtk-spotlight-indicator.js +6 -0
- package/dist/components/rtk-stage-toggle.d.ts +11 -0
- package/dist/components/rtk-stage-toggle.js +198 -0
- package/dist/components/rtk-stage.d.ts +11 -0
- package/dist/components/rtk-stage.js +61 -0
- package/dist/components/rtk-switch.d.ts +11 -0
- package/dist/components/rtk-switch.js +6 -0
- package/dist/components/rtk-tab-bar.d.ts +11 -0
- package/dist/components/rtk-tab-bar.js +6 -0
- package/dist/components/rtk-text-composer-view.d.ts +11 -0
- package/dist/components/rtk-text-composer-view.js +6 -0
- package/dist/components/rtk-text-message-view.d.ts +11 -0
- package/dist/components/rtk-text-message-view.js +6 -0
- package/dist/components/rtk-text-message.d.ts +11 -0
- package/dist/components/rtk-text-message.js +6 -0
- package/dist/components/rtk-tooltip.d.ts +11 -0
- package/dist/components/rtk-tooltip.js +6 -0
- package/dist/components/rtk-transcript.d.ts +11 -0
- package/dist/components/rtk-transcript.js +6 -0
- package/dist/components/rtk-transcripts.d.ts +11 -0
- package/dist/components/rtk-transcripts.js +197 -0
- package/dist/components/rtk-ui-provider.d.ts +11 -0
- package/dist/components/rtk-ui-provider.js +195 -0
- package/dist/components/rtk-viewer-count.d.ts +11 -0
- package/dist/components/rtk-viewer-count.js +6 -0
- package/dist/components/rtk-virtualized-participant-list.d.ts +11 -0
- package/dist/components/rtk-virtualized-participant-list.js +6 -0
- package/dist/components/rtk-waiting-screen.d.ts +11 -0
- package/dist/components/rtk-waiting-screen.js +74 -0
- package/dist/docs/docs-components.d.ts +443 -0
- package/dist/docs/docs-components.json +239263 -0
- package/dist/docs/docs-vscode.json +4429 -0
- package/dist/esm/ChatHead-cf7a7e22.js +41 -0
- package/dist/esm/ResizeObserver.es-02979d4e.js +928 -0
- package/dist/esm/TextMessage-276a0abf.js +67 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/chat-d85cc211.js +200 -0
- package/dist/esm/clone-acd4af50.js +752 -0
- package/dist/esm/config-59d761c0.js +1178 -0
- package/dist/esm/debounce-0169a54d.js +542 -0
- package/dist/esm/debounce-ea0579b2.js +329 -0
- package/dist/esm/file-1d408324.js +57 -0
- package/dist/esm/floating-ui.dom.esm-cf1488a2.js +1892 -0
- package/dist/esm/full-screen-1f58c594.js +50 -0
- package/dist/esm/grid-a3ca5a3e.js +96 -0
- package/dist/esm/hark-6327d91e.js +299 -0
- package/dist/esm/index-7c11af40.js +24 -0
- package/dist/esm/index-c1fb98bb.js +2158 -0
- package/dist/esm/index-d31a2e33.js +224 -0
- package/dist/esm/index.js +248 -0
- package/dist/esm/isObjectLike-773b9473.js +164 -0
- package/dist/esm/keysIn-310f65c1.js +1409 -0
- package/dist/esm/loader.js +56260 -0
- package/dist/esm/notification-c6d0d98f.js +37 -0
- package/dist/esm/realtimekit-ui.js +20 -0
- package/dist/esm/rtk-ai-toggle.entry.js +72 -0
- package/dist/esm/rtk-ai-transcriptions.entry.js +134 -0
- package/dist/esm/rtk-ai.entry.js +87 -0
- package/dist/esm/rtk-audio-grid.entry.js +112 -0
- package/dist/esm/rtk-audio-tile.entry.js +126 -0
- package/dist/esm/rtk-audio-visualizer_4.entry.js +494 -0
- package/dist/esm/rtk-avatar_54.entry.js +6320 -0
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +82 -0
- package/dist/esm/rtk-camera-selector_2.entry.js +276 -0
- package/dist/esm/rtk-camera-toggle.entry.js +182 -0
- package/dist/esm/rtk-caption-toggle.entry.js +80 -0
- package/dist/esm/rtk-channel-selector-ui.entry.js +143 -0
- package/dist/esm/rtk-chat-composer-ui.entry.js +311 -0
- package/dist/esm/rtk-chat-selector-ui.entry.js +74 -0
- package/dist/esm/rtk-chat-toggle.entry.js +134 -0
- package/dist/esm/rtk-clock.entry.js +94 -0
- package/dist/esm/rtk-controlbar-button.entry.js +45 -0
- package/dist/esm/rtk-controlbar.entry.js +62 -0
- package/dist/esm/rtk-debugger-toggle.entry.js +57 -0
- package/dist/esm/rtk-ended-screen.entry.js +105 -0
- package/dist/esm/rtk-file-dropzone.entry.js +56 -0
- package/dist/esm/rtk-fullscreen-toggle.entry.js +82 -0
- package/dist/esm/rtk-grid-pagination.entry.js +155 -0
- package/dist/esm/rtk-grid.entry.js +358 -0
- package/dist/esm/rtk-header.entry.js +62 -0
- package/dist/esm/rtk-idle-screen.entry.js +43 -0
- package/dist/esm/rtk-image-viewer.entry.js +58 -0
- package/dist/esm/rtk-information-tooltip.entry.js +33 -0
- package/dist/esm/rtk-leave-button.entry.js +48 -0
- package/dist/esm/rtk-livestream-indicator_3.entry.js +29142 -0
- package/dist/esm/rtk-livestream-toggle.entry.js +138 -0
- package/dist/esm/rtk-meeting-title.entry.js +45 -0
- package/dist/esm/rtk-message-list-view.entry.js +281 -0
- package/dist/esm/rtk-mic-toggle.entry.js +180 -0
- package/dist/esm/rtk-mixed-grid.entry.js +222 -0
- package/dist/esm/rtk-more-toggle.entry.js +73 -0
- package/dist/esm/rtk-mute-all-button.entry.js +75 -0
- package/dist/esm/rtk-name-tag.entry.js +68 -0
- package/dist/esm/rtk-network-indicator.entry.js +82 -0
- package/dist/esm/rtk-participant-count.entry.js +87 -0
- package/dist/esm/rtk-participant-setup.entry.js +114 -0
- package/dist/esm/rtk-participant_2.entry.js +414 -0
- package/dist/esm/rtk-participants-audio.entry.js +203 -0
- package/dist/esm/rtk-participants-stage-list_4.entry.js +459 -0
- package/dist/esm/rtk-participants-toggle.entry.js +146 -0
- package/dist/esm/rtk-participants.entry.js +186 -0
- package/dist/esm/rtk-pip-toggle.entry.js +84 -0
- package/dist/esm/rtk-plugin-main_2.entry.js +191 -0
- package/dist/esm/rtk-plugins-toggle.entry.js +102 -0
- package/dist/esm/rtk-plugins_2.entry.js +176 -0
- package/dist/esm/rtk-poll_2.entry.js +137 -0
- package/dist/esm/rtk-polls-toggle.entry.js +113 -0
- package/dist/esm/rtk-recording-indicator.entry.js +66 -0
- package/dist/esm/rtk-recording-toggle.entry.js +158 -0
- package/dist/esm/rtk-screen-share-toggle.entry.js +261 -0
- package/dist/esm/rtk-screenshare-view.entry.js +145 -0
- package/dist/esm/rtk-settings-audio_2.entry.js +145 -0
- package/dist/esm/rtk-settings-toggle.entry.js +53 -0
- package/dist/esm/rtk-settings.entry.js +120 -0
- package/dist/esm/rtk-setup-screen.entry.js +116 -0
- package/dist/esm/rtk-sidebar-ui.entry.js +76 -0
- package/dist/esm/rtk-sidebar.entry.js +147 -0
- package/dist/esm/rtk-simple-grid.entry.js +114 -0
- package/dist/esm/rtk-spotlight-grid.entry.js +103 -0
- package/dist/esm/rtk-spotlight-indicator.entry.js +81 -0
- package/dist/esm/rtk-stage-toggle.entry.js +143 -0
- package/dist/esm/rtk-stage.entry.js +39 -0
- package/dist/esm/rtk-transcript.entry.js +54 -0
- package/dist/esm/rtk-transcripts.entry.js +163 -0
- package/dist/esm/rtk-ui-provider.entry.js +164 -0
- package/dist/esm/rtk-waiting-screen.entry.js +43 -0
- package/dist/esm/scroll-2d8e810c.js +13 -0
- package/dist/esm/sidebar-5df37ae6.js +45 -0
- package/dist/esm/size-505ade24.js +26 -0
- package/dist/esm/string-ed1380fb.js +58 -0
- package/dist/esm/ui-store-9e11a7e4.js +1582 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/realtimekit-ui/index.esm.js +1 -0
- package/dist/realtimekit-ui/p-02f19345.js +1 -0
- package/dist/realtimekit-ui/p-03f59c3d.entry.js +1 -0
- package/dist/realtimekit-ui/p-0752f2ba.js +1 -0
- package/dist/realtimekit-ui/p-08bcc52f.js +1 -0
- package/dist/realtimekit-ui/p-096b684e.entry.js +1 -0
- package/dist/realtimekit-ui/p-0b1fabf5.js +1 -0
- package/dist/realtimekit-ui/p-0ee570cd.js +2 -0
- package/dist/realtimekit-ui/p-0fbab69a.entry.js +1 -0
- package/dist/realtimekit-ui/p-10d038f4.entry.js +1 -0
- package/dist/realtimekit-ui/p-135fecaf.entry.js +1 -0
- package/dist/realtimekit-ui/p-1489ae26.entry.js +1 -0
- package/dist/realtimekit-ui/p-16951364.entry.js +1 -0
- package/dist/realtimekit-ui/p-1d66185e.entry.js +1 -0
- package/dist/realtimekit-ui/p-1e624154.entry.js +1 -0
- package/dist/realtimekit-ui/p-1fdd6794.entry.js +1 -0
- package/dist/realtimekit-ui/p-21cbb4c2.entry.js +1 -0
- package/dist/realtimekit-ui/p-241230d3.entry.js +1 -0
- package/dist/realtimekit-ui/p-27478c0c.js +1 -0
- package/dist/realtimekit-ui/p-2c3cda13.js +1 -0
- package/dist/realtimekit-ui/p-300dc0f3.entry.js +1 -0
- package/dist/realtimekit-ui/p-31964573.js +1 -0
- package/dist/realtimekit-ui/p-338c7261.js +1 -0
- package/dist/realtimekit-ui/p-376ac678.entry.js +1 -0
- package/dist/realtimekit-ui/p-3b604624.entry.js +1 -0
- package/dist/realtimekit-ui/p-3ba364bd.entry.js +1 -0
- package/dist/realtimekit-ui/p-3e0b8db7.entry.js +1 -0
- package/dist/realtimekit-ui/p-3f42b7a8.entry.js +1 -0
- package/dist/realtimekit-ui/p-3f882e7c.js +1 -0
- package/dist/realtimekit-ui/p-41382f52.js +1 -0
- package/dist/realtimekit-ui/p-454f1abe.entry.js +1 -0
- package/dist/realtimekit-ui/p-46923b34.js +1 -0
- package/dist/realtimekit-ui/p-473e3bff.entry.js +1 -0
- package/dist/realtimekit-ui/p-48b31e6c.entry.js +1 -0
- package/dist/realtimekit-ui/p-4ad4a43b.js +1 -0
- package/dist/realtimekit-ui/p-4c04f719.entry.js +1 -0
- package/dist/realtimekit-ui/p-4e0ceba3.entry.js +1 -0
- package/dist/realtimekit-ui/p-538fba61.entry.js +1 -0
- package/dist/realtimekit-ui/p-56dace60.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d060b1e.entry.js +1 -0
- package/dist/realtimekit-ui/p-5d4e5a90.entry.js +1 -0
- package/dist/realtimekit-ui/p-60fd7733.entry.js +1 -0
- package/dist/realtimekit-ui/p-61f5c8a5.entry.js +1 -0
- package/dist/realtimekit-ui/p-64021a4b.entry.js +1 -0
- package/dist/realtimekit-ui/p-67a64842.entry.js +1 -0
- package/dist/realtimekit-ui/p-6c828edd.entry.js +1 -0
- package/dist/realtimekit-ui/p-6d9cd1bc.entry.js +1 -0
- package/dist/realtimekit-ui/p-705df137.entry.js +1 -0
- package/dist/realtimekit-ui/p-70973f56.entry.js +1 -0
- package/dist/realtimekit-ui/p-70e6c27d.entry.js +1 -0
- package/dist/realtimekit-ui/p-7463e3d7.entry.js +1 -0
- package/dist/realtimekit-ui/p-74828b25.entry.js +1 -0
- package/dist/realtimekit-ui/p-74f3ec2d.entry.js +1 -0
- package/dist/realtimekit-ui/p-7be381d1.entry.js +1 -0
- package/dist/realtimekit-ui/p-7df5df90.entry.js +1 -0
- package/dist/realtimekit-ui/p-7f175a9d.entry.js +1 -0
- package/dist/realtimekit-ui/p-80ad2db7.entry.js +1 -0
- package/dist/realtimekit-ui/p-845a7826.entry.js +1 -0
- package/dist/realtimekit-ui/p-87fe69f0.entry.js +1 -0
- package/dist/realtimekit-ui/p-8b34bfb4.entry.js +1 -0
- package/dist/realtimekit-ui/p-9170059f.entry.js +1 -0
- package/dist/realtimekit-ui/p-936d63a2.entry.js +1 -0
- package/dist/realtimekit-ui/p-93e6efcb.entry.js +1 -0
- package/dist/realtimekit-ui/p-93f49750.entry.js +1 -0
- package/dist/realtimekit-ui/p-96a11481.entry.js +1 -0
- package/dist/realtimekit-ui/p-96be234f.js +1 -0
- package/dist/realtimekit-ui/p-98366449.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c733fd3.js +1 -0
- package/dist/realtimekit-ui/p-9f6d4fd1.entry.js +1 -0
- package/dist/realtimekit-ui/p-9fc565cf.js +1 -0
- package/dist/realtimekit-ui/p-a0652de1.entry.js +1 -0
- package/dist/realtimekit-ui/p-a08b5a59.js +1 -0
- package/dist/realtimekit-ui/p-a85361b3.entry.js +1 -0
- package/dist/realtimekit-ui/p-aa62ab59.js +1 -0
- package/dist/realtimekit-ui/p-ac306160.entry.js +1 -0
- package/dist/realtimekit-ui/p-b13ddb7d.js +1 -0
- package/dist/realtimekit-ui/p-b241c54b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b4eafb55.entry.js +1 -0
- package/dist/realtimekit-ui/p-b5486fed.entry.js +1 -0
- package/dist/realtimekit-ui/p-b748755c.entry.js +1 -0
- package/dist/realtimekit-ui/p-b797c190.entry.js +1 -0
- package/dist/realtimekit-ui/p-b7bb07db.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb3beb04.entry.js +1 -0
- package/dist/realtimekit-ui/p-c15d924f.js +1 -0
- package/dist/realtimekit-ui/p-c3dc1858.entry.js +1 -0
- package/dist/realtimekit-ui/p-c8eaa707.js +1 -0
- package/dist/realtimekit-ui/p-cbdd7a99.js +1 -0
- package/dist/realtimekit-ui/p-cf98e0e6.entry.js +1 -0
- package/dist/realtimekit-ui/p-d2d6cd44.entry.js +1 -0
- package/dist/realtimekit-ui/p-ddd9ae08.entry.js +1 -0
- package/dist/realtimekit-ui/p-e1255160.js +1 -0
- package/dist/realtimekit-ui/p-e52c2a9c.entry.js +1 -0
- package/dist/realtimekit-ui/p-e6377f44.entry.js +1 -0
- package/dist/realtimekit-ui/p-e687f3c1.entry.js +1 -0
- package/dist/realtimekit-ui/p-ebc9cc63.entry.js +1 -0
- package/dist/realtimekit-ui/p-edee9b57.js +1 -0
- package/dist/realtimekit-ui/p-f47d4fe8.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -0
- package/dist/types/components/rtk-ai/rtk-ai.d.ts +31 -0
- package/dist/types/components/rtk-ai-toggle/rtk-ai-toggle.d.ts +26 -0
- package/dist/types/components/rtk-ai-transcriptions/rtk-ai-transcriptions.d.ts +26 -0
- package/dist/types/components/rtk-audio-grid/rtk-audio-grid.d.ts +29 -0
- package/dist/types/components/rtk-audio-tile/rtk-audio-tile.d.ts +33 -0
- package/dist/types/components/rtk-audio-visualizer/rtk-audio-visualizer.d.ts +42 -0
- package/dist/types/components/rtk-avatar/rtk-avatar.d.ts +26 -0
- package/dist/types/components/rtk-breakout-room-manager/rtk-breakout-room-manager.d.ts +70 -0
- package/dist/types/components/rtk-breakout-room-participants/rtk-breakout-room-participants.d.ts +46 -0
- package/dist/types/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.d.ts +34 -0
- package/dist/types/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.d.ts +82 -0
- package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +26 -0
- package/dist/types/components/rtk-button/rtk-button.d.ts +25 -0
- package/dist/types/components/rtk-camera-selector/rtk-camera-selector.d.ts +40 -0
- package/dist/types/components/rtk-camera-toggle/rtk-camera-toggle.d.ts +39 -0
- package/dist/types/components/rtk-caption-toggle/rtk-caption-toggle.d.ts +30 -0
- package/dist/types/components/rtk-channel-creator/rtk-channel-creator.d.ts +34 -0
- package/dist/types/components/rtk-channel-details/rtk-channel-details.d.ts +15 -0
- package/dist/types/components/rtk-channel-header/rtk-channel-header.d.ts +31 -0
- package/dist/types/components/rtk-channel-selector-ui/rtk-channel-selector-ui.d.ts +32 -0
- package/dist/types/components/rtk-channel-selector-view/rtk-channel-selector-view.d.ts +62 -0
- package/dist/types/components/rtk-chat/components/ChatHead.d.ts +8 -0
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +122 -0
- package/dist/types/components/rtk-chat-composer-ui/rtk-chat-composer-ui.d.ts +84 -0
- package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +73 -0
- package/dist/types/components/rtk-chat-message/rtk-chat-message.d.ts +67 -0
- package/dist/types/components/rtk-chat-messages-ui/rtk-chat-messages-ui.d.ts +46 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +61 -0
- package/dist/types/components/rtk-chat-search-results/rtk-chat-search-results.d.ts +18 -0
- package/dist/types/components/rtk-chat-selector-ui/rtk-chat-selector-ui.d.ts +29 -0
- package/dist/types/components/rtk-chat-toggle/rtk-chat-toggle.d.ts +50 -0
- package/dist/types/components/rtk-clock/rtk-clock.d.ts +23 -0
- package/dist/types/components/rtk-confirmation-modal/rtk-confirmation-modal.d.ts +27 -0
- package/dist/types/components/rtk-controlbar/rtk-controlbar.d.ts +28 -0
- package/dist/types/components/rtk-controlbar-button/rtk-controlbar-button.d.ts +30 -0
- package/dist/types/components/rtk-counter/rtk-counter.d.ts +27 -0
- package/dist/types/components/rtk-debugger/rtk-debugger.d.ts +34 -0
- package/dist/types/components/rtk-debugger-audio/rtk-debugger-audio.d.ts +36 -0
- package/dist/types/components/rtk-debugger-screenshare/rtk-debugger-screenshare.d.ts +38 -0
- package/dist/types/components/rtk-debugger-system/rtk-debugger-system.d.ts +40 -0
- package/dist/types/components/rtk-debugger-toggle/rtk-debugger-toggle.d.ts +24 -0
- package/dist/types/components/rtk-debugger-video/rtk-debugger-video.d.ts +36 -0
- package/dist/types/components/rtk-dialog/rtk-dialog.d.ts +38 -0
- package/dist/types/components/rtk-dialog-manager/rtk-dialog-manager.d.ts +41 -0
- package/dist/types/components/rtk-draft-attachment-view/rtk-draft-attachment-view.d.ts +26 -0
- package/dist/types/components/rtk-emoji-picker/rtk-emoji-picker.d.ts +32 -0
- package/dist/types/components/rtk-emoji-picker-button/rtk-emoji-picker-button.d.ts +10 -0
- package/dist/types/components/rtk-ended-screen/rtk-ended-screen.d.ts +30 -0
- package/dist/types/components/rtk-file-dropzone/rtk-file-dropzone.d.ts +15 -0
- package/dist/types/components/rtk-file-message/rtk-file-message.d.ts +21 -0
- package/dist/types/components/rtk-file-message-view/rtk-file-message-view.d.ts +15 -0
- package/dist/types/components/rtk-file-picker-button/rtk-file-picker-button.d.ts +21 -0
- package/dist/types/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.d.ts +32 -0
- package/dist/types/components/rtk-grid/rtk-grid.d.ts +83 -0
- package/dist/types/components/rtk-grid-pagination/rtk-grid-pagination.d.ts +40 -0
- package/dist/types/components/rtk-header/rtk-header.d.ts +28 -0
- package/dist/types/components/rtk-icon/rtk-icon.d.ts +14 -0
- package/dist/types/components/rtk-idle-screen/rtk-idle-screen.d.ts +19 -0
- package/dist/types/components/rtk-image-message/rtk-image-message.d.ts +26 -0
- package/dist/types/components/rtk-image-message-view/rtk-image-message-view.d.ts +17 -0
- package/dist/types/components/rtk-image-viewer/rtk-image-viewer.d.ts +25 -0
- package/dist/types/components/rtk-information-tooltip/rtk-information-tooltip.d.ts +6 -0
- package/dist/types/components/rtk-join-stage/rtk-join-stage.d.ts +38 -0
- package/dist/types/components/rtk-leave-button/rtk-leave-button.d.ts +22 -0
- package/dist/types/components/rtk-leave-meeting/rtk-leave-meeting.d.ts +35 -0
- package/dist/types/components/rtk-livestream-indicator/rtk-livestream-indicator.d.ts +18 -0
- package/dist/types/components/rtk-livestream-player/rtk-livestream-player.d.ts +60 -0
- package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +40 -0
- package/dist/types/components/rtk-logo/rtk-logo.d.ts +20 -0
- package/dist/types/components/rtk-markdown-view/rtk-markdown-view.d.ts +15 -0
- package/dist/types/components/rtk-meeting/rtk-meeting.d.ts +59 -0
- package/dist/types/components/rtk-meeting-title/rtk-meeting-title.d.ts +15 -0
- package/dist/types/components/rtk-menu/rtk-menu.d.ts +30 -0
- package/dist/types/components/rtk-menu-item/rtk-menu-item.d.ts +19 -0
- package/dist/types/components/rtk-menu-list/rtk-menu-list.d.ts +14 -0
- package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +62 -0
- package/dist/types/components/rtk-message-view/rtk-message-view.d.ts +33 -0
- package/dist/types/components/rtk-mic-toggle/rtk-mic-toggle.d.ts +39 -0
- package/dist/types/components/rtk-microphone-selector/rtk-microphone-selector.d.ts +42 -0
- package/dist/types/components/rtk-mixed-grid/rtk-mixed-grid.d.ts +61 -0
- package/dist/types/components/rtk-more-toggle/rtk-more-toggle.d.ts +32 -0
- package/dist/types/components/rtk-mute-all-button/rtk-mute-all-button.d.ts +26 -0
- package/dist/types/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.d.ts +21 -0
- package/dist/types/components/rtk-name-tag/rtk-name-tag.d.ts +28 -0
- package/dist/types/components/rtk-network-indicator/rtk-network-indicator.d.ts +20 -0
- package/dist/types/components/rtk-notification/rtk-notification.d.ts +30 -0
- package/dist/types/components/rtk-notifications/rtk-notifications.d.ts +69 -0
- package/dist/types/components/rtk-overlay-modal/rtk-overlay-modal.d.ts +22 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +91 -0
- package/dist/types/components/rtk-participant/rtk-participant.d.ts +62 -0
- package/dist/types/components/rtk-participant-count/rtk-participant-count.d.ts +26 -0
- package/dist/types/components/rtk-participant-setup/rtk-participant-setup.d.ts +37 -0
- package/dist/types/components/rtk-participant-tile/rtk-participant-tile.d.ts +55 -0
- package/dist/types/components/rtk-participants/rtk-participants.d.ts +48 -0
- package/dist/types/components/rtk-participants-audio/rtk-participants-audio.d.ts +34 -0
- package/dist/types/components/rtk-participants-stage-list/rtk-participants-stage-list.d.ts +42 -0
- package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +29 -0
- package/dist/types/components/rtk-participants-toggle/rtk-participants-toggle.d.ts +49 -0
- package/dist/types/components/rtk-participants-viewer-list/rtk-participants-viewer-list.d.ts +33 -0
- package/dist/types/components/rtk-participants-waiting-list/rtk-participants-waiting-list.d.ts +29 -0
- package/dist/types/components/rtk-permissions-message/rtk-permissions-message.d.ts +40 -0
- package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +28 -0
- package/dist/types/components/rtk-plugin-main/rtk-plugin-main.d.ts +28 -0
- package/dist/types/components/rtk-plugins/rtk-plugins.d.ts +35 -0
- package/dist/types/components/rtk-plugins-toggle/rtk-plugins-toggle.d.ts +42 -0
- package/dist/types/components/rtk-poll/rtk-poll.d.ts +30 -0
- package/dist/types/components/rtk-poll-form/rtk-poll-form.d.ts +30 -0
- package/dist/types/components/rtk-polls/rtk-polls.d.ts +38 -0
- package/dist/types/components/rtk-polls-toggle/rtk-polls-toggle.d.ts +46 -0
- package/dist/types/components/rtk-recording-indicator/rtk-recording-indicator.d.ts +26 -0
- package/dist/types/components/rtk-recording-toggle/rtk-recording-toggle.d.ts +47 -0
- package/dist/types/components/rtk-screen-share-toggle/rtk-screen-share-toggle.d.ts +67 -0
- package/dist/types/components/rtk-screenshare-view/rtk-screenshare-view.d.ts +52 -0
- package/dist/types/components/rtk-settings/rtk-settings.d.ts +38 -0
- package/dist/types/components/rtk-settings-audio/rtk-settings-audio.d.ts +32 -0
- package/dist/types/components/rtk-settings-toggle/rtk-settings-toggle.d.ts +30 -0
- package/dist/types/components/rtk-settings-video/rtk-settings-video.d.ts +37 -0
- package/dist/types/components/rtk-setup-screen/rtk-setup-screen.d.ts +40 -0
- package/dist/types/components/rtk-sidebar/rtk-sidebar.d.ts +49 -0
- package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +120 -0
- package/dist/types/components/rtk-simple-grid/rtk-simple-grid.d.ts +43 -0
- package/dist/types/components/rtk-speaker-selector/rtk-speaker-selector.d.ts +44 -0
- package/dist/types/components/rtk-spinner/rtk-spinner.d.ts +12 -0
- package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +47 -0
- package/dist/types/components/rtk-spotlight-indicator/rtk-spotlight-indicator.d.ts +22 -0
- package/dist/types/components/rtk-stage/rtk-stage.d.ts +19 -0
- package/dist/types/components/rtk-stage-toggle/rtk-stage-toggle.d.ts +36 -0
- package/dist/types/components/rtk-switch/rtk-switch.d.ts +25 -0
- package/dist/types/components/rtk-tab-bar/rtk-tab-bar.d.ts +37 -0
- package/dist/types/components/rtk-text-composer-view/rtk-text-composer-view.d.ts +34 -0
- package/dist/types/components/rtk-text-message/components/TextMessage.d.ts +6 -0
- package/dist/types/components/rtk-text-message/rtk-text-message.d.ts +21 -0
- package/dist/types/components/rtk-text-message-view/rtk-text-message-view.d.ts +10 -0
- package/dist/types/components/rtk-tooltip/rtk-tooltip.d.ts +42 -0
- package/dist/types/components/rtk-transcript/rtk-transcript.d.ts +30 -0
- package/dist/types/components/rtk-transcripts/rtk-transcripts.d.ts +39 -0
- package/dist/types/components/rtk-ui-provider/rtk-ui-provider.d.ts +45 -0
- package/dist/types/components/rtk-viewer-count/rtk-viewer-count.d.ts +24 -0
- package/dist/types/components/rtk-virtualized-list/rtk-virtualized-participant-list.d.ts +30 -0
- package/dist/types/components/rtk-waiting-screen/rtk-waiting-screen.d.ts +15 -0
- package/dist/types/components.d.ts +11544 -0
- package/dist/types/exports.d.ts +20 -0
- package/dist/types/globals.d.ts +15 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/addons/index.d.ts +27 -0
- package/dist/types/lib/audio.d.ts +18 -0
- package/dist/types/lib/builder/index.d.ts +42 -0
- package/dist/types/lib/default-ui-config.d.ts +5 -0
- package/dist/types/lib/grid.d.ts +43 -0
- package/dist/types/lib/icons/default-icon-pack.d.ts +88 -0
- package/dist/types/lib/icons/index.d.ts +9 -0
- package/dist/types/lib/lang/default-language.d.ts +415 -0
- package/dist/types/lib/lang/index.d.ts +16 -0
- package/dist/types/lib/notification.d.ts +19 -0
- package/dist/types/lib/render/index.d.ts +45 -0
- package/dist/types/lib/render/utils.d.ts +31 -0
- package/dist/types/lib/visualizer.d.ts +6 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/theme/presets/border.d.ts +13 -0
- package/dist/types/theme/presets/themes.d.ts +2 -0
- package/dist/types/types/floating-ui.d.ts +1 -0
- package/dist/types/types/props.d.ts +175 -0
- package/dist/types/types/rtk-ai.d.ts +9 -0
- package/dist/types/types/rtk-client.d.ts +16 -0
- package/dist/types/types/ui-config/config.d.ts +25 -0
- package/dist/types/types/ui-config/design-tokens.d.ts +41 -0
- package/dist/types/types/ui-config/index.d.ts +15 -0
- package/dist/types/types/ui-config/root.d.ts +23 -0
- package/dist/types/types/web-core.d.ts +9 -0
- package/dist/types/utils/assets.d.ts +6 -0
- package/dist/types/utils/breakout-rooms-manager.d.ts +100 -0
- package/dist/types/utils/breakout-rooms.d.ts +24 -0
- package/dist/types/utils/chat.d.ts +49 -0
- package/dist/types/utils/clone.d.ts +1 -0
- package/dist/types/utils/color.d.ts +69 -0
- package/dist/types/utils/config.d.ts +28 -0
- package/dist/types/utils/date.d.ts +3 -0
- package/dist/types/utils/debugger-utils.d.ts +40 -0
- package/dist/types/utils/file.d.ts +23 -0
- package/dist/types/utils/full-screen.d.ts +4 -0
- package/dist/types/utils/graceful-storage.d.ts +2 -0
- package/dist/types/utils/notification.d.ts +9 -0
- package/dist/types/utils/provide-design-system.d.ts +7 -0
- package/dist/types/utils/scroll.d.ts +7 -0
- package/dist/types/utils/sidebar.d.ts +5 -0
- package/dist/types/utils/size.d.ts +7 -0
- package/dist/types/utils/stage.d.ts +3 -0
- package/dist/types/utils/string.d.ts +24 -0
- package/dist/types/utils/sync-with-store/index.d.ts +3 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +20 -0
- package/dist/types/utils/time.d.ts +1 -0
- package/dist/types/utils/troubleshooter.d.ts +151 -0
- package/dist/types/utils/user-prefs.d.ts +7 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +59 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t}from"./p-9c733fd3.js";export{B as BreakoutRoomsManager,d as defaultConfig,a as defaultIconPack,b as defaultLanguage,g as getInitialStates,u as uiStore,c as useLanguage}from"./p-9c733fd3.js";import{g as s}from"./p-4ad4a43b.js";export{e as extendConfig,g as generateConfig,p as provideRtkDesignSystem}from"./p-4ad4a43b.js";export{R as RtkNotificationsAudio}from"./p-aa62ab59.js";export{g as generateChatGroupKey,a as getChatGroups,c as getParticipantUserId,b as getUnreadChatCounts}from"./p-edee9b57.js";import"./p-0ee570cd.js";import"./p-46923b34.js";import"./p-2c3cda13.js";const i=(t,s)=>{if("undefined"==typeof document)return!1;const e=new CustomEvent("rtkNotification",{detail:Object.assign(Object.assign({},t),{playSound:s}),composed:!0});return document.dispatchEvent(e)};function r(t){return s=>Array.isArray(s)?s[0]===t:s===t}function o(t){return s=>Array.isArray(s)?s[0]!==t:s!==t}function n(t){return t.replace(/([a-z])([A-Z])/g,(t=>`${t[0]}-${t[1]}`.toLowerCase()))}class h{constructor(t,s,e){this.elem=t,this.config=s,this.keyString=e}add(t,s={}){var e;let i=t=n(t);return Object.keys(s).length>0&&(i=[t,s]),Array.isArray(this.elem)?this.elem.push(i):"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=[...this.elem.children,i]:"remove"in this.elem&&Array.isArray(this.elem.remove)&&this.elem.remove.find(r(t))?this.elem.remove=this.elem.remove.filter(o(t)):("add"in this.elem||(this.elem.add=[]),null===(e=this.elem.add)||void 0===e||e.push(i)),this}remove(t){var s;if(t=n(t),Array.isArray(this.elem)){const s=this.elem.findIndex(r(t));s>-1&&this.elem.splice(s,1)}else"children"in this.elem&&Array.isArray(this.elem.children)?this.elem.children=this.elem.children.filter(o(t)):"add"in this.elem&&Array.isArray(this.elem.add)&&this.elem.add.find((s=>s===t))?this.elem.add=this.elem.add.filter(o(t)):("remove"in this.elem||(this.elem.remove=[]),null===(s=this.elem.remove)||void 0===s||s.push(t));return this}set style(t){console.log(t)}setChildrenProps(t,s){console.log(this.keyString,t,s)}getChildrenProps(t){return console.log(this.keyString,t),{}}replace(t){console.log(this.config,t)}}class l{constructor(s){this.config=s||t}find(t,s={}){t=n(t);const e=[],i=[];Object.keys(s||{}).forEach((t=>{"boolean"==typeof s[t]?e.push(t):i.push([t,s[t]])})),e.sort();const r=this.config.root;if(void 0===r)return;let o=t,a="";e.length>0&&(a=`.${e.join(".")}`,o=`${t}${a}`,Array.isArray(r[t])&&(r[t]={states:[],children:r[t]}),void 0===r[t].states&&(r[t].states=[]),e.forEach((s=>{var e,i;-1===(null===(e=r[t].states)||void 0===e?void 0:e.indexOf(s))&&(null===(i=r[t].states)||void 0===i||i.push(s))}))),i.length>0&&i.forEach((s=>{o=`${t}[${s[0]}=${s[1]}]${a}`,Array.isArray(r[t])&&(r[t]={state:s[0],children:r[t]})}));let d=r[o];return void 0===d&&(r[o]={},d=r[o]),new h(d,this.config,o)}build(){return this.config}}function f(t,e,i){if(!i){const t=s(e.self.config,e);i=t.config}return t.map((t=>{i=t.register(i,e,(t=>new l(t)))})),i}export{l as RtkUiBuilder,f as registerAddons,i as sendNotification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=n=>{null!=n&&(null!=n.requestFullscreen?n.requestFullscreen():null!=n.mozRequestFullScreen?n.mozRequestFullScreen():null!=n.webkitRequestFullscreen?n.webkitRequestFullscreen():null!=n.msRequestFullscreen&&n.msRequestFullscreen())},u=()=>{null!=document.exitFullscreen?document.exitFullscreen():null!=document.mozExitFullScreen?document.mozExitFullScreen():null!=document.webkitExitFullscreen?document.webkitExitFullscreen():null!=document.msExitFullscreen&&document.msExitFullscreen()},l=()=>null!=document.fullscreenElement||null!=document.webkitCurrentFullScreenElement,e=()=>"undefined"!=typeof document&&(document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled);export{e as a,u as e,l as i,n as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a,c as o}from"./p-9c733fd3.js";import{S as r}from"./p-27478c0c.js";var c=function(t,i,s,e){var a,o=arguments.length,r=o<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 c=t.length-1;c>=0;c--)(a=t[c])&&(r=(o<3?a(r):o>3?a(i,s,r):a(i,s))||r);return o>3&&r&&Object.defineProperty(i,s,r),r};const n=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.aiActive=!1}statesChanged(t){this.aiActive=t.activeAI}toggleAI(){var t;this.aiActive=!(null===(t=this.states)||void 0===t?void 0:t.activeAI),this.stateUpdate.emit({activeAI:this.aiActive,activeMoreMenu:!1,activeSidebar:!1})}render(){var t,i;const a=this.t("ai.meeting_ai");return(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions).transcriptionEnabled?s(e,{title:a},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.aiActive},onClick:()=>this.toggleAI(),icon:this.iconPack.meeting_ai,label:a,variant:this.variant,brandIcon:!0})):s(e,{"data-hidden":!0})}static get watchers(){return{states:["statesChanged"]}}};c([r()],n.prototype,"states",void 0),c([r()],n.prototype,"meeting",void 0),c([r()],n.prototype,"size",void 0),c([r()],n.prototype,"iconPack",void 0),c([r()],n.prototype,"t",void 0),n.style=":host{display:block}:host([data-hidden]){display:none}";export{n as rtk_ai_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=(o,t=!0)=>{null!=o&&o.scrollTo({top:o.scrollHeight,behavior:t?"smooth":"auto"})};export{o as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./p-0ee570cd.js";import{M as r,j as n,s,f as t}from"./p-edee9b57.js";const l=r=>r.map((r=>{switch(r.type){case"a":if("string"==typeof r.content)return e("a",{class:"link",href:n=r.content,target:"_blank",rel:"noopener noreferrer"},n);case"b":return(r=>e("b",null,"string"==typeof r?r:l(r)))(r.content);case"i":return(r=>e("i",null,"string"==typeof r?r:l(r)))(r.content);case"s":return(r=>"string"==typeof r?e("s",null,r):e("b",null,l(r)))(r.content);case"q":return e("span",{class:"block-quote"});default:return(r=>"string"==typeof r?r:e("p",null,l(r)))(r.content)}var n})),o=({message:o})=>{const u=o.slice(0,r),a=n(u,!0),p=s(u);return e("p",null,0!==a.length&&e("blockquote",null,a.split("\n").map((r=>{const n=t(r);return e("p",null,l(n))}))),p.split("\n").map((r=>{const n=t(r);return e("p",null,l(n))})))};export{o as T}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,w as s,h as i}from"./p-0ee570cd.js";import{a as r}from"./p-9c733fd3.js";import{S as e}from"./p-27478c0c.js";import{d as h}from"./p-a08b5a59.js";import"./p-2c3cda13.js";const a=class{constructor(i){t(this,i),this.visibleItemsCount=20,this.estimateItemSize=100,this.iconPack=r,this.isFetching=!1,this.autoScroll=!0,this.totalHeight=0,this.sizes=new Map,this.lastScrollTop=0,this.scrollToBottomRetries=0,this.elementObserver=(()=>{let t=null;const s=()=>t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver((t=>{t.forEach((t=>{this.measureElement(t.target,t)}))})):null);return{disconnect:()=>{var t;return null===(t=s())||void 0===t?void 0:t.disconnect()},observe:t=>{var i;return null===(i=s())||void 0===i?void 0:i.observe(t,{box:"border-box"})},unobserve:t=>{var i;return null===(i=s())||void 0===i?void 0:i.unobserve(t)}}})(),this.measureElement=(t,s)=>{if(!t)return;const i=t.dataset.id;if(this.sizes.has(i))return void this.elementObserver.unobserve(t);if(s){const r=s.borderBoxSize[0];if(r&&r.blockSize>0)return this.saveItemSize(i,r.blockSize),void this.elementObserver.unobserve(t)}const r=t.getBoundingClientRect();r.height>0&&this.saveItemSize(i,r.height)},this.getVisibleItems=()=>this.messages.slice(this.range.start,this.range.end+1),this.updateVisibleItems=(t,s)=>{const i=this.messages.length;let r=t,e=s;i<=this.visibleItemsCount?(r=0,e=i-1):s-t<this.visibleItemsCount-1&&(r=this.range.end-this.visibleItemsCount+1),this.range.start!==r&&(this.range={start:r,end:e},this.totalHeight=this.getRangeSize(0,i))},this.getEstimatedItemSize=()=>this.estimateItemSize,this.getRangeSize=(t,s)=>{let i=0,r=0;for(let e=t;e<s;e++)r=this.sizes.get(this.messages[e].id),i+=r||this.getEstimatedItemSize();return i},this.getScrollTop=()=>this.$listRef?Math.ceil(this.$listRef.scrollTop):0,this.getClientHeight=()=>this.$listRef?Math.ceil(this.$listRef.clientHeight):0,this.getScrollHeight=()=>this.$listRef?Math.ceil(this.$listRef.scrollHeight):0,this.getItemsScrolled=()=>{const t=this.lastScrollTop;if(t<=0)return 0;let s=0,i=0,r=0,e=this.messages.length;for(;s<=e;){if(i=s+e>>>1,r=this.getRangeSize(0,i),r===t)return i;r<t?s=i+1:r>t&&(e=i-1)}return s>0?--s:0},this.getEndByStart=t=>Math.min(t+this.visibleItemsCount,this.messages.length-1),this.scrollToOffset=t=>{this.$listRef&&(this.$listRef.scrollTop=t)},this.scrollToIndex=t=>{if(t>=this.messages.length-1)this.scrollToBottom();else{const s=t<1?0:this.getRangeSize(0,t);this.scrollToOffset(s)}},this.scrollToBottom=()=>{this.$listEndRef&&s((()=>{this.$listEndRef.scrollIntoView(),this.getScrollHeight()-(this.getScrollTop()+this.getClientHeight())>0&&this.scrollToBottomRetries<10?setTimeout((()=>{this.scrollToBottom()}),1e3/60):(this.scrollToBottomRetries=0,this.autoScroll=!0)}))},this.handleScroll=async()=>{if(this.isFetching)return;const t=this.getScrollTop(),s=t<this.lastScrollTop||0===t?"UP":"DOWN";if(this.lastScrollTop=t,this.loadMore&&0===t&&"UP"===s&&!1===this.isFetching){this.isFetching=!0;const t=await this.loadMore(this.messages[0]);t&&t.length&&(this.messages=[...t,...this.messages]),this.isFetching=!1}"UP"===s?this.handleTop():"DOWN"===s&&this.handleBottom()},this.handleTop=()=>{const t=this.getItemsScrolled();if(t<=this.range.end-5&&(this.autoScroll=!1),t>this.range.start+5)return;const s=Math.max(this.range.start-5,0);this.updateVisibleItems(s,this.getEndByStart(s))},this.handleBottom=()=>{if(this.getItemsScrolled()<this.range.start+5)return;const t=this.range.start+5,s=this.getEndByStart(t);this.updateVisibleItems(s===this.messages.length-1?s-this.visibleItemsCount:t,s)},this.updateTotalHeight=h((()=>{this.totalHeight=this.getRangeSize(0,this.messages.length)}),1e3/30,{leading:!0}),this.rendererInternal=(t,s,i)=>{if(!t)return;if(t.dataset.id===s.id)return;const r=this.renderer(s,i);t.hasChildNodes&&(t.innerHTML=""),this.elementObserver.observe(t),t.dataset.id=s.id,t.appendChild(r)}}connectedCallback(){const t=this.messages.length-1;this.range={start:t-this.visibleItemsCount,end:t},this.updateVisibleItems(this.range.start,this.range.end),this.totalHeight=this.getRangeSize(0,t)}componentDidLoad(){this.autoScroll&&this.scrollToBottom()}messagesUpdated(t,s){if(t.length>s.length){const i=t.length-s.length;this.updateVisibleItems(i,this.getEndByStart(i)),this.scrollToIndex(this.range.start)}}saveItemSize(t,s){this.sizes.set(t,Math.round(s)),this.updateTotalHeight()}render(){return i("div",{key:"0bd9791d55b2c7b17e0f2165815d592e400612b6",class:"scrollbar content-wrapper",ref:t=>this.$listRef=t,onScroll:this.handleScroll},i("div",{key:"b255bce421935f065862a6a3a34e9ae588c936cd",class:"scroller"},i("div",{key:"3eab5b317790b234f1a5c1935d7b8bf4d48620eb",style:{height:`${this.totalHeight}px`}}),i("div",{key:"47d070acc6cdd5e5cdd146594dbcb53906e5fc37",class:"smallest-dom-element",id:"list-end",ref:t=>this.$listEndRef=t})),i("div",{key:"348ec8b65c0f76146f6ab65cbda80057dde6d93d",class:"content",style:{transform:`translateY(${this.getRangeSize(0,this.range.start)}px)`}},this.isFetching&&i("div",{key:"100d528dae04469574a6c908ba4e0159d61a928f",class:"loader"},i("rtk-spinner",{key:"a3a7cc932bd40b71bf67d9bb95cb7cdd8e36696f",size:"md"})),this.getVisibleItems().map(((t,s)=>i("div",{key:t.id,ref:i=>this.rendererInternal(i,t,s)})))))}static get watchers(){return{messages:["messagesUpdated"]}}};(function(t,s,i,r){var e,h=arguments.length,a=h<3?s:null===r?r=Object.getOwnPropertyDescriptor(s,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,r);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(h<3?e(a):h>3?e(s,i,a):e(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([e()],a.prototype,"iconPack",void 0),a.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.loading{cursor:wait}.content-wrapper{height:100%;overflow-y:auto;position:relative;contain:strict}.scroller{width:1px;opacity:0}.content{position:absolute;top:0;width:100%}.smallest-dom-element{width:100%;height:2px;background:red}.loader{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;justify-content:center}";export{a as rtk_message_list_view}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-0ee570cd.js";import{s as a,f as s}from"./p-338c7261.js";const o=(t,a)=>{const s=a.getTime()-t.getTime();return Math.round(Math.abs(s/1e3/60))},e=(t,a)=>{const s=o(t,a);if(s<2)return"just now";if(s<60)return`${s}m ago`;const e=Math.round(s/60);if(s<90)return`about ${e}h ago`;if(e<24)return`${e}h ago`;const r=Math.round(e/24);return r<7?`${r}d ago`:`${Math.round(r/7)}w ago`},r=t=>t.toDateString()+" "+t.toLocaleTimeString(),n=({name:o,time:n,now:i})=>t("div",{class:"head"},t("div",{class:"name"},a(s(o),20)),t("div",{class:"time",title:r(n)},e(n,i)));export{n as C,o as d,e,r as f}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},o=(t,e)=>e in t,l=(t,e)=>(0,console.error)(t,e),s=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},f={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),h=!1,p=[],v=[],m=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&f.o?w(b):f.raf(b))},y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},b=()=>{y(p),y(v),(h=p.length>0)&&f.raf(b)},w=t=>a().then(t),$=m(v,!0),S=t=>"object"==(t=typeof t)||"function"===t;function g(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>O,ok:()=>k,unwrap:()=>E,unwrapErr:()=>C});var k=t=>({isOk:!0,isErr:!1,value:t}),j=t=>({isOk:!1,isErr:!0,value:t});function O(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>k(t))):k(n)}if(t.isErr)return j(t.value);throw"should never get here"}var E=t=>{if(t.isOk)return t.value;throw t.value},C=t=>{if(t.isErr)return t.value;throw t.value},M=t=>{const e=R(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&x(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!F(t,P(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&R(t,"childNodes").length&&M(t)}};function x(t,e,n){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||P(o)===n)&&(s.push(o),void 0!==n))return s;s=[...s,...x(o.childNodes,e,n)]}return s}var F=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)P(l)!==e||!n&&l["s-sr"]||o.push(l);return o},N=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,P=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function R(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var T,L,A=(t,e,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!S(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?D(null,o):o),r=i)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,W);const f=D(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=l,f.v=s,f},D=(t,e)=>({o:0,m:t,i:e,$:null,h:null,u:null,p:null,v:null}),U={},W={forEach:(t,e)=>t.map(_).forEach(e),map:(t,e)=>t.map(_).map(e).map(H)},_=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.v,vtag:t.m,vtext:t.i}),H=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),A(t.vtag,e,...t.vchildren||[])}const e=D(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.v=t.vname,e},B=(t,e)=>null==t||S(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,z=t=>e(t).$hostElement$,I=(t,e,n)=>{const o=z(t);return{emit:t=>V(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},V=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},Y=new WeakMap,q=t=>"sc-"+t.S,G=(t,e,n,l,s,i)=>{if(n===l)return;let r=o(t,e),a=e.toLowerCase();if("class"===e){const e=t.classList,o=K(n);let s=K(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===e){for(const e in n)l&&null!=l[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in l)n&&l[e]===n[e]||(e.includes("-")?t.style.setProperty(e,l[e]):t.style[e]=l[e])}else if("key"===e);else if("ref"===e)l&&l(t);else if(r||"o"!==e[0]||"n"!==e[1]){const o=S(l);if((r||o&&null!==l)&&!s)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let u=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(e=a,u=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!r||4&i||s)&&!o&&1===t.nodeType&&(l=!0===l?"":l,u?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}else if(e="-"===e[2]?e.slice(3):o(u,a)?a.slice(2):a[2]+e.slice(3),n||l){const o=e.endsWith(Q);e=e.replace(X,""),n&&f.rel(t,e,n,o),l&&f.ael(t,e,l,o)}},J=/\s/,K=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(J):[]),Q="Capture",X=RegExp(Q+"$"),Z=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||{},s=e.u||{};for(const t of tt(Object.keys(l)))t in s||G(o,t,l[t],void 0,n,e.o);for(const t of tt(Object.keys(s)))G(o,t,l[t],s[t],n,e.o)};function tt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var et=!1,nt=!1,ot=!1,lt=!1,st=(t,e,n)=>{var o;const l=e.h[n];let s,i,r,c=0;if(et||(ot=!0,"slot"===l.m&&(l.o|=l.h?2:1)),null!==l.i)s=l.$=u.document.createTextNode(l.i);else if(1&l.o)s=l.$=u.document.createTextNode(""),Z(null,l,lt);else{if(!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(s=l.$=u.document.createElement(!et&&2&l.o?"slot-fb":l.m),Z(null,l,lt),l.h)for(c=0;c<l.h.length;++c)i=st(t,l,c),i&&s.appendChild(i)}return s["s-hn"]=L,3&l.o&&(s["s-sr"]=!0,s["s-cr"]=T,s["s-sn"]=l.v||"",s["s-rf"]=null==(o=l.u)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots. \n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e})(l.childNodes)).forEach((t=>{o===P(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}(s),r=t&&t.h&&t.h[n],r&&r.m===l.m&&t.$&&it(t.$,!1)),s},it=(t,e)=>{f.o|=1;const n=Array.from(t.__childNodes||t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==L&&o["s-ol"]&&(vt(ft(o).parentNode,o,ft(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ot=!0),e&&it(o,e)}f.o&=-2},rt=(t,e,n,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===L&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=st(null,n,l),i&&(o[l].$=i,vt(r,i,ft(e))))},ct=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;pt(e),t&&(nt=!0,t["s-ol"]?t["s-ol"].remove():it(t,!0),t.remove())}}},ut=(t,e,n=!1)=>t.m===e.m&&("slot"===t.m?t.v===e.v:n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),ft=t=>t&&t["s-ol"]||t,at=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,i=e.i;let r;null===i?(Z(t,e,lt),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],m=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--p];else if(ut(d,v,l))at(d,v,l),d=e[++r],v=o[++c];else if(ut(h,m,l))at(h,m,l),h=e[--a],m=o[--p];else if(ut(d,m,l))"slot"!==d.m&&"slot"!==m.m||it(d.$.parentNode,!1),at(d,m,l),vt(t,d.$,h.$.nextSibling),d=e[++r],m=o[--p];else if(ut(h,v,l))"slot"!==d.m&&"slot"!==m.m||it(h.$.parentNode,!1),at(h,v,l),vt(t,h.$,d.$),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===v.p){u=f;break}u>=0?(i=e[u],i.m!==v.m?s=st(e&&e[c],n,u):(at(i,v,l),e[u]=void 0,s=i.$),v=o[++c]):(s=st(e&&e[c],n,c),v=o[++c]),s&&vt(ft(d.$).parentNode,s,ft(d.$))}r>a?rt(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&ct(e,r,a)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),rt(o,null,e,s,0,s.length-1)):!n&&null!==l&&ct(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.i!==i&&(o.data=i)},dt=[],ht=t=>{let e,n,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"])if(N(e,l)){let n=dt.find((t=>t.k===e));nt=!0,e["s-sn"]=e["s-sn"]||l,n?(n.k["s-sh"]=t["s-hn"],n.j=t):(e["s-sh"]=t["s-hn"],dt.push({j:t,k:e})),e["s-sr"]&&dt.map((t=>{N(t.k,e["s-sn"])&&(n=dt.find((t=>t.k===e)),n&&!t.j&&(t.j=n.j))}))}else dt.some((t=>t.k===e))||dt.push({k:e})}1===t.nodeType&&ht(t)}},pt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(pt)},vt=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),mt=(t,e)=>{if(e&&!t.O&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.O=()=>{e["s-p"].splice(n-1,1),o()})))}},yt=(t,e)=>{if(t.o|=16,!(4&t.o))return mt(t,t.C),$((()=>bt(t,e)));t.o|=512},bt=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.o|=256,t.M&&(t.M.map((([t,e])=>Mt(o,t,e,n))),t.M=void 0),l=Mt(o,"componentWillLoad",void 0,n)):l=Mt(o,"componentWillUpdate",void 0,n),l=wt(l,(()=>Mt(o,"componentWillRender",void 0,n))),wt(l,(()=>St(t,o,e)))},wt=(t,e)=>$t(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),$t=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,St=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.F,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=q(e),l=i.get(o);if(!u.document)return o;if(t=11===t.nodeType?t:u.document,l)if("string"==typeof l){let s,i=Y.get(t=t.head||t);if(i||Y.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||u.document.createElement("style"),s.innerHTML=l;const i=null!=(n=f.N)?n:g(u.document);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=r),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);kt(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Ot(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},gt=null,kt=(t,e,n,o)=>{try{gt=e,e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,i;const r=t.$hostElement$,c=t.F,a=t.P||D(null,null),d=(t=>t&&t.m===U)(e)?e:A(null,null,e);if(L=r.tagName,c.R&&(d.u=d.u||{},c.R.map((([t,e])=>d.u[e]=r[t]))),n&&d.u)for(const t of Object.keys(d.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.u[t]=r[t]);if(d.m=null,d.o|=4,t.P=d,d.$=a.$=r.shadowRoot||r,et=!(!(1&c.o)||128&c.o),T=r["s-cr"],nt=!1,at(a,d,n),f.o|=1,ot){ht(d.$);for(const t of dt){const e=t.k;if(!e["s-ol"]&&u.document){const t=u.document.createTextNode("");t["s-nr"]=e,vt(e.parentNode,e["s-ol"]=t,e)}}for(const t of dt){const e=t.k,r=t.j;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),vt(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}nt&&M(d.$),f.o&=-2,dt.length=0,T=void 0})(t,e,o)}catch(e){l(e,t.$hostElement$)}return gt=null,null},jt=()=>gt,Ot=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Mt(n,"componentDidRender",void 0,e),64&t.o?Mt(n,"componentDidUpdate",void 0,e):(t.o|=64,xt(e),Mt(n,"componentDidLoad",void 0,e),t.T(e),o||Ct()),t.L(e),t.O&&(t.O(),t.O=void 0),512&t.o&&w((()=>yt(t,!1))),t.o&=-517},Et=t=>{{const n=e(t),o=n.$hostElement$.isConnected;return o&&2==(18&n.o)&&yt(n,!1),o}},Ct=()=>{w((()=>V(u,"appload",{detail:{namespace:"realtimekit-ui"}})))},Mt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,o)}},xt=t=>t.classList.add("hydrated"),Ft=(t,n,o,s)=>{const i=e(t);if(!i)throw Error(`Couldn't find host element for "${s.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.A.get(n),u=i.o,f=i.t;if(o=B(o,s.D[n][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.A.set(n,o),f)){if(s.U&&128&u){const t=s.U[n];t&&t.map((t=>{try{f[t](o,c,n)}catch(t){l(t,r)}}))}if(2==(18&u)){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n))return;yt(i,!1)}}},Nt=(t,n,o)=>{var l,s;const i=t.prototype;if(n.D||n.U||t.watchers){t.watchers&&!n.U&&(n.U=t.watchers);const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&n.D[t][0]))return((t,n)=>e(this).A.get(n))(0,t);const o=e(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=e(this);if(r){const e=32&l?this[t]:i.$hostElement$[t];return void 0===e&&i.A.get(t)?s=i.A.get(t):!i.A.get(t)&&e&&i.A.set(t,e),r.call(this,B(s,l)),void Ft(this,t,s=32&l?this[t]:i.$hostElement$[t],n)}{if(!(1&o&&4096&n.D[t][0]))return Ft(this,t,s,n),void(1&o&&!i.t&&i.W.then((()=>{4096&n.D[t][0]&&i.t[t]!==i.A.get(t)&&(i.t[t]=s)})));const e=()=>{const e=i.t[t];!i.A.get(t)&&e&&i.A.set(t,e),i.t[t]=B(s,l),Ft(this,t,i.t[t],n)};i.t?e():i.W.then((()=>e()))}}})}else 1&o&&64&l&&Object.defineProperty(i,t,{value(...n){var o;const l=e(this);return null==(o=null==l?void 0:l._)?void 0:o.then((()=>{var e;return null==(e=l.t)?void 0:e[t](...n)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){f.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=e(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const e=o.t,i=null==(r=n.U)?void 0:r[t];null==i||i.forEach((n=>{null!=e[n]&&e[n].call(e,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.U)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{var l;const s=e[1]||t;return o.set(s,t),512&e[0]&&(null==(l=n.R)||l.push([t,s])),s}))]))}}return t},Pt=(t,e)=>{Mt(t,"connectedCallback",void 0,e)},Rt=(t,e)=>{Mt(t,"disconnectedCallback",void 0,e||t)},Tt=(t,n={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],a=n.exclude||[],h=u.customElements,p=u.document.head,v=p.querySelector("meta[charset]"),m=u.document.createElement("style"),y=[];let b,w=!0;Object.assign(f,n),f.l=new URL(n.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{var o;const r={o:n[0],S:n[1],D:n[2],H:n[3]};4&r.o&&($=!0),r.D=n[2],r.H=n[3],r.R=[],r.U=null!=(o=n[4])?o:{};const p=r.S,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,F:e,A:new Map};n._=new Promise((t=>n.L=t)),n.W=new Promise((t=>n.T=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.S}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&r.o)})}connectedCallback(){const t=e(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,At(this,t,r.H)),b&&(clearTimeout(b),b=null),w?y.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const n=e(t),o=n.F,r=()=>{};if(1&n.o)At(t,n,o.H),(null==n?void 0:n.t)?Pt(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>Pt(n.t,t)));else{n.o|=1,12&o.o&&(t=>{if(!u.document)return;const e=t["s-cr"]=u.document.createComment("");e["s-cn"]=!0,vt(t,e,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){mt(n,n.C=e);break}}o.D&&Object.entries(o.D).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.B){const i=((t,e)=>{const n=t.S.replace(/-/g,"_"),o=t.B;if(!o)return;const i=s.get(o);return i?i[n]:import(`./${o}.entry.js`).then((t=>(s.set(o,t),t[n])),(t=>{l(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};o=await i,t()}else o=i;if(!o)throw Error(`Constructor for "${n.S}#${e.I}" was not found`);o.isProxied||(n.U=o.watchers,Nt(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){l(e,t)}e.o&=-9,e.o|=128,r(),Pt(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=q(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.C,c=()=>yt(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,o)}r()}})(this)))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.o)){const n=e(t);n.V&&(n.V.map((t=>t())),n.V=void 0),(null==n?void 0:n.t)?Rt(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>Rt(n.t,t)))}Y.has(t)&&Y.delete(t),t.shadowRoot&&Y.has(t.shadowRoot)&&Y.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const n=e(this),o=y.findIndex((t=>t===this));o>-1&&y.splice(o,1),(null==(t=null==n?void 0:n.P)?void 0:t.$)instanceof Node&&!n.P.$.isConnected&&delete n.P.$}))}componentOnReady(){return e(this).W}};r.B=t[0],a.includes(p)||h.get(p)||(c.push(p),h.define(p,Nt(v,r,1)))}))})),c.length>0&&($&&(m.textContent+=r),m.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(o=f.N)?o:g(u.document);null!=t&&m.setAttribute("nonce",t),p.insertBefore(m,v?v.nextSibling:p.firstChild)}w=!1,y.length?y.map((t=>t.connectedCallback())):f.jmp((()=>b=setTimeout(Ct,30)))},Lt=(t,e)=>e,At=(t,e,n)=>{n&&u.document&&n.map((([n,o,l])=>{const s=Ut(u.document,t,n),i=Dt(e,l),r=Wt(n);f.ael(s,o,i,r),(e.V=e.V||[]).push((()=>f.rel(s,o,i,r)))}))},Dt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(e){l(e,t.$hostElement$)}},Ut=(t,e,n)=>8&n?u:e,Wt=t=>({passive:!!(1&t),capture:!!(2&t)}),_t=t=>f.N=t;export{Lt as F,U as H,z as a,Tt as b,I as c,Et as f,jt as g,A as h,a as p,n as r,_t as s,$ as w}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a as n,c as a}from"./p-9c733fd3.js";import{b as l}from"./p-41382f52.js";import{S as o}from"./p-27478c0c.js";var h=function(t,i,s,e){var n,a=arguments.length,l=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(l=(a<3?n(l):a>3?n(i,s,l):n(i,s))||l);return a>3&&l&&Object.defineProperty(i,s,l),l};const r=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=n,this.t=a(),this.pluginsActive=!1,this.canViewPlugins=!1,this.updateCanView=()=>{this.canViewPlugins=l(this.meeting)}}disconnectedCallback(){var t,i,s,e;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.updateCanView),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.self)||void 0===e||e.permissions.removeListener("pluginsUpdate",this.updateCanView)}connectedCallback(){this.statesChanged(this.states),this.meetingChanged(this.meeting)}meetingChanged(t){var i,s;null!=t&&(this.canViewPlugins=l(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pluginsUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pluginsActive=!0===t.activeSidebar&&"plugins"===t.sidebar)}togglePlugins(){const t=this.states;this.pluginsActive=!((null==t?void 0:t.activeSidebar)&&"plugins"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pluginsActive,sidebar:this.pluginsActive?"plugins":void 0,activeMoreMenu:!1,activeAI:!1})}handlePluginsActiveChange(){this.pluginsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPlugins)return s(e,{"data-hidden":!0});const t=this.t("plugins");return s(e,{title:t},s("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pluginsActive},onClick:()=>this.togglePlugins(),icon:this.iconPack.rocket,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pluginsActive:["handlePluginsActiveChange"]}}};h([o()],r.prototype,"meeting",void 0),h([o()],r.prototype,"states",void 0),h([o()],r.prototype,"size",void 0),h([o()],r.prototype,"iconPack",void 0),h([o()],r.prototype,"t",void 0),r.style=":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}:host([data-hidden]){display:none}";export{r as rtk_plugins_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as t,h as o,H as a}from"./p-0ee570cd.js";import{a as e,c as s}from"./p-9c733fd3.js";import{g as c}from"./p-edee9b57.js";import{S as i}from"./p-27478c0c.js";var n=function(r,t,o,a){var e,s=arguments.length,c=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(r,t,o,a);else for(var i=r.length-1;i>=0;i--)(e=r[i])&&(c=(s<3?e(c):s>3?e(t,o,c):e(t,o))||c);return s>3&&c&&Object.defineProperty(t,o,c),c};const p=class{constructor(o){r(this,o),this.groupChanged=t(this,"rtkChatGroupChanged",7),this.unreadCounts={},this.groups=[],this.iconPack=e,this.t=s(),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[c([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}))))}};n([i()],p.prototype,"iconPack",void 0),n([i()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{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)}";export{p as rtk_chat_selector_ui}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as a}from"./p-0ee570cd.js";import{d as r,a as i,c}from"./p-9c733fd3.js";import{S as n}from"./p-27478c0c.js";var o=function(t,e,a,r){var i,c=arguments.length,n=c<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,a,r);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(n=(c<3?i(n):c>3?i(e,a,n):i(e,a))||n);return c>3&&n&&Object.defineProperty(e,a,n),n};const s=class{constructor(e){t(this,e),this.config=r,this.iconPack=i,this.t=c()}render(){return e(a,{key:"9f9d0064dfc52af63ae90921929b25c822cb4d8c"},e("slot",{key:"c1c5744d86e89b22fa5f5c1b623ea97c0a1d2731"},e("div",{key:"25e311957c411c61940fa1d51e350d466b0b2c92",class:"ctr",part:"container"},e("rtk-logo",{key:"daac0467ba4c3f5f9c7e23667c928e4ed40d6f96",meeting:this.meeting,config:this.config,t:this.t,part:"logo"}),e("rtk-spinner",{key:"c36f58219362cb8d6c31eb975004428439592d3f","aria-label":"Idle, waiting for meeting data",part:"spinner",iconPack:this.iconPack}))))}};o([n()],s.prototype,"meeting",void 0),o([n()],s.prototype,"iconPack",void 0),o([n()],s.prototype,"t",void 0),s.style=":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)}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))}";export{s as rtk_idle_screen}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as r,H as s}from"./p-0ee570cd.js";import{c as e,a as n}from"./p-9c733fd3.js";import{S as a}from"./p-27478c0c.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>null==this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){if(this.canRecord)return r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled}))}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),o([a()],c.prototype,"size",void 0),c.style=":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}";export{c as rtk_recording_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as t,h as a,H as o}from"./p-0ee570cd.js";import{a as e,c as i}from"./p-9c733fd3.js";import{S as s}from"./p-27478c0c.js";import{s as c,f as l,g as n}from"./p-338c7261.js";var p=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const d=class{constructor(a){r(this,a),this.onVote=t(this,"rtkVotePoll",7),this.iconPack=e,this.t=i(),this.MAX_VOTES_RENDER=10}vote(r,t){this.poll.voted.includes(this.self)?r.preventDefault():this.onVote.emit({id:this.poll.id,index:t})}render(){const r=this.poll.voted.includes(this.self);return a(o,{key:"3436a978185495090fcf81a59f40e3d0f9bac969"},a("div",{key:"1349450369add7268b290b2b75ca07aa28820683",class:"ctr"},a("p",{key:"f36ddcb1f30368e5b311fe7f11cca87785c9570c",class:"poll-title"},this.t("polls.by")," ",c(l(this.poll.createdBy),20)),a("div",{key:"6c5ac869b1c182d09d9e1490a312797c913d24b1",class:"poll"},a("p",{key:"1c3ca8f47cf9a08f3ac7ef47e144330b922534fc",class:"poll-question"},this.poll.question),a("div",{key:"e5e60be4359714828d1d25bb24f5f143a1c6428f",class:"poll-answers"},a("span",{key:"60eeb63b59d1f3d8c44a1cbd53c42e82877f22d1"},this.t("polls.answers")),a("span",{key:"6c6a42a4e6b84ec18ad94bcd4015ed4047b7b0aa"},this.poll.voted.length)),this.poll.options.map(((t,o)=>a("div",{class:{active:t.votes.some((r=>r.id===this.self)),"open-vote":this.permissions.polls.canVote&&!r,"poll-option":!0}},a("div",{class:"poll-option-header","data-disabled":!this.permissions.polls.canVote},a("label",null,!r&&a("input",{disabled:!this.permissions.polls.canVote,readOnly:r,type:"radio",checked:t.votes.some((r=>r.id===this.self)),onClick:r=>this.vote(r,o)}),a("p",null,t.text)),a("span",{class:"counter"},t.count)),a("div",{class:"votes"},t.votes.slice(0,this.MAX_VOTES_RENDER).map((r=>{if(!this.poll.anonymous||this.self===this.poll.createdByUserId)return a("rtk-tooltip",{label:r.name},a("div",{class:"vote"},n(r.name)))})),t.votes.length>this.MAX_VOTES_RENDER&&a("rtk-tooltip",{label:`+${t.votes.length-this.MAX_VOTES_RENDER} more `},a("div",{class:"vote"},"+",t.votes.length-this.MAX_VOTES_RENDER)))))))))}};p([s()],d.prototype,"iconPack",void 0),p([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.ctr{margin-bottom:var(--rtk-space-3, 12px);display:flex;width:100%;flex-direction:column;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.poll-title{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-4, 16px);font-size:12px}.poll{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));display:flex;flex-direction:column;padding:var(--rtk-space-4, 16px)}.poll-question{padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;overflow-wrap:break-word}.poll-answers{display:flex;flex-direction:row;justify-content:space-between;font-size:12px;margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-1, 4px);padding-left:var(--rtk-space-1, 4px);padding-right:var(--rtk-space-3, 12px)}.poll-option{display:flex;flex-direction:column;margin-top:var(--rtk-space-2, 8px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px);word-break:break-word}.poll-option.open-vote:hover{cursor:pointer}.poll-option label{display:flex;flex-direction:row;cursor:inherit}.poll-option-header{display:flex;flex-direction:row;justify-content:space-between;padding:var(--rtk-space-1, 4px)}.poll-option-header[data-disabled='true']:hover{cursor:default}.poll-option-header input{margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px);margin-left:var(--rtk-space-0\\.5, 2px);margin-right:var(--rtk-space-2, 8px);cursor:inherit}.poll-option-header .counter{color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-size:12px}.votes{margin-top:var(--rtk-space-1, 4px);display:flex;flex-direction:row;flex-wrap:wrap}.vote{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);display:flex;align-items:center;justify-content:center;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));border-radius:var(--rtk-border-radius-none, 0);clip-path:circle()}.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}.active .counter{color:rgb(var(--rtk-colors-text-on-brand-900, var(--rtk-colors-text-900, 255 255 255 / 0.88)))}";var b=function(r,t,a,o){var e,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,a):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,a,o);else for(var c=r.length-1;c>=0;c--)(e=r[c])&&(s=(i<3?e(s):i>3?e(t,a,s):e(t,a))||s);return i>3&&s&&Object.defineProperty(t,a,s),s};const k=class{constructor(a){r(this,a),this.onCreate=t(this,"rtkCreatePoll",7),this.iconPack=e,this.t=i(),this.options=["",""],this.anonymous=!1,this.hideVotes=!0}removeOption(r){var t;this.options=this.options.filter(((t,a)=>a!==r)),1===(null===(t=this.error)||void 0===t?void 0:t.code)&&(this.error=void 0)}addOption(){this.options=[...this.options,""]}updateOption(r,t){var a;this.options[t]=r.target.value,1===(null===(a=this.error)||void 0===a?void 0:a.code)&&(this.error=void 0)}handleSubmit(){const r={question:this.question.value,options:this.options,anonymous:this.anonymous,hideVotes:!!this.anonymous||this.hideVotes};r.question?this.options.filter((r=>""===r.trim())).length>0?this.error={code:1,message:this.t("polls.errors.empty_option")}:this.onCreate.emit(r):this.error={code:0,message:this.t("polls.errors.question_required")}}render(){return a(o,{key:"a5d66ad4586b3e3bf360fc7f3330cbebfcc27d29"},a("div",{key:"ab293118b0a4e4f0839da8b1f28e8bb4c3075e00",class:"create-poll"},a("p",{key:"dd851c73436db148c85fa4ae605841acc4047114"},this.t("polls.question")),a("textarea",{key:"f2fc86324169b0eb23eccbf6f9a9425b2fa43cef",onInput:()=>{this.error&&0===this.error.code&&(this.error=void 0)},ref:r=>this.question=r,placeholder:this.t("polls.question.placeholder")}),this.options.map(((r,t)=>a("div",{class:"option"},a("input",{placeholder:this.t("polls.option.placeholder"),value:r,onInput:r=>this.updateOption(r,t)}),t>1&&a("rtk-button",{kind:"icon",class:"auto remove-option",variant:"secondary",onClick:()=>this.removeOption(t)},a("rtk-icon",{icon:this.iconPack.subtract}))))),a("rtk-button",{key:"d33f567bcd74edf4ace17cd3a0ca36daf69eeb8c",class:"add-option",variant:"secondary",onClick:()=>this.addOption()},this.t("polls.option")),a("label",{key:"1ded9b5aeec6b5b5fec3cc2ec43c488b48a0568b"},a("input",{key:"37047cb8a6ccb8c37fc56261fb2f32fa0ff19d92",id:"anonymous",type:"checkbox",onChange:r=>this.anonymous=r.target.checked}),this.t("polls.results.anon")),a("label",{key:"50ac11b8af600d337cc2a1d8ec934e1abac7eaf6"},a("input",{key:"6d3df46887a4285d923cc2f8b82abf396a2df8fa",id:"hideVotes",type:"checkbox",disabled:this.anonymous,checked:!!this.anonymous||this.hideVotes,onChange:r=>this.hideVotes=r.target.checked}),this.t("polls.results.hide")),a("rtk-button",{key:"36f2228ca82a29f9d72f768fa65028690230a26f",kind:"wide",onClick:()=>this.handleSubmit()},this.t("polls.create")),this.error&&a("span",{key:"fe7a37df641bcf672e8c85a87251df19d8d1fc91",class:"error-text"},this.error.message)))}};b([s()],k.prototype,"iconPack",void 0),b([s()],k.prototype,"t",void 0),k.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}.create-poll{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);display:flex;flex:1 1 0%;flex-direction:column;padding:var(--rtk-space-3, 12px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.create-poll p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);text-align:center}.create-poll textarea{display:flex;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);font-family:var(--rtk-font-family, sans-serif);border-width:var(--rtk-border-width-none, 0);border-style:none;font-weight:500;outline:2px solid transparent;outline-offset:2px;margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px);resize:vertical;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.create-poll textarea:focus{outline-style:solid;outline-offset:2px;outline-color:rgb(var(--rtk-colors-background-600, 60 60 60))}.option{display:flex;flex-direction:row;align-items:center;margin-bottom:var(--rtk-space-3, 12px);width:100%}.option input{width:100%;border-radius:var(--rtk-border-radius-sm, 4px);padding:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.remove-option{margin-left:var(--rtk-space-2, 8px);width:var(--rtk-space-10, 40px);border-radius:var(--rtk-border-radius-sm, 4px)}.add-option{margin-bottom:var(--rtk-space-3, 12px)}label{margin-bottom:var(--rtk-space-3, 12px)}.error-text{margin-top:var(--rtk-space-3, 12px);text-align:center;font-size:12px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{d as rtk_poll,k as rtk_poll_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a as o,c as a}from"./p-9c733fd3.js";import{S as r}from"./p-27478c0c.js";var n=function(t,i,s,e){var o,a=arguments.length,r=a<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 n=t.length-1;n>=0;n--)(o=t[n])&&(r=(a<3?o(r):a>3?o(i,s,r):o(i,s))||r);return a>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=o,this.t=a()}toggleSettings(){const t={activeSettings:!0,activeMoreMenu:!1};this.states=Object.assign(Object.assign({},this.states),t),this.stateUpdate.emit(t)}render(){const t=this.t("settings");return s(e,{key:"11653f887305c7ba74c0e62197b0b8502f64bb22",title:t},s("rtk-controlbar-button",{key:"4e4985182d0c63d2f9f8f2fc8173f2cd10edf91d",part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleSettings(),icon:this.iconPack.settings,label:t,variant:this.variant}))}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"size",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":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}";export{c as rtk_settings_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as r,H as e}from"./p-0ee570cd.js";import{a as o,c as a,v as s,w as n}from"./p-9c733fd3.js";import{S as c}from"./p-27478c0c.js";var l=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const d=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a()}render(){var t,i;if(null==this.meeting)return null;const o={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},a=this.states,c=!0===(null===(t=null==a?void 0:a.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===s("mute-notification-sounds");return r(e,null,r("rtk-microphone-selector",Object.assign({},o),r("rtk-audio-visualizer",{participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),r("rtk-speaker-selector",Object.assign({},o)),r("div",{class:"group",part:"notification-toggle"},r("div",{class:"row"},r("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),r("rtk-switch",{id:"notification-toggle",checked:!c,onRtkChange:t=>{const{checked:i}=t.target,r=!i;this.stateUpdate.emit({prefs:{muteNotificationSounds:r}}),n("mute-notification-sounds",r)},iconPack:this.iconPack,t:this.t}))))}};l([c()],d.prototype,"meeting",void 0),l([c()],d.prototype,"states",void 0),l([c()],d.prototype,"size",void 0),l([c()],d.prototype,"iconPack",void 0),l([c()],d.prototype,"t",void 0),d.style=":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;width:100%;flex-direction:column}audio{visibility:hidden}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}rtk-audio-visualizer{flex-shrink:0}rtk-button{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));--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)}rtk-button rtk-icon{margin-right:var(--rtk-space-2, 8px)}";var p=function(t,i,r,e){var o,a=arguments.length,s=a<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(a<3?o(s):a>3?o(i,r,s):o(i,r))||s);return a>3&&s&&Object.defineProperty(i,r,s),s};const h=class{constructor(r){t(this,r),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=o,this.t=a(),this.onVideoUpdate=t=>{this.videoEnabled=t.videoEnabled}}componentDidLoad(){this.meetingChanged(this.meeting)}meetingChanged(t){var i;null!=t&&(this.videoEnabled=t.self.videoEnabled,null===(i=t.self)||void 0===i||i.addListener("videoUpdate",this.onVideoUpdate))}disconnectedCallback(){var t;null===(t=this.meeting.self)||void 0===t||t.removeListener("videoUpdate",this.onVideoUpdate)}render(){var t,i,o;if(null==this.meeting)return null;const a={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},c=this.states,l=!0===(null===(t=null==c?void 0:c.prefs)||void 0===t?void 0:t.mirrorVideo)||"true"===s("mirror-video");return r(e,null,r("div",{class:"section",part:"tile-preview"},r("div",{class:"group",part:"tile-preview"},!0===this.videoEnabled?r("rtk-participant-tile",{meeting:this.meeting,participant:null===(i=this.meeting)||void 0===i?void 0:i.self,iconPack:this.iconPack,t:this.t,states:c,size:this.size,isPreview:!0}):r("div",{class:"camera-off-helper"},r("rtk-participant-tile",{meeting:this.meeting,participant:null===(o=this.meeting)||void 0===o?void 0:o.self,size:this.size},r("div",null,r("rtk-icon",{id:"icon",icon:this.iconPack.video_off,tabIndex:-1,"aria-hidden":!0}),r("div",null,this.t("settings.camera_off"))))))),r("rtk-camera-selector",Object.assign({},a)),r("div",{class:"group",part:"mirror-toggle"},r("div",{class:"row"},r("label",{htmlFor:"mirror-toggle"},this.t("settings.mirror_video")),r("rtk-switch",{checked:l,iconPack:this.iconPack,t:this.t,onRtkChange:t=>{const{checked:i}=t.target;this.stateUpdate.emit({prefs:{mirrorVideo:i}}),n("mirror-video",i)}}))))}static get watchers(){return{meeting:["meetingChanged"]}}};p([c()],h.prototype,"meeting",void 0),p([c()],h.prototype,"states",void 0),p([c()],h.prototype,"size",void 0),p([c()],h.prototype,"iconPack",void 0),p([c()],h.prototype,"t",void 0),h.style=":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)}.rtk-select{--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))}.rtk-select:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.rtk-select{display:block;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:var(--rtk-space-3, 12px);font-size:16px;--icon-size:var(--rtk-select-chevron-size, var(--rtk-space-6, 24px));--icon-right-position:var(--rtk-select-chevron-right-position, var(--rtk-space-2, 8px));background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-position:right var(--icon-right-position) center;background-repeat:no-repeat;background-size:var(--icon-size) var(--icon-size);padding-right:calc(var(--icon-right-position) * 5)}:host{display:flex;width:100%;flex-direction:column}.rtk-select{width:100%;text-overflow:ellipsis}rtk-participant-tile{margin-left:auto;margin-right:auto;margin-bottom:var(--rtk-space-4, 16px);max-width:100%}#icon{padding-bottom:var(--rtk-space-1, 4px)}.apply-button{height:var(--rtk-space-10, 40px)}label{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px}.group{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px)}.group>*{margin-bottom:var(--rtk-space-2, 8px)}.group>*:last-child{margin-bottom:var(--rtk-space-0, 0px)}.group select{flex:1 1 0%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}.section{display:flex;flex-direction:column}@media only screen and (max-height: 480px) and (orientation: landscape){:host{flex-direction:row}:host([size='sm']){flex-direction:row}.section[part='tile-preview']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);max-height:90%;max-width:40%;flex-shrink:1}.section[part='video-settings']{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);flex-grow:1}}";export{d as rtk_settings_audio,h as rtk_settings_video}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as s,a as e}from"./p-0ee570cd.js";import{d as a,a as h,c as d}from"./p-9c733fd3.js";import{d as r}from"./p-b13ddb7d.js";import{R as o}from"./p-c8eaa707.js";import{S as m}from"./p-27478c0c.js";var c=function(t,i,s,e){var a,h=arguments.length,d=h<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(d=(h<3?a(d):h>3?a(i,s,d):a(i,s))||d);return h>3&&d&&Object.defineProperty(i,s,d),d};const n=class{constructor(i){t(this,i),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=a,this.iconPack=h,this.t=d(),this.gridSize=r,this.getAdaptiveSize=t=>"sm"===this.size||t>3||"md"===this.size?"sm":"md"}render(){const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((t=>this.pinnedParticipants.some((i=>i.id!=t.id))));return i(s,{key:"78a47e090097d8c758b7e78678c60c66231559e4"},i("main",{key:"405ea4039c11b49abe9b7636f94b966b2a02388f",part:"main"},i(o,{key:"bff026528181c24c2c761aa354678cb61aa01169",element:"rtk-simple-grid",defaults:t,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&i("aside",{key:"f2f77d8371fef0a83c5682d0dd7bf4d6c57ea69b",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},i(o,{key:"ba9e91c14b812c650275c4ae99bd602fb0f16aa0",element:"rtk-simple-grid",defaults:t,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],n.prototype,"size",void 0),c([m()],n.prototype,"meeting",void 0),c([m()],n.prototype,"states",void 0),c([m()],n.prototype,"iconPack",void 0),c([m()],n.prototype,"t",void 0),n.style=":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:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{n as rtk_spotlight_grid}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-0ee570cd.js";import{a}from"./p-9c733fd3.js";import{S as n}from"./p-27478c0c.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),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,a;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===(a=t.meta)||void 0===a||a.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=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"2775471382c6d07aae0ba8e18677d6850fd9cb34","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"48b8bdfeef973d7f3eb4cdd526e386226a4b999a",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"9f2bb7aa7adc6ecb65c5fef57e406801e6592e59",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":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)}";export{o as rtk_clock}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as r,h as e,H as t}from"./p-0ee570cd.js";import{c,a as o}from"./p-9c733fd3.js";import{d as i}from"./p-9fc565cf.js";import{S as s}from"./p-27478c0c.js";import{f as d,s as n}from"./p-338c7261.js";var l=function(a,r,e,t){var c,o=arguments.length,i=o<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,r,e,t);else for(var s=a.length-1;s>=0;s--)(c=a[s])&&(i=(o<3?c(i):o>3?c(r,e,i):c(r,e))||i);return o>3&&i&&Object.defineProperty(r,e,i),i};const b=class{constructor(e){a(this,e),this.close=r(this,"close",7),this.t=c(),this.iconPack=o,this.keypressListener=a=>{"Escape"===a.key&&this.close.emit()},this.handleOutsideClick=()=>this.close.emit()}connectedCallback(){document.addEventListener("keydown",this.keypressListener),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){document.removeEventListener("keydown",this.keypressListener),document.removeEventListener("click",this.handleOutsideClick)}render(){return e(t,{key:"2bb235425497f7932f5cfd73ab7faa2c15d3691d",class:"scrollbar",onClick:a=>a.stopPropagation()},e("div",{key:"04dd5a250967f61e20b7b8fe559ca4ea1012f949",class:"header"},e("div",{key:"9f533863c5d32c7333c872333d7c6c14c02f5827",class:"shared-by-user"},this.t("chat.img.shared_by")," ",e("span",{key:"6e24710128bef29114ba0fa4f7c06561a7293a96",class:"displayName"},d(n(this.image.displayName)))),e("div",{key:"1d7e518f2b61c74634885518450a0364691205cb",class:"actions"},e("rtk-button",{key:"b9ca96cf9eef4dfe347412daeec77f6b5183e5c5",onClick:()=>i(this.image.link,{fallbackName:"image"})},e("rtk-icon",{key:"ee1326105412e04d113b35a8b1815f22c0699b87",icon:this.iconPack.download,slot:"start"}),"Download"),e("rtk-button",{key:"240d7f9f00f19031402bfca7c54d65a1f3bbef6d",kind:"icon",variant:"secondary",onClick:()=>this.close.emit()},e("rtk-icon",{key:"91e47a9b52baf9f28efda7b1d98f12d90724da1f",icon:this.iconPack.dismiss})))),e("div",{key:"e50deb0d992a18b49641ccfde023f256083d05c7",class:"image-ctr"},e("img",{key:"febe53b5401100dd4a7e9c46693302e4c8dd711c",src:this.image.link})))}};l([s()],b.prototype,"size",void 0),l([s()],b.prototype,"t",void 0),l([s()],b.prototype,"iconPack",void 0),b.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:1140px;max-width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-6, 24px);padding-top:var(--rtk-space-5, 20px);overflow-y:auto;color:rgb(var(--rtk-colors-text-1000, 255 255 255));z-index:40;border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.displayName{font-weight:700}.image-ctr{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;justify-content:center;overflow:hidden}.actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--rtk-space-2, 8px)}img{box-sizing:border-box;display:block;max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain}.header{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--rtk-space-4, 16px)}.shared-by-user{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}:host([size='sm']) .header{flex-direction:column}:host([size='sm']) .header .actions{margin-top:var(--rtk-space-4, 16px)}";export{b as rtk_image_viewer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./p-0ee570cd.js";import{m as t,n as o,u as c}from"./p-9c733fd3.js";function s(){return function(s,i){const{connectedCallback:r,disconnectedCallback:a}=s;s.connectedCallback=function(){const o=n(this);return o[i]||(o[i]=c.state[i],t(i,o)),null==r?void 0:r.call(this)},s.disconnectedCallback=function(){return o(i,n(this)),null==a?void 0:a.call(this)}}}export{s as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t="object"==typeof global&&global&&global.Object===Object&&global;var e="object"==typeof self&&self&&self.Object===Object&&self;const n=t||e||Function("return this")(),o=n.Symbol;var c=Object.prototype,l=c.hasOwnProperty,r=c.toString,a=o?o.toStringTag:void 0,u=Object.prototype.toString,b=o?o.toStringTag:void 0;function f(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?function(t){var e=l.call(t,a),n=t[a];try{t[a]=void 0;var o=!0}catch(t){}var c=r.call(t);return o&&(e?t[a]=n:delete t[a]),c}(t):function(t){return u.call(t)}(t)}function i(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function s(t){return null!=t&&"object"==typeof t}export{o as S,i as a,f as b,t as f,s as i,n as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e}from"./p-0ee570cd.js";import{a,c as o,l}from"./p-9c733fd3.js";import{S as n}from"./p-27478c0c.js";var d=function(t,i,s,e){var a,o=arguments.length,l=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,i,s,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(l=(o<3?a(l):o>3?a(i,s,l):a(i,s))||l);return o>3&&l&&Object.defineProperty(i,s,l),l};const r=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.stageStatus="OFF_STAGE",this.state={label:"",disabled:!1,icon:""},this.stageCallback=async()=>{var t,i,s,e,a,o,n;const d=null===(t=this.meeting.stage)||void 0===t?void 0:t.status;"ON_STAGE"===d&&await(null===(s=null===(i=null==this?void 0:this.meeting)||void 0===i?void 0:i.stage)||void 0===s?void 0:s.leave()),"OFF_STAGE"===d&&(null===(a=null===(e=null==this?void 0:this.meeting)||void 0===e?void 0:e.stage)||void 0===a||a.requestAccess(),(t=>{var i,s;return(null===(i=null==t?void 0:t.self)||void 0===i?void 0:i.permissions.stageEnabled)&&"ALLOWED"===(null===(s=null==t?void 0:t.self)||void 0===s?void 0:s.permissions.stageAccess)})(this.meeting)&&(l.states.activeJoinStage=!0,this.stateUpdate.emit({activeJoinStage:!0}))),"REQUESTED_TO_JOIN_STAGE"===d&&(null===(n=null===(o=null==this?void 0:this.meeting)||void 0===o?void 0:o.stage)||void 0===n||n.cancelRequestAccess())}}connectedCallback(){this.meetingChanged(this.meeting)}stageStatusHandler(t,i){this.stageStatus=i,"ACCEPTED_TO_JOIN_STAGE"===i&&(t.self.setupTracks({audio:!1,video:!1}),this.stateUpdate.emit({activeJoinStage:!0})),this.state=this.getState()}disconnectedCallback(){var t,i;null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",(t=>this.stageStatusHandler(this.meeting,t)))}meetingChanged(t){var i,s,e,a;null!=t&&(this.stageStatus=null===(i=t.stage)||void 0===i?void 0:i.status,this.stageStatusHandler(t,null===(s=t.stage)||void 0===s?void 0:s.status),null===(a=null===(e=this.meeting)||void 0===e?void 0:e.stage)||void 0===a||a.on("stageStatusUpdate",(i=>this.stageStatusHandler(t,i))))}getState(){let t="",i="",s=!1;switch(this.stageStatus){case"ON_STAGE":i=this.iconPack.leave_stage,t=this.t("stage_request.leave_stage"),s=!1;break;case"ACCEPTED_TO_JOIN_STAGE":i=this.iconPack.join_stage,t=this.t("stage_request.request"),s=!0;break;case"REQUESTED_TO_JOIN_STAGE":i=this.iconPack.join_stage,t=this.t("stage_request.requested"),s=!1;break;default:i=this.iconPack.join_stage,t=this.t("stage_request.request"),s=!1}return{label:t,disabled:s,icon:i}}render(){return(null===(i=null==(t=this.meeting)?void 0:t.self)||void 0===i?void 0:i.permissions.stageEnabled)&&"NOT_ALLOWED"!==(null===(a=null==t?void 0:t.self)||void 0===a?void 0:a.permissions.stageAccess)?s(e,{title:this.state.label},s("rtk-tooltip",{placement:"top",kind:"block",label:this.state.label,delay:600,part:"tooltip"},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,variant:this.variant,label:this.state.label,icon:this.state.icon,onClick:this.stageCallback,disabled:this.state.disabled,showWarning:!1}))):s(e,{"data-hidden":!0});var t,i,a}static get watchers(){return{meeting:["meetingChanged"]}}};d([n()],r.prototype,"meeting",void 0),d([n()],r.prototype,"size",void 0),d([n()],r.prototype,"iconPack",void 0),d([n()],r.prototype,"states",void 0),d([n()],r.prototype,"t",void 0),r.style=":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}:host([data-hidden]){display:none}";export{r as rtk_stage_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=["top","right","bottom","left"],n=["start","end"],e=t.reduce(((t,e)=>t.concat(e,e+"-"+n[0],e+"-"+n[1])),[]),r=Math.min,o=Math.max,i=Math.round,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"},l={start:"end",end:"start"};function s(t,n,e){return o(t,r(n,e))}function u(t,n){return"function"==typeof t?t(n):t}function f(t){return t.split("-")[0]}function d(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function y(t){return"y"===t?"height":"width"}function p(t){return["top","bottom"].includes(f(t))?"y":"x"}function h(t){return m(p(t))}function w(t,n,e){void 0===e&&(e=!1);const r=d(t),o=h(t),i=y(o);let a="x"===o?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=x(a)),[a,x(a)]}function g(t){return t.replace(/start|end/g,(t=>l[t]))}function x(t){return t.replace(/left|right|bottom|top/g,(t=>c[t]))}function v(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function b(t){const{x:n,y:e,width:r,height:o}=t;return{width:r,height:o,top:e,left:n,right:n+r,bottom:e+o,x:n,y:e}}function A(t,n,e){let{reference:r,floating:o}=t;const i=p(n),a=h(n),c=y(a),l=f(n),s="y"===i,u=r.x+r.width/2-o.width/2,m=r.y+r.height/2-o.height/2,w=r[c]/2-o[c]/2;let g;switch(l){case"top":g={x:u,y:r.y-o.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:m};break;case"left":g={x:r.x-o.width,y:m};break;default:g={x:r.x,y:r.y}}switch(d(n)){case"start":g[a]-=w*(e&&s?-1:1);break;case"end":g[a]+=w*(e&&s?-1:1)}return g}async function k(t,n){var e;void 0===n&&(n={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=u(n,t),p=v(y),h=c[m?"floating"===d?"reference":"floating":d],w=b(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:s,rootBoundary:f,strategy:l})),g="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),A=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},k=b(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:x,strategy:l}):g);return{top:(w.top-k.top+p.top)/A.y,bottom:(k.bottom-w.bottom+p.bottom)/A.y,left:(w.left-k.left+p.left)/A.x,right:(k.right-w.right+p.right)/A.x}}function S(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function P(n){return t.some((t=>n[t]>=0))}function R(){return"undefined"!=typeof window}function D(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function C(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function O(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!R()&&(t instanceof Node||t instanceof C(t).Node)}function B(t){return!!R()&&(t instanceof Element||t instanceof C(t).Element)}function F(t){return!!R()&&(t instanceof HTMLElement||t instanceof C(t).HTMLElement)}function H(t){return!(!R()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof C(t).ShadowRoot)}function L(t){const{overflow:n,overflowX:e,overflowY:r,display:o}=V(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+e)&&!["inline","contents"].includes(o)}function E(t){return["table","td","th"].includes(D(t))}function M(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function N(t){const n=j(),e=B(t)?V(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function j(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function $(t){return["html","body","#document"].includes(D(t))}function V(t){return C(t).getComputedStyle(t)}function W(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===D(t))return t;const n=t.assignedSlot||t.parentNode||H(t)&&t.host||O(t);return H(n)?n.host:n}function Y(t){const n=X(t);return $(n)?t.ownerDocument?t.ownerDocument.body:t.body:F(n)&&L(n)?n:Y(n)}function _(t,n,e){var r;void 0===n&&(n=[]),void 0===e&&(e=!0);const o=Y(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),a=C(o);if(i){const t=q(a);return n.concat(a,a.visualViewport||[],L(o)?o:[],t&&e?_(t):[])}return n.concat(o,_(o,[],e))}function q(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function z(t){const n=V(t);let e=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const o=F(t),a=o?t.offsetWidth:e,c=o?t.offsetHeight:r,l=i(e)!==a||i(r)!==c;return l&&(e=a,r=c),{width:e,height:r,$:l}}function G(t){return B(t)?t:t.contextElement}function I(t){const n=G(t);if(!F(n))return a(1);const e=n.getBoundingClientRect(),{width:r,height:o,$:c}=z(n);let l=(c?i(e.width):e.width)/r,s=(c?i(e.height):e.height)/o;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const J=a(0);function K(t){const n=C(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:J}function Q(t,n,e,r){void 0===n&&(n=!1),void 0===e&&(e=!1);const o=t.getBoundingClientRect(),i=G(t);let c=a(1);n&&(r?B(r)&&(c=I(r)):c=I(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==C(t))&&n}(i,e,r)?K(i):a(0);let s=(o.left+l.x)/c.x,u=(o.top+l.y)/c.y,f=o.width/c.x,d=o.height/c.y;if(i){const t=C(i),n=r&&B(r)?C(r):r;let e=t,o=q(e);for(;o&&r&&n!==e;){const t=I(o),n=o.getBoundingClientRect(),r=V(o),i=n.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,a=n.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=C(o),o=q(e)}}return b({width:f,height:d,x:s,y:u})}function U(t,n){const e=W(t).scrollLeft;return n?n.left+e:Q(O(t)).left+e}function Z(t,n,e){void 0===e&&(e=!1);const r=t.getBoundingClientRect();return{x:r.left+n.scrollLeft-(e?0:U(t,r)),y:r.top+n.scrollTop}}function tt(t,n,e){let r;if("viewport"===n)r=function(t,n){const e=C(t),r=O(t),o=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const t=j();(!t||t&&"fixed"===n)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,e);else if("document"===n)r=function(t){const n=O(t),e=W(t),r=t.ownerDocument.body,i=o(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=o(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let c=-e.scrollLeft+U(t);const l=-e.scrollTop;return"rtl"===V(r).direction&&(c+=o(n.clientWidth,r.clientWidth)-i),{width:i,height:a,x:c,y:l}}(O(t));else if(B(n))r=function(t,n){const e=Q(t,!0,"fixed"===n),r=e.top+t.clientTop,o=e.left+t.clientLeft,i=F(t)?I(t):a(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(n,e);else{const e=K(t);r={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return b(r)}function nt(t,n){const e=X(t);return!(e===n||!B(e)||$(e))&&("fixed"===V(e).position||nt(e,n))}function et(t,n,e){const r=F(n),o=O(n),i="fixed"===e,c=Q(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s=a(0);if(r||!r&&!i)if(("body"!==D(n)||L(o))&&(l=W(n)),r){const t=Q(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else o&&(s.x=U(o));const u=!o||r||i?a(0):Z(o,l);return{x:c.left+l.scrollLeft-s.x-u.x,y:c.top+l.scrollTop-s.y-u.y,width:c.width,height:c.height}}function rt(t){return"static"===V(t).position}function ot(t,n){if(!F(t)||"fixed"===V(t).position)return null;if(n)return n(t);let e=t.offsetParent;return O(t)===e&&(e=e.ownerDocument.body),e}function it(t,n){const e=C(t);if(M(t))return e;if(!F(t)){let n=X(t);for(;n&&!$(n);){if(B(n)&&!rt(n))return n;n=X(n)}return e}let r=ot(t,n);for(;r&&E(r)&&rt(r);)r=ot(r,n);return r&&$(r)&&rt(r)&&!N(r)?e:r||function(t){let n=X(t);for(;F(n)&&!$(n);){if(N(n))return n;if(M(n))return null;n=X(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:r,strategy:o}=t;const i="fixed"===o,c=O(r),l=!!n&&M(n.floating);if(r===c||l&&i)return e;let s={scrollLeft:0,scrollTop:0},u=a(1);const f=a(0),d=F(r);if((d||!d&&!i)&&(("body"!==D(r)||L(c))&&(s=W(r)),F(r))){const t=Q(r);u=I(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}const m=!c||d||i?a(0):Z(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:O,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===e?M(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let r=_(t,[],!1).filter((t=>B(t)&&"body"!==D(t))),o=null;const i="fixed"===V(t).position;let a=i?X(t):t;for(;B(a)&&!$(a);){const n=V(a),e=N(a);e||"fixed"!==n.position||(o=null),(i?!e&&!o:!e&&"static"===n.position&&o&&["absolute","fixed"].includes(o.position)||L(a)&&!e&&nt(t,a))?r=r.filter((t=>t!==a)):o=n,a=X(a)}return n.set(t,r),r}(n,this._c):[].concat(e),i],l=c.reduce(((t,e)=>{const i=tt(n,e,a);return t.top=o(i.top,t.top),t.right=r(i.right,t.right),t.bottom=r(i.bottom,t.bottom),t.left=o(i.left,t.left),t}),tt(n,c[0],a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:it,getElementRects:async function(t){const n=this.getOffsetParent||it,e=this.getDimensions,r=await e(t.floating);return{reference:et(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=z(t);return{width:n,height:e}},getScale:I,isElement:B,isRTL:function(t){return"rtl"===V(t).direction}},ct=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,r;const{x:o,y:i,placement:a,middlewareData:c}=n,l=await async function(t,n){const{placement:e,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=f(e),c=d(e),l="y"===p(e),s=["left","top"].includes(a)?-1:1,m=i&&l?-1:1,y=u(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:g}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),l?{x:w*m,y:h*s}:{x:h*s,y:w*m}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},lt=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var r,o,i;const{rects:a,middlewareData:c,placement:l,platform:s,elements:m}=n,{crossAxis:y=!1,alignment:p,allowedPlacements:h=e,autoAlignment:x=!0,...v}=u(t,n),b=void 0!==p||h===e?function(t,n,e){return(t?[...e.filter((n=>d(n)===t)),...e.filter((n=>d(n)!==t))]:e.filter((t=>f(t)===t))).filter((e=>!t||d(e)===t||!!n&&g(e)!==e))}(p||null,x,h):h,A=await k(n,v),S=(null==(r=c.autoPlacement)?void 0:r.index)||0,P=b[S];if(null==P)return{};const R=w(P,a,await(null==s.isRTL?void 0:s.isRTL(m.floating)));if(l!==P)return{reset:{placement:b[0]}};const D=[A[f(P)],A[R[0]],A[R[1]]],C=[...(null==(o=c.autoPlacement)?void 0:o.overflows)||[],{placement:P,overflows:D}],O=b[S+1];if(O)return{data:{index:S+1,overflows:C},reset:{placement:O}};const T=C.map((t=>{const n=d(t.placement);return[t.placement,n&&y?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),B=(null==(i=T.filter((t=>t[2].slice(0,d(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||T[0][0];return B!==l?{data:{index:S+1,overflows:C},reset:{placement:B}}:{}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...l}=u(t,n),d={x:e,y:r},y=await k(n,l),h=p(f(o)),w=m(h);let g=d[w],x=d[h];i&&(g=s(g+y["y"===w?"top":"left"],g,g-y["y"===w?"bottom":"right"])),a&&(x=s(x+y["y"===h?"top":"left"],x,x-y["y"===h?"bottom":"right"]));const v=c.fn({...n,[w]:g,[h]:x});return{...v,data:{x:v.x-e,y:v.y-r,enabled:{[w]:i,[h]:a}}}}}},ut=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:s}=n,{mainAxis:m=!0,crossAxis:y=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:A=!0,...S}=u(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const P=f(o),R=p(c),D=f(c)===c,C=await(null==l.isRTL?void 0:l.isRTL(s.floating)),O=h||(D||!A?[x(c)]:function(t){const n=x(t);return[g(t),n,g(n)]}(c)),T="none"!==b;!h&&T&&O.push(...function(t,n,e,r){const o=d(t);let i=function(t,n,e){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:r:n?r:o;case"left":case"right":return n?i:a;default:return[]}}(f(t),"start"===e,r);return o&&(i=i.map((t=>t+"-"+o)),n&&(i=i.concat(i.map(g)))),i}(c,A,b,C));const B=[c,...O],F=await k(n,S),H=[];let L=(null==(r=i.flip)?void 0:r.overflows)||[];if(m&&H.push(F[P]),y){const t=w(o,a,C);H.push(F[t[0]],F[t[1]])}if(L=[...L,{placement:o,overflows:H}],!H.every((t=>t<=0))){var E,M;const t=((null==(E=i.flip)?void 0:E.index)||0)+1,n=B[t];if(n)return{data:{index:t,overflows:L},reset:{placement:n}};let e=null==(M=L.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:M.placement;if(!e)switch(v){case"bestFit":{var N;const t=null==(N=L.filter((t=>{if(T){const n=p(t.placement);return n===R||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:N[0];t&&(e=t);break}case"initialPlacement":e=c}if(o!==e)return{reset:{placement:e}}}return{}}}},ft=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:r="referenceHidden",...o}=u(t,n);switch(r){case"referenceHidden":{const t=S(await k(n,{...o,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:P(t)}}}case"escaped":{const t=S(await k(n,{...o,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:P(t)}}}default:return{}}}}},dt=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:o,placement:i,rects:a,platform:c,elements:l,middlewareData:f}=n,{element:m,padding:p=0}=u(t,n)||{};if(null==m)return{};const w=v(p),g={x:e,y:o},x=h(i),b=y(x),A=await c.getDimensions(m),k="y"===x,S=k?"top":"left",P=k?"bottom":"right",R=k?"clientHeight":"clientWidth",D=a.reference[b]+a.reference[x]-g[x]-a.floating[b],C=g[x]-a.reference[x],O=await(null==c.getOffsetParent?void 0:c.getOffsetParent(m));let T=O?O[R]:0;T&&await(null==c.isElement?void 0:c.isElement(O))||(T=l.floating[R]||a.floating[b]);const B=D/2-C/2,F=T/2-A[b]/2-1,H=r(w[S],F),L=r(w[P],F),E=H,M=T-A[b]-L,N=T/2-A[b]/2+B,j=s(E,N,M),$=!f.arrow&&null!=d(i)&&N!==j&&a.reference[b]/2-(N<E?H:L)-A[b]/2<0,V=$?N<E?N-E:N-M:0;return{[x]:g[x]+V,data:{[x]:j,centerOffset:N-j-V,...$&&{alignmentOffset:V}},reset:$}}}),mt=(t,n,e)=>{const r=new Map,o={platform:at,...e},i={...o.platform,_c:r};return(async(t,n,e)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:o}),{x:u,y:f}=A(s,r,l),d=r,m={},y=0;for(let e=0;e<c.length;e++){const{name:i,fn:p}=c[e],{x:h,y:w,data:g,reset:x}=await p({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=h?h:u,f=null!=w?w:f,m={...m,[i]:{...m[i],...g}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:n,strategy:o}):x.rects),({x:u,y:f}=A(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:m}})(t,n,{...o,platform:i})};export{dt as a,lt as b,mt as c,ut as f,ft as h,ct as o,st as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const s=(s,a=20)=>null==s?"":s.length>a?`${s.substring(0,a)}...`:s,a=s=>/^\p{Emoji}+$/u.test(s)&&!/^\d+$/.test(s),n=s=>(null==s?void 0:s.trim().toLowerCase().startsWith("javascript:"))?"https://dyte.io":s,t=s=>""===(s=null==s?void 0:s.trim())?"Participant":s,u=new RegExp(/[^\u00BF-\u1FFF\u2C00-\uD7FF\w\s]/,"g"),i=new RegExp(/\s+/);function e(s,a=2){return s.replace(u,"").trim().split(i).slice(0,a).map((s=>s.charAt(0))).join("").toUpperCase()}export{n as a,t as f,e as g,a as h,s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,w as r,h as i,H as a,c as e}from"./p-0ee570cd.js";import{a as o,c as s,d as n}from"./p-9c733fd3.js";import{S as c}from"./p-27478c0c.js";import{f as l,s as p}from"./p-338c7261.js";var d=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const h=class{constructor(r){t(this,r),this.iconPack=o,this.t=s(),this.canClosePlugin=!1,this.viewModeEnabled=!1,this.onIframeRef=t=>{var r;t!==this.iframeEl&&(this.iframeEl=t,null===(r=this.plugin)||void 0===r||r.addPluginView(t,"plugin-main"))},this.canInteractWithPlugin=()=>{const t=this.plugin.id;if(!t)return!0;const r=this.meeting.self.permissions.plugins.config[t];return!r||!r.accessControl||"FULL_ACCESS"===r.accessControl}}componentDidLoad(){this.meetingChanged(this.meeting),this.pluginChanged(this.plugin)}meetingChanged(t){if(null==t)return;const i=this.canInteractWithPlugin();this.viewModeEnabled=!i,r((()=>{this.canClosePlugin=t.self.permissions.plugins.canClose||this.plugin.enabledBy===t.self.id}))}pluginChanged(t){this.toggleViewModeListener=t=>{this.canInteractWithPlugin()||(this.viewModeEnabled=t)},null!=t&&(this.iframeEl&&t.addPluginView(this.iframeEl,"plugin-main"),t.addListener("toggleViewMode",this.toggleViewModeListener))}disconnectedCallback(){var t,r;null===(t=this.plugin)||void 0===t||t.removePluginView("plugin-main"),null===(r=this.plugin)||void 0===r||r.removeListener("toggleViewMode",this.toggleViewModeListener)}render(){return null==this.plugin?null:i(a,null,i("header",{part:"header"},i("div",null,this.plugin.name),this.canClosePlugin&&i("div",null,i("rtk-button",{kind:"icon",onClick:()=>this.plugin.deactivate(),part:"button"},i("rtk-icon",{icon:this.iconPack.dismiss})))),i("div",{class:"iframe-container"},!this.canInteractWithPlugin()&&this.viewModeEnabled?i("div",{class:"block-inputs"}):null,i("iframe",{ref:t=>this.onIframeRef(t),part:"iframe"})))}static get watchers(){return{meeting:["meetingChanged"],plugin:["pluginChanged"]}}};d([c()],h.prototype,"meeting",void 0),d([c()],h.prototype,"iconPack",void 0),d([c()],h.prototype,"t",void 0),h.style=":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:100%;width:100%;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{display:flex;height:var(--rtk-space-8, 32px);align-items:center;justify-content:space-between;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}header>div{display:flex;align-items:center}rtk-button{display:flex;height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);flex-direction:column;align-items:center;border-radius:9999px}rtk-button rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}iframe{display:block;flex:1 1 0%;margin:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding:var(--rtk-space-0, 0px);outline:2px solid transparent;outline-offset:2px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity))}.iframe-container{position:relative;height:100%;width:100%}.block-inputs{position:absolute;z-index:10;height:100%;width:100%;border-left-width:var(--rtk-border-width-none, 0);border-top-width:var(--rtk-border-width-lg, 4px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-border-opacity))}iframe{height:100%;width:100%}";var v=function(t,r,i,a){var e,o=arguments.length,s=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,i,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(r,i,s):e(r,i))||s);return o>3&&s&&Object.defineProperty(r,i,s),s};const g=class{constructor(r){t(this,r),this.tabChange=e(this,"tabChange",7),this.config=n,this.layout="row",this.iconPack=o,this.t=s(),this.tabs=[]}render(){return i(a,{key:"d80fd5c45bdae491e9bfe398f7ba9d7ede356e02"},i("rtk-spotlight-indicator",{key:"17d7a10e6d34c0b89fe5b7b5270eb24116e1c237",meeting:this.meeting,iconPack:this.iconPack,t:this.t,size:this.size}),this.tabs.map((t=>{var r,a,e,o,s;let n=!1;if(("plugin"===(null===(r=this.activeTab)||void 0===r?void 0:r.type)&&t.plugin&&(null===(a=this.activeTab)||void 0===a?void 0:a.plugin.id)===t.plugin.id||"screenshare"===(null===(e=this.activeTab)||void 0===e?void 0:e.type)&&t.participant&&(null===(o=this.activeTab)||void 0===o?void 0:o.participant.id)===t.participant.id)&&(n=!0),"screenshare"===t.type){const r=t.participant,a=l(r.name);return i("rtk-button",{title:`${a}'s Screen Share`,key:t.participant.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("rtk-icon",{icon:this.iconPack.share_screen_person}),i("span",{class:"name"},r.id===(null===(s=this.meeting)||void 0===s?void 0:s.self.id)?this.t("you"):p(a,6))))}if("plugin"===t.type){const r=t.plugin;return i("rtk-button",{title:r.name,key:r.id,kind:"icon",variant:n?"primary":"secondary",class:{tab:!0,active:n},onClick:()=>this.tabChange.emit(t)},i("div",{class:"center col"},i("img",{src:r.picture}),i("span",{class:"name"},p(r.name,6))))}})))}};v([c()],g.prototype,"size",void 0),v([c()],g.prototype,"meeting",void 0),v([c()],g.prototype,"states",void 0),v([c()],g.prototype,"iconPack",void 0),v([c()],g.prototype,"t",void 0),g.style=".scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{box-sizing:border-box;display:flex;height:100%;width:var(--rtk-space-16, 64px);flex-direction:column;gap:var(--rtk-space-2, 8px);overflow-y:auto;font-family:var(--rtk-font-family, sans-serif)}rtk-button{z-index:10}.col{display:flex;flex-direction:column;align-items:center}.tab{display:flex;height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);align-items:center;justify-content:center;margin-bottom:var(--rtk-space-2, 8px);font-size:12px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.tab.active{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}.tab img{height:var(--rtk-space-7, 28px);width:var(--rtk-space-7, 28px);border-radius:var(--rtk-border-radius-sm, 4px)}.tab .name{margin-top:var(--rtk-space-0\\.5, 2px)}:host([size='sm']){flex-direction:column;margin-top:var(--rtk-space-4, 16px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-x:auto}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);text-overflow:clip;min-width:100px;height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:row;align-items:center;gap:var(--rtk-space-2, 8px)}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}:host([layout='column']){flex-direction:column}:host([layout='column']) .aside{flex:2;max-width:100%;width:100%}@media (orientation: portrait){:host([size='sm']){margin-top:var(--rtk-space-2, 8px);height:var(--rtk-space-16, 64px);width:100%;flex-direction:row;transition:all 0.3s linear}:host([size='md']){height:var(--rtk-space-24, 96px);width:100%;flex-direction:row;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}}@media (orientation: landscape){:host([size='sm']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host([size='md']){margin-right:var(--rtk-space-4, 16px);height:100%;width:var(--rtk-space-14, 56px);flex-direction:row;gap:var(--rtk-space-2, 8px);overflow-y:auto;overflow-x:hidden;transition:all 0.3s linear}:host .tab{margin:var(--rtk-space-0, 0px)}:host([size='sm']) .tab{margin:var(--rtk-space-0, 0px);width:100%;text-overflow:clip;min-width:0px;min-height:40px}:host([size='sm']) .tab .col{display:flex;flex-direction:column;align-items:center;gap:var(--rtk-space-2, 8px);font-size:10px}:host([size='sm']) .tab .col img,:host([size='sm']) .tab .col rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px)}:host([size='sm']) .tab .col .name{gap:var(--rtk-space-1, 4px)}}";export{h as rtk_plugin_main,g as rtk_tab_bar}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as a,H as i}from"./p-0ee570cd.js";import{a as s,c as o}from"./p-9c733fd3.js";import{S as r}from"./p-27478c0c.js";var n=function(t,e,a,i){var s,o=arguments.length,r=o<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 n=t.length-1;n>=0;n--)(s=t[n])&&(r=(o<3?s(r):o>3?s(e,a,r):s(e,a))||r);return o>3&&r&&Object.defineProperty(e,a,r),r};const c=class{constructor(a){t(this,a),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=s,this.t=o(),this.leave=()=>{this.stateUpdate.emit({activeLeaveConfirmation:!0})}}render(){const t=this.t("leave");return a(i,{key:"2ce38b68e83d44e924766230f74b18111db72771",label:t},a("rtk-controlbar-button",{key:"5bdc59145416c548a980178df00225781bbbadcc",size:this.size,iconPack:this.iconPack,class:"leave red-icon",onClick:this.leave,icon:this.iconPack.call_end,label:t,variant:this.variant,part:"controlbar-button"}))}};n([r()],c.prototype,"size",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":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}";export{c as rtk_leave_button}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as r,h as o,H as i}from"./p-0ee570cd.js";import{a,c as s}from"./p-9c733fd3.js";import{S as e}from"./p-27478c0c.js";var n=function(t,r,o,i){var a,s=arguments.length,e=s<3?r:null===i?i=Object.getOwnPropertyDescriptor(r,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,o,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(e=(s<3?a(e):s>3?a(r,o,e):a(r,o))||e);return s>3&&e&&Object.defineProperty(r,o,e),e};const c=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.stageStatusListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.iconPack=a,this.t=s(),this.activeTab="connection",this.isMobileMainVisible=!1,this.networkStatus="good",this.canProduceVideo=!1}connectedCallback(){document.addEventListener("keydown",this.keyPressListener),this.meetingChanged(this.meeting)}disconnectedCallback(){var t;this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener),this.poorConnectionListener&&(null===(t=this.meeting)||void 0===t||t.meta.removeListener("poorConnection",this.poorConnectionListener)),this.meeting.stage.removeListener("stageStatusUpdate",this.stageStatusListener)}meetingChanged(t){null!=t&&(this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo,this.activeTab=this.canProduceVideo?"video":"audio",this.poorConnectionListener=({score:t})=>{t<7?this.networkStatus="poor":t<4&&(this.networkStatus="poorest"),setTimeout((()=>{this.networkStatus="good"}),5e3)},t.meta.addListener("poorConnection",this.poorConnectionListener),t.stage.addListener("stageStatusUpdate",this.stageStatusListener))}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeSettings:!1})}render(){if(null==this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t};return o(i,null,o("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},o("header",null,o("h2",null,this.t("settings"))),o("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("audio"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),this.canProduceVideo&&o("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("video"),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:"none",title:`Your network condition is ${this.networkStatus}`},this.t("connection"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.wifi,class:this.networkStatus})))),o("main",{class:{active:this.isMobileMainVisible,scrollbar:!0},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("h2",null,this.t("audio"===this.activeTab?"audio":"video"))),"audio"===this.activeTab&&o("rtk-settings-audio",Object.assign({},t)),"video"===this.activeTab&&o("rtk-settings-video",Object.assign({},t))))}static get watchers(){return{meeting:["meetingChanged"]}}};n([e()],c.prototype,"meeting",void 0),n([e()],c.prototype,"states",void 0),n([e()],c.prototype,"size",void 0),n([e()],c.prototype,"iconPack",void 0),n([e()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))\n var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--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))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}.title{font-size:20px;line-height:1}.back-btn,.dismiss-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,.dismiss-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;min-width:var(--rtk-space-56, 224px);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)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-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:16px;--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-6, 24px);width:var(--rtk-space-6, 24px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}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)}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}main{display:flex;flex:1 1 0%;align-items:center;justify-content:center;padding-left:var(--rtk-space-6, 24px);padding-right:var(--rtk-space-6, 24px);box-sizing:border-box;width:100%;max-width:calc(100% - var(--rtk-space-56, 224px))}.dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([size='sm']) .dismiss-btn{top:var(--rtk-space-5, 20px);right:var(--rtk-space-4, 16px)}:host([size='sm']) aside{width:100%;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}: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.hide{display:none}:host([size='sm']) main{display:none;max-width:100%;overflow-y:auto;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) main header{justify-content:center}:host([size='sm']) main header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}:host([size='sm']) main.active{display:block}";export{c as rtk_settings}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as n,c as t,w as e,h as a,H as i,a as r}from"./p-0ee570cd.js";import{a as o,c as s}from"./p-9c733fd3.js";import{i as c,r as d,e as l,a as p}from"./p-02f19345.js";import{S as h}from"./p-27478c0c.js";var f=function(n,t,e,a){var i,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,t,e,a);else for(var s=n.length-1;s>=0;s--)(i=n[s])&&(o=(r<3?i(o):r>3?i(t,e,o):i(t,e))||o);return r>3&&o&&Object.defineProperty(t,e,o),o};const b=class{constructor(e){n(this,e),this.stateUpdate=t(this,"rtkStateUpdate",7),this.play=t(this,"screensharePlay",7),this.fullScreenListener=()=>{this.isFullScreen=c()},this.participantScreenshareUpdate=n=>{n.id===this.participant.id&&this.screenShareListener(n)},this.hideFullScreenButton=!1,this.nameTagPosition="bottom-left",this.variant="solid",this.iconPack=o,this.t=s(),this.videoExpanded=!1,this.screenShareEnabled=!1,this.isFullScreen=!1,this.toggleFullScreen=()=>{this.isFullScreen?(l(),this.isFullScreen=!1):(d(this.host),this.isFullScreen=!0)}}connectedCallback(){null===window||void 0===window||window.addEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.addEventListener("webkitfullscreenchange",this.fullScreenListener)}componentDidLoad(){this.participantChanged(this.participant)}disconnectedCallback(){if(!this.meeting)return;const{self:n}=this.meeting;this.participant.id===n.id&&this.screenShareListener?this.participant.removeListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.removeListener("screenShareUpdate",this.participantScreenshareUpdate),null===window||void 0===window||window.removeEventListener("fullscreenchange",this.fullScreenListener),null===window||void 0===window||window.removeEventListener("webkitfullscreenchange",this.fullScreenListener)}participantChanged(n){if(null!=n&&this.meeting){const{self:t}=this.meeting;this.screenShareListener=({screenShareEnabled:n,screenShareTracks:t})=>{const a=n&&null!=t.video;if(e((()=>{this.screenShareEnabled=a})),a){const n=new MediaStream;n.addTrack(t.video),null!=this.videoEl&&(this.videoEl.srcObject=n,this.videoEl.play())}else null!=this.videoEl&&(this.videoEl.srcObject=void 0)},this.screenShareListener(n),n.id===t.id?n.addListener("screenShareUpdate",this.screenShareListener):this.meeting.participants.joined.addListener("screenShareUpdate",this.participantScreenshareUpdate)}}render(){var n,t;const e=(null===(n=this.participant)||void 0===n?void 0:n.id)===(null===(t=this.meeting)||void 0===t?void 0:t.self.id),r=this.t(this.isFullScreen?"full_screen.exit":"full_screen"),o=this.isFullScreen?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize;return a(i,{key:"c5fe06d9c1bfd2856b2eb93bb55b7c636256052f",class:{isSelf:e}},a("div",{key:"video-container",id:"video-container",class:{expand:this.videoExpanded}},a("video",{key:"5bdd1b7bd0e28ecb4b551b30f6e623c7a1ece49a",ref:n=>this.videoEl=n,class:{visible:this.screenShareEnabled,"fit-in-container":this.participant.supportsRemoteControl},playsInline:!0,onPlay:()=>{this.play.emit({screenshareParticipant:this.participant,participant:this.meeting.self})},autoPlay:!0,muted:!0,id:`screen-share-video-${this.participant.id}`})),a("div",{id:"controls",key:"controls"},!this.hideFullScreenButton&&!e&&p()&&a("rtk-tooltip",{key:"fdfd7c6b5468ef96bdb06d4f942a3e10cbee08cb",label:r},a("rtk-button",{key:"99e0138257f6e0ec55ceee7f20318d78887f812b",id:"full-screen-btn",kind:"icon",onClick:this.toggleFullScreen,title:r},a("rtk-icon",{key:"06e747a6af4a5b79445ffb63598afd2ac515d3a2",icon:o,"aria-hidden":!0,tabIndex:-1})))),e&&a("div",{id:"self-message",key:"self-message"},a("h3",{key:"1ad96435977e90e6f0eff64a54507d106a4091be"},this.t("screenshare.shared")),a("div",{key:"02f1e2a734d3f56157ab76c1de55517995d8f98d",class:"actions"},null!=this.meeting&&a("rtk-button",{key:"4bc8344f8a829ff1a12552d9002d83032ec7277f",variant:"danger",onClick:()=>{this.meeting.self.disableScreenShare()}},a("rtk-icon",{key:"c2412bb995c605f980859481200033a447147b91",icon:this.iconPack.share_screen_stop,slot:"start"}),this.t("screenshare.stop")),a("rtk-button",{key:"0d513e8b6efa96b542d6bd163db81a179073ed45",variant:"secondary",id:"expand-btn",onClick:()=>{this.videoExpanded=!this.videoExpanded}},a("rtk-icon",{key:"bec9074447f55461239fc4c7c20b811dfe7db8bb",icon:this.videoExpanded?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,slot:"start"}),this.t(this.videoExpanded?"screenshare.min_preview":"screenshare.max_preview")))),a("slot",{key:"2858a3123887f964d6e8ea77fb871abddc4c6295"}))}get host(){return r(this)}static get watchers(){return{participant:["participantChanged"]}}};f([h()],b.prototype,"meeting",void 0),f([h()],b.prototype,"size",void 0),f([h()],b.prototype,"iconPack",void 0),f([h()],b.prototype,"t",void 0),b.style=":host {\n line-height: initial;\n font-family: var(--rtk-font-family, sans-serif);\n\n font-feature-settings: normal;\n font-variation-settings: normal;\n}\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n\n:host {\n height: 100%;\n width: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-lg, 12px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));\n container-type: inline-size;\n container-name: screentile;\n}\n\n::slotted(rtk-name-tag) {\n position: absolute;\n left: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n opacity: 0.8;\n}\n\n#video-container {\n position: absolute;\n display: block;\n height: 100%;\n width: 100%;\n}\n\n#video-container .fit-in-container {\n -o-object-fit: fill;\n object-fit: fill;\n}\n\nvideo {\n height: 100%;\n width: 100%;\n -o-object-fit: contain;\n object-fit: contain;\n}\n\n:host([variant='gradient']) ::slotted(rtk-audio-visualizer) {\n position: absolute;\n top: var(--rtk-space-2, 8px);\n right: var(--rtk-space-2, 8px);\n border-radius: 9999px;\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));\n padding: var(--rtk-space-2, 8px);\n}\n\n:host([variant='gradient']) ::slotted(rtk-name-tag) {\n bottom: var(--rtk-space-0, 0px);\n left: var(--rtk-space-0, 0px);\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n text-align: center;\n background-color: transparent;\n background-image: linear-gradient(to top, var(--tw-gradient-stops));\n --tw-gradient-from: rgb(var(--rtk-colors-background-1000, 8 8 8));\n --tw-gradient-to: rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);\n --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);\n --tw-gradient-to: transparent;\n}\n\n:host([size='sm'][variant='gradient']) ::slotted(rtk-audio-visualizer) {\n height: var(--rtk-space-5, 20px);\n width: var(--rtk-space-5, 20px);\n}\n\nvideo.visible {\n animation: video-fadein 0.4s ease;\n}\n\n#controls {\n display: none;\n position: absolute;\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n align-items: center;\n justify-content: flex-end;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host(:hover) #controls, \n:host(:active) #controls, \n:host(:focus-visible) #controls {\n display: flex;\n}\n\n#full-screen-btn {\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));\n}\n\n/** For self view */\n\nh3 {\n margin-top: var(--rtk-space-10, 40px);\n margin-bottom: var(--rtk-space-6, 24px);\n text-align: center;\n font-size: 20px;\n font-weight: 500;\n}\n\n:host([size='sm']) h3 {\n font-size: 16px;\n}\n\n#self-message {\n padding-left: var(--rtk-space-4, 16px);\n padding-right: var(--rtk-space-4, 16px);\n}\n\n:host(.isSelf) #self-view {\n flex: 1 1 0%;\n}\n\n:host(.isSelf) #video-container {\n position: static;\n aspect-ratio: auto;\n height: auto;\n width: 50%;\n max-width: var(--rtk-space-96, 384px);\n border-radius: var(--rtk-border-radius-md, 8px);\n transition: 0.6s ease;\n}\n\n:host(.isSelf) #video-container.expand {\n width: 60%;\n max-width: 100%;\n}\n\n.actions {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--rtk-space-2, 8px);\n}\n\n:host([size='sm'].isSelf) #video-container,\n:host([size='md'].isSelf) #video-container,\n:host([size='sm'].isSelf) #expand-btn,\n:host([size='md'].isSelf) #expand-btn {\n /** Hide video, fullscreen buttons in sm and md breakpoints */\n display: none;\n}\n\n/** Remote control */\n\np {\n margin: var(--rtk-space-0, 0px);\n padding: var(--rtk-space-0, 0px);\n}\n\n.remote-control {\n z-index: 10;\n height: 100%;\n max-height: 100%;\n flex: 0 1 auto;\n}\n\n#remote-control-self {\n position: absolute;\n top: var(--rtk-space-0, 0px);\n left: 50%;\n z-index: 10;\n width: -moz-max-content;\n width: max-content;\n max-width: 100%;\n box-sizing: border-box;\n display: flex;\n height: var(--rtk-space-8, 32px);\n align-items: center;\n overflow: hidden;\n border-radius: var(--rtk-border-radius-sm, 4px);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-bg-opacity));\n font-size: 12px;\n color: rgb(var(--rtk-colors-text-1000, 255 255 255));\n transform: translateX(-50%);\n}\n\n#remote-control-self p {\n padding-left: var(--rtk-space-3, 12px);\n padding-right: var(--rtk-space-3, 12px);\n padding-top: var(--rtk-space-2, 8px);\n padding-bottom: var(--rtk-space-2, 8px);\n}\n\n#remote-control-self rtk-button {\n height: 100%;\n border-radius: var(--rtk-border-radius-none, 0);\n --tw-bg-opacity: 1;\n background-color: rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-bg-opacity));\n font-size: 12px;\n}\n\n:host([size='sm']) #remote-control-self {\n height: auto;\n flex-direction: column;\n}\n\n:host([size='sm']) #remote-control-self rtk-button {\n width: 100%;\n padding-top: var(--rtk-space-1, 4px);\n padding-bottom: var(--rtk-space-1, 4px);\n}\n\n/** Name tag positions */\n\n:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag) {\n left: auto;\n right: var(--rtk-space-3, 12px);\n}\n\n:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n}\n\n:host([name-tag-position='top-left']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n bottom: auto;\n}\n\n:host([name-tag-position='top-right']) ::slotted(rtk-name-tag) {\n top: var(--rtk-space-3, 12px);\n right: var(--rtk-space-3, 12px);\n left: auto;\n bottom: auto;\n}\n\n:host([name-tag-position='top-center']) ::slotted(rtk-name-tag) {\n left: auto;\n right: auto;\n bottom: auto;\n top: var(--rtk-space-3, 12px);\n}\n\n/** Keyframes */\n\n@keyframes video-fadein {\n 0% {\n opacity: 0;\n transform: scale(1.4) translateY(20px);\n }\n\n 100% {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n}\n\n::slotted(rtk-network-indicator) {\n position: absolute;\n right: var(--rtk-space-3, 12px);\n bottom: var(--rtk-space-3, 12px);\n}\n\n@media only screen and (max-height: 480px) and (orientation: landscape) {\n :host([size='sm'][variant='solid']) ::slotted(rtk-name-tag), \n :host([size='sm'][variant='solid']) rtk-name-tag {\n left: var(--rtk-space-0, 0px);\n bottom: var(--rtk-space-0, 0px);\n border-radius: var(--rtk-border-radius-none, 0);\n transform-origin: 0% 110%;\n transform: scale(0.6);\n }\n}\n\n@container screentile (max-width: 400px) {\n ::slotted(rtk-name-tag) {\n transform-origin: 0 130%;\n transform: scale(0.7);\n }\n}\n";export{b as rtk_screenshare_view}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e}from"./p-0ee570cd.js";import{a,c as o}from"./p-9c733fd3.js";import{d as r}from"./p-41382f52.js";import{S as n}from"./p-27478c0c.js";var l=function(t,s,i,e){var a,o=arguments.length,r=o<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(s,i,r):a(s,i))||r);return o>3&&r&&Object.defineProperty(s,i,r),r};const h=class{constructor(i){t(this,i),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o(),this.pollsActive=!1,this.unreadPollsCount=0,this.canViewPolls=!1,this.onPollsUpdate=({newPoll:t})=>{!0===t&&(this.unreadPollsCount+=1)},this.updateCanView=()=>{this.canViewPolls=r(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,s,i,e,a,o;null===(s=null===(t=this.meeting)||void 0===t?void 0:t.polls)||void 0===s||s.removeListener("pollsUpdate",this.onPollsUpdate),null===(e=null===(i=this.meeting)||void 0===i?void 0:i.self)||void 0===e||e.permissions.removeListener("pollsUpdate",this.updateCanView),null===(o=null===(a=this.meeting)||void 0===a?void 0:a.stage)||void 0===o||o.removeListener("stageStatusUpdate",this.updateCanView)}meetingChanged(t){var s,i;t&&t.polls&&(this.unreadPollsCount=t.polls.items.length,this.meeting.polls.addListener("pollsUpdate",this.onPollsUpdate),null===(s=null==t?void 0:t.self)||void 0===s||s.permissions.addListener("pollsUpdate",this.updateCanView),this.canViewPolls=r(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView))}statesChanged(t){null!=t&&(this.pollsActive=!0===t.activeSidebar&&"polls"===t.sidebar)}togglePollsTab(){const t=this.states;this.unreadPollsCount=0,this.pollsActive=!((null==t?void 0:t.activeSidebar)&&"polls"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.pollsActive,sidebar:this.pollsActive?"polls":void 0,activeMoreMenu:!1,activeAI:!1})}handlePollsActiveChange(){this.pollsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewPolls)return i(e,{"data-hidden":!0});const t=this.t("polls");return i(e,{title:t},0!==this.unreadPollsCount&&!this.pollsActive&&i("div",{class:"unread-count",part:"unread-count"},i("span",null,this.unreadPollsCount<=100?this.unreadPollsCount:"99+")),i("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.pollsActive},onClick:()=>this.togglePollsTab(),icon:this.iconPack.poll,label:t,variant:this.variant}))}static get watchers(){return{meeting:["meetingChanged"],states:["statesChanged"],pollsActive:["handlePollsActiveChange"]}}};l([n()],h.prototype,"meeting",void 0),l([n()],h.prototype,"states",void 0),l([n()],h.prototype,"size",void 0),l([n()],h.prototype,"iconPack",void 0),l([n()],h.prototype,"t",void 0),h.style=":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-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}:host([variant='horizontal']) .unread-count{right:var(--rtk-space-4, 16px);top:50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";export{h as rtk_polls_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=i;function i(){}i.mixin=function(t){var i=t.prototype||t;i.isWildEmitter=!0,i.on=function(t,i,n){this.callbacks=this.callbacks||{};var r=3===arguments.length,e=r?arguments[2]:arguments[1];return e._groupName=r?arguments[1]:void 0,(this.callbacks[t]=this.callbacks[t]||[]).push(e),this},i.once=function(t,i,n){var r=this,e=3===arguments.length,o=e?arguments[2]:arguments[1];return this.on(t,e?arguments[1]:void 0,(function i(){r.off(t,i),o.apply(this,arguments)})),this},i.releaseGroup=function(t){var i,n,r,e;for(i in this.callbacks=this.callbacks||{},this.callbacks)for(n=0,r=(e=this.callbacks[i]).length;n<r;n++)e[n]._groupName===t&&(e.splice(n,1),n--,r--);return this},i.off=function(t,i){this.callbacks=this.callbacks||{};var n,r=this.callbacks[t];return r?1===arguments.length?(delete this.callbacks[t],this):(-1!==(n=r.indexOf(i))&&(r.splice(n,1),0===r.length&&delete this.callbacks[t]),this):this},i.emit=function(t){this.callbacks=this.callbacks||{};var i,n,r,e=[].slice.call(arguments,1),o=this.callbacks[t],s=this.getWildcardCallbacks(t);if(o)for(i=0,n=(r=o.slice()).length;i<n&&r[i];++i)r[i].apply(this,e);if(s)for(n=s.length,i=0,n=(r=s.slice()).length;i<n&&r[i];++i)r[i].apply(this,[t].concat(e));return this},i.getWildcardCallbacks=function(t){this.callbacks=this.callbacks||{};var i,n,r=[];for(i in this.callbacks)n=i.split("*"),("*"===i||2===n.length&&t.slice(0,n[0].length)===n[0])&&(r=r.concat(this.callbacks[i]));return r}},i.mixin(i);var n,r=t;"undefined"!=typeof window&&(n=window.AudioContext||window.webkitAudioContext);var e=null,o=function(t,i){var o=new r;if(!n)return o;var s,f,u,h=(i=i||{}).smoothing||.1,a=i.interval||50,c=i.threshold,v=i.play,d=i.history||10,l=!0;e=i.audioContext||e||new n,(u=e.createAnalyser()).fftSize=512,u.smoothingTimeConstant=h,f=new Float32Array(u.frequencyBinCount),t.jquery&&(t=t[0]),t instanceof HTMLAudioElement||t instanceof HTMLVideoElement?(s=e.createMediaElementSource(t),void 0===v&&(v=!0),c=c||-50):(s=e.createMediaStreamSource(t),c=c||-50),s.connect(u),v&&u.connect(e.destination),o.speaking=!1,o.suspend=function(){return e.suspend()},o.resume=function(){return e.resume()},Object.defineProperty(o,"state",{get:function(){return e.state}}),e.onstatechange=function(){o.emit("state_change",e.state)},o.setThreshold=function(t){c=t},o.setInterval=function(t){a=t},o.stop=function(){l=!1,o.emit("volume_change",-100,c),o.speaking&&(o.speaking=!1,o.emit("stopped_speaking")),u.disconnect(),s.disconnect()},o.speakingHistory=[];for(var p=0;p<d;p++)o.speakingHistory.push(0);var w=function(){setTimeout((function(){if(l){var t=function(t,i){var n=-1/0;t.getFloatFrequencyData(i);for(var r=4,e=i.length;r<e;r++)i[r]>n&&i[r]<0&&(n=i[r]);return n}(u,f);o.emit("volume_change",t,c);var i=0;if(t>c&&!o.speaking){for(var n=o.speakingHistory.length-3;n<o.speakingHistory.length;n++)i+=o.speakingHistory[n];i>=2&&(o.speaking=!0,o.emit("speaking"))}else if(t<c&&o.speaking){for(n=0;n<o.speakingHistory.length;n++)i+=o.speakingHistory[n];0==i&&(o.speaking=!1,o.emit("stopped_speaking"))}o.speakingHistory.shift(),o.speakingHistory.push(0+(t>c)),w()}}),a)};return w(),o};export{o as h}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{q as r}from"./p-9c733fd3.js";const t=r=>{if(r&&!r.chat)return!1;const{chatPublic:t,chatPrivate:n}=r.self.permissions;return t.canSend||t.canReceive||t.text||t.files||n.canSend||n.canReceive||n.files||n.text},n=r=>{if(r&&!r.polls)return!1;const{polls:t}=r.self.permissions;return t.canCreate||t.canView||t.canVote},u=r=>{var t;if(!(null===(t=r.self.permissions)||void 0===t?void 0:t.showParticipantList))return!1;if(r&&!r.participants)return!1;const n=null==r?void 0:r.self.config;return!(n&&!n.controlBar.elements.participants)},i=t=>{if(r(t))return!1;if(t&&!t.plugins)return!1;if("LIVESTREAM"===t.meta.viewType)return"ON_STAGE"===t.stage.status;const{plugins:n}=t.self.permissions;return n.canClose||n.canStart};export{u as a,i as b,t as c,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as s,a as e}from"./p-0ee570cd.js";import{d as a,a as o,c as n}from"./p-9c733fd3.js";import{R as h}from"./p-c8eaa707.js";import{u as r}from"./p-b13ddb7d.js";import{i as c}from"./p-f47d4fe8.js";import{S as p}from"./p-27478c0c.js";var f=function(t,i,s,e){var a,o=arguments.length,n=o<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 h=t.length-1;h>=0;h--)(a=t[h])&&(n=(o<3?a(n):o>3?a(i,s,n):a(i,s))||n);return o>3&&n&&Object.defineProperty(i,s,n),n};const d=class{constructor(i){t(this,i),this.participants=[],this.aspectRatio="16:9",this.gap=8,this.config=a,this.iconPack=o,this.t=n(),this.dimensions={width:0,height:0},this.setHostDimensions=()=>{const{clientWidth:t,clientHeight:i}=this.host;this.dimensions={width:t,height:i}}}connectedCallback(){this.resizeObserver=new c(this.setHostDimensions),this.resizeObserver.observe(this.host),this.meetingChanged(this.meeting)}meetingChanged(t){const i=null==t?void 0:t.meta;i&&(this.mediaConnection=Object.assign({},i.mediaState))}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const t={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},{width:e,height:a,getPosition:o}=r({dimensions:this.dimensions,count:this.participants.length,aspectRatio:this.aspectRatio,gap:this.gap});return i(s,{key:"66b303c15b37e03ca647f8633c72f664f1e7256f"},i("slot",{key:"14f45cb35f76b6456561df790ca4be4ff415f1e7"},this.participants.map(((s,n)=>{const{top:r,left:c}=o(n);return i(h,{element:"rtk-participant-tile",defaults:t,props:{participant:s,style:{position:"absolute",top:`${r}px`,left:`${c}px`,width:`${e}px`,height:`${a}px`},key:s.id,"data-participant":s.id,mediaConnection:this.mediaConnection},childProps:{participant:s},deepProps:!0})}))))}get host(){return e(this)}static get watchers(){return{meeting:["meetingChanged"]}}};f([p()],d.prototype,"size",void 0),f([p()],d.prototype,"meeting",void 0),f([p()],d.prototype,"states",void 0),f([p()],d.prototype,"iconPack",void 0),f([p()],d.prototype,"t",void 0),d.style=":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;height:100%;width:100%}";export{d as rtk_simple_grid}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t,b as n,r,i as o,f as e}from"./p-2c3cda13.js";function u(t,n){return t===n||t!=t&&n!=n}function i(t,n){for(var r=t.length;r--;)if(u(t[r][0],n))return r;return-1}var c=Array.prototype.splice;function a(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}a.prototype.clear=function(){this.__data__=[],this.size=0},a.prototype.delete=function(t){var n=this.__data__,r=i(n,t);return!(r<0||(r==n.length-1?n.pop():c.call(n,r,1),--this.size,0))},a.prototype.get=function(t){var n=this.__data__,r=i(n,t);return r<0?void 0:n[r][1]},a.prototype.has=function(t){return i(this.__data__,t)>-1},a.prototype.set=function(t,n){var r=this.__data__,o=i(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this};var s="[object AsyncFunction]",f="[object Function]",v="[object GeneratorFunction]",h="[object Proxy]";function l(r){if(!t(r))return!1;var o=n(r);return o==f||o==v||o==s||o==h}var b,d=r["__core-js_shared__"],p=(b=/[^.]+$/.exec(d&&d.keys&&d.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",y=Function.prototype.toString;function j(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var m=/^\[object .+?Constructor\]$/,_=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x(n,r){var o=function(t,n){return null==t?void 0:t[n]}(n,r);return function(n){return!(!t(n)||(r=n,p&&p in r))&&(l(n)?_:m).test(j(n));var r}(o)?o:void 0}const O=x(r,"Map"),w=x(Object,"create");var g=Object.prototype.hasOwnProperty,$=Object.prototype.hasOwnProperty;function A(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}function F(t,n){var r,o,e=t.__data__;return("string"==(o=typeof(r=n))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==r:null===r)?e["string"==typeof n?"string":"hash"]:e.map}function P(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var o=t[n];this.set(o[0],o[1])}}function S(t){var n=this.__data__=new a(t);this.size=n.size}A.prototype.clear=function(){this.__data__=w?w(null):{},this.size=0},A.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},A.prototype.get=function(t){var n=this.__data__;if(w){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return g.call(n,t)?n[t]:void 0},A.prototype.has=function(t){var n=this.__data__;return w?void 0!==n[t]:$.call(n,t)},A.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=w&&void 0===n?"__lodash_hash_undefined__":n,this},P.prototype.clear=function(){this.size=0,this.__data__={hash:new A,map:new(O||a),string:new A}},P.prototype.delete=function(t){var n=F(this,t).delete(t);return this.size-=n?1:0,n},P.prototype.get=function(t){return F(this,t).get(t)},P.prototype.has=function(t){return F(this,t).has(t)},P.prototype.set=function(t,n){var r=F(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},S.prototype.clear=function(){this.__data__=new a,this.size=0},S.prototype.delete=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},S.prototype.get=function(t){return this.__data__.get(t)},S.prototype.has=function(t){return this.__data__.has(t)},S.prototype.set=function(t,n){var r=this.__data__;if(r instanceof a){var o=r.__data__;if(!O||o.length<199)return o.push([t,n]),this.size=++r.size,this;r=this.__data__=new P(o)}return r.set(t,n),this.size=r.size,this};const M=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function k(t,n,r){"__proto__"==n&&M?M(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}var q="object"==typeof exports&&exports&&!exports.nodeType&&exports,z=q&&"object"==typeof module&&module&&!module.nodeType&&module,C=z&&z.exports===q?r.Buffer:void 0,E=C?C.allocUnsafe:void 0;function G(t,n){if(n)return t.slice();var r=t.length,o=E?E(r):new t.constructor(r);return t.copy(o),o}const L=r.Uint8Array;function R(t){var n=new t.constructor(t.byteLength);return new L(n).set(new L(t)),n}function B(t,n){var r=n?R(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function D(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}var H=Object.create;const I=function(){function n(){}return function(r){if(!t(r))return{};if(H)return H(r);n.prototype=r;var o=new n;return n.prototype=void 0,o}}();function J(t,n){return function(r){return t(n(r))}}const K=J(Object.getPrototypeOf,Object);var N=Object.prototype;function Q(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||N)}function T(t){return"function"!=typeof t.constructor||Q(t)?{}:I(K(t))}function U(t){return o(t)&&"[object Arguments]"==n(t)}var V=Object.prototype,W=V.hasOwnProperty,X=V.propertyIsEnumerable;const Y=U(function(){return arguments}())?U:function(t){return o(t)&&W.call(t,"callee")&&!X.call(t,"callee")},Z=Array.isArray;var tt=9007199254740991;function nt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=tt}function rt(t){return null!=t&&nt(t.length)&&!l(t)}var ot="object"==typeof exports&&exports&&!exports.nodeType&&exports,et=ot&&"object"==typeof module&&module&&!module.nodeType&&module,ut=et&&et.exports===ot?r.Buffer:void 0;const it=(ut?ut.isBuffer:void 0)||function(){return!1};var ct={};function at(t){return function(n){return t(n)}}ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var st="object"==typeof exports&&exports&&!exports.nodeType&&exports,ft=st&&"object"==typeof module&&module&&!module.nodeType&&module,vt=ft&&ft.exports===st&&e.process;const ht=function(){try{return ft&&ft.require&&ft.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(t){}}();var lt=ht&&ht.isTypedArray;const bt=lt?at(lt):function(t){return o(t)&&nt(t.length)&&!!ct[n(t)]};var dt=Object.prototype.hasOwnProperty;function pt(t,n,r){var o=t[n];dt.call(t,n)&&u(o,r)&&(void 0!==r||n in t)||k(t,n,r)}function yt(t,n,r,o){var e=!r;r||(r={});for(var u=-1,i=n.length;++u<i;){var c=n[u],a=o?o(r[c],t[c],c,r,t):void 0;void 0===a&&(a=t[c]),e?k(r,c,a):pt(r,c,a)}return r}var jt=9007199254740991,mt=/^(?:0|[1-9]\d*)$/;function _t(t,n){var r=typeof t;return!!(n=null==n?jt:n)&&("number"==r||"symbol"!=r&&mt.test(t))&&t>-1&&t%1==0&&t<n}var xt=Object.prototype.hasOwnProperty;function Ot(t,n){var r=Z(t),o=!r&&Y(t),e=!r&&!o&&it(t),u=!r&&!o&&!e&&bt(t),i=r||o||e||u,c=i?function(t,n){for(var r=-1,o=Array(t);++r<t;)o[r]=n(r);return o}(t.length,String):[],a=c.length;for(var s in t)!n&&!xt.call(t,s)||i&&("length"==s||e&&("offset"==s||"parent"==s)||u&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||_t(s,a))||c.push(s);return c}var wt=Object.prototype.hasOwnProperty;function gt(n){return rt(n)?Ot(n,!0):function(n){if(!t(n))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(n);var r=Q(n),o=[];for(var e in n)("constructor"!=e||!r&&wt.call(n,e))&&o.push(e);return o}(n)}export{O as M,S,Z as a,k as b,yt as c,it as d,u as e,bt as f,K as g,D as h,rt as i,G as j,gt as k,B as l,Y as m,l as n,T as o,M as p,_t as q,x as r,J as s,Q as t,Ot as u,j as v,R as w,at as x,ht as y,pt as z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as r,H as o}from"./p-0ee570cd.js";import{a as c,c as a}from"./p-9c733fd3.js";import{S as i}from"./p-27478c0c.js";var s=function(t,e,r,o){var c,a=arguments.length,i=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,r,o);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(i=(a<3?c(i):a>3?c(e,r,i):c(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i};const d=class{constructor(r){t(this,r),this.onDropCallback=e(this,"dropCallback",7),this.iconPack=c,this.t=a(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new 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(o,{key:"197cf2a1b1deff5e45125b4e489d020d474a02dd"},r("div",{key:"84e88151d3080dc0bd9f44f22b401d605f7f286f",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},r("rtk-icon",{key:"debea53f3376bb54bca692aed0450cf218f576d3",icon:this.iconPack.attach}),r("p",{key:"19b161b26bd4acc13447c47f5ee17b9645f91cc3"},this.t("chat.send_attachment"))))}};s([i()],d.prototype,"iconPack",void 0),s([i()],d.prototype,"t",void 0),d.style="#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}";export{d as rtk_file_dropzone}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as t,h as s,H as e}from"./p-0ee570cd.js";import{a as o,c as l}from"./p-9c733fd3.js";import{S as a}from"./p-27478c0c.js";var n=function(i,t,s,e){var o,l=arguments.length,a=l<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,t,s,e);else for(var n=i.length-1;n>=0;n--)(o=i[n])&&(a=(l<3?o(a):l>3?o(t,s,a):o(t,s))||a);return l>3&&a&&Object.defineProperty(t,s,a),a};const d=class{constructor(s){i(this,s),this.stateUpdate=t(this,"rtkStateUpdate",7),this.videoUpdateListener=({videoEnabled:i})=>{this.videoEnabled=i},this.stageStatusListener=()=>{this.stageStatus=this.meeting.stage.status,this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.mediaPermissionUpdateListener=({kind:i,message:t})=>{"video"===i&&(this.cameraPermission=t)},this.meetingPermissionsUpdateListener=i=>{var t;(null===(t=null==i?void 0:i.media)||void 0===t?void 0:t.video)&&(this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo)},this.variant="button",this.iconPack=o,this.t=l(),this.videoEnabled=!1,this.canProduceVideo=!1,this.cameraPermission="NOT_REQUESTED",this.stageStatus="OFF_STAGE",this.toggleCamera=()=>{var i,t,s,e,o,l,a,n,d,h,r;if(null===(i=this.meeting)||void 0===i||i.__internals__.logger.info("rtkCameraToggle::toggleCamera",{media:{video:{enabled:Boolean(null===(s=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===s?void 0:s.videoEnabled),permission:this.cameraPermission,canProduce:null===(l=null===(o=null===(e=this.meeting)||void 0===e?void 0:e.self)||void 0===o?void 0:o.permissions)||void 0===l?void 0:l.canProduceVideo}},webinar:{stageStatus:null===(a=this.meeting)||void 0===a?void 0:a.stage.status},livestream:{stageStatus:null===(d=null===(n=this.meeting)||void 0===n?void 0:n.stage)||void 0===d?void 0:d.status},moduleExists:{self:Boolean(null===(h=this.meeting)||void 0===h?void 0:h.self)}}),this.hasPermissionError())return this.stateUpdate.emit({activePermissionsMessage:{enabled:!0,kind:"video"}}),!1;const v=null===(r=this.meeting)||void 0===r?void 0:r.self;null!=v&&this.canProduceVideo&&(v.videoEnabled?v.disableVideo():v.enableVideo())}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var i,t,s,e,o,l,a;null===(i=this.meeting)||void 0===i||i.self.removeListener("videoUpdate",this.videoUpdateListener),null===(t=this.meeting)||void 0===t||t.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null===(e=null===(s=this.meeting)||void 0===s?void 0:s.stage)||void 0===e||e.removeListener("stageStatusUpdate",this.stageStatusListener),null===(a=null===(l=null===(o=this.meeting)||void 0===o?void 0:o.self)||void 0===l?void 0:l.permissions)||void 0===a||a.removeListener("permissionsUpdate",this.meetingPermissionsUpdateListener)}meetingChanged(i){var t,s;if(null!=i){const{self:e,stage:o}=i;this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo,this.cameraPermission=e.mediaPermissions.video||"NOT_REQUESTED",this.videoEnabled=e.videoEnabled,this.stageStatus=i.stage.status,e.addListener("videoUpdate",this.videoUpdateListener),e.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),null==o||o.addListener("stageStatusUpdate",this.stageStatusListener),null===(s=null===(t=null==i?void 0:i.self)||void 0===t?void 0:t.permissions)||void 0===s||s.addListener("permissionsUpdate",this.meetingPermissionsUpdateListener)}}hasPermissionError(){return"DENIED"===this.cameraPermission||"SYSTEM_DENIED"===this.cameraPermission}getState(){let i="",t="",s="",e={},o=this.hasPermissionError(),l="COULD_NOT_START"===this.cameraPermission;return this.videoEnabled&&!o?(t=this.t("video_on"),s=this.iconPack.video_on):(t=this.t("video_off"),s=this.iconPack.video_off,e["red-icon"]=!0),i=this.t(l?"perm_could_not_start.video":"SYSTEM_DENIED"===this.cameraPermission?"perm_sys_denied.video":"DENIED"===this.cameraPermission?"perm_denied.video":this.videoEnabled?"disable_video":"enable_video"),{tooltipLabel:i,label:t,icon:s,classList:e,showWarning:o||l,disable:o}}render(){var i;if(!this.canProduceVideo||"AUDIO_ROOM"===(null===(i=this.meeting)||void 0===i?void 0:i.meta.viewType)||["OFF_STAGE","REQUESTED_TO_JOIN_STAGE"].includes(this.stageStatus))return s(e,{"data-hidden":!0});const{tooltipLabel:t,label:o,icon:l,classList:a,showWarning:n,disable:d}=this.getState();return s(e,{title:o},s("rtk-tooltip",{kind:"block",label:t,part:"tooltip"},s("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:a,variant:this.variant,label:o,icon:l,onClick:this.toggleCamera,showWarning:n,disabled:d})))}static get watchers(){return{meeting:["meetingChanged"]}}};n([a()],d.prototype,"meeting",void 0),n([a()],d.prototype,"size",void 0),n([a()],d.prototype,"iconPack",void 0),n([a()],d.prototype,"t",void 0),d.style=":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}:host([data-hidden]){display:none}";export{d as rtk_camera_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t,i as e}from"./p-9c733fd3.js";import{e as r,b as i,i as o,g as n,c as a,k as l,a as d,d as s,f as c,h as g,j as v,l as p,m as k,n as u,o as m,S as f,p as b,q as h}from"./p-46923b34.js";import{i as x,b as y,a as w}from"./p-2c3cda13.js";const S=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],O={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},I={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function A(t){let e="0",r="0",i="0";return 4==(t=t.trim()).length?(e="0x"+t[1]+t[1],r="0x"+t[2]+t[2],i="0x"+t[3]+t[3]):t.length>6&&(e="0x"+t[1]+t[2],r="0x"+t[3]+t[4],i="0x"+t[5]+t[6]),[+e,+r,+i]}const F=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),_="--rtk-";function M(t,e=_){return e+t}const $=(t,e,r=_)=>{Object.keys(e).forEach((i=>{const o=e[i];if("string"==typeof o)if("text"===i||"text-on-brand"===i){const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}-1000`,r),`${e}`),t.style.setProperty(M(`colors-${i}-900`,r),`${e} / 0.88`),t.style.setProperty(M(`colors-${i}-800`,r),`${e} / 0.76`),t.style.setProperty(M(`colors-${i}-700`,r),`${e} / 0.64`),t.style.setProperty(M(`colors-${i}-600`,r),`${e} / 0.52`)}else{const e=A(o).join(" ");t.style.setProperty(M(`colors-${i}`,r),e)}else"object"==typeof o&&Object.keys(o).forEach((e=>{const n=A(o[e]).join(" ");t.style.setProperty(M(`colors-${i}-${e}`,r),n)}))}))},T=(t,{spacingBase:e,borderRadius:r,borderWidth:i,colors:o,fontFamily:n,googleFont:a,theme:l,tokenPrefix:d=_})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof a&&((t=>{const e=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",e.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),e.push(r),document.head.append(...e)})(a),t.style.setProperty(M("font-family",d),a)),"string"==typeof n&&t.style.setProperty(M("font-family",d),n),"number"==typeof e&&((t,e,r=_)=>{S.forEach((i=>{t.style.setProperty(M(`space-${i}`,r),i*e+"px")}))})(t,e,d),"string"==typeof i&&((t,e,r=_)=>{if(e in j){const i=j[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-width-${e}`,r),`${i[e]}px`)}))}})(t,i,d),"string"==typeof r&&((t,e,r=_)=>{if(e in I){const i=I[e];Object.keys(i).forEach((e=>{t.style.setProperty(M(`border-radius-${e}`,r),`${i[e]}px`)}))}})(t,r,d),"string"==typeof l){const e=O[l];null!=e&&$(t,e,d)}"object"==typeof o&&$(t,o,d)};function R(t,e,o){(void 0!==o&&!r(t[e],o)||void 0===o&&!(e in t))&&i(t,e,o)}var C="[object Object]",D=Function.prototype.toString,E=Object.prototype.hasOwnProperty,z=D.call(Object);function P(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function U(t,e,r,i,b){t!==e&&function(t,e,r){for(var i=-1,o=Object(t),n=r(t),a=n.length;a--;){var l=n[++i];if(!1===e(o[l],l,o))break}}(e,(function(h,S){if(b||(b=new f),w(h))!function(t,e,r,i,f,b,h){var S=P(t,r),O=P(e,r),j=h.get(O);if(j)R(t,r,j);else{var I,A=b?b(S,O,r+"",t,e,h):void 0,F=void 0===A;if(F){var _=d(O),M=!_&&s(O),$=!_&&!M&&c(O);A=O,_||M||$?d(S)?A=S:x(I=S)&&o(I)?A=g(S):M?(F=!1,A=v(O,!0)):$?(F=!1,A=p(O,!0)):A=[]:function(t){if(!x(t)||y(t)!=C)return!1;var e=n(t);if(null===e)return!0;var r=E.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&D.call(r)==z}(O)||k(O)?(A=S,k(S)?A=function(t){return a(t,l(t))}(S):w(S)&&!u(S)||(A=m(O))):F=!1}F&&(h.set(O,A),f(A,O,i,b,h),h.delete(O)),R(t,r,A)}}(t,e,S,r,U,i,b);else{var O=i?i(P(t,S),h,S+"",t,e,b):void 0;void 0===O&&(O=h),R(t,S,O)}}),l)}function B(t){return t}var L,q,H,N=Math.max,V=b?function(t,e){return b(t,"toString",{configurable:!0,enumerable:!1,value:(r=e,function(){return r}),writable:!0});var r}:B,W=Date.now;const G=(L=V,q=0,H=0,function(){var t=W(),e=16-(t-H);if(H=t,e>0){if(++q>=800)return arguments[0]}else q=0;return L.apply(void 0,arguments)});var J;const K=(J=function(t,e,r){U(t,e,r)},function(t,e){return G(function(t,e,r){return e=N(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,n=N(i.length-e,0),a=Array(n);++o<n;)a[o]=i[e+o];o=-1;for(var l=Array(e+1);++o<e;)l[o]=i[o];return l[e]=r(a),function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}(t,this,l)}}(t,e,B),t+"")}((function(t,e){var i=-1,n=e.length,a=n>1?e[n-1]:void 0,l=n>2?e[2]:void 0;for(a=J.length>3&&"function"==typeof a?(n--,a):void 0,l&&function(t,e,i){if(!w(i))return!1;var n=typeof e;return!!("number"==n?o(i)&&h(e,i.length):"string"==n&&e in i)&&r(i[e],t)}(e[0],e[1],l)&&(a=n<3?void 0:a,n=1),t=Object(t);++i<n;){var d=e[i];d&&J(t,d,i)}return t}))),Q=(e,r=t)=>{let i=Object.assign({},r);return K(i,e),i},X=(t,r,i={},o={grid_pagination:!0,settings_toggle:!0})=>{var n,a,l,d,s,c,g,v,p,k,u,m,f,b,h,x,y,w;const S={showSetupScreen:!0};let O,j=["rtk-stage"],I={},A={};const _=!1!==(null==o?void 0:o.settings_toggle),M=!1!==(null==o?void 0:o.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){j.push("rtk-controlbar");const{elements:i}=t.controlBar,o=[...i.fullscreen?["rtk-fullscreen-toggle"]:[],..._?["rtk-settings-toggle"]:[]],n=[],v=[];(null===(a=r.participants.pip)||void 0===a?void 0:a.isSupported())&&(null===(d=null===(l=r.self)||void 0===l?void 0:l.config)||void 0===d?void 0:d.pipMode)&&"LIVESTREAM"!==(null===(s=r.self.config)||void 0===s?void 0:s.viewType)&&v.push("rtk-pip-toggle"),(null==r?void 0:r.self.permissions.canDisableParticipantAudio)&&v.push("rtk-mute-all-button"),v.push("rtk-breakout-rooms-toggle"),(null===(c=r.self)||void 0===c?void 0:c.permissions.canRecord)&&v.push("rtk-recording-toggle"),null!==(g=r.self.permissions.transcriptionEnabled)&&void 0!==g&&g&&v.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&v.push("rtk-debugger-toggle"),e(r)&&o.push("rtk-livestream-toggle"),i.screenshare&&o.push("rtk-screen-share-toggle"),i.chat&&n.push("rtk-chat-toggle"),i.polls&&n.push("rtk-polls-toggle"),i.participants&&n.push("rtk-participants-toggle"),i.plugins&&n.push("rtk-plugins-toggle"),n.push("rtk-ai-toggle");const p=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];v.length>0&&p.push("rtk-more-toggle");const k=o.concat(n).concat(v);let u=!1;k.length>0&&(u=!0),A={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":o,"div#controlbar-center":p,"div#controlbar-right":n,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":v.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":k.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",u&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(v=t.header)||void 0===v?void 0:v.isEnabled){j.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],o=[];M&&o.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(O=e.logo,r.unshift("rtk-logo")),e.participantCount&&o.push("rtk-participant-count","rtk-viewer-count"),e.timer&&o.push("rtk-clock"),I={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":o,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}j.push("rtk-participants-audio","rtk-dialog-manager");let $={logo:O};$=t.designTokens,F(null===(k=null===(p=null==t?void 0:t.designTokens)||void 0===p?void 0:p.colors)||void 0===k?void 0:k.textOnBrand)&&($.colors["text-on-brand"]=null===(m=null===(u=null==t?void 0:t.designTokens)||void 0===u?void 0:u.colors)||void 0===m?void 0:m.textOnBrand),F(null===(b=null===(f=null==t?void 0:t.designTokens)||void 0===f?void 0:f.colors)||void 0===b?void 0:b.videoBg)&&($.colors["video-bg"]=null===(x=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===x?void 0:x.videoBg);let T={designTokens:$,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-2, 8px)"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-1, 4px)"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all",gap:"var(--header-section-gap)"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all",gap:"var(--header-section-gap)",paddingInline:"var(--rtk-space-3, 12px)"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--header-section-gap)"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar","activeAI"]},"rtk-meeting[meeting=idle]":["rtk-idle-screen"],"rtk-meeting[meeting=waiting]":["rtk-waiting-screen"],"rtk-meeting[meeting=setup]":["rtk-setup-screen","rtk-dialog-manager"],"rtk-meeting[meeting=joined]":j,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.sm":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeAI.md":{add:[["rtk-ai",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},I),A),{"rtk-stage":{states:["activeSidebar","activeAI"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-stage.activeAI":{add:[["rtk-ai",{view:"sidebar"}]]},"rtk-stage.activeAI.sm":{remove:["rtk-ai"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenshare":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-grid.activeScreenShare":["rtk-mixed-grid"],"rtk-grid.activePlugin":["rtk-mixed-grid"],"rtk-grid.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-mixed-grid":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",..._?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"div#setupcontrols-settings":[["rtk-settings-toggle",{size:"sm"}]],"rtk-screenshare-view":["rtk-name-tag","rtk-network-indicator"],"rtk-name-tag":[["rtk-audio-visualizer",{slot:"start"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return T=Q(i,T),S.showSetupScreen=null===(w=null===(y=t.setupScreen)||void 0===y?void 0:y.isEnabled)||void 0===w||w,{config:T,data:S}};export{K as d,Q as e,X as g,T as p}
|