@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +1 -1
- package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
- package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
- package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
- package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
- package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
- package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
- package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
- package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
- package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
- package/dist/cjs/hark-qJk9qiLr.js +322 -0
- package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
- package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
- package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/{init-error-70ccf3b6.js → init-error-BC4ECjPk.js} +10 -2
- package/dist/cjs/livestream-B1z1fq_f.js +78 -0
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
- package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +7 -7
- package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
- package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
- package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
- package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
- package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +124 -125
- package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
- package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
- package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
- package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
- package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
- package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
- package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
- package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
- package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
- package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
- package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
- package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
- package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
- package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
- package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
- package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
- package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
- package/dist/cjs/rtk-header.cjs.entry.js +9 -9
- package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
- package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
- package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
- package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
- package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
- package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
- package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
- package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
- package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
- package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
- package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
- package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
- package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
- package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
- package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
- package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
- package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
- package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
- package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
- package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
- package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
- package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
- package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
- package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
- package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
- package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
- package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
- package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
- package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
- package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
- package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
- package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
- package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
- package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
- package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
- package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
- package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
- package/dist/cjs/rtk-ui-provider.cjs.entry.js +32 -20
- package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
- package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
- package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
- package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
- package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
- package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
- package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
- package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
- package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
- package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
- package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
- package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
- package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
- package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
- package/dist/collection/components/rtk-button/rtk-button.js +9 -8
- package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
- package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
- package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
- package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
- package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
- package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
- package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
- package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
- package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
- package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
- package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
- package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
- package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
- package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
- package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
- package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
- package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
- package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
- package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
- package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
- package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
- package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
- package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
- package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
- package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
- package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
- package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
- package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
- package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
- package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
- package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
- package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
- package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
- package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
- package/dist/collection/components/rtk-header/rtk-header.js +17 -11
- package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
- package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
- package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
- package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
- package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
- package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
- package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
- package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
- package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
- package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
- package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
- package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
- package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
- package/dist/collection/components/rtk-meeting/rtk-meeting.js +31 -21
- package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
- package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
- package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
- package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
- package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
- package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
- package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
- package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
- package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
- package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
- package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
- package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
- package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
- package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
- package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
- package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
- package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
- package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
- package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
- package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
- package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
- package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
- package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
- package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
- package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
- package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
- package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
- package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
- package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
- package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
- package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
- package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
- package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
- package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
- package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
- package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
- package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
- package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
- package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
- package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
- package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
- package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
- package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
- package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
- package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
- package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
- package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
- package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
- package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
- package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
- package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
- package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
- package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
- package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
- package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
- package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
- package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
- package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
- package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
- package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
- package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
- package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
- package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +22 -13
- package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
- package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
- package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
- package/dist/collection/utils/init-error.js +10 -2
- package/dist/collection/utils/livestream.js +1 -1
- package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -247
- package/dist/components/p-1sLF61J1.js +1 -0
- package/dist/components/p-7zlNLqpS.js +1 -0
- package/dist/components/p-B-k80wnP.js +1 -0
- package/dist/components/p-B1SWgSTZ.js +1 -0
- package/dist/components/p-B1wrArJr.js +1 -0
- package/dist/components/p-B4TnXODX.js +1 -0
- package/dist/components/p-B5-LNbkp.js +1 -0
- package/dist/components/p-B9MPybze.js +1 -0
- package/dist/components/p-BA_UY9k8.js +1 -0
- package/dist/components/p-BBHQOrFK.js +2 -0
- package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
- package/dist/components/p-BEOq_QN5.js +1 -0
- package/dist/components/p-BFTU3MAI.js +1 -0
- package/dist/components/p-BJKSFJeB.js +1 -0
- package/dist/components/p-BOYkqKBb.js +1 -0
- package/dist/components/p-BRbb3tLk.js +1 -0
- package/dist/components/p-BWNToYSb.js +1 -0
- package/dist/components/p-BYIBbfJ8.js +1 -0
- package/dist/components/p-BbJzI1u1.js +1 -0
- package/dist/components/p-BcCYogfR.js +1 -0
- package/dist/components/p-Bf4LuZWa.js +1 -0
- package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
- package/dist/components/p-BjF9F_tX.js +1 -0
- package/dist/components/p-BoGbJ5PX.js +1 -0
- package/dist/components/p-BuZhKlht.js +1 -0
- package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
- package/dist/components/p-C-OVY3ug.js +1 -0
- package/dist/components/p-C0H4DNJM.js +1 -0
- package/dist/components/p-C0vp-Q7v.js +1 -0
- package/dist/components/p-C3Z3GLQh.js +1 -0
- package/dist/components/p-C4IJ0f9O.js +1 -0
- package/dist/components/p-C9EBo56b.js +1 -0
- package/dist/components/p-CABfszIM.js +1 -0
- package/dist/components/p-CB5hzEOM.js +1 -0
- package/dist/components/p-CBJjerDR.js +1 -0
- package/dist/components/p-CBLUz_2s.js +1 -0
- package/dist/components/p-CJsXePY3.js +1 -0
- package/dist/components/p-CKX6X8es.js +1 -0
- package/dist/components/p-COEreDeR.js +1 -0
- package/dist/components/p-COZSdc5O.js +1 -0
- package/dist/components/p-CQAMoQlr.js +1 -0
- package/dist/components/p-Cd-WpR0J.js +1 -0
- package/dist/components/p-CdV0xzjB.js +1 -0
- package/dist/components/p-Ce-9kgl0.js +1 -0
- package/dist/components/p-ChuKD7QS.js +1 -0
- package/dist/components/p-Cj44pA_c.js +1 -0
- package/dist/components/p-Cmu_4ZYL.js +1 -0
- package/dist/components/p-CnJQLwM-.js +1 -0
- package/dist/components/p-CpOL3OJd.js +1 -0
- package/dist/components/p-CphAED3J.js +1 -0
- package/dist/components/p-CqEcYX16.js +1 -0
- package/dist/components/p-CrExxJHe.js +1 -0
- package/dist/components/p-D0bZYAmS.js +1 -0
- package/dist/components/p-D1zAGrQ9.js +1 -0
- package/dist/components/p-D6vw6bT2.js +1 -0
- package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
- package/dist/components/p-DBjcFAtV.js +1 -0
- package/dist/components/p-DCEjf6bL.js +1 -0
- package/dist/components/p-DD3_OTZn.js +1 -0
- package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
- package/dist/components/p-DE1s0fDa.js +1 -0
- package/dist/components/p-DEOaS443.js +1 -0
- package/dist/components/p-DHSRRtn3.js +1 -0
- package/dist/components/p-DKjr_UXt.js +1 -0
- package/dist/components/p-DLocSBO3.js +1 -0
- package/dist/components/p-DNkzP2hS.js +1 -0
- package/dist/components/p-DP4RUNa1.js +1 -0
- package/dist/components/p-DU5mNJqK.js +1 -0
- package/dist/components/p-DY8ll5IU.js +1 -0
- package/dist/components/p-DZC8m5f_.js +1 -0
- package/dist/components/p-Daj_55_i.js +1 -0
- package/dist/components/p-DbHOlaHU.js +1 -0
- package/dist/components/p-De8YQHVd.js +1 -0
- package/dist/components/p-Deo_3EhX.js +1 -0
- package/dist/components/p-Df2S0-LE.js +1 -0
- package/dist/components/p-DfWuSKCq.js +1 -0
- package/dist/components/p-Dguuxuf6.js +1 -0
- package/dist/components/p-Dkd2PDJ-.js +1 -0
- package/dist/components/p-DlKMnwxL.js +1 -0
- package/dist/components/p-DmVA5ArE.js +1 -0
- package/dist/components/p-DnQYtb0h.js +1 -0
- package/dist/components/p-DuOnRaMu.js +1 -0
- package/dist/components/p-DxDYE5-a.js +1 -0
- package/dist/components/p-EuNHmu13.js +1 -0
- package/dist/components/p-FVFlyS1y.js +1 -0
- package/dist/components/p-FdeAvICb.js +1 -0
- package/dist/components/p-J1kxEVHe.js +1 -0
- package/dist/components/p-JyC3dswA.js +1 -0
- package/dist/components/p-KpmupjxR.js +1 -0
- package/dist/components/p-L9yK33Cu.js +1 -0
- package/dist/components/p-PXVZ-Szx.js +1 -0
- package/dist/components/p-ViKGg-Ct.js +1 -0
- package/dist/components/p-aS2wpIc0.js +1 -0
- package/dist/components/p-ak2clYhw.js +1 -0
- package/dist/components/p-e-OVL-Mg.js +1 -0
- package/dist/components/p-j2J2Tn1F.js +1 -0
- package/dist/components/p-oXrlIvqH.js +1 -0
- package/dist/components/p-pb5wDMuJ.js +1 -0
- package/dist/components/p-s-jAl7lc.js +1 -0
- package/dist/components/p-sSs7a3Ms.js +1 -0
- package/dist/components/p-t72veIFj.js +1 -0
- package/dist/components/p-uOh9MOi7.js +1 -0
- package/dist/components/p-wemYeTS7.js +1 -0
- package/dist/components/p-wl6GEzgG.js +1 -0
- package/dist/components/p-zBoy9v8V.js +1 -0
- package/dist/components/rtk-ai-toggle.js +1 -122
- package/dist/components/rtk-ai-transcriptions.js +1 -6
- package/dist/components/rtk-ai.js +1 -6
- package/dist/components/rtk-audio-grid.js +1 -145
- package/dist/components/rtk-audio-tile.js +1 -184
- package/dist/components/rtk-audio-visualizer.js +1 -6
- package/dist/components/rtk-avatar.js +1 -6
- package/dist/components/rtk-breakout-room-manager.js +1 -6
- package/dist/components/rtk-breakout-room-participants.js +1 -6
- package/dist/components/rtk-breakout-rooms-manager.js +1 -6
- package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
- package/dist/components/rtk-broadcast-message-modal.js +1 -6
- package/dist/components/rtk-button.js +1 -6
- package/dist/components/rtk-camera-selector.js +1 -6
- package/dist/components/rtk-camera-toggle.js +1 -236
- package/dist/components/rtk-caption-toggle.js +1 -131
- package/dist/components/rtk-chat-composer-ui.js +1 -363
- package/dist/components/rtk-chat-composer-view.js +1 -6
- package/dist/components/rtk-chat-header.js +1 -6
- package/dist/components/rtk-chat-message.js +1 -6
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
- package/dist/components/rtk-chat-messages-ui.js +1 -313
- package/dist/components/rtk-chat-search-results.js +1 -147
- package/dist/components/rtk-chat-selector-ui.js +1 -108
- package/dist/components/rtk-chat-selector.js +1 -6
- package/dist/components/rtk-chat-toggle.js +1 -181
- package/dist/components/rtk-chat.js +1 -6
- package/dist/components/rtk-clock.js +1 -128
- package/dist/components/rtk-confirmation-modal.js +1 -6
- package/dist/components/rtk-controlbar-button.js +1 -6
- package/dist/components/rtk-controlbar.js +1 -91
- package/dist/components/rtk-counter.js +1 -6
- package/dist/components/rtk-debugger-audio.js +1 -6
- package/dist/components/rtk-debugger-screenshare.js +1 -6
- package/dist/components/rtk-debugger-system.js +1 -6
- package/dist/components/rtk-debugger-toggle.js +1 -98
- package/dist/components/rtk-debugger-video.js +1 -6
- package/dist/components/rtk-debugger.js +1 -6
- package/dist/components/rtk-dialog-manager.js +1 -310
- package/dist/components/rtk-dialog.js +1 -6
- package/dist/components/rtk-draft-attachment-view.js +1 -6
- package/dist/components/rtk-emoji-picker-button.js +1 -6
- package/dist/components/rtk-emoji-picker.js +1 -6
- package/dist/components/rtk-ended-screen.js +1 -150
- package/dist/components/rtk-file-dropzone.js +1 -87
- package/dist/components/rtk-file-message-view.js +1 -6
- package/dist/components/rtk-file-message.js +1 -6
- package/dist/components/rtk-file-picker-button.js +1 -6
- package/dist/components/rtk-fullscreen-toggle.js +1 -6
- package/dist/components/rtk-grid-pagination.js +1 -206
- package/dist/components/rtk-grid.js +1 -468
- package/dist/components/rtk-header.js +1 -91
- package/dist/components/rtk-icon.js +1 -6
- package/dist/components/rtk-idle-screen.js +1 -139
- package/dist/components/rtk-image-message-view.js +1 -6
- package/dist/components/rtk-image-message.js +1 -6
- package/dist/components/rtk-image-viewer.js +1 -91
- package/dist/components/rtk-information-tooltip.js +1 -61
- package/dist/components/rtk-join-stage.js +1 -6
- package/dist/components/rtk-leave-button.js +1 -87
- package/dist/components/rtk-leave-meeting.js +1 -6
- package/dist/components/rtk-livestream-indicator.js +1 -6
- package/dist/components/rtk-livestream-player.js +1 -6
- package/dist/components/rtk-livestream-toggle.js +1 -181
- package/dist/components/rtk-logo.js +1 -6
- package/dist/components/rtk-markdown-view.js +1 -6
- package/dist/components/rtk-meeting-title.js +1 -74
- package/dist/components/rtk-meeting.js +1 -533
- package/dist/components/rtk-menu-item.js +1 -6
- package/dist/components/rtk-menu-list.js +1 -6
- package/dist/components/rtk-menu.js +1 -6
- package/dist/components/rtk-message-list-view.js +1 -324
- package/dist/components/rtk-message-view.js +1 -6
- package/dist/components/rtk-mic-toggle.js +1 -234
- package/dist/components/rtk-microphone-selector.js +1 -6
- package/dist/components/rtk-mixed-grid.js +1 -300
- package/dist/components/rtk-more-toggle.js +1 -112
- package/dist/components/rtk-mute-all-button.js +1 -127
- package/dist/components/rtk-mute-all-confirmation.js +1 -6
- package/dist/components/rtk-name-tag.js +1 -6
- package/dist/components/rtk-network-indicator.js +1 -117
- package/dist/components/rtk-notification.js +1 -6
- package/dist/components/rtk-notifications.js +1 -637
- package/dist/components/rtk-overlay-modal.js +1 -6
- package/dist/components/rtk-paginated-list.js +1 -6
- package/dist/components/rtk-participant-count.js +1 -118
- package/dist/components/rtk-participant-setup.js +1 -149
- package/dist/components/rtk-participant-tile.js +1 -6
- package/dist/components/rtk-participant.js +1 -6
- package/dist/components/rtk-participants-audio.js +1 -249
- package/dist/components/rtk-participants-stage-list.js +1 -6
- package/dist/components/rtk-participants-stage-queue.js +1 -6
- package/dist/components/rtk-participants-toggle.js +1 -195
- package/dist/components/rtk-participants-viewer-list.js +1 -6
- package/dist/components/rtk-participants-waiting-list.js +1 -6
- package/dist/components/rtk-participants.js +1 -306
- package/dist/components/rtk-permissions-message.js +1 -6
- package/dist/components/rtk-pinned-message-selector.js +1 -6
- package/dist/components/rtk-pip-toggle.js +1 -135
- package/dist/components/rtk-plugin-main.js +1 -6
- package/dist/components/rtk-plugins-toggle.js +1 -148
- package/dist/components/rtk-plugins.js +1 -6
- package/dist/components/rtk-poll-form.js +1 -6
- package/dist/components/rtk-poll.js +1 -6
- package/dist/components/rtk-polls-toggle.js +1 -160
- package/dist/components/rtk-polls.js +1 -6
- package/dist/components/rtk-recording-indicator.js +1 -96
- package/dist/components/rtk-recording-toggle.js +1 -203
- package/dist/components/rtk-screen-share-toggle.js +1 -317
- package/dist/components/rtk-screenshare-view.js +1 -194
- package/dist/components/rtk-settings-audio.js +1 -6
- package/dist/components/rtk-settings-toggle.js +1 -93
- package/dist/components/rtk-settings-video.js +1 -6
- package/dist/components/rtk-settings.js +1 -208
- package/dist/components/rtk-setup-screen.js +1 -215
- package/dist/components/rtk-sidebar-ui.js +1 -6
- package/dist/components/rtk-sidebar.js +1 -253
- package/dist/components/rtk-simple-grid.js +1 -149
- package/dist/components/rtk-speaker-selector.js +1 -6
- package/dist/components/rtk-spinner.js +1 -6
- package/dist/components/rtk-spotlight-grid.js +1 -135
- package/dist/components/rtk-spotlight-indicator.js +1 -6
- package/dist/components/rtk-stage-toggle.js +1 -195
- package/dist/components/rtk-stage.js +1 -61
- package/dist/components/rtk-switch.js +1 -6
- package/dist/components/rtk-tab-bar.js +1 -6
- package/dist/components/rtk-text-composer-view.js +1 -6
- package/dist/components/rtk-text-message-view.js +1 -6
- package/dist/components/rtk-text-message.js +1 -6
- package/dist/components/rtk-tooltip.js +1 -6
- package/dist/components/rtk-transcript.js +1 -6
- package/dist/components/rtk-transcripts.js +1 -199
- package/dist/components/rtk-ui-provider.js +1 -281
- package/dist/components/rtk-viewer-count.js +1 -6
- package/dist/components/rtk-virtualized-participant-list.js +1 -6
- package/dist/components/rtk-waiting-screen.js +1 -77
- package/dist/docs/docs-components.d.ts +37 -0
- package/dist/docs/docs-components.json +5693 -3069
- package/dist/docs/docs-vscode.json +78 -78
- package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
- package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
- package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
- package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
- package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
- package/dist/esm/debounce-BLQbB67V.js +657 -0
- package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
- package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
- package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
- package/dist/esm/hark-Dwnntwzh.js +320 -0
- package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
- package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
- package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
- package/dist/esm/index.js +13 -10
- package/dist/esm/{init-error-ff5ead9a.js → init-error-DE1s0fDa.js} +10 -2
- package/dist/esm/livestream-C0vp-Q7v.js +73 -0
- package/dist/esm/loader.js +3630 -2785
- package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
- package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
- package/dist/esm/realtimekit-ui.js +6 -5
- package/dist/esm/rtk-ai-toggle.entry.js +8 -7
- package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
- package/dist/esm/rtk-ai_3.entry.js +19 -15
- package/dist/esm/rtk-audio-grid.entry.js +12 -8
- package/dist/esm/rtk-audio-tile.entry.js +13 -8
- package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
- package/dist/esm/rtk-avatar_26.entry.js +120 -119
- package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
- package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
- package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
- package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
- package/dist/esm/rtk-camera-toggle.entry.js +8 -7
- package/dist/esm/rtk-caption-toggle.entry.js +11 -7
- package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-message.entry.js +8 -6
- package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
- package/dist/esm/rtk-chat-search-results.entry.js +8 -6
- package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
- package/dist/esm/rtk-chat-toggle.entry.js +16 -10
- package/dist/esm/rtk-clock.entry.js +11 -8
- package/dist/esm/rtk-controlbar-button.entry.js +5 -6
- package/dist/esm/rtk-controlbar.entry.js +9 -7
- package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
- package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
- package/dist/esm/rtk-dialog-manager.entry.js +9 -8
- package/dist/esm/rtk-dialog.entry.js +5 -6
- package/dist/esm/rtk-ended-screen.entry.js +11 -7
- package/dist/esm/rtk-file-dropzone.entry.js +8 -6
- package/dist/esm/rtk-file-message_3.entry.js +11 -12
- package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
- package/dist/esm/rtk-grid-pagination.entry.js +17 -13
- package/dist/esm/rtk-grid.entry.js +27 -16
- package/dist/esm/rtk-header.entry.js +9 -7
- package/dist/esm/rtk-idle-screen.entry.js +14 -8
- package/dist/esm/rtk-image-viewer.entry.js +7 -8
- package/dist/esm/rtk-information-tooltip.entry.js +8 -6
- package/dist/esm/rtk-leave-button.entry.js +5 -6
- package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
- package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
- package/dist/esm/rtk-logo.entry.js +14 -8
- package/dist/esm/rtk-meeting-title.entry.js +5 -6
- package/dist/esm/rtk-message-list-view.entry.js +12 -8
- package/dist/esm/rtk-mic-toggle.entry.js +8 -7
- package/dist/esm/rtk-mixed-grid.entry.js +16 -11
- package/dist/esm/rtk-more-toggle.entry.js +5 -6
- package/dist/esm/rtk-mute-all-button.entry.js +11 -7
- package/dist/esm/rtk-name-tag.entry.js +9 -8
- package/dist/esm/rtk-network-indicator.entry.js +11 -7
- package/dist/esm/rtk-notification.entry.js +13 -10
- package/dist/esm/rtk-notifications.entry.js +21 -13
- package/dist/esm/rtk-participant-count.entry.js +9 -7
- package/dist/esm/rtk-participant-setup.entry.js +14 -8
- package/dist/esm/rtk-participant_2.entry.js +24 -21
- package/dist/esm/rtk-participants-audio.entry.js +10 -8
- package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
- package/dist/esm/rtk-participants-toggle.entry.js +16 -10
- package/dist/esm/rtk-participants.entry.js +15 -9
- package/dist/esm/rtk-pip-toggle.entry.js +11 -7
- package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
- package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
- package/dist/esm/rtk-poll_2.entry.js +8 -10
- package/dist/esm/rtk-polls-toggle.entry.js +16 -10
- package/dist/esm/rtk-recording-indicator.entry.js +8 -7
- package/dist/esm/rtk-recording-toggle.entry.js +8 -7
- package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
- package/dist/esm/rtk-screenshare-view.entry.js +9 -8
- package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
- package/dist/esm/rtk-settings-toggle.entry.js +5 -6
- package/dist/esm/rtk-settings.entry.js +8 -7
- package/dist/esm/rtk-setup-screen.entry.js +11 -10
- package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
- package/dist/esm/rtk-sidebar.entry.js +17 -11
- package/dist/esm/rtk-simple-grid.entry.js +11 -10
- package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
- package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
- package/dist/esm/rtk-stage-toggle.entry.js +11 -7
- package/dist/esm/rtk-stage.entry.js +5 -6
- package/dist/esm/rtk-transcript.entry.js +8 -7
- package/dist/esm/rtk-transcripts.entry.js +14 -8
- package/dist/esm/rtk-ui-provider.entry.js +32 -18
- package/dist/esm/rtk-waiting-screen.entry.js +8 -6
- package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
- package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
- package/dist/realtimekit-ui/index.esm.js +1 -1
- package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
- package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
- package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
- package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
- package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
- package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
- package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
- package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
- package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
- package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
- package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
- package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
- package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
- package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
- package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
- package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
- package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
- package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
- package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
- package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
- package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
- package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
- package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
- package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
- package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
- package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
- package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
- package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
- package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
- package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
- package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
- package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
- package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
- package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
- package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
- package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
- package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
- package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
- package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
- package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
- package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
- package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
- package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
- package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
- package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
- package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
- package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
- package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
- package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
- package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
- package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
- package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
- package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
- package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
- package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
- package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
- package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
- package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
- package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
- package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
- package/dist/realtimekit-ui/p-DE1s0fDa.js +1 -0
- package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
- package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
- package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
- package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
- package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
- package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
- package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
- package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
- package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
- package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
- package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
- package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
- package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
- package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
- package/dist/realtimekit-ui/p-c90deeae.entry.js +1 -0
- package/dist/realtimekit-ui/p-ce4105e5.entry.js +1 -0
- package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
- package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
- package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
- package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
- package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
- package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
- package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
- package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
- package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
- package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
- package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
- package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
- package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
- package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
- package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
- package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
- package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
- package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
- package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
- package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
- package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
- package/dist/types/components.d.ts +1752 -255
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/dist/types/utils/init-error.d.ts +6 -2
- package/dist/types/utils/livestream.d.ts +60 -0
- package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
- package/package.json +2 -3
- package/dist/cjs/ChatHead-777e6a2d.js +0 -13
- package/dist/cjs/debounce-6080cc73.js +0 -544
- package/dist/cjs/hark-c97d0a59.js +0 -301
- package/dist/components/p-00568bea.js +0 -159
- package/dist/components/p-026049ee.js +0 -81
- package/dist/components/p-03e354cd.js +0 -82
- package/dist/components/p-04ac37d4.js +0 -69
- package/dist/components/p-0529c72c.js +0 -218
- package/dist/components/p-084f7d6c.js +0 -95
- package/dist/components/p-08e39399.js +0 -199
- package/dist/components/p-0db812c2.js +0 -189
- package/dist/components/p-0e02697c.js +0 -85
- package/dist/components/p-1a7dd46a.js +0 -390
- package/dist/components/p-1cb276df.js +0 -104
- package/dist/components/p-240d48d1.js +0 -96
- package/dist/components/p-278a613b.js +0 -115
- package/dist/components/p-29e60132.js +0 -437
- package/dist/components/p-2f2b07a1.js +0 -168
- package/dist/components/p-303a7f1f.js +0 -122
- package/dist/components/p-32b95100.js +0 -128
- package/dist/components/p-32f14b1a.js +0 -260
- package/dist/components/p-36ad7fe2.js +0 -98
- package/dist/components/p-38d22d57.js +0 -11
- package/dist/components/p-3ae130f7.js +0 -178
- package/dist/components/p-3e0452c4.js +0 -48
- package/dist/components/p-3eedb9db.js +0 -68
- package/dist/components/p-3f882e7c.js +0 -299
- package/dist/components/p-42c2e598.js +0 -103
- package/dist/components/p-4351785c.js +0 -103
- package/dist/components/p-467abb0c.js +0 -159
- package/dist/components/p-48b6fb95.js +0 -327
- package/dist/components/p-4e02ee0f.js +0 -131
- package/dist/components/p-51b6f520.js +0 -43
- package/dist/components/p-549ab58f.js +0 -108
- package/dist/components/p-5654365f.js +0 -94
- package/dist/components/p-592cd396.js +0 -105
- package/dist/components/p-5995471c.js +0 -125
- package/dist/components/p-5c55e43b.js +0 -115
- package/dist/components/p-5d3174d1.js +0 -127
- package/dist/components/p-632cbbe7.js +0 -164
- package/dist/components/p-695e5dc5.js +0 -223
- package/dist/components/p-6a0a1a25.js +0 -101
- package/dist/components/p-6bd3b29c.js +0 -97
- package/dist/components/p-6c6cefb0.js +0 -224
- package/dist/components/p-70c0c7ce.js +0 -179
- package/dist/components/p-78db5933.js +0 -92
- package/dist/components/p-7d8d9693.js +0 -119
- package/dist/components/p-8133c228.js +0 -79
- package/dist/components/p-82df4307.js +0 -114
- package/dist/components/p-84deab1d.js +0 -126
- package/dist/components/p-85587a5c.js +0 -50
- package/dist/components/p-92ac782c.js +0 -37205
- package/dist/components/p-95721bd2.js +0 -159
- package/dist/components/p-96be6716.js +0 -120
- package/dist/components/p-9c89d7b1.js +0 -131
- package/dist/components/p-9f5d24b0.js +0 -191
- package/dist/components/p-a0a863fa.js +0 -61
- package/dist/components/p-a3c85ced.js +0 -177
- package/dist/components/p-a6cf88b5.js +0 -146
- package/dist/components/p-a83ccdbd.js +0 -40
- package/dist/components/p-a9d577bb.js +0 -271
- package/dist/components/p-ab37c121.js +0 -181
- package/dist/components/p-ae373651.js +0 -4028
- package/dist/components/p-b1a93be0.js +0 -1945
- package/dist/components/p-b1a9a7c4.js +0 -214
- package/dist/components/p-b1aeb013.js +0 -113
- package/dist/components/p-b29d03cf.js +0 -77
- package/dist/components/p-b4068392.js +0 -60
- package/dist/components/p-b75297d7.js +0 -299
- package/dist/components/p-b98fd0eb.js +0 -102
- package/dist/components/p-bece0226.js +0 -141
- package/dist/components/p-bf64e0af.js +0 -76
- package/dist/components/p-c3c8f309.js +0 -127
- package/dist/components/p-c82e13b1.js +0 -92
- package/dist/components/p-c9f704c4.js +0 -349
- package/dist/components/p-cbdd7a99.js +0 -542
- package/dist/components/p-cedfbbd4.js +0 -105
- package/dist/components/p-cf1903b1.js +0 -60
- package/dist/components/p-cfa0b5c7.js +0 -26
- package/dist/components/p-d411c80b.js +0 -463
- package/dist/components/p-d48b4170.js +0 -159
- package/dist/components/p-d83124b1.js +0 -86
- package/dist/components/p-de0b23a0.js +0 -210
- package/dist/components/p-e0129657.js +0 -201
- package/dist/components/p-e8809896.js +0 -147
- package/dist/components/p-ea359bb7.js +0 -90
- package/dist/components/p-ea4aa3bf.js +0 -86
- package/dist/components/p-ed0fad6d.js +0 -166
- package/dist/components/p-efabd2ce.js +0 -58
- package/dist/components/p-f179a6ff.js +0 -80
- package/dist/components/p-f867ebba.js +0 -122
- package/dist/components/p-f9cbb223.js +0 -127
- package/dist/components/p-f9f08610.js +0 -157
- package/dist/esm/ChatHead-148558a8.js +0 -11
- package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
- package/dist/esm/TextMessage-0ab2db20.js +0 -67
- package/dist/esm/browser-24d8ab3e.js +0 -3
- package/dist/esm/config-f3f01b9a.js +0 -352
- package/dist/esm/date-b1f78dea.js +0 -32
- package/dist/esm/debounce-0169a54d.js +0 -542
- package/dist/esm/debounce-430cbf00.js +0 -329
- package/dist/esm/file-6114f1a9.js +0 -57
- package/dist/esm/full-screen-d36ffc68.js +0 -50
- package/dist/esm/grid-a3ca5a3e.js +0 -96
- package/dist/esm/hark-6327d91e.js +0 -299
- package/dist/esm/index-3f51790f.js +0 -224
- package/dist/esm/index-b81ca899.js +0 -92
- package/dist/esm/join-error-e87be64a.js +0 -29
- package/dist/esm/merge-201ecd5c.js +0 -820
- package/dist/esm/notification-1ebf7700.js +0 -37
- package/dist/esm/scroll-2d8e810c.js +0 -13
- package/dist/esm/sidebar-a13dc215.js +0 -49
- package/dist/esm/ui-store-1bc7abc6.js +0 -4033
- package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
- package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
- package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
- package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
- package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
- package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
- package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
- package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
- package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
- package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
- package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
- package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
- package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-4ec77793.js +0 -1
- package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
- package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
- package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
- package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
- package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
- package/dist/realtimekit-ui/p-667c84b1.js +0 -1
- package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
- package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
- package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
- package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
- package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
- package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
- package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
- package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
- package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
- package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
- package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
- package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
- package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
- package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
- package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
- package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
- package/dist/realtimekit-ui/p-9727a165.js +0 -1
- package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
- package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
- package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
- package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
- package/dist/realtimekit-ui/p-a599f720.js +0 -2
- package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
- package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
- package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
- package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
- package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
- package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
- package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
- package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
- package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
- package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
- package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
- package/dist/realtimekit-ui/p-cfa0b5c7.js +0 -1
- package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
- package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
- package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
- package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
- package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
- package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
- package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
- package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
- package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
- package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
- package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
- package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
- package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
- package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
- package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
- package/loader/package.json +0 -11
- /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
- /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
- /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
- /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
- /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
- /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
- /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
- /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
- /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
- /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
- /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
- /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
- /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
- /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
- /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
- /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
- /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
- /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
- /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
- /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,h as r,d as s,t as o}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as i,i as a}from"./p-De8YQHVd.js";import"./p-Dguuxuf6.js";import{S as n}from"./p-CphAED3J.js";import{g as d,a as c,b as l,c as g}from"./p-BcCYogfR.js";var b=function(t,e,r,s){var o,i=arguments.length,a=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,s);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=i,this.t=a(),this.isNetworkOpen=!0,this.isDevicesOpen=!1,this.videoProducerFormattedStats=[],this.videoProducerScoreStats=null,this.networkBasedMediaHealth=null,this.devicesHealth=null,this.mediaScoreUpdateListener=({kind:t,isScreenshare:e,scoreStats:r})=>{"video"!==t||e||(this.videoProducerScoreStats=r)},this.deviceListUpdateListener=async()=>{const t=await this.meeting.self.getVideoDevices();this.devicesHealth=(null==t?void 0:t.length)>0?"Good":"Poor"},this.videoUpdateListener=()=>{this.meeting.self.videoEnabled||(this.videoProducerScoreStats=null)}}async videoProducerScoreStatsChanged(t){if(!t)return void(this.videoProducerFormattedStats=[]);const e=t,r=[];r.push({name:this.t("debugger.stats.cpu_limitations.label"),value:e.cpuLimitations?"Yes":"No",description:this.t("debugger.stats.cpu_limitations.description"),verdict:e.cpuLimitations?"Poor":"Good"}),r.push({name:this.t("debugger.stats.bandwidth_limitations.label"),value:e.bandwidthLimitations?"Yes":"No",description:this.t("debugger.stats.bandwidth_limitations.description"),verdict:e.bandwidthLimitations?"Poor":"Good"}),r.push({name:this.t("debugger.stats.bitrate.label"),value:`${Math.round(e.bitrate/1024)} kbps`,description:this.t("debugger.stats.bitrate.description"),verdict:d({bitrate:e.bitrate})}),r.push({name:this.t("debugger.stats.packet_loss.label"),value:`${e.packetsLostPercentage}%`,description:this.t("debugger.stats.packet_loss.description"),verdict:c({packetLossPercentage:e.packetsLostPercentage})}),r.push({name:this.t("debugger.stats.jitter.label"),value:`${Math.round(1e3*e.jitter)} ms`,description:this.t("debugger.stats.jitter.description"),verdict:l({jitterInMS:1e3*e.jitter})}),this.videoProducerFormattedStats=r,this.networkBasedMediaHealth=g({stats:r})}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.self.off("mediaScoreUpdate",this.mediaScoreUpdateListener),this.meeting.self.off("videoUpdate",this.videoUpdateListener),this.meeting.self.off("deviceListUpdate",this.deviceListUpdateListener))}async meetingChanged(t){t&&(t.self.on("mediaScoreUpdate",this.mediaScoreUpdateListener),t.self.on("videoUpdate",this.videoUpdateListener),t.self.on("deviceListUpdate",this.deviceListUpdateListener),await this.deviceListUpdateListener())}render(){var t,e;if(this.meeting)return r(s,null,r("div",{id:"header"}),r("div",{class:"tab-body"},r("div",{class:"status-container"},r("div",{class:"status-section"},r("div",{class:"section-header "+(this.networkBasedMediaHealth?"":"only-child")},r("span",null,this.t("debugger.video.sections.network_media")),this.networkBasedMediaHealth&&r("span",{class:`status ${null===(t=this.networkBasedMediaHealth)||void 0===t?void 0:t.toLowerCase()}`},this.t(`debugger.quality.${null===(e=this.networkBasedMediaHealth)||void 0===e?void 0:e.toLowerCase()}`))),this.isNetworkOpen&&!this.videoProducerFormattedStats.length&&r("div",{class:"section-body missing-stats"},r("span",null,this.t(this.meeting.self.videoEnabled?"debugger.video.messages.generating_report":"debugger.video.messages.enable_media"))),this.isNetworkOpen&&!!this.videoProducerFormattedStats.length&&r("div",{class:"section-body network-table"},this.videoProducerFormattedStats.map((t=>{var e,s;return r("div",{class:"network-row"},r("div",{class:"network-cell label"},r("strong",null,t.name),r("span",{class:"description"},t.description)),r("div",{class:"network-cell value"},r("span",{class:`status ${null===(e=t.verdict)||void 0===e?void 0:e.toLowerCase()}`},this.t(`debugger.quality.${null===(s=t.verdict)||void 0===s?void 0:s.toLowerCase()}`)),r("span",{class:"value"},t.value)))})))))))}static get watchers(){return{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;height:100%;width:100%;color:rgb(var(--rtk-colors-text-1000, 255 255 255));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}.tab-body::-webkit-scrollbar-thumb{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))}h3{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:600}#header{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-5, 20px);display:flex;align-items:center;justify-content:space-evenly}.tab-body{margin:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column;justify-content:space-between;overflow-y:auto}.status-container{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;padding:16px}.status-section{margin-bottom:12px}.section-header{display:flex;justify-content:space-between;align-items:center;font-weight:bold;padding:8px 0}.section-header.only-child{justify-content:center}.section-body.missing-stats{display:flex;text-align:center;justify-content:center}.section-header .status{color:rgba(var(--rtk-colors-success));font-weight:bold}.section-header .arrow{font-size:14px}.network-table{border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));border-radius:8px;margin-top:8px;overflow:hidden}.network-row{display:flex;justify-content:space-between;padding:12px;border-bottom:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}.network-row:last-child{border-bottom:none}.network-cell{display:flex;flex-direction:column}.network-cell.label strong{font-size:14px}.network-cell.label .description{font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}.network-cell.value{text-align:right}.status.good{color:rgba(var(--rtk-colors-success))}.status.average{color:rgba(var(--rtk-colors-warning))}.status.poor{color:rgba(var(--rtk-colors-danger))}.value{font-size:14px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));margin-top:4px}rtk-settings-video{display:flex;flex-direction:column}"}},[1,"rtk-debugger-video",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16],isNetworkOpen:[32],isDevicesOpen:[32],videoProducerFormattedStats:[32],videoProducerScoreStats:[32],networkBasedMediaHealth:[32],devicesHealth:[32]},void 0,{videoProducerScoreStats:[{videoProducerScoreStatsChanged:0}],meeting:[{meetingChanged:0}]}]);function u(){"undefined"!=typeof customElements&&["rtk-debugger-video"].forEach((t=>{"rtk-debugger-video"===t&&(customElements.get(o(t))||customElements.define(o(t),p))}))}b([n()],p.prototype,"meeting",void 0),b([n()],p.prototype,"states",void 0),b([n()],p.prototype,"iconPack",void 0),b([n()],p.prototype,"t",void 0),u();export{p as R,u as d}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="realtimekit-ui",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!1,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!0,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!1,taskQueue:!0,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{const o={l:0,$hostElement$:t,o:n,i:new Map,u:new Map};e.isDev&&(o.p=0),e.method&&e.lazyLoad&&(o.m=new Promise((t=>o.v=t))),e.asyncLoading&&(o.$=new Promise((t=>o.S=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.j=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.l&&(e.state||e.prop)&&f(t,o),s},p=(t,e)=>e in t,m=(t,e)=>(a||console.error)(t,e),v=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...v,...t),g=(...t)=>console.warn(...v,...t),b=new Map,y=(t,n,o)=>{const s=t.O.replace(/-/g,"_"),r=t.C;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.O}> with style mode "${n._}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&b.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||b.set(r,t),t[s])),(t=>{m(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,S=[],j="s-id",x="sty-id",O="c-id",C="_stencilDocData",_={hostIds:0,rootLevelIds:0,staticComponents:new Set},E="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",N=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],T="undefined"!=typeof window?window:{},L=T.HTMLElement||class{},R={l:0,k:"",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)},M=e.shadowDom,A=(()=>{var t;let e=!1;try{null==(t=T.document)||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),D=t=>Promise.resolve(t),I=!!e.constructableCSS&&(()=>{try{return!!T.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),H=!!I&&(()=>!!T.document&&Object.getOwnPropertyDescriptor(T.document.adoptedStyleSheets,"length").writable)(),F=0,P=!1,U=[],B=[],z=[],V=(t,e)=>n=>{t.push(n),P||(P=!0,e&&4&R.l?X(J):R.raf(J))},W=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){m(t)}t.length=0},Y=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){m(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},J=()=>{if(e.asyncQueue&&F++,W(U),e.asyncQueue){const t=2==(6&R.l)?performance.now()+14*Math.ceil(.1*F):1/0;Y(B,t),Y(z,t),B.length>0&&(z.push(...B),B.length=0),(P=U.length+B.length+z.length>0)?R.raf(J):F=0}else W(B),(P=U.length>0)&&R.raf(J)},X=t=>D().then(t),q=V(U,!1),K=V(B,!0),Q=t=>{const e=new URL(t,R.k);return e.origin!==T.location.origin?e.href:e.pathname},G=t=>R.k=t;function Z(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.l)),e.shadowSlotAssignmentManual&&1024&t.l&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(H?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var tt=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&nt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&tt(t)}},et=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};function nt(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...nt(o.childNodes,e,n)]}return r}var ot=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},st=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,rt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(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 s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:et(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function at(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:nt(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ut=t=>{ft(t),dt(t),mt(t),pt(t),bt(t),vt(t),$t(t),gt(t),yt(t),wt(t),ht(t)},ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&M,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},dt=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=at(t,this);if(n){rt(t,n);const o=ot(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return ct(n),tt(this),i}return this.__appendChild(t)})},ht=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&nt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},pt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=nt(Nt(this,"childNodes"),this.tagName,n)[0];if(o){rt(e,o,!0);const t=ot(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return ct(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},mt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},vt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},$t=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},gt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=at(t,this),s=this.__childNodes?this.childNodes:et(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){rt(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),ct(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},bt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},yt=t=>{kt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},wt=t=>{class e extends Array{item(t){return this[t]}}kt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),kt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),kt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),kt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...et(this.__childNodes)),t}})},St=t=>{t&&!t.__nextSibling&&(kt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},jt=t=>{t&&!t.__nextElementSibling&&(kt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},xt=t=>{t&&!t.__previousSibling&&(kt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ot=t=>{t&&!t.__previousElementSibling&&(kt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},Ct=t=>{t&&!t.__parentNode&&(kt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},_t=["children","nextElementSibling","previousElementSibling"],Et=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function kt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;_t.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Et.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(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 Tt=0,Lt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Tt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(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}var Mt=new WeakMap,At=(t,e,n)=>{let o=w.get(t);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,w.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=Ht(n,o),c=w.get(l);if(!e.attachStyles||!T.document)return l;if(t=11===t.nodeType?t:T.document,c)if("string"==typeof c){let o,i=Mt.get(t=t.head||t);i||Mt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${x}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=T.document.createElement("style"),o.textContent=c;const a=null!=(s=R.N)?s:Rt(T.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.l||128&n.l||1&n.l)&&o.setAttribute(x,l),!(1&n.l))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(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(I){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),H?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.l&&t.insertBefore(o,null),4&n.l&&(o.textContent+=E),i&&i.add(l)}}else if(e.constructableCSS){let n=Mt.get(t);if(n||Mt.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(H?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${x}="${l}"]`);e&&K((()=>e.remove()))}}}return l},It=t=>{const n=t.o,o=t.$hostElement$,s=n.l,r=Lt("attachStyles",n.O),i=Dt(e.shadowDom&&M&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t._);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ht=(t,n)=>"sc-"+(e.mode&&n&&32&t.l?t.O+"-"+n:t.O),Ft=()=>{if(!T.document)return;const t=T.document.querySelectorAll(`[${x}]`);let e=0;for(;e<t.length;e++)At(t[e].getAttribute(x),t[e].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)},Pt=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...o)=>{"string"==typeof t&&(t=Zn(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!Pt(s))?s=String(s):e.isDev&&"function"!=typeof t&&void 0===s.l&&$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].T+=s:a.push(l?Bt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Xt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Vt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Wt);const f=Bt(t,null);return f.L=n,a.length>0&&(f.R=a),e.vdomKey&&(f.M=r),e.slotRelocation&&(f.A=i),f},Bt=(t,n)=>{const o={l:0,D:t,T:null!=n?n:null,I:null,R:null};return e.vdomAttribute&&(o.L=null),e.vdomKey&&(o.M=null),e.slotRelocation&&(o.A=null),o},zt={},Vt=t=>t&&t.D===zt,Wt={forEach:(t,e)=>t.map(Yt).forEach(e),map:(t,e)=>t.map(Yt).map(e).map(Jt)},Yt=t=>({vattrs:t.L,vchildren:t.R,vkey:t.M,vname:t.A,vtag:t.D,vtext:t.T}),Jt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Ut(t.vtag,e,...t.vchildren||[])}const e=Bt(t.vtag,t.vtext);return e.L=t.vattrs,e.R=t.vchildren,e.M=t.vkey,e.A=t.vname,e},Xt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&g('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},qt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(O),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Qt({l:0,F:u[0],P:u[1],U:u[2],B:u[3],D:i.tagName.toLowerCase(),I:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(O),t.R||(t.R=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.I.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.D&&(Gt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.I["s-sn"]=r,f.I.removeAttribute("s-sn")),void 0!==f.B&&(t.R[f.B]=f),t=f,s&&"0"===f.U&&(s[f.B]=f.I)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)qt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)qt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Qt({F:u[1],P:u[2],U:u[3],B:u[4]||"0",I:i,L:null,R:null,M:null,A:null,D:null,T:null}),"t"===a?(f.I=te(i,3),f.I&&3===f.I.nodeType&&(f.T=f.I.textContent,n.push(f),i.remove(),l===f.F&&(t.R||(t.R=[]),t.R[f.B]=f),s&&"0"===f.U&&(s[f.B]=f.I))):"c"===a?(f.I=te(i,8),f.I&&8===f.I.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?Gt(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.D){const e=Bt(null,i.textContent);e.I=i,e.B="0",t.R=[e]}return t},Kt=(t,e)=>{if(1===t.nodeType){const n=t[j]||t.getAttribute(j);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Kt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Kt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Qt=t=>({l:0,F:null,P:null,U:null,B:"0",I:null,L:null,R:null,M:null,A:null,D:null,T:null,...t});function Gt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.A=t||null,o.D="slot";const u=(null==r?void 0:r.I)?r.I["s-id"]||r.I.getAttribute("s-id"):"";if(e.shadowDom&&c&&T.document){const e=o.I=T.document.createElement(o.D);o.A&&o.I.setAttribute("name",t),r.I.shadowRoot&&u&&u!==o.F?Nt(r.I,"insertBefore")(e,Nt(r.I,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),Zt(a,n,t,s,o.F),s.remove(),"0"===o.U&&(c[o.B]=o.I)}else{const e=o.I,i=u&&u!==o.F&&r.I.shadowRoot;Zt(a,n,t,s,i?u:o.F),lt(s),i&&r.I.insertBefore(e,r.I.children[0])}i.push(o),l.push(o),r.R||(r.R=[]),r.R[o.B]=o}var Zt=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},te=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},ee=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ne="-shadowcsshost",oe="-shadowcssslotted",se="-shadowcsscontext",re=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ie=new RegExp("("+ne+re,"gim"),le=new RegExp("("+se+re,"gim"),ce=new RegExp("("+oe+re,"gim"),ae=ne+"-no-combinator",ue=/-shadowcsshost-no-combinator([^\s]*)/,fe=[/::shadow/g,/::content/g],de=/__part-(\d+)__/g,he=/-shadowcsshost/gim,pe=t=>{const e=ee(t);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},me=/\/\*\s*[\s\S]*?\*\//g,ve=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,$e=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ge=/([{}])/g,be=/(^.*?[^\\])??((:+)(.*)|$)/,ye="%BLOCK%",we=(t,e)=>{const n=Se(t);let o=0;return n.escapedString.replace($e,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+ye)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},Se=t=>{const e=t.split(ge),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(ye),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(ye)),{escapedString:n.join(""),blocks:o}},je=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(ae,r,t[3]))}return o.join(",")}return ae+t[3]})),xe=(t,e,n)=>t+e.replace(ne,"")+n,Oe=(t,e,n)=>e.indexOf(ne)>-1?xe(t,e,n):t+e+n+", "+e+" "+t+n,Ce=(t,e)=>t.replace(be,((t,n="",o,s="",r="")=>n+e+s+r)),_e=(t,e,n,o)=>we(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(ae)>-1)s=((t,e,n)=>{if(he.lastIndex=0,he.test(t)){const e=`.${n}`;return t.replace(ue,((t,n)=>Ce(n,e))).replace(he,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(he,"");e.length>0&&(s=Ce(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(ae)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(ae)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(de)&&(u||f.indexOf(ae)>-1),l+=u?s(f):f,d=r.placeholders,l.replace(/__part-(\d+)__/g,((t,e)=>d[+e])).replace(/__ph-(\d+)__/g,((t,e)=>d[+e]));var d})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=_e(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ee=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,`.${e}`),ke=(t,e)=>{const n=e+"-h",o=e+"-s",s=t.match(ve)||[];t=t.replace(me,"");const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=we(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=we(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(ce,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return ae+t[3]})),{selectors:o,cssText:t}})(t=(t=>je(t,le,Oe))(t=(t=>je(t,ie,xe))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=pe("::slotted"),o=pe(":host"),s=pe(":host-context");return t=t.replace(s,`$1${se}`).replace(o,`$1${ne}`).replace(n,`$1${oe}`),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>fe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=_e(t,e,n,o)),{cssText:(t=(t=Ee(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Ee(t.orgSelector,n),updatedSelector:Ee(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=new RegExp(ee(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return we(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Ne=t=>S.map((e=>e(t))).find((t=>!!t)),Te=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},Le=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return new RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};var Re,Me,Ae,De=(t,n,o)=>{return(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t="string"==typeof(s=t)&&s.startsWith(l)?Le.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(s.slice(11)))):s:null==t||Pt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?String(t):t;var s},Ie=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},He=(t,n,o)=>{const s=Ie(t);return{emit:t=>(e.isDev&&!s.isConnected&&g(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Fe(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},Fe=(t,e,n)=>{const o=R.ce(e,n);return t.dispatchEvent(o),o},Pe=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=p(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Be(o);let i=Be(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&fn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=Pt(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(k,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(k,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(T,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(ze);n=n.replace(Ve,""),o&&R.rel(t,n,o,e),s&&R.ael(t,n,s,e)}},Ue=/\s/,Be=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ue):[]),ze="Capture",Ve=new RegExp(ze+"$"),We=(t,n,o,s)=>{const r=11===n.I.nodeType&&n.I.host?n.I.host:n.I,i=t&&t.L||{},l=n.L||{};if(e.updatable)for(const t of Ye(Object.keys(i)))t in l||Pe(r,t,i[t],void 0,o,n.l,s);for(const t of Ye(Object.keys(l)))Pe(r,t,i[t],l[t],o,n.l,s)};function Ye(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Je=!1,Xe=!1,qe=!1,Ke=!1,Qe=[],Ge=[],Ze=(t,n,o)=>{var s;const r=n.R[o];let i,l,c,a=0;if(e.slotRelocation&&!Je&&(qe=!0,"slot"===r.D&&(r.l|=r.R?2:1)),e.isDev&&r.I&&$(`The JSX ${null!==r.T?`"${r.T}" text`:`"${r.D}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.T)i=r.I=T.document.createTextNode(r.T);else if(e.slotRelocation&&1&r.l)i=r.I=e.isDebug||e.hydrateServerSide?mn(r):T.document.createTextNode(""),e.vdomAttribute&&We(null,r,Ke);else{if(e.svg&&!Ke&&(Ke="svg"===r.D),!T.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.I=e.svg?T.document.createElementNS(Ke?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Je&&e.slotRelocation&&2&r.l?"slot-fb":r.D):T.document.createElement(!Je&&e.slotRelocation&&2&r.l?"slot-fb":r.D),e.svg&&Ke&&"foreignObject"===r.D&&(Ke=!1),e.vdomAttribute&&We(null,r,Ke),(e.scoped||e.hydrateServerSide)&&null!=(u=Re)&&void 0!==u&&i["s-si"]!==Re&&i.classList.add(i["s-si"]=Re),r.R){const e="template"===r.D?i.content:i;for(a=0;a<r.R.length;++a)l=Ze(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.D?Ke=!1:"foreignObject"===i.tagName&&(Ke=!0))}var u;return i["s-hn"]=Ae,e.slotRelocation&&3&r.l&&(i["s-sr"]=!0,i["s-cr"]=Me,i["s-sn"]=r.A||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,lt(i),c=t&&t.R&&t.R[o],c&&c.D===r.D&&t.I&&tn(t.I),(e.scoped||e.hydrateServerSide)&&hn(Me,i,n.I,null==t?void 0:t.I)),i},tn=t=>{R.l|=1;const e=t.closest(Ae.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(dn(e,t,null!=n?n:null),t["s-sh"]=void 0,qe=!0)}R.l&=-2},en=(t,e)=>{R.l|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ae&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ae&&o["s-ol"]&&(dn(rn(o).parentNode,o,rn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,qe=!0),e&&en(o,e)}R.l&=-2},nn=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ae&&(c=c.shadowRoot),"template"===o.D&&(c=c.content);r<=i;++r)s[r]&&(l=Ze(null,o,r),l&&(s[r].I=l,dn(c,l,e.slotRelocation?rn(n):n)))},on=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.I;un(n),t&&(e.slotRelocation&&(Xe=!0,t["s-ol"]?t["s-ol"].remove():en(t,!0)),t.remove())}}},sn=(t,n,o=!1)=>t.D===n.D&&(e.slotRelocation&&"slot"===t.D?t.A===n.A:e.vdomKey&&!o?t.M===n.M:(o&&!t.M&&n.M&&(t.M=n.M),!0)),rn=t=>t&&t["s-ol"]||t,ln=(t,n,o=!1)=>{const s=n.I=t.I,r=t.R,i=n.R,l=n.D,c=n.T;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.T!==c&&(s.data=c):(e.svg&&(Ke="svg"===l||"foreignObject"!==l&&Ke),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!Je&&t.A!==n.A&&(n.I["s-sn"]=n.A||"",tn(n.I.parentElement)),We(t,n,Ke,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],$=s[m];const g="template"===o.D?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==$)$=s[--m];else if(sn(h,v,r))ln(h,v,r),h=n[++c],v=s[++a];else if(sn(p,$,r))ln(p,$,r),p=n[--d],$=s[--m];else if(sn(h,$,r))!e.slotRelocation||"slot"!==h.D&&"slot"!==$.D||en(h.I.parentNode,!1),ln(h,$,r),dn(g,h.I,p.I.nextSibling),h=n[++c],$=s[--m];else if(sn(p,v,r))!e.slotRelocation||"slot"!==h.D&&"slot"!==$.D||en(p.I.parentNode,!1),ln(p,v,r),dn(g,p.I,h.I),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].M&&n[f].M===v.M){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.D!==v.D?i=Ze(n&&n[a],o,u):(ln(l,v,r),n[u]=void 0,i=l.I),v=s[++a]):(i=Ze(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?dn(rn(h.I).parentNode,i,rn(h.I)):dn(h.I.parentNode,i,h.I))}c>d?nn(t,null==s[m+1]?null:s[m+1].I,o,s,a,m):e.updatable&&a>m&&on(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.T&&(s.textContent=""),nn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?on(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.R=r),e.svg&&Ke&&"svg"===l&&(Ke=!1))},cn=[],an=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=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"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(st(e,s)){let n=cn.find((t=>t.V===e));Xe=!0,e["s-sn"]=e["s-sn"]||s,n?(n.V["s-sh"]=t["s-hn"],n.W=t):(e["s-sh"]=t["s-hn"],cn.push({W:t,V:e})),e["s-sr"]&&cn.map((t=>{st(t.V,e["s-sn"])&&(n=cn.find((t=>t.V===e)),n&&!t.W&&(t.W=n.W))}))}else cn.some((t=>t.V===e))||cn.push({V:e})}1===t.nodeType&&an(t)}},un=t=>{e.vdomRef&&(t.L&&t.L.ref&&Qe.push((()=>t.L.ref(null))),t.R&&t.R.map(un))},fn=(t,n)=>{e.vdomRef&&Ge.push((()=>t(n)))},dn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])hn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ct(n),t.insertBefore(n,o);const{slotNode:r}=at(n);return r&&!s&&ct(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function hn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var pn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.Y||Bt(null,null),d=Vt(n)?n:Ut(null,null,n);if(Ae=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Vt))throw new Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ae.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.J&&(d.L=d.L||{},u.J.forEach((([n,o])=>{d.L[o]=e.serializer&&t.u.has(n)?t.u.get(n):a[n]}))),o&&d.L)for(const t of Object.keys(d.L))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.L[t]=a[t]);if(d.D=null,d.l|=4,t.Y=d,d.I=f.I=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Re=a["s-sc"]),Je=M&&!!(1&u.l)&&!(128&u.l),e.slotRelocation&&(Me=a["s-cr"],Xe=!1),ln(f,d,o),e.slotRelocation){if(R.l|=1,qe){an(d.I);for(const t of cn){const n=t.V;if(!n["s-ol"]&&T.document){const t=e.isDebug||e.hydrateServerSide?vn(n):T.document.createTextNode("");t["s-nr"]=n,dn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of cn){const n=t.V,c=t.W;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(dn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=T.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,dn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Xe&&tt(d.I),R.l&=-2,cn.length=0}if(e.slotRelocation&&!Je&&!(1&u.l)&&a["s-cr"]){const t=d.I.__childNodes||d.I.childNodes;for(const e of t)if(e["s-hn"]!==Ae&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=T.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],dn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Me=void 0,e.vdomRef&&(Qe.forEach((t=>t())),Qe.length=0,Ge.forEach((t=>t())),Ge.length=0)},mn=t=>{var e;return null==(e=T.document)?void 0:e.createComment(`<slot${t.A?' name="'+t.A+'"':""}> (host=${Ae.toLowerCase()})`)},vn=t=>{var e;return null==(e=T.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},$n=(t,n)=>{if(e.asyncLoading&&n&&!t.X&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.X=()=>{n["s-p"].splice(e-1,1),o()})))}},gn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.l|=16),e.asyncLoading&&4&t.l)return void(t.l|=512);$n(t,t.q);const o=()=>bn(t,n);if(!n)return e.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},bn=(t,n)=>{const o=t.$hostElement$,s=Lt("scheduleUpdate",t.o.O),r=e.lazyLoad?t.K:o;if(!r)throw new Error(`Can't render component <${o.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 i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,En(r,"connectedCallback",void 0,o)),e.hostListener&&(t.l|=256,t.Z&&(t.Z.map((([t,e])=>En(r,t,e,o))),t.Z=void 0)),t.j.length&&t.j.forEach((t=>t(o)))),kn(o,"componentWillLoad"),i=En(r,"componentWillLoad",void 0,o)):(kn(o,"componentWillUpdate"),i=En(r,"componentWillUpdate",void 0,o)),kn(o,"componentWillRender"),i=yn(i,(()=>En(r,"componentWillRender",void 0,o))),s(),yn(i,(()=>Sn(t,r,n)))},yn=(t,e)=>wn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),wn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Sn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Lt("update",t.o.O),l=r["s-rc"];e.style&&o&&It(t);const c=Lt("render",t.o.O);if(e.isDev&&(t.l|=1024),e.hydrateServerSide?await xn(t,n,r,o):xn(t,n,r,o),e.isDev&&(t.p=void 0===t.p?1:t.p+1,t.l&=-1025),e.hydrateServerSide)try{Tn(r),o&&(1&t.o.l?r["s-en"]="":2&t.o.l&&(r["s-en"]="c"))}catch(t){m(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>On(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}else On(t)},jn=null,xn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(jn=n,n=(r||n.render)&&n.render(),c&&l&&(t.l&=-17),(c||i)&&(t.l|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>pn(t,e,s)));pn(t,n,s)}else 1&t.o.l?o.shadowRoot.textContent=n:o.textContent=n}catch(e){m(e,t.$hostElement$)}return jn=null,null},On=t=>{const n=t.o.O,o=t.$hostElement$,s=Lt("postUpdate",n),r=e.lazyLoad?t.K:o,i=t.q;e.isDev&&(t.l|=1024),En(r,"componentDidRender",void 0,o),e.isDev&&(t.l&=-1025),kn(o,"componentDidRender"),64&t.l?(e.isDev&&(t.l|=1024),En(r,"componentDidUpdate",void 0,o),e.isDev&&(t.l&=-1025),kn(o,"componentDidUpdate"),s()):(t.l|=64,e.asyncLoading&&e.cssAnnotations&&Nn(o),e.isDev&&(t.l|=2048),En(r,"componentDidLoad",void 0,o),e.isDev&&(t.l&=-2049),kn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.S(o),i||_n(n))),e.method&&e.lazyLoad&&t.v(o),e.asyncLoading&&(t.X&&(t.X(),t.X=void 0),512&t.l&&X((()=>gn(t,!1))),t.l&=-517)},Cn=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.l)&&gn(e,!1),n}return!1},_n=n=>{var o;e.asyncQueue&&(R.l|=2),X((()=>Fe(T,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=R.tt)?void 0:o.size)&&R.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},En=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){m(t,o)}},kn=(n,o)=>{e.lifecycleDOMEvents&&Fe(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Nn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Tn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Tn(n)}},Ln=(t,e)=>d(t).i.get(e),Rn=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw new Error(`Couldn't find host element for "${s.O}" 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).`);if(e.serializer&&r.u.has(n)&&r.u.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.l,a=e.lazyLoad?r.K:i;o=De(o,s.t[n][0],e.formAssociated&&!!(64&s.l));const u=Number.isNaN(l)&&Number.isNaN(o);if(!(e.lazyLoad&&8&c&&void 0!==l||o===l||u)){if(r.i.set(n,o),e.serializer&&e.reflect&&s.J&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.u.set(n,e)};a?t(a):r.j.push((()=>{t(r.K)}))}if(e.isDev&&(1024&r.l?g(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.l&&g(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.j.push((()=>{r.K[e](o,l,n)})))}catch(t){m(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||gn(r,!1)}}},Mn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.l&&1&o&&N.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.K:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.$)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Te(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Ln(this,t);const e=d(this),o=e?e.K:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Ln(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.l)||!(31&s)||1024&s||g(`@Prop() "${t}" on <${n.O}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.apply(this,[De(r,s,e.formAssociated&&!!(64&n.l))]),void Rn(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return Rn(this,t,r,n),void(1&o&&!i.K&&i.j.push((()=>{4096&n.t[t][0]&&i.K[t]!==i.i.get(t)&&(i.K[t]=r)})));const l=()=>{const o=i.K[t];!i.i.get(t)&&o&&i.i.set(t,o),i.K[t]=De(r,s,e.formAssociated&&!!(64&n.l)),Rn(this,t,i.K[t],n)};i.K?l():i.j.push((()=>{l()}))}}else Rn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.m)?void 0:n.then((()=>{var n;return null==(n=o.K)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){R.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.u.has(a)&&u.u.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.K?t(n,u.K):u.j.push((()=>{t(n,u.K)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.l;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.K:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a)),h=f&&4&f[1][0],p=h&&null===r&&void 0===this[a];h&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);p||r==this[a]||m.get&&!m.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.J)||r.push([t,i])),i}))]))}}return t},An=async(t,n,o,s)=>{let r;try{if(!(32&n.l)){if(n.l|=32,e.lazyLoad&&o.C){const c=y(o,n,s);if(c&&"then"in c){const t=(i=`st:load:${o.O}:${n._}`,l=`[Stencil] Load module for <${o.O}>`,e.profile&&performance.mark?(0===performance.getEntriesByName(i,"mark").length&&performance.mark(i),()=>{0===performance.getEntriesByName(l,"measure").length&&performance.measure(l,i)}):()=>{});r=await c,t()}else r=c;if(!r)throw new Error(`Constructor for "${o.O}#${n._}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Te(r.watchers),o.et=r.serializers,o.ot=r.deserializers),Mn(r,o,2),r.isProxied=!0);const a=Lt("createInstance",o.O);e.member&&(n.l|=8);try{new r(n)}catch(e){m(e,t)}e.member&&(n.l&=-9),e.propChangeCallback&&(n.l|=128),a(),e.slotRelocation&&4&o.l?n.G=!0:Dn(n.K,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.l|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n._=Ne(t),n._&&(i=r.style[n._]),e.hydrateServerSide&&n._&&t.setAttribute("s-mode",n._));const l=Ht(o,n._);if(!w.has(l)||e.hotModuleReplacement&&s){const t=Lt("registerStyles",o.O);e.hydrateServerSide&&e.shadowDom&&128&o.l&&(i=ke(i,l)),At(l,i,!!(1&o.l)),t()}}}const c=n.q,a=()=>gn(n,!0);e.asyncLoading&&c&&c["s-rc"]?c["s-rc"].push(a):a()}catch(o){m(o,t),e.asyncLoading&&n.X&&(n.X(),n.X=void 0),e.asyncLoading&&n.S&&n.S(t)}var i,l},Dn=(t,n)=>{e.lazyLoad&&En(t,"connectedCallback",void 0,n)},In=t=>{if(!(1&R.l)){const n=d(t);if(!n)return;const o=n.o,s=Lt("connectedCallback",o.O);if(e.hostListenerTargetParent&&zn(t,n,o.st,!0),1&n.l)zn(t,n,o.st,!1),(null==n?void 0:n.K)?Dn(n.K,t):(null==n?void 0:n.$)&&n.$.then((()=>Dn(n.K,t)));else{let s;if(n.l|=1,e.hydrateClientSide&&(s=t.getAttribute(j),s)){if(e.shadowDom&&M&&1&o.l){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.l){const n=Ht(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Lt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Bt(n,null);let $;if(v.I=t,e.scoped){const e=s.o;e&&10&e.l&&t["s-sc"]?($=t["s-sc"],t.classList.add($+"-h")):t["s-sc"]&&delete t["s-sc"]}!T.document||R.tt&&R.tt.size||Kt(T.document.body,R.tt=new Map),t[j]=o,t.removeAttribute(j),s.Y=qt(v,f,h,m,t,t,o,p);let g=0;const b=f.length;let y;for(;g<b;g++){y=f[g];const o=y.F+"."+y.P,s=R.tt.get(o),i=y.I;if(u){if((null==(r=y.D)?void 0:r.toString().includes("-"))&&"slot-fb"!==y.D&&!y.I.shadowRoot){const t=d(y.I);if(t){const n=Ht(t.o,e.mode?y.I.getAttribute("s-mode"):void 0),o=T.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Zn(n).toUpperCase(),"slot"===y.D&&(i["s-cr"]=t["s-cr"]);"slot"===y.D&&(y.A=y.I["s-sn"]||y.I.name||null,y.R?(y.l|=2,y.I.childNodes.length||y.R.forEach((t=>{y.I.appendChild(t.I)}))):y.l|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.P))),s&&!s["s-id"]&&R.tt.delete(o)}const w=[],S=p.length;let x,O,C,_,E=0,k=0;for(;E<S;E++)if(x=p[E],x&&x.length)for(C=x.length,O=0;O<C;O++){if(_=x[O],w[_.hostId]||(w[_.hostId]=R.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=x[O-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),rt(_.node,_.slot,!1,_.node["s-oo"]||k),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&(N=_.node)&&void 0===N.__nextSibling&&globalThis.Node&&(St(N),xt(N),Ct(N),N.nodeType===Node.ELEMENT_NODE&&(jt(N),Ot(N)))),k=(_.node["s-oo"]||k)+1}var N;if(e.scoped&&$&&h.length&&h.forEach((t=>{t.I.parentElement.classList.add($+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.O,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.l)&&Hn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){$n(n,n.q=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?X((()=>An(t,n,o))):An(t,n,o)}s()}},Hn=t=>{if(!T.document)return;const n=t["s-cr"]=T.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,dn(t,n,t.firstChild)},Fn=(t,n)=>{e.lazyLoad&&En(t,"disconnectedCallback",void 0,n||t)},Pn=async t=>{if(!(1&R.l)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.K)?Fn(n.K,t):(null==n?void 0:n.$)&&n.$.then((()=>Fn(n.K,t))):Fn(t)}Mt.has(t)&&Mt.delete(t),t.shadowRoot&&Mt.has(t.shadowRoot)&&Mt.delete(t.shadowRoot)},Un=(t,n)=>{const o={l:n[0],O:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Te(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.J=[]),e.shadowDom&&!M&&1&o.l&&(o.l|=8),!(1&o.l)&&256&o.l?e.experimentalSlotFixes?ut(t.prototype):(e.slotChildNodesFix&&wt(t.prototype),e.cloneNodeFix&&ft(t.prototype),e.appendChildSlotFix&&dt(t.prototype),e.scopedSlotTextContentFix&&2&o.l&&yt(t.prototype)):e.cloneNodeFix&&ft(t.prototype),e.hydrateClientSide&&e.shadowDom&&Ft();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;zn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}In(this),s&&s.call(this)},disconnectedCallback(){Pn(this),r&&r.call(this)},__attachShadow(){if(M)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${o.O}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.O,configurable:!0}),Mn(t,o,3)}catch(e){return m(e),t}},Bn=(t,e)=>e,zn=(t,n,o,s)=>{e.hostListener&&o&&T.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Wn(T.document,t,o):t,l=Vn(n,r),c=Yn(o);R.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>R.rel(i,s,l,c)))})))},Vn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.l?null==(s=t.K)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){m(e,t.$hostElement$)}},Wn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?T:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Yn=t=>A?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t),Jn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Xn=t=>R.N=t,qn=t=>Object.assign(R,t),Kn=new WeakMap;function Qn(t,e){let n=Kn.get(e);n||(n={l:0,o:{l:0,O:e.tagName},$hostElement$:e},Kn.set(e,n)),pn(n,t)}var Gn=void 0;function Zn(t){return Gn?Gn(t):t}function to(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)}var eo=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||no(t,e,s.Y,n,{nodeIds:0}),eo(t,e,n,o)}))},no=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(j,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue=`r.${r}`),null!=n.R){const e=0;n.R.forEach(((n,o)=>{oo(t,n,s,r,e,o)}))}if(e&&n&&n.I&&!e.hasAttribute(O)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.I.setAttribute(O,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},oo=(t,e,n,o,s,r)=>{const i=e.I;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(O,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment(`t.${c}`);dn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.R){const r=s+1;e.R.forEach(((e,s)=>{oo(t,e,n,o,r,s)}))}},so=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:Bn,H:L,HTMLElement:L,HYDRATED_STYLE_ID:x,Host:zt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Jn)},NAMESPACE:t,STENCIL_DEV_MODE:v,addHostEventListeners:zn,bootstrapLazy:(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=T.stencil=T.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.l,o=e.$hostElement$;return{renderCount:e.p,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.u,ancestorComponent:e.q,hostElement:o,lazyInstance:e.K,vnode:e.Y,modeName:e._,fetchedCbList:e.j,onReadyPromise:e.$,onReadyResolve:e.S,onInstancePromise:e.m,onInstanceResolve:e.v,onRenderResolve:e.X,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!T.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Lt("bootstrapLazy"),r=[],i=n.exclude||[],l=T.customElements,c=T.document.head,a=c.querySelector("meta[charset]"),u=T.document.createElement("style"),f=[];let p,m=!0;Object.assign(R,n),R.k=new URL(n.resourcesUrl||"./",T.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(R.l|=4),e.hydrateClientSide&&(R.l|=2),e.hydrateClientSide&&e.shadowDom&&Ft();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={l:o[0],O:o[1],t:o[2],st:o[3]};4&a.l&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.J=[]),e.propChangeCallback&&(a.nt=Te(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!M&&1&a.l&&(a.l|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.O):Zn(a.O),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),h(t=this,a),e.shadowDom&&1&a.l)if(M)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${a.O}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,zn(this,t,a.st,!1)),p&&(clearTimeout(p),p=null),m?f.push(this):R.jmp((()=>In(this))))}disconnectedCallback(){R.jmp((()=>Pn(this))),R.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.Y)?void 0:t.I)instanceof Node&&!e.Y.I.isConnected&&delete e.Y.I}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.$}};!(1&a.l)&&256&a.l?e.experimentalSlotFixes?ut($.prototype):(e.slotChildNodesFix&&wt($.prototype),e.cloneNodeFix&&ft($.prototype),e.appendChildSlotFix&&dt($.prototype),e.scopedSlotTextContentFix&&2&a.l&&yt($.prototype)):e.cloneNodeFix&&ft($.prototype),e.formAssociated&&64&a.l&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.l=1,An(t,o,e,n))})(this,a,t)}),a.C=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,Mn($,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=E),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=R.N)?o:Rt(T.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):R.jmp(e.profile?()=>p=setTimeout(_n,30,"timeout"):()=>p=setTimeout(_n,30)),s()},cmpModules:b,connectedCallback:In,consoleDevError:$,consoleDevInfo:(...t)=>console.info(...v,...t),consoleDevWarn:g,consoleError:m,createEvent:He,defineCustomElement:(t,e)=>{customElements.define(Zn(e[1]),Un(t,e))},disconnectedCallback:Pn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Ne(t),n=d(t);if(n&&n._!==e){const o=n.o,s=t["s-sc"],r=Ht(o,e),i=t.constructor.style[e],l=o.l;i&&(w.has(r)||At(r,i,!!(1&l)),n._=e,t.classList.remove(s+"-h",s+"-s"),It(n),Cn(t))}}},forceUpdate:Cn,getAssetPath:Q,getElement:Ie,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e._},getRenderingRef:()=>jn,getValue:Ln,h:Ut,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=C in t?t[C]:{..._};n.staticComponents=new Set(e);const o=[];eo(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(O,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue=`t.${l}`,dn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue=`c.${l}`,s.parentNode.insertBefore(e,s)}let c=`o.${l}`;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:p,jsx:to,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)},jsxs:function(t,e,n){return to(t,e,n)},loadModule:y,modeResolutionChain:S,needsScopedSSR:()=>!1,nextTick:X,normalizeWatchers:Te,parsePropertyValue:De,plt:R,postUpdateComponent:On,promiseResolve:D,proxyComponent:Mn,proxyCustomElement:Un,readTask:q,registerHost:h,registerInstance:(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.K=t,512&n.o.l&&(e.state||e.prop)&&f(t,n))},render:Qn,renderVdom:pn,setAssetPath:G,setErrorHandler:t=>a=t,setMode:t=>S.push(t),setNonce:Xn,setPlatformHelpers:t=>{Object.assign(R,t)},setPlatformOptions:qn,setScopedSSR:()=>{},setTagTransformer:function(t){Gn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Gn=t},setValue:Rn,styles:w,supportsConstructableStylesheets:I,supportsListenerOptions:A,supportsMutableAdoptedStyleSheets:H,supportsShadow:M,transformTag:Zn,win:T,writeTask:K});export{n as B,Bn as F,L as H,so as S,Xn as a,qn as b,He as c,zt as d,Ie as e,Q as g,Ut as h,Un as p,Qn as r,G as s,Zn as t,K as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as t}from"./p-
|
|
1
|
+
import{i as t}from"./p-CAqYddlg.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as s,h as t,d as a,t as c}from"./p-BBHQOrFK.js";import{e as o,i}from"./p-De8YQHVd.js";import{h as r}from"./p-CJsXePY3.js";import{C as n}from"./p-aS2wpIc0.js";import{S as b}from"./p-CphAED3J.js";import{T as m}from"./p-Bx38FZhs.js";var d=function(e,s,t,a){var c,o=arguments.length,i=o<3?s:null===a?a=Object.getOwnPropertyDescriptor(s,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,s,t,a);else for(var r=e.length-1;r>=0;r--)(c=e[r])&&(i=(o<3?c(i):o>3?c(s,t,i):c(s,t))||i);return o>3&&i&&Object.defineProperty(s,t,i),i};const f=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.now=new Date,this.isContinued=!1,this.iconPack=o,this.t=i(),this.showBubble=!1}render(){return t(a,{key:"a34dd007a87a134202e153f3d886102bbe6a685c"},!this.isContinued&&t(n,{key:"8505cee0d359b7449776ece2bbd7455811217a41",name:this.message.displayName,time:this.message.time,now:this.now}),t("div",{key:"00b2baca454b62e4984e82790580bac116a046a0",class:{body:!0,bubble:this.showBubble},part:"body"},t("div",{key:"ecc8de946011c9836cebfd626a27cb23f111d0cc",class:{text:!0,emoji:r(this.message.message)}},t(m,{key:"1efad576e6110986cb2abac7ff2c42b492c995aa",message:this.message.message}))))}},[0,"rtk-text-message",{message:[16],now:[16],isContinued:[516,"is-continued"],iconPack:[16],t:[16],showBubble:[4,"show-bubble"]}]);function p(){"undefined"!=typeof customElements&&["rtk-text-message"].forEach((e=>{"rtk-text-message"===e&&(customElements.get(c(e))||customElements.define(c(e),f))}))}d([b()],f.prototype,"iconPack",void 0),d([b()],f.prototype,"t",void 0),p();export{f as R,p as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as c,n as g}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as r,H as t,c as o,h as e,d as i,t as a}from"./p-BBHQOrFK.js";import{e as s,i as n}from"./p-De8YQHVd.js";import{S as c}from"./p-CphAED3J.js";import{d as l}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as b}from"./p-BoGbJ5PX.js";let p;var k=function(r,t,o,e){var i,a=arguments.length,s=a<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(r,t,o,e);else for(var n=r.length-1;n>=0;n--)(i=r[n])&&(s=(a<3?i(s):a>3?i(t,o,s):i(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s};const h=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.pickerClose=o(this,"pickerClose",7),this.emojiClicked=o(this,"rtkEmojiClicked",7),this.iconPack=s,this.t=n(),this.focusWhenOpened=!0,this.filterVal="",this.filteredEmojis=[]}componentWillLoad(){(async()=>{if(!p){const r=await fetch("https://rtk-assets.realtime.cloudflare.com/assets/emojis-data.json");p=r.json()}return p})().then((r=>{this.emojiList=r,this.handleInputChange(this.inputElement)}))}componentDidLoad(){this.focusWhenOpened&&this.inputElement.focus()}handleInputChange(r){this.filterVal=r.value;const t=new RegExp(`([^,]*?${this.filterVal}[^,]*):(\\d+)`,"g");this.filteredEmojis=Array.from(this.emojiList.search.matchAll(t)).map((r=>({name:r[1],emoji:this.emojiList.emojis[r[2]]})))}handleEmojiClick(r){this.emojiClicked.emit(r)}mapEmojiList(){var r;return(null===(r=this.emojiList)||void 0===r?void 0:r.length)>0?e("div",{id:"loader"},e("rtk-spinner",{iconPack:this.iconPack})):e("div",{id:"emoji-grid",class:"scrollbar max-w-40"},this.filteredEmojis.map((r=>e("rtk-button",{key:`emoji-button-${r.name}`,class:"emoji",variant:"ghost",kind:"icon",title:r.name,onClick:()=>this.handleEmojiClick(r.emoji)},r.emoji))))}render(){return e(i,{key:"e2b74cd93028974812eeba320368eb7d645b8e6d"},e("div",{key:"4656f9afbcde1e6a952a5eb7229649e3d9f7bf8a",class:"close-parent"},e("rtk-button",{key:"03759c6ee2b3b8bedcf965d340425bf9b7a9f370",variant:"ghost",kind:"icon",class:"close",onClick:()=>{var r;return null===(r=this.pickerClose)||void 0===r?void 0:r.emit()},"aria-label":this.t("close")},e("rtk-icon",{key:"b5b746e6c18e2a67a57f550f35bb32ea4de37cb9",icon:this.iconPack.dismiss}))),e("div",{key:"73235fd8e554ece4539e4d2fc9b086c32e43bd47",class:"emoji-parent"},e("input",{key:"315f45bcc6560f61d7c8448fee7d2e36ca04784d",value:this.filterVal,onInput:r=>this.handleInputChange(r.target),placeholder:this.t("search"),ref:r=>this.inputElement=r}),this.mapEmojiList()))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{width:100%}.emoji-parent{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-64, 256px);width:100%;max-width:640px;flex-direction:column;padding:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-0, 0px);-webkit-user-select:none;-moz-user-select:none;user-select:none;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;--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))}.close-parent{display:flex;flex:1 1 0%;justify-content:flex-end;padding:var(--rtk-space-0, 0px);--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))}#emoji-grid{margin-top:var(--rtk-space-2, 8px);box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;align-content:flex-start;overflow-x:hidden;overflow-y:scroll;height:100%;grid-auto-rows:minmax(min-content, max-content)}#loader{display:flex;height:100%;width:100%;align-items:center;justify-content:center}input{display:block;height:var(--rtk-space-8, 32px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);font-size:14px;border-width:var(--rtk-border-width-none, 0);border-style:solid;border-style:none;border-color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}input::-moz-placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input::placeholder{color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}input{border-radius:var(--rtk-border-radius-sm, 4px);outline:2px solid transparent;outline-offset:2px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60))}input:focus{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));--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(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);--tw-ring-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-ring-opacity));--tw-ring-opacity:0.3}.emoji{height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px);font-size:20px;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}"}},[1,"rtk-emoji-picker",{iconPack:[16],t:[16],focusWhenOpened:[4,"focus-when-opened"],emojiList:[32],filterVal:[32],filteredEmojis:[32]}]);function f(){"undefined"!=typeof customElements&&["rtk-emoji-picker","rtk-button","rtk-icon","rtk-spinner"].forEach((r=>{switch(r){case"rtk-emoji-picker":customElements.get(a(r))||customElements.define(a(r),h);break;case"rtk-button":customElements.get(a(r))||l();break;case"rtk-icon":customElements.get(a(r))||d();break;case"rtk-spinner":customElements.get(a(r))||b()}}))}k([c()],h.prototype,"iconPack",void 0),k([c()],h.prototype,"t",void 0),f();export{h as R,f as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as r,H as t,h as e,d as a,t as s}from"./p-BBHQOrFK.js";import{e as i,i as o,D as n}from"./p-De8YQHVd.js";import{C as c}from"./p-aS2wpIc0.js";import{s as d}from"./p-BIplIdLH.js";import{S as l}from"./p-CphAED3J.js";import{d as p}from"./p-BYIBbfJ8.js";var h=function(r,t,e,a){var s,i=arguments.length,o=i<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(r,t,e,a);else for(var n=r.length-1;n>=0;n--)(s=r[n])&&(o=(i<3?s(o):i>3?s(t,e,o):s(t,e))||o);return i>3&&o&&Object.defineProperty(t,e,o),o};const b=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.searchQuery="",this.isProcessing=!1,this.iconPack=i,this.t=o(),this.transcriptions=[],this.autoScrollEnabled=!0,this.onScroll=r=>{const{scrollTop:t,clientHeight:e,scrollHeight:a}=r.target;this.autoScrollEnabled=t+e+10>=a},this.onTranscriptHandler=r=>{this.transcriptions=this.transcriptionsReducer(this.transcriptions,r)}}transcriptionsReducer(r,t){if(!r.length||r[r.length-1].peerId!==t.peerId)return r.concat(t);const e=r[r.length-1];return e.id===t.id?(e.transcript=t.transcript,r.pop(),r.concat(e)):r.concat(t)}connectedCallback(){this.meeting&&this.meetingChanged(this.meeting)}componentDidLoad(){var r;null===(r=this.contentContainer)||void 0===r||r.addEventListener("scroll",this.onScroll)}disconnectedCallback(){var r,t,e;null===(t=null===(r=this.meeting)||void 0===r?void 0:r.ai)||void 0===t||t.off("transcript",this.onTranscriptHandler),null===(e=this.contentContainer)||void 0===e||e.removeEventListener("scroll",this.onScroll)}meetingChanged(r){var t,e;this.transcriptions=n(null===(t=null==r?void 0:r.ai)||void 0===t?void 0:t.transcripts),this.transcriptions=this.transcriptions.reduce(this.transcriptionsReducer,[]),null===(e=null==r?void 0:r.ai)||void 0===e||e.on("transcript",this.onTranscriptHandler)}transcriptionsChanged(){this.autoScrollEnabled&&setTimeout((()=>{d(this.contentContainer,!1)}),100)}renderContent(){const r=this.renderTranscripts();return e("div",{class:"content scrollbar",ref:r=>this.contentContainer=r},0===this.transcriptions.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_yet")),r,this.transcriptions.length>0&&this.searchQuery&&0===r.length&&e("div",{class:"started-message"},this.t("ai.transcriptions.no_transcripts_found")))}renderTranscripts(){var r;const t=null===(r=this.searchQuery)||void 0===r?void 0:r.toLowerCase(),a=this.transcriptions.filter((r=>{var e,a;return!t||(null===(e=r.name)||void 0===e?void 0:e.toLowerCase().includes(t))||(null===(a=r.transcript)||void 0===a?void 0:a.toLowerCase().includes(t))})),s=[];return a.forEach((r=>{const t={name:r.name,date:r.date,peerId:r.peerId,transcript:r.transcript};if(!s.length)return void s.push(t);const e=s[s.length-1];r.peerId===e.peerId?e.transcript+=" "+r.transcript:s.push(t)})),s.map((r=>e("div",{class:"message"},e(c,{name:r.name,time:new Date(r.date),now:new Date}),e("div",{class:"body"},r.transcript))))}render(){return e(a,{key:"08b41c4274270f9df80881c0a1fee9cdb5621ed7"},e("div",{key:"debebf0ef34437b1d9266cf5470a3d47975a865b",class:"search"},e("rtk-icon",{key:"5a17bcacd6ee1813ca40f5d6d550cc7425060d14",icon:this.iconPack.search}),e("input",{key:"b36d618edaccca47d5a076bf28e2af4c08039929",type:"search",autocomplete:"off",placeholder:this.t("ai.transcriptions.search_placeholder"),value:this.searchQuery,onInput:r=>this.searchQuery=r.target.value})),this.isProcessing&&e("div",{key:"8a9a5fda23dec97e14faaacc6bbade22a711b137",class:"processing"},e("p",{key:"24385d63e55281e957bed28b5055560b9a860c63"},"Processing audio....")),!this.isProcessing&&this.renderContent())}static get watchers(){return{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.head{display:flex;align-items:center}.head .name{margin-right:var(--rtk-space-4, 16px);font-size:12px;font-weight:700}.head .time{font-size:12px;color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}*{box-sizing:border-box;border-width:0;border-style:solid}:host{width:100%;display:flex;flex-direction:column}.processing{display:flex;flex:1 1 0%;flex-direction:column;align-items:center;justify-content:center}.content{box-sizing:border-box;display:flex;flex-direction:column;padding:var(--rtk-space-3, 12px);flex:1 0 0px;overflow-y:scroll}.started-message{margin-top:var(--rtk-space-5, 20px);margin-bottom:var(--rtk-space-5, 20px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.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-4, 16px);margin-bottom:var(--rtk-space-4, 16px)}.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))}.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}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.caption-view{height:var(--rtk-space-12, 48px);width:100%;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);border-bottom-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));display:flex;align-items:center;justify-content:space-between;font-size:14px}.message .body{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);font-size:14px;word-break:break-word}.message{margin-bottom:var(--rtk-space-3, 12px)}.message:last-child{margin-bottom:var(--rtk-space-0, 0px)}"}},[1,"rtk-ai-transcriptions",{meeting:[16],iconPack:[16],t:[16],initialTranscriptions:[16],searchQuery:[32],isProcessing:[32],transcriptions:[32]},void 0,{meeting:[{meetingChanged:0}],transcriptions:[{transcriptionsChanged:0}]}]);function g(){"undefined"!=typeof customElements&&["rtk-ai-transcriptions","rtk-icon"].forEach((r=>{switch(r){case"rtk-ai-transcriptions":customElements.get(s(r))||customElements.define(s(r),b);break;case"rtk-icon":customElements.get(s(r))||p()}}))}h([l()],b.prototype,"meeting",void 0),h([l()],b.prototype,"iconPack",void 0),h([l()],b.prototype,"t",void 0),g();export{b as R,g as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as s,h as a,d as t,t as c}from"./p-BBHQOrFK.js";import{C as i}from"./p-aS2wpIc0.js";import{a as d}from"./p-CJsXePY3.js";import{e as f,i as o}from"./p-De8YQHVd.js";import{g as b,a as n,d as r}from"./p-DDaHXyCC.js";import{S as m}from"./p-CphAED3J.js";import{d as l}from"./p-D6vw6bT2.js";import{d as k}from"./p-BYIBbfJ8.js";var p=function(e,s,a,t){var c,i=arguments.length,d=i<3?s:null===t?t=Object.getOwnPropertyDescriptor(s,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,s,a,t);else for(var f=e.length-1;f>=0;f--)(c=e[f])&&(d=(i<3?c(d):i>3?c(s,a,d):c(s,a))||d);return i>3&&d&&Object.defineProperty(s,a,d),d};const u=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){const e=d(this.message.link);return a(t,{key:"b10da5fd1c4c6d80a1e5bf5f35f4956abde0ed5d"},!this.isContinued&&a(i,{key:"fb1384ad8bfc73219b28c4500f78e6c6421ee848",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"81a067a5567ad160e4398a6f16b21309f81a0c9b",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"c6eb4b26b0090b7f9fd6af9e79d04c8b4e76a6d1",class:"file"},a("div",{key:"10e9b854fa0c1f311bb1bc76c90223220c9a10f3",class:"file-data"},a("div",{key:"ace6eeb050ad6c656cd215456b69f8b6e9529aec",class:"name"},this.message.name),a("div",{key:"562de08ebd242e92aeca1fae0aa4823612a60c1c",class:"file-data-split"},a("div",{key:"968eee3032f98a59da43c0b4604dc597c4bfd94c",class:"ext"},b(this.message.name)),a("span",{key:"2cb436ffed86b9c3a73ff5feab9d3ec7c8e0ef3b",class:"divider"}),a("div",{key:"9cc1d37edf60fbd3d3538512539a79244ffd74de",class:"size"},n(this.message.size)))),a("rtk-button",{key:"e4eb744391b8fe61bd4d58e3ac3d7d10ee748976",variant:"secondary",kind:"icon",onClick:()=>r(e,{name:this.message.name,fallbackName:"file"}),part:"button"},a("rtk-icon",{key:"79efeb36257d970f243d1730d0ac4ad84bc6993d",icon:this.iconPack.download})))))}},[0,"rtk-file-message",{message:[16],now:[16],isContinued:[516,"is-continued"],iconPack:[16],t:[16],showBubble:[4,"show-bubble"]}]);function h(){"undefined"!=typeof customElements&&["rtk-file-message","rtk-button","rtk-icon"].forEach((e=>{switch(e){case"rtk-file-message":customElements.get(c(e))||customElements.define(c(e),u);break;case"rtk-button":customElements.get(c(e))||l();break;case"rtk-icon":customElements.get(c(e))||k()}}))}p([m()],u.prototype,"iconPack",void 0),p([m()],u.prototype,"t",void 0),h();export{u as R,h as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./p-BFTU3MAI.js";var n,i,r,e,o=t(function(){if(e)return r;e=1;var t,o=function(){if(i)return n;function t(){}return i=1,n=t,t.mixin=function(t){var n=t.prototype||t;n.isWildEmitter=!0,n.on=function(t,n,i){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},n.once=function(t,n,i){var r=this,e=3===arguments.length,o=e?arguments[2]:arguments[1];return this.on(t,e?arguments[1]:void 0,(function n(){r.off(t,n),o.apply(this,arguments)})),this},n.releaseGroup=function(t){var n,i,r,e;for(n in this.callbacks=this.callbacks||{},this.callbacks)for(i=0,r=(e=this.callbacks[n]).length;i<r;i++)e[i]._groupName===t&&(e.splice(i,1),i--,r--);return this},n.off=function(t,n){this.callbacks=this.callbacks||{};var i,r=this.callbacks[t];return r?1===arguments.length?(delete this.callbacks[t],this):(-1!==(i=r.indexOf(n))&&(r.splice(i,1),0===r.length&&delete this.callbacks[t]),this):this},n.emit=function(t){this.callbacks=this.callbacks||{};var n,i,r,e=[].slice.call(arguments,1),o=this.callbacks[t],s=this.getWildcardCallbacks(t);if(o)for(n=0,i=(r=o.slice()).length;n<i&&r[n];++n)r[n].apply(this,e);if(s)for(i=s.length,n=0,i=(r=s.slice()).length;n<i&&r[n];++n)r[n].apply(this,[t].concat(e));return this},n.getWildcardCallbacks=function(t){this.callbacks=this.callbacks||{};var n,i,r=[];for(n in this.callbacks)i=n.split("*"),("*"===n||2===i.length&&t.slice(0,i[0].length)===i[0])&&(r=r.concat(this.callbacks[n]));return r}},t.mixin(t),n}();"undefined"!=typeof window&&(t=window.AudioContext||window.webkitAudioContext);var s=null;return r=function(n,i){var r=new o;if(!t)return r;var e,f,u,h=(i=i||{}).smoothing||.1,a=i.interval||50,c=i.threshold,v=i.play,d=i.history||10,p=!0;s=i.audioContext||s||new t,(u=s.createAnalyser()).fftSize=512,u.smoothingTimeConstant=h,f=new Float32Array(u.frequencyBinCount),n.jquery&&(n=n[0]),n instanceof HTMLAudioElement||n instanceof HTMLVideoElement?(e=s.createMediaElementSource(n),void 0===v&&(v=!0),c=c||-50):(e=s.createMediaStreamSource(n),c=c||-50),e.connect(u),v&&u.connect(s.destination),r.speaking=!1,r.suspend=function(){return s.suspend()},r.resume=function(){return s.resume()},Object.defineProperty(r,"state",{get:function(){return s.state}}),s.onstatechange=function(){r.emit("state_change",s.state)},r.setThreshold=function(t){c=t},r.setInterval=function(t){a=t},r.stop=function(){p=!1,r.emit("volume_change",-100,c),r.speaking&&(r.speaking=!1,r.emit("stopped_speaking")),u.disconnect(),e.disconnect()},r.speakingHistory=[];for(var l=0;l<d;l++)r.speakingHistory.push(0);var w=function(){setTimeout((function(){if(p){var t=function(t,n){var i=-1/0;t.getFloatFrequencyData(n);for(var r=4,e=n.length;r<e;r++)n[r]>i&&n[r]<0&&(i=n[r]);return i}(u,f);r.emit("volume_change",t,c);var n=0;if(t>c&&!r.speaking){for(var i=r.speakingHistory.length-3;i<r.speakingHistory.length;i++)n+=r.speakingHistory[i];n>=2&&(r.speaking=!0,r.emit("speaking"))}else if(t<c&&r.speaking){for(i=0;i<r.speakingHistory.length;i++)n+=r.speakingHistory[i];0==n&&(r.speaking=!1,r.emit("stopped_speaking"))}r.speakingHistory.shift(),r.speakingHistory.push(0+(t>c)),w()}}),a)};return w(),r}}());export{o as h}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as r,H as a,h as o,d as e}from"./p-BBHQOrFK.js";const i=t=>{try{return JSON.parse(t)}catch(r){return t}},s=r(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.variant="primary",this.size="lg"}render(){return o(e,{key:"fdbe6fd9647bae7cfdf02ba6a250aa3c0c39ad85"},o("div",{key:"114baca2f9ce9376e69073b40170473cc359915f",class:"icon-wrapper",innerHTML:i(this.icon),part:"wrapper"}))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;height:var(--rtk-space-10, 40px);outline:2px solid transparent;outline-offset:2px}:host .icon-wrapper{display:flex;height:100%;width:100%;flex-direction:column;align-items:center}:host svg{height:100%;width:100%;outline:2px solid transparent;outline-offset:2px}:host([size='xl']){box-sizing:border-box;display:block;height:var(--rtk-space-16, 64px) !important;width:var(--rtk-space-16, 64px) !important;--rtk-spinner-color:currentColor}:host([size='md']){box-sizing:border-box;display:block;height:var(--rtk-space-6, 24px) !important;width:var(--rtk-space-6, 24px) !important;--rtk-spinner-color:currentColor}:host([size='sm']){box-sizing:border-box;display:block;height:var(--rtk-space-4, 16px) !important;width:var(--rtk-space-4, 16px) !important;--rtk-spinner-color:currentColor}:host([variant='secondary']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-text-opacity))}:host([variant='danger']) .icon-wrapper{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}"}},[1,"rtk-icon",{icon:[1],variant:[513],size:[513]}]);function n(){"undefined"!=typeof customElements&&["rtk-icon"].forEach((r=>{"rtk-icon"===r&&(customElements.get(t(r))||customElements.define(t(r),s))}))}n();export{s as R,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as i,H as s,h as e}from"./p-BBHQOrFK.js";import{d as h}from"./p-DLocSBO3.js";const a=i(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.items=[],this.itemHeight=55,this.bufferedItemsCount=5,this.emptyListElement=null,this.visibleStart=0,this.visibleEnd=0,this.containerHeight=0,this.lastScrollTop=0,this.recalculatePositioning=()=>{this.updateContainerHeight(),requestAnimationFrame((()=>{this.updateItemHeight()}))},this.updateContainerHeight=()=>{this.el.querySelector(".virtual-list-container").clientHeight&&(requestAnimationFrame((()=>{this.updateItemHeight()})),this.containerHeight=this.el.querySelector(".virtual-list-container").clientHeight,this.updateVisibleRange())},this.onScroll=h((()=>{const t=this.el.querySelector(".virtual-list-container").scrollTop;t>this.lastScrollTop&&this.visibleEnd===this.items.length||(this.lastScrollTop=t,this.updateVisibleRange())}))}itemsChanged(){this.recalculatePositioning()}componentDidLoad(){this.recalculatePositioning(),this.el.querySelector(".virtual-list-container").addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.recalculatePositioning)}componentDidUpdate(){this.updateItemHeight()}disconnectedCallback(){this.el.querySelector(".virtual-list-container").removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.recalculatePositioning)}updateVisibleRange(){const t=this.el.querySelector(".virtual-list-container").scrollTop,i=Math.floor(t/this.itemHeight),s=Math.ceil(this.containerHeight/this.itemHeight),e=Math.min(this.items.length,i+s+this.bufferedItemsCount);this.visibleStart=i,this.visibleEnd=e,this.el.querySelector(".virtual-list-container").scrollTop=this.lastScrollTop}updateItemHeight(){const t=this.el.querySelector(".virtual-list-item");if(t){const i=t.style.height;t.style.height="auto";const s=t.getBoundingClientRect().height;i&&(t.style.height=i),s&&Math.floor(s)!==Math.floor(this.itemHeight)&&(this.itemHeight=s)}}renderItems(){return this.items.slice(this.visibleStart,this.visibleEnd).map(((t,i)=>{const s=this.visibleStart+i;return e("div",{class:"virtual-list-item",key:t.id,style:{position:"absolute",top:s*this.itemHeight+"px",height:`${this.itemHeight}px`,width:"100%"}},this.renderItem(t,s))}))}render(){var t;return e("div",{key:"279498eedaa6605456a2fffc004bd0204179ffde",class:"virtual-list-container",style:{position:"relative",height:"100%",overflowX:"hidden",overflowY:"auto"}},e("div",{key:"debb114c51c7c229b72cfcd7e87aa845ab6647e1",style:{height:this.items.length*this.itemHeight+"px",position:"relative"}},(null===(t=this.items)||void 0===t?void 0:t.length)?this.renderItems():this.emptyListElement),e("div",{key:"7a97a5dd632fe6d4227674e46e091a1466c725bf",style:{height:`${this.itemHeight}px`}}))}get el(){return this}static get watchers(){return{items:[{itemsChanged:0}]}}static get style(){return":host{height:100%;width:100%}"}},[0,"rtk-virtualized-participant-list",{items:[16],renderItem:[16],itemHeight:[1026,"item-height"],bufferedItemsCount:[2,"buffered-items-count"],emptyListElement:[16],visibleStart:[32],visibleEnd:[32]},void 0,{items:[{itemsChanged:0}]}]);function r(){"undefined"!=typeof customElements&&["rtk-virtualized-participant-list"].forEach((i=>{"rtk-virtualized-participant-list"===i&&(customElements.get(t(i))||customElements.define(t(i),a))}))}r();export{a as R,r as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e({stats:e}){if(!e||!e.length)return null;let o="Good";const r=e.map((e=>e.verdict));return r.includes("Poor")?o="Poor":r.includes("Average")&&(o="Average"),o}function o({packetLossPercentage:e}){let o="Good";return e>4?o="Poor":e>=1&&e<=4&&(o="Average"),o}function r({jitterInMS:e}){let o="Good";return e>100?o="Poor":e>=50&&e<=100&&(o="Average"),o}function t({bitrate:e}){let o="Good";return 0===Math.round(e/1024)&&(o="Poor"),o}function n({stats:e}){if(!e||!e.length)return null;let o="Good";const r=e.map((e=>e.verdict));return r.includes("Poor")?o="Poor":r.includes("Average")&&(o="Average"),o}function a({batteryLevelPercentage:e}){let o="Good";return e<20?o="Poor":e<50&&(o="Average"),o}function u({charging:e,dischargingTimeInSeconds:o,batteryLevelPercentage:r}){return r<20?"Poor":e?"Good":o<1800?"Poor":"Average"}export{o as a,r as b,e as c,a as d,u as e,n as f,t as g}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,c as a,h as r,d as s,t as i}from"./p-BBHQOrFK.js";import{e as o,i as c}from"./p-De8YQHVd.js";import{S as n}from"./p-CphAED3J.js";import{d as l}from"./p-D6vw6bT2.js";var d=function(e,t,a,r){var s,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,a,r);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(o=(i<3?s(o):i>3?s(t,a,o):s(t,a))||o);return i>3&&o&&Object.defineProperty(t,a,o),o};const f=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.iconPack=o,this.t=c(),this.allowUnmute=!0,this.onClose=()=>{this.stateUpdate.emit({activeMuteAllConfirmation:!1})},this.onMuteAll=()=>{var e;null===(e=this.meeting)||void 0===e||e.participants.disableAllAudio(this.allowUnmute),this.onClose()}}render(){return r(s,{key:"e47a9e4e3c89bc1badc85cb76edf522eb8514c58"},r("div",{key:"bafee985eb5f1e01d87e509018917473d3723190",class:"leave-modal"},r("div",{key:"f21285fa0b0239c9f64a9390599528dfe50a355b",class:"header"},r("h2",{key:"5201c1d79f1d64e513ef8036b16fd03e27280baf",class:"title"},this.t("mute_all.header"))),r("p",{key:"5c5af2814146578f3b3c3ae434f45da414b97f15",class:"message"},this.t("mute_all.description")),r("div",{key:"cde4bbb5ee289ad5b65a9fb13d0fb5bc5f309a0b",class:"content"},r("div",{key:"1f034975b9099d8474c3442da08fc79660b74a70",class:"leave-meeting"},r("rtk-button",{key:"16614bc8443e1e249d0eda46d66227eedf036856",variant:"secondary",title:this.t("close"),onClick:this.onClose},this.t("cancel")),r("rtk-button",{key:"6f67cf660adcc1d849f5cd090003a5c7ad26947d",variant:"danger",title:this.t("mute_all"),onClick:this.onMuteAll},this.t("mute_all"))))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none}.leave-modal{position:relative;display:flex;flex-direction:column;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));padding:var(--rtk-space-4, 16px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-3, 12px)}.leave-modal .content{font-size:14px}.leave-message p{margin-top:var(--rtk-space-3, 12px);margin-bottom:var(--rtk-space-3, 12px)}.leave-meeting{display:flex;flex-direction:row;justify-content:space-between;gap:var(--rtk-space-2, 8px)}.leave-meeting rtk-button{flex:1 1 0%}.end-meeting{margin-top:var(--rtk-space-2, 8px)}.message{margin-bottom:var(--rtk-space-4, 16px)}label{display:flex;align-items:center}input[type='checkbox']{margin-right:var(--rtk-space-2, 8px);accent-color:rgb(var(--rtk-colors-brand-500, 33 96 253))}"}},[1,"rtk-mute-all-confirmation",{meeting:[16],states:[16],iconPack:[16],t:[16],allowUnmute:[32]}]);function m(){"undefined"!=typeof customElements&&["rtk-mute-all-confirmation","rtk-button"].forEach((e=>{switch(e){case"rtk-mute-all-confirmation":customElements.get(i(e))||customElements.define(i(e),f);break;case"rtk-button":customElements.get(i(e))||l()}}))}d([n()],f.prototype,"meeting",void 0),d([n()],f.prototype,"states",void 0),d([n()],f.prototype,"iconPack",void 0),d([n()],f.prototype,"t",void 0),m();export{f as R,m as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as t}from"./p-Dguuxuf6.js";const e=t=>{let e=null;try{const n=JSON.parse(t.message),{target:s,message:o}=n;e=void 0===s||void 0===o?t:Object.assign(Object.assign({},t),{targetUserIds:s,message:o})}catch(n){e=t}return e};function n(t){return t.sort(((t,e)=>t.localeCompare(e))).join("_")}function s(t,e){if(null==t)return!0;for(const n of t)if("file"===n.kind){const t=n.getAsFile();n.type.startsWith("image/")?e("image",t):e("file",t)}}function o({messages:t,participants:s,selfUserId:o}){const r={};for(const t of s)r[n([t.userId,o])]=[];return t.forEach((t=>{var s;const o=e(t);let c="everyone";if((null===(s=o.targetUserIds)||void 0===s?void 0:s.length)>0){const t=new Set([o.userId,...o.targetUserIds]);c=n(Array.from(t))}r[c]||(r[c]=[]),r[c].push({type:"chat",message:o})})),r}function r({messages:e,selfUserId:n,selectedGroupId:s,participants:r}){var c;const a=o({messages:e,selfUserId:n,participants:r}),i={};for(const e in a){const o=null!==(c=t[e])&&void 0!==c?c:0;e===s?(i[e]=0,t[e]=new Date):i[e]=a[e].filter((t=>"chat"==t.type&&t.message.time>o&&t.message.userId!==n)).length}return i}function c({groupId:t,selfUserId:e}){return t.split("_").find((t=>t!=e))}function a(t){return t.split("").reverse().join("")}const i=/^\*([^*\s]+)\*/,u=/^_([^_\s]+)_/,f=/^~([^~\s]+)~/,l=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.,~#?&//=]*)/,p=/<blockquote>[.\s\S]*<\/blockquote>\n\n/m;function d(t,e=!1){if(!p.test(t))return"";let n=0,s=13;return e&&(n=12,s=0),t.substring(t.indexOf("<blockquote>")+n,t.indexOf("</blockquote>")+s)}function g(t){return t.replace(p,"")}const b=2e3,m=["<a>","<b>","<i>","<q>","<s>"];function _(t){t=(t=t.split(" ").map((t=>{if(l.test(t)){const e=l.exec(t);t=t.replace(e[0],`<a>${e[0]}</a>`)}else{if(i.test(t)){const e=i.exec(t);t=t.replace(e[0],`<b>${e[1]}</b>`)}if(u.test(t)){const e=u.exec(t);t=t.replace(e[0],`<i>${e[1]}</i>`)}if(f.test(t)){const e=f.exec(t);t=t.replace(e[0],`<s>${e[1]}</s>`)}}return t})).join(" ")).split(" ").map(((t,e)=>">"!==t||0!==e&&">"!==t[e-1]?t:"<q></q>")).join(" ");const[e]=v(t);return e}function v(t,e=""){const n=[];if(0===t.length)return[n,0];let s=0;for(;s<t.length;){if(e.length&&e===t.substring(s,s+e.length))return[n,s+e.length];if(m.includes(t.substring(s,s+3))){const[e,o]=v(t.substring(s+3),`</${t[s+1]}>`);n.push({type:t[s+1],content:1===e.length&&"plain_text"===e[0].type?e[0].content:e}),s+=o+3}else{let e=n[n.length-1];e&&"plain_text"===e.type||(n.push({type:"plain_text",content:""}),e=n[n.length-1]),e.content+=t[s],s++}}return[n,s]}export{b as M,o as a,r as b,c,p as d,d as e,e as f,n as g,s as h,_ as p,a as r,g as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as i,c as r,h as a,d as e,t as o}from"./p-BBHQOrFK.js";import{c as s,e as n,i as p}from"./p-De8YQHVd.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{R as d}from"./p-CBJjerDR.js";import{S as c}from"./p-CphAED3J.js";import{d as h}from"./p-BYIBbfJ8.js";var l=function(t,i,r,a){var e,o=arguments.length,s=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,a);else for(var n=t.length-1;n>=0;n--)(e=t[n])&&(s=(o<3?e(s):o>3?e(i,r,s):e(i,r))||s);return o>3&&s&&Object.defineProperty(i,r,s),s};const m=t(class extends i{onVideoRef(t){this.participant&&this.meeting&&t!==this.videoEl&&(this.videoEl=t,this.participant.registerVideoElement(this.videoEl,this.isPreview),this.tileLoad.emit({participant:this.participant,videoElement:this.videoEl}))}connectedCallback(){this.meeting?this.meetingChanged(this.meeting):this.participantsChanged(this.participant)}constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tileLoad=r(this,"tileLoad",7),this.tileUnload=r(this,"tileUnload",7),this.isPinned=!1,this.mediaConnectionError=!1,this.nameTagPosition="bottom-left",this.isPreview=!1,this.config=s(),this.variant="solid",this.iconPack=n,this.t=p(),this.onPinned=({isPinned:t})=>{this.isPinned=t},this.isSelf=()=>{var t;return this.isPreview||this.participant.id===(null===(t=this.meeting)||void 0===t?void 0:t.self.id)},this.onPlaying=()=>{this.playTimeout&&clearTimeout(this.playTimeout)},this.mediaConnectionUpdateListener=this.mediaConnectionUpdateListener.bind(this)}disconnectedCallback(){this.playTimeout&&clearTimeout(this.playTimeout),null!=this.participant&&(this.participant.deregisterVideoElement(this.videoEl,this.isPreview),this.participant.removeListener("pinned",this.onPinned),this.participant.removeListener("unpinned",this.onPinned),this.meeting.meta.off("mediaConnectionUpdate",this.mediaConnectionUpdateListener),this.tileUnload.emit(this.participant))}meetingChanged(t){t&&this.participantsChanged(this.participant)}participantsChanged(t){t&&(this.meeting?(this.isPinned=t.isPinned,this.videoEl&&this.participant.registerVideoElement(this.videoEl,this.isPreview),t.addListener("pinned",this.onPinned),t.addListener("unpinned",this.onPinned),this.meeting.meta.off("mediaConnectionUpdate",this.mediaConnectionUpdateListener),this.meeting.meta.on("mediaConnectionUpdate",this.mediaConnectionUpdateListener)):this.isPreview&&this.videoEl&&this.participant.registerVideoElement(this.videoEl,this.isPreview))}mediaConnectionUpdateListener(){var t,i,r;const{recv:a,send:e}=null!==(r=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===i?void 0:i.mediaState)&&void 0!==r?r:{};this.mediaConnectionError="connected"!==(null==a?void 0:a.state)&&!this.isSelf()||!("connected"===(null==e?void 0:e.state)||!this.isSelf())}isMirrored(){var t;if(null!=this.participant&&this.isSelf()){const i=this.states,r=null===(t=null==i?void 0:i.prefs)||void 0===t?void 0:t.mirrorVideo;if("boolean"==typeof r)return r}return!1}render(){var t,i,r;if(!this.meeting)return null;const o={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return a(e,null,a("video",{ref:t=>this.onVideoRef(t),class:{mirror:this.isMirrored(),[null!==(r=null===(i=null===(t=this.config)||void 0===t?void 0:t.config)||void 0===i?void 0:i.videoFit)&&void 0!==r?r:"cover"]:!0},onPlaying:this.onPlaying,autoPlay:!0,playsInline:!0,muted:!0,part:"video"}),this.isPinned&&a("rtk-icon",{class:"pinned-icon",icon:this.iconPack.pin,"aria-label":this.t("pinned"),part:"pinned-icon"}),this.mediaConnectionError&&a("div",{class:"network-container",part:"network-indicator"},a("rtk-icon",{class:"network-icon",icon:this.iconPack.disconnected,"aria-label":this.t("pinned"),part:"pinned-icon"})),a("slot",null,!this.isPreview&&a(d,{element:"rtk-participant-tile",defaults:o,childProps:{participant:this.participant},deepProps:!0,onlyChildren:!0})))}static get watchers(){return{meeting:[{meetingChanged:0}],participant:[{participantsChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;height:var(--rtk-space-56, 224px);overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));transition-property:var(--rtk-transition-property, all);transition-duration:150ms;container-type:inline-size;container-name:participanttile}@media (prefers-reduced-motion){:host{--rtk-transition-property:none}}rtk-avatar{z-index:-1}::slotted(rtk-name-tag),rtk-name-tag{position:absolute;left:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{left:var(--rtk-space-2, 8px);bottom:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px)}::slotted(rtk-network-indicator),rtk-network-indicator{position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px)}:host([size='sm']) ::slotted(rtk-network-indicator),:host([size='sm']) rtk-network-indicator{right:var(--rtk-space-2, 8px);bottom:var(--rtk-space-2, 8px)}video{position:absolute;height:100%;width:100%;border-radius:var(--rtk-border-radius-lg, 12px)}video.contain{-o-object-fit:contain;object-fit:contain}video.cover{-o-object-fit:cover;object-fit:cover}video::-webkit-media-controls{display:none !important}.pinned-icon{position:absolute;left:var(--rtk-space-3, 12px);top:var(--rtk-space-3, 12px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);padding:var(--rtk-space-1, 4px);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))}.network-container{position:absolute;right:var(--rtk-space-3, 12px);bottom:var(--rtk-space-3, 12px);display:flex;flex-direction:row;align-items:center;padding:var(--rtk-space-2, 8px);font-size: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))}.network-icon{height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}:host([size='sm']) .pinned-icon{top:var(--rtk-space-2, 8px);left:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-audio-visualizer),:host([variant='gradient']) rtk-audio-visualizer{position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag),:host([variant='gradient']) rtk-name-tag{bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}video.mirror{transform:scaleX(-1)}:host([name-tag-position='bottom-right']) ::slotted(rtk-name-tag),:host([name-tag-position='bottom-right']) rtk-name-tag{left:auto;right:var(--rtk-space-3, 12px)}:host([name-tag-position='bottom-center']) ::slotted(rtk-name-tag),:host([name-tag-position='bottom-center']) rtk-name-tag{left:auto;right:auto}:host([name-tag-position='top-left']) ::slotted(rtk-name-tag),:host([name-tag-position='top-left']) rtk-name-tag{top:var(--rtk-space-3, 12px);bottom:auto}:host([name-tag-position='top-right']) ::slotted(rtk-name-tag),:host([name-tag-position='top-right']) rtk-name-tag{top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);left:auto;bottom:auto}:host([name-tag-position='top-center']) ::slotted(rtk-name-tag),:host([name-tag-position='top-center']) rtk-name-tag{left:auto;right:auto;bottom:auto;top:var(--rtk-space-3, 12px)}@media only screen and (max-height: 480px) and (orientation: landscape){:host([size='sm']){border-radius:var(--rtk-border-radius-sm, 4px)}:host([size='sm'])>video{border-radius:var(--rtk-border-radius-sm, 4px)}::slotted(rtk-avatar),rtk-avatar{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px)}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{transform-origin:-2% 100%;transform:scale(0.6);z-index:10;left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0)}}@media only screen and (max-width: 480px) and (orientation: portrait){:host([size='sm']){border-radius:var(--rtk-border-radius-sm, 4px)}:host([size='sm'])>video{border-radius:var(--rtk-border-radius-sm, 4px)}::slotted(rtk-avatar),rtk-avatar{height:var(--rtk-space-12, 48px);width:var(--rtk-space-12, 48px)}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag),:host([size='sm'][variant='solid']) rtk-name-tag{transform-origin:-5% 110%;transform:scale(0.6);z-index:10;left:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);border-radius:var(--rtk-border-radius-none, 0)}}@container participanttile (max-width: 300px){::slotted(rtk-name-tag),rtk-name-tag{transform-origin:0 100%;transform:scale(0.8)}::slotted(rtk-avatar),rtk-avatar{height:var(--rtk-space-8, 32px) !important;width:var(--rtk-space-8, 32px) !important}}@container participanttile (max-width: 150px){::slotted(rtk-name-tag),rtk-name-tag[variant='solid']{transform-origin:-10% 130%;transform:scale(0.6);z-index:10;border-radius:9999px}::slotted(rtk-avatar),rtk-avatar{height:6 !important;width:6 !important}}"}},[257,"rtk-participant-tile",{nameTagPosition:[513,"name-tag-position"],isPreview:[4,"is-preview"],participant:[16],meeting:[16],states:[16],config:[16],variant:[513],size:[513],iconPack:[16],t:[16],isPinned:[32],mediaConnectionError:[32]},void 0,{meeting:[{meetingChanged:0}],participant:[{participantsChanged:0}]}]);function v(){"undefined"!=typeof customElements&&["rtk-participant-tile","rtk-icon"].forEach((t=>{switch(t){case"rtk-participant-tile":customElements.get(o(t))||customElements.define(o(t),m);break;case"rtk-icon":customElements.get(o(t))||h()}}))}l([c()],m.prototype,"meeting",void 0),l([c()],m.prototype,"states",void 0),l([c()],m.prototype,"config",void 0),l([c()],m.prototype,"iconPack",void 0),l([c()],m.prototype,"t",void 0),v();export{m as R,v as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,h as r,d as s,t as i}from"./p-BBHQOrFK.js";import{e as n}from"./p-De8YQHVd.js";import{S as a}from"./p-CphAED3J.js";import{d as o}from"./p-BYIBbfJ8.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=n,this.size="md"}render(){return r(s,{key:"5e435f3b94bf3a2b9d242d78407390996a76be15"},r("rtk-icon",{key:"9e9e4200e0dc295bfe9048e57beb6cd809bf53a2",class:"spinner",icon:this.iconPack.spinner}))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:block;height:var(--rtk-space-10, 40px);width:var(--rtk-space-10, 40px);--rtk-spinner-color:currentColor}.spinner{height:100%;width:100%}@keyframes spin{to{transform:rotate(360deg)}}.spinner{animation:spin 1s linear infinite;border-radius:9999px;background-color:transparent;animation-duration:1.3s}:host([size='md']){height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']){height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}"}},[1,"rtk-spinner",{iconPack:[16],size:[513]}]);function p(){"undefined"!=typeof customElements&&["rtk-spinner","rtk-icon"].forEach((t=>{switch(t){case"rtk-spinner":customElements.get(i(t))||customElements.define(i(t),c);break;case"rtk-icon":customElements.get(i(t))||o()}}))}(function(t,e,r,s){var i,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,s);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(a=(n<3?i(a):n>3?i(e,r,a):i(e,r))||a);n>3&&a&&Object.defineProperty(e,r,a)})([a()],c.prototype,"iconPack",void 0),p();export{c as R,p as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as s,c as i,h as e,d as o,t as r}from"./p-BBHQOrFK.js";import{e as a,i as n}from"./p-De8YQHVd.js";import{b as c,s as p}from"./p-Dguuxuf6.js";import{S as l}from"./p-CphAED3J.js";import{d}from"./p-Cd-WpR0J.js";import{d as m}from"./p-D6vw6bT2.js";import{d as u}from"./p-BYIBbfJ8.js";import{d as k}from"./p-CpOL3OJd.js";import{d as f}from"./p-DP4RUNa1.js";import{d as h}from"./p-CABfszIM.js";var g=function(t,s,i,e){var o,r=arguments.length,a=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(r<3?o(a):r>3?o(s,i,a):o(s,i))||a);return r>3&&a&&Object.defineProperty(s,i,a),a};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=i(this,"rtkStateUpdate",7),this.iconPack=a,this.t=n()}render(){var t,s;if(!this.meeting)return null;const i={meeting:this.meeting,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},r=this.states,a=!0===(null===(t=null==r?void 0:r.prefs)||void 0===t?void 0:t.muteNotificationSounds)||"true"===c("mute-notification-sounds");return e(o,null,e("rtk-microphone-selector",Object.assign({},i),e("rtk-audio-visualizer",{participant:null===(s=this.meeting)||void 0===s?void 0:s.self,iconPack:this.iconPack,t:this.t,slot:"indicator"})),e("rtk-speaker-selector",Object.assign({},i)),e("div",{class:"group",part:"notification-toggle"},e("div",{class:"row"},e("label",{htmlFor:"notification-toggle"},this.t("settings.notification_sound")),e("rtk-switch",{id:"notification-toggle",checked:!a,onRtkChange:t=>{const{checked:s}=t.target,i=!s;this.stateUpdate.emit({prefs:{muteNotificationSounds:i}}),p("mute-notification-sounds",i)},iconPack:this.iconPack,t:this.t}))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}: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%}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--rtk-space-3, 12px)}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)}"}},[1,"rtk-settings-audio",{meeting:[16],states:[16],size:[513],iconPack:[16],t:[16]}]);function b(){"undefined"!=typeof customElements&&["rtk-settings-audio","rtk-audio-visualizer","rtk-button","rtk-icon","rtk-microphone-selector","rtk-speaker-selector","rtk-switch"].forEach((t=>{switch(t){case"rtk-settings-audio":customElements.get(r(t))||customElements.define(r(t),v);break;case"rtk-audio-visualizer":customElements.get(r(t))||d();break;case"rtk-button":customElements.get(r(t))||m();break;case"rtk-icon":customElements.get(r(t))||u();break;case"rtk-microphone-selector":customElements.get(r(t))||k();break;case"rtk-speaker-selector":customElements.get(r(t))||f();break;case"rtk-switch":customElements.get(r(t))||h()}}))}g([l()],v.prototype,"meeting",void 0),g([l()],v.prototype,"states",void 0),g([l()],v.prototype,"iconPack",void 0),g([l()],v.prototype,"t",void 0),b();export{v as R,b as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as r}from"./p-
|
|
1
|
+
import{h as r}from"./p-BBHQOrFK.js";import{M as e,e as n,s,p as t}from"./p-Bj1kNPpe.js";const l=e=>e.map((e=>{switch(e.type){case"a":if("string"==typeof e.content)return r("a",{class:"link",href:n=e.content,target:"_blank",rel:"noopener noreferrer"},n);case"b":return(e=>r("b",null,"string"==typeof e?e:l(e)))(e.content);case"i":return(e=>r("i",null,"string"==typeof e?e:l(e)))(e.content);case"s":return(e=>"string"==typeof e?r("s",null,e):r("b",null,l(e)))(e.content);case"q":return r("span",{class:"block-quote"});default:return(e=>"string"==typeof e?e:r("p",null,l(e)))(e.content)}var n})),o=({message:o})=>{const u=o.slice(0,e),a=n(u,!0),p=s(u);return r("p",null,0!==a.length&&r("blockquote",null,a.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))}))),p.split("\n").map((e=>{const n=t(e);return r("p",null,l(n))})))};export{o as T}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as r,c as a,h as e,d as s,t as o}from"./p-BBHQOrFK.js";import{c as i,e as c,i as n}from"./p-De8YQHVd.js";import{R as d}from"./p-CBJjerDR.js";import{S as l}from"./p-CphAED3J.js";import{d as p}from"./p-D6vw6bT2.js";import{d as b}from"./p-BYIBbfJ8.js";var g=function(t,r,a,e){var s,o=arguments.length,i=o<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,a,e);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(i=(o<3?s(i):o>3?s(r,a,i):s(r,a))||i);return o>3&&i&&Object.defineProperty(r,a,i),i};const h=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.joinStage=a(this,"rtkJoinStage",7),this.leaveStage=a(this,"rtkLeaveStage",7),this.config=i(),this.iconPack=c,this.t=n(),this.dataConfig={title:this.t("stage.join_title"),label:{accept:this.t("stage.join_confirm"),reject:this.t("stage.join_cancel")},description:this.t("stage.join_summary")},this.isLoading=!1}render(){var t,r;const a={meeting:this.meeting,size:this.size,states:this.states,config:this.config,iconPack:this.iconPack,t:this.t};return e(s,{key:"2000c74c7b15b8ad8cc8d7b2940ee1c47c504111",class:{stage:!0}},e("header",{key:"1be2b7c17338f42472bd47c761e8a972d960eb45"},e("h2",{key:"8a2d2e49eb154fc58f121f26c067519473007aa1"},this.dataConfig.title)),e(d,{key:"17476c475c67d3eedfce7e66a2dc1829211e6f7b",element:"rtk-participant-setup",defaults:a,props:{participant:null===(t=this.meeting)||void 0===t?void 0:t.self,size:"md"},childProps:{participant:null===(r=this.meeting)||void 0===r?void 0:r.self,size:"md"},deepProps:!0}),e("div",{key:"708a514d2f5c903c5e01161a374455134f9c5fde",class:"summary"},this.dataConfig.description),e("div",{key:"690c062b55469b6d2757628cf9c841db05cb50dd",class:"container"},e("rtk-button",{key:"3c840601730f7c31da94f58fcc7a36fa7f2e98ac",variant:"secondary",onClick:()=>this.leaveStage.emit(),title:this.dataConfig.label.reject},this.dataConfig.label.reject),e("rtk-button",{key:"d4838af3f9b36c6d91ce04d9862840ee838111de",onClick:()=>{this.isLoading||(this.isLoading=!0,this.joinStage.emit())},title:this.dataConfig.label.accept},this.isLoading?e("rtk-icon",{icon:this.iconPack.spinner}):this.dataConfig.label.accept)))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host::-webkit-scrollbar{width:var(--rtk-space-1\\.5, 6px);border-radius:var(--rtk-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity))}:host::-webkit-scrollbar-thumb{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))}:host(.stage){box-sizing:border-box;display:block;width:512px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));padding:var(--rtk-space-6, 24px);-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);line-height:1.25}:host(.stage) rtk-participant-setup{display:flex;flex:1 1 0%;align-items:center;justify-content:space-around;margin-left:auto;margin-right:auto}:host(.stage) .container rtk-button{flex-grow:1;padding:var(--rtk-space-1, 4px);width:50%}:host(.stage) .container rtk-button:nth-child(1){margin-right:var(--rtk-space-1\\.5, 6px)}:host(.stage) .container rtk-button:nth-child(2){margin-left:var(--rtk-space-1\\.5, 6px)}:host(.stage) h2{font-size:24px;font-weight:500;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}:host(.stage) header{padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host(.stage) .summary{padding:var(--rtk-space-4, 16px)}.deny-access{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}.container{width:100%;max-width:1080px;display:flex;flex:1 1 0%;align-items:center;justify-content:space-around}header{display:flex;align-items:center;justify-content:space-between}"}},[1,"rtk-join-stage",{meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16],dataConfig:[16],isLoading:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-join-stage","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-join-stage":customElements.get(o(t))||customElements.define(o(t),h);break;case"rtk-button":customElements.get(o(t))||p();break;case"rtk-icon":customElements.get(o(t))||b()}}))}g([l()],h.prototype,"meeting",void 0),g([l()],h.prototype,"config",void 0),g([l()],h.prototype,"states",void 0),g([l()],h.prototype,"iconPack",void 0),g([l()],h.prototype,"t",void 0),k();export{h as R,k as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as r,c as e,h as a,d as o,t as i}from"./p-BBHQOrFK.js";import{S as c}from"./p-CphAED3J.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as s,i as p}from"./p-De8YQHVd.js";import"./p-Dguuxuf6.js";import{d as n}from"./p-D6vw6bT2.js";import{d}from"./p-BYIBbfJ8.js";import{d as l}from"./p-DHSRRtn3.js";var h=function(t,r,e,a){var o,i=arguments.length,c=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,r,e,a);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(c=(i<3?o(c):i>3?o(r,e,c):o(r,e))||c);return i>3&&c&&Object.defineProperty(r,e,c),c};const v=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onDeleteAttachment=e(this,"deleteAttachment",7),this.iconPack=s,this.t=p(),this.attachment=null,this.filePreview=null,this.fileReader=new FileReader,this.generatePreview=()=>{"image"===this.attachment.type?this.fileReader.readAsDataURL(this.attachment.file):"file"===this.attachment.type&&(this.filePreview=this.attachment.file.name)},this.onDeleteClickHandler=()=>{this.filePreview=null,this.onDeleteAttachment.emit()}}onAttachmentChange(){this.generatePreview()}connectedCallback(){this.fileReader.onload=t=>{"string"==typeof t.target.result&&(this.filePreview=t.target.result)}}componentWillLoad(){this.onAttachmentChange()}render(){return a(o,{key:"4bdc44453552e63a40d31d851a752009d4df74d1"},a("div",{key:"c3024512c383063e7b7be4c3006c726ce9641670",class:"preview-overlay"},a("div",{key:"a14d0cd7148029828baea3fc9261c7b8f70f5bfc",class:"preview"},a("rtk-tooltip",{key:"600f07d41fcf00b156120268fdbdff165ae9c040",label:this.t("chat.cancel_upload")},a("rtk-button",{key:"99059cb78c5451758fe859bb002a05ab3827f718",variant:"secondary",kind:"icon",onClick:this.onDeleteClickHandler},a("rtk-icon",{key:"422f06eb7d08f0708e9c46dc64eb329708a9307a",icon:this.iconPack.dismiss}))),"image"===this.attachment.type?a("img",{class:"preview-image",src:this.filePreview}):a("div",{class:"preview-file"},a("span",null,this.filePreview)))))}static get watchers(){return{attachment:[{onAttachmentChange:0}]}}static get style(){return":host{display:flex;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));border-top-left-radius:var(--rtk-border-radius-md, 8px);border-top-right-radius:var(--rtk-border-radius-md, 8px)}.preview-overlay{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);background-color:inherit}.preview{position:absolute;top:var(--rtk-space-4, 16px);left:var(--rtk-space-4, 16px);max-width:-moz-fit-content;max-width:fit-content;max-height:var(--rtk-space-20, 80px)}.preview:hover rtk-tooltip{display:block}.preview rtk-tooltip{position:absolute;top:calc(var(--rtk-space-1, 4px) * -1);left:calc(var(--rtk-space-1, 4px) * -1);display:none;margin-left:calc(var(--rtk-space-1, 4px) * -1);margin-top:calc(var(--rtk-space-1, 4px) * -1)}.preview rtk-button{display:flex;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));border:1px solid rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview rtk-icon{height:var(--rtk-space-3, 12px);width:var(--rtk-space-3, 12px);color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.preview-image{height:var(--rtk-space-16, 64px);width:var(--rtk-space-16, 64px);-o-object-fit:cover;object-fit:cover;max-height:100%;max-width:100%;overflow:clip;border-radius:var(--rtk-border-radius-md, 8px)}.preview-file{padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-2, 8px);padding-bottom:var(--rtk-space-2, 8px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:var(--rtk-border-radius-md, 8px);max-width:200px}"}},[1,"rtk-draft-attachment-view",{iconPack:[16],t:[16],attachment:[16],filePreview:[32]},void 0,{attachment:[{onAttachmentChange:0}]}]);function k(){"undefined"!=typeof customElements&&["rtk-draft-attachment-view","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-draft-attachment-view":customElements.get(i(t))||customElements.define(i(t),v);break;case"rtk-button":customElements.get(i(t))||n();break;case"rtk-icon":customElements.get(i(t))||d();break;case"rtk-tooltip":customElements.get(i(t))||l()}}))}h([c()],v.prototype,"iconPack",void 0),h([c()],v.prototype,"t",void 0),k();export{v as R,k as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>!!l(e)&&"LIVESTREAM"===e.meta.viewType&&"ON_STAGE"!==e.stage.status,a=e=>{var a;return!!l(e)&&"LIVESTREAM"===e.meta.viewType&&(null===(a=null==e?void 0:e.self)||void 0===a?void 0:a.permissions.canLivestream)},l=e=>!!(null==e?void 0:e.livestream);var r,t;function n({meeting:e,hlsLevels:a}){let l=e.self.config.livestreamViewerQualities||[];if(!l.length)return{autoLevelChangeAllowed:!0,levels:a};const r=a.filter((e=>l.includes(e.height)));return r.length?{autoLevelChangeAllowed:!1,levels:r}:{autoLevelChangeAllowed:!0,levels:a}}!function(e){e.BUFFERING="Buffering",e.ENDED="Ended",e.IDLE="Idle",e.PAUSED="Paused",e.PLAYING="Playing",e.READY="Ready"}(r||(r={})),function(e){e.INITIALIZED="PlayerInitialized",e.QUALITY_CHANGED="PlayerQualityChanged",e.DURATION_CHANGED="PlayerDurationChanged",e.VOLUME_CHANGED="PlayerVolumeChanged",e.MUTED_CHANGED="PlayerMutedChanged",e.PLAYBACK_RATE_CHANGED="PlayerPlaybackRateChanged",e.REBUFFERING="PlayerRebuffering",e.AUDIO_BLOCKED="PlayerAudioBlocked",e.PLAYBACK_BLOCKED="PlayerPlaybackBlocked",e.ERROR="PlayerError",e.RECOVERABLE_ERROR="PlayerRecoverableError",e.ANALYTICS_EVENT="PlayerAnalyticsEvent",e.TIME_UPDATE="PlayerTimeUpdate",e.BUFFER_UPDATE="PlayerBufferUpdate",e.SEEK_COMPLETED="PlayerSeekCompleted",e.SESSION_DATA="PlayerSessionData",e.STATE_CHANGED="PlayerStateChanged",e.WORKER_ERROR="PlayerWorkerError",e.METADATA="PlayerMetadata",e.TEXT_CUE="PlayerTextCue",e.TEXT_METADATA_CUE="PlayerTextMetadataCue",e.AD_CUE="PlayerAdCue",e.STREAM_SOURCE_CUE="PlayerStreamSourceCue",e.NETWORK_UNAVAILABLE="PlayerNetworkUnavailable",e.SEGMENT_DISCONTINUITY="PlayerSegmentDiscontinuity",e.SEGMENT_METADATA="PlayerSegmentMetadata",e.PLAYER_METADATA="PlayerMetadata"}(t||(t={}));export{r as P,e as a,n as g,a as i,l as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,h as o,t as s}from"./p-BBHQOrFK.js";import{S as i}from"./p-CphAED3J.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as r,i as c}from"./p-De8YQHVd.js";import"./p-Dguuxuf6.js";import{d as a}from"./p-D6vw6bT2.js";import{d as n}from"./p-BYIBbfJ8.js";import{d as m}from"./p-DHSRRtn3.js";var p=function(t,e,o,s){var i,r=arguments.length,c=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,o,s);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(c=(r<3?i(c):r>3?i(e,o,c):i(e,o))||c);return r>3&&c&&Object.defineProperty(e,o,c),c};const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.iconPack=r,this.t=c()}render(){return o("rtk-tooltip",{key:"aef7b8c5bfdd8888a7fcca9ba9ba2df7ca801da4",label:this.t("chat.send_emoji")},o("rtk-button",{key:"e7b23bcd81515fe0cae3916b4de7565547472171",variant:"ghost",kind:"icon",class:{active:this.isActive},title:this.t("chat.send_emoji")},o("rtk-icon",{key:"af7e05bb06b9fe01b47e8f11f09a957e37187f63",icon:this.iconPack.emoji_multiple})))}static get style(){return":host{}"}},[1,"rtk-emoji-picker-button",{iconPack:[16],t:[16],isActive:[4,"is-active"]}]);function b(){"undefined"!=typeof customElements&&["rtk-emoji-picker-button","rtk-button","rtk-icon","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-emoji-picker-button":customElements.get(s(t))||customElements.define(s(t),f);break;case"rtk-button":customElements.get(s(t))||a();break;case"rtk-icon":customElements.get(s(t))||n();break;case"rtk-tooltip":customElements.get(s(t))||m()}}))}p([i()],f.prototype,"iconPack",void 0),p([i()],f.prototype,"t",void 0),b();export{f as R,b as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as o,c as i,h as e,d as s,t as r}from"./p-BBHQOrFK.js";import{c as a,e as n,i as c}from"./p-De8YQHVd.js";import{S as l}from"./p-CphAED3J.js";import{d}from"./p-D6vw6bT2.js";import{d as h}from"./p-BYIBbfJ8.js";var p=function(t,o,i,e){var s,r=arguments.length,a=r<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,o,i,e);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(o,i,a):s(o,i))||a);return r>3&&a&&Object.defineProperty(o,i,a),a};const k=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onClose=i(this,"rtkDialogClose",7),this.hideCloseButton=!1,this.disableEscapeKey=!1,this.config=a(),this.iconPack=n,this.t=c(),this.open=!0,this.close=()=>{this.open=!1,this.onClose.emit()},this.keydownListener=t=>{!this.disableEscapeKey&&"Escape"===t.key&&this.open&&this.close()}}connectedCallback(){document.addEventListener("keydown",this.keydownListener)}disconnectedCallback(){document.removeEventListener("keydown",this.keydownListener)}componentDidRender(){this.open&&!this.dialogEl.open&&this.dialogEl.showModal()}render(){return this.open?e(s,null,e("dialog",{ref:t=>this.dialogEl=t,id:"dialog",part:"container",onClose:this.close,onClick:t=>{this.disableEscapeKey||t.target!==this.dialogEl||this.close()},onKeyDown:t=>{this.disableEscapeKey&&"Escape"===t.key&&t.preventDefault()}},e("slot",null),!this.hideCloseButton&&e("rtk-button",{part:"close-button",id:"dismiss-btn",kind:"icon",variant:"ghost",onClick:()=>this.close(),type:"button","aria-label":this.t("dialog.close"),role:"button"},e("rtk-icon",{icon:this.iconPack.dismiss})))):null}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{word-wrap:break-word;overflow-wrap:break-word}#dialog{position:relative;max-height:100%;max-width:100%;padding:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}#dialog::backdrop{background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / 0.5);backdrop-filter:blur(12px) saturate(180%)}#dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);z-index:50}::slotted(*){max-width:100%;height:auto;min-height:-moz-fit-content;min-height:fit-content}"}},[257,"rtk-dialog",{hideCloseButton:[4,"hide-close-button"],disableEscapeKey:[4,"disable-escape-key"],meeting:[16],config:[16],states:[16],size:[513],iconPack:[16],t:[16],open:[1540]}]);function m(){"undefined"!=typeof customElements&&["rtk-dialog","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-dialog":customElements.get(r(t))||customElements.define(r(t),k);break;case"rtk-button":customElements.get(r(t))||d();break;case"rtk-icon":customElements.get(r(t))||h()}}))}p([l()],k.prototype,"meeting",void 0),p([l()],k.prototype,"config",void 0),p([l()],k.prototype,"states",void 0),p([l()],k.prototype,"iconPack",void 0),p([l()],k.prototype,"t",void 0),m();export{k as R,m as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as s,h as i,d as n,t as r}from"./p-BBHQOrFK.js";import{e as o,i as a}from"./p-De8YQHVd.js";import{i as c,r as l,e as h,a as f}from"./p-GSFejkz7.js";import{S as u}from"./p-CphAED3J.js";import{d as m}from"./p-B4TnXODX.js";import{d as p}from"./p-BYIBbfJ8.js";import{d}from"./p-BoGbJ5PX.js";var k=function(t,e,s,i){var n,r=arguments.length,o=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(o=(r<3?n(o):r>3?n(e,s,o):n(e,s))||o);return r>3&&o&&Object.defineProperty(e,s,o),o};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=s(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=o,this.t=a(),this.fullScreenActive=!1,this.isFullScreenSupported=!0,this.onFullScreenchange=()=>{this.fullScreenActive=c()},this.toggleFullScreen=()=>{let t=this.targetElement||document.querySelector("rtk-meeting");t&&(this.fullScreenActive?(h(),this.fullScreenActive=!1):(l(t),this.fullScreenActive=!0),this.stateUpdate.emit({activeMoreMenu:!1}))}}connectedCallback(){this.isFullScreenSupported=f(),this.onFullScreenchange(),window.addEventListener("webkitfullscreenchange",this.onFullScreenchange),window.addEventListener("fullscreenchange",this.onFullScreenchange)}disconnectedCallback(){window.removeEventListener("webkitfullscreenchange",this.onFullScreenchange),window.removeEventListener("fullscreenchange",this.onFullScreenchange)}render(){return this.isFullScreenSupported?i(n,{title:this.t("full_screen")},i("rtk-controlbar-button",{size:this.size,iconPack:this.iconPack,onClick:this.toggleFullScreen,icon:this.fullScreenActive?this.iconPack.full_screen_minimize:this.iconPack.full_screen_maximize,label:this.t(this.fullScreenActive?"full_screen.exit":"full_screen"),variant:this.variant})):i(n,{"data-hidden":!0})}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}:host([data-hidden]){display:none}"}},[1,"rtk-fullscreen-toggle",{states:[16],targetElement:[16],variant:[513],size:[513],iconPack:[16],t:[16],fullScreenActive:[32],isFullScreenSupported:[32]}]);function g(){"undefined"!=typeof customElements&&["rtk-fullscreen-toggle","rtk-controlbar-button","rtk-icon","rtk-spinner"].forEach((t=>{switch(t){case"rtk-fullscreen-toggle":customElements.get(r(t))||customElements.define(r(t),b);break;case"rtk-controlbar-button":customElements.get(r(t))||m();break;case"rtk-icon":customElements.get(r(t))||p();break;case"rtk-spinner":customElements.get(r(t))||d()}}))}k([u()],b.prototype,"states",void 0),k([u()],b.prototype,"iconPack",void 0),k([u()],b.prototype,"t",void 0),g();export{b as R,g as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as e,c as s,h as r,d as i,t as a}from"./p-BBHQOrFK.js";import{e as c,i as o}from"./p-De8YQHVd.js";import{S as n}from"./p-CphAED3J.js";var h=function(t,e,s,r){var i,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,s,r);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(c=(a<3?i(c):a>3?i(e,s,c):i(e,s))||c);return a>3&&c&&Object.defineProperty(e,s,c),c};const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.onChange=s(this,"rtkChange",4),this.checked=!1,this.readonly=!1,this.disabled=!1,this.iconPack=c,this.t=o(),this.onClick=()=>{this.readonly||this.disabled||(this.checked=!this.checked)},this.onKeyPress=t=>{if(!this.readonly)switch(t.key){case"Enter":case" ":this.checked=!this.checked}}}connectedCallback(){this.checkedChange(this.checked)}checkedChange(t){this.checked=t,this.onChange.emit(t)}render(){return r(i,{key:"af0bcf0202cda77f3ec27510b867ed149c478bdf",role:"switch",tabIndex:this.disabled&&0,"aria-readonly":this.readonly,"aria-checked":this.checked,"aria-disabled":this.disabled,class:{checked:this.checked},onClick:this.onClick,onKeyPress:this.onKeyPress},r("div",{key:"e6f5eeb8acf33e9f058b029423eddc099033053c",class:"switch",part:"switch"}))}static get watchers(){return{checked:[{checkedChange:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{box-sizing:border-box;display:inline-flex;height:var(--rtk-space-6, 24px);width:var(--rtk-space-10, 40px);align-items:center;padding:var(--rtk-space-1, 4px);border-radius:9999px;background-color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));cursor:pointer}.switch{box-sizing:border-box;height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px);background-color:rgb(var(--rtk-colors-text-on-brand-1000, var(--rtk-colors-text-1000, 255 255 255)));border-radius:9999px;transition-property:var(--rtk-transition-property, all);transition-duration:200ms}:host(.checked){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity))}:host(.checked) .switch{transform:translateX(100%)}:host([readonly]),:host([disabled]){cursor:not-allowed;opacity:0.6}"}},[1,"rtk-switch",{checked:[1028],readonly:[4],disabled:[516],iconPack:[16],t:[16]},void 0,{checked:[{checkedChange:0}]}]);function l(){"undefined"!=typeof customElements&&["rtk-switch"].forEach((t=>{"rtk-switch"===t&&(customElements.get(a(t))||customElements.define(a(t),d))}))}h([n()],d.prototype,"iconPack",void 0),h([n()],d.prototype,"t",void 0),l();export{d as R,l as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as i,h as a,t as s}from"./p-BBHQOrFK.js";import"./p-DxDYE5-a.js";import{c as r,e,i as n}from"./p-De8YQHVd.js";import"./p-C0vp-Q7v.js";import"./p-Dguuxuf6.js";import{S as c}from"./p-CphAED3J.js";import{d as p}from"./p-DEOaS443.js";import{d as o}from"./p-D6vw6bT2.js";import{d as l}from"./p-BYIBbfJ8.js";import{d as h}from"./p-BoGbJ5PX.js";import{d}from"./p-DHSRRtn3.js";var m=function(t,i,a,s){var r,e=arguments.length,n=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(e<3?r(n):e>3?r(i,a,n):r(i,a))||n);return e>3&&n&&Object.defineProperty(i,a,n),n};const g=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.config=r(),this.iconPack=e,this.view="sidebar",this.t=n(),this.acceptWaitingRoomRequest=async t=>{await this.meeting.participants.acceptWaitingRoomRequest(t)},this.waitlistedParticipants=[],this.acceptAllWaitingRoomRequests=async()=>{await this.meeting.participants.acceptAllWaitingRoomRequest(this.waitlistedParticipants.map((t=>t.id)))},this.rejectWaitingRoomRequest=async t=>{await this.meeting.participants.rejectWaitingRoomRequest(t)},this.shouldShowWaitlist=()=>"LIVESTREAM"!==this.meeting.meta.viewType&&this.meeting.self.permissions.acceptWaitingRequests&&0!==this.waitlistedParticipants.length}disconnectedCallback(){const{participants:t}=this.meeting;this.waitlistedParticipantJoinedListener&&t.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&t.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),this.waitlistedParticipantsClearedListener&&t.waitlisted.removeListener("participantsCleared",this.waitlistedParticipantsClearedListener)}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&(this.waitlistedParticipants=t.participants.waitlisted.toArray(),this.waitlistedParticipantJoinedListener=t=>{this.waitlistedParticipants.some((i=>i.id===t.id))||(this.waitlistedParticipants=[...this.waitlistedParticipants,t])},this.waitlistedParticipantLeftListener=t=>{this.waitlistedParticipants=this.waitlistedParticipants.filter((i=>i.id!==t.id))},this.waitlistedParticipantsClearedListener=()=>{this.waitlistedParticipants=[]},t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener),t.participants.waitlisted.addListener("participantsCleared",this.waitlistedParticipantsClearedListener))}render(){if("sidebar"===this.view&&this.shouldShowWaitlist())return a("div",{class:"waiting-participants"},a("div",{class:"heading-count",part:"waitlisted-heading-count"},this.t("waitlist.header_title")," (",this.waitlistedParticipants.length,")"),a("ul",{class:"participants",part:"waitlisted-participants"},this.waitlistedParticipants.map((t=>a("li",{class:"waiting-participant",key:t.id},a("div",{class:"participant-details"},a("rtk-avatar",{participant:t,size:"sm",iconPack:this.iconPack,t:this.t}),a("p",{class:"name",title:t.name},t.name)),a("div",{class:"waitlist-controls"},a("rtk-tooltip",{label:this.t("waitlist.deny_request"),variant:"secondary"},a("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.rejectWaitingRoomRequest(t.id)},a("rtk-icon",{class:"deny",icon:this.iconPack.dismiss}))),a("rtk-tooltip",{label:this.t("waitlist.accept_request"),variant:"secondary"},a("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.acceptWaitingRoomRequest(t.id)},a("rtk-icon",{class:"accept",icon:this.iconPack.checkmark})))))))),a("rtk-button",{class:"accept-all-button",variant:"secondary",kind:"wide",onClick:this.acceptAllWaitingRoomRequests},this.t("waitlist.accept_all")))}static get watchers(){return{meeting:[{meetingChanged:0}]}}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{margin-top:var(--rtk-space-4, 16px);margin-bottom:calc(var(--rtk-space-2, 8px) * -1);display:flex;width:100%;flex-direction:column;font-size:14px}.waiting-participants{margin-bottom:var(--rtk-space-8, 32px)}.waiting-participants .accept-all-button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.waiting-participant{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.waiting-participant .participant-details{margin-right:auto;display:flex;align-items:center}.waiting-participant .participant-details rtk-avatar{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;font-size:14px}.waiting-participant .participant-details .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 1080px){.waiting-participant .participant-details .name{max-width:var(--rtk-space-40, 160px)}}.waiting-participant .waitlist-controls{display:flex}.waiting-participant .waitlist-controls rtk-button{margin-left:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}.waiting-participant .waitlist-controls rtk-icon.accept{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.waiting-participant .waitlist-controls rtk-icon.deny{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}"}},[1,"rtk-participants-waiting-list",{meeting:[16],config:[16],size:[513],iconPack:[16],view:[1],t:[16],waitlistedParticipants:[32]},void 0,{meeting:[{meetingChanged:0}]}]);function k(){"undefined"!=typeof customElements&&["rtk-participants-waiting-list","rtk-avatar","rtk-button","rtk-icon","rtk-spinner","rtk-tooltip"].forEach((t=>{switch(t){case"rtk-participants-waiting-list":customElements.get(s(t))||customElements.define(s(t),g);break;case"rtk-avatar":customElements.get(s(t))||p();break;case"rtk-button":customElements.get(s(t))||o();break;case"rtk-icon":customElements.get(s(t))||l();break;case"rtk-spinner":customElements.get(s(t))||h();break;case"rtk-tooltip":customElements.get(s(t))||d()}}))}m([c()],g.prototype,"meeting",void 0),m([c()],g.prototype,"config",void 0),m([c()],g.prototype,"iconPack",void 0),m([c()],g.prototype,"t",void 0),k();export{g as R,k as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,d as t}from"./p-BBHQOrFK.js";const r=({element:e,size:t,states:r={},config:s={}})=>{let o=[];const n=null==s?void 0:s.root[e],l=e=>{o.push(e),"string"==typeof t&&o.push(`${e}.${t}`)};if(l(e),"object"==typeof n&&!Array.isArray(n)&&null!==n){const{state:t,states:s}=n;let o=e,c=[];if(Array.isArray(s)){c=s.filter((e=>r[e])),c.sort();for(const e of c)l(`${o}.${e}`);c.length>1&&l([o,...c].join("."))}if("string"==typeof t){const s=`${e}[${t}=${r[t]}]`;l(s);for(const e of c)l(`${s}.${e}`);c.length>1&&l([s,...c].join("."))}}return o},s=({selectors:e,root:t})=>{if(!t||!Array.isArray(e))return[];let r=[];for(const s of e){const e=t[s];if(Array.isArray(e))r=[...e];else if(e){if(e.children&&(r=[...e.children]),Array.isArray(e.remove))for(const t of e.remove)r=r.filter((e=>"string"==typeof e?e!==t:!Array.isArray(e)||e[0]!==t));if(e.addBefore)for(const[t,s]of Object.entries(e.addBefore)){const e=r.findIndex((e=>"string"==typeof e?e===t:!!Array.isArray(e)&&e[0]===t));e>=0&&r.splice(e,0,...s)}Array.isArray(e.add)&&(r=r.concat(e.add)),Array.isArray(e.prepend)&&(r=e.prepend.concat(r))}}return r},o=({elements:t,defaults:r,props:s={},deepProps:o=!1,elementProps:n={}})=>Array.isArray(t)&&0!==t.length?t.map((t=>e(l,{element:t,defaults:r,props:s,childProps:o&&s,elementProps:n}))):null,n=({element:e,defaults:t,props:o={},elementProps:n={}})=>{var l;const{config:c,size:p,states:f}=t;let i,a={},u=[];Array.isArray(e)?[i,a,...u]=e:i=e;const d=null===(l=null==c?void 0:c.root)||void 0===l?void 0:l[i];null!=d&&"props"in d&&(o=Object.assign(Object.assign({},d.props),o)),o=Object.assign(Object.assign({},o),a),i in n&&(o=Object.assign(Object.assign({},o),n[i]));const y=r({element:i,size:p,states:f,config:c});return s({selectors:y,root:c.root}).length},l=({element:n,defaults:l,childProps:c={},props:p={},onlyChildren:f=!1,asHost:i=!1,deepProps:a=!1,elementProps:u={}},d)=>{var y;const{config:b,size:j,states:m}=l;let O,A={},P=[];Array.isArray(n)?[O,A,...P]=n:O=n;const g=null===(y=null==b?void 0:b.root)||void 0===y?void 0:y[O];null!=g&&"props"in g&&(p=Object.assign(Object.assign({},g.props),p)),p=Object.assign(Object.assign({},p),A),O in u&&(p=Object.assign(Object.assign({},p),u[O]));const v=r({element:O,size:j,states:m,config:b}),$=s({selectors:v,root:b.root});if(f)return e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u});const z=(({selectors:e,styles:t})=>{if(!Array.isArray(e)||null==t)return{};const r={};for(const s of e){const e=t[s];null!=e&&Object.assign(r,e)}return r})({selectors:v,styles:b.styles});if(i)return e(t,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),d,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));if(["rtk-header","rtk-controlbar"].includes(O)&&(p.disableRender=!0),O.startsWith("rtk-"))return e(O,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),d,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));{const[t,r]=O.split("#");return e(t,Object.assign({id:r,style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),d,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})))}};export{l as R,n as l}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,c as a,h as s,d as i,t as o}from"./p-BBHQOrFK.js";import{C as r}from"./p-aS2wpIc0.js";import{a as c}from"./p-CJsXePY3.js";import{e as n,i as d}from"./p-De8YQHVd.js";import{d as f}from"./p-DDaHXyCC.js";import{S as b}from"./p-CphAED3J.js";import{d as m}from"./p-D6vw6bT2.js";import{d as l}from"./p-BYIBbfJ8.js";import{d as h}from"./p-BoGbJ5PX.js";var k=function(e,t,a,s){var i,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,a,s);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(o<3?i(r):o>3?i(t,a,r):i(t,a))||r);return o>3&&r&&Object.defineProperty(t,a,r),r};const p=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.stateUpdate=a(this,"rtkStateUpdate",7),this.now=new Date,this.isContinued=!1,this.iconPack=n,this.t=d(),this.showBubble=!1,this.status="loading"}render(){return s(i,{key:"8ac3f237a8d77254219f8b5763dd6b53d2cb764b"},!this.isContinued&&s(r,{key:"6eb17e16b4fd4e12d3b8a7ce8a5bcfd548930a50",name:this.message.displayName,time:this.message.time,now:this.now}),s("div",{key:"d5cce1675057a0378425452898fcbc4c738b7bb2",class:{body:!0,bubble:this.showBubble},part:"body"},s("div",{key:"45f073d8268c92aee4fec8b139fd325e668dab76",class:{image:!0,loaded:"loaded"===this.status}},s("img",{key:"28a206e34b791205e042233ee7f317f389f421da",src:c(this.message.link),onLoad:()=>{this.status="loaded"},onError:()=>{this.status="errored"},onClick:()=>{"loaded"===this.status&&this.stateUpdate.emit({image:this.message})}}),"loading"===this.status&&s("div",{key:"b7862bff3f6c9df7042bdab2f6b0370e7c362f02",class:"image-spinner",title:this.t("chat.img.loading"),"aria-label":this.t("chat.img.loading")},s("rtk-spinner",{key:"460074eae700cd3f522019f967ba5955b9eb972e",iconPack:this.iconPack})),"errored"===this.status&&s("div",{key:"bdf48c8fdc5057d2c77d10b64d7af5576f478556",class:"image-errored",title:this.t("chat.error.img_not_found"),"aria-label":this.t("chat.error.img_not_found")},s("rtk-icon",{key:"523e5ff6dd4579082e5953346155df9b7b23862f",icon:this.iconPack.image_off})),"loaded"===this.status&&s("div",{key:"89e3679101615838ec6a0f521b98386454d25197",class:"actions"},s("rtk-button",{key:"ccaed0a3d70945d66e7b700e01bbc5289421f8ae",class:"action",variant:"secondary",kind:"icon",onClick:()=>{this.stateUpdate.emit({image:this.message})}},s("rtk-icon",{key:"ee20f5497dbb38590de65c4a404eda90b0d5c4e5",icon:this.iconPack.full_screen_maximize})),s("rtk-button",{key:"181d39cfd837e45d3da1aa0fa0f97226c50cb46a",class:"action",variant:"secondary",kind:"icon",onClick:()=>f(this.message.link,{fallbackName:"image"})},s("rtk-icon",{key:"53c7e551ec4a2efb32d60d16eb2a4a02144abf4f",icon:this.iconPack.download}))))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}"}},[0,"rtk-image-message",{message:[16],now:[16],isContinued:[516,"is-continued"],iconPack:[16],t:[16],showBubble:[4,"show-bubble"],status:[32]}]);function u(){"undefined"!=typeof customElements&&["rtk-image-message","rtk-button","rtk-icon","rtk-spinner"].forEach((e=>{switch(e){case"rtk-image-message":customElements.get(o(e))||customElements.define(o(e),p);break;case"rtk-button":customElements.get(o(e))||m();break;case"rtk-icon":customElements.get(o(e))||l();break;case"rtk-spinner":customElements.get(o(e))||h()}}))}k([b()],p.prototype,"iconPack",void 0),k([b()],p.prototype,"t",void 0),u();export{p as R,u as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a=(a,s=20)=>null==a?"":a.length>s?`${a.substring(0,s)}...`:a,s=a=>/^\p{Emoji}+$/u.test(a)&&!/^\d+$/.test(a),u=a=>(null==a?void 0:a.trim().toLowerCase().startsWith("javascript:"))?"https://realtime.cloudflare.com":a,n=a=>""===(a=null==a?void 0:a.trim())?"Participant":a,t=new RegExp(/[^\u00BF-\u1FFF\u2C00-\uD7FF\w\s]/,"g"),e=new RegExp(/\s+/);function l(a,s=2){return a.replace(t,"").trim().split(e).slice(0,s).map((a=>a.charAt(0))).join("").toUpperCase()}export{u as a,n as f,l as g,s as h,a as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as r,p as t,H as a,h as e,d as o}from"./p-BBHQOrFK.js";import{d as s}from"./p-DEOaS443.js";import{d as c}from"./p-D6vw6bT2.js";import{d as i}from"./p-J1kxEVHe.js";import{d as n}from"./p-BYIBbfJ8.js";import{d as l}from"./p-ak2clYhw.js";import{d}from"./p-PXVZ-Szx.js";import{d as p}from"./p-BoGbJ5PX.js";const k=t(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.onPinnedToggle=async r=>{var t,a,e;(null===(t=r.detail)||void 0===t?void 0:t.open)&&await(null===(e=null===(a=this.$chatSelector)||void 0===a?void 0:a.close)||void 0===e?void 0:e.call(a))},this.onChatToggle=async r=>{var t,a,e;(null===(t=r.detail)||void 0===t?void 0:t.open)&&await(null===(e=null===(a=this.$pinnedSelector)||void 0===a?void 0:a.close)||void 0===e?void 0:e.call(a))}}render(){return e(o,{key:"3cec93546dc5c7eec01df7b1b1a3847a6f004f0d"},e("rtk-pinned-message-selector",{key:"f099b29e1fb773bfb2931bec2358dd15819778ce",ref:r=>this.$pinnedSelector=r,onRtkDropdownToggle:this.onPinnedToggle}),e("rtk-chat-selector",{key:"0d33e69cf161381dc7598de279147ec9035ef8d7",ref:r=>this.$chatSelector=r,onRtkDropdownToggle:this.onChatToggle}))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;width:100%;flex-direction:column;gap:var(--rtk-space-2, 8px);font-size:14px;z-index:10;margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;color:rgb(var(--rtk-colors-text-1000, 255 255 255))}.chat-header{position:relative;margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);gap:var(--rtk-space-2, 8px);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);display:flex;flex-direction:row;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-600, 255 255 255 / 0.52));border-radius:var(--rtk-border-radius-sm, 4px);overflow:hidden;border:var(--rtk-border-width-sm, 1px) solid rgb(var(--rtk-colors-background-600, 60 60 60));cursor:pointer}.chat-header-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rtk-space-2, 8px)}"}},[1,"rtk-chat-header"]);function b(){"undefined"!=typeof customElements&&["rtk-chat-header","rtk-avatar","rtk-button","rtk-chat-selector","rtk-icon","rtk-paginated-list","rtk-pinned-message-selector","rtk-spinner"].forEach((t=>{switch(t){case"rtk-chat-header":customElements.get(r(t))||customElements.define(r(t),k);break;case"rtk-avatar":customElements.get(r(t))||s();break;case"rtk-button":customElements.get(r(t))||c();break;case"rtk-chat-selector":customElements.get(r(t))||i();break;case"rtk-icon":customElements.get(r(t))||n();break;case"rtk-paginated-list":customElements.get(r(t))||l();break;case"rtk-pinned-message-selector":customElements.get(r(t))||d();break;case"rtk-spinner":customElements.get(r(t))||p()}}))}b();export{k as R,b as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as r,c as e,h as a,d as o,t as s}from"./p-BBHQOrFK.js";import{e as i,i as c}from"./p-De8YQHVd.js";import{S as n}from"./p-CphAED3J.js";import{d}from"./p-D6vw6bT2.js";import{d as p}from"./p-BYIBbfJ8.js";var l=function(t,r,e,a){var o,s=arguments.length,i=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,e):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,a);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(i=(s<3?o(i):s>3?o(r,e,i):o(r,e))||i);return s>3&&i&&Object.defineProperty(r,e,i),i};const b=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.stateUpdate=e(this,"rtkStateUpdate",7),this.iconPack=i,this.t=c(),this.messagePayload={to:"Everyone",message:""},this.successMessage=!1}close(){var t;null===(t=this.stateUpdate)||void 0===t||t.emit({activeBroadcastMessageModal:!1})}sendMessage(){this.successMessage=!0,setTimeout((()=>{this.close()}),2e3)}render(){return a(o,{key:"0ddf3933cc56bd2d95a2d112965c22070a52c1ca"},a("div",{key:"4a1428283dee02f1d09b0650b0facceebd612772",class:"content-col"},a("h2",{key:"610e4ada5ae3543b629526324e4608e9950a20b0"},"Broadcast message to"),a("select",{key:"46b4a3573a196f00ad1d9d20d92f3e03b250162c",onChange:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{to:t.target.value})}},a("option",{key:"aaa981db25435bb257d02086463703d3d2a14ec2"},"Everyone"),a("option",{key:"4bae49f7600fe5b5156f030e2f2433b334856e00"},"List of rooms")),a("textarea",{key:"0d6da453ebb0b9711c79ba3c2c2c71a662955a9d",placeholder:"Type message here...",onInput:t=>{this.messagePayload=Object.assign(Object.assign({},this.messagePayload),{message:t.target.value})}}),this.successMessage?a("p",null,"Message sent to ",this.messagePayload.to,a("rtk-icon",{icon:this.iconPack.checkmark})):a("div",{class:"content-row"},a("rtk-button",{onClick:()=>this.close(),variant:"secondary"},"Cancel")," ",a("rtk-button",{variant:"primary",onClick:()=>this.sendMessage()},"Send"))))}static get style(){return":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);padding:var(--rtk-space-4, 16px);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));width:400px;max-width:80%}.content-col{display:flex;width:100%;flex-direction:column}h2{margin:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-2, 8px)}.content-row{display:flex;width:100%;flex-direction:row}.content-row rtk-button{margin-top:var(--rtk-space-4, 16px);width:100%}textarea{margin-top:var(--rtk-space-3, 12px);resize:none;border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;font-family:var(--rtk-font-family, sans-serif);outline:2px solid transparent;outline-offset:2px;height:var(--rtk-space-16, 64px);--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);color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}textarea::-moz-placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}textarea::placeholder{color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}select{border-radius:var(--rtk-border-radius-sm, 4px);border-width:var(--rtk-border-width-none, 0);border-style:none;padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);padding-left:var(--rtk-space-2, 8px);padding-right:var(--rtk-space-2, 8px);outline:2px solid transparent;outline-offset:2px;border-right-width:var(--rtk-border-width-md, 2px);border-style:solid;border-color:transparent;--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))}p{margin:var(--rtk-space-0, 0px);margin-top:var(--rtk-space-2, 8px);width:100%;text-align:center;font-size:14px;--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity));display:flex;flex-direction:row;align-items:center;justify-content:center}p rtk-icon{margin-left:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px)}"}},[1,"rtk-broadcast-message-modal",{meeting:[16],states:[16],iconPack:[16],t:[16],messagePayload:[32],successMessage:[32]}]);function k(){"undefined"!=typeof customElements&&["rtk-broadcast-message-modal","rtk-button","rtk-icon"].forEach((t=>{switch(t){case"rtk-broadcast-message-modal":customElements.get(s(t))||customElements.define(s(t),b);break;case"rtk-button":customElements.get(s(t))||d();break;case"rtk-icon":customElements.get(s(t))||p()}}))}l([n()],b.prototype,"meeting",void 0),l([n()],b.prototype,"states",void 0),l([n()],b.prototype,"iconPack",void 0),l([n()],b.prototype,"t",void 0),k();export{b as R,k as d}
|