@cloudflare/realtimekit-ui 2.0.1-staging.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.
Files changed (924) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/ChatHead-DzH-mYX1.js +11 -0
  3. package/dist/cjs/{TextMessage-492778db.js → TextMessage-5iqcrDk9.js} +9 -11
  4. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  5. package/dist/cjs/breakout-rooms-46jWgGiL.js +72 -0
  6. package/dist/cjs/breakout-rooms-manager-Bgk5FEK1.js +303 -0
  7. package/dist/cjs/{chat-4f5c28ca.js → chat-CiRLOYTj.js} +1 -1
  8. package/dist/cjs/{config-705c8f2c.js → config-Dr-kt-RY.js} +6 -5
  9. package/dist/cjs/debounce-BgZ6dvDk.js +659 -0
  10. package/dist/cjs/{debounce-7fa6354d.js → debounce-padcVDRF.js} +4 -6
  11. package/dist/cjs/{file-0b9afa34.js → file-BfaJmhHW.js} +1 -1
  12. package/dist/cjs/{floating-ui.dom.esm-9d940028.js → floating-ui.dom-D8vZii24.js} +3 -310
  13. package/dist/cjs/hark-qJk9qiLr.js +322 -0
  14. package/dist/cjs/{index-4366eb3b.js → index-BOQMsbCN.js} +2 -2
  15. package/dist/cjs/{index-2e5758b6.js → index-Bi2L8zQ7.js} +1202 -555
  16. package/dist/cjs/{index-6f8c1928.js → index-Ck9E7Wf2.js} +22 -31
  17. package/dist/cjs/index.cjs.js +14 -13
  18. package/dist/cjs/livestream-B1z1fq_f.js +78 -0
  19. package/dist/cjs/loader.cjs.js +3 -5
  20. package/dist/cjs/{merge-79537b1d.js → merge-CSoi4R44.js} +136 -17
  21. package/dist/cjs/{notification-8f4db150.js → notification-BM6CUHyL.js} +1 -1
  22. package/dist/cjs/realtimekit-ui.cjs.js +7 -7
  23. package/dist/cjs/rtk-ai-toggle.cjs.entry.js +8 -9
  24. package/dist/cjs/rtk-ai-transcriptions.cjs.entry.js +15 -14
  25. package/dist/cjs/rtk-ai_3.cjs.entry.js +19 -17
  26. package/dist/cjs/rtk-audio-grid.cjs.entry.js +12 -10
  27. package/dist/cjs/rtk-audio-tile.cjs.entry.js +13 -10
  28. package/dist/cjs/rtk-audio-visualizer_4.cjs.entry.js +26 -23
  29. package/dist/cjs/rtk-avatar_26.cjs.entry.js +120 -123
  30. package/dist/cjs/rtk-breakout-room-manager_3.cjs.entry.js +33 -27
  31. package/dist/cjs/rtk-breakout-rooms-manager_9.cjs.entry.js +38 -41
  32. package/dist/cjs/rtk-breakout-rooms-toggle.cjs.entry.js +11 -11
  33. package/dist/cjs/rtk-camera-selector_2.cjs.entry.js +20 -15
  34. package/dist/cjs/rtk-camera-toggle.cjs.entry.js +8 -9
  35. package/dist/cjs/rtk-caption-toggle.cjs.entry.js +11 -9
  36. package/dist/cjs/rtk-chat-composer-ui.cjs.entry.js +9 -9
  37. package/dist/cjs/rtk-chat-message.cjs.entry.js +8 -8
  38. package/dist/cjs/rtk-chat-messages-ui.cjs.entry.js +16 -12
  39. package/dist/cjs/rtk-chat-search-results.cjs.entry.js +8 -8
  40. package/dist/cjs/rtk-chat-selector-ui.cjs.entry.js +9 -9
  41. package/dist/cjs/rtk-chat-toggle.cjs.entry.js +16 -12
  42. package/dist/cjs/rtk-clock.cjs.entry.js +11 -10
  43. package/dist/cjs/rtk-controlbar-button.cjs.entry.js +5 -8
  44. package/dist/cjs/rtk-controlbar.cjs.entry.js +9 -9
  45. package/dist/cjs/rtk-debugger-audio_4.cjs.entry.js +42 -48
  46. package/dist/cjs/rtk-debugger-toggle.cjs.entry.js +5 -8
  47. package/dist/cjs/rtk-dialog-manager.cjs.entry.js +9 -10
  48. package/dist/cjs/rtk-dialog.cjs.entry.js +5 -8
  49. package/dist/cjs/rtk-ended-screen.cjs.entry.js +11 -9
  50. package/dist/cjs/rtk-file-dropzone.cjs.entry.js +8 -8
  51. package/dist/cjs/rtk-file-message_3.cjs.entry.js +11 -14
  52. package/dist/cjs/rtk-fullscreen-toggle.cjs.entry.js +6 -9
  53. package/dist/cjs/rtk-grid-pagination.cjs.entry.js +17 -15
  54. package/dist/cjs/rtk-grid.cjs.entry.js +28 -19
  55. package/dist/cjs/rtk-header.cjs.entry.js +9 -9
  56. package/dist/cjs/rtk-idle-screen.cjs.entry.js +14 -10
  57. package/dist/cjs/rtk-image-viewer.cjs.entry.js +7 -10
  58. package/dist/cjs/rtk-information-tooltip.cjs.entry.js +8 -8
  59. package/dist/cjs/rtk-leave-button.cjs.entry.js +5 -8
  60. package/dist/cjs/rtk-livestream-indicator_3.cjs.entry.js +41 -52
  61. package/dist/cjs/rtk-livestream-toggle.cjs.entry.js +10 -10
  62. package/dist/cjs/rtk-logo.cjs.entry.js +14 -10
  63. package/dist/cjs/rtk-meeting-title.cjs.entry.js +5 -8
  64. package/dist/cjs/rtk-message-list-view.cjs.entry.js +12 -10
  65. package/dist/cjs/rtk-mic-toggle.cjs.entry.js +8 -9
  66. package/dist/cjs/rtk-mixed-grid.cjs.entry.js +16 -13
  67. package/dist/cjs/rtk-more-toggle.cjs.entry.js +5 -8
  68. package/dist/cjs/rtk-mute-all-button.cjs.entry.js +11 -9
  69. package/dist/cjs/rtk-name-tag.cjs.entry.js +9 -10
  70. package/dist/cjs/rtk-network-indicator.cjs.entry.js +11 -9
  71. package/dist/cjs/rtk-notification.cjs.entry.js +13 -12
  72. package/dist/cjs/rtk-notifications.cjs.entry.js +22 -16
  73. package/dist/cjs/rtk-participant-count.cjs.entry.js +11 -11
  74. package/dist/cjs/rtk-participant-setup.cjs.entry.js +14 -10
  75. package/dist/cjs/rtk-participant_2.cjs.entry.js +29 -28
  76. package/dist/cjs/rtk-participants-audio.cjs.entry.js +11 -11
  77. package/dist/cjs/rtk-participants-stage-list_4.cjs.entry.js +33 -24
  78. package/dist/cjs/rtk-participants-toggle.cjs.entry.js +16 -12
  79. package/dist/cjs/rtk-participants.cjs.entry.js +15 -11
  80. package/dist/cjs/rtk-pip-toggle.cjs.entry.js +11 -9
  81. package/dist/cjs/rtk-plugin-main_2.cjs.entry.js +11 -13
  82. package/dist/cjs/rtk-plugins-toggle.cjs.entry.js +16 -12
  83. package/dist/cjs/rtk-poll_2.cjs.entry.js +8 -12
  84. package/dist/cjs/rtk-polls-toggle.cjs.entry.js +16 -12
  85. package/dist/cjs/rtk-recording-indicator.cjs.entry.js +8 -9
  86. package/dist/cjs/rtk-recording-toggle.cjs.entry.js +8 -9
  87. package/dist/cjs/rtk-screen-share-toggle.cjs.entry.js +8 -9
  88. package/dist/cjs/rtk-screenshare-view.cjs.entry.js +9 -10
  89. package/dist/cjs/rtk-settings-audio_2.cjs.entry.js +10 -12
  90. package/dist/cjs/rtk-settings-toggle.cjs.entry.js +5 -8
  91. package/dist/cjs/rtk-settings.cjs.entry.js +8 -9
  92. package/dist/cjs/rtk-setup-screen.cjs.entry.js +11 -12
  93. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +11 -9
  94. package/dist/cjs/rtk-sidebar.cjs.entry.js +17 -13
  95. package/dist/cjs/rtk-simple-grid.cjs.entry.js +11 -12
  96. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +7 -10
  97. package/dist/cjs/rtk-spotlight-indicator.cjs.entry.js +8 -9
  98. package/dist/cjs/rtk-stage-toggle.cjs.entry.js +11 -9
  99. package/dist/cjs/rtk-stage.cjs.entry.js +5 -8
  100. package/dist/cjs/rtk-transcript.cjs.entry.js +8 -9
  101. package/dist/cjs/rtk-transcripts.cjs.entry.js +14 -10
  102. package/dist/cjs/rtk-ui-provider.cjs.entry.js +28 -18
  103. package/dist/cjs/rtk-waiting-screen.cjs.entry.js +8 -8
  104. package/dist/cjs/{sidebar-3d8abb05.js → sidebar-CaEYxWaS.js} +2 -2
  105. package/dist/cjs/{ui-store-b1ac9e83.js → ui-store-CTof0Q5V.js} +100 -813
  106. package/dist/collection/collection-manifest.json +3 -2
  107. package/dist/collection/components/rtk-ai/rtk-ai.js +16 -10
  108. package/dist/collection/components/rtk-ai-toggle/rtk-ai-toggle.js +18 -11
  109. package/dist/collection/components/rtk-ai-transcriptions/rtk-ai-transcriptions.js +9 -5
  110. package/dist/collection/components/rtk-audio-grid/rtk-audio-grid.js +16 -10
  111. package/dist/collection/components/rtk-audio-tile/rtk-audio-tile.js +18 -11
  112. package/dist/collection/components/rtk-audio-visualizer/rtk-audio-visualizer.js +15 -11
  113. package/dist/collection/components/rtk-avatar/rtk-avatar.js +15 -10
  114. package/dist/collection/components/rtk-breakout-room-manager/rtk-breakout-room-manager.js +18 -13
  115. package/dist/collection/components/rtk-breakout-room-participants/rtk-breakout-room-participants.js +7 -4
  116. package/dist/collection/components/rtk-breakout-room-toggle/rtk-breakout-rooms-toggle.js +19 -12
  117. package/dist/collection/components/rtk-breakout-rooms-manager/rtk-breakout-rooms-manager.js +12 -7
  118. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +11 -6
  119. package/dist/collection/components/rtk-button/rtk-button.js +9 -8
  120. package/dist/collection/components/rtk-camera-selector/rtk-camera-selector.js +12 -8
  121. package/dist/collection/components/rtk-camera-toggle/rtk-camera-toggle.js +16 -10
  122. package/dist/collection/components/rtk-caption-toggle/rtk-caption-toggle.js +20 -12
  123. package/dist/collection/components/rtk-chat/rtk-chat.js +19 -11
  124. package/dist/collection/components/rtk-chat-composer-ui/rtk-chat-composer-ui.js +16 -11
  125. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +16 -14
  126. package/dist/collection/components/rtk-chat-message/rtk-chat-message.js +34 -26
  127. package/dist/collection/components/rtk-chat-messages-ui/rtk-chat-messages-ui.js +20 -14
  128. package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +24 -14
  129. package/dist/collection/components/rtk-chat-search-results/rtk-chat-search-results.js +11 -8
  130. package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +20 -12
  131. package/dist/collection/components/rtk-chat-selector-ui/rtk-chat-selector-ui.js +10 -8
  132. package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +18 -11
  133. package/dist/collection/components/rtk-clock/rtk-clock.js +8 -5
  134. package/dist/collection/components/rtk-confirmation-modal/rtk-confirmation-modal.js +11 -6
  135. package/dist/collection/components/rtk-controlbar/rtk-controlbar.js +17 -11
  136. package/dist/collection/components/rtk-controlbar-button/rtk-controlbar-button.js +16 -14
  137. package/dist/collection/components/rtk-counter/rtk-counter.js +12 -9
  138. package/dist/collection/components/rtk-debugger/rtk-debugger.js +15 -9
  139. package/dist/collection/components/rtk-debugger-audio/rtk-debugger-audio.js +13 -8
  140. package/dist/collection/components/rtk-debugger-screenshare/rtk-debugger-screenshare.js +13 -8
  141. package/dist/collection/components/rtk-debugger-system/rtk-debugger-system.js +13 -8
  142. package/dist/collection/components/rtk-debugger-toggle/rtk-debugger-toggle.js +18 -11
  143. package/dist/collection/components/rtk-debugger-video/rtk-debugger-video.js +13 -8
  144. package/dist/collection/components/rtk-dialog/rtk-dialog.js +18 -12
  145. package/dist/collection/components/rtk-dialog-manager/rtk-dialog-manager.js +17 -10
  146. package/dist/collection/components/rtk-draft-attachment-view/rtk-draft-attachment-view.js +5 -3
  147. package/dist/collection/components/rtk-emoji-picker/rtk-emoji-picker.js +6 -4
  148. package/dist/collection/components/rtk-emoji-picker-button/rtk-emoji-picker-button.js +7 -5
  149. package/dist/collection/components/rtk-ended-screen/rtk-ended-screen.js +15 -9
  150. package/dist/collection/components/rtk-file-dropzone/rtk-file-dropzone.js +5 -3
  151. package/dist/collection/components/rtk-file-message/rtk-file-message.js +9 -6
  152. package/dist/collection/components/rtk-file-message-view/rtk-file-message-view.js +8 -7
  153. package/dist/collection/components/rtk-file-picker-button/rtk-file-picker-button.js +13 -10
  154. package/dist/collection/components/rtk-fullscreen-toggle/rtk-fullscreen-toggle.js +16 -10
  155. package/dist/collection/components/rtk-grid/rtk-grid.js +22 -15
  156. package/dist/collection/components/rtk-grid-pagination/rtk-grid-pagination.js +14 -9
  157. package/dist/collection/components/rtk-header/rtk-header.js +17 -11
  158. package/dist/collection/components/rtk-icon/rtk-icon.js +6 -5
  159. package/dist/collection/components/rtk-idle-screen/rtk-idle-screen.js +11 -6
  160. package/dist/collection/components/rtk-image-message/rtk-image-message.js +11 -7
  161. package/dist/collection/components/rtk-image-message-view/rtk-image-message-view.js +7 -5
  162. package/dist/collection/components/rtk-image-viewer/rtk-image-viewer.js +11 -7
  163. package/dist/collection/components/rtk-information-tooltip/rtk-information-tooltip.js +2 -1
  164. package/dist/collection/components/rtk-join-stage/rtk-join-stage.js +17 -10
  165. package/dist/collection/components/rtk-leave-button/rtk-leave-button.js +14 -9
  166. package/dist/collection/components/rtk-leave-meeting/rtk-leave-meeting.js +11 -6
  167. package/dist/collection/components/rtk-livestream-indicator/rtk-livestream-indicator.js +11 -7
  168. package/dist/collection/components/rtk-livestream-player/rtk-livestream-player.js +11 -7
  169. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +16 -10
  170. package/dist/collection/components/rtk-logo/rtk-logo.js +9 -6
  171. package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +4 -4
  172. package/dist/collection/components/rtk-meeting/rtk-meeting.js +27 -19
  173. package/dist/collection/components/rtk-meeting-title/rtk-meeting-title.js +7 -4
  174. package/dist/collection/components/rtk-menu/rtk-menu.js +13 -9
  175. package/dist/collection/components/rtk-menu-item/rtk-menu-item.js +10 -7
  176. package/dist/collection/components/rtk-menu-list/rtk-menu-list.js +6 -4
  177. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +5 -4
  178. package/dist/collection/components/rtk-message-view/rtk-message-view.js +19 -17
  179. package/dist/collection/components/rtk-mic-toggle/rtk-mic-toggle.js +16 -10
  180. package/dist/collection/components/rtk-microphone-selector/rtk-microphone-selector.js +12 -8
  181. package/dist/collection/components/rtk-mixed-grid/rtk-mixed-grid.js +31 -19
  182. package/dist/collection/components/rtk-more-toggle/rtk-more-toggle.js +13 -8
  183. package/dist/collection/components/rtk-mute-all-button/rtk-mute-all-button.js +16 -10
  184. package/dist/collection/components/rtk-mute-all-confirmation/rtk-mute-all-confirmation.js +11 -6
  185. package/dist/collection/components/rtk-name-tag/rtk-name-tag.js +16 -11
  186. package/dist/collection/components/rtk-network-indicator/rtk-network-indicator.js +11 -7
  187. package/dist/collection/components/rtk-notification/rtk-notification.js +13 -9
  188. package/dist/collection/components/rtk-notifications/rtk-notifications.js +15 -9
  189. package/dist/collection/components/rtk-overlay-modal/rtk-overlay-modal.js +11 -6
  190. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +14 -11
  191. package/dist/collection/components/rtk-participant/rtk-participant.js +15 -9
  192. package/dist/collection/components/rtk-participant-count/rtk-participant-count.js +11 -7
  193. package/dist/collection/components/rtk-participant-setup/rtk-participant-setup.js +19 -13
  194. package/dist/collection/components/rtk-participant-tile/rtk-participant-tile.js +26 -17
  195. package/dist/collection/components/rtk-participants/rtk-participants.js +18 -11
  196. package/dist/collection/components/rtk-participants-audio/rtk-participants-audio.js +7 -4
  197. package/dist/collection/components/rtk-participants-stage-list/rtk-participants-stage-list.js +20 -13
  198. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +16 -10
  199. package/dist/collection/components/rtk-participants-toggle/rtk-participants-toggle.js +18 -11
  200. package/dist/collection/components/rtk-participants-viewer-list/rtk-participants-viewer-list.js +18 -12
  201. package/dist/collection/components/rtk-participants-waiting-list/rtk-participants-waiting-list.js +16 -10
  202. package/dist/collection/components/rtk-permissions-message/rtk-permissions-message.js +11 -6
  203. package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +9 -5
  204. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +20 -12
  205. package/dist/collection/components/rtk-plugin-main/rtk-plugin-main.js +10 -6
  206. package/dist/collection/components/rtk-plugins/rtk-plugins.js +15 -9
  207. package/dist/collection/components/rtk-plugins-toggle/rtk-plugins-toggle.js +18 -11
  208. package/dist/collection/components/rtk-poll/rtk-poll.js +12 -8
  209. package/dist/collection/components/rtk-poll-form/rtk-poll-form.js +7 -4
  210. package/dist/collection/components/rtk-polls/rtk-polls.js +13 -8
  211. package/dist/collection/components/rtk-polls-toggle/rtk-polls-toggle.js +18 -11
  212. package/dist/collection/components/rtk-recording-indicator/rtk-recording-indicator.js +11 -7
  213. package/dist/collection/components/rtk-recording-toggle/rtk-recording-toggle.js +15 -10
  214. package/dist/collection/components/rtk-screen-share-toggle/rtk-screen-share-toggle.js +18 -11
  215. package/dist/collection/components/rtk-screenshare-view/rtk-screenshare-view.js +21 -14
  216. package/dist/collection/components/rtk-settings/rtk-settings.js +15 -9
  217. package/dist/collection/components/rtk-settings-audio/rtk-settings-audio.js +15 -9
  218. package/dist/collection/components/rtk-settings-toggle/rtk-settings-toggle.js +16 -10
  219. package/dist/collection/components/rtk-settings-video/rtk-settings-video.js +15 -9
  220. package/dist/collection/components/rtk-setup-screen/rtk-setup-screen.js +17 -10
  221. package/dist/collection/components/rtk-sidebar/rtk-sidebar.js +23 -14
  222. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +9 -8
  223. package/dist/collection/components/rtk-simple-grid/rtk-simple-grid.js +19 -12
  224. package/dist/collection/components/rtk-speaker-selector/rtk-speaker-selector.js +14 -9
  225. package/dist/collection/components/rtk-spinner/rtk-spinner.js +5 -3
  226. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +27 -17
  227. package/dist/collection/components/rtk-spotlight-indicator/rtk-spotlight-indicator.js +11 -7
  228. package/dist/collection/components/rtk-stage/rtk-stage.js +7 -4
  229. package/dist/collection/components/rtk-stage-toggle/rtk-stage-toggle.js +18 -11
  230. package/dist/collection/components/rtk-switch/rtk-switch.js +8 -6
  231. package/dist/collection/components/rtk-tab-bar/rtk-tab-bar.js +18 -11
  232. package/dist/collection/components/rtk-text-composer-view/rtk-text-composer-view.js +13 -11
  233. package/dist/collection/components/rtk-text-message/rtk-text-message.js +9 -6
  234. package/dist/collection/components/rtk-text-message-view/rtk-text-message-view.js +3 -3
  235. package/dist/collection/components/rtk-tooltip/rtk-tooltip.js +13 -11
  236. package/dist/collection/components/rtk-transcript/rtk-transcript.js +5 -3
  237. package/dist/collection/components/rtk-transcripts/rtk-transcripts.js +9 -5
  238. package/dist/collection/components/rtk-ui-provider/rtk-ui-provider.js +18 -11
  239. package/dist/collection/components/rtk-viewer-count/rtk-viewer-count.js +8 -5
  240. package/dist/collection/components/rtk-virtualized-list/rtk-virtualized-participant-list.js +6 -4
  241. package/dist/collection/components/rtk-waiting-screen/rtk-waiting-screen.js +9 -5
  242. package/dist/collection/utils/livestream.js +1 -1
  243. package/dist/collection/utils/sync-with-store/ui-store.js +1 -1
  244. package/dist/components/index.d.ts +2 -0
  245. package/dist/components/index.js +1 -247
  246. package/dist/components/p-1sLF61J1.js +1 -0
  247. package/dist/components/p-7zlNLqpS.js +1 -0
  248. package/dist/components/p-B-k80wnP.js +1 -0
  249. package/dist/components/p-B1SWgSTZ.js +1 -0
  250. package/dist/components/p-B1wrArJr.js +1 -0
  251. package/dist/components/p-B4TnXODX.js +1 -0
  252. package/dist/components/p-B5-LNbkp.js +1 -0
  253. package/dist/components/p-B9MPybze.js +1 -0
  254. package/dist/components/p-BA_UY9k8.js +1 -0
  255. package/dist/components/p-BBHQOrFK.js +2 -0
  256. package/dist/{realtimekit-ui/p-598b792e.js → components/p-BCuMxcZN.js} +1 -1
  257. package/dist/components/p-BEOq_QN5.js +1 -0
  258. package/dist/components/p-BFTU3MAI.js +1 -0
  259. package/dist/components/p-BJKSFJeB.js +1 -0
  260. package/dist/components/p-BOYkqKBb.js +1 -0
  261. package/dist/components/p-BRbb3tLk.js +1 -0
  262. package/dist/components/p-BWNToYSb.js +1 -0
  263. package/dist/components/p-BYIBbfJ8.js +1 -0
  264. package/dist/components/p-BbJzI1u1.js +1 -0
  265. package/dist/components/p-BcCYogfR.js +1 -0
  266. package/dist/components/p-Bf4LuZWa.js +1 -0
  267. package/dist/{realtimekit-ui/p-1e62d63b.js → components/p-Bj1kNPpe.js} +1 -1
  268. package/dist/components/p-BjF9F_tX.js +1 -0
  269. package/dist/components/p-BoGbJ5PX.js +1 -0
  270. package/dist/components/p-BuZhKlht.js +1 -0
  271. package/dist/{realtimekit-ui/p-fa9759f4.js → components/p-Bx38FZhs.js} +1 -1
  272. package/dist/components/p-C-OVY3ug.js +1 -0
  273. package/dist/components/p-C0H4DNJM.js +1 -0
  274. package/dist/components/p-C0vp-Q7v.js +1 -0
  275. package/dist/components/p-C3Z3GLQh.js +1 -0
  276. package/dist/components/p-C4IJ0f9O.js +1 -0
  277. package/dist/components/p-C9EBo56b.js +1 -0
  278. package/dist/components/p-CABfszIM.js +1 -0
  279. package/dist/components/p-CB5hzEOM.js +1 -0
  280. package/dist/components/p-CBJjerDR.js +1 -0
  281. package/dist/components/p-CBLUz_2s.js +1 -0
  282. package/dist/components/p-CJsXePY3.js +1 -0
  283. package/dist/components/p-CKX6X8es.js +1 -0
  284. package/dist/components/p-COEreDeR.js +1 -0
  285. package/dist/components/p-COZSdc5O.js +1 -0
  286. package/dist/components/p-CQAMoQlr.js +1 -0
  287. package/dist/components/p-Cd-WpR0J.js +1 -0
  288. package/dist/components/p-CdV0xzjB.js +1 -0
  289. package/dist/components/p-Ce-9kgl0.js +1 -0
  290. package/dist/components/p-ChuKD7QS.js +1 -0
  291. package/dist/components/p-Cj44pA_c.js +1 -0
  292. package/dist/components/p-Cmu_4ZYL.js +1 -0
  293. package/dist/components/p-CnJQLwM-.js +1 -0
  294. package/dist/components/p-CpOL3OJd.js +1 -0
  295. package/dist/components/p-CphAED3J.js +1 -0
  296. package/dist/components/p-CqEcYX16.js +1 -0
  297. package/dist/components/p-CrExxJHe.js +1 -0
  298. package/dist/components/p-D0bZYAmS.js +1 -0
  299. package/dist/components/p-D1zAGrQ9.js +1 -0
  300. package/dist/components/p-D6vw6bT2.js +1 -0
  301. package/dist/{realtimekit-ui/p-6befaf17.js → components/p-D9HGXWKc.js} +1 -1
  302. package/dist/components/p-DBjcFAtV.js +1 -0
  303. package/dist/components/p-DCEjf6bL.js +1 -0
  304. package/dist/components/p-DD3_OTZn.js +1 -0
  305. package/dist/{realtimekit-ui/p-40be18ee.js → components/p-DDaHXyCC.js} +1 -1
  306. package/dist/components/p-DEOaS443.js +1 -0
  307. package/dist/components/p-DHSRRtn3.js +1 -0
  308. package/dist/components/p-DKjr_UXt.js +1 -0
  309. package/dist/components/p-DLocSBO3.js +1 -0
  310. package/dist/components/p-DNkzP2hS.js +1 -0
  311. package/dist/components/p-DP4RUNa1.js +1 -0
  312. package/dist/components/p-DU5mNJqK.js +1 -0
  313. package/dist/components/p-DY8ll5IU.js +1 -0
  314. package/dist/components/p-DZC8m5f_.js +1 -0
  315. package/dist/components/p-Daj_55_i.js +1 -0
  316. package/dist/components/p-DbHOlaHU.js +1 -0
  317. package/dist/components/p-De8YQHVd.js +1 -0
  318. package/dist/components/p-Deo_3EhX.js +1 -0
  319. package/dist/components/p-Df2S0-LE.js +1 -0
  320. package/dist/components/p-DfWuSKCq.js +1 -0
  321. package/dist/components/p-Dguuxuf6.js +1 -0
  322. package/dist/components/p-Dkd2PDJ-.js +1 -0
  323. package/dist/components/p-DlKMnwxL.js +1 -0
  324. package/dist/components/p-DmVA5ArE.js +1 -0
  325. package/dist/components/p-DnQYtb0h.js +1 -0
  326. package/dist/components/p-DuOnRaMu.js +1 -0
  327. package/dist/components/p-DxDYE5-a.js +1 -0
  328. package/dist/components/p-EuNHmu13.js +1 -0
  329. package/dist/components/p-FVFlyS1y.js +1 -0
  330. package/dist/components/p-FdeAvICb.js +1 -0
  331. package/dist/components/p-J1kxEVHe.js +1 -0
  332. package/dist/components/p-JyC3dswA.js +1 -0
  333. package/dist/components/p-KpmupjxR.js +1 -0
  334. package/dist/components/p-L9yK33Cu.js +1 -0
  335. package/dist/components/p-PXVZ-Szx.js +1 -0
  336. package/dist/components/p-ViKGg-Ct.js +1 -0
  337. package/dist/components/p-aS2wpIc0.js +1 -0
  338. package/dist/components/p-ak2clYhw.js +1 -0
  339. package/dist/components/p-e-OVL-Mg.js +1 -0
  340. package/dist/components/p-j2J2Tn1F.js +1 -0
  341. package/dist/components/p-oXrlIvqH.js +1 -0
  342. package/dist/components/p-pb5wDMuJ.js +1 -0
  343. package/dist/components/p-s-jAl7lc.js +1 -0
  344. package/dist/components/p-sSs7a3Ms.js +1 -0
  345. package/dist/components/p-t72veIFj.js +1 -0
  346. package/dist/components/p-uOh9MOi7.js +1 -0
  347. package/dist/components/p-wemYeTS7.js +1 -0
  348. package/dist/components/p-wl6GEzgG.js +1 -0
  349. package/dist/components/p-zBoy9v8V.js +1 -0
  350. package/dist/components/rtk-ai-toggle.js +1 -122
  351. package/dist/components/rtk-ai-transcriptions.js +1 -6
  352. package/dist/components/rtk-ai.js +1 -6
  353. package/dist/components/rtk-audio-grid.js +1 -145
  354. package/dist/components/rtk-audio-tile.js +1 -184
  355. package/dist/components/rtk-audio-visualizer.js +1 -6
  356. package/dist/components/rtk-avatar.js +1 -6
  357. package/dist/components/rtk-breakout-room-manager.js +1 -6
  358. package/dist/components/rtk-breakout-room-participants.js +1 -6
  359. package/dist/components/rtk-breakout-rooms-manager.js +1 -6
  360. package/dist/components/rtk-breakout-rooms-toggle.js +1 -128
  361. package/dist/components/rtk-broadcast-message-modal.js +1 -6
  362. package/dist/components/rtk-button.js +1 -6
  363. package/dist/components/rtk-camera-selector.js +1 -6
  364. package/dist/components/rtk-camera-toggle.js +1 -236
  365. package/dist/components/rtk-caption-toggle.js +1 -131
  366. package/dist/components/rtk-chat-composer-ui.js +1 -363
  367. package/dist/components/rtk-chat-composer-view.js +1 -6
  368. package/dist/components/rtk-chat-header.js +1 -6
  369. package/dist/components/rtk-chat-message.js +1 -6
  370. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -6
  371. package/dist/components/rtk-chat-messages-ui.js +1 -313
  372. package/dist/components/rtk-chat-search-results.js +1 -147
  373. package/dist/components/rtk-chat-selector-ui.js +1 -108
  374. package/dist/components/rtk-chat-selector.js +1 -6
  375. package/dist/components/rtk-chat-toggle.js +1 -181
  376. package/dist/components/rtk-chat.js +1 -6
  377. package/dist/components/rtk-clock.js +1 -128
  378. package/dist/components/rtk-confirmation-modal.js +1 -6
  379. package/dist/components/rtk-controlbar-button.js +1 -6
  380. package/dist/components/rtk-controlbar.js +1 -91
  381. package/dist/components/rtk-counter.js +1 -6
  382. package/dist/components/rtk-debugger-audio.js +1 -6
  383. package/dist/components/rtk-debugger-screenshare.js +1 -6
  384. package/dist/components/rtk-debugger-system.js +1 -6
  385. package/dist/components/rtk-debugger-toggle.js +1 -98
  386. package/dist/components/rtk-debugger-video.js +1 -6
  387. package/dist/components/rtk-debugger.js +1 -6
  388. package/dist/components/rtk-dialog-manager.js +1 -310
  389. package/dist/components/rtk-dialog.js +1 -6
  390. package/dist/components/rtk-draft-attachment-view.js +1 -6
  391. package/dist/components/rtk-emoji-picker-button.js +1 -6
  392. package/dist/components/rtk-emoji-picker.js +1 -6
  393. package/dist/components/rtk-ended-screen.js +1 -150
  394. package/dist/components/rtk-file-dropzone.js +1 -87
  395. package/dist/components/rtk-file-message-view.js +1 -6
  396. package/dist/components/rtk-file-message.js +1 -6
  397. package/dist/components/rtk-file-picker-button.js +1 -6
  398. package/dist/components/rtk-fullscreen-toggle.js +1 -6
  399. package/dist/components/rtk-grid-pagination.js +1 -206
  400. package/dist/components/rtk-grid.js +1 -468
  401. package/dist/components/rtk-header.js +1 -91
  402. package/dist/components/rtk-icon.js +1 -6
  403. package/dist/components/rtk-idle-screen.js +1 -139
  404. package/dist/components/rtk-image-message-view.js +1 -6
  405. package/dist/components/rtk-image-message.js +1 -6
  406. package/dist/components/rtk-image-viewer.js +1 -91
  407. package/dist/components/rtk-information-tooltip.js +1 -61
  408. package/dist/components/rtk-join-stage.js +1 -6
  409. package/dist/components/rtk-leave-button.js +1 -87
  410. package/dist/components/rtk-leave-meeting.js +1 -6
  411. package/dist/components/rtk-livestream-indicator.js +1 -6
  412. package/dist/components/rtk-livestream-player.js +1 -6
  413. package/dist/components/rtk-livestream-toggle.js +1 -181
  414. package/dist/components/rtk-logo.js +1 -6
  415. package/dist/components/rtk-markdown-view.js +1 -6
  416. package/dist/components/rtk-meeting-title.js +1 -74
  417. package/dist/components/rtk-meeting.js +1 -533
  418. package/dist/components/rtk-menu-item.js +1 -6
  419. package/dist/components/rtk-menu-list.js +1 -6
  420. package/dist/components/rtk-menu.js +1 -6
  421. package/dist/components/rtk-message-list-view.js +1 -324
  422. package/dist/components/rtk-message-view.js +1 -6
  423. package/dist/components/rtk-mic-toggle.js +1 -234
  424. package/dist/components/rtk-microphone-selector.js +1 -6
  425. package/dist/components/rtk-mixed-grid.js +1 -300
  426. package/dist/components/rtk-more-toggle.js +1 -112
  427. package/dist/components/rtk-mute-all-button.js +1 -127
  428. package/dist/components/rtk-mute-all-confirmation.js +1 -6
  429. package/dist/components/rtk-name-tag.js +1 -6
  430. package/dist/components/rtk-network-indicator.js +1 -117
  431. package/dist/components/rtk-notification.js +1 -6
  432. package/dist/components/rtk-notifications.js +1 -637
  433. package/dist/components/rtk-overlay-modal.js +1 -6
  434. package/dist/components/rtk-paginated-list.js +1 -6
  435. package/dist/components/rtk-participant-count.js +1 -118
  436. package/dist/components/rtk-participant-setup.js +1 -149
  437. package/dist/components/rtk-participant-tile.js +1 -6
  438. package/dist/components/rtk-participant.js +1 -6
  439. package/dist/components/rtk-participants-audio.js +1 -249
  440. package/dist/components/rtk-participants-stage-list.js +1 -6
  441. package/dist/components/rtk-participants-stage-queue.js +1 -6
  442. package/dist/components/rtk-participants-toggle.js +1 -195
  443. package/dist/components/rtk-participants-viewer-list.js +1 -6
  444. package/dist/components/rtk-participants-waiting-list.js +1 -6
  445. package/dist/components/rtk-participants.js +1 -306
  446. package/dist/components/rtk-permissions-message.js +1 -6
  447. package/dist/components/rtk-pinned-message-selector.js +1 -6
  448. package/dist/components/rtk-pip-toggle.js +1 -135
  449. package/dist/components/rtk-plugin-main.js +1 -6
  450. package/dist/components/rtk-plugins-toggle.js +1 -148
  451. package/dist/components/rtk-plugins.js +1 -6
  452. package/dist/components/rtk-poll-form.js +1 -6
  453. package/dist/components/rtk-poll.js +1 -6
  454. package/dist/components/rtk-polls-toggle.js +1 -160
  455. package/dist/components/rtk-polls.js +1 -6
  456. package/dist/components/rtk-recording-indicator.js +1 -96
  457. package/dist/components/rtk-recording-toggle.js +1 -203
  458. package/dist/components/rtk-screen-share-toggle.js +1 -317
  459. package/dist/components/rtk-screenshare-view.js +1 -194
  460. package/dist/components/rtk-settings-audio.js +1 -6
  461. package/dist/components/rtk-settings-toggle.js +1 -93
  462. package/dist/components/rtk-settings-video.js +1 -6
  463. package/dist/components/rtk-settings.js +1 -208
  464. package/dist/components/rtk-setup-screen.js +1 -215
  465. package/dist/components/rtk-sidebar-ui.js +1 -6
  466. package/dist/components/rtk-sidebar.js +1 -253
  467. package/dist/components/rtk-simple-grid.js +1 -149
  468. package/dist/components/rtk-speaker-selector.js +1 -6
  469. package/dist/components/rtk-spinner.js +1 -6
  470. package/dist/components/rtk-spotlight-grid.js +1 -135
  471. package/dist/components/rtk-spotlight-indicator.js +1 -6
  472. package/dist/components/rtk-stage-toggle.js +1 -195
  473. package/dist/components/rtk-stage.js +1 -61
  474. package/dist/components/rtk-switch.js +1 -6
  475. package/dist/components/rtk-tab-bar.js +1 -6
  476. package/dist/components/rtk-text-composer-view.js +1 -6
  477. package/dist/components/rtk-text-message-view.js +1 -6
  478. package/dist/components/rtk-text-message.js +1 -6
  479. package/dist/components/rtk-tooltip.js +1 -6
  480. package/dist/components/rtk-transcript.js +1 -6
  481. package/dist/components/rtk-transcripts.js +1 -199
  482. package/dist/components/rtk-ui-provider.js +1 -281
  483. package/dist/components/rtk-viewer-count.js +1 -6
  484. package/dist/components/rtk-virtualized-participant-list.js +1 -6
  485. package/dist/components/rtk-waiting-screen.js +1 -77
  486. package/dist/docs/docs-components.d.ts +37 -0
  487. package/dist/docs/docs-components.json +5693 -3069
  488. package/dist/docs/docs-vscode.json +78 -78
  489. package/dist/esm/ChatHead-BV_pLIJ6.js +9 -0
  490. package/dist/{components/p-1a950769.js → esm/TextMessage-DRvjfMBy.js} +9 -11
  491. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  492. package/dist/esm/breakout-rooms-Daj_55_i.js +64 -0
  493. package/dist/esm/breakout-rooms-manager-B1Qky9zO.js +301 -0
  494. package/dist/esm/{chat-1107a64f.js → chat-Zou036qQ.js} +1 -1
  495. package/dist/{components/p-9f0c9162.js → esm/config-BYcrCEso.js} +5 -4
  496. package/dist/esm/debounce-BLQbB67V.js +657 -0
  497. package/dist/{components/p-1dca17d1.js → esm/debounce-BYqYBLuN.js} +4 -6
  498. package/dist/{components/p-47314bc7.js → esm/file-6Fkktc2w.js} +1 -1
  499. package/dist/esm/{floating-ui.dom.esm-78a1e61c.js → floating-ui.dom-B1SWgSTZ.js} +3 -310
  500. package/dist/esm/hark-Dwnntwzh.js +320 -0
  501. package/dist/{components/p-bd10fae6.js → esm/index-7w76SzJW.js} +2 -2
  502. package/dist/{components/p-88bd1053.js → esm/index-BUsisVB6.js} +22 -31
  503. package/dist/esm/{index-55463a54.js → index-gJCRRBX0.js} +1198 -549
  504. package/dist/esm/index.js +13 -10
  505. package/dist/esm/livestream-C0vp-Q7v.js +73 -0
  506. package/dist/esm/loader.js +3614 -2781
  507. package/dist/{components/p-556de366.js → esm/merge-CiWMx7_3.js} +133 -15
  508. package/dist/{components/p-598b792e.js → esm/notification-DcR6dHfn.js} +1 -1
  509. package/dist/esm/realtimekit-ui.js +6 -5
  510. package/dist/esm/rtk-ai-toggle.entry.js +8 -7
  511. package/dist/esm/rtk-ai-transcriptions.entry.js +15 -12
  512. package/dist/esm/rtk-ai_3.entry.js +19 -15
  513. package/dist/esm/rtk-audio-grid.entry.js +12 -8
  514. package/dist/esm/rtk-audio-tile.entry.js +13 -8
  515. package/dist/esm/rtk-audio-visualizer_4.entry.js +26 -21
  516. package/dist/esm/rtk-avatar_26.entry.js +116 -117
  517. package/dist/esm/rtk-breakout-room-manager_3.entry.js +25 -17
  518. package/dist/esm/rtk-breakout-rooms-manager_9.entry.js +33 -34
  519. package/dist/esm/rtk-breakout-rooms-toggle.entry.js +9 -7
  520. package/dist/esm/rtk-camera-selector_2.entry.js +20 -13
  521. package/dist/esm/rtk-camera-toggle.entry.js +8 -7
  522. package/dist/esm/rtk-caption-toggle.entry.js +11 -7
  523. package/dist/esm/rtk-chat-composer-ui.entry.js +9 -7
  524. package/dist/esm/rtk-chat-message.entry.js +8 -6
  525. package/dist/esm/rtk-chat-messages-ui.entry.js +16 -10
  526. package/dist/esm/rtk-chat-search-results.entry.js +8 -6
  527. package/dist/esm/rtk-chat-selector-ui.entry.js +9 -7
  528. package/dist/esm/rtk-chat-toggle.entry.js +16 -10
  529. package/dist/esm/rtk-clock.entry.js +11 -8
  530. package/dist/esm/rtk-controlbar-button.entry.js +5 -6
  531. package/dist/esm/rtk-controlbar.entry.js +9 -7
  532. package/dist/esm/rtk-debugger-audio_4.entry.js +42 -46
  533. package/dist/esm/rtk-debugger-toggle.entry.js +5 -6
  534. package/dist/esm/rtk-dialog-manager.entry.js +9 -8
  535. package/dist/esm/rtk-dialog.entry.js +5 -6
  536. package/dist/esm/rtk-ended-screen.entry.js +11 -7
  537. package/dist/esm/rtk-file-dropzone.entry.js +8 -6
  538. package/dist/esm/rtk-file-message_3.entry.js +11 -12
  539. package/dist/esm/rtk-fullscreen-toggle.entry.js +6 -7
  540. package/dist/esm/rtk-grid-pagination.entry.js +17 -13
  541. package/dist/esm/rtk-grid.entry.js +27 -16
  542. package/dist/esm/rtk-header.entry.js +9 -7
  543. package/dist/esm/rtk-idle-screen.entry.js +14 -8
  544. package/dist/esm/rtk-image-viewer.entry.js +7 -8
  545. package/dist/esm/rtk-information-tooltip.entry.js +8 -6
  546. package/dist/esm/rtk-leave-button.entry.js +5 -6
  547. package/dist/esm/rtk-livestream-indicator_3.entry.js +26 -35
  548. package/dist/esm/rtk-livestream-toggle.entry.js +9 -7
  549. package/dist/esm/rtk-logo.entry.js +14 -8
  550. package/dist/esm/rtk-meeting-title.entry.js +5 -6
  551. package/dist/esm/rtk-message-list-view.entry.js +12 -8
  552. package/dist/esm/rtk-mic-toggle.entry.js +8 -7
  553. package/dist/esm/rtk-mixed-grid.entry.js +16 -11
  554. package/dist/esm/rtk-more-toggle.entry.js +5 -6
  555. package/dist/esm/rtk-mute-all-button.entry.js +11 -7
  556. package/dist/esm/rtk-name-tag.entry.js +9 -8
  557. package/dist/esm/rtk-network-indicator.entry.js +11 -7
  558. package/dist/esm/rtk-notification.entry.js +13 -10
  559. package/dist/esm/rtk-notifications.entry.js +21 -13
  560. package/dist/esm/rtk-participant-count.entry.js +9 -7
  561. package/dist/esm/rtk-participant-setup.entry.js +14 -8
  562. package/dist/esm/rtk-participant_2.entry.js +24 -21
  563. package/dist/esm/rtk-participants-audio.entry.js +10 -8
  564. package/dist/esm/rtk-participants-stage-list_4.entry.js +33 -22
  565. package/dist/esm/rtk-participants-toggle.entry.js +16 -10
  566. package/dist/esm/rtk-participants.entry.js +15 -9
  567. package/dist/esm/rtk-pip-toggle.entry.js +11 -7
  568. package/dist/esm/rtk-plugin-main_2.entry.js +11 -11
  569. package/dist/esm/rtk-plugins-toggle.entry.js +16 -10
  570. package/dist/esm/rtk-poll_2.entry.js +8 -10
  571. package/dist/esm/rtk-polls-toggle.entry.js +16 -10
  572. package/dist/esm/rtk-recording-indicator.entry.js +8 -7
  573. package/dist/esm/rtk-recording-toggle.entry.js +8 -7
  574. package/dist/esm/rtk-screen-share-toggle.entry.js +8 -7
  575. package/dist/esm/rtk-screenshare-view.entry.js +9 -8
  576. package/dist/esm/rtk-settings-audio_2.entry.js +10 -10
  577. package/dist/esm/rtk-settings-toggle.entry.js +5 -6
  578. package/dist/esm/rtk-settings.entry.js +8 -7
  579. package/dist/esm/rtk-setup-screen.entry.js +11 -10
  580. package/dist/esm/rtk-sidebar-ui.entry.js +11 -7
  581. package/dist/esm/rtk-sidebar.entry.js +17 -11
  582. package/dist/esm/rtk-simple-grid.entry.js +11 -10
  583. package/dist/esm/rtk-spotlight-grid.entry.js +7 -8
  584. package/dist/esm/rtk-spotlight-indicator.entry.js +8 -7
  585. package/dist/esm/rtk-stage-toggle.entry.js +11 -7
  586. package/dist/esm/rtk-stage.entry.js +5 -6
  587. package/dist/esm/rtk-transcript.entry.js +8 -7
  588. package/dist/esm/rtk-transcripts.entry.js +14 -8
  589. package/dist/esm/rtk-ui-provider.entry.js +28 -16
  590. package/dist/esm/rtk-waiting-screen.entry.js +8 -6
  591. package/dist/{components/p-a3fc952e.js → esm/sidebar-B3trLKC3.js} +1 -1
  592. package/dist/{components/p-d5a12339.js → esm/ui-store-BtrgoOOT.js} +258 -762
  593. package/dist/realtimekit-ui/index.esm.js +1 -1
  594. package/dist/realtimekit-ui/p-04237239.entry.js +1 -0
  595. package/dist/realtimekit-ui/p-070294a1.entry.js +1 -0
  596. package/dist/realtimekit-ui/p-088325e7.entry.js +1 -0
  597. package/dist/realtimekit-ui/p-0d5719ea.entry.js +1 -0
  598. package/dist/realtimekit-ui/p-0fe1ced3.entry.js +1 -0
  599. package/dist/realtimekit-ui/p-105e4115.entry.js +1 -0
  600. package/dist/realtimekit-ui/{p-30fa04e9.entry.js → p-117f34c2.entry.js} +1 -1
  601. package/dist/realtimekit-ui/p-12fdd525.entry.js +1 -0
  602. package/dist/realtimekit-ui/{p-069cc080.entry.js → p-149c0b9c.entry.js} +1 -1
  603. package/dist/realtimekit-ui/p-15d96f62.entry.js +1 -0
  604. package/dist/realtimekit-ui/p-16fe4fca.entry.js +1 -0
  605. package/dist/realtimekit-ui/p-17690ef8.entry.js +1 -0
  606. package/dist/realtimekit-ui/p-1ae8c9ea.entry.js +1 -0
  607. package/dist/realtimekit-ui/p-1f114cc0.entry.js +1 -0
  608. package/dist/realtimekit-ui/{p-d93b1e9c.entry.js → p-213b9942.entry.js} +1 -1
  609. package/dist/realtimekit-ui/p-243e3c22.entry.js +1 -0
  610. package/dist/realtimekit-ui/p-25374ae7.entry.js +1 -0
  611. package/dist/realtimekit-ui/{p-71a44776.entry.js → p-26ba0489.entry.js} +1 -1
  612. package/dist/realtimekit-ui/p-27dcaef7.entry.js +1 -0
  613. package/dist/realtimekit-ui/p-2906e52d.entry.js +1 -0
  614. package/dist/realtimekit-ui/{p-58b2f1a1.entry.js → p-2baa2443.entry.js} +1 -1
  615. package/dist/realtimekit-ui/p-2bd8f726.entry.js +1 -0
  616. package/dist/realtimekit-ui/p-2c5a9a4d.entry.js +1 -0
  617. package/dist/realtimekit-ui/p-2f438543.entry.js +1 -0
  618. package/dist/realtimekit-ui/{p-b5f0c31d.entry.js → p-34ebceb7.entry.js} +1 -1
  619. package/dist/realtimekit-ui/p-3df3b56b.entry.js +1 -0
  620. package/dist/realtimekit-ui/{p-03db9946.entry.js → p-3f297e22.entry.js} +1 -1
  621. package/dist/realtimekit-ui/p-405addc8.entry.js +1 -0
  622. package/dist/realtimekit-ui/p-450803e1.entry.js +1 -0
  623. package/dist/realtimekit-ui/p-49f22238.entry.js +1 -0
  624. package/dist/realtimekit-ui/{p-4b9450d3.entry.js → p-49feda1f.entry.js} +1 -1
  625. package/dist/realtimekit-ui/p-4c1b7ee2.entry.js +1 -0
  626. package/dist/realtimekit-ui/{p-234a709e.entry.js → p-4f264d60.entry.js} +1 -1
  627. package/dist/realtimekit-ui/{p-64b59d46.entry.js → p-560dcff9.entry.js} +1 -1
  628. package/dist/realtimekit-ui/p-56261662.entry.js +1 -0
  629. package/dist/realtimekit-ui/p-5a1918a1.entry.js +1 -0
  630. package/dist/realtimekit-ui/p-5bd05c88.entry.js +1 -0
  631. package/dist/realtimekit-ui/p-5c5ca185.entry.js +1 -0
  632. package/dist/realtimekit-ui/p-6092b383.entry.js +1 -0
  633. package/dist/realtimekit-ui/p-650339c3.entry.js +1 -0
  634. package/dist/realtimekit-ui/p-65c856c3.entry.js +1 -0
  635. package/dist/realtimekit-ui/p-69ddb3a9.entry.js +1 -0
  636. package/dist/realtimekit-ui/p-6bc7af7a.entry.js +1 -0
  637. package/dist/realtimekit-ui/p-73bd1b57.entry.js +1 -0
  638. package/dist/realtimekit-ui/p-768c3c20.entry.js +1 -0
  639. package/dist/realtimekit-ui/p-779bd93e.entry.js +1 -0
  640. package/dist/realtimekit-ui/{p-72461b1f.entry.js → p-7d4e36b0.entry.js} +1 -1
  641. package/dist/realtimekit-ui/{p-1b26c15d.entry.js → p-7ff08b19.entry.js} +1 -1
  642. package/dist/realtimekit-ui/p-836455f1.entry.js +1 -0
  643. package/dist/realtimekit-ui/p-8dcf542b.entry.js +1 -0
  644. package/dist/realtimekit-ui/{p-91795fd7.entry.js → p-9810aada.entry.js} +1 -1
  645. package/dist/realtimekit-ui/p-9b089f06.entry.js +1 -0
  646. package/dist/realtimekit-ui/p-9b93c273.entry.js +1 -0
  647. package/dist/realtimekit-ui/p-9c5cf5a3.entry.js +1 -0
  648. package/dist/realtimekit-ui/p-9cb3685c.entry.js +1 -0
  649. package/dist/realtimekit-ui/p-B1SWgSTZ.js +1 -0
  650. package/dist/realtimekit-ui/{p-7e3c2d64.js → p-BCaKYPpD.js} +1 -1
  651. package/dist/realtimekit-ui/p-BCuMxcZN.js +1 -0
  652. package/dist/realtimekit-ui/p-BFTU3MAI.js +1 -0
  653. package/dist/realtimekit-ui/p-BIplIdLH.js +1 -0
  654. package/dist/realtimekit-ui/p-BJvHNbaa.js +1 -0
  655. package/dist/realtimekit-ui/p-BSWYrdZA.js +1 -0
  656. package/dist/realtimekit-ui/p-BWNToYSb.js +1 -0
  657. package/dist/realtimekit-ui/p-Bbls2zyp.js +1 -0
  658. package/dist/realtimekit-ui/p-C0vp-Q7v.js +1 -0
  659. package/dist/realtimekit-ui/p-C5Ah4uY5.js +1 -0
  660. package/dist/realtimekit-ui/p-CAqYddlg.js +1 -0
  661. package/dist/realtimekit-ui/{p-eccb6d78.js → p-CTFO-5XH.js} +1 -1
  662. package/dist/realtimekit-ui/p-CmmyVCoN.js +1 -0
  663. package/dist/realtimekit-ui/p-CqWk07gT.js +1 -0
  664. package/dist/realtimekit-ui/p-D9HGXWKc.js +1 -0
  665. package/dist/realtimekit-ui/p-Daj_55_i.js +1 -0
  666. package/dist/realtimekit-ui/p-Dg4b2aZr.js +1 -0
  667. package/dist/realtimekit-ui/p-DpAk_WQ6.js +1 -0
  668. package/dist/realtimekit-ui/p-DxDYE5-a.js +1 -0
  669. package/dist/realtimekit-ui/p-FdeAvICb.js +1 -0
  670. package/dist/realtimekit-ui/p-GSFejkz7.js +1 -0
  671. package/dist/realtimekit-ui/{p-3306b122.entry.js → p-a060fa07.entry.js} +1 -1
  672. package/dist/realtimekit-ui/{p-e0426f17.entry.js → p-a8b77530.entry.js} +1 -1
  673. package/dist/realtimekit-ui/p-ae94a77b.entry.js +1 -0
  674. package/dist/realtimekit-ui/p-b77aab62.entry.js +1 -0
  675. package/dist/realtimekit-ui/p-b81bfd1b.entry.js +1 -0
  676. package/dist/realtimekit-ui/p-bb7b542e.entry.js +1 -0
  677. package/dist/realtimekit-ui/p-c0fb33e4.entry.js +1 -0
  678. package/dist/realtimekit-ui/{p-88a01a0c.entry.js → p-c25c6602.entry.js} +1 -1
  679. package/dist/realtimekit-ui/p-d0baf267.entry.js +1 -0
  680. package/dist/realtimekit-ui/p-d39bd2e9.entry.js +1 -0
  681. package/dist/realtimekit-ui/p-d5ccf7d6.entry.js +1 -0
  682. package/dist/realtimekit-ui/{p-b89873a4.entry.js → p-d75ea8a3.entry.js} +1 -1
  683. package/dist/realtimekit-ui/p-db957a5c.entry.js +1 -0
  684. package/dist/realtimekit-ui/{p-d4a2594a.entry.js → p-ddd3808d.entry.js} +1 -1
  685. package/dist/realtimekit-ui/p-e0837ae7.entry.js +1 -0
  686. package/dist/realtimekit-ui/p-e12de42e.entry.js +1 -0
  687. package/dist/realtimekit-ui/p-e2f9a4fc.entry.js +1 -0
  688. package/dist/realtimekit-ui/{p-20390946.entry.js → p-e5293ed6.entry.js} +1 -1
  689. package/dist/realtimekit-ui/p-e87aa0f9.entry.js +1 -0
  690. package/dist/realtimekit-ui/p-e8823daa.entry.js +1 -0
  691. package/dist/realtimekit-ui/p-f101d6f9.entry.js +1 -0
  692. package/dist/realtimekit-ui/p-f4c228c8.entry.js +1 -0
  693. package/dist/realtimekit-ui/p-f5688e34.entry.js +1 -0
  694. package/dist/realtimekit-ui/p-fb973221.entry.js +1 -0
  695. package/dist/realtimekit-ui/p-fcde019e.entry.js +1 -0
  696. package/dist/realtimekit-ui/p-fd29249a.entry.js +1 -0
  697. package/dist/realtimekit-ui/p-gJCRRBX0.js +2 -0
  698. package/dist/realtimekit-ui/p-jvwnrxra.js +1 -0
  699. package/dist/realtimekit-ui/p-t72veIFj.js +1 -0
  700. package/dist/realtimekit-ui/p-uIA60Puf.js +1 -0
  701. package/dist/realtimekit-ui/p-vBfDtD_u.js +1 -0
  702. package/dist/realtimekit-ui/p-wWDkfcFk.js +1 -0
  703. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  704. package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -1
  705. package/dist/types/components.d.ts +1752 -255
  706. package/dist/types/stencil-public-runtime.d.ts +193 -12
  707. package/dist/types/utils/livestream.d.ts +60 -0
  708. package/dist/types/utils/sync-with-store/ui-store.d.ts +1 -1
  709. package/package.json +1 -1
  710. package/dist/cjs/ChatHead-777e6a2d.js +0 -13
  711. package/dist/cjs/debounce-6080cc73.js +0 -544
  712. package/dist/cjs/hark-c97d0a59.js +0 -301
  713. package/dist/components/p-00568bea.js +0 -159
  714. package/dist/components/p-026049ee.js +0 -81
  715. package/dist/components/p-03e354cd.js +0 -82
  716. package/dist/components/p-04ac37d4.js +0 -69
  717. package/dist/components/p-0529c72c.js +0 -218
  718. package/dist/components/p-084f7d6c.js +0 -95
  719. package/dist/components/p-08e39399.js +0 -199
  720. package/dist/components/p-0db812c2.js +0 -189
  721. package/dist/components/p-0e02697c.js +0 -85
  722. package/dist/components/p-1a7dd46a.js +0 -390
  723. package/dist/components/p-1cb276df.js +0 -104
  724. package/dist/components/p-240d48d1.js +0 -96
  725. package/dist/components/p-278a613b.js +0 -115
  726. package/dist/components/p-29e60132.js +0 -437
  727. package/dist/components/p-2f2b07a1.js +0 -168
  728. package/dist/components/p-303a7f1f.js +0 -122
  729. package/dist/components/p-32b95100.js +0 -128
  730. package/dist/components/p-32f14b1a.js +0 -260
  731. package/dist/components/p-36ad7fe2.js +0 -98
  732. package/dist/components/p-38d22d57.js +0 -11
  733. package/dist/components/p-3ae130f7.js +0 -178
  734. package/dist/components/p-3e0452c4.js +0 -48
  735. package/dist/components/p-3eedb9db.js +0 -68
  736. package/dist/components/p-3f882e7c.js +0 -299
  737. package/dist/components/p-42c2e598.js +0 -103
  738. package/dist/components/p-4351785c.js +0 -103
  739. package/dist/components/p-467abb0c.js +0 -159
  740. package/dist/components/p-48b6fb95.js +0 -327
  741. package/dist/components/p-4e02ee0f.js +0 -131
  742. package/dist/components/p-51b6f520.js +0 -43
  743. package/dist/components/p-549ab58f.js +0 -108
  744. package/dist/components/p-5654365f.js +0 -94
  745. package/dist/components/p-592cd396.js +0 -105
  746. package/dist/components/p-5995471c.js +0 -125
  747. package/dist/components/p-5c55e43b.js +0 -115
  748. package/dist/components/p-5d3174d1.js +0 -127
  749. package/dist/components/p-632cbbe7.js +0 -164
  750. package/dist/components/p-695e5dc5.js +0 -223
  751. package/dist/components/p-6a0a1a25.js +0 -101
  752. package/dist/components/p-6bd3b29c.js +0 -97
  753. package/dist/components/p-6c6cefb0.js +0 -224
  754. package/dist/components/p-70c0c7ce.js +0 -179
  755. package/dist/components/p-78db5933.js +0 -92
  756. package/dist/components/p-7d8d9693.js +0 -119
  757. package/dist/components/p-8133c228.js +0 -79
  758. package/dist/components/p-82df4307.js +0 -114
  759. package/dist/components/p-84deab1d.js +0 -126
  760. package/dist/components/p-85587a5c.js +0 -50
  761. package/dist/components/p-92ac782c.js +0 -37205
  762. package/dist/components/p-95721bd2.js +0 -159
  763. package/dist/components/p-96be6716.js +0 -120
  764. package/dist/components/p-9c89d7b1.js +0 -131
  765. package/dist/components/p-9f5d24b0.js +0 -191
  766. package/dist/components/p-a0a863fa.js +0 -61
  767. package/dist/components/p-a3c85ced.js +0 -177
  768. package/dist/components/p-a6cf88b5.js +0 -146
  769. package/dist/components/p-a83ccdbd.js +0 -40
  770. package/dist/components/p-a9d577bb.js +0 -271
  771. package/dist/components/p-ab37c121.js +0 -181
  772. package/dist/components/p-ae373651.js +0 -4028
  773. package/dist/components/p-b1a93be0.js +0 -1945
  774. package/dist/components/p-b1a9a7c4.js +0 -214
  775. package/dist/components/p-b1aeb013.js +0 -113
  776. package/dist/components/p-b29d03cf.js +0 -77
  777. package/dist/components/p-b4068392.js +0 -60
  778. package/dist/components/p-b75297d7.js +0 -299
  779. package/dist/components/p-b98fd0eb.js +0 -102
  780. package/dist/components/p-bece0226.js +0 -141
  781. package/dist/components/p-bf64e0af.js +0 -76
  782. package/dist/components/p-c3c8f309.js +0 -127
  783. package/dist/components/p-c82e13b1.js +0 -92
  784. package/dist/components/p-c9f704c4.js +0 -349
  785. package/dist/components/p-cbdd7a99.js +0 -542
  786. package/dist/components/p-cedfbbd4.js +0 -105
  787. package/dist/components/p-cf1903b1.js +0 -60
  788. package/dist/components/p-d411c80b.js +0 -463
  789. package/dist/components/p-d48b4170.js +0 -159
  790. package/dist/components/p-d83124b1.js +0 -86
  791. package/dist/components/p-de0b23a0.js +0 -210
  792. package/dist/components/p-e0129657.js +0 -201
  793. package/dist/components/p-e8809896.js +0 -147
  794. package/dist/components/p-ea359bb7.js +0 -90
  795. package/dist/components/p-ea4aa3bf.js +0 -86
  796. package/dist/components/p-ed0fad6d.js +0 -166
  797. package/dist/components/p-efabd2ce.js +0 -58
  798. package/dist/components/p-f179a6ff.js +0 -80
  799. package/dist/components/p-f867ebba.js +0 -122
  800. package/dist/components/p-f9cbb223.js +0 -127
  801. package/dist/components/p-f9f08610.js +0 -157
  802. package/dist/esm/ChatHead-148558a8.js +0 -11
  803. package/dist/esm/ResizeObserver.es-02979d4e.js +0 -928
  804. package/dist/esm/TextMessage-0ab2db20.js +0 -67
  805. package/dist/esm/browser-24d8ab3e.js +0 -3
  806. package/dist/esm/config-f3f01b9a.js +0 -352
  807. package/dist/esm/date-b1f78dea.js +0 -32
  808. package/dist/esm/debounce-0169a54d.js +0 -542
  809. package/dist/esm/debounce-430cbf00.js +0 -329
  810. package/dist/esm/file-6114f1a9.js +0 -57
  811. package/dist/esm/full-screen-d36ffc68.js +0 -50
  812. package/dist/esm/grid-a3ca5a3e.js +0 -96
  813. package/dist/esm/hark-6327d91e.js +0 -299
  814. package/dist/esm/index-3f51790f.js +0 -224
  815. package/dist/esm/index-b81ca899.js +0 -92
  816. package/dist/esm/init-error-ff5ead9a.js +0 -26
  817. package/dist/esm/join-error-e87be64a.js +0 -29
  818. package/dist/esm/merge-201ecd5c.js +0 -820
  819. package/dist/esm/notification-1ebf7700.js +0 -37
  820. package/dist/esm/scroll-2d8e810c.js +0 -13
  821. package/dist/esm/sidebar-a13dc215.js +0 -49
  822. package/dist/esm/ui-store-1bc7abc6.js +0 -4033
  823. package/dist/realtimekit-ui/p-012cd22a.entry.js +0 -1
  824. package/dist/realtimekit-ui/p-026e8157.entry.js +0 -1
  825. package/dist/realtimekit-ui/p-083e53cc.entry.js +0 -1
  826. package/dist/realtimekit-ui/p-0bd95245.entry.js +0 -1
  827. package/dist/realtimekit-ui/p-1e19ef2c.entry.js +0 -1
  828. package/dist/realtimekit-ui/p-217dcd9f.entry.js +0 -1
  829. package/dist/realtimekit-ui/p-26ffb189.entry.js +0 -1
  830. package/dist/realtimekit-ui/p-3540d2b0.entry.js +0 -1
  831. package/dist/realtimekit-ui/p-3707f1e0.entry.js +0 -1
  832. package/dist/realtimekit-ui/p-39c48b22.entry.js +0 -1
  833. package/dist/realtimekit-ui/p-3f882e7c.js +0 -1
  834. package/dist/realtimekit-ui/p-41fa7b4f.js +0 -1
  835. package/dist/realtimekit-ui/p-44fb5d40.entry.js +0 -1
  836. package/dist/realtimekit-ui/p-4564c9ff.entry.js +0 -1
  837. package/dist/realtimekit-ui/p-4ec77793.js +0 -1
  838. package/dist/realtimekit-ui/p-548f72ee.entry.js +0 -1
  839. package/dist/realtimekit-ui/p-5564adad.entry.js +0 -1
  840. package/dist/realtimekit-ui/p-5623d82e.entry.js +0 -1
  841. package/dist/realtimekit-ui/p-5862bcba.entry.js +0 -1
  842. package/dist/realtimekit-ui/p-62c4d1ba.entry.js +0 -1
  843. package/dist/realtimekit-ui/p-667c84b1.js +0 -1
  844. package/dist/realtimekit-ui/p-6b177ee6.entry.js +0 -1
  845. package/dist/realtimekit-ui/p-6c9a2464.entry.js +0 -1
  846. package/dist/realtimekit-ui/p-7649168e.entry.js +0 -1
  847. package/dist/realtimekit-ui/p-76f87172.entry.js +0 -1
  848. package/dist/realtimekit-ui/p-79060698.entry.js +0 -1
  849. package/dist/realtimekit-ui/p-7bdd688b.entry.js +0 -1
  850. package/dist/realtimekit-ui/p-7e4a3510.entry.js +0 -1
  851. package/dist/realtimekit-ui/p-80be0156.entry.js +0 -1
  852. package/dist/realtimekit-ui/p-85818728.entry.js +0 -1
  853. package/dist/realtimekit-ui/p-873a645c.entry.js +0 -1
  854. package/dist/realtimekit-ui/p-8c971978.entry.js +0 -1
  855. package/dist/realtimekit-ui/p-8cc4f116.entry.js +0 -1
  856. package/dist/realtimekit-ui/p-8edfe6fa.entry.js +0 -1
  857. package/dist/realtimekit-ui/p-8fa0ea33.entry.js +0 -1
  858. package/dist/realtimekit-ui/p-91c8f9d1.entry.js +0 -1
  859. package/dist/realtimekit-ui/p-93f88675.entry.js +0 -1
  860. package/dist/realtimekit-ui/p-9727a165.js +0 -1
  861. package/dist/realtimekit-ui/p-a0471508.entry.js +0 -1
  862. package/dist/realtimekit-ui/p-a056fd35.entry.js +0 -1
  863. package/dist/realtimekit-ui/p-a2693bee.entry.js +0 -1
  864. package/dist/realtimekit-ui/p-a47c017b.entry.js +0 -1
  865. package/dist/realtimekit-ui/p-a599f720.js +0 -2
  866. package/dist/realtimekit-ui/p-a9ab826e.entry.js +0 -1
  867. package/dist/realtimekit-ui/p-ae0bb894.js +0 -1
  868. package/dist/realtimekit-ui/p-b1a93be0.js +0 -1
  869. package/dist/realtimekit-ui/p-b27886ff.entry.js +0 -1
  870. package/dist/realtimekit-ui/p-b3f1ad3b.entry.js +0 -1
  871. package/dist/realtimekit-ui/p-b86e3e01.entry.js +0 -1
  872. package/dist/realtimekit-ui/p-bde05d24.entry.js +0 -1
  873. package/dist/realtimekit-ui/p-c57e0778.entry.js +0 -1
  874. package/dist/realtimekit-ui/p-c6a8ef1e.entry.js +0 -1
  875. package/dist/realtimekit-ui/p-c8bc3bb1.entry.js +0 -1
  876. package/dist/realtimekit-ui/p-c8f7b427.entry.js +0 -1
  877. package/dist/realtimekit-ui/p-c9d62ba7.entry.js +0 -1
  878. package/dist/realtimekit-ui/p-cbdd7a99.js +0 -1
  879. package/dist/realtimekit-ui/p-d0959773.entry.js +0 -1
  880. package/dist/realtimekit-ui/p-d59e0ecc.entry.js +0 -1
  881. package/dist/realtimekit-ui/p-d790f2be.entry.js +0 -1
  882. package/dist/realtimekit-ui/p-d7fd359f.entry.js +0 -1
  883. package/dist/realtimekit-ui/p-daf01d45.entry.js +0 -1
  884. package/dist/realtimekit-ui/p-db2a6aed.entry.js +0 -1
  885. package/dist/realtimekit-ui/p-de170ad4.entry.js +0 -1
  886. package/dist/realtimekit-ui/p-de31f5b0.entry.js +0 -1
  887. package/dist/realtimekit-ui/p-deaae495.entry.js +0 -1
  888. package/dist/realtimekit-ui/p-e59cc7d0.entry.js +0 -1
  889. package/dist/realtimekit-ui/p-ea03b1a0.entry.js +0 -1
  890. package/dist/realtimekit-ui/p-ede50497.entry.js +0 -1
  891. package/dist/realtimekit-ui/p-f47d4fe8.js +0 -1
  892. package/dist/realtimekit-ui/p-f52fdfb4.entry.js +0 -1
  893. package/dist/realtimekit-ui/p-fd80c28e.entry.js +0 -1
  894. package/dist/realtimekit-ui/p-ff971eea.entry.js +0 -1
  895. package/loader/package.json +0 -11
  896. /package/dist/cjs/{ResizeObserver.es-ba961f16.js → ResizeObserver.es-26EdCpEA.js} +0 -0
  897. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  898. /package/dist/cjs/{browser-5538db4d.js → browser-qKzDfwbO.js} +0 -0
  899. /package/dist/cjs/{date-61ffcd0a.js → date-CObAPgSZ.js} +0 -0
  900. /package/dist/cjs/{full-screen-b02d13dd.js → full-screen-BRlJJI9n.js} +0 -0
  901. /package/dist/cjs/{grid-edc342a7.js → grid-D_7WOWNI.js} +0 -0
  902. /package/dist/cjs/{init-error-70ccf3b6.js → init-error-DIWXbjwA.js} +0 -0
  903. /package/dist/cjs/{join-error-c1eed98e.js → join-error-CZSJQxsP.js} +0 -0
  904. /package/dist/cjs/{scroll-c6404609.js → scroll-uQ4eWvC-.js} +0 -0
  905. /package/dist/cjs/{string-9bce3253.js → string-C1A6N-tA.js} +0 -0
  906. /package/dist/{realtimekit-ui/p-0752f2ba.js → components/p-BIplIdLH.js} +0 -0
  907. /package/dist/{realtimekit-ui/p-05186172.js → components/p-CAqYddlg.js} +0 -0
  908. /package/dist/{realtimekit-ui/p-b13ddb7d.js → components/p-CmmyVCoN.js} +0 -0
  909. /package/dist/{realtimekit-ui/p-3974d97a.js → components/p-GSFejkz7.js} +0 -0
  910. /package/dist/{realtimekit-ui/p-382270d8.js → components/p-jvwnrxra.js} +0 -0
  911. /package/dist/{realtimekit-ui/p-f7c2daba.js → components/p-vBfDtD_u.js} +0 -0
  912. /package/dist/{realtimekit-ui/p-cfa0b5c7.js → components/p-wWDkfcFk.js} +0 -0
  913. /package/dist/{components/p-f47d4fe8.js → esm/ResizeObserver.es-FdeAvICb.js} +0 -0
  914. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  915. /package/dist/{components/p-05186172.js → esm/browser-CAqYddlg.js} +0 -0
  916. /package/dist/{components/p-382270d8.js → esm/date-jvwnrxra.js} +0 -0
  917. /package/dist/{components/p-3974d97a.js → esm/full-screen-GSFejkz7.js} +0 -0
  918. /package/dist/{components/p-b13ddb7d.js → esm/grid-CmmyVCoN.js} +0 -0
  919. /package/dist/{components/p-cfa0b5c7.js → esm/init-error-wWDkfcFk.js} +0 -0
  920. /package/dist/{components/p-f7c2daba.js → esm/join-error-vBfDtD_u.js} +0 -0
  921. /package/dist/{components/p-0752f2ba.js → esm/scroll-BIplIdLH.js} +0 -0
  922. /package/dist/esm/{string-068ce30a.js → string-vBD2htwQ.js} +0 -0
  923. /package/dist/realtimekit-ui/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  924. /package/dist/realtimekit-ui/{p-6f211c3e.js → p-vBD2htwQ.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r as t,h as i,a}from"./p-gJCRRBX0.js";import{c as s,e,i as r}from"./p-uIA60Puf.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{R as n}from"./p-CTFO-5XH.js";import{S as c}from"./p-BCaKYPpD.js";import"./p-Daj_55_i.js";var p=function(t,i,a,s){var e,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,s);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(n=(r<3?e(n):r>3?e(i,a,n):e(i,a))||n);return r>3&&n&&Object.defineProperty(i,a,n),n};const o=class{constructor(a){t(this,a),this.config=s(),this.hideHeader=!1,this.iconPack=e,this.view="sidebar",this.t=r(),this.search="",this.participants=[],this.createParticipantNode=t=>{const a={meeting:this.meeting,view:this.view,t:this.t,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack};return i("div",null,i(n,{element:"rtk-participant",defaults:a,props:{role:"listitem",participant:t,key:t.id},childProps:Object.assign(Object.assign({},a),{participant:t,size:this.size}),deepProps:!0}))},this.updateStageList=()=>{this.getParticipants(this.search)}}connectedCallback(){this.meetingChanged(this.meeting),this.searchChanged(this.search)}disconnectedCallback(){if(!this.meeting)return;const{participants:t,stage:i}=this.meeting;this.participantJoinedListener&&this.meeting.participants.joined.removeListener("participantJoined",this.participantJoinedListener),this.participantLeftListener&&this.meeting.participants.joined.removeListener("participantLeft",this.participantLeftListener),t.joined.removeListener("stageStatusUpdate",this.updateStageList),null==i||i.removeListener("stageStatusUpdate",this.updateStageList)}meetingChanged(t){t&&(this.participantJoinedListener=t=>{if("ON_STAGE"!==t.stageStatus)return;const i=this.search.toLowerCase();t.name.toLowerCase().includes(i)&&t.id.toLowerCase().includes(i)&&(this.participants=[...this.participants.filter((i=>i.id!==t.id)),t])},this.participantLeftListener=t=>{this.participants=this.participants.filter((i=>i.id!==t.id))},t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),this.updateStageList(),null==t||t.participants.joined.on("stageStatusUpdate",this.updateStageList),null==t||t.stage.on("stageStatusUpdate",this.updateStageList))}searchChanged(t){this.getParticipants(t)}getParticipants(t=this.search){let i="ON_STAGE"===this.meeting.stage.status?[this.meeting.self]:[];i=[...i,...this.meeting.participants.joined.toArray().filter((t=>"ON_STAGE"===t.stageStatus))],this.participants=""===t?i:i.filter((i=>{var a;return(null!==(a=i.name)&&void 0!==a?a:i.id).toLowerCase().includes(t.toLowerCase())}))}render(){return i(a,{key:"1beca8f05d4f78a269317b333a00946ac642af00"},i("div",{key:"7d54d4187eb8478ddfdc632b42af4875afd1a158",class:"participants-container"},!this.hideHeader&&i("div",{key:"ecaa9721738cc020fe4aa1f966d2450f0f9d8e01",class:"heading-count",part:"heading-count"},this.t("participants")," (",this.participants.length,")"),i("rtk-virtualized-participant-list",{key:"8d12273242c1f9081e199fd189060addf28c45a6",items:this.participants,renderItem:this.createParticipantNode,part:"participants",class:"participants",emptyListElement:i("div",{class:"empty-stage-list"},this.t(this.search.length>0?"search.could_not_find":"search.empty"))})))}static get watchers(){return{meeting:[{meetingChanged:0}],search:[{searchChanged:0}]}}};p([c()],o.prototype,"meeting",void 0),p([c()],o.prototype,"states",void 0),p([c()],o.prototype,"config",void 0),p([c()],o.prototype,"iconPack",void 0),p([c()],o.prototype,"t",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;width:100%;flex-direction:column;font-size:14px}.participants-container{margin-bottom:var(--rtk-space-4, 16px);height:100%;width:100%}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.empty-stage-list{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}rtk-participant{width:100%}";var l=function(t,i,a,s){var e,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,s);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(n=(r<3?e(n):r>3?e(i,a,n):e(i,a))||n);return r>3&&n&&Object.defineProperty(i,a,n),n};const h=class{constructor(i){t(this,i),this.config=s(),this.iconPack=e,this.view="sidebar",this.t=r(),this.stageRequestedParticipants=[],this.updateStageRequestedParticipants=()=>{this.stageRequestedParticipants=this.meeting.participants.joined.toArray().filter((t=>"REQUESTED_TO_JOIN_STAGE"===t.stageStatus))},this.acceptStageRequest=async t=>{const{userId:i}=t;await this.meeting.stage.grantAccess([i])},this.rejectStageRequest=async t=>{const{userId:i}=t;await this.meeting.stage.denyAccess([i])},this.acceptAllStageRequest=async()=>{await this.meeting.stage.grantAccess(this.stageRequestedParticipants.map((t=>t.userId)))},this.denyAllStageRequest=async()=>{var t;await(null===(t=this.meeting.stage)||void 0===t?void 0:t.denyAccess(this.stageRequestedParticipants.map((t=>t.userId))))},this.shouldShowStageRequests=()=>this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests&&this.stageRequestedParticipants.length>0,this.updateRequestList=async t=>{var i,a,s,e,r,n,c;this.meeting.self.permissions.acceptStageRequests&&this.meeting.self.permissions.stageEnabled?"LIVESTREAM"===this.meeting.meta.viewType||"HIVE"===(null===(s=null===(a=null===(i=this.meeting)||void 0===i?void 0:i.self)||void 0===a?void 0:a.permissions)||void 0===s?void 0:s.mediaRoomType)?(t||(t=null!==(n=null===(r=await(null===(e=this.meeting.stage)||void 0===e?void 0:e.getAccessRequests()))||void 0===r?void 0:r.stageRequests)&&void 0!==n?n:[]),this.stageRequestedParticipants=t.map((t=>Object.assign(Object.assign({},t),{name:t.displayName})))):this.stageRequestedParticipants=null===(c=[this.meeting.self,...this.meeting.participants.joined.toArray()])||void 0===c?void 0:c.filter((t=>"REQUESTED_TO_JOIN_STAGE"===t.stageStatus)):this.stageRequestedParticipants=[]}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t;const{stage:i}=this.meeting;null==i||i.removeListener("stageAccessRequestUpdate",this.updateRequestList),null===(t=this.meeting.participants.joined)||void 0===t||t.removeListener("stageStatusUpdate",this.updateStageRequestedParticipants)}meetingChanged(t){var i;t&&(this.updateRequestList(),t.participants.joined.on("stageStatusUpdate",this.updateStageRequestedParticipants),null===(i=t.stage)||void 0===i||i.on("stageAccessRequestUpdate",this.updateRequestList))}render(){return this.meeting?"sidebar"===this.view&&this.shouldShowStageRequests()?i("div",{class:"stage-requested-participants"},i("div",{class:"heading-count",part:"staged-heading-count"},this.t("stage_request.header_title")," (",this.stageRequestedParticipants.length,")"),i("ul",{class:"participants",part:"staged-participants"},this.stageRequestedParticipants.map((t=>i("li",{class:"waiting-participant",key:t.id},i("div",{class:"participant-details"},i("rtk-avatar",{participant:t,size:"sm",iconPack:this.iconPack,t:this.t}),i("p",{class:"name",title:t.name},t.name)),i("div",{class:"waitlist-controls"},i("rtk-tooltip",{label:this.t("stage_request.deny_request"),variant:"secondary"},i("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.rejectStageRequest(t)},i("rtk-icon",{class:"deny",icon:this.iconPack.dismiss}))),i("rtk-tooltip",{label:this.t("stage_request.accept_request"),variant:"secondary"},i("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.acceptStageRequest(t)},i("rtk-icon",{class:"accept",icon:this.iconPack.checkmark})))))))),i("div",{class:"bulk-actions"},i("rtk-button",{class:"accept-all-button",variant:"secondary",onClick:this.acceptAllStageRequest},this.t("stage_request.accept_all")),i("rtk-button",{class:"deny-all-button",variant:"danger",onClick:this.denyAllStageRequest},this.t("stage_request.deny_all")))):void 0:null}static get watchers(){return{meeting:[{meetingChanged:0}]}}};l([c()],h.prototype,"meeting",void 0),l([c()],h.prototype,"config",void 0),l([c()],h.prototype,"iconPack",void 0),l([c()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{margin-top:var(--rtk-space-2, 8px);display:flex;width:100%;flex-direction:column;font-size:14px}.stage-requested-participants{margin-bottom:var(--rtk-space-8, 32px)}.stage-requested-participants .bulk-actions{display:flex;gap:var(--rtk-space-2, 8px)}.stage-requested-participants .bulk-actions .accept-all-button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.stage-requested-participants .bulk-actions rtk-button{flex:1 1 0%}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.waiting-participant{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.waiting-participant .participant-details{margin-right:auto;display:flex;align-items:center}.waiting-participant .participant-details rtk-avatar{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;font-size:14px}.waiting-participant .participant-details .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88))}@media (min-width: 1080px){.waiting-participant .participant-details .name{max-width:var(--rtk-space-40, 160px)}}.waiting-participant .waitlist-controls{display:flex}.waiting-participant .waitlist-controls rtk-button{margin-left:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}.waiting-participant .waitlist-controls rtk-icon.accept{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.waiting-participant .waitlist-controls rtk-icon.deny{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";var d=function(t,i,a,s){var e,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,s);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(n=(r<3?e(n):r>3?e(i,a,n):e(i,a))||n);return r>3&&n&&Object.defineProperty(i,a,n),n};const g=class{constructor(a){t(this,a),this.updateStageViewers=()=>{this.getViewers(this.search)},this.config=s(),this.hideHeader=!1,this.iconPack=e,this.view="sidebar",this.search="",this.t=r(),this.stageViewers=[],this.createParticipantNode=t=>i("rtk-participant",{role:"listitem",key:t.id,meeting:this.meeting,participant:t,view:this.view,iconPack:this.iconPack,config:this.config,t:this.t}),this.shouldShowViewers=()=>{var t,i,a;return null===(a=null===(i=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===i?void 0:i.permissions)||void 0===a?void 0:a.stageEnabled}}connectedCallback(){this.meetingChanged(this.meeting),this.searchChanged(this.search)}meetingChanged(t){t&&(this.participantJoinedListener=t=>{if("ON_STAGE"===t.stageStatus)return;const i=this.search.toLowerCase();i.length>0&&!t.name.toLowerCase().includes(i)||(this.stageViewers=[...this.stageViewers.filter((i=>i.id!==t.id)),t])},this.participantLeftListener=t=>{this.stageViewers=this.stageViewers.filter((i=>i.id!==t.id))},t.participants.joined.addListener("participantJoined",this.participantJoinedListener),t.participants.joined.addListener("participantLeft",this.participantLeftListener),t.participants.joined.on("stageStatusUpdate",this.updateStageViewers),t.stage.on("stageStatusUpdate",this.updateStageViewers))}searchChanged(t){this.getViewers(t)}disconnectedCallback(){const{participants:t,stage:i}=this.meeting;this.participantJoinedListener&&this.meeting.participants.joined.removeListener("participantJoined",this.participantJoinedListener),this.participantLeftListener&&this.meeting.participants.joined.removeListener("participantLeft",this.participantLeftListener),t.joined.removeListener("stageStatusUpdate",this.updateStageViewers),i.removeListener("stageStatusUpdate",this.updateStageViewers)}getViewers(t){let i="ON_STAGE"===this.meeting.stage.status?[]:[this.meeting.self];i=[...i,...this.meeting.participants.joined.toArray()].filter((t=>"ON_STAGE"!==t.stageStatus)),this.stageViewers=""===t?i:i.filter((i=>{var a;return(null!==(a=i.name)&&void 0!==a?a:i.id).toLowerCase().includes(t.toLowerCase())}))}render(){return this.meeting?"sidebar"===this.view&&this.shouldShowViewers()?i("div",{class:"list"},!this.hideHeader&&i("div",{class:"heading-count",part:"heading-count"},this.t("viewers")," (",this.stageViewers.length,")"),i("rtk-virtualized-participant-list",{items:this.stageViewers,renderItem:this.createParticipantNode,class:"participants",part:"participants",style:{height:"100%"},emptyListElement:i("div",{class:"empty-viewers-list"},this.t(this.search.length>0?"participants.errors.empty_results":"participants.empty_list"))})):void 0:null}static get watchers(){return{meeting:[{meetingChanged:0}],search:[{searchChanged:0}]}}};d([c()],g.prototype,"meeting",void 0),d([c()],g.prototype,"config",void 0),d([c()],g.prototype,"iconPack",void 0),d([c()],g.prototype,"t",void 0),g.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}.list{margin-bottom:var(--rtk-space-4, 16px);display:flex;height:100%;flex-direction:column}h3,.heading-count{margin:var(--rtk-space-0, 0px);align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.empty-viewers-list{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";var v=function(t,i,a,s){var e,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,i,a,s);else for(var c=t.length-1;c>=0;c--)(e=t[c])&&(n=(r<3?e(n):r>3?e(i,a,n):e(i,a))||n);return r>3&&n&&Object.defineProperty(i,a,n),n};const f=class{constructor(i){t(this,i),this.config=s(),this.iconPack=e,this.view="sidebar",this.t=r(),this.acceptWaitingRoomRequest=async t=>{await this.meeting.participants.acceptWaitingRoomRequest(t)},this.waitlistedParticipants=[],this.acceptAllWaitingRoomRequests=async()=>{await this.meeting.participants.acceptAllWaitingRoomRequest(this.waitlistedParticipants.map((t=>t.id)))},this.rejectWaitingRoomRequest=async t=>{await this.meeting.participants.rejectWaitingRoomRequest(t)},this.shouldShowWaitlist=()=>"LIVESTREAM"!==this.meeting.meta.viewType&&this.meeting.self.permissions.acceptWaitingRequests&&0!==this.waitlistedParticipants.length}disconnectedCallback(){const{participants:t}=this.meeting;this.waitlistedParticipantJoinedListener&&t.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&t.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),this.waitlistedParticipantsClearedListener&&t.waitlisted.removeListener("participantsCleared",this.waitlistedParticipantsClearedListener)}connectedCallback(){this.meetingChanged(this.meeting)}meetingChanged(t){t&&(this.waitlistedParticipants=t.participants.waitlisted.toArray(),this.waitlistedParticipantJoinedListener=t=>{this.waitlistedParticipants.some((i=>i.id===t.id))||(this.waitlistedParticipants=[...this.waitlistedParticipants,t])},this.waitlistedParticipantLeftListener=t=>{this.waitlistedParticipants=this.waitlistedParticipants.filter((i=>i.id!==t.id))},this.waitlistedParticipantsClearedListener=()=>{this.waitlistedParticipants=[]},t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener),t.participants.waitlisted.addListener("participantsCleared",this.waitlistedParticipantsClearedListener))}render(){if("sidebar"===this.view&&this.shouldShowWaitlist())return i("div",{class:"waiting-participants"},i("div",{class:"heading-count",part:"waitlisted-heading-count"},this.t("waitlist.header_title")," (",this.waitlistedParticipants.length,")"),i("ul",{class:"participants",part:"waitlisted-participants"},this.waitlistedParticipants.map((t=>i("li",{class:"waiting-participant",key:t.id},i("div",{class:"participant-details"},i("rtk-avatar",{participant:t,size:"sm",iconPack:this.iconPack,t:this.t}),i("p",{class:"name",title:t.name},t.name)),i("div",{class:"waitlist-controls"},i("rtk-tooltip",{label:this.t("waitlist.deny_request"),variant:"secondary"},i("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.rejectWaitingRoomRequest(t.id)},i("rtk-icon",{class:"deny",icon:this.iconPack.dismiss}))),i("rtk-tooltip",{label:this.t("waitlist.accept_request"),variant:"secondary"},i("rtk-button",{variant:"secondary",kind:"icon",onClick:()=>this.acceptWaitingRoomRequest(t.id)},i("rtk-icon",{class:"accept",icon:this.iconPack.checkmark})))))))),i("rtk-button",{class:"accept-all-button",variant:"secondary",kind:"wide",onClick:this.acceptAllWaitingRoomRequests},this.t("waitlist.accept_all")))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};v([c()],f.prototype,"meeting",void 0),v([c()],f.prototype,"config",void 0),v([c()],f.prototype,"iconPack",void 0),v([c()],f.prototype,"t",void 0),f.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{margin-top:var(--rtk-space-4, 16px);margin-bottom:calc(var(--rtk-space-2, 8px) * -1);display:flex;width:100%;flex-direction:column;font-size:14px}.waiting-participants{margin-bottom:var(--rtk-space-8, 32px)}.waiting-participants .accept-all-button{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}h3,.heading-count{margin:var(--rtk-space-0, 0px);display:flex;align-items:center;justify-content:center;padding:var(--rtk-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--rtk-space-2, 8px);padding:var(--rtk-space-0, 0px)}.waiting-participant{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);display:flex;align-items:center}.waiting-participant .participant-details{margin-right:auto;display:flex;align-items:center}.waiting-participant .participant-details rtk-avatar{margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-8, 32px);width:var(--rtk-space-8, 32px);flex-shrink:0;font-size:14px}.waiting-participant .participant-details .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 1080px){.waiting-participant .participant-details .name{max-width:var(--rtk-space-40, 160px)}}.waiting-participant .waitlist-controls{display:flex}.waiting-participant .waitlist-controls rtk-button{margin-left:var(--rtk-space-2, 8px);cursor:pointer;border-radius:var(--rtk-border-radius-sm, 4px)}.waiting-participant .waitlist-controls rtk-icon.accept{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}.waiting-participant .waitlist-controls rtk-icon.deny{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}";export{o as rtk_participants_stage_list,h as rtk_participants_stage_queue,g as rtk_participants_viewer_list,f as rtk_participants_waiting_list}
@@ -0,0 +1 @@
1
+ import{r as t,d as r,h as o,a}from"./p-gJCRRBX0.js";import{e as i,i as s}from"./p-uIA60Puf.js";import{S as e}from"./p-BCaKYPpD.js";var n=function(t,r,o,a){var i,s=arguments.length,e=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)e=Reflect.decorate(t,r,o,a);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(e=(s<3?i(e):s>3?i(r,o,e):i(r,o))||e);return s>3&&e&&Object.defineProperty(r,o,e),e};const c=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.keyPressListener=t=>{"Escape"===t.key&&this.close()},this.stageStatusListener=()=>{this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo},this.iconPack=i,this.t=s(),this.activeTab="connection",this.isMobileMainVisible=!1,this.networkStatus="good",this.canProduceVideo=!1}connectedCallback(){document.addEventListener("keydown",this.keyPressListener),this.meetingChanged(this.meeting)}disconnectedCallback(){var t;this.keyPressListener&&document.removeEventListener("keydown",this.keyPressListener),this.poorConnectionListener&&(null===(t=this.meeting)||void 0===t||t.meta.removeListener("poorConnection",this.poorConnectionListener)),this.meeting.stage.removeListener("stageStatusUpdate",this.stageStatusListener)}meetingChanged(t){null!=t&&(this.canProduceVideo="ALLOWED"===this.meeting.self.permissions.canProduceVideo,this.activeTab=this.canProduceVideo?"video":"audio",this.poorConnectionListener=({score:t})=>{t<7?this.networkStatus="poor":t<4&&(this.networkStatus="poorest"),setTimeout((()=>{this.networkStatus="good"}),5e3)},t.meta.addListener("poorConnection",this.poorConnectionListener),t.stage.addListener("stageStatusUpdate",this.stageStatusListener))}changeTab(t){this.activeTab=t,"sm"===this.size&&(this.isMobileMainVisible||(this.isMobileMainVisible=!0))}close(){this.stateUpdate.emit({activeSettings:!1})}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,iconPack:this.iconPack,t:this.t};return o(a,null,o("aside",{class:{hide:this.isMobileMainVisible},part:"menu"},o("header",null,o("h2",null,this.t("settings"))),o("button",{type:"button",class:{active:"audio"===this.activeTab},onClick:()=>this.changeTab("audio")},this.t("audio"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.mic_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),this.canProduceVideo&&o("button",{type:"button",class:{active:"video"===this.activeTab},onClick:()=>this.changeTab("video")},this.t("video"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.video_on}),"sm"===this.size&&o("rtk-icon",{icon:this.iconPack.chevron_right}))),o("button",{type:"none",title:`Your network condition is ${this.networkStatus}`},this.t("connection"),o("div",{class:"right"},o("rtk-icon",{icon:this.iconPack.wifi,class:this.networkStatus})))),o("main",{class:{active:this.isMobileMainVisible,scrollbar:!0},part:"main-content"},"sm"===this.size&&o("header",null,o("rtk-button",{kind:"icon",class:"back-btn",onClick:()=>this.isMobileMainVisible=!1},o("rtk-icon",{icon:this.iconPack.chevron_left})),o("h2",null,this.t("audio"===this.activeTab?"audio":"video"))),"audio"===this.activeTab&&o("rtk-settings-audio",Object.assign({},t)),"video"===this.activeTab&&o("rtk-settings-video",Object.assign({},t))))}static get watchers(){return{meeting:[{meetingChanged:0}]}}};n([e()],c.prototype,"meeting",void 0),n([e()],c.prototype,"states",void 0),n([e()],c.prototype,"iconPack",void 0),n([e()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{position:relative;display:flex;overflow:hidden;border-radius:var(--rtk-border-radius-md, 8px);width:100%;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255))}header{display:flex;align-items:center;justify-content:space-between;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}.title{font-size:20px;line-height:1}.back-btn,.dismiss-btn{border-radius:var(--rtk-border-radius-sm, 4px);background-color:transparent;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.back-btn:hover,.dismiss-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside{box-sizing:border-box;display:flex;min-width:var(--rtk-space-56, 224px);flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity));padding-left:var(--rtk-space-2, 8px)}aside button{margin-top:var(--rtk-space-4, 16px);box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:space-between;border-top-left-radius:var(--rtk-border-radius-sm, 4px);border-bottom-left-radius:var(--rtk-border-radius-sm, 4px);padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);padding-top:var(--rtk-space-3, 12px);padding-bottom:var(--rtk-space-3, 12px);background-color:transparent;color:rgb(var(--rtk-colors-text-900, 255 255 255 / 0.88));cursor:default;font-size:16px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-width:var(--rtk-border-width-none, 0);border-style:none;outline:2px solid transparent;outline-offset:2px}aside button .right{display:flex;align-items:center}aside button .right rtk-icon{height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}aside button .right rtk-icon:last-child{margin-left:var(--rtk-space-4, 16px)}aside button[type='button']{cursor:pointer;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}aside button[type='button']:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}aside button[type='button']{border-right:var(--rtk-border-width-md, 2px) solid transparent}aside button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-border-opacity));background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}aside button.active:hover{background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / 0.2)}rtk-icon.poor{--tw-text-opacity:1;color:rgba(var(--rtk-colors-warning, 255 205 7) / var(--tw-text-opacity))}rtk-icon.poorest{--tw-text-opacity:1;color:rgba(var(--rtk-colors-danger, 255 45 45) / var(--tw-text-opacity))}rtk-icon.good{--tw-text-opacity:1;color:rgba(var(--rtk-colors-success, 98 165 4) / var(--tw-text-opacity))}main{display:flex;flex:1 1 0%;align-items:center;justify-content:center;padding-left:var(--rtk-space-6, 24px);padding-right:var(--rtk-space-6, 24px);box-sizing:border-box;width:100%;max-width:calc(100% - var(--rtk-space-56, 224px))}.dismiss-btn{position:absolute;top:var(--rtk-space-3, 12px);right:var(--rtk-space-3, 12px);height:var(--rtk-space-6, 24px);width:var(--rtk-space-6, 24px)}:host([size='sm']) aside{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}:host([size='sm']) .dismiss-btn{top:var(--rtk-space-5, 20px);right:var(--rtk-space-4, 16px)}:host([size='sm']) aside{width:100%;padding-left:var(--rtk-space-0, 0px)}:host([size='sm']) aside button{border-radius:var(--rtk-border-radius-none, 0)}:host([size='sm']) aside button.active{border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent}:host([size='sm']) aside button.active:hover{--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity))}:host([size='sm']) aside.hide{display:none}:host([size='sm']) main{display:none;max-width:100%;overflow-y:auto;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px)}:host([size='sm']) main header{justify-content:center}:host([size='sm']) main header rtk-button{position:absolute;left:var(--rtk-space-4, 16px)}:host([size='sm']) main.active{display:block}";export{c as rtk_settings}
@@ -1 +1 @@
1
- import{r as i,h as t,a as s,g as e}from"./p-a599f720.js";import{c as d,e as h,i as a}from"./p-9727a165.js";import{d as r}from"./p-b13ddb7d.js";import{R as o}from"./p-eccb6d78.js";import{S as m}from"./p-7e3c2d64.js";var c=function(i,t,s,e){var d,h=arguments.length,a=h<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,t,s,e);else for(var r=i.length-1;r>=0;r--)(d=i[r])&&(a=(h<3?d(a):h>3?d(t,s,a):d(t,s))||a);return h>3&&a&&Object.defineProperty(t,s,a),a};const n=class{constructor(t){i(this,t),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=d(),this.iconPack=h,this.t=a(),this.gridSize=r,this.getAdaptiveSize=i=>"sm"===this.size||i>3||"md"===this.size?"sm":"md"}render(){const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((i=>this.pinnedParticipants.some((t=>t.id!=i.id))));return t(s,{key:"1cb846cc92b660a8244d16a74f48dfadcef903b6"},t("main",{key:"8564f8b0bf6e7bd668132e2833fe73c73855d090",part:"main"},t(o,{key:"61b96f305727dc74de15f4c3c645069d6300afd9",element:"rtk-simple-grid",defaults:i,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&t("aside",{key:"2e297a8d83c1f7241d8688b643c055331d69299b",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"2c1969c610018dfb0a23308316f072e3b8d87a6e",element:"rtk-simple-grid",defaults:i,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],n.prototype,"meeting",void 0),c([m()],n.prototype,"states",void 0),c([m()],n.prototype,"config",void 0),c([m()],n.prototype,"iconPack",void 0),c([m()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{n as rtk_spotlight_grid}
1
+ import{r as i,h as t,a as s,g as e}from"./p-gJCRRBX0.js";import{c as h,e as d,i as a}from"./p-uIA60Puf.js";import{d as r}from"./p-CmmyVCoN.js";import{R as o}from"./p-CTFO-5XH.js";import{S as m}from"./p-BCaKYPpD.js";var c=function(i,t,s,e){var h,d=arguments.length,a=d<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(i,t,s,e);else for(var r=i.length-1;r>=0;r--)(h=i[r])&&(a=(d<3?h(a):d>3?h(t,s,a):h(t,s))||a);return d>3&&a&&Object.defineProperty(t,s,a),a};const n=class{constructor(t){i(this,t),this.layout="row",this.participants=[],this.pinnedParticipants=[],this.aspectRatio="16:9",this.gap=8,this.config=h(),this.iconPack=d,this.t=a(),this.gridSize=r,this.getAdaptiveSize=i=>"sm"===this.size||i>3||"md"===this.size?"sm":"md"}render(){const i={meeting:this.meeting,config:this.config,states:this.states,size:this.size,iconPack:this.iconPack,t:this.t},e=this.participants.filter((i=>this.pinnedParticipants.some((t=>t.id!=i.id))));return t(s,{key:"1cb846cc92b660a8244d16a74f48dfadcef903b6"},t("main",{key:"8564f8b0bf6e7bd668132e2833fe73c73855d090",part:"main"},t(o,{key:"61b96f305727dc74de15f4c3c645069d6300afd9",element:"rtk-simple-grid",defaults:i,props:{part:"main-grid",participants:this.pinnedParticipants,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(this.pinnedParticipants.length)}})),e.length>0&&t("aside",{key:"2e297a8d83c1f7241d8688b643c055331d69299b",part:"aside",class:this.gridSize.spotlight?`grid-width-${this.gridSize.spotlight}`:"grid-width-md"},t(o,{key:"2c1969c610018dfb0a23308316f072e3b8d87a6e",element:"rtk-simple-grid",defaults:i,props:{part:"aside-grid",participants:e,aspectRatio:this.aspectRatio,gap:this.gap,size:this.getAdaptiveSize(e.length)}})))}get host(){return e(this)}};c([m()],n.prototype,"meeting",void 0),c([m()],n.prototype,"states",void 0),c([m()],n.prototype,"config",void 0),c([m()],n.prototype,"iconPack",void 0),c([m()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:flex;height:100%;width:100%}main{flex:1 1 0%}.grid-width-sm{width:25%}.grid-width-md{width:50%}.grid-width-lg{width:66.666667%}:host([size='sm']),:host([size='md']){flex-direction:column}:host([size='md']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='md']) .grid-width-sm{height:25%}:host([size='md']) .grid-width-md{height:50%}:host([size='md']) .grid-width-lg{height:66.666667%}:host([size='sm']) aside{max-height:var(--rtk-space-96, 384px);width:100%;max-width:100%}:host([size='sm']) .grid-width-sm,:host([size='sm']) .grid-width-md,:host([size='sm']) .grid-width-lg{height:50%}:host([size='xl']) .grid-width-sm,:host([size='xl']) .grid-width-md,:host([size='xl']) .grid-width-lg{width:400px}:host([layout='column']){flex-direction:column}:host([layout='column']) main{flex:4}:host([layout='column']) aside{flex:2;max-width:100%;width:100%}";export{n as rtk_spotlight_grid}
@@ -1 +1 @@
1
- import{r as t,d as e,h as i,a as s}from"./p-a599f720.js";import{e as a,i as o}from"./p-9727a165.js";import{S as r}from"./p-7e3c2d64.js";var n=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const c=class{constructor(i){t(this,i),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o()}toggleSettings(){const t={activeSettings:!0,activeMoreMenu:!1};this.states=Object.assign(Object.assign({},this.states),t),this.stateUpdate.emit(t)}render(){const t=this.t("settings");return i(s,{key:"921afc41ed4a6019ff882c896855ab455b3edfb7",title:t},i("rtk-controlbar-button",{key:"88d4194fee24f1b96769e06e3a935d516ad543b0",part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleSettings(),icon:this.iconPack.settings,label:t,variant:this.variant}))}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_settings_toggle}
1
+ import{r as t,d as e,h as i,a as s}from"./p-gJCRRBX0.js";import{e as a,i as o}from"./p-uIA60Puf.js";import{S as r}from"./p-BCaKYPpD.js";var n=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const c=class{constructor(i){t(this,i),this.stateUpdate=e(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=a,this.t=o()}toggleSettings(){const t={activeSettings:!0,activeMoreMenu:!1};this.states=Object.assign(Object.assign({},this.states),t),this.stateUpdate.emit(t)}render(){const t=this.t("settings");return i(s,{key:"921afc41ed4a6019ff882c896855ab455b3edfb7",title:t},i("rtk-controlbar-button",{key:"88d4194fee24f1b96769e06e3a935d516ad543b0",part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:()=>this.toggleSettings(),icon:this.iconPack.settings,label:t,variant:this.variant}))}};n([r()],c.prototype,"states",void 0),n([r()],c.prototype,"iconPack",void 0),n([r()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_settings_toggle}
@@ -0,0 +1 @@
1
+ import{r as t,d as e,h as a,a as r}from"./p-gJCRRBX0.js";import{S as o}from"./p-BCaKYPpD.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as i,i as s}from"./p-uIA60Puf.js";import"./p-Daj_55_i.js";const n=class{constructor(a){t(this,a),this.tabChange=e(this,"tabChange",7),this.sidebarClose=e(this,"sidebarClose",7),this.view="sidebar",this.tabs=[],this.hideHeader=!1,this.hideCloseAction=!1,this.iconPack=i,this.focusCloseButton=!0,this.t=s(),this.onClose=()=>{var t;this.sidebarClose.emit(),document.activeElement instanceof HTMLElement&&(null===(t=document.activeElement.tagName)||void 0===t?void 0:t.includes("RTK-"))&&document.activeElement.blur instanceof Function&&document.activeElement.blur()}}componentDidLoad(){this.keydownListener=t=>{"Escape"===t.key&&this.onClose()},this.hostEl.addEventListener("keydown",this.keydownListener),this.handleFocusCloseButton()}handleFocusCloseButton(){"chat"===this.currentTab||this.hideCloseAction||this.closeButton.focus()}disconnectedCallback(){this.hostEl.removeEventListener("keydown",this.keydownListener)}render(){const t="full-screen"===this.view,e=this.tabs.find((t=>t.id===this.currentTab));return a(r,{key:"239f279ceccceeaa57181d4a71f3e04ede4132ce",ref:t=>this.hostEl=t,class:this.view},!this.hideCloseAction&&a("rtk-button",{key:"921847fd946de305dce6f1fc7fe8a9ff175e38ee",ref:t=>this.closeButton=t,variant:"ghost",kind:"icon",class:"close",onClick:this.onClose,"aria-label":this.t("close")},a("rtk-icon",{key:"1de9f1edf8ecce2d0390b7b8a1253de02affd9d1",icon:this.iconPack.dismiss})),e&&!this.hideHeader&&a("header",{key:"4cd288feeb658e62d3ad1efd47aea237119918e1",class:"main-header"},a("h3",{key:"d6c4129537b4e090f3c429c66057be9a1072a864"},e.name),a("slot",{key:"dfb1ea30cfa476b515a3a4b628c036083f1fe0a5",name:"pinned-state"})),t&&a("header",{key:"7dafb426628960ba26718530417854a533de3664",class:"mobile-tabs"},this.tabs.map((t=>a("button",{onClick:()=>{this.tabChange.emit(t.id)},class:{active:this.currentTab===t.id}},t.name)))),a("slot",{key:"2696ccd9fcad418ad7738164cd5a9e6305320899",name:this.currentTab}))}static get watchers(){return{currentTab:[{handleFocusCloseButton:0}]}}};(function(t,e,a,r){var o,i=arguments.length,s=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,a):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,a,r);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(s=(i<3?o(s):i>3?o(e,a,s):o(e,a))||s);i>3&&s&&Object.defineProperty(e,a,s)})([o()],n.prototype,"t",void 0),n.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;height:100%;width:100%;font-family:var(--rtk-font-family, sans-serif);z-index:50;display:flex;flex-direction:column;container-type:size;container-name:sidebarui}@container sidebarui (height < 370px){.main-header{height:var(--rtk-space-8, 32px) !important}.close{top:var(--rtk-space-0\\.5, 2px) !important;left:var(--rtk-space-0, 0px) !important;color:rgba(var(--rtk-colors-danger, 255 45 45) / 0.6)}}:host([view='sidebar']){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}:host([view='full-screen']){position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);max-width:100%;border:none}::slotted(*){flex-grow:1}.close{position:absolute;top:var(--rtk-space-2, 8px);left:var(--rtk-space-2, 8px);z-index:10}.main-header{position:relative;display:flex;height:var(--rtk-space-12, 48px);place-items:center;justify-content:center}.main-header,.mobile-tabs{flex-shrink:0}.mobile-tabs{display:flex;place-items:center;justify-content:space-evenly;border-bottom:1px solid rgb(var(--rtk-colors-background-700, 44 44 44))}.mobile-tabs button{margin:var(--rtk-space-0, 0px);border-width:var(--rtk-border-width-none, 0);border-style:none;background-color:transparent;padding:var(--rtk-space-0, 0px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52));height:var(--rtk-space-10, 40px);cursor:pointer;padding-left:var(--rtk-space-4, 16px);padding-right:var(--rtk-space-4, 16px);font-weight:500;border-bottom:1px solid transparent}.mobile-tabs button.active{--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-border-opacity));--tw-text-opacity:1;color:rgba(var(--rtk-colors-brand-300, 73 124 253) / var(--tw-text-opacity))}header h3{font-size:14px;font-weight:500}@media only screen and (max-device-height: 480px) and (orientation: landscape){.main-header{display:none !important}}.tab-participant-count-badge{display:inline-block;padding:2px 5px;border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}.tab-participant-count-badge:not(.selected-tab){--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.tab-participant-count-badge.requests-pending{background-color:rgba(var(--rtk-colors-danger))}";export{n as rtk_sidebar_ui}
@@ -0,0 +1 @@
1
+ import{r as t,d as r,h as e,a as o}from"./p-gJCRRBX0.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{e as a,i as c}from"./p-uIA60Puf.js";import{S as i}from"./p-BCaKYPpD.js";import"./p-Daj_55_i.js";var s=function(t,r,e,o){var a,c=arguments.length,i=c<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,r,e,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(i=(c<3?a(i):c>3?a(r,e,i):a(r,e))||i);return c>3&&i&&Object.defineProperty(r,e,i),i};const p=class{constructor(e){t(this,e),this.onDropCallback=r(this,"dropCallback",7),this.iconPack=a,this.t=c(),this.dropzoneActivated=!1}connectedCallback(){if(!this.hostEl)throw new Error("hostEl prop is required");this.hostEl.addEventListener("dragover",(t=>{t.preventDefault(),this.dropzoneActivated=!0})),this.hostEl.addEventListener("dragleave",(()=>{this.dropzoneActivated=!1})),this.hostEl.addEventListener("drop",(t=>{t.preventDefault(),this.dropzoneActivated=!1,this.onDropCallback.emit(t)}))}render(){return e(o,{key:"31d5ca1c0b9612c257ca9fb2233c6c1d2a4d049f"},e("div",{key:"697c79cbd3c736b7efb890fddfca94c393b48d08",id:"dropzone",class:{active:this.dropzoneActivated},part:"dropzone"},e("rtk-icon",{key:"3fea26663f603965ef5dfc7d548cdcfc892bbc90",icon:this.iconPack.attach}),e("p",{key:"cab674da2e590d75ad20ca66661753cb52771925"},this.t("chat.send_attachment"))))}};s([i()],p.prototype,"iconPack",void 0),s([i()],p.prototype,"t",void 0),p.style="#dropzone{position:absolute;top:var(--rtk-space-0, 0px);right:var(--rtk-space-0, 0px);bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);z-index:10;display:none;flex-direction:column;align-items:center;justify-content:center;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-800, 30 30 30) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}#dropzone.active{display:flex;animation:0.2s slide-up ease-in}";export{p as rtk_file_dropzone}
@@ -1 +1 @@
1
- import{r as t,d as r,h as o,a as e,g as a}from"./p-a599f720.js";import{e as i,i as s}from"./p-9727a165.js";import{S as c}from"./p-7e3c2d64.js";var n=function(t,r,o,e){var a,i=arguments.length,s=i<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,o,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(r,o,s):a(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s};const d=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.iconPack=i,this.t=s(),this.handleKeyDown=({key:t})=>{"Escape"===t&&this.stateUpdate.emit({activeMoreMenu:!1})},this.handleOnClick=t=>{!t.composedPath().includes(this.host)&&this.states.activeMoreMenu&&this.stateUpdate.emit({activeMoreMenu:!1})},this.toggleMoreMenu=()=>{this.stateUpdate.emit({activeMoreMenu:!this.states.activeMoreMenu})}}connectedCallback(){window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("click",this.handleOnClick)}disconnectedCallback(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("click",this.handleOnClick)}render(){const t=this.t("more");return o(e,{key:"bb6bc743afd9c5c2c91f48097f98afc0f58fface",title:t},this.states.activeMoreMenu&&o("div",{key:"ca5d042b877cd1bee68b2563d40764bbc2072df4",class:"more-menu"},o("slot",{key:"9931da3f9e96d792be362c64338d582be2990647",name:"more-elements"})),o("rtk-controlbar-button",{key:"d0d7e0f19a37029c9cdfb8238c0a7af88876b2c0",size:this.size,iconPack:this.iconPack,onClick:t=>{t.stopPropagation(),this.toggleMoreMenu()},icon:this.iconPack.horizontal_dots,label:t,part:"controlbar-button"}),o("slot",{key:"603c0b5f092419c98ed56614a1468b5802c95702",name:"expanded"}))}get host(){return a(this)}};n([c()],d.prototype,"states",void 0),n([c()],d.prototype,"iconPack",void 0),n([c()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:visible}.more-menu{position:absolute;right:calc(var(--rtk-space-24, 96px) * -1);bottom:var(--rtk-space-16, 64px);z-index:50;margin-bottom:var(--rtk-space-3, 12px);box-sizing:border-box;max-height:60vh;width:var(--rtk-space-64, 256px);overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;display:flex;flex-direction:column;align-items:stretch}:host([size='sm']) .more-menu{bottom:var(--rtk-space-10, 40px)}.more-menu::-webkit-scrollbar{height:var(--rtk-space-0, 0px);width:var(--rtk-space-1\\.5, 6px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.more-menu::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";export{d as rtk_more_toggle}
1
+ import{r as t,d as r,h as o,a as e,g as a}from"./p-gJCRRBX0.js";import{e as i,i as s}from"./p-uIA60Puf.js";import{S as c}from"./p-BCaKYPpD.js";var n=function(t,r,o,e){var a,i=arguments.length,s=i<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,o):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,r,o,e);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(r,o,s):a(r,o))||s);return i>3&&s&&Object.defineProperty(r,o,s),s};const d=class{constructor(o){t(this,o),this.stateUpdate=r(this,"rtkStateUpdate",7),this.iconPack=i,this.t=s(),this.handleKeyDown=({key:t})=>{"Escape"===t&&this.stateUpdate.emit({activeMoreMenu:!1})},this.handleOnClick=t=>{!t.composedPath().includes(this.host)&&this.states.activeMoreMenu&&this.stateUpdate.emit({activeMoreMenu:!1})},this.toggleMoreMenu=()=>{this.stateUpdate.emit({activeMoreMenu:!this.states.activeMoreMenu})}}connectedCallback(){window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("click",this.handleOnClick)}disconnectedCallback(){window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("click",this.handleOnClick)}render(){const t=this.t("more");return o(e,{key:"bb6bc743afd9c5c2c91f48097f98afc0f58fface",title:t},this.states.activeMoreMenu&&o("div",{key:"ca5d042b877cd1bee68b2563d40764bbc2072df4",class:"more-menu"},o("slot",{key:"9931da3f9e96d792be362c64338d582be2990647",name:"more-elements"})),o("rtk-controlbar-button",{key:"d0d7e0f19a37029c9cdfb8238c0a7af88876b2c0",size:this.size,iconPack:this.iconPack,onClick:t=>{t.stopPropagation(),this.toggleMoreMenu()},icon:this.iconPack.horizontal_dots,label:t,part:"controlbar-button"}),o("slot",{key:"603c0b5f092419c98ed56614a1468b5802c95702",name:"expanded"}))}get host(){return a(this)}};n([c()],d.prototype,"states",void 0),n([c()],d.prototype,"iconPack",void 0),n([c()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;flex-direction:column;overflow:visible}.more-menu{position:absolute;right:calc(var(--rtk-space-24, 96px) * -1);bottom:var(--rtk-space-16, 64px);z-index:50;margin-bottom:var(--rtk-space-3, 12px);box-sizing:border-box;max-height:60vh;width:var(--rtk-space-64, 256px);overflow:auto;border-radius:var(--rtk-border-radius-md, 8px);border-width:var(--rtk-border-width-sm, 1px);border-style:solid;--tw-border-opacity:1;border-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-border-opacity));--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));outline:2px solid transparent;outline-offset:2px;display:flex;flex-direction:column;align-items:stretch}:host([size='sm']) .more-menu{bottom:var(--rtk-space-10, 40px)}.more-menu::-webkit-scrollbar{height:var(--rtk-space-0, 0px);width:var(--rtk-space-1\\.5, 6px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-900, 26 26 26) / var(--tw-bg-opacity))}.more-menu::-webkit-scrollbar-thumb{border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}";export{d as rtk_more_toggle}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,a as r}from"./p-gJCRRBX0.js";import{c as e,e as a,i as o}from"./p-uIA60Puf.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{S as s}from"./p-BCaKYPpD.js";import"./p-Daj_55_i.js";var n=function(t,i,r,e){var a,o=arguments.length,s=o<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,r,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(s=(o<3?a(s):o>3?a(i,r,s):a(i,r))||s);return o>3&&s&&Object.defineProperty(i,r,s),s};const d=class{constructor(i){t(this,i),this.isPinned=!1,this.nameTagPosition="bottom-left",this.isPreview=!1,this.config=e(),this.variant="solid",this.iconPack=a,this.t=o(),this.onVideoUpdate=t=>{this.videoState=t}}connectedCallback(){this.participantsChanged(this.participant)}componentDidLoad(){this.videoStateChanged(this.videoState)}disconnectedCallback(){null!=this.participant&&this.participant.removeListener("videoUpdate",this.onVideoUpdate)}async participantsChanged(t){null!=t&&(this.videoState={videoEnabled:t.videoEnabled,videoTrack:t.videoTrack},this.isPinned=t.isPinned,t.addListener("videoUpdate",this.onVideoUpdate))}videoStateChanged(t){if(null!=t&&null!=this.videoEl)if(t.videoEnabled){const i=new MediaStream;i.addTrack(t.videoTrack),this.videoEl.srcObject=i}else this.videoEl.srcObject=void 0}isMirrored(){var t;if(null!=this.participant&&("preview"in this.participant||this.isPreview)){const i=this.states,r=null===(t=null==i?void 0:i.prefs)||void 0===t?void 0:t.mirrorVideo;if("boolean"==typeof r)return r}return!1}render(){var t,e,a,o;return i(r,{key:"28dd3343464f9c18cae6161f8ad56005b748a637"},i("video",{key:"556343e40a061ddb9522569a77b574309bed9f31",ref:t=>this.videoEl=t,class:{visible:null===(t=this.videoState)||void 0===t?void 0:t.videoEnabled,mirror:this.isMirrored(),[null!==(o=null===(a=null===(e=this.config)||void 0===e?void 0:e.config)||void 0===a?void 0:a.videoFit)&&void 0!==o?o:"cover"]:!0},autoPlay:!0,playsInline:!0,muted:!0}),i("slot",{key:"c5da0b57d92652e54ef88cedcc269ccc720d1054"}))}static get watchers(){return{participant:[{participantsChanged:0}],videoState:[{videoStateChanged:0}]}}};n([s()],d.prototype,"states",void 0),n([s()],d.prototype,"config",void 0),n([s()],d.prototype,"iconPack",void 0),n([s()],d.prototype,"t",void 0),d.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;height:var(--rtk-space-56, 224px);overflow:hidden;border-radius:var(--rtk-border-radius-lg, 12px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-video-bg, 24 24 24) / var(--tw-bg-opacity));transition-property:var(--rtk-transition-property, all);transition-duration:150ms}@media (prefers-reduced-motion){:host{--rtk-transition-property:none}}:host([size='sm'][variant='solid']) ::slotted(rtk-name-tag){left:var(--rtk-space-2, 8px);bottom:var(--rtk-space-2, 8px);height:var(--rtk-space-4, 16px)}video{display:none;position:absolute;height:100%;width:100%;border-radius:var(--rtk-border-radius-lg, 12px)}video.contain{-o-object-fit:contain;object-fit:contain}video.cover{-o-object-fit:cover;object-fit:cover}video.visible{display:block}video::-webkit-media-controls{display:none !important}:host([variant='gradient']) ::slotted(rtk-audio-visualizer){position:absolute;top:var(--rtk-space-2, 8px);right:var(--rtk-space-2, 8px);border-radius:9999px;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));padding:var(--rtk-space-2, 8px)}:host([variant='gradient']) ::slotted(rtk-name-tag){bottom:var(--rtk-space-0, 0px);left:var(--rtk-space-0, 0px);display:flex;width:100%;align-items:center;justify-content:center;text-align:center;background-color:transparent;background-image:linear-gradient(to top, var(--tw-gradient-stops));--tw-gradient-from:rgb(var(--rtk-colors-background-1000, 8 8 8));--tw-gradient-to:rgba(var(--rtk-colors-background-1000, 8 8 8) / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to:transparent}video.mirror{transform:scaleX(-1)}@media (orientation: portrait){:host{height:var(--rtk-space-44, 176px)}}";export{d as rtk_participant_setup}
@@ -0,0 +1 @@
1
+ import{r as t,d as i,h as s,a}from"./p-gJCRRBX0.js";import{e,i as n}from"./p-uIA60Puf.js";import{a as r}from"./p-D9HGXWKc.js";import{S as h}from"./p-BCaKYPpD.js";import"./p-C0vp-Q7v.js";var o=function(t,i,s,a){var e,n=arguments.length,r=n<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,a);else for(var h=t.length-1;h>=0;h--)(e=t[h])&&(r=(n<3?e(r):n>3?e(i,s,r):e(i,s))||r);return n>3&&r&&Object.defineProperty(i,s,r),r};const c=class{constructor(s){t(this,s),this.stateUpdate=i(this,"rtkStateUpdate",7),this.variant="button",this.iconPack=e,this.t=n(),this.participantsActive=!1,this.waitlistedParticipants=[],this.stageRequestedParticipants=[],this.badgeCount=0,this.canViewParticipants=!1,this.updateStageRequests=async t=>{var i,s,a;t||(t=null!==(a=null===(s=null===(i=this.meeting.stage)||void 0===i?void 0:i.getAccessRequests())||void 0===s?void 0:s.stageRequests)&&void 0!==a?a:[]),this.stageRequestedParticipants=t,this.stageRequestedParticipants="REQUESTED_TO_JOIN_STAGE"===this.meeting.stage.status?[this.meeting.self,...t]:t,this.updateBadgeCount()},this.updateBadgeCount=()=>{this.badgeCount=this.waitlistedParticipants.length+this.stageRequestedParticipants.length},this.updateCanView=()=>{this.canViewParticipants=r(this.meeting)}}connectedCallback(){this.meetingChanged(this.meeting),this.statesChanged(this.states)}disconnectedCallback(){var t,i,s;this.meeting&&(null===(i=null===(t=this.meeting)||void 0===t?void 0:t.stage)||void 0===i||i.removeListener("stageStatusUpdate",this.updateCanView),this.waitlistedParticipantJoinedListener&&this.meeting.participants.waitlisted.removeListener("participantJoined",this.waitlistedParticipantJoinedListener),this.waitlistedParticipantLeftListener&&this.meeting.participants.waitlisted.removeListener("participantLeft",this.waitlistedParticipantLeftListener),null===(s=this.meeting.stage)||void 0===s||s.removeListener("stageAccessRequestUpdate",this.updateStageRequests))}meetingChanged(t){var i;t&&(this.canViewParticipants=r(t),null===(i=null==t?void 0:t.stage)||void 0===i||i.on("stageStatusUpdate",this.updateCanView),t.self.permissions.acceptWaitingRequests&&(this.waitlistedParticipants=t.participants.waitlisted.toArray(),this.waitlistedParticipantJoinedListener=t=>{this.waitlistedParticipants.some((i=>i.id===t.id))||(this.waitlistedParticipants=[...this.waitlistedParticipants,t],this.updateBadgeCount())},this.waitlistedParticipantLeftListener=t=>{this.waitlistedParticipants=this.waitlistedParticipants.filter((i=>i.id!==t.id)),this.updateBadgeCount()},t.participants.waitlisted.addListener("participantJoined",this.waitlistedParticipantJoinedListener),t.participants.waitlisted.addListener("participantLeft",this.waitlistedParticipantLeftListener)),this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests&&(this.updateStageRequests(),null==t||t.stage.on("stageAccessRequestUpdate",this.updateStageRequests)),this.updateBadgeCount())}statesChanged(t){null!=t&&(this.participantsActive=!0===t.activeSidebar&&"participants"===t.sidebar)}toggleParticipantsTab(){const t=this.states;this.participantsActive=!((null==t?void 0:t.activeSidebar)&&"participants"===(null==t?void 0:t.sidebar)),this.stateUpdate.emit({activeSidebar:this.participantsActive,sidebar:this.participantsActive?"participants":void 0,activeMoreMenu:!1})}handleParticipantsActiveChange(){this.participantsActive||this.states.activeSidebar||this.buttonEl.focus()}render(){if(!this.canViewParticipants)return s(a,{"data-hidden":!0});const t=this.t("participants");return s(a,{title:t},0!==this.badgeCount&&!this.participantsActive&&s("div",{class:"waiting-participants-count",part:"waiting-participants-count"},s("span",null,this.badgeCount<=100?this.badgeCount:"99+")),s("rtk-controlbar-button",{ref:t=>this.buttonEl=t,part:"controlbar-button",size:this.size,iconPack:this.iconPack,class:{active:this.participantsActive},onClick:()=>this.toggleParticipantsTab(),icon:this.iconPack.participants,label:t,variant:this.variant}))}static get watchers(){return{meeting:[{meetingChanged:0}],states:[{statesChanged:0}],participantsActive:[{handleParticipantsActiveChange:0}]}}};o([h()],c.prototype,"meeting",void 0),o([h()],c.prototype,"states",void 0),o([h()],c.prototype,"iconPack",void 0),o([h()],c.prototype,"t",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{position:relative;display:block}:host([data-hidden]){display:none}.waiting-participants-count{position:absolute;right:var(--rtk-space-3, 12px);box-sizing:border-box;padding:var(--rtk-space-0\\.5, 2px);-webkit-user-select:none;-moz-user-select:none;user-select:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-brand-500, 33 96 253) / var(--tw-bg-opacity));font-size:12px;display:flex;height:var(--rtk-space-5, 20px);min-width:var(--rtk-space-5, 20px);align-items:center;justify-content:center;border-radius:9999px;z-index:1}:host([variant='horizontal']) .waiting-participants-count{right:var(--rtk-space-4, 16px);top:50%;transform:translateY(-50%)}";export{c as rtk_participants_toggle}
@@ -0,0 +1 @@
1
+ import{r as e,h as a,a as t,d as i}from"./p-gJCRRBX0.js";import{C as s}from"./p-C5Ah4uY5.js";import{s as c,h as d}from"./p-vBD2htwQ.js";import{e as f,i as o}from"./p-uIA60Puf.js";import{g as r,a as b,d as n}from"./p-BJvHNbaa.js";import{S as l}from"./p-BCaKYPpD.js";import{T as h}from"./p-Dg4b2aZr.js";import"./p-jvwnrxra.js";import"./p-CqWk07gT.js";var k=function(e,a,t,i){var s,c=arguments.length,d=c<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(s=e[f])&&(d=(c<3?s(d):c>3?s(a,t,d):s(a,t))||d);return c>3&&d&&Object.defineProperty(a,t,d),d};const m=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){const e=c(this.message.link);return a(t,{key:"b10da5fd1c4c6d80a1e5bf5f35f4956abde0ed5d"},!this.isContinued&&a(s,{key:"fb1384ad8bfc73219b28c4500f78e6c6421ee848",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"81a067a5567ad160e4398a6f16b21309f81a0c9b",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"c6eb4b26b0090b7f9fd6af9e79d04c8b4e76a6d1",class:"file"},a("div",{key:"10e9b854fa0c1f311bb1bc76c90223220c9a10f3",class:"file-data"},a("div",{key:"ace6eeb050ad6c656cd215456b69f8b6e9529aec",class:"name"},this.message.name),a("div",{key:"562de08ebd242e92aeca1fae0aa4823612a60c1c",class:"file-data-split"},a("div",{key:"968eee3032f98a59da43c0b4604dc597c4bfd94c",class:"ext"},r(this.message.name)),a("span",{key:"2cb436ffed86b9c3a73ff5feab9d3ec7c8e0ef3b",class:"divider"}),a("div",{key:"9cc1d37edf60fbd3d3538512539a79244ffd74de",class:"size"},b(this.message.size)))),a("rtk-button",{key:"e4eb744391b8fe61bd4d58e3ac3d7d10ee748976",variant:"secondary",kind:"icon",onClick:()=>n(e,{name:this.message.name,fallbackName:"file"}),part:"button"},a("rtk-icon",{key:"79efeb36257d970f243d1730d0ac4ad84bc6993d",icon:this.iconPack.download})))))}};k([l()],m.prototype,"iconPack",void 0),k([l()],m.prototype,"t",void 0);var y=function(e,a,t,i){var s,c=arguments.length,d=c<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(s=e[f])&&(d=(c<3?s(d):c>3?s(a,t,d):s(a,t))||d);return c>3&&d&&Object.defineProperty(a,t,d),d};const p=class{constructor(a){e(this,a),this.stateUpdate=i(this,"rtkStateUpdate",7),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1,this.status="loading"}render(){return a(t,{key:"8ac3f237a8d77254219f8b5763dd6b53d2cb764b"},!this.isContinued&&a(s,{key:"6eb17e16b4fd4e12d3b8a7ce8a5bcfd548930a50",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"d5cce1675057a0378425452898fcbc4c738b7bb2",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"45f073d8268c92aee4fec8b139fd325e668dab76",class:{image:!0,loaded:"loaded"===this.status}},a("img",{key:"28a206e34b791205e042233ee7f317f389f421da",src:c(this.message.link),onLoad:()=>{this.status="loaded"},onError:()=>{this.status="errored"},onClick:()=>{"loaded"===this.status&&this.stateUpdate.emit({image:this.message})}}),"loading"===this.status&&a("div",{key:"b7862bff3f6c9df7042bdab2f6b0370e7c362f02",class:"image-spinner",title:this.t("chat.img.loading"),"aria-label":this.t("chat.img.loading")},a("rtk-spinner",{key:"460074eae700cd3f522019f967ba5955b9eb972e",iconPack:this.iconPack})),"errored"===this.status&&a("div",{key:"bdf48c8fdc5057d2c77d10b64d7af5576f478556",class:"image-errored",title:this.t("chat.error.img_not_found"),"aria-label":this.t("chat.error.img_not_found")},a("rtk-icon",{key:"523e5ff6dd4579082e5953346155df9b7b23862f",icon:this.iconPack.image_off})),"loaded"===this.status&&a("div",{key:"89e3679101615838ec6a0f521b98386454d25197",class:"actions"},a("rtk-button",{key:"ccaed0a3d70945d66e7b700e01bbc5289421f8ae",class:"action",variant:"secondary",kind:"icon",onClick:()=>{this.stateUpdate.emit({image:this.message})}},a("rtk-icon",{key:"ee20f5497dbb38590de65c4a404eda90b0d5c4e5",icon:this.iconPack.full_screen_maximize})),a("rtk-button",{key:"181d39cfd837e45d3da1aa0fa0f97226c50cb46a",class:"action",variant:"secondary",kind:"icon",onClick:()=>n(this.message.link,{fallbackName:"image"})},a("rtk-icon",{key:"53c7e551ec4a2efb32d60d16eb2a4a02144abf4f",icon:this.iconPack.download}))))))}};y([l()],p.prototype,"iconPack",void 0),y([l()],p.prototype,"t",void 0),p.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.image-spinner{cursor:wait}.image-errored{cursor:not-allowed}";var v=function(e,a,t,i){var s,c=arguments.length,d=c<3?a:null===i?i=Object.getOwnPropertyDescriptor(a,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,a,t,i);else for(var f=e.length-1;f>=0;f--)(s=e[f])&&(d=(c<3?s(d):c>3?s(a,t,d):s(a,t))||d);return c>3&&d&&Object.defineProperty(a,t,d),d};const u=class{constructor(a){e(this,a),this.now=new Date,this.isContinued=!1,this.iconPack=f,this.t=o(),this.showBubble=!1}render(){return a(t,{key:"a34dd007a87a134202e153f3d886102bbe6a685c"},!this.isContinued&&a(s,{key:"8505cee0d359b7449776ece2bbd7455811217a41",name:this.message.displayName,time:this.message.time,now:this.now}),a("div",{key:"00b2baca454b62e4984e82790580bac116a046a0",class:{body:!0,bubble:this.showBubble},part:"body"},a("div",{key:"ecc8de946011c9836cebfd626a27cb23f111d0cc",class:{text:!0,emoji:d(this.message.message)}},a(h,{key:"1efad576e6110986cb2abac7ff2c42b492c995aa",message:this.message.message}))))}};v([l()],u.prototype,"iconPack",void 0),v([l()],u.prototype,"t",void 0);export{m as rtk_file_message,p as rtk_image_message,u as rtk_text_message}
@@ -0,0 +1 @@
1
+ import{r as t,d as r,h as i,a as s}from"./p-gJCRRBX0.js";import{c as a,e,i as o}from"./p-uIA60Puf.js";import"./p-DxDYE5-a.js";import"./p-C0vp-Q7v.js";import{S as n}from"./p-BCaKYPpD.js";import{d as p}from"./p-Bbls2zyp.js";import"./p-Daj_55_i.js";var c=function(t,r,i,s){var a,e=arguments.length,o=e<3?r:null===s?s=Object.getOwnPropertyDescriptor(r,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,r,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(e<3?a(o):e>3?a(r,i,o):a(r,i))||o);return e>3&&o&&Object.defineProperty(r,i,o),o};const h=class{constructor(s){t(this,s),this.stateUpdate=r(this,"rtkStateUpdate",7),this.config=a(),this.iconPack=e,this.defaultParticipantsTabId="stage-list",this.t=o(),this.currentParticipantsTabId=this.defaultParticipantsTabId,this.tabs=[],this.hasRequests=!1,this.search="",this.updateParticipantCountsInTabs=p((()=>{var t;let r=(null===(t=this.meeting.participants.waitlisted)||void 0===t?void 0:t.size)||0,s=0,a=0;this.meeting.participants.joined.toArray().forEach((t=>{"ON_STAGE"===t.stageStatus&&s++,"OFF_STAGE"===t.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===t.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===t.stageStatus&&a++})),"ON_STAGE"===this.meeting.self.stageStatus&&s++,"OFF_STAGE"===this.meeting.self.stageStatus&&a++,"REQUESTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&(r++,a++),"ACCEPTED_TO_JOIN_STAGE"===this.meeting.self.stageStatus&&a++;const e=[];this.shouldShowRequestsTab()&&e.push({id:"requests",name:i("span",null,this.t("requests")," ",i("span",{class:`tab-participant-count-badge ${r>0?"requests-pending":""} ${"requests"===this.currentParticipantsTabId?"selected-tab":""}`},r))}),e.push({id:"stage-list",name:i("span",null,this.t("participants")," ",i("span",{class:"tab-participant-count-badge "+("stage-list"===this.currentParticipantsTabId?"selected-tab":"")},s))}),this.shouldShowViewersTab()&&e.push({id:"viewer-list",name:i("span",null,this.t("viewers")," ",i("span",{class:"tab-participant-count-badge "+("viewer-list"===this.currentParticipantsTabId?"selected-tab":"")},a))}),this.tabs=e,this.hasRequests=r>0})),this.onSearchInput=t=>{this.search=t.target.value},this.shouldShowViewersTab=()=>{var t,r,i;return null===(i=null===(r=null===(t=this.meeting)||void 0===t?void 0:t.self)||void 0===r?void 0:r.permissions)||void 0===i?void 0:i.stageEnabled},this.shouldShowRequestsTab=()=>{var t;let r=!1;return r="LIVESTREAM"!==this.meeting.meta.viewType&&(null===(t=this.meeting.self.config.waitingRoom)||void 0===t?void 0:t.isEnabled)&&this.meeting.self.permissions.acceptWaitingRequests,this.meeting.self.permissions.stageEnabled&&this.meeting.self.permissions.acceptStageRequests||r},this.viewSection=t=>{this.currentParticipantsTabId=t}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.meeting&&(this.meeting.participants.joined.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantsUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.joined.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.stage.off("stageStatusUpdate",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantJoined",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("participantLeft",this.updateParticipantCountsInTabs),this.meeting.participants.waitlisted.off("stageStatusUpdate",this.updateParticipantCountsInTabs))}meetingChanged(t){t&&(t.participants.joined.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.joined.on("participantsUpdate",this.updateParticipantCountsInTabs),t.participants.joined.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.joined.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.stage.on("stageStatusUpdate",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantJoined",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("participantLeft",this.updateParticipantCountsInTabs),t.participants.waitlisted.on("stageStatusUpdate",this.updateParticipantCountsInTabs),this.updateParticipantCountsInTabs())}currentParticipantsTabIdChanged(){this.stateUpdate.emit({participantsTabId:this.currentParticipantsTabId}),this.updateParticipantCountsInTabs()}render(){if(!this.meeting)return null;const t={meeting:this.meeting,states:this.states,config:this.config,size:this.size,iconPack:this.iconPack,t:this.t};return i(s,null,i("div",{class:"search",part:"search"},i("rtk-icon",{icon:this.iconPack.search,part:"search-icon"}),i("input",{type:"search",autocomplete:"off",placeholder:this.t("search"),onInput:this.onSearchInput,part:"search-input"})),i("slot",{name:"start"}),i("div",{class:"ctr scrollbar "+("requests"!==this.currentParticipantsTabId?"virtualised":""),part:"container"},i("rtk-sidebar-ui",{tabs:this.tabs,currentTab:this.currentParticipantsTabId,view:"full-screen",hideHeader:!0,hideCloseAction:!0,style:{position:"relative"},onTabChange:t=>{this.viewSection(t.detail),t.stopPropagation()}},(!this.currentParticipantsTabId||"stage-list"===this.currentParticipantsTabId)&&i("div",{slot:"stage-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-stage-list",Object.assign({},t,{search:this.search,hideHeader:!0}))),"requests"===this.currentParticipantsTabId&&i("div",{slot:"requests",style:{marginTop:"10px",height:"100%"}},!this.hasRequests&&i("div",{class:"no-pending-requests"},this.t("participants.no_pending_requests")),i("rtk-participants-stage-queue",Object.assign({},t)),i("rtk-participants-waiting-list",Object.assign({},t))),"viewer-list"===this.currentParticipantsTabId&&i("div",{slot:"viewer-list",style:{marginTop:"10px",height:"100%"}},i("rtk-participants-viewer-list",Object.assign({},t,{search:this.search,hideHeader:!0}))))),i("slot",{name:"end"}))}static get watchers(){return{meeting:[{meetingChanged:0}],currentParticipantsTabId:[{currentParticipantsTabIdChanged:0}]}}};c([n()],h.prototype,"meeting",void 0),c([n()],h.prototype,"states",void 0),c([n()],h.prototype,"config",void 0),c([n()],h.prototype,"iconPack",void 0),c([n()],h.prototype,"t",void 0),h.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60))) var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--rtk-space-1\\.5, 6px);width:var(--rtk-space-1\\.5, 6px);border-radius:9999px;background-color:var(--rtk-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--rtk-scrollbar-color, rgb(var(--rtk-colors-background-600, 60 60 60)))}:host{display:flex;height:100%;width:100%;flex-direction:column;font-size:14px}*{box-sizing:border-box}.ctr{margin-top:var(--rtk-space-2, 8px);margin-bottom:var(--rtk-space-2, 8px);box-sizing:border-box;padding-left:var(--rtk-space-3, 12px);padding-right:var(--rtk-space-3, 12px);padding-top:var(--rtk-space-0, 0px);padding-bottom:var(--rtk-space-0, 0px);overflow-y:auto;flex-grow:1;flex-basis:0}.ctr.virtualised{overflow-y:hidden}.search{position:sticky;box-sizing:border-box;display:flex;align-items:center;border-radius:var(--rtk-border-radius-sm, 4px);--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));margin-left:var(--rtk-space-3, 12px);margin-right:var(--rtk-space-3, 12px);margin-top:var(--rtk-space-0, 0px);margin-bottom:var(--rtk-space-0, 0px)}.search rtk-icon{margin-left:var(--rtk-space-2, 8px);margin-right:var(--rtk-space-2, 8px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px);color:rgb(var(--rtk-colors-text-600, 255 255 255 / 0.52))}.search input{box-sizing:border-box;height:var(--rtk-space-9, 36px);width:100%;padding-right:var(--rtk-space-2, 8px);border-width:var(--rtk-border-width-none, 0);border-style:none;--tw-bg-opacity:1;background-color:rgba(var(--rtk-colors-background-700, 44 44 44) / var(--tw-bg-opacity));color:rgb(var(--rtk-colors-text-1000, 255 255 255));outline:2px solid transparent;outline-offset:2px;border-radius:var(--rtk-border-radius-sm, 4px);font-size:14px}.search input::-moz-placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}.search input::placeholder{color:rgb(var(--rtk-colors-text-800, 255 255 255 / 0.76))}:host([size='md']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}:host([size='sm']) .search{margin-top:var(--rtk-space-4, 16px) !important;margin-bottom:var(--rtk-space-4, 16px) !important}.no-pending-requests{margin-top:var(--rtk-space-4, 16px);margin-bottom:var(--rtk-space-4, 16px);text-align:center;font-size:12px;color:rgb(var(--rtk-colors-text-700, 255 255 255 / 0.64))}";export{h as rtk_participants}
@@ -0,0 +1 @@
1
+ const t=["top","right","bottom","left"],n=["start","end"],e=t.reduce(((t,e)=>t.concat(e,e+"-"+n[0],e+"-"+n[1])),[]),o=Math.min,r=Math.max,i=Math.round,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function l(t,n,e){return r(t,o(n,e))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function y(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function p(t){return d(y(t))}function h(t,n,e){void 0===e&&(e=!1);const o=f(t),r=p(t),i=m(r);let a="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=A(a)),[a,A(a)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const g=["left","right"],x=["right","left"],v=["top","bottom"],b=["bottom","top"];function A(t){const n=u(t);return c[n]+t.slice(n.length)}function S(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function k(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function C(t,n,e){let{reference:o,floating:r}=t;const i=y(n),a=p(n),c=m(a),l=u(n),s="y"===i,d=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(l){case"top":g={x:d,y:o.y-r.height};break;case"bottom":g={x:d,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:h};break;case"left":g={x:o.x-r.width,y:h};break;default:g={x:o.x,y:o.y}}switch(f(n)){case"start":g[a]-=w*(e&&s?-1:1);break;case"end":g[a]+=w*(e&&s?-1:1)}return g}async function P(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=s(n,t),p=S(y),h=c[m?"floating"===d?"reference":"floating":d],w=k(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(h)))||e?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:l})),g="floating"===d?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),v=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},b=k(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:x,strategy:l}):g);return{top:(w.top-b.top+p.top)/v.y,bottom:(b.bottom-w.bottom+p.bottom)/v.y,left:(w.left-b.left+p.left)/v.x,right:(b.right-w.right+p.right)/v.x}}function R(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function D(n){return t.some((t=>n[t]>=0))}const F=new Set(["left","top"]);function O(){return"undefined"!=typeof window}function T(t){return M(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function L(t){var n;return null==(n=(M(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function M(t){return!!O()&&(t instanceof Node||t instanceof H(t).Node)}function B(t){return!!O()&&(t instanceof Element||t instanceof H(t).Element)}function E(t){return!!O()&&(t instanceof HTMLElement||t instanceof H(t).HTMLElement)}function $(t){return!(!O()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function N(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=I(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function j(t){return/^(table|td|th)$/.test(T(t))}function V(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const W=/transform|translate|scale|rotate|perspective|filter/,X=/paint|layout|strict|content/,Y=t=>!!t&&"none"!==t;let _;function q(t){const n=B(t)?I(t):t;return Y(n.transform)||Y(n.translate)||Y(n.scale)||Y(n.rotate)||Y(n.perspective)||!z()&&(Y(n.backdropFilter)||Y(n.filter))||W.test(n.willChange||"")||X.test(n.contain||"")}function z(){return null==_&&(_="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),_}function G(t){return/^(html|body|#document)$/.test(T(t))}function I(t){return H(t).getComputedStyle(t)}function J(t){return B(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if("html"===T(t))return t;const n=t.assignedSlot||t.parentNode||$(t)&&t.host||L(t);return $(n)?n.host:n}function Q(t){const n=K(t);return G(n)?t.ownerDocument?t.ownerDocument.body:t.body:E(n)&&N(n)?n:Q(n)}function U(t,n){var e;void 0===n&&(n=[]);const o=Q(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=H(o);return r?n.concat(i,i.visualViewport||[],N(o)?o:[],[]):n.concat(o,U(o,[]))}function Z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function tt(t){const n=I(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const r=E(t),a=r?t.offsetWidth:e,c=r?t.offsetHeight:o,l=i(e)!==a||i(o)!==c;return l&&(e=a,o=c),{width:e,height:o,$:l}}function nt(t){return B(t)?t:t.contextElement}function et(t){const n=nt(t);if(!E(n))return a(1);const e=n.getBoundingClientRect(),{width:o,height:r,$:c}=tt(n);let l=(c?i(e.width):e.width)/o,s=(c?i(e.height):e.height)/r;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const ot=a(0);function rt(t){const n=H(t);return z()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:ot}function it(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),i=nt(t);let c=a(1);n&&(o?B(o)&&(c=et(o)):c=et(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==H(t))&&n}(i,e,o)?rt(i):a(0);let s=(r.left+l.x)/c.x,u=(r.top+l.y)/c.y,f=r.width/c.x,d=r.height/c.y;if(i){const t=H(i),n=o&&B(o)?H(o):o;let e=t,r=Z(e);for(;r&&o&&n!==e;){const t=et(r),n=r.getBoundingClientRect(),o=I(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,a=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=H(r),r=Z(e)}}return k({width:f,height:d,x:s,y:u})}function at(t,n){const e=J(t).scrollLeft;return n?n.left+e:it(L(t)).left+e}function ct(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-at(t,e),y:e.top+n.scrollTop}}function lt(t,n,e){let o;if("viewport"===n)o=function(t,n){const e=H(t),o=L(t),r=e.visualViewport;let i=o.clientWidth,a=o.clientHeight,c=0,l=0;if(r){i=r.width,a=r.height;const t=z();(!t||t&&"fixed"===n)&&(c=r.offsetLeft,l=r.offsetTop)}const s=at(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,a=Math.abs(o.clientWidth-n.clientWidth-r);a<=25&&(i-=a)}else s<=25&&(i+=s);return{width:i,height:a,x:c,y:l}}(t,e);else if("document"===n)o=function(t){const n=L(t),e=J(t),o=t.ownerDocument.body,i=r(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),a=r(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let c=-e.scrollLeft+at(t);const l=-e.scrollTop;return"rtl"===I(o).direction&&(c+=r(n.clientWidth,o.clientWidth)-i),{width:i,height:a,x:c,y:l}}(L(t));else if(B(n))o=function(t,n){const e=it(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=E(t)?et(t):a(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(n,e);else{const e=rt(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return k(o)}function st(t,n){const e=K(t);return!(e===n||!B(e)||G(e))&&("fixed"===I(e).position||st(e,n))}function ut(t,n,e){const o=E(n),r=L(n),i="fixed"===e,c=it(t,!0,i,n);let l={scrollLeft:0,scrollTop:0};const s=a(0);function u(){s.x=at(r)}if(o||!o&&!i)if(("body"!==T(n)||N(r))&&(l=J(n)),o){const t=it(n,!0,i,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else r&&u();i&&!o&&r&&u();const f=!r||o||i?a(0):ct(r,l);return{x:c.left+l.scrollLeft-s.x-f.x,y:c.top+l.scrollTop-s.y-f.y,width:c.width,height:c.height}}function ft(t){return"static"===I(t).position}function dt(t,n){if(!E(t)||"fixed"===I(t).position)return null;if(n)return n(t);let e=t.offsetParent;return L(t)===e&&(e=e.ownerDocument.body),e}function mt(t,n){const e=H(t);if(V(t))return e;if(!E(t)){let n=K(t);for(;n&&!G(n);){if(B(n)&&!ft(n))return n;n=K(n)}return e}let o=dt(t,n);for(;o&&j(o)&&ft(o);)o=dt(o,n);return o&&G(o)&&ft(o)&&!q(o)?e:o||function(t){let n=K(t);for(;E(n)&&!G(n);){if(q(n))return n;if(V(n))return null;n=K(n)}return null}(t)||e}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:r}=t;const i="fixed"===r,c=L(o),l=!!n&&V(n.floating);if(o===c||l&&i)return e;let s={scrollLeft:0,scrollTop:0},u=a(1);const f=a(0),d=E(o);if((d||!d&&!i)&&(("body"!==T(o)||N(c))&&(s=J(o)),d)){const t=it(o);u=et(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||i?a(0):ct(c,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:L,getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===e?V(n)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=U(t,[]).filter((t=>B(t)&&"body"!==T(t))),r=null;const i="fixed"===I(t).position;let a=i?K(t):t;for(;B(a)&&!G(a);){const n=I(a),e=q(a);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&("absolute"===r.position||"fixed"===r.position)||N(a)&&!e&&st(t,a))?o=o.filter((t=>t!==a)):r=n,a=K(a)}return n.set(t,o),o}(n,this._c):[].concat(e),i],l=lt(n,c[0],a);let s=l.top,u=l.right,f=l.bottom,d=l.left;for(let t=1;t<c.length;t++){const e=lt(n,c[t],a);s=r(e.top,s),u=o(e.right,u),f=o(e.bottom,f),d=r(e.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:mt,getElementRects:async function(t){const n=this.getOffsetParent||mt,e=this.getDimensions,o=await e(t.floating);return{reference:ut(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=tt(t);return{width:n,height:e}},getScale:et,isElement:B,isRTL:function(t){return"rtl"===I(t).direction}},pt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:a,middlewareData:c}=n,l=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),a=u(e),c=f(e),l="y"===y(e),d=F.has(a)?-1:1,m=i&&l?-1:1,p=s(n,t);let{mainAxis:h,crossAxis:w,alignmentAxis:g}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),l?{x:w*m,y:h*d}:{x:h*d,y:w*m}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:a}}}}},ht=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(n){var o,r,i;const{rects:a,middlewareData:c,placement:l,platform:d,elements:m}=n,{crossAxis:y=!1,alignment:p,allowedPlacements:g=e,autoAlignment:x=!0,...v}=s(t,n),b=void 0!==p||g===e?function(t,n,e){return(t?[...e.filter((n=>f(n)===t)),...e.filter((n=>f(n)!==t))]:e.filter((t=>u(t)===t))).filter((e=>!t||f(e)===t||!!n&&w(e)!==e))}(p||null,x,g):g,A=await d.detectOverflow(n,v),S=(null==(o=c.autoPlacement)?void 0:o.index)||0,k=b[S];if(null==k)return{};const C=h(k,a,await(null==d.isRTL?void 0:d.isRTL(m.floating)));if(l!==k)return{reset:{placement:b[0]}};const P=[A[u(k)],A[C[0]],A[C[1]]],R=[...(null==(r=c.autoPlacement)?void 0:r.overflows)||[],{placement:k,overflows:P}],D=b[S+1];if(D)return{data:{index:S+1,overflows:R},reset:{placement:D}};const F=R.map((t=>{const n=f(t.placement);return[t.placement,n&&y?t.overflows.slice(0,2).reduce(((t,n)=>t+n),0):t.overflows[0],t.overflows]})).sort(((t,n)=>t[1]-n[1])),O=(null==(i=F.filter((t=>t[2].slice(0,f(t[0])?2:3).every((t=>t<=0))))[0])?void 0:i[0])||F[0][0];return O!==l?{data:{index:S+1,overflows:R},reset:{placement:O}}:{}}}},wt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:c=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=s(t,n),p={x:e,y:o},h=await i.detectOverflow(n,m),w=y(u(r)),g=d(w);let x=p[g],v=p[w];a&&(x=l(x+h["y"===g?"top":"left"],x,x-h["y"===g?"bottom":"right"])),c&&(v=l(v+h["y"===w?"top":"left"],v,v-h["y"===w?"bottom":"right"]));const b=f.fn({...n,[g]:x,[w]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[g]:a,[w]:c}}}}}},gt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:d}=n,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:S,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:P=!0,...R}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const D=u(r),F=y(c),O=u(c)===c,T=await(null==l.isRTL?void 0:l.isRTL(d.floating)),H=S||(O||!P?[A(c)]:function(t){const n=A(t);return[w(t),n,w(n)]}(c)),L="none"!==C;!S&&L&&H.push(...function(t,n,e,o){const r=f(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?x:g:n?g:x;case"left":case"right":return n?v:b;default:return[]}}(u(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(w)))),i}(c,P,C,T));const M=[c,...H],B=await l.detectOverflow(n,R),E=[];let $=(null==(o=i.flip)?void 0:o.overflows)||[];if(m&&E.push(B[D]),p){const t=h(r,a,T);E.push(B[t[0]],B[t[1]])}if($=[...$,{placement:r,overflows:E}],!E.every((t=>t<=0))){var N,j;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=M[t];if(n&&("alignment"!==p||F===y(n)||$.every((t=>y(t.placement)!==F||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:n}};let e=null==(j=$.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:j.placement;if(!e)switch(k){case"bestFit":{var V;const t=null==(V=$.filter((t=>{if(L){const n=y(t.placement);return n===F||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:V[0];t&&(e=t);break}case"initialPlacement":e=c}if(r!==e)return{reset:{placement:e}}}return{}}}},xt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e,platform:o}=n,{strategy:r="referenceHidden",...i}=s(t,n);switch(r){case"referenceHidden":{const t=R(await o.detectOverflow(n,{...i,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{const t=R(await o.detectOverflow(n,{...i,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},vt=t=>({name:"arrow",options:t,async fn(n){const{x:e,y:r,placement:i,rects:a,platform:c,elements:u,middlewareData:d}=n,{element:y,padding:h=0}=s(t,n)||{};if(null==y)return{};const w=S(h),g={x:e,y:r},x=p(i),v=m(x),b=await c.getDimensions(y),A="y"===x,k=A?"top":"left",C=A?"bottom":"right",P=A?"clientHeight":"clientWidth",R=a.reference[v]+a.reference[x]-g[x]-a.floating[v],D=g[x]-a.reference[x],F=await(null==c.getOffsetParent?void 0:c.getOffsetParent(y));let O=F?F[P]:0;O&&await(null==c.isElement?void 0:c.isElement(F))||(O=u.floating[P]||a.floating[v]);const T=R/2-D/2,H=O/2-b[v]/2-1,L=o(w[k],H),M=o(w[C],H),B=L,E=O-b[v]-M,$=O/2-b[v]/2+T,N=l(B,$,E),j=!d.arrow&&null!=f(i)&&$!==N&&a.reference[v]/2-($<B?L:M)-b[v]/2<0,V=j?$<B?$-B:$-E:0;return{[x]:g[x]+V,data:{[x]:N,centerOffset:$-N-V,...j&&{alignmentOffset:V}},reset:j}}}),bt=(t,n,e)=>{const o=new Map,r={platform:yt,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=e,c=a.detectOverflow?a:{...a,detectOverflow:P},l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=C(s,o,l),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const p=i[e];if(!p)continue;const{name:h,fn:w}=p,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:c,elements:{reference:t,floating:n}});u=null!=g?g:u,f=null!=x?x:f,y[h]={...y[h],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await a.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:u,y:f}=C(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{vt as a,ht as b,bt as c,gt as f,xt as h,pt as o,wt as s}
@@ -1 +1 @@
1
- import{g as e}from"./p-a599f720.js";import{u as t,I as o,J as r}from"./p-9727a165.js";function n(){return function(n,s){const{connectedCallback:c,disconnectedCallback:a}=n;n.connectedCallback=function(){const n=e(this),a=n[s];n[`_rtkStoreToCleanup-${s}`]=t,a||(n[s]=t.state[s],o(s,n,t));const u=e=>{if(e.detail.requestId===n._storeRequestId){const c=e.detail.store.state[s];n.componentOnReady().then((()=>{n[s]=c})),o(s,n,e.detail.store),n[`_rtkStoreToCleanup-${s}`]=e.detail.store,r(s,n,t)}};n[`_rtkStoreResponseListener-${s}`]=u,document.addEventListener("rtkProvideStore",u);const d=`${n.tagName}-${Date.now()}-${Math.random()}`;n._storeRequestId=d;const i=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:d},bubbles:!0,composed:!0});n.dispatchEvent(i);const l=()=>{const e=`${n.tagName}-${Date.now()}-${Math.random().toString(36)}`;n._storeRequestId=e;const t=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:e},bubbles:!0,composed:!0});n.dispatchEvent(t)};return n[`_rtkStoreReadyListener-${s}`]=l,document.addEventListener("rtkPeerStoreReady",l),null==c?void 0:c.call(this)},n.disconnectedCallback=function(){const t=e(this);r(s,t,t[`_rtkStoreToCleanup-${s}`]);const o=t[`_rtkStoreResponseListener-${s}`];o&&(document.removeEventListener("rtkProvideStore",o),delete t[`_rtkStoreResponseListener-${s}`]);const n=t[`_rtkStoreReadyListener-${s}`];return n&&(document.removeEventListener("rtkPeerStoreReady",n),delete t[`_rtkStoreReadyListener-${s}`]),null==a?void 0:a.call(this)}}}export{n as S}
1
+ import{g as e}from"./p-gJCRRBX0.js";import{u as t,G as o,H as r}from"./p-uIA60Puf.js";function n(){return function(n,s){const{connectedCallback:c,disconnectedCallback:u}=n;n.connectedCallback=function(){const n=e(this),u=n[s];n[`_rtkStoreToCleanup-${s}`]=t,u||(n[s]=t.state[s],o(s,n,t));const a=e=>{if(e.detail.requestId===n._storeRequestId){const c=e.detail.store.state[s];n.componentOnReady().then((()=>{n[s]=c})),o(s,n,e.detail.store),n[`_rtkStoreToCleanup-${s}`]=e.detail.store,r(s,n,t)}};n[`_rtkStoreResponseListener-${s}`]=a,document.addEventListener("rtkProvideStore",a);const d=`${n.tagName}-${Date.now()}-${Math.random()}`;n._storeRequestId=d;const i=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:d},bubbles:!0,composed:!0});n.dispatchEvent(i);const l=()=>{const e=`${n.tagName}-${Date.now()}-${Math.random().toString(36)}`;n._storeRequestId=e;const t=new CustomEvent("rtkRequestStore",{detail:{element:n,propName:s,requestId:e},bubbles:!0,composed:!0});n.dispatchEvent(t)};return n[`_rtkStoreReadyListener-${s}`]=l,document.addEventListener("rtkPeerStoreReady",l),null==c?void 0:c.call(this)},n.disconnectedCallback=function(){const t=e(this);r(s,t,t[`_rtkStoreToCleanup-${s}`]);const o=t[`_rtkStoreResponseListener-${s}`];o&&(document.removeEventListener("rtkProvideStore",o),delete t[`_rtkStoreResponseListener-${s}`]);const n=t[`_rtkStoreReadyListener-${s}`];return n&&(document.removeEventListener("rtkPeerStoreReady",n),delete t[`_rtkStoreReadyListener-${s}`]),null==u?void 0:u.call(this)}}}export{n as S}
@@ -0,0 +1 @@
1
+ import{i as t}from"./p-CAqYddlg.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
@@ -0,0 +1 @@
1
+ var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{e as c,n as g}
@@ -0,0 +1 @@
1
+ const o=(o,t=!0)=>{null!=o&&o.scrollTo({top:o.scrollHeight,behavior:t?"smooth":"auto"})};export{o as s}
@@ -0,0 +1 @@
1
+ import{s as t}from"./p-vBD2htwQ.js";const n=t=>t.split(/[#?]/)[0].split(".").pop().trim(),a=t=>{if(!t)return"0 B";const n=Math.floor(Math.log(t)/Math.log(1024));return`${(t/1024**n).toFixed(2)} ${["B","kB","MB","GB","TB"][n]}`},r=async(n,a)=>{n=t(n);let r=null==a?void 0:a.name;const o=await fetch(n);if(!o.ok)return void window.open(n,"_blank");const s=URL.createObjectURL(await o.blob()),e=document.createElement("a");e.href=s,e.download=null!=r?r:((t,n="file")=>{try{const a=new URL(t).pathname.split("/").pop();return"/"!==a?a:n}catch(t){return n}})(n,null==a?void 0:a.fallbackName),e.click()};export{a,r as d,n as g}
@@ -0,0 +1 @@
1
+ import{c as t}from"./p-uIA60Puf.js";import{m as e,i as r}from"./p-DpAk_WQ6.js";import{i}from"./p-C0vp-Q7v.js";const a=(r,i=t())=>{let a=Object.assign({},i);return e(a,r),a},o=(t,e,o={},l={grid_pagination:!0,settings_toggle:!0})=>{var n,d,g,s,c,v,k,p,m,u,h,b,x,f,y,S,w,O;const I={showSetupScreen:!0};let _,M=["rtk-stage"],T={},j={};const R=!1!==(null==l?void 0:l.settings_toggle),A=!1!==(null==l?void 0:l.grid_pagination);if(null===(n=t.controlBar)||void 0===n?void 0:n.isEnabled){M.push("rtk-controlbar");const{elements:r}=t.controlBar,a=[...r.fullscreen?["rtk-fullscreen-toggle"]:[],...R?["rtk-settings-toggle"]:[]],o=[],l=[];(null===(d=e.participants.pip)||void 0===d?void 0:d.isSupported())&&(null===(s=null===(g=e.self)||void 0===g?void 0:g.config)||void 0===s?void 0:s.pipMode)&&"LIVESTREAM"!==(null===(c=e.self.config)||void 0===c?void 0:c.viewType)&&l.push("rtk-pip-toggle"),(null==e?void 0:e.self.permissions.canDisableParticipantAudio)&&l.push("rtk-mute-all-button"),l.push("rtk-breakout-rooms-toggle"),(null===(v=e.self)||void 0===v?void 0:v.permissions.canRecord)&&l.push("rtk-recording-toggle"),null!==(k=e.self.permissions.transcriptionEnabled)&&void 0!==k&&k&&l.push("rtk-caption-toggle"),"ReactNative"!==navigator.product&&l.push("rtk-debugger-toggle"),i(e)&&a.push("rtk-livestream-toggle"),r.screenshare&&a.push("rtk-screen-share-toggle"),r.chat&&o.push("rtk-chat-toggle"),r.polls&&o.push("rtk-polls-toggle"),r.participants&&o.push("rtk-participants-toggle"),r.plugins&&o.push("rtk-plugins-toggle"),o.push("rtk-ai-toggle");const n=["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle","rtk-leave-button"];l.length>0&&n.push("rtk-more-toggle");const p=a.concat(o).concat(l);let m=!1;p.length>0&&(m=!0),j={"rtk-controlbar":{states:["activeMoreMenu"],children:["div#controlbar-left","div#controlbar-center","div#controlbar-right"]},"div#controlbar-left":a,"div#controlbar-center":n,"div#controlbar-right":o,"rtk-more-toggle":{states:["activeMoreMenu"],children:[]},"rtk-more-toggle.activeMoreMenu":l.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-controlbar.sm":["div#controlbar-mobile"],"rtk-controlbar.md":["div#controlbar-mobile"],"rtk-more-toggle.activeMoreMenu.md":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"rtk-more-toggle.activeMoreMenu.sm":p.map((t=>[t,{variant:"horizontal",slot:"more-elements"}])),"div#controlbar-mobile":["rtk-mic-toggle","rtk-camera-toggle","rtk-stage-toggle",m&&"rtk-more-toggle","rtk-leave-button"]}}if(null===(p=t.header)||void 0===p?void 0:p.isEnabled){M.unshift("rtk-header");const{elements:e}=t.header;let r=["rtk-recording-indicator","rtk-livestream-indicator"],i=[],a=[];A&&a.push("rtk-grid-pagination"),e.title&&i.push("rtk-meeting-title"),"string"==typeof e.logo&&e.logo.length>0&&(_=e.logo,r.unshift("rtk-logo")),e.participantCount&&a.push("rtk-participant-count","rtk-viewer-count"),e.timer&&a.push("rtk-clock"),T={"rtk-header":["div#header-left","div#header-center","div#header-right"],"rtk-header.sm":{remove:["div#header-center"]},"div#header-left":r,"div#header-center":i,"div#header-right":a,"div#header-left.sm":{remove:["rtk-logo"],prepend:["rtk-meeting-title"]}}}M.push("rtk-participants-audio","rtk-dialog-manager");let C={logo:_};C=t.designTokens,r(null===(u=null===(m=null==t?void 0:t.designTokens)||void 0===m?void 0:m.colors)||void 0===u?void 0:u.textOnBrand)&&(C.colors["text-on-brand"]=null===(b=null===(h=null==t?void 0:t.designTokens)||void 0===h?void 0:h.colors)||void 0===b?void 0:b.textOnBrand),r(null===(f=null===(x=null==t?void 0:t.designTokens)||void 0===x?void 0:x.colors)||void 0===f?void 0:f.videoBg)&&(C.colors["video-bg"]=null===(S=null===(y=null==t?void 0:t.designTokens)||void 0===y?void 0:y.colors)||void 0===S?void 0:S.videoBg);let z={designTokens:C,styles:{"rtk-header":{display:"grid",height:"48px",gridTemplateColumns:"repeat(3, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-2, 8px)"},"rtk-header.sm":{display:"grid",gridArea:"header",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"1fr",alignItems:"center","--header-section-gap":"var(--rtk-space-1, 4px)"},"div#header-left":{display:"flex",alignItems:"center",height:"48px",wordBreak:"break-all",gap:"var(--header-section-gap)"},"rtk-logo":{height:"26px"},"div#header-center":{display:"flex",alignItems:"center",justifyContent:"center",wordBreak:"break-all",gap:"var(--header-section-gap)",paddingInline:"var(--rtk-space-3, 12px)"},"div#header-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--header-section-gap)"},"rtk-stage":{display:"flex",flex:"1"},"rtk-grid":{flex:"1",height:"auto"},"rtk-controlbar":{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gridTemplateRows:"1fr",alignItems:"center",padding:"8px"},"rtk-controlbar.sm":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"rtk-controlbar.md":{display:"flex",position:"relative",backgroundColor:"var(--rtk-colors-background-1000, #000)"},"div#controlbar-left":{display:"flex",alignItems:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-center":{display:"flex",alignItems:"center",position:"relative",overflow:"visible",justifyContent:"center",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-mobile":{display:"flex",flex:"1",alignItems:"center",justifyContent:"center",zIndex:"10000",gap:"var(--rtk-space-1, 4px)"},"div#controlbar-right":{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"var(--rtk-space-1, 4px)"},"rtk-settings":{width:"720px",height:"480px"},"rtk-debugger":{width:"720px",height:"480px"},"div#setupcontrols-indicator":{position:"absolute",bottom:"12px",left:"12px",display:"flex",gap:"6px",background:"rgb(var(--rtk-colors-background-800, 0 0 0))",borderRadius:"100%"},"div#setupcontrols-media":{position:"absolute",bottom:"8px",right:"8px",display:"flex",gap:"6px"},"div#setupcontrols-settings":{position:"absolute",top:"8px",right:"8px",display:"flex",flexDirection:"column",gap:"6px"},"rtk-meeting-title.sm":{marginLeft:"0"},"rtk-clock":{marginRight:"0"}},root:Object.assign(Object.assign(Object.assign({"rtk-meeting":{state:"meeting",states:["activeSidebar"]},"rtk-meeting[meeting=idle]":["rtk-idle-screen"],"rtk-meeting[meeting=waiting]":["rtk-waiting-screen"],"rtk-meeting[meeting=setup]":["rtk-setup-screen","rtk-dialog-manager"],"rtk-meeting[meeting=joined]":M,"rtk-meeting[meeting=joined].activeSidebar.sm":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=joined].activeSidebar.md":{add:[["rtk-sidebar",{view:"full-screen"}]]},"rtk-meeting[meeting=ended]":["rtk-ended-screen"]},T),j),{"rtk-stage":{states:["activeSidebar"],children:["rtk-grid","rtk-notifications","rtk-transcripts"]},"rtk-stage.activeSidebar":{add:[["rtk-sidebar",{view:"sidebar"}]]},"rtk-stage.activeSidebar.sm":{remove:["rtk-sidebar"]},"rtk-grid":{states:["activeScreenShare","activePlugin","activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenshare":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid[viewType=AUDIO_ROOM].activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-grid.activeScreenShare":["rtk-mixed-grid"],"rtk-grid.activePlugin":["rtk-mixed-grid"],"rtk-grid.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeSpotlight":["rtk-mixed-grid"],"rtk-grid.activePlugin.activeScreenShare.activeSpotlight":["rtk-mixed-grid"],"rtk-mixed-grid":{states:["activeSpotlight"],state:"viewType",children:["rtk-simple-grid"]},"rtk-mixed-grid[viewType=AUDIO_ROOM]":["rtk-audio-grid"],"rtk-mixed-grid.activeSpotlight":["rtk-spotlight-grid"],"rtk-participant-tile":{state:"meeting",children:["rtk-name-tag","rtk-avatar","rtk-network-indicator"]},"rtk-participant-setup":["rtk-avatar","div#setupcontrols-media"],"rtk-participant-tile[meeting=setup]":["rtk-avatar","div#setupcontrols-indicator","div#setupcontrols-media",...R?["div#setupcontrols-settings"]:[]],"div#setupcontrols-indicator":[["rtk-audio-visualizer",{slot:"start",hideMuted:!0}]],"div#setupcontrols-media":[["rtk-mic-toggle",{size:"sm"}],["rtk-camera-toggle",{size:"sm"}]],"div#setupcontrols-settings":[["rtk-settings-toggle",{size:"sm"}]],"rtk-screenshare-view":["rtk-name-tag","rtk-network-indicator"],"rtk-name-tag":[["rtk-audio-visualizer",{slot:"start"}]]}),config:{notification_sounds:{participant_left:!1},participant_joined_sound_notification_limit:3,participant_chat_message_sound_notification_limit:10,videoFit:"cover"}};return z=a(o,z),I.showSetupScreen=null===(O=null===(w=t.setupScreen)||void 0===w?void 0:w.isEnabled)||void 0===O||O,{config:z,data:I}};export{a as e,o as g}
@@ -0,0 +1 @@
1
+ import{g as t}from"./p-BFTU3MAI.js";var n,i,r,e,o=t(function(){if(e)return r;e=1;var t,o=function(){if(i)return n;function t(){}return i=1,n=t,t.mixin=function(t){var n=t.prototype||t;n.isWildEmitter=!0,n.on=function(t,n,i){this.callbacks=this.callbacks||{};var r=3===arguments.length,e=r?arguments[2]:arguments[1];return e._groupName=r?arguments[1]:void 0,(this.callbacks[t]=this.callbacks[t]||[]).push(e),this},n.once=function(t,n,i){var r=this,e=3===arguments.length,o=e?arguments[2]:arguments[1];return this.on(t,e?arguments[1]:void 0,(function n(){r.off(t,n),o.apply(this,arguments)})),this},n.releaseGroup=function(t){var n,i,r,e;for(n in this.callbacks=this.callbacks||{},this.callbacks)for(i=0,r=(e=this.callbacks[n]).length;i<r;i++)e[i]._groupName===t&&(e.splice(i,1),i--,r--);return this},n.off=function(t,n){this.callbacks=this.callbacks||{};var i,r=this.callbacks[t];return r?1===arguments.length?(delete this.callbacks[t],this):(-1!==(i=r.indexOf(n))&&(r.splice(i,1),0===r.length&&delete this.callbacks[t]),this):this},n.emit=function(t){this.callbacks=this.callbacks||{};var n,i,r,e=[].slice.call(arguments,1),o=this.callbacks[t],s=this.getWildcardCallbacks(t);if(o)for(n=0,i=(r=o.slice()).length;n<i&&r[n];++n)r[n].apply(this,e);if(s)for(i=s.length,n=0,i=(r=s.slice()).length;n<i&&r[n];++n)r[n].apply(this,[t].concat(e));return this},n.getWildcardCallbacks=function(t){this.callbacks=this.callbacks||{};var n,i,r=[];for(n in this.callbacks)i=n.split("*"),("*"===n||2===i.length&&t.slice(0,i[0].length)===i[0])&&(r=r.concat(this.callbacks[n]));return r}},t.mixin(t),n}();"undefined"!=typeof window&&(t=window.AudioContext||window.webkitAudioContext);var s=null;return r=function(n,i){var r=new o;if(!t)return r;var e,f,u,h=(i=i||{}).smoothing||.1,a=i.interval||50,c=i.threshold,v=i.play,d=i.history||10,p=!0;s=i.audioContext||s||new t,(u=s.createAnalyser()).fftSize=512,u.smoothingTimeConstant=h,f=new Float32Array(u.frequencyBinCount),n.jquery&&(n=n[0]),n instanceof HTMLAudioElement||n instanceof HTMLVideoElement?(e=s.createMediaElementSource(n),void 0===v&&(v=!0),c=c||-50):(e=s.createMediaStreamSource(n),c=c||-50),e.connect(u),v&&u.connect(s.destination),r.speaking=!1,r.suspend=function(){return s.suspend()},r.resume=function(){return s.resume()},Object.defineProperty(r,"state",{get:function(){return s.state}}),s.onstatechange=function(){r.emit("state_change",s.state)},r.setThreshold=function(t){c=t},r.setInterval=function(t){a=t},r.stop=function(){p=!1,r.emit("volume_change",-100,c),r.speaking&&(r.speaking=!1,r.emit("stopped_speaking")),u.disconnect(),e.disconnect()},r.speakingHistory=[];for(var l=0;l<d;l++)r.speakingHistory.push(0);var w=function(){setTimeout((function(){if(p){var t=function(t,n){var i=-1/0;t.getFloatFrequencyData(n);for(var r=4,e=n.length;r<e;r++)n[r]>i&&n[r]<0&&(i=n[r]);return i}(u,f);r.emit("volume_change",t,c);var n=0;if(t>c&&!r.speaking){for(var i=r.speakingHistory.length-3;i<r.speakingHistory.length;i++)n+=r.speakingHistory[i];n>=2&&(r.speaking=!0,r.emit("speaking"))}else if(t<c&&r.speaking){for(i=0;i<r.speakingHistory.length;i++)n+=r.speakingHistory[i];0==n&&(r.speaking=!1,r.emit("stopped_speaking"))}r.speakingHistory.shift(),r.speakingHistory.push(0+(t>c)),w()}}),a)};return w(),r}}());export{o as h}
@@ -0,0 +1 @@
1
+ import{v as r,w as t,o as n,I as i}from"./p-uIA60Puf.js";var o=/\s/,u=/^\s+/;var e=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,a=/^0o[0-7]+$/i,v=parseInt;function c(i){if("number"==typeof i)return i;if(function(n){return"symbol"==typeof n||r(n)&&"[object Symbol]"==t(n)}(i))return NaN;if(n(i)){var c="function"==typeof i.valueOf?i.valueOf():i;i=n(c)?c+"":c}if("string"!=typeof i)return 0===i?i:+i;var s;i=(s=i)?s.slice(0,function(r){for(var t=r.length;t--&&o.test(r.charAt(t)););return t}(s)+1).replace(u,""):s;var m=f.test(i);return m||a.test(i)?v(i.slice(2),m?2:8):e.test(i)?NaN:+i}var s=function(){return i.Date.now()},m=Math.max,d=Math.min;function p(r,t,i){var o,u,e,f,a,v,p=0,y=!1,T=!1,b=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function l(t){var n=o,i=u;return o=u=void 0,p=t,f=r.apply(i,n)}function h(r){var n=r-v;return void 0===v||n>=t||n<0||T&&r-p>=e}function x(){var r=s();if(h(r))return N(r);a=setTimeout(x,function(r){var n=t-(r-v);return T?d(n,e-(r-p)):n}(r))}function N(r){return a=void 0,b&&o?l(r):(o=u=void 0,f)}function w(){var r=s(),n=h(r);if(o=arguments,u=this,v=r,n){if(void 0===a)return function(r){return p=r,a=setTimeout(x,t),y?l(r):f}(v);if(T)return clearTimeout(a),a=setTimeout(x,t),l(v)}return void 0===a&&(a=setTimeout(x,t)),f}return t=c(t)||0,n(i)&&(y=!!i.leading,e=(T="maxWait"in i)?m(c(i.maxWait)||0,t):e,b="trailing"in i?!!i.trailing:b),w.cancel=function(){void 0!==a&&clearTimeout(a),p=0,o=v=u=a=void 0},w.flush=function(){return void 0===a?f:N(s())},w}export{p as d}
@@ -0,0 +1 @@
1
+ const e=e=>!!l(e)&&"LIVESTREAM"===e.meta.viewType&&"ON_STAGE"!==e.stage.status,a=e=>{var a;return!!l(e)&&"LIVESTREAM"===e.meta.viewType&&(null===(a=null==e?void 0:e.self)||void 0===a?void 0:a.permissions.canLivestream)},l=e=>!!(null==e?void 0:e.livestream);var r,t;function n({meeting:e,hlsLevels:a}){let l=e.self.config.livestreamViewerQualities||[];if(!l.length)return{autoLevelChangeAllowed:!0,levels:a};const r=a.filter((e=>l.includes(e.height)));return r.length?{autoLevelChangeAllowed:!1,levels:r}:{autoLevelChangeAllowed:!0,levels:a}}!function(e){e.BUFFERING="Buffering",e.ENDED="Ended",e.IDLE="Idle",e.PAUSED="Paused",e.PLAYING="Playing",e.READY="Ready"}(r||(r={})),function(e){e.INITIALIZED="PlayerInitialized",e.QUALITY_CHANGED="PlayerQualityChanged",e.DURATION_CHANGED="PlayerDurationChanged",e.VOLUME_CHANGED="PlayerVolumeChanged",e.MUTED_CHANGED="PlayerMutedChanged",e.PLAYBACK_RATE_CHANGED="PlayerPlaybackRateChanged",e.REBUFFERING="PlayerRebuffering",e.AUDIO_BLOCKED="PlayerAudioBlocked",e.PLAYBACK_BLOCKED="PlayerPlaybackBlocked",e.ERROR="PlayerError",e.RECOVERABLE_ERROR="PlayerRecoverableError",e.ANALYTICS_EVENT="PlayerAnalyticsEvent",e.TIME_UPDATE="PlayerTimeUpdate",e.BUFFER_UPDATE="PlayerBufferUpdate",e.SEEK_COMPLETED="PlayerSeekCompleted",e.SESSION_DATA="PlayerSessionData",e.STATE_CHANGED="PlayerStateChanged",e.WORKER_ERROR="PlayerWorkerError",e.METADATA="PlayerMetadata",e.TEXT_CUE="PlayerTextCue",e.TEXT_METADATA_CUE="PlayerTextMetadataCue",e.AD_CUE="PlayerAdCue",e.STREAM_SOURCE_CUE="PlayerStreamSourceCue",e.NETWORK_UNAVAILABLE="PlayerNetworkUnavailable",e.SEGMENT_DISCONTINUITY="PlayerSegmentDiscontinuity",e.SEGMENT_METADATA="PlayerSegmentMetadata",e.PLAYER_METADATA="PlayerMetadata"}(t||(t={}));export{r as P,e as a,n as g,a as i,l as s}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-gJCRRBX0.js";import{f as a,e as m}from"./p-jvwnrxra.js";import{a as t,f as i}from"./p-vBD2htwQ.js";const o=({name:o,time:r,now:e})=>s("div",{class:"head"},s("div",{class:"name"},t(i(o),20)),s("div",{class:"time",title:a(r)},m(r,e)));export{o as C}
@@ -0,0 +1 @@
1
+ const o=o=>{var i;return null===(i=null==o?void 0:o.__internals__)||void 0===i?void 0:i.browserSpecs.isFirefox()};export{o as i}
@@ -1 +1 @@
1
- import{h as e,a as t}from"./p-a599f720.js";const r=({element:e,size:t,states:r={},config:s={}})=>{let o=[];const n=null==s?void 0:s.root[e],l=e=>{o.push(e),"string"==typeof t&&o.push(`${e}.${t}`)};if(l(e),"object"==typeof n&&!Array.isArray(n)&&null!==n){const{state:t,states:s}=n;let o=e,c=[];if(Array.isArray(s)){c=s.filter((e=>r[e])),c.sort();for(const e of c)l(`${o}.${e}`);c.length>1&&l([o,...c].join("."))}if("string"==typeof t){const s=`${e}[${t}=${r[t]}]`;l(s);for(const e of c)l(`${s}.${e}`);c.length>1&&l([s,...c].join("."))}}return o},s=({selectors:e,root:t})=>{if(!t||!Array.isArray(e))return[];let r=[];for(const s of e){const e=t[s];if(Array.isArray(e))r=[...e];else if(e){if(e.children&&(r=[...e.children]),Array.isArray(e.remove))for(const t of e.remove)r=r.filter((e=>"string"==typeof e?e!==t:!Array.isArray(e)||e[0]!==t));if(e.addBefore)for(const[t,s]of Object.entries(e.addBefore)){const e=r.findIndex((e=>"string"==typeof e?e===t:!!Array.isArray(e)&&e[0]===t));e>=0&&r.splice(e,0,...s)}Array.isArray(e.add)&&(r=r.concat(e.add)),Array.isArray(e.prepend)&&(r=e.prepend.concat(r))}}return r},o=({elements:t,defaults:r,props:s={},deepProps:o=!1,elementProps:n={}})=>Array.isArray(t)&&0!==t.length?t.map((t=>e(l,{element:t,defaults:r,props:s,childProps:o&&s,elementProps:n}))):null,n=({element:e,defaults:t,props:o={},elementProps:n={}})=>{var l;const{config:c,size:p,states:f}=t;let i,a={},u=[];Array.isArray(e)?[i,a,...u]=e:i=e;const y=null===(l=null==c?void 0:c.root)||void 0===l?void 0:l[i];null!=y&&"props"in y&&(o=Object.assign(Object.assign({},y.props),o)),o=Object.assign(Object.assign({},o),a),i in n&&(o=Object.assign(Object.assign({},o),n[i]));const d=r({element:i,size:p,states:f,config:c});return s({selectors:d,root:c.root}).length},l=({element:n,defaults:l,childProps:c={},props:p={},onlyChildren:f=!1,asHost:i=!1,deepProps:a=!1,elementProps:u={}},y)=>{var d;const{config:b,size:j,states:m}=l;let O,A={},P=[];Array.isArray(n)?[O,A,...P]=n:O=n;const g=null===(d=null==b?void 0:b.root)||void 0===d?void 0:d[O];null!=g&&"props"in g&&(p=Object.assign(Object.assign({},g.props),p)),p=Object.assign(Object.assign({},p),A),O in u&&(p=Object.assign(Object.assign({},p),u[O]));const v=r({element:O,size:j,states:m,config:b}),$=s({selectors:v,root:b.root});if(f)return e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u});const z=(({selectors:e,styles:t})=>{if(!Array.isArray(e)||null==t)return{};const r={};for(const s of e){const e=t[s];null!=e&&Object.assign(r,e)}return r})({selectors:v,styles:b.styles});if(i)return e(t,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));if(["rtk-header","rtk-controlbar"].includes(O)&&(p.disableRender=!0),O.startsWith("rtk-"))return e(O,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));{const[t,r]=O.split("#");return e(t,Object.assign({id:r,style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})))}};export{l as R,n as l}
1
+ import{h as e,a as t}from"./p-gJCRRBX0.js";const r=({element:e,size:t,states:r={},config:s={}})=>{let o=[];const n=null==s?void 0:s.root[e],l=e=>{o.push(e),"string"==typeof t&&o.push(`${e}.${t}`)};if(l(e),"object"==typeof n&&!Array.isArray(n)&&null!==n){const{state:t,states:s}=n;let o=e,c=[];if(Array.isArray(s)){c=s.filter((e=>r[e])),c.sort();for(const e of c)l(`${o}.${e}`);c.length>1&&l([o,...c].join("."))}if("string"==typeof t){const s=`${e}[${t}=${r[t]}]`;l(s);for(const e of c)l(`${s}.${e}`);c.length>1&&l([s,...c].join("."))}}return o},s=({selectors:e,root:t})=>{if(!t||!Array.isArray(e))return[];let r=[];for(const s of e){const e=t[s];if(Array.isArray(e))r=[...e];else if(e){if(e.children&&(r=[...e.children]),Array.isArray(e.remove))for(const t of e.remove)r=r.filter((e=>"string"==typeof e?e!==t:!Array.isArray(e)||e[0]!==t));if(e.addBefore)for(const[t,s]of Object.entries(e.addBefore)){const e=r.findIndex((e=>"string"==typeof e?e===t:!!Array.isArray(e)&&e[0]===t));e>=0&&r.splice(e,0,...s)}Array.isArray(e.add)&&(r=r.concat(e.add)),Array.isArray(e.prepend)&&(r=e.prepend.concat(r))}}return r},o=({elements:t,defaults:r,props:s={},deepProps:o=!1,elementProps:n={}})=>Array.isArray(t)&&0!==t.length?t.map((t=>e(l,{element:t,defaults:r,props:s,childProps:o&&s,elementProps:n}))):null,n=({element:e,defaults:t,props:o={},elementProps:n={}})=>{var l;const{config:c,size:p,states:f}=t;let i,a={},u=[];Array.isArray(e)?[i,a,...u]=e:i=e;const y=null===(l=null==c?void 0:c.root)||void 0===l?void 0:l[i];null!=y&&"props"in y&&(o=Object.assign(Object.assign({},y.props),o)),o=Object.assign(Object.assign({},o),a),i in n&&(o=Object.assign(Object.assign({},o),n[i]));const d=r({element:i,size:p,states:f,config:c});return s({selectors:d,root:c.root}).length},l=({element:n,defaults:l,childProps:c={},props:p={},onlyChildren:f=!1,asHost:i=!1,deepProps:a=!1,elementProps:u={}},y)=>{var d;const{config:b,size:j,states:m}=l;let O,A={},P=[];Array.isArray(n)?[O,A,...P]=n:O=n;const g=null===(d=null==b?void 0:b.root)||void 0===d?void 0:d[O];null!=g&&"props"in g&&(p=Object.assign(Object.assign({},g.props),p)),p=Object.assign(Object.assign({},p),A),O in u&&(p=Object.assign(Object.assign({},p),u[O]));const v=r({element:O,size:j,states:m,config:b}),$=s({selectors:v,root:b.root});if(f)return e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u});const z=(({selectors:e,styles:t})=>{if(!Array.isArray(e)||null==t)return{};const r={};for(const s of e){const e=t[s];null!=e&&Object.assign(r,e)}return r})({selectors:v,styles:b.styles});if(i)return e(t,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));if(["rtk-header","rtk-controlbar"].includes(O)&&(p.disableRender=!0),O.startsWith("rtk-"))return e(O,Object.assign({},l,{style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})));{const[t,r]=O.split("#");return e(t,Object.assign({id:r,style:z},p),e(o,{elements:$,defaults:l,props:c,deepProps:a,elementProps:u}),y,P.map((t=>{if(Array.isArray(t)){const[r,s]=t;return e(r,Object.assign({},l,s))}return t})))}};export{l as R,n as l}
@@ -0,0 +1 @@
1
+ function t(t,n){const o=Math.pow(10,n);return Math.floor(t*o)/o}function n({dimensions:n,count:s,aspectRatio:i,gap:e}){const{width:c,height:h,rows:r,cols:a}=function({count:n,dimensions:s,aspectRatio:i,gap:e}){let{width:c,height:h}=s;if(0===c||0===h)return{width:0,height:0,rows:1,cols:1};c-=2*e,h-=2*e;const r=e,a=n,u=o(i);let d=0,g=0,p=1,w=1;const l=[];for(let t=1;t<=a;t++)l.push((c-r*(t-1))/t),l.push((h-r*(t-1))/(t*u));l.sort(((t,n)=>n-t));for(const n of l)if(d=t(n,4),g=t(d*u,4),p=Math.floor((c+r)/(d+r)),w=Math.floor((h+r)/(g+r)),p*w>=a){w=Math.ceil(a/p);break}return{width:d,height:g,rows:w,cols:p}}({dimensions:n,count:s,aspectRatio:i,gap:e}),u=function({parentDimensions:t,dimensions:n,rows:o,cols:s,count:i,gap:e}){const{width:c,height:h}=t,{width:r,height:a}=n,u=(h-(a*o+(o-1)*e))/2;let d=(c-(r*s+(s-1)*e))/2;const g=a+e,p=r+e;let w=0,l=0;const m=i%s;return function(t){const n=i-t;n===m&&(d=(c-(r*n+(n-1)*e))/2);const o=u+l*g,h=d+w*p;return w++,(t+1)%s==0&&(l++,w=0),{top:o,left:h}}}({parentDimensions:n,dimensions:{width:c,height:h},rows:r,cols:a,count:s,gap:e});return{width:c,height:h,getPosition:u}}const o=t=>{const[n,o]=t.split(":");return Number.parseInt(o)/Number.parseInt(n)},s={spotlight:"sm",mixed:"sm"};export{s as d,n as u}
@@ -0,0 +1 @@
1
+ import{k as t}from"./p-uIA60Puf.js";const e=t=>{let e=null;try{const n=JSON.parse(t.message),{target:s,message:o}=n;e=void 0===s||void 0===o?t:Object.assign(Object.assign({},t),{targetUserIds:s,message:o})}catch(n){e=t}return e};function n(t){return t.sort(((t,e)=>t.localeCompare(e))).join("_")}function s(t,e){if(null==t)return!0;for(const n of t)if("file"===n.kind){const t=n.getAsFile();n.type.startsWith("image/")?e("image",t):e("file",t)}}function o({messages:t,participants:s,selfUserId:o}){const r={};for(const t of s)r[n([t.userId,o])]=[];return t.forEach((t=>{var s;const o=e(t);let c="everyone";if((null===(s=o.targetUserIds)||void 0===s?void 0:s.length)>0){const t=new Set([o.userId,...o.targetUserIds]);c=n(Array.from(t))}r[c]||(r[c]=[]),r[c].push({type:"chat",message:o})})),r}function r({messages:e,selfUserId:n,selectedGroupId:s,participants:r}){var c;const a=o({messages:e,selfUserId:n,participants:r}),i={};for(const e in a){const o=null!==(c=t[e])&&void 0!==c?c:0;e===s?(i[e]=0,t[e]=new Date):i[e]=a[e].filter((t=>"chat"==t.type&&t.message.time>o&&t.message.userId!==n)).length}return i}function c({groupId:t,selfUserId:e}){return t.split("_").find((t=>t!=e))}function a(t){return t.split("").reverse().join("")}const i=/^\*([^*\s]+)\*/,u=/^_([^_\s]+)_/,f=/^~([^~\s]+)~/,l=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.,~#?&//=]*)/,p=/<blockquote>[.\s\S]*<\/blockquote>\n\n/m;function d(t,e=!1){if(!p.test(t))return"";let n=0,s=13;return e&&(n=12,s=0),t.substring(t.indexOf("<blockquote>")+n,t.indexOf("</blockquote>")+s)}function g(t){return t.replace(p,"")}const b=2e3,m=["<a>","<b>","<i>","<q>","<s>"];function _(t){t=(t=t.split(" ").map((t=>{if(l.test(t)){const e=l.exec(t);t=t.replace(e[0],`<a>${e[0]}</a>`)}else{if(i.test(t)){const e=i.exec(t);t=t.replace(e[0],`<b>${e[1]}</b>`)}if(u.test(t)){const e=u.exec(t);t=t.replace(e[0],`<i>${e[1]}</i>`)}if(f.test(t)){const e=f.exec(t);t=t.replace(e[0],`<s>${e[1]}</s>`)}}return t})).join(" ")).split(" ").map(((t,e)=>">"!==t||0!==e&&">"!==t[e-1]?t:"<q></q>")).join(" ");const[e]=v(t);return e}function v(t,e=""){const n=[];if(0===t.length)return[n,0];let s=0;for(;s<t.length;){if(e.length&&e===t.substring(s,s+e.length))return[n,s+e.length];if(m.includes(t.substring(s,s+3))){const[e,o]=v(t.substring(s+3),`</${t[s+1]}>`);n.push({type:t[s+1],content:1===e.length&&"plain_text"===e[0].type?e[0].content:e}),s+=o+3}else{let e=n[n.length-1];e&&"plain_text"===e.type||(n.push({type:"plain_text",content:""}),e=n[n.length-1]),e.content+=t[s],s++}}return[n,s]}export{b as M,o as a,r as b,c,p as d,d as e,e as f,n as g,s as h,_ as p,a as r,g as s}
@@ -0,0 +1 @@
1
+ import{a as r}from"./p-C0vp-Q7v.js";const n=r=>{if(r&&!r.chat)return!1;const{chatPublic:n,chatPrivate:t}=r.self.permissions;return n.canSend||n.canReceive||n.text||n.files||t.canSend||t.canReceive||t.files||t.text},t=r=>{if(r&&!r.polls)return!1;const{polls:n}=r.self.permissions;return n.canCreate||n.canView||n.canVote},i=r=>{var n;if(!(null===(n=r.self.permissions)||void 0===n?void 0:n.showParticipantList))return!1;if(r&&!r.participants)return!1;const t=null==r?void 0:r.self.config;return!(t&&!t.controlBar.elements.participants)},u=r=>{var n,t;return!!(null===(t=null===(n=null==r?void 0:r.self)||void 0===n?void 0:n.permissions)||void 0===t?void 0:t.transcriptionEnabled)},o=n=>{if(r(n))return!1;if(n&&!n.plugins)return!1;if("LIVESTREAM"===n.meta.viewType)return"ON_STAGE"===n.stage.status;const{plugins:t}=n.self.permissions;return t.canClose||t.canStart};export{i as a,o as b,n as c,t as d,u as e}
@@ -0,0 +1 @@
1
+ let t=0;function n(){t=0}const r="temp-";function a(){return{id:`${r}${Math.random().toString(36)}`,title:"Room "+ ++t,participants:[]}}function i(t){return t.includes(r)}function s(t,n){const r=Math.ceil(t.length/n),a=new Array(n);let i=0;for(let s=0;s<n;s++)a[s]=t.slice(i,i+r),i+=r;return a.filter((t=>t.length))}function c(t){return t.customParticipantId}function e(t){const n=new Map;return[t.self,...t.participants.joined.toArray()].map((t=>{n.set(c(t),t.picture)})),[t.connectedMeetings.parentMeeting,...t.connectedMeetings.meetings].flatMap((t=>t.participants)).map((t=>({id:t.id,customParticipantId:c(t),displayName:t.displayName,displayPictureUrl:""!==t.displayPictureUrl?t.displayPictureUrl:n.get(c(t))})))}const o=t=>{const n=t.self.permissions.connectedMeetings;return!!n.canAlterConnectedMeetings||!(!n.canSwitchConnectedMeetings&&!n.canSwitchToParentMeeting)&&t.connectedMeetings.isActive};export{a,o as c,e as g,i,c as p,n as r,s}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-gJCRRBX0.js";import{M as n,e,s,p as t}from"./p-CqWk07gT.js";const l=n=>n.map((n=>{switch(n.type){case"a":if("string"==typeof n.content)return r("a",{class:"link",href:e=n.content,target:"_blank",rel:"noopener noreferrer"},e);case"b":return(n=>r("b",null,"string"==typeof n?n:l(n)))(n.content);case"i":return(n=>r("i",null,"string"==typeof n?n:l(n)))(n.content);case"s":return(n=>"string"==typeof n?r("s",null,n):r("b",null,l(n)))(n.content);case"q":return r("span",{class:"block-quote"});default:return(n=>"string"==typeof n?n:r("p",null,l(n)))(n.content)}var e})),o=({message:o})=>{const u=o.slice(0,n),a=e(u,!0),p=s(u);return r("p",null,0!==a.length&&r("blockquote",null,a.split("\n").map((n=>{const e=t(n);return r("p",null,l(e))}))),p.split("\n").map((n=>{const e=t(n);return r("p",null,l(e))})))};export{o as T}
@@ -0,0 +1 @@
1
+ import{l as t,m as n,n as r,o,p as e,q as i,r as s,s as a,t as c,v as f,w as u,x as d,y as l,z as v,A as m,B as p,C as g,D as b,E as y,F,S as $}from"./p-uIA60Puf.js";var x=[0,.5,1,1.5,2,3,4,5,6,7,8,9,10,12,14,16,20,24,28,32,36,40,44,48,52,56,60,64,72,80,96];const k={darkest:{background:{1e3:"#080808",900:"#1A1A1A",800:"#1E1E1E",700:"#2C2C2C",600:"#393939"},text:"#FFFFFF"},dark:{background:{1e3:"#252525",900:"#2F2F2F",800:"#323232",700:"#3E3E3E",600:"#4A4A4A"},text:"#F5F5F5","video-bg":"#1C1C1C"},light:{background:{1e3:"#FFFFFF",900:"#F5F5F5",800:"#EBEBEB",700:"#E0E0E0",600:"#D6D6D6"},text:"#111111","text-on-brand":"#ffffff","video-bg":"#DADADA"}},j={none:{none:0,sm:0,md:0,lg:0},thin:{none:0,sm:1,md:2,lg:4},fat:{none:0,sm:2,md:4,lg:8}},h={sharp:{none:0,sm:0,md:0,lg:0},rounded:{none:0,sm:4,md:8,lg:12},"extra-rounded":{none:0,sm:8,md:16,lg:24},circular:{none:9999,sm:9999,md:9999,lg:9999}};function E(t){let n="0",r="0",o="0";return 4==(t=t.trim()).length?(n="0x"+t[1]+t[1],r="0x"+t[2]+t[2],o="0x"+t[3]+t[3]):t.length>6&&(n="0x"+t[1]+t[2],r="0x"+t[3]+t[4],o="0x"+t[5]+t[6]),[+n,+r,+o]}const A=t=>"string"==typeof t&&7===t.length&&t.startsWith("#"),O="--rtk-";function w(t,n=O){return n+t}const D=(t,n,r=O)=>{Object.keys(n).forEach((o=>{const e=n[o];if("string"==typeof e)if("text"===o||"text-on-brand"===o){const n=E(e).join(" ");t.style.setProperty(w(`colors-${o}-1000`,r),`${n}`),t.style.setProperty(w(`colors-${o}-900`,r),`${n} / 0.88`),t.style.setProperty(w(`colors-${o}-800`,r),`${n} / 0.76`),t.style.setProperty(w(`colors-${o}-700`,r),`${n} / 0.64`),t.style.setProperty(w(`colors-${o}-600`,r),`${n} / 0.52`)}else{const n=E(e).join(" ");t.style.setProperty(w(`colors-${o}`,r),n)}else"object"==typeof e&&Object.keys(e).forEach((n=>{const i=E(e[n]).join(" ");t.style.setProperty(w(`colors-${o}-${n}`,r),i)}))}))},C=(t,{spacingBase:n,borderRadius:r,borderWidth:o,colors:e,fontFamily:i,googleFont:s,theme:a,tokenPrefix:c=O})=>{if("object"!=typeof t)throw new Error("[rtk-ui-kit] (provideRtkDesignSystem): Passed element is not a valid HTML Element");if("string"==typeof s&&((t=>{const n=[];if(null==document.querySelector("link[data-rtk-font]")){const t=document.createElement("link");t.rel="preconnect",t.setAttribute("data-rtk-font","true"),t.href="https://fonts.googleapis.com";const r=t.cloneNode(!0);r.href="https://fonts.gstatic.com",r.crossOrigin="",n.push(t,r)}const r=document.createElement("link");r.rel="stylesheet",r.setAttribute("data-rtk-font",t),r.href=encodeURI(`https://fonts.googleapis.com/css2?family=${t}:wght@${[400,500,700].join(";")}&display=swap`),n.push(r),document.head.append(...n)})(s),t.style.setProperty(w("font-family",c),s)),"string"==typeof i&&t.style.setProperty(w("font-family",c),i),"number"==typeof n&&((t,n,r=O)=>{x.forEach((o=>{t.style.setProperty(w(`space-${o}`,r),o*n+"px")}))})(t,n,c),"string"==typeof o&&((t,n,r=O)=>{if(n in j){const o=j[n];Object.keys(o).forEach((n=>{t.style.setProperty(w(`border-width-${n}`,r),`${o[n]}px`)}))}})(t,o,c),"string"==typeof r&&((t,n,r=O)=>{if(n in h){const o=h[n];Object.keys(o).forEach((n=>{t.style.setProperty(w(`border-radius-${n}`,r),`${o[n]}px`)}))}})(t,r,c),"string"==typeof a){const n=k[a];null!=n&&D(t,n,c)}"object"==typeof e&&D(t,e,c)};function B(t){return t}var _,P,R,S=Date.now,I=t?function(n,r){return t(n,"toString",{configurable:!0,enumerable:!1,value:(o=r,function(){return o}),writable:!0});var o}:B,M=(_=I,P=0,R=0,function(){var t=S(),n=16-(t-R);if(R=t,n>0){if(++P>=800)return arguments[0]}else P=0;return _.apply(void 0,arguments)}),q=Math.max;var z=Object.prototype.hasOwnProperty;function H(t){return e(t)?c(t,!0):function(t){if(!o(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=a(t),r=[];for(var e in t)("constructor"!=e||!n&&z.call(t,e))&&r.push(e);return r}(t)}var L=Function.prototype.toString,T=Object.prototype.hasOwnProperty,U=L.call(Object);function W(t,r,o){(void 0!==o&&!s(t[r],o)||void 0===o&&!(r in t))&&n(t,r,o)}function G(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}function J(t,i,s,a,c,$,x){var k=G(t,s),j=G(i,s),h=x.get(j);if(h)W(t,s,h);else{var E,A=$?$(k,j,s+"",t,i,x):void 0,O=void 0===A;if(O){var w=m(j),D=!w&&l(j),C=!w&&!D&&v(j);A=j,w||D||C?m(k)?A=k:f(E=k)&&e(E)?A=function(t,n){var r=-1,o=t.length;for(n||(n=Array(o));++r<o;)n[r]=t[r];return n}(k):D?(O=!1,A=p(j,!0)):C?(O=!1,A=g(j,!0)):A=[]:function(t){if(!f(t)||"[object Object]"!=u(t))return!1;var n=d(t);if(null===n)return!0;var r=T.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&L.call(r)==U}(j)||b(j)?(A=k,b(k)?A=function(t){return function(t,o,e){var i=!e;e||(e={});for(var s=-1,a=o.length;++s<a;){var c=o[s],f=void 0;void 0===f&&(f=t[c]),i?n(e,c,f):r(e,c,f)}return e}(t,H(t))}(k):o(k)&&!y(k)||(A=F(j))):O=!1}O&&(x.set(j,A),c(A,j,a,$,x),x.delete(j)),W(t,s,A)}}function K(t,n,r,e,i){t!==n&&function(t,n,r){for(var o=-1,e=Object(t),i=r(t),s=i.length;s--;){var a=i[++o];if(!1===n(e[a],a,e))break}}(n,(function(s,a){if(i||(i=new $),o(s))J(t,n,a,r,K,e,i);else{var c=e?e(G(t,a),s,a+"",t,n,i):void 0;void 0===c&&(c=s),W(t,a,c)}}),H)}var N,Q=(N=function(t,n,r){K(t,n,r)},function(t,n){return M(function(t,n,r){return n=q(void 0===n?t.length-1:n,0),function(){for(var o=arguments,e=-1,i=q(o.length-n,0),s=Array(i);++e<i;)s[e]=o[n+e];e=-1;for(var a=Array(n+1);++e<n;)a[e]=o[e];return a[n]=r(s),function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}(t,this,a)}}(t,n,B),t+"")}((function(t,n){var r=-1,a=n.length,c=a>1?n[a-1]:void 0,f=a>2?n[2]:void 0;for(c=N.length>3&&"function"==typeof c?(a--,c):void 0,f&&function(t,n,r){if(!o(r))return!1;var a=typeof n;return!!("number"==a?e(r)&&i(n,r.length):"string"==a&&n in r)&&s(r[n],t)}(n[0],n[1],f)&&(c=a<3?void 0:c,a=1),t=Object(t);++r<a;){var u=n[r];u&&N(t,u,r)}return t})));export{A as i,Q as m,C as p}
@@ -0,0 +1 @@
1
+ import{a as t,i,p as s,s as e}from"./p-Daj_55_i.js";var n,r,h,a,o,f,c,p,u,d,w,g,m,M,l,b=function(t,i,s,e,n){if("m"===e)throw new TypeError("Private method is not writable");if("a"===e&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!n:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===e?n.call(t,s):n?n.value=s:i.set(t,s),s},y=function(t,i,s,e){if("a"===s&&!e)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!e:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===s?e:"a"===s?e.call(t):e?e.value:i.get(t)};class j{constructor(){n.add(this),r.set(this,!1),h.set(this,void 0),a.set(this,void 0),o.set(this,void 0),f.set(this,void 0),c.set(this,void 0),p.set(this,void 0),u.set(this,void 0),d.set(this,void 0)}get hasLocalChanges(){return y(this,r,"f")}get currentState(){let t,i=[];return Array.from(y(this,f,"f").keys()).forEach((s=>{const e=y(this,p,"f").get(s);e.isParent?t=Object.assign(Object.assign({},e),{participants:y(this,n,"m",l).call(this,s)}):i.push(Object.assign(Object.assign({},e),{participants:y(this,n,"m",l).call(this,s)}))})),{parentMeeting:t,meetings:i}}get allConnectedMeetings(){return this.currentState.meetings.sort(((t,i)=>t.title.localeCompare(i.title)))}get allParticipants(){return Array.from(y(this,c,"f").values())}get unassignedParticipants(){return y(this,n,"m",l).call(this,y(this,h,"f").parentMeeting.id)}getParticipantsForMeeting(t){return y(this,n,"m",l).call(this,t)}addNewMeeting(){b(this,r,!0,"f");const i=function(t,i){var s={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&i.indexOf(e)<0&&(s[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(e=Object.getOwnPropertySymbols(t);n<e.length;n++)i.indexOf(e[n])<0&&Object.prototype.propertyIsEnumerable.call(t,e[n])&&(s[e[n]]=t[e[n]])}return s}(t(),["participants"]);return y(this,n,"m",g).call(this,Object.assign(Object.assign({},i),{isParent:!1})),i}addNewMeetings(t){return Array.from({length:t}).map((()=>this.addNewMeeting()))}updateMeetingTitle(t,s){y(this,p,"f").get(t).title=s,i(t)||y(this,u,"f").add(t)}deleteMeeting(t){b(this,r,!0,"f");const e=y(this,p,"f").get(t),a=y(this,n,"m",l).call(this,e.id).map(s);this.assignParticipantsToMeeting(a,y(this,h,"f").parentMeeting.id),y(this,p,"f").delete(e.id),y(this,f,"f").delete(e.id),i(e.id)||y(this,d,"f").add(e.id)}assignParticipantsToMeeting(t,i){return b(this,r,!0,"f"),t.forEach((t=>{const s=y(this,a,"f").get(t);y(this,f,"f").get(s).delete(t),y(this,f,"f").get(i).add(t),y(this,a,"f").set(t,i)})),this.currentState}assignParticipantsRandomly(){const t=e(this.unassignedParticipants,this.allConnectedMeetings.length);return this.allConnectedMeetings.forEach(((i,s)=>{const e=t[s];e&&0!==e.length&&this.assignParticipantsToMeeting(e.map((t=>t.customParticipantId)),i.id)})),this.currentState}unassignParticipants(t){const i=y(this,h,"f").parentMeeting.id;return this.assignParticipantsToMeeting(t,i)}unassignAllParticipants(){const t=y(this,h,"f").parentMeeting.id,i=this.allParticipants.map(s);return this.assignParticipantsToMeeting(i,t)}updateCurrentState(t){y(this,r,"f")||y(this,n,"m",w).call(this,t),[t.parentMeeting,...t.meetings].forEach(((t,i)=>{const s=Object.assign(Object.assign({},t),{isParent:0===i});y(this,n,"m",g).call(this,s),t.participants.forEach((t=>{y(this,n,"m",m).call(this,t,s)}))}))}get meetingsToCreate(){return this.allConnectedMeetings.filter((t=>i(t.id))).map((({id:t,title:i})=>({id:t,title:i})))}get meetingsToUpdate(){return this.allConnectedMeetings.filter((t=>y(this,u,"f").has(t.id))).map((({id:t,title:i})=>({id:t,title:i})))}get meetingsToDelete(){return Array.from(y(this,d,"f"))}get participantsToMove(){const t=new Map;return Array.from(y(this,a,"f").keys()).forEach((i=>{const s=y(this,o,"f").get(i),e=y(this,a,"f").get(i);if(s===e)return;const n=`${s}__${e}`;t.has(n)||t.set(n,[]);const r=y(this,c,"f").get(i);t.get(n).push(r.id)})),Array.from(t.keys()).map((i=>{const[s,e]=i.split("__");return{sourceMeetingId:s,destinationMeetingId:e,participantIds:t.get(i)}}))}async applyChanges(t){const i=0!==this.meetingsToCreate.length?t.connectedMeetings.createMeetings(this.meetingsToCreate):Promise.resolve([]),s=0!==this.meetingsToUpdate.length?t.connectedMeetings.updateMeetings(this.meetingsToUpdate):Promise.resolve(),[e]=await Promise.all([i,s]);e&&e.forEach((t=>{this.meetingsToCreate.forEach((i=>{i.title===t.title&&y(this,n,"m",M).call(this,y(this,p,"f").get(i.id),t.id)}))})),0!==this.participantsToMove.length&&this.participantsToMove.forEach((({sourceMeetingId:i,destinationMeetingId:s,participantIds:e})=>{t.connectedMeetings.moveParticipants(i,s,e)})),0!==this.meetingsToDelete.length&&t.connectedMeetings.deleteMeetings(this.meetingsToDelete)}discardChanges(){return b(this,r,!1,"f"),this.updateCurrentState(y(this,h,"f")),this.currentState}}r=new WeakMap,h=new WeakMap,a=new WeakMap,o=new WeakMap,f=new WeakMap,c=new WeakMap,p=new WeakMap,u=new WeakMap,d=new WeakMap,n=new WeakSet,w=function(t){b(this,h,t,"f"),b(this,p,new Map,"f"),b(this,c,new Map,"f"),b(this,u,new Set,"f"),b(this,d,new Set,"f"),b(this,f,new Map,"f"),b(this,a,new Map,"f"),b(this,o,new Map,"f"),b(this,o,new Map,"f"),y(this,h,"f").parentMeeting.participants.forEach((t=>{y(this,o,"f").set(s(t),y(this,h,"f").parentMeeting.id)})),y(this,h,"f").meetings.forEach((t=>{t.participants.forEach((i=>{y(this,o,"f").set(s(i),t.id)}))}))},g=function(t){y(this,p,"f").has(t.id)||(y(this,p,"f").set(t.id,t),y(this,f,"f").set(t.id,new Set))},m=function(t,i){y(this,c,"f").has(s(t))||(y(this,c,"f").set(s(t),t),y(this,a,"f").set(s(t),i.id),y(this,f,"f").get(i.id).add(s(t)))},M=function(t,i){const s=t.id;y(this,n,"m",g).call(this,Object.assign(Object.assign({},t),{id:i})),y(this,p,"f").delete(s);const e=y(this,f,"f").get(s);y(this,f,"f").set(i,e),y(this,f,"f").delete(s),Array.from(y(this,a,"f").keys()).forEach((t=>{y(this,a,"f").get(t)===s&&y(this,a,"f").set(t,i)}))},l=function(t){return Array.from(y(this,f,"f").get(t)).map((t=>y(this,c,"f").get(t)))};export{j as B}
@@ -0,0 +1 @@
1
+ var t=function(){if("undefined"!=typeof Map)return Map;function t(t,n){var i=-1;return t.some((function(t,e){return t[0]===n&&(i=e,!0)})),i}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(n){var i=t(this.__entries__,n),e=this.__entries__[i];return e&&e[1]},n.prototype.set=function(n,i){var e=t(this.__entries__,n);~e?this.__entries__[e][1]=i:this.__entries__.push([n,i])},n.prototype.delete=function(n){var i=this.__entries__,e=t(i,n);~e&&i.splice(e,1)},n.prototype.has=function(n){return!!~t(this.__entries__,n)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var i=0,e=this.__entries__;i<e.length;i++){var r=e[i];t.call(n,r[1],r[0])}},n}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),e="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},r=["top","right","bottom","left","width","height","size","weight"],o="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var n=!1,i=!1,r=0;function o(){n&&(n=!1,t()),i&&s()}function u(){e(o)}function s(){var t=Date.now();if(n){if(t-r<2)return;i=!0}else n=!0,i=!1,setTimeout(u,20);r=t}return s}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var n=this.observers_,i=n.indexOf(t);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),o?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var n=t.propertyName,i=void 0===n?"":n;r.some((function(t){return!!~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),s=function(t,n){for(var i=0,e=Object.keys(n);i<e.length;i++){var r=e[i];Object.defineProperty(t,r,{value:n[r],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=p(0,0,0,0);function a(t){return parseFloat(t)||0}function c(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return n.reduce((function(n,i){return n+a(t["border-"+i+"-width"])}),0)}var d="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function l(t){return n?d(t)?function(t){var n=t.getBBox();return p(0,0,n.width,n.height)}(t):function(t){var n=t.clientWidth,i=t.clientHeight;if(!n&&!i)return h;var e=f(t).getComputedStyle(t),r=function(t){for(var n={},i=0,e=["top","right","bottom","left"];i<e.length;i++){var r=e[i];n[r]=a(t["padding-"+r])}return n}(e),o=r.left+r.right,u=r.top+r.bottom,s=a(e.width),d=a(e.height);if("border-box"===e.boxSizing&&(Math.round(s+o)!==n&&(s-=c(e,"left","right")+o),Math.round(d+u)!==i&&(d-=c(e,"top","bottom")+u)),!function(t){return t===f(t).document.documentElement}(t)){var l=Math.round(s+o)-n,v=Math.round(d+u)-i;1!==Math.abs(l)&&(s-=l),1!==Math.abs(v)&&(d-=v)}return p(r.left,r.top,s,d)}(t):h}function p(t,n,i,e){return{x:t,y:n,width:i,height:e}}var v=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=p(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=l(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,n){var i,e,r,o,u,f,h,a=(e=(i=n).x,r=i.y,o=i.width,u=i.height,f="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,h=Object.create(f.prototype),s(h,{x:e,y:r,width:o,height:u,top:r,right:e+o,bottom:u+r,left:e}),h);s(this,{target:t,contentRect:a})},b=function(){function n(n,i,e){if(this.activeObservations_=[],this.observations_=new t,"function"!=typeof n)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=n,this.controller_=i,this.callbackCtx_=e}return n.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new v(t)),this.controller_.addObserver(this),this.controller_.refresh())}},n.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},n.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(n){n.isActive()&&t.activeObservations_.push(n)}))},n.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,n,t),this.clearActive()}},n.prototype.clearActive=function(){this.activeObservations_.splice(0)},n.prototype.hasActive=function(){return this.activeObservations_.length>0},n}(),m="undefined"!=typeof WeakMap?new WeakMap:new t,y=function t(n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=u.getInstance(),e=new b(n,i,this);m.set(this,e)};["observe","unobserve","disconnect"].forEach((function(t){y.prototype[t]=function(){var n;return(n=m.get(this))[t].apply(n,arguments)}}));var M=void 0!==i.ResizeObserver?i.ResizeObserver:y;export{M as i}
@@ -0,0 +1 @@
1
+ const n=n=>{null!=n&&(null!=n.requestFullscreen?n.requestFullscreen():null!=n.mozRequestFullScreen?n.mozRequestFullScreen():null!=n.webkitRequestFullscreen?n.webkitRequestFullscreen():null!=n.msRequestFullscreen&&n.msRequestFullscreen())},u=()=>{null!=document.exitFullscreen?document.exitFullscreen():null!=document.mozExitFullScreen?document.mozExitFullScreen():null!=document.webkitExitFullscreen?document.webkitExitFullscreen():null!=document.msExitFullscreen&&document.msExitFullscreen()},l=()=>null!=document.fullscreenElement||null!=document.webkitCurrentFullScreenElement,e=()=>"undefined"!=typeof document&&(document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled);export{e as a,u as e,l as i,n as r}
@@ -1 +1 @@
1
- import{r as t,h as e,a as i}from"./p-a599f720.js";import{e as a}from"./p-9727a165.js";import{S as n}from"./p-7e3c2d64.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:["meetingChanged"],startedTime:["startedTimeChanged"]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
1
+ import{r as t,h as e,a as i}from"./p-gJCRRBX0.js";import{e as a}from"./p-uIA60Puf.js";import{S as n}from"./p-BCaKYPpD.js";var s=function(t,e,i,a){var n,s=arguments.length,r=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const r=t=>Math.trunc(t).toString().padStart(2,"0"),o=class{constructor(e){t(this,e),this.iconPack=a,this.disconnectMeeting=()=>{var t,e;this.timeout&&clearTimeout(this.timeout),"number"==typeof this.request&&cancelAnimationFrame(this.request),null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e||e.removeListener("meetingStartTimeUpdate",this.startedTimeUpdateListener)},this.startedTimeUpdateListener=()=>{var t,e,i;this.startedTime=null===(i=null===(e=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString()}}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){this.disconnectMeeting()}meetingChanged(t){var e,i,a;this.disconnectMeeting(),null!=t&&(this.startedTime=null===(i=null===(e=t.meta)||void 0===e?void 0:e.meetingStartedTimestamp)||void 0===i?void 0:i.toISOString(),null===(a=t.meta)||void 0===a||a.addListener("meetingStartTimeUpdate",this.startedTimeUpdateListener))}startedTimeChanged(t){if(void 0!==t){const t=()=>{this.timeDiff=(Date.now()-new Date(this.startedTime).getTime())/1e3,this.timeout=setTimeout((()=>{null!=this.request&&(this.request=requestAnimationFrame(t))}),500)};this.request=requestAnimationFrame(t)}}getFormattedTime(){if(null==this.timeDiff)return null;const t=this.timeDiff;let e="";return t>=3600&&(e=`${r(t/3600)}:`),e+=`${r(t%3600/60)}:${r(t%60)}`,e}render(){return e(i,{key:"4592c92b870075a8ec23d89c01c382f61278983a","data-hidden":!(void 0!==this.startedTime),tabIndex:0,role:"timer","aria-live":"off"},void 0!==this.startedTime&&[e("rtk-icon",{key:"87b1012dd7c5d7187182a2ed025868f05ed010e7",icon:this.iconPack.clock,"aria-hidden":!0,tabIndex:-1,part:"icon"}),e("span",{key:"6fec2fef30be9c54a3e68108fde81a59ce000576",part:"text"},this.getFormattedTime())])}static get watchers(){return{meeting:[{meetingChanged:0}],startedTime:[{startedTimeChanged:0}]}}};s([n()],o.prototype,"meeting",void 0),s([n()],o.prototype,"iconPack",void 0),o.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:inline-flex;align-items:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:14px;color:rgb(var(--rtk-colors-text-1000, 255 255 255));font-variant-numeric:tabular-nums}:host([data-hidden]){display:none}:host([size='sm']){font-size:12px}rtk-icon{margin-right:var(--rtk-space-1, 4px);height:var(--rtk-space-5, 20px);width:var(--rtk-space-5, 20px)}:host([size='sm']) rtk-icon{height:var(--rtk-space-4, 16px);width:var(--rtk-space-4, 16px)}";export{o as rtk_clock}
@@ -1 +1 @@
1
- import{r as t,d as i,h as r,a as s}from"./p-a599f720.js";import{i as e,e as n}from"./p-9727a165.js";import{S as a}from"./p-7e3c2d64.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>!this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){return this.meeting?this.canRecord?r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled})):void 0:null}static get watchers(){return{meeting:["meetingChanged"]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_recording_toggle}
1
+ import{r as t,d as i,h as r,a as s}from"./p-gJCRRBX0.js";import{i as e,e as n}from"./p-uIA60Puf.js";import{S as a}from"./p-BCaKYPpD.js";var o=function(t,i,r,s){var e,n=arguments.length,a=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,r,s);else for(var o=t.length-1;o>=0;o--)(e=t[o])&&(a=(n<3?e(a):n>3?e(i,r,a):e(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const c=class{constructor(r){t(this,r),this.apiError=i(this,"rtkApiError",7),this.variant="button",this.t=e(),this.iconPack=n,this.disabled=!1,this.canRecord=!1,this.permissionsUpdateListener=()=>{this.canRecord=!0===this.meeting.self.permissions.canRecord},this.toggleRecording=async()=>{var t,i,r;if(!this.isLoading()&&!this.disabled)switch(this.recordingState){case"IDLE":try{return void await(null===(t=this.meeting)||void 0===t?void 0:t.recording.start())}catch(t){this.apiError.emit({trace:this.t("recording.start"),message:this.t("recording.error.start")})}return;case"RECORDING":try{return void await(null===(i=this.meeting)||void 0===i?void 0:i.recording.stop())}catch(t){this.apiError.emit({trace:this.t("recording.stop"),message:this.t("recording.error.stop")})}return;case"PAUSED":try{return void await(null===(r=this.meeting)||void 0===r?void 0:r.recording.resume())}catch(t){this.apiError.emit({trace:this.t("recording.resume"),message:this.t("recording.error.resume")})}return;default:return}},this.isLoading=()=>!this.meeting||"STARTING"===this.recordingState||"STOPPING"===this.recordingState}connectedCallback(){this.meetingChanged(this.meeting)}disconnectedCallback(){var t,i;this.recordingStateUpdateListener&&(null===(t=this.meeting)||void 0===t||t.recording.removeListener("recordingUpdate",this.recordingStateUpdateListener)),null===(i=this.meeting)||void 0===i||i.self.permissions.removeListener("permissionsUpdate",this.permissionsUpdateListener)}meetingChanged(t){null!=t&&(this.recordingState=t.recording.recordingState,this.permissionsUpdateListener(),this.recordingStateUpdateListener=t=>{this.recordingState=t},t.recording.addListener("recordingUpdate",this.recordingStateUpdateListener),t.self.permissions.addListener("permissionsUpdate",this.permissionsUpdateListener))}getLabel(){switch(this.recordingState){case"IDLE":return"recording.idle";case"RECORDING":return"recording.stop";case"STARTING":return"recording.starting";case"STOPPING":return"recording.stopping";case"PAUSED":return"recording.resume";default:return"recording.loading"}}getIcon(){switch(this.recordingState){case"IDLE":case"STARTING":case"STOPPING":default:return this.iconPack.recording;case"RECORDING":return this.iconPack.stop_recording}}render(){return this.meeting?this.canRecord?r(s,{title:this.t("RECORDING"===this.recordingState?"recording.stop":"recording.idle")},r("rtk-controlbar-button",{part:"controlbar-button",size:this.size,iconPack:this.iconPack,onClick:this.toggleRecording,icon:this.getIcon(),isLoading:this.isLoading(),label:this.t(this.getLabel()),variant:this.variant,disabled:this.disabled})):void 0:null}static get watchers(){return{meeting:[{meetingChanged:0}]}}};o([a()],c.prototype,"meeting",void 0),o([a()],c.prototype,"t",void 0),o([a()],c.prototype,"iconPack",void 0),c.style=":host{line-height:initial;font-family:var(--rtk-font-family, sans-serif);font-feature-settings:normal;font-variation-settings:normal}p{margin:var(--rtk-space-0, 0px);padding:var(--rtk-space-0, 0px)}:host{display:block}";export{c as rtk_recording_toggle}