@cloudflare/realtimekit-ui 2.0.1 → 2.0.2-staging.1
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/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 +120 -123
- 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 +28 -18
- 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 +27 -19
- 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 +18 -11
- 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/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-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/livestream-C0vp-Q7v.js +73 -0
- package/dist/esm/loader.js +3614 -2781
- 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 +116 -117
- 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 +28 -16
- 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-088325e7.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-12fdd525.entry.js +1 -0
- 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-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-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/p-wWDkfcFk.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/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-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/init-error-ff5ead9a.js +0 -26
- 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-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/{init-error-70ccf3b6.js → init-error-DIWXbjwA.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/{realtimekit-ui/p-cfa0b5c7.js → components/p-wWDkfcFk.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-cfa0b5c7.js → esm/init-error-wWDkfcFk.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
|
@@ -1,4033 +0,0 @@
|
|
|
1
|
-
import { S as StencilCore } from './index-55463a54.js';
|
|
2
|
-
|
|
3
|
-
let roomCount = 0;
|
|
4
|
-
function getNextRoomNumber() {
|
|
5
|
-
return ++roomCount;
|
|
6
|
-
}
|
|
7
|
-
function resetRoomCount() {
|
|
8
|
-
roomCount = 0;
|
|
9
|
-
}
|
|
10
|
-
const TEMP_ROOM_PREFIX = 'temp-';
|
|
11
|
-
function createDraftRoom() {
|
|
12
|
-
return {
|
|
13
|
-
id: `${TEMP_ROOM_PREFIX}${Math.random().toString(36)}`,
|
|
14
|
-
title: `Room ${getNextRoomNumber()}`,
|
|
15
|
-
participants: [],
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function isDraftRoom(roomId) {
|
|
19
|
-
return roomId.includes(TEMP_ROOM_PREFIX);
|
|
20
|
-
}
|
|
21
|
-
function splitCollection(collection, parts) {
|
|
22
|
-
const length = collection.length;
|
|
23
|
-
const size = Math.ceil(length / parts);
|
|
24
|
-
const result = new Array(parts);
|
|
25
|
-
let start = 0;
|
|
26
|
-
for (let i = 0; i < parts; i++) {
|
|
27
|
-
result[i] = collection.slice(start, start + size);
|
|
28
|
-
start += size;
|
|
29
|
-
}
|
|
30
|
-
return result.filter((res) => res.length);
|
|
31
|
-
}
|
|
32
|
-
function participantIdentifier(participant) {
|
|
33
|
-
return participant.customParticipantId;
|
|
34
|
-
}
|
|
35
|
-
function getAllConnectedParticipants(meeting) {
|
|
36
|
-
// TODO: remove this once we start getting display pics from socket
|
|
37
|
-
const map = new Map();
|
|
38
|
-
[meeting.self, ...meeting.participants.joined.toArray()].map((participant) => {
|
|
39
|
-
map.set(participantIdentifier(participant), participant.picture);
|
|
40
|
-
});
|
|
41
|
-
return [meeting.connectedMeetings.parentMeeting, ...meeting.connectedMeetings.meetings]
|
|
42
|
-
.flatMap((meeting) => meeting.participants)
|
|
43
|
-
.map((connectedPeer) => {
|
|
44
|
-
return {
|
|
45
|
-
id: connectedPeer.id,
|
|
46
|
-
customParticipantId: participantIdentifier(connectedPeer),
|
|
47
|
-
displayName: connectedPeer.displayName,
|
|
48
|
-
displayPictureUrl: connectedPeer.displayPictureUrl !== ''
|
|
49
|
-
? connectedPeer.displayPictureUrl
|
|
50
|
-
: map.get(participantIdentifier(connectedPeer)),
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
const canToggleBreakout = (meeting) => {
|
|
55
|
-
const permissions = meeting.self.permissions.connectedMeetings;
|
|
56
|
-
// for host - always show toggle
|
|
57
|
-
if (permissions.canAlterConnectedMeetings)
|
|
58
|
-
return true;
|
|
59
|
-
// for participants - show only when breakout is active
|
|
60
|
-
if (permissions.canSwitchConnectedMeetings || permissions.canSwitchToParentMeeting) {
|
|
61
|
-
return meeting.connectedMeetings.isActive;
|
|
62
|
-
}
|
|
63
|
-
return false;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
67
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
68
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
69
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
70
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
71
|
-
};
|
|
72
|
-
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
73
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
74
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
75
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
76
|
-
};
|
|
77
|
-
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
78
|
-
var t = {};
|
|
79
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
80
|
-
t[p] = s[p];
|
|
81
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
82
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
83
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
84
|
-
t[p[i]] = s[p[i]];
|
|
85
|
-
}
|
|
86
|
-
return t;
|
|
87
|
-
};
|
|
88
|
-
var _BreakoutRoomsManager_instances, _BreakoutRoomsManager_hasLocalChanges, _BreakoutRoomsManager_state, _BreakoutRoomsManager_participantsNewMeetingMap, _BreakoutRoomsManager_participantsOldMeetingMap, _BreakoutRoomsManager_meetingParticipantsMap, _BreakoutRoomsManager_allParticipantsMap, _BreakoutRoomsManager_allMeetingsMap, _BreakoutRoomsManager_meetingsToUpdate, _BreakoutRoomsManager_meetingsToDelete, _BreakoutRoomsManager_init, _BreakoutRoomsManager_addNewMeetingToState, _BreakoutRoomsManager_addNewParticipantToState, _BreakoutRoomsManager_replaceDraftMeetingIds, _BreakoutRoomsManager_getMeetingParticipants;
|
|
89
|
-
class BreakoutRoomsManager {
|
|
90
|
-
constructor() {
|
|
91
|
-
_BreakoutRoomsManager_instances.add(this);
|
|
92
|
-
_BreakoutRoomsManager_hasLocalChanges.set(this, false);
|
|
93
|
-
_BreakoutRoomsManager_state.set(this, void 0);
|
|
94
|
-
_BreakoutRoomsManager_participantsNewMeetingMap.set(this, void 0);
|
|
95
|
-
_BreakoutRoomsManager_participantsOldMeetingMap.set(this, void 0);
|
|
96
|
-
_BreakoutRoomsManager_meetingParticipantsMap.set(this, void 0);
|
|
97
|
-
_BreakoutRoomsManager_allParticipantsMap.set(this, void 0);
|
|
98
|
-
_BreakoutRoomsManager_allMeetingsMap.set(this, void 0);
|
|
99
|
-
_BreakoutRoomsManager_meetingsToUpdate.set(this, void 0);
|
|
100
|
-
_BreakoutRoomsManager_meetingsToDelete.set(this, void 0);
|
|
101
|
-
}
|
|
102
|
-
get hasLocalChanges() {
|
|
103
|
-
return __classPrivateFieldGet(this, _BreakoutRoomsManager_hasLocalChanges, "f");
|
|
104
|
-
}
|
|
105
|
-
get currentState() {
|
|
106
|
-
let parentMeeting;
|
|
107
|
-
let meetings = [];
|
|
108
|
-
Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").keys()).forEach((meetingId) => {
|
|
109
|
-
const meeting = __classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").get(meetingId);
|
|
110
|
-
if (meeting.isParent) {
|
|
111
|
-
parentMeeting = Object.assign(Object.assign({}, meeting), { participants: __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_getMeetingParticipants).call(this, meetingId) });
|
|
112
|
-
}
|
|
113
|
-
else {
|
|
114
|
-
meetings.push(Object.assign(Object.assign({}, meeting), { participants: __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_getMeetingParticipants).call(this, meetingId) }));
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
return {
|
|
118
|
-
parentMeeting,
|
|
119
|
-
meetings,
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
get allConnectedMeetings() {
|
|
123
|
-
return this.currentState.meetings.sort((a, b) => a.title.localeCompare(b.title));
|
|
124
|
-
}
|
|
125
|
-
get allParticipants() {
|
|
126
|
-
return Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").values());
|
|
127
|
-
}
|
|
128
|
-
get unassignedParticipants() {
|
|
129
|
-
return __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_getMeetingParticipants).call(this, __classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.id);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* get participants of a meeting
|
|
133
|
-
*/
|
|
134
|
-
getParticipantsForMeeting(meetingId) {
|
|
135
|
-
return __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_getMeetingParticipants).call(this, meetingId);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* add a new connected meeting
|
|
139
|
-
*/
|
|
140
|
-
addNewMeeting() {
|
|
141
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_hasLocalChanges, true, "f");
|
|
142
|
-
const _a = createDraftRoom(), meeting = __rest(_a, ["participants"]);
|
|
143
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_addNewMeetingToState).call(this, Object.assign(Object.assign({}, meeting), { isParent: false }));
|
|
144
|
-
return meeting;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* add multiple new connected meetings
|
|
148
|
-
*/
|
|
149
|
-
addNewMeetings(count) {
|
|
150
|
-
return Array.from({ length: count }).map(() => this.addNewMeeting());
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* update a meeting's title
|
|
154
|
-
*/
|
|
155
|
-
updateMeetingTitle(meetingId, newTitle) {
|
|
156
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").get(meetingId).title = newTitle;
|
|
157
|
-
if (!isDraftRoom(meetingId)) {
|
|
158
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingsToUpdate, "f").add(meetingId);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* deleteMeeting
|
|
163
|
-
*/
|
|
164
|
-
deleteMeeting(meetingId) {
|
|
165
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_hasLocalChanges, true, "f");
|
|
166
|
-
const meeting = __classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").get(meetingId);
|
|
167
|
-
const participants = __classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_getMeetingParticipants).call(this, meeting.id).map(participantIdentifier);
|
|
168
|
-
this.assignParticipantsToMeeting(participants, __classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.id);
|
|
169
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").delete(meeting.id);
|
|
170
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").delete(meeting.id);
|
|
171
|
-
if (!isDraftRoom(meeting.id)) {
|
|
172
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingsToDelete, "f").add(meeting.id);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* assign participants to a meeting
|
|
177
|
-
*/
|
|
178
|
-
assignParticipantsToMeeting(customParticipantIds, destinationMeetingId) {
|
|
179
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_hasLocalChanges, true, "f");
|
|
180
|
-
customParticipantIds.forEach((participantId) => {
|
|
181
|
-
const currentMeetingId = __classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").get(participantId);
|
|
182
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").get(currentMeetingId).delete(participantId);
|
|
183
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").get(destinationMeetingId).add(participantId);
|
|
184
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").set(participantId, destinationMeetingId);
|
|
185
|
-
});
|
|
186
|
-
return this.currentState;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* assign participants randomly
|
|
190
|
-
*/
|
|
191
|
-
assignParticipantsRandomly() {
|
|
192
|
-
const splits = splitCollection(this.unassignedParticipants, this.allConnectedMeetings.length);
|
|
193
|
-
this.allConnectedMeetings.forEach((meeting, index) => {
|
|
194
|
-
const toAssign = splits[index];
|
|
195
|
-
if (toAssign && toAssign.length !== 0) {
|
|
196
|
-
this.assignParticipantsToMeeting(toAssign.map((participant) => participant.customParticipantId), meeting.id);
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
return this.currentState;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* unassign participants
|
|
203
|
-
*/
|
|
204
|
-
unassignParticipants(customParticipantIds) {
|
|
205
|
-
const destinationMeetingId = __classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.id;
|
|
206
|
-
return this.assignParticipantsToMeeting(customParticipantIds, destinationMeetingId);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* unassign all participants
|
|
210
|
-
*/
|
|
211
|
-
unassignAllParticipants() {
|
|
212
|
-
const destinationMeetingId = __classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.id;
|
|
213
|
-
const customParticipantIds = this.allParticipants.map(participantIdentifier);
|
|
214
|
-
return this.assignParticipantsToMeeting(customParticipantIds, destinationMeetingId);
|
|
215
|
-
}
|
|
216
|
-
/**
|
|
217
|
-
* update current state
|
|
218
|
-
*/
|
|
219
|
-
updateCurrentState(state) {
|
|
220
|
-
if (!__classPrivateFieldGet(this, _BreakoutRoomsManager_hasLocalChanges, "f")) {
|
|
221
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_init).call(this, state);
|
|
222
|
-
}
|
|
223
|
-
[state.parentMeeting, ...state.meetings].forEach((meeting, index) => {
|
|
224
|
-
const draftMeeting = Object.assign(Object.assign({}, meeting), { isParent: index === 0 });
|
|
225
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_addNewMeetingToState).call(this, draftMeeting);
|
|
226
|
-
meeting.participants.forEach((participant) => {
|
|
227
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_addNewParticipantToState).call(this, participant, draftMeeting);
|
|
228
|
-
});
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
get meetingsToCreate() {
|
|
232
|
-
return this.allConnectedMeetings
|
|
233
|
-
.filter((meeting) => isDraftRoom(meeting.id))
|
|
234
|
-
.map(({ id, title }) => ({ id, title }));
|
|
235
|
-
}
|
|
236
|
-
get meetingsToUpdate() {
|
|
237
|
-
return this.allConnectedMeetings
|
|
238
|
-
.filter((meeting) => __classPrivateFieldGet(this, _BreakoutRoomsManager_meetingsToUpdate, "f").has(meeting.id))
|
|
239
|
-
.map(({ id, title }) => ({ id, title }));
|
|
240
|
-
}
|
|
241
|
-
get meetingsToDelete() {
|
|
242
|
-
return Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingsToDelete, "f"));
|
|
243
|
-
}
|
|
244
|
-
get participantsToMove() {
|
|
245
|
-
// gather participants
|
|
246
|
-
const moveMap = new Map();
|
|
247
|
-
Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").keys()).forEach((participantId) => {
|
|
248
|
-
const sourceMeetingId = __classPrivateFieldGet(this, _BreakoutRoomsManager_participantsOldMeetingMap, "f").get(participantId);
|
|
249
|
-
const destinationMeetingId = __classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").get(participantId);
|
|
250
|
-
if (sourceMeetingId === destinationMeetingId)
|
|
251
|
-
return;
|
|
252
|
-
const key = `${sourceMeetingId}__${destinationMeetingId}`;
|
|
253
|
-
if (!moveMap.has(key)) {
|
|
254
|
-
moveMap.set(key, []);
|
|
255
|
-
}
|
|
256
|
-
const participantDetails = __classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").get(participantId);
|
|
257
|
-
moveMap.get(key).push(participantDetails.id);
|
|
258
|
-
});
|
|
259
|
-
return Array.from(moveMap.keys()).map((key) => {
|
|
260
|
-
const [sourceMeetingId, destinationMeetingId] = key.split('__');
|
|
261
|
-
return {
|
|
262
|
-
sourceMeetingId,
|
|
263
|
-
destinationMeetingId,
|
|
264
|
-
participantIds: moveMap.get(key),
|
|
265
|
-
};
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
async applyChanges(meeting) {
|
|
269
|
-
// create new rooms
|
|
270
|
-
const createMeetingsPromise = this.meetingsToCreate.length !== 0
|
|
271
|
-
? meeting.connectedMeetings.createMeetings(this.meetingsToCreate)
|
|
272
|
-
: Promise.resolve([]);
|
|
273
|
-
// update old rooms titles
|
|
274
|
-
const updateMeetingsPromise = this.meetingsToUpdate.length !== 0
|
|
275
|
-
? meeting.connectedMeetings.updateMeetings(this.meetingsToUpdate)
|
|
276
|
-
: Promise.resolve();
|
|
277
|
-
const [createMeetingsResponse] = await Promise.all([
|
|
278
|
-
createMeetingsPromise,
|
|
279
|
-
updateMeetingsPromise,
|
|
280
|
-
]);
|
|
281
|
-
// replace temporary ids
|
|
282
|
-
if (createMeetingsResponse) {
|
|
283
|
-
createMeetingsResponse.forEach((meeting) => {
|
|
284
|
-
this.meetingsToCreate.forEach((draftMeeting) => {
|
|
285
|
-
if (draftMeeting.title === meeting.title) {
|
|
286
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_replaceDraftMeetingIds).call(this, __classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").get(draftMeeting.id), meeting.id);
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
// move participants (no async)
|
|
292
|
-
if (this.participantsToMove.length !== 0) {
|
|
293
|
-
this.participantsToMove.forEach(({ sourceMeetingId, destinationMeetingId, participantIds }) => {
|
|
294
|
-
meeting.connectedMeetings.moveParticipants(sourceMeetingId, destinationMeetingId, participantIds);
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
// delete rooms
|
|
298
|
-
if (this.meetingsToDelete.length !== 0) {
|
|
299
|
-
meeting.connectedMeetings.deleteMeetings(this.meetingsToDelete);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
/**
|
|
303
|
-
* discard local changes
|
|
304
|
-
*/
|
|
305
|
-
discardChanges() {
|
|
306
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_hasLocalChanges, false, "f");
|
|
307
|
-
this.updateCurrentState(__classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f"));
|
|
308
|
-
return this.currentState;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
_BreakoutRoomsManager_hasLocalChanges = new WeakMap(), _BreakoutRoomsManager_state = new WeakMap(), _BreakoutRoomsManager_participantsNewMeetingMap = new WeakMap(), _BreakoutRoomsManager_participantsOldMeetingMap = new WeakMap(), _BreakoutRoomsManager_meetingParticipantsMap = new WeakMap(), _BreakoutRoomsManager_allParticipantsMap = new WeakMap(), _BreakoutRoomsManager_allMeetingsMap = new WeakMap(), _BreakoutRoomsManager_meetingsToUpdate = new WeakMap(), _BreakoutRoomsManager_meetingsToDelete = new WeakMap(), _BreakoutRoomsManager_instances = new WeakSet(), _BreakoutRoomsManager_init = function _BreakoutRoomsManager_init(state) {
|
|
312
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_state, state, "f");
|
|
313
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_allMeetingsMap, new Map(), "f");
|
|
314
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_allParticipantsMap, new Map(), "f");
|
|
315
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_meetingsToUpdate, new Set(), "f");
|
|
316
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_meetingsToDelete, new Set(), "f");
|
|
317
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_meetingParticipantsMap, new Map(), "f");
|
|
318
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_participantsNewMeetingMap, new Map(), "f");
|
|
319
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_participantsOldMeetingMap, new Map(), "f");
|
|
320
|
-
__classPrivateFieldSet(this, _BreakoutRoomsManager_participantsOldMeetingMap, new Map(), "f");
|
|
321
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.participants.forEach((participant) => {
|
|
322
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsOldMeetingMap, "f").set(participantIdentifier(participant), __classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").parentMeeting.id);
|
|
323
|
-
});
|
|
324
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_state, "f").meetings.forEach((meeting) => {
|
|
325
|
-
meeting.participants.forEach((participant) => {
|
|
326
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsOldMeetingMap, "f").set(participantIdentifier(participant), meeting.id);
|
|
327
|
-
});
|
|
328
|
-
});
|
|
329
|
-
}, _BreakoutRoomsManager_addNewMeetingToState = function _BreakoutRoomsManager_addNewMeetingToState(meeting) {
|
|
330
|
-
if (!__classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").has(meeting.id)) {
|
|
331
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").set(meeting.id, meeting);
|
|
332
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").set(meeting.id, new Set());
|
|
333
|
-
}
|
|
334
|
-
}, _BreakoutRoomsManager_addNewParticipantToState = function _BreakoutRoomsManager_addNewParticipantToState(participant, meeting) {
|
|
335
|
-
if (__classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").has(participantIdentifier(participant))) {
|
|
336
|
-
return;
|
|
337
|
-
}
|
|
338
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").set(participantIdentifier(participant), participant);
|
|
339
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").set(participantIdentifier(participant), meeting.id);
|
|
340
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").get(meeting.id).add(participantIdentifier(participant));
|
|
341
|
-
}, _BreakoutRoomsManager_replaceDraftMeetingIds = function _BreakoutRoomsManager_replaceDraftMeetingIds(draftMeeting, realId) {
|
|
342
|
-
const draftId = draftMeeting.id;
|
|
343
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_instances, "m", _BreakoutRoomsManager_addNewMeetingToState).call(this, Object.assign(Object.assign({}, draftMeeting), { id: realId }));
|
|
344
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_allMeetingsMap, "f").delete(draftId);
|
|
345
|
-
const participantSet = __classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").get(draftId);
|
|
346
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").set(realId, participantSet);
|
|
347
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").delete(draftId);
|
|
348
|
-
Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").keys()).forEach((participantId) => {
|
|
349
|
-
if (__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").get(participantId) === draftId) {
|
|
350
|
-
__classPrivateFieldGet(this, _BreakoutRoomsManager_participantsNewMeetingMap, "f").set(participantId, realId);
|
|
351
|
-
}
|
|
352
|
-
});
|
|
353
|
-
}, _BreakoutRoomsManager_getMeetingParticipants = function _BreakoutRoomsManager_getMeetingParticipants(meetingId) {
|
|
354
|
-
const participantIds = Array.from(__classPrivateFieldGet(this, _BreakoutRoomsManager_meetingParticipantsMap, "f").get(meetingId));
|
|
355
|
-
return participantIds.map((id) => __classPrivateFieldGet(this, _BreakoutRoomsManager_allParticipantsMap, "f").get(id));
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
/** Detect free variable `global` from Node.js. */
|
|
359
|
-
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
360
|
-
|
|
361
|
-
const freeGlobal$1 = freeGlobal;
|
|
362
|
-
|
|
363
|
-
/** Detect free variable `self`. */
|
|
364
|
-
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
365
|
-
|
|
366
|
-
/** Used as a reference to the global object. */
|
|
367
|
-
var root = freeGlobal$1 || freeSelf || Function('return this')();
|
|
368
|
-
|
|
369
|
-
const root$1 = root;
|
|
370
|
-
|
|
371
|
-
/** Built-in value references. */
|
|
372
|
-
var Symbol = root$1.Symbol;
|
|
373
|
-
|
|
374
|
-
const Symbol$1 = Symbol;
|
|
375
|
-
|
|
376
|
-
/** Used for built-in method references. */
|
|
377
|
-
var objectProto$c = Object.prototype;
|
|
378
|
-
|
|
379
|
-
/** Used to check objects for own properties. */
|
|
380
|
-
var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Used to resolve the
|
|
384
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
385
|
-
* of values.
|
|
386
|
-
*/
|
|
387
|
-
var nativeObjectToString$1 = objectProto$c.toString;
|
|
388
|
-
|
|
389
|
-
/** Built-in value references. */
|
|
390
|
-
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
394
|
-
*
|
|
395
|
-
* @private
|
|
396
|
-
* @param {*} value The value to query.
|
|
397
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
398
|
-
*/
|
|
399
|
-
function getRawTag(value) {
|
|
400
|
-
var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
|
|
401
|
-
tag = value[symToStringTag$1];
|
|
402
|
-
|
|
403
|
-
try {
|
|
404
|
-
value[symToStringTag$1] = undefined;
|
|
405
|
-
var unmasked = true;
|
|
406
|
-
} catch (e) {}
|
|
407
|
-
|
|
408
|
-
var result = nativeObjectToString$1.call(value);
|
|
409
|
-
if (unmasked) {
|
|
410
|
-
if (isOwn) {
|
|
411
|
-
value[symToStringTag$1] = tag;
|
|
412
|
-
} else {
|
|
413
|
-
delete value[symToStringTag$1];
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
return result;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/** Used for built-in method references. */
|
|
420
|
-
var objectProto$b = Object.prototype;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* Used to resolve the
|
|
424
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
425
|
-
* of values.
|
|
426
|
-
*/
|
|
427
|
-
var nativeObjectToString = objectProto$b.toString;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Converts `value` to a string using `Object.prototype.toString`.
|
|
431
|
-
*
|
|
432
|
-
* @private
|
|
433
|
-
* @param {*} value The value to convert.
|
|
434
|
-
* @returns {string} Returns the converted string.
|
|
435
|
-
*/
|
|
436
|
-
function objectToString(value) {
|
|
437
|
-
return nativeObjectToString.call(value);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
/** `Object#toString` result references. */
|
|
441
|
-
var nullTag = '[object Null]',
|
|
442
|
-
undefinedTag = '[object Undefined]';
|
|
443
|
-
|
|
444
|
-
/** Built-in value references. */
|
|
445
|
-
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
449
|
-
*
|
|
450
|
-
* @private
|
|
451
|
-
* @param {*} value The value to query.
|
|
452
|
-
* @returns {string} Returns the `toStringTag`.
|
|
453
|
-
*/
|
|
454
|
-
function baseGetTag(value) {
|
|
455
|
-
if (value == null) {
|
|
456
|
-
return value === undefined ? undefinedTag : nullTag;
|
|
457
|
-
}
|
|
458
|
-
return (symToStringTag && symToStringTag in Object(value))
|
|
459
|
-
? getRawTag(value)
|
|
460
|
-
: objectToString(value);
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
465
|
-
* and has a `typeof` result of "object".
|
|
466
|
-
*
|
|
467
|
-
* @static
|
|
468
|
-
* @memberOf _
|
|
469
|
-
* @since 4.0.0
|
|
470
|
-
* @category Lang
|
|
471
|
-
* @param {*} value The value to check.
|
|
472
|
-
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
473
|
-
* @example
|
|
474
|
-
*
|
|
475
|
-
* _.isObjectLike({});
|
|
476
|
-
* // => true
|
|
477
|
-
*
|
|
478
|
-
* _.isObjectLike([1, 2, 3]);
|
|
479
|
-
* // => true
|
|
480
|
-
*
|
|
481
|
-
* _.isObjectLike(_.noop);
|
|
482
|
-
* // => false
|
|
483
|
-
*
|
|
484
|
-
* _.isObjectLike(null);
|
|
485
|
-
* // => false
|
|
486
|
-
*/
|
|
487
|
-
function isObjectLike(value) {
|
|
488
|
-
return value != null && typeof value == 'object';
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* Checks if `value` is classified as an `Array` object.
|
|
493
|
-
*
|
|
494
|
-
* @static
|
|
495
|
-
* @memberOf _
|
|
496
|
-
* @since 0.1.0
|
|
497
|
-
* @category Lang
|
|
498
|
-
* @param {*} value The value to check.
|
|
499
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
500
|
-
* @example
|
|
501
|
-
*
|
|
502
|
-
* _.isArray([1, 2, 3]);
|
|
503
|
-
* // => true
|
|
504
|
-
*
|
|
505
|
-
* _.isArray(document.body.children);
|
|
506
|
-
* // => false
|
|
507
|
-
*
|
|
508
|
-
* _.isArray('abc');
|
|
509
|
-
* // => false
|
|
510
|
-
*
|
|
511
|
-
* _.isArray(_.noop);
|
|
512
|
-
* // => false
|
|
513
|
-
*/
|
|
514
|
-
var isArray = Array.isArray;
|
|
515
|
-
|
|
516
|
-
const isArray$1 = isArray;
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Checks if `value` is the
|
|
520
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
521
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
522
|
-
*
|
|
523
|
-
* @static
|
|
524
|
-
* @memberOf _
|
|
525
|
-
* @since 0.1.0
|
|
526
|
-
* @category Lang
|
|
527
|
-
* @param {*} value The value to check.
|
|
528
|
-
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
529
|
-
* @example
|
|
530
|
-
*
|
|
531
|
-
* _.isObject({});
|
|
532
|
-
* // => true
|
|
533
|
-
*
|
|
534
|
-
* _.isObject([1, 2, 3]);
|
|
535
|
-
* // => true
|
|
536
|
-
*
|
|
537
|
-
* _.isObject(_.noop);
|
|
538
|
-
* // => true
|
|
539
|
-
*
|
|
540
|
-
* _.isObject(null);
|
|
541
|
-
* // => false
|
|
542
|
-
*/
|
|
543
|
-
function isObject(value) {
|
|
544
|
-
var type = typeof value;
|
|
545
|
-
return value != null && (type == 'object' || type == 'function');
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/** `Object#toString` result references. */
|
|
549
|
-
var asyncTag = '[object AsyncFunction]',
|
|
550
|
-
funcTag$2 = '[object Function]',
|
|
551
|
-
genTag$1 = '[object GeneratorFunction]',
|
|
552
|
-
proxyTag = '[object Proxy]';
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* Checks if `value` is classified as a `Function` object.
|
|
556
|
-
*
|
|
557
|
-
* @static
|
|
558
|
-
* @memberOf _
|
|
559
|
-
* @since 0.1.0
|
|
560
|
-
* @category Lang
|
|
561
|
-
* @param {*} value The value to check.
|
|
562
|
-
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
563
|
-
* @example
|
|
564
|
-
*
|
|
565
|
-
* _.isFunction(_);
|
|
566
|
-
* // => true
|
|
567
|
-
*
|
|
568
|
-
* _.isFunction(/abc/);
|
|
569
|
-
* // => false
|
|
570
|
-
*/
|
|
571
|
-
function isFunction(value) {
|
|
572
|
-
if (!isObject(value)) {
|
|
573
|
-
return false;
|
|
574
|
-
}
|
|
575
|
-
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
576
|
-
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
577
|
-
var tag = baseGetTag(value);
|
|
578
|
-
return tag == funcTag$2 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
/** Used to detect overreaching core-js shims. */
|
|
582
|
-
var coreJsData = root$1['__core-js_shared__'];
|
|
583
|
-
|
|
584
|
-
const coreJsData$1 = coreJsData;
|
|
585
|
-
|
|
586
|
-
/** Used to detect methods masquerading as native. */
|
|
587
|
-
var maskSrcKey = (function() {
|
|
588
|
-
var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
|
|
589
|
-
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
590
|
-
}());
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* Checks if `func` has its source masked.
|
|
594
|
-
*
|
|
595
|
-
* @private
|
|
596
|
-
* @param {Function} func The function to check.
|
|
597
|
-
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
598
|
-
*/
|
|
599
|
-
function isMasked(func) {
|
|
600
|
-
return !!maskSrcKey && (maskSrcKey in func);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/** Used for built-in method references. */
|
|
604
|
-
var funcProto$1 = Function.prototype;
|
|
605
|
-
|
|
606
|
-
/** Used to resolve the decompiled source of functions. */
|
|
607
|
-
var funcToString$1 = funcProto$1.toString;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Converts `func` to its source code.
|
|
611
|
-
*
|
|
612
|
-
* @private
|
|
613
|
-
* @param {Function} func The function to convert.
|
|
614
|
-
* @returns {string} Returns the source code.
|
|
615
|
-
*/
|
|
616
|
-
function toSource(func) {
|
|
617
|
-
if (func != null) {
|
|
618
|
-
try {
|
|
619
|
-
return funcToString$1.call(func);
|
|
620
|
-
} catch (e) {}
|
|
621
|
-
try {
|
|
622
|
-
return (func + '');
|
|
623
|
-
} catch (e) {}
|
|
624
|
-
}
|
|
625
|
-
return '';
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* Used to match `RegExp`
|
|
630
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
631
|
-
*/
|
|
632
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
633
|
-
|
|
634
|
-
/** Used to detect host constructors (Safari). */
|
|
635
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
636
|
-
|
|
637
|
-
/** Used for built-in method references. */
|
|
638
|
-
var funcProto = Function.prototype,
|
|
639
|
-
objectProto$a = Object.prototype;
|
|
640
|
-
|
|
641
|
-
/** Used to resolve the decompiled source of functions. */
|
|
642
|
-
var funcToString = funcProto.toString;
|
|
643
|
-
|
|
644
|
-
/** Used to check objects for own properties. */
|
|
645
|
-
var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
|
|
646
|
-
|
|
647
|
-
/** Used to detect if a method is native. */
|
|
648
|
-
var reIsNative = RegExp('^' +
|
|
649
|
-
funcToString.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
|
|
650
|
-
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
651
|
-
);
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
655
|
-
*
|
|
656
|
-
* @private
|
|
657
|
-
* @param {*} value The value to check.
|
|
658
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
659
|
-
* else `false`.
|
|
660
|
-
*/
|
|
661
|
-
function baseIsNative(value) {
|
|
662
|
-
if (!isObject(value) || isMasked(value)) {
|
|
663
|
-
return false;
|
|
664
|
-
}
|
|
665
|
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
666
|
-
return pattern.test(toSource(value));
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* Gets the value at `key` of `object`.
|
|
671
|
-
*
|
|
672
|
-
* @private
|
|
673
|
-
* @param {Object} [object] The object to query.
|
|
674
|
-
* @param {string} key The key of the property to get.
|
|
675
|
-
* @returns {*} Returns the property value.
|
|
676
|
-
*/
|
|
677
|
-
function getValue(object, key) {
|
|
678
|
-
return object == null ? undefined : object[key];
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* Gets the native function at `key` of `object`.
|
|
683
|
-
*
|
|
684
|
-
* @private
|
|
685
|
-
* @param {Object} object The object to query.
|
|
686
|
-
* @param {string} key The key of the method to get.
|
|
687
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
688
|
-
*/
|
|
689
|
-
function getNative(object, key) {
|
|
690
|
-
var value = getValue(object, key);
|
|
691
|
-
return baseIsNative(value) ? value : undefined;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/* Built-in method references that are verified to be native. */
|
|
695
|
-
var WeakMap$1 = getNative(root$1, 'WeakMap');
|
|
696
|
-
|
|
697
|
-
const WeakMap$2 = WeakMap$1;
|
|
698
|
-
|
|
699
|
-
/** Built-in value references. */
|
|
700
|
-
var objectCreate = Object.create;
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* The base implementation of `_.create` without support for assigning
|
|
704
|
-
* properties to the created object.
|
|
705
|
-
*
|
|
706
|
-
* @private
|
|
707
|
-
* @param {Object} proto The object to inherit from.
|
|
708
|
-
* @returns {Object} Returns the new object.
|
|
709
|
-
*/
|
|
710
|
-
var baseCreate = (function() {
|
|
711
|
-
function object() {}
|
|
712
|
-
return function(proto) {
|
|
713
|
-
if (!isObject(proto)) {
|
|
714
|
-
return {};
|
|
715
|
-
}
|
|
716
|
-
if (objectCreate) {
|
|
717
|
-
return objectCreate(proto);
|
|
718
|
-
}
|
|
719
|
-
object.prototype = proto;
|
|
720
|
-
var result = new object;
|
|
721
|
-
object.prototype = undefined;
|
|
722
|
-
return result;
|
|
723
|
-
};
|
|
724
|
-
}());
|
|
725
|
-
|
|
726
|
-
const baseCreate$1 = baseCreate;
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* Copies the values of `source` to `array`.
|
|
730
|
-
*
|
|
731
|
-
* @private
|
|
732
|
-
* @param {Array} source The array to copy values from.
|
|
733
|
-
* @param {Array} [array=[]] The array to copy values to.
|
|
734
|
-
* @returns {Array} Returns `array`.
|
|
735
|
-
*/
|
|
736
|
-
function copyArray(source, array) {
|
|
737
|
-
var index = -1,
|
|
738
|
-
length = source.length;
|
|
739
|
-
|
|
740
|
-
array || (array = Array(length));
|
|
741
|
-
while (++index < length) {
|
|
742
|
-
array[index] = source[index];
|
|
743
|
-
}
|
|
744
|
-
return array;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
var defineProperty = (function() {
|
|
748
|
-
try {
|
|
749
|
-
var func = getNative(Object, 'defineProperty');
|
|
750
|
-
func({}, '', {});
|
|
751
|
-
return func;
|
|
752
|
-
} catch (e) {}
|
|
753
|
-
}());
|
|
754
|
-
|
|
755
|
-
const defineProperty$1 = defineProperty;
|
|
756
|
-
|
|
757
|
-
/**
|
|
758
|
-
* A specialized version of `_.forEach` for arrays without support for
|
|
759
|
-
* iteratee shorthands.
|
|
760
|
-
*
|
|
761
|
-
* @private
|
|
762
|
-
* @param {Array} [array] The array to iterate over.
|
|
763
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
764
|
-
* @returns {Array} Returns `array`.
|
|
765
|
-
*/
|
|
766
|
-
function arrayEach(array, iteratee) {
|
|
767
|
-
var index = -1,
|
|
768
|
-
length = array == null ? 0 : array.length;
|
|
769
|
-
|
|
770
|
-
while (++index < length) {
|
|
771
|
-
if (iteratee(array[index], index, array) === false) {
|
|
772
|
-
break;
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
return array;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/** Used as references for various `Number` constants. */
|
|
779
|
-
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
780
|
-
|
|
781
|
-
/** Used to detect unsigned integer values. */
|
|
782
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
* Checks if `value` is a valid array-like index.
|
|
786
|
-
*
|
|
787
|
-
* @private
|
|
788
|
-
* @param {*} value The value to check.
|
|
789
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
790
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
791
|
-
*/
|
|
792
|
-
function isIndex(value, length) {
|
|
793
|
-
var type = typeof value;
|
|
794
|
-
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
795
|
-
|
|
796
|
-
return !!length &&
|
|
797
|
-
(type == 'number' ||
|
|
798
|
-
(type != 'symbol' && reIsUint.test(value))) &&
|
|
799
|
-
(value > -1 && value % 1 == 0 && value < length);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
804
|
-
* value checks.
|
|
805
|
-
*
|
|
806
|
-
* @private
|
|
807
|
-
* @param {Object} object The object to modify.
|
|
808
|
-
* @param {string} key The key of the property to assign.
|
|
809
|
-
* @param {*} value The value to assign.
|
|
810
|
-
*/
|
|
811
|
-
function baseAssignValue(object, key, value) {
|
|
812
|
-
if (key == '__proto__' && defineProperty$1) {
|
|
813
|
-
defineProperty$1(object, key, {
|
|
814
|
-
'configurable': true,
|
|
815
|
-
'enumerable': true,
|
|
816
|
-
'value': value,
|
|
817
|
-
'writable': true
|
|
818
|
-
});
|
|
819
|
-
} else {
|
|
820
|
-
object[key] = value;
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* Performs a
|
|
826
|
-
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
827
|
-
* comparison between two values to determine if they are equivalent.
|
|
828
|
-
*
|
|
829
|
-
* @static
|
|
830
|
-
* @memberOf _
|
|
831
|
-
* @since 4.0.0
|
|
832
|
-
* @category Lang
|
|
833
|
-
* @param {*} value The value to compare.
|
|
834
|
-
* @param {*} other The other value to compare.
|
|
835
|
-
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
836
|
-
* @example
|
|
837
|
-
*
|
|
838
|
-
* var object = { 'a': 1 };
|
|
839
|
-
* var other = { 'a': 1 };
|
|
840
|
-
*
|
|
841
|
-
* _.eq(object, object);
|
|
842
|
-
* // => true
|
|
843
|
-
*
|
|
844
|
-
* _.eq(object, other);
|
|
845
|
-
* // => false
|
|
846
|
-
*
|
|
847
|
-
* _.eq('a', 'a');
|
|
848
|
-
* // => true
|
|
849
|
-
*
|
|
850
|
-
* _.eq('a', Object('a'));
|
|
851
|
-
* // => false
|
|
852
|
-
*
|
|
853
|
-
* _.eq(NaN, NaN);
|
|
854
|
-
* // => true
|
|
855
|
-
*/
|
|
856
|
-
function eq(value, other) {
|
|
857
|
-
return value === other || (value !== value && other !== other);
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
/** Used for built-in method references. */
|
|
861
|
-
var objectProto$9 = Object.prototype;
|
|
862
|
-
|
|
863
|
-
/** Used to check objects for own properties. */
|
|
864
|
-
var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
868
|
-
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
869
|
-
* for equality comparisons.
|
|
870
|
-
*
|
|
871
|
-
* @private
|
|
872
|
-
* @param {Object} object The object to modify.
|
|
873
|
-
* @param {string} key The key of the property to assign.
|
|
874
|
-
* @param {*} value The value to assign.
|
|
875
|
-
*/
|
|
876
|
-
function assignValue(object, key, value) {
|
|
877
|
-
var objValue = object[key];
|
|
878
|
-
if (!(hasOwnProperty$7.call(object, key) && eq(objValue, value)) ||
|
|
879
|
-
(value === undefined && !(key in object))) {
|
|
880
|
-
baseAssignValue(object, key, value);
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* Copies properties of `source` to `object`.
|
|
886
|
-
*
|
|
887
|
-
* @private
|
|
888
|
-
* @param {Object} source The object to copy properties from.
|
|
889
|
-
* @param {Array} props The property identifiers to copy.
|
|
890
|
-
* @param {Object} [object={}] The object to copy properties to.
|
|
891
|
-
* @param {Function} [customizer] The function to customize copied values.
|
|
892
|
-
* @returns {Object} Returns `object`.
|
|
893
|
-
*/
|
|
894
|
-
function copyObject(source, props, object, customizer) {
|
|
895
|
-
var isNew = !object;
|
|
896
|
-
object || (object = {});
|
|
897
|
-
|
|
898
|
-
var index = -1,
|
|
899
|
-
length = props.length;
|
|
900
|
-
|
|
901
|
-
while (++index < length) {
|
|
902
|
-
var key = props[index];
|
|
903
|
-
|
|
904
|
-
var newValue = customizer
|
|
905
|
-
? customizer(object[key], source[key], key, object, source)
|
|
906
|
-
: undefined;
|
|
907
|
-
|
|
908
|
-
if (newValue === undefined) {
|
|
909
|
-
newValue = source[key];
|
|
910
|
-
}
|
|
911
|
-
if (isNew) {
|
|
912
|
-
baseAssignValue(object, key, newValue);
|
|
913
|
-
} else {
|
|
914
|
-
assignValue(object, key, newValue);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
return object;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/** Used as references for various `Number` constants. */
|
|
921
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* Checks if `value` is a valid array-like length.
|
|
925
|
-
*
|
|
926
|
-
* **Note:** This method is loosely based on
|
|
927
|
-
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
928
|
-
*
|
|
929
|
-
* @static
|
|
930
|
-
* @memberOf _
|
|
931
|
-
* @since 4.0.0
|
|
932
|
-
* @category Lang
|
|
933
|
-
* @param {*} value The value to check.
|
|
934
|
-
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
935
|
-
* @example
|
|
936
|
-
*
|
|
937
|
-
* _.isLength(3);
|
|
938
|
-
* // => true
|
|
939
|
-
*
|
|
940
|
-
* _.isLength(Number.MIN_VALUE);
|
|
941
|
-
* // => false
|
|
942
|
-
*
|
|
943
|
-
* _.isLength(Infinity);
|
|
944
|
-
* // => false
|
|
945
|
-
*
|
|
946
|
-
* _.isLength('3');
|
|
947
|
-
* // => false
|
|
948
|
-
*/
|
|
949
|
-
function isLength(value) {
|
|
950
|
-
return typeof value == 'number' &&
|
|
951
|
-
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
956
|
-
* not a function and has a `value.length` that's an integer greater than or
|
|
957
|
-
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
958
|
-
*
|
|
959
|
-
* @static
|
|
960
|
-
* @memberOf _
|
|
961
|
-
* @since 4.0.0
|
|
962
|
-
* @category Lang
|
|
963
|
-
* @param {*} value The value to check.
|
|
964
|
-
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
965
|
-
* @example
|
|
966
|
-
*
|
|
967
|
-
* _.isArrayLike([1, 2, 3]);
|
|
968
|
-
* // => true
|
|
969
|
-
*
|
|
970
|
-
* _.isArrayLike(document.body.children);
|
|
971
|
-
* // => true
|
|
972
|
-
*
|
|
973
|
-
* _.isArrayLike('abc');
|
|
974
|
-
* // => true
|
|
975
|
-
*
|
|
976
|
-
* _.isArrayLike(_.noop);
|
|
977
|
-
* // => false
|
|
978
|
-
*/
|
|
979
|
-
function isArrayLike(value) {
|
|
980
|
-
return value != null && isLength(value.length) && !isFunction(value);
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
/** Used for built-in method references. */
|
|
984
|
-
var objectProto$8 = Object.prototype;
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* Checks if `value` is likely a prototype object.
|
|
988
|
-
*
|
|
989
|
-
* @private
|
|
990
|
-
* @param {*} value The value to check.
|
|
991
|
-
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
992
|
-
*/
|
|
993
|
-
function isPrototype(value) {
|
|
994
|
-
var Ctor = value && value.constructor,
|
|
995
|
-
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
|
|
996
|
-
|
|
997
|
-
return value === proto;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
/**
|
|
1001
|
-
* The base implementation of `_.times` without support for iteratee shorthands
|
|
1002
|
-
* or max array length checks.
|
|
1003
|
-
*
|
|
1004
|
-
* @private
|
|
1005
|
-
* @param {number} n The number of times to invoke `iteratee`.
|
|
1006
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
1007
|
-
* @returns {Array} Returns the array of results.
|
|
1008
|
-
*/
|
|
1009
|
-
function baseTimes(n, iteratee) {
|
|
1010
|
-
var index = -1,
|
|
1011
|
-
result = Array(n);
|
|
1012
|
-
|
|
1013
|
-
while (++index < n) {
|
|
1014
|
-
result[index] = iteratee(index);
|
|
1015
|
-
}
|
|
1016
|
-
return result;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
/** `Object#toString` result references. */
|
|
1020
|
-
var argsTag$2 = '[object Arguments]';
|
|
1021
|
-
|
|
1022
|
-
/**
|
|
1023
|
-
* The base implementation of `_.isArguments`.
|
|
1024
|
-
*
|
|
1025
|
-
* @private
|
|
1026
|
-
* @param {*} value The value to check.
|
|
1027
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1028
|
-
*/
|
|
1029
|
-
function baseIsArguments(value) {
|
|
1030
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
/** Used for built-in method references. */
|
|
1034
|
-
var objectProto$7 = Object.prototype;
|
|
1035
|
-
|
|
1036
|
-
/** Used to check objects for own properties. */
|
|
1037
|
-
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
1038
|
-
|
|
1039
|
-
/** Built-in value references. */
|
|
1040
|
-
var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Checks if `value` is likely an `arguments` object.
|
|
1044
|
-
*
|
|
1045
|
-
* @static
|
|
1046
|
-
* @memberOf _
|
|
1047
|
-
* @since 0.1.0
|
|
1048
|
-
* @category Lang
|
|
1049
|
-
* @param {*} value The value to check.
|
|
1050
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
1051
|
-
* else `false`.
|
|
1052
|
-
* @example
|
|
1053
|
-
*
|
|
1054
|
-
* _.isArguments(function() { return arguments; }());
|
|
1055
|
-
* // => true
|
|
1056
|
-
*
|
|
1057
|
-
* _.isArguments([1, 2, 3]);
|
|
1058
|
-
* // => false
|
|
1059
|
-
*/
|
|
1060
|
-
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
1061
|
-
return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
|
|
1062
|
-
!propertyIsEnumerable$1.call(value, 'callee');
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1065
|
-
const isArguments$1 = isArguments;
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* This method returns `false`.
|
|
1069
|
-
*
|
|
1070
|
-
* @static
|
|
1071
|
-
* @memberOf _
|
|
1072
|
-
* @since 4.13.0
|
|
1073
|
-
* @category Util
|
|
1074
|
-
* @returns {boolean} Returns `false`.
|
|
1075
|
-
* @example
|
|
1076
|
-
*
|
|
1077
|
-
* _.times(2, _.stubFalse);
|
|
1078
|
-
* // => [false, false]
|
|
1079
|
-
*/
|
|
1080
|
-
function stubFalse() {
|
|
1081
|
-
return false;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
/** Detect free variable `exports`. */
|
|
1085
|
-
var freeExports$2 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
1086
|
-
|
|
1087
|
-
/** Detect free variable `module`. */
|
|
1088
|
-
var freeModule$2 = freeExports$2 && typeof module == 'object' && module && !module.nodeType && module;
|
|
1089
|
-
|
|
1090
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1091
|
-
var moduleExports$2 = freeModule$2 && freeModule$2.exports === freeExports$2;
|
|
1092
|
-
|
|
1093
|
-
/** Built-in value references. */
|
|
1094
|
-
var Buffer$1 = moduleExports$2 ? root$1.Buffer : undefined;
|
|
1095
|
-
|
|
1096
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1097
|
-
var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : undefined;
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* Checks if `value` is a buffer.
|
|
1101
|
-
*
|
|
1102
|
-
* @static
|
|
1103
|
-
* @memberOf _
|
|
1104
|
-
* @since 4.3.0
|
|
1105
|
-
* @category Lang
|
|
1106
|
-
* @param {*} value The value to check.
|
|
1107
|
-
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
1108
|
-
* @example
|
|
1109
|
-
*
|
|
1110
|
-
* _.isBuffer(new Buffer(2));
|
|
1111
|
-
* // => true
|
|
1112
|
-
*
|
|
1113
|
-
* _.isBuffer(new Uint8Array(2));
|
|
1114
|
-
* // => false
|
|
1115
|
-
*/
|
|
1116
|
-
var isBuffer = nativeIsBuffer || stubFalse;
|
|
1117
|
-
|
|
1118
|
-
const isBuffer$1 = isBuffer;
|
|
1119
|
-
|
|
1120
|
-
/** `Object#toString` result references. */
|
|
1121
|
-
var argsTag$1 = '[object Arguments]',
|
|
1122
|
-
arrayTag$1 = '[object Array]',
|
|
1123
|
-
boolTag$2 = '[object Boolean]',
|
|
1124
|
-
dateTag$2 = '[object Date]',
|
|
1125
|
-
errorTag$1 = '[object Error]',
|
|
1126
|
-
funcTag$1 = '[object Function]',
|
|
1127
|
-
mapTag$4 = '[object Map]',
|
|
1128
|
-
numberTag$2 = '[object Number]',
|
|
1129
|
-
objectTag$2 = '[object Object]',
|
|
1130
|
-
regexpTag$2 = '[object RegExp]',
|
|
1131
|
-
setTag$4 = '[object Set]',
|
|
1132
|
-
stringTag$2 = '[object String]',
|
|
1133
|
-
weakMapTag$2 = '[object WeakMap]';
|
|
1134
|
-
|
|
1135
|
-
var arrayBufferTag$2 = '[object ArrayBuffer]',
|
|
1136
|
-
dataViewTag$3 = '[object DataView]',
|
|
1137
|
-
float32Tag$2 = '[object Float32Array]',
|
|
1138
|
-
float64Tag$2 = '[object Float64Array]',
|
|
1139
|
-
int8Tag$2 = '[object Int8Array]',
|
|
1140
|
-
int16Tag$2 = '[object Int16Array]',
|
|
1141
|
-
int32Tag$2 = '[object Int32Array]',
|
|
1142
|
-
uint8Tag$2 = '[object Uint8Array]',
|
|
1143
|
-
uint8ClampedTag$2 = '[object Uint8ClampedArray]',
|
|
1144
|
-
uint16Tag$2 = '[object Uint16Array]',
|
|
1145
|
-
uint32Tag$2 = '[object Uint32Array]';
|
|
1146
|
-
|
|
1147
|
-
/** Used to identify `toStringTag` values of typed arrays. */
|
|
1148
|
-
var typedArrayTags = {};
|
|
1149
|
-
typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] =
|
|
1150
|
-
typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] =
|
|
1151
|
-
typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] =
|
|
1152
|
-
typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] =
|
|
1153
|
-
typedArrayTags[uint32Tag$2] = true;
|
|
1154
|
-
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
|
|
1155
|
-
typedArrayTags[arrayBufferTag$2] = typedArrayTags[boolTag$2] =
|
|
1156
|
-
typedArrayTags[dataViewTag$3] = typedArrayTags[dateTag$2] =
|
|
1157
|
-
typedArrayTags[errorTag$1] = typedArrayTags[funcTag$1] =
|
|
1158
|
-
typedArrayTags[mapTag$4] = typedArrayTags[numberTag$2] =
|
|
1159
|
-
typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$2] =
|
|
1160
|
-
typedArrayTags[setTag$4] = typedArrayTags[stringTag$2] =
|
|
1161
|
-
typedArrayTags[weakMapTag$2] = false;
|
|
1162
|
-
|
|
1163
|
-
/**
|
|
1164
|
-
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
1165
|
-
*
|
|
1166
|
-
* @private
|
|
1167
|
-
* @param {*} value The value to check.
|
|
1168
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1169
|
-
*/
|
|
1170
|
-
function baseIsTypedArray(value) {
|
|
1171
|
-
return isObjectLike(value) &&
|
|
1172
|
-
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
/**
|
|
1176
|
-
* The base implementation of `_.unary` without support for storing metadata.
|
|
1177
|
-
*
|
|
1178
|
-
* @private
|
|
1179
|
-
* @param {Function} func The function to cap arguments for.
|
|
1180
|
-
* @returns {Function} Returns the new capped function.
|
|
1181
|
-
*/
|
|
1182
|
-
function baseUnary(func) {
|
|
1183
|
-
return function(value) {
|
|
1184
|
-
return func(value);
|
|
1185
|
-
};
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
/** Detect free variable `exports`. */
|
|
1189
|
-
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
1190
|
-
|
|
1191
|
-
/** Detect free variable `module`. */
|
|
1192
|
-
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
1193
|
-
|
|
1194
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1195
|
-
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
1196
|
-
|
|
1197
|
-
/** Detect free variable `process` from Node.js. */
|
|
1198
|
-
var freeProcess = moduleExports$1 && freeGlobal$1.process;
|
|
1199
|
-
|
|
1200
|
-
/** Used to access faster Node.js helpers. */
|
|
1201
|
-
var nodeUtil = (function() {
|
|
1202
|
-
try {
|
|
1203
|
-
// Use `util.types` for Node.js 10+.
|
|
1204
|
-
var types = freeModule$1 && freeModule$1.require && freeModule$1.require('util').types;
|
|
1205
|
-
|
|
1206
|
-
if (types) {
|
|
1207
|
-
return types;
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
// Legacy `process.binding('util')` for Node.js < 10.
|
|
1211
|
-
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
1212
|
-
} catch (e) {}
|
|
1213
|
-
}());
|
|
1214
|
-
|
|
1215
|
-
const nodeUtil$1 = nodeUtil;
|
|
1216
|
-
|
|
1217
|
-
/* Node.js helper references. */
|
|
1218
|
-
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
1219
|
-
|
|
1220
|
-
/**
|
|
1221
|
-
* Checks if `value` is classified as a typed array.
|
|
1222
|
-
*
|
|
1223
|
-
* @static
|
|
1224
|
-
* @memberOf _
|
|
1225
|
-
* @since 3.0.0
|
|
1226
|
-
* @category Lang
|
|
1227
|
-
* @param {*} value The value to check.
|
|
1228
|
-
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
1229
|
-
* @example
|
|
1230
|
-
*
|
|
1231
|
-
* _.isTypedArray(new Uint8Array);
|
|
1232
|
-
* // => true
|
|
1233
|
-
*
|
|
1234
|
-
* _.isTypedArray([]);
|
|
1235
|
-
* // => false
|
|
1236
|
-
*/
|
|
1237
|
-
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
1238
|
-
|
|
1239
|
-
const isTypedArray$1 = isTypedArray;
|
|
1240
|
-
|
|
1241
|
-
/** Used for built-in method references. */
|
|
1242
|
-
var objectProto$6 = Object.prototype;
|
|
1243
|
-
|
|
1244
|
-
/** Used to check objects for own properties. */
|
|
1245
|
-
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* Creates an array of the enumerable property names of the array-like `value`.
|
|
1249
|
-
*
|
|
1250
|
-
* @private
|
|
1251
|
-
* @param {*} value The value to query.
|
|
1252
|
-
* @param {boolean} inherited Specify returning inherited property names.
|
|
1253
|
-
* @returns {Array} Returns the array of property names.
|
|
1254
|
-
*/
|
|
1255
|
-
function arrayLikeKeys(value, inherited) {
|
|
1256
|
-
var isArr = isArray$1(value),
|
|
1257
|
-
isArg = !isArr && isArguments$1(value),
|
|
1258
|
-
isBuff = !isArr && !isArg && isBuffer$1(value),
|
|
1259
|
-
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
1260
|
-
skipIndexes = isArr || isArg || isBuff || isType,
|
|
1261
|
-
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
1262
|
-
length = result.length;
|
|
1263
|
-
|
|
1264
|
-
for (var key in value) {
|
|
1265
|
-
if ((inherited || hasOwnProperty$5.call(value, key)) &&
|
|
1266
|
-
!(skipIndexes && (
|
|
1267
|
-
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1268
|
-
key == 'length' ||
|
|
1269
|
-
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1270
|
-
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
1271
|
-
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1272
|
-
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
1273
|
-
// Skip index properties.
|
|
1274
|
-
isIndex(key, length)
|
|
1275
|
-
))) {
|
|
1276
|
-
result.push(key);
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
return result;
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Creates a unary function that invokes `func` with its argument transformed.
|
|
1284
|
-
*
|
|
1285
|
-
* @private
|
|
1286
|
-
* @param {Function} func The function to wrap.
|
|
1287
|
-
* @param {Function} transform The argument transform.
|
|
1288
|
-
* @returns {Function} Returns the new function.
|
|
1289
|
-
*/
|
|
1290
|
-
function overArg(func, transform) {
|
|
1291
|
-
return function(arg) {
|
|
1292
|
-
return func(transform(arg));
|
|
1293
|
-
};
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
1297
|
-
var nativeKeys = overArg(Object.keys, Object);
|
|
1298
|
-
|
|
1299
|
-
const nativeKeys$1 = nativeKeys;
|
|
1300
|
-
|
|
1301
|
-
/** Used for built-in method references. */
|
|
1302
|
-
var objectProto$5 = Object.prototype;
|
|
1303
|
-
|
|
1304
|
-
/** Used to check objects for own properties. */
|
|
1305
|
-
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
1309
|
-
*
|
|
1310
|
-
* @private
|
|
1311
|
-
* @param {Object} object The object to query.
|
|
1312
|
-
* @returns {Array} Returns the array of property names.
|
|
1313
|
-
*/
|
|
1314
|
-
function baseKeys(object) {
|
|
1315
|
-
if (!isPrototype(object)) {
|
|
1316
|
-
return nativeKeys$1(object);
|
|
1317
|
-
}
|
|
1318
|
-
var result = [];
|
|
1319
|
-
for (var key in Object(object)) {
|
|
1320
|
-
if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
|
|
1321
|
-
result.push(key);
|
|
1322
|
-
}
|
|
1323
|
-
}
|
|
1324
|
-
return result;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* Creates an array of the own enumerable property names of `object`.
|
|
1329
|
-
*
|
|
1330
|
-
* **Note:** Non-object values are coerced to objects. See the
|
|
1331
|
-
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1332
|
-
* for more details.
|
|
1333
|
-
*
|
|
1334
|
-
* @static
|
|
1335
|
-
* @since 0.1.0
|
|
1336
|
-
* @memberOf _
|
|
1337
|
-
* @category Object
|
|
1338
|
-
* @param {Object} object The object to query.
|
|
1339
|
-
* @returns {Array} Returns the array of property names.
|
|
1340
|
-
* @example
|
|
1341
|
-
*
|
|
1342
|
-
* function Foo() {
|
|
1343
|
-
* this.a = 1;
|
|
1344
|
-
* this.b = 2;
|
|
1345
|
-
* }
|
|
1346
|
-
*
|
|
1347
|
-
* Foo.prototype.c = 3;
|
|
1348
|
-
*
|
|
1349
|
-
* _.keys(new Foo);
|
|
1350
|
-
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
1351
|
-
*
|
|
1352
|
-
* _.keys('hi');
|
|
1353
|
-
* // => ['0', '1']
|
|
1354
|
-
*/
|
|
1355
|
-
function keys(object) {
|
|
1356
|
-
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* This function is like
|
|
1361
|
-
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1362
|
-
* except that it includes inherited enumerable properties.
|
|
1363
|
-
*
|
|
1364
|
-
* @private
|
|
1365
|
-
* @param {Object} object The object to query.
|
|
1366
|
-
* @returns {Array} Returns the array of property names.
|
|
1367
|
-
*/
|
|
1368
|
-
function nativeKeysIn(object) {
|
|
1369
|
-
var result = [];
|
|
1370
|
-
if (object != null) {
|
|
1371
|
-
for (var key in Object(object)) {
|
|
1372
|
-
result.push(key);
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
return result;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
/** Used for built-in method references. */
|
|
1379
|
-
var objectProto$4 = Object.prototype;
|
|
1380
|
-
|
|
1381
|
-
/** Used to check objects for own properties. */
|
|
1382
|
-
var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
1386
|
-
*
|
|
1387
|
-
* @private
|
|
1388
|
-
* @param {Object} object The object to query.
|
|
1389
|
-
* @returns {Array} Returns the array of property names.
|
|
1390
|
-
*/
|
|
1391
|
-
function baseKeysIn(object) {
|
|
1392
|
-
if (!isObject(object)) {
|
|
1393
|
-
return nativeKeysIn(object);
|
|
1394
|
-
}
|
|
1395
|
-
var isProto = isPrototype(object),
|
|
1396
|
-
result = [];
|
|
1397
|
-
|
|
1398
|
-
for (var key in object) {
|
|
1399
|
-
if (!(key == 'constructor' && (isProto || !hasOwnProperty$3.call(object, key)))) {
|
|
1400
|
-
result.push(key);
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
return result;
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
/**
|
|
1407
|
-
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
1408
|
-
*
|
|
1409
|
-
* **Note:** Non-object values are coerced to objects.
|
|
1410
|
-
*
|
|
1411
|
-
* @static
|
|
1412
|
-
* @memberOf _
|
|
1413
|
-
* @since 3.0.0
|
|
1414
|
-
* @category Object
|
|
1415
|
-
* @param {Object} object The object to query.
|
|
1416
|
-
* @returns {Array} Returns the array of property names.
|
|
1417
|
-
* @example
|
|
1418
|
-
*
|
|
1419
|
-
* function Foo() {
|
|
1420
|
-
* this.a = 1;
|
|
1421
|
-
* this.b = 2;
|
|
1422
|
-
* }
|
|
1423
|
-
*
|
|
1424
|
-
* Foo.prototype.c = 3;
|
|
1425
|
-
*
|
|
1426
|
-
* _.keysIn(new Foo);
|
|
1427
|
-
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
1428
|
-
*/
|
|
1429
|
-
function keysIn(object) {
|
|
1430
|
-
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
1431
|
-
}
|
|
1432
|
-
|
|
1433
|
-
/* Built-in method references that are verified to be native. */
|
|
1434
|
-
var nativeCreate = getNative(Object, 'create');
|
|
1435
|
-
|
|
1436
|
-
const nativeCreate$1 = nativeCreate;
|
|
1437
|
-
|
|
1438
|
-
/**
|
|
1439
|
-
* Removes all key-value entries from the hash.
|
|
1440
|
-
*
|
|
1441
|
-
* @private
|
|
1442
|
-
* @name clear
|
|
1443
|
-
* @memberOf Hash
|
|
1444
|
-
*/
|
|
1445
|
-
function hashClear() {
|
|
1446
|
-
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
|
|
1447
|
-
this.size = 0;
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
/**
|
|
1451
|
-
* Removes `key` and its value from the hash.
|
|
1452
|
-
*
|
|
1453
|
-
* @private
|
|
1454
|
-
* @name delete
|
|
1455
|
-
* @memberOf Hash
|
|
1456
|
-
* @param {Object} hash The hash to modify.
|
|
1457
|
-
* @param {string} key The key of the value to remove.
|
|
1458
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1459
|
-
*/
|
|
1460
|
-
function hashDelete(key) {
|
|
1461
|
-
var result = this.has(key) && delete this.__data__[key];
|
|
1462
|
-
this.size -= result ? 1 : 0;
|
|
1463
|
-
return result;
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
1467
|
-
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
1468
|
-
|
|
1469
|
-
/** Used for built-in method references. */
|
|
1470
|
-
var objectProto$3 = Object.prototype;
|
|
1471
|
-
|
|
1472
|
-
/** Used to check objects for own properties. */
|
|
1473
|
-
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* Gets the hash value for `key`.
|
|
1477
|
-
*
|
|
1478
|
-
* @private
|
|
1479
|
-
* @name get
|
|
1480
|
-
* @memberOf Hash
|
|
1481
|
-
* @param {string} key The key of the value to get.
|
|
1482
|
-
* @returns {*} Returns the entry value.
|
|
1483
|
-
*/
|
|
1484
|
-
function hashGet(key) {
|
|
1485
|
-
var data = this.__data__;
|
|
1486
|
-
if (nativeCreate$1) {
|
|
1487
|
-
var result = data[key];
|
|
1488
|
-
return result === HASH_UNDEFINED$1 ? undefined : result;
|
|
1489
|
-
}
|
|
1490
|
-
return hasOwnProperty$2.call(data, key) ? data[key] : undefined;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
/** Used for built-in method references. */
|
|
1494
|
-
var objectProto$2 = Object.prototype;
|
|
1495
|
-
|
|
1496
|
-
/** Used to check objects for own properties. */
|
|
1497
|
-
var hasOwnProperty$1 = objectProto$2.hasOwnProperty;
|
|
1498
|
-
|
|
1499
|
-
/**
|
|
1500
|
-
* Checks if a hash value for `key` exists.
|
|
1501
|
-
*
|
|
1502
|
-
* @private
|
|
1503
|
-
* @name has
|
|
1504
|
-
* @memberOf Hash
|
|
1505
|
-
* @param {string} key The key of the entry to check.
|
|
1506
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1507
|
-
*/
|
|
1508
|
-
function hashHas(key) {
|
|
1509
|
-
var data = this.__data__;
|
|
1510
|
-
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$1.call(data, key);
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
/** Used to stand-in for `undefined` hash values. */
|
|
1514
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* Sets the hash `key` to `value`.
|
|
1518
|
-
*
|
|
1519
|
-
* @private
|
|
1520
|
-
* @name set
|
|
1521
|
-
* @memberOf Hash
|
|
1522
|
-
* @param {string} key The key of the value to set.
|
|
1523
|
-
* @param {*} value The value to set.
|
|
1524
|
-
* @returns {Object} Returns the hash instance.
|
|
1525
|
-
*/
|
|
1526
|
-
function hashSet(key, value) {
|
|
1527
|
-
var data = this.__data__;
|
|
1528
|
-
this.size += this.has(key) ? 0 : 1;
|
|
1529
|
-
data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED : value;
|
|
1530
|
-
return this;
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* Creates a hash object.
|
|
1535
|
-
*
|
|
1536
|
-
* @private
|
|
1537
|
-
* @constructor
|
|
1538
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
1539
|
-
*/
|
|
1540
|
-
function Hash(entries) {
|
|
1541
|
-
var index = -1,
|
|
1542
|
-
length = entries == null ? 0 : entries.length;
|
|
1543
|
-
|
|
1544
|
-
this.clear();
|
|
1545
|
-
while (++index < length) {
|
|
1546
|
-
var entry = entries[index];
|
|
1547
|
-
this.set(entry[0], entry[1]);
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
// Add methods to `Hash`.
|
|
1552
|
-
Hash.prototype.clear = hashClear;
|
|
1553
|
-
Hash.prototype['delete'] = hashDelete;
|
|
1554
|
-
Hash.prototype.get = hashGet;
|
|
1555
|
-
Hash.prototype.has = hashHas;
|
|
1556
|
-
Hash.prototype.set = hashSet;
|
|
1557
|
-
|
|
1558
|
-
/**
|
|
1559
|
-
* Removes all key-value entries from the list cache.
|
|
1560
|
-
*
|
|
1561
|
-
* @private
|
|
1562
|
-
* @name clear
|
|
1563
|
-
* @memberOf ListCache
|
|
1564
|
-
*/
|
|
1565
|
-
function listCacheClear() {
|
|
1566
|
-
this.__data__ = [];
|
|
1567
|
-
this.size = 0;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
1572
|
-
*
|
|
1573
|
-
* @private
|
|
1574
|
-
* @param {Array} array The array to inspect.
|
|
1575
|
-
* @param {*} key The key to search for.
|
|
1576
|
-
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
1577
|
-
*/
|
|
1578
|
-
function assocIndexOf(array, key) {
|
|
1579
|
-
var length = array.length;
|
|
1580
|
-
while (length--) {
|
|
1581
|
-
if (eq(array[length][0], key)) {
|
|
1582
|
-
return length;
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
return -1;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
/** Used for built-in method references. */
|
|
1589
|
-
var arrayProto = Array.prototype;
|
|
1590
|
-
|
|
1591
|
-
/** Built-in value references. */
|
|
1592
|
-
var splice = arrayProto.splice;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* Removes `key` and its value from the list cache.
|
|
1596
|
-
*
|
|
1597
|
-
* @private
|
|
1598
|
-
* @name delete
|
|
1599
|
-
* @memberOf ListCache
|
|
1600
|
-
* @param {string} key The key of the value to remove.
|
|
1601
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1602
|
-
*/
|
|
1603
|
-
function listCacheDelete(key) {
|
|
1604
|
-
var data = this.__data__,
|
|
1605
|
-
index = assocIndexOf(data, key);
|
|
1606
|
-
|
|
1607
|
-
if (index < 0) {
|
|
1608
|
-
return false;
|
|
1609
|
-
}
|
|
1610
|
-
var lastIndex = data.length - 1;
|
|
1611
|
-
if (index == lastIndex) {
|
|
1612
|
-
data.pop();
|
|
1613
|
-
} else {
|
|
1614
|
-
splice.call(data, index, 1);
|
|
1615
|
-
}
|
|
1616
|
-
--this.size;
|
|
1617
|
-
return true;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
/**
|
|
1621
|
-
* Gets the list cache value for `key`.
|
|
1622
|
-
*
|
|
1623
|
-
* @private
|
|
1624
|
-
* @name get
|
|
1625
|
-
* @memberOf ListCache
|
|
1626
|
-
* @param {string} key The key of the value to get.
|
|
1627
|
-
* @returns {*} Returns the entry value.
|
|
1628
|
-
*/
|
|
1629
|
-
function listCacheGet(key) {
|
|
1630
|
-
var data = this.__data__,
|
|
1631
|
-
index = assocIndexOf(data, key);
|
|
1632
|
-
|
|
1633
|
-
return index < 0 ? undefined : data[index][1];
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
/**
|
|
1637
|
-
* Checks if a list cache value for `key` exists.
|
|
1638
|
-
*
|
|
1639
|
-
* @private
|
|
1640
|
-
* @name has
|
|
1641
|
-
* @memberOf ListCache
|
|
1642
|
-
* @param {string} key The key of the entry to check.
|
|
1643
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1644
|
-
*/
|
|
1645
|
-
function listCacheHas(key) {
|
|
1646
|
-
return assocIndexOf(this.__data__, key) > -1;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* Sets the list cache `key` to `value`.
|
|
1651
|
-
*
|
|
1652
|
-
* @private
|
|
1653
|
-
* @name set
|
|
1654
|
-
* @memberOf ListCache
|
|
1655
|
-
* @param {string} key The key of the value to set.
|
|
1656
|
-
* @param {*} value The value to set.
|
|
1657
|
-
* @returns {Object} Returns the list cache instance.
|
|
1658
|
-
*/
|
|
1659
|
-
function listCacheSet(key, value) {
|
|
1660
|
-
var data = this.__data__,
|
|
1661
|
-
index = assocIndexOf(data, key);
|
|
1662
|
-
|
|
1663
|
-
if (index < 0) {
|
|
1664
|
-
++this.size;
|
|
1665
|
-
data.push([key, value]);
|
|
1666
|
-
} else {
|
|
1667
|
-
data[index][1] = value;
|
|
1668
|
-
}
|
|
1669
|
-
return this;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
/**
|
|
1673
|
-
* Creates an list cache object.
|
|
1674
|
-
*
|
|
1675
|
-
* @private
|
|
1676
|
-
* @constructor
|
|
1677
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
1678
|
-
*/
|
|
1679
|
-
function ListCache(entries) {
|
|
1680
|
-
var index = -1,
|
|
1681
|
-
length = entries == null ? 0 : entries.length;
|
|
1682
|
-
|
|
1683
|
-
this.clear();
|
|
1684
|
-
while (++index < length) {
|
|
1685
|
-
var entry = entries[index];
|
|
1686
|
-
this.set(entry[0], entry[1]);
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
// Add methods to `ListCache`.
|
|
1691
|
-
ListCache.prototype.clear = listCacheClear;
|
|
1692
|
-
ListCache.prototype['delete'] = listCacheDelete;
|
|
1693
|
-
ListCache.prototype.get = listCacheGet;
|
|
1694
|
-
ListCache.prototype.has = listCacheHas;
|
|
1695
|
-
ListCache.prototype.set = listCacheSet;
|
|
1696
|
-
|
|
1697
|
-
/* Built-in method references that are verified to be native. */
|
|
1698
|
-
var Map$1 = getNative(root$1, 'Map');
|
|
1699
|
-
|
|
1700
|
-
const Map$2 = Map$1;
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* Removes all key-value entries from the map.
|
|
1704
|
-
*
|
|
1705
|
-
* @private
|
|
1706
|
-
* @name clear
|
|
1707
|
-
* @memberOf MapCache
|
|
1708
|
-
*/
|
|
1709
|
-
function mapCacheClear() {
|
|
1710
|
-
this.size = 0;
|
|
1711
|
-
this.__data__ = {
|
|
1712
|
-
'hash': new Hash,
|
|
1713
|
-
'map': new (Map$2 || ListCache),
|
|
1714
|
-
'string': new Hash
|
|
1715
|
-
};
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* Checks if `value` is suitable for use as unique object key.
|
|
1720
|
-
*
|
|
1721
|
-
* @private
|
|
1722
|
-
* @param {*} value The value to check.
|
|
1723
|
-
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
1724
|
-
*/
|
|
1725
|
-
function isKeyable(value) {
|
|
1726
|
-
var type = typeof value;
|
|
1727
|
-
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
1728
|
-
? (value !== '__proto__')
|
|
1729
|
-
: (value === null);
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
/**
|
|
1733
|
-
* Gets the data for `map`.
|
|
1734
|
-
*
|
|
1735
|
-
* @private
|
|
1736
|
-
* @param {Object} map The map to query.
|
|
1737
|
-
* @param {string} key The reference key.
|
|
1738
|
-
* @returns {*} Returns the map data.
|
|
1739
|
-
*/
|
|
1740
|
-
function getMapData(map, key) {
|
|
1741
|
-
var data = map.__data__;
|
|
1742
|
-
return isKeyable(key)
|
|
1743
|
-
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
1744
|
-
: data.map;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
* Removes `key` and its value from the map.
|
|
1749
|
-
*
|
|
1750
|
-
* @private
|
|
1751
|
-
* @name delete
|
|
1752
|
-
* @memberOf MapCache
|
|
1753
|
-
* @param {string} key The key of the value to remove.
|
|
1754
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1755
|
-
*/
|
|
1756
|
-
function mapCacheDelete(key) {
|
|
1757
|
-
var result = getMapData(this, key)['delete'](key);
|
|
1758
|
-
this.size -= result ? 1 : 0;
|
|
1759
|
-
return result;
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1763
|
-
* Gets the map value for `key`.
|
|
1764
|
-
*
|
|
1765
|
-
* @private
|
|
1766
|
-
* @name get
|
|
1767
|
-
* @memberOf MapCache
|
|
1768
|
-
* @param {string} key The key of the value to get.
|
|
1769
|
-
* @returns {*} Returns the entry value.
|
|
1770
|
-
*/
|
|
1771
|
-
function mapCacheGet(key) {
|
|
1772
|
-
return getMapData(this, key).get(key);
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
|
-
/**
|
|
1776
|
-
* Checks if a map value for `key` exists.
|
|
1777
|
-
*
|
|
1778
|
-
* @private
|
|
1779
|
-
* @name has
|
|
1780
|
-
* @memberOf MapCache
|
|
1781
|
-
* @param {string} key The key of the entry to check.
|
|
1782
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1783
|
-
*/
|
|
1784
|
-
function mapCacheHas(key) {
|
|
1785
|
-
return getMapData(this, key).has(key);
|
|
1786
|
-
}
|
|
1787
|
-
|
|
1788
|
-
/**
|
|
1789
|
-
* Sets the map `key` to `value`.
|
|
1790
|
-
*
|
|
1791
|
-
* @private
|
|
1792
|
-
* @name set
|
|
1793
|
-
* @memberOf MapCache
|
|
1794
|
-
* @param {string} key The key of the value to set.
|
|
1795
|
-
* @param {*} value The value to set.
|
|
1796
|
-
* @returns {Object} Returns the map cache instance.
|
|
1797
|
-
*/
|
|
1798
|
-
function mapCacheSet(key, value) {
|
|
1799
|
-
var data = getMapData(this, key),
|
|
1800
|
-
size = data.size;
|
|
1801
|
-
|
|
1802
|
-
data.set(key, value);
|
|
1803
|
-
this.size += data.size == size ? 0 : 1;
|
|
1804
|
-
return this;
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
/**
|
|
1808
|
-
* Creates a map cache object to store key-value pairs.
|
|
1809
|
-
*
|
|
1810
|
-
* @private
|
|
1811
|
-
* @constructor
|
|
1812
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
1813
|
-
*/
|
|
1814
|
-
function MapCache(entries) {
|
|
1815
|
-
var index = -1,
|
|
1816
|
-
length = entries == null ? 0 : entries.length;
|
|
1817
|
-
|
|
1818
|
-
this.clear();
|
|
1819
|
-
while (++index < length) {
|
|
1820
|
-
var entry = entries[index];
|
|
1821
|
-
this.set(entry[0], entry[1]);
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
// Add methods to `MapCache`.
|
|
1826
|
-
MapCache.prototype.clear = mapCacheClear;
|
|
1827
|
-
MapCache.prototype['delete'] = mapCacheDelete;
|
|
1828
|
-
MapCache.prototype.get = mapCacheGet;
|
|
1829
|
-
MapCache.prototype.has = mapCacheHas;
|
|
1830
|
-
MapCache.prototype.set = mapCacheSet;
|
|
1831
|
-
|
|
1832
|
-
/**
|
|
1833
|
-
* Appends the elements of `values` to `array`.
|
|
1834
|
-
*
|
|
1835
|
-
* @private
|
|
1836
|
-
* @param {Array} array The array to modify.
|
|
1837
|
-
* @param {Array} values The values to append.
|
|
1838
|
-
* @returns {Array} Returns `array`.
|
|
1839
|
-
*/
|
|
1840
|
-
function arrayPush(array, values) {
|
|
1841
|
-
var index = -1,
|
|
1842
|
-
length = values.length,
|
|
1843
|
-
offset = array.length;
|
|
1844
|
-
|
|
1845
|
-
while (++index < length) {
|
|
1846
|
-
array[offset + index] = values[index];
|
|
1847
|
-
}
|
|
1848
|
-
return array;
|
|
1849
|
-
}
|
|
1850
|
-
|
|
1851
|
-
/** Built-in value references. */
|
|
1852
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1853
|
-
|
|
1854
|
-
const getPrototype$1 = getPrototype;
|
|
1855
|
-
|
|
1856
|
-
/**
|
|
1857
|
-
* Removes all key-value entries from the stack.
|
|
1858
|
-
*
|
|
1859
|
-
* @private
|
|
1860
|
-
* @name clear
|
|
1861
|
-
* @memberOf Stack
|
|
1862
|
-
*/
|
|
1863
|
-
function stackClear() {
|
|
1864
|
-
this.__data__ = new ListCache;
|
|
1865
|
-
this.size = 0;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
* Removes `key` and its value from the stack.
|
|
1870
|
-
*
|
|
1871
|
-
* @private
|
|
1872
|
-
* @name delete
|
|
1873
|
-
* @memberOf Stack
|
|
1874
|
-
* @param {string} key The key of the value to remove.
|
|
1875
|
-
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
1876
|
-
*/
|
|
1877
|
-
function stackDelete(key) {
|
|
1878
|
-
var data = this.__data__,
|
|
1879
|
-
result = data['delete'](key);
|
|
1880
|
-
|
|
1881
|
-
this.size = data.size;
|
|
1882
|
-
return result;
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
/**
|
|
1886
|
-
* Gets the stack value for `key`.
|
|
1887
|
-
*
|
|
1888
|
-
* @private
|
|
1889
|
-
* @name get
|
|
1890
|
-
* @memberOf Stack
|
|
1891
|
-
* @param {string} key The key of the value to get.
|
|
1892
|
-
* @returns {*} Returns the entry value.
|
|
1893
|
-
*/
|
|
1894
|
-
function stackGet(key) {
|
|
1895
|
-
return this.__data__.get(key);
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
/**
|
|
1899
|
-
* Checks if a stack value for `key` exists.
|
|
1900
|
-
*
|
|
1901
|
-
* @private
|
|
1902
|
-
* @name has
|
|
1903
|
-
* @memberOf Stack
|
|
1904
|
-
* @param {string} key The key of the entry to check.
|
|
1905
|
-
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
1906
|
-
*/
|
|
1907
|
-
function stackHas(key) {
|
|
1908
|
-
return this.__data__.has(key);
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
/** Used as the size to enable large array optimizations. */
|
|
1912
|
-
var LARGE_ARRAY_SIZE = 200;
|
|
1913
|
-
|
|
1914
|
-
/**
|
|
1915
|
-
* Sets the stack `key` to `value`.
|
|
1916
|
-
*
|
|
1917
|
-
* @private
|
|
1918
|
-
* @name set
|
|
1919
|
-
* @memberOf Stack
|
|
1920
|
-
* @param {string} key The key of the value to set.
|
|
1921
|
-
* @param {*} value The value to set.
|
|
1922
|
-
* @returns {Object} Returns the stack cache instance.
|
|
1923
|
-
*/
|
|
1924
|
-
function stackSet(key, value) {
|
|
1925
|
-
var data = this.__data__;
|
|
1926
|
-
if (data instanceof ListCache) {
|
|
1927
|
-
var pairs = data.__data__;
|
|
1928
|
-
if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
1929
|
-
pairs.push([key, value]);
|
|
1930
|
-
this.size = ++data.size;
|
|
1931
|
-
return this;
|
|
1932
|
-
}
|
|
1933
|
-
data = this.__data__ = new MapCache(pairs);
|
|
1934
|
-
}
|
|
1935
|
-
data.set(key, value);
|
|
1936
|
-
this.size = data.size;
|
|
1937
|
-
return this;
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
/**
|
|
1941
|
-
* Creates a stack cache object to store key-value pairs.
|
|
1942
|
-
*
|
|
1943
|
-
* @private
|
|
1944
|
-
* @constructor
|
|
1945
|
-
* @param {Array} [entries] The key-value pairs to cache.
|
|
1946
|
-
*/
|
|
1947
|
-
function Stack(entries) {
|
|
1948
|
-
var data = this.__data__ = new ListCache(entries);
|
|
1949
|
-
this.size = data.size;
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
// Add methods to `Stack`.
|
|
1953
|
-
Stack.prototype.clear = stackClear;
|
|
1954
|
-
Stack.prototype['delete'] = stackDelete;
|
|
1955
|
-
Stack.prototype.get = stackGet;
|
|
1956
|
-
Stack.prototype.has = stackHas;
|
|
1957
|
-
Stack.prototype.set = stackSet;
|
|
1958
|
-
|
|
1959
|
-
/**
|
|
1960
|
-
* The base implementation of `_.assign` without support for multiple sources
|
|
1961
|
-
* or `customizer` functions.
|
|
1962
|
-
*
|
|
1963
|
-
* @private
|
|
1964
|
-
* @param {Object} object The destination object.
|
|
1965
|
-
* @param {Object} source The source object.
|
|
1966
|
-
* @returns {Object} Returns `object`.
|
|
1967
|
-
*/
|
|
1968
|
-
function baseAssign(object, source) {
|
|
1969
|
-
return object && copyObject(source, keys(source), object);
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* The base implementation of `_.assignIn` without support for multiple sources
|
|
1974
|
-
* or `customizer` functions.
|
|
1975
|
-
*
|
|
1976
|
-
* @private
|
|
1977
|
-
* @param {Object} object The destination object.
|
|
1978
|
-
* @param {Object} source The source object.
|
|
1979
|
-
* @returns {Object} Returns `object`.
|
|
1980
|
-
*/
|
|
1981
|
-
function baseAssignIn(object, source) {
|
|
1982
|
-
return object && copyObject(source, keysIn(source), object);
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
/** Detect free variable `exports`. */
|
|
1986
|
-
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
1987
|
-
|
|
1988
|
-
/** Detect free variable `module`. */
|
|
1989
|
-
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
1990
|
-
|
|
1991
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
1992
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
1993
|
-
|
|
1994
|
-
/** Built-in value references. */
|
|
1995
|
-
var Buffer = moduleExports ? root$1.Buffer : undefined,
|
|
1996
|
-
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
1997
|
-
|
|
1998
|
-
/**
|
|
1999
|
-
* Creates a clone of `buffer`.
|
|
2000
|
-
*
|
|
2001
|
-
* @private
|
|
2002
|
-
* @param {Buffer} buffer The buffer to clone.
|
|
2003
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
2004
|
-
* @returns {Buffer} Returns the cloned buffer.
|
|
2005
|
-
*/
|
|
2006
|
-
function cloneBuffer(buffer, isDeep) {
|
|
2007
|
-
if (isDeep) {
|
|
2008
|
-
return buffer.slice();
|
|
2009
|
-
}
|
|
2010
|
-
var length = buffer.length,
|
|
2011
|
-
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
2012
|
-
|
|
2013
|
-
buffer.copy(result);
|
|
2014
|
-
return result;
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
/**
|
|
2018
|
-
* A specialized version of `_.filter` for arrays without support for
|
|
2019
|
-
* iteratee shorthands.
|
|
2020
|
-
*
|
|
2021
|
-
* @private
|
|
2022
|
-
* @param {Array} [array] The array to iterate over.
|
|
2023
|
-
* @param {Function} predicate The function invoked per iteration.
|
|
2024
|
-
* @returns {Array} Returns the new filtered array.
|
|
2025
|
-
*/
|
|
2026
|
-
function arrayFilter(array, predicate) {
|
|
2027
|
-
var index = -1,
|
|
2028
|
-
length = array == null ? 0 : array.length,
|
|
2029
|
-
resIndex = 0,
|
|
2030
|
-
result = [];
|
|
2031
|
-
|
|
2032
|
-
while (++index < length) {
|
|
2033
|
-
var value = array[index];
|
|
2034
|
-
if (predicate(value, index, array)) {
|
|
2035
|
-
result[resIndex++] = value;
|
|
2036
|
-
}
|
|
2037
|
-
}
|
|
2038
|
-
return result;
|
|
2039
|
-
}
|
|
2040
|
-
|
|
2041
|
-
/**
|
|
2042
|
-
* This method returns a new empty array.
|
|
2043
|
-
*
|
|
2044
|
-
* @static
|
|
2045
|
-
* @memberOf _
|
|
2046
|
-
* @since 4.13.0
|
|
2047
|
-
* @category Util
|
|
2048
|
-
* @returns {Array} Returns the new empty array.
|
|
2049
|
-
* @example
|
|
2050
|
-
*
|
|
2051
|
-
* var arrays = _.times(2, _.stubArray);
|
|
2052
|
-
*
|
|
2053
|
-
* console.log(arrays);
|
|
2054
|
-
* // => [[], []]
|
|
2055
|
-
*
|
|
2056
|
-
* console.log(arrays[0] === arrays[1]);
|
|
2057
|
-
* // => false
|
|
2058
|
-
*/
|
|
2059
|
-
function stubArray() {
|
|
2060
|
-
return [];
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
/** Used for built-in method references. */
|
|
2064
|
-
var objectProto$1 = Object.prototype;
|
|
2065
|
-
|
|
2066
|
-
/** Built-in value references. */
|
|
2067
|
-
var propertyIsEnumerable = objectProto$1.propertyIsEnumerable;
|
|
2068
|
-
|
|
2069
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
2070
|
-
var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
|
|
2071
|
-
|
|
2072
|
-
/**
|
|
2073
|
-
* Creates an array of the own enumerable symbols of `object`.
|
|
2074
|
-
*
|
|
2075
|
-
* @private
|
|
2076
|
-
* @param {Object} object The object to query.
|
|
2077
|
-
* @returns {Array} Returns the array of symbols.
|
|
2078
|
-
*/
|
|
2079
|
-
var getSymbols = !nativeGetSymbols$1 ? stubArray : function(object) {
|
|
2080
|
-
if (object == null) {
|
|
2081
|
-
return [];
|
|
2082
|
-
}
|
|
2083
|
-
object = Object(object);
|
|
2084
|
-
return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
|
|
2085
|
-
return propertyIsEnumerable.call(object, symbol);
|
|
2086
|
-
});
|
|
2087
|
-
};
|
|
2088
|
-
|
|
2089
|
-
const getSymbols$1 = getSymbols;
|
|
2090
|
-
|
|
2091
|
-
/**
|
|
2092
|
-
* Copies own symbols of `source` to `object`.
|
|
2093
|
-
*
|
|
2094
|
-
* @private
|
|
2095
|
-
* @param {Object} source The object to copy symbols from.
|
|
2096
|
-
* @param {Object} [object={}] The object to copy symbols to.
|
|
2097
|
-
* @returns {Object} Returns `object`.
|
|
2098
|
-
*/
|
|
2099
|
-
function copySymbols(source, object) {
|
|
2100
|
-
return copyObject(source, getSymbols$1(source), object);
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
2104
|
-
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
2105
|
-
|
|
2106
|
-
/**
|
|
2107
|
-
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
2108
|
-
*
|
|
2109
|
-
* @private
|
|
2110
|
-
* @param {Object} object The object to query.
|
|
2111
|
-
* @returns {Array} Returns the array of symbols.
|
|
2112
|
-
*/
|
|
2113
|
-
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
|
2114
|
-
var result = [];
|
|
2115
|
-
while (object) {
|
|
2116
|
-
arrayPush(result, getSymbols$1(object));
|
|
2117
|
-
object = getPrototype$1(object);
|
|
2118
|
-
}
|
|
2119
|
-
return result;
|
|
2120
|
-
};
|
|
2121
|
-
|
|
2122
|
-
const getSymbolsIn$1 = getSymbolsIn;
|
|
2123
|
-
|
|
2124
|
-
/**
|
|
2125
|
-
* Copies own and inherited symbols of `source` to `object`.
|
|
2126
|
-
*
|
|
2127
|
-
* @private
|
|
2128
|
-
* @param {Object} source The object to copy symbols from.
|
|
2129
|
-
* @param {Object} [object={}] The object to copy symbols to.
|
|
2130
|
-
* @returns {Object} Returns `object`.
|
|
2131
|
-
*/
|
|
2132
|
-
function copySymbolsIn(source, object) {
|
|
2133
|
-
return copyObject(source, getSymbolsIn$1(source), object);
|
|
2134
|
-
}
|
|
2135
|
-
|
|
2136
|
-
/**
|
|
2137
|
-
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
2138
|
-
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
2139
|
-
* symbols of `object`.
|
|
2140
|
-
*
|
|
2141
|
-
* @private
|
|
2142
|
-
* @param {Object} object The object to query.
|
|
2143
|
-
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
2144
|
-
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
2145
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
2146
|
-
*/
|
|
2147
|
-
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
2148
|
-
var result = keysFunc(object);
|
|
2149
|
-
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
2150
|
-
}
|
|
2151
|
-
|
|
2152
|
-
/**
|
|
2153
|
-
* Creates an array of own enumerable property names and symbols of `object`.
|
|
2154
|
-
*
|
|
2155
|
-
* @private
|
|
2156
|
-
* @param {Object} object The object to query.
|
|
2157
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
2158
|
-
*/
|
|
2159
|
-
function getAllKeys(object) {
|
|
2160
|
-
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
2161
|
-
}
|
|
2162
|
-
|
|
2163
|
-
/**
|
|
2164
|
-
* Creates an array of own and inherited enumerable property names and
|
|
2165
|
-
* symbols of `object`.
|
|
2166
|
-
*
|
|
2167
|
-
* @private
|
|
2168
|
-
* @param {Object} object The object to query.
|
|
2169
|
-
* @returns {Array} Returns the array of property names and symbols.
|
|
2170
|
-
*/
|
|
2171
|
-
function getAllKeysIn(object) {
|
|
2172
|
-
return baseGetAllKeys(object, keysIn, getSymbolsIn$1);
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
/* Built-in method references that are verified to be native. */
|
|
2176
|
-
var DataView = getNative(root$1, 'DataView');
|
|
2177
|
-
|
|
2178
|
-
const DataView$1 = DataView;
|
|
2179
|
-
|
|
2180
|
-
/* Built-in method references that are verified to be native. */
|
|
2181
|
-
var Promise$1 = getNative(root$1, 'Promise');
|
|
2182
|
-
|
|
2183
|
-
const Promise$2 = Promise$1;
|
|
2184
|
-
|
|
2185
|
-
/* Built-in method references that are verified to be native. */
|
|
2186
|
-
var Set$1 = getNative(root$1, 'Set');
|
|
2187
|
-
|
|
2188
|
-
const Set$2 = Set$1;
|
|
2189
|
-
|
|
2190
|
-
/** `Object#toString` result references. */
|
|
2191
|
-
var mapTag$3 = '[object Map]',
|
|
2192
|
-
objectTag$1 = '[object Object]',
|
|
2193
|
-
promiseTag = '[object Promise]',
|
|
2194
|
-
setTag$3 = '[object Set]',
|
|
2195
|
-
weakMapTag$1 = '[object WeakMap]';
|
|
2196
|
-
|
|
2197
|
-
var dataViewTag$2 = '[object DataView]';
|
|
2198
|
-
|
|
2199
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
2200
|
-
var dataViewCtorString = toSource(DataView$1),
|
|
2201
|
-
mapCtorString = toSource(Map$2),
|
|
2202
|
-
promiseCtorString = toSource(Promise$2),
|
|
2203
|
-
setCtorString = toSource(Set$2),
|
|
2204
|
-
weakMapCtorString = toSource(WeakMap$2);
|
|
2205
|
-
|
|
2206
|
-
/**
|
|
2207
|
-
* Gets the `toStringTag` of `value`.
|
|
2208
|
-
*
|
|
2209
|
-
* @private
|
|
2210
|
-
* @param {*} value The value to query.
|
|
2211
|
-
* @returns {string} Returns the `toStringTag`.
|
|
2212
|
-
*/
|
|
2213
|
-
var getTag = baseGetTag;
|
|
2214
|
-
|
|
2215
|
-
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
2216
|
-
if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$2) ||
|
|
2217
|
-
(Map$2 && getTag(new Map$2) != mapTag$3) ||
|
|
2218
|
-
(Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
|
|
2219
|
-
(Set$2 && getTag(new Set$2) != setTag$3) ||
|
|
2220
|
-
(WeakMap$2 && getTag(new WeakMap$2) != weakMapTag$1)) {
|
|
2221
|
-
getTag = function(value) {
|
|
2222
|
-
var result = baseGetTag(value),
|
|
2223
|
-
Ctor = result == objectTag$1 ? value.constructor : undefined,
|
|
2224
|
-
ctorString = Ctor ? toSource(Ctor) : '';
|
|
2225
|
-
|
|
2226
|
-
if (ctorString) {
|
|
2227
|
-
switch (ctorString) {
|
|
2228
|
-
case dataViewCtorString: return dataViewTag$2;
|
|
2229
|
-
case mapCtorString: return mapTag$3;
|
|
2230
|
-
case promiseCtorString: return promiseTag;
|
|
2231
|
-
case setCtorString: return setTag$3;
|
|
2232
|
-
case weakMapCtorString: return weakMapTag$1;
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
return result;
|
|
2236
|
-
};
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
|
-
const getTag$1 = getTag;
|
|
2240
|
-
|
|
2241
|
-
/** Used for built-in method references. */
|
|
2242
|
-
var objectProto = Object.prototype;
|
|
2243
|
-
|
|
2244
|
-
/** Used to check objects for own properties. */
|
|
2245
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
2246
|
-
|
|
2247
|
-
/**
|
|
2248
|
-
* Initializes an array clone.
|
|
2249
|
-
*
|
|
2250
|
-
* @private
|
|
2251
|
-
* @param {Array} array The array to clone.
|
|
2252
|
-
* @returns {Array} Returns the initialized clone.
|
|
2253
|
-
*/
|
|
2254
|
-
function initCloneArray(array) {
|
|
2255
|
-
var length = array.length,
|
|
2256
|
-
result = new array.constructor(length);
|
|
2257
|
-
|
|
2258
|
-
// Add properties assigned by `RegExp#exec`.
|
|
2259
|
-
if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
|
|
2260
|
-
result.index = array.index;
|
|
2261
|
-
result.input = array.input;
|
|
2262
|
-
}
|
|
2263
|
-
return result;
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
/** Built-in value references. */
|
|
2267
|
-
var Uint8Array = root$1.Uint8Array;
|
|
2268
|
-
|
|
2269
|
-
const Uint8Array$1 = Uint8Array;
|
|
2270
|
-
|
|
2271
|
-
/**
|
|
2272
|
-
* Creates a clone of `arrayBuffer`.
|
|
2273
|
-
*
|
|
2274
|
-
* @private
|
|
2275
|
-
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
|
2276
|
-
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
|
2277
|
-
*/
|
|
2278
|
-
function cloneArrayBuffer(arrayBuffer) {
|
|
2279
|
-
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
|
2280
|
-
new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));
|
|
2281
|
-
return result;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
/**
|
|
2285
|
-
* Creates a clone of `dataView`.
|
|
2286
|
-
*
|
|
2287
|
-
* @private
|
|
2288
|
-
* @param {Object} dataView The data view to clone.
|
|
2289
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
2290
|
-
* @returns {Object} Returns the cloned data view.
|
|
2291
|
-
*/
|
|
2292
|
-
function cloneDataView(dataView, isDeep) {
|
|
2293
|
-
var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
|
|
2294
|
-
return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
|
|
2295
|
-
}
|
|
2296
|
-
|
|
2297
|
-
/** Used to match `RegExp` flags from their coerced string values. */
|
|
2298
|
-
var reFlags = /\w*$/;
|
|
2299
|
-
|
|
2300
|
-
/**
|
|
2301
|
-
* Creates a clone of `regexp`.
|
|
2302
|
-
*
|
|
2303
|
-
* @private
|
|
2304
|
-
* @param {Object} regexp The regexp to clone.
|
|
2305
|
-
* @returns {Object} Returns the cloned regexp.
|
|
2306
|
-
*/
|
|
2307
|
-
function cloneRegExp(regexp) {
|
|
2308
|
-
var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
|
|
2309
|
-
result.lastIndex = regexp.lastIndex;
|
|
2310
|
-
return result;
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
/** Used to convert symbols to primitives and strings. */
|
|
2314
|
-
var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
2315
|
-
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
2316
|
-
|
|
2317
|
-
/**
|
|
2318
|
-
* Creates a clone of the `symbol` object.
|
|
2319
|
-
*
|
|
2320
|
-
* @private
|
|
2321
|
-
* @param {Object} symbol The symbol object to clone.
|
|
2322
|
-
* @returns {Object} Returns the cloned symbol object.
|
|
2323
|
-
*/
|
|
2324
|
-
function cloneSymbol(symbol) {
|
|
2325
|
-
return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
/**
|
|
2329
|
-
* Creates a clone of `typedArray`.
|
|
2330
|
-
*
|
|
2331
|
-
* @private
|
|
2332
|
-
* @param {Object} typedArray The typed array to clone.
|
|
2333
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
2334
|
-
* @returns {Object} Returns the cloned typed array.
|
|
2335
|
-
*/
|
|
2336
|
-
function cloneTypedArray(typedArray, isDeep) {
|
|
2337
|
-
var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
|
|
2338
|
-
return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
|
-
/** `Object#toString` result references. */
|
|
2342
|
-
var boolTag$1 = '[object Boolean]',
|
|
2343
|
-
dateTag$1 = '[object Date]',
|
|
2344
|
-
mapTag$2 = '[object Map]',
|
|
2345
|
-
numberTag$1 = '[object Number]',
|
|
2346
|
-
regexpTag$1 = '[object RegExp]',
|
|
2347
|
-
setTag$2 = '[object Set]',
|
|
2348
|
-
stringTag$1 = '[object String]',
|
|
2349
|
-
symbolTag$1 = '[object Symbol]';
|
|
2350
|
-
|
|
2351
|
-
var arrayBufferTag$1 = '[object ArrayBuffer]',
|
|
2352
|
-
dataViewTag$1 = '[object DataView]',
|
|
2353
|
-
float32Tag$1 = '[object Float32Array]',
|
|
2354
|
-
float64Tag$1 = '[object Float64Array]',
|
|
2355
|
-
int8Tag$1 = '[object Int8Array]',
|
|
2356
|
-
int16Tag$1 = '[object Int16Array]',
|
|
2357
|
-
int32Tag$1 = '[object Int32Array]',
|
|
2358
|
-
uint8Tag$1 = '[object Uint8Array]',
|
|
2359
|
-
uint8ClampedTag$1 = '[object Uint8ClampedArray]',
|
|
2360
|
-
uint16Tag$1 = '[object Uint16Array]',
|
|
2361
|
-
uint32Tag$1 = '[object Uint32Array]';
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* Initializes an object clone based on its `toStringTag`.
|
|
2365
|
-
*
|
|
2366
|
-
* **Note:** This function only supports cloning values with tags of
|
|
2367
|
-
* `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
|
|
2368
|
-
*
|
|
2369
|
-
* @private
|
|
2370
|
-
* @param {Object} object The object to clone.
|
|
2371
|
-
* @param {string} tag The `toStringTag` of the object to clone.
|
|
2372
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
2373
|
-
* @returns {Object} Returns the initialized clone.
|
|
2374
|
-
*/
|
|
2375
|
-
function initCloneByTag(object, tag, isDeep) {
|
|
2376
|
-
var Ctor = object.constructor;
|
|
2377
|
-
switch (tag) {
|
|
2378
|
-
case arrayBufferTag$1:
|
|
2379
|
-
return cloneArrayBuffer(object);
|
|
2380
|
-
|
|
2381
|
-
case boolTag$1:
|
|
2382
|
-
case dateTag$1:
|
|
2383
|
-
return new Ctor(+object);
|
|
2384
|
-
|
|
2385
|
-
case dataViewTag$1:
|
|
2386
|
-
return cloneDataView(object, isDeep);
|
|
2387
|
-
|
|
2388
|
-
case float32Tag$1: case float64Tag$1:
|
|
2389
|
-
case int8Tag$1: case int16Tag$1: case int32Tag$1:
|
|
2390
|
-
case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
|
|
2391
|
-
return cloneTypedArray(object, isDeep);
|
|
2392
|
-
|
|
2393
|
-
case mapTag$2:
|
|
2394
|
-
return new Ctor;
|
|
2395
|
-
|
|
2396
|
-
case numberTag$1:
|
|
2397
|
-
case stringTag$1:
|
|
2398
|
-
return new Ctor(object);
|
|
2399
|
-
|
|
2400
|
-
case regexpTag$1:
|
|
2401
|
-
return cloneRegExp(object);
|
|
2402
|
-
|
|
2403
|
-
case setTag$2:
|
|
2404
|
-
return new Ctor;
|
|
2405
|
-
|
|
2406
|
-
case symbolTag$1:
|
|
2407
|
-
return cloneSymbol(object);
|
|
2408
|
-
}
|
|
2409
|
-
}
|
|
2410
|
-
|
|
2411
|
-
/**
|
|
2412
|
-
* Initializes an object clone.
|
|
2413
|
-
*
|
|
2414
|
-
* @private
|
|
2415
|
-
* @param {Object} object The object to clone.
|
|
2416
|
-
* @returns {Object} Returns the initialized clone.
|
|
2417
|
-
*/
|
|
2418
|
-
function initCloneObject(object) {
|
|
2419
|
-
return (typeof object.constructor == 'function' && !isPrototype(object))
|
|
2420
|
-
? baseCreate$1(getPrototype$1(object))
|
|
2421
|
-
: {};
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
/** `Object#toString` result references. */
|
|
2425
|
-
var mapTag$1 = '[object Map]';
|
|
2426
|
-
|
|
2427
|
-
/**
|
|
2428
|
-
* The base implementation of `_.isMap` without Node.js optimizations.
|
|
2429
|
-
*
|
|
2430
|
-
* @private
|
|
2431
|
-
* @param {*} value The value to check.
|
|
2432
|
-
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
|
2433
|
-
*/
|
|
2434
|
-
function baseIsMap(value) {
|
|
2435
|
-
return isObjectLike(value) && getTag$1(value) == mapTag$1;
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
/* Node.js helper references. */
|
|
2439
|
-
var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
|
|
2440
|
-
|
|
2441
|
-
/**
|
|
2442
|
-
* Checks if `value` is classified as a `Map` object.
|
|
2443
|
-
*
|
|
2444
|
-
* @static
|
|
2445
|
-
* @memberOf _
|
|
2446
|
-
* @since 4.3.0
|
|
2447
|
-
* @category Lang
|
|
2448
|
-
* @param {*} value The value to check.
|
|
2449
|
-
* @returns {boolean} Returns `true` if `value` is a map, else `false`.
|
|
2450
|
-
* @example
|
|
2451
|
-
*
|
|
2452
|
-
* _.isMap(new Map);
|
|
2453
|
-
* // => true
|
|
2454
|
-
*
|
|
2455
|
-
* _.isMap(new WeakMap);
|
|
2456
|
-
* // => false
|
|
2457
|
-
*/
|
|
2458
|
-
var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
|
|
2459
|
-
|
|
2460
|
-
const isMap$1 = isMap;
|
|
2461
|
-
|
|
2462
|
-
/** `Object#toString` result references. */
|
|
2463
|
-
var setTag$1 = '[object Set]';
|
|
2464
|
-
|
|
2465
|
-
/**
|
|
2466
|
-
* The base implementation of `_.isSet` without Node.js optimizations.
|
|
2467
|
-
*
|
|
2468
|
-
* @private
|
|
2469
|
-
* @param {*} value The value to check.
|
|
2470
|
-
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
|
2471
|
-
*/
|
|
2472
|
-
function baseIsSet(value) {
|
|
2473
|
-
return isObjectLike(value) && getTag$1(value) == setTag$1;
|
|
2474
|
-
}
|
|
2475
|
-
|
|
2476
|
-
/* Node.js helper references. */
|
|
2477
|
-
var nodeIsSet = nodeUtil$1 && nodeUtil$1.isSet;
|
|
2478
|
-
|
|
2479
|
-
/**
|
|
2480
|
-
* Checks if `value` is classified as a `Set` object.
|
|
2481
|
-
*
|
|
2482
|
-
* @static
|
|
2483
|
-
* @memberOf _
|
|
2484
|
-
* @since 4.3.0
|
|
2485
|
-
* @category Lang
|
|
2486
|
-
* @param {*} value The value to check.
|
|
2487
|
-
* @returns {boolean} Returns `true` if `value` is a set, else `false`.
|
|
2488
|
-
* @example
|
|
2489
|
-
*
|
|
2490
|
-
* _.isSet(new Set);
|
|
2491
|
-
* // => true
|
|
2492
|
-
*
|
|
2493
|
-
* _.isSet(new WeakSet);
|
|
2494
|
-
* // => false
|
|
2495
|
-
*/
|
|
2496
|
-
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
|
2497
|
-
|
|
2498
|
-
const isSet$1 = isSet;
|
|
2499
|
-
|
|
2500
|
-
/** Used to compose bitmasks for cloning. */
|
|
2501
|
-
var CLONE_DEEP_FLAG$1 = 1,
|
|
2502
|
-
CLONE_FLAT_FLAG = 2,
|
|
2503
|
-
CLONE_SYMBOLS_FLAG$1 = 4;
|
|
2504
|
-
|
|
2505
|
-
/** `Object#toString` result references. */
|
|
2506
|
-
var argsTag = '[object Arguments]',
|
|
2507
|
-
arrayTag = '[object Array]',
|
|
2508
|
-
boolTag = '[object Boolean]',
|
|
2509
|
-
dateTag = '[object Date]',
|
|
2510
|
-
errorTag = '[object Error]',
|
|
2511
|
-
funcTag = '[object Function]',
|
|
2512
|
-
genTag = '[object GeneratorFunction]',
|
|
2513
|
-
mapTag = '[object Map]',
|
|
2514
|
-
numberTag = '[object Number]',
|
|
2515
|
-
objectTag = '[object Object]',
|
|
2516
|
-
regexpTag = '[object RegExp]',
|
|
2517
|
-
setTag = '[object Set]',
|
|
2518
|
-
stringTag = '[object String]',
|
|
2519
|
-
symbolTag = '[object Symbol]',
|
|
2520
|
-
weakMapTag = '[object WeakMap]';
|
|
2521
|
-
|
|
2522
|
-
var arrayBufferTag = '[object ArrayBuffer]',
|
|
2523
|
-
dataViewTag = '[object DataView]',
|
|
2524
|
-
float32Tag = '[object Float32Array]',
|
|
2525
|
-
float64Tag = '[object Float64Array]',
|
|
2526
|
-
int8Tag = '[object Int8Array]',
|
|
2527
|
-
int16Tag = '[object Int16Array]',
|
|
2528
|
-
int32Tag = '[object Int32Array]',
|
|
2529
|
-
uint8Tag = '[object Uint8Array]',
|
|
2530
|
-
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
2531
|
-
uint16Tag = '[object Uint16Array]',
|
|
2532
|
-
uint32Tag = '[object Uint32Array]';
|
|
2533
|
-
|
|
2534
|
-
/** Used to identify `toStringTag` values supported by `_.clone`. */
|
|
2535
|
-
var cloneableTags = {};
|
|
2536
|
-
cloneableTags[argsTag] = cloneableTags[arrayTag] =
|
|
2537
|
-
cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
|
|
2538
|
-
cloneableTags[boolTag] = cloneableTags[dateTag] =
|
|
2539
|
-
cloneableTags[float32Tag] = cloneableTags[float64Tag] =
|
|
2540
|
-
cloneableTags[int8Tag] = cloneableTags[int16Tag] =
|
|
2541
|
-
cloneableTags[int32Tag] = cloneableTags[mapTag] =
|
|
2542
|
-
cloneableTags[numberTag] = cloneableTags[objectTag] =
|
|
2543
|
-
cloneableTags[regexpTag] = cloneableTags[setTag] =
|
|
2544
|
-
cloneableTags[stringTag] = cloneableTags[symbolTag] =
|
|
2545
|
-
cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
|
|
2546
|
-
cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
|
|
2547
|
-
cloneableTags[errorTag] = cloneableTags[funcTag] =
|
|
2548
|
-
cloneableTags[weakMapTag] = false;
|
|
2549
|
-
|
|
2550
|
-
/**
|
|
2551
|
-
* The base implementation of `_.clone` and `_.cloneDeep` which tracks
|
|
2552
|
-
* traversed objects.
|
|
2553
|
-
*
|
|
2554
|
-
* @private
|
|
2555
|
-
* @param {*} value The value to clone.
|
|
2556
|
-
* @param {boolean} bitmask The bitmask flags.
|
|
2557
|
-
* 1 - Deep clone
|
|
2558
|
-
* 2 - Flatten inherited properties
|
|
2559
|
-
* 4 - Clone symbols
|
|
2560
|
-
* @param {Function} [customizer] The function to customize cloning.
|
|
2561
|
-
* @param {string} [key] The key of `value`.
|
|
2562
|
-
* @param {Object} [object] The parent object of `value`.
|
|
2563
|
-
* @param {Object} [stack] Tracks traversed objects and their clone counterparts.
|
|
2564
|
-
* @returns {*} Returns the cloned value.
|
|
2565
|
-
*/
|
|
2566
|
-
function baseClone(value, bitmask, customizer, key, object, stack) {
|
|
2567
|
-
var result,
|
|
2568
|
-
isDeep = bitmask & CLONE_DEEP_FLAG$1,
|
|
2569
|
-
isFlat = bitmask & CLONE_FLAT_FLAG,
|
|
2570
|
-
isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
|
|
2571
|
-
|
|
2572
|
-
if (customizer) {
|
|
2573
|
-
result = object ? customizer(value, key, object, stack) : customizer(value);
|
|
2574
|
-
}
|
|
2575
|
-
if (result !== undefined) {
|
|
2576
|
-
return result;
|
|
2577
|
-
}
|
|
2578
|
-
if (!isObject(value)) {
|
|
2579
|
-
return value;
|
|
2580
|
-
}
|
|
2581
|
-
var isArr = isArray$1(value);
|
|
2582
|
-
if (isArr) {
|
|
2583
|
-
result = initCloneArray(value);
|
|
2584
|
-
if (!isDeep) {
|
|
2585
|
-
return copyArray(value, result);
|
|
2586
|
-
}
|
|
2587
|
-
} else {
|
|
2588
|
-
var tag = getTag$1(value),
|
|
2589
|
-
isFunc = tag == funcTag || tag == genTag;
|
|
2590
|
-
|
|
2591
|
-
if (isBuffer$1(value)) {
|
|
2592
|
-
return cloneBuffer(value, isDeep);
|
|
2593
|
-
}
|
|
2594
|
-
if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
|
|
2595
|
-
result = (isFlat || isFunc) ? {} : initCloneObject(value);
|
|
2596
|
-
if (!isDeep) {
|
|
2597
|
-
return isFlat
|
|
2598
|
-
? copySymbolsIn(value, baseAssignIn(result, value))
|
|
2599
|
-
: copySymbols(value, baseAssign(result, value));
|
|
2600
|
-
}
|
|
2601
|
-
} else {
|
|
2602
|
-
if (!cloneableTags[tag]) {
|
|
2603
|
-
return object ? value : {};
|
|
2604
|
-
}
|
|
2605
|
-
result = initCloneByTag(value, tag, isDeep);
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
// Check for circular references and return its corresponding clone.
|
|
2609
|
-
stack || (stack = new Stack);
|
|
2610
|
-
var stacked = stack.get(value);
|
|
2611
|
-
if (stacked) {
|
|
2612
|
-
return stacked;
|
|
2613
|
-
}
|
|
2614
|
-
stack.set(value, result);
|
|
2615
|
-
|
|
2616
|
-
if (isSet$1(value)) {
|
|
2617
|
-
value.forEach(function(subValue) {
|
|
2618
|
-
result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
|
|
2619
|
-
});
|
|
2620
|
-
} else if (isMap$1(value)) {
|
|
2621
|
-
value.forEach(function(subValue, key) {
|
|
2622
|
-
result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
|
2623
|
-
});
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
var keysFunc = isFull
|
|
2627
|
-
? (isFlat ? getAllKeysIn : getAllKeys)
|
|
2628
|
-
: (isFlat ? keysIn : keys);
|
|
2629
|
-
|
|
2630
|
-
var props = isArr ? undefined : keysFunc(value);
|
|
2631
|
-
arrayEach(props || value, function(subValue, key) {
|
|
2632
|
-
if (props) {
|
|
2633
|
-
key = subValue;
|
|
2634
|
-
subValue = value[key];
|
|
2635
|
-
}
|
|
2636
|
-
// Recursively populate clone (susceptible to call stack limits).
|
|
2637
|
-
assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));
|
|
2638
|
-
});
|
|
2639
|
-
return result;
|
|
2640
|
-
}
|
|
2641
|
-
|
|
2642
|
-
/** Used to compose bitmasks for cloning. */
|
|
2643
|
-
var CLONE_DEEP_FLAG = 1,
|
|
2644
|
-
CLONE_SYMBOLS_FLAG = 4;
|
|
2645
|
-
|
|
2646
|
-
/**
|
|
2647
|
-
* This method is like `_.clone` except that it recursively clones `value`.
|
|
2648
|
-
*
|
|
2649
|
-
* @static
|
|
2650
|
-
* @memberOf _
|
|
2651
|
-
* @since 1.0.0
|
|
2652
|
-
* @category Lang
|
|
2653
|
-
* @param {*} value The value to recursively clone.
|
|
2654
|
-
* @returns {*} Returns the deep cloned value.
|
|
2655
|
-
* @see _.clone
|
|
2656
|
-
* @example
|
|
2657
|
-
*
|
|
2658
|
-
* var objects = [{ 'a': 1 }, { 'b': 2 }];
|
|
2659
|
-
*
|
|
2660
|
-
* var deep = _.cloneDeep(objects);
|
|
2661
|
-
* console.log(deep[0] === objects[0]);
|
|
2662
|
-
* // => false
|
|
2663
|
-
*/
|
|
2664
|
-
function cloneDeep(value) {
|
|
2665
|
-
return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
function clone(obj) {
|
|
2669
|
-
if (structuredClone) {
|
|
2670
|
-
return structuredClone(obj);
|
|
2671
|
-
}
|
|
2672
|
-
return cloneDeep(obj);
|
|
2673
|
-
}
|
|
2674
|
-
|
|
2675
|
-
/**
|
|
2676
|
-
* The default UI Config
|
|
2677
|
-
*/
|
|
2678
|
-
const defaultConfig = {
|
|
2679
|
-
designTokens: {
|
|
2680
|
-
spacingBase: 4,
|
|
2681
|
-
googleFont: 'Inter',
|
|
2682
|
-
},
|
|
2683
|
-
styles: {
|
|
2684
|
-
// 'rtk-meeting': {
|
|
2685
|
-
// NOTE(vaibhavshn): required for mobile devices with static positioning
|
|
2686
|
-
// not required for fixed position
|
|
2687
|
-
// height: '-webkit-fill-available',
|
|
2688
|
-
// },
|
|
2689
|
-
'rtk-header': {
|
|
2690
|
-
display: 'grid',
|
|
2691
|
-
height: '48px',
|
|
2692
|
-
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
2693
|
-
gridTemplateRows: '1fr',
|
|
2694
|
-
alignItems: 'center',
|
|
2695
|
-
'--header-section-gap': 'var(--rtk-space-2, 8px)',
|
|
2696
|
-
},
|
|
2697
|
-
'rtk-header.sm': {
|
|
2698
|
-
display: 'grid',
|
|
2699
|
-
gridArea: 'header',
|
|
2700
|
-
gridTemplateColumns: 'repeat(2, 1fr)',
|
|
2701
|
-
gridTemplateRows: '1fr',
|
|
2702
|
-
alignItems: 'center',
|
|
2703
|
-
'--header-section-gap': 'var(--rtk-space-1, 4px)',
|
|
2704
|
-
},
|
|
2705
|
-
'div#header-left': {
|
|
2706
|
-
display: 'flex',
|
|
2707
|
-
alignItems: 'center',
|
|
2708
|
-
height: '48px',
|
|
2709
|
-
wordBreak: 'break-all',
|
|
2710
|
-
gap: 'var(--header-section-gap)',
|
|
2711
|
-
},
|
|
2712
|
-
'rtk-logo': {
|
|
2713
|
-
height: '26px',
|
|
2714
|
-
},
|
|
2715
|
-
'div#header-center': {
|
|
2716
|
-
display: 'flex',
|
|
2717
|
-
alignItems: 'center',
|
|
2718
|
-
justifyContent: 'center',
|
|
2719
|
-
wordBreak: 'break-all',
|
|
2720
|
-
gap: 'var(--header-section-gap)',
|
|
2721
|
-
paddingInline: 'var(--rtk-space-3, 12px)',
|
|
2722
|
-
},
|
|
2723
|
-
'div#header-right': {
|
|
2724
|
-
display: 'flex',
|
|
2725
|
-
alignItems: 'center',
|
|
2726
|
-
justifyContent: 'flex-end',
|
|
2727
|
-
gap: 'var(--header-section-gap)',
|
|
2728
|
-
},
|
|
2729
|
-
'rtk-stage': {
|
|
2730
|
-
display: 'flex',
|
|
2731
|
-
flex: '1',
|
|
2732
|
-
},
|
|
2733
|
-
'rtk-grid': {
|
|
2734
|
-
flex: '1',
|
|
2735
|
-
height: 'auto',
|
|
2736
|
-
},
|
|
2737
|
-
'rtk-controlbar': {
|
|
2738
|
-
display: 'grid',
|
|
2739
|
-
gridTemplateColumns: 'repeat(3,1fr)',
|
|
2740
|
-
gridTemplateRows: '1fr',
|
|
2741
|
-
alignItems: 'center',
|
|
2742
|
-
padding: '8px',
|
|
2743
|
-
},
|
|
2744
|
-
'rtk-controlbar.sm': {
|
|
2745
|
-
display: 'flex',
|
|
2746
|
-
position: 'relative',
|
|
2747
|
-
backgroundColor: 'rgb(var(--rtk-colors-background-1000, 0 0 0))',
|
|
2748
|
-
},
|
|
2749
|
-
'rtk-controlbar.md': {
|
|
2750
|
-
display: 'flex',
|
|
2751
|
-
position: 'relative',
|
|
2752
|
-
backgroundColor: 'rgb(var(--rtk-colors-background-1000, 0 0 0))',
|
|
2753
|
-
},
|
|
2754
|
-
'div#controlbar-left': {
|
|
2755
|
-
display: 'flex',
|
|
2756
|
-
alignItems: 'center',
|
|
2757
|
-
gap: 'var(--rtk-space-1, 4px)',
|
|
2758
|
-
},
|
|
2759
|
-
'div#controlbar-center': {
|
|
2760
|
-
display: 'flex',
|
|
2761
|
-
alignItems: 'center',
|
|
2762
|
-
gap: 'var(--rtk-space-1, 4px)',
|
|
2763
|
-
position: 'relative',
|
|
2764
|
-
overflow: 'visible',
|
|
2765
|
-
justifyContent: 'center',
|
|
2766
|
-
},
|
|
2767
|
-
'div#controlbar-mobile': {
|
|
2768
|
-
display: 'flex',
|
|
2769
|
-
flex: '1',
|
|
2770
|
-
alignItems: 'center',
|
|
2771
|
-
gap: 'var(--rtk-space-1, 4px)',
|
|
2772
|
-
justifyContent: 'center',
|
|
2773
|
-
},
|
|
2774
|
-
'div#controlbar-right': {
|
|
2775
|
-
display: 'flex',
|
|
2776
|
-
alignItems: 'center',
|
|
2777
|
-
gap: 'var(--rtk-space-1, 4px)',
|
|
2778
|
-
justifyContent: 'flex-end',
|
|
2779
|
-
},
|
|
2780
|
-
'rtk-settings': {
|
|
2781
|
-
width: '720px',
|
|
2782
|
-
height: '480px',
|
|
2783
|
-
},
|
|
2784
|
-
'rtk-debugger': {
|
|
2785
|
-
width: '720px',
|
|
2786
|
-
height: '480px',
|
|
2787
|
-
},
|
|
2788
|
-
'rtk-breakout-rooms-manager': {
|
|
2789
|
-
minHeight: '400px',
|
|
2790
|
-
minWidth: '500px',
|
|
2791
|
-
maxWidth: '80%',
|
|
2792
|
-
maxHeight: '480px',
|
|
2793
|
-
},
|
|
2794
|
-
'div#setupcontrols-media': {
|
|
2795
|
-
position: 'absolute',
|
|
2796
|
-
bottom: '8px',
|
|
2797
|
-
right: '8px',
|
|
2798
|
-
display: 'flex',
|
|
2799
|
-
gap: '4px',
|
|
2800
|
-
},
|
|
2801
|
-
'div#setupcontrols-settings': {
|
|
2802
|
-
position: 'absolute',
|
|
2803
|
-
top: '8px',
|
|
2804
|
-
right: '8px',
|
|
2805
|
-
display: 'flex',
|
|
2806
|
-
flexDirection: 'column',
|
|
2807
|
-
gap: '6px',
|
|
2808
|
-
},
|
|
2809
|
-
'rtk-meeting-title.sm': {
|
|
2810
|
-
marginLeft: '0',
|
|
2811
|
-
},
|
|
2812
|
-
'rtk-clock': {
|
|
2813
|
-
marginRight: '0',
|
|
2814
|
-
},
|
|
2815
|
-
},
|
|
2816
|
-
root: {
|
|
2817
|
-
'rtk-meeting': {
|
|
2818
|
-
// if using key value pair, provide the key in `state`
|
|
2819
|
-
// else provide array of states in `states`
|
|
2820
|
-
state: 'meeting',
|
|
2821
|
-
states: ['activeSidebar'],
|
|
2822
|
-
},
|
|
2823
|
-
'rtk-meeting[meeting=waiting]': ['rtk-waiting-screen'],
|
|
2824
|
-
'rtk-meeting[meeting=idle]': ['rtk-idle-screen'],
|
|
2825
|
-
'rtk-meeting[meeting=setup]': ['rtk-setup-screen', 'rtk-dialog-manager'],
|
|
2826
|
-
'rtk-meeting[meeting=joined]': [
|
|
2827
|
-
'rtk-header',
|
|
2828
|
-
'rtk-stage',
|
|
2829
|
-
'rtk-controlbar',
|
|
2830
|
-
'rtk-participants-audio',
|
|
2831
|
-
'rtk-dialog-manager',
|
|
2832
|
-
],
|
|
2833
|
-
'rtk-meeting[meeting=joined].activeSidebar.sm': {
|
|
2834
|
-
add: [['rtk-sidebar', { view: 'full-screen' }]],
|
|
2835
|
-
},
|
|
2836
|
-
'rtk-meeting[meeting=joined].activeSidebar.md': {
|
|
2837
|
-
add: [['rtk-sidebar', { view: 'full-screen' }]],
|
|
2838
|
-
},
|
|
2839
|
-
'rtk-meeting[meeting=ended]': ['rtk-ended-screen'],
|
|
2840
|
-
'rtk-header': ['div#header-left', 'div#header-center', 'div#header-right'],
|
|
2841
|
-
'rtk-header.sm': { remove: ['div#header-center'] },
|
|
2842
|
-
'div#header-left': ['rtk-logo', 'rtk-recording-indicator', 'rtk-livestream-indicator'],
|
|
2843
|
-
'div#header-center': ['rtk-meeting-title'],
|
|
2844
|
-
'div#header-right': [
|
|
2845
|
-
'rtk-grid-pagination',
|
|
2846
|
-
'rtk-clock',
|
|
2847
|
-
'rtk-participant-count',
|
|
2848
|
-
'rtk-viewer-count',
|
|
2849
|
-
],
|
|
2850
|
-
'div#header-left.sm': [
|
|
2851
|
-
'rtk-meeting-title',
|
|
2852
|
-
'rtk-recording-indicator',
|
|
2853
|
-
'rtk-livestream-indicator',
|
|
2854
|
-
],
|
|
2855
|
-
'rtk-stage': {
|
|
2856
|
-
states: ['activeSidebar'],
|
|
2857
|
-
children: ['rtk-grid', 'rtk-notifications', 'rtk-transcripts'],
|
|
2858
|
-
},
|
|
2859
|
-
'rtk-stage.activeSidebar': {
|
|
2860
|
-
add: [['rtk-sidebar', { view: 'sidebar' }]],
|
|
2861
|
-
},
|
|
2862
|
-
// hide sidebar for smaller screens
|
|
2863
|
-
'rtk-stage.activeSidebar.sm': { remove: ['rtk-sidebar'] },
|
|
2864
|
-
'rtk-grid': {
|
|
2865
|
-
states: ['activeScreenShare', 'activePlugin', 'activeSpotlight'],
|
|
2866
|
-
children: ['rtk-simple-grid'],
|
|
2867
|
-
},
|
|
2868
|
-
'rtk-grid.activeSpotlight': ['rtk-spotlight-grid'],
|
|
2869
|
-
'rtk-grid.activeScreenShare': ['rtk-mixed-grid'],
|
|
2870
|
-
'rtk-grid.activePlugin': ['rtk-mixed-grid'],
|
|
2871
|
-
'rtk-grid.activeScreenShare.activeSpotlight': ['rtk-mixed-grid'],
|
|
2872
|
-
'rtk-grid.activePlugin.activeSpotlight': ['rtk-mixed-grid'],
|
|
2873
|
-
'rtk-grid.activePlugin.activeScreenShare.activeSpotlight': ['rtk-mixed-grid'],
|
|
2874
|
-
'rtk-mixed-grid': {
|
|
2875
|
-
states: ['activeSpotlight'],
|
|
2876
|
-
children: ['rtk-simple-grid'],
|
|
2877
|
-
},
|
|
2878
|
-
'rtk-mixed-grid.activeSpotlight': ['rtk-spotlight-grid'],
|
|
2879
|
-
'rtk-participant-tile': {
|
|
2880
|
-
state: 'meeting',
|
|
2881
|
-
children: ['rtk-name-tag', 'rtk-avatar', 'rtk-network-indicator'],
|
|
2882
|
-
},
|
|
2883
|
-
'rtk-participant-setup': ['rtk-avatar', 'div#setupcontrols-media'],
|
|
2884
|
-
'rtk-participant-tile[meeting=setup]': [
|
|
2885
|
-
'rtk-avatar',
|
|
2886
|
-
'div#setupcontrols-settings',
|
|
2887
|
-
'div#setupcontrols-media',
|
|
2888
|
-
],
|
|
2889
|
-
'div#setupcontrols-media': [
|
|
2890
|
-
['rtk-mic-toggle', { size: 'sm' }],
|
|
2891
|
-
['rtk-camera-toggle', { size: 'sm' }],
|
|
2892
|
-
],
|
|
2893
|
-
'div#setupcontrols-settings': [['rtk-settings-toggle', { size: 'sm' }]],
|
|
2894
|
-
'rtk-screenshare-view': {
|
|
2895
|
-
children: ['rtk-name-tag', 'rtk-network-indicator'],
|
|
2896
|
-
},
|
|
2897
|
-
'rtk-name-tag': [['rtk-audio-visualizer', { slot: 'start' }]],
|
|
2898
|
-
'rtk-controlbar': {
|
|
2899
|
-
states: ['activeMoreMenu'],
|
|
2900
|
-
props: {
|
|
2901
|
-
variant: 'solid',
|
|
2902
|
-
},
|
|
2903
|
-
children: ['div#controlbar-left', 'div#controlbar-center', 'div#controlbar-right'],
|
|
2904
|
-
},
|
|
2905
|
-
'rtk-more-toggle': {
|
|
2906
|
-
states: ['activeMoreMenu'],
|
|
2907
|
-
children: [],
|
|
2908
|
-
},
|
|
2909
|
-
'rtk-controlbar.sm': ['div#controlbar-mobile'],
|
|
2910
|
-
'rtk-controlbar.md': ['div#controlbar-mobile'],
|
|
2911
|
-
'rtk-more-toggle.activeMoreMenu': [
|
|
2912
|
-
['rtk-fullscreen-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2913
|
-
['rtk-pip-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2914
|
-
['rtk-caption-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2915
|
-
['rtk-mute-all-button', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2916
|
-
['rtk-breakout-rooms-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2917
|
-
['rtk-recording-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2918
|
-
['rtk-debugger-toggle', { variant: 'horizontal' }],
|
|
2919
|
-
],
|
|
2920
|
-
'rtk-more-toggle.activeMoreMenu.sm': [
|
|
2921
|
-
['rtk-chat-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2922
|
-
['rtk-participants-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2923
|
-
['rtk-polls-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2924
|
-
['rtk-plugins-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2925
|
-
['rtk-fullscreen-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2926
|
-
['rtk-screen-share-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2927
|
-
['rtk-pip-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2928
|
-
['rtk-caption-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2929
|
-
['rtk-mute-all-button', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2930
|
-
['rtk-breakout-rooms-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2931
|
-
['rtk-settings-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2932
|
-
['rtk-ai-toggle', { variant: 'horizontal' }],
|
|
2933
|
-
['rtk-debugger-toggle', { variant: 'horizontal' }],
|
|
2934
|
-
],
|
|
2935
|
-
'rtk-more-toggle.activeMoreMenu.md': [
|
|
2936
|
-
['rtk-chat-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2937
|
-
['rtk-participants-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2938
|
-
['rtk-polls-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2939
|
-
['rtk-plugins-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2940
|
-
['rtk-fullscreen-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2941
|
-
['rtk-screen-share-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2942
|
-
['rtk-pip-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2943
|
-
['rtk-caption-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2944
|
-
['rtk-mute-all-button', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2945
|
-
['rtk-breakout-rooms-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2946
|
-
['rtk-settings-toggle', { variant: 'horizontal', slot: 'more-elements' }],
|
|
2947
|
-
['rtk-ai-toggle', { variant: 'horizontal' }],
|
|
2948
|
-
['rtk-debugger-toggle', { variant: 'horizontal' }],
|
|
2949
|
-
],
|
|
2950
|
-
'div#controlbar-mobile': [
|
|
2951
|
-
'rtk-mic-toggle',
|
|
2952
|
-
'rtk-camera-toggle',
|
|
2953
|
-
'rtk-webinar-stage-toggle',
|
|
2954
|
-
'rtk-stage-toggle',
|
|
2955
|
-
'rtk-leave-button',
|
|
2956
|
-
'rtk-more-toggle',
|
|
2957
|
-
],
|
|
2958
|
-
'div#controlbar-left': [
|
|
2959
|
-
'rtk-settings-toggle',
|
|
2960
|
-
'rtk-screen-share-toggle',
|
|
2961
|
-
'rtk-livestream-toggle',
|
|
2962
|
-
],
|
|
2963
|
-
'div#controlbar-center': [
|
|
2964
|
-
'rtk-mic-toggle',
|
|
2965
|
-
'rtk-camera-toggle',
|
|
2966
|
-
'rtk-webinar-stage-toggle',
|
|
2967
|
-
'rtk-stage-toggle',
|
|
2968
|
-
'rtk-more-toggle',
|
|
2969
|
-
'rtk-leave-button',
|
|
2970
|
-
],
|
|
2971
|
-
'div#controlbar-right': [
|
|
2972
|
-
'rtk-chat-toggle',
|
|
2973
|
-
'rtk-polls-toggle',
|
|
2974
|
-
'rtk-participants-toggle',
|
|
2975
|
-
'rtk-plugins-toggle',
|
|
2976
|
-
'rtk-ai-toggle',
|
|
2977
|
-
],
|
|
2978
|
-
},
|
|
2979
|
-
config: {
|
|
2980
|
-
notification_sounds: {
|
|
2981
|
-
participant_left: false,
|
|
2982
|
-
},
|
|
2983
|
-
participant_joined_sound_notification_limit: 10,
|
|
2984
|
-
participant_chat_message_sound_notification_limit: 10,
|
|
2985
|
-
videoFit: 'cover',
|
|
2986
|
-
},
|
|
2987
|
-
};
|
|
2988
|
-
const createDefaultConfig = () => {
|
|
2989
|
-
return clone(defaultConfig);
|
|
2990
|
-
};
|
|
2991
|
-
|
|
2992
|
-
/**
|
|
2993
|
-
* Can view the livestream
|
|
2994
|
-
*/
|
|
2995
|
-
const isLiveStreamViewer = (meeting) => {
|
|
2996
|
-
if (!showLivestream(meeting))
|
|
2997
|
-
return false;
|
|
2998
|
-
return meeting.meta.viewType === 'LIVESTREAM' && meeting.stage.status !== 'ON_STAGE';
|
|
2999
|
-
};
|
|
3000
|
-
/**
|
|
3001
|
-
* Can start/stop the livestream
|
|
3002
|
-
*/
|
|
3003
|
-
const isLiveStreamHost = (meeting) => {
|
|
3004
|
-
var _a;
|
|
3005
|
-
if (!showLivestream(meeting))
|
|
3006
|
-
return false;
|
|
3007
|
-
return meeting.meta.viewType === 'LIVESTREAM' && ((_a = meeting === null || meeting === void 0 ? void 0 : meeting.self) === null || _a === void 0 ? void 0 : _a.permissions.canLivestream);
|
|
3008
|
-
};
|
|
3009
|
-
const showLivestream = (meeting) => {
|
|
3010
|
-
return meeting === null || meeting === void 0 ? void 0 : meeting.livestream;
|
|
3011
|
-
};
|
|
3012
|
-
var PlayerState;
|
|
3013
|
-
(function (PlayerState) {
|
|
3014
|
-
PlayerState["BUFFERING"] = "Buffering";
|
|
3015
|
-
PlayerState["ENDED"] = "Ended";
|
|
3016
|
-
PlayerState["IDLE"] = "Idle";
|
|
3017
|
-
PlayerState["PAUSED"] = "Paused";
|
|
3018
|
-
PlayerState["PLAYING"] = "Playing";
|
|
3019
|
-
PlayerState["READY"] = "Ready";
|
|
3020
|
-
})(PlayerState || (PlayerState = {}));
|
|
3021
|
-
var PlayerEventType;
|
|
3022
|
-
(function (PlayerEventType) {
|
|
3023
|
-
PlayerEventType["INITIALIZED"] = "PlayerInitialized";
|
|
3024
|
-
PlayerEventType["QUALITY_CHANGED"] = "PlayerQualityChanged";
|
|
3025
|
-
PlayerEventType["DURATION_CHANGED"] = "PlayerDurationChanged";
|
|
3026
|
-
PlayerEventType["VOLUME_CHANGED"] = "PlayerVolumeChanged";
|
|
3027
|
-
PlayerEventType["MUTED_CHANGED"] = "PlayerMutedChanged";
|
|
3028
|
-
PlayerEventType["PLAYBACK_RATE_CHANGED"] = "PlayerPlaybackRateChanged";
|
|
3029
|
-
PlayerEventType["REBUFFERING"] = "PlayerRebuffering";
|
|
3030
|
-
PlayerEventType["AUDIO_BLOCKED"] = "PlayerAudioBlocked";
|
|
3031
|
-
PlayerEventType["PLAYBACK_BLOCKED"] = "PlayerPlaybackBlocked";
|
|
3032
|
-
PlayerEventType["ERROR"] = "PlayerError";
|
|
3033
|
-
PlayerEventType["RECOVERABLE_ERROR"] = "PlayerRecoverableError";
|
|
3034
|
-
PlayerEventType["ANALYTICS_EVENT"] = "PlayerAnalyticsEvent";
|
|
3035
|
-
PlayerEventType["TIME_UPDATE"] = "PlayerTimeUpdate";
|
|
3036
|
-
PlayerEventType["BUFFER_UPDATE"] = "PlayerBufferUpdate";
|
|
3037
|
-
PlayerEventType["SEEK_COMPLETED"] = "PlayerSeekCompleted";
|
|
3038
|
-
PlayerEventType["SESSION_DATA"] = "PlayerSessionData";
|
|
3039
|
-
PlayerEventType["STATE_CHANGED"] = "PlayerStateChanged";
|
|
3040
|
-
PlayerEventType["WORKER_ERROR"] = "PlayerWorkerError";
|
|
3041
|
-
PlayerEventType["METADATA"] = "PlayerMetadata";
|
|
3042
|
-
PlayerEventType["TEXT_CUE"] = "PlayerTextCue";
|
|
3043
|
-
PlayerEventType["TEXT_METADATA_CUE"] = "PlayerTextMetadataCue";
|
|
3044
|
-
PlayerEventType["AD_CUE"] = "PlayerAdCue";
|
|
3045
|
-
PlayerEventType["STREAM_SOURCE_CUE"] = "PlayerStreamSourceCue";
|
|
3046
|
-
PlayerEventType["NETWORK_UNAVAILABLE"] = "PlayerNetworkUnavailable";
|
|
3047
|
-
PlayerEventType["SEGMENT_DISCONTINUITY"] = "PlayerSegmentDiscontinuity";
|
|
3048
|
-
PlayerEventType["SEGMENT_METADATA"] = "PlayerSegmentMetadata";
|
|
3049
|
-
PlayerEventType["PLAYER_METADATA"] = "PlayerMetadata";
|
|
3050
|
-
})(PlayerEventType || (PlayerEventType = {}));
|
|
3051
|
-
function getLivestreamViewerAllowedQualityLevels({ meeting, hlsLevels, }) {
|
|
3052
|
-
let allowedQualities = meeting.self.config.livestreamViewerQualities || [];
|
|
3053
|
-
if (!allowedQualities.length) {
|
|
3054
|
-
return { autoLevelChangeAllowed: true, levels: hlsLevels };
|
|
3055
|
-
}
|
|
3056
|
-
// Filter allowed qualities
|
|
3057
|
-
const desiredLevels = hlsLevels.filter((level) => allowedQualities.includes(level.height));
|
|
3058
|
-
if (!desiredLevels.length) {
|
|
3059
|
-
return { autoLevelChangeAllowed: true, levels: hlsLevels };
|
|
3060
|
-
}
|
|
3061
|
-
return { autoLevelChangeAllowed: false, levels: desiredLevels };
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
const appendToMap = (map, propName, value) => {
|
|
3065
|
-
let refs = map.get(propName);
|
|
3066
|
-
if (!refs) {
|
|
3067
|
-
refs = [];
|
|
3068
|
-
map.set(propName, refs);
|
|
3069
|
-
}
|
|
3070
|
-
if (!refs.some((ref) => ref.deref() === value)) {
|
|
3071
|
-
refs.push(new WeakRef(value));
|
|
3072
|
-
}
|
|
3073
|
-
};
|
|
3074
|
-
const debounce = (fn, ms) => {
|
|
3075
|
-
let timeoutId;
|
|
3076
|
-
return (...args) => {
|
|
3077
|
-
if (timeoutId) {
|
|
3078
|
-
clearTimeout(timeoutId);
|
|
3079
|
-
}
|
|
3080
|
-
timeoutId = setTimeout(() => {
|
|
3081
|
-
timeoutId = 0;
|
|
3082
|
-
fn(...args);
|
|
3083
|
-
}, ms);
|
|
3084
|
-
};
|
|
3085
|
-
};
|
|
3086
|
-
|
|
3087
|
-
/**
|
|
3088
|
-
* Check if a possible element isConnected.
|
|
3089
|
-
* The property might not be there, so we check for it.
|
|
3090
|
-
*
|
|
3091
|
-
* We want it to return true if isConnected is not a property,
|
|
3092
|
-
* otherwise we would remove these elements and would not update.
|
|
3093
|
-
*
|
|
3094
|
-
* Better leak in Edge than to be useless.
|
|
3095
|
-
*/
|
|
3096
|
-
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
3097
|
-
const cleanupElements = debounce((map) => {
|
|
3098
|
-
for (let key of map.keys()) {
|
|
3099
|
-
const refs = map.get(key).filter((ref) => {
|
|
3100
|
-
const elm = ref.deref();
|
|
3101
|
-
return elm && isConnected(elm);
|
|
3102
|
-
});
|
|
3103
|
-
map.set(key, refs);
|
|
3104
|
-
}
|
|
3105
|
-
}, 2_000);
|
|
3106
|
-
const core = StencilCore;
|
|
3107
|
-
const forceUpdate = core.forceUpdate;
|
|
3108
|
-
const getRenderingRef = core.getRenderingRef;
|
|
3109
|
-
const stencilSubscription = () => {
|
|
3110
|
-
if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
|
|
3111
|
-
// If we are not in a stencil project, we do nothing.
|
|
3112
|
-
// This function is not really exported by @stencil/core.
|
|
3113
|
-
return {};
|
|
3114
|
-
}
|
|
3115
|
-
const ensureForceUpdate = forceUpdate;
|
|
3116
|
-
const ensureGetRenderingRef = getRenderingRef;
|
|
3117
|
-
const elmsToUpdate = new Map();
|
|
3118
|
-
return {
|
|
3119
|
-
dispose: () => elmsToUpdate.clear(),
|
|
3120
|
-
get: (propName) => {
|
|
3121
|
-
const elm = ensureGetRenderingRef();
|
|
3122
|
-
if (elm) {
|
|
3123
|
-
appendToMap(elmsToUpdate, propName, elm);
|
|
3124
|
-
}
|
|
3125
|
-
},
|
|
3126
|
-
set: (propName) => {
|
|
3127
|
-
const refs = elmsToUpdate.get(propName);
|
|
3128
|
-
if (refs) {
|
|
3129
|
-
const nextRefs = refs.filter((ref) => {
|
|
3130
|
-
const elm = ref.deref();
|
|
3131
|
-
if (!elm)
|
|
3132
|
-
return false;
|
|
3133
|
-
return ensureForceUpdate(elm);
|
|
3134
|
-
});
|
|
3135
|
-
elmsToUpdate.set(propName, nextRefs);
|
|
3136
|
-
}
|
|
3137
|
-
cleanupElements(elmsToUpdate);
|
|
3138
|
-
},
|
|
3139
|
-
reset: () => {
|
|
3140
|
-
elmsToUpdate.forEach((refs) => {
|
|
3141
|
-
refs.forEach((ref) => {
|
|
3142
|
-
const elm = ref.deref();
|
|
3143
|
-
if (elm)
|
|
3144
|
-
ensureForceUpdate(elm);
|
|
3145
|
-
});
|
|
3146
|
-
});
|
|
3147
|
-
cleanupElements(elmsToUpdate);
|
|
3148
|
-
},
|
|
3149
|
-
};
|
|
3150
|
-
};
|
|
3151
|
-
|
|
3152
|
-
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
3153
|
-
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
3154
|
-
const resolveDefaultState = () => (unwrap(defaultState) ?? {});
|
|
3155
|
-
const initialState = resolveDefaultState();
|
|
3156
|
-
let states = new Map(Object.entries(initialState));
|
|
3157
|
-
const proxyAvailable = typeof Proxy !== 'undefined';
|
|
3158
|
-
const plainState = proxyAvailable ? null : {};
|
|
3159
|
-
const handlers = {
|
|
3160
|
-
dispose: [],
|
|
3161
|
-
get: [],
|
|
3162
|
-
set: [],
|
|
3163
|
-
reset: [],
|
|
3164
|
-
};
|
|
3165
|
-
// Track onChange listeners to enable removeListener functionality
|
|
3166
|
-
const changeListeners = new Map();
|
|
3167
|
-
const reset = () => {
|
|
3168
|
-
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
3169
|
-
// otherwise, the state won't be properly reset
|
|
3170
|
-
states = new Map(Object.entries(resolveDefaultState()));
|
|
3171
|
-
if (!proxyAvailable) {
|
|
3172
|
-
syncPlainStateKeys();
|
|
3173
|
-
}
|
|
3174
|
-
handlers.reset.forEach((cb) => cb());
|
|
3175
|
-
};
|
|
3176
|
-
const dispose = () => {
|
|
3177
|
-
// Call first dispose as resetting the state would
|
|
3178
|
-
// cause less updates ;)
|
|
3179
|
-
handlers.dispose.forEach((cb) => cb());
|
|
3180
|
-
reset();
|
|
3181
|
-
};
|
|
3182
|
-
const get = (propName) => {
|
|
3183
|
-
handlers.get.forEach((cb) => cb(propName));
|
|
3184
|
-
return states.get(propName);
|
|
3185
|
-
};
|
|
3186
|
-
const set = (propName, value) => {
|
|
3187
|
-
const oldValue = states.get(propName);
|
|
3188
|
-
if (shouldUpdate(value, oldValue, propName)) {
|
|
3189
|
-
states.set(propName, value);
|
|
3190
|
-
if (!proxyAvailable) {
|
|
3191
|
-
ensurePlainProperty(propName);
|
|
3192
|
-
}
|
|
3193
|
-
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
3194
|
-
}
|
|
3195
|
-
};
|
|
3196
|
-
const state = (proxyAvailable
|
|
3197
|
-
? new Proxy(initialState, {
|
|
3198
|
-
get(_, propName) {
|
|
3199
|
-
return get(propName);
|
|
3200
|
-
},
|
|
3201
|
-
ownKeys(_) {
|
|
3202
|
-
return Array.from(states.keys());
|
|
3203
|
-
},
|
|
3204
|
-
getOwnPropertyDescriptor() {
|
|
3205
|
-
return {
|
|
3206
|
-
enumerable: true,
|
|
3207
|
-
configurable: true,
|
|
3208
|
-
};
|
|
3209
|
-
},
|
|
3210
|
-
has(_, propName) {
|
|
3211
|
-
return states.has(propName);
|
|
3212
|
-
},
|
|
3213
|
-
set(_, propName, value) {
|
|
3214
|
-
set(propName, value);
|
|
3215
|
-
return true;
|
|
3216
|
-
},
|
|
3217
|
-
})
|
|
3218
|
-
: (() => {
|
|
3219
|
-
syncPlainStateKeys();
|
|
3220
|
-
return plainState;
|
|
3221
|
-
})());
|
|
3222
|
-
const on = (eventName, callback) => {
|
|
3223
|
-
handlers[eventName].push(callback);
|
|
3224
|
-
return () => {
|
|
3225
|
-
removeFromArray(handlers[eventName], callback);
|
|
3226
|
-
};
|
|
3227
|
-
};
|
|
3228
|
-
const onChange = (propName, cb) => {
|
|
3229
|
-
const setHandler = (key, newValue) => {
|
|
3230
|
-
if (key === propName) {
|
|
3231
|
-
cb(newValue);
|
|
3232
|
-
}
|
|
3233
|
-
};
|
|
3234
|
-
const resetHandler = () => {
|
|
3235
|
-
const snapshot = resolveDefaultState();
|
|
3236
|
-
cb(snapshot[propName]);
|
|
3237
|
-
};
|
|
3238
|
-
// Register the handlers
|
|
3239
|
-
const unSet = on('set', setHandler);
|
|
3240
|
-
const unReset = on('reset', resetHandler);
|
|
3241
|
-
// Track the relationship between the user callback and internal handlers
|
|
3242
|
-
changeListeners.set(cb, { setHandler, resetHandler, propName });
|
|
3243
|
-
return () => {
|
|
3244
|
-
unSet();
|
|
3245
|
-
unReset();
|
|
3246
|
-
changeListeners.delete(cb);
|
|
3247
|
-
};
|
|
3248
|
-
};
|
|
3249
|
-
const use = (...subscriptions) => {
|
|
3250
|
-
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
3251
|
-
if (subscription.set) {
|
|
3252
|
-
unsubs.push(on('set', subscription.set));
|
|
3253
|
-
}
|
|
3254
|
-
if (subscription.get) {
|
|
3255
|
-
unsubs.push(on('get', subscription.get));
|
|
3256
|
-
}
|
|
3257
|
-
if (subscription.reset) {
|
|
3258
|
-
unsubs.push(on('reset', subscription.reset));
|
|
3259
|
-
}
|
|
3260
|
-
if (subscription.dispose) {
|
|
3261
|
-
unsubs.push(on('dispose', subscription.dispose));
|
|
3262
|
-
}
|
|
3263
|
-
return unsubs;
|
|
3264
|
-
}, []);
|
|
3265
|
-
return () => unsubs.forEach((unsub) => unsub());
|
|
3266
|
-
};
|
|
3267
|
-
const forceUpdate = (key) => {
|
|
3268
|
-
const oldValue = states.get(key);
|
|
3269
|
-
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
3270
|
-
};
|
|
3271
|
-
const removeListener = (propName, listener) => {
|
|
3272
|
-
const listenerInfo = changeListeners.get(listener);
|
|
3273
|
-
if (listenerInfo && listenerInfo.propName === propName) {
|
|
3274
|
-
// Remove the specific handlers that were created for this listener
|
|
3275
|
-
removeFromArray(handlers.set, listenerInfo.setHandler);
|
|
3276
|
-
removeFromArray(handlers.reset, listenerInfo.resetHandler);
|
|
3277
|
-
changeListeners.delete(listener);
|
|
3278
|
-
}
|
|
3279
|
-
};
|
|
3280
|
-
function ensurePlainProperty(key) {
|
|
3281
|
-
if (proxyAvailable || !plainState) {
|
|
3282
|
-
return;
|
|
3283
|
-
}
|
|
3284
|
-
if (Object.prototype.hasOwnProperty.call(plainState, key)) {
|
|
3285
|
-
return;
|
|
3286
|
-
}
|
|
3287
|
-
Object.defineProperty(plainState, key, {
|
|
3288
|
-
configurable: true,
|
|
3289
|
-
enumerable: true,
|
|
3290
|
-
get() {
|
|
3291
|
-
return get(key);
|
|
3292
|
-
},
|
|
3293
|
-
set(value) {
|
|
3294
|
-
set(key, value);
|
|
3295
|
-
},
|
|
3296
|
-
});
|
|
3297
|
-
}
|
|
3298
|
-
function syncPlainStateKeys() {
|
|
3299
|
-
if (proxyAvailable || !plainState) {
|
|
3300
|
-
return;
|
|
3301
|
-
}
|
|
3302
|
-
const knownKeys = new Set(states.keys());
|
|
3303
|
-
for (const key of Object.keys(plainState)) {
|
|
3304
|
-
if (!knownKeys.has(key)) {
|
|
3305
|
-
delete plainState[key];
|
|
3306
|
-
}
|
|
3307
|
-
}
|
|
3308
|
-
for (const key of knownKeys) {
|
|
3309
|
-
ensurePlainProperty(key);
|
|
3310
|
-
}
|
|
3311
|
-
}
|
|
3312
|
-
return {
|
|
3313
|
-
state,
|
|
3314
|
-
get,
|
|
3315
|
-
set,
|
|
3316
|
-
on,
|
|
3317
|
-
onChange,
|
|
3318
|
-
use,
|
|
3319
|
-
dispose,
|
|
3320
|
-
reset,
|
|
3321
|
-
forceUpdate,
|
|
3322
|
-
removeListener,
|
|
3323
|
-
};
|
|
3324
|
-
};
|
|
3325
|
-
const removeFromArray = (array, item) => {
|
|
3326
|
-
const index = array.indexOf(item);
|
|
3327
|
-
if (index >= 0) {
|
|
3328
|
-
array[index] = array[array.length - 1];
|
|
3329
|
-
array.length--;
|
|
3330
|
-
}
|
|
3331
|
-
};
|
|
3332
|
-
|
|
3333
|
-
const createStore = (defaultState, shouldUpdate) => {
|
|
3334
|
-
const map = createObservableMap(defaultState, shouldUpdate);
|
|
3335
|
-
map.use(stencilSubscription());
|
|
3336
|
-
return map;
|
|
3337
|
-
};
|
|
3338
|
-
|
|
3339
|
-
/**
|
|
3340
|
-
* Default language dictionary
|
|
3341
|
-
*/
|
|
3342
|
-
const defaultLanguage = {
|
|
3343
|
-
about_call: 'About Call',
|
|
3344
|
-
screen: 'Screen',
|
|
3345
|
-
camera: 'Camera',
|
|
3346
|
-
leave: 'Leave',
|
|
3347
|
-
dismiss: 'Dismiss',
|
|
3348
|
-
logo: 'Logo',
|
|
3349
|
-
page: 'Page',
|
|
3350
|
-
more: 'More',
|
|
3351
|
-
'page.prev': 'Previous Page',
|
|
3352
|
-
'page.next': 'Next Page',
|
|
3353
|
-
layout: 'Layout',
|
|
3354
|
-
'layout.auto': 'Auto Layout',
|
|
3355
|
-
settings: 'Settings',
|
|
3356
|
-
file: 'File',
|
|
3357
|
-
image: 'Image',
|
|
3358
|
-
connection: 'Connection',
|
|
3359
|
-
leave_confirmation: 'Are you sure you want to leave the call?',
|
|
3360
|
-
cancel: 'Cancel',
|
|
3361
|
-
yes: 'Yes',
|
|
3362
|
-
'(you)': '(you)',
|
|
3363
|
-
you: 'You',
|
|
3364
|
-
everyone: 'Everyone',
|
|
3365
|
-
to: 'To',
|
|
3366
|
-
mute: 'Mute',
|
|
3367
|
-
kick: 'Kick',
|
|
3368
|
-
pin: 'Pin',
|
|
3369
|
-
pinned: 'Pinned',
|
|
3370
|
-
accept: 'Accept',
|
|
3371
|
-
unpin: 'Unpin',
|
|
3372
|
-
pip_on: 'Show PiP',
|
|
3373
|
-
pip_off: 'Hide PiP',
|
|
3374
|
-
viewers: 'Viewers',
|
|
3375
|
-
join: 'Join',
|
|
3376
|
-
joined: 'Joined',
|
|
3377
|
-
create: 'Create',
|
|
3378
|
-
close: 'Close',
|
|
3379
|
-
ask: 'Ask',
|
|
3380
|
-
type: 'Type',
|
|
3381
|
-
activate: 'Activate',
|
|
3382
|
-
requests: 'Requests',
|
|
3383
|
-
mic_off: 'Mic Off',
|
|
3384
|
-
disable_mic: 'Disable Mic',
|
|
3385
|
-
mic_on: 'Mic On',
|
|
3386
|
-
enable_mic: 'Enable Mic',
|
|
3387
|
-
audio: 'Audio',
|
|
3388
|
-
test: 'Test',
|
|
3389
|
-
minimize: 'Hide Tile',
|
|
3390
|
-
maximize: 'Show Tile',
|
|
3391
|
-
mute_all: 'Mute all',
|
|
3392
|
-
'mute_all.description': 'Everyone else in the meeting will be muted.',
|
|
3393
|
-
'mute_all.header': 'Are you sure?',
|
|
3394
|
-
'mute_all.allow_unmute': 'Allow others to unmute',
|
|
3395
|
-
video_off: 'Video Off',
|
|
3396
|
-
disable_video: 'Disable Video',
|
|
3397
|
-
video_on: 'Video On',
|
|
3398
|
-
enable_video: 'Enable Video',
|
|
3399
|
-
video: 'Video',
|
|
3400
|
-
offline: "You're offline",
|
|
3401
|
-
'offline.description': 'Please ensure that you are connected to the internet.',
|
|
3402
|
-
disconnected: "You haven't joined the meeting.",
|
|
3403
|
-
failed: "You've been disconnected",
|
|
3404
|
-
'failed.description': 'We could not connect you back to the meeting room. Please try rejoining the meeting.',
|
|
3405
|
-
'disconnected.description': 'Please join the meeting in order to see and interact with other participants.',
|
|
3406
|
-
participants: 'Participants',
|
|
3407
|
-
'participants.errors.empty_results': "Couldn't find a participant with the specified name or ID.",
|
|
3408
|
-
'participants.empty_list': 'It looks like nobody is here.',
|
|
3409
|
-
'participants.no_pending_requests': 'There are no pending requests.',
|
|
3410
|
-
'participants.turn_off_video': 'Turn off video',
|
|
3411
|
-
polls: 'Polls',
|
|
3412
|
-
'polls.by': 'Poll by',
|
|
3413
|
-
'polls.question': 'Poll Question',
|
|
3414
|
-
'polls.question.placeholder': 'What is your poll for?',
|
|
3415
|
-
'polls.answers': 'Answers',
|
|
3416
|
-
'polls.option': 'Add an option.',
|
|
3417
|
-
'polls.option.placeholder': 'Enter an option',
|
|
3418
|
-
'polls.results.anon': 'Anonymous',
|
|
3419
|
-
'polls.results.hide': 'Hide results before voting',
|
|
3420
|
-
'polls.create': 'Create Poll',
|
|
3421
|
-
'polls.cancel': 'Cancel Poll Creation',
|
|
3422
|
-
'polls.empty': 'No polls available',
|
|
3423
|
-
'polls.errors.question_required': 'Question is required.',
|
|
3424
|
-
'polls.errors.empty_option': 'Empty options not allowed.',
|
|
3425
|
-
screenshare: 'Screen Share',
|
|
3426
|
-
'screenshare.min_preview': 'Minimize Preview',
|
|
3427
|
-
'screenshare.max_preview': 'Expand Preview',
|
|
3428
|
-
'screenshare.shared': 'Your screen is being shared.',
|
|
3429
|
-
'screenshare.start': 'Share Screen',
|
|
3430
|
-
'screenshare.stop': 'Stop Sharing',
|
|
3431
|
-
'screenshare.error.unknown': 'An error occurred while starting screenshare.',
|
|
3432
|
-
'screenshare.error.max_count': 'Maximum screen share limit reached.',
|
|
3433
|
-
plugins: 'Plugins',
|
|
3434
|
-
'plugins.empty': 'No plugins available',
|
|
3435
|
-
perm_denied: 'Permission denied by browser.',
|
|
3436
|
-
'perm_denied.audio': 'Mic permission denied by browser',
|
|
3437
|
-
'perm_denied.video': 'Camera permission denied by browser',
|
|
3438
|
-
'perm_denied.screenshare': 'Screenshare permission denied by browser',
|
|
3439
|
-
'perm_denied.audio.chrome.message': `In the top navigation bar, click on the icon left to the URL and ensure 'Microphone' permission is checked`,
|
|
3440
|
-
'perm_denied.video.chrome.message': `In the top navigation bar, click on the icon left to the URL and ensure 'Camera' permission is checked`,
|
|
3441
|
-
'perm_denied.screenshare.chrome.message': `Under Chrome settings, navigate to 'Privacy and Security > Site Settings > Permissions'. Select 'Screenshare', provide permission and reload this application.`,
|
|
3442
|
-
'perm_denied.audio.safari.message': `Under Safari settings, navigate to 'Websites > Microphone', provide permission and reload this application.`,
|
|
3443
|
-
'perm_denied.video.safari.message': `Under Safari settings, navigate to 'Websites > Camera', provide permission and reload this application.`,
|
|
3444
|
-
'perm_denied.screenshare.safari.message': `Under Safari settings, navigate to 'Websites > Screenshare', provide permission and reload this application.`,
|
|
3445
|
-
'perm_denied.audio.edge.message': `Under Edge settings, navigate to 'Site Permissions > Microphone', provide permission and reload this application.`,
|
|
3446
|
-
'perm_denied.video.edge.message': `Under Edge settings, navigate to 'Site Permissions > Camera', provide permission and reload this application.`,
|
|
3447
|
-
'perm_denied.screenshare.edge.message': `Under Edge settings, navigate to 'Site Permissions > Screenshare', provide permission and reload this application.`,
|
|
3448
|
-
'perm_denied.audio.microsoft edge.message': `Under Edge settings, navigate to 'Site Permissions > Microphone', provide permission and reload this application.`,
|
|
3449
|
-
'perm_denied.video.microsoft edge.message': `Under Edge settings, navigate to 'Site Permissions > Camera', provide permission and reload this application.`,
|
|
3450
|
-
'perm_denied.screenshare.microsoft edge.message': `Under Edge settings, navigate to 'Site Permissions > Screenshare', provide permission and reload this application.`,
|
|
3451
|
-
'perm_denied.audio.firefox.message': `Under Firefox settings, navigate to 'Privacy and Security > Permissions > Microphone', provide permission and reload this application.`,
|
|
3452
|
-
'perm_denied.video.firefox.message': `Under Firefox settings, navigate to 'Privacy and Security > Permissions > Camera', provide permission and reload this application.`,
|
|
3453
|
-
'perm_denied.screenshare.firefox.message': `Under Firefox settings, navigate to 'Privacy and Security > Permissions > Screenshare', provide permission and reload this application.`,
|
|
3454
|
-
'perm_denied.audio.others.message': `From your browser settings, enable 'Microphone' permissions and reload this application.`,
|
|
3455
|
-
'perm_denied.video.others.message': `From your browser settings, enable 'Camera' permissions and reload this application.`,
|
|
3456
|
-
'perm_denied.screenshare.others.message': `From your browser settings, enable 'Screenshare' permissions and reload this application.`,
|
|
3457
|
-
perm_sys_denied: 'Permission denied by system',
|
|
3458
|
-
'perm_sys_denied.audio': 'Mic permission denied by system',
|
|
3459
|
-
'perm_sys_denied.video': 'Camera permission denied by system',
|
|
3460
|
-
'perm_sys_denied.screenshare': 'Screenshare permission denied by system',
|
|
3461
|
-
'perm_sys_denied.audio.macos.message': `Open Apple Menu, navigate to 'System Settings > Privacy & Security > Microphone'. Allow access to your browser and reload this application.`,
|
|
3462
|
-
'perm_sys_denied.video.macos.message': `Open Apple Menu, navigate to 'System Settings > Privacy & Security > Camera'. Allow access to your browser and reload this application.`,
|
|
3463
|
-
'perm_sys_denied.screenshare.macos.message': `Open Apple Menu, navigate to 'System Settings > Privacy & Security > Screenshare'. Allow access to your browser and reload this application.`,
|
|
3464
|
-
'perm_sys_denied.audio.ios.message': `On your iPhone, navigate to 'Settings > Privacy > Microphone', allow access to your browser and reload this application.`,
|
|
3465
|
-
'perm_sys_denied.video.ios.message': `On your iPhone, navigate to 'Settings > Privacy > Camera', allow access to your browser and reload this application.`,
|
|
3466
|
-
'perm_sys_denied.screenshare.ios.message': `On your iPhone, navigate to 'Settings > Privacy > Screenshare', allow access to your browser and reload this application.`,
|
|
3467
|
-
'perm_sys_denied.audio.windows.message': `Go to Windows settings, select 'Settings > Privacy > Microphone'. Allow permissions to your browser and reload this application.`,
|
|
3468
|
-
'perm_sys_denied.video.windows.message': `Go to Windows settings, select 'Settings > Privacy > Camera'. Allow permissions to your browser and reload this application.`,
|
|
3469
|
-
'perm_sys_denied.screenshare.windows.message': `Go to Windows settings, select 'Settings > Privacy > Screenshare'. Allow permissions to your browser and reload this application.`,
|
|
3470
|
-
'perm_sys_denied.audio.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Microphone permissions and reload this application.`,
|
|
3471
|
-
'perm_sys_denied.video.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Camera permissions and reload this application.`,
|
|
3472
|
-
'perm_sys_denied.screenshare.android.message': `On your device, navigate to 'Settings > Apps'. Select your browser, allow Screenshare permissions and reload this application.`,
|
|
3473
|
-
'perm_sys_denied.audio.others.message': `Navigate to your system settings. Allow 'Microphone' permissions for your browser and reload this application.`,
|
|
3474
|
-
'perm_sys_denied.video.others.message': `Navigate to your system settings. Allow 'Camera' permissions for your browser and reload this application.`,
|
|
3475
|
-
'perm_sys_denied.screenshare.others.message': `Navigate to your system settings. Allow 'Screenshare' permissions for your browser and reload this application.`,
|
|
3476
|
-
perm_could_not_start: `Could not capture device.`,
|
|
3477
|
-
'perm_could_not_start.audio': `Unable to start your Microphone`,
|
|
3478
|
-
'perm_could_not_start.video': `Unable to start your Camera`,
|
|
3479
|
-
'perm_could_not_start.screenshare': `Unable to start your Screenshare`,
|
|
3480
|
-
'perm_could_not_start.audio.message': `Looks like the system could not capture your microphone. Please restart your device or upgrade your browser to fix this.`,
|
|
3481
|
-
'perm_could_not_start.video.message': `Looks like the system could not capture your camera. Please restart your device or upgrade your browser to fix this.`,
|
|
3482
|
-
'perm_could_not_start.screenshare.message': `Looks like the system could not capture your screenshare. Please restart your device or upgrade your browser to fix this.`,
|
|
3483
|
-
full_screen: 'Full Screen',
|
|
3484
|
-
'full_screen.exit': 'Exit Full Screen',
|
|
3485
|
-
'waitlist.header_title': 'Waiting',
|
|
3486
|
-
'waitlist.body_text': 'You are in the waiting room, the host will let you in soon.',
|
|
3487
|
-
'waitlist.deny_request': 'Deny request',
|
|
3488
|
-
'waitlist.accept_request': 'Accept request',
|
|
3489
|
-
'waitlist.accept_all': 'Accept all',
|
|
3490
|
-
'stage_request.header_title': 'Join Stage Requests',
|
|
3491
|
-
'stage_request.deny_request': 'Deny request',
|
|
3492
|
-
'stage_request.accept_request': 'Accept request',
|
|
3493
|
-
'stage_request.accept_all': 'Accept all',
|
|
3494
|
-
'stage_request.deny_all': 'Deny all',
|
|
3495
|
-
'stage_request.approval_pending': 'Pending',
|
|
3496
|
-
'stage_request.denied': 'Denied',
|
|
3497
|
-
'stage_request.request': 'Join stage',
|
|
3498
|
-
'stage_request.requested': 'Requested',
|
|
3499
|
-
'stage_request.cancel_request': 'Cancel request',
|
|
3500
|
-
'stage_request.leave_stage': 'Leave stage',
|
|
3501
|
-
'stage_request.request_tip': 'Request to join the discussion',
|
|
3502
|
-
'stage_request.leave_tip': 'Leave the stage',
|
|
3503
|
-
'stage_request.pending_tip': 'Request pending',
|
|
3504
|
-
'stage_request.denied_tip': 'Rejected request',
|
|
3505
|
-
'stage.empty_host': 'The stage is empty',
|
|
3506
|
-
'stage.empty_host_summary': 'You are off stage. You can manage stage requests from the participants tab.',
|
|
3507
|
-
'stage.empty_viewer': 'There is no one on stage',
|
|
3508
|
-
'stage.remove_from_stage': 'Remove from stage',
|
|
3509
|
-
'stage.invited_notification': 'has been invited to join stage.',
|
|
3510
|
-
'stage.add_to_stage': 'Invite to stage',
|
|
3511
|
-
'stage.join_title': 'Join Stage',
|
|
3512
|
-
'stage.join_summary': 'You are about to join the stage, your video & audio as shown above will be visible to all participants.',
|
|
3513
|
-
'stage.join_cancel': 'Cancel',
|
|
3514
|
-
'stage.join_confirm': 'Join',
|
|
3515
|
-
'setup_screen.join_in_as': 'Joining as',
|
|
3516
|
-
'setup_screen.your_name': 'Your name',
|
|
3517
|
-
'stage.reconnecting': 'Reconnecting...',
|
|
3518
|
-
'recording.label': 'REC',
|
|
3519
|
-
'recording.indicator': 'This meeting is being recorded.',
|
|
3520
|
-
'recording.started': 'This meeting is being recorded.',
|
|
3521
|
-
'recording.stopped': 'Recording for this meeting has been stopped.',
|
|
3522
|
-
'recording.paused': 'Recording for this meeting has been paused.',
|
|
3523
|
-
'recording.error.start': 'Error while starting recording.',
|
|
3524
|
-
'recording.error.stop': 'Error while stopping recording.',
|
|
3525
|
-
'recording.error.resume': 'Error while resuming recording.',
|
|
3526
|
-
'recording.start': 'Start Recording',
|
|
3527
|
-
'recording.stop': 'Stop Recording',
|
|
3528
|
-
'recording.resume': 'Resume Recording',
|
|
3529
|
-
'recording.starting': 'Starting',
|
|
3530
|
-
'recording.stopping': 'Stopping',
|
|
3531
|
-
'recording.loading': 'Loading',
|
|
3532
|
-
'recording.idle': 'Record',
|
|
3533
|
-
audio_playback: 'Play Audio',
|
|
3534
|
-
'audio_playback.title': 'Allow Audio Playback',
|
|
3535
|
-
'audio_playback.description': 'In order to play audio properly on your device, click the button below.',
|
|
3536
|
-
breakout_rooms: 'Breakout Rooms',
|
|
3537
|
-
'breakout_rooms.room_config_header': 'Create Breakout',
|
|
3538
|
-
'breakout_rooms.join_breakout_header': 'Join Breakout',
|
|
3539
|
-
'breakout_rooms.empty': 'Nobody here yet.',
|
|
3540
|
-
'breakout_rooms.delete': 'Delete Room',
|
|
3541
|
-
'breakout_rooms.switch': 'Switch',
|
|
3542
|
-
'breakout_rooms.main_room': 'Main Room',
|
|
3543
|
-
'breakout_rooms.shuffle_participants': 'Shuffle Participants',
|
|
3544
|
-
'breakout_rooms.deselect': 'Deselect',
|
|
3545
|
-
'breakout_rooms.selected': 'selected',
|
|
3546
|
-
'breakout_rooms.num_of_rooms': 'No. of Rooms',
|
|
3547
|
-
'breakout_rooms.approx': 'Approx.',
|
|
3548
|
-
'breakout_rooms.participants_per_room': 'participants/room',
|
|
3549
|
-
'breakout_rooms.division_text': 'when equally divided.',
|
|
3550
|
-
'breakout_rooms.start_breakout': 'Start Breakout',
|
|
3551
|
-
'breakout_rooms.close_breakout': 'Close Breakout',
|
|
3552
|
-
'breakout_rooms.update_breakout': 'Update Breakout',
|
|
3553
|
-
'breakout_rooms.discard_changes': 'Discard Changes',
|
|
3554
|
-
'breakout_rooms.room': 'Room',
|
|
3555
|
-
'breakout_rooms.rooms': 'Rooms',
|
|
3556
|
-
'breakout_rooms.room_name': 'Room Name',
|
|
3557
|
-
'breakout_rooms.edit_room_name': 'Edit Room Name',
|
|
3558
|
-
'breakout_rooms.save_room_name': 'Save Room Name',
|
|
3559
|
-
'breakout_rooms.add_room': 'Add',
|
|
3560
|
-
'breakout_rooms.add_room_brief': 'Add Room',
|
|
3561
|
-
'breakout_rooms.select_all': 'Select all',
|
|
3562
|
-
'breakout_rooms.unassign_all': 'Unassign all',
|
|
3563
|
-
'breakout_rooms.assign': 'Assign',
|
|
3564
|
-
'breakout_rooms.assign_participants': 'Assign Participants',
|
|
3565
|
-
'breakout_rooms.none_assigned': 'No participants assigned yet',
|
|
3566
|
-
'breakout_rooms.drag_drop_participants': 'Drag and drop participants',
|
|
3567
|
-
'breakout_rooms.click_drop_participants': 'Click here to assign',
|
|
3568
|
-
'breakout_rooms.status.assign_multiple': 'Assign multiple participants at once by clicking and selecting them',
|
|
3569
|
-
'breakout_rooms.status.select_room': 'Select a room to assign',
|
|
3570
|
-
'breakout_rooms.ephemeral_status.participants_assigned': 'Participants assigned',
|
|
3571
|
-
'breakout_rooms.ephemeral_status.participants_assigned_randomly': 'Participants assigned randomly',
|
|
3572
|
-
'breakout_rooms.ephemeral_status.changes_discarded': 'Changes discarded',
|
|
3573
|
-
'breakout_rooms.confirm_modal.start_breakout.header': 'Start breakout rooms?',
|
|
3574
|
-
'breakout_rooms.confirm_modal.start_breakout.content': 'Once started, all participants will be moved to their assigned rooms.',
|
|
3575
|
-
'breakout_rooms.confirm_modal.start_breakout.cancelText': 'No, go back',
|
|
3576
|
-
'breakout_rooms.confirm_modal.start_breakout.ctaText': 'Yes, start',
|
|
3577
|
-
'breakout_rooms.confirm_modal.close_breakout.header': 'Close breakout rooms?',
|
|
3578
|
-
'breakout_rooms.confirm_modal.close_breakout.content': 'All breakout rooms will be closed & participants will be moved back to the main room.',
|
|
3579
|
-
'breakout_rooms.confirm_modal.close_breakout.ctaText': 'Yes, close breakout',
|
|
3580
|
-
'breakout_rooms.move_reason.started_msg': 'Starting breakout rooms...',
|
|
3581
|
-
'breakout_rooms.move_reason.started_desc': 'You are being moved to your assigned room',
|
|
3582
|
-
'breakout_rooms.move_reason.closed_msg': 'Closing breakout rooms...',
|
|
3583
|
-
'breakout_rooms.move_reason.closed_desc': 'You are being moved back to the main room',
|
|
3584
|
-
'breakout_rooms.move_reason.switch_room': 'Joining Breakout Room...',
|
|
3585
|
-
'breakout_rooms.move_reason.switch_main_room': 'Joining Main Room...',
|
|
3586
|
-
'breakout_rooms.all_assigned': 'All participants have been assigned',
|
|
3587
|
-
'breakout_rooms.empty_main_room': 'No more participants in the main room.',
|
|
3588
|
-
'breakout_rooms.leave_confirmation': 'Are you sure you want to leave the call? You are in a breakout room, you can join the main room too.',
|
|
3589
|
-
'breakout_rooms.leave_confirmation.main_room_btn': 'Go back to main room',
|
|
3590
|
-
ai: 'AI',
|
|
3591
|
-
'ai.meeting_ai': 'Meeting AI',
|
|
3592
|
-
'ai.home': 'Home',
|
|
3593
|
-
'ai.transcriptions': 'Transcriptions',
|
|
3594
|
-
'ai.personal': 'Personal',
|
|
3595
|
-
'ai.caption_view': 'Caption View',
|
|
3596
|
-
'ai.chat.tooltip': 'This conversation will just be visible to you and not to others in the call.',
|
|
3597
|
-
'ai.chat.summarize': 'Hey AI, summarize this call',
|
|
3598
|
-
'ai.chat.agenda': "Hey AI, what is today's agenda?",
|
|
3599
|
-
'ai.transcriptions.search_placeholder': 'Search by participant name or transcript',
|
|
3600
|
-
'ai.transcriptions.no_transcripts_found': 'No transcripts found. Try searching for a different participant or transcript.',
|
|
3601
|
-
'ai.transcriptions.no_transcripts_yet': 'No transcripts yet.',
|
|
3602
|
-
search: 'Search',
|
|
3603
|
-
'search.could_not_find': "Couldn't find a participant with the specified name or ID.",
|
|
3604
|
-
'search.empty': 'It looks like nobody is here.',
|
|
3605
|
-
end: 'End Meeting',
|
|
3606
|
-
'end.all': 'End meeting for all',
|
|
3607
|
-
ended: 'The meeting ended.',
|
|
3608
|
-
'ended.rejected': 'Your request to join the meeting was denied.',
|
|
3609
|
-
'ended.left': 'You left the meeting.',
|
|
3610
|
-
'ended.kicked': 'You were removed from the meeting.',
|
|
3611
|
-
'ended.disconnected': 'The call ended because the connection was lost.',
|
|
3612
|
-
'ended.network': 'Please check your internet connection and try again.',
|
|
3613
|
-
'ended.unauthorized': 'You are not authorized to join this meeting.',
|
|
3614
|
-
network: 'Network',
|
|
3615
|
-
'network.reconnecting': 'Connection lost. Trying to reconnect.',
|
|
3616
|
-
'network.delay_extended': 'Taking too long to reconnect. Please check your network connection.',
|
|
3617
|
-
'network.disconnected': 'Could not reconnect. Please leave the meeting and try refreshing the window.',
|
|
3618
|
-
'network.leaving': 'Automatically leaving the meeting in 10 seconds.',
|
|
3619
|
-
'network.restored': 'Connection restored',
|
|
3620
|
-
'network.delay': 'Taking too long to reconnect.',
|
|
3621
|
-
'network.lost': 'Connection lost',
|
|
3622
|
-
'network.lost_extended': 'Connection lost. Please check your network connection.',
|
|
3623
|
-
'network.troubleshoot': 'Troubleshoot your connection',
|
|
3624
|
-
'init.auth_error': "We couldn't verify your access to this meeting. The meeting may have ended, or you may not have permission to join.",
|
|
3625
|
-
'init.network_error': "We couldn't connect to the meeting. Please try again, and if the problem continues, check your internet connection.",
|
|
3626
|
-
'init.browser_error': 'Your browser is not supported. Please try a different or updated browser.',
|
|
3627
|
-
'init.default_error': 'Something went wrong while connecting to the meeting. Please try again.',
|
|
3628
|
-
'join.network_error': "We couldn't connect to the meeting. Please check your internet connection and try again.",
|
|
3629
|
-
'join.media_error': "We're having trouble connecting to the meeting. Please try again, and if the problem continues, try using a different network.",
|
|
3630
|
-
'join.media_firewall_error': 'Your network may be blocking this connection. Try using a different network, or contact your network administrator for help.',
|
|
3631
|
-
'join.default_error': 'Something went wrong while joining the meeting. Please try again.',
|
|
3632
|
-
'join.error_code': 'Error code',
|
|
3633
|
-
livestream: 'Livestream',
|
|
3634
|
-
'livestream.indicator': 'This meeting is being livestreamed.',
|
|
3635
|
-
'livestream.skip': 'Skip to Live',
|
|
3636
|
-
'livestream.idle': 'Waiting to go live.',
|
|
3637
|
-
'livestream.starting': 'Livestream is starting...',
|
|
3638
|
-
'livestream.stopping': 'Livestream is stopping...',
|
|
3639
|
-
'livestream.waiting_on_manual_ingestion': 'Please ingest livestream media.',
|
|
3640
|
-
'livestream.error.not_supported': 'Player not supported.',
|
|
3641
|
-
'livestream.error.not_found': 'Playback URL not found.',
|
|
3642
|
-
'livestream.error.unknown': 'An unknown error occurred.',
|
|
3643
|
-
'livestream.error.sync': 'Could not sync livestream, please try again later.',
|
|
3644
|
-
'livestream.error.start': 'Error while starting livestream.',
|
|
3645
|
-
'livestream.error.stop': 'Error while stopping livestream.',
|
|
3646
|
-
'livestream.go_live': 'Go Live',
|
|
3647
|
-
'livestream.end_live': 'End Live',
|
|
3648
|
-
'livestream.error': 'Error',
|
|
3649
|
-
'cta.help': 'Need help on how to do this?',
|
|
3650
|
-
'cta.continue': 'Ignore',
|
|
3651
|
-
'cta.reload': 'Reload',
|
|
3652
|
-
'cta.confirmation': 'Are you sure?',
|
|
3653
|
-
'cta.system_settings': 'Open Settings',
|
|
3654
|
-
'remote_access.empty': 'There are no remote requests, yet.',
|
|
3655
|
-
'remote_access.requests': 'The following people have requested remote control to your screen share.',
|
|
3656
|
-
'remote_access.allow': 'Please select whom you want to give access to.',
|
|
3657
|
-
'remote_access.grant': 'Grant access',
|
|
3658
|
-
'remote_access.indicator': 'Any plugin or screenshare you switch to will sync the change across the meeting',
|
|
3659
|
-
chat: 'Chat',
|
|
3660
|
-
'chat.new': 'New',
|
|
3661
|
-
'chat.max_limit_warning': 'Max Character Limit',
|
|
3662
|
-
'chat.rate_limit_error': 'Please wait before you can send another message',
|
|
3663
|
-
'chat.member_name': 'Enter member name',
|
|
3664
|
-
'chat.add_members': 'Add members',
|
|
3665
|
-
'chat.delete_msg': 'Delete',
|
|
3666
|
-
'chat.edit_msg': 'Edit',
|
|
3667
|
-
'chat.send_msg': 'Send message',
|
|
3668
|
-
'chat.send_attachment': 'Drop files/images to send',
|
|
3669
|
-
'chat.send_img': 'Send an image',
|
|
3670
|
-
'chat.send_file': 'Send a file',
|
|
3671
|
-
'chat.send_emoji': 'Send an emoji',
|
|
3672
|
-
'chat.update_msg': 'Update message',
|
|
3673
|
-
'chat.img.loading': 'Loading image',
|
|
3674
|
-
'chat.error.img_not_found': 'Image not found',
|
|
3675
|
-
'chat.error.empty_results': "Couldn't find a member with the specified name.",
|
|
3676
|
-
'chat.img.shared_by': 'Shared by',
|
|
3677
|
-
'chat.reply': 'Reply',
|
|
3678
|
-
'chat.message_placeholder': 'Message...',
|
|
3679
|
-
'chat.click_to_send': 'Click to send as message',
|
|
3680
|
-
'chat.search_msgs': 'Search messages',
|
|
3681
|
-
'chat.search_conversations': 'Search conversations',
|
|
3682
|
-
'chat.start_conversation': 'Start a conversation...',
|
|
3683
|
-
'chat.empty_search': 'No messages found',
|
|
3684
|
-
'chat.empty_chat': 'Send a message to get started',
|
|
3685
|
-
'chat.cancel_upload': 'Cancel upload',
|
|
3686
|
-
'chat.view_chats': 'View chats',
|
|
3687
|
-
'chat.everyone': 'Everyone',
|
|
3688
|
-
'chat.pinned_msgs': 'Pinned messages',
|
|
3689
|
-
'chat.toggle_pinned_msgs': 'Toggle pinned messages',
|
|
3690
|
-
'date.today': 'Today',
|
|
3691
|
-
'date.yesterday': 'Yesterday',
|
|
3692
|
-
'date.sunday': 'Sunday',
|
|
3693
|
-
'date.monday': 'Monday',
|
|
3694
|
-
'date.tuesday': 'Tuesday',
|
|
3695
|
-
'date.wednesday': 'Wednesday',
|
|
3696
|
-
'date.thursday': 'Thursday',
|
|
3697
|
-
'date.friday': 'Friday',
|
|
3698
|
-
'date.saturday': 'Saturday',
|
|
3699
|
-
'list.empty': 'No items found',
|
|
3700
|
-
'grid.listening': 'Listening',
|
|
3701
|
-
'transcript.off': 'Turn off Transcripts',
|
|
3702
|
-
'transcript.on': 'Turn on Transcripts',
|
|
3703
|
-
'settings.notification_sound': 'Notification sound',
|
|
3704
|
-
'settings.microphone_input': 'Microphone',
|
|
3705
|
-
'settings.speaker_output': 'Speaker',
|
|
3706
|
-
'settings.mirror_video': 'Mirror my Video',
|
|
3707
|
-
'settings.camera_off': 'Camera is off',
|
|
3708
|
-
'dialog.close': 'Close dialog',
|
|
3709
|
-
'notifications.joined': 'just joined',
|
|
3710
|
-
'notifications.left': 'left',
|
|
3711
|
-
'notifications.requesting_to_join_meeting': 'is requesting to join the meeting',
|
|
3712
|
-
'notifications.requested_to_join_stage': 'has requested to join stage',
|
|
3713
|
-
'notifications.joined_stage': 'has joined stage',
|
|
3714
|
-
'notifications.request_to_join_accepted': 'Request to join accepted',
|
|
3715
|
-
'notifications.request_to_join_rejected': 'Request to join rejected',
|
|
3716
|
-
'notifications.accept': 'Accept',
|
|
3717
|
-
'notifications.new_poll_created_by': 'New poll created by',
|
|
3718
|
-
'notifications.connected_to': 'Connected to',
|
|
3719
|
-
'notifications.plugin_switched_to': 'Plugin switched to',
|
|
3720
|
-
'notifications.remote_control_requested': 'has requested for remote control',
|
|
3721
|
-
'notifications.remote_control_request_sent': 'Sent remote control request to',
|
|
3722
|
-
'notifications.remote_control_request_accepted': 'has granted remote control',
|
|
3723
|
-
'notifications.remote_control_granted': 'Granted remote control to',
|
|
3724
|
-
'notifications.remote_control_terminated': 'Existing remote control has been terminated',
|
|
3725
|
-
'debugger.troubleshooting.label': 'Troubleshooting',
|
|
3726
|
-
'debugger.quality.good': 'Good',
|
|
3727
|
-
'debugger.quality.average': 'Average',
|
|
3728
|
-
'debugger.quality.poor': 'Poor',
|
|
3729
|
-
'debugger.stats.bitrate.label': 'Bitrate',
|
|
3730
|
-
'debugger.stats.bitrate.description': 'Data transmitted per second, affects quality and file size.',
|
|
3731
|
-
'debugger.stats.packet_loss.label': 'Packet Loss',
|
|
3732
|
-
'debugger.stats.packet_loss.description': 'Amount of data lost during transfer',
|
|
3733
|
-
'debugger.stats.jitter.label': 'Jitter',
|
|
3734
|
-
'debugger.stats.jitter.description': 'Variance or fluctuation in latency',
|
|
3735
|
-
'debugger.stats.cpu_limitations.label': 'CPU Limitations',
|
|
3736
|
-
'debugger.stats.cpu_limitations.description': 'CPU limitations can impact WebRTC call quality and performance.',
|
|
3737
|
-
'debugger.stats.bandwidth_limitations.label': 'Bandwidth Limitations',
|
|
3738
|
-
'debugger.stats.bandwidth_limitations.description': 'Slow internet speeds can degrade video quality.',
|
|
3739
|
-
'debugger.audio.label': 'Audio',
|
|
3740
|
-
'debugger.audio.troubleshooting.label': 'Audio Troubleshooting',
|
|
3741
|
-
'debugger.audio.messages.generating_report': 'Generating report. Please wait for a few seconds.',
|
|
3742
|
-
'debugger.audio.messages.enable_media': 'Please enable mic to see the report.',
|
|
3743
|
-
'debugger.audio.sections.network_media': 'Network & Media',
|
|
3744
|
-
'debugger.video.label': 'Video',
|
|
3745
|
-
'debugger.video.troubleshooting.label': 'Video Troubleshooting',
|
|
3746
|
-
'debugger.video.messages.generating_report': 'Generating report. Please wait for a few seconds.',
|
|
3747
|
-
'debugger.video.messages.enable_media': 'Please enable camera to see the report.',
|
|
3748
|
-
'debugger.video.sections.network_media': 'Network & Media',
|
|
3749
|
-
'debugger.screenshare.label': 'Screenshare',
|
|
3750
|
-
'debugger.screenshare.troubleshooting.label': 'Screenshare Troubleshooting',
|
|
3751
|
-
'debugger.screenshare.sections.network_media': 'Network & Media',
|
|
3752
|
-
'debugger.screenshare.messages.generating_report': 'Generating report. Please wait for a few seconds.',
|
|
3753
|
-
'debugger.screenshare.messages.enable_media': 'Please share screen to see the report.',
|
|
3754
|
-
'debugger.system.label': 'System',
|
|
3755
|
-
'debugger.system.troubleshooting.label': 'System Troubleshooting',
|
|
3756
|
-
'debugger.system.sections.battery': 'Battery',
|
|
3757
|
-
'debugger.system.battery.level.label': 'Battery Level',
|
|
3758
|
-
'debugger.system.battery.level.description': 'A low battery charge may result in reduced performance.',
|
|
3759
|
-
'debugger.system.battery.charging.label': 'Battery Charging Status',
|
|
3760
|
-
'debugger.system.battery.charging.description': 'A device running on power performs optimally.',
|
|
3761
|
-
'debugger.system.battery.charging.is_charging': 'Charging',
|
|
3762
|
-
'debugger.system.battery.charging.is_not_charging': 'Not charging',
|
|
3763
|
-
};
|
|
3764
|
-
|
|
3765
|
-
/**
|
|
3766
|
-
* Creates an i18n instance from a language dictionary/object.
|
|
3767
|
-
* @param lang The language dictionary
|
|
3768
|
-
* @returns A function which handles i18n
|
|
3769
|
-
*/
|
|
3770
|
-
const useLanguage = (lang = defaultLanguage) => {
|
|
3771
|
-
let locale = defaultLanguage;
|
|
3772
|
-
if (lang !== defaultLanguage || Object.keys(lang).length > 0) {
|
|
3773
|
-
locale = Object.assign({}, defaultLanguage, lang);
|
|
3774
|
-
}
|
|
3775
|
-
return (key) => {
|
|
3776
|
-
var _a;
|
|
3777
|
-
return (_a = locale[key]) !== null && _a !== void 0 ? _a : key;
|
|
3778
|
-
};
|
|
3779
|
-
};
|
|
3780
|
-
|
|
3781
|
-
/**
|
|
3782
|
-
* Default Icon Pack for UI Kit
|
|
3783
|
-
*/
|
|
3784
|
-
const defaultIconPack = {
|
|
3785
|
-
people: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 13.999 13 14a2 2 0 0 1 1.995 1.85L15 16v1.5C14.999 21 11.284 22 8.5 22c-2.722 0-6.335-.956-6.495-4.27L2 17.5v-1.501c0-1.054.816-1.918 1.85-1.995L4 14ZM15.22 14H20c1.054 0 1.918.816 1.994 1.85L22 16v1c-.001 3.062-2.858 4-5 4a7.16 7.16 0 0 1-2.14-.322c.336-.386.607-.827.802-1.327A6.19 6.19 0 0 0 17 19.5l.267-.006c.985-.043 3.086-.363 3.226-2.289L20.5 17v-1a.501.501 0 0 0-.41-.492L20 15.5h-4.051a2.957 2.957 0 0 0-.595-1.34L15.22 14H20h-4.78ZM4 15.499l-.1.01a.51.51 0 0 0-.254.136.506.506 0 0 0-.136.253l-.01.101V17.5c0 1.009.45 1.722 1.417 2.242.826.445 2.003.714 3.266.753l.317.005.317-.005c1.263-.039 2.439-.308 3.266-.753.906-.488 1.359-1.145 1.412-2.057l.005-.186V16a.501.501 0 0 0-.41-.492L13 15.5l-9-.001ZM8.5 3a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Zm9 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm-9-.5c-1.654 0-3 1.346-3 3s1.346 3 3 3 3-1.346 3-3-1.346-3-3-3Zm9 2c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2Z" fill="currentColor"/></svg>',
|
|
3786
|
-
people_checked: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 29"><path fill="currentColor" d="M14.58 15.333H2.833a2.667 2.667 0 0 0-2.666 2.666v2l.006.307c.214 4.419 5.031 5.693 8.66 5.693 1.374 0 2.92-.182 4.32-.649a8.53 8.53 0 0 1-.717-1.87c-.93.298-2.027.478-3.18.513l-.423.006-.422-.006c-1.684-.052-3.254-.411-4.355-1.004-1.29-.694-1.89-1.644-1.89-2.99v-2.001l.014-.135a.675.675 0 0 1 .181-.337.68.68 0 0 1 .338-.181l.134-.014h10.31a8.71 8.71 0 0 1 1.436-1.998h.001Zm.253-8.667a6 6 0 1 0-12 0 6 6 0 0 0 12 0Zm-10 0c0-2.205 1.795-4 4-4 2.206 0 4 1.795 4 4s-1.794 4-4 4c-2.205 0-4-1.795-4-4ZM25.5 7.999a4.667 4.667 0 1 0-9.333 0A4.667 4.667 0 0 0 25.5 8Zm-7.333 0a2.67 2.67 0 0 1 2.666-2.666A2.67 2.67 0 0 1 23.5 7.999a2.67 2.67 0 0 1-2.667 2.667 2.67 2.67 0 0 1-2.666-2.667Zm10 13.334a7.333 7.333 0 1 1-14.667 0 7.333 7.333 0 0 1 14.667 0Zm-2.862-3.139a.666.666 0 0 0-.944 0l-4.86 4.863-2.196-2.196a.667.667 0 1 0-.944.944l2.667 2.666a.666.666 0 0 0 .944 0l5.333-5.333a.666.666 0 0 0 0-.944Z"/></svg>',
|
|
3787
|
-
chat: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10a9.96 9.96 0 0 1-4.587-1.112l-3.826 1.067a1.25 1.25 0 0 1-1.54-1.54l1.068-3.823A9.96 9.96 0 0 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5A8.5 8.5 0 0 0 3.5 12c0 1.47.373 2.883 1.073 4.137l.15.27-1.112 3.984 3.987-1.112.27.15A8.5 8.5 0 1 0 12 3.5ZM8.75 13h4.498a.75.75 0 0 1 .102 1.493l-.102.007H8.75a.75.75 0 0 1-.102-1.493L8.75 13h4.498H8.75Zm0-3.5h6.505a.75.75 0 0 1 .101 1.493l-.101.007H8.75a.75.75 0 0 1-.102-1.493L8.75 9.5h6.505H8.75Z" fill="currentColor"/></svg>',
|
|
3788
|
-
poll: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.752 2a2.752 2.752 0 0 1 2.752 2.751V19.25a2.752 2.752 0 1 1-5.504 0V4.75A2.752 2.752 0 0 1 11.752 2Zm7 5a2.752 2.752 0 0 1 2.752 2.751v9.499a2.752 2.752 0 1 1-5.504 0V9.75A2.752 2.752 0 0 1 18.752 7Zm-14 5a2.752 2.752 0 0 1 2.752 2.751v4.499a2.752 2.752 0 0 1-5.504 0V14.75A2.752 2.752 0 0 1 4.752 12Zm7-8.5c-.692 0-1.252.56-1.252 1.251V19.25a1.252 1.252 0 0 0 2.504 0V4.75c0-.691-.56-1.251-1.252-1.251Zm7 5c-.691 0-1.252.56-1.252 1.251v9.499a1.252 1.252 0 0 0 2.504 0V9.75c0-.691-.56-1.251-1.252-1.251Zm-14 5c-.692 0-1.252.56-1.252 1.251v4.499a1.252 1.252 0 1 0 2.504 0V14.75c0-.691-.56-1.252-1.252-1.252Z" fill="currentColor"/></svg>',
|
|
3789
|
-
participants: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.754 10c.966 0 1.75.784 1.75 1.75v4.749a4.501 4.501 0 0 1-9.002 0V11.75c0-.966.783-1.75 1.75-1.75h5.502Zm0 1.5H9.252a.25.25 0 0 0-.25.25v4.749a3.001 3.001 0 0 0 6.002 0V11.75a.25.25 0 0 0-.25-.25ZM3.75 10h3.381a2.738 2.738 0 0 0-.618 1.5H3.75a.25.25 0 0 0-.25.25v3.249a2.501 2.501 0 0 0 3.082 2.433c.085.504.24.985.453 1.432A4.001 4.001 0 0 1 2 14.999V11.75c0-.966.784-1.75 1.75-1.75Zm13.125 0h3.375c.966 0 1.75.784 1.75 1.75V15a4 4 0 0 1-5.03 3.866c.214-.448.369-.929.455-1.433A2.5 2.5 0 0 0 20.5 15v-3.25a.25.25 0 0 0-.25-.25h-2.757a2.738 2.738 0 0 0-.618-1.5ZM12 3a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm6.5 1a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm-13 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm6.5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm6.5 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-13 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z" fill="currentColor"/></svg>',
|
|
3790
|
-
rocket: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M9.35 20.45 14.65 22.7Q15.55 20.9 16.575 19.15Q17.6 17.4 18.75 15.8L14.8 15Q14.8 15 14.8 15Q14.8 15 14.8 15ZM17.05 24.5 23.7 31.15Q26.55 29.85 29.05 28.2Q31.55 26.55 33.1 25Q37.15 20.95 39.05 16.7Q40.95 12.45 41.1 7.1Q35.75 7.25 31.5 9.15Q27.25 11.05 23.2 15.1Q21.65 16.65 20 19.15Q18.35 21.65 17.05 24.5ZM28.5 19.7Q27.5 18.7 27.5 17.225Q27.5 15.75 28.5 14.75Q29.5 13.75 30.975 13.75Q32.45 13.75 33.45 14.75Q34.45 15.75 34.45 17.225Q34.45 18.7 33.45 19.7Q32.45 20.7 30.975 20.7Q29.5 20.7 28.5 19.7ZM27.75 38.85 33.2 33.4Q33.2 33.4 33.2 33.4Q33.2 33.4 33.2 33.4L32.4 29.45Q30.8 30.6 29.05 31.625Q27.3 32.65 25.5 33.55ZM44.05 4.15Q44.5 10.95 42.35 16.55Q40.2 22.15 35.25 27.1Q35.2 27.15 35.15 27.2Q35.1 27.25 35.05 27.3L36.15 32.8Q36.3 33.55 36.075 34.25Q35.85 34.95 35.3 35.5L26.75 44.1L22.5 34.2L14 25.7L4.1 21.45L12.7 12.9Q13.25 12.35 13.95 12.125Q14.65 11.9 15.4 12.05L20.9 13.15Q20.95 13.1 21 13.075Q21.05 13.05 21.1 13Q26.05 8.05 31.65 5.875Q37.25 3.7 44.05 4.15ZM7.45 31.75Q9.2 30 11.725 29.975Q14.25 29.95 16 31.7Q17.75 33.45 17.725 35.975Q17.7 38.5 15.95 40.25Q14.65 41.55 11.925 42.4Q9.2 43.25 3.75 44Q4.5 38.55 5.325 35.8Q6.15 33.05 7.45 31.75ZM9.55 33.9Q8.85 34.65 8.3 36.25Q7.75 37.85 7.35 40.35Q9.85 39.95 11.45 39.4Q13.05 38.85 13.8 38.15Q14.75 37.3 14.775 36.025Q14.8 34.75 13.9 33.8Q12.95 32.9 11.675 32.925Q10.4 32.95 9.55 33.9Z" fill="currentColor" /></svg>',
|
|
3791
|
-
call_end: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m21.903 13.202-.191.816a2.75 2.75 0 0 1-2.955 2.107l-1.755-.178A2.75 2.75 0 0 1 14.6 13.83l-.389-1.686a.25.25 0 0 0-.113-.157c-.321-.197-1.034-.32-2.098-.32-.786 0-1.386.067-1.786.189-.14.043-.238.085-.301.116l-.09.048-.015.04-.409 1.77A2.75 2.75 0 0 1 7 15.948l-1.746.177A2.75 2.75 0 0 1 2.3 14.03l-.196-.817a3.75 3.75 0 0 1 1.13-3.651C5.134 7.839 8.064 7 12 7c3.943 0 6.875.842 8.776 2.57a3.75 3.75 0 0 1 1.172 3.41l-.045.222Zm-1.426-.514a2.25 2.25 0 0 0-.71-2.009C18.184 9.241 15.602 8.5 12 8.5c-3.598 0-6.177.739-7.76 2.172a2.25 2.25 0 0 0-.677 2.19l.196.818a1.25 1.25 0 0 0 1.342.953l1.746-.178a1.25 1.25 0 0 0 1.09-.962l.423-1.82.043-.136c.376-.998 1.591-1.37 3.597-1.37 1.318 0 2.265.164 2.88.54.401.245.687.642.793 1.1l.389 1.685c.12.522.56.909 1.092.963l1.754.178a1.25 1.25 0 0 0 1.343-.958l.192-.816.034-.171Z" fill="currentColor"/></svg>',
|
|
3792
|
-
share: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 2.498a3.502 3.502 0 1 1-2.597 5.851l-4.558 2.604a3.5 3.5 0 0 1 0 2.093l4.557 2.606a3.502 3.502 0 1 1-.745 1.302L9.1 14.347a3.502 3.502 0 1 1 0-4.698l4.557-2.604A3.502 3.502 0 0 1 17 2.498Zm0 13.5a2.002 2.002 0 1 0 0 4.004 2.002 2.002 0 0 0 0-4.004Zm-10.498-6a2.002 2.002 0 1 0 0 4.004 2.002 2.002 0 0 0 0-4.004Zm10.498-6a2.002 2.002 0 1 0 0 4.004 2.002 2.002 0 0 0 0-4.004Z" fill="currentColor"/></svg>',
|
|
3793
|
-
mic_on: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 11a.75.75 0 0 1 .743.648l.007.102v.5a6.75 6.75 0 0 1-6.249 6.732l-.001 2.268a.75.75 0 0 1-1.493.102l-.007-.102v-2.268a6.75 6.75 0 0 1-6.246-6.496L5 12.25v-.5a.75.75 0 0 1 1.493-.102l.007.102v.5a5.25 5.25 0 0 0 5.034 5.246l.216.004h.5a5.25 5.25 0 0 0 5.246-5.034l.004-.216v-.5a.75.75 0 0 1 .75-.75ZM12 2a4 4 0 0 1 4 4v6a4 4 0 0 1-8 0V6a4 4 0 0 1 4-4Zm0 1.5A2.5 2.5 0 0 0 9.5 6v6a2.5 2.5 0 0 0 5 0V6A2.5 2.5 0 0 0 12 3.5Z" fill="currentColor"/></svg>',
|
|
3794
|
-
mic_off: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.28 2.22a.75.75 0 1 0-1.06 1.06L8 9.06V12a4 4 0 0 0 6.248 3.309l1.146 1.146A5.227 5.227 0 0 1 12.25 17.5h-.5l-.216-.004A5.25 5.25 0 0 1 6.5 12.25v-.5l-.007-.102A.75.75 0 0 0 5 11.75v.5l.004.236a6.75 6.75 0 0 0 6.246 6.496v2.268l.007.102a.75.75 0 0 0 1.493-.102l.001-2.268a6.718 6.718 0 0 0 3.712-1.458l4.256 4.256a.75.75 0 0 0 1.061-1.06L3.28 2.22Zm9.876 11.997A2.5 2.5 0 0 1 9.5 12v-1.44l3.656 3.657ZM14.5 6v5.318l1.43 1.43c.046-.242.07-.492.07-.748V6a4 4 0 0 0-7.862-1.044L9.5 6.318V6a2.5 2.5 0 0 1 5 0ZM17.196 14.014l1.146 1.146A6.725 6.725 0 0 0 19 12.25v-.5l-.007-.102a.75.75 0 0 0-1.493.102v.5l-.004.216a5.233 5.233 0 0 1-.3 1.548Z" fill="currentColor"/></svg>',
|
|
3795
|
-
video_on: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.75 4.5A3.25 3.25 0 0 1 17 7.75v.173l3.864-2.318A.75.75 0 0 1 22 6.248V17.75a.75.75 0 0 1-1.136.643L17 16.075v.175a3.25 3.25 0 0 1-3.25 3.25h-8.5A3.25 3.25 0 0 1 2 16.25v-8.5A3.25 3.25 0 0 1 5.25 4.5h8.5Zm0 1.5h-8.5A1.75 1.75 0 0 0 3.5 7.75v8.5c0 .966.784 1.75 1.75 1.75h8.5a1.75 1.75 0 0 0 1.75-1.75v-8.5A1.75 1.75 0 0 0 13.75 6Zm6.75 1.573L17 9.674v4.651l3.5 2.1V7.573Z" fill="currentColor"/></svg>',
|
|
3796
|
-
video_off: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.28 2.22a.75.75 0 1 0-1.06 1.06l1.567 1.567A3.25 3.25 0 0 0 2 7.75v8.5a3.25 3.25 0 0 0 3.25 3.25h8.5a3.25 3.25 0 0 0 2.903-1.786l4.066 4.067a.75.75 0 0 0 1.061-1.061L3.28 2.22Zm12.196 14.317A1.75 1.75 0 0 1 13.75 18h-8.5a1.75 1.75 0 0 1-1.75-1.75v-8.5c0-.869.633-1.59 1.463-1.727l10.514 10.514ZM15.5 12.318V7.75A1.75 1.75 0 0 0 13.75 6H9.182l-1.5-1.5h6.068A3.25 3.25 0 0 1 17 7.75v.173l3.864-2.318A.75.75 0 0 1 22 6.248V17.75c0 .301-.17.543-.403.665L20.5 17.318V7.573L17 9.674v4.144l-1.5-1.5Z" fill="currentColor"/></svg>',
|
|
3797
|
-
share_screen_start: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 6.25A2.25 2.25 0 0 1 4.25 4h15.5A2.25 2.25 0 0 1 22 6.25v11.5A2.25 2.25 0 0 1 19.75 20H4.25A2.25 2.25 0 0 1 2 17.75V6.25Zm2.25-.75a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h15.5a.75.75 0 0 0 .75-.75V6.25a.75.75 0 0 0-.75-.75H4.25Z"/><path d="M12 7.245a.75.75 0 0 1 .53.22l3.255 3.255a.75.75 0 1 1-1.06 1.06L12.75 9.806v6.447a.75.75 0 0 1-1.5 0V9.808L9.28 11.78a.75.75 0 1 1-1.06-1.06l3.25-3.254a.75.75 0 0 1 .53-.22Z"/></svg>',
|
|
3798
|
-
share_screen_stop: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M2 6.25A2.25 2.25 0 0 1 4.25 4h15.5A2.25 2.25 0 0 1 22 6.25v11.5A2.25 2.25 0 0 1 19.75 20H4.25A2.25 2.25 0 0 1 2 17.75V6.25Zm2.25-.75a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h15.5a.75.75 0 0 0 .75-.75V6.25a.75.75 0 0 0-.75-.75H4.25Z"/><path d="M8.22 8.215a.75.75 0 0 1 1.06 0l2.72 2.72 2.725-2.716a.75.75 0 0 1 1.06 1.062l-2.724 2.715 2.724 2.724a.75.75 0 1 1-1.06 1.06L12 13.057 9.28 15.78a.75.75 0 0 1-1.06-1.06l2.72-2.724-2.72-2.72a.75.75 0 0 1 0-1.06Z"/></svg>',
|
|
3799
|
-
share_screen_person: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2 7.25A3.25 3.25 0 0 1 5.25 4h13.5A3.25 3.25 0 0 1 22 7.25V13h-.258a3.74 3.74 0 0 0-1.242-2.545V7.25a1.75 1.75 0 0 0-1.75-1.75H5.25A1.75 1.75 0 0 0 3.5 7.25v9.5c0 .966.784 1.75 1.75 1.75H12v.5c0 .34.04.674.118 1H5.25A3.25 3.25 0 0 1 2 16.75v-9.5ZM21.5 17a1.5 1.5 0 0 1 1.5 1.5v.5c0 1.971-1.86 4-5 4-3.14 0-5-2.029-5-4v-.5a1.5 1.5 0 0 1 1.5-1.5h7ZM18 10.5a2.75 2.75 0 1 1 0 5.5 2.75 2.75 0 0 1 0-5.5Z" fill="currentColor"/></svg>',
|
|
3800
|
-
clock: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2c5.523 0 10 4.478 10 10s-4.477 10-10 10S2 17.522 2 12 6.477 2 12 2Zm0 1.667c-4.595 0-8.333 3.738-8.333 8.333 0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.333-3.738 8.333-8.333 0-4.595-3.738-8.333-8.333-8.333ZM11.25 6a.75.75 0 0 1 .743.648L12 6.75V12h3.25a.75.75 0 0 1 .102 1.493l-.102.007h-4a.75.75 0 0 1-.743-.648l-.007-.102v-6a.75.75 0 0 1 .75-.75Z" fill="currentColor"/></svg>',
|
|
3801
|
-
dismiss: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m4.397 4.554.073-.084a.75.75 0 0 1 .976-.073l.084.073L12 10.939l6.47-6.47a.75.75 0 1 1 1.06 1.061L13.061 12l6.47 6.47a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L12 13.061l-6.47 6.47a.75.75 0 0 1-1.06-1.061L10.939 12l-6.47-6.47a.75.75 0 0 1-.072-.976l.073-.084-.073.084Z" fill="currentColor"/></svg>',
|
|
3802
|
-
send: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5.694 12 2.299 3.272c-.236-.607.356-1.188.942-.982l.093.04 18 9a.75.75 0 0 1 .097 1.283l-.097.058-18 9a.75.75 0 0 1-1.065-.847l.03-.096L5.694 12 2.299 3.272 5.694 12ZM4.402 4.54l2.61 6.71h6.627a.75.75 0 0 1 .743.648l.007.102a.75.75 0 0 1-.649.743l-.101.007H7.01l-2.609 6.71L19.322 12 4.401 4.54Z" fill="currentColor"/></svg>',
|
|
3803
|
-
search: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 2.75a7.25 7.25 0 0 1 5.63 11.819l4.9 4.9a.75.75 0 0 1-.976 1.134l-.084-.073-4.901-4.9A7.25 7.25 0 1 1 10 2.75Zm0 1.5a5.75 5.75 0 1 0 0 11.5 5.75 5.75 0 0 0 0-11.5Z" fill="currentColor"/</svg>',
|
|
3804
|
-
more_vertical: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7.75a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5ZM12 13.75a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5ZM10.25 18a1.75 1.75 0 1 0 3.5 0 1.75 1.75 0 0 0-3.5 0Z" fill="currentColor"/></svg>',
|
|
3805
|
-
chevron_down: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.22 8.47a.75.75 0 0 1 1.06 0L12 15.19l6.72-6.72a.75.75 0 1 1 1.06 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L4.22 9.53a.75.75 0 0 1 0-1.06Z" fill="currentColor"/></svg>',
|
|
3806
|
-
chevron_up: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.22 15.53a.75.75 0 0 0 1.06 0L12 8.81l6.72 6.72a.75.75 0 1 0 1.06-1.06l-7.25-7.25a.75.75 0 0 0-1.06 0l-7.25 7.25a.75.75 0 0 0 0 1.06Z" fill="currentColor"/></svg>',
|
|
3807
|
-
chevron_left: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.53 4.22a.75.75 0 0 1 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25a.75.75 0 0 1 1.06 0Z" fill="currentColor"/></svg>',
|
|
3808
|
-
chevron_right: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.47 4.22a.75.75 0 0 0 0 1.06L15.19 12l-6.72 6.72a.75.75 0 1 0 1.06 1.06l7.25-7.25a.75.75 0 0 0 0-1.06L9.53 4.22a.75.75 0 0 0-1.06 0Z" fill="currentColor"/></svg>',
|
|
3809
|
-
settings: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.012 2.25c.734.008 1.465.093 2.182.253a.75.75 0 0 1 .582.649l.17 1.527a1.384 1.384 0 0 0 1.927 1.116l1.401-.615a.75.75 0 0 1 .85.174 9.792 9.792 0 0 1 2.204 3.792.75.75 0 0 1-.271.825l-1.242.916a1.381 1.381 0 0 0 0 2.226l1.243.915a.75.75 0 0 1 .272.826 9.797 9.797 0 0 1-2.204 3.792.75.75 0 0 1-.848.175l-1.407-.617a1.38 1.38 0 0 0-1.926 1.114l-.169 1.526a.75.75 0 0 1-.572.647 9.518 9.518 0 0 1-4.406 0 .75.75 0 0 1-.572-.647l-.168-1.524a1.382 1.382 0 0 0-1.926-1.11l-1.406.616a.75.75 0 0 1-.849-.175 9.798 9.798 0 0 1-2.204-3.796.75.75 0 0 1 .272-.826l1.243-.916a1.38 1.38 0 0 0 0-2.226l-1.243-.914a.75.75 0 0 1-.271-.826 9.793 9.793 0 0 1 2.204-3.792.75.75 0 0 1 .85-.174l1.4.615a1.387 1.387 0 0 0 1.93-1.118l.17-1.526a.75.75 0 0 1 .583-.65c.717-.159 1.45-.243 2.201-.252Zm0 1.5a9.135 9.135 0 0 0-1.354.117l-.109.977A2.886 2.886 0 0 1 6.525 7.17l-.898-.394a8.293 8.293 0 0 0-1.348 2.317l.798.587a2.881 2.881 0 0 1 0 4.643l-.799.588c.32.842.776 1.626 1.348 2.322l.905-.397a2.882 2.882 0 0 1 4.017 2.318l.11.984c.889.15 1.798.15 2.687 0l.11-.984a2.881 2.881 0 0 1 4.018-2.322l.905.396a8.296 8.296 0 0 0 1.347-2.318l-.798-.588a2.881 2.881 0 0 1 0-4.643l.796-.587a8.293 8.293 0 0 0-1.348-2.317l-.896.393a2.884 2.884 0 0 1-4.023-2.324l-.11-.976a8.988 8.988 0 0 0-1.333-.117ZM12 8.25a3.75 3.75 0 1 1 0 7.5 3.75 3.75 0 0 1 0-7.5Zm0 1.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z" fill="currentColor"/></svg>',
|
|
3810
|
-
wifi: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.745 10.75a8.291 8.291 0 0 1 1.492 2.07.75.75 0 1 1-1.335.683 6.798 6.798 0 0 0-1.218-1.692 6.562 6.562 0 0 0-10.493 1.673.75.75 0 1 1-1.339-.677 8.062 8.062 0 0 1 12.893-2.057Zm-2.102 3.07c.448.447.816.997 1.072 1.582a.75.75 0 1 1-1.373.602 3.72 3.72 0 0 0-.76-1.124 3.592 3.592 0 0 0-5.08 0c-.31.31-.562.689-.746 1.11a.75.75 0 1 1-1.375-.6 5.11 5.11 0 0 1 1.061-1.57 5.092 5.092 0 0 1 7.201 0Zm4.805-5.541c.51.509.99 1.09 1.409 1.697a.75.75 0 0 1-1.235.852 10.822 10.822 0 0 0-1.234-1.489c-4.08-4.08-10.695-4.08-14.776 0-.421.422-.84.934-1.222 1.484a.75.75 0 0 1-1.232-.855c.43-.62.905-1.2 1.394-1.69 4.666-4.665 12.23-4.665 16.896 0Zm-7.387 8.16a1.5 1.5 0 1 1-2.122 2.122 1.5 1.5 0 0 1 2.122-2.122Z" fill="currentColor"/></svg>',
|
|
3811
|
-
speaker: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M15 4.25c0-1.079-1.274-1.65-2.08-.934L8.427 7.309a.75.75 0 0 1-.498.19H4.25A2.25 2.25 0 0 0 2 9.749v4.497a2.25 2.25 0 0 0 2.25 2.25h3.68a.75.75 0 0 1 .498.19l4.491 3.994c.806.716 2.081.144 2.081-.934V4.25ZM9.425 8.43 13.5 4.807v14.382l-4.075-3.624a2.25 2.25 0 0 0-1.495-.569H4.25a.75.75 0 0 1-.75-.75V9.75a.75.75 0 0 1 .75-.75h3.68a2.25 2.25 0 0 0 1.495-.569ZM18.992 5.897a.75.75 0 0 1 1.049.157A9.959 9.959 0 0 1 22 12a9.96 9.96 0 0 1-1.96 5.946.75.75 0 0 1-1.205-.892A8.459 8.459 0 0 0 20.5 12a8.459 8.459 0 0 0-1.665-5.054.75.75 0 0 1 .157-1.049Z" /><path d="M17.143 8.37a.75.75 0 0 1 1.017.302c.536.99.84 2.125.84 3.328a6.973 6.973 0 0 1-.84 3.328.75.75 0 0 1-1.32-.714c.42-.777.66-1.666.66-2.614s-.24-1.837-.66-2.614a.75.75 0 0 1 .303-1.017Z"/></svg>',
|
|
3812
|
-
speaker_off: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M3.28 2.22a.75.75 0 1 0-1.06 1.06L6.438 7.5H4.25A2.25 2.25 0 0 0 2 9.749v4.497a2.25 2.25 0 0 0 2.25 2.25h3.68a.75.75 0 0 1 .498.19l4.491 3.994c.806.716 2.081.144 2.081-.934V16.06l5.72 5.72a.75.75 0 0 0 1.06-1.061L3.28 2.22ZM13.5 14.56v4.629l-4.075-3.624a2.25 2.25 0 0 0-1.495-.569H4.25a.75.75 0 0 1-.75-.75V9.75a.75.75 0 0 1 .75-.75h3.688L13.5 14.56ZM13.5 4.807v5.511l1.5 1.5V4.25c0-1.079-1.274-1.65-2.08-.934l-3.4 3.022 1.063 1.063L13.5 4.807ZM17.141 13.96l1.138 1.137A6.974 6.974 0 0 0 19 12a6.973 6.973 0 0 0-.84-3.328.75.75 0 0 0-1.32.714c.42.777.66 1.666.66 2.614 0 .691-.127 1.351-.359 1.96ZM19.388 16.206l1.093 1.094A9.955 9.955 0 0 0 22 12a9.959 9.959 0 0 0-1.96-5.946.75.75 0 0 0-1.205.892A8.46 8.46 0 0 1 20.5 12a8.458 8.458 0 0 1-1.112 4.206Z"/></svg>',
|
|
3813
|
-
download: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.25 20.5a.75.75 0 1 1 0 1.5l-13 .004a.75.75 0 1 1 0-1.5l13-.004ZM11.648 2.012l.102-.007a.75.75 0 0 1 .743.648l.007.102-.001 13.685 3.722-3.72a.75.75 0 0 1 .976-.073l.085.073a.75.75 0 0 1 .072.976l-.073.084-4.997 4.997a.75.75 0 0 1-.976.073l-.085-.073-5.003-4.996a.75.75 0 0 1 .976-1.134l.084.072 3.719 3.714L11 2.755a.75.75 0 0 1 .648-.743l.102-.007-.102.007Z" fill="currentColor"/></svg>',
|
|
3814
|
-
full_screen_maximize: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4.5 5.75c0-.69.56-1.25 1.25-1.25h2a.75.75 0 0 0 0-1.5h-2A2.75 2.75 0 0 0 3 5.75v2a.75.75 0 0 0 1.5 0v-2ZM4.5 18.25c0 .69.56 1.25 1.25 1.25h2a.75.75 0 0 1 0 1.5h-2A2.75 2.75 0 0 1 3 18.25v-2a.75.75 0 0 1 1.5 0v2ZM18.25 4.5c.69 0 1.25.56 1.25 1.25v2a.75.75 0 0 0 1.5 0v-2A2.75 2.75 0 0 0 18.25 3h-2a.75.75 0 0 0 0 1.5h2ZM19.5 18.25c0 .69-.56 1.25-1.25 1.25h-2a.75.75 0 0 0 0 1.5h2A2.75 2.75 0 0 0 21 18.25v-2a.75.75 0 0 0-1.5 0v2Z" fill="currentColor"/></svg>',
|
|
3815
|
-
full_screen_minimize: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.5 3.75a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 0 0 1.5h2.5A2.25 2.25 0 0 0 8.5 6.25v-2.5ZM8.5 20.25a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 0-.75-.75h-2.5a.75.75 0 0 1 0-1.5h2.5a2.25 2.25 0 0 1 2.25 2.25v2.5ZM16.25 3a.75.75 0 0 0-.75.75v2.5a2.25 2.25 0 0 0 2.25 2.25h2.5a.75.75 0 0 0 0-1.5h-2.5a.75.75 0 0 1-.75-.75v-2.5a.75.75 0 0 0-.75-.75ZM15.5 20.25a.75.75 0 0 0 1.5 0v-2.5a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 0 0-1.5h-2.5a2.25 2.25 0 0 0-2.25 2.25v2.5Z" fill="currentColor"/></svg>',
|
|
3816
|
-
copy: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5.503 4.627 5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.251 2.251 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123ZM17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2h9Zm0 1.5h-9a.75.75 0 0 0-.75.75v13c0 .414.336.75.75.75h9a.75.75 0 0 0 .75-.75v-13a.75.75 0 0 0-.75-.75Z" fill="currentColor"/></svg>',
|
|
3817
|
-
attach: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.772 3.743a6 6 0 0 1 8.66 8.302l-.19.197-8.8 8.798-.036.03a3.723 3.723 0 0 1-5.489-4.973.764.764 0 0 1 .085-.13l.054-.06.086-.088.142-.148.002.003 7.436-7.454a.75.75 0 0 1 .977-.074l.084.073a.75.75 0 0 1 .074.976l-.073.084-7.594 7.613a2.23 2.23 0 0 0 3.174 3.106l8.832-8.83A4.502 4.502 0 0 0 13 4.644l-.168.16-.013.014-9.536 9.536a.75.75 0 0 1-1.133-.977l.072-.084 9.549-9.55h.002Z" fill="currentColor"/></svg>',
|
|
3818
|
-
image: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.75 3A3.25 3.25 0 0 1 21 6.25v11.5A3.25 3.25 0 0 1 17.75 21H6.25A3.25 3.25 0 0 1 3 17.75V6.25A3.25 3.25 0 0 1 6.25 3h11.5Zm.58 16.401-5.805-5.686a.75.75 0 0 0-.966-.071l-.084.07-5.807 5.687c.182.064.378.099.582.099h11.5c.203 0 .399-.035.58-.099l-5.805-5.686L18.33 19.4ZM17.75 4.5H6.25A1.75 1.75 0 0 0 4.5 6.25v11.5c0 .208.036.408.103.594l5.823-5.701a2.25 2.25 0 0 1 3.02-.116l.128.116 5.822 5.702c.067-.186.104-.386.104-.595V6.25a1.75 1.75 0 0 0-1.75-1.75Zm-2.498 2a2.252 2.252 0 1 1 0 4.504 2.252 2.252 0 0 1 0-4.504Zm0 1.5a.752.752 0 1 0 0 1.504.752.752 0 0 0 0-1.504Z" fill="currentColor"/></svg>',
|
|
3819
|
-
emoji_multiple: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.5 2a6.503 6.503 0 0 1 6.312 4.943c-.515.01-1.02.068-1.506.171a5 5 0 1 0-6.191 6.191 8.053 8.053 0 0 0-.172 1.507A6.5 6.5 0 0 1 8.5 2Zm.16 8.006c.355-.451.759-.864 1.202-1.23a3.5 3.5 0 0 0-4.022.95.75.75 0 1 0 1.14.974 2 2 0 0 1 1.68-.694ZM7.5 6.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm5.458 2.042a.75.75 0 0 1 .082 1.058 4 4 0 0 1-6.075.005.75.75 0 0 1 1.138-.977 2.499 2.499 0 0 0 3.797-.003.75.75 0 0 1 1.058-.083ZM17.5 14.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM15 22a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0-1.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11Z" fill="currentColor"/></svg>',
|
|
3820
|
-
image_off: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.28 2.22a.75.75 0 1 0-1.06 1.06l1.263 1.264A3.235 3.235 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5c.626 0 1.21-.177 1.706-.483l1.263 1.264a.75.75 0 0 0 1.061-1.061L3.28 2.22Zm8.788 10.909 6.206 6.206.056.066a1.746 1.746 0 0 1-.58.099H6.25c-.204 0-.4-.035-.582-.099l5.807-5.686.593-.586Zm-.95-.95a2.245 2.245 0 0 0-.692.464l-5.823 5.7a1.747 1.747 0 0 1-.103-.593V6.25c0-.206.036-.404.101-.588l6.518 6.518ZM19.5 16.318V6.25a1.75 1.75 0 0 0-1.75-1.75H7.682L6.182 3H17.75A3.25 3.25 0 0 1 21 6.25v11.568l-1.5-1.5Z" fill="currentColor"/><path d="M15.252 6.5a2.252 2.252 0 1 1 0 4.504 2.252 2.252 0 0 1 0-4.504Zm0 1.5a.752.752 0 1 0 0 1.504.752.752 0 0 0 0-1.504Z" fill="currentColor"/></svg>',
|
|
3821
|
-
disconnected: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.28 2.22a.75.75 0 0 0-1.06 1.06l3.364 3.365a11.99 11.99 0 0 0-2.033 1.634c-.49.489-.964 1.069-1.394 1.689a.75.75 0 1 0 1.233.855c.381-.55.8-1.062 1.222-1.484a10.468 10.468 0 0 1 2.063-1.604l1.591 1.592a8.062 8.062 0 0 0-1.923 1.424c-.61.61-1.109 1.3-1.491 2.056a.75.75 0 1 0 1.338.677 6.51 6.51 0 0 1 1.214-1.673 6.546 6.546 0 0 1 1.984-1.362l1.93 1.93a5.07 5.07 0 0 0-2.876 1.44 5.11 5.11 0 0 0-1.061 1.57.75.75 0 0 0 1.374.602c.185-.422.437-.8.747-1.111a3.59 3.59 0 0 1 3.36-.958l7.858 7.858a.75.75 0 0 0 1.06-1.06L3.28 2.22Zm8.304 6.182 1.584 1.584a6.532 6.532 0 0 1 3.516 1.825 6.798 6.798 0 0 1 1.217 1.692.75.75 0 1 0 1.336-.683 8.292 8.292 0 0 0-1.492-2.07 8.042 8.042 0 0 0-6.16-2.348ZM8.487 5.305 9.713 6.53a10.44 10.44 0 0 1 10.908 4.297.75.75 0 1 0 1.235-.852 11.946 11.946 0 0 0-13.369-4.67Zm4.573 11.134a1.5 1.5 0 1 1-2.121 2.122 1.5 1.5 0 0 1 2.121-2.122Z" fill="currentColor"/></svg>',
|
|
3822
|
-
wand: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m13.314 7.565-.136.126-10.48 10.488a2.27 2.27 0 0 0 3.211 3.208L16.388 10.9a2.251 2.251 0 0 0-.001-3.182l-.157-.146a2.25 2.25 0 0 0-2.916-.007Zm-.848 2.961 1.088 1.088-8.706 8.713a.77.77 0 1 1-1.089-1.088l8.707-8.713Zm4.386 4.48L16.75 15a.75.75 0 0 0-.743.648L16 15.75v.75h-.75a.75.75 0 0 0-.743.648l-.007.102c0 .38.282.694.648.743l.102.007H16v.75c0 .38.282.694.648.743l.102.007a.75.75 0 0 0 .743-.648l.007-.102V18h.75a.75.75 0 0 0 .743-.648L19 17.25a.75.75 0 0 0-.648-.743l-.102-.007h-.75v-.75a.75.75 0 0 0-.648-.743L16.75 15l.102.007Zm-1.553-6.254.027.027a.751.751 0 0 1 0 1.061l-.711.713-1.089-1.089.73-.73a.75.75 0 0 1 1.043.018ZM6.852 5.007 6.75 5a.75.75 0 0 0-.743.648L6 5.75v.75h-.75a.75.75 0 0 0-.743.648L4.5 7.25c0 .38.282.693.648.743L5.25 8H6v.75c0 .38.282.693.648.743l.102.007a.75.75 0 0 0 .743-.648L7.5 8.75V8h.75a.75.75 0 0 0 .743-.648L9 7.25a.75.75 0 0 0-.648-.743L8.25 6.5H7.5v-.75a.75.75 0 0 0-.648-.743L6.75 5l.102.007Zm12-2L18.75 3a.75.75 0 0 0-.743.648L18 3.75v.75h-.75a.75.75 0 0 0-.743.648l-.007.102c0 .38.282.693.648.743L17.25 6H18v.75c0 .38.282.693.648.743l.102.007a.75.75 0 0 0 .743-.648l.007-.102V6h.75a.75.75 0 0 0 .743-.648L21 5.25a.75.75 0 0 0-.648-.743L20.25 4.5h-.75v-.75a.75.75 0 0 0-.648-.743L18.75 3l.102.007Z" fill="currentColor"/></svg>',
|
|
3823
|
-
recording: '<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z"/><path d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM3.5 12a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Z"/></svg>',
|
|
3824
|
-
subtract: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.755 12.5h16.492a.75.75 0 0 0 0-1.5H3.755a.75.75 0 0 0 0 1.5Z" fill="currentColor"/></svg>',
|
|
3825
|
-
stop_recording: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 3.5C9.74566 3.5 7.58365 4.39553 5.98959 5.98959C4.39553 7.58365 3.5 9.74566 3.5 12C3.5 14.2543 4.39553 16.4163 5.98959 18.0104C7.58365 19.6045 9.74566 20.5 12 20.5C14.2543 20.5 16.4163 19.6045 18.0104 18.0104C19.6045 16.4163 20.5 14.2543 20.5 12C20.5 9.74566 19.6045 7.58365 18.0104 5.98959C16.4163 4.39553 14.2543 3.5 12 3.5ZM2 12C2 6.477 6.477 2 12 2C17.523 2 22 6.477 22 12C22 17.523 17.523 22 12 22C6.477 22 2 17.523 2 12ZM8 9.5C8 9.10218 8.15804 8.72064 8.43934 8.43934C8.72064 8.15804 9.10218 8 9.5 8H14.5C14.8978 8 15.2794 8.15804 15.5607 8.43934C15.842 8.72064 16 9.10218 16 9.5V14.5C16 14.8978 15.842 15.2794 15.5607 15.5607C15.2794 15.842 14.8978 16 14.5 16H9.5C9.10218 16 8.72064 15.842 8.43934 15.5607C8.15804 15.2794 8 14.8978 8 14.5V9.5Z" fill="currentColor"/></svg>',
|
|
3826
|
-
warning: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.91 2.782a2.25 2.25 0 0 1 2.975.74l.083.138 7.759 14.009a2.25 2.25 0 0 1-1.814 3.334l-.154.006H4.243a2.25 2.25 0 0 1-2.041-3.197l.072-.143L10.031 3.66a2.25 2.25 0 0 1 .878-.878Zm9.505 15.613-7.76-14.008a.75.75 0 0 0-1.254-.088l-.057.088-7.757 14.008a.75.75 0 0 0 .561 1.108l.095.006h15.516a.75.75 0 0 0 .696-1.028l-.04-.086-7.76-14.008 7.76 14.008ZM12 16.002a.999.999 0 1 1 0 1.997.999.999 0 0 1 0-1.997ZM11.995 8.5a.75.75 0 0 1 .744.647l.007.102.004 4.502a.75.75 0 0 1-1.494.103l-.006-.102-.004-4.502a.75.75 0 0 1 .75-.75Z" fill="currentColor"/></svg>',
|
|
3827
|
-
pin: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m16.242 2.932 4.826 4.826a2.75 2.75 0 0 1-.715 4.404l-4.87 2.435a.75.75 0 0 0-.374.426l-1.44 4.166a1.25 1.25 0 0 1-2.065.476L8.5 16.561 4.06 21H3v-1.06l4.44-4.44-3.105-3.104a1.25 1.25 0 0 1 .476-2.066l4.166-1.44a.75.75 0 0 0 .426-.373l2.435-4.87a2.75 2.75 0 0 1 4.405-.715Zm3.766 5.886-4.826-4.826a1.25 1.25 0 0 0-2.002.325l-2.435 4.871a2.25 2.25 0 0 1-1.278 1.12l-3.789 1.31 6.705 6.704 1.308-3.789a2.25 2.25 0 0 1 1.12-1.277l4.872-2.436a1.25 1.25 0 0 0 .325-2.002Z" fill="currentColor"/></svg>',
|
|
3828
|
-
pin_off: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3.28 2.22a.75.75 0 0 0-1.06 1.06l5.905 5.905L4.81 10.33a1.25 1.25 0 0 0-.476 2.065L7.439 15.5 3 19.94V21h1.06l4.44-4.44 3.105 3.105a1.25 1.25 0 0 0 2.065-.476l1.145-3.313 5.905 5.904a.75.75 0 0 0 1.06-1.06L3.28 2.22Zm10.355 12.476-1.252 3.626-6.705-6.705 3.626-1.252 4.331 4.331Zm6.048-3.876-3.787 1.894 1.118 1.118 3.34-1.67a2.75 2.75 0 0 0 .714-4.404l-4.825-4.826a2.75 2.75 0 0 0-4.405.715l-1.67 3.34 1.118 1.117 1.894-3.787a1.25 1.25 0 0 1 2.002-.325l4.826 4.826a1.25 1.25 0 0 1-.325 2.002Z" fill="currentColor"/></svg>',
|
|
3829
|
-
spinner: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="12" r="10" stroke-width="2" stroke="currentColor" stroke-opacity="0.2" vector-effect="non-scaling-stroke"/><path d="M22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2" stroke="currentColor" stroke-width="2" stroke-linecap="round" vector-effect="non-scaling-stroke"/></svg>',
|
|
3830
|
-
breakout_rooms: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.5 3a2.25 2.25 0 0 1 2.25 2.25v6h6A2.25 2.25 0 0 1 21 13.5v5.25A2.25 2.25 0 0 1 18.75 21H5.25A2.25 2.25 0 0 1 3 18.75V5.25A2.25 2.25 0 0 1 5.25 3h5.25Zm.75 9.75H4.5v6c0 .414.336.75.75.75h5.999l.001-6.75Zm7.5 0h-6.001v6.75h6.001a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75ZM10.5 4.5H5.25a.75.75 0 0 0-.75.75v6h6.75v-6a.75.75 0 0 0-.75-.75Zm7.398-2.493L18 2a.75.75 0 0 1 .743.648l.007.102v2.5h2.5a.75.75 0 0 1 .743.648L22 6a.75.75 0 0 1-.648.743l-.102.007h-2.5v2.5a.75.75 0 0 1-.648.743L18 10a.75.75 0 0 1-.743-.648l-.007-.102v-2.5h-2.5a.75.75 0 0 1-.743-.648L14 6a.75.75 0 0 1 .648-.743l.102-.007h2.5v-2.5a.75.75 0 0 1 .648-.743Z" fill="currentColor"/></svg>',
|
|
3831
|
-
add: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M11.75 3a.75.75 0 0 1 .743.648l.007.102.001 7.25h7.253a.75.75 0 0 1 .102 1.493l-.102.007h-7.253l.002 7.25a.75.75 0 0 1-1.493.101l-.007-.102-.002-7.249H3.752a.75.75 0 0 1-.102-1.493L3.752 11h7.25L11 3.75a.75.75 0 0 1 .75-.75Z" fill="currentColor"/></svg>',
|
|
3832
|
-
shuffle: '<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M14.0058 8.11111H18.7947L16.9613 9.94444C16.9095 9.99587 16.8684 10.057 16.8402 10.1243C16.812 10.1917 16.7974 10.2639 16.7971 10.3369C16.7966 10.4843 16.8547 10.6259 16.9586 10.7306C17.01 10.7823 17.0711 10.8235 17.1385 10.8517C17.2058 10.8799 17.278 10.8945 17.351 10.8947C17.4985 10.8953 17.64 10.8372 17.7447 10.7333L20.8891 7.59999L20.4947 7.20555L17.7447 4.46111C17.64 4.35723 17.4985 4.29917 17.351 4.29969C17.2036 4.30021 17.0624 4.35927 16.9586 4.46388C16.8547 4.5685 16.7966 4.71009 16.7971 4.85751C16.7977 5.00494 16.8567 5.14612 16.9613 5.24999L18.728 6.99999H13.6669C13.5699 7.00058 13.4748 7.02653 13.391 7.07526C13.3072 7.12399 13.2376 7.19381 13.1891 7.27777L11.7224 9.82777L12.3669 10.9389L14.0058 8.11111Z" fill="currentColor"/><path d="M8.15022 15.9278H3.66688C3.51954 15.9278 3.37823 15.9863 3.27405 16.0905C3.16986 16.1947 3.11133 16.336 3.11133 16.4833C3.11133 16.6307 3.16986 16.772 3.27405 16.8762C3.37823 16.9804 3.51954 17.0389 3.66688 17.0389H8.47244C8.56939 17.0383 8.6645 17.0124 8.74832 16.9636C8.83214 16.9149 8.90174 16.8451 8.95022 16.7611L10.4335 14.2222L9.77799 13.1111L8.15022 15.9278Z"/><path d="M17.7447 13.2056C17.64 13.1017 17.4985 13.0436 17.351 13.0441C17.2036 13.0447 17.0624 13.1037 16.9586 13.2083C16.8547 13.3129 16.7966 13.4545 16.7971 13.602C16.7977 13.7494 16.8567 13.8906 16.9613 13.9944L18.9058 15.9389H14.0058L8.95022 7.29444C8.90174 7.21047 8.83214 7.14066 8.74832 7.09193C8.6645 7.04319 8.56939 7.01725 8.47244 7.01666H3.66688C3.51954 7.01666 3.37823 7.07519 3.27405 7.17938C3.16986 7.28357 3.11133 7.42487 3.11133 7.57222C3.11133 7.71956 3.16986 7.86087 3.27405 7.96505C3.37823 8.06924 3.51954 8.12777 3.66688 8.12777H8.15022L13.2058 16.7667C13.2542 16.8506 13.3239 16.9204 13.4077 16.9692C13.4915 17.0179 13.5866 17.0439 13.6836 17.0444H18.6113L16.9447 18.7111C16.8929 18.7625 16.8517 18.8237 16.8235 18.891C16.7954 18.9584 16.7807 19.0306 16.7805 19.1036C16.7802 19.1766 16.7943 19.2489 16.822 19.3165C16.8497 19.384 16.8905 19.4454 16.9419 19.4972C16.9933 19.549 17.0545 19.5902 17.1218 19.6184C17.1891 19.6465 17.2614 19.6612 17.3344 19.6614C17.4074 19.6617 17.4797 19.6476 17.5472 19.6199C17.6148 19.5922 17.6762 19.5514 17.728 19.5L20.478 16.7556L20.8724 16.3611L17.7447 13.2056Z"/></svg>',
|
|
3833
|
-
edit: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.03 2.97a3.578 3.578 0 0 1 0 5.06L9.062 20a2.25 2.25 0 0 1-.999.58l-5.116 1.395a.75.75 0 0 1-.92-.921l1.395-5.116a2.25 2.25 0 0 1 .58-.999L15.97 2.97a3.578 3.578 0 0 1 5.06 0ZM15 6.06 5.062 16a.75.75 0 0 0-.193.333l-1.05 3.85 3.85-1.05A.75.75 0 0 0 8 18.938L17.94 9 15 6.06Zm2.03-2.03-.97.97L19 7.94l.97-.97a2.079 2.079 0 0 0-2.94-2.94Z" fill="currentColor"/></svg>',
|
|
3834
|
-
delete: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.75a3.25 3.25 0 0 1 3.245 3.066L15.25 5h5.25a.75.75 0 0 1 .102 1.493L20.5 6.5h-.796l-1.28 13.02a2.75 2.75 0 0 1-2.561 2.474l-.176.006H8.313a2.75 2.75 0 0 1-2.714-2.307l-.023-.174L4.295 6.5H3.5a.75.75 0 0 1-.743-.648L2.75 5.75a.75.75 0 0 1 .648-.743L3.5 5h5.25A3.25 3.25 0 0 1 12 1.75Zm6.197 4.75H5.802l1.267 12.872a1.25 1.25 0 0 0 1.117 1.122l.127.006h7.374c.6 0 1.109-.425 1.225-1.002l.02-.126L18.196 6.5ZM13.75 9.25a.75.75 0 0 1 .743.648L14.5 10v7a.75.75 0 0 1-1.493.102L13 17v-7a.75.75 0 0 1 .75-.75Zm-3.5 0a.75.75 0 0 1 .743.648L11 10v7a.75.75 0 0 1-1.493.102L9.5 17v-7a.75.75 0 0 1 .75-.75Zm1.75-6a1.75 1.75 0 0 0-1.744 1.606L10.25 5h3.5A1.75 1.75 0 0 0 12 3.25Z" fill="currentColor"/></svg>',
|
|
3835
|
-
back: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4.75 2a.75.75 0 0 1 .743.648l.007.102v5.69l4.574-4.56a6.41 6.41 0 0 1 8.879-.179l.186.18a6.41 6.41 0 0 1 0 9.063l-8.846 8.84a.75.75 0 0 1-1.06-1.062l8.845-8.838a4.91 4.91 0 0 0-6.766-7.112l-.178.17L6.562 9.5h5.688a.75.75 0 0 1 .743.648l.007.102a.75.75 0 0 1-.648.743L12.25 11h-7.5a.75.75 0 0 1-.743-.648L4 10.25v-7.5A.75.75 0 0 1 4.75 2Z" fill="currentColor"/></svg>',
|
|
3836
|
-
save: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 5.75A2.75 2.75 0 0 1 5.75 3h9.964a3.25 3.25 0 0 1 2.299.952l2.035 2.035c.61.61.952 1.437.952 2.299v9.964A2.75 2.75 0 0 1 18.25 21H5.75A2.75 2.75 0 0 1 3 18.25V5.75ZM5.75 4.5c-.69 0-1.25.56-1.25 1.25v12.5c0 .69.56 1.25 1.25 1.25H6v-5.25A2.25 2.25 0 0 1 8.25 12h7.5A2.25 2.25 0 0 1 18 14.25v5.25h.25c.69 0 1.25-.56 1.25-1.25V8.286c0-.465-.184-.91-.513-1.238l-2.035-2.035a1.75 1.75 0 0 0-.952-.49V7.25a2.25 2.25 0 0 1-2.25 2.25h-4.5A2.25 2.25 0 0 1 7 7.25V4.5H5.75Zm10.75 15v-5.25a.75.75 0 0 0-.75-.75h-7.5a.75.75 0 0 0-.75.75v5.25h9Zm-8-15v2.75c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75V4.5h-6Z" fill="currentColor"/></svg>',
|
|
3837
|
-
web: '<svg fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.999c5.524 0 10.002 4.478 10.002 10.002 0 5.523-4.478 10.001-10.002 10.001-5.524 0-10.002-4.478-10.002-10.001C1.998 6.477 6.476 1.999 12 1.999ZM14.939 16.5H9.06c.652 2.414 1.786 4.002 2.939 4.002s2.287-1.588 2.939-4.002Zm-7.43 0H4.785a8.532 8.532 0 0 0 4.094 3.411c-.522-.82-.953-1.846-1.27-3.015l-.102-.395Zm11.705 0h-2.722c-.324 1.335-.792 2.5-1.373 3.411a8.528 8.528 0 0 0 3.91-3.127l.185-.283ZM7.094 10H3.735l-.005.017a8.525 8.525 0 0 0-.233 1.984c0 1.056.193 2.067.545 3h3.173a20.847 20.847 0 0 1-.123-5Zm8.303 0H8.603a18.966 18.966 0 0 0 .135 5h6.524a18.974 18.974 0 0 0 .135-5Zm4.868 0h-3.358c.062.647.095 1.317.095 2a20.3 20.3 0 0 1-.218 3h3.173a8.482 8.482 0 0 0 .544-3c0-.689-.082-1.36-.236-2ZM8.88 4.09l-.023.008A8.531 8.531 0 0 0 4.25 8.5h3.048c.314-1.752.86-3.278 1.583-4.41ZM12 3.499l-.116.005C10.62 3.62 9.396 5.622 8.83 8.5h6.342c-.566-2.87-1.783-4.869-3.045-4.995L12 3.5Zm3.12.59.107.175c.669 1.112 1.177 2.572 1.475 4.237h3.048a8.533 8.533 0 0 0-4.339-4.29l-.291-.121Z" fill="currentColor"/></svg>',
|
|
3838
|
-
checkmark: '<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="m18 6.7-8.48 8.48-3.54-3.54a.996.996 0 1 0-1.41 1.41l4.24 4.24c.39.39 1.02.39 1.41 0l9.18-9.18a.999.999 0 0 0-.01-1.42c-.37-.38-1-.38-1.39.01z"/></svg>',
|
|
3839
|
-
spotlight: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19.745 4C20.3417 4 20.914 4.23705 21.336 4.65901C21.7579 5.08097 21.995 5.65326 21.995 6.25V12.805C21.5485 12.3774 21.0434 12.0154 20.495 11.73V6.25C20.495 6.05109 20.416 5.86032 20.2753 5.71967C20.1347 5.57902 19.9439 5.5 19.745 5.5H4.25C4.05109 5.5 3.86032 5.57902 3.71967 5.71967C3.57902 5.86032 3.5 6.05109 3.5 6.25V17.755C3.5 18.169 3.836 18.505 4.25 18.505L6.999 18.504L7 15.75C7.00002 15.3108 7.16517 14.8877 7.46268 14.5646C7.76019 14.2415 8.1683 14.0421 8.606 14.006L8.75 14H12.022C11.7223 14.4675 11.484 14.9716 11.313 15.5H8.75C8.69368 15.5001 8.63904 15.5192 8.59493 15.5542C8.55083 15.5893 8.51984 15.6382 8.507 15.693L8.5 15.75L8.499 18.504H11.077C11.1569 19.0193 11.2989 19.5229 11.5 20.004H4.25C3.65344 20.004 3.08129 19.7671 2.65936 19.3453C2.23744 18.9236 2.00027 18.3516 2 17.755V6.25C2 5.65326 2.23705 5.08097 2.65901 4.65901C3.08097 4.23705 3.65326 4 4.25 4H19.745Z"/><path d="M12 7C12.7956 7 13.5587 7.31607 14.1213 7.87868C14.6839 8.44129 15 9.20435 15 10C15 10.7956 14.6839 11.5587 14.1213 12.1213C13.5587 12.6839 12.7956 13 12 13C11.2044 13 10.4413 12.6839 9.87868 12.1213C9.31607 11.5587 9 10.7956 9 10C9 9.20435 9.31607 8.44129 9.87868 7.87868C10.4413 7.31607 11.2044 7 12 7ZM12 8.5C11.6022 8.5 11.2206 8.65804 10.9393 8.93934C10.658 9.22064 10.5 9.60218 10.5 10C10.5 10.3978 10.658 10.7794 10.9393 11.0607C11.2206 11.342 11.6022 11.5 12 11.5C12.3978 11.5 12.7794 11.342 13.0607 11.0607C13.342 10.7794 13.5 10.3978 13.5 10C13.5 9.60218 13.342 9.22064 13.0607 8.93934C12.7794 8.65804 12.3978 8.5 12 8.5Z"/><path d="M23 17.5C23 18.9587 22.4205 20.3576 21.3891 21.3891C20.3576 22.4205 18.9587 23 17.5 23C16.0413 23 14.6424 22.4205 13.6109 21.3891C12.5795 20.3576 12 18.9587 12 17.5C12 16.0413 12.5795 14.6424 13.6109 13.6109C14.6424 12.5795 16.0413 12 17.5 12C18.9587 12 20.3576 12.5795 21.3891 13.6109C22.4205 14.6424 23 16.0413 23 17.5ZM18.055 14.42C18.0207 14.2993 17.9479 14.193 17.8478 14.1174C17.7476 14.0417 17.6255 14.0008 17.5 14.0008C17.3745 14.0008 17.2524 14.0417 17.1522 14.1174C17.0521 14.193 16.9793 14.2993 16.945 14.42L16.388 16.208H14.585C14.019 16.208 13.785 16.962 14.242 17.308L15.7 18.413L15.143 20.2C14.968 20.761 15.584 21.228 16.042 20.881L17.5 19.777L18.958 20.881C19.416 21.228 20.032 20.761 19.857 20.201L19.3 18.413L20.758 17.309C21.216 16.962 20.981 16.208 20.415 16.208H18.612L18.055 14.421V14.42Z"/></svg>',
|
|
3840
|
-
join_stage: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M17.5 22C14.4618 22 12 19.5376 12 16.5C12 13.4623 14.4618 11 17.5 11C20.5371 11 23 13.4624 23 16.5C23 19.5376 20.5371 22 17.5 22ZM17.0704 18.992L17.1167 19.0322C17.1868 19.0841 17.2716 19.1125 17.3588 19.1132C17.4461 19.1139 17.5314 19.0869 17.6023 19.036L17.654 18.992L17.6936 18.9458C17.7455 18.8757 17.7739 18.7909 17.7746 18.7037C17.7753 18.6164 17.7483 18.5311 17.6975 18.4602L17.6535 18.4085L16.158 16.9125H19.8375L19.8936 16.9092C19.9829 16.8969 20.0657 16.8558 20.1293 16.792C20.193 16.7282 20.234 16.6454 20.2462 16.5561L20.25 16.5005L20.2462 16.4444C20.2339 16.3553 20.1928 16.2725 20.1292 16.2089C20.0655 16.1452 19.9828 16.1041 19.8936 16.0919L19.8375 16.088H16.158L17.654 14.592L17.6941 14.5453C17.7537 14.4659 17.7827 14.3676 17.7756 14.2686C17.7686 14.1695 17.726 14.0763 17.6558 14.0061C17.5856 13.9359 17.4924 13.8934 17.3934 13.8863C17.2943 13.8793 17.1961 13.9082 17.1167 13.9678L17.071 14.0079L14.8699 16.2079L14.8303 16.2547C14.7784 16.3247 14.75 16.4094 14.7493 16.4965C14.7485 16.5837 14.7753 16.6688 14.8259 16.7398L14.8699 16.7915L17.0704 18.992Z"/><path d="M2.80546 3.80546C2.28973 4.32118 2 5.02065 2 5.75V16.25C2 16.6111 2.07113 16.9687 2.20933 17.3024C2.34753 17.636 2.5501 17.9392 2.80546 18.1945C3.06082 18.4499 3.36398 18.6525 3.69762 18.7907C4.03127 18.9289 4.38886 19 4.75 19H11.498C11.3 18.526 11.157 18.023 11.076 17.5H9.002V14.75C9.002 14.6837 9.02834 14.6201 9.07522 14.5732C9.12211 14.5263 9.1857 14.5 9.252 14.5H11.3135C11.4858 13.9665 11.7253 13.4632 12.0218 13H9.252C8.285 13 7.502 13.784 7.502 14.75V16H7.5V17.5H4.75C4.06 17.5 3.5 16.94 3.5 16.25V5.75C3.5 5.06 4.06 4.5 4.75 4.5H19.25C19.94 4.5 20.5 5.06 20.5 5.75V10.732C20.6457 10.808 20.7884 10.8895 20.9277 10.9762C20.9687 11.0017 21.0093 11.0276 21.0497 11.054C21.3899 11.2762 21.708 11.5294 22 11.8096V5.75C22 5.02065 21.7103 4.32118 21.1945 3.80546C20.6788 3.28973 19.9793 3 19.25 3H4.75C4.02065 3 3.32118 3.28973 2.80546 3.80546Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4181 10.7757C14.7938 10.264 15 9.64262 15 9C15 8.20435 14.6839 7.44129 14.1213 6.87868C13.5587 6.31607 12.7956 6 12 6C11.2044 6 10.4413 6.31607 9.87868 6.87868C9.31607 7.44129 9 8.20435 9 9C9 9.79565 9.31607 10.5587 9.87868 11.1213C10.4413 11.6839 11.2044 12 12 12C12.333 12 12.6602 11.9446 12.9695 11.839C13.3992 11.4213 13.8864 11.0625 14.4181 10.7757ZM10.9393 7.93934C11.2206 7.65804 11.6022 7.5 12 7.5C12.3978 7.5 12.7794 7.65804 13.0607 7.93934C13.342 8.22064 13.5 8.60218 13.5 9C13.5 9.39782 13.342 9.77936 13.0607 10.0607C12.7794 10.342 12.3978 10.5 12 10.5C11.6022 10.5 11.2206 10.342 10.9393 10.0607C10.658 9.77936 10.5 9.39782 10.5 9C10.5 8.60218 10.658 8.22064 10.9393 7.93934Z"></svg>',
|
|
3841
|
-
leave_stage: '<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M2.80546 3.80546C2.28973 4.32118 2 5.02065 2 5.75V16.25C2 16.6111 2.07113 16.9687 2.20933 17.3024C2.34753 17.636 2.5501 17.9392 2.80546 18.1945C3.06082 18.4499 3.36398 18.6525 3.69762 18.7907C4.03127 18.9289 4.38886 19 4.75 19H11.498C11.3 18.526 11.157 18.023 11.076 17.5H9.002V14.75C9.002 14.6837 9.02834 14.6201 9.07522 14.5732C9.12211 14.5263 9.1857 14.5 9.252 14.5H11.3135C11.4858 13.9665 11.7253 13.4632 12.0218 13H9.252C8.285 13 7.502 13.784 7.502 14.75V16H7.5V17.5H4.75C4.06 17.5 3.5 16.94 3.5 16.25V5.75C3.5 5.06 4.06 4.5 4.75 4.5H19.25C19.94 4.5 20.5 5.06 20.5 5.75V10.732C20.6457 10.808 20.7884 10.8895 20.9277 10.9762C20.9687 11.0017 21.0093 11.0276 21.0497 11.054C21.3899 11.2762 21.708 11.5294 22 11.8096V5.75C22 5.02065 21.7103 4.32118 21.1945 3.80546C20.6788 3.28973 19.9793 3 19.25 3H4.75C4.02065 3 3.32118 3.28973 2.80546 3.80546Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4181 10.7757C14.7938 10.264 15 9.64262 15 9C15 8.20435 14.6839 7.44129 14.1213 6.87868C13.5587 6.31607 12.7956 6 12 6C11.2044 6 10.4413 6.31607 9.87868 6.87868C9.31607 7.44129 9 8.20435 9 9C9 9.79565 9.31607 10.5587 9.87868 11.1213C10.4413 11.6839 11.2044 12 12 12C12.333 12 12.6602 11.9446 12.9695 11.839C13.3992 11.4213 13.8864 11.0625 14.4181 10.7757ZM10.9393 7.93934C11.2206 7.65804 11.6022 7.5 12 7.5C12.3978 7.5 12.7794 7.65804 13.0607 7.93934C13.342 8.22064 13.5 8.60218 13.5 9C13.5 9.39782 13.342 9.77936 13.0607 10.0607C12.7794 10.342 12.3978 10.5 12 10.5C11.6022 10.5 11.2206 10.342 10.9393 10.0607C10.658 9.77936 10.5 9.39782 10.5 9C10.5 8.60218 10.658 8.22064 10.9393 7.93934Z"/><path d="M17.5 11C20.5382 11 23 13.4624 23 16.5C23 19.5377 20.5382 22 17.5 22C14.4629 22 12 19.5377 12 16.5C12 13.4624 14.4629 11 17.5 11V11ZM17.9296 14.0079L17.8833 13.9678C17.8132 13.9159 17.7284 13.8875 17.6412 13.8868C17.5539 13.8861 17.4686 13.9131 17.3977 13.964L17.346 14.0079L17.3064 14.0542C17.2545 14.1243 17.2261 14.2091 17.2254 14.2963C17.2247 14.3836 17.2517 14.4689 17.3026 14.5398L17.3465 14.5915L18.842 16.0875H15.1625L15.1064 16.0908C15.0171 16.1031 14.9343 16.1442 14.8707 16.208C14.807 16.2718 14.766 16.3546 14.7539 16.4439L14.75 16.4995L14.7539 16.5556C14.7661 16.6447 14.8072 16.7275 14.8708 16.7911C14.9345 16.8548 15.0172 16.8959 15.1064 16.9081L15.1625 16.912H18.842L17.346 18.408L17.3059 18.4547C17.2463 18.5341 17.2173 18.6324 17.2244 18.7314C17.2314 18.8305 17.274 18.9237 17.3442 18.9939C17.4144 19.0641 17.5076 19.1066 17.6066 19.1137C17.7057 19.1207 17.8039 19.0918 17.8833 19.0322L17.929 18.9921L20.1301 16.7921L20.1697 16.7453C20.2216 16.6753 20.25 16.5906 20.2507 16.5035C20.2515 16.4163 20.2247 16.3312 20.1741 16.2602L20.1301 16.2085L17.9301 14.0079L17.8833 13.9678L17.9296 14.0079V14.0079Z"/></svg>',
|
|
3842
|
-
pip_off: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.8666 12.3058C11.0731 12.3058 11.2404 12.1385 11.2404 11.932V8.56753C11.2404 8.36107 11.0731 8.1937 10.8666 8.1937C10.6601 8.1937 10.4928 8.36107 10.4928 8.56753V11.0295L6.45393 6.99066C6.30794 6.84467 6.07124 6.84467 5.92525 6.99066C5.77926 7.13665 5.77926 7.37335 5.92525 7.51934L9.9641 11.5582L7.50212 11.5582C7.29566 11.5582 7.12829 11.7256 7.12829 11.932C7.12829 12.1385 7.29566 12.3058 7.50212 12.3058L10.8666 12.3058ZM5.73832 19.8879C3.6737 19.8879 2 18.2141 2 16.1495V7.73832C2 5.6737 3.6737 4 5.73832 4H18.2617C20.3263 4 22 5.6737 22 7.73832L22 13.0269C22 12.2687 21.6002 11.6038 21 11.2316C20.8468 11.1366 20.6806 11.0607 20.5047 11.0071V7.73832C20.5047 6.49955 19.5005 5.49533 18.2617 5.49533H5.73832C4.49955 5.49533 3.49533 6.49955 3.49533 7.73832V16.1495C3.49533 17.3883 4.49955 18.3925 5.73832 18.3925H10.7971C10.8506 18.5685 10.9266 18.7347 11.0216 18.8879C11.3938 19.4881 12.0587 19.8879 12.8169 19.8879H5.73832Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.7265 12.5H13.3911C12.899 12.5 12.5 12.899 12.5 13.3911V17.6462C12.5 18.1384 12.899 18.5374 13.3911 18.5374H19.7265C20.2187 18.5374 20.6176 18.1384 20.6176 17.6462V13.3911C20.6176 12.899 20.2187 12.5 19.7265 12.5ZM13.3911 11.5C12.3467 11.5 11.5 12.3467 11.5 13.3911V17.6462C11.5 18.6907 12.3467 19.5374 13.3911 19.5374H19.7265C20.771 19.5374 21.6176 18.6907 21.6176 17.6462V13.3911C21.6176 12.3467 20.771 11.5 19.7265 11.5H13.3911Z"/></svg>',
|
|
3843
|
-
pip_on: '<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.73832 19.8879C3.6737 19.8879 2 18.2141 2 16.1495V7.73832C2 5.6737 3.6737 4 5.73832 4H18.2617C20.3263 4 22 5.6737 22 7.73832L22 13.0269C22 12.2687 21.6002 11.6038 21 11.2316C20.8468 11.1366 20.6806 11.0607 20.5047 11.0071V7.73832C20.5047 6.49955 19.5005 5.49533 18.2617 5.49533H5.73832C4.49955 5.49533 3.49533 6.49955 3.49533 7.73832V16.1495C3.49533 17.3883 4.49955 18.3925 5.73832 18.3925H10.7971C10.8506 18.5685 10.9266 18.7347 11.0216 18.8879C11.3938 19.4881 12.0587 19.8879 12.8169 19.8879H5.73832Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.7265 12.5H13.3911C12.899 12.5 12.5 12.899 12.5 13.3911V17.6462C12.5 18.1384 12.899 18.5374 13.3911 18.5374H19.7265C20.2187 18.5374 20.6176 18.1384 20.6176 17.6462V13.3911C20.6176 12.899 20.2187 12.5 19.7265 12.5ZM13.3911 11.5C12.3467 11.5 11.5 12.3467 11.5 13.3911V17.6462C11.5 18.6907 12.3467 19.5374 13.3911 19.5374H19.7265C20.771 19.5374 21.6176 18.6907 21.6176 17.6462V13.3911C21.6176 12.3467 20.771 11.5 19.7265 11.5H13.3911Z"/><path d="M6.18951 6.88123C5.98304 6.88123 5.81567 7.0486 5.81567 7.25506V10.6195C5.81567 10.826 5.98304 10.9934 6.18951 10.9934C6.39597 10.9934 6.56334 10.826 6.56334 10.6195V8.15757L10.6022 12.1964C10.7482 12.3424 10.9849 12.3424 11.1309 12.1964C11.2769 12.0504 11.2769 11.8137 11.1309 11.6677L7.09202 7.62889L9.55399 7.62889C9.76045 7.62889 9.92782 7.46152 9.92782 7.25506C9.92782 7.0486 9.76045 6.88123 9.55399 6.88123L6.18951 6.88123Z"/></svg>',
|
|
3844
|
-
signal_1: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 16h2v5H3z"></path></svg>',
|
|
3845
|
-
signal_2: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 16h2v5H3zm4-3h2v8H7z"></path></svg>',
|
|
3846
|
-
signal_3: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2z"></path></svg>',
|
|
3847
|
-
signal_4: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2zm4-3h2v14h-2z"></path></svg>',
|
|
3848
|
-
signal_5: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M3 16h2v5H3zm4-3h2v8H7zm4-3h2v11h-2zm4-3h2v14h-2zm4-3h2v17h-2z"></path></svg>',
|
|
3849
|
-
start_livestream: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M6.343 4.938a1 1 0 0 1 0 1.415a8.003 8.003 0 0 0 0 11.317a1 1 0 1 1-1.415 1.414c-3.906-3.906-3.906-10.24 0-14.146a1 1 0 0 1 1.415 0Zm12.731 0c3.906 3.907 3.906 10.24 0 14.146a1 1 0 0 1-1.414-1.414a8.003 8.003 0 0 0 0-11.317a1 1 0 0 1 1.414-1.415ZM9.31 7.812a1 1 0 0 1 0 1.414a3.92 3.92 0 0 0 0 5.544a1 1 0 1 1-1.414 1.414a5.92 5.92 0 0 1 0-8.372a1 1 0 0 1 1.414 0Zm6.959 0a5.92 5.92 0 0 1 0 8.372a1 1 0 0 1-1.415-1.414a3.92 3.92 0 0 0 0-5.544a1 1 0 0 1 1.415-1.414Zm-4.187 2.77a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3Z"/></svg>',
|
|
3850
|
-
stop_livestream: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="currentColor" d="M2.854 2.146a.5.5 0 1 0-.708.708l1.811 1.81A8.218 8.218 0 0 0 2 10a8.228 8.228 0 0 0 2.604 6.015a.725.725 0 0 0 1.01-.025c.316-.316.277-.819-.027-1.11A6.73 6.73 0 0 1 3.5 10c0-1.62.57-3.107 1.522-4.27l.712.71A5.726 5.726 0 0 0 4.5 10c0 1.691.73 3.213 1.893 4.264a.713.713 0 0 0 .983-.037c.328-.328.267-.844-.041-1.134A4.238 4.238 0 0 1 6 10c0-.93.298-1.789.804-2.489l1.842 1.842a1.5 1.5 0 0 0 2 2l6.5 6.5a.5.5 0 0 0 .708-.707l-1.811-1.81l-1.065-1.066l-.712-.71l-1.07-1.072l-1.842-1.841l-2-2L7.4 6.693l-.942-.942l-.82-.82l-.944-.944l-1.841-1.842Zm13.794 12.38A8.212 8.212 0 0 0 18 10c0-2.283-.928-4.35-2.426-5.843a.726.726 0 0 0-1.027.01c-.31.31-.28.8.01 1.095A6.727 6.727 0 0 1 16.5 10a6.718 6.718 0 0 1-.94 3.438l1.088 1.089Zm-1.822-1.822A5.73 5.73 0 0 0 15.5 10a5.733 5.733 0 0 0-1.706-4.087a.714.714 0 0 0-1.008.016c-.319.318-.272.816.014 1.111A4.235 4.235 0 0 1 14 10c0 .557-.107 1.09-.302 1.577l1.128 1.127Z"/></svg>',
|
|
3851
|
-
viewers: '<svg fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 9.005a4 4 0 1 1 0 8 4 4 0 0 1 0-8Zm0 1.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM12 5.5c4.613 0 8.596 3.15 9.701 7.564a.75.75 0 1 1-1.455.365 8.503 8.503 0 0 0-16.493.004.75.75 0 0 1-1.455-.363A10.003 10.003 0 0 1 12 5.5Z" fill="currentColor"/></svg>',
|
|
3852
|
-
debug: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m10.05 15.42 6.256-8.476a.694.694 0 0 1 1.235.57l-.03.098-3.87 9.8a2.07 2.07 0 1 1-3.737-1.766l.069-.115.076-.11 6.257-8.477-6.257 8.476Zm2.05-4.549-1.226 1.66a3.32 3.32 0 0 0-2.29 3.024.75.75 0 0 1-1.5-.063A4.819 4.819 0 0 1 9.14 11.74c.9-.631 1.942-.911 2.961-.87Zm4.167 2.752c.28.586.436 1.22.463 1.866a.75.75 0 0 1-1.376.444l.913-2.31Zm-2.233-5.37-.969 1.311a6.22 6.22 0 0 0-4.736 1.02 6.208 6.208 0 0 0-2.419 3.39.75.75 0 0 1-1.442-.412 7.708 7.708 0 0 1 3-4.207 7.724 7.724 0 0 1 6.566-1.102Zm3.51 2.138c.25.267.486.556.702.865a7.727 7.727 0 0 1 1.097 2.288.75.75 0 0 1-1.44.417 6.23 6.23 0 0 0-.885-1.845l-.102-.138.627-1.587ZM15.98 5.852l-.088.054c-.123.082-.236.18-.337.295l-.096.12-.54.732a9.138 9.138 0 0 0-8.261 1.146A9.103 9.103 0 0 0 3.38 12.37a.75.75 0 1 1-1.398-.543A10.603 10.603 0 0 1 5.799 6.97 10.642 10.642 0 0 1 15.98 5.852Zm2.629 1.562a10.646 10.646 0 0 1 2.022 2.171c.49.702.892 1.451 1.199 2.235a.75.75 0 1 1-1.397.547 9.188 9.188 0 0 0-2.327-3.405l.381-.964c.076-.19.115-.388.122-.584Z" fill="currentColor"/></svg>',
|
|
3853
|
-
info: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 1.999c5.524 0 10.002 4.478 10.002 10.002 0 5.523-4.478 10.001-10.002 10.001-5.524 0-10.002-4.478-10.002-10.001C1.998 6.477 6.476 1.999 12 1.999Zm0 1.5a8.502 8.502 0 1 0 0 17.003A8.502 8.502 0 0 0 12 3.5Zm-.004 7a.75.75 0 0 1 .744.648l.007.102.003 5.502a.75.75 0 0 1-1.493.102l-.007-.101-.003-5.502a.75.75 0 0 1 .75-.75ZM12 7.003a.999.999 0 1 1 0 1.997.999.999 0 0 1 0-1.997Z" fill="currentColor"/></svg>',
|
|
3854
|
-
devices: '<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 18.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm5.5-8.5V9a5.5 5.5 0 1 0-11 0v1H9a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H6.5v.25a2.25 2.25 0 0 0 2.096 2.245l.154.005h1.128a2.251 2.251 0 1 1 0 1.5H8.75a3.75 3.75 0 0 1-3.745-3.55L5 16.25V9a7 7 0 0 1 14 0v5a2 2 0 0 1-1.85 1.995L17 16h-2a1 1 0 0 1-.993-.883L14 15v-4a1 1 0 0 1 .883-.993L15 10h2.5Zm-9 1.5h-2v3h2v-3Zm9 0h-2v3H17a.5.5 0 0 0 .492-.41L17.5 14v-2.5Z" fill="currentColor"/></svg>',
|
|
3855
|
-
horizontal_dots: '<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM18 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill="currentColor"/></svg>',
|
|
3856
|
-
ai_sparkle: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 49 48" fill="none"><path fill="#F13E1B" d="m30.023 15.96.07.016a1.362 1.362 0 0 1 .657 2.068c-.163.23-.392.403-.658.497l-3.444 1.118a7.095 7.095 0 0 0-4.495 4.492l-1.12 3.442a1.357 1.357 0 0 1-1.267.907h-.016a1.361 1.361 0 0 1-1.283-.907l-1.12-3.442a7.091 7.091 0 0 0-4.495-4.509l-3.444-1.119a1.36 1.36 0 0 1 0-2.564l3.444-1.118a7.097 7.097 0 0 0 4.427-4.492l1.119-3.442a1.36 1.36 0 0 1 2.566 0l1.12 3.442a7.09 7.09 0 0 0 4.495 4.492l3.444 1.118Zm9.195 16.007-2.755-.894a5.678 5.678 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/><path fill="#2160FD" d="m39.218 31.967-2.755-.894a5.677 5.677 0 0 1-3.596-3.594l-.896-2.753a1.087 1.087 0 0 0-2.053 0l-.895 2.753a5.672 5.672 0 0 1-3.541 3.594l-2.756.894a1.088 1.088 0 0 0 0 2.052l2.756.895a5.675 5.675 0 0 1 3.596 3.607l.896 2.753a1.088 1.088 0 0 0 2.052 0l.896-2.753a5.672 5.672 0 0 1 3.596-3.594l2.756-.894a1.088 1.088 0 0 0 0-2.052l-.056-.014Z"/></svg>',
|
|
3857
|
-
meeting_ai: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none"><path fill="#F13E1B" d="M9.111 12.888a4.98 4.98 0 0 0-1.075-.8l-.04.048a4.651 4.651 0 0 0-.903-.424l-2.446-.8a.963.963 0 0 1-.467-.356.953.953 0 0 1 0-1.116.955.955 0 0 1 .467-.352l2.446-.8A5.088 5.088 0 0 0 9.04 7.06a5.048 5.048 0 0 0 1.2-1.904l.02-.064.799-2.444A.97.97 0 0 1 11.969 2a.97.97 0 0 1 .91.648l.8 2.444a5.147 5.147 0 0 0 1.219 1.976 5.042 5.042 0 0 0 1.974 1.2l2.45.8h.048c.188.067.351.19.468.352.115.164.176.36.175.56.001.2-.06.396-.175.56a1 1 0 0 1-.468.352l-2.446.8a5.067 5.067 0 0 0-1.978 1.2 5.096 5.096 0 0 0-1.199 1.976l-.8 2.448-.023.06a1.02 1.02 0 0 1-.184.284.967.967 0 0 1-.703.3 1 1 0 0 1-.927-.644l-.8-2.448a5.11 5.11 0 0 0-.799-1.508 5.16 5.16 0 0 0-.4-.472Zm10.434 5.396a.492.492 0 0 1 .176-.236.473.473 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.278.276.616.484.987.608l1.223.4h.028l.084.04a.536.536 0 0 1 .148.136c.056.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.176.232.464.464 0 0 1-.28.088.475.475 0 0 1-.455-.32l-.4-1.224a2.507 2.507 0 0 0-.611-.992 2.487 2.487 0 0 0-.987-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612.137-.142.257-.3.36-.468.1-.162.18-.335.24-.516l.399-1.224Z"/><path fill="currentColor" d="M19.545 18.284a.492.492 0 0 1 .176-.236.469.469 0 0 1 .1-.048.466.466 0 0 1 .168-.04c.1 0 .197.031.28.088l.091.072a.456.456 0 0 1 .096.164l.4 1.224c.124.372.332.71.607.988.279.276.616.484.988.608l1.222.4h.028l.084.04a.534.534 0 0 1 .148.136c.057.082.087.18.088.28a.484.484 0 0 1-.32.456l-1.227.4a2.528 2.528 0 0 0-1.595 1.6l-.399 1.224a.46.46 0 0 1-.175.232.464.464 0 0 1-.28.088.475.475 0 0 1-.456-.32l-.4-1.224a2.509 2.509 0 0 0-.61-.992 2.487 2.487 0 0 0-.988-.612l-1.223-.4a.48.48 0 0 1 0-.908l1.223-.4c.367-.128.7-.337.975-.612a2.7 2.7 0 0 0 .36-.468c.1-.162.18-.335.24-.516l.4-1.224Z"/></svg>',
|
|
3858
|
-
captionsOn: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 4A3.25 3.25 0 0 1 22 7.25v9.505a3.25 3.25 0 0 1-3.25 3.25H5.25A3.25 3.25 0 0 1 2 16.755V7.25a3.25 3.25 0 0 1 3.066-3.245L5.25 4h13.5Zm0 1.5H5.25l-.144.006A1.75 1.75 0 0 0 3.5 7.25v9.505c0 .966.784 1.75 1.75 1.75h13.5a1.75 1.75 0 0 0 1.75-1.75V7.25a1.75 1.75 0 0 0-1.75-1.75ZM5.5 12c0-3.146 2.713-4.775 5.122-3.401A.75.75 0 0 1 9.878 9.9C8.481 9.104 7 9.994 7 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C8.216 16.775 5.5 15.143 5.5 12Zm7.5 0c0-3.146 2.713-4.775 5.122-3.401a.75.75 0 0 1-.744 1.302C15.981 9.104 14.5 9.994 14.5 12c0 2.005 1.484 2.896 2.88 2.103a.75.75 0 0 1 .74 1.304C15.716 16.775 13 15.143 13 12Z" fill="currentColor"/></svg>',
|
|
3859
|
-
captionsOff: '<svg width="24" height="24" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3.28 2.22a.75.75 0 0 0-1.06 1.06l1.25 1.25A3.247 3.247 0 0 0 2 7.25v9.505a3.25 3.25 0 0 0 3.25 3.25h13.5c.063 0 .126-.002.188-.006l1.781 1.781a.75.75 0 0 0 1.061-1.06L3.28 2.22Zm14.164 16.284H5.25a1.75 1.75 0 0 1-1.75-1.75V7.25c0-.727.443-1.35 1.074-1.615l2.828 2.828C6.292 9.043 5.5 10.3 5.5 12c0 3.143 2.715 4.775 5.12 3.406a.75.75 0 0 0-.74-1.303C8.483 14.896 7 14.005 7 12c0-1.37.69-2.22 1.573-2.366l8.87 8.87Zm2.986-1.256c.045-.157.07-.322.07-.494V7.25a1.75 1.75 0 0 0-1.75-1.75H8.682L7.182 4H18.75A3.25 3.25 0 0 1 22 7.25v9.505c0 .593-.159 1.148-.436 1.627l-1.134-1.134Zm-5.877-5.877-1.197-1.197c.813-1.888 2.882-2.65 4.766-1.575a.75.75 0 0 1-.744 1.302c-1.241-.708-2.549-.085-2.825 1.47Z" fill="currentColor"/></svg>',
|
|
3860
|
-
play: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M8 5v14l11-7z" /></svg>',
|
|
3861
|
-
pause: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M6 4 H9 V20 H6 Z" /><path d="M15 4 H18 V20 H15 Z" /></svg>',
|
|
3862
|
-
fastForward: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 24" fill="currentColor"><path d="M4 5v14l11-7-11-7zm13 0v14l11-7-11-7z"/></svg>',
|
|
3863
|
-
minimize: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.778 2.223a.75.75 0 0 1 .072.976l-.072.084-6.223 6.224h5.693a.75.75 0 0 1 .743.65l.007.1a.75.75 0 0 1-.649.744l-.101.007-7.55-.002-.016-.002a.727.727 0 0 1-.195-.042l-.098-.046a.747.747 0 0 1-.386-.553l-.007-.105V2.754a.75.75 0 0 1 1.493-.102l.007.102v5.69l6.222-6.221a.749.749 0 0 1 1.06 0ZM11.003 13.755v7.504a.75.75 0 0 1-1.494.102l-.007-.102v-5.695L3.28 21.78a.75.75 0 0 1-1.133-.977l.073-.084 6.22-6.214H2.751a.75.75 0 0 1-.743-.648L2 13.755a.75.75 0 0 1 .75-.75l7.554.002.074.009.097.023.053.019.086.04.089.058a.761.761 0 0 1 .148.148l.066.106.041.094.022.07.01.055.007.058v-.008l.005.076Z" fill="currentColor"/></svg>',
|
|
3864
|
-
maximize: '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.748 3.001h7.554l.1.014.099.028.061.026a.72.72 0 0 1 .218.15l.04.044.061.082.037.065.039.09.02.064.013.064.009.093v7.534a.75.75 0 0 1-1.493.102l-.006-.102-.001-5.696-13.94 13.945h5.69a.75.75 0 0 1 .744.65l.007.1a.75.75 0 0 1-.649.744l-.101.007H3.714L3.684 21a.705.705 0 0 1-.187-.04l-.09-.038-.018-.01a.746.746 0 0 1-.384-.553l-.007-.105V12.75a.75.75 0 0 1 1.493-.102l.007.102v5.692L18.438 4.5l-5.69.001a.75.75 0 0 1-.743-.648l-.007-.102a.75.75 0 0 1 .648-.743L12.748 3Z" fill="currentColor"/></svg>',
|
|
3865
|
-
};
|
|
3866
|
-
|
|
3867
|
-
const handler = {
|
|
3868
|
-
get: (target, name, receiver) => (...args) => {
|
|
3869
|
-
try {
|
|
3870
|
-
return Reflect.get(target, name, receiver).apply(target, args);
|
|
3871
|
-
}
|
|
3872
|
-
catch (_a) {
|
|
3873
|
-
return null;
|
|
3874
|
-
}
|
|
3875
|
-
},
|
|
3876
|
-
};
|
|
3877
|
-
let gracefulStorage;
|
|
3878
|
-
try {
|
|
3879
|
-
gracefulStorage = new Proxy(localStorage, handler);
|
|
3880
|
-
}
|
|
3881
|
-
catch (_a) {
|
|
3882
|
-
gracefulStorage = new Proxy({}, handler);
|
|
3883
|
-
}
|
|
3884
|
-
const gracefulStorage$1 = gracefulStorage;
|
|
3885
|
-
|
|
3886
|
-
const KEY = 'rtk-prefs';
|
|
3887
|
-
const setPreference = (key, value) => {
|
|
3888
|
-
const data = JSON.parse(gracefulStorage$1.getItem(KEY) || '{}');
|
|
3889
|
-
data[key] = JSON.stringify(value);
|
|
3890
|
-
gracefulStorage$1.setItem('rtk-prefs', JSON.stringify(data));
|
|
3891
|
-
};
|
|
3892
|
-
const getPreference = (key) => {
|
|
3893
|
-
const data = JSON.parse(gracefulStorage$1.getItem(KEY) || '{}');
|
|
3894
|
-
return data[key];
|
|
3895
|
-
};
|
|
3896
|
-
const getUserPreferences = () => {
|
|
3897
|
-
const prefs = JSON.parse(gracefulStorage$1.getItem(KEY) || '{}');
|
|
3898
|
-
const mirrorVideo = prefs['mirror-video'] ? prefs['mirror-video'] === 'true' : true;
|
|
3899
|
-
const muteNotificationSounds = prefs['mute-notification-sounds']
|
|
3900
|
-
? prefs['mute-notification-sounds'] === 'true'
|
|
3901
|
-
: false;
|
|
3902
|
-
return { mirrorVideo, muteNotificationSounds };
|
|
3903
|
-
};
|
|
3904
|
-
const chatUnreadTimestamps = {};
|
|
3905
|
-
|
|
3906
|
-
/**
|
|
3907
|
-
* Default UI Kit Overrides
|
|
3908
|
-
*/
|
|
3909
|
-
const defaultOverrides = {
|
|
3910
|
-
disableEmojiPicker: false,
|
|
3911
|
-
disablePrivateChat: false,
|
|
3912
|
-
};
|
|
3913
|
-
|
|
3914
|
-
const getInitialStates = (peerId) => ({
|
|
3915
|
-
meeting: 'idle',
|
|
3916
|
-
prefs: getUserPreferences(),
|
|
3917
|
-
peerId: peerId || 'LEGACY_GLOBAL_PEER',
|
|
3918
|
-
});
|
|
3919
|
-
const uiStore = createStore({
|
|
3920
|
-
meeting: null,
|
|
3921
|
-
t: useLanguage(),
|
|
3922
|
-
iconPack: defaultIconPack,
|
|
3923
|
-
states: getInitialStates(),
|
|
3924
|
-
config: createDefaultConfig(),
|
|
3925
|
-
peerId: 'global',
|
|
3926
|
-
storeType: 'global',
|
|
3927
|
-
storeId: 'store-global',
|
|
3928
|
-
overrides: defaultOverrides,
|
|
3929
|
-
});
|
|
3930
|
-
const elementsMap = new Map();
|
|
3931
|
-
// Attach elementsMap to global store for consistency
|
|
3932
|
-
uiStore.elementsMap = elementsMap;
|
|
3933
|
-
uiStore.use({
|
|
3934
|
-
set: (propName, newValue) => {
|
|
3935
|
-
const elements = elementsMap.get(propName);
|
|
3936
|
-
if (elements) {
|
|
3937
|
-
elementsMap.set(propName, elements.filter((element) => {
|
|
3938
|
-
const currentValue = element[propName];
|
|
3939
|
-
if (currentValue !== newValue) {
|
|
3940
|
-
element[propName] = newValue;
|
|
3941
|
-
return true;
|
|
3942
|
-
}
|
|
3943
|
-
else {
|
|
3944
|
-
return false;
|
|
3945
|
-
}
|
|
3946
|
-
}));
|
|
3947
|
-
}
|
|
3948
|
-
},
|
|
3949
|
-
});
|
|
3950
|
-
const uiState = uiStore.state;
|
|
3951
|
-
// Function to create a new store instance for peer-specific stores
|
|
3952
|
-
function createPeerStore({ meeting, config, providerId, iconPack, t, overrides, }) {
|
|
3953
|
-
const store = createStore({
|
|
3954
|
-
meeting: meeting,
|
|
3955
|
-
t,
|
|
3956
|
-
iconPack,
|
|
3957
|
-
states: getInitialStates(meeting.self.peerId),
|
|
3958
|
-
config: config || createDefaultConfig(),
|
|
3959
|
-
peerId: meeting.self.id,
|
|
3960
|
-
storeType: 'peer',
|
|
3961
|
-
// Use provider id's numeric portion as store id for easier debugging
|
|
3962
|
-
storeId: 'store-' + providerId.replace('provider-', ''),
|
|
3963
|
-
overrides: overrides,
|
|
3964
|
-
});
|
|
3965
|
-
const peerElementsMap = new Map();
|
|
3966
|
-
// Attach elementsMap to store so appendElement/removeElement can access it
|
|
3967
|
-
store.elementsMap = peerElementsMap;
|
|
3968
|
-
store.use({
|
|
3969
|
-
set: (propName, newValue) => {
|
|
3970
|
-
const elements = peerElementsMap.get(propName);
|
|
3971
|
-
if (elements) {
|
|
3972
|
-
peerElementsMap.set(propName, elements.filter((element) => {
|
|
3973
|
-
const currentValue = element[propName];
|
|
3974
|
-
if (currentValue !== newValue) {
|
|
3975
|
-
element[propName] = newValue;
|
|
3976
|
-
return true;
|
|
3977
|
-
}
|
|
3978
|
-
else {
|
|
3979
|
-
return false;
|
|
3980
|
-
}
|
|
3981
|
-
}));
|
|
3982
|
-
}
|
|
3983
|
-
},
|
|
3984
|
-
});
|
|
3985
|
-
return store;
|
|
3986
|
-
}
|
|
3987
|
-
function appendElement(propName, element, targetStore = uiStore) {
|
|
3988
|
-
const elementsMapToUse = targetStore.elementsMap;
|
|
3989
|
-
if (!elementsMapToUse) {
|
|
3990
|
-
console.error(`appendElement: No elementsMap found on store`, targetStore);
|
|
3991
|
-
return;
|
|
3992
|
-
}
|
|
3993
|
-
const elements = elementsMapToUse.get(propName);
|
|
3994
|
-
if (!elements) {
|
|
3995
|
-
try {
|
|
3996
|
-
elementsMapToUse.set(propName, [element]);
|
|
3997
|
-
}
|
|
3998
|
-
catch (error) {
|
|
3999
|
-
console.error(`appendElement: Error setting new array:`, error);
|
|
4000
|
-
}
|
|
4001
|
-
}
|
|
4002
|
-
else {
|
|
4003
|
-
try {
|
|
4004
|
-
/**
|
|
4005
|
-
* NOTE(ravindra-cloudflare):
|
|
4006
|
-
* If the element+propName exists already, remove it first
|
|
4007
|
-
* This could happen in https://github.com/cloudflare/realtimekit-web-examples/tree/main/react-examples/examples/back-to-back-meetings,
|
|
4008
|
-
* where the same component is re-rendered multiple times under different providers
|
|
4009
|
-
* */
|
|
4010
|
-
removeElement(propName, element, targetStore);
|
|
4011
|
-
elements.push(element);
|
|
4012
|
-
}
|
|
4013
|
-
catch (error) {
|
|
4014
|
-
console.error(`appendElement: Error adding element:`, error);
|
|
4015
|
-
}
|
|
4016
|
-
}
|
|
4017
|
-
}
|
|
4018
|
-
function removeElement(propName, element, targetStore = uiStore) {
|
|
4019
|
-
const elementsMapToUse = targetStore.elementsMap;
|
|
4020
|
-
if (!elementsMapToUse) {
|
|
4021
|
-
console.error(`removeElement: No elementsMap found on store`, targetStore);
|
|
4022
|
-
return;
|
|
4023
|
-
}
|
|
4024
|
-
const elements = elementsMapToUse.get(propName);
|
|
4025
|
-
if (elements) {
|
|
4026
|
-
const index = elements.indexOf(element);
|
|
4027
|
-
if (index > -1) {
|
|
4028
|
-
elements.splice(index, 1);
|
|
4029
|
-
}
|
|
4030
|
-
}
|
|
4031
|
-
}
|
|
4032
|
-
|
|
4033
|
-
export { cloneTypedArray as A, BreakoutRoomsManager as B, isArguments$1 as C, isFunction as D, initCloneObject as E, isLiveStreamHost as F, chatUnreadTimestamps as G, gracefulStorage$1 as H, appendElement as I, removeElement as J, root$1 as K, canToggleBreakout as L, isLiveStreamViewer as M, showLivestream as N, clone as O, resetRoomCount as P, participantIdentifier as Q, PlayerState as R, Stack as S, getLivestreamViewerAllowedQualityLevels as T, getPreference as U, setPreference as V, getAllConnectedParticipants as W, uiState as a, createPeerStore as b, createDefaultConfig as c, defaultConfig as d, defaultIconPack as e, defaultOverrides as f, getInitialStates as g, defaultLanguage as h, useLanguage as i, defineProperty$1 as j, isObject as k, isArrayLike as l, isIndex as m, eq as n, isObjectLike as o, baseGetTag as p, getPrototype$1 as q, baseAssignValue as r, copyObject as s, keysIn as t, uiStore as u, isArray$1 as v, isBuffer$1 as w, isTypedArray$1 as x, copyArray as y, cloneBuffer as z };
|